@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*{box-sizing:border-box} html,body{min-height:100%} body{margin:0;overflow:hidden;font-family:Inter,"Apple SD Gothic Neo",system-ui,sans-serif} button{font:inherit;cursor:pointer}.hidden{display:none!important}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.stage{min-height:100vh;display:grid;place-items:center;padding:20px}.app-shell{position:relative;width:min(404px,calc(100vw - 28px));height:min(920px,calc(100vh - 28px));min-height:800px;display:flex;flex-direction:column;gap:12px;overflow:hidden}.screen{display:none;flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}.screen::-webkit-scrollbar{display:none}.screen.active{display:block}.mono{margin:0;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800}.view-head{margin:4px 0 14px}.view-head h2{margin:4px 0 0;font-size:25px;line-height:1.05;letter-spacing:-.06em}.primary{width:100%;min-height:48px;border:0;font-weight:800}.bottom-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px}.bottom-nav button{min-height:48px;border:0;font-weight:800}.overlay{position:absolute;z-index:20;left:16px;right:16px;top:92px;bottom:86px;padding:18px;overflow:auto}.close{float:right;width:36px;height:36px;border:0}.mission-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mission-grid button,.answer{min-height:52px;text-align:left;padding:12px;border:0}.rank-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid currentColor}.panel-img{width:100%;max-height:260px;object-fit:cover}.big-number{font-size:72px;font-weight:900;letter-spacing:-.08em}.toast{position:absolute;left:18px;right:18px;bottom:88px;z-index:30;padding:12px;text-align:center;font-weight:800}

