/* ============================================================================
   Frutiger Aero Classic Theme (Aero Classic)
   Shared CSS for generator outputs (buttons, inputs, containers)
   ============================================================================ */

/* Primary button */
.aero-button {
  --hue: 200;
  --sat: 0.2;
  --glow-intensity: 0.7;

  --fg: oklch(18% calc(var(--sat) * 0.5) var(--hue));
  --bg-top: oklch(90% calc(var(--sat) * 0.55) var(--hue) / 0.9);
  --bg-mid: oklch(78% var(--sat) var(--hue));
  --bg-bottom: oklch(65% calc(var(--sat) * 1.1) var(--hue));
  --rim: rgba(255, 255, 255, 0.85);
  --shadow: rgba(0, 80, 160, 0.35);

  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 var(--rim),
    inset 0 -2px 4px rgba(0, 0, 0, 0.14),
    0 10px 30px var(--shadow),
    0 3px 10px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 120, 220, 0.15);
  color: var(--fg);
  font-family: "Segoe UI", "Calibri", "Lucida Grande", system-ui, sans-serif;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  user-select: none;
  padding: 0.8em 2.2em;
  font-size: 1rem;
  min-height: 34px;
  backdrop-filter: blur(6px) saturate(140%);
}

.aero-button::before {
  content: "";
  position: absolute;
  inset: 2px 2px 55% 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.25) 100%);
  border-radius: 12px 12px 10px 10px;
  pointer-events: none;
  opacity: 0.96;
}

.aero-button::after {
  content: "";
  position: absolute;
  inset: auto 8px -12px 8px;
  height: 16px;
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.75), transparent 60%);
  filter: blur(6px);
  opacity: var(--glow-intensity);
  pointer-events: none;
}

.aero-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -2px 5px rgba(0, 0, 0, 0.18),
    0 12px 34px rgba(0, 110, 200, 0.42),
    0 4px 12px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(90, 170, 255, 0.25);
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.aero-button:active {
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 6px 16px rgba(0, 80, 160, 0.32),
    0 2px 8px rgba(0, 0, 0, 0.22);
  transform: translateY(1px);
}

.aero-button.small { padding: 0.55em 1.6em; font-size: 0.9rem; min-height: 28px; }
.aero-button.large { padding: 1em 3em; font-size: 1.125rem; min-height: 38px; }

/* Secondary button */
.aero-button-style {
  border: 1px solid rgba(140, 190, 240, 0.75);
  outline: solid 1px rgba(255, 255, 255, 0.9);
  outline-offset: -2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(0, 40, 100, 0.14),
    0 8px 18px rgba(0, 90, 180, 0.22),
    0 0 0 1px rgba(100, 170, 250, 0.2);
  color: #1f3b5c;
  padding: 6px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 240, 255, 0.92) 48%, rgba(205, 230, 255, 0.88) 100%);
  border-radius: 10px;
  min-height: 28px;
  min-width: 88px;
  font-family: "Segoe UI", "Lucida Grande", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 140ms ease;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px) saturate(150%);
}

.aero-button-style:hover {
  outline: solid 1px rgba(255, 255, 255, 1);
  border-color: rgba(90, 150, 230, 0.95);
  background: linear-gradient(180deg, rgba(235, 248, 255, 0.98) 0%, rgba(210, 235, 255, 0.94) 48%, rgba(190, 225, 255, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 3px rgba(0, 40, 100, 0.16),
    0 10px 22px rgba(0, 110, 200, 0.26),
    0 0 0 1px rgba(120, 190, 255, 0.24);
}

.aero-button-style:active {
  border-color: rgba(70, 140, 210, 0.95);
  outline: solid 1px rgba(220, 240, 255, 0.9);
  background: linear-gradient(180deg, rgba(140, 210, 255, 0.98) 0%, rgba(100, 180, 240, 0.95) 48%, rgba(80, 160, 230, 0.92) 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 40, 100, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 6px 16px rgba(0, 90, 180, 0.24);
}

/* Checkbox */
.aero-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: none;
  border: 1.5px solid rgba(120, 170, 230, 0.8);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(225, 240, 255, 0.7) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 4px 12px rgba(0, 90, 180, 0.25);
  position: relative;
  transition: all 140ms ease;
  backdrop-filter: blur(4px) saturate(140%);
}

.aero-checkbox:hover {
  border-color: rgba(90, 150, 230, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 40, 100, 0.15),
    0 6px 16px rgba(0, 110, 200, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 245, 255, 0.78) 100%);
}

.aero-checkbox:checked {
  background: linear-gradient(180deg, rgba(120, 195, 255, 0.95) 0%, rgba(60, 150, 230, 0.9) 100%);
  border-color: rgba(40, 120, 210, 0.95);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(0, 50, 120, 0.18),
    0 6px 18px rgba(0, 90, 180, 0.3);
}

.aero-checkbox:checked::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: -1px;
  font-size: 13px;
  font-weight: 700;
  color: #f8fcff;
  text-shadow: 0 1px 2px rgba(0, 60, 120, 0.45);
}

