@font-face{font-family:Archivo;src:url('../mockups/assets/fonts/Archivo-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Archivo,Arial,sans-serif;color:#eaf5f8;background:#070f17;font-synthesis:none;--cyan:#00bdcd;--red:#ef174b;--muted:#a9c3d0;--line:#294658;--panel:#142c3b}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.button{border:1px solid #456575;border-radius:0;background:#142c3b;color:#eaf5f8;padding:12px 17px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:18px}button:hover,.button:hover{background:#203e50;border-color:#78b7c8}button:disabled{opacity:.35;cursor:default}.primary{background:#cf0a42;border-color:#ff416c;box-shadow:inset 0 -3px var(--cyan);color:white}.primary:hover{background:#eb124c}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,.button:focus-within{outline:3px solid var(--cyan);outline-offset:3px}a{color:#8fdfed}button,.button,a,textarea{touch-action:manipulation}[hidden]{display:none!important}.topbar{min-height:99px;padding:22px 34px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#0a1822}.identity{display:flex;gap:23px;align-items:center;color:inherit;text-decoration:none;font-weight:650;font-size:20px}.identity img{width:82px;height:auto;display:block}.identity small{display:block;margin-top:6px;color:var(--muted);font-size:13px;font-weight:400}.file-actions{display:flex;align-items:center;gap:10px}.file-actions input{position:absolute;width:1px;height:1px;opacity:0}.workspace{max-width:1740px;margin:auto;display:grid;grid-template-columns:306px minmax(0,1fr);min-height:calc(100vh - 99px)}.navigator{padding:30px 23px 36px 27px;border-right:1px solid var(--line);background:#0a1822;align-self:start;position:sticky;top:0;max-height:100vh;overflow:auto}.navigator h1{font-size:24px;line-height:1.2;font-weight:650;margin:0 0 12px;letter-spacing:-.5px}.intro{font-size:14px;color:var(--muted);line-height:1.5;margin:0 0 25px}.workflow-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:24px;gap:4px}.workflow-tabs button{font-size:11px;padding:10px 5px;border-color:transparent;background:none;line-height:1.3}.workflow-tabs button[aria-pressed=true]{background:#173848;border-color:var(--cyan);box-shadow:inset 0 -2px var(--cyan)}.step-list-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid var(--line);gap:8px}.step-list-heading h2{font-size:16px;margin:0;font-weight:600}.step-list-heading span{font-size:12px;color:var(--muted)}#step-list{display:grid;max-height:49vh;overflow:auto;padding:7px 0;margin-bottom:16px;scrollbar-color:#31556b transparent;scrollbar-width:thin}.step-link{background:transparent;border:0;border-left:3px solid transparent;font-weight:400;text-align:left;justify-content:flex-start;font-size:13px;padding:11px 9px;gap:13px;line-height:1.3;min-height:48px}.step-link .number{color:#91b4c4;min-width:20px}.step-link .step-name{flex:1}.step-link .edited-dot{width:6px;height:6px;background:var(--red);flex:none}.step-link[aria-current=step]{background:#163341;border-left-color:var(--cyan)}.step-link[aria-current=step] .number{color:var(--cyan)}.save-state{color:#80d6dc;font-size:12px;line-height:1.45;margin:18px 0 10px}.draft-note{color:var(--muted);font-size:12px;line-height:1.45;margin:0 0 15px}.preview-link{font-size:13px;text-underline-offset:4px}.mobile-step{display:none}main{padding:28px clamp(24px,3vw,54px) 40px;min-width:0}.step-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.step-toolbar span{font-size:13px;color:#82d6df}.step-toolbar h2{font-size:24px;line-height:1.25;margin:7px 0 0;font-weight:650;letter-spacing:-.4px}.step-arrows{display:flex;gap:7px;flex:none}.step-arrows button{width:45px;padding:9px;font-size:21px}.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;color:var(--muted)}.text-button{background:none;border:none;font-size:12px;color:#9ee0ea;padding:5px 0;min-height:30px;text-decoration:underline;text-underline-offset:4px;box-shadow:none}.text-button:hover{background:none;color:white}.reference{position:relative;margin:0;border:1px solid var(--line);aspect-ratio:16/9;overflow:hidden;background:#020609;container-type:inline-size}.reference>img{display:block;width:100%;height:100%;object-fit:contain}.copy-preview{position:absolute;bottom:0;left:0;right:0;padding:7% 4% 3.2%;background:linear-gradient(transparent,#07151fee 48%,#07151ffa);display:flex;gap:2.4%;align-items:flex-start;pointer-events:none}.copy-preview[data-position=top]{bottom:auto;top:0;padding:3.2% 4% 7%;background:linear-gradient(#07151ffa,#07151fee 52%,transparent)}#preview-number{color:#ff6488;font-size:2.25cqw;font-weight:600;padding-top:1.5cqw;min-width:3cqw}#preview-chapter{font-size:.85cqw;color:var(--cyan);line-height:1.2}#preview-title{margin:.6cqw 0 1cqw;font-size:2.45cqw;line-height:1.12;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere}#preview-subtitle{margin:0;font-size:1.55cqw;color:#dae9ef;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}.fields{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;margin-top:26px}.label-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.label-row label{font-size:15px;font-weight:600}.label-row span{color:#91adbd;font-size:11px}textarea{display:block;background:#102333;color:#fff;border:1px solid #3c6175;width:100%;resize:vertical;min-height:118px;padding:14px 16px;font-size:16px;line-height:1.5;border-radius:0}textarea:focus{border-color:var(--cyan)}.copy-help{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:9px}.copy-help p{font-size:12px;line-height:1.45;color:var(--muted);max-width:64ch}.copy-help button{flex-shrink:0}.fit-warning,.reference-error{font-size:13px;line-height:1.5;color:#ffbfcb}.original{border-top:1px solid var(--line);margin-top:22px;padding-top:17px;color:var(--muted);font-size:13px}.original summary{cursor:pointer;min-height:28px;line-height:1.4}.original h3{font-size:16px;color:#d5e9f1;margin:17px 0 10px}.original p{line-height:1.6;white-space:pre-wrap;margin:0}.editor-footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:20px;color:var(--muted);font-size:12px}dialog{border:1px solid #52758a;border-top:3px solid var(--cyan);border-radius:0;background:#102b3b;color:#eaf5f8;padding:28px;width:min(520px,calc(100vw - 32px))}dialog::backdrop{background:#010a12d9;backdrop-filter:blur(5px)}dialog h2{font-size:23px;margin:0 0 16px}dialog p{font-size:15px;line-height:1.6;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#reference-dialog{width:min(1700px,calc(100vw - 34px));padding:18px;max-height:95vh}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.dialog-heading h2{font-size:18px;margin:0}.dialog-heading button{font-size:22px;padding:5px;width:40px;min-height:40px}#large-reference{max-height:calc(95vh - 95px);width:100%;object-fit:contain;display:block}.toast{pointer-events:none;position:fixed;right:25px;bottom:22px;z-index:20;max-width:min(480px,calc(100vw - 40px));background:#163b4c;color:#eaf5f8;padding:17px 23px;border-left:3px solid var(--cyan);line-height:1.5;box-shadow:0 15px 40px #0008;font-size:14px}.load-error{padding:35px;color:#ffb1c7;max-width:70ch;line-height:1.7}
@media(min-width:1600px){.reference{max-height:62vh;max-width:calc(62vh * 16/9);margin-left:auto;margin-right:auto}}@media(max-width:1000px){.workspace{grid-template-columns:250px minmax(0,1fr)}.navigator{padding:25px 17px}.fields{grid-template-columns:1fr;gap:18px}.copy-help{display:block}.topbar{padding:18px 23px}.identity{font-size:17px;gap:15px}.file-actions{gap:6px}.file-actions button,.file-actions .button{padding:10px 12px;font-size:12px}main{padding:26px 24px}.step-toolbar h2{font-size:21px}.workflow-tabs{gap:1px}.workflow-tabs button{font-size:10px}}@media(max-width:720px){.topbar{padding:17px 18px;display:block}.identity{font-size:18px}.identity img{width:68px}.file-actions{margin-top:19px;display:grid;grid-template-columns:1fr 1fr 1fr}.workspace{display:block}.navigator{position:static;max-height:none;padding:23px 19px 20px;border-right:0;border-bottom:1px solid var(--line)}.navigator h1{font-size:22px}.intro{margin-bottom:16px}.workflow-tabs{margin-bottom:16px}.workflow-tabs button{font-size:13px}.step-list-heading,#step-list{display:none}.mobile-step{display:block;font-size:12px;color:var(--muted)}.mobile-step select{display:block;width:100%;margin-top:8px;background:#142c3b;color:#eaf5f8;border:1px solid #456575;border-radius:0;padding:13px 9px;font-size:14px}.save-state{margin-top:13px}.draft-note{max-width:60ch;margin-bottom:9px}.preview-link{font-size:12px}main{padding:24px 18px 33px}.step-toolbar{gap:12px;margin-bottom:21px}.step-toolbar h2{font-size:19px}.step-toolbar span{font-size:12px}.step-arrows button{width:40px;min-height:40px}.reference-heading{font-size:11px}.reference-heading button{font-size:11px}.fields{margin-top:22px}.copy-help p{font-size:12px}.editor-footer{align-items:flex-start;flex-direction:column;gap:7px}.label-row label{font-size:14px}.toast{bottom:10px;right:15px}.file-actions button,.file-actions .button{font-size:11px;padding:10px 7px;gap:6px}textarea{font-size:16px}}
