.proto *, .proto *::before, .proto *::after {box-sizing: border-box;}
.proto {color-scheme: light dark;
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;

    /* light */
    --bg: #E7ECEA; --bg-2: #DDE3E1;
    --surface: #FFFFFF; --surface-2: #F2F5F4; --surface-3: #E7EDEB;
    --text: #0F1B1D; --text-soft: #33474A; --muted: #5C6E6F; --faint: #8FA0A0;
    --border: rgba(15,27,29,0.12); --border-strong: rgba(15,27,29,0.22);

    --ink: #0B1618; --ink-2: #12242A; --ink-3: #1B343B;
    --ink-text: #E6EEEC; --ink-muted: #7F9797; --ink-border: rgba(230,238,236,0.14);

    --signal: #0E9C90; --signal-bright: #17C4B4; --signal-soft: rgba(23,196,180,0.14);
    --gold: #B7791F; --gold-bright: #F0B24B; --gold-soft: rgba(240,178,75,0.16);
    --danger: #C1554A; --danger-bright: #E7796B;

    --shadow-sm: 0 1px 2px rgba(11,22,24,.06), 0 2px 8px rgba(11,22,24,.05);
    --shadow-md: 0 6px 24px rgba(11,22,24,.10);
    --shadow-device: 0 50px 90px -30px rgba(6,16,18,.6), 0 16px 40px -14px rgba(6,16,18,.45);

    --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px;}
@media (prefers-color-scheme: dark) {
.proto {--bg: #05100F; --bg-2: #030A0A;
      --surface: #0F1C1E; --surface-2: #16282B; --surface-3: #1D3237;
      --text: #E7EEEC; --text-soft: #B7C6C4; --muted: #859897; --faint: #5E7472;
      --border: rgba(231,238,236,0.12); --border-strong: rgba(231,238,236,0.22);
      --ink: #060F10; --ink-2: #0E1E22; --ink-3: #163037; --ink-text: #E6EEEC; --ink-muted: #7F9797; --ink-border: rgba(230,238,236,0.13);
      --signal: #23C9BA; --signal-bright: #2FD9C9; --signal-soft: rgba(35,201,186,0.15);
      --gold: #E7AE58; --gold-bright: #F3BB63; --gold-soft: rgba(240,178,75,0.16);
      --danger: #E0685A; --danger-bright: #EC8072;
      --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.35);
      --shadow-md: 0 8px 30px rgba(0,0,0,.5);
      --shadow-device: 0 54px 100px -28px rgba(0,0,0,.8), 0 18px 44px -14px rgba(0,0,0,.6);}
}
.proto button {font: inherit; cursor: pointer; color: inherit;}
.proto ::selection {background: var(--signal-soft);}
.proto .mono {font-family: var(--font-mono); font-variant-numeric: tabular-nums;}
.proto :focus-visible {outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 8px;}
.proto .stage {height: 100dvh; min-height: 480px; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 16px; padding: 22px 16px; overflow: hidden;}
.proto .device {position: relative; width: 392px; max-width: 100%; height: min(848px, 100%); align-self: center;
    border-radius: 54px; padding: 13px;
    background: linear-gradient(155deg, #29393e, #0a1416 62%);
    box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,.06);}