/* V1: Vercel Precision — white canvas, black ink, technical deployment cards. */
.theme-vercel{background:radial-gradient(circle at 18% 8%,rgba(0,124,240,.22),transparent 30%),radial-gradient(circle at 82% 12%,rgba(255,0,128,.18),transparent 28%),radial-gradient(circle at 62% 92%,rgba(249,203,40,.22),transparent 28%),#fff;color:#171717}.theme-vercel .app-shell{background:#fff;border:1px solid #e5e5e5;border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.14);padding:18px}.vercel-hero{padding:8px 0 12px;border-bottom:1px solid #ebebeb}.brand-row{display:flex;align-items:center;gap:10px}.triangle{width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:19px solid #171717}.brand-row b{font-size:19px}.brand-row button{margin-left:auto;border:1px solid #ddd;background:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.vercel-hero .mono,.theme-vercel .mono{color:#888}.vercel-hero h2{margin:12px 0 6px;font-size:42px;line-height:.92;letter-spacing:-.085em}.vercel-hero p:last-child{margin:0;color:#555;font-size:14px;line-height:1.45}.deploy-card{margin-top:14px;border:1px solid #e5e5e5;border-radius:18px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.06);padding:14px}.deploy-top{display:flex;align-items:center;gap:8px;font-size:12px}.deploy-top em{margin-left:auto;color:#666;font-style:normal}.status-dot{width:9px;height:9px;border-radius:50%;background:#0070f3}.deploy-meter{height:9px;background:#f0f0f0;border-radius:999px;margin:14px 0;overflow:hidden}.deploy-meter i{display:block;height:100%;background:#171717}.deploy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.deploy-grid div{border:1px solid #eee;border-radius:14px;padding:10px}.deploy-grid small{display:block;color:#888}.deploy-grid strong{font-size:20px}.theme-vercel .primary,.theme-vercel .bottom-nav button.active{background:#171717;color:#fff;border-radius:999px}.pipeline{display:grid;gap:10px;margin-top:12px}.pipeline-step{display:grid;grid-template-columns:42px 1fr;gap:8px;text-align:left;border:1px solid #e8e8e8;background:#fafafa;border-radius:16px;padding:12px}.pipeline-step span{grid-row:span 2;color:#0070f3;font-weight:900}.pipeline-step b{font-size:15px}.pipeline-step small{color:#666}.pipeline-step.active{background:#171717;color:#fff}.pipeline-step.active small{color:#ccc}.vercel-list{display:grid;gap:10px}.vercel-item{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:12px;border:1px solid #e5e5e5;background:#fff;border-radius:16px;padding:10px;text-align:left}.vercel-item img{width:72px;height:56px;object-fit:cover;border-radius:12px;filter:grayscale(.85)}.vercel-item small,.doc-card p{color:#666}.vercel-item em{font-style:normal;color:#0070f3;font-weight:800}.doc-card{border:1px solid #e6e6e6;border-radius:18px;padding:16px;margin-bottom:12px;background:#fff}.doc-card h3{font-size:24px;line-height:1.05;margin:8px 0}.theme-vercel .bottom-nav{border:1px solid #e5e5e5;border-radius:20px;background:#fafafa}.theme-vercel .bottom-nav button{background:transparent;color:#666;border-radius:14px}.theme-vercel .overlay{background:#fff;border:1px solid #e5e5e5;border-radius:20px;box-shadow:0 25px 70px rgba(0,0,0,.22)}.theme-vercel .close,.theme-vercel .mission-grid button,.theme-vercel .answer{background:#f5f5f5;border-radius:14px;color:#171717}.theme-vercel .toast{background:#171717;color:#fff;border-radius:14px}

/* V2: Linear Focus — issue board, near-black surfaces, lavender accent. */
.theme-linear{background:radial-gradient(circle at 50% -10%,rgba(94,106,210,.26),transparent 38%),#010102;color:#f7f8f8}.theme-linear .app-shell{background:linear-gradient(180deg,#101113,#050506);border:1px solid #23252a;border-radius:28px;box-shadow:0 36px 120px rgba(0,0,0,.72);padding:16px}.linear-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #23252a;padding-bottom:14px}.linear-top h2{margin:4px 0 0;font-size:32px;letter-spacing:-.07em}.theme-linear .mono{color:#828fff}.linear-top button{border:1px solid #34343a;background:#0f1011;color:#d0d6e0;border-radius:12px;padding:10px 12px}.issue-hero{margin-top:14px;background:#0f1011;border:1px solid #23252a;border-radius:20px;padding:16px}.issue-code{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(94,106,210,.14);color:#828fff;font-size:12px;font-weight:800}.issue-hero h2{font-size:28px;line-height:1.05;margin:12px 0 8px;letter-spacing:-.06em}.issue-hero p{color:#b1b7c4;font-size:14px}.linear-progress{height:8px;background:#23252a;border-radius:999px;overflow:hidden}.linear-progress i{display:block;height:100%;background:#5e6ad2;box-shadow:0 0 18px rgba(94,106,210,.8)}.issue-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.issue-card{min-height:130px;text-align:left;border:1px solid #23252a;background:#0f1011;color:#f7f8f8;border-radius:18px;padding:13px}.issue-card small{color:#828fff}.issue-card b{display:block;margin:12px 0 6px;font-size:18px}.issue-card span{color:#b1b7c4;font-size:12px}.issue-card.priority{border-color:#5e6ad2}.timeline-card{background:#0f1011;border:1px solid #23252a;border-radius:18px;padding:14px}.timeline-card div{display:flex;gap:10px;color:#b1b7c4;font-size:13px;margin-top:12px}.timeline-card i{width:8px;height:8px;border-radius:50%;background:#5e6ad2;margin-top:5px}.linear-stack{display:grid;gap:9px}.linear-row,.insight-row{display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;background:#0f1011;border:1px solid #23252a;color:#f7f8f8;border-radius:14px;padding:13px}.linear-row span{grid-column:1;color:#b1b7c4;font-size:12px}.linear-row em,.insight-row em{font-style:normal;color:#828fff;font-size:12px}.insight-row{grid-template-columns:38px 1fr auto;align-items:center;margin-bottom:10px}.insight-row span{color:#828fff;font-weight:900}.theme-linear .primary,.theme-linear .bottom-nav button.active{background:#5e6ad2;color:#fff;border-radius:14px}.theme-linear .bottom-nav{border:1px solid #23252a;border-radius:20px;background:#0a0b0c}.theme-linear .bottom-nav button{background:transparent;color:#8a8f98;border-radius:14px}.theme-linear .overlay{background:#0f1011;border:1px solid #34343a;border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.6)}.theme-linear .close,.theme-linear .mission-grid button,.theme-linear .answer{background:#141516;color:#f7f8f8;border-radius:12px}.theme-linear .toast{background:#5e6ad2;color:#fff;border-radius:14px}

/* V3: Figma Blocks — monochrome frame interrupted by sticky-note color panels. */
.theme-figma{background:linear-gradient(135deg,#dceeb1 0 27%,#c5b0f4 27% 54%,#f4ecd6 54% 78%,#efd4d4 78%);color:#000}.theme-figma .app-shell{background:#fff;border:2px solid #000;border-radius:30px;box-shadow:10px 10px 0 #000;padding:14px}.figma-top{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:2px solid #000;border-radius:22px;background:#fff;padding:10px}.figma-top h2{margin:4px 0 0;font-size:24px;letter-spacing:-.06em}.figma-top button{border:2px solid #000;background:#dceeb1;border-radius:999px;padding:8px 10px;font-weight:900}.figma-dots{display:grid;grid-template-columns:repeat(2,14px);gap:4px}.figma-dots i{width:14px;height:14px;border:2px solid #000;border-radius:50%}.figma-dots i:nth-child(1){background:#ff3d8b}.figma-dots i:nth-child(2){background:#dceeb1}.figma-dots i:nth-child(3){background:#c5b0f4}.figma-dots i:nth-child(4){background:#000}.canvas-board{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.sticky,.sticker,.note-card{border:2px solid #000;border-radius:22px;box-shadow:5px 5px 0 #000;color:#000;text-align:left}.sticky{min-height:142px;padding:13px}.sticky small{font-weight:900}.sticky b{display:block;margin:12px 0 6px;font-size:23px;line-height:1.02;letter-spacing:-.06em}.sticky span{font-size:12px}.lime{background:#dceeb1}.lilac{background:#c5b0f4}.mint{background:#c8e6cd}.coral{background:#f3c9b6}.cat-strip{display:grid;grid-template-columns:112px 1fr;gap:12px;margin-top:14px;border:2px solid #000;border-radius:24px;background:#f4ecd6;box-shadow:5px 5px 0 #000;padding:10px}.cat-strip img{width:112px;height:112px;border:2px solid #000;border-radius:18px;object-fit:cover}.cat-strip h3{margin:6px 0;font-size:20px;line-height:1.05}.cat-strip p:last-child{font-size:12px}.sticker-list{display:grid;gap:10px}.sticker{display:grid;grid-template-columns:78px 1fr;gap:10px;align-items:center;padding:10px}.sticker img{width:78px;height:62px;object-fit:cover;border:2px solid #000;border-radius:14px}.sticker b{font-size:18px}.sticker span{font-size:12px}.note-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.note-card{min-height:118px;padding:14px;font-size:18px;font-weight:900}.theme-figma .primary,.theme-figma .bottom-nav button.active{background:#000;color:#fff;border-radius:999px}.theme-figma .bottom-nav{border:2px solid #000;border-radius:22px;background:#fff;box-shadow:4px 4px 0 #000}.theme-figma .bottom-nav button{background:transparent;color:#000;border-radius:999px}.theme-figma .overlay{background:#fff;border:2px solid #000;border-radius:22px;box-shadow:8px 8px 0 #000}.theme-figma .close,.theme-figma .mission-grid button,.theme-figma .answer{background:#dceeb1;border:2px solid #000;border-radius:16px;color:#000}.theme-figma .toast{background:#000;color:#fff;border-radius:14px}

@media(max-width:460px){.stage{padding:12px}.app-shell{width:calc(100vw - 42px);height:calc(100vh - 24px);min-height:0}.vercel-hero h2{font-size:38px}.theme-figma .app-shell{box-shadow:5px 5px 0 #000}.sticky{min-height:126px}.cat-strip{grid-template-columns:92px 1fr}.cat-strip img{width:92px;height:92px}}

/* QA fix: avoid phone-shell edge clipping and reduce suspicious empty lower area on mobile screenshots. */
.app-shell{height:min(840px,calc(100vh - 64px));width:min(384px,calc(100vw - 64px));}
.screen.active{display:flex;flex-direction:column;}
.theme-vercel .pipeline,.theme-linear .timeline-card,.theme-figma .cat-strip{margin-bottom:12px;}
@media(max-width:460px){
  .app-shell{width:calc(100vw - 72px)!important;height:min(840px,calc(100vh - 72px))!important;}
  .stage{padding:18px!important;}
}

/* Final mobile QA pass: keep every phone fully in-frame and remove excess vertical dead space. */
@media(max-width:460px){
  .app-shell{width:min(348px,calc(100vw - 88px))!important;height:min(760px,calc(100vh - 88px))!important;min-height:0!important;}
  .theme-figma .app-shell{box-shadow:4px 4px 0 #000!important;}
  .bottom-nav{flex:0 0 auto;}
}

/* Public cache-bust QA: extra conservative mobile inset so rounded shells/shadows never touch the screenshot edge. */
@media(max-width:460px){
  .app-shell{width:min(320px,calc(100vw - 104px))!important;height:min(720px,calc(100vh - 104px))!important;}
  .theme-vercel .app-shell,.theme-linear .app-shell{box-shadow:0 18px 55px rgba(0,0,0,.18)!important;}
}

/* Cross-browser QA hard cap: desktop-headless and mobile browsers both keep the phone inset. */
.app-shell{width:320px!important;height:720px!important;min-height:0!important;}
@media(max-width:380px){.app-shell{width:calc(100vw - 64px)!important;height:calc(100vh - 64px)!important;}}

/* V1 content needs a bit more vertical room at the safe width so cards never sit under nav. */
.app-shell{height:800px!important;}
@media(max-height:860px){.app-shell{height:calc(100vh - 64px)!important;}}

/* V1 compacting: keep the full deployment flow above the bottom nav in QA viewport. */
.theme-vercel .vercel-hero{padding-bottom:8px!important;}
.theme-vercel .vercel-hero h2{font-size:32px!important;margin:8px 0 4px!important;}
.theme-vercel .deploy-card{margin-top:8px!important;padding:10px!important;}
.theme-vercel .deploy-grid{gap:6px!important;margin-bottom:8px!important;}
.theme-vercel .deploy-grid div{padding:7px!important;}
.theme-vercel .deploy-grid strong{font-size:16px!important;}
.theme-vercel .deploy-meter{margin:8px 0!important;}
.theme-vercel .pipeline{gap:6px!important;margin-top:8px!important;}
.theme-vercel .pipeline-step{grid-template-columns:28px 1fr!important;padding:8px!important;border-radius:12px!important;}
.theme-vercel .pipeline-step b{font-size:13px!important;}
.theme-vercel .pipeline-step small{font-size:11px!important;}

/* V1 readability: keep hero headline spacing human-readable at compact width. */
.theme-vercel .vercel-hero h2{letter-spacing:-.035em!important;word-spacing:.08em!important;line-height:1.02!important;}


/* Wireframe-preserving redesign: DESIGN.md skin changes only; original graph/form geometry stays. */
.wire-app{padding:14px!important;gap:10px!important;}
.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;padding:10px 0 12px;border-bottom:1px solid var(--skin-line,#e5e5e5)}
.app-topbar b{display:block;font-size:22px;letter-spacing:-.055em}.app-topbar button{border:1px solid var(--skin-line,#ddd);background:var(--skin-soft,#f7f7f7);color:inherit;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}.wire-app .screen{padding:0 2px 2px}.wire-app .screen.active{gap:8px}.box-title{margin:0 0 7px;font-size:12px;font-weight:900;color:var(--skin-muted,#666)}
.timer-box,.box,.content-card,.room-card,.room-add,.theme-tabs button{border:1px solid var(--skin-line,#ddd);background:var(--skin-card,#fff);color:inherit;border-radius:18px}.timer-box{padding:12px;text-align:center}.timer-box>small{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900;color:var(--skin-muted,#666)}.timer-face{position:relative;width:126px;height:126px;margin:8px auto}.timer-svg{width:126px;height:126px;transform:rotate(-90deg)}.timer-bg,.timer-progress{fill:none;stroke-width:10}.timer-bg{stroke:var(--skin-soft,#eee)}.timer-progress{stroke:var(--skin-accent,#111);stroke-linecap:round;stroke-dasharray:314;stroke-dashoffset:63}.timer-label{position:absolute;inset:0;display:grid;place-items:center;align-content:center}.timer-label strong{font-size:40px;line-height:.9;letter-spacing:-.08em}.timer-label span{font-size:13px;color:var(--skin-muted,#666)}.timer-summary{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:2px}.timer-summary p{margin:0;font-size:13px}.safe,.safe-text{color:var(--skin-accent,#111);font-weight:900}.timer-track{height:8px;border-radius:999px;background:var(--skin-soft,#eee);overflow:hidden}.timer-track i{display:block;height:100%;background:var(--skin-accent,#111);border-radius:999px}.room-title{margin:2px 0 0}.room-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.room-card,.room-add{min-height:76px;text-align:left;padding:10px}.room-card small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--skin-muted,#666);font-weight:900}.room-card b{display:block;margin:4px 0;font-size:16px;line-height:1.05}.room-card span,.room-add span{font-size:12px;color:var(--skin-muted,#666)}.room-card.active{border-color:var(--skin-accent,#111);box-shadow:0 0 0 2px color-mix(in srgb,var(--skin-accent,#111) 20%,transparent)}.room-add{display:grid;place-items:center;text-align:center;font-size:22px;font-weight:900}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.box{padding:10px}.box.compact small{display:block;font-size:10px;color:var(--skin-muted,#666);font-weight:800}.box.compact b{font-size:16px}.muted{color:var(--skin-muted,#666)}
.theme-tabs{display:flex;gap:6px;overflow:hidden}.theme-tabs button{padding:8px 10px;font-weight:900;font-size:12px}.theme-tabs button.active{background:var(--skin-accent,#111);color:var(--skin-on-accent,#fff)}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.content-card{overflow:hidden;text-align:left;padding:0}.content-card img,.content-card .thumb{width:100%;aspect-ratio:16/9;object-fit:cover;display:grid;place-items:center;background:var(--skin-soft,#eee);color:var(--skin-muted,#666);font-weight:900}.content-card b{display:block;padding:8px 9px 2px;font-size:14px}.content-card span{display:block;padding:0 9px 9px;font-size:11px;color:var(--skin-muted,#666)}
.ratio-box p{margin:5px 0 3px;font-size:12px}.line{height:8px;border-radius:999px;background:var(--skin-soft,#eee);overflow:hidden}.line::before{content:"";display:block;height:100%;background:var(--skin-accent,#111);border-radius:999px}.w80::before{width:80%}.w55::before{width:55%}.w35::before{width:35%}.usage-graph-box{padding:10px}.line-usage-chart{display:grid;grid-template-columns:26px 1fr;gap:6px;height:118px}.line-y-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:var(--skin-muted,#666);text-align:right}.line-plot{position:relative}.grid-line{position:absolute;left:0;right:0;height:1px;background:var(--skin-line,#ddd)}.grid-line.top{top:16px}.grid-line.mid{top:58px}.line-plot svg{position:absolute;inset:4px 0 18px;width:100%;height:90px}.line-plot polyline{fill:none;stroke:var(--skin-accent,#111);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.line-plot circle{fill:var(--skin-card,#fff);stroke:var(--skin-accent,#111);stroke-width:3}.time-labels{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;font-size:10px;color:var(--skin-muted,#666)}.stack-chart{display:grid;grid-template-columns:26px 1fr;gap:6px;height:116px}.y-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:var(--skin-muted,#666);text-align:right;padding-bottom:16px}.bars-area{position:relative;display:flex;align-items:flex-end;justify-content:space-around;padding-bottom:16px}.stack-col{position:relative;width:22px;height:78px;display:flex;flex-direction:column-reverse;border-radius:8px;overflow:hidden;background:var(--skin-soft,#eee)}.stack-col::after{content:attr(data-time);position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);font-size:10px;color:var(--skin-muted,#666)}.stack-col i{display:block;width:100%}.insta{background:#ff3d8b}.youtube{background:#ff5a3d}.tiktok{background:var(--skin-accent,#111)}.stack-col.today{outline:2px solid var(--skin-accent,#111)}
.theme-vercel{--skin-card:#fff;--skin-line:#e5e5e5;--skin-soft:#f5f5f5;--skin-muted:#666;--skin-accent:#111;--skin-on-accent:#fff}.theme-linear{--skin-card:#0f1011;--skin-line:#2a2d34;--skin-soft:#191b20;--skin-muted:#a4aab6;--skin-accent:#5e6ad2;--skin-on-accent:#fff}.theme-figma{--skin-card:#fff;--skin-line:#000;--skin-soft:#f4ecd6;--skin-muted:#333;--skin-accent:#000;--skin-on-accent:#fff}.theme-figma .timer-box,.theme-figma .box,.theme-figma .content-card,.theme-figma .room-card,.theme-figma .room-add,.theme-figma .theme-tabs button{border-width:2px;box-shadow:3px 3px 0 #000}.theme-figma .room-card.active{background:#dceeb1}.theme-linear .timer-progress,.theme-linear .line::before,.theme-linear .timer-track i{filter:drop-shadow(0 0 12px rgba(94,106,210,.45))}
@media(max-width:460px){.wire-app .screen.active{gap:7px}.timer-face{width:116px;height:116px}.timer-svg{width:116px;height:116px}.timer-label strong{font-size:36px}.room-card,.room-add{min-height:68px}.content-grid{gap:7px}.line-usage-chart{height:104px}.stack-chart{height:104px}.stack-col{height:68px}}

/* Graph QA polish: preserve original graph shapes but keep axis labels from touching. */
.line-usage-chart{grid-template-columns:34px 1fr!important;}
.line-y-axis{padding-right:6px!important;}
.time-labels{padding-left:12px!important;}
.stack-chart{grid-template-columns:34px 1fr!important;}
.y-axis{padding-right:6px!important;}
.stack-col.today{outline:0;box-shadow:0 0 0 2px var(--skin-accent,#111);}
