@import "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap";:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}a{-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}body{min-width:320px;min-height:100vh;margin:0}:root{--space-1:4px;--space-2:8px;--space-3:16px;--space-4:24px;--space-5:32px;--space-6:48px;--ink:#222;--ink-soft:#555;--muted:#6c6c6c;--status-good:#3b6b4f;--status-good-bg:#ecf3ee;--status-good-border:#c9dccf;--status-good-strong:#2f5640;--status-warn:#8a5a00;--status-warn-bg:#fdf4e6;--status-bad:#c0392b;--status-bad-bg:#fdecea;--bar-track:#e7e0d2;--bar-fill:#d8a521}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=button]:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:2px solid #9e1b2e}.group-card-title{font:inherit;color:#9e1b2e;text-align:left;cursor:pointer;background:0 0;border:none;margin-bottom:.35rem;padding:0;font-size:1rem;font-weight:700;display:block}*{box-sizing:border-box;margin:0;padding:0}body{color:#333;background:#f5f5f5;font-family:Archivo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6}.app-container{flex-direction:column;min-height:100vh;display:flex}.header{color:#fff;background:linear-gradient(135deg,#9e1b2e 0%,#7a1524 100%);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 2rem;display:flex}.header h1{font-size:1.5rem;font-weight:600}.selectors{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.select-wrapper{align-items:center;gap:.5rem;display:flex}.select-wrapper label{font-size:.9rem;font-weight:500}.select-wrapper select{border:none;border-radius:4px;min-width:180px;padding:.5rem 1rem;font-size:.9rem}.nav{background:#2d2d2d;gap:0;padding:0 2rem;display:flex}.nav a{color:#ccc;border-bottom:3px solid #0000;padding:1rem 1.5rem;text-decoration:none;transition:all .2s}.nav a:hover{color:#fff;background:#3d3d3d}.nav a.active{color:#2d2d2d;background:#f2ca1c;border-bottom-color:#f2ca1c;font-weight:700}.nav a.active:hover{color:#2d2d2d;background:#f2ca1c}.main{flex:1;width:100%;max-width:1400px;margin:0 auto;padding:2rem}.select-prompt{text-align:center;color:#666;padding:4rem 2rem;font-size:1.2rem}.loading{text-align:center;color:#666;padding:2rem}.message{white-space:pre-line;border-radius:4px;margin-bottom:1rem;padding:1rem}.message.success{background:var(--status-good-bg);color:var(--status-good);border:1px solid var(--status-good-border)}.message.error{color:#721c24;background:#f8d7da;border:1px solid #f5c6cb}.dashboard h2,.intake h2,.attendance h2,.checkin h2,.reports h2,.groups h2{color:#333;margin-bottom:.5rem}.dashboard-subtitle{color:#666;margin-bottom:1.5rem;font-style:italic}.dashboard h3{color:#555;margin:1.5rem 0 1rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.25rem;display:grid}.stat-card{text-align:center;background:#fff;border-top:3px solid #d8d3cb;border-radius:8px;padding:.75rem 1rem;box-shadow:0 2px 4px #0000001a}.stat-card h3{color:#333;margin-bottom:.15rem;font-size:1.75rem}.stat-card p{color:#666;margin:0;font-size:.8rem}.stat-card.flagged{border-top-color:#dc3545}.stat-card.flagged h3{color:#dc3545}.data-table{border-collapse:collapse;background:#fff;border-radius:8px;width:100%;margin-bottom:1.5rem;overflow:hidden;box-shadow:0 2px 4px #0000001a}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #eee;padding:.75rem 1rem}.data-table th{color:#5c564f;background:#f4f2ef;border-bottom:2px solid #e4e0da;font-weight:600}.data-table tbody tr:hover{background:#fef9e7}.flagged-row{background:#fff5f5!important}.absent-row{background:#fff9e6!important}.flag-badge{color:#9e1b2e;background:#fbe3e6;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:600}.ok-badge{background:var(--status-good);color:#fff;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:600}.form{background:#fff;border-radius:8px;max-width:600px;padding:1.25rem;box-shadow:0 2px 4px #0000001a}.form-group{margin-bottom:.85rem}.form-group label{color:#333;margin-bottom:.3rem;font-weight:500;display:block}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:4px;width:100%;padding:.55rem .75rem;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#9e1b2e;outline:none;box-shadow:0 0 0 3px #9e1b2e1a}.form-row{flex-wrap:wrap;align-items:flex-end;gap:1rem;display:flex}.form-row .form-group{flex:1;min-width:200px}.btn-primary{color:#fff;cursor:pointer;background:#9e1b2e;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem;transition:background .2s}.btn-success{background:var(--status-good);color:#fff;cursor:pointer;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem;transition:background .2s}.btn-success:hover{background:var(--status-good-strong)}.btn-success.btn-small{padding:.3rem .6rem;font-size:.8rem}.btn-primary:hover{background:#7a1524}.btn-primary:disabled{cursor:not-allowed;background:#ccc}.btn-secondary{color:#fff;cursor:pointer;background:#6c757d;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem;transition:background .2s}.btn-secondary:hover{background:#5a6268}.btn-danger{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem}.btn-danger:hover{background:#c82333}.btn-accent{color:#1a1a1a;cursor:pointer;background:#f2ca1c;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:background .2s}.btn-accent:hover{background:#d4af18}.btn-small{padding:.25rem .5rem;font-size:.8rem}.btn-large{margin-top:1rem;padding:1rem 2rem;font-size:1.1rem}.button-group{align-items:center;gap:.5rem;display:flex}.mode-selector{background:#fff;border-radius:8px;gap:1.5rem;margin-bottom:1.5rem;padding:1rem;display:flex;box-shadow:0 2px 4px #0000001a}.mode-selector label{cursor:pointer;align-items:center;gap:.5rem;display:flex}.mode-selector input[type=radio]:checked+span,.mode-selector input[type=radio]:checked~*{color:#9e1b2e}.attendance-summary{gap:2rem;margin-bottom:1rem;font-weight:600;display:flex}.attendance-summary .present{color:var(--status-good)}.attendance-summary .absent{color:#dc3545}.status-btn{cursor:pointer;border:none;border-radius:4px;min-width:80px;padding:.25rem .75rem;font-weight:500;transition:all .2s}.status-btn.present{background:var(--status-good-bg);color:var(--status-good)}.status-btn.present:hover{background:var(--status-good-border)}.status-btn.absent{color:#721c24;background:#f8d7da}.status-btn.absent:hover{background:#f5c6cb}.makeup-section{margin:1.5rem 0}.makeup-select{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.makeup-select select{border:1px solid #ddd;border-radius:4px;flex:1;min-width:250px;padding:.5rem}.checkin .form{max-width:900px}.questions-container{flex-direction:column;gap:1.5rem;margin:2rem 0;display:flex}.question-card{background:#f8f9fa;border-left:4px solid #9e1b2e;border-radius:8px;padding:1.25rem}.question-text{margin-bottom:1rem;font-weight:500}.likert-scale{flex-wrap:wrap;justify-content:space-between;gap:.5rem;display:flex}.likert-option{cursor:pointer;text-align:center;border-radius:4px;flex-direction:column;flex:1;align-items:center;gap:.25rem;min-width:80px;padding:.5rem;transition:background .2s;display:flex}.likert-option:hover{background:#fef9e7}.likert-option input{accent-color:#9e1b2e;width:auto}.survey-page .form{max-width:900px}.survey-items{flex-direction:column;display:flex}.survey-item{border-top:1px solid #eee;padding:18px 0}.survey-item:first-child{border-top:0;padding-top:6px}.survey-item-prompt{margin:0 0 3px;font-size:1.12rem;font-weight:500}.survey-item-help{color:var(--muted);margin:0 0 10px;font-size:.87rem}.survey-item.is-flagged{background:var(--status-warn-bg);border-left:3px solid #f2ca1c;border-radius:0 4px 4px 0;padding-left:12px}.survey-item-flag{color:var(--status-warn);font-size:.92rem;font-weight:600}.survey-carried{background:var(--status-warn-bg);color:var(--status-warn);border:1px solid #e8d9ad;border-radius:100px;margin:4px 0 10px;padding:3px 9px;font-size:.8rem;font-weight:500;display:inline-block}.survey-options{flex-wrap:wrap;align-items:stretch;gap:8px;display:flex}.survey-list{flex-direction:column;gap:6px;max-width:640px;display:flex}.survey-list .survey-pill span{text-align:left;justify-content:flex-start;width:100%}.survey-scale{grid-template-columns:repeat(var(--n), minmax(0, 1fr));gap:8px;display:grid}.survey-scale .survey-pill span{text-align:center;-webkit-hyphens:auto;hyphens:auto;justify-content:center;min-height:64px;padding:8px 9px;font-size:.93rem;line-height:1.3}.survey-scale.tight .survey-pill span{min-height:48px;padding:8px 4px;font-size:1rem}.survey-pill{display:block;position:relative}.survey-pill input{opacity:0;width:1px;height:1px;position:absolute}.survey-pill span{color:#333;cursor:pointer;background:#fff;border:1.5px solid #ddd;border-radius:7px;align-items:center;min-height:44px;padding:8px 15px;font-size:1rem;transition:background .12s,border-color .12s,color .12s;display:flex}.survey-pill span:hover{background:#fbe9eb;border-color:#9e1b2e}.survey-pill input:checked+span{color:#fff;background:#9e1b2e;border-color:#9e1b2e;font-weight:500}.survey-pill input:focus-visible+span{outline-offset:2px;outline:2px solid #9e1b2e}.survey-declinerow{justify-content:flex-end;margin-top:8px;display:flex}.survey-declinerow input{opacity:0;width:1px;height:1px;position:absolute}.survey-declinerow label{color:#555;cursor:pointer;background:#fff;border:1.5px dashed #ddd;border-radius:7px;align-items:center;min-height:44px;padding:8px 15px;font-size:1rem;transition:background .12s,border-color .12s,color .12s;display:flex}.survey-declinerow label:hover{color:#333;background:#fbe9eb;border-color:#9e1b2e}.survey-declinerow input:checked+span{font-weight:500}.survey-declinerow label:has(input:checked){color:#fff;background:#9e1b2e;border-style:solid;border-color:#9e1b2e}.survey-declinerow label:has(input:focus-visible){outline-offset:2px;outline:2px solid #9e1b2e}.survey-writein{max-width:460px;margin-top:8px}.survey-writein-label{color:var(--ink-soft);margin-bottom:4px;font-size:.9rem;display:block}.survey-writein textarea,.survey-writein input{width:100%;font:inherit;border:1.5px solid #ddd;border-radius:7px;min-height:44px;padding:11px 12px;font-size:1rem}.survey-writein.num input{max-width:120px}.survey-writein textarea:disabled,.survey-writein input:disabled{color:var(--muted);cursor:not-allowed;background:#f4f2ef}.survey-who{background:#faf7f5;border:1px solid #e8e0dc;border-left:4px solid #9e1b2e;border-radius:7px;margin-bottom:18px;padding:12px 16px}.survey-who-name{color:#333;letter-spacing:-.01em;margin:0 0 6px;font-size:1.3rem;font-weight:600}.survey-who-facts{flex-wrap:wrap;gap:6px 26px;display:flex}.survey-who-facts span{color:#333;flex-direction:column;font-size:.95rem;display:flex}.survey-who-facts small{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.68rem;font-weight:700}.survey-progress{margin-bottom:4px}.survey-progress-head{flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:7px;display:flex}.survey-step{text-transform:uppercase;letter-spacing:.08em;color:#9e1b2e;white-space:nowrap;font-size:.74rem;font-weight:700}.survey-step-name{color:var(--muted);font-size:.88rem}.survey-rail{gap:4px;display:flex}.survey-seg{background:#e4e0da;border-radius:100px;flex:1 1 0;height:7px;transition:background .18s}.survey-seg.done{background:#c8788a}.survey-seg.now{background:#9e1b2e}@media (prefers-reduced-motion:reduce){.survey-seg{transition:none}}.survey-roster-progress{background:#fff8e1;border-radius:4px;margin-bottom:1rem;padding:.6rem .9rem}.survey-members{margin:0 0 .5rem;padding:0;list-style:none}.survey-member-row{align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.survey-member{text-align:left;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;flex:auto;justify-content:space-between;align-items:center;gap:.75rem;min-width:0;padding:.7rem .9rem;font-size:1rem;display:flex}.survey-member:hover:not(:disabled){border-color:#9e1b2e}.survey-member.is-selected{background:#fdf2f4;border-color:#9e1b2e;box-shadow:inset 0 0 0 1px #9e1b2e}.survey-member.is-locked{color:#999;cursor:not-allowed;background:#f7f7f7}.survey-member:disabled{cursor:not-allowed}.survey-member-state{white-space:normal;text-align:right;font-size:.85rem}.survey-member-when{white-space:nowrap;color:var(--muted);font-weight:400}.survey-member-state.progress{color:#9e1b2e}.survey-member-state.locked,.survey-member-state.closed{color:#999}.survey-member-who{text-align:left;flex-direction:column;min-width:0;display:flex}.survey-member-reason{color:var(--muted);font-size:.8rem;font-weight:400}.survey-band{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:.6rem;margin:1rem 0 .5rem;font-size:.85rem;display:flex}.survey-band:before,.survey-band:after{content:"";background:#e5e5e5;flex:1;height:1px}.survey-hatch{color:#666;font-size:.9rem}.survey-actionbar{z-index:2;background:#fff;border-top:1px solid #e5e5e5;border-radius:0 0 8px 8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem -1.25rem -1.25rem;padding:.85rem 1.25rem;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 10px #0000000f}.survey-actionbar-who{color:#333;margin:0;font-size:1rem;font-weight:600}@media (width<=480px){.survey-actionbar{flex-direction:column;align-items:stretch}.survey-actionbar .btn-large{width:100%}}.survey-conflict{margin:-6px 0 16px}.survey-section-title{margin:14px 0 2px;font-size:1.42rem}.survey-stem{color:var(--ink-soft);margin:0 0 2px;font-size:1.02rem}.survey-count{color:var(--muted);margin:2px 0 0;font-size:.82rem}.survey-foot{border-top:1px solid #eee;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;padding-top:18px;display:flex}.survey-foot .btn-primary{margin-left:auto}.survey-saved{color:var(--status-good);opacity:0;font-size:.85rem;transition:opacity .3s}.survey-saved.show{opacity:1}.survey-footnote{width:100%;color:var(--muted);margin:10px 0 0;font-size:.82rem}.survey-kiosk-foot{text-align:center;border-top:1px solid #eee;margin:22px 0 0;padding-top:16px}.survey-handover{text-align:center;background:#faf7f5;border:1px solid #e8e0dc;border-left:4px solid #9e1b2e;border-radius:7px;padding:28px 24px}.survey-handover h3{color:#333;margin:0 0 10px;font-size:1.5rem}.survey-handover p{color:#555;margin:0 0 20px;font-size:1.05rem}@media (prefers-reduced-motion:reduce){.survey-saved,.survey-pill span,.survey-declinerow label{transition:none}}@media (width<=780px){.survey-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-scale.tight{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=460px){.survey-scale{grid-template-columns:1fr}.survey-scale .survey-pill span{text-align:left;justify-content:flex-start;min-height:46px;font-size:1rem}.survey-scale.tight{grid-template-columns:repeat(3,minmax(0,1fr))}.survey-scale.tight .survey-pill span{text-align:center;justify-content:center}.survey-declinerow{justify-content:stretch}.survey-declinerow label{justify-content:center;width:100%}.survey-foot .btn-primary,.survey-foot .btn-secondary{flex:auto}}.likert-value{color:#9e1b2e;font-size:1.1rem;font-weight:600}.likert-label{color:#666;font-size:.75rem}.report-controls{background:#fff;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:1rem;margin-bottom:1.5rem;padding:1.5rem;display:flex;box-shadow:0 2px 4px #0000001a}.report-controls .form-group{margin-bottom:0}.report-results{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.result-count{background:#fef9e7;border-bottom:1px solid #f2ca1c;padding:1rem 1.5rem;font-weight:500}.table-container{overflow-x:auto}.no-data{text-align:center;color:#666;padding:2rem}@media (width<=768px){.header{text-align:center;flex-direction:column}.selectors{justify-content:center;width:100%}.nav{flex-wrap:wrap;justify-content:center}.nav a{padding:.75rem 1rem}.main{padding:1rem}.stats-grid{grid-template-columns:1fr 1fr}.form{padding:1.5rem}.likert-scale{flex-direction:column}.likert-option{flex-direction:row;justify-content:flex-start;gap:1rem}}.admin h2{margin-bottom:1.5rem}.admin-subnav{border-bottom:1px solid #ddd;flex-wrap:wrap;gap:0;margin-bottom:1.5rem;display:flex}.admin-subnav-link{color:#666;white-space:nowrap;border-bottom:3px solid #0000;padding:.75rem 1.25rem;font-size:.95rem;text-decoration:none}.admin-subnav-link:hover{color:#9e1b2e;background:#fafafa}.admin-subnav-link.active{color:#fff;background:#9e1b2e;border-bottom-color:#9e1b2e;font-weight:700}.admin-subnav-link.active:hover{color:#fff;background:#9e1b2e}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;display:grid}.admin-section{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a}.admin-section h3{color:var(--ink);border-bottom:2px solid #f2ca1c;margin-bottom:1rem;padding-bottom:.5rem}.admin-section h4{color:#555;margin:1.5rem 0 .75rem;font-size:.95rem}.inline-form{flex-wrap:wrap;gap:.5rem;display:flex}.inline-form input,.inline-form select{border:1px solid #ddd;border-radius:4px;flex:1;min-width:150px;padding:.5rem}.item-list{margin:0;padding:0;list-style:none}.item-list li{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:.5rem 0;display:flex}.item-list li:last-child{border-bottom:none}.item-list small{color:var(--muted);margin-left:.5rem}.empty-state{color:var(--muted);font-style:italic}.admin-link{margin-left:auto!important}.admin-link:after{content:"";vertical-align:middle;background:#f2ca1c;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.select-prompt a{color:#9e1b2e}.intake-form{max-width:800px}.intake-form h3{color:#9e1b2e;border-bottom:2px solid #f2ca1c;margin-top:1.5rem;margin-bottom:1rem;padding-bottom:.5rem}.intake-form h3:first-of-type{margin-top:0}.loading-screen{color:#666;justify-content:center;align-items:center;min-height:100vh;font-size:1.2rem;display:flex}.login-page{background:linear-gradient(135deg,#9e1b2e 0%,#7a1524 50%,#5a1018 100%);justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-container{text-align:center;background:#fff;border-radius:12px;width:100%;max-width:400px;padding:3rem;box-shadow:0 10px 40px #0000004d}.login-container h1{color:#9e1b2e;margin-bottom:.25rem;font-size:1.5rem}.login-container h2{color:#666;margin-bottom:2rem;font-size:1rem;font-weight:400}.login-form{text-align:left}.login-form .form-group{margin-bottom:1.25rem}.login-form .btn-primary{width:100%}.login-help{color:#888;margin-top:1.5rem;font-size:.85rem}.header-right{flex-wrap:wrap;align-items:center;gap:2rem;display:flex}.user-info{align-items:center;gap:1rem;font-size:.9rem;display:flex}.user-info span{opacity:.9}.checkbox-label{cursor:pointer;align-items:center;gap:.5rem;display:flex}.checkbox-label input{accent-color:#9e1b2e;width:auto}.admin-badge{color:#333;vertical-align:middle;background:#f2ca1c;border-radius:3px;margin-left:.5rem;padding:.15rem .4rem;font-size:.7rem;font-weight:600}.admin-card{border-top:1px solid #eee;margin-top:1.25rem;padding-top:1rem}.admin-card h4{color:var(--ink);margin:0 0 .4rem;font-size:.95rem}.hint{color:var(--ink-soft);font-size:.85rem}.admin-card .hint{color:#666;margin:0 0 1rem;font-size:.85rem}.admin-toggle{cursor:pointer;align-items:center;gap:.5rem;margin-bottom:.6rem;display:flex}.admin-toggle input{accent-color:#9e1b2e;width:auto}.admin-toggle:has(input:disabled){cursor:not-allowed;color:var(--muted)}.survey-windows .form-group small{color:#888;margin-top:.3rem;font-size:.8rem;display:block}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:8px;width:90%;max-width:400px;max-height:85vh;padding:2rem;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.modal h3{color:#9e1b2e;margin-bottom:1rem}.modal .form-group{margin-bottom:1rem}.modal .button-group{justify-content:flex-end;gap:.5rem;margin-top:1.5rem;display:flex}.highlight{background:#fef9e7;border-left:3px solid #f2ca1c;padding-left:.5rem}.pill-tabs{background:#e8e8e8;border-radius:10px;flex-wrap:wrap;gap:0;width:fit-content;margin-bottom:1.5rem;padding:4px;display:flex}.pill-tab{cursor:pointer;color:#555;background:0 0;border:none;border-radius:7px;padding:.5rem 1.25rem;font-size:.9rem;font-weight:400;transition:background .15s,color .15s}.pill-tab:hover{color:#9e1b2e}.pill-tab.active{color:#fff;background:#9e1b2e;font-weight:700;box-shadow:0 1px 4px #00000026}.pill-tab.active:hover{color:#fff}.report-section{border:1px solid #e5e5e5;border-radius:6px;margin-bottom:1.5rem;padding:1.25rem 1.5rem}.report-section-header{color:#fff;background:#9e1b2e;border-radius:4px;margin:-1.25rem -1.5rem 1.25rem;padding:.5rem .75rem;font-size:1rem;font-weight:600}.report-section .form-group label{color:#9e1b2e;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.3rem;font-size:.78rem;font-weight:700}.report-readonly{color:#374151;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;margin:0;padding:.45rem .6rem;font-size:.95rem}.report-attendance-hint{color:#1e40af;background:#f0f7ff;border:1px solid #bfdbfe;border-radius:4px;margin-bottom:1rem;padding:.6rem .9rem;font-size:.9rem}.radio-group{gap:1.5rem;margin-top:.4rem;display:flex}.radio-label{cursor:pointer;align-items:center;gap:.4rem;font-size:.95rem;display:flex}.radio-label input{accent-color:#9e1b2e;width:auto}.radio-label-selected{color:#9e1b2e;font-weight:700}@media print{.header,.nav,.pill-tabs,.btn-primary,.btn-secondary,.file-upload-zone,.no-print,.metrics-no-print{display:none!important}html,body,#root,.app-container,.main,.report-print-root,.report-print-content{height:auto!important;max-height:none!important;overflow:visible!important}.report-print-content{display:block!important}.admin-section,.pill-tabs{display:none!important}.modal-overlay{z-index:auto!important;background:0 0!important;display:block!important;position:static!important}.modal{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}.report-print-header{text-align:center;margin-bottom:2rem}.report-print-header h1{color:#9e1b2e;margin:0;font-size:1.6rem}.report-print-header h2{margin:.25rem 0;font-size:1.1rem;font-weight:400}.report-print-header p{color:#555;background:#f2ca1c;margin-top:.5rem;padding:.25rem .5rem;font-size:.85rem;display:inline-block}.report-print-section{page-break-inside:avoid;border:1px solid #ddd;border-radius:4px;margin-bottom:1.25rem;padding:1rem 1.25rem}.report-print-section-title{color:#fff;background:#9e1b2e;border-radius:3px;margin:-1rem -1.25rem .75rem;padding:.35rem .6rem;font-size:.9rem;font-weight:600}.report-print-grid{grid-template-columns:1fr 1fr;gap:.75rem 1.5rem;display:grid}.report-print-grid p{margin:.15rem 0 0;font-size:.9rem}.report-print-grid strong{color:#9e1b2e;font-size:.8rem}body{font-size:11pt}.main{padding:0}}.cycle-picker{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:4px;padding:4px 8px;font-size:.9rem}.re-enrollment-modal{max-width:480px}.re-enrollment-summary{margin:8px 0;font-weight:600}.rollover-banner{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.rollover-banner-text h3{margin-bottom:.25rem}.rollover-banner-text p{color:#555;max-width:46rem;margin:0;font-size:.88rem}.rollover-banner-actions{flex:none;align-items:center;gap:.5rem;display:flex}.outstanding-banner a.btn-primary{color:#fff}.rollover-dismiss{color:#999;cursor:pointer;background:0 0;border:none;padding:0 .25rem;font-size:1.2rem;line-height:1}.rollover-dismiss:hover{color:#333}.org-list-row:hover{box-shadow:0 1px 6px #0000001f}.outstanding-banner{background:#fff;border-left:5px solid #f2ca1c;border-radius:8px;margin-bottom:1.5rem;padding:.8rem 1.1rem;box-shadow:0 2px 4px #0000001a}.outstanding-banner h3{color:#333;margin:0 0 .45rem;font-size:.95rem}.outstanding-banner ul{flex-direction:column;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.outstanding-banner li{align-items:baseline;gap:.5rem;font-size:.92rem;display:flex}.outstanding-banner a{color:#9e1b2e;font-weight:600}.outstanding-badge{letter-spacing:.03em;border-radius:999px;flex:none;padding:.05rem .5rem;font-size:.7rem;font-weight:700}.outstanding-badge.todo{color:#8a6d00;background:#fdf3cd}.outstanding-badge.done{background:var(--status-good-bg);color:var(--status-good)}.outstanding-badge.overdue{color:#9e1b2e;background:#fbe3e6}.outstanding-badge.ontrack{color:#555;background:#ececec}.outstanding-due{color:#666;font-size:.85rem}.outstanding-due.over{color:#c0392b;font-weight:600}.outstanding-banner.caught-up{border-left-color:var(--status-good);align-items:center;gap:.55rem;padding:.55rem 1.1rem;display:flex}.outstanding-banner.caught-up .outstanding-check{color:var(--status-good);font-weight:700}.intake-match-banner{background:#fff;border-left:5px solid #f2ca1c;border-radius:8px;margin-bottom:1.2rem;padding:.8rem 1.1rem;box-shadow:0 2px 4px #0000001a}.intake-match-banner p{color:#333;margin:0 0 .6rem;font-size:.92rem}.intake-match-banner p.intake-match-warning{color:#9e1b2e;font-weight:600}.intake-match-row+.intake-match-row{border-top:1px solid #eee;margin-top:.7rem;padding-top:.7rem}.intake-match-banner p.intake-match-count{font-weight:600}.intake-disambiguation-note{color:#9e1b2e;margin:0 0 .8rem;font-size:.92rem;font-weight:600}.intake-match-actions{flex-wrap:wrap;gap:.6rem;display:flex}.group-member-list{color:#444;margin:.15rem 0 .4rem;padding:0;font-size:.83rem;list-style:none}.group-member-list li{border-bottom:1px dashed #f0f0f0;justify-content:space-between;gap:.5rem;padding:.14rem 0;display:flex}.group-member-list li:last-child{border-bottom:none}.group-member-age{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.78rem}.group-member-empty{color:var(--muted);font-style:italic}.roster-review-list{max-height:45vh;margin:.75rem 0;padding:0;list-style:none;overflow-y:auto}.roster-row{flex-wrap:wrap;align-items:center;gap:.6rem;padding:.3rem 0;display:flex}.roster-name{flex:12rem}.roster-age{color:var(--muted);font-size:.85rem}.roster-grade{border:1px solid #ccc;border-radius:4px;width:4.5rem;padding:.2rem .4rem;font-size:.85rem}.roster-exit-reason{max-width:180px;padding:2px 4px;font-size:.85rem}.roster-move{padding:.15rem .3rem;font-size:.8rem}.roster-decisions{flex-wrap:wrap;gap:.25rem;display:flex}.roster-choice{cursor:pointer;color:#555;border:1px solid #ddd;border-radius:999px;padding:.1rem .55rem;font-size:.78rem}.roster-choice input{opacity:0;pointer-events:none;position:absolute}.roster-choice.selected{color:#9e1b2e;background:#fdf6f7;border-color:#9e1b2e;font-weight:600}.roster-choice:focus-within{outline-offset:1px;outline:2px solid #9e1b2e}.cycle-chip{letter-spacing:.04em;text-transform:uppercase;color:#8a5a00;background:#fdf3cd;border:1px dashed #b07800;border-radius:999px;align-items:center;gap:.3rem;margin-top:.5rem;padding:.14rem .6rem;font-size:.71rem;font-weight:700;display:inline-flex}.cycle-chip.confirmed{color:#4a6a50;background:#f1f5f0;border:1px solid #d6e2d8}.cycle-actions{border-top:1px dashed #eee;flex-wrap:wrap;gap:.4rem;margin-top:.5rem;padding-top:.55rem;display:flex}.cycle-actions button{cursor:pointer;color:#333;background:#fff;border:1px solid #c2c2c2;border-radius:5px;padding:.4rem .8rem;font-family:inherit;font-size:.85rem;font-weight:600;line-height:1.2}.cycle-actions button:hover{color:#9e1b2e;background:#fdf5f6;border-color:#9e1b2e}.cycle-actions button.cycle-action-keep{background:var(--status-good);border-color:var(--status-good);color:#fff}.cycle-actions button.cycle-action-keep:hover{background:var(--status-good-strong);border-color:var(--status-good-strong);color:#fff}.cycle-actions button.cycle-action-archive{color:#8a5a00;border-color:#d8c091}.cycle-actions button.cycle-action-archive:hover{color:#8a5a00;background:#fdf8ee;border-color:#b07800}.cycle-actions label.cycle-action-survey{cursor:pointer;color:#333;background:#fff;border:1px solid #c2c2c2;border-radius:5px;align-items:center;gap:.4rem;margin:0;padding:.4rem .8rem;font-size:.85rem;font-weight:600;line-height:1.2;display:inline-flex}.cycle-actions label.cycle-action-survey:hover{color:#9e1b2e;background:#fdf5f6;border-color:#9e1b2e}.cycle-actions label.cycle-action-survey input{accent-color:#9e1b2e;width:auto;margin:0}.result-note{color:var(--status-warn);font-weight:500}.survey-heading{border-bottom:3px solid #f2ca1c;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding-bottom:.75rem;display:flex}.survey-heading-title{color:#9e1b2e;margin:0;font-size:1.35rem;font-weight:800}.survey-heading-year{color:#666;margin:.15rem 0 0}.survey-heading-date{text-align:right}.survey-heading-label{color:#666;margin:0;font-size:.85rem}.survey-heading-value{margin:.15rem 0 0;font-size:1.35rem;font-weight:800}@media (width<=600px){.survey-heading{flex-direction:column}.survey-heading-date{text-align:left}}.survey-noWave{background:#fff8e1;border-left:4px solid #f2ca1c;border-radius:4px;padding:1rem 1.25rem}.survey-noWave h3{margin:0 0 .5rem}.survey-noWave p{color:#555;margin:0}.survey-loading{color:#666}.link-button{color:#9e1b2e;font:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.link-button:hover{color:#7a1424}.survey-closeout{white-space:nowrap;flex:none;font-size:.85rem}.survey-closeout-reasons{border:0;margin:0 0 1rem;padding:0}.survey-closeout-reasons legend{color:#333;margin-bottom:.3rem;padding:0;font-weight:500;display:block}.survey-count-warning{color:var(--status-warn);margin:6px 0 0;font-size:.9rem}.pin-input{-webkit-text-security:disc;letter-spacing:.4em}.pin-input.pin-shown{-webkit-text-security:none}.pin-field{position:relative}.pin-field .pin-input{padding-right:3.75rem}.pin-toggle{color:#9e1b2e;cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:.8rem;font-weight:600;position:absolute;top:50%;right:.5rem;transform:translateY(-50%)}.admin-org-name{color:var(--ink);margin:0;font-size:1rem}.admin-tag{vertical-align:middle;color:#444;background:#ececec;border-radius:3px;margin-left:.75rem;padding:.15rem .5rem;font-size:.65em;font-weight:600;display:inline-block}.admin-tag.previous{background:var(--status-warn-bg);color:var(--status-warn)}.admin-note{color:var(--muted);margin-left:.75rem;font-size:.8em;font-weight:400}.cycle-strip{color:var(--ink-soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:1.25rem;padding:.6rem 1rem;font-size:.9rem;display:flex}.cycle-strip.ok{background:var(--status-good-bg);border:1px solid var(--status-good-border)}.cycle-strip.miss{background:var(--status-warn-bg);border:1px solid #e8d3ab}.cycle-strip strong{color:var(--ink)}.cycle-strip .sep{color:#bbb}.cycle-strip .state{font-weight:600}.cycle-strip.ok .state{color:var(--status-good)}.cycle-strip.miss .state{color:var(--status-warn)}.stat-card .stat-value{color:var(--ink);font-size:1.4rem;font-weight:700}.stat-card .stat-label{color:var(--muted);margin-top:.15rem;font-size:.8rem}.admin-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.admin-actions .btn-primary,.admin-actions .btn-secondary,.admin-actions .btn-success,.admin-actions .btn-danger{padding:.4rem .9rem;font-size:.85rem}.admin-actions .confirm-text{color:var(--status-bad);font-size:.85rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.survey-matrix{table-layout:auto}.survey-matrix td{vertical-align:top}.survey-org{color:var(--ink);align-items:center;gap:.25rem;font-weight:500;display:flex}.survey-matrix .muted-cell{color:var(--muted)}.survey-waves{flex-direction:column;gap:.5rem;display:flex}.wave-block{flex-direction:column;gap:.15rem;display:flex}.wave-badge{background:var(--status-good-bg);color:var(--status-good);border-radius:10px;padding:.1rem .45rem;font-size:.75rem;font-weight:600;display:inline-block}.wave-meta{color:var(--muted);font-size:.72rem}.wave-ready-tag{background:var(--status-warn-bg);width:fit-content;color:var(--status-warn);border-radius:10px;margin-top:.2rem;padding:.1rem .45rem;font-size:.72rem;font-weight:700;display:inline-block}.survey-followup-prompt{background:var(--status-warn-bg);color:var(--status-warn);border-radius:4px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.6rem .9rem;font-size:.9rem;display:flex}.survey-followup-prompt+.survey-followup-prompt{margin-top:-.5rem}.survey-followup-prompt button{flex:none}.survey-nowave,.survey-nodate{white-space:nowrap;background:var(--status-warn-bg);color:var(--status-warn);border-radius:3px;margin-left:.5rem;padding:.1rem .4rem;font-size:.75rem;font-weight:600;display:inline-block}.survey-matrix tr.is-open,.survey-matrix tr.is-open:hover{background:#fcfbfa}.survey-configure{text-align:right;white-space:nowrap}.survey-drawer-overlay{justify-content:flex-end;align-items:stretch}.survey-drawer{border-radius:0;width:90%;max-width:420px;height:100%;max-height:100vh;margin:0}.survey-drawer h3{color:#9e1b2e;margin-bottom:1rem}.survey-drawer .admin-toggle{margin-bottom:.85rem}.survey-rowmsg{margin-top:.6rem;font-size:.85rem;font-weight:600}.survey-rowmsg.success{color:var(--status-good)}.survey-rowmsg.error{color:var(--status-bad)}@keyframes ijc-just-saved{0%{background:var(--status-good-bg);box-shadow:inset 3px 0 0 var(--status-good)}to{background:0 0;box-shadow:inset 3px 0 #0000}}.survey-matrix tr.just-saved td{animation:2.2s ease-out ijc-just-saved}@media (prefers-reduced-motion:reduce){.survey-matrix tr.just-saved td{background:var(--status-good-bg);animation:none}}.survey-rowmsg{margin-top:.75rem;margin-bottom:0}.page-header{background:#fff;border-bottom:4px solid #f2ca1c;border-radius:6px 6px 0 0;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.75rem 1rem;margin:0 0 1.5rem;padding:1rem 1.25rem;display:flex}.page-header .page-header-path{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:.2rem;font-size:.72rem}.page-header .page-header-path a{color:var(--ink-soft);text-decoration:none}.page-header .page-header-path a:hover{color:#9e1b2e;text-decoration:underline}.page-header .page-header-title{color:var(--ink);margin:0;font-size:1.6rem;font-weight:800;line-height:1.2}.page-header .page-header-subtitle{color:var(--muted);margin:.25rem 0 0;font-size:.9rem}.page-header .page-header-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}@media (width<=768px){.page-header{padding:.75rem}.page-header .page-header-title{font-size:1.3rem}}h3.section-heading,.section-heading,.form-section-header{color:var(--ink);border-left:4px solid #2d2d2d;padding:.05rem 0 .05rem .6rem;font-size:1.1rem;font-weight:800}.form-section-header{margin:1.25rem 0 .6rem}.admin-section h3.section-heading{border-bottom:none}
