@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#21314f;--green:#064ac9;--muted:#687890;--canvas:#f4f7fe;--line:#dce5f6;--lime:#ffffff;--orange:#b87536;--red:#b94b49;--white:#fff;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.5;cursor:default}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--green);color:#ffffff;padding:30px 23px;display:flex;flex-direction:column;z-index:20}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:19px;font-weight:800;letter-spacing:2px}.brand-mark{display:flex;width:38px;height:42px;align-items:center;justify-content:center;background:var(--lime);color:var(--green);border-radius:10px;position:relative;font-size:29px}.brand-mark span{font-size:16px;position:absolute;right:3px;top:0}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:8px;letter-spacing:1.5px;font-weight:500;margin-top:3px;opacity:.6}.workspace{display:flex;gap:10px;align-items:center;padding:22px 0 27px;margin-top:17px;border-top:1px solid #ffffff18;font-size:12px;font-weight:500}.workspace small{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#ceddff}.avatar,.profile{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#073cab;color:#ffffff;font-size:11px;font-weight:700;flex-shrink:0}.nav-label{font-size:9px;letter-spacing:1.6px;color:#d5e3ff;margin:0 0 14px 12px}.nav-link{display:flex;gap:12px;align-items:center;text-decoration:none;border-radius:9px;padding:13px 12px;margin-bottom:5px;color:#e6eeff;font-size:13px}.nav-link.active{background:var(--lime);color:var(--green);font-weight:700}.nav-link:hover:not(.active){background:#ffffff0b}.nav-icon{font-size:18px;width:20px;text-align:center}.sidebar-note{font-size:11px;line-height:1.9;color:#d5e3ff;margin:28px 12px}.tiny-dot,.status-dot{height:6px;width:6px;display:inline-block;background:var(--lime);border-radius:50%;margin-right:6px}.sidebar-bottom{margin-top:auto;display:flex;align-items:baseline;gap:4px;font-size:10px;padding-top:20px;border-top:1px solid #ffffff18;color:#ffffff}.sidebar-bottom small{display:block;font-size:9px;color:#d5e3ff;line-height:1.6;margin-top:5px}.main-shell{margin-left:238px}.topbar{height:75px;padding:0 36px;display:flex;justify-content:space-between;align-items:center;background:#ffffff;border-bottom:1px solid var(--line);gap:15px}.breadcrumbs{font-size:12px;color:var(--muted)}.breadcrumbs span{margin:0 13px;color:#c2c7bc}.breadcrumbs strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:8px}.profile{background:#e9f0ff;color:var(--green);margin-left:12px}main{padding:33px 36px 28px;max-width:1760px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted);margin-bottom:8px}h1,h2,h3,p{margin:0}h1{font-family:Manrope,system-ui,sans-serif;font-size:31px;letter-spacing:-1.3px;font-weight:800;line-height:1.3}h2{font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.5px}h3{font-size:14px}p.subtitle{color:var(--muted);font-size:12px;margin-top:9px;line-height:1.7}.heading-actions{display:flex;gap:9px;align-items:center;margin-top:5px}.button{border:1px solid var(--line);background:var(--white);color:var(--ink);padding:10px 15px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#0739a5}.button.ghost{background:transparent}.button.compact{padding:7px 9px;font-size:11px}.button.danger{color:var(--red)}.icon-button{border:1px solid var(--line);background:white;border-radius:7px;padding:5px 10px;color:var(--ink);font-size:18px}.week-controls{display:flex;align-items:center;gap:7px;padding:7px 11px;background:white;border:1px solid var(--line);border-radius:9px;white-space:nowrap;font-size:11px}.week-controls input{background:transparent;border:0;width:117px;color:var(--ink);font-size:11px}.week-controls button{border:0;background:transparent;color:var(--muted);font-size:17px;padding:0 3px}.hero{background:var(--green);border-radius:var(--radius);padding:25px 29px;color:white;display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:200px;height:200px;border-radius:50%;border:1px solid #ffffff15;right:110px;top:44px;pointer-events:none}.hero .eyebrow{color:#d5e3ff;font-size:9px}.hero h2{font-size:23px;letter-spacing:-.7px}.hero p{font-size:12px;color:#e4edff;margin-top:8px;max-width:570px;line-height:1.6}.hero .button{background:var(--lime);color:var(--green);border-color:var(--lime);z-index:1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:19px 20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.stat-icon{display:grid;place-items:center;background:#e9f0ff;border-radius:7px;width:28px;height:28px;color:var(--green);font-size:15px}.stat-value{font-family:Manrope,sans-serif;font-weight:800;font-size:29px;letter-spacing:-1px;line-height:1.25;margin:10px 0 8px}.stat-value small{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0}.stat-caption{font-size:10px;color:var(--muted);line-height:1.6}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#8ba563;margin-right:5px}.dot.orange{background:#d89b59}.dot.red{background:var(--red)}.section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.section-head small{font-size:11px;color:var(--muted)}.section-head a{font-size:11px;text-decoration:none;color:var(--green);font-weight:600}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.two-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:19px}.lower-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:19px;margin-top:20px}.progress-track{height:5px;background:#edf2fa;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;background:#0950d4;border-radius:99px}.goal{border-bottom:1px solid var(--line);padding:15px 0;cursor:pointer}.goal:first-of-type{padding-top:0}.goal:last-child{border-bottom:0;padding-bottom:0}.goal-top{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:8px}.goal-detail{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);margin-bottom:10px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;font-size:9px;font-weight:600;padding:4px 7px;white-space:nowrap;background:#f0f1eb;color:#6f7a68}.pill.green{background:#eaf2df;color:#58703d}.pill.orange{background:#fff0df;color:#a8743c}.pill.red{background:#f9e7e5;color:#b1514d}.pill.blue{background:#e9eff8;color:#5b769b}.empty{text-align:center;padding:27px 15px;color:var(--muted);font-size:12px;line-height:1.8}.empty strong{display:block;color:var(--ink);margin-bottom:4px;font-size:13px}.empty .button{margin-top:13px}.filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:20px 0}.filters select,.filters input{border:1px solid var(--line);background:white;color:var(--ink);padding:9px 11px;border-radius:8px;font-size:11px}.search{flex:1;min-width:170px}.board{display:grid;grid-template-columns:repeat(5,minmax(200px,1fr));gap:12px;overflow-x:auto;padding-bottom:14px;align-items:start}.column{background:#edf2fa;border-radius:13px;padding:12px;min-height:380px}.column-header{display:flex;justify-content:space-between;align-items:center;padding:1px 1px 13px;font-size:12px;font-weight:700}.column-header span.count{font-size:10px;border:1px solid #cedbf3;border-radius:5px;padding:2px 6px;font-weight:500;color:var(--muted)}.task-card{width:100%;text-align:left;border:1px solid #dce5f6;background:white;border-radius:10px;padding:14px 13px;margin-bottom:10px;color:var(--ink);box-shadow:0 2px 3px #064ac903}.task-card:hover{border-color:#8eaee9;box-shadow:0 4px 12px #064ac90b}.task-card h3{font-size:12px;font-weight:600;line-height:1.5;margin:11px 0 8px}.task-card p{font-size:10px;line-height:1.6;color:var(--muted);margin-bottom:12px}.task-card-bottom{display:flex;justify-content:space-between;gap:6px;align-items:center;border-top:1px solid #edf2fa;padding-top:10px;font-size:9px;color:var(--muted)}.task-card .card-parish{display:block;font-size:9px;color:#46628c;margin-top:9px}.avatar-mini{width:23px;height:23px;background:#edf2fa;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:8px}.card-owner{display:flex;align-items:center;gap:5px;min-width:0}.card-owner span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:95px}.column-add{background:transparent;border:1px dashed #cedbf3;border-radius:8px;color:#687890;font-size:10px;width:100%;padding:10px}.task-list-item{display:flex;width:100%;text-align:left;align-items:center;gap:12px;background:transparent;border:0;border-bottom:1px solid var(--line);padding:13px 0;color:var(--ink)}.task-list-item:last-child{border-bottom:0}.task-list-item .check-square{width:20px;height:20px;border:1px solid #cedbf3;border-radius:5px;flex-shrink:0;text-align:center;color:#0950d4}.task-list-item .task-name{font-size:12px;font-weight:500}.task-list-item small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.task-list-item .pill{margin-left:auto}.parish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.parish-tile{border:1px solid var(--line);border-radius:10px;background:#ffffff;text-align:left;padding:14px 12px;color:var(--ink);position:relative;min-height:81px}.parish-tile:hover,.parish-tile.selected{background:#edf3ff;border-color:#8eaee9}.parish-tile h3{font-size:11px;line-height:1.4;margin-bottom:8px}.parish-tile small{font-size:9px;color:var(--muted)}.parish-tile .parish-number{font-size:9px;color:#90a1bc;position:absolute;right:9px;top:8px}.parish-legend{display:flex;gap:18px;align-items:center;font-size:9px;color:var(--muted);margin-top:16px}.legend-dot{display:inline-block;width:6px;height:6px;background:#0950d4;border-radius:50%;margin-right:5px}.hint{color:var(--muted);font-size:10px;line-height:1.7;margin-top:13px}.notice{background:#edf3ff;border:1px solid #dce5f6;border-radius:9px;padding:12px 15px;font-size:11px;line-height:1.7;color:#46628c;margin-bottom:20px}.notice.warning{background:#fff4e5;color:#8e6935;border-color:#f0dfc6}.small-note{font-size:10px;color:var(--muted);line-height:1.7;margin-top:14px}.agenda-strip{display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));gap:10px;overflow-x:auto;padding-bottom:15px}.day{background:white;border:1px solid var(--line);border-radius:12px;min-height:220px;padding:14px 11px}.day.current{border-color:#064ac9}.day-title{font-size:9px;text-transform:uppercase;color:var(--muted);letter-spacing:1px}.day-number{font-size:23px;font-family:Manrope;font-weight:800;margin:4px 0 15px}.event-card{display:block;text-align:left;width:100%;background:#edf3ff;color:var(--ink);border:0;border-radius:8px;padding:11px 9px;margin-bottom:8px;font-size:10px;line-height:1.7}.event-card strong{display:block;margin:3px 0;font-size:11px}.event-card small{color:var(--muted);font-size:9px}.day-add{background:transparent;border:0;color:#687890;font-size:10px;padding:8px 0}.table-wrapper{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:9px;letter-spacing:.6px;background:#f5f8fe;padding:15px 16px}td{padding:16px;border-top:1px solid var(--line)}td strong{display:block;font-size:11px}td small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.table-wrapper tr[data-edit]:hover{background:#f5f8fe;cursor:pointer}.table-wrapper a{text-decoration:none;color:#064ac9}.metric-footnote{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.metric-footnote .panel{padding:18px;font-size:11px;line-height:1.8}.metric-footnote h3{font-size:12px;margin-bottom:6px}.metric-footnote p{color:var(--muted)}.history-item{border-left:2px solid #cbd9f5;padding:0 0 16px 14px;margin-left:4px;font-size:11px;line-height:1.7}.history-item:last-child{padding-bottom:0}.history-item small{display:block;font-size:9px;color:var(--muted)}.bank-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.bank-list .task-card{margin:0}.tabs{display:flex;gap:5px;margin:0 0 18px}.tabs button{border:0;background:transparent;border-radius:7px;padding:9px 14px;font-size:12px;color:var(--muted)}.tabs button.active{background:#e9f0ff;color:var(--green);font-weight:600}.resource-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:25px}.resource-guide .panel{font-size:12px;line-height:1.9}.resource-guide p{color:var(--muted);margin-top:7px}.resource-guide h3{font-size:13px}footer{padding:10px 36px 24px;text-align:center;color:#687890;font-size:9px;line-height:1.8}dialog{width:min(680px,calc(100% - 28px));max-height:90vh;border:1px solid var(--line);border-radius:18px;padding:25px;background:#ffffff;color:var(--ink);box-shadow:0 20px 100px #064ac92f}dialog::backdrop{background:#1523455c;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px;gap:15px}.dialog-heading small{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.dialog-heading h2{margin-top:7px;font-size:21px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:block;font-size:11px;font-weight:500;margin-bottom:13px}.field span{display:block;margin-bottom:6px}.field input,.field select,.field textarea{border:1px solid #ccd8ec;border-radius:7px;background:white;color:var(--ink);padding:10px 11px;width:100%;font-size:12px;line-height:1.5}.field textarea{resize:vertical;min-height:74px}.field small{font-size:9px;color:var(--muted);display:block;margin-top:5px;line-height:1.7}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.6;padding:5px 0}.checkbox-row input{accent-color:var(--green)}.check-editor{padding:10px 14px;background:#edf3ff;border-radius:10px;margin:6px 0 15px}.check-editor h3{font-size:11px;margin-bottom:8px}.form-error{color:var(--red);font-size:11px;white-space:pre-line;line-height:1.8;margin:8px 0}.dialog-actions{display:flex;gap:9px;border-top:1px solid var(--line);padding-top:18px;margin-top:15px;align-items:center}.dialog-actions>span{flex:1}.guide-content{font-size:12px;line-height:1.9}.guide-content ol{padding-left:20px;margin-top:0}.guide-content li{padding-bottom:12px}.guide-content h3{margin:18px 0 10px}.guide-content p{margin-bottom:12px;color:var(--muted)}#toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:10px;padding:12px 22px;font-size:12px;z-index:80;box-shadow:0 5px 20px #0002;display:none;max-width:90vw}#toast.visible{display:block}.report-actions{display:flex;gap:8px}.overdue-text{color:var(--red)}.parish-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.parish-summary .stat{padding:15px}.reference-list{font-size:11px;color:var(--muted);line-height:1.9}.reference-list strong{color:var(--ink)}
.login-mode .sidebar,.login-mode .topbar{display:none}.login-mode .main-shell{margin:0}.login-card{max-width:450px;margin:8vh auto 4vh;padding:34px;background:white;border:1px solid var(--line);border-radius:18px}.login-card h1{font-size:28px;margin:12px 0}.login-card form{margin:24px 0 15px}.login-card button{width:100%}.delivery-row{display:flex;justify-content:space-between;align-items:center;gap:20px;background:white;border:0;border-bottom:1px solid var(--line);padding:19px 0;text-align:left;width:100%;color:var(--ink)}.delivery-row:last-child{border-bottom:0}.delivery-row h3{font-size:14px;margin-bottom:7px}.delivery-row p{font-size:12px;margin-bottom:8px;line-height:1.7}.delivery-row small{font-size:10px;color:var(--muted);line-height:1.7}.routine{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:25px 0}.routine strong{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf3ff;color:var(--green);margin-right:6px}.share-link{display:flex;gap:10px;margin-top:15px}.share-link input{width:100%;border:1px solid var(--line);padding:10px;font-size:12px;border-radius:7px;background:white;color:var(--ink)}.weekly-report{white-space:normal;min-width:650px;line-height:1.7}.weekly-report td{vertical-align:top}.more-nav summary{padding:12px;color:#d5e3ff;font-size:11px;cursor:pointer}.more-nav .nav-link{padding:9px 12px;font-size:11px}.sidebar-note{display:none}.field:has([hidden]){display:none}
@media(min-width:1450px){.parish-grid{grid-template-columns:repeat(4,1fr)}.two-cols{grid-template-columns:1.2fr 1fr}}@media(max-width:1100px){.sidebar{width:205px;padding:28px 17px}.main-shell{margin-left:205px}main{padding:27px 24px}.topbar{padding:0 24px}.page-heading{flex-wrap:wrap}.two-cols,.lower-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.bank-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.sidebar{position:relative;width:100%;padding:15px 18px;display:block}.brand{font-size:16px}.brand-mark{width:30px;height:34px;font-size:23px}.brand small{font-size:7px}.workspace,.nav-label,.sidebar-note,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;gap:4px;margin-top:15px}.nav-link{padding:8px 10px;white-space:nowrap;font-size:10px;margin:0}.nav-icon{font-size:13px;width:15px}.main-shell{margin-left:0}.topbar{height:58px;padding:0 17px}.top-actions{gap:2px}.top-actions .button{font-size:9px;padding:7px}.profile{display:none}.breadcrumbs{font-size:10px}.breadcrumbs span{margin:0 7px}main{padding:23px 18px}h1{font-size:26px}.page-heading{margin-bottom:18px;gap:12px}.heading-actions{flex-wrap:wrap}.hero{padding:21px;gap:15px;align-items:flex-start;flex-direction:column}.hero h2{font-size:20px}.hero p{font-size:11px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat-value{font-size:25px}.stat-caption{font-size:9px}.panel{padding:18px}.parish-grid{grid-template-columns:repeat(2,1fr)}.bank-list,.resource-guide,.metric-footnote{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.board{grid-template-columns:repeat(5,230px)}.column{min-height:280px}.button{padding:9px 12px;font-size:11px}.dialog-actions{flex-wrap:wrap}footer{padding:10px 18px 25px}.report-actions{flex-wrap:wrap}.more-nav{position:relative;min-width:160px}}

[hidden]{display:none!important}
.agenda-strip{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}.day{min-width:0}.day>.button{margin-top:12px;padding:7px 9px}.event-card{overflow-wrap:anywhere}.event-card p{font-size:10px;color:var(--muted);margin:5px 0}.event-card small{display:block}.event-card:hover{box-shadow:0 0 0 1px #8eaee9}.task-details{margin:15px 0;border-top:1px solid var(--line);padding-top:16px}
@media(min-width:751px){.sidebar{overflow-y:auto}.nav-link{padding:10px 12px;margin-bottom:3px}}
@media(max-width:1250px){.agenda-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.agenda-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.agenda-strip{grid-template-columns:1fr}.day{min-height:150px}.section-head{flex-wrap:wrap}}
@media(max-width:750px){nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.nav-link{white-space:normal;margin:0;line-height:1.5}.nav-icon{flex-shrink:0}}
@media(max-width:450px){nav{grid-template-columns:repeat(2,minmax(0,1fr))}}


.brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;letter-spacing:0}.brand-art{display:block;position:relative;width:100%;aspect-ratio:733/244;overflow:hidden;background:white;border-radius:6px;flex-shrink:0}.brand-art img{position:absolute;width:183.3561%;max-width:none;height:auto;left:-7.9127%;top:-21.7213%}.brand>small{color:white;font-size:9px;letter-spacing:1.8px;opacity:1}.nav-link.active{background:white;color:var(--green)}.sidebar-bottom .status-dot{background:white}
@media(max-width:750px){.brand{max-width:250px}.brand>small{font-size:8px}}

.login-brand{max-width:300px;margin:0 auto 24px}

/* Parish identity is separate from execution status. */
.parish-accent{border-left:4px solid var(--parish-color,#64748b)}
.parish-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:10px;font-weight:700;line-height:1.5;color:var(--parish-color,#64748b);overflow-wrap:anywhere;white-space:normal}
.parish-swatch{display:inline-block;width:9px;height:9px;flex:0 0 9px;background:var(--parish-color,#64748b);border-radius:3px}
.status-pill{font-size:10px;padding:5px 8px;line-height:1.3;border:1px solid transparent;white-space:nowrap;flex-shrink:0}
.status-pill>span{font-size:12px;line-height:1;font-weight:800}
.status-pending{color:#475569;background:#f1f5f9;border-color:#cbd5e1}
.status-progress{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}
.status-review{color:#92400e;background:#fffbeb;border-color:#fcd34d}
.status-done{color:#166534;background:#f0fdf4;border-color:#86efac}
.status-blocked{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}
.status-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:13px 15px;background:white;border:1px solid var(--line);border-radius:10px}
.status-legend>strong{font-size:11px;color:var(--muted);margin-right:4px}
.card-labels{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.task-card .card-parish{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:12px}
.card-parish>span:last-child{white-space:nowrap;color:var(--muted);font-size:10px}
.parish-tile{border-top:4px solid var(--parish-color,#64748b);padding:15px 12px;min-height:100px}
.parish-tile h3{padding-right:15px;margin-bottom:10px}
.parish-tile .parish-badge{font-size:11px}
.parish-tile:hover,.parish-tile.selected{background:#f8faff;border-top-color:var(--parish-color,#64748b)}
.parish-tile.selected{outline:2px solid var(--parish-color,#64748b);outline-offset:-1px;box-shadow:0 3px 12px #21314f12}
.parish-tile.selected .parish-number{color:var(--parish-color,#64748b);font-size:13px;font-weight:800}
.parish-detail h2 .parish-badge{font-size:18px}
.task-list-item.parish-accent,.delivery-row.parish-accent{border-bottom:1px solid var(--line);border-radius:8px;background:#fafcff;padding:14px 12px;margin-bottom:9px;align-items:flex-start}
.task-list-item.parish-accent:last-child,.delivery-row.parish-accent:last-child{margin-bottom:0;border-bottom:1px solid var(--line)}
.task-row-content{min-width:0;flex:1}
.task-row-content .parish-badge{margin-top:7px}
.task-name{line-height:1.6;overflow-wrap:anywhere}
.event-card{background:white;border-top:1px solid var(--line);border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 10px}
.event-card strong{margin:9px 0 7px;line-height:1.5}
.event-card p{margin:9px 0}
.event-card small{line-height:1.8}
.delivery-row>div{min-width:0;flex:1}
.delivery-row .parish-badge{margin:0 0 9px}
.goal.parish-accent{padding-left:12px;margin:12px 0}
.report-parish .parish-badge{margin-top:7px}
.editor-labels{margin-bottom:18px;padding:12px;background:#f8faff;border:1px solid var(--line);border-radius:8px;gap:12px}
.parish-tile:focus-visible,.parish-accent:focus-visible{outline:3px solid var(--parish-color,#64748b);outline-offset:3px}
@media(max-width:450px){.task-list-item.parish-accent,.delivery-row.parish-accent{flex-wrap:wrap}.task-row-content,.delivery-row>div{flex-basis:100%}.task-list-item .status-pill,.delivery-row .status-pill{margin-left:0}.parish-grid{gap:10px}}


.voter-summary{padding:14px 16px;margin-bottom:16px;background:#f4f7fe;border:1px solid var(--line);border-radius:10px;line-height:1.6}
.voter-summary strong{font-family:Manrope,system-ui,sans-serif;font-size:22px;color:var(--green)}
.voter-summary span{font-size:11px;color:var(--ink)}
.voter-summary small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.parish-voters{font-size:10px;color:var(--muted);margin:0 0 8px;line-height:1.5}
.parish-voters strong{font-size:15px;color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.selected-voters .stat{padding:16px;background:#f8faff}
.selected-voters .stat-value{color:var(--parish-color,#64748b)}

.data-actions{display:flex;align-items:center;gap:8px}
.read-only-task{line-height:1.7;font-size:12px;overflow-wrap:anywhere}
.read-only-task h3{margin:16px 0 7px}
.read-only-task p{margin:7px 0;white-space:pre-wrap}
.task-facts{display:flex;flex-direction:column;gap:5px;color:var(--muted);margin:15px 0}
@media(max-width:900px){.topbar{height:auto;min-height:75px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.top-actions{flex-wrap:wrap}.data-actions{flex-wrap:wrap}}
@media(max-width:750px){.top-actions{gap:7px}.top-actions .button{font-size:10px;padding:8px}.data-actions{gap:7px}}

.print-only{display:none}
@page{size:A4 landscape;margin:8mm}
@media print{
  body{background:white;font-size:8.5pt;line-height:1.25;color:#21314f}
  .sidebar,.topbar,.heading-actions,.filters,.tabs,.report-actions,.button,.column-add,.day-add,footer,dialog,#toast,.section-head>a{display:none!important}
  .main-shell{margin:0}main{padding:0;max-width:none}
  .print-only{display:block}.print-week{font-size:9pt;color:#475569;margin-top:3px}
  .page-heading{display:block;margin:0 0 10px;break-after:avoid}
  h1{font-size:18pt;letter-spacing:-.5px}h2{font-size:11pt}h3{font-size:9pt}
  .subtitle,.hint,.small-note,.notice{font-size:8pt;line-height:1.3;margin:4px 0}
  .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:9px}
  .stat,.parish-summary .stat,.selected-voters .stat{padding:7px 9px;border-radius:5px;background:white;break-inside:avoid}
  .stat-top{font-size:8pt}.stat-icon{display:none}.stat-value{font-size:17pt;margin:4px 0;line-height:1.1}.stat-value small{font-size:10pt}
  .stat-caption{font-size:7.5pt;line-height:1.25}.stat-caption .dot{display:none}
  .two-cols,.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}.lower-grid{margin-top:8px}
  .panel{padding:9px;border-radius:6px;margin:0;border:1px solid #cbd5e1;min-height:0;break-inside:auto}
  .section-head{margin-bottom:6px;gap:6px;break-after:avoid}.section-head small{font-size:7.5pt}
  .goal,.goal.parish-accent{padding:5px 7px;margin:0 0 5px;break-inside:avoid}.goal-top,.goal-detail{margin-bottom:4px;font-size:8pt}
  .progress-track{height:3px}
  .parish-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .parish-tile{min-height:0;padding:6px;border-radius:5px;border-top-width:3px;break-inside:avoid}
  .parish-tile h3{margin:0 0 4px;padding-right:12px}.parish-tile .parish-badge{font-size:8pt}.parish-tile small{font-size:7pt;line-height:1.2}
  .parish-tile.selected{outline:none;box-shadow:none}.parish-number{font-size:7pt!important}
  .parish-voters{margin-bottom:3px;font-size:7.5pt}.parish-voters strong{font-size:10pt}
  .voter-summary{padding:6px 8px;margin-bottom:7px;border-radius:5px;background:white}.voter-summary strong{font-size:14pt}.voter-summary span{font-size:8pt}.voter-summary small{font-size:7pt;margin-top:2px}
  .parish-detail h2 .parish-badge{font-size:11pt}.parish-summary{gap:5px;margin:6px 0}
  .status-legend{gap:5px;margin-bottom:7px;padding:5px 7px;border-radius:5px;break-inside:avoid}
  .pill,.status-pill{font-size:7.5pt;padding:2px 5px;border-radius:4px}.status-pill>span{font-size:8pt}
  .parish-badge{font-size:7.5pt}.parish-swatch{width:6px;height:6px;flex-basis:6px}
  .task-list-item.parish-accent,.delivery-row.parish-accent{padding:6px 8px;margin-bottom:4px;gap:8px;background:white;border-radius:4px;break-inside:avoid}
  .task-row-content{flex-basis:auto}.task-list-item .task-name{font-size:8.5pt;line-height:1.3}.task-list-item small{font-size:7.5pt;margin-top:3px}.task-row-content .parish-badge{margin-top:3px}
  .delivery-row h3{font-size:9pt;margin-bottom:3px}.delivery-row p{font-size:8pt;margin-bottom:4px;line-height:1.3}.delivery-row .parish-badge{margin-bottom:4px}
  .empty{padding:7px;font-size:8pt;line-height:1.3}.empty strong{font-size:8.5pt;margin:0}
  .history-item{font-size:8pt;line-height:1.3;padding:0 0 6px 7px;break-inside:avoid}.history-item small{font-size:7pt}
  .reference-list{font-size:8pt;line-height:1.3;overflow-wrap:anywhere}
  .table-wrapper{overflow:visible;border-radius:4px}
  table,.weekly-report{width:100%;min-width:0;white-space:normal;font-size:8pt;line-height:1.3;table-layout:fixed}
  th,td,.weekly-report th,.weekly-report td{padding:5px 6px;vertical-align:top;overflow-wrap:anywhere}
  th{font-size:7.5pt;letter-spacing:0;font-weight:700}td strong{font-size:8.5pt}td small{font-size:7.5pt;margin-top:2px;line-height:1.25}
  thead{display:table-header-group}tr{break-inside:avoid}
  .print-agenda th:nth-child(1){width:9%}.print-agenda th:nth-child(2){width:30%}.print-agenda th:nth-child(3){width:15%}.print-agenda th:nth-child(4){width:15%}.print-agenda th:nth-child(5){width:13%}.print-agenda th:nth-child(6){width:18%}
  main:has(.print-agenda)>.agenda-strip,main:has(.print-agenda)>.status-legend,main:has(.print-agenda)>.panel{display:none}
  .report-parish .parish-badge{margin-top:3px}
  .parish-accent{border-left-width:3px}
  .parish-badge,.status-pill,.parish-accent,.parish-tile{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