.aero-checkbox + label {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  user-select: none;
  cursor: pointer;
  color: #1f3b5c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Radio */
.aero-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: none;
  border: 1.5px solid rgba(120, 170, 230, 0.85);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(220, 240, 255, 0.75) 55%, rgba(195, 225, 250, 0.6) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 40, 100, 0.1),
    0 4px 12px rgba(0, 90, 180, 0.24);
  position: relative;
  transition: all 140ms ease;
  backdrop-filter: blur(4px) saturate(140%);
}

.aero-radio:hover {
  border-color: rgba(90, 150, 230, 0.95);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.98), rgba(230, 245, 255, 0.85) 55%, rgba(205, 230, 255, 0.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 6px 16px rgba(0, 110, 200, 0.32);
}

.aero-radio:checked {
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(140, 205, 255, 0.92) 60%, rgba(70, 160, 230, 0.9) 100%);
  border-color: rgba(40, 120, 210, 0.95);
}

.aero-radio:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #f8fcff 0%, #d7efff 70%, rgba(80, 170, 240, 0.9) 100%);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 60, 120, 0.35);
}

.aero-radio + label {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  user-select: none;
  cursor: pointer;
  color: #1f3b5c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Textbox */
.aero-textbox {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(235, 245, 255, 0.82) 45%, rgba(220, 235, 255, 0.78) 100%);
  border: 1px solid rgba(140, 190, 240, 0.55);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.1),
    0 8px 22px rgba(0, 80, 160, 0.18);
  padding: 8px 10px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  transition: all 150ms ease;
  backdrop-filter: blur(6px) saturate(140%);
}

.aero-textbox::placeholder {
  color: rgba(70, 110, 150, 0.7);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.aero-textbox:hover {
  border-color: rgba(90, 150, 230, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 10px 26px rgba(0, 110, 200, 0.24);
}

.aero-textbox:focus {
  outline: none;
  border-color: rgba(60, 140, 230, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 245, 255, 0.9) 50%, rgba(215, 235, 255, 0.85) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(0, 40, 100, 0.12),
    0 12px 30px rgba(0, 110, 200, 0.3),
    0 0 0 2px rgba(120, 190, 255, 0.35);
}

/* Dropdown */
.aero-dropdown {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(235, 245, 255, 0.85) 48%, rgba(215, 235, 255, 0.82) 100%);
  border: 1px solid rgba(140, 190, 240, 0.65);
  border-radius: 10px;
  padding: 7px 30px 7px 12px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  cursor: pointer;
  appearance: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.1),
    0 10px 26px rgba(0, 90, 180, 0.2),
    0 0 0 1px rgba(80, 140, 220, 0.2);
  transition: all 160ms ease;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%231f3b5c" fill="none" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  backdrop-filter: blur(6px) saturate(140%);
}

.aero-dropdown:hover {
  border-color: rgba(90, 150, 230, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 245, 255, 0.92) 50%, rgba(215, 235, 255, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 12px 30px rgba(0, 110, 200, 0.28),
    0 0 0 1px rgba(100, 170, 250, 0.28);
}

.aero-dropdown:focus {
  outline: none;
  border-color: rgba(60, 140, 230, 0.95);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.98),
    inset 0 -1px 1px rgba(0, 40, 100, 0.12),
    0 14px 34px rgba(0, 110, 200, 0.32),
    0 0 0 2px rgba(120, 190, 255, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(235, 245, 255, 0.95) 48%, rgba(215, 235, 255, 0.92) 100%);
}

