/* ==========================================================================
   Pack 11 — Authentic Frutiger Aero / Windows Vista Web UI (2006–2008)
   Full 12-Section Canonical Kit — Daylight Aero (Light) | Midnight Aurora (Dark)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-sans: 'Segoe UI', 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  background: #040e18;
}

[hidden] {
  display: none !important;
}

button,
input {
  font-family: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 2px;
}

.pane ::selection {
  background: #1b8fe0;
  color: #ffffff;
}

/* ==========================================================================
   THEMES — VISTA DAYLIGHT AERO (LIGHT) | VISTA MIDNIGHT AURORA (DARK)
   ========================================================================== */

.theme-light {
  --fg: #122436;
  --fg-muted: #34526b;
  --fg-faint: #4c6c86;

  --frame-bg: linear-gradient(180deg, rgba(226, 245, 255, 0.76) 0%, rgba(180, 224, 248, 0.58) 52%, rgba(202, 236, 252, 0.68) 100%);
  --frame-pro-bg: linear-gradient(180deg, rgba(164, 232, 255, 0.84) 0%, rgba(108, 206, 244, 0.66) 52%, rgba(154, 234, 218, 0.74) 100%);
  --frame-border: rgba(34, 92, 134, 0.54);
  --frame-rim: rgba(255, 255, 255, 0.9);
  --frame-shadow:
    0 10px 26px -4px rgba(14, 62, 98, 0.28),
    0 2px 5px rgba(14, 62, 98, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);

  --well-bg: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
  --well-border: rgba(94, 142, 178, 0.55);
  --well-head-bg: linear-gradient(180deg, #f8fcff 0%, #e6f2fa 49%, #d8ebf8 50%, #ebf6fd 100%);
  --well-head-border: #b6d2e6;
  --well-foot-bg: linear-gradient(180deg, #edf5fb 0%, #e1edf7 100%);
  --well-row-alt: #f5fafe;
  --well-row-hover: linear-gradient(180deg, #eef8ff 0%, #d4eeff 100%);
  --well-row-hover-border: #7ec4f2;

  --cmdbar-bg: linear-gradient(
    180deg,
    rgba(232, 248, 255, 0.86) 0%,
    rgba(196, 232, 248, 0.74) 48%,
    rgba(164, 214, 240, 0.78) 50%,
    rgba(198, 236, 252, 0.84) 100%
  );
  --cmdbar-border: rgba(36, 102, 146, 0.56);

  --btn-bg: linear-gradient(180deg, #fbfdff 0%, #eaf3fa 48%, #d6e7f4 50%, #e7f3fb 100%);
  --btn-border: #7093b0;
  --btn-hover-bg: linear-gradient(180deg, #ffffff 0%, #e3f5ff 48%, #bce5fc 50%, #dcf4ff 100%);
  --btn-hover-border: #2c88c4;

  --gel-emerald: linear-gradient(180deg, #98f4be 0%, #2bc46e 48%, #0a9646 50%, #26cc70 100%);
  --gel-emerald-border: #0c6e34;

  --gel-aqua: linear-gradient(180deg, #9ceaff 0%, #2cb4f0 48%, #0884ca 50%, #28c0f6 100%);
  --gel-aqua-border: #0a649e;

  --gel-danger: linear-gradient(180deg, #ffb2ba 0%, #e84c5e 48%, #c41e32 50%, #ea5466 100%);
  --gel-danger-border: #921626;

  --input-bg: linear-gradient(180deg, #f2f7fb 0%, #ffffff 28%, #ffffff 100%);
  --input-border: #7fa2be;
  --gutter-bg: linear-gradient(90deg, #eef5fb 0%, #e3eff9 100%);
  --popover-bg: #f8fcff;
  --popover-shadow: 0 10px 26px -4px rgba(10, 52, 88, 0.34);

  --aqua-deep: #096eb0;
  --emerald-deep: #0d743a;
  --danger: #b41a2c;
  --danger-soft: #fff2f4;
  --rule: rgba(34, 96, 138, 0.24);
  --tray-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(214, 236, 249, 0.6) 100%);
}

.theme-dark {
  --fg: #eef9ff;
  --fg-muted: #aad2e6;
  --fg-faint: #84b2ca;

  --frame-bg: linear-gradient(180deg, rgba(32, 82, 114, 0.64) 0%, rgba(10, 34, 54, 0.76) 52%, rgba(16, 52, 76, 0.7) 100%);
  --frame-pro-bg: linear-gradient(180deg, rgba(34, 118, 152, 0.74) 0%, rgba(12, 62, 88, 0.8) 52%, rgba(16, 84, 86, 0.76) 100%);
  --frame-border: rgba(114, 214, 255, 0.44);
  --frame-rim: rgba(196, 244, 255, 0.36);
  --frame-shadow:
    0 14px 32px -4px rgba(0, 6, 14, 0.8),
    0 2px 6px rgba(0, 10, 20, 0.65),
    inset 0 1px 0 rgba(196, 244, 255, 0.42),
    inset 0 0 0 1px rgba(124, 222, 255, 0.16);

  --well-bg: linear-gradient(180deg, #0b1c2a 0%, #07131e 100%);
  --well-border: rgba(88, 178, 222, 0.36);
  --well-head-bg: linear-gradient(180deg, #16364d 0%, #0d2538 49%, #081a29 50%, #0f2b40 100%);
  --well-head-border: rgba(92, 186, 230, 0.3);
  --well-foot-bg: linear-gradient(180deg, #0d2334 0%, #091926 100%);
  --well-row-alt: rgba(24, 62, 88, 0.22);
  --well-row-hover: linear-gradient(180deg, rgba(44, 124, 168, 0.45) 0%, rgba(18, 76, 112, 0.52) 100%);
  --well-row-hover-border: #5ec8f4;

  --cmdbar-bg: linear-gradient(
    180deg,
    rgba(46, 110, 146, 0.64) 0%,
    rgba(20, 62, 92, 0.74) 48%,
    rgba(8, 36, 58, 0.84) 50%,
    rgba(20, 74, 108, 0.76) 100%
  );
  --cmdbar-border: rgba(110, 214, 255, 0.44);

  --btn-bg: linear-gradient(180deg, #2b5470 0%, #183952 48%, #0e263a 50%, #1a4460 100%);
  --btn-border: #4d8eb2;
  --btn-hover-bg: linear-gradient(180deg, #3c759a 0%, #1f5378 48%, #103754 50%, #246890 100%);
  --btn-hover-border: #7ad8ff;

  --gel-emerald: linear-gradient(180deg, #74e8a6 0%, #1eb662 48%, #08823e 50%, #1ebe66 100%);
  --gel-emerald-border: #7cf0b0;

  --gel-aqua: linear-gradient(180deg, #7ce0ff 0%, #1ea6e4 48%, #0672b4 50%, #20b4ec 100%);
  --gel-aqua-border: #7ee4ff;

  --gel-danger: linear-gradient(180deg, #f898a2 0%, #dc3c50 48%, #aa1628 50%, #de4658 100%);
  --gel-danger-border: #ff9aa6;

  --input-bg: linear-gradient(180deg, #06111a 0%, #0a1b28 32%, #0c2030 100%);
  --input-border: #3d7598;
  --gutter-bg: linear-gradient(90deg, #0c2233 0%, #091a28 100%);
  --popover-bg: #0c1f2e;
  --popover-shadow: 0 14px 32px -4px rgba(0, 4, 10, 0.9);

  --aqua-deep: #62dcff;
  --emerald-deep: #5cf0a2;
  --danger: #ff8290;
  --danger-soft: rgba(212, 36, 56, 0.16);
  --rule: rgba(114, 214, 255, 0.24);
  --tray-bg: linear-gradient(180deg, rgba(22, 62, 88, 0.58) 0%, rgba(8, 28, 44, 0.7) 100%);
}

/* ==========================================================================
   SPLIT LAYOUT
   ========================================================================== */

.split-root {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.pane {
  position: relative;
  color: var(--fg);
  overflow: clip;
}

.pane.theme-light {
  border-right: 1px solid var(--rule);
}

.pane-bg-canvas {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  pointer-events: none;
  z-index: 0;
}

.pane-inner {
  position: relative;
  z-index: 1;
  padding: 26px 32px 92px;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.pane-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.75);
}

.theme-dark .pane-title {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.pane-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gel-aqua);
  border: 1px solid var(--gel-aqua-border);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 38, 72, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 2px 6px rgba(8, 114, 186, 0.35);
}

.pane-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.pane-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 616px;
  margin: 0 auto;
}

.sec {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sec:has([data-open='true']) {
  position: relative;
  z-index: 60;
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--rule), transparent);
}

/* ==========================================================================
   CORE AERO GLASS WINDOW FRAME + RECESSED WEB WELL PRIMITIVES
   ========================================================================== */

.aero-frame {
  position: relative;
  padding: 6px;
  border-radius: 8px;
  background: var(--frame-bg);
  border: 1px solid var(--frame-border);
  box-shadow: var(--frame-shadow);
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  overflow: hidden;
}

.aero-frame.is-pro {
  background: var(--frame-pro-bg);
}

.aero-frame.allow-overflow {
  overflow: visible;
}

.aero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    116deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.1) 26%,
    transparent 26.5%,
    transparent 52%,
    rgba(255, 255, 255, 0.16) 52.5%,
    transparent 70%
  );
  pointer-events: none;
}

.theme-dark .aero-frame::before {
  background: linear-gradient(
    116deg,
    rgba(190, 244, 255, 0.16) 0%,
    rgba(190, 244, 255, 0.03) 26%,
    transparent 26.5%,
    transparent 52%,
    rgba(140, 236, 255, 0.08) 52.5%,
    transparent 70%
  );
}

.aero-well {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  background: var(--well-bg);
  border: 1px solid var(--well-border);
  box-shadow: inset 0 1px 2px rgba(10, 48, 82, 0.08);
  overflow: hidden;
}

.aero-well.allow-overflow {
  overflow: visible;
}

.aero-well-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  background: var(--well-head-bg);
  border-bottom: 1px solid var(--well-head-border);
}

.aero-well-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
}

.aero-well-body {
  padding: 13px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.aero-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: var(--gel-aqua);
  border: 1px solid var(--gel-aqua-border);
  text-shadow: 0 1px 1px rgba(0, 38, 72, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.aero-tag.is-live {
  background: var(--gel-emerald);
  border-color: var(--gel-emerald-border);
}

.aero-tag.is-muted {
  color: var(--fg);
  background: var(--btn-bg);
  border-color: var(--btn-border);
  text-shadow: none;
}

/* ==========================================================================
   01 · VISTA COMMAND-BAR NAVIGATION
   ========================================================================== */

.aero-cmdbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--cmdbar-bg);
  border: 1px solid var(--cmdbar-border);
  box-shadow:
    0 6px 18px -4px rgba(10, 62, 102, 0.26),
    inset 0 1px 0 var(--frame-rim),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.aero-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.aero-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  border: 1px solid transparent;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.aero-nav-item + .aero-nav-item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rule), transparent);
  pointer-events: none;
}

.aero-nav-item:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -4px 8px rgba(42, 196, 255, 0.38);
}

.aero-nav-item.is-active {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  text-shadow: 0 1px 2px rgba(0, 38, 72, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -5px 10px rgba(126, 238, 255, 0.55),
    0 2px 8px rgba(6, 122, 198, 0.42);
}

.aero-nav-item.is-active::before,
.aero-nav-item.is-active + .aero-nav-item::before {
  opacity: 0;
}

.aero-orb-search {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 85%, rgba(76, 224, 255, 0.72), transparent 62%), var(--btn-bg);
  border: 1px solid var(--btn-border);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    inset 0 -3px 6px rgba(34, 186, 245, 0.34),
    0 2px 6px rgba(8, 56, 94, 0.25);
  transition: box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}

.aero-orb-search:hover {
  border-color: var(--btn-hover-border);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -5px 10px rgba(48, 214, 255, 0.65),
    0 2px 10px rgba(42, 196, 255, 0.42);
}

/* ==========================================================================
   02 · ACTION BUTTONS & ICON TOOLBAR TRAY
   ========================================================================== */

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    0 1px 3px rgba(8, 48, 82, 0.18);
  transition: background 150ms var(--ease), border-color 150ms var(--ease), box-shadow 160ms var(--ease);
}

.aero-btn-sm {
  height: 27px;
  padding: 0 10px;
  font-size: 12px;
}

.aero-btn-full {
  width: 100%;
}

.aero-btn:hover:not(:disabled) {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -6px 10px rgba(56, 206, 255, 0.45),
    0 2px 8px rgba(48, 196, 255, 0.32);
}

.aero-btn:active:not(:disabled) {
  box-shadow: inset 0 2px 4px rgba(6, 46, 78, 0.35);
  transform: translateY(1px);
}

.aero-btn-primary {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-emerald);
  border-color: var(--gel-emerald-border);
  text-shadow: 0 1px 2px rgba(4, 54, 26, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -5px 9px rgba(132, 255, 186, 0.48),
    0 2px 7px rgba(12, 138, 68, 0.34);
}

.aero-btn-primary:hover:not(:disabled) {
  background: var(--gel-emerald);
  border-color: var(--gel-emerald-border);
  filter: brightness(1.07);
}

.aero-btn-aqua {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  text-shadow: 0 1px 2px rgba(0, 38, 72, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -5px 9px rgba(126, 238, 255, 0.5),
    0 2px 7px rgba(8, 122, 198, 0.36);
}

.aero-btn-aqua:hover:not(:disabled) {
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  filter: brightness(1.07);
}

.aero-btn-danger {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-danger);
  border-color: var(--gel-danger-border);
  text-shadow: 0 1px 2px rgba(84, 8, 18, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -5px 8px rgba(255, 162, 174, 0.44),
    0 2px 6px rgba(186, 28, 46, 0.32);
}

.aero-btn-danger:hover:not(:disabled) {
  background: var(--gel-danger);
  border-color: var(--gel-danger-border);
  filter: brightness(1.07);
}

.aero-btn-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--fg-muted);
}

.aero-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.55);
}

.aero-tool-tray {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 5px;
  background: var(--tray-bg);
  border: 1px solid var(--frame-border);
  box-shadow: inset 0 1px 0 var(--frame-rim), 0 2px 6px rgba(10, 56, 94, 0.14);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.aero-tool-btn {
  width: 34px;
  height: 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  transition: background 140ms var(--ease), border-color 140ms var(--ease), box-shadow 150ms var(--ease);
}

.aero-tool-btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -5px 9px rgba(52, 204, 255, 0.44);
}

.aero-tool-btn.is-danger:hover {
  background: var(--gel-danger);
  border-color: var(--gel-danger-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   03 · INPUTS & CONTROLS (Search, Segmented Group, Gel Switches, Shield Slider)
   ========================================================================== */

.aero-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aero-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.aero-input-ico {
  position: absolute;
  left: 9px;
  display: flex;
  pointer-events: none;
}

.aero-input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border-radius: 3px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  box-shadow: inset 0 1px 3px rgba(8, 44, 78, 0.16), 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 13px;
  color: var(--fg);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}

.aero-input.has-ico {
  padding-left: 33px;
}

.aero-input::placeholder {
  color: var(--fg-faint);
}

.aero-input:focus {
  outline: none;
  border-color: var(--btn-hover-border);
  box-shadow: inset 0 1px 3px rgba(8, 44, 78, 0.14), 0 0 0 2px rgba(42, 180, 245, 0.32);
}

.aero-input.is-error {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.aero-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Joined Beveled Vista Segmented Button Group */
.aero-seg {
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--btn-border);
  box-shadow: 0 1px 3px rgba(8, 48, 82, 0.16);
}

.aero-seg-btn {
  height: 30px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg);
  background: var(--btn-bg);
  border-right: 1px solid var(--btn-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 140ms var(--ease);
}

.aero-seg-btn:last-child {
  border-right: none;
}

.aero-seg-btn:hover {
  background: var(--btn-hover-bg);
}

.aero-seg-btn.is-active {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-aqua);
  text-shadow: 0 1px 1px rgba(0, 38, 72, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -4px 8px rgba(120, 236, 255, 0.5);
}

/* Glossy Aero Gel Toggle Switches */
.aero-toggles {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.aero-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b8c9d8 0%, #e4eef6 100%);
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 2px 4px rgba(0, 26, 52, 0.28), 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.theme-dark .aero-toggle {
  background: linear-gradient(180deg, #06141f 0%, #102a3f 100%);
}

.aero-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 28, 54, 0.35);
  transition: transform 180ms var(--ease);
}

.aero-toggle[aria-checked='true'] {
  background: var(--gel-emerald);
  border-color: var(--gel-emerald-border);
}

.aero-toggle[aria-checked='true']::after {
  transform: translateX(24px);
  background: linear-gradient(180deg, #ffffff 0%, #dcf7e8 100%);
  border-color: #0c7438;
}

/* Vista Recessed Channel Slider with Tick Marks & Pointed Crystal Shield Thumb */
.aero-slider-well {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aero-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
}

.aero-slider-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--aqua-deep);
}

.aero-slider-wrap {
  position: relative;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aero-slider-track {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, #b8c9d8 0%, #e4eef6 100%);
  border: 1px solid #8aa6bc;
  box-shadow: inset 0 1px 2px rgba(0, 24, 46, 0.25);
  overflow: hidden;
  pointer-events: none;
}

.theme-dark .aero-slider-track {
  background: linear-gradient(180deg, #06131f 0%, #10283c 100%);
  border-color: #3a6b8c;
}

.aero-slider-fill {
  height: 100%;
  background: var(--gel-aqua);
}

.aero-slider-ticks {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 0;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cline x1='0.5' y1='0' x2='0.5' y2='6' stroke='%235a7e9a' stroke-opacity='0.55' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  pointer-events: none;
}

.aero-slider {
  position: relative;
  width: 100%;
  height: 26px;
  margin-top: -4px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.aero-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #dceef9 46%, #b2daf4 50%, #dff4ff 100%);
  border: 1px solid #2a7eb8;
  clip-path: polygon(0% 0%, 100% 0%, 100% 66%, 50% 100%, 0% 66%);
  box-shadow: 0 2px 5px rgba(8, 62, 108, 0.45);
}

.aero-slider::-webkit-slider-thumb:hover {
  background: var(--gel-aqua);
}

/* ==========================================================================
   04 · CARDS (Aero Glass-Framed Web Panes + Pulsing Green Liquid Bar)
   ========================================================================== */

.aero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.aero-metric {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.aero-metric small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-faint);
  margin-left: 4px;
}

.aero-sub {
  font-size: 12px;
  color: var(--fg-faint);
}

@keyframes vistaPulse {
  0% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(340%); }
}

.aero-progress {
  position: relative;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, #cfdbe4 0%, #e4edf4 50%, #f1f6fa 100%);
  border: 1px solid #96b0c4;
  box-shadow: inset 0 1px 2px rgba(0, 24, 44, 0.25), 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.theme-dark .aero-progress {
  background: linear-gradient(180deg, #06131d 0%, #0d2334 100%);
  border-color: #366484;
}

.aero-progress-fill {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, #b8f9c8 0%, #44dd68 46%, #06b025 50%, #24d248 100%);
  border-right: 1px solid #0e7c26;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.aero-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: vistaPulse 2.8s ease-in-out infinite;
}

.aero-card-wide {
  grid-column: 1 / -1;
}

.aero-wide-body {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.aero-wide-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.aero-wide-desc {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ==========================================================================
   05 · VISTA TASK DIALOG & AERO CONTEXT MENU (With Left Icon Gutter)
   ========================================================================== */

.aero-split-2 {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 14px;
  align-items: start;
}

.aero-dialog-body {
  padding: 14px 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.aero-dialog-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--aqua-deep);
  margin-bottom: 4px;
}

.aero-dialog-desc {
  font-size: 12.5px;
  color: var(--fg-muted);
  line-height: 1.48;
}

.aero-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 9px 12px;
  background: var(--well-foot-bg);
  border-top: 1px solid var(--well-head-border);
}

/* Authentic Vista Context Menu with Left Icon Gutter */
.aero-menu {
  position: relative;
  padding: 4px;
  background: var(--well-bg);
  border-radius: 4px;
}

.aero-menu::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34px;
  background: var(--gutter-bg);
  border-right: 1px solid var(--well-head-border);
  pointer-events: none;
}

.aero-menu-item {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 30px;
  padding: 0 10px 0 6px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg);
  border: 1px solid transparent;
  text-align: left;
  transition: background 120ms var(--ease), border-color 120ms var(--ease);
}

.aero-menu-item:hover {
  background: var(--well-row-hover);
  border-color: var(--well-row-hover-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.aero-menu-sep {
  position: relative;
  z-index: 1;
  height: 1px;
  background: var(--well-head-border);
  margin: 4px 4px 4px 36px;
}

.aero-menu-item.is-danger {
  color: var(--danger);
}

/* ==========================================================================
   06 · VISTA EXPLORER ADDRESS BAR & BREADCRUMBS
   ========================================================================== */

.aero-address-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 8px;
}

.aero-addr-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.aero-crumb-box {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  box-shadow: inset 0 1px 2px rgba(8, 44, 78, 0.14);
  overflow: hidden;
}

.aero-crumb {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--fg-muted);
  border: 1px solid transparent;
}

.aero-crumb:hover {
  background: var(--well-row-hover);
  border-color: var(--well-row-hover-border);
  color: var(--fg);
}

.aero-crumb.is-curr {
  font-weight: 600;
  color: var(--fg);
}

.aero-crumb-sep {
  font-size: 11px;
  color: var(--fg-faint);
  padding: 0 1px;
}

.aero-addr-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.aero-user-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--fg);
}

/* ==========================================================================
   07 · SIDEBAR NAVIGATION PANE & TASK-PANE ACCORDION
   ========================================================================== */

.aero-rail-grid {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 14px;
  align-items: start;
}

.aero-rail-body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aero-rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 31px;
  padding: 0 9px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg);
  border: 1px solid transparent;
  transition: background 130ms var(--ease), border-color 130ms var(--ease);
}

