:root{--bg:#f6f4ee;--ink:#24352c;--muted:#737b70;--line:#dedfd4;--orange:#b94b28;--paper:#fffcf5}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:DM Sans,Arial,sans-serif;font-size:14px}a{color:inherit;text-underline-offset:4px}header{border-bottom:1px solid var(--line);align-items:center;gap:50px;height:92px;padding:0 6%;display:flex}.brand{letter-spacing:1px;align-items:center;gap:10px;font-weight:700;text-decoration:none;display:flex}.brandmark{background:var(--ink);color:var(--paper);border-radius:9px;padding:1px 11px 5px;font-family:Georgia,serif;font-size:32px}.subbrand{color:var(--muted);border-left:1px solid var(--line);padding-left:8px;font-size:10px}nav{gap:30px;display:flex}nav a{font-size:13px;text-decoration:none}.pilot{letter-spacing:2px;color:var(--muted);border:1px solid var(--line);border-radius:20px;margin-left:auto;padding:8px 12px;font-size:10px}main{max-width:1280px;min-height:calc(100vh - 164px);margin:auto;padding:64px 5% 80px}.heading{max-width:750px}.eyebrow,.section-label{letter-spacing:1.7px;font-size:10px;font-weight:700}.eyebrow{color:var(--orange);margin-bottom:20px}h1{letter-spacing:-1.2px;margin:0 0 20px;font-family:Libre Caslon Display,Georgia,serif;font-size:56px;font-weight:400;line-height:1.02}p{color:var(--muted);line-height:1.7}h2{font-family:Libre Caslon Display,Georgia,serif;font-size:28px;font-weight:400}.title-row{justify-content:space-between;gap:40px;margin-bottom:38px;display:flex}.wallet{border-left:1px solid var(--line);flex-shrink:0;align-self:center;min-width:158px;padding-left:30px}.wallet>span{letter-spacing:2px;color:var(--muted);font-size:9px}.wallet strong{margin:9px 0;font-size:35px;font-weight:500;display:block}.wallet small{color:var(--muted);font-size:13px;font-weight:400}.wallet a{color:var(--orange);font-size:12px}.workspace{grid-template-columns:1fr 1.12fr;gap:24px;display:grid}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;margin-bottom:24px;padding:28px}.section-label{align-items:center;gap:8px;margin-bottom:28px;display:flex}.tag{letter-spacing:1px;border:1px solid var(--line);color:var(--muted);border-radius:4px;margin-left:auto;padding:6px 8px;font-size:8px}.dot{background:var(--orange);border-radius:50%;width:7px;height:7px}label{margin-bottom:16px;font-weight:500;display:block}textarea,input{font:inherit;color:var(--ink);border:1px solid var(--line);background:#fbfaf6;border-radius:6px;outline:none;padding:15px}textarea:focus,input:focus{border-color:var(--orange);box-shadow:0 0 0 2px #b94b281c}textarea{resize:vertical;width:100%;height:215px;line-height:1.8;display:block}textarea::placeholder{color:#989b8e}input{width:100%;margin-top:10px;display:block}.input-meta{color:var(--muted);justify-content:space-between;gap:15px;margin:12px 0 28px;font-size:10px;display:flex}button{font:inherit;background:var(--ink);border:1px solid var(--ink);color:var(--paper);cursor:pointer;border-radius:6px;padding:13px 18px;transition:background .15s}button:hover{background:#38503f}button:disabled{opacity:.5;cursor:not-allowed}.composer>button{justify-content:space-between;width:100%;display:flex}.muted{color:var(--muted);font-size:11px;line-height:1.7}.composer>p{margin:18px 0 0;font-size:11px}.result{background:#eeefe7;flex-direction:column;display:flex}.empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:300px;padding:20px;display:flex}.empty .book{color:#a9b39b;font-family:Georgia,serif;font-size:55px}.empty h2{margin:20px 0 0}.empty p{max-width:270px;font-size:12px}.story-output{white-space:pre-wrap;max-height:620px;font-family:Georgia,serif;font-size:17px;line-height:1.9;overflow:auto}.actions{gap:10px;margin-top:25px;display:flex}.secondary{color:var(--ink);background:0 0;border-color:#bcc2b4}.secondary:hover{background:#e1e5da}.quiet{color:var(--muted);background:0 0;border:0;padding:14px 0;font-size:12px}.quiet:hover{color:var(--ink);background:0 0}.notice{border-left:3px solid var(--orange);background:#eee5d7;margin:20px 0;padding:14px 18px;font-size:13px;line-height:1.6}.history{margin-top:24px}.history .section-label{justify-content:space-between;margin-bottom:12px}.history-row{text-align:left;width:100%;color:var(--ink);border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;align-items:center;gap:20px;padding:18px 0;display:flex}.history-row:hover{background:#eaece2}.history-row>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.status{text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-size:10px}.status.succeeded{color:#407749}.narrow{max-width:560px;margin:20px auto}.narrow .heading{margin-bottom:35px}.narrow button:not(.quiet){width:100%}.pack{letter-spacing:-4px;margin-top:10px;font-size:80px}.pack span{letter-spacing:0;color:var(--muted);font-size:20px}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:20px;padding:24px 6%;font-size:10px;display:flex}footer span:first-child{letter-spacing:2px}.controls{flex-wrap:wrap;gap:15px;display:flex}.data-table{overflow:auto}.data-table h2{text-transform:capitalize}table{border-collapse:collapse;font-size:11px}td,th{text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere;max-width:300px;padding:12px}th{color:var(--muted)}code{overflow-wrap:anywhere;font-size:11px}@media (max-width:850px){header{gap:20px;padding:0 5%}nav{gap:16px}.subbrand,.pilot{display:none}main{padding-top:40px}h1{font-size:43px}.title-row{gap:15px}.wallet{min-width:110px;padding-left:15px}.workspace{grid-template-columns:1fr}.card{padding:22px}footer span:nth-child(2){display:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