/* Slider */
.aero-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 220px;
  height: 10px;
  background: linear-gradient(180deg, rgba(210, 230, 255, 0.9) 0%, rgba(185, 215, 250, 0.9) 50%, rgba(160, 200, 245, 0.85) 100%);
  border: 1px solid rgba(120, 170, 230, 0.8);
  border-radius: 999px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 50, 120, 0.14),
    0 10px 24px rgba(0, 90, 180, 0.25);
  position: relative;
  overflow: hidden;
}

.aero-slider::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120, 200, 255, 0.9), rgba(60, 170, 240, 0.95));
  box-shadow: 0 0 24px rgba(60, 170, 240, 0.35);
  opacity: 0.35;
  pointer-events: none;
}

.aero-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(215, 235, 255, 0.9) 60%, rgba(160, 210, 255, 0.9) 100%);
  border: 1px solid rgba(120, 170, 230, 0.9);
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 50, 120, 0.14),
    0 8px 18px rgba(0, 90, 180, 0.3),
    0 0 0 1px rgba(80, 140, 220, 0.3);
  backdrop-filter: blur(6px) saturate(140%);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.aero-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(215, 235, 255, 0.9) 60%, rgba(160, 210, 255, 0.9) 100%);
  border: 1px solid rgba(120, 170, 230, 0.9);
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 50, 120, 0.14),
    0 8px 18px rgba(0, 90, 180, 0.3),
    0 0 0 1px rgba(80, 140, 220, 0.3);
  backdrop-filter: blur(6px) saturate(140%);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.aero-slider::-webkit-slider-thumb:hover,
.aero-slider::-moz-range-thumb:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(0, 50, 120, 0.16),
    0 10px 22px rgba(0, 110, 200, 0.34),
    0 0 0 1px rgba(100, 170, 250, 0.32);
}

/* Card */
.aero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(230, 245, 255, 0.55) 55%, rgba(210, 235, 255, 0.48) 100%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 50, 120, 0.12),
    0 14px 38px rgba(0, 90, 180, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(120, 190, 255, 0.2);
}

.aero-card-title {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f2f55;
  margin-bottom: 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.aero-card-content {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Option button */
.aero-optionbutton {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(230, 245, 255, 0.9) 52%, rgba(205, 230, 255, 0.86) 100%);
  border: 1px solid rgba(140, 190, 240, 0.65);
  border-radius: 10px;
  padding: 6px 14px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 12px;
  color: #1f3b5c;
  cursor: pointer;
  user-select: none;
  transition: all 150ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 10px 24px rgba(0, 90, 180, 0.22),
    0 0 0 1px rgba(80, 140, 220, 0.18);
  backdrop-filter: blur(6px) saturate(140%);
}

.aero-optionbutton:hover {
  border-color: rgba(90, 150, 230, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 245, 255, 0.94) 52%, rgba(210, 235, 255, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 40, 100, 0.14),
    0 12px 28px rgba(0, 110, 200, 0.28),
    0 0 0 1px rgba(100, 170, 250, 0.22);
}

/* Group box */
.aero-groupbox {
  border: 1px solid rgba(140, 190, 240, 0.6);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(230, 245, 255, 0.85) 100%);
  backdrop-filter: blur(10px) saturate(150%);
  padding: 16px 14px;
  margin: 10px 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 10px 26px rgba(0, 90, 180, 0.2);
}