.proto .device::after {content:""; position:absolute; right:-3px; top:150px; width:3px; height:70px; border-radius:3px; background:linear-gradient(#3a4d52,#18292d);}
.proto .app {position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);}
.proto .statusbar {display: flex; align-items: center; justify-content: space-between; padding: 12px 24px 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: .02em;}
.proto .statusbar .sig {display: inline-flex; gap: 5px; align-items: center;}
.proto .statusbar svg {width: 16px; height: 12px;}
.proto .views {position: relative; flex: 1; overflow: hidden;}
.proto .view {position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
    display: flex; flex-direction: column; gap: 14px; padding: 6px 20px 22px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;}
.proto .view::-webkit-scrollbar {width: 5px;}
.proto .view::-webkit-scrollbar-thumb {background: var(--border-strong); border-radius: 999px;}
.proto .view.active {opacity: 1; visibility: visible; transform: none;}
.proto .view > * {flex-shrink: 0;}
.proto .view.flow-in {animation: flowIn .34s cubic-bezier(.2,.7,.2,1);}
@keyframes flowIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.proto .tabbar {display: grid; grid-template-columns: repeat(5,1fr); gap: 2px;
    padding: 7px 8px calc(9px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border);}
.proto .app.no-tabs .tabbar {display: none;}
.proto .tab {border: 0; background: transparent; padding: 7px 2px 5px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .02em; color: var(--faint); border-radius: 12px; transition: color .18s ease;}
.proto .tab svg {width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;}
.proto .tab:hover {color: var(--muted);}
.proto .tab.active {color: var(--signal);}
.proto .eyebrow {font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--signal); margin: 0;}
.proto .eyebrow.gold {color: var(--gold);}
.proto h1, .proto h2, .proto h3, .proto h4 {font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; margin: 0; text-wrap: balance;}
.proto .lbl {font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);}
.proto .row {display: flex; align-items: center; justify-content: space-between; gap: 10px;}
.proto .card {background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 15px;}
.proto .card.tight {padding: 13px; border-radius: var(--r-md);}
.proto .muted {color: var(--muted);}
.proto .apphead {display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px;}
.proto .brandrow {display: flex; align-items: center; gap: 10px;}
.proto .logo {width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(150deg, var(--ink-3), var(--ink)); color: var(--signal-bright); box-shadow: inset 0 0 0 1px var(--ink-border);}
.proto .logo svg {width: 19px; height: 19px;}
.proto .brandrow .id strong {font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em; display: block; line-height: 1.1;}
.proto .brandrow .id small {font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .06em;}
.proto .streak {display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; color: var(--gold); padding: 6px 10px 6px 8px; border-radius: 999px; background: var(--gold-soft);}
.proto .streak svg {width: 13px; height: 13px;}
.proto .backbtn {width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text); flex: 0 0 auto;}
.proto .backbtn svg {width: 18px; height: 18px;}
.proto .cta {width: 100%; border: 0; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 15px 18px; border-radius: var(--r-md); font-family: var(--font-display); font-weight: 700; font-size: 15px;
    background: var(--signal); color: #04211E; transition: transform .12s ease, filter .2s ease;}
.proto .cta:hover {filter: brightness(1.05); transform: translateY(-1px);}
.proto .cta:disabled {opacity: .45; filter: none; transform: none; cursor: default;}
.proto .cta.gold {background: var(--gold); color: #241503;}
.proto .cta.mt0 {margin-top: 0;}
.proto .cta svg {width: 17px; height: 17px;}
.proto .ghost {width: 100%; border: 1px solid var(--border-strong); background: transparent; padding: 13px 16px; border-radius: var(--r-md); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-soft); display: flex; align-items: center; justify-content: center; gap: 8px;}
.proto .ghost:hover {background: var(--surface-2);}
.proto .textlink {align-self: center; background: none; border: 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; padding: 6px; text-decoration: underline; text-underline-offset: 3px;}
.proto .textlink:hover {color: var(--signal);}
.proto .progress {height: 4px; border-radius: 999px; background: var(--surface-3); overflow: hidden;}
.proto .progress > i {display: block; height: 100%; border-radius: 999px; background: var(--signal); transition: width .4s cubic-bezier(.2,.7,.2,1);}
.proto .hero-h {font-size: clamp(32px, 9vw, 40px); line-height: .98; letter-spacing: -.045em; margin-top: 8px;}
.proto .lede {color: var(--text-soft); font-size: 15px; margin: 0;}
.proto .promise {display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;}
.proto .promise article {padding: 14px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2);}
.proto .promise b {font-family: var(--font-mono); font-size: 11px; color: var(--signal);}
.proto .promise h4 {font-size: 14px; margin: 12px 0 4px;}
.proto .promise p {margin: 0; font-size: 11px; color: var(--muted); line-height: 1.4;}
.proto .aside {padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--r-md) var(--r-md) 0;}
.proto .aside strong {font-family: var(--font-display); font-size: 14px;}
.proto .aside span {display: block; font-size: 12px; color: var(--text-soft); margin-top: 3px; line-height: 1.45;}
.proto .step-head h2 {font-size: 27px; letter-spacing: -.035em; line-height: 1.03; margin-top: 8px;}
.proto .step-head p {color: var(--muted); font-size: 13.5px; margin: 8px 0 0;}
.proto .band-grid {display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;}
.proto .opt {border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); color: var(--text); padding: 0; min-height: 60px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: 17px; transition: border-color .15s, background .15s, color .15s;}
.proto .opt[aria-pressed="true"] {border-color: var(--signal); background: var(--signal-soft); color: var(--signal);}
.proto .stacklist {display: grid; gap: 9px;}
.proto .choice {text-align: left; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); padding: 14px 16px; display: grid; gap: 3px; transition: border-color .15s, background .15s;}
.proto .choice[aria-pressed="true"] {border-color: var(--signal); background: var(--signal-soft);}
.proto .choice strong {font-family: var(--font-display); font-size: 14px;}
.proto .choice small {font-size: 12px; color: var(--muted);}
.proto .datefield {display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2);}
.proto .datefield span {font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em;}
.proto .datefield input {width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px; background: var(--surface); color: var(--text); font: inherit;}
.proto .review {display: grid; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;}
.proto .review div {display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2);}
.proto .review div:last-child {border-bottom: 0;}
.proto .review dt {color: var(--muted); font-size: 12.5px;}
.proto .review dd {margin: 0; font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px;}
.proto .diag-grid {display: grid; gap: 9px;}
.proto .diag-card {display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2);}
.proto .diag-card .n {width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; background: var(--signal-soft); color: var(--signal);}
.proto .diag-card .skl {font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--signal);}
.proto .diag-card h4 {font-size: 14px; margin: 2px 0 2px;}
.proto .diag-card small {font-size: 11px; color: var(--muted);}
.proto .metricrow {display: grid; grid-template-columns: 1fr 1fr; gap: 9px;}
.proto .metricrow > div {padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2);}
.proto .metricrow span {font-size: 11px; color: var(--muted); font-family: var(--font-mono);}
.proto .metricrow strong {display: block; font-size: 19px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; margin-top: 3px;}
.proto .passage {border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); padding: 14px; font-size: 13px; line-height: 1.6; color: var(--text-soft);}
.proto .tf {border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); padding: 13px 14px;}
.proto .tf p {margin: 0 0 10px; font-size: 13px; line-height: 1.45;}
.proto .seg {display: grid; grid-template-columns: repeat(3,1fr); gap: 6px;}
.proto .seg button {border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--muted); padding: 9px 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; transition: .15s;}
.proto .seg button[aria-pressed="true"] {border-color: var(--signal); background: var(--signal-soft); color: var(--signal);}
.proto .essay {display: grid; gap: 8px;}
.proto .essay textarea {width: 100%; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); color: var(--text); padding: 13px; font: inherit; line-height: 1.5; min-height: 150px; resize: vertical;}
.proto .counter {display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted);}
.proto .spinner {width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--surface-3); border-top-color: var(--signal); animation: spin .8s linear infinite; margin: 0 auto;}
@keyframes spin { to { transform: rotate(360deg); } }
.proto .center-state {flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;}
.proto .grade-pills {display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;}
.proto .grade-pills span {font-family: var(--font-mono); font-size: 10px; padding: 6px 10px; border-radius: 999px; background: var(--signal-soft); color: var(--signal);}
.proto .grade-pills span.pending {background: var(--gold-soft); color: var(--gold);}
.proto .instrument {position: relative; border-radius: var(--r-lg); padding: 16px 16px 18px; overflow: hidden; color: var(--ink-text);
    background: radial-gradient(120% 80% at 85% -10%, rgba(35,201,186,.18), transparent 60%), linear-gradient(165deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--ink-border);}
