.engineering-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:20px 0}
.engineering-summary .game-stat{background:#eff3e3;border:1px solid #cfdbc0;border-radius:14px;padding:18px}
.engineering-summary .game-stat:first-child{background:#e2edd8}
.engineering-summary .game-stat>strong{font-size:23px;overflow-wrap:anywhere}
.engineering-records{display:grid;gap:12px;margin:18px 0}
.record-filters{width:max-content;max-width:100%}
.engineering-record{display:flex;align-items:center;gap:14px;padding:20px;text-align:left;color:var(--ink);width:100%;min-height:82px}
.record-stamp{width:43px;height:48px;flex:none;display:grid;place-items:center;border-radius:12px;background:#e3edd5;color:#4f7348}
.engineering-record>span:nth-child(2){flex:1;min-width:0}
.engineering-record strong{font-size:14px;display:block;overflow-wrap:anywhere}
.engineering-record small{display:block;font-size:11px;margin-top:7px;color:#6a795e;line-height:1.6}
.record-result{text-align:right;color:#35673e;flex:none;max-width:36%}
.record-result>strong{font-size:18px;font-variant-numeric:tabular-nums}
.record-result small{font-size:10px}
.loss{color:#a65239}.record-stamp.loss{background:#f2e4d6}
.record-profit{text-align:center;background:#e5efdb;border:1px solid #cfdfbe;border-radius:17px;padding:24px 15px;margin:8px 0 20px;color:#38623b}
.record-profit.loss{background:#f5e9df;border-color:#e6cdbb;color:#a65239}
.record-profit>small{display:block;font-size:12px}.record-profit>strong{display:block;font-size:34px;margin-top:9px;overflow-wrap:anywhere}
.record-profit em{font-size:13px;font-style:normal;margin-left:8px}
.finance-breakdown>div{display:flex;gap:16px;justify-content:space-between;border-bottom:1px solid #e0e6d3;padding:13px 0;font-size:13px}
.finance-breakdown>div:nth-last-child(2){font-weight:700;border-top:1px solid #acbd9e;margin-top:8px}
.finance-breakdown strong{font-variant-numeric:tabular-nums}
.game-task.illustrated{display:flex;flex-direction:column;overflow:hidden;padding:0;gap:0}
.game-task.illustrated>.task-art{position:relative;flex:none;height:170px;width:100%;overflow:hidden;border-bottom:1px solid #c7d5b7;background:#e5ebd5}
.task-art>img{width:100%;height:100%;object-fit:cover;display:block}
.task-tier,.task-in-progress{position:absolute;top:12px;left:14px;padding:5px 10px;border-radius:7px;font-size:11px;background:#fff7dfed;border:1px solid #d3c58f;color:#74602e;font-weight:650}
.task-in-progress{left:auto;right:14px;background:#365a41ed;color:#f0ebcf;border-color:#678365}
.game-task.illustrated>.task-body{width:100%;padding:20px;min-width:0}
.game-task.illustrated h3{font-size:17px;margin:0 0 18px;line-height:1.5}
.task-budget-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);gap:10px}
.task-budget-grid>span{display:block;min-width:0;color:#647557;font-size:11px;line-height:1.6}
.task-budget-grid .icon{width:14px;height:14px;vertical-align:-3px;margin-right:5px}
.task-budget-grid strong{display:block;font-size:19px;margin-top:6px;color:#304a35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.task-budget-grid strong small{font-size:11px;font-weight:400;color:#69785e}
.task-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e0e6d1;padding-top:16px;margin-top:18px}
.task-footer>small{font-size:11px;color:#657459}.task-footer .button{min-height:44px;flex:none}
.company-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:600px){
 .company-tabs button{gap:4px;font-size:12px;padding-inline:4px;flex-direction:column;min-height:57px}
 .company-tabs .icon{width:18px;height:18px}
 .engineering-summary{grid-template-columns:1fr 1fr;gap:10px}
 .engineering-summary .game-stat{padding:14px}
 .engineering-summary .game-stat:first-child{grid-column:1/-1}
 .engineering-summary .game-stat:first-child>strong{font-size:29px}
 .engineering-summary .game-stat>span{font-size:12px}
 .engineering-summary .game-stat>strong{font-size:20px}
 .engineering-record{padding:15px 12px;gap:10px}
 .engineering-record>span:nth-child(2)>strong{font-size:13px}
 .engineering-record>.icon{display:none}
 .record-stamp{width:33px;height:40px}.record-stamp .icon{width:19px}
 .record-result>strong{font-size:15px}.engineering-record small{font-size:10px}
 .game-task.illustrated>.task-art{height:142px}
 .game-task.illustrated>.task-body{padding:18px 16px}
 .game-task.illustrated h3{font-size:16px;margin-bottom:15px}
 .task-budget-grid strong{font-size:19px}
 .task-budget-grid>span,.task-footer>small{font-size:11px}
 .task-footer .button{font-size:12px;min-width:88px}
 .finance-breakdown>div{font-size:13px}
}