.aero-groupbox-title {
  font-family: "Segoe UI", "Lucida Grande", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f2f55;
  padding: 0 8px;
  margin: 0;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aero-groupbox-content {
  font-family: "Segoe UI", "Lucida Grande", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  line-height: 1.65;
  padding-top: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Fieldset */
.aero-fieldset {
  border: 1px solid rgba(140, 190, 240, 0.65);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 10px 24px rgba(0, 90, 180, 0.2);
  backdrop-filter: blur(8px) saturate(140%);
}

.aero-legend {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f2f55;
  padding: 0 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aero-field-content {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Window */
.aero-window {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(225, 240, 255, 0.78) 60%, rgba(205, 230, 255, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 50px rgba(0, 80, 160, 0.32),
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(120, 190, 255, 0.22);
  overflow: hidden;
  min-width: 320px;
  backdrop-filter: blur(14px) saturate(150%);
}

.aero-window-titlebar {
  background: linear-gradient(180deg, rgba(110, 190, 255, 0.95) 0%, rgba(70, 150, 230, 0.95) 60%, rgba(50, 130, 210, 0.9) 100%);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 40, 100, 0.2);
}

.aero-window-title {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0f2f55;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aero-window-controls button {
  margin-left: 4px;
  padding: 2px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 235, 255, 0.85) 100%);
  border: 1px solid rgba(140, 190, 240, 0.75);
  border-radius: 8px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 6px 14px rgba(0, 90, 180, 0.2);
  transition: all 140ms ease;
}

.aero-window-controls button:hover {
  border-color: rgba(90, 150, 230, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 40, 100, 0.14),
    0 8px 18px rgba(0, 110, 200, 0.28);
}

.aero-window-body {
  padding: 18px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Standalone titlebar */
.aero-titlebar {
  background: linear-gradient(180deg, rgba(120, 200, 255, 0.96) 0%, rgba(80, 160, 235, 0.95) 60%, rgba(55, 135, 210, 0.9) 100%);
  backdrop-filter: blur(10px) saturate(160%);
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 40, 100, 0.22), 0 10px 26px rgba(0, 80, 160, 0.28);
}

.aero-titlebar-text {
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f2f55;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
}

.aero-titlebar-controls button {
  margin-left: 4px;
  padding: 2px 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(220, 235, 255, 0.88) 100%);
  border: 1px solid rgba(140, 190, 240, 0.75);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 6px 14px rgba(0, 90, 180, 0.22);
  transition: all 140ms ease;
}

.aero-titlebar-controls button:hover {
  border-color: rgba(90, 150, 230, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 40, 100, 0.14),
    0 8px 18px rgba(0, 110, 200, 0.3);
}

/* Window contents */
.aero-window-contents {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(235, 245, 255, 0.9) 55%, rgba(215, 235, 255, 0.86) 100%);
  padding: 18px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  line-height: 1.65;
  min-height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0 0 14px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 40, 100, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px) saturate(140%);
}

/* Status bar */
.aero-statusbar {
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.95) 0%, rgba(215, 235, 255, 0.92) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  padding: 6px 14px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 12px;
  color: #1f3b5c;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 -6px 18px rgba(0, 80, 160, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px) saturate(140%);
}

/* Treeview */
.aero-treeview {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.82) 100%);
  border: 1px solid rgba(140, 190, 240, 0.6);
  border-radius: 12px;
  padding: 10px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.1),
    0 12px 28px rgba(0, 90, 180, 0.2);
  backdrop-filter: blur(10px) saturate(140%);
}

.aero-tree-item {
  padding: 6px 10px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 12px;
  color: #1f3b5c;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
  border-radius: 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.aero-tree-item:hover {
  background: linear-gradient(180deg, rgba(200, 230, 255, 0.65) 0%, rgba(170, 210, 250, 0.6) 100%);
  color: #0f2f55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 40, 100, 0.12);
}

/* Tabs */
.aero-tab-container {
  display: flex;
  flex-direction: column;
}

.aero-tab-container > div:first-child {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(230, 245, 255, 0.85) 100%);
  border: 1px solid rgba(140, 190, 240, 0.6);
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 40, 100, 0.12);
  backdrop-filter: blur(10px) saturate(140%);
}

.aero-tab {
  padding: 10px 18px;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.92) 0%, rgba(215, 235, 255, 0.85) 100%);
  border: 1px solid rgba(140, 190, 240, 0.6);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 150ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 8px 18px rgba(0, 90, 180, 0.18);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.aero-tab.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 245, 255, 0.95) 100%);
  color: #0f2f55;
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 40, 100, 0.14),
    0 12px 24px rgba(0, 110, 200, 0.24),
    0 0 0 1px rgba(100, 170, 250, 0.22);
}