.proto .instrument .lbl {color: var(--ink-muted);}
.proto .inst-top {display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;}
.proto .readout {display: flex; align-items: baseline; gap: 8px;}
.proto .readout .big {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 58px; line-height: .88; letter-spacing: -.03em; color: #fff;}
.proto .readout .pm {font-family: var(--font-mono); font-size: 15px; color: var(--signal-bright);}
.proto .trend {display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12px; color: var(--signal-bright); margin-top: 8px;}
.proto .trend svg {width: 12px; height: 12px;}
.proto .target-chip {font-family: var(--font-mono); font-size: 11px; color: var(--gold-bright); padding: 5px 9px; border-radius: 999px; background: rgba(240,178,75,.14); border: 1px solid rgba(240,178,75,.24); white-space: nowrap;}
.proto .ladder {position: relative; margin-top: 16px; height: 148px; display: flex; gap: 12px;}
.proto .ladder-scale {position: relative; flex: 1; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--ink-border); overflow: hidden;}
.proto .tick {position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.07);}
.proto .tick span {position: absolute; left: 8px; top: -8px; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-muted);}
.proto .conf-band {position: absolute; left: 6px; right: 6px; border-radius: 8px; background: linear-gradient(180deg, rgba(35,201,186,.42), rgba(35,201,186,.14)); box-shadow: inset 0 0 0 1px rgba(35,201,186,.4); top: 50%; height: 0; opacity: 0; transition: top 1.1s cubic-bezier(.2,.7,.2,1), height 1.1s cubic-bezier(.2,.7,.2,1), opacity .6s ease;}
.proto .marker-now {position: absolute; left: 0; right: 0; height: 2px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.5); top: 50%; opacity: 0; transition: top 1.1s cubic-bezier(.2,.7,.2,1), opacity .5s ease .2s;}
.proto .marker-now::after {content: "NOW"; position: absolute; right: 6px; top: -14px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; color: #fff;}
.proto .marker-target {position: absolute; left: 0; right: 0; border-top: 2px dashed var(--gold-bright); opacity: .9;}
.proto .marker-target::after {content: "TARGET 7.0"; position: absolute; left: 6px; top: -13px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .08em; color: var(--gold-bright);}
.proto .ladder.play .conf-band, .proto .ladder.play .marker-now {opacity: 1;}
.proto .ladder-legend {width: 92px; display: flex; flex-direction: column; justify-content: center; gap: 11px;}
.proto .legend-item {font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); line-height: 1.3;}
.proto .legend-item b {display: block; font-size: 14px; color: var(--ink-text);}
.proto .legend-item .sw {display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle;}
.proto .rail {height: 6px; border-radius: 999px; background: var(--surface-3); margin-top: 12px; overflow: hidden;}
.proto .rail > i {display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--signal), var(--signal-bright)); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1);}
.proto .big-num {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 30px; font-weight: 600; letter-spacing: -.02em;}
.proto .route .steps {display: grid; gap: 8px; margin-top: 12px;}
.proto .rstep {display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center;}
.proto .rstep .n {width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; background: var(--signal-soft); color: var(--signal);}
.proto .rstep strong {font-size: 13px; font-family: var(--font-display); letter-spacing: -.01em;}
.proto .rstep small {display: block; font-size: 11px; color: var(--muted);}
.proto .rstep.prod .n {background: var(--gold-soft); color: var(--gold);}
.proto .nudge {border-left: 3px solid var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 12px 14px;}
.proto .nudge strong {color: var(--danger); font-family: var(--font-display); font-size: 13px;}
.proto .nudge p {margin: 4px 0 0; font-size: 12px; color: var(--text-soft); line-height: 1.5;}
.proto .path {position: relative; display: grid; gap: 2px; padding-left: 4px;}
.proto .path::before {content: ""; position: absolute; left: 20px; top: 22px; bottom: 22px; width: 2px; background: var(--border-strong);}
.proto .wnode {position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 7px 0; align-items: start;}
.proto .wnode .mk {z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--surface); border: 2px solid var(--border-strong); color: var(--muted);}
.proto .wnode .bd {background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px 13px;}
.proto .wnode .wk {font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);}
.proto .wnode h4 {font-size: 14px; margin: 3px 0 0;}
.proto .wnode p {margin: 4px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.45;}
.proto .chips {display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px;}
.proto .chips span {font-family: var(--font-mono); font-size: 9px; padding: 3px 7px; border-radius: 999px; background: var(--surface-3); color: var(--muted);}
.proto .wnode.done .mk {border-color: color-mix(in srgb, var(--signal) 55%, var(--border)); background: var(--signal-soft); color: var(--signal);}
.proto .wnode.active .mk {border-color: var(--signal); background: var(--signal); color: #04211E; box-shadow: 0 0 0 4px var(--signal-soft);}
.proto .wnode.active .bd {border-color: color-mix(in srgb, var(--signal) 40%, var(--border)); background: color-mix(in srgb, var(--signal-soft) 55%, var(--surface));}
.proto .wnode.boss .mk {border-color: var(--gold); color: var(--gold); background: var(--gold-soft);}
.proto .wnode.boss .bd {border-style: dashed; border-color: color-mix(in srgb, var(--gold) 40%, var(--border));}
.proto .wnode.up .bd {opacity: .72;}
.proto .sizes {display: grid; gap: 9px;}
.proto .size {display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); padding: 14px 16px; text-align: left;}
.proto .size[aria-pressed="true"] {border-color: var(--signal); box-shadow: 0 0 0 2px var(--signal-soft);}
.proto .size strong {font-family: var(--font-display); font-size: 15px; text-transform: capitalize;}
.proto .size span {font-family: var(--font-mono); font-size: 12px; color: var(--muted);}
.proto .modes-mini {display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
.proto .mm {border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); padding: 12px 13px; position: relative; overflow: hidden; text-align: left;}
.proto .mm::before {content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--c, var(--signal));}
.proto .mm .w {font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);}
.proto .mm h4 {font-size: 15px; margin: 3px 0 2px;}
.proto .mm small {font-size: 10.5px; color: var(--muted); line-height: 1.3; display: block;}
.proto .flashcard {flex: 1 0 auto; min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); padding: 22px; text-align: left;}
.proto .flashcard .fr {font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em;}
.proto .flashcard .rev {color: var(--muted); font-size: 14px; line-height: 1.5;}
.proto .flashcard .rev.hidden {color: var(--faint); font-family: var(--font-mono); font-size: 12px;}
.proto .flashcard blockquote {margin: 0; padding-left: 12px; border-left: 3px solid var(--signal); color: var(--text-soft); font-size: 13px; line-height: 1.5;}
.proto .flashcard .rar {font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);}
.proto .rate {display: grid; grid-template-columns: repeat(4,1fr); gap: 6px;}
.proto .rate button {border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 11px 4px; font-family: var(--font-mono); font-size: 11px; text-transform: capitalize; color: var(--text-soft);}
.proto .rate button:hover {border-color: var(--signal); color: var(--signal);}
.proto .payoff-hero {text-align: left; padding-top: 6px;}
.proto .payoff-hero h2 {font-size: 30px; letter-spacing: -.04em; margin-top: 8px;}
.proto .tickcard {border-radius: var(--r-lg); padding: 16px; background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--ink-text); box-shadow: inset 0 0 0 1px var(--ink-border);}
.proto .tickcard .t1 {font-family: var(--font-display); font-weight: 700; font-size: 17px;}
.proto .tickcard .t1 em {font-style: normal; color: var(--gold-bright);}
.proto .tickcard .t2 {font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); margin-top: 6px; letter-spacing: .03em;}
.proto .awardcard {border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--border)); border-radius: var(--r-md); background: var(--surface-2); padding: 13px 15px; position: relative;}
.proto .awardcard .rr {position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold);}
.proto .awardcard .ph {font-family: var(--font-display); font-weight: 700; font-size: 15px;}
.proto .awardcard .mn {font-size: 11.5px; color: var(--muted); margin-top: 2px;}
.proto .awardcard .er {font-family: var(--font-mono); font-size: 9.5px; color: var(--faint); margin-top: 8px; display: flex; align-items: center; gap: 5px;}
.proto .awardcard .er svg {width: 11px; height: 11px; color: var(--signal);}
.proto .verdict .big {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: .9;}
.proto .verdict .big .of {font-size: 18px; color: var(--muted);}
.proto .crit-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
.proto .crit {background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 11px 12px;}
.proto .crit .name {font-size: 10.5px; color: var(--muted); line-height: 1.25; min-height: 26px;}
.proto .crit .val {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 600; margin-top: 2px;}
.proto .crit .bar {height: 4px; border-radius: 999px; background: var(--surface-3); margin-top: 8px; overflow: hidden;}
.proto .crit .bar > i {display: block; height: 100%; border-radius: 999px; background: var(--signal);}
.proto .crit.low .bar > i {background: var(--danger);}
.proto .crit.low .val {color: var(--danger);}
.proto .nextfix {border-left: 3px solid var(--signal); background: var(--signal-soft); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 13px 15px;}
.proto .nextfix .lbl {color: var(--signal);}
.proto .nextfix p {margin: 6px 0 0; font-size: 13px; line-height: 1.5;}
.proto .nextfix em {font-style: normal; font-weight: 700; color: var(--signal);}
.proto .xp-line {display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--gold-soft);}
.proto .xp-line .amt {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 20px; color: var(--gold);}
.proto .xp-line small {font-size: 10.5px; color: var(--text-soft); font-family: var(--font-mono);}
.proto .mult {font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--gold); padding: 4px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);}
.proto .collect {display: grid; gap: 10px;}
.proto .collectible {position: relative; border-radius: var(--r-md); padding: 13px 14px; background: var(--surface); border: 1px solid var(--border);}
.proto .collectible .ph {font-family: var(--font-display); font-weight: 700; font-size: 15px;}
.proto .collectible .mn {font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.4;}
.proto .collectible .rr {position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px;}
.proto .rr.common {background: var(--surface-3); color: var(--muted);}
.proto .rr.rare {background: var(--signal-soft); color: var(--signal);}
.proto .rr.epic {background: var(--gold-soft); color: var(--gold);}
.proto .rr.legendary {background: linear-gradient(90deg, var(--signal-soft), var(--gold-soft)); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent);}
.proto .collectible.b-rare {border-color: color-mix(in srgb, var(--signal) 30%, var(--border));}
.proto .collectible.b-leg {border-color: color-mix(in srgb, var(--gold) 34%, var(--border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 14%, transparent), var(--shadow-sm);}
.proto .collectible .er {font-family: var(--font-mono); font-size: 9.5px; color: var(--faint); margin-top: 9px; display: flex; align-items: center; gap: 5px;}
.proto .collectible .er svg {width: 11px; height: 11px; color: var(--signal);}
.proto .radar-wrap {display: grid; place-items: center; padding: 4px 0 2px;}
.proto #radar-you, .proto #radar-diag {width: 236px; height: 214px;}
.proto .radar-legend {display: flex; justify-content: center; gap: 14px; margin-top: 2px;}
.proto .radar-legend span {font-family: var(--font-mono); font-size: 10px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px;}
.proto .radar-legend .sw {width: 10px; height: 10px; border-radius: 3px;}
.proto .gap {border-radius: var(--r-md); padding: 15px 16px; line-height: 1.42; background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--ink-text); box-shadow: inset 0 0 0 1px var(--ink-border);}
.proto .gap .q {font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -.02em;}
.proto .gap .q em {font-style: normal; color: var(--gold-bright);}
.proto .gap .s {font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); margin-top: 8px; letter-spacing: .06em;}
.proto .skill-rows {display: grid; gap: 7px;}
.proto .srow {display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center;}
.proto .srow .nm {font-size: 12px; color: var(--text-soft);}
.proto .srow .tr {height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden;}
.proto .srow .tr > i {display: block; height: 100%; border-radius: 999px; background: var(--signal);}
.proto .srow .b {font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600;}
.proto .srow .b .d {color: var(--signal); font-size: 10px;}
.proto .tree {display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);}
.proto .tree b {color: var(--text);}
.proto .tree svg {width: 11px; height: 11px; color: var(--faint);}
.proto .leaguerow {display: flex; align-items: center; justify-content: space-between; gap: 10px;}
.proto .leaguerow .lt {font-family: var(--font-display); font-weight: 700; font-size: 14px;}
.proto .leaguerow .rk {font-family: var(--font-mono); font-size: 12px; color: var(--gold);}
.proto .stage-cap {font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; text-align: center; max-width: 40ch;}
.proto .stage-cap b {color: var(--text); font-weight: 600;}
@media (prefers-reduced-motion: reduce) {
.proto * {animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important;}
}

/* ---- embedded in the landing page ---------------------------------------
   The prototype above is the app's own design, scoped under .proto so its
   palette (teal signal, gold, ink) and generic class names cannot leak out.
   Below: only what embedding needs. ---------------------------------------- */
.proto { font-family: var(--font-body); line-height: 1.55; color: var(--text); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.proto p { margin-block: 1em; }
.proto h1, .proto h2, .proto h3, .proto h4, .proto h5 { line-height: inherit; }
.proto .device { width: 380px; max-width: 100%; height: 780px; align-self: center; flex: none; }
.proto .stage-cap { margin: 0; }
@media (max-width: 440px) { .proto .device { height: 720px; } }
