/* Terrible Decisions — expressive color, quiet structure, clear consequences. */
:root{color-scheme:light;--paper:#fbf9f4;--white:#fff;--ink:#191c35;--muted:#646579;--line:#dddee7;--blue:#384cff;--blue-dark:#2434c4;--yellow:#ffe252;--lavender:#e9e8ff;--bank:#16764c;--bank-dark:#105b39;--bank-soft:#e1f4e9;--red:#ae263c;--orange-dark:#925100;--mono:ui-monospace,SFMono-Regular,Consolas,monospace;--shadow:5px 5px 0 var(--ink);font-family:Inter,"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:850;letter-spacing:-.045em}button{color:inherit}svg{display:block}em{font-style:normal}::selection{background:var(--yellow);color:var(--ink)}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}main:focus,h1:focus{outline:none}.icon{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;top:-70px;left:16px;background:var(--ink);color:white;padding:14px;z-index:100}.skip-link:focus{top:12px}
.topbar{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{max-width:1120px;margin:auto;min-height:88px;display:flex;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:900;letter-spacing:-1px;line-height:.94}.brand-mark{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:14px;background:var(--blue);color:white;transform:rotate(-8deg);font-weight:900;font-size:29px;position:relative;letter-spacing:-3px}.brand-mark>span{font-size:18px;color:var(--yellow);position:absolute;right:3px;top:-3px;letter-spacing:0}.brand-period{color:var(--blue)}#main-nav{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:30px}#main-nav a{padding:12px 17px;min-height:44px;border-radius:12px;display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750;color:var(--muted)}#main-nav a[aria-current]{background:var(--ink);color:white}#main-nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-button,.profile-button{display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:50%;width:42px;height:42px;flex-shrink:0;background:transparent;font-weight:800;font-size:18px}.profile-button{background:var(--yellow);font-size:13px}.help-button:hover,.profile-button:hover{box-shadow:2px 2px 0 var(--ink);transform:translate(-1px,-1px)}.play-header{display:none}
main{max-width:1120px;margin:0 auto;padding:28px 0 40px;min-height:65vh}.eyebrow,.micro{font-size:10px;text-transform:uppercase;letter-spacing:1.15px;font-weight:750;color:var(--muted)}.eyebrow{display:block}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 22px;min-height:52px;border:1.5px solid transparent;border-radius:12px;font-size:14px;font-weight:800;line-height:1.3;transition:transform .16s,box-shadow .16s,background .16s}.btn .icon:last-child{margin-left:auto}.btn-primary,.btn-play{background:var(--blue);color:white;border-color:var(--blue-dark);box-shadow:0 4px 0 var(--blue-dark)}.btn-play{font-size:17px;min-height:58px}.btn-orange{background:var(--yellow);color:var(--ink);border-color:var(--ink);box-shadow:0 3px 0 var(--ink)}.btn-secondary{background:var(--white);color:var(--ink);border-color:var(--line)}.btn-bank{background:var(--bank);color:white;border-color:var(--bank-dark);box-shadow:0 3px 0 var(--bank-dark)}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(2px);box-shadow:none}.btn:disabled{background:#e8e9ee;color:#707185;border-color:#dfe0e6;box-shadow:none}.btn-small{min-height:44px;font-size:12px;padding:11px 15px}.btn-wide{width:100%}.text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:750;background:none;border:0;padding:0}.text-link:hover{color:var(--blue)}.text-link .icon{width:17px;height:17px}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:7px 10px;font-size:10px;font-weight:800;border:1px solid #d4d8ff;border-radius:7px;background:#eef0ff;color:var(--blue-dark)}.pill .icon{width:13px;height:13px}.pill.done{background:var(--bank-soft);color:var(--bank-dark);border-color:#b5d9c3}.pill-fired{background:#ffe4e6;color:var(--red);border-color:#efbfc7}.danger{color:var(--red)}.case-art{width:100%;height:auto;overflow:visible}.tone-yellow{background-color:var(--yellow)}.tone-pink{background-color:#f5c9ef}.tone-mint{background-color:#b6eed8}.tone-peach{background-color:#ffd1b1}
/* The banner needs a light focus ring against its blue background. */
.access-banner .btn:focus-visible{outline-color:var(--white)}
/* Today: one dominant invitation to play, with supporting content below. */
.today-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.today-heading .eyebrow{margin-bottom:6px}.today-heading h1{font-size:29px;line-height:1.15}.today-heading h1 span{color:var(--blue)}.today-date{font-size:13px;font-weight:700;display:flex;align-items:center;gap:10px}.today-date .icon{color:var(--blue);width:17px}.daily-card{display:grid;grid-template-columns:.95fr 1.05fr;border:2px solid var(--ink);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:white}.daily-visual{position:relative;min-height:440px;border-right:2px solid var(--ink);background-image:radial-gradient(#191c351b .9px,transparent .9px);background-size:17px 17px;isolation:isolate;overflow:hidden}.daily-ticket{position:absolute;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;z-index:2;font-size:11px;font-weight:850;letter-spacing:1px}.daily-ticket>span:first-child{display:flex;align-items:center;gap:7px}.daily-ticket .icon{width:17px;height:17px}.daily-ticket>span:last-child{font-family:var(--mono);border:1px solid #191c3540;border-radius:6px;padding:6px 9px}.daily-character{position:absolute;bottom:28px;left:6%;width:88%;max-height:350px}.daily-character .case-art{max-height:350px}.daily-character .character{animation:character-arrive .65s cubic-bezier(.2,.8,.3,1) both;transform-origin:50% 80%}.speech-sticker{position:absolute;left:24px;top:85px;max-width:225px;padding:12px 16px;background:#fff;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);font-size:12px;font-weight:900;line-height:1.2;letter-spacing:-.2px;transform:rotate(-6deg);z-index:2}.speech-sticker:after{content:"";position:absolute;bottom:-11px;right:20px;width:17px;height:17px;background:white;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:skewY(35deg)}.chaos-seal{position:absolute;right:21px;bottom:43px;background:var(--blue);color:white;border:2px solid var(--ink);border-radius:50%;width:80px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:25px;font-weight:900;letter-spacing:-1px;transform:rotate(12deg);box-shadow:3px 3px 0 var(--ink)}.chaos-seal small{font-size:9px;letter-spacing:.5px;font-weight:800;margin-top:1px}.visual-caption{position:absolute;bottom:17px;left:24px;font-size:8px;letter-spacing:1.1px;font-weight:800}.daily-copy{padding:32px 36px}.daily-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.daily-status .eyebrow{color:var(--blue)}.daily-copy h2{font-size:clamp(38px,4.2vw,58px);line-height:.99;letter-spacing:-.055em;max-width:420px;margin-bottom:16px}.daily-copy>p:not(.button-note){font-size:16px;line-height:1.55;color:var(--muted);max-width:390px}.daily-rules{display:flex;align-items:center;gap:20px;margin:23px 0 20px;font-size:12px;font-weight:600}.daily-rules span{display:flex;align-items:center;gap:6px}.daily-rules .icon{width:16px;height:16px;color:var(--blue)}.button-note{font-size:10px;text-align:center;color:var(--muted);line-height:1.5;margin:12px 0 18px}.daily-twist{border-top:1px solid var(--line);padding-top:15px;font-size:11px}.daily-twist summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;min-height:30px;list-style:none}.daily-twist summary::-webkit-details-marker{display:none}.daily-twist summary>span:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted)}.daily-twist strong{color:var(--ink);font-weight:800}.daily-twist .icon{width:15px;height:15px;color:var(--blue)}.details-plus{font-size:20px;font-weight:500;color:var(--blue)}.daily-twist[open] .details-plus{transform:rotate(45deg)}.daily-twist p{margin:10px 0 0;color:var(--muted);line-height:1.7;max-width:400px}.completion-score{font-size:43px;font-weight:850;letter-spacing:-2px;color:var(--bank);margin-bottom:8px}.completion-score small{font-size:13px;letter-spacing:0}.reputation-strip{display:flex;align-items:center;gap:42px;padding:23px 4px;margin:12px 0 10px;border-bottom:1px solid var(--line)}.reputation-strip>div{display:flex;gap:11px;align-items:center}.stat-icon{display:grid;place-items:center;background:var(--lavender);width:43px;height:43px;border-radius:13px;color:var(--blue)}.stat-icon.yellow{background:#fff1aa;color:var(--ink)}.reputation-strip strong{display:block;font-size:20px;font-weight:850;letter-spacing:-.6px}.reputation-strip em{font-size:11px;font-weight:700}.reputation-strip small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.reputation-strip>a{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;min-height:44px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:30px 0 17px}.section-heading .eyebrow{font-size:9px;margin-bottom:7px}.section-heading h2{font-size:28px}.teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.teaser{border:1.5px solid var(--line);padding:0;display:grid;grid-template-columns:88px 1fr 32px;align-items:center;text-align:left;background:white;border-radius:15px;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s;min-height:102px}.teaser:hover{border-color:var(--ink);box-shadow:3px 3px 0 var(--ink);transform:translate(-2px,-2px)}.teaser-art{height:100%;display:grid;place-items:center;padding:1px}.teaser-copy{padding:12px 10px;min-width:0}.teaser-copy small{font-size:8px;letter-spacing:.65px;color:var(--blue);display:block;font-weight:750;margin-bottom:7px}.teaser-copy strong{font-size:15px;font-weight:850;letter-spacing:-.4px;line-height:1.2;display:block}.teaser-arrow .icon{width:17px;height:17px}.how-inline{display:flex;width:100%;align-items:center;gap:13px;background:transparent;border:0;padding:24px 0;text-align:left;margin-top:14px}.handbook-mark{width:34px;height:34px;border:1.5px solid var(--ink);display:grid;place-items:center;border-radius:50%;font-weight:800;flex-shrink:0}.how-inline strong{font-size:12px;font-weight:750}.how-inline small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.how-inline>.icon{margin-left:auto;width:17px}
/* Case library and records share the same visual language. */
.page-intro{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin:10px 0 30px}.page-intro h1{font-size:48px;line-height:1.03;margin:12px 0 14px}.page-intro em{color:var(--blue)}.page-intro p{font-size:14px;line-height:1.6;color:var(--muted);max-width:530px}.date-block{text-align:right;min-width:180px}.date-block strong{display:block;font-size:13px;margin:7px 0}.date-block>span{font-size:11px;color:var(--muted)}.access-banner{background:var(--blue);color:white;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin-bottom:24px}.access-banner h2{font-size:24px}.access-banner p{font-size:12px;line-height:1.5;color:#e0e4ff;margin-top:7px}.access-banner .btn-secondary{color:var(--ink)}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.archive-card{border:1.5px solid var(--ink);border-radius:18px;background:white;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s}.archive-card:hover{box-shadow:4px 4px 0 var(--ink)}.archive-art{background:var(--yellow);height:200px;position:relative}.archive-art.tone-pink{background:#f5c9ef}.archive-art.tone-mint{background:#b6eed8}.archive-art.tone-peach{background:#ffd1b1}.archive-art .case-art{height:100%;width:100%;padding-top:12px}.case-number{position:absolute;left:18px;top:16px;font-family:var(--mono);font-size:10px;font-weight:650}.archive-body{padding:24px 20px;display:flex;flex-direction:column;flex:1}.archive-body .eyebrow{color:var(--blue);font-size:9px}.archive-body h2{font-size:25px;line-height:1.1;margin:10px 0}.archive-body p{font-size:12px;line-height:1.65;color:var(--muted);margin-bottom:20px}.archive-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.archive-foot .pill{background:#f4f4f8;color:var(--muted);border:0;font-size:9px}.archive-note{font-size:11px;color:var(--muted);line-height:1.8;margin:25px 0}.complete-note{background:var(--lavender);border-radius:12px;padding:16px;font-size:13px}.record-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.record-stat{padding:25px;border:1.5px solid var(--line);border-radius:17px;background:white}.record-stat:first-child{background:var(--blue);color:white;border-color:var(--blue)}.record-stat:first-child .micro,.record-stat:first-child p{color:#e0e4ff}.record-stat strong{font-size:40px;letter-spacing:-2px;display:block;margin:12px 0}.record-stat p{font-size:11px;color:var(--muted)}.record-list{padding:0;list-style:none;margin:0;display:grid;gap:10px}.record-item{background:white;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;gap:16px;padding:14px 20px}.record-item .case-art{width:60px;height:53px;flex-shrink:0}.record-item>div>strong{font-size:14px}.record-item p{color:var(--muted);font-size:11px;margin-top:5px;line-height:1.5}.record-score{margin-left:auto;font-size:23px;white-space:nowrap}.record-score small{display:block;font-size:9px;font-weight:500;color:var(--muted);margin-top:4px}.record-detail{margin-top:26px;background:#eeedf8;border-radius:14px;padding:24px}.record-detail h3{font-size:19px;margin-bottom:8px}.record-detail p{font-size:12px;line-height:1.7;color:var(--muted)}.empty-state{padding:40px 24px;text-align:center;background:white;border:1.5px dashed #b8bad4;border-radius:17px}.empty-state h2{font-size:27px}.empty-state p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px auto 24px;max-width:500px}.legacy-record{margin-top:24px;padding:20px;border:1px dashed #b8bad4;border-radius:12px;color:var(--muted)}.legacy-record summary{cursor:pointer;font-size:13px;font-weight:700}.legacy-record p{font-size:12px;line-height:1.7;margin:12px 0 0}
/* Playing: the decision and its risk are the stars. */
.in-game #main-nav,.in-game .profile-button{display:none}.in-game .header-inner{min-height:76px}.in-game .brand{font-size:15px;margin-right:22px}.in-game .brand-mark{width:35px;height:35px;font-size:25px}.in-game .play-header{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:1;min-width:0}#play-exit{display:flex;align-items:center;gap:7px;min-height:44px;white-space:nowrap;font-size:12px;font-weight:700}#play-exit:hover{color:var(--blue)}#play-context{font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.run-dashboard{grid-column:1/-1;background:var(--ink);color:white;border-radius:18px;padding:18px 24px;display:grid;grid-template-columns:1fr 1.2fr 1.1fr;gap:30px;align-items:center}.run-points .micro{color:#c2c5e1;font-size:10px;display:block;margin-bottom:3px}.score-wrap{position:relative;display:inline-block}.score-number{font-size:43px;font-weight:850;letter-spacing:-1.6px;line-height:1.1;display:inline-block;color:var(--yellow)}.score-number small{font-size:14px;letter-spacing:0;margin-left:5px;color:#dcdef3}.hr-widget{display:flex;gap:12px;align-items:center}.hr-face{width:56px;height:56px;flex-shrink:0}.heat-readout{flex:1;min-width:0}.heat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:8px}.heat-label strong{font-size:15px}.heat-track{height:8px;background:#454861;border-radius:10px;overflow:hidden}.heat-track>span{height:100%;display:block;background:#b3baff;border-radius:10px}.heat-track.hot>span{background:var(--yellow)}.heat-track.critical>span{background:#ff7f97}.heat-status{font-size:10px;color:#c2c5e1;margin-top:7px;min-height:14px}.hot .heat-status{color:var(--yellow)}.critical .heat-status{color:#ff9fb1}.cash-hint{display:block;font-size:10px;margin-bottom:7px;color:#c2c5e1;text-align:center}.cash-control .btn{width:100%;font-size:12px;min-height:46px;padding:12px;gap:8px}.cash-control .btn .icon{width:16px;height:16px}.run-dashboard>.pill{justify-self:end}.decision-card{border:1.5px solid var(--line);border-radius:20px;padding:30px;background:white;min-width:0}.scene-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.scene-top .eyebrow{color:var(--blue);font-size:10px}.step-dots{display:flex;gap:5px}.step-dot{width:19px;height:5px;border-radius:6px;background:#e9e9f0}.step-dot.active{background:var(--blue)}.scene-title{font-size:36px;line-height:1.07;margin-bottom:13px;scroll-margin-top:120px}.scene-copy{font-size:14px;line-height:1.65;color:var(--muted);margin-bottom:22px;max-width:620px}.choice-prompt{font-size:11px;font-weight:800;display:flex;align-items:center;gap:8px;margin-bottom:13px}.choice-prompt .icon{width:15px;height:15px;transform:rotate(90deg);color:var(--blue)}.choices{display:grid;gap:12px}.choice{border:1.5px solid #dcdfea;background:#f9f9ff;border-radius:13px;padding:17px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px 13px;text-align:left;transition:transform .15s,box-shadow .15s,border-color .15s}.choice-index{display:grid;place-items:center;width:29px;height:29px;background:#e5e8ff;color:var(--blue-dark);border-radius:8px;font-size:12px;font-weight:850}.choice-copy{min-width:0}.choice-title{font-size:14px;font-weight:800;line-height:1.4;display:block;letter-spacing:-.15px}.choice-detail{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}.choice-gain{align-self:start;background:var(--yellow);color:var(--ink);border-radius:9px;font-size:22px;font-weight:850;letter-spacing:-1px;line-height:1.1;padding:9px 10px;text-align:center;min-width:61px}.choice-gain small{display:block;font-size:8px;letter-spacing:.5px;margin-top:4px;font-weight:800}.choice-risk{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e0e3ef;padding-top:9px}.risk-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:750;color:var(--bank-dark);line-height:1.4}.risk-badge .icon{height:14px;width:14px}.heat-preview{font-family:var(--mono);font-size:10px;color:var(--muted);white-space:nowrap}.choice.risky{background:#fff9e9;border-color:#e7ca8f}.choice.risky .risk-badge{color:#875000}.choice.risky .choice-index{background:#ffe8ac;color:#875000}.choice.dangerous{background:#fff2f4;border-color:#e9b5bf}.choice.dangerous .risk-badge{color:var(--red)}.choice.dangerous .choice-index{background:#ffdae0;color:var(--red)}.choice:hover:not(:disabled){border-color:var(--blue);box-shadow:3px 3px 0 var(--blue);transform:translate(-1px,-1px)}.choice.dangerous:hover:not(:disabled){border-color:var(--red);box-shadow:3px 3px 0 var(--red)}.choice:active:not(:disabled){transform:translate(2px,2px);box-shadow:none}.risk-explainer{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:var(--muted);line-height:1.5;margin-top:17px}.risk-explainer .icon{width:13px;height:13px}.case-sidebar{border:1.5px solid var(--line);border-radius:18px;overflow:hidden;background:white}.sidebar-art{height:208px;position:relative}.sidebar-art .case-art{height:100%;width:100%}.sidebar-sticker{position:absolute;right:14px;bottom:16px;background:white;padding:6px 9px;border:1.5px solid var(--ink);transform:rotate(-6deg);font-size:8px;font-weight:850;letter-spacing:.5px}.sidebar-notes{padding:22px}.sidebar-notes h3{font-size:20px;margin:9px 0}.sidebar-notes p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:9px}.sidebar-rule{height:1px;background:var(--line);margin:20px 0}.sidebar-tip .icon{width:14px;height:14px;margin-right:4px;color:var(--bank)}.timeline{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:15px}.timeline li{display:flex;gap:10px;font-size:10px;color:var(--muted);line-height:1.5}.timeline-number{background:var(--lavender);color:var(--blue);width:23px;height:23px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:10px;font-weight:800}.timeline strong{display:block;color:var(--ink);font-size:11px;margin-bottom:4px}
/* Consequences feel different from choices; results feel like an ending. */
.reaction-scene{height:180px;margin:-30px -30px 27px;position:relative;overflow:hidden;border-radius:19px 19px 0 0;background-image:radial-gradient(#191c3519 .8px,transparent .8px);background-size:14px 14px}.reaction-scene .case-art{position:absolute;left:8%;bottom:-28px;width:225px;height:215px;transform:rotate(-7deg)}.reaction-bubble{position:absolute;top:26px;left:27px;border:1.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink);background:white;padding:9px 13px;transform:rotate(-5deg);font-size:10px;font-weight:850}.reaction-gain{position:absolute;right:12%;top:37px;font-size:71px;line-height:1;font-weight:900;letter-spacing:-5px;color:var(--blue);transform:rotate(5deg)}.reaction-gain small{display:block;font-size:9px;font-weight:850;letter-spacing:1px;line-height:2;margin-top:5px}.aftermath-tag{display:inline-flex;gap:6px;align-items:center;color:var(--bank);font-size:11px;font-weight:750;margin-bottom:12px}.aftermath-tag .icon{height:15px;width:15px}.outcome-message{display:flex;gap:12px;align-items:center;background:var(--bank-soft);padding:14px;border-radius:13px;margin:18px 0 22px}.outcome-message .hr-face{width:48px;height:48px}.outcome-message strong{font-size:13px;line-height:1.4}.outcome-message p{font-size:12px;line-height:1.6;margin-top:4px;color:var(--bank-dark)}.outcome-message.caution{background:#fff2cb}.outcome-message.caution p{color:#875000}.outcome-message.critical{background:#ffe8ec}.outcome-message.critical p{color:var(--red)}.aftermath-actions{display:flex;gap:14px}.aftermath-actions .btn{flex:1;font-size:13px;min-height:51px}.result-card{text-align:center;padding:32px}.result-graphic{width:150px;height:145px;margin:0 auto 16px;position:relative;display:grid;place-items:center}.result-graphic:before{content:"";width:126px;height:126px;border-radius:50%;background:var(--yellow);position:absolute;inset:8px auto auto;transform:rotate(-12deg);border:2px solid var(--ink)}.result-graphic .hr-face{width:106px;height:106px;z-index:1;transform:rotate(-8deg)}.result-graphic.fired:before{background:#ffb6c3}.result-orbit{position:absolute;bottom:0;right:-3px;z-index:2;background:var(--ink);color:white;padding:7px 12px;border-radius:5px;transform:rotate(-7deg);font-size:10px;letter-spacing:.6px;font-weight:800}.result-stamp{font-size:10px;color:var(--bank);font-weight:850;letter-spacing:1px;text-transform:uppercase;display:inline-block;margin:8px 0 13px}.result-stamp.fired{color:var(--red)}.result-card .scene-title{font-size:37px}.result-card .scene-copy{font-size:13px;max-width:480px;margin:0 auto 22px}.result-score{font-size:80px;font-weight:900;letter-spacing:-5px;line-height:1;color:var(--bank)}.failed .result-score{color:var(--red)}.result-score small{font-size:25px;letter-spacing:-.5px}.result-score-label{font-size:11px;color:var(--muted);line-height:1.6;margin-top:10px}.result-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:21px 0;margin:20px 0;border-block:1px solid var(--line)}.result-breakdown strong{display:block;font-size:20px;font-weight:850}.result-breakdown span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.result-actions{display:flex;gap:12px;justify-content:center}.result-actions .btn{font-size:12px}.next-daily{font-size:10px;line-height:1.6;color:var(--muted);margin-top:20px}.confetti{position:absolute;inset:0;pointer-events:none}.confetti i{position:absolute;left:15%;top:25%;width:8px;height:14px;background:var(--blue);transform:rotate(28deg)}.confetti i:nth-child(2){left:90%;top:20%;background:#ed789a;transform:rotate(-22deg)}.confetti i:nth-child(3){left:-5%;top:70%;background:#36a976}.confetti i:nth-child(4){left:94%;top:75%;background:var(--blue);width:12px;height:7px}.confetti i:nth-child(5){left:30%;top:-5%;background:#ed789a;width:12px;height:7px}.confetti i:nth-child(6){left:70%;top:-4%;background:#36a976}
/* Shared controls and status. */
.site-footer{max-width:1120px;margin:0 auto;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:23px 0 30px;font-size:10px;color:var(--muted)}.account-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:1120px;margin:18px auto 0;padding:13px 17px;border:1px solid #e6acb6;background:#fff0f2;border-radius:12px;color:var(--red);font-size:12px;line-height:1.5}.account-bar .text-link{flex-shrink:0}.loading{padding:70px 20px;text-align:center}.loading h1{font-size:42px;line-height:1.1;margin:20px 0}.loading p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:24px}.loading .eyebrow{color:var(--blue)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(500px,calc(100% - 32px));border-radius:12px;background:var(--ink);color:white;padding:15px 20px;box-shadow:0 8px 24px #191c3528;font-size:12px;line-height:1.5;z-index:60}dialog{border:2px solid var(--ink);border-radius:22px;padding:0;max-width:460px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);color:var(--ink);background:var(--white);box-shadow:7px 7px 0 #191c3544}dialog::backdrop{background:#191c356b;backdrop-filter:blur(3px)}.modal-body{padding:34px;position:relative}.modal-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;background:#f0f0f7;border-radius:50%;display:grid;place-items:center}.modal-close .icon{width:18px;height:18px}.modal-body>.eyebrow{color:var(--blue);padding-right:28px;margin-bottom:14px}.modal-body h2{font-size:34px;line-height:1.05;margin-bottom:17px}.modal-body>p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:20px;overflow-wrap:anywhere}.modal-body .text-link{margin-top:16px}.modal-note{padding:17px;background:var(--lavender);font-size:12px;line-height:1.7;border-radius:12px;margin:20px 0}.rules{list-style:none;padding:0;margin:20px 0;counter-reset:rule;display:grid;gap:17px}.rules li{font-size:12px;line-height:1.6;color:var(--muted);padding-left:35px;position:relative;counter-increment:rule}.rules li:before{content:counter(rule);position:absolute;left:0;top:0;width:25px;height:25px;background:var(--yellow);border-radius:7px;display:grid;place-items:center;color:var(--ink);font-weight:850}.rules strong{display:block;color:var(--ink);font-size:13px;margin-bottom:3px}.share-copy{display:block;width:100%;min-height:150px;border:1px solid var(--line);padding:13px;border-radius:10px;resize:vertical;font-size:12px;line-height:1.6;margin-bottom:20px}.no-script{padding:30px;text-align:center}[aria-busy="true"]{cursor:progress}[aria-busy="true"] button{opacity:.65;cursor:wait}
/* Short feedback; no perpetual motion, no interaction delays. */
.points-gain{position:absolute;left:calc(100% + 9px);top:5px;color:var(--yellow);font-size:15px;font-weight:850;pointer-events:none;animation:points-float .9s ease-out both}.score-pop{animation:score-pop .35s ease-out;transform-origin:left center}.heat-rise{animation:heat-rise .45s ease-out}.heat-alert{animation:heat-notice .55s ease-out}.just-banked .result-graphic,.just-fired .result-graphic{animation:stamp-in .45s cubic-bezier(.2,.8,.3,1)}.just-banked .result-score{animation:score-pop .45s ease-out}.just-banked .confetti i{animation:confetti-pop .8s ease-out both}.just-gained .reaction-gain{animation:stamp-in .4s ease-out}
@keyframes character-arrive{from{opacity:0;transform:translateY(12px) rotate(3deg)}to{opacity:1;transform:none}}@keyframes points-float{0%{opacity:0;transform:translateY(8px)}20%,65%{opacity:1}100%{opacity:0;transform:translateY(-18px)}}@keyframes score-pop{0%,100%{transform:scale(1)}40%{transform:scale(1.09)}}@keyframes heat-rise{from{width:var(--heat-from)}to{width:var(--heat-to)}}@keyframes heat-notice{from{transform:translateX(-4px);opacity:.3}to{transform:none;opacity:1}}@keyframes stamp-in{from{opacity:0;transform:scale(1.2) rotate(-6deg)}to{opacity:1;transform:none}}@keyframes confetti-pop{from{opacity:0;translate:0 14px;scale:.4}40%{opacity:1}to{opacity:1;translate:0 0;scale:1}}
@media(min-width:1500px){.daily-visual{min-height:450px}}@media(max-width:1200px){.header-inner,main,.site-footer{margin-inline:32px}.account-bar{margin-inline:32px}.daily-copy{padding:28px}.daily-copy h2{font-size:48px}.game-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.run-dashboard{gap:20px}.choice{padding:15px}.choice-title{font-size:13px}.case-sidebar .sidebar-art{height:180px}}
@media(max-width:960px){#main-nav{margin-right:10px}#main-nav a{padding:11px 12px}.daily-copy h2{font-size:42px}.daily-copy{padding:25px}.daily-visual{min-height:420px}.speech-sticker{font-size:10px;max-width:185px;left:18px}.daily-character{bottom:45px;width:104%;left:-2%}.daily-status{flex-wrap:wrap;gap:8px;margin-bottom:15px}.daily-rules{gap:12px;font-size:11px}.teaser{grid-template-columns:74px 1fr 26px}.teaser-copy strong{font-size:13px}.teaser-copy small{font-size:7px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-stat{padding:21px 17px}.record-stat strong{font-size:32px}.game-layout{grid-template-columns:minmax(0,1fr)}.case-sidebar{display:none}.run-dashboard{grid-template-columns:.8fr 1.2fr 1.1fr}.decision-card{max-width:780px;width:100%;margin:auto}.date-block{display:none}}
@media(max-width:700px){
  .header-inner{margin:0;padding:0 20px;min-height:72px;gap:10px}.brand{font-size:17px;margin-right:auto}.brand-mark{width:39px;height:39px;font-size:26px;border-radius:12px}.help-button,.profile-button{width:38px;height:38px}.help-button{font-size:16px}.profile-button{font-size:11px}#main-nav{position:fixed;inset:auto 0 0;z-index:20;background:var(--paper);border-top:1.5px solid var(--ink);margin:0;padding:7px 16px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:8px;box-shadow:0 -4px 20px #191c3505}#main-nav a{flex-direction:column;gap:4px;padding:7px 10px;min-height:51px;font-size:10px;border-radius:11px}#main-nav a[aria-current]{background:var(--blue);color:white}#main-nav svg{width:20px;height:20px}main{margin:0;padding:22px 18px 24px}.site-footer{margin:0 18px;padding-bottom:calc(98px + env(safe-area-inset-bottom));flex-direction:column;gap:7px;font-size:9px}.today-heading{margin-bottom:17px}.today-heading h1{font-size:24px;letter-spacing:-1px}.today-heading .eyebrow{font-size:8px;letter-spacing:.9px;margin-bottom:6px}.today-date{font-size:10px;gap:5px;white-space:nowrap}.today-date .icon{width:14px;height:14px}.daily-card{grid-template-columns:1fr;border-radius:19px;box-shadow:4px 4px 0 var(--ink)}.daily-visual{min-height:182px;border-right:0;border-bottom:2px solid var(--ink)}.daily-ticket{left:18px;right:16px;top:13px;font-size:9px}.daily-ticket .icon{width:14px;height:14px}.daily-ticket>span:last-child{padding:4px 6px;font-size:9px}.daily-character{bottom:-19px;left:calc(50% - 110px);width:220px;height:200px}.daily-character .case-art{height:100%;width:100%}.speech-sticker{font-size:8px;line-height:1.4;top:70px;left:14px;max-width:117px;padding:8px 10px;box-shadow:2px 2px 0 var(--ink);border-width:1.5px}.speech-sticker:after{width:10px;height:10px;bottom:-7px;right:12px;border-width:1.5px}.chaos-seal{width:58px;height:58px;font-size:20px;bottom:20px;right:17px;border-width:1.5px;box-shadow:2px 2px 0 var(--ink)}.chaos-seal small{font-size:7px}.visual-caption{display:none}.daily-copy{padding:20px}.daily-status{flex-wrap:nowrap;margin-bottom:13px;gap:6px}.daily-status .eyebrow{font-size:8px;letter-spacing:.8px}.daily-status .pill{font-size:8px;padding:5px 7px}.daily-status .pill .icon{width:11px;height:11px}.daily-copy h2{font-size:37px;line-height:1.03;margin-bottom:10px;max-width:none}.daily-copy>p:not(.button-note){font-size:13px;line-height:1.55}.daily-rules{margin:16px 0 15px;font-size:10px;gap:17px}.daily-rules .icon{width:14px;height:14px}.daily-copy .btn-play{font-size:15px;min-height:52px;padding:14px 17px}.button-note{font-size:9px;margin:11px 0 13px}.daily-twist{padding-top:10px;font-size:10px}.daily-twist summary{min-height:27px}.daily-twist summary>span:first-child{gap:5px}.daily-twist p{font-size:11px}.daily-twist .icon{width:13px;height:13px}.reputation-strip{padding:19px 1px;gap:20px;margin:10px 0 0}.reputation-strip strong{font-size:18px}.reputation-strip small{font-size:9px}.reputation-strip .stat-icon{width:34px;height:34px;border-radius:10px}.reputation-strip .stat-icon .icon{width:17px;height:17px}.reputation-strip>div{gap:8px}.reputation-strip>a{font-size:0;gap:0}.reputation-strip>a .icon{font-size:16px;width:18px;height:18px}.section-heading{margin-top:24px}.section-heading h2{font-size:26px}.section-heading .eyebrow{font-size:7px;letter-spacing:.7px}.section-heading .text-link{font-size:11px}.teaser-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;padding:1px 5px 7px 0;scrollbar-width:thin}.teaser{flex:0 0 250px;grid-template-columns:76px 1fr 27px;scroll-snap-align:start;min-height:92px;border-radius:13px}.teaser-copy strong{font-size:14px}.teaser-copy small{font-size:7px}.how-inline{padding:15px 0;margin:10px 0 0;gap:11px}.how-inline strong{font-size:11px}.how-inline small{font-size:10px;line-height:1.5}.how-inline .handbook-mark{width:30px;height:30px}.completion-score{font-size:35px}.page-intro{margin:3px 0 23px}.page-intro h1{font-size:36px}.page-intro .eyebrow{font-size:9px}.page-intro p{font-size:13px}.access-banner{padding:20px;border-radius:15px;align-items:flex-start;flex-direction:column;gap:17px}.access-banner h2{font-size:23px}.access-banner .btn{width:100%;justify-content:space-between}.archive-grid{gap:15px}.archive-art{height:155px}.archive-body{padding:17px 15px}.archive-body .eyebrow{font-size:7px;letter-spacing:.7px}.archive-body h2{font-size:21px}.archive-body p{font-size:11px}.archive-foot{flex-direction:column;align-items:flex-start;gap:12px}.archive-foot .btn{width:100%}.record-stats{grid-template-columns:1fr 1fr;gap:12px}.record-stat{padding:20px}.record-stat strong{font-size:36px}.record-stat .micro{font-size:9px}.record-stat p{font-size:10px}.record-item{padding:14px 12px;gap:10px}.record-item .case-art{width:45px;height:45px}.record-item>div>strong{font-size:12px}.record-item p{font-size:10px}.record-score{font-size:20px}.record-detail{padding:20px}.record-detail p{font-size:11px}.legacy-record{padding:17px}.legacy-record summary{font-size:12px}.account-bar{margin:12px 18px 0;padding:12px;align-items:flex-start;flex-wrap:wrap;font-size:11px}.account-bar .text-link{font-size:11px;min-height:32px}
  /* No bottom navigation during a run. The exit action stays reachable. */
  .in-game .header-inner{min-height:62px;padding-inline:18px;gap:12px}.in-game .brand{display:none}.in-game .play-header{gap:12px}.in-game .help-button{width:38px;height:38px}#play-context{font-size:10px}#play-exit{font-size:11px;gap:5px}#play-exit .icon{width:17px;height:17px}.in-game main{padding:14px 14px 32px}.in-game.has-cash-dock main{padding-bottom:calc(105px + env(safe-area-inset-bottom))}.in-game .site-footer{display:none}.game-layout{gap:14px}.run-dashboard{position:sticky;top:8px;z-index:8;padding:14px 15px;border-radius:14px;grid-template-columns:.8fr 1.25fr;gap:18px;box-shadow:0 4px 12px #191c3515}.run-points .micro{font-size:8px;letter-spacing:.65px;margin-bottom:4px}.score-number{font-size:31px;letter-spacing:-1px}.score-number small{font-size:11px;margin-left:3px}.hr-widget{gap:7px}.hr-widget>.hr-face{width:40px;height:40px}.heat-label{font-size:9px;gap:6px;margin-bottom:6px}.heat-label strong{font-size:12px}.heat-track{height:6px}.heat-status{font-size:8px;line-height:1.4;margin-top:5px;min-height:11px;white-space:nowrap}.run-dashboard>.pill{display:none}.points-gain{font-size:12px;left:calc(100% + 5px)}.cash-control{position:fixed;inset:auto 0 0;z-index:25;background:var(--paper);padding:9px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.cash-control .btn{max-width:620px;margin:auto;min-height:50px;font-size:14px;padding:13px 17px;border-radius:12px}.cash-control .btn .icon:first-child{margin-right:auto}.cash-control .btn .icon:last-child{margin-left:auto}.cash-hint{display:none}.decision-card{padding:21px 18px;border-radius:16px}.scene-top{margin-bottom:15px}.scene-top .eyebrow{font-size:8px;letter-spacing:.8px}.scene-title{font-size:28px;line-height:1.08;margin-bottom:10px}.scene-copy{font-size:12px;line-height:1.6;margin-bottom:18px}.choice-prompt{font-size:10px;margin-bottom:11px}.choice{grid-template-columns:minmax(0,1fr) auto;padding:13px;gap:9px 10px;border-radius:12px}.choice-index{display:none}.choice-title{font-size:12px;line-height:1.4}.choice-detail{font-size:11px;line-height:1.45;margin-top:4px}.choice-gain{font-size:19px;padding:8px;min-width:53px;border-radius:8px}.choice-gain small{font-size:7px;letter-spacing:.4px;margin-top:3px}.choice-risk{grid-column:1/-1;padding-top:8px;gap:5px}.risk-badge{font-size:11px}.risk-badge .icon{width:13px;height:13px}.heat-preview{font-size:9px}.choices{gap:9px}.risk-explainer{font-size:9px;margin-top:13px}.reaction-scene{height:144px;margin:-21px -18px 22px;border-radius:15px 15px 0 0}.reaction-scene .case-art{left:6%;bottom:-22px;width:175px;height:170px}.reaction-bubble{left:17px;top:19px;font-size:8px;padding:7px 10px}.reaction-gain{right:9%;top:33px;font-size:56px;letter-spacing:-4px}.reaction-gain small{font-size:7px;letter-spacing:.6px}.aftermath-tag{font-size:10px;margin-bottom:11px}.outcome-message{padding:12px;gap:10px;margin:17px 0 20px}.outcome-message .hr-face{width:44px;height:44px}.outcome-message strong{font-size:12px}.outcome-message p{font-size:11px;line-height:1.6}.aftermath-actions [data-action="cash"]{display:none}.aftermath-actions .btn{min-height:50px;font-size:14px}.result-card{padding:24px 18px}.result-card .scene-title{font-size:30px}.result-card .scene-copy{font-size:12px}.result-graphic{height:130px;width:140px;margin-bottom:13px}.result-graphic:before{width:110px;height:110px}.result-graphic .hr-face{width:95px;height:95px}.result-orbit{font-size:8px;bottom:1px}.result-score{font-size:70px}.result-breakdown{margin:17px 0;padding:19px 0}.result-breakdown strong{font-size:17px}.result-breakdown span{font-size:9px}.result-actions{flex-direction:column;gap:12px}.result-actions .btn{width:100%;min-height:48px;font-size:13px}.toast{bottom:calc(84px + env(safe-area-inset-bottom));font-size:11px}.in-game:not(.has-cash-dock) .toast{bottom:20px}.modal-body{padding:29px 24px}.modal-body h2{font-size:29px}.modal-body>.eyebrow{font-size:8px}.modal-body>p{font-size:12px}.modal-note{font-size:11px;padding:15px}.modal-close{width:36px;height:36px}.loading h1{font-size:32px}.loading{padding:60px 10px}
}
@media(max-width:380px){.header-inner{padding-inline:16px}.brand{font-size:15px;gap:8px}.brand-mark{width:35px;height:35px;font-size:24px}.help-button,.profile-button{width:36px;height:36px}main{padding:20px 13px}.today-heading h1{font-size:21px}.today-date{font-size:9px}.today-heading .eyebrow{font-size:7px}.daily-copy{padding:18px}.daily-copy h2{font-size:32px}.daily-visual{min-height:165px}.daily-character{width:200px;left:calc(50% - 100px);height:181px;bottom:-15px}.speech-sticker{max-width:98px;font-size:7px;left:11px;top:62px}.chaos-seal{width:49px;height:49px;font-size:16px;right:13px;bottom:18px}.chaos-seal small{font-size:6px}.daily-status .eyebrow{font-size:7px}.daily-status .pill{font-size:7px}.daily-copy>p:not(.button-note){font-size:12px}.daily-rules{font-size:9px;gap:12px}.daily-twist{font-size:9px}.daily-twist summary>span:first-child{gap:4px}.reputation-strip{gap:13px}.reputation-strip strong{font-size:16px}.reputation-strip .stat-icon{width:30px;height:30px}.section-heading .eyebrow{font-size:6.5px}.section-heading h2{font-size:23px}.archive-grid{grid-template-columns:1fr}.archive-art{height:185px}.archive-foot{flex-direction:row;align-items:center}.archive-foot .btn{width:auto}.record-stat{padding:17px 14px}.record-stat strong{font-size:31px}.in-game main{padding-inline:10px}.in-game .header-inner{padding-inline:13px;gap:8px}.in-game .play-header{gap:8px}#play-context{font-size:9px}.run-dashboard{padding:12px;gap:10px;grid-template-columns:.72fr 1.28fr}.hr-widget>.hr-face{width:34px;height:34px}.heat-status{font-size:7px}.heat-label{font-size:8px}.score-number{font-size:29px}.decision-card{padding:19px 13px}.scene-title{font-size:25px}.choice{padding:12px 10px;gap:9px}.choice-title{font-size:12px}.choice-detail{font-size:10px}.risk-badge{font-size:10px}.choice-gain{font-size:18px;min-width:48px;padding:7px}.reaction-scene{margin:-19px -13px 20px}.reaction-gain{right:7%;font-size:49px}.reaction-scene .case-art{left:1%}.result-card{padding:23px 16px}.result-card .scene-title{font-size:27px}.account-bar{margin-inline:13px}}
/* Final sizing keeps utility controls touch-friendly without adding header chrome. */
.help-button,.profile-button,.in-game .help-button,.modal-close{width:44px;height:44px}
.result-actions [data-action="share"] .icon{margin:0}
dialog:has(.result-image-modal){max-width:570px}
.modal-body:has(.result-image-modal){padding:58px 24px 26px}
.result-image-modal>.eyebrow{display:block;padding-right:24px;margin-bottom:12px;color:var(--blue-dark);font-size:10px;line-height:1.5}
.result-image-modal h2{font-size:34px;line-height:1.1;margin-bottom:12px}
.result-image-modal>p{font-size:14px;line-height:1.6;color:var(--muted)}
#result-image-status{min-height:23px;margin:12px 0}
#result-image-preview{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
.image-share-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.image-share-actions .btn{flex:1;min-height:48px;font-size:14px;white-space:nowrap;justify-content:center}
.result-image-modal .image-share-note{font-size:12px;margin-top:14px;line-height:1.6}
.result-image-modal>.text-link{min-height:44px;display:flex;align-items:center;font-size:14px;margin-top:10px}
@media(max-width:380px){.image-share-actions{flex-direction:column}.result-image-modal h2{font-size:29px}}
.run-points.lost .score-number{color:#ff9fb1}
@media(max-width:380px){.points-gain{display:none}}
@media(max-width:700px){.today-date{display:none}.today-heading h1{font-size:22px}.choice-title{font-size:13px}.risk-badge{font-size:12px}.choice{padding:12px}.heat-status{font-size:9px}.daily-twist summary{min-height:36px}}
@media(max-width:380px){.today-heading h1{font-size:21px}.today-heading h1 span{display:block}.risk-badge{font-size:11px}.choice-title{font-size:12px}.choice{padding:11px 10px}.heat-status{font-size:8px}.hr-widget>.hr-face{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.points-gain{display:none}}

/* First visit: a daily invitation, then the rules. No empty stats or upsell. */
.welcome-line{font-size:15px;line-height:1.6;color:var(--muted);margin:10px 0 0;max-width:620px}
.first-case-guide{margin:34px 0 24px;padding:28px;border:1.5px solid var(--line);border-radius:20px;background:var(--white)}
.first-case-heading .eyebrow{color:var(--blue-dark);font-size:10px}.first-case-heading h2{font-size:28px;line-height:1.2;margin:9px 0 24px}
.first-case-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:0;margin:0}
.first-case-steps li{min-width:0}.guide-number{display:inline-grid;place-items:center;width:36px;height:36px;background:var(--lavender);color:var(--ink);border:1.5px solid var(--ink);border-radius:10px;font:700 12px var(--mono);margin-bottom:14px}
.first-case-steps h3{font-size:18px;line-height:1.3;margin:0 0 9px}.first-case-steps p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.guide-footnote{font-size:12px;line-height:1.6;color:var(--muted);padding-top:18px;margin:24px 0 0;border-top:1px solid var(--line)}
@media(max-width:700px){
  .welcome-line{font-size:14px;margin-top:8px}.is-newcomer .today-heading h1{font-size:26px}.is-newcomer .today-heading h1 span{display:inline}
  .first-case-guide{padding:22px 20px;margin:26px 0 20px}.first-case-heading h2{font-size:25px;margin-bottom:22px}
  .first-case-steps{grid-template-columns:1fr;gap:23px}.first-case-steps li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px}.guide-number{margin:0}
  .first-case-steps h3{font-size:18px;margin-bottom:6px}.first-case-steps p{font-size:14px}.guide-footnote{font-size:13px}
}
/* A visible, optional handbook: keep it below the cases, not in the way of play. */
.how-inline{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:center;margin:28px 0 8px;padding:24px;background:var(--lavender);border:2px solid var(--ink);border-radius:18px;box-shadow:3px 3px 0 var(--ink)}
.how-inline .handbook-mark{width:48px;height:48px;background:var(--yellow);border:2px solid var(--ink);font-size:25px;color:var(--ink)}
.how-inline .how-copy{min-width:0}.how-inline strong{display:block;font-size:19px;line-height:1.3;font-weight:850}.how-inline small{font-size:14px;line-height:1.55;color:var(--ink);margin-top:6px}
.how-cta{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 18px;border:2px solid var(--blue-dark);border-radius:12px;background:var(--blue);color:white;font-size:14px;font-weight:800;white-space:nowrap}
.how-cta .icon{width:19px;height:19px}
.how-inline:focus-visible{outline:3px solid var(--blue-dark);outline-offset:5px}
@media(hover:hover){.how-inline:hover{background:#dfddff}.how-inline:hover .how-cta{background:var(--blue-dark)}}
dialog:has(.help-guide){max-width:560px;overscroll-behavior:contain}
.modal-body:has(.help-guide){padding:32px}
.help-guide>.eyebrow{display:block;color:var(--blue-dark);font-size:10px;padding-right:36px;margin-bottom:12px}
.help-guide #modal-title{font-size:38px;line-height:1.1;margin:0 0 14px}
.help-intro{font-size:16px;line-height:1.55;color:var(--ink)}.help-intro strong{font-weight:750}
.help-score-note{font-size:13px;line-height:1.5;color:var(--muted);margin-top:9px}
.help-guide .help-steps{margin:24px 0;gap:18px}
.help-guide .help-steps li{font-size:14px;line-height:1.6;padding-left:38px;color:var(--muted)}
.help-guide .help-steps strong{font-size:16px;line-height:1.4;margin-bottom:4px;color:var(--ink)}
.help-steps b{color:var(--ink);font-weight:650}
.help-guide .help-steps li:before{content:none}
.help-step-number{position:absolute;top:0;left:0;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:var(--lavender);border:1px solid #c7c9ed;color:var(--blue-dark);font-weight:850}
.help-example{padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.help-example h3{font-size:13px;line-height:1.5;letter-spacing:0;font-weight:750;margin-bottom:12px}
.help-example dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}
.help-example dl>div+div{border-left:1px solid var(--line);padding-left:14px}
.help-example dt{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;color:var(--muted)}
.help-example .icon{width:15px;height:15px}
.help-example dd{margin:5px 0 0;font-size:20px;font-weight:850;line-height:1.4;color:var(--bank-dark)}
.help-example dl>div+div dd{color:var(--red)}
.help-risk{margin:18px 0;padding:16px;background:var(--lavender);border-radius:12px}
.help-risk>strong{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.5;color:var(--ink)}
.help-risk .icon{width:17px;height:17px}.help-risk p{font-size:14px;line-height:1.6;margin-top:7px;color:var(--ink)}
.help-details{margin:0 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.help-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 0;cursor:pointer;list-style:none;font-size:14px;font-weight:750;color:var(--blue-dark)}
.help-details summary::-webkit-details-marker{display:none}.help-details summary>span{font-size:22px;font-weight:450}.help-details[open] summary>span{transform:rotate(45deg)}
.help-details ul{padding-left:19px;margin:0 0 18px;font-size:14px;line-height:1.6;color:var(--muted)}
.help-details li+li{margin-top:12px}.help-details li strong{color:var(--ink);font-weight:700}
.help-guide>.btn{min-height:48px;font-size:15px}.help-footnote{margin-top:12px;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:700px){
  .how-inline{grid-template-columns:44px minmax(0,1fr);padding:20px 18px;gap:12px;margin:24px 0 8px}
  .how-inline .handbook-mark{width:44px;height:44px;font-size:24px}.how-inline .how-copy strong{font-size:18px}.how-inline .how-copy small{font-size:14px}
  .how-cta{grid-column:2;justify-self:start;font-size:14px;padding:10px 14px;white-space:normal}
  .modal-body:has(.help-guide){padding:58px 22px 24px}.help-guide #modal-title{font-size:32px}
  .help-guide .help-steps strong{font-size:16px}.help-guide .help-steps li{font-size:14px}
}
@media(max-width:380px){.help-example{padding:12px}.help-example dl{gap:10px}.help-example dl>div+div{padding-left:10px}.help-example dt{align-items:flex-start;font-size:11px}.help-example dd{font-size:17px}}
@media(forced-colors:active){.how-inline,.handbook-mark,.how-cta,.help-example,.help-risk{border:2px solid ButtonText}.how-inline:focus-visible{outline-color:Highlight}}

/* Story mechanics: persistent consequences and a readable, saved incident report. */
.story-carry{margin:0 0 22px;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fbfbfe}
.story-carry>.eyebrow{font-size:9px;margin-bottom:9px}
.carry-note{border-left:3px solid var(--blue);padding-left:10px;margin-top:10px}
.carry-note.warning{border-color:var(--red)}
.carry-note.evidence{border-color:var(--bank)}
.carry-note strong{display:block;font-size:12px;font-weight:800}
.carry-note p{font-size:11px;line-height:1.55;color:var(--muted);margin-top:3px}
.choice-future{display:block;margin-top:8px;font-size:11px;line-height:1.55;color:var(--blue-dark);font-weight:650}
.choice-unlock{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1.4;font-weight:750;color:var(--bank-dark);margin-bottom:6px}
.choice-unlock .icon{width:14px;height:14px}
.choice-math{grid-column:1/-1;font-size:11px;line-height:1.55;color:var(--muted);text-align:left}
.choice-gain{max-width:92px}.choice-gain small{line-height:1.5}
.gain-receipt{font-size:12px;color:var(--muted);line-height:1.6;margin:-5px 0 18px}
.gain-receipt strong{color:var(--ink)}
.earned-role{display:flex;flex-direction:column;gap:6px;border:1px dashed var(--line);border-radius:10px;padding:13px 16px;margin:20px 0 10px}
.earned-role span{font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}
.earned-role strong{font-size:16px;line-height:1.4;font-weight:800;color:var(--blue-dark)}
.incident-report{border:1px solid var(--line);border-radius:12px;margin:0 0 23px;background:white;text-align:left;overflow:hidden}
.incident-report summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:12px 16px;font-size:12px;font-weight:750;cursor:pointer;list-style:none}
.incident-report summary::-webkit-details-marker{display:none}.incident-report summary>span{font-size:20px;font-weight:400;color:var(--blue)}
.incident-report[open] summary>span{transform:rotate(45deg)}
.incident-content{border-top:1px solid var(--line);padding:16px}
.incident-content h3{font-size:18px;margin-bottom:8px;line-height:1.25}
.incident-content>p{font-size:12px;line-height:1.65;color:var(--muted)}
.incident-content ol{padding-left:20px;margin:16px 0 0}
.incident-content li{padding-left:3px;margin:0 0 12px;font-size:12px}
.incident-content li:last-child{margin-bottom:0}
.incident-content li strong{display:block;font-size:12px;line-height:1.5}
.incident-content li span{display:block;font-size:11px;line-height:1.65;color:var(--muted);margin-top:3px}
.record-item{flex-wrap:wrap}.record-item>div{min-width:0;flex:1}.record-item .incident-report{flex-basis:100%;width:100%;margin:4px 0 0}.record-item p{overflow-wrap:anywhere}
@media(max-width:700px){.story-carry{padding:12px;margin-bottom:16px}.carry-note strong{font-size:11px}.choice-future{font-size:11px;line-height:1.5}.choice-unlock{font-size:10px}.choice-math{font-size:10px}.choice-gain{max-width:66px}.choice-gain small{font-size:7px;letter-spacing:0}.earned-role strong{font-size:14px}.record-item>div{flex-basis:calc(100% - 120px)}.record-item .record-score{margin-left:auto}.incident-content{padding:14px}}

/* Outcome and entry information use words as well as color. */
.is-fired .completion-score{color:var(--red)}
.is-fired .daily-visual{background-color:#ffe4e6}
.archive-risk{display:flex;align-items:flex-start;gap:14px;padding:20px 22px;margin:0 0 24px;border:1.5px solid #c7c9ed;border-radius:16px;background:#f0f0ff}
.archive-risk-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:var(--white);color:var(--blue-dark)}
.archive-risk h2{font-size:17px;line-height:1.4;letter-spacing:-.35px}
.archive-risk p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:5px;max-width:720px}
.archive-risk details{margin-top:4px}
.archive-risk summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--blue-dark);font-size:13px;font-weight:750;list-style:none}
.archive-risk summary:after{content:'+';font-size:18px}
.archive-risk details[open] summary:after{content:'−'}
.archive-risk summary::-webkit-details-marker{display:none}
.archive-risk details p{margin:0 0 4px}
.archive-resume{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;line-height:1.6}
.entry-risk{background:var(--lavender);border:1px solid #c7c9ed;border-radius:14px;padding:18px;margin:22px 0 18px}
.entry-risk strong{font-size:30px;letter-spacing:-1px;line-height:1.2}
.entry-risk strong span{display:block;font-size:13px;font-weight:750;letter-spacing:0;margin-top:5px}
.entry-risk p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:12px}
.modal-body .entry-rules{font-size:14px;line-height:1.6;margin-bottom:22px}
.entry-cancel{display:flex;margin:8px auto 0;justify-content:center;min-height:44px}
.modal-body .entry-footnote{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0;text-align:center}

/* Phone layouts prioritize reading a case over fitting more cards on screen. */
@media(max-width:700px){
  .help-button,.profile-button{width:44px;height:44px;flex-shrink:0}
  #main-nav a{font-size:12px;min-height:56px}
  .page-intro p,.daily-copy>p:not(.button-note){font-size:15px;line-height:1.65}
  .page-intro .eyebrow,.today-heading .eyebrow{font-size:10px;line-height:1.5}
  .today-date{font-size:12px}
  .daily-status{flex-wrap:wrap;row-gap:10px}
  .daily-status .eyebrow,.daily-status .pill{font-size:11px}
  .daily-rules{font-size:12px;flex-wrap:wrap;gap:10px 18px}
  .button-note{font-size:12px;line-height:1.6}
  .daily-twist{font-size:12px}
  .daily-twist summary{min-height:44px}
  .daily-twist p{font-size:14px}
  .daily-copy .btn-play,.btn-small{font-size:15px;min-height:48px}
  .reputation-strip small{font-size:12px}.reputation-strip em{font-size:12px}
  .section-heading{flex-wrap:wrap}.section-heading .eyebrow{font-size:10px;line-height:1.5}
  .section-heading .text-link{font-size:14px}
  .teaser{flex-basis:285px}.teaser-copy small{font-size:10px}.teaser-copy strong{font-size:16px}
  .how-inline strong{font-size:14px}.how-inline small{font-size:13px;line-height:1.6}
  .archive-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .archive-art{height:190px}.archive-art .case-art{max-height:190px}
  .archive-body{padding:22px}.archive-body .eyebrow{font-size:11px}
  .archive-body h2{font-size:28px;line-height:1.12}
  .archive-body p{font-size:15px;line-height:1.65}
  .archive-foot{flex-direction:column;align-items:stretch;gap:14px}
  .archive-foot .pill{align-self:flex-start;font-size:12px}
  .archive-foot .btn{width:100%;font-size:15px;min-height:48px}
  .access-banner p,.archive-note{font-size:14px;line-height:1.6}
  .access-banner .btn{font-size:15px;min-height:48px}
  .archive-risk{padding:18px 16px;gap:10px}.archive-risk-icon{width:32px;height:32px}
  .archive-risk h2{font-size:16px}.archive-risk p,.archive-risk summary{font-size:13px}
  .record-stat .micro{font-size:11px}.record-stat p{font-size:12px;line-height:1.5}
  .record-item{gap:12px}.record-item>div>strong{font-size:14px;line-height:1.4}
  .record-item p{font-size:12px;line-height:1.6}.record-score small{font-size:11px}
  .record-detail p,.legacy-record p{font-size:14px;line-height:1.7}
  .legacy-record summary{font-size:14px;min-height:44px;line-height:1.5}
  .scene-top .eyebrow{font-size:10px}.scene-copy{font-size:15px;line-height:1.65}
  .choice-prompt{font-size:13px}.choice-title{font-size:15px;line-height:1.4}
  .choice-detail{font-size:14px;line-height:1.55}.choice{padding:16px 13px;gap:12px}
  .choice-future,.choice-unlock,.choice-math{font-size:12px;line-height:1.6}
  .choice-gain small{font-size:9px}.choice-risk{flex-wrap:wrap;gap:6px 12px}
  .risk-badge,.heat-preview{font-size:12px}.risk-explainer{font-size:12px;line-height:1.6}
  .run-points .micro{font-size:10px}.heat-label{font-size:11px}.heat-status{font-size:10px;white-space:normal;line-height:1.4}
  .hr-widget>.hr-face{width:32px;height:32px}
  .cash-control .btn{font-size:15px;min-height:54px}
  .story-carry>.eyebrow{font-size:10px}.carry-note strong{font-size:14px}.carry-note p{font-size:13px;line-height:1.6}
  .outcome-message strong{font-size:14px}.outcome-message p{font-size:14px;line-height:1.6}
  .result-card .scene-copy{font-size:15px;line-height:1.65}.result-score-label,.next-daily{font-size:13px}
  .result-breakdown span{font-size:12px;line-height:1.5}.result-actions .btn{font-size:15px}
  .incident-report summary{font-size:14px;min-height:48px}.incident-content>p{font-size:14px}
  .incident-content li strong{font-size:14px}.incident-content li span{font-size:12px}
  .modal-body>p{font-size:15px;line-height:1.65}.modal-body>.eyebrow{font-size:10px}
  .modal-note,.rules li{font-size:14px;line-height:1.6}.rules li strong{font-size:15px}
  .modal-close{width:44px;height:44px}.modal-body{padding:58px 22px 24px}
  .account-bar{font-size:13px}.account-bar .text-link{font-size:13px;min-height:44px}
  .site-footer{font-size:11px;line-height:1.6;padding-bottom:calc(108px + env(safe-area-inset-bottom))}
}
@media(forced-colors:active){
  .btn,.choice,.pill,.archive-risk,.entry-risk{border:2px solid ButtonText}
  :focus-visible,.access-banner .btn:focus-visible{outline:3px solid Highlight;outline-offset:4px}
}

/* Casebook: permanent discoveries, kept separate from scores and recent reports. */
.archive-discovery{margin-top:22px}
.archive-discovery>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted)}
.archive-discovery .text-link{font-size:13px}
.archive-discovery progress,.casebook progress{display:block;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:var(--line);accent-color:var(--blue);margin:14px 0 6px}
progress::-webkit-progress-bar{background:var(--line);border-radius:8px}progress::-webkit-progress-value{background:var(--blue);border-radius:8px}progress::-moz-progress-bar{background:var(--blue);border-radius:8px}
.casebook{margin:34px 0 38px}
.casebook-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}
.casebook-heading h2{font-size:34px;line-height:1.1;margin:9px 0 12px}.casebook-heading h2 em{color:var(--blue-dark)}
.casebook-heading p{font-size:14px;line-height:1.7;color:var(--muted);max-width:560px}
.collection-count{flex-shrink:0;border:1.5px solid var(--ink);border-radius:18px;padding:22px;background:var(--yellow);box-shadow:3px 3px 0 var(--ink);color:var(--ink)}
.collection-count>strong{display:block;font-size:42px;letter-spacing:-2px;line-height:1.2}.collection-count strong span{font-size:24px;letter-spacing:-1px}
.collection-count>span{display:block;font-size:12px;font-weight:750;margin-top:5px}
.casebook-profile{display:flex;gap:16px;align-items:center;padding:20px 22px;background:var(--lavender);border:1px solid #c7c9ed;border-radius:16px;margin-bottom:20px}
.title-emblem{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:white;color:var(--blue-dark)}
.casebook-profile>div{flex:1;min-width:0}.casebook-profile strong{display:block;font-size:17px;line-height:1.4;margin:5px 0;color:var(--blue-dark);overflow-wrap:anywhere}
.casebook-profile p{font-size:13px;line-height:1.6;color:var(--muted)}
.casebook-cases{display:grid;gap:12px}.casebook-case{background:white;border:1px solid var(--line);border-radius:14px;scroll-margin-top:24px}
.casebook-case>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:20px 22px;cursor:pointer;min-height:80px;border-radius:14px;scroll-margin-top:24px}
.casebook-case>summary::-webkit-details-marker{display:none}.casebook-case[open]>summary{border-bottom:1px solid var(--line);border-radius:14px 14px 0 0}
.casebook-case-name{min-width:0}.casebook-case-name strong{display:block;font-size:20px;line-height:1.3;letter-spacing:-.6px}.casebook-case-name>span{display:block;font-size:13px;color:var(--muted);margin-top:6px}
.casebook-toggle{font-size:25px;color:var(--blue-dark);line-height:1}.casebook-case[open] .casebook-toggle{transform:rotate(45deg)}
.casebook-case-body{padding:8px 22px 22px}.ending-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:20px 0}
.ending-slot{min-width:0;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ending-number{font-family:var(--mono);font-size:10px;font-weight:750;letter-spacing:1px;color:var(--muted)}
.ending-slot h3{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.ending-slot p{font-size:13px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.ending-slot.discovered{border-color:#b5d9c3;background:#f6fcf8}.ending-slot.discovered .ending-number{color:var(--bank-dark)}
.ending-slot .text-link{font-size:13px;margin-top:auto;min-height:44px;color:var(--blue-dark)}.ending-slot [aria-pressed="true"]{color:var(--bank-dark)}
.ending-slot.undiscovered{border-style:dashed;background:#fafafd;color:var(--muted);min-height:155px;justify-content:center}.ending-slot.undiscovered strong{font-size:15px;letter-spacing:0}
.collection-rules{margin-top:12px}.collection-rules summary{cursor:pointer;min-height:44px;font-size:13px;font-weight:750;line-height:1.6;padding-block:12px;color:var(--blue-dark)}
.collection-rules p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:10px;max-width:800px}
.result-discovery{border:1px solid var(--line);background:#f7f7fc;border-radius:14px;padding:18px 20px;margin:22px 0;text-align:left}
.result-discovery.has-discovery{background:#fff7ca;border-color:#bfa638}.result-discovery>strong{display:block;font-size:18px;line-height:1.4;color:var(--ink)}
.result-discovery p{font-size:13px;line-height:1.65;margin-top:5px;color:var(--ink)}.result-discovery .text-link{color:var(--blue-dark);margin-top:5px}
.discovery-best{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:750;color:var(--bank-dark);margin-bottom:10px}
.account-title{display:flex;gap:8px;align-items:flex-start;color:var(--blue-dark);font-weight:750}.account-title .icon{flex-shrink:0}
.discovery-guide{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:18px 0;border-block:1px solid var(--line)}
.discovery-guide p,.discovery-note{font-size:14px;line-height:1.65;color:var(--muted)}.discovery-guide strong{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}
.discovery-note{margin:12px 0 22px}
.daily-return{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin-top:16px;font-size:13px;line-height:1.6;color:var(--ink)}
.daily-return>.icon{flex-shrink:0;margin-top:3px;color:var(--blue-dark)}.daily-return>div{min-width:0}
.daily-return time{font-weight:700}.daily-return small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:3px}
.daily-return a{color:var(--blue-dark);text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;font-weight:700}
.casebook-case-body>.daily-return{border:0;padding-top:0;margin-top:15px}
@media(max-width:700px){
  .discovery-guide{grid-template-columns:1fr;gap:16px}.daily-return{font-size:14px}.daily-return small{font-size:13px}
  .casebook-heading{align-items:flex-start;flex-direction:column;gap:18px}.casebook-heading h2{font-size:29px}.casebook-heading p{font-size:15px}
  .collection-count{display:flex;align-items:center;gap:18px;padding:16px 18px;width:100%}.collection-count>strong{font-size:34px}.collection-count>span{font-size:13px;max-width:120px;line-height:1.5;margin:0}
  .casebook-profile{display:grid;grid-template-columns:44px minmax(0,1fr);padding:18px 16px;align-items:start;gap:8px 12px}.casebook-profile p{font-size:14px}.casebook-profile .micro{font-size:10px}.casebook-profile>.text-link{grid-column:2;justify-self:start;min-height:44px}
  .casebook-case>summary{padding:18px 16px}.casebook-case-name strong{font-size:19px}.casebook-case-body{padding:5px 16px 18px}.ending-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ending-slot{padding:14px 12px}.ending-slot h3{font-size:16px}.ending-slot p{font-size:13px}.ending-slot .text-link{font-size:13px}.ending-slot.undiscovered{min-height:150px}
  .collection-rules summary,.collection-rules p{font-size:14px}.archive-discovery .text-link{font-size:14px}.archive-discovery>div{font-size:13px}
  .result-discovery{padding:16px}.result-discovery p{font-size:14px}.result-discovery .text-link{font-size:14px}
}
@media(max-width:380px){.ending-grid{grid-template-columns:minmax(0,1fr)}.ending-slot.undiscovered{min-height:110px}.collection-count{gap:12px}}
@media(forced-colors:active){.collection-count,.casebook-profile,.ending-slot,.casebook-case,.result-discovery{border:1px solid CanvasText}.ending-slot.undiscovered{border-style:dashed}progress{border:1px solid CanvasText}}

/* Beta tools stay out of the play path, with native form controls and clear states. */
.footer-tools,.account-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 20px}
.footer-tools .text-link,.account-tools .text-link{min-height:44px;font-size:13px;color:var(--blue-dark)}
.account-tools{margin:12px 0 18px;justify-content:flex-start}
.case-feedback{text-align:center;border-top:1px solid var(--line);margin-top:22px;padding-top:10px}.case-feedback .text-link{min-height:44px;font-size:14px;color:var(--blue-dark)}
#feedback-form{margin-top:24px}#feedback-form fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}
#feedback-form legend,.feedback-label{display:block;font-size:15px;font-weight:750;line-height:1.6;margin-bottom:10px;color:var(--ink)}
.feedback-options{display:flex;flex-wrap:wrap;gap:8px}.feedback-options label{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:white;cursor:pointer;font-size:14px;font-weight:650}
.feedback-options input{width:18px;height:18px;margin:0;accent-color:var(--blue-dark);flex-shrink:0}
.feedback-options label:has(:checked){background:var(--lavender);border-color:var(--blue-dark);color:var(--blue-dark)}
.feedback-options label:focus-within{outline:3px solid var(--blue-dark);outline-offset:3px}
.feedback-label span{font-weight:450;color:var(--muted);font-size:13px;margin-left:5px}
#feedback-comment{display:block;width:100%;resize:vertical;min-height:120px;max-height:300px;padding:14px;border:1.5px solid var(--line);border-radius:12px;background:white;color:var(--ink);font:inherit;font-size:16px;line-height:1.6}
#feedback-comment::placeholder{color:var(--muted);opacity:1}
.feedback-count{display:block;text-align:right;font:12px var(--mono);margin:8px 0;color:var(--muted)}
.feedback-privacy{font-size:13px;line-height:1.65;color:var(--muted);margin:12px 0}
.form-error{font-size:14px;line-height:1.6;color:#a22438;margin:12px 0;overflow-wrap:anywhere}.form-error:empty{display:none}
.privacy-list{padding-left:21px;color:var(--muted);font-size:14px;line-height:1.65;margin:18px 0}.privacy-list li+li{margin-top:10px}
.tracking-state{padding:16px;border-radius:12px;background:var(--lavender);color:var(--ink);font-size:14px;line-height:1.6;font-weight:650}
.insights-page{max-width:1040px}.insights-page h1{font-size:clamp(36px,5vw,62px);line-height:1.08}.insights-page h1 em{color:var(--blue-dark)}
.insights-page .section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:22px}
.insights-page h2{font-size:26px;margin:32px 0 18px}.insights-page .section-heading h2{margin-bottom:0}
.insights-intro{font-size:14px;line-height:1.75;color:var(--muted);max-width:860px;margin:18px 0 24px}
.insights-page .record-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0}
.insights-notes{display:grid;grid-template-columns:1fr 1fr;gap:18px}.insights-notes p{font-size:13px;line-height:1.7;color:var(--muted);background:var(--lavender);border-radius:14px;padding:20px}.insights-notes strong{display:block;color:var(--ink);font-size:16px;margin-bottom:6px}
.insights-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:white}
.insights-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.5}
.insights-table-wrap caption{text-align:left;padding:18px 20px;color:var(--muted);font-size:13px}
.insights-table-wrap th,.insights-table-wrap td{padding:14px 18px;border-top:1px solid var(--line);white-space:nowrap}
.insights-table-wrap thead{background:var(--lavender);color:var(--ink)}.insights-table-wrap tbody th{font-weight:650}
.feedback-inbox{display:grid;gap:14px;list-style:none;padding:0;margin:24px 0 30px}
.feedback-inbox li{padding:22px;background:white;border:1px solid var(--line);border-radius:14px;min-width:0}
.feedback-inbox li>div{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between}
.feedback-inbox strong{font-size:14px;color:var(--blue-dark)}.feedback-inbox span{font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.feedback-inbox p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7;margin-top:12px}
@media(max-width:700px){
  .footer-tools{gap:0 18px}.feedback-options{display:grid;grid-template-columns:1fr}.feedback-options label{font-size:15px}
  .insights-page .record-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.insights-notes{grid-template-columns:1fr;gap:12px}
  .insights-intro{font-size:15px}.feedback-inbox li{padding:18px}.feedback-inbox span{font-size:13px}
}
@media(forced-colors:active){.feedback-options label,.tracking-state,.feedback-inbox li,.insights-table-wrap{border:1px solid CanvasText}.feedback-options label:has(:checked){border:2px solid Highlight}.feedback-options label:focus-within{outline-color:Highlight}}
/* A searchable library stays manageable as authored cases are added. */
.archive-search{margin:2rem 0 1.4rem;max-width:42rem}
.archive-search label{display:block;font-weight:800;margin-bottom:.65rem;color:var(--ink,#191c35)}
.archive-search input{box-sizing:border-box;width:100%;min-height:52px;padding:.85rem 1rem;border:2px solid #9293a3;border-radius:14px;background:#fff;color:#191c35;font:inherit}
.archive-search input::placeholder{color:#626478;opacity:1}
.archive-search input:focus-visible{outline:3px solid #384cff;outline-offset:3px;border-color:#191c35}
.archive-search p{margin:.65rem 0 0;color:#626478;font-size:.9rem}
#archive-results>.empty-state{grid-column:1/-1}
.choice-unlock.support-lost{color:#754600}
/* Small, persistent save feedback beside the score—also visible on phones. */
.run-save-status{grid-column:1/-1;display:flex;align-items:center;gap:7px;margin:0;padding-top:9px;border-top:1px solid #ffffff40;color:#b7f0c9;font-size:12px;font-weight:650;line-height:1.5}
.run-save-status:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}
.run-save-status[data-state="saving"]{color:#d4d9ff}
.run-save-status[data-state="pending"]{color:#ffe252}
.unfinished-daily{display:flex;align-items:center;gap:24px;margin:0 0 24px;padding:20px 24px;border:2px solid var(--blue);border-radius:16px;background:var(--lavender)}
.unfinished-daily>div{flex:1}.unfinished-daily strong{font-size:18px}.unfinished-daily p{margin-top:6px;font-size:14px;line-height:1.6}.unfinished-daily .btn{flex-shrink:0}
.account-bar strong{display:block}.account-bar .text-link{min-height:44px;flex-shrink:0}
.in-game.sync-problem .account-bar{position:sticky;top:0;z-index:35;box-shadow:0 3px 12px #191c3515;background:#fff1cd}
.in-game.sync-problem .run-dashboard{position:relative;top:auto}
.case-art{object-fit:contain}
@media(max-width:760px){.run-save-status{font-size:11px;padding-top:7px}.run-dashboard{row-gap:9px}.unfinished-daily{align-items:stretch;flex-direction:column;gap:14px;padding:17px}.unfinished-daily strong{font-size:16px}.unfinished-daily p{font-size:13px}.unfinished-daily .btn{width:100%;font-size:13px}.account-bar{gap:8px}}

/* The finished case is a keepsake, not another decision screen. */
.finished-game{max-width:960px;margin:auto}
.finished-game .result-card{max-width:none;padding:32px;text-align:left;border:2px solid var(--ink);box-shadow:6px 6px 0 var(--ink);overflow:hidden}
.result-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.result-header .eyebrow{font-size:11px;line-height:1.5}
.result-header .result-stamp{display:flex;align-items:center;gap:6px;margin:0;padding:8px 10px;border:1px solid currentColor;border-radius:6px;font-size:10px;line-height:1.4;letter-spacing:.5px;background:var(--bank-soft)}
.result-header .result-stamp.fired{background:#fff0f3}
.result-header .icon{width:16px;height:16px;flex-shrink:0}
.result-payoff{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:30px;align-items:center;padding:32px 0 24px}
.result-story{min-width:0}.result-story>.micro{display:block;font-size:10px;color:var(--muted);margin-bottom:12px}
.result-card .result-story .scene-title{font-size:clamp(30px,3.7vw,46px);line-height:1.08;letter-spacing:-1.5px;margin-bottom:18px;overflow-wrap:anywhere}
.result-card .result-story .scene-copy{font-size:15px;line-height:1.75;margin:0;max-width:none;color:var(--muted)}
.result-receipt{padding:18px 16px 20px;background:#eff8f1;border:1px solid #b4d3bb;border-radius:16px;text-align:center}
.failed .result-receipt{background:#fff0f3;border-color:#e3b7c0}
.result-receipt .result-graphic{width:135px;height:129px;margin:0 auto 16px}
.result-receipt .result-graphic:before{width:108px;height:108px}
.result-receipt .hr-face{width:92px;height:92px}
.result-receipt .result-orbit{right:-21px;font-size:8px;white-space:nowrap}
.result-receipt .result-score{font-size:68px;letter-spacing:-3px;overflow-wrap:anywhere}
.result-receipt .result-score small{font-size:21px;letter-spacing:0}
.receipt-label{display:block;font-size:13px;margin-top:7px;color:var(--bank-dark)}
.failed .receipt-label{color:var(--red)}
.result-receipt .result-score-label{font-size:12px;line-height:1.6;margin-top:9px;color:var(--ink)}
.result-card .earned-role{display:flex;flex-direction:row;align-items:center;gap:14px;margin:0;padding:18px 20px;border:0;border-radius:12px;background:var(--ink);color:white}
.result-card .earned-role>.icon{width:28px;height:28px;flex-shrink:0;color:var(--yellow)}
.result-card .earned-role p{min-width:0}.result-card .earned-role span{display:block;font-size:10px;line-height:1.5;color:#d4d9ff}
.result-card .earned-role strong{display:block;color:white;font-size:20px;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}
.result-share{margin-top:24px}.result-share>p{font-size:13px;line-height:1.6;margin-bottom:12px;color:var(--muted)}
.result-card .result-actions{justify-content:flex-start}.result-card .result-actions .btn{font-size:14px;min-height:50px}
.result-card .result-actions .btn-primary{min-width:155px}
.result-card .result-discovery{margin:24px 0 0;padding:16px 20px}
.result-card .result-discovery>strong{font-size:16px}
.result-card .result-breakdown{text-align:center;margin:20px 0;padding:18px 0}
.result-card .result-breakdown span{font-size:12px;line-height:1.5}
.result-card .incident-report{margin-bottom:0}.result-card .incident-report summary{font-size:14px}
.result-save-status{font-size:12px;line-height:1.5;color:var(--bank-dark);margin:18px 0 0}
.result-save-status[data-state="pending"]{color:#754600}.result-save-status[data-state="saving"]{color:var(--blue-dark)}
.daily-followup{display:grid;grid-template-columns:160px minmax(0,1fr);border:2px solid var(--ink);border-radius:18px;overflow:hidden;background:var(--lavender);margin:28px 0;text-align:left}
.followup-art{position:relative;display:grid;place-items:center;border-right:2px solid var(--ink);padding:12px}
.followup-art .case-art{width:100%;height:auto}.followup-art>span{position:absolute;top:12px;left:12px;font-size:11px;font-weight:800;color:var(--ink)}
.followup-copy{min-width:0;padding:24px 28px}.followup-copy>.eyebrow{font-size:10px;line-height:1.5;color:var(--blue-dark)}
.followup-copy h2{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin-top:8px;overflow-wrap:anywhere}
.followup-copy>p{font-size:14px;line-height:1.6;color:var(--ink);margin-top:8px}
.followup-timing{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:16px;font-size:13px;line-height:1.6;color:var(--ink)}
.followup-timing .icon{width:17px;height:17px}.followup-timing strong{font-variant-numeric:tabular-nums}
.followup-timing>span{color:var(--muted)}
.followup-copy .followup-note{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.6}
.followup-copy .text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;font-size:14px;color:var(--blue-dark)}
.finished-game>.case-feedback{margin-top:24px;text-align:center}
@media(max-width:700px){
  .finished-game .result-card{padding:22px 18px;box-shadow:4px 4px 0 var(--ink)}
  .result-header{align-items:flex-start;flex-wrap:wrap;padding-bottom:16px;gap:10px}
  .result-header .eyebrow{font-size:10px}.result-header .result-stamp{font-size:9px;padding:6px 8px}
  .result-payoff{grid-template-columns:1fr;gap:20px;padding:24px 0 20px}
  .result-card .result-story .scene-title{font-size:32px;letter-spacing:-1px;margin-bottom:14px}
  .result-card .result-story .scene-copy{font-size:15px;line-height:1.65}
  .result-receipt{display:grid;grid-template-columns:106px minmax(0,1fr);gap:0 12px;padding:18px 12px;align-items:center}
  .result-receipt .result-graphic{grid-row:1/4;width:100px;height:112px;margin:0}
  .result-receipt .result-graphic:before{width:90px;height:90px}.result-receipt .hr-face{width:80px;height:80px}
  .result-receipt .result-orbit{font-size:6px;padding:6px;right:-4px;bottom:2px;white-space:normal;max-width:110px;line-height:1.5}
  .result-receipt .result-score{font-size:54px;letter-spacing:-2px}.result-receipt .result-score small{font-size:18px}
  .result-receipt .result-score-label{grid-column:2;margin-top:6px;font-size:12px}
  .receipt-label{margin-top:5px;font-size:12px}
  .result-card .earned-role{padding:16px;gap:12px}.result-card .earned-role strong{font-size:17px}
  .result-card .result-actions{flex-direction:column}.result-card .result-actions .btn{font-size:15px}
  .result-card .result-discovery{padding:16px}.result-card .result-breakdown{gap:6px}
  .result-card .result-breakdown span{font-size:11px}.result-card .incident-report summary{padding:12px;font-size:13px}
  .daily-followup{grid-template-columns:84px minmax(0,1fr);margin:24px 0;border-radius:15px}
  .followup-art{padding:5px;align-items:start;padding-top:40px}.followup-art>span{font-size:10px;left:10px;top:14px}
  .followup-copy{padding:18px 14px}.followup-copy>.eyebrow{font-size:9px}.followup-copy h2{font-size:22px}
  .followup-copy>p{font-size:14px}.followup-timing{font-size:12px;gap:5px;margin-top:14px}.followup-timing>span{flex-basis:100%}
  .followup-copy .followup-note{font-size:12px}
}
@media(forced-colors:active){.result-receipt,.result-card .earned-role,.daily-followup{border:2px solid CanvasText}.result-card .earned-role strong,.result-card .earned-role span,.result-card .earned-role>.icon{color:CanvasText}}

/* HR paperwork: a distinct side episode, never a replacement score receipt. */
.hr-invite{display:flex;align-items:center;gap:20px;background:var(--lavender);border:2px solid var(--ink);border-radius:18px;padding:24px;margin:28px 0;text-align:left}
.hr-invite>div{flex:1;min-width:0}.hr-invite h2{font-size:24px;line-height:1.2;margin:8px 0}.hr-invite p{font-size:14px;line-height:1.6}
.hr-invite .eyebrow,.hr-heading .eyebrow{color:var(--blue-dark)}
.hr-invite .btn{flex-shrink:0;border-color:var(--ink)}
.hr-seal{width:52px;height:52px;display:grid;place-items:center;background:var(--yellow);border:2px solid var(--ink);border-radius:50%;flex-shrink:0}.hr-seal .icon{width:26px;height:26px}
.hr-page{max-width:1000px;margin:auto}.hr-page>.text-link{margin-bottom:16px}
.hr-form{border:2px solid var(--ink);border-radius:22px;padding:32px;background:white;box-shadow:var(--shadow)}
.hr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:20px}
.hr-form h1.scene-title{font-size:clamp(32px,4vw,48px);line-height:1.1;margin:28px 0 16px;letter-spacing:-1.4px}
.hr-premise{font-size:18px;line-height:1.6;max-width:650px;color:var(--muted)}
.hr-file{display:flex;justify-content:space-between;gap:20px;background:var(--paper);border:1px solid var(--line);border-left:4px solid var(--ink);padding:18px 20px;margin:26px 0}
.hr-file strong{display:block;font-size:18px;margin-top:6px}.hr-file>div:last-child{text-align:right}.hr-file span:not(.micro){display:block;font-size:12px;color:var(--muted);margin-top:6px}
.hr-prompt{font-size:25px;margin:24px 0 8px}.hr-note{font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0}
.hr-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.hr-choice{display:flex;flex-direction:column;text-align:left;background:white;border:2px solid var(--ink);border-radius:14px;padding:20px 16px;min-width:0;transition:border-color .15s,box-shadow .15s}
.hr-choice:hover:not(:disabled){border-color:var(--blue);box-shadow:0 4px 0 var(--blue-dark)}.hr-choice:disabled{background:var(--paper);cursor:wait}
.hr-choice-label{font:700 10px/1.5 var(--mono);color:var(--blue-dark)}.hr-choice>strong{font-size:18px;line-height:1.35;margin:12px 0}
.hr-choice-detail{font-size:13px;line-height:1.6;color:var(--muted);flex:1}
.hr-recovery{font-size:36px;line-height:1.2;font-weight:900;margin:24px 0 14px;color:var(--bank-dark)}.hr-recovery small{display:block;font-weight:700;font-size:12px;line-height:1.5}
.hr-odds{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750;line-height:1.5}.hr-odds .icon{width:16px;height:16px}
.hr-calculation{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0 18px}.hr-submit{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;font-weight:800;color:var(--blue-dark);width:100%}
.hr-notice,.hr-verdict{background:var(--lavender);border:1px solid var(--line);border-radius:14px;padding:28px;margin:24px 0}.hr-notice h2,.hr-verdict h2{font-size:28px;line-height:1.2;margin:12px 0}.hr-notice p,.hr-verdict p{font-size:15px;line-height:1.7;max-width:650px;margin:12px 0}.hr-notice .btn,.hr-verdict .btn{margin-top:12px}
.hr-verdict.approved{background:var(--bank-soft)}.hr-verdict.denied{background:var(--paper)}.hr-verdict .eyebrow{color:var(--ink)}
.hr-award{display:block;color:var(--bank-dark);font-size:54px;line-height:1.2;margin:22px 0}.hr-award small{font-size:16px}.denied .hr-award{color:var(--ink)}
.hr-rules{margin-top:24px;border-top:1px solid var(--line);padding-top:8px}.hr-rules summary,.hr-ledger summary{cursor:pointer;min-height:44px;padding:14px 0;font-size:14px;font-weight:750}.hr-rules ul{padding-left:20px;font-size:13px;line-height:1.7;color:var(--muted)}.hr-rules li+li{margin-top:10px}
.hr-ledger{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:16px}.hr-ledger h2{font-size:40px;margin:12px 0}.hr-ledger h2 small{font-size:16px}.hr-ledger p,.hr-ledger li{font-size:13px;line-height:1.7;color:var(--muted)}.hr-ledger ol{list-style:none;padding:0;margin:0}.hr-ledger li{border-top:1px solid var(--line);padding:14px 0}.hr-ledger li strong,.hr-ledger li span{display:block}.hr-ledger li strong{color:var(--ink)}
@media(max-width:700px){
  .hr-invite{flex-wrap:wrap;padding:20px;gap:14px}.hr-invite .hr-seal{display:none}.hr-invite .btn{width:100%}.hr-invite h2{font-size:23px}
  .hr-form{padding:20px 16px;border-radius:18px}.hr-heading{flex-wrap:wrap;gap:10px}.hr-form h1.scene-title{font-size:34px;margin-top:24px}.hr-premise{font-size:16px}
  .hr-file{padding:14px;flex-wrap:wrap;gap:12px}.hr-file>div:last-child{text-align:left}.hr-file strong{font-size:16px}.hr-choices{grid-template-columns:1fr;gap:16px}.hr-choice{padding:20px}.hr-choice>strong{font-size:20px}.hr-recovery{margin:18px 0 12px}.hr-recovery small{display:inline;font-size:13px}.hr-odds{font-size:14px}.hr-submit{font-size:14px}.hr-calculation{font-size:12px}.hr-choice-detail{font-size:14px}
  .hr-notice,.hr-verdict{padding:20px}.hr-notice h2,.hr-verdict h2{font-size:27px}.hr-award{font-size:44px}.hr-award small{display:block;font-size:15px}.hr-ledger{padding:20px}
}
@media(forced-colors:active){.hr-invite,.hr-form,.hr-choice,.hr-verdict,.hr-file,.hr-ledger{border:2px solid CanvasText}.hr-choice:disabled{color:GrayText}}

/* Private owner report: denominators and definitions stay beside each number. */
.insight-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
.insight-summary.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.insight-metric{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;min-width:0}
.insight-metric h3{font-size:13px;letter-spacing:0;line-height:1.5;color:var(--muted)}
.insight-metric>strong{display:block;font-size:42px;line-height:1.2;margin:14px 0;letter-spacing:-1px;color:var(--ink)}
.insight-metric p{font-size:13px;line-height:1.6}.insight-metric small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:10px}
.insight-section{padding:30px 0;border-top:1px solid var(--line);margin-top:12px}
.insight-section>.eyebrow,.insight-section .section-heading .eyebrow{color:var(--blue-dark);margin-bottom:12px}
.insight-section h2{font-size:28px;line-height:1.2;margin-bottom:16px}
.insight-section>p,.insight-details>p{font-size:14px;line-height:1.7;max-width:900px;margin:12px 0}
.insight-section .insight-definition{font-size:13px;color:var(--muted)}
.insight-outcomes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px;background:var(--lavender);border-radius:14px}
.insight-outcomes dt{font-size:12px;line-height:1.5}.insight-outcomes dd{font-size:32px;font-weight:850;margin:10px 0 0}
.insight-details{margin-top:16px}.insight-details>summary{min-height:44px;cursor:pointer;padding:12px 0;font-size:14px;font-weight:750}
.insight-empty{border:1px dashed var(--muted);border-radius:14px;padding:22px;color:var(--muted);background:white}
.insights-page table small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:6px;white-space:normal;min-width:100px;line-height:1.5}
.insights-page table caption{text-align:left;font-size:12px;padding:14px;color:var(--muted);line-height:1.6}
.insights-page .insights-table-wrap{max-width:100%;margin:20px 0}.insights-page td,.insights-page th{vertical-align:top}
.insight-pending{color:var(--muted)}
@media(max-width:850px){.insight-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-summary.three{grid-template-columns:1fr}.insight-outcomes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.insight-summary{grid-template-columns:1fr;gap:12px}.insight-metric{padding:20px}.insight-section h2{font-size:25px}.insight-outcomes{gap:20px;padding:18px}}
