:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#26342f;background:#f5f5f1;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
a{color:#205b52;text-decoration:none}
a:hover{text-decoration:underline}
button,input,textarea,select{font:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 14px;border:1px solid #245b52;border-radius:7px;background:#245b52;color:#fff;text-decoration:none;cursor:pointer;margin:3px 5px 3px 0;font-weight:600;font-size:14px}
button:hover,.button:hover{background:#19463f;color:#fff;text-decoration:none}
button.secondary,.button.secondary{background:#fff;border-color:#ccd6d0;color:#284c45}
button.secondary:hover,.button.secondary:hover{background:#eef3ef;color:#284c45}
button:disabled{opacity:.45;cursor:not-allowed}
.app-shell{min-height:100vh;display:grid;grid-template-columns:204px minmax(0,1fr)}
.sidebar{background:#f0f1ec;border-right:1px solid #dfe3dc;padding:25px 16px;display:flex;flex-direction:column;gap:34px}
.brand{display:flex;align-items:center;gap:10px;color:#233b35;font-size:17px;font-weight:750;letter-spacing:.02em}
.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#245b52;color:#fff;font-size:17px}
.side-label{font-size:11px;letter-spacing:.1em;color:#89958d;margin:0 10px 8px;font-weight:700}
.side-nav{display:grid;gap:4px}
.side-nav a{padding:10px 12px;border-radius:7px;color:#52615a;font-size:14px;font-weight:600}
.side-nav a:hover{background:#e4eae3;text-decoration:none;color:#254e45}
.side-nav a.active{background:#dfe9e2;color:#164e43}
.side-note{margin-top:auto;border-top:1px solid #dfe3dc;padding:14px 10px;color:#758179;font-size:12px;line-height:1.5}
.main-shell{min-width:0}
.topbar{height:66px;background:#fafbf8;border-bottom:1px solid #e3e7df;display:flex;align-items:center;justify-content:flex-end;padding:0 32px;gap:14px}
.account-name{font-size:13px;color:#52615a;font-weight:650}
.topbar button{margin:0;min-height:32px;padding:5px 10px;font-size:12px}
main{max-width:1320px;margin:0 auto;padding:32px 34px 60px}
.login-shell{max-width:460px;margin:80px auto;padding:0 20px}
h1{font-size:27px;line-height:1.3;letter-spacing:-.025em;margin:0 0 9px;color:#20352e}
h2{font-size:18px;line-height:1.35;margin:0 0 17px;color:#253b33}
h3{font-size:15px}
p{line-height:1.55}
.muted,.hint{color:#718078}
.hint{display:block;font-size:12px;font-weight:400;margin-top:5px}
.page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:23px}
.page-head p{margin:4px 0 0;color:#728078;font-size:14px}
.eyebrow{display:none}
.card{background:#fff;border:1px solid #e0e5de;border-radius:9px;padding:22px;margin:16px 0;box-shadow:0 1px 1px #152c1c06}
.card h2:first-child{margin-top:0}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-head h2{margin:0}
.section-head a{font-size:13px;font-weight:650}
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:25px;background:#fff;border:1px solid #dbe3da;border-radius:10px;padding:22px 24px;margin:20px 0}
.dashboard-hero p{margin:7px 0;color:#68786e;font-size:14px}
.dashboard-hero form{margin:0}
.state-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#327c59;margin-right:8px}
.state-dot.paused{background:#bb8532}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 24px}
.stat{background:#fff;border:1px solid #e0e5de;border-radius:9px;padding:15px 18px}
.stat strong{display:block;color:#718078;font-size:12px;font-weight:650;margin-bottom:7px}
.stat b{display:block;color:#243c33;font-size:25px;line-height:1.1;font-weight:700}
.stat small{display:block;color:#859188;font-size:11px;margin-top:8px}
.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.work-grid .card{margin:0}
.work-item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf0eb;font-size:14px}
.work-item:last-child{border-bottom:0}
.work-item b{font-weight:650}
.work-item small{color:#7c8980}
.work-count{font-weight:750;color:#ad6b26}
.section-tabs{display:flex;align-items:center;gap:5px;border-bottom:1px solid #dfe5de;margin:18px 0 16px}
.section-tabs a{padding:10px 14px;color:#738077;font-size:14px;font-weight:650;border-bottom:2px solid transparent}
.section-tabs a.active{color:#205b52;border-color:#205b52}
.section-tabs a:hover{text-decoration:none;color:#205b52}
.filter-bar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 16px}
.filter-bar label{min-width:170px;margin:0}
.filter-bar button{margin-bottom:0}
.table-wrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;background:#fff;font-size:13px}
th,td{padding:12px 13px;border-bottom:1px solid #ebeee9;text-align:left;vertical-align:top}
th{background:#f8f9f6;color:#7a877d;font-size:11px;font-weight:700;white-space:nowrap}
tr:last-child td{border-bottom:0}
td a{font-weight:650}
td .hint{font-weight:400}
.table-wrap table{min-width:650px}
.table-wrap td:last-child{white-space:nowrap}
.history-row{padding:17px 2px;border-bottom:1px solid #ebeee9}
.history-row:last-child{border-bottom:0}
.history-row>a{font-weight:650;font-size:14px;line-height:1.45}
.history-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:11px}
.history-meta span{font-size:13px;color:#33443b;overflow-wrap:anywhere}
.history-meta small{display:block;color:#89948a;font-size:11px;margin-bottom:3px}
.badge{display:inline-block;border-radius:5px;padding:4px 8px;background:#eaf0ec;color:#466357;font-size:12px;font-weight:650;white-space:nowrap}
.badge.status-running{background:#e1eee8;color:#1e654e}
.badge.status-queued{background:#e7efec;color:#245b52}
.badge.status-needs_teacher{background:#f9edda;color:#955d1a}
.badge.status-failed{background:#f9e7e2;color:#aa4b3f}
.badge.status-saved_for_review{background:#edf0f3;color:#526579}
.badge.status-draft{background:#eff1ec;color:#657268}
.error{background:#fff0ec;border:1px solid #f0c8bd;color:#933f32;padding:13px;border-radius:7px}
.notice{background:#eef5ef;border:1px solid #cbded0;padding:14px;border-radius:7px}
label{display:block;font-weight:650;font-size:13px;margin:12px 0;color:#3d5046}
input,textarea,select{display:block;width:100%;padding:10px 11px;border:1px solid #cbd5cd;border-radius:6px;margin-top:6px;background:#fff;color:#26342f}
input:focus,textarea:focus,select:focus{outline:2px solid #8ab8a2;outline-offset:1px}
textarea{min-height:82px}
.file-picker{margin:14px 0}.selected-files{margin:10px 0}
.selected-file{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #dce4dc;border-radius:7px;margin:6px 0;overflow-wrap:anywhere}
.selected-file button{flex:none;padding:6px 10px}
.queue-success{text-align:center;padding:35px}
.queue-success .check{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#deeee3;color:#2c7957;font-size:31px;font-weight:700}
.file-action{display:inline-block;vertical-align:middle;margin-left:8px}.file-action label{margin:0}.file-action input{max-width:240px}
.file-replace{display:inline-block;margin-left:8px;vertical-align:middle}.file-replace summary{cursor:pointer;color:#245b52}.file-replace form{margin-top:8px}.file-replace input{max-width:240px}
.bilingual{white-space:pre-line;overflow-wrap:anywhere}
.review-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.review-head h2{margin:0}
.issue{background:#fff;border:1px solid #dfe5de;border-left:3px solid #98b8a5;border-radius:8px;padding:20px;margin:14px 0}
.issue.pending{border-left-color:#cf9850}
.issue h3{margin:0}.issue p{margin:7px 0}.issue-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.issue-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,42%);gap:20px;align-items:start}.issue-copy{min-width:0}.issue-body:not(.has-photos) .issue-copy{grid-column:1/-1}
.issue-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.issue-photos a{display:block;text-decoration:none;color:#5b6b60;font-size:12px;overflow-wrap:anywhere}.issue-photos img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain;background:#f5f6f2;border:1px solid #dce4dc;border-radius:6px}
.issue-decision{margin-top:16px;padding-top:15px;border-top:1px solid #edf0ea}.issue form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.issue form label{margin:0}
.evidence-assign{margin-top:12px;color:#5b6b60;font-size:13px}.evidence-assign summary{cursor:pointer}.issue .evidence-assign form{display:block;padding:10px 0}.evidence-assign label{font-weight:400;margin:6px 0}.evidence-assign input{display:inline;width:auto;margin:0 7px 0 0}.evidence-assign button{margin-top:8px}
.more-evidence{margin-top:20px}.more-evidence summary{cursor:pointer;color:#245b52;font-weight:650}.more-evidence .evidence{margin-top:12px}.evidence{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.evidence a{text-decoration:none;color:#26342f;font-size:12px;overflow-wrap:anywhere}.evidence img{width:100%;height:110px;object-fit:cover;object-position:top;border:1px solid #dce4dc;border-radius:6px}
.detail-subnav{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0;color:#75837a;font-size:13px}.detail-subnav a{font-weight:650}
.empty{padding:25px 10px;color:#79867d;font-size:14px;text-align:center}
@media(max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}.work-grid{grid-template-columns:1fr}}
@media(max-width:720px){.app-shell{display:block}.sidebar{padding:14px 16px;gap:10px}.side-label,.side-note{display:none}.side-nav{display:flex;overflow-x:auto}.side-nav a{white-space:nowrap;padding:8px 10px}.topbar{height:45px;padding:0 18px}main{padding:24px 17px 50px}.page-head{align-items:stretch;flex-direction:column}.grid,.issue form,.issue-body{grid-template-columns:1fr}.dashboard-hero{grid-template-columns:1fr}.dashboard-hero form{justify-self:start}.issue-photos img{max-height:320px}.history-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}

.execution-choice{border:0;padding:0;margin:18px 0}.execution-choice legend{font-weight:650;font-size:15px;margin-bottom:10px}.execution-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.execution-options label{display:flex;gap:10px;align-items:flex-start;border:1px solid #d7dfd7;border-radius:8px;padding:16px;margin:0;cursor:pointer}.execution-options label:has(input:checked){border-color:#3e7765;background:#f1f6f0}.execution-options input{width:17px;height:17px;margin:2px 0 0;flex:none;accent-color:#245b52}.execution-options strong{display:block;font-size:14px}.execution-options small{display:block;font-weight:400;color:#718078;line-height:1.6;margin-top:5px}.mode-change{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.mode-change label{min-width:190px;margin:0}.mode-change button{margin-bottom:0}.schedule-counts{display:flex;gap:24px;flex-wrap:wrap;padding:12px 0 18px;font-size:14px;color:#718078}.schedule-counts strong{color:#263f34;margin-left:8px}.schedule-card details{border-top:1px solid #edf0eb;padding-top:12px;font-size:13px;line-height:1.6}.schedule-card summary{cursor:pointer;color:#385b4b}.schedule-card .section-head{flex-wrap:wrap}@media(max-width:700px){.execution-options{grid-template-columns:1fr}.schedule-counts{gap:14px}}

.capacity-panel{border:1px solid #dfe5de;background:#f8faf6;border-radius:8px;padding:17px;margin:16px 0}.capacity-panel h3{margin:0}.executor-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px}.executor-slot{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #e1e7df;border-radius:7px;padding:13px;font-size:13px}.executor-slot span{color:#49735a}.executor-slot.busy span{color:#986d28}.executor-slot.disabled{opacity:.6}.capacity-forecast{font-size:14px;color:#355544;margin:13px 0 6px}.queue-success .capacity-panel{text-align:left}@media(max-width:700px){.executor-slots{grid-template-columns:1fr}.executor-slot{flex-wrap:wrap}}