.aero-rail-item:hover {
  background: var(--well-row-hover);
  border-color: var(--well-row-hover-border);
}

.aero-rail-item.is-active {
  color: #ffffff;
  font-weight: 600;
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  text-shadow: 0 1px 1px rgba(0, 38, 72, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.aero-rail-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aero-rail-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(12, 68, 108, 0.12);
  color: var(--fg-muted);
}

.aero-rail-item.is-active .aero-rail-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Task-Pane Accordion */
.aero-acc-item + .aero-acc-item {
  border-top: 1px solid var(--well-head-border);
}

.aero-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: var(--well-head-bg);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
}

.aero-acc-trigger:hover {
  filter: brightness(1.03);
}

.aero-acc-chev {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  font-size: 11px;
  color: var(--aqua-deep);
  transition: transform 180ms var(--ease);
}

.aero-acc-item[data-open='true'] .aero-acc-chev {
  transform: rotate(180deg);
}

.aero-acc-panel {
  display: none;
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--fg-muted);
  line-height: 1.5;
  background: var(--well-bg);
  border-top: 1px solid var(--well-head-border);
}

.aero-acc-item[data-open='true'] .aero-acc-panel {
  display: block;
}

/* ==========================================================================
   08 · VISTA DETAILS-VIEW DATA TABLE
   ========================================================================== */

