#report-editor fieldset{border:0;padding:0;margin:0;min-width:0}#report-editor textarea{width:100%;min-height:160px;padding:12px;font:inherit;line-height:1.8;border:1px solid #bbc9bd;border-radius:8px;resize:vertical;background:#fffefa}#report-sections>section{border-bottom:1px solid #e0e5da;padding-bottom:16px;margin-bottom:24px}#report-selected li{font-size:14px}#report-selected button{margin:5px}.report-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}#report-review-text{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 system-ui}#report-pending{color:#945b27}#report-error{color:#9c4234;white-space:pre-wrap}#archive-panel.editing #detail{width:100%;margin-top:20px}#report-fields:disabled textarea{color:#233e35;opacity:1}#archive-list .observation-items{padding-left:12px}#archive-list .source-choice{display:flex;gap:8px;align-items:center;font-size:14px}#archive-list input[type=checkbox]{width:auto}.observation-group h3{margin:0;font-size:18px}.observation-group p{margin:4px 0 12px;color:#68796b}#report-selected button{padding:6px 10px}.report-filter{display:flex;gap:16px;align-items:end}@media(max-width:850px){#archive-panel.editing,#archive-panel.editing:has(#detail:not([open])){grid-template-columns:1fr}}
.flow-check-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:5px;align-items:start}.flow-check-row input[type=checkbox]{width:18px;height:18px;margin:18px 0 0 3px;accent-color:#278a67;cursor:pointer}.flow-steps li{padding:0!important}.flow-steps li>button{display:block;width:100%;height:100%;text-align:left;background:transparent;color:inherit;padding:14px 20px!important;border-radius:0;font:inherit!important}.flow-steps button:disabled{cursor:not-allowed!important}.flow-steps button:not(:disabled):hover{background:#dfeee4}#flow-draft-history{margin:12px 0}#flow-draft-history select{max-width:520px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#report-editor #add-section,#add-current-source{display:none}#save-report{background:#e9eee6;color:#355a49}
#report-sections .report-section-title,#report-sections .report-section-content{font-size:0;margin:8px 0}#report-sections .report-section-content textarea{font-size:15px}#archive-panel.editing.source-repair .source-choice{display:flex}#report-editor.source-repair .section-meta{display:block}#report-editor.source-repair .section-meta>*{display:none}#report-editor.source-repair .section-meta>.repair-refs{display:block}body:has(#archive-panel.source-repair) #add-current-source{display:inline-block}#source-repair-note{background:#fbf0dc;padding:12px;font-size:14px}
body:has(#report-flow:not([hidden])),body:has(#report-editor:not([hidden])){background:#f4f5f1}
body:has(#report-flow:not([hidden])) main,body:has(#report-editor:not([hidden])) main{max-width:1480px;margin-top:20px}
body:has(#report-flow:not([hidden])) #workspace>.heading,body:has(#report-editor:not([hidden])) #workspace>.heading{display:none}
body:has(#report-flow:not([hidden])) #workspace>nav,body:has(#report-editor:not([hidden])) #workspace>nav{display:none}
body:has(#report-flow:not([hidden]))>header,body:has(#report-editor:not([hidden]))>header{padding:10px 28px;font-size:14px}
#report-flow{margin:0 auto 24px;color:#233e35}#report-flow h2{font-size:25px;margin:0}#report-flow h3{font-size:18px;margin:0}#report-flow h4{font-size:15px;margin:0}.flow-top,.flow-toolbar,.flow-footer,.flow-inspector-heading,.flow-list-heading,.flow-candidate-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.flow-eyebrow{color:#69796f;font-size:13px;margin:0 0 5px}.flow-top{margin-bottom:18px}.flow-steps{display:flex;list-style:none;padding:0;margin:0;background:#fffefa;border:1px solid #dce4db;border-radius:12px;overflow:hidden}.flow-steps li{flex:1;padding:14px 20px;border:0;margin:0;color:#68786e;font-size:15px;white-space:normal}.flow-steps li[aria-current=step]{background:#e5f1ea;color:#1c674d;font-weight:650}.flow-steps span{display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:50%;background:#edf0e9;margin-right:10px}.flow-steps li[aria-current=step] span{background:#278a67;color:#fff}
#flow-action-message{color:#975324;font-size:14px;margin:6px 0}#flow-action-message:empty{display:none}#flow-message{font-size:14px;min-height:24px;margin:10px 0;color:#79552d}#flow-message:empty{display:none}.flow-toolbar{margin:16px 0}.flow-dates{display:flex;align-items:end;gap:10px}.flow-dates>span{padding-bottom:10px}.flow-dates label{margin:0;font-size:13px;color:#5f7266}.flow-dates input{padding:8px 10px;font-size:14px;margin-top:4px;max-width:175px}#report-flow button{font-size:14px;padding:10px 16px}#report-flow button:disabled{cursor:not-allowed;opacity:.48}.flow-review{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:440px;border:1px solid #dce4db;background:#fffefa;border-radius:14px;overflow:hidden}.flow-sidebar{background:#fafbf7;border-right:1px solid #dce4db;min-width:0}.flow-list-heading{padding:18px 16px 12px}.flow-list-heading h3{font-size:16px!important}#flow-list-total{font-size:13px;color:#68786e}.flow-status-tabs{display:flex;padding:0 10px 12px;gap:2px;border-bottom:1px solid #e3e8e0}#flow-status-tabs button{background:transparent;color:#617568;padding:7px 8px;font-size:12px;white-space:nowrap;border-radius:6px}#flow-status-tabs button[aria-pressed=true]{background:#e5eee6;color:#235c46;font-weight:650}#flow-materials{max-height:510px;overflow:auto;padding:8px}.flow-material-row{display:block;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#263f34;margin:0 0 5px;border-radius:9px!important}#flow-materials .flow-material-row{padding:13px 12px}#flow-materials .flow-material-row[aria-pressed=true]{background:#edf5ef;border-color:#86b89d}.flow-material-row strong,.flow-material-row small{display:block}.flow-material-row strong{font-size:14px}.flow-material-row small{color:#68796d;font-size:12px;margin:4px 0}.flow-material-row .flow-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.65}.flow-badge{display:inline-block;border-radius:5px;padding:3px 7px;font-size:12px;white-space:nowrap;background:#eef0eb;color:#56685b}.flow-badge[data-status=pending]{background:#fbf0dc;color:#855c23}.flow-badge[data-status=adopt]{background:#e6f1e9;color:#256247}#flow-inspector{padding:22px;border:0;border-radius:0;min-width:0}.flow-inspector-heading p{font-size:13px;color:#6b7a6e;margin:5px 0}.flow-rule{font-size:13px;color:#657568;margin:12px 0}.flow-reason{background:#f8f3e8;border-left:3px solid #cbaa66;padding:10px 14px;font-size:13px;margin:10px 0 18px}.flow-reason:empty{display:none}.flow-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.flow-copy-grid>section{min-width:0}.flow-copy-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px}.flow-copy-heading span{font-size:11px;color:#748074}.flow-prose{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9}#flow-original-text{background:#f5f6f0;padding:15px;border-radius:8px;min-height:205px;max-height:330px;overflow:auto}#flow-edit-text{display:block;width:100%;min-height:205px;max-height:420px;border:1px solid #aabeb0;border-radius:8px;padding:14px;font:14px/1.9 system-ui,sans-serif;resize:vertical;background:#fffefa}#flow-read-original{margin-top:12px}#flow-suggestion{margin-top:12px;font-size:13px}#flow-suggestion-text{margin:10px 0}#flow-attachment-host #detail{position:static;width:100%;margin:12px 0;padding:12px;max-height:360px;overflow:auto}#flow-attachment-host #detail h2{font-size:17px}.flow-decision{display:flex;justify-content:flex-end;gap:10px;align-items:center;border-top:1px solid #e5e8df;margin-top:20px;padding-top:16px}.flow-decision span{font-size:12px;color:#738074;margin-right:auto}.flow-footer{position:sticky;bottom:0;z-index:2;margin-top:16px;padding:16px 22px;background:#fffefa;border:1px solid #dce4db;border-radius:12px;box-shadow:0 -4px 15px #233e3505}.flow-footer strong{font-size:14px}.flow-footer p{margin:3px 0 0;color:#68796d;font-size:12px}.flow-empty{text-align:center;padding:70px 20px;color:#68796d}.flow-empty h3{color:#355a49;margin-bottom:10px!important}.flow-empty p{font-size:14px}.flow-candidate-heading{margin:24px 0 18px}.flow-candidate-heading p{font-size:14px;color:#68796d;margin:6px 0}#candidate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#candidate-list>button{text-align:left;display:flex;flex-direction:column;gap:10px;border:1px solid #dce4db;background:#fffefa;color:#233e35;padding:20px;border-radius:12px;min-width:0}#candidate-list>button[aria-pressed=true]{border:2px solid #278a67;background:#f0f7f1;padding:19px}#candidate-list strong{font-size:17px}#candidate-list p{font-size:14px;line-height:1.7;margin:0;color:#617365;overflow-wrap:anywhere}#candidate-list small{color:#287759}#candidate-reader,.report-document{margin:20px auto 0;max-width:920px;padding:32px 44px;background:#fffefa;border:1px solid #dce4db;border-radius:14px}#candidate-reader h3{font-size:23px}#candidate-reader-body h4{font-size:17px;margin:24px 0 8px}#candidate-reader-body p{font-size:15px;white-space:pre-wrap;line-height:1.95;overflow-wrap:anywhere}
#report-editor .section-meta{display:none}#report-editor #report-title{font-size:22px;font-weight:650;border:0;border-bottom:1px solid #dce4db;border-radius:0;padding-left:0}#report-editor #report-sections input{border:0;padding:8px 0;font-size:17px;font-weight:650}#report-editor #report-sections textarea{border-color:#e2e7de;background:#fffefa;font-size:15px;line-height:1.95}#archive-panel.editing #new-report,#archive-panel.editing #all-archives{display:none}
@media(max-width:1050px){.flow-copy-grid{grid-template-columns:1fr}.flow-review{grid-template-columns:265px minmax(0,1fr)}#flow-original-text{min-height:90px;max-height:180px}#flow-edit-text{min-height:170px}}
.flow-evidence{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #e1e7e2;margin-top:20px;padding-top:12px}.flow-evidence img{max-width:100%;max-height:240px}.flow-evidence audio{width:100%}.flow-evidence p{font-size:13px}#flow-related-reports details{margin-top:16px;padding:12px;border:1px solid #e1e7e2;border-radius:8px}#flow-original-text{overflow-x:hidden;overflow-wrap:anywhere}#flow-attachment-host:empty{display:none}
@media(max-width:760px){.flow-top{align-items:flex-start}.flow-steps li{padding:12px 8px;font-size:12px}.flow-steps span{margin-right:4px;width:20px;height:20px}.flow-review{grid-template-columns:1fr}.flow-sidebar{border-right:0;border-bottom:1px solid #dce4db}#flow-materials{max-height:220px}.flow-toolbar,.flow-footer,.flow-candidate-heading{align-items:stretch;flex-direction:column}.flow-dates{flex-wrap:wrap}.flow-dates input{max-width:145px}.flow-copy-grid{grid-template-columns:1fr}.flow-decision{flex-wrap:wrap}.flow-decision span{width:100%}#candidate-list{grid-template-columns:1fr}#candidate-reader,.report-document{padding:22px}#archive-panel.editing,#archive-panel.editing:has(#detail:not([open])){grid-template-columns:1fr}.flow-footer{position:static}#report-flow h2{font-size:21px}}

/* All report stages share the same header, bounds and action bar. */
#flow-header{position:sticky;top:0;z-index:5;background:#f4f5f1;padding:16px 0 12px}#flow-header .flow-top{margin-bottom:18px}#flow-header .flow-top h2{margin:0}
#report-editor{padding:0;border:0;border-radius:0;background:transparent;max-height:none;overflow:visible;min-width:0}#report-editor>.flow-footer{bottom:0;padding:16px 22px;background:#fffefa;border:1px solid #dce4db;border-radius:12px}
.flow-stage-heading,.report-tools,.flow-action-buttons{display:flex;align-items:center;justify-content:space-between;gap:16px}.flow-stage-heading{margin:24px 0 18px}.flow-stage-heading p{margin:6px 0;color:#68796d;font-size:14px}.flow-action-buttons{justify-content:flex-end;flex-wrap:wrap}.report-tools{align-items:flex-start}.report-tools details{position:relative}.report-tools details[open]{background:#fffefa;border:1px solid #dce4db;border-radius:10px;padding:0 14px;max-width:480px}.report-tools summary{font-size:14px;white-space:nowrap}
#report-editor .report-document fieldset{margin:0}#report-editor .report-document fieldset>label:first-child{margin-top:0}#report-editor #report-title{margin:0}#report-editor #detail{width:100%;position:relative;max-height:65vh;margin:16px 0;background:#fffefa}#report-editor #detail:not([open]){display:none}
#report-reference-library{margin:16px 0;background:#fffefa;border:1px solid #dce4db;padding:0 20px;border-radius:12px}#report-reference-library #archive-panel{display:block;margin:0}#report-reference-library #archive-panel>article{max-height:400px;overflow:auto;border:0;padding:12px 0}#report-reference-library #archive-panel .source-choice{display:flex}
#flow-draft-history{font-size:14px;margin:8px 0}#flow-draft-history summary{padding:4px 0}
.flow-evidence{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #e1e7e2;margin-top:20px;padding-top:12px}.flow-evidence img{max-width:100%;max-height:240px}.flow-evidence audio{width:100%}.flow-evidence p{font-size:13px}#flow-related-reports details{margin-top:16px;padding:12px;border:1px solid #e1e7e2;border-radius:8px}#flow-original-text{overflow-x:hidden;overflow-wrap:anywhere}#flow-attachment-host:empty{display:none}
@media(max-width:760px){#flow-header{position:static;padding-top:0}.flow-stage-heading{align-items:flex-start;flex-direction:column}.report-tools{flex-wrap:wrap}.flow-action-buttons{justify-content:flex-end}.flow-steps li>button{padding:12px 8px!important}}
.report-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.report-photo-card{border:1px solid #dce4db;border-radius:8px;padding:12px}.report-photo-card img{display:block;max-width:100%;max-height:180px;margin:8px auto}.report-photo-card select{display:block;width:100%;max-width:100%}.report-photo-card p{font-size:13px;overflow-wrap:anywhere}.report-photo-note{font-size:13px;color:#79552d}.tabs button[aria-current="page"]{background:#278a67;color:white}.tabs .utility{margin-left:auto;background:transparent}.tabs{border-bottom:1px solid #dde4dc;padding-bottom:18px}#children-panel,#reports-panel{margin-top:24px}.child-filters{display:flex;gap:20px;max-width:620px}.child-filters label{flex:1}#child-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}#child-profiles li{background:#f4f6ee;border:1px solid #dde5d6;border-radius:14px;padding:22px}#child-profiles li button{margin-top:16px;width:100%}summary{cursor:pointer;color:#42634f;padding:12px 0}#source-management{margin-top:28px;border-top:1px solid #e1e5df}#teacher-panel{display:flex;flex-direction:column}#teacher-invite{align-self:flex-end;max-width:540px}#archive-panel{display:grid;grid-template-columns:minmax(330px,1fr) minmax(360px,1.2fr);gap:20px;align-items:start}#archive-panel>article{min-width:0}#archive-panel #detail{position:static;width:100%;max-height:78vh;margin:0;overflow:auto}#archive-panel #detail:not([open]){display:none}#archive-panel:has(#detail:not([open])){grid-template-columns:1fr}.filters{margin-bottom:20px}@media(max-width:850px){#child-profiles{grid-template-columns:1fr 1fr}#archive-panel{grid-template-columns:1fr}}@media(max-width:550px){#child-profiles{grid-template-columns:1fr}.tabs{flex-wrap:wrap}.child-filters{display:block}}select{width:100%;padding:12px;border:1px solid #bbc9bd;border-radius:9px;font:inherit;background:#fffefa}.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.filters label{margin:0}.filters button{margin-bottom:2px}#archive-panel{margin-top:24px}#archive-list button{display:block;width:100%;text-align:left;background:#f1f4ed;color:#233e35;white-space:pre-line}dialog{width:min(850px,94vw);max-height:90vh;overflow:auto;border:1px solid #bbc9bd;border-radius:18px;padding:28px;color:#233e35;background:#fffefa}dialog::backdrop{background:#183b3555}#detail-body p{white-space:pre-wrap}#detail-media img{max-width:100%;max-height:60vh;object-fit:contain;display:block}#detail-media audio{width:100%}#detail-media>div{margin:15px 0}#detail-body section{border-top:1px solid #e1e5df;padding:12px 0}#teachers button{margin:8px 8px 0 0}@media(max-width:760px){.filters{grid-template-columns:1fr 1fr}}*{box-sizing:border-box}body{margin:0;background:#f6f4ee;color:#233e35;font:16px/1.7 system-ui,sans-serif}header{padding:22px 5%;background:#fffefa;border-bottom:1px solid #e1e5df;display:flex;gap:24px}header span,.muted{color:#718077}main{max-width:1160px;margin:52px auto;padding:0 28px}h1{font-size:34px;margin:6px 0 10px}h2{font-size:21px;margin:0 0 16px}.eyebrow{color:#278a67;font-size:14px}#auth{max-width:470px;margin:0 auto}label{display:block;margin:16px 0}input{display:block;width:100%;padding:13px;border:1px solid #bbc9bd;border-radius:10px;font:inherit;background:#fffefa}button{border:0;border-radius:9px;background:#278a67;color:white;padding:11px 20px;font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}.secondary{background:#e9eee6;color:#355a49}.tabs,.heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.tabs{justify-content:flex-start;margin-top:28px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:30px}article{padding:28px;background:#fffefa;border:1px solid #e1e5df;border-radius:18px}.note{padding:16px;background:#f2f2e9;border-radius:10px;color:#657368;font-size:14px}#qr{display:block;margin:22px auto 10px}ul{list-style:none;padding:0}li{border-bottom:1px solid #e4e7df;padding:16px 0;white-space:pre-line}#message{color:#a14938;min-height:28px}[hidden]{display:none!important}:focus-visible{outline:3px solid #a5cbb4;outline-offset:3px}@media(max-width:760px){.layout{grid-template-columns:1fr}main{margin-top:28px}h1{font-size:27px}}
body:has(#archive-panel.timeline-mode:not([hidden])) main{max-width:1280px;margin:20px auto}body:has(#archive-panel.timeline-mode:not([hidden])) #workspace>.heading{display:none}body:has(#archive-panel.timeline-mode:not([hidden]))>header{padding:12px 28px}
#archive-panel.timeline-mode{display:block}#archive-panel.timeline-mode>article{background:transparent;border:0;padding:12px 0}#archive-panel.timeline-mode .archive-top{display:flex;align-items:center;justify-content:space-between;gap:20px}#archive-panel.timeline-mode .archive-top-actions{display:flex;gap:10px}#archive-panel.timeline-mode #archive-heading{font-size:26px;margin:0}#archive-panel.timeline-mode>article>p{font-size:14px;color:#718077;margin:12px 0}#archive-panel.timeline-mode #advanced-filters{margin:6px 0}#archive-panel.timeline-mode #advanced-filters summary{padding:8px 0}#archive-panel.timeline-mode .filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#archive-panel.timeline-mode #timeline-layout{display:grid;grid-template-columns:minmax(340px,1fr) minmax(340px,1fr);gap:28px;align-items:start;margin-top:24px}#archive-panel.timeline-mode #archive-list{position:relative;margin:0;padding:0 0 24px}#archive-panel.timeline-mode #archive-list:before{content:"";position:absolute;left:35px;top:12px;bottom:0;width:2px;background:linear-gradient(#278a67,#bed4c7 85%,transparent);transform-origin:top;animation:timeline-grow .55s ease-out both}
#archive-list .timeline-entry{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;border:0;padding:0;margin:0 0 14px;animation:timeline-card-in .35s ease-out both;animation-delay:var(--timeline-delay,0ms)}.timeline-date{text-align:center;z-index:1;font-size:11px;color:#61776b;background:#f6f4ee;align-self:start;padding:7px 0}.timeline-date strong{display:block;font-size:15px;color:#285e49}.timeline-date:after{content:"";display:block;width:8px;height:8px;background:#278a67;border:4px solid #e3eee6;border-radius:50%;margin:8px auto 0;box-sizing:content-box}.timeline-card{position:relative;min-width:0;background:#fffefa;border:1px solid #dce5db;border-radius:12px;transition:border-color .15s,box-shadow .15s}.timeline-card:before{content:"";position:absolute;width:12px;height:1px;background:#bed4c7;left:-13px;top:24px}.timeline-card.is-previewed{border-color:#278a67;box-shadow:0 0 0 1px #278a67}.timeline-card:hover{border-color:#73a88a}
#archive-list .timeline-open{background:transparent;color:#233e35;border-radius:12px;padding:16px;text-align:left;width:100%;display:block}.timeline-eyebrow{color:#278a67;font-size:12px;margin:0 0 6px}.timeline-card h3{font-size:16px;line-height:1.5;margin:5px 0 8px}.timeline-excerpt{color:#64766b;font-size:13px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.timeline-meta{font-size:12px;color:#7a887e;margin:8px 0 0}.timeline-hint{display:block;font-size:11px;color:#278a67;margin-top:8px}.timeline-links{display:flex;gap:6px;flex-wrap:wrap;padding:0 16px 12px}#archive-list .timeline-links button{width:auto;padding:4px 8px;font-size:11px;background:#edf3ed;color:#42654e}
#timeline-preview{position:sticky;top:20px;background:#fffefa;border:1px solid #dce5db;border-radius:14px;padding:24px;min-width:0}#timeline-preview h3{font-size:20px;line-height:1.5;margin:6px 0 10px}#timeline-preview-meta{font-size:13px;color:#718077}#timeline-preview-body{white-space:pre-wrap;font-size:15px;line-height:1.95;max-height:50vh;overflow:auto;padding-right:8px;margin:18px 0}#timeline-preview-open{width:100%}
#material-editor{position:sticky;top:82px;width:100%;min-width:0;padding:22px;background:#fff;border:1px solid #dce5db;border-radius:12px;max-height:calc(100vh - 104px);overflow:auto;grid-column:2;grid-row:1}.material-editor-header,.material-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.material-editor-header h2{margin:0;font-size:22px}.material-editor-header p{margin:4px 0;color:#708176;font-size:13px}#material-pane-edit label{margin:0}#material-pane-edit>.muted{font-size:13px;margin:6px 0 14px}#material-original{white-space:pre-wrap;font-size:15px;line-height:1.95;min-height:160px;max-height:260px;overflow:auto}#material-copy-text{width:100%;min-height:210px;max-height:45vh;padding:18px;border:1px solid #a5bdae;border-radius:12px;font:15px/1.9 system-ui;resize:vertical;background:#fffefa}.material-media{min-height:0;font-size:13px;color:#66786b}.material-media img{display:block;max-width:100%;max-height:45vh;object-fit:contain}.material-media audio{width:100%}.material-media>div{margin:16px 0}.material-editor-footer{position:sticky;bottom:-22px;background:#fff;border-top:1px solid #e2e8df;margin-top:22px;padding:16px 0}.material-editor-footer p{font-size:13px;color:#5b7363;max-width:70%}
.material-comparison{display:grid;gap:18px;margin-top:20px}.material-comparison h3,.material-attachments h3{font-size:14px;margin:0 0 10px}#material-original{padding:14px;background:#f5f7f5;border-radius:8px;min-height:0}#material-copy-text{border-radius:8px;padding:14px}.material-attachments{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #e1e7e2;margin-top:20px;padding-top:18px}
@keyframes timeline-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes timeline-card-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#archive-panel.timeline-mode #archive-list:before,#archive-list .timeline-entry{animation:none}.timeline-card{transition:none}}
@media(max-width:760px){#archive-panel.timeline-mode .archive-top{align-items:flex-start;flex-direction:column}#archive-panel.timeline-mode .archive-top-actions{flex-wrap:wrap}#archive-panel.timeline-mode #timeline-layout{grid-template-columns:1fr}#timeline-preview{display:none}#archive-panel.timeline-mode .filters{grid-template-columns:1fr 1fr}#material-editor{padding:20px}.material-editor-footer{bottom:-20px}#archive-panel.timeline-mode #archive-heading{font-size:22px}}

html{scroll-padding-top:88px}
body:has(#workspace:not([hidden])){background:#f5f7f8}
body{background:#f5f7f8;color:#26332f;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;min-width:1080px}
body>header{height:64px;padding:0 24px;align-items:center;gap:12px;background:#fff;border-color:#e6eae8;font-size:14px}body>header strong{font-size:17px}
h1,h2,h3{letter-spacing:-.02em}h2{font-size:22px;margin-bottom:8px}h3{font-size:16px}p.muted{font-size:13px;color:#65726a;margin:6px 0 20px}
button{font-size:13px;padding:8px 14px;border-radius:6px;line-height:1.5;transition:background .15s}button:hover:not(:disabled){filter:brightness(.96)}button:disabled{cursor:not-allowed}.secondary{background:#fff;border:1px solid #dfe5e1;color:#516059}.muted{color:#65726a}
input,select{padding:8px 11px;border-radius:6px;border-color:#dce3df;background:#fff;font-size:13px;min-height:36px}label{font-size:12px;color:#6c7871;margin:10px 0}label input,label select{margin-top:5px;color:#26332f}summary{font-size:13px}article{border-radius:10px;background:#fff;padding:24px;border-color:#e5eae7}li{white-space:normal}#auth{margin-top:80px}#auth h1{font-size:29px}
body:has(#workspace:not([hidden]))>header{position:fixed;top:0;left:0;width:208px;height:64px;z-index:10;border-right:1px solid #e6eae8;padding:0 22px}body:has(#workspace:not([hidden]))>header span{display:none}
body:has(#workspace:not([hidden])) main{max-width:none!important;margin:88px 28px 32px 236px!important;padding:0!important;min-width:816px}
body:has(#workspace:not([hidden])) #workspace>.heading{display:flex!important;position:fixed;left:208px;right:0;top:0;height:64px;z-index:9;padding:0 28px;background:#fff;border-bottom:1px solid #e6eae8;margin:0}
#workspace>.heading>div{display:flex;align-items:center;gap:20px;min-width:0}#workspace>.heading .eyebrow{display:none}#workspace>.heading h1{font-size:14px;font-weight:600;margin:0;letter-spacing:0}#workspace>.heading #admin-name{font-size:12px;margin:0;padding-left:20px;border-left:1px solid #e6eae8}#logout{border:0;background:transparent;color:#75817a;font-size:12px;padding:6px 0}
body:has(#workspace:not([hidden])) #workspace>nav{display:flex!important;position:fixed;left:0;top:64px;bottom:0;width:208px;z-index:8;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;padding:28px 14px;margin:0;background:#fff;border:0;border-right:1px solid #e6eae8}
#workspace>nav:before{content:"园所工作台";font-size:11px;letter-spacing:1px;color:#78867d;padding:0 14px 12px}#workspace>nav button{display:flex;align-items:center;gap:12px;text-align:left;height:42px;border:0;background:transparent;color:#69756e;font-weight:500;padding:0 14px;margin:0;border-radius:7px}#workspace>nav svg{width:18px;height:18px;flex:0 0 18px}#workspace>nav button[aria-current=page]{background:#e9f3ed;color:#227455;font-weight:650}#workspace>nav button:hover{background:#f1f6f3}#workspace>nav #nav-archives{margin-top:20px}
#children-panel,#reports-panel,#archive-panel,#teacher-panel.layout{margin-top:0}#children-panel>article,#reports-panel>article{background:transparent;border:0;padding:0}#children-panel .heading,#reports-panel .heading{margin-bottom:0}#refresh-children{font-size:12px}.child-filters,.report-filter,.teacher-filters{display:flex;align-items:center;gap:20px;max-width:none;padding:0;margin:18px 0 12px;background:transparent;border:0;border-radius:0}.child-filters label,.report-filter label,.teacher-filters label{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:0;white-space:nowrap;color:#526258}.child-filters input,.child-filters select,.report-filter select,.teacher-filters input,.teacher-filters select{width:190px;margin:0}.teacher-filters .results-count{margin-left:auto}.results-count{font-size:12px;color:#65756b;margin:0 0 12px}.teacher-filters .results-count{margin-bottom:0}#child-profiles{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px;margin:0}#child-profiles li{background:#fff;border:1px solid #e3e9e5;padding:14px 16px;border-radius:9px;transition:border-color .15s,box-shadow .15s}#child-profiles li:hover{border-color:#a4c8b5;box-shadow:0 3px 12px #233e3508}.child-identity{display:flex;align-items:center;gap:12px}.child-avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#edf4ee;color:#548067;font-size:18px}.child-identity h3{font-size:15px;margin:0 0 3px;font-weight:650}.child-identity p{font-size:12px;color:#65726a;margin:0}.child-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0 9px;gap:8px}.child-stats strong,.child-stats span{display:block}.child-stats strong{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;color:#35483c}.child-stats span{font-size:11px;color:#65726a;margin-top:2px}.child-recent{font-size:11px;color:#65726a;margin:0}#child-profiles li button{width:100%;margin-top:10px;padding:5px;background:#eaf2ed;border:0;font-size:12px;color:#2e6749}#source-management{font-size:13px;margin-top:24px}
.table-wrap{border:1px solid #e3e8e5;border-radius:8px;overflow:auto;background:#fff}.data-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.data-table th{padding:12px 16px;font-size:12px;font-weight:500;color:#58685f;background:#f9faf9;border-bottom:1px solid #e4e9e6}.data-table td{padding:11px 16px;border-bottom:1px solid #edf0ee;vertical-align:middle;font-size:13px;overflow-wrap:anywhere}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafcfb}.data-table small{display:block;font-size:11px;color:#6b776f;margin-top:4px}.report-table th:nth-child(1){width:42%}.report-table th:nth-child(2){width:18%}.report-table th:nth-child(3){width:11%}.report-table th:nth-child(4){width:16%}.report-table th:nth-child(5){width:13%}.report-title-cell,.person-cell{font-weight:550}.date-cell{color:#67746b;font-size:12px!important;font-variant-numeric:tabular-nums}.number-cell{font-variant-numeric:tabular-nums;font-weight:600}.row-actions button,#teachers .row-actions button{padding:4px 0;margin:0 12px 0 0;color:#287557;background:none;border:0;font-size:12px;white-space:nowrap}.row-actions{white-space:nowrap}.status-pill{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;white-space:nowrap;font-weight:400}.is-green{color:#31835a;background:#edf7f0}.is-amber{color:#a28239;background:#fcf6e8}.is-muted{color:#657269;background:#f1f3f1}.table-empty{text-align:center;padding:48px!important;color:#87928b}#reports-total{font-size:12px;color:#7e8b82;margin:16px 0 8px}#reports-panel .heading{justify-content:flex-end;gap:8px}#reports-children{background:transparent;color:#61786a;border:0;font-size:12px;padding-left:0}
#teacher-panel{position:relative;gap:16px}#teacher-panel>article{border:0;background:transparent;padding:0}#teacher-panel>article>.heading{margin-bottom:22px;padding-right:114px;height:38px}#teacher-panel h2{font-size:22px;margin:0}#teacher-count{font-size:13px;background:#e9eee9;color:#688272;padding:3px 8px;border-radius:5px;margin-left:6px;vertical-align:middle}#teacher-invite{position:absolute;right:0;top:0;z-index:3;max-width:520px}#teacher-invite>summary{list-style:none;padding:8px 12px;border:1px solid #dfe5e1;border-radius:6px;background:#fff;color:#386a50}#teacher-invite[open]{width:520px;background:#fff;box-shadow:0 8px 30px #223d3520;border-radius:8px}#teacher-invite[open]>article{border:0}#teacher-invite[open]>summary{text-align:right}.teacher-table th:first-child{width:24%}.teacher-table th:nth-child(2),.teacher-table th:nth-child(3){width:12%}.teacher-table th:nth-child(4){width:14%}.teacher-table th:nth-child(5){width:16%}.teacher-table th:last-child{width:22%}
#archive-panel.timeline-mode>article{padding:0;background:transparent;border:0}#archive-panel.timeline-mode #archive-heading{font-size:22px}#archive-panel.timeline-mode #timeline-layout{grid-template-columns:minmax(340px,1fr) minmax(340px,1.15fr);gap:24px;margin-top:16px}#timeline-preview{top:82px}#archive-panel.timeline-mode .timeline-card{background:#fff}#archive-total{font-size:12px}#report-flow{margin:0 0 24px}#report-flow h2{font-size:23px}.flow-steps{border-radius:8px}.flow-steps li>button{padding:11px 16px!important}.flow-review{border-radius:8px;grid-template-columns:260px minmax(0,1fr)}#candidate-reader,.report-document{max-width:900px;background:#fff;border-radius:8px}.flow-footer{border-radius:8px}.report-document textarea{line-height:1.9}#message:empty{display:none}
/* Screening is a viewport workspace: chrome and actions reserve their own rows. */
body:has(#report-flow:not([hidden]))>header,
body:has(#report-flow:not([hidden])) #workspace>.heading{height:52px}
body:has(#report-flow:not([hidden])) #workspace>nav{top:52px}
body:has(#report-flow:not([hidden])) main{margin:64px 16px 12px 224px!important}
#report-flow #flow-header{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:16px;padding:0 0 10px;top:52px;background:#f5f7f8}
#flow-header .flow-top{display:contents}
#flow-header .flow-top>div{grid-column:1;grid-row:1;min-width:0}
#flow-header .flow-eyebrow{display:none}
#report-flow #flow-heading{font-size:19px;line-height:1.4;overflow-wrap:anywhere}
#flow-header .flow-steps{grid-column:2;grid-row:1;border:0;background:transparent;gap:4px}
#flow-header .flow-steps li{flex:0 0 auto;font-size:13px;border-radius:6px}
#flow-header .flow-steps li>button{padding:7px 10px!important}
#flow-header .flow-steps span{width:21px;height:21px;margin-right:6px}
#flow-header #flow-close{grid-column:3;grid-row:1;padding:7px 12px;white-space:nowrap}
#report-flow:has(#flow-screen:not([hidden])){display:flex;flex-direction:column;height:calc(100dvh - 76px);min-height:360px;margin:0;gap:0}
#report-flow:has(#flow-screen:not([hidden]))>#flow-message{display:none}
#report-flow:has(#flow-screen:not([hidden])) #flow-header{position:static;flex:none}
#report-flow #flow-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;flex:1;min-height:0}
#report-flow .flow-toolbar{margin:0;gap:12px;min-width:0}
#report-flow .flow-dates{align-items:center;gap:8px}
#report-flow .flow-dates label{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0}
#report-flow .flow-dates input{width:150px;max-width:none;margin:0;padding:6px 8px;min-height:34px}
#report-flow .flow-dates>span{padding:0}
#report-flow .flow-toolbar button{padding:6px 12px;white-space:nowrap}
#report-flow .flow-review{min-height:0;grid-template-columns:260px minmax(0,1fr)}
#report-flow .flow-sidebar{display:flex;flex-direction:column;min-height:0}
#report-flow .flow-list-heading{padding:10px 12px 6px;gap:8px}
#report-flow .flow-list-heading h3{font-size:14px!important}
#report-flow #flow-status-tabs{padding:0 6px 6px;flex:none}
#report-flow #flow-status-tabs button{padding:5px 7px}
#report-flow #flow-materials{min-height:0;max-height:none;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px}
#report-flow #flow-materials .flow-material-row{padding:9px 10px;margin-bottom:3px}
#report-flow .flow-material-row .flow-excerpt{-webkit-line-clamp:1}
#report-flow .flow-check-row input[type=checkbox]{margin-top:13px}
#report-flow #flow-inspector{padding:14px 16px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
#report-flow .flow-inspector-heading{gap:12px}
#report-flow .flow-inspector-heading h3{font-size:17px}
#report-flow .flow-inspector-heading p{margin:3px 0;font-size:12px}
#report-flow .flow-rule{margin:6px 0 10px;font-size:12px}
#report-flow .flow-copy-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#report-flow .flow-copy-heading{margin-bottom:6px}
#report-flow #flow-original-text{min-height:clamp(220px,calc(100dvh - 350px),560px);max-height:none;overflow:visible;padding:12px}
#report-flow #flow-edit-text{height:clamp(220px,calc(100dvh - 350px),560px);min-height:220px;max-height:none;padding:12px;line-height:1.9}
#report-flow #flow-screen>.flow-footer{position:static;margin:0;padding:8px 12px;gap:16px;box-shadow:none;min-width:0}
#report-flow #flow-screen>.flow-footer>div{min-width:0}
#report-flow #flow-screen>.flow-footer strong{font-size:13px}
#report-flow #flow-action-message{font-size:12px;margin:2px 0 0;overflow-wrap:anywhere}
#report-flow #flow-screen>.flow-footer:has(#flow-action-message:not(:empty)) #flow-next-hint{display:none}
#report-flow #flow-generate{flex:none;padding:8px 14px}
#report-flow #flow-empty{grid-row:2;overflow:auto;padding:40px 20px}
#report-flow #flow-draft-history{flex:none}
/* Draft review gives the full text the remaining height, without a summary card. */
#report-flow:has(#flow-candidates:not([hidden])){display:flex;flex-direction:column;height:calc(100dvh - 76px);min-height:360px;margin:0}
#report-flow:has(#flow-candidates:not([hidden]))>#flow-message{display:none}
#report-flow:has(#flow-candidates:not([hidden])) #flow-header{position:static;flex:none}
#report-flow #flow-candidates{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px}
#report-flow .flow-candidate-heading{margin:0;flex:none;gap:12px}
#report-flow .flow-candidate-heading h3{font-size:15px}
#report-flow .flow-candidate-heading p{display:none}
#report-flow #flow-back{padding:6px 12px}
#report-flow #candidate-list{display:flex;gap:8px;flex:none;overflow:auto}
#report-flow #candidate-list>button{flex:1;padding:8px 12px;border-radius:6px;gap:0}
#report-flow #candidate-list strong{font-size:13px}
#report-flow #candidate-list small,#report-flow #candidate-list p{display:none}
#report-flow #candidate-reader{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;width:100%;max-width:none;margin:0;padding:20px clamp(20px,4vw,56px);border-radius:8px}
#report-flow #candidate-reader>.flow-eyebrow{display:none}
#report-flow #candidate-reader>h3{font-size:22px;max-width:900px;margin:0 auto 14px}
#report-flow #candidate-reader-body{max-width:900px;margin:auto}
#report-flow #candidate-reader-body h4{margin:16px 0 6px}
#report-flow #candidate-reader-body p{margin:8px 0;line-height:1.9}
#report-flow #flow-candidates>.flow-footer{position:static;flex:none;margin:0;padding:8px 12px;gap:16px;box-shadow:none}
#report-flow #flow-candidates>.flow-footer>div:first-child{min-width:0}
#report-flow #flow-candidates>.flow-footer strong{font-size:13px}
#report-flow #candidate-action-message{font-size:12px;color:#975324;overflow-wrap:anywhere}
#report-flow #candidate-action-message:empty{display:none}
#report-flow #flow-candidates .flow-action-buttons{flex:none;gap:8px}
#report-flow #flow-candidates .flow-action-buttons button{padding:8px 14px;white-space:nowrap}
#report-flow:has(#flow-candidates:not([hidden])) #flow-draft-history{margin:0 0 8px;font-size:12px}
@media(max-width:1250px){
 #report-flow #flow-header{column-gap:10px}
 #flow-header .flow-steps li>button{padding:7px!important}
 #report-flow .flow-review{grid-template-columns:230px minmax(0,1fr)}
 #report-flow .flow-copy-heading{align-items:flex-start;flex-wrap:wrap;gap:2px 6px}
 #report-flow #flow-status-tabs button{padding:5px;font-size:11px}
}
@media(max-width:1080px){
 body:has(#report-flow:not([hidden])){min-width:0}
 body:has(#report-flow:not([hidden]))>header{width:164px;padding:0 14px}
 body:has(#report-flow:not([hidden])) #workspace>.heading{left:164px;padding:0 16px}
 body:has(#report-flow:not([hidden])) #workspace>nav{width:164px;padding:20px 8px}
 body:has(#report-flow:not([hidden])) #admin-name{display:none}
 body:has(#report-flow:not([hidden])) main{min-width:0;margin-left:176px!important}
 #report-flow #flow-header{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}
 #flow-header .flow-steps{grid-column:1 / -1;grid-row:2}
 #flow-header #flow-close{grid-column:2}
 #report-flow .flow-toolbar{flex-wrap:wrap}
 #report-flow .flow-copy-grid{grid-template-columns:1fr}
 #report-flow #flow-original-text{min-height:0}
}
@media(max-width:760px){
 body:has(#report-flow:not([hidden]))>header{position:static;width:auto}
 body:has(#report-flow:not([hidden])) #workspace>.heading,
 body:has(#report-flow:not([hidden])) #workspace>nav{display:none!important}
 body:has(#report-flow:not([hidden])) main{margin:12px!important}
 #report-flow:has(#flow-screen:not([hidden])){height:auto;min-height:0}
 #report-flow:has(#flow-candidates:not([hidden])){height:auto;min-height:0}
 #report-flow #candidate-reader{overflow:visible;flex:auto;padding:18px}
 #report-flow #flow-candidates>.flow-footer{align-items:stretch;gap:8px}
 #report-flow #flow-candidates .flow-action-buttons{justify-content:flex-end;flex-wrap:wrap}
 #report-flow #flow-screen{display:flex;flex-direction:column}
 #report-flow .flow-review{display:block}
 #report-flow #flow-materials{max-height:260px;flex:auto}
 #report-flow #flow-inspector{overflow:visible}
 #report-flow .flow-toolbar{align-items:stretch}
 #report-flow .flow-dates{flex-wrap:wrap}
 #report-flow .flow-dates input{width:135px}
 #report-flow #flow-screen>.flow-footer{align-items:stretch;flex-direction:column;gap:8px}
}
/* Editing keeps the report in the main workspace; auxiliary tools open on demand. */
#report-flow:has(#report-editor:not([hidden])){display:flex;flex-direction:column;height:calc(100dvh - 76px);min-height:360px;margin:0}
#report-flow:has(#report-editor:not([hidden])) #flow-header{position:static;flex:none;padding-bottom:8px}
#report-flow:has(#report-editor:not([hidden])) #flow-heading{font-size:15px;color:#65756b}
#report-flow:has(#report-editor:not([hidden]))>#flow-message,
#report-flow:has(#report-editor:not([hidden]))>#flow-draft-history{display:none}
#report-flow #report-editor:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}
#report-editor .report-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex:none}
#report-editor .report-tools{display:flex;align-items:center;gap:8px;min-width:0}
#report-editor .report-toolbar button,#report-editor .report-toolbar summary{font-size:12px;padding:6px 10px;white-space:nowrap}
#report-more{position:relative}#report-more>summary{cursor:pointer;list-style:none;border:1px solid #dfe5e1;border-radius:6px;background:white;color:#516059}
#report-more .report-more-content{position:absolute;right:0;top:100%;margin-top:6px;width:420px;max-width:calc(100vw - 48px);max-height:55dvh;overflow:auto;padding:14px;background:#fff;border:1px solid #dce4db;border-radius:8px;box-shadow:0 8px 24px #233e3520;z-index:6}
#report-editor #report-pending{color:#855c23;background:#fbf0dc;border-color:#ead7ae}
#report-editor #report-review-text{font-size:13px;line-height:1.8}
#report-editor .report-edit-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;flex:1;min-height:0}
#report-editor .report-edit-layout:has(#report-sources:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(280px,38%)}
#report-editor .report-document{width:100%;max-width:none;margin:0;padding:16px 22px;min-height:0;overflow:auto;scrollbar-gutter:stable}
#report-editor .report-title-label{display:block;margin:0 0 12px}
#report-editor #report-title{font-size:21px;line-height:1.5;padding:0 0 10px;min-height:0;background:transparent}
#report-editor #report-title:disabled{color:#26332f;opacity:1}
#report-editor.single-letter #report-fields{height:100%;display:flex;flex-direction:column;min-height:0}
#report-editor.single-letter #report-sections{display:flex;flex-direction:column;flex:1;min-height:0}
#report-editor.single-letter #report-sections>section{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;border:0}
#report-editor.single-letter .report-section-title{display:none}
#report-editor.single-letter .report-section-content{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
#report-editor.single-letter #report-sections textarea{flex:1;min-height:160px;height:100%;resize:none;margin:0;padding:14px 18px;line-height:1.95;font-size:16px;background:#fffefa;scrollbar-gutter:stable}
#report-editor #report-sections>section>details{flex:none;font-size:12px;margin:8px 0 0}
#report-editor.single-letter #report-sections>section:has(>details[open]){min-height:0;overflow:auto}
#report-editor.single-letter #report-sections>section:has(>details[open]) .report-section-content{flex:none;height:260px}
#report-editor.single-letter.source-repair .report-section-content{min-height:200px}
#report-editor #report-sources{min-width:0;min-height:0;overflow:auto;background:#fff;border:1px solid #dce4db;border-radius:8px;padding:14px;scrollbar-gutter:stable}
#report-editor .report-sources-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
#report-editor .report-sources-heading h3{font-size:15px}
#report-editor #report-sources-close{padding:5px 8px;font-size:12px}
#report-editor #report-selected{padding:0;list-style:none;margin:12px 0}
#report-editor #report-selected li{font-size:12px;border-bottom:1px solid #edf0eb;padding:8px 0}
#report-editor #report-selected button{font-size:12px;padding:4px 7px}
#report-editor #detail{position:static;width:100%;max-width:none;max-height:none;margin:10px 0 0;padding:12px;border:1px solid #e1e7df}
#report-editor #detail h2{font-size:16px}#report-editor #detail .section-body{font-size:14px}
#report-editor #archive-panel{min-width:0}#report-editor #archive-panel>article{padding:12px}
#report-editor #archive-panel .filters{display:block}#report-editor #archive-panel #timeline-layout{display:block}
#report-editor #archive-panel #timeline-preview{display:none}
#report-editor>.report-actions{position:static;flex:none;margin:0;padding:8px 12px;min-height:50px;gap:12px;box-shadow:none;flex-direction:row;align-items:center}
#report-editor .report-actions .flow-action-buttons{gap:8px}
#report-editor .report-actions button{font-size:13px;padding:7px 12px}
#report-editor #report-state{font-size:12px;font-weight:500}
#report-history{position:relative;min-width:0}#report-history>summary{list-style:none;cursor:default;color:#5d7064}
#report-history.has-history>summary{cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
#report-history>summary::-webkit-details-marker{display:none}
#report-version-picker{position:absolute;bottom:100%;left:0;z-index:6;margin:0 0 12px;background:#fff;box-shadow:0 8px 24px #233e3520;border:1px solid #dce4db;border-radius:8px;padding:12px;width:280px;max-width:calc(100vw - 48px)}
#report-editor #report-error{flex:none;margin:0;font-size:12px;max-height:80px;overflow:auto}
#report-editor #report-error:empty{display:none}
#report-editor #parent-link-box:not([hidden]){display:flex;flex:none;align-items:center;gap:8px;margin:0;font-size:12px}
#parent-link-box input{flex:1;min-width:0;margin:0;font-size:12px}#parent-link-box a{white-space:nowrap}#report-editor #copy-parent-link{padding:6px 10px;font-size:12px}
@media(max-width:1080px){#report-editor .report-edit-layout:has(#report-sources:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(260px,42%)}#report-editor .report-document{padding:14px}#report-editor .report-toolbar{gap:8px;flex-wrap:wrap}}
@media(max-width:760px){
 #report-flow:has(#report-editor:not([hidden])){height:calc(100dvh - 76px);min-height:480px}
 #report-editor .report-toolbar{align-items:center;gap:6px}#report-editor .report-tools{gap:6px;margin-left:auto}
 #report-editor .report-edit-layout:has(#report-sources:not([hidden])){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(220px,1fr) minmax(200px,1fr)}
 #report-editor .report-document{padding:12px}#report-editor #report-title{font-size:19px}
 #report-editor.single-letter #report-sections textarea{padding:12px;font-size:16px}
 #report-editor>.report-actions{flex-wrap:wrap;gap:6px;padding:8px 10px}
 #report-editor .report-actions .flow-action-buttons{margin-left:auto;gap:6px}
 #report-editor #parent-link-box:not([hidden]){flex-wrap:wrap}#parent-link-box input{flex-basis:50%}
}
#report-editor #report-history>summary{padding:0;line-height:20px}
#report-editor #report-sections>section>details>summary{padding:0;line-height:20px}
#report-editor .report-document{padding-top:12px;padding-bottom:12px}
#report-editor .report-title-label{margin-bottom:8px}
#auth #submit{width:100%;margin-top:8px;padding:11px 20px}#auth-switch{margin:18px 0 0;text-align:center;font-size:13px;color:#65726a}#auth .auth-link{padding:6px 8px;background:transparent;color:#278a67;text-decoration:underline;text-underline-offset:3px}