:root{--canvas: #fbf7ef;--surface: #ffffff;--sunken: #f4ede0;--text: #2b2620;--text-2: #6b6154;--text-muted: #9a9081;--border: #e6ddcd;--border-strong: #d8cbb4;--accent: #c0562f;--accent-hover: #a8481f;--accent-wash: #f6e7de;--choice: #2f6f6a;--choice-bg: #e4efee;--success: #2e7d46;--success-bg: #edf3ea;--success-border: #c6e0c9;--warn: #8a5a16;--warn-bg: #fbf0dc;--warn-border: #ead3a0;--error: #a33526;--error-bg: #f8e7e2;--error-border: #e7c3b8;--code: #241f19;--code-text: #ede6d6;--font-head: "Fraunces", Georgia, "Times New Roman", serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;--radius-chip: 6px;--radius-input: 8px;--radius-card: 10px;--radius-pill: 999px;--shadow-card: 0 1px 2px rgba(43, 38, 32, .06);--shadow-hover: 0 2px 6px rgba(43, 38, 32, .1);color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body{margin:0}body{font-family:var(--font-body);font-size:14px;line-height:1.45;color:var(--text);background:var(--canvas);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,.story-title{font-family:var(--font-head);font-weight:600;line-height:1.15;color:var(--text)}h1{font-size:28px;letter-spacing:-.01em;margin:0 0 4px}h2{font-size:20px;margin:0 0 12px}h1 small,h2 small{font-family:var(--font-body);font-weight:400}.prose{font-family:var(--font-head);font-size:16px;line-height:1.5}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{font-family:var(--font-body);font-size:14px;font-weight:500;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-input);padding:6px 12px;cursor:pointer;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease,transform 80ms ease}button:hover:not(:disabled){border-color:var(--border-strong);background:var(--sunken)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.5;cursor:not-allowed}input:not([type]),input[type=text],input[type=email],input[type=search],input[type=url],input[type=number],input[type=password],textarea,select{font-family:var(--font-body);font-size:14px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-input);padding:6px 10px;transition:border-color .12s ease,box-shadow .12s ease}textarea{line-height:1.5;resize:vertical}input::placeholder,textarea::placeholder{color:var(--text-muted)}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}table{border-collapse:collapse}pre{background:var(--code);color:var(--code-text);border-radius:var(--radius-card);padding:12px;overflow:auto;font-family:var(--font-mono);font-size:12.5px;line-height:1.5}code{font-family:var(--font-mono)}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-pill);border:2px solid var(--canvas)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}button.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}button.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}button.btn-danger:hover:not(:disabled){background:var(--error-bg);border-color:var(--error-border);color:var(--error)}.card{transition:box-shadow .15s ease,border-color .15s ease,background .15s ease}.card:hover{box-shadow:var(--shadow-hover)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.approve-toggle{cursor:pointer;-webkit-user-select:none;user-select:none}.approve-toggle:focus-within{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-pill)}.stepper{display:flex;align-items:center;gap:2px;flex-wrap:wrap}.stepper-rule{width:14px;height:1px;background:var(--border);flex:0 0 auto}.stepper button{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border:1px solid transparent;border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);font-size:13px;font-weight:500}.stepper button:hover:not([aria-current]){background:var(--sunken);border-color:transparent}.stepper button[data-state=done]{color:var(--text)}.stepper button[aria-current]{background:var(--accent-wash);color:var(--accent);font-weight:600}.stepper button[aria-current]:hover{background:var(--accent-wash)}.stepper .dot{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;flex:0 0 auto}.stepper button[data-state=done] .dot,.stepper button[aria-current] .dot{background:var(--accent);border-color:var(--accent);color:#fff}.stepper button[data-export=locked] .dot{border-style:dashed}.stepper button[data-export=ready]{color:var(--success)}.stepper button[data-export=ready] .dot{background:var(--success);border-color:var(--success);color:#fff}