.aero-table {
  width: 100%;
  border-collapse: collapse;
}

.aero-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: left;
  padding: 8px 11px;
  background: var(--well-head-bg);
  border-bottom: 1px solid var(--well-head-border);
  border-right: 1px solid var(--well-head-border);
}

.aero-table th:last-child {
  border-right: none;
  text-align: right;
}

.aero-table td {
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--fg);
  border-bottom: 1px solid rgba(114, 168, 204, 0.22);
  vertical-align: middle;
}

.aero-table tbody tr:nth-child(even) {
  background: var(--well-row-alt);
}

.aero-table tbody tr:hover {
  background: var(--well-row-hover);
}

.aero-table tr:last-child td {
  border-bottom: none;
}

.aero-table-muted {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

.aero-table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* ==========================================================================
   09 · FORM FIELDS (Vista ComboBox & 3D Glass Checkboxes)
   ========================================================================== */

.aero-form-well {
  padding: 15px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1;
}

.field:has(.aero-combo[data-open='true']) {
  z-index: 50;
}

.field-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}

.field-error {
  font-size: 12px;
  font-weight: 600;
  color: var(--danger);
  min-height: 16px;
}

/* Custom Vista ComboBox (Non-Native) */
.aero-combo {
  position: relative;
}

.aero-combo-btn {
  width: 100%;
  height: 32px;
  padding: 0 3px 0 10px;
  border-radius: 3px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(8, 48, 82, 0.14);
  font-size: 13px;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aero-combo-btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
}

