/* Unit panel: designs actually held. */
.rs-unit{border-top:1px solid #6c6a63;padding-top:4px;margin-top:4px}.rs-unit p{margin:2px 0}.rs-unit small{color:#9b9a95}
/* Research window (RESEARCH-001/2): all window styling lives in the ATLAS-INK-1
   module src/theme/modules/60-research.css (loaded last, with the theme tokens). */
/* The 科研 entry adds a ninth management button: tighten them on narrow screens. */
@media (max-width:900px){body .hoi-ui .hoi-management>button{min-width:38px!important;padding:2px!important}body .hoi-ui .hoi-management{gap:2px}}

/* Calendar playback (WAR-ATLAS-TIME-1) */
.hoi-time .time-speeds{display:inline-flex;gap:2px}
.hoi-time .time-speeds button{min-width:26px;padding:2px 6px;font-variant-numeric:tabular-nums}
.hoi-time .time-speeds button[aria-pressed="true"]{background:#b3a57c;color:#161614;font-weight:700}
.hoi-time .time-autoslow{font-size:11px;padding:2px 6px;white-space:nowrap}
.hoi-time .time-autoslow[aria-pressed="false"]{opacity:.65}
.hoi-time .time-measured{font-size:10px;opacity:.75;font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:1100px){.hoi-time .time-autoslow,.hoi-time .time-measured{display:none}}

/* institutes on the battle map */
.rs-inst-marker{cursor:pointer}
.rs-inst-marker path:first-child,.rs-inst-marker rect{fill:#d9c27d;stroke:#1c1d1b;stroke-width:1.4}
.rs-inst-marker[data-own=false] path:first-child,.rs-inst-marker[data-own=false] rect{fill:#c98c6f}
.rs-inst-marker[data-active=false]{opacity:.55}
.rs-inst-marker .rs-col{stroke:#1c1d1b;stroke-width:1.6;fill:none}
.rs-inst-marker text{font-size:12px;font-weight:700;fill:#d7d1c2;stroke:#1c1d1b;stroke-width:3px;paint-order:stroke}
.rs-inst-marker:focus-visible rect{stroke:#ede8d9;stroke-width:2.4}
@media (max-width:900px){.hoi-time .time-speeds{gap:1px}.hoi-time .time-speeds button{min-width:20px;padding:2px 3px}}
