@charset "UTF-8";
:root{--paper:#f5f3ec;--surface:#fffefa;--ink:#243b3c;--muted:#7b827c;--line:#e5e4da;--green:#305b56;--green-light:#e9efE7;--nav:#203f43;--gold:#af8c50;--clay:#ac6c4f;--shadow:0 3px 12px #243c3710}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.47}a{color:inherit;text-decoration:none}button{color:inherit}input,select,textarea{max-width:100%}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:.4px;line-height:1.4}h2{font-size:18px;font-weight:650;line-height:1.5}h3{font-size:15px;line-height:1.55;font-weight:650}h4{font-size:14px}small{font-size:11px}p{line-height:1.8}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}button:focus-visible,a:focus-visible{outline:3px solid #c9ab70;outline-offset:3px}.muted{color:var(--muted)}.tiny{font-size:12px}.positive{color:#3c7660}.warning{color:#a16c3e}.right{text-align:right}.full{width:100%;justify-content:center}.grow{flex:1}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2.4px;color:var(--gold);font-weight:650;margin-bottom:9px}.skip-link{position:fixed;top:-60px;left:16px;background:var(--nav);color:white;padding:10px;z-index:100}.skip-link:focus{top:8px}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:16px}.btn{border:1px solid transparent;border-radius:6px;padding:10px 17px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;transition:background .18s,transform .18s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:var(--green);color:#fffefa}.btn.primary:hover:not(:disabled){background:#224a45}.btn.secondary{background:var(--surface);border-color:#d8ded3;color:var(--green)}.btn.secondary:hover:not(:disabled){background:#edf1e9}.btn.quiet{background:transparent;color:var(--green)}.btn.quiet:hover{background:#e8ece3}.btn.small{padding:6px 11px;min-height:33px;font-size:12px}.btn .icon{width:17px;height:17px}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:12px;font-weight:600;background:none;border:0;padding:0;white-space:nowrap}.text-link .icon{width:16px;height:16px}.text-link:hover{text-decoration:underline}.icon-button{border:0;background:transparent;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:6px;color:inherit}.icon-button:hover{background:#ffffff12}.tag{display:inline-flex;gap:5px;align-items:center;padding:3px 8px;border-radius:4px;background:#efeee6;color:#7a7d6c;font-size:11px;white-space:nowrap}.tag.green{background:#e7efe5;color:#42705a}.tag.gold{background:#f6efde;color:#9d7c42}.tag .icon{width:13px;height:13px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7eaf8c;flex:none}.avatar{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#dee7dd;color:#4b6655;font-family:"Microsoft YaHei",serif;font-size:16px;flex:none}.avatar.warm{background:#eee0cd;color:#967247}.avatar.big{width:48px;height:48px;font-size:21px}.large-icon{display:inline-grid;place-items:center;background:#eef0e6;color:#6a8165;border-radius:11px;width:48px;height:48px;flex:none}.large-icon .icon{width:27px;height:27px}
.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:224px;background:var(--nav);color:#cfdbd4;display:flex;flex-direction:column;padding:28px 16px 14px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 9px;color:#f4edd8}.brand strong{display:block;font-size:20px;font-weight:600;letter-spacing:3px;line-height:1.45}.brand small{display:block;letter-spacing:1.6px;font-size:8px;opacity:.6;margin-top:5px}.brand img{flex:none}.settlement{display:flex;align-items:center;gap:7px;font-size:11px;margin:30px 10px 24px;padding-bottom:21px;border-bottom:1px solid #ffffff13}.settlement small{margin-left:auto;color:#a8b4a2;background:#ffffff0a;padding:1px 5px;border-radius:3px;font-size:9px}.nav-label{font-size:10px;letter-spacing:2px;color:#819f99;margin:0 15px 12px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;margin:3px 0;border-radius:5px;font-size:13px;position:relative;border:0;background:transparent;width:100%;text-align:left;color:inherit}.nav-item .icon{width:19px;height:19px;opacity:.7}.nav-item:hover{background:#ffffff08;color:white}.nav-item.active{background:#ffffff10;color:#f0e1bf}.nav-item.active:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;background:#d5bc82;border-radius:3px}.nav-item.active .icon{opacity:1}.nav-item small{margin-left:auto;background:#ffffff0e;padding:0 6px;border-radius:3px;color:#cdd6c3}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom .nav-item{font-size:12px;color:#a7bbb3;padding:9px 14px}.citizen{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff14;margin-top:15px;padding-top:20px}.citizen strong{display:block;font-size:12px;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.citizen small{display:block;font-size:10px;color:#8eaaa0}.citizen .avatar{background:#49635c;color:#e1ddbf}.citizen .icon-button{margin-left:auto;width:27px}.workspace{margin-left:224px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;border-bottom:1px solid var(--line);background:#faf9f4;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:16px}.breadcrumb{font-size:11px;color:#7a857b;white-space:nowrap}.breadcrumb span{color:#bec2b7;margin:0 11px}.top-resources{display:flex;align-items:center;gap:22px;font-size:12px}.top-resources .icon{width:17px;height:17px}.location{display:flex;align-items:center;gap:6px;color:#687c6d}.money{display:flex;align-items:center;gap:7px}.money .icon{color:var(--gold)}.money strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.money small{color:#8f9486;font-size:11px}.stamina-pill{display:flex;align-items:center;gap:5px;color:#526c55;background:#e9eddf;border-radius:20px;padding:5px 11px}.stamina-pill strong{font-size:13px}.stamina-pill>span{color:#829078;font-size:11px}.notification{position:relative;border-left:1px solid var(--line);border-radius:0;width:40px}.notification i{position:absolute;right:6px;top:7px;width:5px;height:5px;border-radius:50%;background:#b68c56}.main{width:100%;max-width:1480px;margin:0 auto;padding:32px 36px 44px;outline:none;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading .muted{margin-top:8px;font-size:12px}.page-heading .eyebrow{margin-bottom:6px}.date-badge{border:1px solid #e2dfd1;background:#faf7ed;padding:7px 11px;color:#92917e;font-size:11px;border-radius:5px;white-space:nowrap}.date-badge .icon{width:15px;height:15px;margin-right:7px}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin:0 36px;padding:18px 0;color:#8f968b;font-size:10px}.footer .status-dot{margin-right:6px;width:5px;height:5px}.version{margin-left:8px;color:#adb2a7}
.harbor-hero{height:253px;position:relative;overflow:hidden;border-radius:10px;background:#e4e8dd;margin-bottom:22px;border:1px solid #d9ddcf}.harbor-hero>img{position:absolute;right:0;top:0;width:100%;height:100%;object-fit:cover;object-position:right center}.harbor-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f2efdfed 0,#f2efdfbc 24%,#f2efdf25 48%,transparent 65%)}.hero-copy{position:relative;z-index:1;padding:30px 32px}.hero-copy h2{font-size:25px;letter-spacing:1px;font-weight:650}.hero-copy>p{font-size:12px;color:#667a6a;margin:13px 0 19px}.hero-copy .eyebrow{color:#899475;font-size:9px}.hero-button{border:1px solid #698575;background:#f7f3e6b5;color:#3d6355;padding:8px 13px;min-height:37px;font-size:11px}.hero-caption{position:absolute;bottom:13px;right:18px;color:#f7f3df;font-size:9px;letter-spacing:1px;z-index:1;background:#477c785e;padding:3px 7px;border-radius:3px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:19px 16px;display:flex;gap:13px;align-items:flex-start}.stat-card>.icon{width:23px;height:23px;color:#8a9b7b;margin-top:4px}.stat-card:nth-child(2)>.icon{color:#b29156}.stat-card span{font-size:11px;color:#8b9285}.stat-card strong{display:block;font-size:24px;line-height:1.6;font-weight:600;letter-spacing:.2px;font-variant-numeric:tabular-nums}.stat-card strong small{font-size:11px;color:#9ca28e;font-weight:400}.stat-card p{font-size:10px;color:#92998a}.two-column{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px}.two-column>section,.two-column>aside{min-width:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:23px;margin-bottom:22px;box-shadow:var(--shadow)}.panel.compact{padding:20px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 15px}.section-title:first-child{margin-top:0}.section-title h2{font-size:16px;letter-spacing:.2px}.action-row{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid #ecece3}.action-row:last-child{border-bottom:0;padding-bottom:2px}.action-row:first-of-type{padding-top:8px}.action-row>div{flex:1;min-width:0}.action-row h3{font-size:13px;margin-bottom:4px}.action-row p{font-size:11px;color:#909587}.action-row .btn{font-size:11px;min-height:35px;padding:7px 11px}.action-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#edf0e6;color:#6d896a;flex:none}.action-icon.gold{background:#f3edde;color:#af9157}.action-icon.blue{background:#eaf0ec;color:#729389}.action-icon .icon{width:22px;height:22px}.news{display:flex;gap:12px;margin:20px 0}.news:last-child{margin-bottom:0}.news-dot{margin-top:7px;width:7px;height:7px;flex:none;border-radius:50%;background:#93a489}.news-dot.city{background:#c2a56c}.news-dot.industry{background:#759f97}.news time{display:block;font-size:10px;color:#adb2a3;margin-bottom:3px}.news h3{font-size:12px;margin-bottom:5px}.news p{font-size:11px;color:#8b9383;line-height:1.8}.quote-card{background:#ecece1;border:1px solid #e3e3d5;border-radius:8px;padding:25px;color:#7d886f}.quote-card>span{font-size:10px;letter-spacing:2px}.quote-card>p{font-family:"Songti SC","SimSun",serif;font-size:17px;line-height:1.9;margin:12px 0 13px}.quote-card>small{font-size:10px;color:#9ba18e}.task{padding:12px 0;border-bottom:1px solid var(--line)}.task:last-child{border:0}.task-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.task-top strong{font-size:12px;font-weight:600}.task p{font-size:10px;color:#91978b;margin-top:7px}.progress{height:5px;background:#eceee4;border-radius:9px;overflow:hidden}.progress>span{height:100%;display:block;background:#72957b;border-radius:9px;transition:width .3s}.empty{text-align:center;padding:35px 20px;color:var(--muted)}.empty>.icon{color:#acb19b;width:32px;height:32px;margin-bottom:9px}.empty h3{color:#6f7d6b;margin-bottom:7px;font-size:14px}.empty p{font-size:12px;max-width:480px;margin:0 auto 16px}.empty .btn{margin-top:3px}
.cards{display:grid;gap:20px}.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.cards>.panel{margin-bottom:0}.cards+.section-title{margin-top:30px}.cards+.panel,.cards+.notice{margin-top:22px}.cards+.cards{margin-top:22px}.job-card>h3{margin-top:14px}.job-card>p{font-size:12px;color:var(--muted);margin-top:8px;min-height:44px}.mini-facts{margin:18px 0;border-top:1px solid var(--line);padding-top:12px}.mini-facts>div{display:flex;justify-content:space-between;font-size:12px;margin:7px 0}.mini-facts dt{color:var(--muted)}.mini-facts dd{margin:0;font-weight:600}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0;min-width:0;flex:1}.field>span{font-size:11px;color:#7f897a;font-weight:550}.field input,.field select,.inline-label select{border:1px solid #dcded2;background:#fdfcf7;min-height:41px;border-radius:5px;padding:9px 11px;color:var(--ink);outline:none;min-width:0;width:100%;font-size:12px}.field input:focus,.field select:focus,.inline-label select:focus{border-color:#739c86;box-shadow:0 0 0 3px #739c8615}.field input::placeholder{color:#b1b4a8}.field input[type=number]{min-width:65px}.form-row{display:flex;align-items:flex-end;gap:12px}.form-row>.btn{margin:12px 0}.form-row .field{flex:1}.job-card .form-row .field{max-width:90px}.job-card .form-row .btn{flex:1;padding:10px 9px}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.inline-label{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:11px;color:#83907d}.inline-label select{width:auto;min-height:37px;padding:7px 28px 7px 11px}.energy-panel{display:flex;align-items:center;gap:28px;padding:25px;background:#edf0e5;border:1px solid #dfe5d7;border-radius:8px;margin-bottom:24px}.energy-panel h2{font-size:25px}.energy-panel h2 small{font-size:12px;font-weight:400;color:#8a967f}.energy-panel .eyebrow{font-size:10px;margin-bottom:4px;color:#849271}.energy-explanation{flex:1}.energy-track{position:relative;margin-bottom:8px}.energy-track .progress{height:10px;background:#dee5d5}.energy-track i{position:absolute;top:-2px;bottom:-2px;border-left:2px solid #f7f8f0}.notice{display:flex;align-items:center;gap:10px;background:#f5eddd;border:1px solid #eadfc9;border-radius:6px;color:#9d8050;padding:13px 17px;font-size:12px;margin-bottom:22px;line-height:1.8}.notice.subtle{background:#edf0e8;border-color:#e0e6d9;color:#7b8c71}.notice .icon{width:18px;height:18px}.small-notice{font-size:11px;padding:9px 12px}.split{display:flex;justify-content:space-between;gap:15px}.project-title{display:flex;align-items:center;justify-content:space-between}.project h3{margin-top:14px;font-size:17px}.project>p{color:#8b937f;font-size:12px;margin:9px 0 18px}.project .progress{margin:10px 0}.project .form-row .field{max-width:115px}
.business-heading{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.business-heading>div:nth-child(2){flex:1}.title-line{display:flex;align-items:center;gap:12px}.business-heading p{font-size:11px;color:var(--muted);margin-top:7px}.business-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.business-actions .btn{font-size:11px;padding:7px 10px;min-height:35px}.business-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:27px}.production{padding-right:24px;border-right:1px solid var(--line)}.production>.production-form>.form-row>.field:first-child{flex:2}.production>.production-form>.form-row>.field:nth-child(2){max-width:75px}.production-form>.btn{min-width:150px}.recipe-preview{background:#f5f5ed;border:1px solid #e5e7da;border-radius:6px;padding:15px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:9px 0}.recipe-preview>div:first-child,.recipe-preview>div:nth-child(3){flex:1;min-width:100px}.recipe-preview div>span{display:block;font-size:10px;color:#96a087;margin-bottom:4px}.recipe-preview strong{font-size:12px;font-weight:550}.recipe-preview p{flex-basis:100%;font-size:11px;color:#78876f;margin-top:5px}.recipe-preview p .icon{width:13px;height:13px}.recipe-preview small{font-size:10px;color:#939b85;flex-basis:100%}.availability{margin:12px 0}.staff-plan>p{margin:8px 0}.staff-plan>.text-link{margin-top:15px}.construction{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.construction .split{font-size:12px;margin-bottom:9px}.construction p{margin-top:9px}.construction .form-row .field{max-width:120px}.toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:18px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line)}.tabs button{border:0;background:none;padding:13px 2px;color:#909681;font-size:13px;position:relative;white-space:nowrap}.tabs button.active{color:var(--green);font-weight:650}.tabs button.active:after{content:"";position:absolute;bottom:-1px;height:2px;left:0;right:0;background:var(--green)}.tabs small{padding:1px 5px;margin-left:5px;background:#e8edde;border-radius:3px}.toolbar>.tabs{flex:1;align-self:stretch}.table-panel{padding:0;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;min-width:640px}th{font-size:11px;font-weight:550;color:#919987;background:#f4f5ed;padding:14px 21px;border-bottom:1px solid var(--line)}td{padding:16px 21px;border-bottom:1px solid #edeee5;font-size:12px;color:#75826e}tr:last-child td{border-bottom:0}td strong{color:#3d5449;font-weight:600}tr:hover td{background:#fbfcf6}.item-cell{display:flex;align-items:center;gap:13px}.item-cell>.icon{width:27px;height:27px;color:#a18d66}.item-cell>div strong{display:block}.item-cell>div small{display:inline-block;margin-top:4px}.item-cell>.tiny{display:block}.quality{font-size:10px;color:#89957b;background:#eef1e5;padding:2px 6px;border-radius:3px}.quality.q2{color:#57827e;background:#e6efea}.quality.q3{color:#a17a3e;background:#f4ebd8}.warehouse-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.warehouse-summary>div:first-child{display:flex;gap:12px;align-items:center;flex:1}.warehouse-summary>span{font-size:12px;color:#75896f}.warehouse-summary>.progress{flex-basis:100%}.inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.inventory-card{padding:20px}.inventory-card h3{margin:13px 0 8px}.inventory-card>p{margin-top:12px;min-height:38px}.quantity{font-size:22px;font-weight:500;color:#5f775f}.inventory-card .button-row{gap:2px}.inventory-card .btn{padding:6px 8px}.person-heading{display:flex;align-items:center;gap:12px}.person-heading p{font-size:11px;color:#939a8a;margin-top:3px}.employee-stats{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0;padding:13px 0}.employee-stats span{font-size:10px;color:#969d8b}.employee-stats strong{display:block;font-size:21px;font-weight:500;color:#576f58}.employee .notice{margin-bottom:0}.employee>p:last-child{margin-top:13px}.resident-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.resident{padding:19px}.resident>p{font-size:11px;margin:14px 0}.resident .button-row{gap:3px}.resident .btn{padding:6px 9px}.world-map{height:330px;position:relative;border:1px solid #dce1d0;background:#ececdf;border-radius:9px;overflow:hidden;margin-bottom:22px}.world-map>svg{position:absolute;inset:0;width:100%;height:100%}.map-pattern{position:absolute;inset:0;background-image:linear-gradient(#8392700a 1px,transparent 1px),linear-gradient(90deg,#8392700a 1px,transparent 1px);background-size:30px 30px}.map-place{position:absolute;transform:translate(-50%,-50%);border:0;background:none;display:flex;flex-direction:column;align-items:center;z-index:1}.map-place>span{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#fffdf0;border:1px solid #b6b799;box-shadow:0 4px 12px #4c665517;color:#7b885f;margin-bottom:8px}.map-place strong{font-size:13px;color:#546b52;letter-spacing:.5px}.map-place small{font-size:10px;color:#8b987c;background:#faf8ecaa;padding:1px 5px;border-radius:3px}.map-place.current>span{background:var(--green);color:#f1dfb7;border-color:var(--green)}.map-place.undiscovered{opacity:.55}.map-label{position:absolute;bottom:17px;left:20px;font-size:9px;letter-spacing:2px;color:#477773}.region>h3{font-size:18px;margin:3px 0 10px}.region>p{font-size:12px;color:#8a9580;min-height:67px}.region-bonuses{display:flex;gap:14px;margin:18px 0;flex-wrap:wrap}.region-bonuses>span{font-size:10px;color:#96a089}.region-bonuses strong{display:block;font-size:15px;color:#6e8c61;font-weight:600}.expedition{display:flex;align-items:flex-start;gap:17px}.expedition h3{font-size:17px}.expedition p{color:#8c9682;font-size:12px;margin:8px 0 13px}.expedition .btn{margin-top:3px}.guild-hero{display:flex;gap:18px;align-items:center}.guild-hero>div{flex:1}.guild-hero h2{font-size:25px}.guild-hero p{font-size:12px;color:#87937c}.guild-stock{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.guild-stock h4{margin:10px 0 4px;color:#77876d;font-size:12px}.guild-stock p{font-size:11px;color:#929c86}.town-square{margin-top:22px}.posts article{display:flex;gap:13px;border-top:1px solid var(--line);padding:18px 0}.posts strong{font-size:12px}.posts time{font-size:10px;color:#9da58e;margin-left:12px}.posts p{font-size:13px;margin-top:6px;overflow-wrap:anywhere}.prose h2{margin-bottom:16px}.prose p,.prose li{font-size:13px;color:#74816c;line-height:1.95;margin-bottom:12px}.prose ol{padding-left:19px}.prose+.panel{margin-top:22px}
dialog{border:1px solid #d6ddce;border-radius:12px;background:var(--surface);color:var(--ink);width:min(510px,calc(100vw - 30px));max-height:88vh;padding:0;box-shadow:0 24px 90px #17352f40;overflow:auto}dialog.wide{width:min(880px,calc(100vw - 30px))}dialog::backdrop{background:#132f2f66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.dialog-heading h2{font-size:19px}.dialog-heading .icon-button:hover{background:#edf0e5}.dialog-body{padding:23px 25px}.dialog-body>section{margin-bottom:25px}.dialog-body>section p{font-size:12px;color:#87927c;margin:10px 0 15px}.dialog-body>form>p{font-size:12px;margin:10px 0 15px}.dialog-body .notice{margin-top:17px}.dialog-body form>.btn.full{margin-top:14px}.build-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.build-option{display:flex;flex-direction:column;position:relative;padding:18px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:#f9f9f2}.build-option:has(input:checked){border-color:#759c80;background:#eef2e8;box-shadow:0 0 0 1px #759c80}.build-option input{position:absolute;right:15px;top:17px;accent-color:var(--green)}.build-option .large-icon{width:35px;height:35px;background:transparent;margin-bottom:6px}.build-option .large-icon svg{width:25px;height:25px}.build-option strong{font-size:14px;margin-bottom:6px}.build-option p{font-size:11px;color:#8d9781;min-height:40px}.build-option small{color:#718569;font-size:10px;margin-top:6px}.trade-item{display:flex;gap:17px;align-items:center;margin-bottom:17px}.trade-item>.icon{width:40px;height:40px;color:#a58c59}.trade-item p{font-size:11px;color:#959e86}.journal article{border-bottom:1px solid var(--line);padding:14px 0}.journal article:first-child{padding-top:0}.journal time{font-size:10px;color:#a2ab93}.journal h3{margin:5px 0}.journal p{font-size:12px;color:#839278}.dev-section{background:#f1f1e8;border-radius:7px;padding:16px;border:1px dashed #cfd7c2}#toast{position:fixed;bottom:25px;left:calc(50% + 112px);transform:translate(-50%,20px);max-width:min(620px,85vw);padding:14px 22px;background:#24483ff2;color:#fffdf2;border-radius:8px;box-shadow:0 8px 30px #123d3030;z-index:200;opacity:0;pointer-events:none;font-size:13px;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8c5945f2}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr}.auth-scene{background:#23484b;min-height:100vh;position:relative;padding:48px 50px;overflow:hidden;display:flex;flex-direction:column}.auth-scene .brand{padding:0;position:relative;z-index:2}.auth-scene .brand strong{font-size:23px}.auth-copy{position:relative;z-index:2;margin-top:86px}.auth-copy .eyebrow{color:#bcb68c;letter-spacing:3px;font-size:10px}.auth-copy h1{font-family:"Songti SC","SimSun",serif;font-size:38px;line-height:1.65;letter-spacing:3px;font-weight:500;color:#f2e8cd;margin:20px 0}.auth-copy>p{color:#acbfb1;font-size:13px;line-height:2}.auth-landscape{position:absolute;width:170%;height:47%;object-fit:cover;object-position:right center;bottom:58px;right:-5%;opacity:.85;mask-image:linear-gradient(transparent,#000 30%);-webkit-mask-image:linear-gradient(transparent,#000 30%)}.auth-foot{position:absolute;bottom:27px;left:50px;right:50px;display:flex;justify-content:space-between;color:#91b0a2;font-size:10px;letter-spacing:1px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:45px;background:#f5f3eb}.auth-card{max-width:360px;width:100%}.auth-card>h2{font-size:27px;letter-spacing:.5px;margin-bottom:11px}.auth-card>.muted{font-size:12px;margin-bottom:20px}.auth-card>.eyebrow{font-size:9px;letter-spacing:2.5px}.auth-card .tabs{margin:27px 0 24px}.auth-card .tabs button{flex:1;font-size:13px}.auth-card .field{margin:17px 0}.auth-card input{min-height:46px;background:#fffef9}.auth-card form>.btn{margin-top:13px;min-height:46px}.form-error{font-size:12px;color:#a65c44;min-height:0}.auth-note{display:flex;align-items:center;gap:12px;border-top:1px solid #e3e4d6;border-bottom:1px solid #e3e4d6;padding:20px 0;margin:28px 0 20px;color:#929c83}.auth-note .icon{color:#9ba47d;width:24px;height:24px}.auth-note p{font-size:11px;line-height:1.9}.auth-card>.tiny{font-size:10px;line-height:1.9}
@media(min-width:1600px){.main{padding-top:38px}.harbor-hero{height:290px}.hero-copy{padding:40px}.hero-copy h2{font-size:29px}}
@media(max-width:1200px){.sidebar{width:200px;padding-left:12px;padding-right:12px}.workspace{margin-left:200px}.main{padding:26px}.topbar{padding:0 26px}.top-resources{gap:15px}.breadcrumb{font-size:10px}.stat-card{padding:16px 12px;gap:9px}.stat-card>.icon{width:20px}.stat-card strong{font-size:21px}.stat-card p{font-size:9px}.two-column{grid-template-columns:minmax(0,1.3fr) minmax(255px,1fr);gap:17px}.panel{padding:20px}.resident-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar{flex-wrap:wrap}.toolbar .tabs{flex-basis:100%;order:3}.business-body{grid-template-columns:1.2fr 1fr;gap:20px}.production{padding-right:20px}.business-heading{flex-wrap:wrap}.business-actions{margin-left:auto}.job-card .form-row{flex-wrap:wrap;gap:5px}.job-card .form-row>.btn{margin-top:0}.auth-scene{padding:40px 34px}.auth-copy h1{font-size:31px}.auth-foot{left:34px;right:34px}.auth-foot>span:last-child{display:none}}
@media(max-width:1000px){.sidebar{width:182px;padding-top:24px}.brand{padding:0 4px;gap:9px}.brand img{width:35px;height:35px}.brand strong{font-size:17px;letter-spacing:2px}.brand small{font-size:7px}.nav-item{padding-left:12px;gap:10px;font-size:12px}.workspace{margin-left:182px}.topbar{padding:0 20px}.breadcrumb{display:none}.top-resources{width:100%;justify-content:flex-end}.location{margin-right:auto}.main{padding:24px 20px}.two-column{grid-template-columns:1fr}.two-column>aside{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.stat-grid{grid-template-columns:repeat(2,1fr)}.stat-card p{font-size:10px}.stat-card{padding:16px}.stat-card strong{font-size:24px}.cards.three{grid-template-columns:1fr 1fr}.cards.three>.panel:last-child{grid-column:1/-1}.business-body{grid-template-columns:1fr}.production{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.staff-plan form{max-width:500px}.resident-grid{grid-template-columns:repeat(2,1fr)}.inventory-grid{grid-template-columns:repeat(2,1fr)}.page-heading{flex-wrap:wrap}.date-badge{display:none}.energy-panel{flex-wrap:wrap;gap:16px}.energy-explanation{min-width:200px}.construction{grid-template-columns:1fr;gap:10px}.footer{margin:0 20px}#toast{left:calc(50% + 91px)}.auth-copy{margin-top:60px}.auth-copy h1{font-size:28px}.auth-panel{padding:32px}.auth-foot{font-size:9px}}
@media(max-width:720px){body{font-size:14px}.sidebar{position:relative;width:100%;height:auto;padding:15px 16px 0}.sidebar>.brand{padding:0;gap:10px}.sidebar>.brand img{width:33px;height:33px}.sidebar>.brand strong{font-size:18px}.sidebar>.brand small{font-size:7px;margin-top:2px}.settlement{position:absolute;right:16px;top:18px;border:0;margin:0;padding:0}.settlement>span:nth-child(2){display:none}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px;margin-top:14px;padding-bottom:7px;scrollbar-width:thin;scrollbar-color:#5c7669 transparent}.nav-item{flex:0 0 auto;width:auto;padding:9px 11px;gap:6px;font-size:12px;margin:0}.nav-item .icon{width:16px;height:16px}.nav-item.active:before{left:10px;right:10px;bottom:0;top:auto;height:2px;width:auto}.nav-item small{display:none}.workspace{margin-left:0}.topbar{height:59px;padding:0 17px}.top-resources{gap:12px}.location{font-size:10px;gap:4px}.money small{display:none}.money strong{font-size:13px}.stamina-pill{padding:4px 8px}.notification{width:28px;padding:0}.main{padding:24px 16px 30px}.page-heading{margin-bottom:20px;gap:12px}.page-heading h1{font-size:23px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.page-heading .muted{font-size:11px}.page-heading>.btn{padding:7px 12px;min-height:36px;font-size:12px}.harbor-hero{height:230px;margin-bottom:17px}.harbor-hero>img{width:170%;max-width:none;right:-30%}.harbor-hero:after{background:linear-gradient(90deg,#f2efdfef,#f2efdfaa 43%,transparent)}.hero-copy{padding:25px 20px}.hero-copy h2{font-size:22px}.hero-copy>p{font-size:10px;margin:11px 0 16px}.hero-caption{font-size:8px}.hero-copy .eyebrow{font-size:8px}.stat-grid{gap:10px;margin-bottom:20px}.stat-card{padding:13px;gap:9px}.stat-card span{font-size:10px}.stat-card strong{font-size:22px}.stat-card strong small{font-size:9px}.stat-card p{font-size:9px}.stat-card>.icon{width:18px;height:18px;margin-top:3px}.two-column>aside{display:block}.panel{padding:19px;margin-bottom:17px}.section-title{margin-top:23px;margin-bottom:14px}.section-title h2{font-size:15px}.section-title>.tiny{font-size:10px}.action-row{gap:10px;padding:17px 0}.action-row h3{font-size:12px}.action-row p{font-size:10px}.action-icon{width:33px;height:33px}.action-icon .icon{width:19px;height:19px}.action-row .btn{padding:6px 9px;font-size:10px;min-height:33px}.footer{margin:0 16px;padding:15px 0;font-size:9px}.footer .version{display:none}.cards.two,.cards.three{grid-template-columns:1fr;gap:15px}.cards.three>.panel:last-child{grid-column:auto}.cards.inventory-grid,.cards.resident-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.cards.resident-grid>.panel,.cards.inventory-grid>.panel{padding:15px}.resident .person-heading{gap:8px}.resident .avatar{width:31px;height:31px;font-size:14px}.resident .person-heading h3{font-size:12px}.resident .person-heading p{font-size:10px}.resident>p{font-size:10px}.resident>p>.tiny{display:block;margin-top:5px}.resident .button-row{gap:0}.resident .button-row .btn{font-size:10px;padding:5px 6px}.inventory-card .quantity{font-size:19px}.inventory-card .large-icon{width:36px;height:36px}.inventory-card h3{font-size:14px}.inventory-card>p{font-size:10px}.inventory-card .btn{font-size:10px;padding:5px 7px}.inventory-card .button-row{gap:0}.energy-panel{padding:19px;gap:12px}.energy-panel h2{font-size:23px}.energy-explanation{order:3;flex-basis:100%}.energy-panel>.tag{margin-left:auto;font-size:10px}.business-heading{gap:11px}.business-heading .large-icon{width:39px;height:39px}.business-heading h2{font-size:16px}.business-heading p{font-size:10px}.title-line{gap:8px}.business-actions{width:100%;justify-content:flex-start;margin-top:3px}.business-body{gap:20px}.production-form>.form-row{gap:8px;flex-wrap:wrap}.production-form>.form-row>.field:first-child{flex-basis:100%}.production-form>.form-row>.field{margin:6px 0}.staff-plan .form-row{gap:8px}.toolbar{gap:10px}.toolbar .inline-label{flex:1}.toolbar>.btn{min-height:36px;padding:7px 10px;font-size:11px}.tabs{gap:22px}.tabs button{font-size:12px}.notice{font-size:11px;padding:11px 13px;display:block}.notice>.icon{margin-right:6px}.warehouse-summary{gap:12px;font-size:12px}.warehouse-summary>span{font-size:10px;flex-basis:100%}.world-map{height:270px}.map-place>span{width:38px;height:38px}.map-place strong{font-size:11px}.map-place small{font-size:9px}.map-label{font-size:7px;bottom:10px;left:13px}.region>p{min-height:0}.region-bonuses{gap:25px}.guild-hero{gap:13px;flex-wrap:wrap}.guild-hero h2{font-size:21px}.guild-hero>.btn{margin-top:8px}.employee .person-heading h3{font-size:16px}.form-row{gap:10px}.form-row .btn{padding:9px 12px}.field>span{font-size:11px}.field input,.field select{font-size:13px}.town-square>.section-title>.tiny{display:none}.town-square .form-row{flex-wrap:wrap}.town-square .field{flex-basis:100%;margin-bottom:0}.town-square .btn{margin-top:3px}.build-grid{grid-template-columns:1fr}.dialog-body{padding:20px}.dialog-heading{padding:16px 20px}.dialog-heading h2{font-size:18px}.dialog-body .form-row{flex-wrap:wrap}.dialog-body .form-row>.field{flex-basis:40%}#toast{left:50%;width:max-content;max-width:92vw;font-size:12px;padding:12px 17px;bottom:18px}.auth-shell{grid-template-columns:1fr}.auth-scene{min-height:340px;padding:25px}.auth-scene .brand strong{font-size:20px}.auth-scene .brand img{width:37px;height:37px}.auth-copy{margin-top:31px}.auth-copy .eyebrow{font-size:8px;letter-spacing:1.4px}.auth-copy h1{font-size:27px;line-height:1.5;margin:10px 0 12px;letter-spacing:2px}.auth-copy>p{font-size:11px;line-height:1.8}.auth-landscape{height:70%;width:130%;bottom:0;right:-40%;opacity:.45}.auth-foot{display:none}.auth-panel{padding:32px 26px 45px}.auth-card{max-width:420px}.auth-card>h2{font-size:24px}.auth-card .tabs{margin:20px 0}.auth-note{margin-top:24px}.auth-card>.eyebrow{font-size:8px}}
.mobile-settings{display:none}.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.skill small{display:block;color:var(--muted);font-size:10px;margin:6px 0}.skill>.split{font-size:12px}.skill strong{color:var(--green)}
@media(max-width:720px){.mobile-settings{display:inline-grid;width:27px}.top-resources{gap:8px}.location>span{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skills-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.dialog-error{margin:0 24px 16px;padding:12px 14px;background:#fae8de;border-radius:8px;color:#8a352a;font-size:13px}.dialog-error[hidden]{display:none}

/* Keep account controls reachable on short desktop windows. */
@media(min-width:721px){.sidebar{overflow:hidden;padding-top:20px}.sidebar>.brand,.sidebar>.settlement,.sidebar>.nav-label,.sidebar-bottom{flex-shrink:0}.sidebar>nav{min-height:0;overflow-y:auto;scrollbar-width:thin;flex:1}.sidebar-bottom{padding-top:12px}.settlement{margin-top:20px;margin-bottom:14px;padding-bottom:14px}.citizen{padding-top:13px;margin-top:10px}}
.business-card>summary{cursor:pointer;list-style:none;margin:0}.business-card>summary::-webkit-details-marker{display:none}.business-card>summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.expand-label{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.business-content{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.business-controls{margin-bottom:12px}.material-choices{display:flex;gap:12px;flex-wrap:wrap}.material-choices>.field{flex:1;min-width:140px}.material-choices p{margin:8px 0}.recipe-preview{overflow-wrap:anywhere}.recipe-preview>small,.recipe-preview>p{flex-basis:100%}.people-filters{align-items:center;flex-wrap:wrap}.people-filters label{display:flex;align-items:center;gap:8px;font-size:12px}.people-filters select{padding:7px;border:1px solid var(--line);border-radius:5px;background:var(--surface)}.project-effect{color:var(--green);font-size:12px;margin:12px 0!important}.journal .read{opacity:.65}.journal .unread h3:before{content:'● ';color:var(--gold);font-size:9px}.build-availability{line-height:1.9}.hire-workload{margin:12px 0;color:var(--green)}.work-quote{align-self:center;color:var(--green)}
@media(max-width:720px){.expand-label{display:none}.business-card>summary{padding:0}.material-choices>.field{min-width:110px}.people-filters{gap:12px}.people-filters select{max-width:150px}}

.inventory-filters{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:12px}.inventory-filters .field{flex:1;min-width:130px}.inventory-filters .field:first-child{flex:2;min-width:190px}#inventory-count{margin:12px 0}.recipe-guide-card{padding:16px 0;border-bottom:1px solid var(--line)}.recipe-guide-card h3{margin:0 0 8px}.recipe-guide-card p{font-size:12px;line-height:1.8;margin:8px 0}.recipe-guide-flow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#f5f5ed;padding:12px;border-radius:5px}.recipe-guide-flow .text-link{font:inherit}.guide-section{margin-top:26px}.item-guide .button-row{flex-wrap:wrap}.item-guide .btn{white-space:normal;overflow-wrap:anywhere}.inventory-card .button-row{flex-wrap:wrap}.toolbar:has(#industry-city){flex-wrap:wrap}

.vessel{margin-top:22px}.vessel h2{display:flex;gap:10px;align-items:center}.vessel>p{margin:12px 0}.fleet-stats{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0}.fleet-stats span{font-size:12px;color:var(--muted)}.fleet-stats strong{display:block;font-size:19px;color:var(--green)}.fleet-legs{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.fleet-legs p{font-size:12px;line-height:1.9;margin:9px 0}.fleet-log{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.fleet-log summary{cursor:pointer}.fleet-log p{font-size:12px;margin:10px 0}.fleet-log time{color:var(--muted)}.route-leg{border:1px solid var(--line);border-radius:7px;margin:18px 0;padding:16px}.route-leg legend{padding:0 6px;color:var(--green)}.route-return{display:flex;align-items:center;gap:8px}.route-return input{width:auto}.route-leg .field{min-width:100px}#ship-order-preview p{font-size:12px;margin:12px 0}.vessel .button-row{flex-wrap:wrap}@media(max-width:720px){.fleet-legs{grid-template-columns:1fr}.vessel .form-row{flex-wrap:wrap}.route-leg .form-row{flex-wrap:wrap}.vessel .split{flex-wrap:wrap;gap:10px}}

.rule-fieldset.section-disabled .form-row,.rule-fieldset.section-disabled>p{opacity:.55}

.commission-intro{display:block}.commission-intro>strong{display:block;margin-bottom:6px}.commission-intro p+p{margin-top:8px}.commission-toolbar>.field{flex:0 1 250px}.commission-offer h3{margin:10px 0}.commission-offer h2{margin:14px 0}.commission-offer .btn{margin-top:12px}

.commission-cargo{display:block}.commission-cargo .text-link{display:inline-flex;margin-left:6px}

.commission-toolbar{margin-top:24px}
