/* High-fidelity visual layer. Business state remains in model.js. */
@font-face{font-family:'Work Sans';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/WorkSans-Regular.ttf') format('truetype')}
@font-face{font-family:'Work Sans';font-style:normal;font-weight:700 900;font-display:swap;src:url('assets/fonts/WorkSans-Bold.ttf') format('truetype')}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/LibreBaskerville-Regular.ttf') format('truetype')}
:root{--body:'Work Sans','Hiragino Sans GB','PingFang SC','Microsoft YaHei',sans-serif;--display:'Libre Baskerville','Baskerville',serif;--soft:#b8b5bc;--dark-line:#454149;--surface-raised:#2e2c31;--ops-surface:#fff;--success-bg:#e5f2eb;--success-text:#1d785e;--warning-bg:#fbefdb;--warning-text:#805724;--danger-bg:#f8e5e9;--danger-text:#ad2f3f;--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-20:20px;--space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--radius-small:8px;--radius-control:12px;--radius-card:16px;--radius-poster:20px;--radius-pill:99px}
body{background:var(--paper)}
.workspace-header{padding-top:24px;padding-bottom:24px}
.brand{font-size:20px;letter-spacing:-.8px}
.brand small{font-size:9px;letter-spacing:2px;font-weight:400}
.mode-switch button,.module-nav button,.text-button{min-height:44px}
.module-nav button{padding:18px 28px}
.demo-ribbon{font-size:11px;letter-spacing:2px;padding-top:8px;padding-bottom:8px}
.identity-bar{font-size:12px}
.workbench{padding-top:34px;padding-bottom:64px}
.consumer-wrap{gap:64px}
.screen-intro{max-width:250px;padding-top:54px}
.screen-intro h1{font-size:40px;line-height:1.25;letter-spacing:-1.4px}
.screen-intro p,.step-list li{font-size:14px}
.phone{min-height:844px;border-radius:24px;box-shadow:0 32px 80px #1a17251f}
.phone-header{padding:16px 20px;min-height:72px}
.phone-header .wordmark{font-size:13px;letter-spacing:1px}
.phone .icon-button{min-width:44px;min-height:44px}
.phone .badge{font-size:10px}
.phone-body{padding:24px}
.phone h2{font-size:28px;line-height:1.35;letter-spacing:-.8px}
.phone h3{font-size:18px;line-height:1.4}
.phone p,.phone small,.phone .notice,.phone label,.phone input,.phone select,.phone textarea,.phone .screen-note,.phone .context-card p,.phone .context-card strong,.phone .state-list,.phone .inline-link{font-size:14px;line-height:1.6}
.phone small{display:inline-block}
.phone .eyebrow{font-size:10px;letter-spacing:1.5px;color:#d1a58f}
.phone .button,.phone .version-card .button{min-height:48px;font-size:14px;line-height:20px;font-weight:700;border-radius:12px}
.phone .button.secondary{background:var(--surface-raised);border-color:var(--dark-line)}
.phone .button.ghost{border-color:var(--dark-line)}
.phone .inline-link{min-height:44px}
.film-stage{margin:12px 16px 0;min-height:390px;padding:18px;border-radius:20px;background:linear-gradient(180deg,#1414160a 0%,#14141600 30%,#141416b3 67%,#141416 100%),url('assets/the-last-letter-original-cover.png') center 30%/cover}
.film-stage::before,.film-stage::after{content:none}
.film-stage+.phone-body:empty{display:none}
.film-top{gap:8px;font-size:9px}
.film-top .badge{background:#141416ad;font-size:9px;letter-spacing:.7px}
.film-bottom .film-title{font-size:30px;line-height:1.25;letter-spacing:-.8px;max-width:290px}
.film-bottom small{font-size:11px;color:#d2c8c7;line-height:1.5}
.film-bottom .progress{height:4px;margin-top:16px}
.film-bottom progress{display:block;appearance:none;width:100%;height:4px;border:0;background:transparent;color:var(--orange)}
.film-bottom progress::-webkit-progress-bar{background:#ffffff30;border-radius:4px}
.film-bottom progress::-webkit-progress-value{background:linear-gradient(90deg,var(--orange),var(--rose));border-radius:4px}
.film-bottom progress::-moz-progress-bar{background:linear-gradient(90deg,var(--orange),var(--rose));border-radius:4px}
.film-controls{font-size:11px}
.film-controls button{width:44px;height:44px;font-size:16px;box-shadow:0 6px 24px #0002}
.node-card{padding:18px;margin-top:12px;background:linear-gradient(125deg,#2d282b,var(--surface));border:1px solid var(--dark-line)}
.node-card h3{font-size:20px;line-height:1.4;letter-spacing:-.3px}
.node-card p{margin-bottom:16px}
.bottom-actions{padding-top:12px}
.bottom-actions p{margin:0}
.bottom-actions small{font-size:12px}
.version-card{padding:14px;margin:12px 0;background:var(--surface);border-color:var(--dark-line);border-radius:16px}
.version-art,.version-art.b,.version-art.c{width:68px;height:94px;border-radius:8px;background:linear-gradient(0deg,#141416a6,#14141608),url('assets/the-last-letter-original-cover.png') 38% 25%/cover;color:white;font-size:24px;align-items:flex-end;justify-content:flex-start;padding:8px;text-shadow:0 1px 8px #000}
.version-art.b{background-position:75% 35%}
.version-art.c{background-position:50% 50%}
.version-card h3{font-size:20px}
.version-card p{font-size:14px;line-height:1.5}
.version-card small{font-size:11px}
.source-label{font-size:12px;line-height:1.6}
.context-card{padding:16px;border:1px solid #ffffff0f;background:var(--surface)}
.change-types{gap:8px}
.change-types button{min-height:52px;font-size:14px;border-radius:12px}
.change-types button small{font-size:10px;margin-top:4px}
.phone textarea{min-height:128px;border-color:#625762}
.storyboard{gap:8px}
.storyboard div{height:148px;padding:10px;background:linear-gradient(180deg,#14141622,#141416bd),url('assets/the-last-letter-original-cover.png') 20% 30%/cover}
.storyboard div:nth-child(2){background:linear-gradient(180deg,#14141622,#141416bd),url('assets/the-last-letter-original-cover.png') 75% 35%/cover}
.storyboard div:nth-child(3){background:linear-gradient(180deg,#14141622,#141416bd),url('assets/the-last-letter-original-cover.png') 45% 65%/cover}
.storyboard span{font-size:9px;line-height:1.4;color:#fff}
.storyboard b{font-family:var(--body);font-weight:700;font-size:14px;line-height:1.35;color:#faf8f6}
.quote{padding:20px;background:linear-gradient(140deg,#33272d,#242126);border-color:#68525e}
.quote .amount{font-size:36px;font-weight:700;letter-spacing:-1.5px}
.quote .amount small{font-size:14px;font-weight:400;letter-spacing:0}
.quote .meta-row{font-size:14px;line-height:1.5}
.quote small{font-size:14px}
.private-label{font-size:11px;padding:6px 10px;letter-spacing:.4px}
.ops-shell{border-radius:20px;border-color:#d5d6d2;box-shadow:0 20px 50px #17191d08}
.ops-sidebar{background:#19191d;color:#ebe8e5}
.ops-sidebar h2{font-size:15px;letter-spacing:.2px}
.ops-sidebar p{color:#b8b5bc;font-size:12px}
.ops-sidebar button{min-height:44px}
.ops-card{border-radius:16px;box-shadow:0 2px 0 #17191d02}
.ops-card h2{font-size:17px;letter-spacing:-.25px}
.ops-card p,.ops-card label,.ops-table,.ops-card .gate-list{font-size:14px;line-height:1.65}
.ops-card .mini{font-size:12px;line-height:1.6}
.ops-button{min-height:42px;font-size:13px;border-radius:9px}
.ops-top h1{letter-spacing:-1px}
.status{font-size:11px;line-height:18px;letter-spacing:.1px}
.dialog-head h2{font-family:var(--display);font-size:24px;line-height:1.4}
#action-dialog p{font-size:14px;line-height:1.65}
#action-dialog button{min-height:44px}
@media(max-width:1100px){.consumer-wrap{gap:36px}.workbench{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.consumer-wrap{gap:0}.workbench{padding-top:16px;padding-left:12px;padding-right:12px}.phone{border-radius:18px;flex-basis:auto;max-width:390px;width:100%}.phone-body{padding:20px}.phone h2{font-size:27px}.workspace-header{padding:16px 12px;gap:8px}.brand{font-size:16px}.mode-switch button{font-size:11px;padding:6px 9px}.module-nav button{font-size:12px;padding:12px 10px;min-height:52px}.demo-ribbon{padding-left:12px;padding-right:12px;font-size:10px}.identity-bar{flex-wrap:wrap;gap:6px;padding:12px}.identity-bar select{max-width:210px}.phone .meta-row{flex-wrap:wrap}.ops-card{padding:16px}.ops-card p,.ops-card label,.ops-table{font-size:14px}.film-stage{min-height:380px;margin-left:12px;margin-right:12px}.film-bottom .film-title{font-size:28px}.node-card{margin-left:12px;margin-right:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
