/* A game canvas is the home screen; business tools open only when needed. */
:root{--paper:#f6f1e5;--card:#fffdf5;--ink:#32483d;--muted:#7a877a;--line:#e1dfcf;--soft:#edf0df}
body{background:#eef1df}.hidden{display:none!important}.play-shell{height:100dvh;min-height:520px;display:flex;flex-direction:column;overflow:hidden;background:#e8edda}.game-hud{height:82px;flex:none;display:flex;align-items:center;gap:22px;padding:12px 26px;background:#fffcf1;border-bottom:1px solid #dbe2cb;box-shadow:0 3px 18px #40583a07;z-index:2}.hud-identity{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.hud-back.button{border:0;background:transparent;color:#8b9985;font-size:27px;min-width:28px;width:28px}.hud-avatar{height:46px;width:46px;line-height:44px;text-align:center;background:#e7eecf;color:var(--brand);border:1px solid #dbe4c3;border-radius:15px;font-size:28px;flex:none}.hud-brand-wrap{min-width:0}.hud-brand{display:block;font-size:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:430px;font-weight:780;letter-spacing:-.5px}.hud-brand-wrap small{display:block;font-size:10px;color:#8d9a83;margin-top:4px}.hud-day{border-right:1px solid #e5e6d5;padding:0 24px 0 0;min-width:118px;flex:none}.hud-day strong{display:block;font-size:18px}.hud-day small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.hud-wallet{background:#edf2de;border:1px solid #e1e7cb;border-radius:14px;padding:10px 20px;flex:none;min-width:180px}.hud-wallet small{font-size:8px;letter-spacing:1.3px;font-weight:750;color:#7e8e69;display:block}.hud-wallet strong{font-size:20px;color:#476d46;display:block;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:3px}.hud-actions{display:flex;gap:6px;align-items:center}.help-button{border-color:#d4dec8;background:#fffdf4;color:#557554}.game-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 65% 45%,#f4f3dc 0,#e9efdb 48%,#e0e9d4 100%)}.world-frame{position:absolute;left:calc(50% + 138px);top:50%;transform:translate(-50%,-50%);width:min(calc(100% - 310px),calc((100dvh - 178px)*1.5));aspect-ratio:3/2;max-height:100%;isolation:isolate}.world-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:pointer;outline:0;border-radius:24px}.world-canvas:focus-visible{box-shadow:inset 0 0 0 3px #c9b36a80;outline:none}.game-coach{position:absolute;left:24px;top:24px;width:254px;padding:22px;background:#fffdf2f5;border:1px solid #d6dfc3;border-radius:22px;box-shadow:0 12px 30px #5266420b;z-index:1}.coach-kicker{font-size:8px;color:#8a9775;letter-spacing:1.6px;font-weight:800;margin-bottom:9px}.game-coach h2{font-size:21px;line-height:1.3;letter-spacing:-.5px}.coach-copy{font-size:11px;line-height:1.7;color:#7b8871;margin-top:10px}.coach-steps{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px;font-size:8px;font-weight:700;color:#a0a78d}.coach-steps>span{padding:6px 8px;background:#f0f2e2;border-radius:7px}.coach-steps .current{background:#e3ecd4;color:#537643;border:1px solid #d0ddbd}.coach-steps .done{background:#eef1df;color:#6f8d53}.coach-steps .done:before{content:'✓ ';color:#688653}.game-coach .button.primary{font-size:11px;min-height:43px;border-radius:11px;box-shadow:0 3px 0 #365b4021}.game-coach .button.secondary{font-size:11px}.coach-fine{font-size:9px;line-height:1.7;color:#8e9981;margin-top:12px}.coach-results{margin:12px 0 0}.coach-results .data-row{font-size:11px}.game-coach progress{margin:18px 0 10px;height:7px;accent-color:#88a263}.playback-row{display:flex;gap:5px;align-items:center}.playback-row .button{padding:6px 8px;font-size:10px;min-height:32px}.playback-speed{font-size:10px;width:56px;padding:7px;min-height:32px}.playback-row small{font-size:9px;color:#8a967a;margin-left:auto;white-space:nowrap}.world-instructions{position:absolute;bottom:18px;left:24px;display:flex;gap:11px;font-size:9px;color:#839277;align-items:center;pointer-events:none;max-width:50%;flex-wrap:wrap}.world-instructions span{padding:6px 8px;border-radius:7px;background:#f6f7e880;border:1px solid #dce6cf7a}.world-status{position:absolute;bottom:18px;right:26px;display:flex;align-items:center;gap:16px;font-size:10px;color:#7e8d74;max-width:48%}.shop-status{display:flex;align-items:center;gap:7px;white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;background:#89a061;border-radius:50%;box-shadow:0 0 0 3px #90a66b14}.world-status select{width:auto;max-width:180px;padding:7px 10px;font-size:10px;background:#fffdf2b5;border-radius:9px}.game-dock{flex:none;height:96px;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 24px;background:#fffcf1;border-top:1px solid #d9e0c8;z-index:2;box-shadow:0 -5px 25px #56734704}.dock-button{display:flex;flex-direction:column;align-items:center;gap:7px;background:transparent;border:1px solid transparent;border-radius:14px;width:103px;max-width:13vw;padding:8px 12px;font-size:10px;font-weight:650;color:#718064;min-height:65px;transition:background .15s,color .15s}.dock-button:hover{background:#eff2e1;border-color:#e4e9d4;color:#4d714b}.dock-symbol{height:27px;width:33px;line-height:25px;text-align:center;font-family:ui-serif,Georgia,serif;font-size:25px;color:#819267;background:#ecf0dc;border-radius:9px;position:relative}.dock-button:hover .dock-symbol{color:var(--brand);background:#e1eacb}.dock-divider{height:35px;width:1px;background:#e5e6d6;margin:0 9px}.dock-button.dock-main{background:var(--brand);color:#fff;width:145px;max-width:145px;gap:5px;box-shadow:0 3px 0 #284a3120;border-color:#38624255;font-size:11px}.dock-main .dock-symbol{background:transparent;color:#fff;font-size:18px;height:21px;line-height:20px}.dock-main:hover{filter:brightness(1.05)}.game-alerts{position:absolute;top:83px;left:50%;width:min(640px,calc(100% - 30px));transform:translateX(-50%);z-index:12;pointer-events:none}.game-alerts .alert{pointer-events:auto;box-shadow:0 6px 24px #40573a12}.game-alerts .alert p{font-size:11px}.game-alerts:empty{display:none}.is-busy .game-hud:after{content:'Đang lưu…';position:absolute;top:0;left:0;right:0;text-align:center;font-size:9px;line-height:18px;background:var(--brand);color:#fff;z-index:4}
/* Focused, friendly tools retain the complete business simulation. */
.tool-dialog{width:min(1100px,calc(100% - 48px));max-height:92dvh}.tool-dialog .dialog-body{max-height:calc(92dvh - 143px);padding:27px}.tool-dialog .dialog-body>div>.section-title h2{font-size:22px}.tool-dialog .dialog-body>div>.section-title p{font-size:12px}.tool-dialog .two-columns{gap:20px}.tool-dialog .section-title{margin-bottom:20px}.tool-dialog .card{padding:20px}.tool-dialog .upgrade-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dialog{border-radius:22px;border-color:#dbe2cc;background:#fffdf5;box-shadow:0 30px 100px #30453333}.dialog::backdrop{background:#37503b66;backdrop-filter:blur(5px)}.dialog-head{padding:20px 25px;background:#fffdf2}.dialog-head h2{font-size:21px}.dialog-body{padding:24px}.dialog-actions{background:#f1f2e5}.dialog-actions .button.ghost{margin-left:auto}.dialog-body h3{margin-top:0}.dialog-body>.two-columns h3{margin-top:0}.product-dialog{width:min(750px,calc(100% - 32px))}.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.shelf-choice{display:flex;align-items:center;flex-direction:column;gap:9px;border:1px solid #e1e5d2;background:#f8f8ed;border-radius:15px;padding:18px 12px;text-align:center;color:var(--ink);min-height:130px}.shelf-choice:hover{background:#eef3df;border-color:#bccdad}.shelf-choice strong{font-size:12px}.shelf-choice small{font-size:10px;color:#8c9780}.product-art{height:48px;width:48px;flex:none;background:#ebe4cb;border:1px solid #ddcba8;border-radius:13px;font-size:35px;font-family:Georgia,serif;color:#ad9567;line-height:45px;text-align:center;display:inline-block;box-shadow:0 3px 0 #bbab8033}.product-art-1{background:#deedf0;color:#76a5aa;border-color:#bfd8da}.product-art-2{background:#f2e1d2;color:#c49e82;border-color:#dec3a9}.product-art-3{background:#f3dfb9;color:#b38d54;border-color:#e3cca0}.product-art-4{background:#dfe8cc;color:#88a270;border-color:#c5d4b1}.product-art-5{background:#f0e9dd;color:#aba18d;border-color:#e3d8c6}.shelf-summary{display:flex;gap:16px;align-items:center;background:#f0f3e3;border:1px solid #e5e9d5;border-radius:14px;padding:17px;margin-bottom:22px}.shelf-summary strong{font-size:16px}.shelf-summary p{font-size:10px;margin-top:5px}.focused-product .card{padding:18px;border-radius:14px;background:#fcfbf2;margin-bottom:0}.focused-product .field{margin-bottom:14px}.focused-product .stepper input{flex:1;min-width:40px;width:70px}.focused-product .stepper .button.small{width:auto;min-width:38px;height:39px;min-height:39px;padding:8px 6px;font-size:10px}.focused-product .order-preview{padding:9px 12px;margin-top:0}.focused-product .data-row{font-size:10px}.focused-product .muted{font-size:11px}.focused-product .button.full{font-size:11px}.review-heading{text-align:center;padding:5px 0 23px}.review-heading>span{display:block;font-size:44px;color:#b9a365;margin-bottom:12px}.review-heading h3{font-size:20px;margin-bottom:8px}.review-heading p{font-size:12px}.review-metrics{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;border-radius:14px;background:#eff2df;margin-bottom:18px}.review-metrics .metric strong{font-size:20px}.review-dialog .dialog-body>p{font-size:11px;margin-top:16px}.help-intro{display:flex;gap:17px;align-items:center;padding:16px;background:#eef1de;border-radius:13px;margin-bottom:24px}.help-intro>span{font-size:40px;color:#8aa16b}.help-intro p{font-size:12px}.help-step{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid #eaecdf}.help-step>span{height:29px;width:29px;border-radius:10px;background:#e8edda;color:#6c8554;text-align:center;line-height:29px;flex:none;font-weight:750;font-size:12px}.help-step strong{font-size:12px}.help-step p{font-size:11px;color:#87917d;margin-top:6px}
/* Opening a new shop is one guided choice over the cozy world. */
.is-setup .world-frame{left:50%;width:min(100%,calc((100dvh - 82px)*1.5));opacity:.4;filter:blur(2px)}.is-setup .world-instructions,.is-setup .world-status{display:none}.setup-overlay{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:32px 24px;background:#e7eed86b;z-index:2}.cozy-setup{margin:auto 0;max-width:1030px;width:100%;background:#fffdf1f5;border:1px solid #dce4cd;border-radius:25px;padding:32px;box-shadow:0 20px 60px #44603d1a}.setup-heading{max-width:730px;margin-bottom:26px}.setup-heading h1{font-size:29px;line-height:1.25;letter-spacing:-.8px;white-space:normal;margin:10px 0}.setup-heading p{font-size:12px;max-width:670px}.setup-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:27px}.setup-content h3{font-size:15px;margin-bottom:13px}.capital-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.capital-choice{border:1px solid #e1e4d2;border-radius:14px;background:#f7f7ea;padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#78836b;text-align:center;min-height:165px;position:relative}.capital-choice strong{font-size:12px;color:#4a5e40}.capital-choice>span:not(.capital-icon){font-size:10px}.capital-choice small{font-size:9px;color:#8a947c}.capital-choice.chosen{background:#edf3db;border-color:#a3ba80;box-shadow:0 0 0 2px #bacd9b35}.capital-choice.chosen:after{content:'✓';position:absolute;top:10px;right:10px;line-height:17px;width:17px;height:17px;background:#839e5f;color:white;border-radius:50%;font-size:10px}.capital-icon{font-size:32px;line-height:40px;color:#879c6b;height:43px}.setup-stock-note{display:flex;gap:13px;padding:19px 0 4px;margin-top:13px}.setup-stock-note>span{font-size:34px;color:#a9956b}.setup-stock-note strong{font-size:12px}.setup-stock-note p{font-size:10px;margin-top:6px}.setup-customize{padding:12px 16px;background:#f6f6e8;border:1px solid #e6e8d8;border-radius:12px;margin-top:16px}.setup-customize>summary{font-size:10px;color:#7c8c64}.setup-customize .setup-row{grid-template-columns:10px minmax(0,1fr) 70px}.setup-customize .product-dot{height:9px;width:9px;background:#d2bd8d}.setup-customize .product-row:first-of-type{margin-top:12px}.setup-budget{background:#f1f3e4;border:1px solid #e3e7d3;border-radius:17px;padding:20px;align-self:start}.setup-budget .data-row{font-size:10px;border-color:#e4e8d3}.setup-budget .data-row.total{font-size:12px;margin-top:10px}.setup-budget summary{font-size:10px}.setup-budget .button.primary{font-size:12px;margin-top:17px}.setup-budget .coach-fine{font-size:9px}.setup-budget .inline-error{font-size:10px;padding:10px;margin-top:8px}.setup-budget .compact-table{font-size:8px}.setup-budget .muted{font-size:9px;margin:10px 0}
/* Illustrated title screen. Generated artwork may replace the CSS fallback. */
.landing-2d{max-width:1240px;padding:0 36px;background:#fffdf100}.landing-2d .landing-header{border-color:#dbe1cc;min-height:85px}.landing-logo{display:flex;gap:10px;align-items:center;color:#678757}.landing-logo>span{font-size:29px}.landing-logo strong{font-size:16px;letter-spacing:1.5px}.landing-logo small{font-size:8px;color:#94a084;letter-spacing:1.2px;border-left:1px solid #dce3ce;margin-left:2px;padding-left:12px}.landing-2d .landing-grid{grid-template-columns:minmax(0,1fr) 370px;gap:70px;padding:35px 0 45px}.landing-2d .welcome{display:block}.welcome-art{width:100%;height:240px;border-radius:22px;position:relative;overflow:hidden;background:linear-gradient(#eaf0dc 0,#eaf0dc 69%,#dfe7ca 69%,#e8ecd4 100%);margin-bottom:25px}.welcome-art .tiny-shop{position:absolute;left:50%;top:45px;transform:translateX(-50%);margin:0;z-index:2;width:260px;height:154px}.art-sun{position:absolute;right:16%;top:26px;width:56px;height:56px;border-radius:50%;background:#f2d896;box-shadow:0 0 0 10px #f4e3b755}.art-tree{position:absolute;bottom:43px;width:28px;height:65px;background:#b79f72;border-radius:9px}.art-tree:before{content:'';display:block;width:95px;height:112px;background:#a6bb84;border-radius:48% 52% 42% 60%;position:absolute;top:-90px;left:-33px;box-shadow:inset -13px -6px #97af77}.tree-left{left:10%;transform:scale(.85);bottom:40px}.tree-right{right:10%;transform:scale(.7);bottom:37px}.art-path{position:absolute;bottom:0;left:39%;width:27%;height:62px;background:#dac9a4;clip-path:polygon(30% 0,63% 0,100% 100%,0 100%);z-index:1}.cozy-hero-art{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:4}.has-generated-art>.tiny-shop,.has-generated-art>.art-sun,.has-generated-art>.art-tree,.has-generated-art>.art-path{visibility:hidden}.landing-2d .welcome h1{font-size:37px;line-height:1.2;letter-spacing:-1px;margin:12px 0 17px}.landing-2d .welcome .lead{font-size:14px;color:#7d8c70;max-width:480px}.landing-2d .welcome-tags{display:flex;margin-top:19px}.landing-2d .welcome-tags span{font-size:9px;background:#e7edd9;border-color:#dbe4cd;padding:6px 9px}.resume-button{margin-top:22px;font-size:12px;padding:12px 18px}.landing-2d .new-game{padding:26px;border-color:#dbe1cb;border-radius:22px;box-shadow:0 10px 40px #56744408;background:#fffdf2}.landing-2d .new-game h2{font-size:24px;margin:9px 0 24px}.landing-2d .new-game .eyebrow{font-size:8px;color:#94a07e}.landing-2d .new-game .field{font-size:11px}.landing-2d .new-game .sign-preview{border:5px solid #dfcfaa;border-radius:11px;font-size:17px}.landing-2d .save-area{border-color:#dde2ce}.landing-2d .save-area h2{font-size:19px}.landing-2d .save-card{background:#fffdf1;border-color:#dce3cd;border-radius:15px}.landing-2d .footnote{border-color:#dce2cc}.landing-2d .new-game .button.primary{font-size:12px;box-shadow:0 3px 0 #355b3b1a}
@media(min-width:1800px){.game-hud{padding:14px 42px}.game-coach{left:42px;top:34px;width:270px;padding:25px}.world-frame{left:calc(50% + 155px);width:min(calc(100% - 355px),calc((100dvh - 178px)*1.5))}.world-instructions{left:42px}.game-dock{gap:18px}.dock-button{width:110px}}
@media(max-width:1050px){.game-hud{gap:15px;padding:12px 18px}.hud-brand{font-size:17px;max-width:280px}.hud-day{min-width:100px;padding-right:15px}.hud-wallet{min-width:154px;padding:10px 14px}.hud-wallet strong{font-size:18px}.game-coach{left:17px;width:235px;padding:18px}.world-frame{left:calc(50% + 123px);width:min(calc(100% - 270px),calc((100dvh - 178px)*1.5))}.game-dock{gap:4px}.dock-button{width:92px}.dock-button.dock-main{width:135px}.tool-dialog .upgrade-grid{grid-template-columns:1fr 1fr}.landing-2d .landing-grid{gap:35px;grid-template-columns:minmax(0,1fr) 340px}.setup-content{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.cozy-setup{padding:25px}.capital-choice{padding:14px 8px}.capital-choice strong{font-size:10px}.capital-choice small{font-size:8px}.setup-budget{padding:17px}}
@media(max-width:850px){.game-hud{height:74px;gap:10px;padding:10px 14px}.hud-actions .ghost{display:none}.hud-day{min-width:85px;padding-right:10px}.hud-day strong{font-size:15px}.hud-day small{font-size:8px}.hud-brand-wrap small{font-size:8px}.hud-avatar{height:38px;width:38px;line-height:35px;font-size:23px;border-radius:12px}.hud-brand{max-width:230px;font-size:16px}.hud-wallet{min-width:142px;padding:8px 12px}.hud-wallet strong{font-size:17px}.game-coach{left:16px;top:15px;width:calc(100% - 32px);padding:15px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;max-width:600px;border-radius:17px}.coach-kicker{grid-column:1;letter-spacing:1.1px;font-size:7px;margin-bottom:5px}.game-coach h2{grid-column:1;font-size:18px}.coach-copy{grid-column:1;max-width:410px;margin-top:5px;font-size:10px;line-height:1.6}.coach-steps{grid-column:1;margin-top:7px;gap:5px;font-size:7px}.game-coach .button.primary{grid-column:2;grid-row:2/5;align-self:center;margin:0;font-size:10px;min-height:40px;padding:10px 13px;width:150px;max-width:none}.game-coach .button.secondary{grid-column:2;font-size:10px;grid-row:2;margin:0;width:150px}.game-coach .button.secondary+.primary{grid-row:3/5;align-self:end;margin-top:10px}.game-coach .button.ghost.full{grid-column:1;font-size:9px;min-height:25px;padding:5px;margin:5px 0 0}.game-coach .coach-fine{grid-column:1;font-size:8px;margin-top:7px;max-width:350px}.game-coach progress{grid-column:1;margin:12px 0 3px}.playback-row{grid-column:1}.coach-results{grid-column:1;margin:8px 0 0}.coach-results .data-row{font-size:10px;padding:4px 0}.world-frame{left:50%;top:calc(50% + 65px);width:min(100%,calc((100dvh - 260px)*1.5))}.world-instructions{left:18px;bottom:12px;font-size:8px;gap:6px}.world-status{bottom:14px;right:18px;font-size:9px;gap:10px}.world-status select{max-width:120px;font-size:9px}.game-dock{height:88px;padding:10px 12px;gap:3px}.dock-button{width:85px;max-width:12vw;padding:7px 9px;font-size:9px;min-height:62px}.dock-symbol{font-size:23px;width:31px;height:26px;line-height:24px}.dock-button.dock-main{width:119px;max-width:119px;font-size:10px}.dock-divider{margin:0 5px}.game-alerts{top:75px}.setup-overlay{padding:22px 17px}.cozy-setup{margin:0;border-radius:20px}.setup-content{grid-template-columns:1fr 245px;gap:17px}.capital-choices{gap:7px}.capital-choice{padding:14px 5px;min-height:151px}.capital-choice strong{font-size:10px}.capital-choice>span:not(.capital-icon){font-size:8px}.capital-choice small{font-size:8px}.setup-heading h1{font-size:25px}.setup-heading p{font-size:11px}.setup-customize{padding:10px 12px}.landing-2d{padding:0 25px}.landing-2d .welcome h1{font-size:30px}.landing-2d .landing-grid{gap:26px;grid-template-columns:minmax(0,1fr) 320px}.welcome-art{height:220px}.welcome-art .tiny-shop{width:225px;height:146px;top:46px}.tree-left{left:8%;transform:scale(.65)}.tree-right{right:8%;transform:scale(.5)}}
@media(max-width:600px){.play-shell{min-height:480px}.game-hud{height:93px;display:grid;grid-template-columns:1fr auto;gap:7px 11px;padding:10px 13px}.hud-identity{gap:8px;grid-column:1;min-height:31px}.hud-back.button{display:none}.hud-avatar{height:31px;width:31px;line-height:29px;font-size:20px;border-radius:10px}.hud-brand{font-size:14px;max-width:215px}.hud-brand-wrap small{font-size:7px;margin-top:2px}.hud-actions{grid-column:2;grid-row:1}.hud-actions .help-button{font-size:9px;padding:6px 9px;min-height:31px;border-radius:9px}.hud-wallet{grid-column:2;grid-row:2;min-width:0;display:flex;gap:8px;align-items:center;padding:6px 10px;border-radius:9px}.hud-wallet small{font-size:6px;letter-spacing:.5px}.hud-wallet strong{font-size:13px;margin:0}.hud-day{grid-column:1;grid-row:2;min-width:0;border-right:0;padding:0;display:flex;align-items:center;gap:7px;padding-left:39px}.hud-day strong{font-size:11px}.hud-day small{font-size:8px;margin:0;white-space:nowrap}.game-coach{top:12px;left:12px;width:calc(100% - 24px);gap:0 11px;padding:13px 14px;border-radius:15px;grid-template-columns:minmax(0,1fr) 110px}.coach-kicker{font-size:6px;letter-spacing:.8px}.game-coach h2{font-size:15px;line-height:1.3}.coach-copy{font-size:9px;line-height:1.55;margin-top:5px}.game-coach .button.primary{width:110px;min-height:39px;font-size:9px;padding:10px 8px;border-radius:10px}.game-coach .button.secondary{width:110px;font-size:8px;padding:9px 7px;min-height:36px}.coach-steps{font-size:6px;gap:3px;margin-top:7px}.coach-steps>span{padding:4px 5px;border-radius:5px}.game-coach .coach-fine{font-size:7px;line-height:1.4}.coach-results .data-row{font-size:8px}.playback-row small{font-size:7px}.playback-row .button{font-size:8px;padding:5px 4px}.playback-speed{width:45px;font-size:8px;padding:5px}.game-coach progress{margin-top:8px}.world-frame{top:calc(50% + 53px);width:100%;max-height:none}.world-canvas{border-radius:15px}.world-instructions{bottom:14px;left:13px;font-size:7px;gap:4px;max-width:55%}.world-instructions span{padding:4px 6px;border-radius:5px}.world-instructions span:nth-child(2){display:none}.world-status{bottom:18px;right:13px;font-size:7px;gap:8px;max-width:42%}.world-status>span:nth-child(2){display:none}.status-dot{width:5px;height:5px;box-shadow:none}.world-status select{font-size:7px;padding:5px 6px;max-width:84px}.game-dock{height:82px;padding:8px 7px 12px;gap:0;justify-content:space-around;align-items:center}.dock-button{width:auto;max-width:12vw;padding:7px 4px;min-width:0;font-size:7px;gap:6px;min-height:56px;border-radius:9px;flex:1}.dock-symbol{font-size:19px;width:25px;height:23px;line-height:22px;border-radius:7px}.dock-divider{display:none}.dock-button.dock-main{max-width:69px;flex:1.5;min-width:61px;font-size:7px;min-height:57px;padding:7px 5px;gap:5px;border-radius:10px;margin-left:4px}.dock-main .dock-symbol{font-size:14px;width:20px;height:21px}.game-alerts{top:93px}.game-alerts .alert p{font-size:9px}.is-setup .game-hud{height:72px;display:flex;justify-content:space-between}.is-setup .hud-day,.is-setup .hud-wallet{display:none}.is-setup .hud-identity{flex:1}.is-setup .world-frame{width:100%;top:50%}.setup-overlay{padding:16px 12px}.cozy-setup{padding:21px 18px;border-radius:18px}.setup-heading{margin-bottom:19px}.setup-heading h1{font-size:23px;line-height:1.3}.setup-heading p{font-size:10px;line-height:1.6}.setup-content{display:flex;flex-direction:column;gap:18px}.setup-content h3{font-size:13px;margin-bottom:11px}.capital-choice{min-height:145px;padding:13px 5px;gap:7px;border-radius:11px}.capital-choice strong{font-size:9px}.capital-choice small{font-size:7px;line-height:1.6}.capital-choice>span:not(.capital-icon){font-size:7px}.capital-icon{font-size:25px;height:37px;line-height:34px}.capital-choice.chosen:after{height:14px;width:14px;line-height:14px;font-size:8px;right:6px;top:6px}.setup-stock-note{margin-top:8px;padding-top:15px}.setup-stock-note strong{font-size:10px}.setup-stock-note p{font-size:9px}.setup-customize summary{font-size:9px}.setup-budget{width:100%;padding:18px}.setup-budget .data-row{font-size:10px}.setup-budget .compact-table{font-size:9px}.tool-dialog,.product-dialog{width:calc(100% - 20px);max-height:93dvh;border-radius:17px}.tool-dialog .dialog-body{max-height:calc(93dvh - 135px);padding:17px}.dialog-head{padding:17px}.dialog-head h2{font-size:18px}.dialog-body{padding:17px}.dialog-actions{padding:13px 17px}.dialog-actions .button{font-size:10px}.tool-dialog .section-title{margin-bottom:17px}.tool-dialog .dialog-body>div>.section-title h2{font-size:20px}.tool-dialog .dialog-body>div>.section-title p{font-size:10px}.tool-dialog .card{padding:16px;border-radius:13px}.tool-dialog .two-columns,.focused-product{display:block}.tool-dialog .upgrade-grid{grid-template-columns:1fr 1fr}.tool-dialog .store-map{grid-template-columns:1fr 1fr}.product-dialog .card{margin-bottom:14px;padding:17px}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shelf-choice{padding:14px 9px;min-height:114px;gap:8px;border-radius:12px}.shelf-choice strong{font-size:11px}.shelf-choice small{font-size:9px}.product-art{width:39px;height:39px;line-height:36px;font-size:28px;border-radius:10px}.shelf-summary{padding:13px;gap:12px;margin-bottom:16px;border-radius:11px}.shelf-summary strong{font-size:14px}.shelf-summary p{font-size:9px}.focused-product .stepper input{width:auto;flex:1}.review-metrics{gap:15px;padding:15px}.review-metrics .metric strong{font-size:17px}.review-metrics .metric small{font-size:9px}.review-heading h3{font-size:17px}.review-heading p{font-size:11px}.help-intro p{font-size:11px}.help-step p{font-size:10px}.help-step strong{font-size:11px}.landing-2d{padding:0 18px}.landing-2d .landing-header{min-height:70px}.landing-logo{gap:8px}.landing-logo strong{font-size:14px}.landing-logo small{font-size:7px;padding-left:9px;letter-spacing:.6px}.landing-logo>span{font-size:25px}.landing-2d .landing-grid{display:flex;flex-direction:column;gap:25px;padding:22px 0 27px}.landing-2d .welcome{width:100%;display:block}.welcome-art{height:205px;margin-bottom:22px}.welcome-art .tiny-shop{width:210px;height:137px;top:37px;border-width:9px;border-bottom:0;box-shadow:0 11px 0 #b89c72,0 17px 0 #dfceb1}.welcome-art .awning{left:-20px;right:-20px;top:-21px;height:29px;border-radius:10px;background:repeating-linear-gradient(90deg,var(--brand) 0,var(--brand) 31px,#fcf1d6 31px,#fcf1d6 62px)}.welcome-art .tiny-sign{font-size:13px;padding:9px;left:16px;right:16px;top:22px;box-shadow:0 0 0 3px #dbc7a7}.welcome-art .tiny-window{width:70px;height:43px;left:15px;bottom:17px;border-width:4px;box-shadow:inset 0 -13px #89b0a2}.welcome-art .tiny-door{width:50px;height:64px;right:19px;border-width:4px}.welcome-art .art-sun{height:42px;width:42px;top:24px;right:12%;box-shadow:0 0 0 8px #f4e3b755}.welcome-art .tree-left{left:7%;transform:scale(.6);bottom:40px}.welcome-art .tree-right{right:7%;transform:scale(.5);bottom:36px}.landing-2d .welcome h1{font-size:29px;line-height:1.2;margin:10px 0 14px;letter-spacing:-.8px}.landing-2d .welcome .lead{font-size:12px;line-height:1.7;margin:0}.landing-2d .welcome-tags{display:flex;gap:7px;margin-top:16px}.landing-2d .welcome-tags span{font-size:8px;padding:5px 8px}.landing-2d .welcome .eyebrow{font-size:8px;letter-spacing:1px}.landing-2d .new-game{padding:22px;border-radius:18px}.landing-2d .new-game h2{font-size:22px;margin:7px 0 21px}.landing-2d .new-game .sign-preview{font-size:16px}.resume-button{margin-top:20px;font-size:11px}.landing-2d .save-area h2{font-size:18px}.landing-2d .save-grid{grid-template-columns:1fr}.landing-2d .save-card{padding:17px}.landing-2d .footnote p{font-size:8px}#toast{bottom:95px;font-size:10px}}
@media(max-height:600px) and (min-width:601px){.play-shell{min-height:350px}.game-hud{height:60px;padding:8px 16px}.hud-avatar{height:35px;width:35px;line-height:32px;font-size:23px}.hud-brand{font-size:15px}.hud-day strong{font-size:15px}.hud-wallet{padding:6px 12px}.hud-wallet strong{font-size:16px}.game-dock{height:72px;padding:7px 12px}.dock-button{min-height:53px;gap:4px;font-size:9px}.dock-symbol{height:23px;width:28px;font-size:21px;line-height:21px}.game-coach{left:15px;top:14px;width:215px;display:block;padding:15px}.game-coach h2{font-size:16px}.coach-copy{font-size:9px;line-height:1.6;max-width:none}.game-coach .button.primary,.game-coach .button.secondary{width:100%;margin-top:11px;font-size:9px;min-height:34px;padding:8px}.coach-steps{font-size:6px;margin-top:8px}.coach-kicker{font-size:6px;margin-bottom:6px}.coach-fine{display:none}.world-frame{left:calc(50% + 105px);top:50%;width:min(calc(100% - 245px),calc((100dvh - 136px)*1.5))}.world-instructions{bottom:7px;font-size:7px}.world-instructions span{padding:4px 6px}.world-status{bottom:10px;font-size:8px}.game-alerts{top:60px}.setup-overlay{padding:15px}.cozy-setup{margin:0}.setup-heading h1{font-size:23px}.setup-heading{margin-bottom:17px}}
@media(prefers-reduced-motion:reduce){.world-canvas,.dock-button{transition:none}.dialog::backdrop{backdrop-filter:none}}

.status-button{font:inherit;border:0;padding:4px 0;background:transparent;color:inherit;cursor:pointer}.status-button:hover{color:var(--brand)}
/* Readable instructions and actions at normal viewing distance. */
.game-coach .coach-copy{font-size:13px;line-height:1.7}.game-coach .button.primary,.game-coach .button.secondary{font-size:14px}.game-coach .button.ghost.full{font-size:12px}.dock-button{font-size:12px}.dock-button.dock-main{font-size:13px}.help-intro p,.help-step p{font-size:14px;line-height:1.7}.help-step strong{font-size:14px}.help-step>span{font-size:13px}.game-coach .coach-fine{font-size:11px}.playback-row .button{font-size:13px}.playback-speed{font-size:12px;min-width:58px}.playback-row small{font-size:11px}.coach-results .data-row{font-size:12px}
@media(max-width:850px){.game-coach .coach-copy{font-size:12px;line-height:1.6}.game-coach .button.primary,.game-coach .button.secondary{font-size:13px;padding:10px 12px}.game-coach .button.ghost.full{font-size:12px}.dock-button{font-size:11px}.dock-button.dock-main{font-size:12px}.game-coach .coach-fine{font-size:10px}.playback-row small{font-size:10px}.coach-results .data-row{font-size:11px}}
@media(max-width:600px){.game-coach .coach-copy{font-size:12px;line-height:1.6}.game-coach .button.primary,.game-coach .button.secondary{font-size:13px;padding:10px 8px}.game-coach .button.ghost.full{font-size:12px}.game-coach .coach-fine{font-size:10px;line-height:1.5}.game-coach h2{font-size:16px}.game-coach .coach-kicker{font-size:8px}.coach-steps{font-size:8px}.coach-steps>span{padding:4px}.coach-results .data-row{font-size:10px}.playback-row .button{font-size:13px;padding:6px}.playback-speed{font-size:12px;min-width:52px}.playback-row small{font-size:10px}.game-dock{height:133px;padding:7px 10px 11px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:3px}.dock-button{width:100%;max-width:none;font-size:13px;min-height:51px;padding:5px 4px;gap:4px;border-radius:9px;line-height:1.2}.dock-symbol{height:21px;width:25px;line-height:19px;font-size:18px}.dock-button.dock-main{grid-column:span 2;width:100%;max-width:none;min-width:0;min-height:51px;font-size:13px;margin:0;flex-direction:row;justify-content:center;gap:10px;padding:8px}.dock-main .dock-symbol{font-size:14px}.world-frame{top:calc(50% + 83px)}.help-intro p,.help-step p{font-size:14px}.help-step strong{font-size:14px}#toast{bottom:145px}}
@media(max-height:600px) and (min-width:601px){.game-coach .coach-copy{font-size:12px;line-height:1.5}.game-coach .button.primary,.game-coach .button.secondary{font-size:13px}.dock-button{font-size:11px}.dock-button.dock-main{font-size:12px}.game-coach .coach-fine{display:none}}
/* Phase-aware teaching stays optional and keeps every financial step explicit. */
.guide-link.button{font-size:12px;min-height:31px;margin-top:12px;padding:6px 0;text-align:left;width:100%;color:#6f8659}.guide-link:before{content:'?';display:inline-block;width:16px;height:16px;line-height:15px;border:1px solid #a5b68d;border-radius:50%;text-align:center;font-size:10px;margin-right:7px}.coach-stock-alert,.coach-warnings{margin-top:12px;border-top:1px solid #e4e8d2;padding-top:8px}.coach-stock-alert summary,.coach-warnings summary{font-size:12px;font-weight:650;line-height:1.5;color:#8b7246}.coach-stock-alert p,.coach-warnings p{font-size:12px;color:#879177;line-height:1.7;margin-top:8px}.coach-warnings summary{color:#73825b}.coach-stock-alert .button.small{font-size:12px}.guide-dialog{width:min(760px,calc(100% - 28px))}.guide-current{padding:20px;background:#edf2dd;border:1px solid #dde6c8;border-radius:14px;margin-bottom:20px}.guide-current .eyebrow{font-size:9px;letter-spacing:1.1px}.guide-current h3{font-size:19px;margin:10px 0}.guide-current p{font-size:14px;color:#718263}.guide-context-actions{margin-top:16px}.guide-context-actions .button{font-size:13px;min-height:42px}.guide-money,.guide-dates{padding:20px;background:#f7f7ec;border:1px solid #e5e7d6;border-radius:14px;margin-top:24px}.guide-money h3,.guide-dates h3{font-size:17px;margin:0 0 13px}.guide-money .data-row{font-size:13px;padding:10px 0}.guide-money .data-row strong{max-width:65%}.guide-money p,.guide-dates p{font-size:13px;line-height:1.8;margin-top:13px}.guide-dialog .notice{font-size:12px}.guide-dialog .dialog-body{max-height:calc(90dvh - 145px)}.guide-dialog .dialog-actions .button{font-size:13px}.order-constraints{margin-top:14px}.order-constraints:empty{display:none}.order-constraints .inline-error{font-size:12px;line-height:1.7;padding:10px 12px;margin-top:9px}.focused-product .data-row{font-size:12px}.focused-product .muted{font-size:12px;line-height:1.7;margin-bottom:14px}.focused-product .button.full{font-size:13px}.focused-product .notice{font-size:12px}.shelf-summary p.stock-evidence{font-size:12px;line-height:1.6;margin-top:8px}.phase-guard p{font-size:13px;line-height:1.7}.phase-guard .button.small{font-size:13px;white-space:normal}.game-warning-panel{padding:17px 20px;border:1px solid #e5debc;background:#f9f5df;border-radius:13px;margin:18px 0}.game-warning-panel h3{font-size:14px;margin:0 0 10px}.game-warning-panel p{font-size:12px;line-height:1.7;color:#8a805f}.game-warning-panel p+p{margin-top:8px}.review-stock-note{padding:13px;background:#f1f3e5;border:1px solid #e4e8d2;border-radius:10px;margin-top:13px}.review-stock-note strong{font-size:13px;color:#8a734b}.review-stock-note p{font-size:12px;color:#7b886b;margin-top:6px;line-height:1.7}
@media(max-width:850px){.game-coach .guide-link,.coach-stock-alert,.coach-warnings{grid-column:1/-1}.game-coach .guide-link{margin-top:7px;min-height:26px;font-size:12px}.coach-stock-alert,.coach-warnings{margin-top:8px;padding-top:6px}.coach-stock-alert summary,.coach-warnings summary{font-size:12px}.coach-stock-alert p,.coach-warnings p{font-size:12px}.game-coach .coach-fine{font-size:11px;line-height:1.6;max-width:100%}}
@media(max-width:600px){.guide-current{padding:16px}.guide-current h3{font-size:17px}.guide-current p{font-size:13px}.guide-money,.guide-dates{padding:16px;margin-top:18px}.guide-money .data-row{font-size:12px}.guide-money p,.guide-dates p{font-size:13px}.guide-dialog .dialog-body{max-height:calc(93dvh - 153px)}.guide-dialog .dialog-actions .button{font-size:13px}.guide-context-actions .button{font-size:13px}.focused-product .button.full{font-size:13px}.focused-product .data-row{font-size:12px}.focused-product .muted{font-size:12px}.game-coach .guide-link{font-size:12px;min-height:28px}.coach-stock-alert summary,.coach-warnings summary{font-size:12px}.game-coach .coach-fine{grid-column:1/-1;font-size:11px;line-height:1.6;margin-top:8px}.phase-guard p{font-size:12px}.phase-guard .button.small{font-size:13px}.game-warning-panel{padding:14px}.game-warning-panel p{font-size:12px}.game-coach .playback-row{flex-wrap:wrap;gap:3px}.playback-row small{font-size:11px}.world-frame{top:calc(50% + 116px)}.play-shell{min-height:660px}.is-setup.play-shell{min-height:480px}}
@media(max-width:600px){.play-shell{min-height:480px}.game-stage{display:flex;flex-direction:column;align-items:center;overflow-y:auto;overflow-x:hidden;padding:12px}.game-coach{position:relative;order:0;top:auto;left:auto;width:100%;flex:none;margin-bottom:12px}.game-coach .coach-fine{display:none}.world-frame{position:relative;order:1;left:auto;top:auto;transform:none;width:calc(100% + 24px);max-height:none;flex:none;aspect-ratio:3/2}.world-instructions{position:relative;order:2;left:auto;bottom:auto;margin:9px 0 0;max-width:none;align-self:flex-start;flex:none;font-size:9px}.world-status{position:relative;order:3;right:auto;bottom:auto;margin:7px 0 9px;max-width:100%;align-self:flex-end;flex:none;font-size:10px}.is-setup .game-stage{display:block;padding:0;overflow:hidden}.is-setup .world-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%}.guide-dialog .dialog-actions{gap:7px}.guide-dialog .dialog-actions .button{font-size:12px;padding:10px}.hud-wallet small{font-size:7px;letter-spacing:.2px}.game-coach .playback-row small{font-size:11px}}
/* Optional first-week learning explains decisions without grading the player. */
.game-coach{max-height:calc(100% - 60px);overflow-y:auto;scrollbar-width:thin}.curriculum-coach{padding:15px;border:1px solid #dfddbc;background:#f8f4dc;border-radius:13px;margin-top:17px}.curriculum-coach .coach-kicker{font-size:8px;color:#a18d5c;letter-spacing:1px;margin-bottom:8px}.curriculum-coach h3{font-size:15px;line-height:1.45;margin:0 0 8px;color:#586a43}.curriculum-coach p{font-size:12px;line-height:1.65;color:#7e865f}.curriculum-coach p+p{margin-top:9px}.curriculum-observe{padding-top:9px;border-top:1px solid #e9e5cd}.game-coach .curriculum-coach .button.secondary{font-size:13px;margin-top:12px;padding:9px 10px;min-height:39px}.reduce-guidance.button{font-size:11px;padding:7px 0;min-height:28px;margin-top:7px;color:#94876b;width:100%;text-align:center}.game-coach.reduced-guidance .coach-steps{display:none}.curriculum-dialog{width:min(750px,calc(100% - 28px))}.curriculum-dialog .dialog-body{max-height:calc(91dvh - 150px)}.curriculum-dialog .dialog-actions .button{font-size:13px}.curriculum-heading{background:#eef2de;border:1px solid #e0e7c9;border-radius:15px;padding:21px;margin-bottom:20px}.curriculum-heading .eyebrow{font-size:9px;letter-spacing:1.1px}.curriculum-heading h3{font-size:23px;line-height:1.35;margin:11px 0 13px;color:#4e6642}.curriculum-heading p{font-size:15px;line-height:1.75;color:#748166}.curriculum-task{padding:19px;border:1px solid #e8e1c2;background:#faf5e2;border-radius:13px}.curriculum-task>strong{font-size:14px;color:#8c7950}.curriculum-task p{font-size:14px;line-height:1.8;margin-top:10px}.curriculum-fine{font-size:12px!important;line-height:1.8!important;color:#8c967b;margin-top:12px}.curriculum-evidence{padding:20px;background:#f2f4e8;border:1px solid #e1e7d3;border-radius:13px;margin-top:20px}.curriculum-evidence h3{font-size:17px;margin:0 0 7px}.curriculum-scope{font-size:11px;color:#8a967b;display:block;margin-bottom:10px}.curriculum-evidence .data-row{font-size:13px;padding:9px 0}.curriculum-evidence p{font-size:13px;line-height:1.8;color:#78876a;margin-top:10px}.curriculum-quiz{border:1px solid #e0e5cf;border-radius:13px;padding:17px 19px;margin-top:20px;background:#fcfcf3}.curriculum-quiz>summary{font-size:14px;color:#6e8858}.curriculum-question{font-size:15px;line-height:1.8;margin-top:17px;font-weight:650}.curriculum-options{display:flex;flex-direction:column;gap:10px;margin-top:16px}.curriculum-option{padding:14px 16px;text-align:left;background:#f5f6eb;border:1px solid #dfe5cd;border-radius:11px;font-size:14px;line-height:1.6;color:#6c7b5b;min-height:47px}.curriculum-option:hover{background:#edf2dc;border-color:#c6d4ad}.curriculum-option.selected{background:#e7eed3;border-color:#a6be86;box-shadow:0 0 0 2px #bdce9d2b;color:#4e6b3d}.curriculum-answer:empty{display:none}.curriculum-answer{padding:15px 17px;background:#ecf1dc;border:1px solid #d9e3c2;border-radius:11px;margin-top:17px}.curriculum-answer>strong{font-size:14px;color:#557447}.curriculum-answer p{font-size:13px;line-height:1.8;color:#758466;margin-top:8px}.curriculum-library{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:19px}.curriculum-library-item{display:flex;align-items:center;gap:13px;text-align:left;background:#f4f6e8;border:1px solid #dfe5cd;border-radius:12px;padding:14px;min-height:76px;color:#687a52}.curriculum-library-item:hover{background:#eaf0d9;border-color:#bcca9e}.curriculum-library-item>div{flex:1;min-width:0}.curriculum-library-item strong{font-size:14px;line-height:1.5;display:block}.curriculum-library-item small{font-size:11px;color:#8a957b;display:block;margin-top:5px}.curriculum-day-number{height:32px;width:32px;line-height:31px;border-radius:10px;background:#e4eccf;border:1px solid #d3dfbb;color:#81985d;text-align:center;font-size:14px;font-weight:750;flex:none}.curriculum-library-item>span:last-child{font-size:24px;color:#9aaa85}.guidance-preferences{background:#f7f6e8;border:1px solid #e4e6d2;border-radius:13px;padding:18px;margin-bottom:20px}.guidance-preferences h3{font-size:17px;margin:0 0 9px}.guidance-preferences p{font-size:13px;line-height:1.8;margin-bottom:13px}.guidance-preferences .button{font-size:13px}.curriculum-dialog .notice{font-size:12px;line-height:1.8}
@media(max-width:850px){.curriculum-coach{grid-column:1/-1;margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) 160px;column-gap:15px;padding:14px 16px}.curriculum-coach .coach-kicker,.curriculum-coach h3,.curriculum-coach p{grid-column:1}.game-coach .curriculum-coach .button.secondary{grid-column:2;grid-row:2/4;width:160px;margin-top:0;align-self:center;font-size:13px}.game-coach .curriculum-coach .reduce-guidance{grid-column:2;grid-row:4;width:160px;align-self:center;font-size:12px}.game-coach .curriculum-coach .curriculum-observe{grid-column:1}.game-stage{display:flex;flex-direction:column;align-items:center;overflow-y:auto;overflow-x:hidden;padding:14px}.game-coach{position:relative;order:0;top:auto;left:auto;width:100%;max-width:780px;max-height:none;overflow:visible;flex:none;margin-bottom:13px}.world-frame{position:relative;order:1;left:auto;top:auto;transform:none;width:calc(100% + 28px);max-height:none;flex:none;aspect-ratio:3/2}.world-instructions{position:relative;order:2;left:auto;bottom:auto;margin:9px 0 0;max-width:none;align-self:flex-start;flex:none}.world-status{position:relative;order:3;right:auto;bottom:auto;margin:7px 0 9px;max-width:100%;align-self:flex-end;flex:none}.is-setup .game-stage{display:block;padding:0;overflow:hidden}.is-setup .world-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%}}
@media(max-width:600px){.curriculum-coach{display:block;padding:13px;margin-top:13px}.curriculum-coach h3{font-size:15px;margin-top:0}.curriculum-coach p{font-size:12px}.game-coach .curriculum-coach .button.secondary{width:100%;font-size:13px;margin-top:12px;min-height:39px}.game-coach .curriculum-coach .reduce-guidance{width:100%;font-size:12px;margin-top:6px;min-height:30px}.curriculum-dialog .dialog-body{max-height:calc(93dvh - 145px)}.curriculum-heading{padding:17px}.curriculum-heading h3{font-size:20px}.curriculum-heading p{font-size:14px}.curriculum-task{padding:16px}.curriculum-task p{font-size:13px}.curriculum-evidence{padding:16px}.curriculum-evidence h3{font-size:16px}.curriculum-evidence .data-row{font-size:12px}.curriculum-evidence p{font-size:13px}.curriculum-quiz{padding:15px}.curriculum-option{font-size:13px;padding:13px}.curriculum-answer{padding:14px}.curriculum-library{grid-template-columns:1fr}.curriculum-library-item{min-height:70px}.curriculum-library-item strong{font-size:13px}.guidance-preferences{padding:15px}.guidance-preferences .button{font-size:13px}.curriculum-dialog .dialog-actions .button{font-size:13px;padding:10px 12px}}
.game-coach.intro-complete .coach-steps{display:none}
@media(max-width:600px){.curriculum-coach .curriculum-short,.curriculum-coach .curriculum-observe,.game-coach .curriculum-coach .reduce-guidance{display:none}.curriculum-coach{padding:12px 13px;margin-top:11px}.curriculum-coach h3{font-size:14px;line-height:1.5;margin-bottom:8px}.curriculum-coach .coach-kicker{font-size:8px;margin-bottom:6px}.game-coach .curriculum-coach .button.secondary{margin-top:5px;min-height:37px;padding:8px;font-size:13px}}
/* Optional learning through the actual tools; the world remains fully interactive. */
.action-guide-coach .coach-copy{font-size:13px;line-height:1.65;color:#667958}.action-guide-steps{list-style:none;margin:15px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:11px;line-height:1.5;color:#859274}.action-guide-steps li{padding:7px 8px;border:1px solid #e3e8d4;background:#f1f4e6;border-radius:8px}.action-guide-steps .current{background:#e8efcf;border-color:#bbcda0;color:#54743e;font-weight:750}.action-guide-steps .done:before{content:'✓ ';color:#638848}.action-guide-actions{display:flex;flex-direction:column;gap:8px;margin-top:15px}.game-coach .action-guide-actions .button{width:100%;margin:0;min-height:44px;font-size:13px;line-height:1.4;padding:10px 12px}.action-guide-links{display:flex;gap:7px;margin-top:9px}.game-coach .action-guide-links .button{min-height:44px;padding:8px 5px;font-size:12px;line-height:1.4;text-align:center;flex:1;margin:0}.guide-due.button{font-size:12px;line-height:1.5;min-height:44px;width:100%;padding:8px;margin-top:8px}.dock-button.guide-target{background:#edf3da;border:2px solid #83a268;color:#456b3a;box-shadow:0 0 0 3px #aec78f25}.dock-main.guide-target{border-color:#f8e3a0;box-shadow:0 0 0 3px #cbb97a55}.guide-plan-choice{padding:17px;background:#eef3df;border:1px solid #d9e4c3;border-radius:13px;margin:15px 0 21px}.guide-plan-choice strong{font-size:15px;color:#587641}.guide-plan-choice p{font-size:13px;line-height:1.7;margin:9px 0 12px}.guide-plan-choice .button{min-height:44px;font-size:14px}.more-tools-dialog{width:min(670px,calc(100% - 28px))}.more-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.more-tools-grid .button{font-size:14px;min-height:52px;line-height:1.5;padding:12px}.result-explanations{padding:20px;background:#f1f4e4;border:1px solid #dce5c9;border-radius:14px;margin:22px 0}.result-explanations h3{font-size:18px;line-height:1.5;margin:0 0 8px}.result-scope{font-size:12px;line-height:1.7;color:#7c8b6b}.result-observation{margin-top:15px;padding-top:14px;border-top:1px solid #dfe7d1}.result-observation strong{font-size:14px;line-height:1.6;color:#536f43}.result-observation p,.next-experiment p{font-size:14px;line-height:1.75;color:#6d7c5c;margin-top:7px}.result-limit{font-size:12px;line-height:1.7;color:#879477;margin-top:12px}.next-experiment{margin-top:18px;padding:15px;background:#faf5dd;border:1px solid #e5dcb6;border-radius:11px}.next-experiment strong{font-size:14px;line-height:1.5;color:#8a7647}.experiment-prompt{font-size:13px;line-height:1.6;margin:17px 0 11px}.experiment-choices{display:flex;gap:10px;flex-wrap:wrap}.experiment-choices .button{font-size:13px;min-height:44px;flex:1;min-width:150px;line-height:1.5}.experiment-choices .selected{background:#ddeac5;border-color:#90aa73;color:#456738}.experiment-status{font-size:12px;line-height:1.7;color:#728363;margin-top:13px}.experiment-status:empty{display:none}.progressive-dock .dock-button{max-width:none;min-width:0}.progressive-dock .dock-button[data-panel=more] .dock-symbol{font-family:system-ui;font-size:24px}
@media(max-width:850px){.action-guide-coach{display:grid;grid-template-columns:minmax(0,1fr) 175px;gap:0 15px}.action-guide-coach .coach-copy{font-size:13px;line-height:1.6}.action-guide-coach h2,.action-guide-coach .coach-kicker,.action-guide-coach .coach-copy{grid-column:1}.action-guide-coach .action-guide-steps{grid-column:1;margin-top:9px}.action-guide-coach .action-guide-actions{grid-column:2;grid-row:1/5;align-self:center;margin:0}.action-guide-coach .action-guide-links{grid-column:1/-1;justify-content:flex-end}.game-coach .action-guide-links .button{flex:none;width:auto;padding:8px 11px}.action-guide-coach .playback-row,.action-guide-coach .guide-due{grid-column:1/-1}.game-coach .action-guide-actions .button{width:100%;grid-row:auto;grid-column:auto;min-height:44px;margin:0;font-size:13px}.action-guide-coach .coach-fine{grid-column:1/-1}.action-guide-coach .playback-row .button,.action-guide-coach .playback-speed{min-height:44px}.action-guide-coach .playback-row small{font-size:12px}.progressive-dock{gap:7px}.progressive-dock .dock-button{width:90px;font-size:12px}}
@media(max-width:600px){.action-guide-coach{padding:11px 12px;border-radius:15px;grid-template-columns:minmax(0,1fr) 116px;gap:0 10px;max-height:none;margin-bottom:10px}.action-guide-coach .coach-kicker{font-size:9px;letter-spacing:.7px;line-height:1.3;margin-bottom:4px}.action-guide-coach h2{font-size:15px;line-height:1.35;margin:0}.action-guide-coach .coach-copy{font-size:12px;line-height:1.5;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.action-guide-coach .action-guide-steps{display:none}.action-guide-coach .action-guide-actions{grid-row:1/4;gap:5px}.game-coach .action-guide-actions .button{min-height:44px;font-size:12px;padding:8px 6px;line-height:1.35;border-radius:9px}.game-coach .action-guide-actions .guide-adjust{font-size:12px}.action-guide-coach .action-guide-links{grid-column:1/-1;margin-top:3px;gap:6px;justify-content:space-between}.game-coach .action-guide-links .button{font-size:12px;line-height:1.2;min-height:44px;margin:0;padding:7px 3px}.action-guide-coach progress{display:none}.action-guide-coach .playback-row{grid-column:1/-1;margin-top:5px}.action-guide-coach .playback-row .button,.action-guide-coach .playback-speed{min-height:44px;font-size:12px}.action-guide-coach .playback-row small{font-size:11px}.action-guide-coach .guide-due{min-height:44px;font-size:12px;margin-top:3px}.action-guide-coach .coach-warnings{grid-column:1/-1}.action-guide-coach .coach-warnings summary{min-height:44px;display:flex;align-items:center}.progressive-dock{height:79px;min-height:79px;padding:7px 7px 10px;display:grid;grid-template-columns:repeat(var(--dock-count,5),minmax(0,1fr));grid-template-rows:1fr;gap:3px}.progressive-dock .dock-button{font-size:11px;line-height:1.25;min-height:58px;gap:4px;padding:5px 2px;max-width:none;width:100%}.progressive-dock .dock-main{grid-column:auto;font-size:11px;flex-direction:column;gap:4px;padding:5px 3px;min-height:58px}.progressive-dock .dock-main .dock-symbol{font-size:15px;height:21px;line-height:20px}.guide-plan-choice{padding:14px;margin:13px 0 18px}.guide-plan-choice p{font-size:13px}.guide-plan-choice strong{font-size:14px}.guide-plan-choice .button{font-size:13px;min-height:44px}.more-tools-grid{gap:9px}.more-tools-grid .button{font-size:13px;min-height:52px;padding:10px}.result-explanations{padding:15px;margin:17px 0}.result-explanations h3{font-size:16px}.result-observation strong,.next-experiment strong{font-size:13px}.result-observation p,.next-experiment p{font-size:13px;line-height:1.7}.experiment-choices{flex-direction:column;gap:8px}.experiment-choices .button{font-size:13px;min-height:44px}.next-experiment{padding:13px}.experiment-prompt{font-size:13px}.result-limit{font-size:12px}.experiment-status{font-size:12px}#toast{bottom:90px}}
.result-scope-note{font-size:12px;line-height:1.6;color:#7c8b6b;margin-top:5px}.result-explanations .result-observation:first-of-type{margin-top:10px;padding-top:10px}
.focused-price-estimate{padding:12px;background:#f1f4e5;border:1px solid #e0e7d0;border-radius:10px;margin:13px 0 16px}.focused-price-estimate .data-row{font-size:12px;line-height:1.55;gap:10px;padding:9px 0}.focused-price-estimate .data-row strong{white-space:nowrap}.focused-product .focused-price-estimate .muted{font-size:12px;line-height:1.65;margin:10px 0 0}
.product-dialog[open]{display:flex;flex-direction:column;max-height:92dvh;padding:0;overflow:hidden}.product-dialog .dialog-head{flex:none}.product-dialog .dialog-body{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}.product-dialog .dialog-actions{flex:none;display:flex;gap:12px;align-items:center;flex-wrap:nowrap;padding:15px 21px}.product-phase-footer{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}.product-phase-reason{font-size:13px;line-height:1.6;color:#667956}.product-phase-action.button{min-height:44px;font-size:14px;margin:0;width:100%;line-height:1.45}.product-action-reason{font-size:12px;line-height:1.7;color:#8b764b;background:#f8f2db;border:1px solid #e8dfbd;border-radius:9px;padding:10px 12px;margin-top:14px}.product-dialog .dialog-actions>.button.ghost{flex:none;min-height:44px;font-size:13px;padding:10px 12px;align-self:flex-end}
@media(max-width:600px){.product-dialog[open]{max-height:93dvh;width:calc(100% - 22px)}.product-dialog .dialog-actions{padding:12px 13px;gap:7px}.product-phase-reason{font-size:12px;line-height:1.55}.product-phase-action.button{font-size:13px;min-height:44px;padding:9px}.product-action-reason{font-size:12px;padding:9px 10px}.product-dialog .dialog-actions>.button.ghost{font-size:12px;padding:8px;min-width:64px}.product-phase-footer{gap:7px}}
@media(max-height:600px) and (min-width:851px){.action-guide-coach{max-height:calc(100% - 35px);padding:14px}.action-guide-coach h2{font-size:17px}.action-guide-coach .coach-copy{font-size:12px}.action-guide-steps{margin-top:9px}.action-guide-actions{margin-top:10px}.game-coach .action-guide-actions .button,.game-coach .action-guide-links .button{min-height:44px}.action-guide-coach .coach-kicker{font-size:8px}}

