/* Second Look platform shell + Numbers mode. The original Words styles stay in
   index.html; this file layers the shared launcher and numerical activities on top. */
:root{
  --num-ink:#24312d;
  --num-teal:#167b6d;
  --num-teal-dark:#0f5f56;
  --num-teal-contrast:#ffffff;
  --num-mint:#dff3ea;
  --num-peach:#f8d9c8;
  --num-peach-dark:#a95131;
  --num-lilac:#e7dcf7;
  --num-purple:#674791;
  --num-sky:#dcecf8;
  --num-blue:#316a95;
  --num-sun:#f6dfa0;
}

.brand-button{appearance:none;flex:none;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer;white-space:nowrap;}
.brand-button>div:last-child{min-width:max-content;}
.brand-button:hover .mark{transform:rotate(-4deg) scale(1.03);}
.brand-button .mark{font-family:"Baloo 2",sans-serif;font-size:15px;font-weight:800;letter-spacing:-1px;transition:transform .18s ease;}
.product-switch{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--border);background:var(--surface);border-radius:999px;box-shadow:0 2px 9px var(--shadow);}
.product-switch button{min-height:38px;padding:7px 13px;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font:700 13px var(--font-body);cursor:pointer;}
.product-switch button[aria-current="page"]{background:var(--accent);color:var(--accent-contrast);}
.product-switch button:focus-visible,.brand-button:focus-visible,.mode-card:focus-visible,.num-button:focus-visible,.num-nav button:focus-visible,.choice-card:focus-visible,.number-track:focus-visible{outline:3px solid var(--accent);outline-offset:3px;}
.rs-wrap{flex:none;}

