:root{color-scheme:dark;--bg:#0b0b0c;--panel:#171718;--soft:#242426;--ink:#f2f2f3;--muted:#aaaab2;--line:#343438;--red:#e00034;--body:Barlow,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--body)}button,input,textarea,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:10px 17px;background:var(--soft);color:var(--ink);font-weight:600;transition:background .15s,transform .15s}button:hover{background:#343438}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:wait}button.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:var(--red);border-color:#f03b60;color:#fff;box-shadow:inset 0 1px 0 #ffffff22,0 4px 14px #e0003418}button.primary:hover{background:#c6002e}button.quiet,.quiet{background:transparent;color:var(--muted)}a{color:inherit;text-decoration:none}a:hover{color:white}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,4vw,52px);font-weight:600;line-height:1.06;letter-spacing:-.045em}h2{font-size:28px;line-height:1.12;font-weight:600;letter-spacing:-.025em}h3{font-size:20px;font-weight:600}p{color:var(--muted)}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted)}input,textarea,select{width:100%;min-height:44px;background:#111113;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 12px;outline:none}textarea{resize:vertical;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:#a7a7b3}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ff557b;outline-offset:3px}[hidden]{display:none!important}.eyebrow{display:block;font-size:11px;font-weight:600;letter-spacing:.15em;color:var(--muted);margin-bottom:14px}.caption{font-size:12px;line-height:1.6;color:var(--muted)}.topbar{height:88px;max-width:1440px;margin:auto;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0c}.brand{display:flex;gap:15px;align-items:center}.brand img{width:53px;height:43px;object-fit:contain}.brand span{font-size:13px;letter-spacing:.08em;font-weight:600}.brand small{display:block;font-size:9px;letter-spacing:.15em;color:var(--muted);font-weight:400}.top-actions{display:flex;align-items:center;gap:22px;font-size:13px}main{max-width:1360px;margin:auto;padding:42px 40px 80px}.workspace-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:34px}.steps{display:flex;gap:8px;margin-bottom:24px}.steps button{display:flex;gap:12px;align-items:center;min-width:160px;background:transparent;color:var(--muted);border-color:transparent}.steps b{font-size:11px;font-weight:600;border:1px solid var(--line);border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.steps [aria-current=step]{color:var(--ink);background:var(--soft);border-color:var(--line)}.steps [aria-current=step] b{border-color:var(--red);color:#ff597e}.status{font-size:14px;color:#e3c5cc;margin-bottom:20px;min-height:0}.status:empty{margin:0}.status.is-error{border-left:2px solid var(--red);padding-left:12px}.panel{border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#ffffff04,transparent 70%),var(--panel);padding:30px}/* Import: the attachment is the main action; manual creation is secondary. */
.top-actions{gap:12px}.top-actions .icon-action{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff24;border-radius:13px;background:#111113;color:#fff;transition:background .15s,border-color .15s}
.top-actions .icon-action:hover{background:#242426;border-color:#ffffff60}.icon-action svg{width:20px;height:20px}
.import-layout{display:grid;gap:18px}.upload-panel{padding:32px;border-color:#4b383e;background:radial-gradient(ellipse at 100% 0,#e0003409,transparent 65%),var(--panel)}
.upload-heading{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:start;gap:32px;margin-bottom:25px}.upload-heading .eyebrow{margin-bottom:11px;color:#c1a3ac}.upload-heading h2{font-size:clamp(28px,3.5vw,38px);margin-bottom:10px}.upload-heading p{max-width:540px;font-size:15px;line-height:1.5}.month-field{gap:6px;padding-top:1px;min-width:0}.month-field select{min-height:48px;font-size:16px;font-weight:500}.month-field small{font-size:11px;color:var(--muted)}
.drop-zone{cursor:pointer;min-height:192px;display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;border:1px dashed #626067;border-radius:17px;background:#ffffff03;position:relative;padding:23px 20px;transition:border-color .18s,background .18s}.drop-zone:hover,.drop-zone:focus-within{border-color:#ef476d;background:#e0003408}.drop-zone:focus-within{outline:2px solid #ff557b;outline-offset:4px}.drop-zone input{position:absolute;inset:0;opacity:0;cursor:pointer}.drop-zone strong{font-size:19px;font-weight:500;color:var(--ink);overflow-wrap:anywhere;max-width:100%}.drop-zone small{font-size:11px;line-height:1.5}.drop-copy{font-size:13px}.upload-mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid #ffffff12;border-radius:15px;color:#f4e7eb;background:#ffffff06;margin-bottom:3px}.upload-mark svg{width:29px;height:29px}.drop-zone.has-file{border-style:solid;border-color:#79525d;background:#e0003407}.drop-zone.has-file .upload-mark{color:#ff7595}
.upload-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px}.upload-source{min-width:0}.upload-source a{display:inline-block;margin-top:7px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.upload-footer .primary{flex:none;min-width:230px;min-height:50px;padding:12px 20px}.upload-footer .primary svg{width:20px;height:20px}
.manual-panel{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:18px;padding:22px 26px;background:#111113}.manual-mark{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#ffffff05;color:#bfc0c8}.manual-mark svg{width:24px;height:24px}.manual-copy{flex:1;min-width:0}.manual-copy h2{font-size:20px;letter-spacing:-.02em;margin-bottom:5px}.manual-copy p{font-size:13px;line-height:1.5}.manual-panel button{display:flex;align-items:center;justify-content:space-between;gap:22px;flex:none;min-width:200px;background:transparent;font-size:12px;letter-spacing:.05em}.manual-panel button:hover{background:#242426}.manual-panel button span{font-size:20px;line-height:1}
.text-import{margin:0 4px;border-bottom:1px solid #ffffff13}.text-import summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:10px 0 14px;color:var(--muted);font-size:13px;cursor:pointer;list-style:none}.text-import summary::-webkit-details-marker{display:none}.text-import summary:hover{color:var(--ink)}.text-import summary svg{width:16px;height:16px;transition:transform .18s}.text-import[open] summary svg{transform:rotate(180deg)}.text-import-body{padding:8px 0 20px}.text-import textarea{margin-top:8px}.text-import-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:12px}.text-import-footer p{max-width:540px}.text-import-footer button{flex:none;font-size:13px}.resume-local{justify-self:start;text-align:left;font-size:13px}
.editor-toolbar{display:flex;gap:12px;align-items:end;margin-bottom:24px}.grow{flex:1}.review-notes{padding:18px 22px;border:1px solid #5d3842;border-radius:14px;background:#31141c;margin-bottom:22px}.review-notes ul{margin:8px 0 0;padding-left:20px;color:#dbb8c0;font-size:14px}.editor-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.day-sidebar{position:sticky;top:20px;display:grid;gap:12px}.day-sidebar>button{font-size:13px}.day-sidebar #day-list{display:grid;gap:6px}.day-pick{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border-color:transparent;padding:12px}.day-pick b{font-size:26px;font-weight:500}.day-pick span{font-size:13px;line-height:1.4}.day-pick small{display:block;font-size:10px;color:var(--muted)}.day-pick[aria-current=true]{background:var(--soft);border-color:var(--line);box-shadow:inset 3px 0 var(--red)}.session-form{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.session-form>.form-grid{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.block-card{margin:16px 0 0;background:#101012;border:1px solid var(--line);border-radius:14px;overflow:hidden}.block-card summary{padding:18px;cursor:pointer;font-size:17px;font-weight:500}.block-fields{padding:0 18px 18px}.time-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.time-row input{max-width:160px}.exercise-row{display:grid;grid-template-columns:minmax(0,1fr) 88px 88px 44px;align-items:end;gap:8px;padding:14px 0;border-top:1px solid #ffffff0a}.exercise-row textarea{min-height:76px}.exercise-row label{font-size:11px}.exercise-row .remove{padding:8px}.block-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.block-actions button{font-size:12px}.danger{color:#f28da4;background:transparent}.drill-card{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid var(--line);border-radius:12px;padding:12px 15px;margin-top:12px}.drill-card small{display:block;color:var(--muted);font-size:11px}.drill-card button{font-size:12px}.session-actions{display:flex;justify-content:space-between;margin-top:20px;gap:12px}.stage-footer{display:flex;justify-content:space-between;align-items:center;margin-top:26px;gap:18px}.review-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 26px}.review-heading p{margin-top:12px}.review-day{border:1px solid var(--line);padding:25px;border-radius:20px;margin:14px 0;background:var(--panel)}.review-day h3{margin:18px 0 8px}.review-day ul{padding-left:22px;color:#d2d2d7}.review-day li{margin:9px 0}.time-chip{display:inline-block;font-size:11px;color:#eea8b8;border:1px solid #5d3842;border-radius:5px;padding:2px 6px;margin-left:7px}.publish-panel{margin-top:28px}.check{display:flex;flex-direction:row;gap:11px;align-items:center;font-size:14px;margin:14px 0;color:#d4d4da}.check input{width:18px;height:18px;min-height:18px;padding:0;accent-color:var(--red);flex:none}.publish-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:23px}.publish-row p{font-size:13px}.publish-row button{min-width:220px}#published-link{margin-top:20px;color:#fff}#published-link a{text-decoration:underline}#conflicts{color:#f0acbd;font-size:13px}dialog{background:#111113;color:var(--ink);border:1px solid var(--line);border-radius:24px;width:min(1280px,96vw);max-height:94dvh;padding:24px;overflow:auto}dialog::backdrop{background:#000c;backdrop-filter:blur(8px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.dialog-heading .eyebrow{margin-bottom:8px}.dialog-heading button{font-size:25px;width:44px;padding:0}.board-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:22px}.board-toolbar{display:flex;gap:12px;align-items:end;margin-bottom:12px}.board-toolbar label{width:170px}.board-toolbar>span{font-size:12px;align-self:center;color:var(--muted)}#board{width:100%;height:auto;aspect-ratio:760/420;display:block;border:1px solid var(--line);border-radius:14px;background:#18191b;touch-action:none;cursor:crosshair}.board-layout .caption{margin:12px 0 22px}.board-fields{display:grid;gap:12px}.phase-sidebar{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}#phase-list{display:grid;gap:6px;margin-bottom:12px}#phase-list button{text-align:left;font-size:13px}#phase-list button.active{border-color:var(--red)}#phase-fields{display:grid;gap:10px;margin:18px 0}.coordinates{display:grid;grid-template-columns:1fr 1fr 40px;gap:6px;margin:7px 0}.coordinates input{min-width:0;padding:7px;font-size:12px}.coordinates button{padding:5px}.phase-sidebar details{border-top:1px solid var(--line);padding-top:14px}.phase-sidebar summary{font-size:13px;cursor:pointer;margin-bottom:10px}.cone-row{margin:10px 0}.dialog-footer{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}#drill-error{color:#f4a9ba;font-size:13px}.archive{max-width:640px}.archive h3{margin:25px 0 12px}.archive-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.archive-row small{display:block;color:var(--muted);font-size:11px}.archive-row button{font-size:12px}.empty{padding:18px 0;color:var(--muted);font-size:13px}
@media(max-width:800px){.topbar{padding:16px 20px;height:76px}main{padding:28px 18px 55px}.workspace-heading{align-items:flex-start;gap:12px}.workspace-heading h1{font-size:34px}.workspace-heading button{font-size:12px}.steps{justify-content:space-between;gap:4px}.steps button{min-width:0;flex:1;font-size:13px;gap:6px;padding:9px}.steps b{width:24px;height:24px}.panel{padding:24px}.editor-layout{display:block}.day-sidebar{position:static;margin-bottom:20px}.day-sidebar #day-list{display:flex;overflow-x:auto}.day-pick{flex:none;min-width:145px}.day-sidebar>button{justify-self:start}.editor-toolbar{flex-wrap:wrap}.editor-toolbar label{flex-basis:100%}.session-form{padding:18px}.exercise-row{grid-template-columns:1fr 1fr 44px}.exercise-row>label:first-child{grid-column:1/-1}.exercise-row textarea{min-height:64px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.block-fields{padding:0 14px 14px}.stage-footer,.publish-row{align-items:stretch;flex-direction:column}.review-heading{align-items:flex-start;flex-direction:column}.board-layout{grid-template-columns:1fr}dialog{padding:18px;width:98vw;border-radius:18px;max-height:96dvh}.phase-sidebar{padding:14px}.board-toolbar{flex-wrap:wrap}.board-toolbar label{flex:1}.dialog-footer .primary{width:100%}.top-actions{gap:10px}.top-actions a{font-size:12px}.drill-card{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

@media(max-width:800px){
 .upload-panel{padding:24px}.upload-heading{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:20px}.upload-heading p{font-size:14px}.month-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,170px);align-items:center;column-gap:14px}.month-field select{grid-column:2;grid-row:1 / span 2}.month-field small{grid-column:1;font-size:10px}.drop-zone{min-height:180px;padding:20px 14px}.drop-zone small{max-width:240px}.upload-footer{align-items:stretch;flex-direction:column;gap:15px;margin-top:18px}.upload-footer .primary{min-width:0;width:100%;order:-1}.upload-source .caption br{display:none}.manual-panel{display:grid;grid-template-columns:38px minmax(0,1fr);gap:13px;padding:21px}.manual-mark{width:38px;height:38px}.manual-copy h2{font-size:19px}.manual-panel button{grid-column:1 / -1;width:100%;margin-top:3px;min-height:48px}.text-import-footer{align-items:stretch;flex-direction:column;gap:12px}.text-import-footer button{align-self:flex-start}.topbar .top-actions{gap:12px}
}
@media(max-width:380px){
 .topbar{padding:14px 16px}.brand{gap:10px}.brand img{width:44px}.brand span{font-size:11px}.topbar .top-actions{gap:8px}main{padding:24px 16px 50px}.workspace-heading{flex-direction:column;gap:14px;margin-bottom:24px}.workspace-heading h1{font-size:32px}.workspace-heading button{padding:8px 12px;min-height:40px}.upload-panel{padding:20px}.month-field{grid-template-columns:minmax(0,1fr) 135px;font-size:12px}.drop-zone strong{font-size:18px}.manual-panel{padding:19px}.manual-copy h2{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.top-actions .icon-action,.drop-zone,.text-import summary svg{transition:none}}
