/* Header dashboard: the clock stays centered independently of both side groups. */
.top{height:76px;min-height:76px;flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);gap:16px;padding:0 16px;position:relative;z-index:2}
.top .brand{margin:0;justify-self:start;white-space:nowrap;font-size:19px;gap:8px;letter-spacing:1.5px}
.header-clock{justify-self:center;display:flex;align-items:center;flex-direction:column;gap:2px}
.speeds{display:flex;gap:2px}
.top .speeds button{width:24px;height:20px;min-height:20px;padding:0;border:1px solid #537064;border-radius:3px;background:#1b3934;color:#c5d2bd;font-size:10px;line-height:18px}
.top .speeds button:hover{background:#326d62}.top .speeds button.active{background:#537064;border-color:#d6b671;color:#fff4d4}
#clock{display:flex;align-items:center;justify-content:center;gap:3px;padding:4px 7px;border:1px solid #537064;border-radius:4px;background:#1b3934;color:#f1d18d}
#clock svg{display:block;width:13px;height:24px;fill:#34564a}
#clock .lit{fill:#f1d18d}
.clock-colon{font:bold 23px/24px monospace;align-self:center;margin-top:-3px}
#day{font-size:8px;letter-spacing:1.5px;color:#c5d2bd;line-height:10px}
.header-hud{display:flex;align-items:center;justify-self:end;gap:10px}
.header-status{display:flex;align-items:center;gap:6px}
.status-bars{display:flex;flex-direction:column;gap:2px;width:58px}
.top .status-bar{display:block;width:100%;height:7px;min-height:7px;padding:1px 0;border:0;border-radius:0;background:transparent}
.status-track{display:block;height:5px;width:100%;background:#173e37;border:1px solid #668376;overflow:hidden}
.status-fill{display:block;height:100%;background:#a4c57d}
.status-bar.unassigned .status-track{border-color:#587366;background:#25483e}
.cash-readout{display:flex;flex-direction:column;align-items:flex-end;min-width:83px;max-width:145px;line-height:1.15}
.cash-readout>span{font-size:8px;letter-spacing:1.4px;color:#c5d2bd}
#cash{max-width:100%;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;font-weight:650}
.top #hotel-info{width:32px;height:36px;min-height:36px;padding:4px}
.status-tooltip{position:fixed;z-index:10;padding:8px 11px;background:#fff4d4;color:#244e48;border:1px solid #bfb89b;border-radius:5px;font-size:12px;font-weight:650;box-shadow:0 3px 10px #132c3e22;pointer-events:none;white-space:pre-line;max-width:calc(100vw - 16px)}
#needs .status-fill{background:#e0bc72}
.stats-details{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:18px 0 8px}
.stats-details div{border-bottom:1px solid #d8cbae;padding-bottom:9px}
.stats-details dt{font-size:12px;color:#65755f}
.stats-details dd{margin:4px 0 0;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:900px){
 .top{height:86px;min-height:86px;padding:3px 12px;grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);grid-template-rows:44px 36px;column-gap:0;row-gap:0}
 .top .brand{grid-column:1;grid-row:1;font-size:clamp(12px,3.2vw,17px);letter-spacing:1px;gap:5px}
 .top .brand-icon{font-size:24px}.top .brand small{display:none}
 .header-clock{grid-column:2;grid-row:1 / 3;gap:2px}
 #clock{padding:2px 5px;gap:2px}#clock svg{width:12px;height:22px}.clock-colon{font-size:21px;line-height:22px}
 #day{font-size:7px;line-height:8px}
 .header-hud{display:contents}
 .header-status{grid-column:1 / 3;grid-row:2;justify-self:start}
 .cash-readout{grid-column:3;grid-row:2;justify-self:end;max-width:150px;min-width:0}
 #cash{font-size:19px}
 .header-actions{grid-column:3;grid-row:1;justify-self:end;gap:2px}
 .top .header-icon{width:34px;height:36px;min-height:36px;padding:5px}
 .header-icon svg{width:24px;height:24px}
}
@media(max-width:350px){
 .top{grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr)}
 .top .speeds button{width:20px}
 .header-actions{gap:1px}.top .header-actions .header-icon{width:30px}
}

#happiness .status-fill{background:#d68e78}
