/* EVE-inspired workspace skin. Explicit opt-in keeps other games unchanged.
   Shared by /eve planners and account viewers; no data or permission behavior. */
body.eve-interface {
  color-scheme: dark;
  --ink: #e4eaf0;
  --paper: #101419;
  --panel: #1b2229;
  --panel-soft: #161c22;
  --muted: #aebbc7;
  --orange: #83c8ee;
  --gold: #a2d9f7;
  --line: #36424d;
  --line-strong: #657582;
  background: radial-gradient(ellipse at top right, #202c37 0, #101419 65%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
body.eve-interface .site-noise { display: none; }
body.eve-interface :is(.header, .app-header) {
  width: calc(100% - 64px); max-width: 1840px; min-height: 66px; height: auto;
  padding-block: 12px; border-bottom: 1px solid var(--line);
}
body.eve-interface :is(.account-hub, .tool-shell, .eve-home) {
  width: calc(100% - 64px); max-width: 1840px; margin-inline: auto;
  padding-block: 28px 48px;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h1 {
  font: 500 clamp(28px, 2.2vw, 38px)/1.2 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.025em; max-width: none; margin: 0 0 16px;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h1 i { font: inherit; color: var(--ink); letter-spacing: inherit; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h1 br { display: none; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h1 i::before { content: " "; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h2 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h3 { letter-spacing: 0; }
body.eve-interface :is(.eyebrow, .panel-kicker, .eve-card-tag) {
  color: var(--muted); font: 600 11px/1.5 "Segoe UI", Arial, sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
}
body.eve-interface :is(.tool-intro, .eve-workspace-intro) { margin-bottom: 28px; }
body.eve-interface .tool-intro > p:last-child { font-size: 14px; color: var(--muted); }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) a:not(.primary-button):not(.tool-card):not(.eve-workspace-card) { color: var(--gold); text-underline-offset: 3px; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) a:visited { color: var(--gold); }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) a:hover { color: #e2f3ff; }

/* Window surfaces and disclosure title bars remain native, keyboard-operable details. */
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.panel, .eve-tile, .eve-data-panel, .workspace-detail, .eve-workspace-card, .progress-group) {
  background: #1b2229; color: var(--ink); border: 1px solid var(--line);
  border-radius: 2px; box-shadow: 0 6px 18px #0003; padding: 20px;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.eve-tile, .panel, .progress-group) > summary {
  padding: 12px 16px; margin: -20px; color: var(--ink);
  background: linear-gradient(#29343e, #222c35); cursor: pointer;
  font-size: 14px; line-height: 1.5; border-bottom: 1px solid transparent;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.eve-tile, .panel, .progress-group)[open] > summary {
  margin-bottom: 18px; border-bottom-color: var(--line);
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) summary:hover { color: #fff; background-color: #304452; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) summary::marker { color: var(--orange); }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.eve-permission-card, .workspace-totals article, .workspace-detail-grid p, .eve-workspace-intro aside) {
  background: #202932; border-color: var(--line); box-shadow: none;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-permission-card:has(input:checked) { border-color: #648da6; background: #223440; }
body.eve-interface :is(.eve-tile > p, .eve-assets-lead, .eve-view-note, .eve-results-count, .hint, .eve-linked-character p, .eve-workspace-card p) {
  color: var(--muted); line-height: 1.6;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-linked-character { border-color: var(--line); padding-block: 16px; }

/* A tab-like destination strip wraps instead of hiding tools behind horizontal scroll. */
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-information-nav { gap: 4px; padding: 6px; background: #151c22; border: 1px solid var(--line); }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-information-nav a {
  padding: 8px 12px; border: 1px solid transparent; border-bottom: 2px solid transparent;
  color: #bfcbd5; text-decoration: none; font-size: 13px;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-information-nav a:hover { background: #263642; color: #fff; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-information-nav a[aria-current="page"] { background: #253b49; border-color: transparent; border-bottom-color: #83c8ee; color: #e9f6ff; }
body.eve-interface :is(.game-menu-list, .site-account-menu, .blueprint-popup) { background: #1b252e; border-color: #657582; }
body.eve-interface .game-menu-list a:hover { background: #2b4252; color: #e4f4ff; }

body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  background: #111920; color: var(--ink); border: 1px solid #61717f;
  border-radius: 2px; font-size: 14px; padding: 9px 11px;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) input::placeholder, body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) textarea::placeholder { color: #98a8b6; opacity: 1; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(input[type="checkbox"], input[type="radio"]) { accent-color: #83c8ee; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) button:not(.eve-sso-button), body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .primary-button {
  background: #2a414f; border: 1px solid #6c98b1; border-radius: 2px; color: #eff8ff;
  font: 600 13px/1.4 "Segoe UI", Arial, sans-serif; padding: 9px 14px;
  white-space: normal; min-height: 36px; box-shadow: inset 0 1px #ffffff0d;
}
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(#workspace-load, #progress-load, #fit-save, #fit-parse, #inventory-load) { background: #305b73; color: #fff; border-color: #83c8ee; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) button:not(.eve-sso-button):enabled:hover, body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .primary-button:hover { background: #375a6f; border-color: #b8e5ff; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) button:disabled { opacity: .45; cursor: not-allowed; }
body.eve-interface :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #b1e3ff; outline-offset: 3px; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .blueprint-combobox > button { min-height: 0; padding: 0; background: transparent; border: 0; }
body.eve-interface #blueprint-matches [aria-selected="true"] { background: #305369; color: #fff; }

/* Readable data density, with tabular figures and a quiet row highlight. */
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) table { background: #192128; font-variant-numeric: tabular-nums; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(th, td) { padding: 10px 12px; border-color: #36424d; line-height: 1.5; font-size: 13px; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) th { background: #28343e; color: #c3d9e8; font-family: "Segoe UI", Arial, sans-serif; font-weight: 600; letter-spacing: .03em; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) tbody tr:nth-child(even) { background: #1d2730; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) tbody tr:hover { background: #293e4c; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.eve-stat, .workspace-totals strong) { color: #d1edff; font-variant-numeric: tabular-nums; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) #progress-status { background: #202c35; border-left-color: #83c8ee; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) #fit-confirm { background: #20303c; border-color: #83c8ee; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-workspace-card { min-height: 190px; border-top: 2px solid #526c7c; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-workspace-card:hover { background: #253541; border-color: #83c8ee; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-workspace-card h3 { margin-top: 12px; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) .eve-workspace-card :is(b, .eve-card-tag, span:last-child) { color: var(--gold); }
body.eve-interface .eve-home-actions a { background: #305b73; border-color: #83c8ee; color: #eff8ff; padding: 10px 16px; }
body.eve-interface .eve-home-actions a + a { background: #202c35; color: var(--gold); }
body.eve-interface .eve-workspace-grid { gap: 14px; }
body.eve-interface .eve-workspace-intro { gap: 32px; }
body.eve-interface .eve-home-section { margin-block: 32px; }
body.eve-interface .eve-home-heading { margin-block: 20px 14px; }
body.eve-interface .eve-home-heading h2 { font-size: 21px; }
body.eve-interface .eve-tile > summary::after { content: "▸"; color: var(--orange); margin-left: auto; }
body.eve-interface .eve-tile[open] > summary::after { content: "▾"; }
body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) :is(.eve-assets-toolbar, .eve-assets-filters, .eve-assets-sources article, .eve-character-card, .eve-dashboard-stats > div, .eve-collection-grid article) { background: #202932; border-color: var(--line); }
body.eve-interface .eve-dashboard-stats strong { color: #d1edff; }
body.eve-interface #station-inventory a { color: var(--gold); }
body.eve-interface #planMining { background: #305b73; border: 1px solid #83c8ee; color: #eff8ff; font-size: 13px; padding: 9px 14px; }
body.eve-interface #planMining:hover { background: #375a6f; }
@media (max-width: 850px) {
  body.eve-interface :is(.header, .app-header, .account-hub, .tool-shell, .eve-home) { width: calc(100% - 32px); }
  body.eve-interface main:is(.account-hub, .tool-shell, .eve-home) h1 { font-size: 28px; }
  body.eve-interface .tool-intro { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  body.eve-interface *, body.eve-interface *::after { transition: none; scroll-behavior: auto; }
}
