:root{--brand:#1a3c6e;--brand-dark:#12294c;--bg:#f5f6f8;--surface:#fff;--text:#1c2430;--muted:#5b6572;--border:#d7dce3;--danger:#b3261e;--radius:8px}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:15px}h1{font-size:1.4rem}h2{font-size:1.1rem}.muted{color:var(--muted)}.error{color:var(--danger)}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-top-pinned{z-index:8;position:sticky;top:0}.app-header{background:var(--brand);color:#fff;flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.6rem 1rem;display:flex}.app-title{color:inherit;align-items:center;gap:.5rem;font-size:1.05rem;font-weight:600;text-decoration:none;display:flex}a.app-title:hover .app-logo{background:#ffffff47}.app-logo{background:#ffffff26;border-radius:6px;justify-content:center;align-items:center;width:1.6rem;height:1.6rem;font-weight:700;display:inline-flex}.app-logo.large{background:var(--brand);color:#fff;border-radius:12px;width:3rem;height:3rem;font-size:1.5rem}.app-nav{gap:.25rem;display:flex}.app-nav a{color:#ffffffd9;border-radius:6px;padding:.35rem .7rem;text-decoration:none}.app-nav a:hover{background:#ffffff1f}.app-nav a.active{color:#fff;background:#fff3}.app-user{align-items:center;gap:.75rem;margin-left:auto;font-size:.9rem;display:flex}.board-summary{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.3rem 0 1rem;display:flex}.win-chip{white-space:nowrap;border-radius:999px;padding:.15rem .6rem;font-size:.78rem;font-weight:700;display:inline-block}.win-current{color:#1e7a37;background:#e8f6ec}.win-due_soon{color:#8a5a00;background:#fdf3dd}.win-overdue{color:var(--danger);background:#fdecec}.win-never{color:#555;background:#ededf1}button.chip-filter{font:inherit;cursor:pointer;border:1px solid #0000;font-size:.78rem;font-weight:700}button.chip-filter:hover{filter:brightness(.95)}button.chip-filter.chip-on{outline:2px solid var(--brand);outline-offset:1px}.task-district-head .win-chip{margin-left:.5rem}.admin-tabs{border-bottom:2px solid var(--border);flex-wrap:wrap;gap:.25rem;margin-bottom:1.2rem;display:flex}.admin-tabs a{color:inherit;border-bottom:2px solid #0000;border-radius:6px 6px 0 0;margin-bottom:-2px;padding:.5rem .9rem;text-decoration:none}.admin-tabs a:hover{background:var(--bg)}.admin-tabs a.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:600}.q-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.q-head .q-text{flex:1;min-width:0}.q-actions{flex-shrink:0;gap:.35rem;padding-top:.1rem;display:inline-flex}.badge-btn{font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:.18rem .6rem;font-size:.72rem;font-weight:600}.badge-note{color:#7a5200;background:#fff3d6;border-color:#e3bb66}.badge-note:hover{background:#ffe9b3}.badge-task{color:#0b6e5f;background:#dff2ee;border-color:#7cc7b8}.badge-photo{color:#4b2d86;background:#eee9fb;border-color:#b3a1e0}.sg-entry-actions{justify-content:flex-end;gap:.3rem;margin:-.2rem 0 .3rem;display:flex}.q-attach-required{color:var(--danger);margin-top:.35rem;font-size:.85rem}.q-attachments{flex-wrap:wrap;gap:.5rem;margin-top:.4rem;display:flex}.attach-chip{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:center;gap:.45rem;padding:.25rem .5rem;font-size:.82rem;display:inline-flex}.attach-thumb{object-fit:cover;border-radius:6px;width:44px;height:44px}.attach-icon{font-size:1.3rem}.attach-remove{cursor:pointer;font:inherit;color:var(--muted,#666);background:0 0;border:none;padding:0 .2rem}.attach-remove:hover{color:var(--danger)}.attach-open{font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.45rem;padding:0;display:inline-flex}.attach-open:disabled{cursor:default}.attach-open:not(:disabled):hover .attach-thumb{outline:2px solid var(--brand)}button.attach-chip{cursor:pointer;font:inherit;text-align:left}button.attach-chip:disabled{cursor:default}button.attach-chip:not(:disabled):hover .attach-thumb{outline:2px solid var(--brand)}button.attach-chip:not(:disabled):hover .attach-icon{filter:brightness(1.15)}.attach-preview-backdrop{z-index:40;cursor:zoom-out;background:#0a0e14e0;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.attach-preview-backdrop img{object-fit:contain;border-radius:4px;max-width:96vw;max-height:96vh}.attach-preview-close{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:50%;width:44px;height:44px;font-size:1.2rem;position:fixed;top:.8rem;right:.8rem}.attach-preview-close:hover{background:#ffffff4d}.badge-task:hover{background:#c8ebe3}.q-extras{flex-direction:column;gap:.35rem;margin-top:.35rem;display:flex}.q-extras-buttons{gap:.4rem;display:flex}.btn-small{padding:.25rem .6rem;font-size:.78rem}.btn-small.btn-primary{color:#fff}.q-note{background:#fff8e8;border-left:3px solid #e3bb66;border-radius:4px;padding:.35rem .6rem;font-size:.85rem}.q-note-task{background:#eef8f5;border-left-color:#7cc7b8}.note-editor{flex-direction:column;gap:.4rem;display:flex}@media (width<=720px){.badge-btn{padding:.3rem .7rem;font-size:.8rem}}.sandbox-banner{border-radius:var(--radius);background:#ede7f9;border:1px solid #9b7fd4;margin-bottom:.9rem;padding:.6rem .9rem;font-size:.9rem}.pause-switch{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-bottom:.9rem;padding:.6rem .9rem}.attr-warning{border-radius:var(--radius);background:#fff7e0;border:1px solid #e0c268;margin-bottom:.9rem;padding:.6rem .9rem;font-size:.88rem}.expiry-notice{color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:.35rem .55rem;font-size:.82rem}.audit-toolbar .expiry-notice{margin-bottom:.4rem}.expiry-notice.expiry-urgent{color:var(--danger);background:#fdecea;border-color:#f1b8b3;font-weight:600}.audit-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;padding:.7rem 1rem;display:flex}.audit-row-actions{flex-shrink:0;gap:.5rem;display:flex}.moved-banner{color:#fff;background:#1f4e79;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.45rem 1rem;font-size:.88rem;display:flex}.moved-banner .btn{color:#fff;background:#ffffff26;border-color:#ffffff80}.impersonation-banner{color:#fff;background:#5b2d86;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.45rem 1rem;font-size:.88rem;display:flex}.impersonation-banner .btn{color:#fff;background:#ffffff26;border-color:#ffffff80}.task-row{align-items:flex-start}@media (width<=560px){.task-row{flex-direction:column;align-items:stretch;gap:.6rem}.task-row>.actions-inner{justify-content:flex-end}}.task-main{min-width:0}.task-meta{margin-top:.15rem;font-size:.85rem}.task-desc{white-space:pre-wrap;margin-top:.35rem;font-size:.88rem}.task-badge{vertical-align:middle;border-radius:999px;margin-left:.5rem;padding:.1rem .5rem;font-size:.7rem;font-weight:700}.task-reopened{color:var(--danger);background:#fdecec}.task-status-open{color:#1d4f91;background:#eef4fd}.task-status-complete{color:#1e7a37;background:#e8f6ec}.task-status-reopened{color:var(--danger);background:#fdecec}.record-summary{flex-wrap:wrap;align-items:baseline;gap:.5rem 2rem;display:flex}.record-score{align-items:baseline;gap:.6rem;display:flex}.record-score strong{font-size:1.6rem}.record-sections summary{cursor:pointer;color:var(--muted,#666);font-size:.9rem}.record-sections ul{margin:.4rem 0 0;font-size:.9rem}.record-toolbar{flex-wrap:wrap;align-items:center;gap:.8rem;margin:1.2rem 0 .4rem;font-size:.9rem;display:flex}.record-q{border-bottom:1px solid var(--border);padding:.7rem 0}.record-q:last-child{border-bottom:none}.record-q-failed{border-left:3px solid var(--danger);margin-left:-.7rem;padding-left:.7rem}.record-q-head{align-items:baseline;gap:.5rem;display:flex}.record-q-text{font-weight:600}.fail-badge{color:var(--danger);background:#fdecec;border-radius:999px;flex:none;padding:.1rem .5rem;font-size:.7rem;font-weight:700}.record-answer{margin-top:.25rem}.record-section-title{margin:.9rem 0 .2rem;font-size:1.05rem}.record-attachments{flex-wrap:wrap;gap:.4rem 1rem;margin-top:.35rem;font-size:.88rem;display:flex}.record-samples{gap:.6rem;margin-top:.4rem;display:grid}.record-sample{border:1px solid var(--border);border-radius:8px;padding:.5rem .7rem}.record-sample-title{align-items:baseline;gap:.5rem;font-size:.9rem;font-weight:600;display:flex}.record-sample dl{margin:.3rem 0 0}.record-field{gap:.5rem;padding:.1rem 0;font-size:.9rem;display:flex}.record-field dt{color:var(--muted,#666);flex:0 0 45%}.record-field dd{margin:0}.task-group-head{margin:1.1rem 0 .4rem;font-size:.95rem;font-weight:600}.task-district-head{border-bottom:2px solid var(--border);margin:1.6rem 0 .2rem;padding-bottom:.3rem;font-size:1.05rem;font-weight:600}.task-district .task-group-head{margin-top:.7rem}.task-group-head,.task-district-head{cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none}.task-group-head::-webkit-details-marker{display:none}.task-district-head::-webkit-details-marker{display:none}.task-group-head:before,.task-district-head:before{content:"▸";width:1.1em;color:var(--muted,#666);transition:transform .12s;display:inline-block}details[open]>.task-group-head:before,details[open]>.task-district-head:before{transform:rotate(90deg)}.task-district>.task-group{margin-left:1.1em}.group-toggle{align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.page-head-tools select{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);max-width:16rem;padding:.4rem .6rem}.list-tools{flex-wrap:wrap;align-items:center;gap:.5rem .8rem;margin:.2rem 0 .9rem;display:flex}.list-tools select,.list-tools input[type=date],.list-tools .store-search-select input{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);max-width:16rem;padding:.35rem .5rem;font-size:.9rem}.date-range{color:var(--muted,#666);align-items:center;gap:.4rem;font-size:.85rem;display:inline-flex}.entity-link{color:var(--brand);text-decoration:none}.entity-link:hover{text-decoration:underline}.sync-chip{white-space:nowrap;color:#fff;background:#ffffff2e;border-radius:999px;padding:.2rem .7rem;font-size:.78rem}.sync-chip.sync-offline{background:#7a5d00}.sync-chip.sync-error{background:#7a2e00}.sync-chip.staging-chip{background:#8a5a00}.sync-chip.api-chip{background:#1d5c3a}.role-badge{background:#fff3;border-radius:999px;margin-left:.5rem;padding:.1rem .6rem;font-size:.75rem}.app-main{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:1.25rem}.btn{font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;padding:.45rem .9rem}.btn:hover{border-color:var(--brand)}a.btn{text-decoration:none;display:inline-block}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-dark)}.btn-danger{color:var(--danger);border-color:var(--danger)}.btn-ghost{color:#fff;background:0 0;border-color:#fff6}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:160px;max-height:calc(100dvh - 220px);overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}thead th{z-index:2;background:var(--surface);box-shadow:0 1px 0 var(--border);position:sticky;top:0}thead th.row-actions{z-index:3}th,td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:.55rem .75rem}tbody tr:last-child td{border-bottom:none}.row-inactive td{color:var(--muted)}th.row-actions,td.who-gets-it{white-space:normal;min-width:16rem;font-size:.88rem}td.row-actions{background:var(--surface);text-align:right;position:sticky;right:0;box-shadow:-8px 0 8px -8px #141c2840}.actions-inner{gap:.4rem;display:inline-flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.page-head-tools{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.seg-group{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:inline-flex;overflow:hidden}.seg{font:inherit;cursor:pointer;color:var(--muted);background:0 0;border:none;padding:.45rem .8rem;font-size:.85rem}.seg+.seg{border-left:1px solid var(--border)}.seg:hover{color:var(--text)}.seg.seg-on{background:var(--brand);color:#fff}.page-message{text-align:center;color:var(--muted);padding:3rem 1rem}.page-message.error{color:var(--danger)}.signin-page{justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.signin-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:.75rem;width:100%;max-width:380px;padding:2.5rem 2rem;display:flex}.config-error{max-width:560px;margin:4rem auto;padding:1rem;font-family:system-ui,sans-serif}.modal-backdrop{z-index:10;background:#141c2873;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:12px;width:100%;max-width:640px;max-height:90vh;padding:1.5rem;overflow-y:auto}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem 1rem;margin:1rem 0;display:grid}.form-grid label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.form-grid label.span-2{grid-column:span 2}.form-grid label.checkbox{color:var(--text);flex-direction:row;align-items:center;gap:.5rem}.form-grid input,.form-grid select{font:inherit;border:1px solid var(--border);color:var(--text);border-radius:6px;padding:.45rem .6rem}.form-grid input:disabled{background:var(--bg)}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.modal.modal-wide{max-width:860px}.mono{font-family:Consolas,Courier New,monospace;font-size:.85em}.picker{grid-template-columns:1fr auto 1fr;align-items:stretch;gap:.75rem;margin:.75rem 0 1rem;display:grid}.picker-pane{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;min-width:0;display:flex}.picker-title{border-bottom:1px solid var(--border);background:var(--bg);border-radius:var(--radius) var(--radius) 0 0;padding:.4rem .75rem;font-size:.85rem;font-weight:600}.picker-scroll{max-height:300px;padding:.25rem 0;overflow-y:auto}.picker-district,.picker-store{cursor:pointer;align-items:center;gap:.5rem;padding:.25rem .75rem;font-size:.88rem;display:flex}.picker-district{margin-top:.35rem;font-weight:600}.picker-store{padding-left:2rem}.picker-district:hover,.picker-store:hover{background:var(--bg)}.picker-middle{align-items:center;display:flex}.picker-assigned{justify-content:space-between;align-items:center;gap:.5rem;padding:.3rem .75rem;font-size:.88rem;display:flex}.picker-assigned:hover{background:var(--bg)}.picker-empty{padding:.75rem}.picker-hint{margin:.5rem 0 .25rem;font-size:.85rem}.typeahead{position:relative}.typeahead-status{padding:.25rem 0;font-size:.8rem}.typeahead-results{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-height:260px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 20px #141c282e}.typeahead-result{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:flex-start;gap:.1rem;padding:.5rem .75rem;display:flex}.typeahead-result:hover{background:var(--bg)}.typeahead-result+.typeahead-result{border-top:1px solid var(--border)}.chip-remove{color:var(--danger);cursor:pointer;background:0 0;border:none;padding:0 .25rem;font-size:1.1rem;line-height:1}@media (width<=720px){.picker{grid-template-columns:1fr}.picker-middle{justify-content:center}}.audit-page{max-width:1080px;margin:0 auto}.audit-layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.audit-form{min-width:0;max-width:760px}.audit-sidenav{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.6rem;max-height:calc(100dvh - 2rem);padding:.75rem;display:flex;position:sticky;top:1rem}.sidenav-rows{flex-direction:column;flex:1;display:flex;overflow-y:auto}.sidenav-rows .section-browser-row{border-bottom:none;border-radius:6px;min-height:40px;padding:.45rem .5rem;font-size:.88rem}.sidenav-foot{border-top:1px solid var(--border);padding-top:.6rem}.sidenav-foot .jump-next{justify-content:center;width:100%}.score-chip{background:var(--brand);color:#fff;white-space:nowrap;border-radius:999px;padding:.35rem .9rem;font-size:.9rem;font-weight:600}.audit-toolbar{z-index:5;background:var(--bg);border-bottom:1px solid var(--border);margin-bottom:.75rem;padding:.4rem 0 .5rem;display:none;position:sticky;top:0}.audit-jumpbar{align-items:center;gap:.5rem;padding-top:.4rem;display:flex}.jump{font:inherit;white-space:nowrap;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .8rem;font-size:.85rem;display:inline-flex}.jump:hover{border-color:var(--brand)}.jump-next{border-color:var(--brand);color:var(--brand);flex-shrink:0;margin-left:auto;font-weight:600}.jump-menu{flex-shrink:0;font-weight:600}.section-browser{z-index:6;background:var(--surface);border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);max-height:60vh;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 12px 24px #141c2833}.section-browser-row{width:100%;min-height:48px;font:inherit;text-align:left;border:none;border-bottom:1px solid var(--border);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem 1rem;font-size:.95rem;display:flex}.section-browser-row:last-child{border-bottom:none}.section-browser-row:hover{background:var(--bg)}.section-browser-title{font-weight:500}.section-browser-count{color:var(--muted);white-space:nowrap;font-size:.85rem}.section-browser-count.done{color:#1c7c31;font-weight:700}@media (width<=720px){.audit-layout{grid-template-columns:1fr}.audit-sidenav{display:none}.audit-toolbar{display:block}.jump{min-height:44px;padding:.55rem .9rem;font-size:.9rem}.yn{min-width:4.5rem;min-height:46px;font-size:1rem}}.section-count{color:var(--muted);margin-left:.3rem;font-size:.75rem;font-weight:400}.section-count.done{color:#1c7c31;font-weight:700}.audit-progress{background:var(--border);border-radius:999px;height:1.4rem;position:relative;overflow:hidden}.audit-progress-bar{background:var(--brand);height:100%;transition:width .2s}.audit-progress-text{color:var(--text);mix-blend-mode:normal;justify-content:center;align-items:center;font-size:.75rem;display:flex;position:absolute;inset:0}.audit-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.9rem;overflow:hidden}.audit-section-head{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:.75rem 1rem;font-weight:600;display:flex}.audit-section-head:hover{background:var(--bg)}.audit-section-body{padding:0 1rem 1rem}.audit-instruction{color:var(--muted);border-left:3px solid var(--border);padding-left:.75rem;font-size:.88rem}.q-row{border-top:1px solid var(--border);flex-direction:column;gap:.5rem;padding:.75rem 0;display:flex}.q-row.missing{border-left:3px solid var(--danger);background:#fdf0ef;padding-left:.6rem}.q-text{font-size:.95rem}.q-heading{text-transform:uppercase;letter-spacing:.03em;color:var(--brand);margin:.5rem 0 .1rem;font-size:.85rem}.q-input{font:inherit;border:1px solid var(--border);border-radius:6px;width:100%;max-width:32rem;padding:.5rem .6rem}.q-input-number{max-width:8rem}.q-input-date{max-width:12rem}.q-number{align-items:center;gap:.4rem;display:inline-flex}.q-options{flex-direction:column;gap:.35rem;display:flex}.q-check{align-items:center;gap:.5rem;font-size:.9rem;display:flex}.yn-group{gap:.4rem;display:inline-flex}.yn{font:inherit;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;min-width:4rem;padding:.5rem 1.1rem}.yn:hover{border-color:var(--brand)}.yn.yn-on.yn-yes{color:#fff;background:#1c7c31;border-color:#1c7c31}.yn.yn-on.yn-no{background:var(--danger);border-color:var(--danger);color:#fff}.yn.yn-on.yn-na{background:var(--muted);border-color:var(--muted);color:#fff}.sg{flex-direction:column;gap:.6rem;display:flex}.sg-entry{border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:.6rem .75rem .75rem}.sg-entry legend{padding:0 .3rem;font-size:.85rem;font-weight:600}.sg-field{flex-direction:column;gap:.25rem;margin-bottom:.5rem;display:flex}.sg-field.missing{border-left:3px solid var(--danger);background:#fdf0ef;padding-left:.5rem}.sg-label{color:var(--muted);font-size:.82rem}.sg-meta{font-size:.8rem}.sg-add{align-self:flex-start}.sg-entry legend .chip-remove{margin-left:.4rem}.audit-submit{flex-direction:column;align-items:flex-start;gap:.5rem;margin:1.25rem 0 2rem;display:flex}@media (width<=640px){.app-header{gap:.5rem}.app-user span{display:none}.form-grid label.span-2{grid-column:span 1}}.task-manage{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:1rem 0;padding:.75rem 1rem}.attach-list{flex-wrap:wrap;gap:.5rem;margin-top:.4rem;display:flex}.thread-event{border-left:3px solid var(--border);margin:.35rem 0;padding:.3rem .25rem;font-size:.85rem}.thread-comment{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:.5rem 0;padding:.6rem .85rem}.thread-author-account{word-break:break-all;font-weight:400}.thread-comment-head{margin-bottom:.25rem;font-size:.82rem}.thread-comment-body{white-space:pre-wrap;overflow-wrap:anywhere}.thread-composer{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.notify-picker label{flex-direction:column;gap:.25rem;display:flex}.thread-comment-notify{margin-top:.35rem;font-size:.8rem}.notify-block{margin:.5rem 0}.notify-label{font-size:.85rem}.notify-options{flex-direction:column;gap:.35rem;margin:.4rem 0 .6rem;padding:0;font-size:.9rem;list-style:none;display:flex}.notify-auto{font-size:.85rem}.notify-picker{align-items:flex-end;gap:.5rem;max-width:420px;display:flex}.notify-picker>label,.notify-picker>div{flex:1}.back-link-row{margin:0 0 .5rem;font-size:.9rem}.textarea-required{outline:2px solid var(--danger);outline-offset:1px}.search-box input{min-width:180px}th .th-sort{font:inherit;font-weight:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:0}th .th-sort:hover{text-decoration:underline}.th-sort-arrow{font-size:.7rem}.store-search-select{display:block;position:relative}.store-search-select input{width:100%}.list-tools .store-search-select{min-width:220px}.typeahead-group{text-transform:uppercase;letter-spacing:.05em;padding:.35rem .75rem .1rem;font-size:.72rem}.tpl-family{background:#fff;border:1px solid #d8dde3;border-radius:8px;margin:1rem 0;padding:.75rem 1rem}.tpl-family-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.tpl-family-head h2{margin:0}.tpl-version-extra{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.tpl-badge{vertical-align:middle;border-radius:999px;padding:.1rem .45rem;font-size:.75rem;font-weight:600}.tpl-badge-live{color:#1d6b35;background:#e3f4e8}.tpl-badge-draft{color:#7a5a00;background:#fff4d6}.tpl-badge-retired{color:#55606b;background:#eceff2}.tpl-retired summary{cursor:pointer;color:#55606b;margin:.5rem 0}.tpl-section{background:#fff;border:1px solid #d8dde3;border-radius:8px;margin:1rem 0;padding:.75rem 1rem}.tpl-section-head,.tpl-question-row{align-items:center;gap:.5rem;display:flex}.tpl-section-title{flex:1;min-width:0;padding:.35rem .5rem;font-size:1.1rem;font-weight:600}.tpl-section-settings{margin:.5rem 0}.tpl-handle{cursor:grab;color:#8a949e;-webkit-user-select:none;user-select:none;padding:0 .25rem}.tpl-num{color:#55606b;font-variant-numeric:tabular-nums;min-width:2.2rem}.tpl-move{gap:.25rem;display:inline-flex}.tpl-questions{margin:.5rem 0 0;padding:0;list-style:none}.tpl-question{border-top:1px solid #eceff2;padding:.4rem 0}.tpl-question-summary{text-align:left;cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;flex:1;min-width:0;padding:.35rem .25rem}.tpl-question-summary:hover{background:#f5f7f9}.tpl-question-editor{background:#f8f9fb;border-radius:6px;margin:.5rem 0 .5rem 2.8rem;padding:.75rem}.tpl-question-end{border-top:1px solid #eceff2;padding:.5rem 0}.tpl-add-question,.tpl-option{align-items:center;gap:.5rem;display:flex}.tpl-options{border:none;gap:.4rem;padding:0;display:grid}.tpl-drop{outline-offset:2px;outline:2px dashed #2b6cb0}.tpl-problems summary{cursor:pointer;font-weight:600}.tpl-question-actions{justify-content:flex-end;display:flex}@media (width<=720px){.tpl-question-editor{margin-left:0}.tpl-handle{display:none}}.tpl-view-switch{margin:.75rem 0}.tpl-share{color:#55606b;white-space:nowrap;font-size:.8rem}.tpl-share-hint{color:#55606b;cursor:help;font-size:.8rem}.tpl-bulk{align-items:center;gap:.4rem;display:inline-flex}.tpl-bulk input,.tpl-weights td input[type=number]{width:5rem}.tpl-weights table{table-layout:auto}.tpl-weights td.tpl-weights-text{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:12rem}.tpl-weights th,.tpl-weights td{vertical-align:top}@media (width<=720px){.tpl-weights td.tpl-weights-text{min-width:7rem}.tpl-weights th,.tpl-weights td{padding:.45rem .35rem}.tpl-weights td input[type=number]{width:4rem}}.tpl-weights-section td{background:#f5f7f9}.tpl-weight-field{align-content:start;gap:.2rem;display:grid}.tpl-badge-critical{color:#9b1c1c;background:#fde8e8;margin-left:.4rem}.tpl-stale-actions{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.tpl-sample{border:1px solid var(--border);border-radius:var(--radius);gap:.5rem;padding:.6rem .8rem;display:grid}.tpl-sample legend{padding:0 .3rem;font-weight:600}.tpl-sample-counts{flex-wrap:wrap;gap:.75rem;display:flex}.tpl-sample-counts label{gap:.2rem;display:grid}.tpl-sample-counts input{width:6rem}.tpl-sample-help{margin:0;font-size:.85rem}.tpl-fields{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.tpl-field{border-top:1px solid var(--border);padding-top:.5rem}.tpl-field-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.tpl-field-label{flex:14rem;min-width:0}.tpl-field-settings{flex-wrap:wrap;align-items:center;gap:.4rem 1rem;margin:.35rem 0 0 1.8rem;display:flex}.tpl-field-settings select{max-width:100%}.tpl-condition-warning{margin-top:.2rem;font-size:.85rem;display:block}@media (width<=720px){.tpl-field-settings{margin-left:0}}.tpl-preview-tools{flex-wrap:wrap;align-items:center}.tpl-preview-attr{flex-wrap:wrap;align-items:center;gap:.35rem;max-width:100%;display:inline-flex}.tpl-preview-attr select{max-width:100%}.tpl-preview .audit-sidenav,.tpl-preview .audit-toolbar{max-height:none;position:static}.tpl-preview-score{margin-left:auto}.tpl-inline-problems{border-left:3px solid var(--danger);color:var(--danger);background:#fdf2f2;border-radius:0 6px 6px 0;margin:.35rem 0 .35rem 2.8rem;padding:.4rem .6rem;font-size:.86rem;list-style:none}.tpl-section>.tpl-inline-problems{margin-left:0}.tpl-problem-badge{color:var(--danger);font-weight:600}.tpl-goto{margin-left:.25rem}.tpl-section,.tpl-question{scroll-margin-top:5rem}.tpl-section:focus,.tpl-question:focus{outline:none}.tpl-flash{outline-offset:2px;outline:2px solid #2b6cb0}@media (width<=720px){.tpl-section,.tpl-question{scroll-margin-top:8rem}.tpl-inline-problems,.tpl-preview-score{margin-left:0}}.grade-chip{text-align:center;font-variant-numeric:tabular-nums;border-radius:999px;min-width:2.4rem;padding:.1rem .5rem;font-size:.85rem;font-weight:700;display:inline-block}.grade-green{color:#1e7a37;background:#e8f6ec}.grade-yellow{color:#8a5a00;background:#fdf3dd}.grade-red{color:var(--danger);background:#fdecec}.grade-none{color:#555;background:#ededf1}.dash-section{margin:1.25rem 0}.dash-heading{margin:1.25rem 0 .4rem}.grade-help{margin-bottom:.6rem;font-size:.88rem}.grade-help summary{cursor:pointer;color:var(--brand)}.grade-help p{margin:.35rem 0}.dash-district-grade{white-space:nowrap;font-weight:600}.grade-parts{display:none}@media (width<=720px){.grade-parts{color:var(--muted);white-space:normal;min-width:6rem;margin-top:.15rem;font-size:.72rem;display:block}}.grade-chip-btn{font-family:inherit;line-height:inherit;cursor:pointer;text-underline-offset:2px;border:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.grade-chip-btn:hover{filter:brightness(.95)}.grade-chip-btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.grade-pop-scrim{display:none}.grade-pop{z-index:50;background:var(--surface);width:min(27rem,100vw - 16px);max-height:min(75vh,36rem);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);white-space:normal;text-align:left;padding:.75rem .9rem;font-size:.88rem;position:fixed;overflow:auto;box-shadow:0 8px 28px #1018282e}.grade-pop:focus{outline:none}.grade-pop-head{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.grade-pop-close{cursor:pointer;color:var(--muted);background:0 0;border:0;min-width:2rem;min-height:2rem;font-size:1rem}.grade-pop h4{margin:.8rem 0 .25rem;font-size:.9rem}.grade-pop p{margin:.3rem 0}.grade-pop-drag{font-weight:600}.grade-pop-note,.grade-pop-foot{font-size:.82rem}.grade-pop-bars,.grade-pop-facts{margin:.3rem 0;padding:0;list-style:none}.grade-pop-bars li{grid-template-columns:7.5rem 1fr auto;align-items:center;gap:.5rem;margin:.2rem 0;display:grid}.grade-pop-track{background:#ecebe6;border-radius:4px;height:10px;overflow:hidden}.grade-pop-fill{border-radius:0 4px 4px 0;height:100%;display:block}.grade-pop-bar-value{text-align:right;font-variant-numeric:tabular-nums;min-width:4.5rem}.grade-pop-facts li{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:.15rem .6rem;padding:.3rem 0;display:flex}@media (width<=720px){.grade-pop-scrim{z-index:49;background:#10182859;display:block;position:fixed;inset:0}.grade-pop{border-radius:12px 12px 0 0;width:100%;max-height:80vh;padding:.9rem 1rem 1.25rem;inset:auto 0 0}.grade-pop-bars li{grid-template-columns:6.5rem 1fr auto}}.drivers-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.drivers-swatch{vertical-align:-1px;border-radius:3px;width:12px;height:12px;display:inline-block}.drivers-list{margin:.5rem 0 0;padding:0;list-style:none}.drivers-row{grid-template-columns:minmax(8rem,14rem) 1fr auto;align-items:center;gap:.6rem;padding:.2rem 0;display:grid}.drivers-label{overflow-wrap:anywhere}.drivers-track{gap:1px;min-width:0;height:18px;display:flex}.drivers-seg{height:100%;display:block}.drivers-seg:last-child{border-radius:0 4px 4px 0}.drivers-value{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;min-width:5.5rem}@media (width<=720px){.drivers-row{grid-template-columns:1fr auto}.drivers-track{grid-area:2/1/auto/-1}}.viz-root{--viz-surface:#fcfcfb;--viz-ink:#0b0b0b;--viz-ink-2:#52514e;--viz-muted:#898781;--viz-grid:#e1e0d9;--viz-axis:#c3c2b7;--viz-bar:#2a78d6;background:var(--viz-surface);border:1px solid var(--border);border-radius:var(--radius);margin:0 0 1rem;padding:.75rem .9rem}.viz-root figcaption{color:var(--viz-ink);font-weight:600}.viz-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.viz-legend{color:var(--viz-ink-2);flex-wrap:wrap;gap:.25rem 1rem;margin:.4rem 0 0;padding:0;font-size:.85rem;list-style:none;display:flex}.viz-legend li{align-items:center;gap:.35rem;display:inline-flex}.viz-plot{margin-top:.4rem;position:relative}.viz-plot>svg{touch-action:pan-y;width:100%;height:auto;display:block}.viz-grid{stroke:var(--viz-grid);stroke-width:1px}.viz-axis{stroke:var(--viz-axis);stroke-width:1px}.viz-tick{fill:var(--viz-muted);font-size:11px}.viz-crosshair{stroke:var(--viz-axis);stroke-width:1px}.viz-dot{stroke:var(--viz-surface);stroke-width:2px}.viz-tooltip{border:1px solid var(--border);pointer-events:none;white-space:nowrap;z-index:1;background:#fff;border-radius:6px;padding:.35rem .55rem;font-size:.8rem;position:absolute;top:0;transform:translate(-50%);box-shadow:0 2px 8px #0000001f}.viz-tooltip-head{color:var(--viz-ink-2);margin-bottom:.15rem}.viz-tooltip-row{align-items:center;gap:.35rem;display:flex}.viz-table{max-height:320px;margin-top:.5rem}.viz-bars ul{gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.viz-bar-row{border-radius:4px;grid-template-columns:minmax(8rem,14rem) 1fr auto;align-items:center;gap:.6rem;padding:.1rem .2rem;font-size:.88rem;display:grid}.viz-bar-row:focus{outline:2px solid #2b6cb0}.viz-bar-hover{background:#f1f4f8}.viz-bar-label{overflow-wrap:anywhere;color:var(--viz-ink)}.viz-bar-track{height:14px}.viz-bar{background:var(--viz-bar);border-radius:0 4px 4px 0;min-width:2px;height:14px;display:block}.viz-bar-value{white-space:nowrap;font-variant-numeric:tabular-nums}@media (width<=720px){.viz-bar-row{grid-template-columns:1fr auto}.viz-bar-track{grid-area:2/1/auto/-1}}.stat-tiles{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin:.75rem 0 1rem;display:grid}.stat-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.6rem .8rem}.stat-label{color:var(--muted);font-size:.82rem}.stat-value{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:700}.analytics td.analytics-wrap{white-space:normal;min-width:12rem}.heatmap{max-height:420px}.reports-table td:not(.row-actions){white-space:normal;overflow-wrap:break-word;min-width:7rem}.reports-table .row-actions .actions-inner{flex-wrap:wrap}.report-fieldset{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin:0 0 .9rem;padding:.5rem .9rem .75rem}.report-fieldset legend{padding:0 .3rem;font-weight:600}.checkbox-line{align-items:center;gap:.5rem;margin:.35rem 0;display:flex}.report-recipients{margin:.25rem 0 .5rem;padding:0;list-style:none}.report-recipients li{border-bottom:1px solid var(--border);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:.5rem;padding:.3rem 0;display:flex}.report-add-person{align-items:flex-end;gap:.5rem;margin:.25rem 0;display:flex}.report-add-person>:first-child{flex:1;min-width:0}.report-district-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:0 1rem;display:grid}.report-weekdays{flex-wrap:wrap;gap:0 1rem;display:flex}@media (width<=720px){.form-grid label.span-2{grid-column:auto}}.form-grid fieldset.report-fieldset.span-2{grid-column:1/-1}.form-grid fieldset.report-fieldset .muted{margin:0 0 .4rem;font-size:.85rem}.form-grid label.checkbox-row,.checkbox-row{color:var(--text);flex-flow:wrap;align-items:center;gap:.4rem;margin:.35rem 0;display:flex}.checkbox-row input[type=checkbox]{width:auto}.input-narrow{width:4.5rem}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.inline-form>:first-child{flex:18rem;min-width:0}.inline-form label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.inline-form input{font:inherit;border:1px solid var(--border);color:var(--text);box-sizing:border-box;border-radius:6px;width:100%;padding:.45rem .6rem}.pause-switch+.pause-switch{margin-top:.75rem}