.home-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.7fr);gap:36px;align-items:center;padding:52px 50px;border:1px solid #cbded7;border-radius:30px;background:linear-gradient(135deg,#e7f5ef 0%,#fff9ec 58%,#f4eafa 100%);box-shadow:0 16px 50px rgba(54,74,67,.1);}
.home-hero::after{content:"";position:absolute;right:-70px;bottom:-120px;width:300px;height:300px;border:1px solid rgba(103,71,145,.18);border-radius:50%;box-shadow:0 0 0 36px rgba(103,71,145,.04),0 0 0 74px rgba(22,123,109,.035);}
.home-copy{position:relative;z-index:1;}
.home-kicker,.num-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--num-teal-dark);font-size:12px;font-weight:800;letter-spacing:.14em;}
.home-kicker::before,.num-kicker::before{content:"";width:20px;height:2px;background:currentColor;}
.home-copy h2{max-width:620px;margin:16px 0 14px;font:800 clamp(38px,7vw,62px)/.98 "Baloo 2",sans-serif;letter-spacing:-.025em;color:var(--num-ink);}
.home-copy>p{max-width:610px;margin:0;color:#50615b;font-size:18px;line-height:1.65;letter-spacing:.025em;}
.home-trust{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px;}
.home-trust span{padding:7px 10px;border:1px solid rgba(22,123,109,.15);border-radius:999px;background:rgba(255,255,255,.68);color:#426058;font-size:11px;font-weight:700;letter-spacing:.025em;}
.home-orbit{position:relative;z-index:1;width:240px;height:240px;margin:auto;border:1.5px dashed rgba(22,123,109,.35);border-radius:50%;animation:float 5s ease-in-out infinite;}
.home-orbit b{position:absolute;inset:59px;display:grid;place-items:center;border-radius:50%;background:var(--num-teal);color:white;text-align:center;font:700 20px/1.05 "Baloo 2",sans-serif;box-shadow:0 10px 30px rgba(22,123,109,.28);}
.home-orbit span,.home-orbit i{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:white;color:var(--num-purple);font:800 18px "Baloo 2",sans-serif;box-shadow:0 7px 20px rgba(54,74,67,.14);}
.home-orbit span:nth-child(1){left:8px;top:36px}.home-orbit span:nth-child(3){right:5px;top:40px}.home-orbit span:nth-child(5){right:18px;bottom:25px}.home-orbit span:nth-child(7){left:16px;bottom:18px}
.home-orbit i{width:15px;height:15px;border-radius:50%;background:var(--num-peach)}.home-orbit i:nth-child(2){right:58px;top:2px}.home-orbit i:nth-child(6){left:8px;top:126px;background:var(--num-sun)}
@keyframes float{50%{transform:translateY(-8px) rotate(2deg)}}

.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px;}
.mode-card{appearance:none;display:grid;grid-template-columns:96px 1fr;gap:22px;align-items:center;width:100%;padding:25px;border:1px solid var(--border);border-radius:24px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;box-shadow:0 5px 20px var(--shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.mode-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(43,38,32,.13);border-color:var(--accent);}
.mode-icon{display:grid;place-items:center;width:96px;height:96px;border-radius:26px;font:800 29px "Baloo 2",sans-serif;letter-spacing:-.08em;}
.mode-words .mode-icon{background:var(--num-lilac);color:var(--num-purple)}.mode-numbers .mode-icon{background:var(--num-peach);color:var(--num-peach-dark);font-size:22px;}
.mode-copy{display:flex;flex-direction:column;align-items:flex-start;}
.mode-copy small{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--text-muted);}
.mode-copy strong{margin:2px 0 4px;font:800 28px "Baloo 2",sans-serif;}
.mode-copy em{font-size:13px;font-style:normal;font-weight:400;color:var(--text-muted);line-height:1.55;letter-spacing:.025em;}
.mode-link{margin-top:12px;color:var(--accent-strong);font-size:13px;font-weight:800;}.mode-link b{display:inline-block;transition:transform .15s}.mode-card:hover .mode-link b{transform:translateX(4px)}
.home-disclaimer{max-width:700px;margin:18px auto 0;text-align:center;color:var(--text-muted);font-size:12px;line-height:1.55;}

/* Numbers shell */
.num-shell{--num-accent:var(--num-teal);}
.num-nav{display:flex;gap:6px;overflow-x:auto;margin:0 0 18px;padding:5px;border:1px solid var(--border);border-radius:15px;background:var(--surface);scrollbar-width:none;}
.num-nav::-webkit-scrollbar{display:none}.num-nav button{flex:1;min-width:max-content;min-height:42px;border:0;border-radius:11px;background:transparent;color:var(--text-muted);font:700 13px var(--font-body);cursor:pointer;padding:8px 12px;}
.num-nav button[aria-current="page"]{background:var(--num-mint);color:var(--num-teal-dark);}
.num-panel{padding:28px;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:0 7px 25px var(--shadow);}
.num-panel+.num-panel{margin-top:18px}.num-panel.flush{padding:0;overflow:hidden;}
.num-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.2fr .8fr;gap:30px;min-height:360px;padding:42px;background:linear-gradient(135deg,#e4f5ed,#fff8e7 66%);border:1px solid #c9ded5;border-radius:28px;}
.num-hero-copy{position:relative;z-index:1}.num-hero h2{max-width:540px;margin:13px 0 12px;font:800 clamp(36px,6vw,56px)/1 "Baloo 2",sans-serif;color:var(--num-ink);letter-spacing:-.02em;}
.num-hero p{max-width:550px;margin:0;color:#50615b;font-size:16px;line-height:1.65;letter-spacing:.02em;}.num-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;}
.num-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1.5px solid transparent;border-radius:13px;background:var(--num-teal);color:var(--num-teal-contrast);font:800 14px var(--font-body);cursor:pointer;text-decoration:none;transition:transform .12s,background .12s;}
.num-button:hover{background:var(--num-teal-dark);transform:translateY(-1px)}.num-button.secondary{background:white;color:var(--num-teal-dark);border-color:#b9d4cb}.num-button.secondary:hover{background:var(--num-mint)}.num-button.purple{background:var(--num-purple)}.num-button.small{min-height:40px;padding:8px 13px;font-size:12px}.num-button:disabled{opacity:.45;cursor:not-allowed;transform:none;}
.hero-visual{position:relative;display:grid;place-items:center;min-height:250px}.hero-blob{position:absolute;width:260px;height:260px;border-radius:42% 58% 66% 34%/45% 33% 67% 55%;background:var(--num-peach);transform:rotate(-7deg)}
.hero-number{position:relative;display:grid;place-items:center;width:154px;height:154px;border-radius:42px;background:white;color:var(--num-purple);font:800 82px "Baloo 2",sans-serif;box-shadow:0 18px 45px rgba(68,55,42,.15);transform:rotate(4deg)}.hero-dots{position:absolute;display:grid;grid-template-columns:repeat(2,17px);gap:11px;right:9%;bottom:16%;padding:18px;border-radius:22px;background:var(--num-teal);box-shadow:0 12px 30px rgba(22,123,109,.25)}.hero-dots i{width:17px;height:17px;border-radius:50%;background:white;}
.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.mini-stat{padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--border)}.mini-stat strong{display:block;font:800 23px "Baloo 2",sans-serif;color:var(--num-teal-dark)}.mini-stat span{display:block;font-size:11px;color:var(--text-muted);letter-spacing:.025em;}
.num-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}.num-section-head h2,.num-section-head h3{font:800 26px "Baloo 2",sans-serif;color:var(--num-ink)}.num-section-head p{margin:4px 0 0;color:var(--text-muted);font-size:13px}.num-section-head .num-kicker{font-size:10px;}
.how-grid,.practice-grid,.skill-grid,.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.how-grid{grid-template-columns:repeat(4,1fr)}
.how-card,.practice-tile,.research-card{position:relative;padding:19px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.how-card b{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:11px;background:var(--num-mint);color:var(--num-teal-dark);font-size:12px}.how-card h3,.practice-tile h3,.research-card h3{font-size:15px;margin:0 0 5px}.how-card p,.practice-tile p,.research-card p{margin:0;color:var(--text-muted);font-size:12px;line-height:1.55;letter-spacing:.02em;}
.safety-note{display:flex;gap:13px;align-items:flex-start;margin-top:16px;padding:15px;border-radius:15px;background:var(--num-sky);color:#31556e;font-size:12px;line-height:1.55}.safety-note b{font-size:17px}.safety-note strong{display:block;color:#28495f;margin-bottom:2px;}

/* Number Check */
.check-shell{max-width:700px;margin:0 auto}.check-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;color:var(--text-muted);font-size:12px;font-weight:700}.check-progress{height:9px;margin-bottom:24px;overflow:hidden;border-radius:99px;background:var(--surface-2)}.check-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--num-teal),#55a88e);transition:width .25s ease}.check-card{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.check-card h2{font:800 31px "Baloo 2",sans-serif}.check-card>p{max-width:520px;margin:8px auto 22px;color:var(--text-muted);font-size:14px;line-height:1.55}.task-badge{display:inline-flex;padding:6px 11px;border-radius:999px;background:var(--num-mint);color:var(--num-teal-dark);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.dot-field{display:grid;grid-template-columns:repeat(3,34px);grid-auto-rows:34px;align-items:center;justify-items:center;gap:13px;min-height:175px;margin:22px auto}.dot-field.hidden{opacity:0}.num-dot{width:25px;height:25px;border-radius:50%;background:var(--num-purple);box-shadow:inset 0 -3px rgba(0,0,0,.08)}.dot-field .num-dot:nth-child(3n+2){background:var(--num-teal)}
.choice-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.choice-card{min-width:68px;min-height:62px;padding:8px 14px;border:2px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);font:800 27px "Baloo 2",sans-serif;cursor:pointer;box-shadow:0 3px 10px var(--shadow)}.choice-card:hover{border-color:var(--num-teal);background:var(--num-mint)}.choice-card.wide{min-width:155px;min-height:120px}.choice-card .dot-field{grid-template-columns:repeat(4,18px);grid-auto-rows:18px;gap:6px;min-height:62px;margin:0}.choice-card .num-dot{width:14px;height:14px}.choice-label{display:block;margin-top:7px;font:700 11px var(--font-body);color:var(--text-muted);letter-spacing:.04em}.representation-value{display:block;color:var(--text);font:800 34px "Baloo 2",sans-serif}
.duel-row{display:grid;grid-template-columns:1fr auto 1fr;gap:22px;align-items:center;margin:34px 0}.duel-vs{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--surface-2);color:var(--text-muted);font-size:11px;font-weight:800}
.number-line-wrap{width:min(560px,94%);padding:45px 8px 15px}.number-track{position:relative;width:100%;height:16px;border:0;border-radius:99px;background:linear-gradient(90deg,var(--num-teal),#8cc8b5);cursor:crosshair;box-shadow:0 3px 0 rgba(22,123,109,.13)}.number-track::before,.number-track::after{position:absolute;top:28px;color:var(--text);font:800 15px var(--font-body)}.number-track::before{content:attr(data-min);left:0}.number-track::after{content:attr(data-max);right:0}.number-track .target-pin{position:absolute;top:50%;width:24px;height:24px;border:4px solid white;border-radius:50%;background:var(--num-purple);box-shadow:0 3px 10px rgba(0,0,0,.2);transform:translate(-50%,-50%)}
.encouragement{min-height:22px;margin-top:16px;color:var(--num-teal-dark);font-size:13px;font-weight:700}

/* Map + dashboard */
.map-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border-radius:22px;background:linear-gradient(120deg,var(--num-mint),#fff8e8)}.map-hero h2{font:800 32px "Baloo 2",sans-serif}.map-hero p{max-width:520px;margin:5px 0 0;color:var(--text-muted);font-size:13px}.map-badge{display:grid;place-items:center;flex:none;width:96px;height:96px;border-radius:50%;background:white;border:10px solid rgba(22,123,109,.16);color:var(--num-teal-dark);font:800 19px "Baloo 2",sans-serif;text-align:center;line-height:1.05}
.skill-grid{margin-top:16px}.skill-card{padding:19px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.skill-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.skill-card h3{font-size:15px}.skill-status{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.skill-status.strong{background:var(--num-mint);color:var(--num-teal-dark)}.skill-status.developing{background:var(--num-sun);color:#765710}.skill-status.needs-practice{background:var(--num-peach);color:#88452d}.skill-meter{height:8px;margin:14px 0 10px;overflow:hidden;border-radius:99px;background:var(--surface-2)}.skill-meter i{display:block;height:100%;border-radius:inherit;background:var(--num-teal)}.skill-card p{margin:0;color:var(--text-muted);font-size:12px;line-height:1.5}.skill-meta{display:flex;justify-content:space-between;margin-top:11px;color:var(--text-muted);font-size:10px;font-weight:700}.recommend-card{display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;margin-top:16px;padding:18px;border-radius:18px;background:var(--num-lilac);border:1px solid #d4c2ec}.recommend-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:white;color:var(--num-purple);font:800 22px "Baloo 2",sans-serif}.recommend-card h3{font-size:15px}.recommend-card p{margin:3px 0 0;color:#584b69;font-size:12px}.why-box{margin-top:12px;padding:16px;border:1px dashed #b9a1d5;border-radius:15px;background:rgba(255,255,255,.5);color:#514660;font-size:12px;line-height:1.6}.why-box strong{display:block;color:var(--num-purple);margin-bottom:4px}.why-box[hidden]{display:none}
.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.dashboard-stack{display:flex;flex-direction:column;gap:16px}.profile-row{display:grid;grid-template-columns:145px 1fr 42px;gap:10px;align-items:center;margin:14px 0;font-size:12px}.profile-row .bar{height:10px;border-radius:99px;background:var(--surface-2);overflow:hidden}.profile-row .bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--num-teal),#79bfa9)}.profile-row b{text-align:right;color:var(--num-teal-dark)}.insight-card{padding:20px;border-radius:18px;background:var(--num-lilac);color:#4e405f}.insight-card small{display:block;color:var(--num-purple);font-weight:800;letter-spacing:.1em}.insight-card h3{margin:8px 0 6px;font:800 19px "Baloo 2",sans-serif}.insight-card p{margin:0;font-size:12px;line-height:1.6}.history-list{display:flex;flex-direction:column;gap:8px}.history-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--border)}.history-row:last-child{border:0}.history-row strong{display:block;font-size:12px}.history-row span{display:block;color:var(--text-muted);font-size:10px}.history-score{color:var(--num-teal-dark)!important;font-size:14px!important;font-weight:800}.sample-pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--num-sun);color:#755817;font-size:10px;font-weight:800}

/* Practice games */
.practice-tile{display:flex;flex-direction:column;min-height:220px}.practice-tile .tile-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:17px;border-radius:15px;background:var(--num-mint);color:var(--num-teal-dark);font:800 19px "Baloo 2",sans-serif}.practice-tile:nth-child(2) .tile-icon{background:var(--num-peach);color:var(--num-peach-dark)}.practice-tile:nth-child(3) .tile-icon{background:var(--num-lilac);color:var(--num-purple)}.practice-tile .num-button{align-self:flex-start;margin-top:auto}.practice-tile.recommended{border:2px solid var(--num-purple);box-shadow:0 5px 18px rgba(103,71,145,.13)}.recommended-label{position:absolute;right:12px;top:12px;padding:4px 8px;border-radius:999px;background:var(--num-purple);color:white;font-size:9px;font-weight:800;letter-spacing:.06em}
.level-note{display:inline-flex;align-self:flex-start;margin:14px 0 12px;padding:5px 9px;border-radius:999px;background:var(--surface-2);color:var(--text-muted);font-size:10px;font-weight:800}
.game-shell{max-width:720px;margin:auto}.game-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.game-top h2{font:800 27px "Baloo 2",sans-serif}.game-score{padding:7px 11px;border-radius:999px;background:var(--num-mint);color:var(--num-teal-dark);font-size:11px;font-weight:800}.trail{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:28px 0}.trail-step{position:relative;display:grid;place-items:center;aspect-ratio:1;border:2px solid var(--border);border-radius:16px;background:var(--surface-2);color:var(--text-muted);font:800 18px "Baloo 2",sans-serif}.trail-step.passed{background:var(--num-mint);border-color:#abd3c3;color:var(--num-teal-dark)}.trail-step.current{background:var(--num-purple);border-color:var(--num-purple);color:white;transform:translateY(-4px);box-shadow:0 8px 18px rgba(103,71,145,.25)}.trail-step.current::after{content:"★";position:absolute;top:-18px;color:var(--num-sun);text-shadow:0 1px #775f1e;font-size:20px}.spinner{display:grid;place-items:center;width:104px;height:104px;margin:20px auto;border:9px solid var(--num-peach);border-radius:50%;background:white;color:var(--num-peach-dark);font:800 43px "Baloo 2",sans-serif;box-shadow:0 7px 24px var(--shadow)}.game-complete{text-align:center;padding:35px}.game-complete .celebrate{font-size:52px}.game-complete h2{font:800 32px "Baloo 2",sans-serif}.game-complete p{max-width:470px;margin:6px auto 20px;color:var(--text-muted);font-size:13px}.research-card a{display:inline-flex;margin-top:12px;color:var(--num-teal-dark);font-size:11px;font-weight:800;text-underline-offset:3px}.research-card .source-label{display:block;margin-bottom:9px;color:var(--num-purple);font-size:9px;font-weight:800;letter-spacing:.11em}.legal-card{padding:22px;border-radius:18px;background:var(--num-sky);color:#31546c}.legal-card h3{font:800 20px "Baloo 2",sans-serif}.legal-card p{margin:6px 0 0;font-size:12px;line-height:1.65}.legal-card a{color:#244f6d;font-weight:800}
.trail-equation{display:flex;align-items:center;justify-content:center;gap:12px;margin:4px auto 6px;color:var(--text);font:800 31px "Baloo 2",sans-serif}.trail-equation span{display:grid;place-items:center;min-width:52px;height:52px;padding:0 10px;border:2px solid var(--num-teal);border-radius:14px;background:var(--num-mint)}.trail-equation b{color:var(--text-muted);font-size:23px}.trail-prompt{margin:8px 0 12px;text-align:center;font-size:15px}.trail-choice{min-width:74px;border-color:var(--num-teal)}.trail-ready{margin:0;text-align:center;color:var(--text-muted);font-size:13px}

.recommend-card h3{color:var(--num-purple)}
.sr-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Progress, feedback, and implementation details */
.fit-check{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;max-width:520px;margin:20px auto 0;padding:0;border:0}.fit-check legend{width:100%;margin-bottom:8px;color:var(--text);font-size:12px;font-weight:800}.fit-check button{min-height:38px;padding:8px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:700 12px var(--font-body);cursor:pointer}.fit-check button:hover,.fit-check button[aria-pressed="true"]{border-color:var(--num-teal);background:var(--num-mint);color:var(--num-teal-dark)}.fit-status{min-height:20px!important;margin:8px auto 0!important;color:var(--num-teal-dark)!important;font-weight:700}
.report-actions,.inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.inline-actions{justify-content:flex-start;margin-top:14px}.dashboard-heading{margin:0 0 10px;font-size:14px}.change-card{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.change-card div{padding:10px 7px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);text-align:center}.change-card span{display:block;color:var(--text-muted);font-size:9px}.change-card strong,.change-card b{display:block;margin-top:3px;font:800 16px "Baloo 2",sans-serif}.positive{color:var(--num-teal-dark)}.negative{color:var(--num-peach-dark)}.empty-note{margin:8px 0;color:var(--text-muted);font-size:12px;line-height:1.5}
.metric-panel,.history-panel{padding:17px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.metric-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-head h3,.history-panel h3{font-size:13px}.metric-head button{border:0;background:transparent;color:var(--num-teal-dark);font:800 11px var(--font-body);cursor:pointer}.metric-row{display:grid;grid-template-columns:100px 1fr auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border);font-size:11px}.metric-row span{font-weight:800}.metric-row b{font-size:11px}.metric-row small{color:var(--text-muted)}.method-note{margin:12px 0 0;color:var(--text-muted);font-size:11px;line-height:1.55}
.system-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center}.system-flow>span{color:var(--num-teal);font-size:20px;font-weight:800}.system-flow article{height:100%;padding:17px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2)}.system-flow article b{display:grid;place-items:center;width:28px;height:28px;margin-bottom:10px;border-radius:9px;background:var(--num-mint);color:var(--num-teal-dark);font-size:11px}.system-flow h3{font-size:14px}.system-flow p{margin:5px 0 0;color:var(--text-muted);font-size:11px;line-height:1.55}

@media (max-width:760px){
  .home-hero,.num-hero{grid-template-columns:1fr;padding:32px 26px}.home-orbit{display:none}.hero-visual{min-height:210px}.mode-grid,.practice-grid,.skill-grid,.research-grid,.dashboard-grid{grid-template-columns:1fr}.how-grid{grid-template-columns:1fr 1fr}.mode-card{grid-template-columns:72px 1fr;padding:19px;gap:15px}.mode-icon{width:72px;height:72px;border-radius:20px;font-size:24px}.product-switch{order:3;width:100%;justify-content:center}.product-switch button{flex:1}.num-panel{padding:20px}.map-hero{align-items:flex-start}.profile-row{grid-template-columns:118px 1fr 36px}.recommend-card{grid-template-columns:46px 1fr}.recommend-card .num-button{grid-column:1/-1}.trail{grid-template-columns:repeat(4,1fr)}.system-flow{grid-template-columns:1fr}.system-flow>span{display:none}.change-card{grid-template-columns:repeat(2,1fr)}.report-actions{justify-content:flex-start;margin-top:10px}
}
@media (max-width:480px){
  .wrap{padding-left:14px;padding-right:14px}.home-copy h2,.num-hero h2{font-size:37px}.home-trust{display:none}.mode-card{grid-template-columns:1fr}.mode-icon{width:58px;height:58px}.how-grid,.mini-stats{grid-template-columns:1fr}.how-card{display:grid;grid-template-columns:38px 1fr;gap:0 12px}.how-card b{grid-row:1/3;margin:0}.duel-row{gap:8px}.choice-card.wide{min-width:120px}.map-hero{display:block}.map-badge{width:75px;height:75px;margin-top:16px}.num-section-head{display:block}.num-section-head .num-button{margin-top:10px}.trail{grid-template-columns:repeat(3,1fr)}
}

@media (prefers-reduced-motion:reduce){.home-orbit{animation:none}}

@media print{
  header,.product-switch,.num-nav,.report-actions,.inline-actions,footer{display:none!important}
  body{background:white;color:#1f2f2b}.wrap{max-width:none;padding:0}.view{display:none!important}#view-numbers{display:block!important}.num-panel{border:0;box-shadow:none;padding:12px}.dashboard-grid{grid-template-columns:1fr 1fr}.insight-card,.history-panel,.metric-panel{break-inside:avoid}.metric-panel [hidden]{display:block!important}
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--num-teal:#58dec3;--num-teal-dark:#93efdc;--num-teal-contrast:#0c2b25;--num-mint:#183f38}
  :root:not([data-theme="light"]) .home-hero,:root:not([data-theme="light"]) .num-hero{background:linear-gradient(135deg,#203b34,#2f2a20 65%,#342943)}
  :root:not([data-theme="light"]) .home-copy h2,:root:not([data-theme="light"]) .num-hero h2,:root:not([data-theme="light"]) .num-section-head h2,:root:not([data-theme="light"]) .num-section-head h3,:root:not([data-theme="light"]) .check-card h2,:root:not([data-theme="light"]) .map-hero h2{color:var(--text)}
  :root:not([data-theme="light"]) .home-copy>p,:root:not([data-theme="light"]) .num-hero p{color:var(--text-muted)}
  :root:not([data-theme="light"]) .num-button.secondary,:root:not([data-theme="light"]) .choice-card,:root:not([data-theme="light"]) .hero-number{background:var(--surface)}
  :root:not([data-theme="light"]) .choice-card{border-color:#74684f}
  :root:not([data-theme="light"]) .choice-card:hover{border-color:var(--num-teal)}
  :root:not([data-theme="light"]) .map-hero{background:linear-gradient(120deg,#213c34,#332d20)}
}
:root[data-theme="dark"]{--num-teal:#58dec3;--num-teal-dark:#93efdc;--num-teal-contrast:#0c2b25;--num-mint:#183f38}
:root[data-theme="dark"] .choice-card{border-color:#74684f;color:var(--text)}
:root[data-theme="dark"] .choice-card:hover{border-color:var(--num-teal)}
