:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#263b30;background:#f5f6f2;font-synthesis:none;font-weight:400;--green:#2c5543;--green-dark:#244333;--green-soft:#edf2e8;--text:#273c31;--muted:#8a9188;--border:#e4e7df;--gold:#b89349;--white:#fff;--radius:12px}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,label:focus-within{outline:3px solid #9eb285;outline-offset:4px}button{border:0}button svg{flex-shrink:0}.icon{flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}#app{display:flex;min-height:100vh}.sidebar{width:222px;position:fixed;top:0;bottom:0;left:0;background:#fbfcf8;border-right:1px solid var(--border);padding:29px 19px 18px;display:flex;flex-direction:column;z-index:10}.nav-item{display:flex;align-items:center;gap:12px;border-radius:7px;padding:12px 14px;background:transparent;width:100%;font-size:12px;color:#7d867b;font-weight:500;margin-bottom:4px;text-align:left;transition:background .15s,color .15s}.nav-item>.icon{width:17px;height:17px}.nav-item:hover{background:#eff2e9;color:var(--green)}.nav-item.active{background:#eaf0e2;color:#315b40;font-weight:600;position:relative}.nav-item.active:before{content:"";position:absolute;left:-19px;top:13px;bottom:13px;width:3px;background:#527348;border-radius:0 3px 3px 0}.sidebar-bottom{margin-top:auto;padding-top:35px}.end-icon{margin-left:auto!important;width:13px!important}.status-dot{height:6px;width:6px;background:#73915c;display:inline-block;border-radius:50%;flex-shrink:0}.workspace{margin-left:222px;width:calc(100% - 222px);min-height:100vh}.topbar{height:74px;border-bottom:1px solid var(--border);background:#fcfdf9;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb{display:flex;gap:13px;align-items:center;font-size:11px;color:#9b9f94}.breadcrumb>.icon{width:11px;height:11px;color:#aab0a2}.breadcrumb strong{font-weight:500;color:#53624f}.header-actions{display:flex;align-items:center;gap:18px}.header-divider{width:1px;height:19px;background:var(--border)}.icon-button{display:inline-grid;place-items:center;background:transparent;border-radius:6px;padding:7px;color:#7d8c72;position:relative}.icon-button .icon{width:17px;height:17px}.icon-button:hover{background:#edf1e5}.notification>span{position:absolute;right:7px;top:5px;height:4px;width:4px;border-radius:50%;background:#b08a4b;box-shadow:0 0 0 2px #fcfdf9}.founder-avatar{display:grid;place-items:center;border-radius:50%;width:31px;height:31px;background:#e9eddf;font-size:12px;color:#718060;border:3px solid #f6f8f0}#main{max-width:1580px;margin:0 auto;padding:31px 34px 20px}h1{font-size:29px;letter-spacing:1px;line-height:1.3}.green{color:#486d3b}.pill-dot{background:#a0ad8d;border-radius:2px;width:4px;height:4px}.amber-dot{height:5px;width:5px;background:#c8ad6e;border-radius:50%}.mini-progress{width:36px;height:3px;background:#edf0e7;border-radius:4px;overflow:hidden;display:inline-block}.mini-progress i{display:block;background:#869f6d;height:100%}.sparkline{margin-left:auto;color:#91a57b;max-width:65px;overflow:hidden;display:flex;align-items:center}.sparkline svg{width:65px}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius)}.panel-top{display:flex;align-items:flex-start;justify-content:space-between;padding:21px 23px 0}.panel-top h2{display:flex;align-items:center;gap:9px;font-size:14px}.badge{display:inline-flex;align-items:center;color:#8a9b72;font-weight:500;font-size:8px;line-height:1;border:1px solid #e4e9da;background:#fafcf5;border-radius:4px;padding:5px 6px;white-space:nowrap}.panel-top p{font-size:10px;color:#a0a694;margin-top:8px}.live-badge{display:flex;align-items:center;gap:6px;font-size:8px;color:#83926d;background:#f0f4e9;border-radius:20px;padding:6px 9px;white-space:nowrap}.live-badge i{width:4px;height:4px;border-radius:50%;background:#91a76e;box-shadow:0 0 0 2px #e1ead3}.factory-scene{position:relative;padding:6px 30px 0;display:flex;justify-content:center;height:245px;overflow:hidden}.factory-scene>svg{width:100%;height:100%;object-fit:contain;max-width:690px}.scene-label{position:absolute;bottom:12px;left:22px;display:flex;align-items:center;gap:6px;font-size:8px;color:#9da58e}.scene-label>.icon{width:12px;height:12px}.paused *{animation-play-state:paused!important}.factory-strip{border-top:1px solid #f0f2eb;display:flex;align-items:center;padding:15px 23px;gap:27px;background:#fdfefb;border-radius:0 0 var(--radius) var(--radius)}.factory-strip>div{min-width:0}.factory-strip>div>span{display:block;font-size:8px;color:#a2aa96;margin-bottom:6px}.factory-strip strong{font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}.factory-strip small{font-size:8px;font-weight:400;margin-left:5px;color:#929c86}.text-button{display:inline-flex;gap:7px;align-items:center;background:transparent;font-size:9px;color:#779260;white-space:nowrap;padding:7px 0}.text-button>.icon{width:13px;height:13px}.factory-strip>.text-button{margin-left:auto}.text-button:hover{color:#314e29}.growth-panel{padding:22px 23px;display:flex;flex-direction:column;background:#f9faf3;overflow:hidden}.section-kicker{font-size:8px;letter-spacing:1.6px;color:#95a281;display:flex;justify-content:space-between;align-items:center;font-weight:500}.section-kicker>.icon{width:16px;height:16px;color:#93a67b}.stage-caption{font-size:8px;color:#a2aa90;margin-bottom:8px}.stage-caption>span{color:#748661;margin-left:7px}.growth-panel h2{font-size:19px;letter-spacing:.3px}.growth-panel>p{font-size:9px;color:#9ba389;margin:9px 0 21px;line-height:1.6}.goal-caption{font-size:8px;display:flex;justify-content:space-between;margin-top:auto;margin-bottom:8px;color:#909c7e}.goal-caption strong{font-weight:500;color:#718159}.muted{color:#a2aa96;font-weight:400}.progress-track{height:5px;background:#e7ecde;border-radius:5px;overflow:hidden}.progress-track i{display:block;height:100%;background:#94ac73;border-radius:5px;transition:width .3s}.growth-footer{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#9da88b;margin:11px 0 20px}.growth-footer .icon{width:11px;height:11px;margin-right:4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:500;line-height:1.4;border-radius:6px;padding:11px 15px;transition:background .15s,transform .15s;border:1px solid transparent;white-space:nowrap}.button .icon{width:15px;height:15px}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button-primary{background:var(--green);color:white;border-color:var(--green)}.button-primary:hover:not(:disabled){background:#204431}.button-outline{border:1px solid #dfe6d4;background:#fbfcf7;color:#617d4e}.button-outline:hover:not(:disabled){background:#eef3e5;border-color:#cddcbf}.button-small{padding:7px 12px;font-size:9px;gap:4px}.button-small .icon{width:12px;height:12px}.button-muted,.button:disabled{background:#f0f2eb;border-color:#e6e9df;color:#a8af9d;transform:none}.button-wide{width:100%}.button-danger{background:#fff8f5;border-color:#e8d8cf;color:#a26f58}.button-danger:hover{background:#f9eee7}.growth-panel>.button{width:100%;font-size:9px;justify-content:space-between;padding:10px 12px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}.section-heading h2{font-size:14px;display:flex;align-items:center;gap:8px}.section-heading p{font-size:11px;color:#979f8d;margin-top:8px}.section-heading>span{font-size:10px;color:#9aa28f}.count-label{font-size:9px;color:#a4ad96;background:#e9eee1;border-radius:4px;min-width:18px;padding:3px 5px;font-weight:400;line-height:1;text-align:center}.segmented{display:flex;background:#eaf0e2;border:1px solid #e4e9dc;border-radius:6px;padding:3px}.segmented button{padding:5px 11px;color:#98a28b;font-size:8px;background:transparent;border-radius:4px}.segmented button.selected{background:white;color:#748861;box-shadow:0 1px 3px #6775440d}.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.business-card{background:white;border:1px solid var(--border);border-radius:10px;padding:17px 19px 10px;min-width:0}.business-icon{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;background:#eef2e6;color:#83956b}.business-icon .icon{width:18px;height:18px}.business-icon-1{background:#f5efe2;color:#b69f6d}.business-icon-2{background:#eaf0ed;color:#8caaa0}.business-icon-3{background:#eceef5;color:#9ea8b5}.level-badge{display:inline-flex;gap:4px;align-items:center;font-size:8px;color:#99a489;border:1px solid #e5eadf;border-radius:4px;padding:4px 6px;font-variant-numeric:tabular-nums}.level-badge svg{width:9px;height:9px}.business-card h3{font-size:12px;letter-spacing:.2px}.unlock-caption{font-size:7px;color:#b0b7a5;margin-top:11px;min-height:10px;white-space:nowrap}.business-locked{background:#f8f9f4;border-style:dashed;border-color:#dee4d3}.business-locked .business-icon{filter:saturate(.3);opacity:.65}.business-locked h3{color:#929c87}.production-note{font-size:8px;color:#a6ae98;display:flex;align-items:center;gap:6px;margin-top:16px;padding:0 1px}.production-note>.icon{width:11px;height:11px}.overview-aside{display:flex;flex-direction:column;gap:19px;padding-top:42px}.section-heading .tiny-label{font-size:7px;letter-spacing:1px;color:#aab298}.activity-dot{height:5px;width:5px;background:#d8dfca;border-radius:50%;margin-top:4px;flex-shrink:0;z-index:1}.activity-dot.new{background:#98ab7d;box-shadow:0 0 0 3px #f1f5e8}.activity-bottom{padding:13px 0;border-top:1px solid #eef1e7;font-size:8px;color:#a7b094}.activity-bottom>.icon{width:11px;height:11px;margin-right:4px}.footer{display:flex;justify-content:space-between;max-width:1580px;margin:15px auto 0;padding:18px 34px 21px;font-size:8px;letter-spacing:.3px;color:#a6ad9c}.footer-version{margin-left:8px;color:#bac0af}.office-panel{padding:23px;display:flex;gap:19px;align-items:center;margin-bottom:27px}.office-symbol{display:grid;place-items:center;width:49px;height:49px;background:#eef2e6;color:#8ca375;border-radius:12px}.office-symbol .icon{width:26px;height:26px}.office-panel h2{font-size:15px}.office-panel p{font-size:10px;color:#96a087;margin-top:8px}.office-action{margin-left:auto;display:flex;align-items:center;gap:18px}.office-action>span{font-size:16px;font-variant-numeric:tabular-nums;color:#82976e}.standalone{margin-bottom:20px}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.role-card,.research-card{padding:25px}.role-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.role-avatar{display:grid;place-items:center;width:45px;height:45px;background:#eef3e6;border-radius:13px;color:#7d9965}.role-avatar>.icon{width:24px;height:24px}.role-1{background:#f7eedc;color:#b39861}.role-2{background:#e7efe9;color:#80a88d}.role-3{background:#edf0f3;color:#8b9cad}.role-card h2,.research-card h2{font-size:17px}.role-card>p,.research-card>p{font-size:11px;color:#939f87;line-height:1.8;margin-top:10px;min-height:40px}.role-effect{font-size:10px;padding:12px 0;margin-top:10px;color:#86a06e;display:flex;gap:6px;align-items:center;border-bottom:1px solid #eef1e8}.role-effect .icon{width:13px;height:13px}.detail-rows{margin:16px 0 20px}.detail-rows>div{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:11px}.detail-rows dt{color:#9aa58e}.detail-rows dd{margin:0;color:#758a63;font-variant-numeric:tabular-nums}.note-strip{display:flex;gap:9px;align-items:center;font-size:10px;color:#94a184;margin:22px 0;padding:15px 18px;border:1px solid #e5ebda;background:#f0f4e8;border-radius:8px;line-height:1.8}.note-strip .icon{width:15px;height:15px}.research-banner{display:flex;align-items:center;gap:22px;padding:26px;background:#edf2e5;border:1px solid #e3e9d9;border-radius:12px;margin-bottom:27px}.research-big-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:50%;border:1px solid #dce5ce;background:#e7eed9;color:#8aa26e}.research-big-icon svg{width:32px;height:32px}.research-banner h2{font-size:18px}.research-banner p{font-size:11px;color:#92a17e;margin-top:9px;line-height:1.8}.research-banner .text-button{margin-left:auto}.research-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.research-symbol{color:#8da876;background:#eff4e8;border-radius:11px;width:41px;height:41px;display:grid;place-items:center}.research-symbol>.icon{height:23px;width:23px}.research-levels{display:flex;gap:5px;margin-top:20px}.research-levels i{background:#edf1e7;height:5px;flex:1;border-radius:2px}.research-levels .done{background:#9db582}.research-card .role-effect{min-height:43px;font-size:9px}.research-card .button{font-size:10px}.market-intro{display:flex;align-items:center;justify-content:space-between;padding:35px 40px;background:#edf2e6;border:1px solid #e1e8d5;border-radius:12px;margin-bottom:25px;min-height:240px;overflow:hidden}.market-intro h2{font-size:26px;letter-spacing:1px;margin-top:13px}.market-intro p{font-size:11px;line-height:1.9;color:#929f80;margin-top:15px}.market-map{position:relative;width:280px;height:175px;margin-right:25px;flex-shrink:0;display:grid;place-items:center}.map-ring{border:1px solid #d5e1c5;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ring-one{width:90px;height:90px}.ring-two{width:165px;height:165px}.ring-three{width:245px;height:245px;border-style:dashed}.map-center{width:44px;height:44px;background:#dbe8cd;border:1px solid #ceddbb;border-radius:12px;display:grid;place-items:center;color:#7c9a5f;z-index:1}.map-center .icon{width:25px;height:25px}.map-point{height:8px;width:8px;border:2px solid #edf2e6;background:#8ea96e;box-shadow:0 0 0 1px #b8cda3;position:absolute;border-radius:50%}.point-one{top:21px;left:188px}.point-two{top:110px;left:37px}.point-three{top:53px;right:13px}.map-caption{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font-size:8px;background:#edf2e6;padding:4px;white-space:nowrap;color:#a5b293}.market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.market-card{padding:24px 20px;position:relative}.market-number{position:absolute;right:18px;top:19px;color:#d9e1ce;font-size:17px;font-weight:500}.market-symbol{width:37px;height:37px;display:grid;place-items:center;border:1px solid #e3ead8;border-radius:10px;color:#90a675;background:#f5f8ee;margin-bottom:21px}.market-card h2{font-size:15px}.market-card>p{font-size:10px;color:#9ca88f;line-height:1.9;min-height:42px;margin-top:9px}.market-multiplier{font-size:26px;color:#88a16e;letter-spacing:-.5px;margin-top:23px}.market-multiplier span{display:block;font-size:8px;color:#a3af94;margin:7px 0 25px;letter-spacing:0}.market-requirement{font-size:8px;color:#9dac8c;margin-bottom:13px;min-height:14px}.market-requirement .icon{width:12px;height:12px;margin-right:3px}.market-card .button{font-size:9px;padding:9px}.market-opened{border-color:#cfddbd;background:#fafcf5}.market-opened .button{background:#ecf3e3;color:#8ca474;border-color:#e1e9d6}.claimed{opacity:.65}.empty-state{padding:40px;border:1px dashed #d6dfc9;border-radius:9px;font-size:12px;color:#97a787;grid-column:1/-1;text-align:center}.toast-region{position:fixed;right:28px;bottom:25px;display:flex;flex-direction:column;gap:10px;z-index:100;pointer-events:none}.toast{display:flex;align-items:center;gap:10px;border:1px solid #d9e4cd;padding:13px 19px;border-radius:9px;background:#fbfff6;color:#678453;font-size:12px;box-shadow:0 5px 24px #25401812;animation:toast-in .2s ease-out;max-width:420px;line-height:1.7}.toast .icon{width:17px;height:17px}.toast.info{color:#9a8151;background:#fffdf5;border-color:#ede4cb}.dialog{width:500px;max-width:calc(100vw - 32px);max-height:calc(100vh - 60px);border:1px solid #dfe6d5;border-radius:15px;padding:27px;background:#fcfdf9;color:var(--text);box-shadow:0 30px 100px #20371c30;overflow:auto}.dialog::backdrop{background:#22352755;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.dialog-heading h2{font-size:19px}.dialog-intro{font-size:12px;line-height:1.9;color:#91a081;margin-bottom:22px}.guide-list{list-style:none;padding:0;margin:24px 0}.guide-list li{display:flex;gap:16px;margin-bottom:24px}.guide-list li>span{font-size:13px;color:#9bad83;padding-top:4px;font-variant-numeric:tabular-nums}.guide-list h3{font-size:13px;margin-bottom:7px}.guide-list p{font-size:11px;color:#93a183;line-height:1.9}.guide-note{background:#eff4e7;padding:13px 15px;border-radius:8px;font-size:10px;color:#8b9d77;line-height:1.9;margin:18px 0}.guide-note .icon{width:13px;height:13px;margin-right:3px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e7ecdf;padding:22px 0}.settings-row h3{font-size:13px}.settings-row p{font-size:10px;color:#94a485;margin-top:7px;line-height:1.8}.settings-row .button{font-size:10px;flex-shrink:0}.import-button{cursor:pointer;position:relative;overflow:hidden}.import-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-label{display:block;font-size:11px;color:#81956e;margin:15px 0 9px}.text-input{width:100%;border:1px solid #dce5d1;background:#fff;border-radius:6px;padding:12px;color:#537047;margin-bottom:24px;font-size:13px}.dialog-activity{margin-top:20px}.dialog-activity p{font-size:12px}.dialog-activity li>div>span{font-size:10px}
@keyframes float-up{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){#main{padding-top:42px}.factory-scene{height:310px}.growth-panel{padding:26px 30px}.growth-panel h2{font-size:24px}.growth-panel>p{font-size:11px}.business-card{padding:22px 24px 15px}.business-card h3{font-size:14px}}
@media(max-width:1190px){.sidebar{width:196px;padding-left:15px;padding-right:15px}.nav-item.active:before{left:-15px}.workspace{margin-left:196px;width:calc(100% - 196px)}#main{padding:27px 25px 18px}.topbar{padding:0 25px}.sparkline{display:none}.panel-top{padding:19px 19px 0}.panel-top p{font-size:9px}.factory-scene{height:245px;padding:10px 10px 0}.factory-strip{padding:14px 18px;gap:18px}.factory-strip>.text-button{font-size:8px;gap:3px}.factory-strip strong{font-size:12px}.growth-panel{padding:20px}.growth-panel h2{font-size:17px}.business-grid{gap:12px}.business-card{padding:15px 14px 10px}.segmented button{padding:5px 8px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-grid{gap:13px}.research-card{padding:20px}}
@media(max-width:980px){.sidebar{width:175px;padding:25px 12px 15px}.nav-item{font-size:11px;padding:12px 10px;gap:10px}.nav-item.active:before{left:-12px}.workspace{margin-left:175px;width:calc(100% - 175px)}.topbar{height:65px;padding:0 22px}.header-actions{gap:12px}#main{padding:25px 22px 18px}h1{font-size:25px}.factory-scene{height:205px}.panel-top{padding:17px 15px 0}.panel-top h2{font-size:12px;gap:6px}.panel-top p{font-size:8px;max-width:155px;line-height:1.7}.live-badge{font-size:7px;padding:5px 7px}.factory-strip{flex-wrap:wrap;gap:13px;padding:11px 16px}.factory-strip strong{font-size:10px}.factory-strip>div>span{font-size:7px}.factory-strip>.text-button{display:none}.growth-panel{padding:17px 16px}.growth-panel .section-kicker{font-size:6px;letter-spacing:1px}.growth-panel h2{font-size:14px}.growth-panel>p{font-size:8px;margin-bottom:17px}.growth-footer{font-size:7px;margin-bottom:13px}.goal-caption{font-size:7px;gap:6px}.overview-aside{padding-top:0;display:grid;grid-template-columns:1fr 1fr;align-items:start;margin-top:5px}.business-card{padding:18px 20px 12px}.business-card h3{font-size:13px}.unlock-caption{font-size:8px}.footer{padding:15px 22px}.office-panel{padding:19px;gap:14px}.office-panel h2{font-size:13px}.office-symbol{width:39px;height:39px}.office-action{gap:10px;flex-direction:column}.office-action>span{font-size:13px}.office-action .button{font-size:10px;padding:9px}.management-grid{gap:15px}.role-card{padding:22px}.research-grid{grid-template-columns:1fr}.research-card>p{min-height:0}.research-card .role-effect{font-size:11px}.research-banner{padding:22px;gap:15px}.research-banner h2{font-size:15px}.research-banner p{font-size:10px}.research-banner .text-button{font-size:8px}.market-intro{padding:27px;min-height:210px}.market-intro h2{font-size:22px}.market-intro p{font-size:10px}.market-map{width:210px;height:170px;margin-right:-25px}.ring-three{width:200px;height:200px}.ring-two{width:140px;height:140px}.point-one{left:140px;top:19px}.point-two{left:13px;top:110px}}
@media(max-width:700px){#app{display:block}.sidebar{width:100%;height:auto;position:sticky;top:0;bottom:auto;border-right:0;border-bottom:1px solid var(--border);padding:11px 14px 0;background:#fbfcf8f5;backdrop-filter:blur(10px)}.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-between;gap:2px;overflow-x:auto;scrollbar-width:none}.nav-item{margin:0;flex:1;border-radius:5px 5px 0 0;justify-content:center;gap:4px;padding:10px 4px;font-size:9px;white-space:nowrap}.nav-item>.icon{width:13px;height:13px}.nav-item.active:before{top:auto;bottom:0;height:2px;width:auto;left:8px;right:8px;border-radius:3px}.workspace{margin-left:0;width:100%}.topbar{height:48px;padding:0 17px}.breadcrumb{font-size:9px;gap:8px}.breadcrumb>.icon{width:9px;height:9px}.header-actions{gap:9px}.founder-avatar{height:25px;width:25px;font-size:10px}.header-divider{height:16px}.icon-button{padding:5px}.icon-button .icon{width:15px;height:15px}#main{padding:22px 16px 16px}.panel-top{padding:19px 19px 0}.panel-top h2{font-size:13px}.panel-top p{max-width:none;font-size:9px}.live-badge{font-size:8px}.factory-scene{height:235px;padding:0 15px}.scene-label{left:19px;bottom:7px;font-size:7px}.factory-strip{justify-content:space-between;padding:15px 19px;gap:18px;flex-wrap:nowrap}.factory-strip>div>span{font-size:8px}.factory-strip strong{font-size:12px}.factory-strip>.text-button{display:flex;font-size:8px}.growth-panel{padding:20px;position:relative}.growth-panel .section-kicker{font-size:7px;letter-spacing:1.5px}.growth-panel .stage-caption{margin:18px 0 7px}.growth-panel h2{font-size:19px;margin-right:50px}.growth-panel>p{font-size:9px;margin-bottom:17px}.goal-caption{font-size:8px}.growth-footer{font-size:8px;margin:9px 0 14px}.growth-panel>.button{font-size:10px}.section-heading h2{font-size:13px}.segmented button{font-size:8px;padding:5px 9px}.business-grid{gap:11px}.business-card{padding:15px 13px 11px}.business-icon{width:29px;height:29px;border-radius:8px}.business-icon .icon{width:16px;height:16px}.business-card h3{font-size:11px}.button-small{font-size:8px;padding:6px 9px}.unlock-caption{font-size:6px;white-space:normal;line-height:1.7;min-height:12px}.production-note{font-size:7px;line-height:1.8}.overview-aside{grid-template-columns:1fr;gap:16px}.footer{font-size:7px;padding:12px 16px 18px;margin-top:0}.management-grid{grid-template-columns:1fr}.role-card{padding:24px}.role-card h2{font-size:17px}.role-card>p{font-size:11px;min-height:0}.role-effect{font-size:11px}.office-panel{gap:12px;padding:17px;margin-bottom:23px}.office-panel h2{font-size:12px}.office-panel p{font-size:8px;line-height:1.6}.office-symbol{width:34px;height:34px;flex-shrink:0}.office-symbol .icon{width:20px;height:20px}.office-action{gap:8px}.office-action>span{font-size:12px}.office-action .button{padding:7px 9px;font-size:9px;gap:4px}.office-action .button>.icon{width:11px;height:11px}.standalone>span{font-size:8px}.research-banner{flex-wrap:wrap;padding:20px;gap:13px}.research-big-icon{width:44px;height:44px;flex-shrink:0}.research-big-icon .icon{width:23px;height:23px}.research-banner>div{flex:1;min-width:0}.research-banner h2{font-size:14px}.research-banner p{font-size:9px;margin-top:7px}.research-banner .text-button{width:100%;justify-content:flex-end;font-size:9px}.research-card{padding:24px}.note-strip{font-size:9px;padding:13px;margin:18px 0}.market-intro{padding:23px;position:relative;min-height:190px}.market-intro h2{font-size:22px}.market-intro p{font-size:9px;max-width:235px}.market-map{width:145px;height:160px;margin-right:-80px;opacity:.55}.ring-one{height:70px;width:70px}.ring-two{height:120px;width:120px}.ring-three{height:175px;width:175px}.map-caption{display:none}.map-center{width:35px;height:35px}.map-center>.icon{width:20px;height:20px}.point-one{left:110px;top:23px}.point-two{left:-1px;top:117px}.point-three{right:-9px;top:70px}.market-grid{gap:12px}.market-card{padding:20px 15px}.market-card h2{font-size:13px}.market-card>p{font-size:9px;min-height:50px}.market-number{font-size:14px;right:15px}.market-multiplier{font-size:23px}.market-multiplier span{font-size:7px;margin-bottom:20px}.market-requirement{font-size:7px;line-height:1.8}.market-card .button{font-size:8px;padding:8px}.toast-region{bottom:18px;right:16px;left:16px}.toast{max-width:100%;font-size:11px;padding:11px 15px}.dialog{padding:23px}.dialog-heading h2{font-size:17px}.dialog-intro{font-size:11px}.settings-row{gap:10px}.settings-row p{font-size:9px}.dialog-actions .button{font-size:10px}}
@media(max-width:370px){.nav-item{font-size:8px;gap:2px;padding:10px 2px}.nav-item>.icon{width:11px;height:11px}.factory-strip{gap:11px}.factory-strip>.text-button{display:none}.business-card{padding:14px 11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Comfortable reading sizes and consistent secondary text across viewports. */
:root{--secondary:#6b775f}.mobile-settings{display:none}
.heading-actions{display:flex;align-items:center;gap:15px}
.quick-order{position:relative;font-size:12px;padding:11px 14px}
.quick-order-reward{padding-left:9px;margin-left:4px;border-left:1px solid #ffffff38;font-size:11px;color:#d5e3c5}
.nav-item{font-size:13px}.breadcrumb{font-size:12px}.breadcrumb strong{color:#566849}
.icon-button{min-width:36px;min-height:36px}
.panel-top h2,.section-heading h2{font-size:16px}
.panel-top p{font-size:11px;color:var(--secondary)}
.badge,.live-badge{font-size:10px;color:#6b8054}
.factory-scene{height:265px;padding:0 25px}
.factory-scene>svg{padding:0;display:block;position:static;max-width:690px}
.scene-label{font-size:9px;color:var(--secondary)}
.factory-strip>div>span{font-size:10px;color:var(--secondary)}
.factory-strip strong{font-size:14px}.factory-strip small{font-size:10px;color:var(--secondary)}
.text-button{font-size:11px;color:#617a4b}
.growth-panel .section-kicker{font-size:9px;color:#768960;letter-spacing:1.2px}
.stage-caption{font-size:10px;color:var(--secondary)}.stage-caption>span{color:#5f7949}
.growth-panel>p{font-size:11px;color:var(--secondary)}
.goal-caption{font-size:10px;color:var(--secondary)}.muted{color:#7b886b}
.growth-footer{font-size:10px;color:var(--secondary)}
.growth-panel>.button{font-size:11px;min-height:38px}
.segmented button{font-size:10px;color:#7a8768;white-space:nowrap;padding:6px 11px;min-height:29px}
.segmented button.selected{color:#4f6f3b}
.business-card h3{font-size:14px}
.level-badge{font-size:10px;color:#6e8357}
.business-card .button{font-size:11px;min-height:34px}
.unlock-caption{font-size:9px;color:#7d8a6c;line-height:1.6;white-space:normal}
.business-locked h3{color:#859177}
.production-note{font-size:10px;line-height:1.8;color:var(--secondary)}.activity-bottom{font-size:10px;color:#7d8d6b}
.footer{font-size:10px;color:#859277}
.office-panel p{font-size:11px;color:var(--secondary)}.section-heading p{font-size:11px;color:var(--secondary)}
.role-card>p,.research-card>p{font-size:12px;color:var(--secondary)}
.role-effect{font-size:11px;color:#607c48}.detail-rows dt{font-size:12px;color:var(--secondary)}
.detail-rows dd{font-size:12px;color:#637a4f}
.research-banner p{font-size:12px;color:var(--secondary)}.research-card .role-effect{font-size:11px}
.market-intro p{font-size:12px;color:var(--secondary)}
.market-card>p{font-size:11px;color:var(--secondary)}
.market-multiplier{color:#6d8c50}.market-multiplier span{font-size:10px;color:var(--secondary)}
.market-requirement{font-size:10px;color:#6c8056;min-height:18px;line-height:1.8}
.market-card .button{font-size:11px;min-height:38px}
.note-strip{font-size:11px;color:#70835d}
.dialog-intro,.guide-list p,.settings-row p{color:var(--secondary)}
.guide-note{color:#6c8056;font-size:11px}.dialog-activity p{font-size:12px}
@media(min-width:1600px){.factory-scene{height:310px}}
@media(max-width:1190px){.nav-item{font-size:12px}.factory-strip{gap:20px}.factory-strip>.text-button{font-size:10px}.heading-actions{gap:10px}.market-card .button{font-size:11px}}
@media(max-width:980px){.nav-item{font-size:12px}.factory-scene{height:235px;padding:0 6px}.panel-top h2{font-size:13px}.panel-top p{font-size:10px}.live-badge{font-size:9px}.factory-strip strong{font-size:12px}.factory-strip>div>span{font-size:9px}.factory-strip>.text-button{display:none}.growth-panel{padding:18px}.growth-panel h2{font-size:17px}.growth-panel>p{font-size:10px}.growth-panel .section-kicker{font-size:8px}.goal-caption{font-size:9px;flex-wrap:wrap}.growth-footer{font-size:9px}.quick-order{font-size:11px;padding:10px}.heading-actions{flex-direction:column;align-items:flex-end;gap:8px}.market-intro p{font-size:11px}.market-card>p{min-height:45px}}
@media(max-width:700px){
 .nav-full{display:none}
 .sidebar nav{overflow:visible;gap:0}
 .sidebar nav .nav-item{min-width:0;flex:1;flex-direction:column;padding:9px 2px 8px;font-size:11px;gap:5px;min-height:51px}
 .sidebar nav .nav-item>.icon{width:16px;height:16px}
 .sidebar nav .nav-item.active:before{left:7px;right:7px}
 .topbar{height:51px;padding:0 14px}.breadcrumb{font-size:10px;gap:6px}
 .header-actions{gap:3px}.header-divider{margin:0 3px}
 .icon-button{min-height:40px;min-width:35px}
 .mobile-settings{display:inline-grid}.founder-avatar{display:none}

 .heading-actions{gap:8px}
 .quick-order{font-size:11px;min-height:42px;padding:9px 10px;gap:5px;position:relative}
 .quick-order>.icon{width:13px;height:13px}.quick-order-reward{border:0;margin:0;padding-left:2px;font-size:10px}
 .panel-top{padding:20px 19px 0}.panel-top h2{font-size:14px}.panel-top p{font-size:11px;line-height:1.8;max-width:240px}
 .factory-scene{height:215px;padding:0}.scene-label{bottom:4px;font-size:9px}
 .factory-strip{padding:16px 18px;gap:15px;flex-wrap:wrap}
 .factory-strip>div>span{font-size:10px}.factory-strip strong{font-size:13px}.factory-strip small{font-size:9px}
 .factory-strip>.text-button{display:none}
 .growth-panel{padding:22px}.growth-panel h2{font-size:20px}.growth-panel>p{font-size:11px}
 .growth-panel .section-kicker{font-size:9px}.growth-panel .stage-caption{font-size:11px}
 .goal-caption,.growth-footer{font-size:10px}
 .growth-panel>.button{min-height:42px;font-size:11px}
 .section-heading{flex-wrap:wrap;align-items:flex-start;gap:13px}.section-heading h2{font-size:15px}
 .section-heading:has(p){flex-direction:column}.section-heading p{font-size:11px;line-height:1.9}
 .segmented{max-width:100%;flex-shrink:0}.segmented button{font-size:11px;padding:7px 11px;min-height:36px;white-space:nowrap}
 .business-card{padding:17px 13px 13px}.business-card h3{font-size:12px}.business-card .level-badge{font-size:9px;padding:5px}
 .business-card .button{font-size:11px;min-height:40px;width:100%;justify-content:space-between;padding:9px 11px;margin-top:5px}
 .unlock-caption{font-size:9px;line-height:1.9;min-height:34px}.production-note{font-size:10px;line-height:1.9;align-items:flex-start}.production-note>.icon{margin-top:4px}.activity-bottom{font-size:11px}
 .footer{font-size:9px;gap:15px;line-height:1.8}
 .office-panel{flex-wrap:wrap;gap:12px}.office-panel h2{font-size:14px;line-height:1.8}.office-panel p{font-size:10px}
 .office-panel>div:not([class]){flex:1;min-width:170px}.office-action{width:100%;flex-direction:row;justify-content:flex-end;gap:12px;border-top:1px solid var(--border);padding-top:15px}
 .office-action .button{min-height:42px;padding:11px 14px;font-size:12px}.office-action>span{font-size:16px}
 .standalone{gap:8px}.standalone>span{font-size:10px;line-height:1.8}
 .role-card .button{min-height:44px;font-size:12px}.role-card>p{font-size:12px;line-height:1.9}.role-effect{font-size:12px;line-height:1.8}
 .research-banner h2{font-size:15px}.research-banner p{font-size:11px}.research-banner .text-button{font-size:11px;min-height:40px}
 .research-card .role-effect{font-size:11px}.research-card .button{min-height:42px;font-size:12px}
 .market-intro p{font-size:11px}.market-card h2{font-size:14px}.market-card>p{font-size:11px;min-height:60px}.market-multiplier span{font-size:10px}
 .market-requirement{font-size:10px;min-height:36px}.market-card .button{font-size:10px;min-height:42px;padding:9px 7px;gap:3px}
 .note-strip{font-size:11px;padding:14px}
 .dialog-intro{font-size:12px}.guide-list h3{font-size:14px}.guide-list p{font-size:12px}.guide-note{font-size:11px}
 .settings-row p{font-size:11px}.settings-row .button,.dialog-actions .button{min-height:44px;font-size:12px}
}
@media(max-width:370px){.breadcrumb>span,.breadcrumb>.icon{display:none}.topbar{padding:0 12px}.quick-order{font-size:10px;gap:3px;padding:9px 8px}.quick-order-reward{font-size:9px}}

/* Expanded operations and decisions. */
.sidebar { overflow-y: auto; }
.business-icon-4 { background: #f4eae1; color: #ad8e6b; }
.business-icon-5 { background: #e7f1e5; color: #819d6d; }
.status-warning { color: #aa7a3e !important; }
.cost-foot { height: auto; min-height: 18px; white-space: normal; align-items: flex-start; }
.cost-foot > span[data-value] { line-height: 1.7; }
.cost-foot > .icon { margin-top: 3px; }
.operations-icon { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 9px; background: #edf3e6; color: #829d6b; flex-shrink: 0; }
.operations-icon > .icon { width: 18px; height: 18px; }
@media (max-width: 700px) {
 .sidebar { overflow: visible; }
 .sidebar nav .nav-item { font-size: 10px; padding-left: 1px; padding-right: 1px; }
 .sidebar nav .nav-item > .icon { width: 15px; height: 15px; }
 .cost-foot { font-size: 9px; }
}
@media (max-width: 370px) {
 .sidebar nav .nav-item { font-size: 9px; }
}
@media (max-width: 700px) {
 .sidebar nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .sidebar nav .nav-item { flex-direction: row; gap: 7px; font-size: 11px; min-height: 40px; padding: 9px 3px; border-radius: 5px; }
 .sidebar nav .nav-item.active:before { left: 12px; right: 12px; }
 .sidebar nav .nav-item > .icon { width: 15px; height: 15px; }
}

/* Resources stay visible across every management page. */
:root { --sidebar-width: 222px; --topbar-height: 84px; }
html { scroll-padding-top: calc(var(--topbar-height) + 16px); }
.workspace { padding-top: var(--topbar-height); }
.topbar {
 position: fixed; inset: 0 0 auto var(--sidebar-width); height: var(--topbar-height); z-index: 30;
 display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding: 0 34px;
 background: #fbfcf8; box-shadow: 0 4px 18px #263b3005;
}
.resource-bar { display: grid; grid-template-columns: 1.2fr 1.35fr 1fr .8fr; gap: 20px; min-width: 0; }
.header-resource { min-width: 0; padding: 2px 0; }
.resource-label { display: flex; align-items: center; gap: 6px; color: var(--secondary); font-size: 10px; line-height: 1.5; white-space: nowrap; margin-bottom: 5px; }
.resource-label .icon { height: 13px; width: 13px; color: #879a72; }
.resource-value { display: block; min-width: 0; max-width: 100%; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.resource-cash .resource-value { color: #315340; }
.resource-income .resource-value { color: #5c7b40; }
.resource-research .resource-value { color: #7d6842; }
.resource-reputation .resource-value { color: #6a7851; }
.resource-value.negative-value{ color: #ab654d; }
.resource-amount { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.resource-amount .resource-value { flex: 0 1 auto; }
.resource-amount small { flex: 0 0 auto; font-size: 9px; color: var(--secondary); white-space: nowrap; }
.header-tools { display: flex; align-items: center; gap: 20px; min-width: 0; }
.header-tools .breadcrumb { white-space: nowrap; gap: 7px; }
.header-tools .breadcrumb > span,.header-tools .breadcrumb > .icon { display: none; }
.header-tools .header-actions { gap: 3px; }
.header-tools .icon-button { min-width: 32px; min-height: 36px; }
.header-tools .header-divider { margin: 0 5px; }
@media (max-width: 1190px) {
 :root { --sidebar-width: 196px; --topbar-height: 112px; }
 .topbar { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) 36px; gap: 6px; padding: 10px 25px 5px; }
 .resource-bar { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
 .header-tools { justify-content: space-between; gap: 12px; }
 .header-tools .breadcrumb > span,.header-tools .breadcrumb > .icon { display: inline; }
 .resource-value { font-size: 20px; }
}
@media (max-width: 980px) {
 :root { --sidebar-width: 175px; }
 .topbar { padding-left: 22px; padding-right: 22px; }
 .resource-bar { gap: 14px; }
 .resource-value { font-size: 18px; }
}
@media (max-width: 700px) {
 :root { --sidebar-width: 0px; --topbar-height: calc(108px + env(safe-area-inset-top,0px)); }
 html { scroll-padding-top: calc(var(--topbar-height) + 190px); }
 #app { padding-top: var(--topbar-height); }
 .workspace { padding-top: 0; }
 .sidebar { top: var(--topbar-height); }
 .topbar { grid-template-rows: minmax(0,1fr) 40px; gap: 4px; padding: calc(8px + env(safe-area-inset-top,0px)) 14px 4px; }
 .resource-bar { gap: 8px; }
 .resource-label { font-size: 10px; gap: 4px; margin-bottom: 5px; }
 .resource-label .icon { display: none; }
 .resource-value { font-size: 17px; letter-spacing: -.5px; }
 .resource-amount { gap: 3px; }
 .resource-amount small { font-size: 8px; }
 .resource-income .resource-amount small,.resource-research .resource-amount small { display: none; }
 .resource-income .resource-label::after { content: "/秒"; font-size: 8px; }
 .resource-research .resource-label::after { content: "RP"; font-size: 8px; }
 .header-tools { border-top: 1px solid #e5eadf; padding-top: 3px; }
 .header-tools .icon-button { min-height: 36px; min-width: 34px; }
 .header-tools .header-divider { margin: 0 2px; }
}
@media (max-width: 370px) {
 .topbar { padding-left: 12px; padding-right: 12px; }
 .resource-bar { gap: 6px; }
 .resource-label { font-size: 9px; }
 .resource-value { font-size: 16px; }
 .resource-amount { gap: 2px; }
 .header-tools .breadcrumb > span,.header-tools .breadcrumb > .icon { display: none; }
}
