.compact-nav { display:grid; gap:6px; margin-bottom:12px; }
.compact-nav .nav-heading { margin:10px 0 4px; }
.compact-nav button { text-align:left; min-height:44px; }
.compact-nav button:not(.selected) { background:transparent; color:var(--muted); border-color:transparent; }
.compact-nav button:hover:not(:disabled) { background:#253749; color:var(--ink); }
.compact-nav button.selected { color:#d6fff3; border-color:#446a67; background:#24423f; }
.compact-skill-picker { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; margin-top:12px; }
.compact-skill-picker .skill-tab { min-width:0; margin:0; padding:8px; }
.compact-skill-picker .skill-tab { display:grid; grid-template-columns:32px minmax(0,1fr); gap:3px 8px; }
.compact-skill-picker .skill-tab img { grid-row:1/3; }
.compact-skill-picker .nav-name { overflow-wrap:normal; }
.compact-skill-picker .nav-level { grid-column:2; }
#skill-picker { margin-bottom:12px; }
#personal-tool-summary,#boost-chance { color:var(--mint,#80dcc7); }
#boost-chance { display:block; }
#boost-status { display:block; min-height:24px; }
.critical-boost { color:#ffd08a; font-weight:800; text-shadow:0 0 12px #f3ad5260; }
.compact-activities .resource-card:not(.is-training):not(.resource-found) .resource-art,
.compact-activities .resource-card:not(.is-training):not(.resource-found) .resource-description,
.compact-activities .resource-card:not(.is-training):not(.resource-found) .boost-hint { display:none; }
.compact-activities .resource-card:not(.is-training) { padding:14px; }
.compact-activities .resource-card.locked { border-style:dashed; }
.inventory-filters { display:flex; flex-wrap:wrap; gap:12px; width:100%; }
.inventory-filters label { flex:1 1 200px; min-width:0; }
.inventory-filters input,.inventory-filters select { width:100%; box-sizing:border-box; }
.change-job { margin:10px 0; }
.change-job select { width:100%; max-width:100%; }
.future-patrol { border-style:dashed; background:#101e28; }
.combat-jumps { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.combat-jumps a { padding:12px; border:1px solid #385364; border-radius:6px; }
#combat-ui section { scroll-margin-top:160px; }
.settings-group { padding:14px 0; border-top:1px solid #385364; }
.settings-group > summary { font-weight:700; min-height:32px; }
.settings-group label { display:block; margin:10px 0; }
.settings-group select { max-width:100%; }
.settings-group > section { margin-top:12px; }
@media(max-width:650px){
  .compact-skill-picker { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compact-skill-picker .skill-tab { flex-wrap:wrap; font-size:.9rem; }
  .compact-skill-picker .nav-level { margin-left:0; }
  .compact-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compact-nav .nav-heading { grid-column:1/-1; }
  .compact-nav button { min-width:0; overflow-wrap:anywhere; }
  .tool-grid { grid-template-columns:minmax(0,1fr); }
  #personal-tool-summary { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce){.critical-boost{animation:none!important;}}
.reduce-motion .critical-boost { animation:none!important; }
