/* Compact one-line game HUD; details stack only inside their own cells. */
#hud{height:82px;grid-template-columns:minmax(0,310px) minmax(0,270px) minmax(0,290px) minmax(0,1fr) 74px;grid-template-rows:62px;grid-template-areas:"identity money clock agenda controls";gap:12px;padding:5px 12px;align-items:center}
#hud #identity{height:62px;padding:0 3px;gap:7px}#hud #identity strong{font-size:21px;line-height:24px}#hud #reputation{font-size:12px;line-height:14px}#hud #xpText{display:none}#hud .level-row{margin-top:3px}#hud #portrait{height:58px;width:43px}
#hud .money{height:62px;grid-template-columns:23px minmax(0,1fr);grid-template-rows:31px 14px 14px;padding:0 6px;gap:0 4px}#hud #cash{font-size:29px;line-height:31px;letter-spacing:-.6px}#hud #income{grid-row:2;font-size:12px;line-height:14px}#hud #depotValue{position:static;grid-column:2;grid-row:3;font-size:12px;line-height:14px;color:#7c6f45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hud .clock{height:62px;grid-template-rows:29px 18px;padding:0 4px;gap:0 5px}#hud #week{gap:2px}#hud #week span{width:23px;min-width:23px;font-size:12px;height:23px;line-height:23px}#hud #clock{font-size:25px;line-height:29px}#hud #day{font-size:11px;line-height:18px}
#hud #firmAgenda{height:62px;display:flex;align-items:center;gap:10px;border-left:1px solid #b7a57c55;padding-left:10px}#hud #agendaTasks{height:62px;flex:1;gap:7px}#hud .agenda-label{display:none}#hud .agenda-chip{height:40px;min-height:40px;padding:4px 8px;max-width:170px;font-size:12px;line-height:16px;white-space:normal}#hud .agenda-chip>span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#hud #firmAgenda #status{height:62px;flex-shrink:0;gap:5px;max-width:145px;font-size:11px}#hud .hud-energy{flex-direction:column;gap:4px}#hud .hud-energy>.game-icon{display:none}#hud .hud-energy .energy-track{width:70px;height:7px}#hud #hudControls{height:62px}#hud .hud-skip{max-width:70px;white-space:normal;line-height:13px;padding:4px}
#panel[data-kind="team"]{width:1660px;left:130px;right:auto;max-height:890px}#panel[data-kind="team"] .team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}#panel[data-kind="team"] .team-card{min-width:0;padding:16px}#panel[data-kind="team"] .team-card .employee{gap:8px}#panel[data-kind="team"] .portrait{width:56px;height:78px}#panel[data-kind="team"] .employee strong{font-size:18px}#panel[data-kind="team"] .team-card p{font-size:14px}#panel[data-kind="team"] .team-card .ledger{font-size:14px}#panel[data-kind="team"] .team-card button{min-height:37px;font-size:14px;padding:7px 10px}#panel[data-kind="team"] .worker-condition{font-size:13px}
#floors{top:135px;left:15px;display:flex;flex-direction:column;gap:7px;max-width:184px;padding:9px;background:linear-gradient(#fbefcd,#e8d8ad);border:2px solid #9c8b62;border-radius:12px;box-shadow:0 4px #81734e55}#floors .floor-caption{font-size:11px;font-weight:800;letter-spacing:1px;text-align:center;color:#7d704d}#floors button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;min-height:37px;background:#efe3bf;color:#62583c;border:1px solid #ae9d70;border-radius:7px;font-size:13px;line-height:16px}#floors .game-icon{width:17px;height:17px}#floors button.chosen{background:#7f9d59;color:#fff7dd;border-color:#d9e6bd}
#mainAction.workday-end{height:105px;min-width:470px;font-size:31px;background:linear-gradient(#ffdf8c,#deb85b);box-shadow:0 7px #9a7a36,0 0 28px #f4d37755}
.firm-desktop{background:linear-gradient(135deg,#364c42,#71886c 60%,#a5ac7f);border:4px solid #5c684f;border-radius:15px;min-height:490px;box-shadow:inset 0 0 70px #193b3444;color:#fff4d2;overflow:hidden}.desktop-top{display:flex;justify-content:space-between;align-items:center;background:#2c3e34b8;padding:15px 20px;font-size:14px;letter-spacing:1px}.desktop-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:32px 25px}.desktop-apps button{background:transparent!important;border:0!important;box-shadow:none!important;display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff4d2!important;text-shadow:0 2px #304236;padding:8px;min-height:125px}.desktop-apps button i{display:grid;place-items:center;width:66px;height:66px;border:2px solid #fff0b8;border-radius:15px;background:linear-gradient(#f4df9f,#c7b675);box-shadow:0 5px #31483a88;color:#5d6747}.desktop-apps .game-icon{width:35px;height:35px}.desktop-apps button strong{font-size:18px}.desktop-apps button small{font-size:12px;color:#e7e7c7}.desktop-taskbar{display:flex;gap:12px;padding:15px 20px;background:#2c3e34b8}
.coin-chart{margin:0 0 14px;border-radius:10px;background:#30483f;padding:14px 16px;color:#e1e4c9}.coin-chart svg{display:block;width:100%;height:150px}.coin-chart figcaption{display:flex;justify-content:space-between;font-size:11px;gap:15px}.save-backup{padding:20px;border:1px solid #b9a977;border-radius:12px;background:#f0e6c9}.save-backup code{display:block;overflow-wrap:anywhere;font-size:16px;user-select:all;padding:10px;background:#fffae9;color:#61573c}#recoveryCode{display:block;width:100%;margin:12px 0;padding:14px;color:#514832;background:#fffae9;border:2px solid #ad9b6e;border-radius:8px}
#panel[data-kind="team"]{left:50%;transform:translateX(-50%)}
body.portrait #hud{height:225px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 51px;grid-template-rows:72px 59px 60px;grid-template-areas:"identity identity controls" "money clock controls" "agenda agenda agenda";gap:5px 8px;padding:9px}body.portrait #hud #identity{height:72px;grid-area:identity}body.portrait #hud #identity strong{font-size:27px;line-height:29px}body.portrait #hud #portrait{height:69px;width:55px}body.portrait #hud #reputation{font-size:14px;line-height:15px}body.portrait #hud #firmAgenda{grid-area:agenda;display:flex;height:60px;padding:0;border:0}body.portrait #hud #agendaTasks{height:60px;gap:6px}body.portrait #hud .agenda-chip{font-size:14px;max-width:250px}body.portrait #hud #firmAgenda #status{height:60px;font-size:13px;max-width:170px}body.portrait #hud #hudControls{height:100%}body.portrait #hud .money{height:59px}body.portrait #hud #income,body.portrait #hud #depotValue{font-size:12px}body.portrait #hud #cash{font-size:29px}body.portrait #hud .clock{height:59px}body.portrait #hud #day{font-size:12px}body.portrait #panel[data-kind="team"]{left:20px;width:984px;max-height:1250px;transform:none}body.portrait #panel[data-kind="team"] .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portrait #panel[data-kind="team"] .team-card .ledger{font-size:17px}body.portrait #panel[data-kind="team"] .team-card button{font-size:18px;min-height:44px}body.portrait #floors{top:275px;left:15px}body.portrait .coin-chart svg{height:190px}

#hud #firmAgenda #status{max-width:280px;gap:17px}#hud .hud-day-result{display:flex;flex-direction:column;gap:4px;align-items:flex-end;font-size:13px}#hud .hud-day-result small{font-size:10px;letter-spacing:1px}#hud .hud-day-result b{white-space:nowrap}body.portrait #hud #firmAgenda #status{max-width:170px;gap:8px}body.portrait .hud-day-result{display:none!important}
