:root{--ed-surface:#fff;--ed-surface-2:#f8f7f4;--ed-hover:#f1efeb;--ed-border:#e6e3dd;--ed-border-strong:#cfcac1;--ed-muted:#6b6760;--ed-faint:#9a958c;--ed-accent:#2f5bd3;--ed-accent-soft:#2f5bd31a;--ed-on-accent:#fff;--ed-ok:#1f7a4d;--ed-warn:#a15c00;--ed-error:#b42318;--ed-error-soft:#b4231814;--ed-wip:#7a5af5;--ed-wip-soft:#7a5af51f;--ed-radius:10px;--ed-radius-sm:7px;--ed-lift:0 1px 2px #0000000a, 0 2px 10px #0000000a;--ed-drag:0 14px 34px #00000029, 0 2px 6px #00000014;--ed-fast:.12s}@media (prefers-color-scheme:dark){:root{--ed-surface:#1c1c1f;--ed-surface-2:#161618;--ed-hover:#26262a;--ed-border:#2c2c31;--ed-border-strong:#43434a;--ed-muted:#a1a1a8;--ed-faint:#75757d;--ed-accent:#8ab4ff;--ed-accent-soft:#8ab4ff1f;--ed-on-accent:#0b1222;--ed-ok:#5ad19a;--ed-warn:#f0b252;--ed-error:#ff8a80;--ed-error-soft:#ff8a801a;--ed-wip:#b5a2ff;--ed-wip-soft:#b5a2ff24;--ed-lift:0 0 0 1px #ffffff05, 0 2px 10px #0000004d;--ed-drag:0 14px 34px #0000008c, 0 0 0 1px var(--ed-border-strong)}}.editor,.login,.editor-message{font-family:var(--font-ui);font-size:14px;line-height:1.4}.editor{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.editor-bar{border-bottom:1px solid var(--ed-border);background:var(--ed-surface);flex-shrink:0;align-items:center;gap:16px;min-height:52px;padding:8px 16px;display:flex}.editor-title{align-items:center;gap:10px;min-width:0;display:flex}.editor-home{color:var(--ink);letter-spacing:-.01em;white-space:nowrap;font-weight:650;text-decoration:none}.editor-home:hover{text-underline-offset:3px;text-decoration:underline}.editor-mode{background:var(--ed-surface-2);border:1px solid var(--ed-border);color:var(--ed-muted);white-space:nowrap;border-radius:999px;padding:1px 8px;font-size:11.5px}.version-switch{border:1px solid var(--ed-border);background:var(--ed-surface-2);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.version-switch button{min-width:40px;color:var(--ed-muted);font:inherit;letter-spacing:.02em;cursor:pointer;transition:background var(--ed-fast) ease, color var(--ed-fast) ease;background:0 0;border:0;border-radius:7px;padding:4px 10px;font-size:12.5px;font-weight:600}.version-switch button:hover{color:var(--ink);background:var(--ed-hover)}.version-switch button[aria-pressed=true]{background:var(--ed-surface);color:var(--ink);box-shadow:0 1px 2px #00000014, 0 0 0 1px var(--ed-border)}.version-switch button:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.editor-actions{align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}.editor .button{cursor:pointer;border-radius:8px;min-height:32px;padding:0 14px;font-size:13.5px;font-weight:600}.editor .button:disabled{opacity:.35;cursor:not-allowed}.button:focus-visible,.input:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.text-button{color:var(--ed-muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 6px;font-size:13px;font-weight:500}.text-button:hover{background:var(--ed-hover);color:var(--ink)}.text-button:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.status{max-width:46ch;color:var(--ed-muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.status:before{content:"";vertical-align:1px;opacity:.85;background:currentColor;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.status-dirty{color:var(--ed-warn)}.status-ok{color:var(--ed-ok)}.status-error{color:var(--ed-error)}.status-busy{color:var(--ed-accent)}.status a{color:inherit}.editor-panes{grid-template-columns:clamp(400px, var(--split,46%), calc(100% - 340px)) 9px minmax(0, 1fr);flex:1;min-height:0;display:grid}.editor-panes.is-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.pane{overscroll-behavior:contain;min-width:0;overflow:hidden auto}.pane-edit{background:var(--ed-surface-2);padding:0 20px 56px;container:edit/inline-size}.pane-preview{background:var(--bg);padding:0}.splitter{z-index:3;background:var(--ed-surface-2);cursor:col-resize;touch-action:none;position:relative}.splitter:before{content:"";background:var(--ed-border);transition:background var(--ed-fast) ease, inset var(--ed-fast) ease;position:absolute;inset:0 4px}.splitter:after{content:"";background:var(--ed-border-strong);opacity:0;width:5px;height:32px;transition:opacity var(--ed-fast) ease;border-radius:3px;margin-top:-16px;position:absolute;top:50%;left:2px}.splitter:hover:before,.splitter:focus-visible:before,.is-resizing>.splitter:before{background:var(--ed-accent);inset:0 3px}.splitter:hover:after,.splitter:focus-visible:after{opacity:1}.splitter:focus-visible{outline:none}.tabs{z-index:4;border-bottom:1px solid var(--ed-border);background:var(--ed-surface-2);scrollbar-width:none;gap:2px;margin:0 -20px 4px;padding:6px 14px 0;display:flex;position:sticky;top:0;overflow-x:auto}.tab{color:var(--ed-muted);font:inherit;white-space:nowrap;cursor:pointer;transition:color var(--ed-fast) ease;background:0 0;border:0;align-items:center;gap:5px;padding:8px 10px 9px;font-size:13px;font-weight:550;display:inline-flex;position:relative}.tab:after{content:"";height:2px;transition:background var(--ed-fast) ease;background:0 0;border-radius:2px 2px 0 0;position:absolute;bottom:-1px;left:8px;right:8px}.tab:hover{color:var(--ink)}.tab:hover:after{background:var(--ed-border-strong)}.tab:focus-visible{outline:2px solid var(--focus);outline-offset:-4px;border-radius:8px}.tab-active{color:var(--ink)}.tab-active:after,.tab-active:hover:after{background:var(--ed-accent)}.tab-off:not(.tab-active){color:var(--ed-faint)}.tab-badge{background:var(--ed-error);color:#fff;text-align:center;border-radius:999px;min-width:17px;padding:0 5px;font-size:11px;line-height:17px}.pane-section{padding-top:4px}.note{color:var(--ed-muted);margin:0 0 10px;font-size:13px}.section-bar{align-items:center;gap:12px;min-height:36px;margin:10px 0;display:flex}.section-summary{min-width:0;color:var(--ed-muted);flex:1;align-items:center;gap:4px;margin:0;font-size:13px;display:flex}.section-summary strong{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:650}.sub-head{color:var(--ed-muted);letter-spacing:.05em;text-transform:uppercase;margin:22px 0 8px;font-size:11.5px;font-weight:650}.ghost-button{border:1px solid var(--ed-border);background:var(--ed-surface);height:30px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;transition:border-color var(--ed-fast) ease, background var(--ed-fast) ease, color var(--ed-fast) ease;border-radius:8px;flex-shrink:0;align-items:center;gap:5px;padding:0 12px 0 9px;font-size:13px;font-weight:600;display:inline-flex;box-shadow:0 1px 1px #00000008}.ghost-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:14px;height:14px}.ghost-button:hover{border-color:var(--ed-accent);background:var(--ed-accent-soft);color:var(--ed-accent)}.ghost-button:active{transform:translateY(1px)}.ghost-button:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.ghost-small{height:28px;box-shadow:none;color:var(--ed-muted);background:0 0;border-style:dashed;font-size:12.5px}.hint{width:16px;height:16px;color:var(--ed-faint);cursor:help;vertical-align:-3px;border-radius:50%;flex-shrink:0;place-items:center;margin-left:2px;display:inline-grid}.hint svg{fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;width:14px;height:14px}.hint:hover{color:var(--ink)}.hint:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.problems{border:1px solid var(--ed-border);border-left:3px solid var(--ed-error);border-radius:var(--ed-radius-sm);background:var(--ed-surface);margin:12px 0 0;padding:8px 12px;font-size:13px}.problems:not(:has(.problem-error)){border-left-color:var(--ed-warn)}.problems-build{border-left-color:var(--ed-warn)}.problems summary{cursor:pointer;font-weight:600}.problems ul,.problems-inline{margin:6px 0 0;padding-left:18px;font-size:13px}.problem-error,.problems-inline li{color:var(--ed-error)}.problem-warn{color:var(--ed-warn)}.problems-inline{background:var(--ed-error-soft);border-radius:8px;margin:12px 0 0;padding:6px 12px 6px 26px}.tick{cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:24px;min-height:28px;display:inline-flex;position:relative}.tick-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.tick-box{border:1.5px solid var(--ed-border-strong);background:var(--ed-surface);border-radius:5px;place-items:center;width:17px;height:17px;transition:background .1s,border-color .1s;display:grid}.tick-box svg{fill:none;stroke:#0000;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}.tick:hover .tick-box{border-color:var(--ed-accent)}.tick-input:checked+.tick-box{border-color:var(--ed-accent);background:var(--ed-accent)}.tick-input:checked+.tick-box svg{stroke:var(--ed-on-accent)}.tick-input:focus-visible+.tick-box{outline:2px solid var(--focus);outline-offset:2px}.grip{width:18px;height:28px;color:var(--ed-faint);opacity:.6;cursor:grab;touch-action:none;transition:opacity var(--ed-fast) ease, background var(--ed-fast) ease, color var(--ed-fast) ease;background:0 0;border:0;border-radius:5px;flex-shrink:0;place-items:center;padding:0;display:inline-grid}.grip svg{fill:currentColor;width:10px;height:16px}.grip:hover{background:var(--ed-hover);color:var(--ink);opacity:1}.grip:active,.is-dragging .grip{cursor:grabbing;color:var(--ed-accent);opacity:1}.grip:focus-visible{outline:2px solid var(--focus);outline-offset:0;opacity:1}.card-head:hover .grip,.bullet:hover .grip,.row-edit:hover .grip,.layout-row:hover .grip{opacity:1}.grip-space{width:18px;display:inline-block}.is-dragging{z-index:10;border-radius:var(--ed-radius);background:var(--ed-surface);box-shadow:var(--ed-drag);position:relative}.icon-button{width:28px;height:28px;color:var(--ed-muted);cursor:pointer;transition:opacity var(--ed-fast) ease, background var(--ed-fast) ease, color var(--ed-fast) ease;background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--ed-hover);color:var(--ink)}.icon-button.danger:hover:not(:disabled){background:var(--ed-error-soft);color:var(--ed-error)}.icon-button:disabled{opacity:.3;cursor:default}.icon-button:focus-visible{outline:2px solid var(--focus);outline-offset:0}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}@media (hover:hover){.reveal{opacity:0}.card-head:hover .reveal,.card-head:focus-within .reveal,.bullet:hover .reveal,.bullet:focus-within .reveal,.row-edit:hover .reveal,.row-edit:focus-within .reveal,.reveal:focus-visible{opacity:1}}.cards{flex-direction:column;gap:8px;display:flex}.card{border:1px solid var(--ed-border);border-radius:var(--ed-radius);background:var(--ed-surface);box-shadow:var(--ed-lift);transition:border-color var(--ed-fast) ease, box-shadow var(--ed-fast) ease}.card:hover{border-color:var(--ed-border-strong)}.card-open{border-color:var(--ed-border-strong);box-shadow:0 6px 24px #00000012}.card.is-dragging{box-shadow:var(--ed-drag)}.card-problem{box-shadow:inset 3px 0 0 var(--ed-error), var(--ed-lift)}.card-wip{border-style:dashed}.card-off:not(.card-open),.card-wip:not(.card-open){background:var(--ed-surface-2);box-shadow:none}.card-off .card-title,.card-off .card-dates,.card-wip .card-title,.card-wip .card-dates{opacity:.55}.card-head{align-items:center;gap:2px;min-height:48px;padding:0 6px 0 4px;display:flex}.card-toggle{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;align-self:stretch;align-items:center;gap:10px;padding:6px 6px 6px 8px;display:flex}.card-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.chevron{border-right:1.5px solid var(--ed-faint);border-bottom:1.5px solid var(--ed-faint);width:7px;height:7px;transition:transform .15s ease, border-color var(--ed-fast) ease;flex-shrink:0;margin:0 4px 3px 2px;transform:rotate(45deg)}.card-toggle:hover .chevron{border-color:var(--ink)}.card-open .chevron{margin-bottom:-3px;transform:rotate(-135deg)}.card-title{flex:1;align-items:baseline;gap:8px;min-width:0;line-height:1.3;display:flex}.card-title strong,.card-sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.card-title strong{flex-shrink:0;max-width:65%;font-size:14px;font-weight:650}.card-sub{min-width:0;color:var(--ed-muted);font-size:13px}.card-meta{flex-shrink:0;align-items:center;gap:6px;display:flex}.card-dates{color:var(--ed-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.chip{white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:650}.chip-wip{background:var(--ed-wip-soft);color:var(--ed-wip);letter-spacing:.04em}.chip-error{background:var(--ed-error-soft);color:var(--ed-error)}.card-body{border-top:1px solid var(--ed-border);padding:2px 18px 18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:14px;display:grid}.grid-pair{display:contents}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field-wide,.field-wip{grid-column:1/-1}.field-wip .check{white-space:normal;align-items:flex-start}.field-wip .check input{margin-top:2px}.degree-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;display:grid}.degree-row .degree-remove{margin-bottom:2px}.field-label{color:var(--ed-muted);align-items:center;gap:2px;font-size:12px;font-weight:600;display:inline-flex}.field-note{color:var(--ed-faint);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;line-height:1.3;overflow:hidden}.input{border:1px solid var(--ed-border);border-radius:var(--ed-radius-sm);background:var(--ed-surface);width:100%;min-height:32px;color:var(--ink);font:inherit;transition:border-color var(--ed-fast) ease, box-shadow var(--ed-fast) ease;padding:5px 9px}.input::placeholder{color:var(--ed-faint)}.input:hover{border-color:var(--ed-border-strong)}.input:focus{border-color:var(--ed-accent);box-shadow:0 0 0 3px var(--ed-accent-soft);outline:none}.input:disabled{opacity:.5}.input-with-check{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.input-with-check .input{flex:130px;width:auto;min-width:0}.textarea{resize:vertical;field-sizing:content;min-height:52px;font-family:var(--font-serif);font-size:14.5px;line-height:1.4}.check{color:var(--ed-muted);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:inline-flex}.check input{accent-color:var(--ed-accent);margin:0}.bullets{margin-top:22px}.bullets-head{align-items:center;gap:8px;margin:0 0 8px;display:flex}.count{font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex-shrink:0;margin-left:auto;padding:1px 8px;font-size:12px;font-weight:600}.count-ok{color:var(--ed-ok);background:#1f7a4d1a}.count-off{background:var(--ed-error-soft);color:var(--ed-error)}.bullet-list{flex-direction:column;gap:6px;margin:0 0 10px;padding:0;list-style:none;display:flex}.bullet{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:start;gap:4px;padding:2px 0;display:grid}.bullet>.grip,.bullet-tick{margin-top:6px}.bullet .textarea{margin-left:2px}.bullet.is-dragging{padding:6px 6px 6px 0}.bullet-off .textarea{color:var(--ed-muted);background:0 0;border-style:dashed}.bullet-tools{flex-direction:column;align-items:center;gap:2px;width:40px;padding-top:7px;display:flex}.meter{font-variant-numeric:tabular-nums;font-size:11.5px;line-height:18px}.meter-ok{color:var(--ed-faint)}.meter-tight{color:var(--ed-warn);font-weight:600}.meter-over{color:var(--ed-error);font-weight:700}.add-line{margin-left:48px}.rows-edit,.layout-list{border:1px solid var(--ed-border);border-radius:var(--ed-radius);background:var(--ed-surface);box-shadow:var(--ed-lift);flex-direction:column;margin:0 0 10px;padding:4px;list-style:none;display:flex}.row-edit,.layout-row{border-radius:8px;align-items:start;gap:6px;padding:6px 6px 6px 4px;display:grid}.row-edit+.row-edit,.layout-row+.layout-row{box-shadow:0 -1px 0 var(--ed-border)}.row-edit:hover,.layout-row:hover{background:var(--ed-surface-2)}.row-edit.is-dragging,.layout-row.is-dragging{background:var(--ed-surface);box-shadow:var(--ed-drag)}.row-edit{grid-template-columns:auto auto minmax(110px,165px) minmax(0,1fr) auto}.row-edit>.grip,.row-edit>.tick,.row-edit>.icon-button{margin-top:2px}.row-edit>input.input{font-weight:600}.row-off>.input,.row-off .row-text{color:var(--ed-muted);background:0 0;border-style:dashed}.row-edit .row-text{resize:none;min-height:32px;font-family:inherit;font-size:14px;line-height:1.4}.layout-head{margin:18px 0 6px}.layout-title{font-family:var(--font-serif);letter-spacing:-.01em;margin:0;font-size:22px;font-weight:600}.layout-sub{color:var(--ed-muted);margin:2px 0 0;font-size:13px}.layout-sub code{background:var(--ed-hover);border-radius:4px;padding:0 4px;font-size:12px}.layout-settings{grid-template-columns:minmax(0,1fr) 120px;gap:12px;max-width:440px;margin:14px 0 6px;display:grid}.layout-row{grid-template-columns:auto auto minmax(0,1fr) auto 44px;align-items:center}.layout-label{background:0 0;border-color:#0000;min-height:30px;font-weight:600}.layout-label:hover{border-color:var(--ed-border);background:var(--ed-surface)}.layout-label-off{color:var(--ed-muted);padding:0 10px;font-weight:500}.layout-key{color:var(--ed-faint);font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:11.5px}.layout-tally{color:var(--ed-muted);font-variant-numeric:tabular-nums;text-align:right;font-size:12px}.layout-row-off{min-height:42px}.layout-row-off .layout-tally{color:var(--ed-faint)}.layout-note{color:var(--ed-muted);align-items:center;gap:4px;margin:0 0 10px;font-size:12.5px;display:flex}.layout-order{margin-top:18px}.view-switch{border:1px solid var(--ed-border);background:var(--ed-surface);border-radius:9px;padding:2px;display:inline-flex}.view-switch button{color:var(--ed-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 12px;font-size:13px;font-weight:500}.view-switch button[aria-selected=true]{background:var(--button-bg);color:var(--button-ink)}.editor .view-switch{display:none}.editor-message{min-height:100dvh;color:var(--ed-muted);align-content:center;place-items:center;gap:12px;display:grid}.login{place-items:center;min-height:100dvh;padding:16px;display:grid}.login-card{border:1px solid var(--ed-border);background:var(--ed-surface);width:min(360px,100%);box-shadow:var(--shadow);border-radius:14px;padding:28px}.login-card h1{font-family:var(--font-serif);margin-bottom:18px;font-size:24px}.login-form{flex-direction:column;gap:14px;display:flex}.login-form .button{justify-content:center}.login-back{color:var(--ed-muted);margin-top:18px;font-size:13px;display:inline-block}@container edit (min-width:640px){.card-body .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@container edit (max-width:640px){.tabs{gap:0;padding-inline:8px}.tab{padding-inline:7px;font-size:12.5px}.tab:after{left:5px;right:5px}}@container edit (max-width:580px){.tab{padding-inline:5px}.tab:after{left:3px;right:3px}}@container edit (max-width:540px){.card-dates,.card-sub{display:none}.row-edit{grid-template-columns:auto auto 110px minmax(0,1fr) auto}.layout-key{display:none}.layout-row{grid-template-columns:auto auto minmax(0,1fr) 40px}}@container edit (max-width:420px){.grid{grid-template-columns:minmax(0,1fr)}.card-body{padding-inline:12px}.bullet{grid-template-columns:auto auto minmax(0,1fr)}.bullet-tools{flex-direction:row-reverse;grid-column:3;justify-content:space-between;width:auto;padding-top:0}.add-line{margin-left:46px}.row-edit{grid-template-columns:auto auto minmax(0,1fr) auto}.row-edit .row-text{grid-area:2/3/auto/-1}.layout-settings{grid-template-columns:minmax(0,1fr) 90px}}@media (max-width:999px){.editor .view-switch{display:inline-flex}.editor-panes{grid-template-columns:minmax(0,1fr)}.splitter,.editor.view-edit .pane.pane-preview,.editor.view-preview .pane.pane-edit{display:none}}@media (max-width:720px){.editor-bar{flex-wrap:wrap;gap:8px 10px;padding:8px 12px}.editor-mode{display:none}.editor-actions{justify-content:flex-end;width:100%}.status{max-width:none;margin-right:auto}.pane-edit{padding:0 12px 48px}.tabs{margin:0 -12px 4px;padding:6px 6px 0}}@media (max-width:520px){.editor-title{display:none}.version-switch button{min-width:0;padding-inline:8px}}@media (prefers-reduced-motion:reduce){.card,.chevron,.tick-box,.grip,.icon-button,.input,.tab,.tab:after,.ghost-button,.version-switch button,.splitter:before,.splitter:after{transition:none}}.editor-shelf-link{color:var(--ed-muted);white-space:nowrap;font-size:13px;font-weight:550;text-decoration:none}.editor-shelf-link:hover{color:var(--ink);text-underline-offset:3px;text-decoration:underline}