.aero-tab:hover { filter: saturate(1.05); }

.aero-tab-contents {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(230, 245, 255, 0.9) 100%);
  padding: 14px;
  border: 1px solid rgba(140, 190, 240, 0.6);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 24px rgba(0, 90, 180, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(140%);
}

.aero-tab-content {
  display: none;
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  color: #1f3b5c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aero-tab-content.active { display: block; }

/* Table */
.aero-table {
  border-collapse: collapse;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(235, 245, 255, 0.9) 100%);
  font-family: "Segoe UI", "Calibri", sans-serif;
  font-size: 13px;
  border: 1px solid rgba(140, 190, 240, 0.55);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 90, 180, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px) saturate(140%);
}

.aero-table th {
  background: linear-gradient(180deg, rgba(220, 240, 255, 0.95) 0%, rgba(190, 220, 250, 0.92) 100%);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: #0f2f55;
  border: 1px solid rgba(140, 190, 240, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aero-table td {
  padding: 8px 14px;
  color: #1f3b5c;
  border: 1px solid rgba(200, 220, 245, 0.8);
  background: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aero-table tr:hover td {
  background: linear-gradient(180deg, rgba(200, 230, 255, 0.65) 0%, rgba(180, 215, 250, 0.6) 100%);
  color: #0f2f55;
}

/* Progress */
.aero-progress {
  width: 220px;
  height: 18px;
  border: 1px solid rgba(140, 190, 240, 0.7);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.95) 0%, rgba(210, 230, 255, 0.9) 100%);
  appearance: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 40, 100, 0.12),
    0 10px 22px rgba(0, 90, 180, 0.2);
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(140%);
}

.aero-progress::-webkit-progress-bar { background: transparent; }

.aero-progress::-webkit-progress-value,
.aero-progress::-moz-progress-bar {
  background: linear-gradient(90deg, rgba(140, 215, 255, 0.95) 0%, rgba(70, 175, 240, 0.95) 60%, rgba(40, 150, 230, 0.9) 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 24px rgba(70, 170, 240, 0.4);
}

/* Tabs for docs already covered above */

  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.2),
    inset 0px 10px 10px rgba(255, 255, 255, 0.3),
    inset 0px -2px 1px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.aero-navbar-brand {
  font-weight: bold;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0px -1px 0 rgba(0, 0, 0, 0.25);
  min-width: 100px;
}

.aero-nav-divider {
  width: 2px;
  height: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.24) 35.94%,
    rgba(255, 255, 255, 0.36) 100%
  );
  box-shadow: -1px 0px 1px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.aero-nav-items {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 200px;
}

.aero-nav-item {
  padding: 6px 12px;
  background: linear-gradient(
    180deg,
    rgba(180, 188, 190, 0.3) 0%,
    rgba(107, 115, 119, 0.3) 50%,
    rgba(61, 65, 67, 0.014) 50.1%
  );
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0px -1px 0 rgba(0, 0, 0, 0.2);
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 3px;
}

.aero-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(127, 140, 124, 0) 30%,
    rgba(216, 223, 212, 0.3) 100%
  );
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s ease-in;
  z-index: 1;
}

.aero-nav-item:hover::before {
  opacity: 1;
}

.aero-nav-item:hover {
  background: linear-gradient(
    180deg,
    rgba(200, 210, 215, 0.4) 0%,
    rgba(130, 140, 145, 0.4) 50%,
    rgba(80, 90, 100, 0.1) 50.1%
  );
}

/* Frutiger Aero Image Frame Styles */
.aero-image-frame {
  border: 3px solid rgba(100, 160, 240, 0.6);
  border-radius: 6px;
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(200, 220, 255, 0.6) 0%,
    rgba(135, 180, 250, 0.6) 100%
  );
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2),
    inset 0px 1px 1px rgba(255, 255, 255, 0.3),
    inset 0px -1px 1px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

.aero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.aero-image-frame-caption {
  margin-top: 8px;
  font-size: 0.9em;
  color: rgba(0, 0, 0, 0.8);
  text-align: center;
  font-weight: 500;
}