.aero-combo-arrow {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--fg);
  border-left: 1px solid var(--well-head-border);
}

.aero-combo-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  padding: 4px;
  border-radius: 4px;
  background: var(--popover-bg);
  border: 1px solid var(--btn-border);
  box-shadow: var(--popover-shadow);
  z-index: 60;
  flex-direction: column;
  gap: 2px;
}

.aero-combo[data-open='true'] .aero-combo-list {
  display: flex;
}

.aero-combo-opt {
  height: 29px;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 12.5px;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  text-align: left;
}

.aero-combo-opt:hover {
  background: var(--well-row-hover);
  border-color: var(--well-row-hover-border);
}

.aero-combo-opt.is-selected {
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  color: #ffffff;
  font-weight: 600;
}

/* 3D Glossy Vista Checkboxes */
.aero-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.aero-check-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--fg);
  cursor: pointer;
  user-select: none;
}

.aero-check-box {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background: var(--input-bg);
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 1px 2px rgba(8, 44, 78, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.aero-check-label:hover .aero-check-box {
  border-color: var(--btn-hover-border);
}

.aero-check-label[data-checked='true'] .aero-check-box {
  background: var(--gel-aqua);
  border-color: var(--gel-aqua-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   10 · TOAST NOTIFICATION & STATUS BANNER
   ========================================================================== */

.aero-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aero-bar-well {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aero-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.aero-toast-msg {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.aero-banner-msg {
  font-size: 12.5px;
  color: var(--fg-muted);
}

/* ==========================================================================
   11 · PRICING CARDS (Aero Glass Framed Windows)
   ========================================================================== */

.aero-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.aero-price-body {
  padding: 16px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.aero-price-val {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.aero-price-num {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.aero-price-period {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-faint);
}

.aero-price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  color: var(--fg-muted);
}

.aero-price-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   12 · SKELETON LOADER (Sweeping Glass Sheen Shimmer)
   ========================================================================== */

@keyframes aeroShimmer {
  0% { background-position: -220px 0; }
  100% { background-position: 420px 0; }
}

.aero-skel-body {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.aero-skel-bar {
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(90deg, #d7e6f2 25%, #eff7fd 50%, #d7e6f2 75%);
  background-size: 420px 100%;
  border: 1px solid rgba(114, 158, 192, 0.35);
  animation: aeroShimmer 2.1s linear infinite;
}

.theme-dark .aero-skel-bar {
  background: linear-gradient(90deg, #102a3f 25%, #1e4b6e 50%, #102a3f 75%);
  background-size: 420px 100%;
  border-color: rgba(94, 178, 224, 0.28);
}

.aero-skel-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.aero-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aero-loaded-row {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aero-loaded-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
}

.aero-loaded-sub {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Custom 3D Glossy Multi-Color Aero SVG Icons */
.ico3d {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1.5px rgba(0, 26, 52, 0.28));
}

.ico3d-lg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 26, 52, 0.3));
}

.ico3d-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .aero-progress-fill::after,
  .aero-skel-bar {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .split-root {
    grid-template-columns: 1fr;
  }
  .pane.theme-light {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}
