/* ============================================================
   SIGN UP YOUR FLIGHT (lobby step 2)
   Built by renderPlayerGroups() in js/lobby.js. Flight-first: flights
   grouped by task are the content, departure points filter them from
   the side column.

   Everything paints through --su-* tokens, like --mc-* in the mission
   column: flat with hairlines in the tactical themes, moulded in
   NEUMORPHIC and GRAPHITE. Rules are scoped under #slot-section and
   carry !important where the shared neumorphic button and container
   rules in themes.css would otherwise repaint them; the ID outranks
   their :not() chains.
   ============================================================ */

#slot-section .su {
    --su-r: 5px;
    --su-r-sm: 4px;
    --su-fill: var(--bg-panel);
    --su-fill-hi: var(--bg-elevated, var(--bg-panel));
    --su-fill-sunk: rgba(0, 0, 0, 0.25);
    --su-line: var(--border);
    --su-raise: 0 0 0 1px var(--border);
    --su-raise-lg: 0 0 0 1px var(--border-active, var(--border));
    --su-sunk: inset 0 0 0 1px var(--border);
    --su-well: inset 0 0 0 1px var(--border-active, var(--border));
    --su-hover: 0 0 0 1px var(--amber), inset 0 0 0 100vmax color-mix(in srgb, var(--amber) 7%, transparent);
    --su-press: inset 2px 0 0 var(--amber), 0 0 0 1px var(--amber), inset 0 0 0 100vmax color-mix(in srgb, var(--amber) 9%, transparent);
    --su-accent: var(--amber);
    --su-accent-txt: var(--amber);
    --su-primary-bg: var(--amber);
    --su-primary-fg: #1a1300;
    --su-primary-shadow: none;
    --su-primary-hover: 0 0 0 1px var(--text-bright);
    --su-meter: var(--amber);
    --su-av: var(--border-active, var(--border));
    --su-ls: 0.1em;
    --su-land: #9bbf5a;
    --su-sea: #3a9bd6;
    --su-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-neu #slot-section .su {
    --su-r: var(--neu-r);
    --su-r-sm: var(--neu-r-sm);
    --su-fill: var(--neu-fill);
    --su-fill-hi: var(--neu-fill);
    --su-fill-sunk: var(--neu-fill-sunk);
    --su-line: rgba(255, 255, 255, 0.05);
    --su-raise: var(--neu-out-sm);
    --su-raise-lg: var(--neu-out);
    --su-sunk: var(--neu-in-sm);
    --su-well: var(--neu-in);
    --su-hover: 3px 3px 12px var(--neu-lo), inset 1px 1px 0 var(--neu-rim);
    --su-press: inset 2px 0 0 var(--amber), var(--neu-in-sm);
    --su-primary-bg: var(--neu-fill);
    --su-primary-fg: var(--amber);
    --su-primary-shadow: var(--neu-out-sm);
    --su-primary-hover: 3px 3px 12px var(--neu-lo), inset 1px 1px 0 var(--neu-rim);
}

/* GRAPHITE: hard edges, white is active, mint is the one signal colour.
   Hover = half pressed with the green glow, active = fully in with the
   mint stripe, the same recipes as the campaign rows. */
body.theme-graphite #slot-section .su {
    --su-r: 0;
    --su-r-sm: 0;
    --su-fill: var(--neu-fill);
    --su-fill-hi: linear-gradient(145deg, #242424 0%, #1b1b1b 100%);
    --su-fill-sunk: var(--neu-fill-sunk);
    --su-line: rgba(255, 255, 255, 0.05);
    --su-raise: inset 0 0 0 rgba(94, 230, 168, 0), var(--neu-out-sm), var(--gr-glow-off);
    --su-raise-lg: var(--neu-out);
    --su-sunk: var(--neu-in-sm);
    --su-well: inset 4px 4px 9px #0b0b0b, inset -3px -3px 7px rgba(47, 47, 47, 0.45);
    --su-hover: var(--gr-stripe-lit), var(--gr-press-half), var(--gr-glow-surface);
    --su-press: var(--gr-stripe), var(--gr-press-full), var(--gr-glow-off);
    --su-accent: var(--gr-signal);
    --su-accent-txt: var(--text-bright);
    --su-primary-bg: linear-gradient(145deg, #262626 0%, #1c1c1c 100%);
    --su-primary-fg: var(--text-bright);
    --su-primary-shadow: var(--gr-stripe), var(--neu-out), var(--gr-glow-off);
    --su-primary-hover: var(--gr-stripe-lit), var(--gr-press-half), var(--gr-glow-surface);
    --su-meter: var(--gr-signal);
    --su-av: #2a2a2a;
    --su-ls: 0.24em;
    --su-land: #a9c47a;
    --su-sea: #7fa8d6;
}

/* The step 2 view keeps its navy gradient in the tactical themes; the
   moulded themes need their own material behind the plates. */
body.theme-graphite .add-flight-view { background: linear-gradient(150deg, #1f1f1f 0%, #1c1c1c 50%, #191919 100%); }
body.theme-neu .add-flight-view { background: var(--bg-primary); }

/* ---------- base ---------- */
#slot-section .su {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px 26px 40px;
}
#slot-section .su button { font-family: inherit; cursor: pointer; }
/* NEUMORPHIC rounds every element; on the seat name, which hides its
   overflow, that clips the first letter. */
#slot-section .su-nm { border-radius: 0; }
#slot-section .su h2,
#slot-section .su h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.04em; color: var(--text-bright); margin: 0; }
#slot-section .su-cap {
    font-size: 12px; letter-spacing: var(--su-ls); color: var(--text-secondary);
    text-transform: uppercase; font-weight: 700;
}
#slot-section .su-plate { background: var(--su-fill); box-shadow: var(--su-raise-lg); border-radius: var(--su-r); }

#slot-section .su-primary {
    background: var(--su-primary-bg) !important; color: var(--su-primary-fg) !important;
    box-shadow: var(--su-primary-shadow) !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    font-weight: 700; font-size: 14px; letter-spacing: 2px; padding: 13px 22px;
    transition: box-shadow 0.25s var(--su-ease);
}
#slot-section .su-primary:hover { box-shadow: var(--su-primary-hover) !important; }
#slot-section .su-ghost {
    background: var(--su-fill) !important; color: var(--text-secondary) !important;
    box-shadow: var(--su-raise) !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px; padding: 9px 14px;
    transition: box-shadow 0.25s var(--su-ease), color 0.2s;
}
#slot-section .su-ghost:hover { color: var(--text-bright) !important; box-shadow: var(--su-hover) !important; }
#slot-section .su-link {
    background: transparent !important; box-shadow: none !important; border: 0 !important;
    color: var(--text-secondary) !important; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; padding: 4px 6px;
    transition: color 0.2s;
}
#slot-section .su-link:hover,
#slot-section .su-link.on { color: var(--text-bright) !important; }
#slot-section .su-link.del:hover { color: var(--red) !important; }

/* ---------- header ---------- */
#slot-section .su-head { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-bottom: 20px; }
#slot-section .su-title h2 { font-size: 30px; line-height: 1.1; }
#slot-section .su-title p { color: var(--text-primary); font-size: 14px; margin: 8px 0 0; }
#slot-section .su-title p b { color: var(--text-bright); font-weight: 700; }
#slot-section .su-count { margin-left: auto; display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
#slot-section .su-count-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
#slot-section .su-count-lbl b { color: var(--text-bright); font-family: var(--font-heading); font-size: 22px; letter-spacing: 0.06em; }
#slot-section .su-meter { height: 6px; background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm); overflow: hidden; }
#slot-section .su-meter i { display: block; height: 100%; background: var(--su-meter); transition: width 0.4s var(--su-ease); }
body.theme-graphite #slot-section .su-meter i { box-shadow: 0 0 8px rgba(94, 230, 168, 0.45); }

/* ---------- layout ---------- */
#slot-section .su-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; margin-top: 10px; align-items: start; }
#slot-section .su-main { min-width: 0; }
@media (max-width: 980px) {
    #slot-section .su-grid { grid-template-columns: 1fr; }
    #slot-section .su-side { position: static; }
}
@media (max-width: 700px) {
    #slot-section .su { padding: 18px 14px 30px; }
    #slot-section .su-head { gap: 16px; align-items: center; }
    #slot-section .su-count { margin-left: 0; flex: 1; min-width: 140px; }
}

/* ---------- task groups: LED + tracked caption ---------- */
#slot-section .su-task { margin-bottom: 30px; }
#slot-section .su-task-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
#slot-section .su-task-dot { width: 9px; height: 9px; border-radius: 50% !important; background: var(--tc); box-shadow: 0 0 6px var(--tc); flex: none; }
#slot-section .su-task-lbl { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--text-bright); }
#slot-section .su-task-desc { color: var(--text-primary); font-size: 14px; }
#slot-section .su-rule { flex: 1; height: 1px; background: var(--su-line); }
#slot-section .su-task-cnt { font-size: 12px; color: var(--text-secondary); letter-spacing: 1.5px; }

/* ---------- flight plate ---------- */
#slot-section .su-flight {
    background: var(--su-fill); border-radius: var(--su-r); margin-bottom: 14px;
    box-shadow: var(--su-raise-lg), inset 3px 0 0 var(--tc);
}
body.theme-graphite #slot-section .su-flight { box-shadow: var(--su-raise-lg), inset 2px 0 0 color-mix(in srgb, var(--tc) 70%, transparent); }
#slot-section .su-flight.mine { box-shadow: var(--su-raise-lg), inset 3px 0 0 var(--su-accent), 0 0 0 1px color-mix(in srgb, var(--su-accent) 35%, transparent); }
body.theme-graphite #slot-section .su-flight.mine { box-shadow: var(--su-raise-lg), var(--gr-stripe); }
#slot-section .su-fl-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; flex-wrap: wrap; }
#slot-section .su-fl-cs { font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; color: var(--text-bright); }
body.theme-graphite #slot-section .su-fl-cs { text-shadow: 2px 2px 4px #0b0b0b; }
#slot-section .su-fl-ac { color: var(--text-bright); font-size: 15px; font-weight: 700; }
#slot-section .su-fl-ac small { display: block; color: var(--text-secondary); font-size: 12px; font-weight: 400; letter-spacing: 1.5px; }
#slot-section .su-fl-meta { display: flex; gap: 16px; margin-left: auto; align-items: center; color: var(--text-primary); font-size: 13px; flex-wrap: wrap; }
#slot-section .su-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px;
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
    font-size: 13px; color: var(--text-bright);
}
#slot-section .su-led-dot { width: 7px; height: 7px; border-radius: 50% !important; background: var(--su-land); box-shadow: 0 0 5px var(--su-land); flex: none; }
#slot-section .su-led-dot.sea { background: var(--su-sea); box-shadow: 0 0 5px var(--su-sea); }
#slot-section .su-fl-freq { letter-spacing: 0.08em; }
#slot-section .su-fl-freq b { color: var(--text-bright); font-weight: 500; }
@media (max-width: 700px) {
    #slot-section .su-fl-meta { margin-left: 0; width: 100%; gap: 10px; }
    #slot-section .su-fl-meta .su-chip { flex-basis: 100%; }
    #slot-section .su-fl-meta .su-link:first-of-type { margin-left: auto; }
}

/* Advanced settings (buildAdvancedPanel) sit sunk inside the plate */
#slot-section .su-adv { padding: 0 18px 14px; }
#slot-section .su-adv .flight-adv-panel {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 12px 14px;
    background: var(--su-fill-sunk) !important; box-shadow: var(--su-sunk) !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
}
#slot-section .su-adv .flight-adv-field { display: flex; flex-direction: column; gap: 4px; }
#slot-section .su-adv .flight-adv-lbl { color: var(--text-secondary); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
#slot-section .su-adv .flight-adv-panel :is(input, select) {
    background: var(--su-fill) !important; box-shadow: var(--su-raise) !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    color: var(--text-bright); font-family: var(--font-mono); font-size: 13px; padding: 7px 9px;
}
#slot-section .su-adv .flight-adv-reset { align-self: end; }
@media (max-width: 700px) { #slot-section .su-adv .flight-adv-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Seats: open = sunk well waiting to be filled, taken = raised key,
   mine = pressed in with the signal stripe */
#slot-section .su-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 2px 18px 18px; }
#slot-section .su-seat {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 56px; width: 100%;
    text-align: left; color: var(--text-primary);
    background: var(--su-fill-hi) !important; box-shadow: var(--su-raise) !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    transition: box-shadow 0.3s var(--su-ease), color 0.2s;
}
#slot-section .su-pos { font-size: 12px; color: var(--text-secondary); width: 28px; flex: none; }
#slot-section .su-av {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
    font-size: 13px; font-weight: 700; background: var(--su-av); color: var(--text-bright);
}
body.theme-graphite #slot-section .su-av { box-shadow: 2px 2px 4px #0b0b0b, inset 1px 1px 0 rgba(70, 70, 70, 0.55); }
#slot-section .su-nm { font-size: 14px; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); }
#slot-section .su-nm small { display: block; color: var(--text-secondary); font-size: 12px; }
#slot-section .su-seat-acts { margin-left: auto; display: flex; opacity: 0; transition: opacity 0.2s; }
#slot-section .su-seat:hover .su-seat-acts,
#slot-section .su-seat:focus-within .su-seat-acts { opacity: 1; }
@media (hover: none) { #slot-section .su-seat-acts { opacity: 1; } }

#slot-section .su-seat.open { background: var(--su-fill-sunk) !important; box-shadow: var(--su-well) !important; color: var(--text-secondary) !important; }
#slot-section .su-seat.open .su-nm { color: var(--text-secondary); }
#slot-section .su-seat.open .su-av { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--text-secondary); }
#slot-section .su-seat.open:hover { box-shadow: var(--su-hover) !important; }
#slot-section .su-seat.open:hover .su-nm { color: var(--su-accent-txt); }
#slot-section .su-seat.open:hover .su-av { box-shadow: inset 0 0 0 1px var(--su-accent); color: var(--su-accent); }
#slot-section .su-seat.me { background: var(--su-fill-sunk) !important; box-shadow: var(--su-press) !important; }
#slot-section .su-seat.me .su-nm { color: var(--text-bright); }
#slot-section .su-seat.me .su-av { background: var(--su-accent); color: #0b0b0b; }
body.theme-graphite #slot-section .su-seat.me .su-av { box-shadow: 0 0 8px rgba(94, 230, 168, 0.5); }
#slot-section .su-seat.me .su-link { margin-left: auto; }
#slot-section .su-seat.me .su-link:hover { color: var(--red) !important; }
#slot-section .su-seat.input { background: var(--su-fill-sunk) !important; box-shadow: var(--su-well), 0 0 0 1px var(--su-accent) !important; }
#slot-section .su-seat.input input {
    flex: 1; min-width: 0; background: transparent !important; box-shadow: none !important; border: 0 !important;
    color: var(--text-bright); font-family: var(--font-mono); font-size: 14px; padding: 4px 0; outline: none;
}

/* ---------- my loadout ---------- */
#slot-section .su-loadout { padding: 14px 18px 18px; box-shadow: inset 0 1px 0 var(--su-line); }
#slot-section .su-loadout h4 { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--su-accent); margin: 0 0 10px; text-shadow: none; }
#slot-section .su-lo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#slot-section .su-lo-tag {
    font-size: 13px; padding: 5px 11px; color: var(--text-bright);
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
}
#slot-section .su-lo-none { color: var(--text-primary); font-size: 14px; }
#slot-section .su-lo-row .su-ghost { margin-left: auto; }

/* ---------- empty state ---------- */
#slot-section .su-empty {
    background: var(--su-fill-sunk); box-shadow: var(--su-well); border-radius: var(--su-r);
    padding: 44px 24px; text-align: center; margin-bottom: 24px;
}
#slot-section .su-empty h3 { font-size: 22px; }
#slot-section .su-empty p { color: var(--text-primary); margin: 8px auto 22px; max-width: 440px; }
#slot-section .su-filter-note { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-primary); margin-bottom: 16px; }
#slot-section .su-filter-note b { color: var(--text-bright); }

/* ---------- composer ---------- */
#slot-section .su-composer {
    background: var(--su-fill); border-radius: var(--su-r); margin-bottom: 30px; overflow: hidden;
    box-shadow: var(--su-raise-lg), inset 0 2px 0 var(--su-accent);
}
#slot-section .su-cp-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--su-line); flex-wrap: wrap; }
#slot-section .su-cp-head h3 { font-size: 20px; }
#slot-section .su-cp-steps { display: flex; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-secondary); }
#slot-section .su-cp-steps .on { color: var(--su-accent); }
#slot-section .su-cp-steps .done { color: var(--text-primary); }
#slot-section .su-cp-close { margin-left: auto; }
#slot-section .su-cp-body { padding: 18px; }
#slot-section .su-cp-cat { margin-bottom: 16px; }
#slot-section .su-cp-cat > .su-cap { display: block; margin-bottom: 10px; }
#slot-section .su-ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
#slot-section :is(.su-ac, .su-plat, .su-task-chip) {
    background: var(--su-fill-hi) !important; box-shadow: var(--su-raise) !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-primary) !important; text-align: left;
    transition: box-shadow 0.3s var(--su-ease), color 0.2s;
}
#slot-section :is(.su-ac, .su-plat:not(:disabled), .su-task-chip):hover { box-shadow: var(--su-hover) !important; color: var(--text-bright) !important; }
#slot-section .su-ac { padding: 12px 14px; }
#slot-section .su-ac b { display: block; font-family: var(--font-heading); font-size: 19px; letter-spacing: 0.05em; color: var(--text-bright); }
#slot-section .su-ac span { font-size: 13px; color: var(--text-primary); }
#slot-section .su-plat-list { display: grid; gap: 10px; }
#slot-section .su-plat { display: flex; align-items: center; gap: 14px; padding: 12px 15px; width: 100%; }
#slot-section .su-plat:disabled { cursor: not-allowed; background: var(--su-fill-sunk) !important; box-shadow: var(--su-sunk) !important; opacity: 0.55; }
#slot-section .su-plat-n { font-family: var(--font-heading); font-size: 18px; letter-spacing: 0.04em; color: var(--text-bright); }
#slot-section .su-plat-n small { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); letter-spacing: 0; }
#slot-section .su-why { margin-left: auto; font-size: 12px; color: var(--text-secondary); letter-spacing: 1px; }
#slot-section .su-cp-other { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
#slot-section .su-cp-other select,
#slot-section .su-field input {
    background: var(--su-fill-sunk) !important; box-shadow: var(--su-well) !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-bright) !important;
}
#slot-section .su-cp-other select { font-family: var(--font-mono); font-size: 14px; padding: 8px 10px; min-width: 260px; }
#slot-section .su-cp-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 16px; }
@media (max-width: 700px) { #slot-section .su-cp-row { grid-template-columns: 1fr; } }
#slot-section .su-field { display: block; }
#slot-section .su-field > .su-cap { display: block; margin-bottom: 8px; }
#slot-section .su-field input {
    width: 100%; box-sizing: border-box; font-family: var(--font-heading); font-size: 20px; letter-spacing: 0.08em;
    padding: 9px 13px; text-transform: uppercase;
}
#slot-section .su-field input:focus { outline: none; box-shadow: var(--su-well), 0 0 0 1px var(--su-accent) !important; }
#slot-section .su-seg { display: flex; gap: 6px; padding: 5px; background: var(--su-fill-sunk); box-shadow: var(--su-well); border-radius: var(--su-r-sm); }
#slot-section .su-seg button {
    background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    color: var(--text-secondary) !important; padding: 8px 17px; font-size: 15px;
    transition: box-shadow 0.3s var(--su-ease), color 0.2s;
}
#slot-section .su-seg button:hover { color: var(--text-bright) !important; }
#slot-section .su-seg button.on {
    background: var(--su-fill-hi) !important; box-shadow: var(--su-raise), inset 0 -2px 0 var(--su-accent) !important;
    color: var(--text-bright) !important; font-weight: 700;
}
#slot-section .su-task-chips { display: flex; gap: 8px; flex-wrap: wrap; }
#slot-section .su-task-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
#slot-section .su-task-chip .su-task-dot { width: 6px; height: 6px; }
#slot-section .su-task-chip.on { background: var(--su-fill-sunk) !important; box-shadow: var(--su-press) !important; color: var(--text-bright) !important; font-weight: 700; }
#slot-section .su-cp-err { color: var(--red); font-size: 14px; margin: 12px 0 0; }
#slot-section .su-cp-foot { display: flex; align-items: center; gap: 16px; padding: 14px 18px; box-shadow: inset 0 1px 0 var(--su-line); flex-wrap: wrap; }
#slot-section .su-cp-sum { color: var(--text-primary); font-size: 14px; }
#slot-section .su-cp-sum b { color: var(--text-bright); }
#slot-section .su-cp-take { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-primary); cursor: pointer; }
#slot-section .su-cp-take input { accent-color: var(--su-accent); }
#slot-section .su-cp-foot .su-primary { margin-left: auto; }

/* ---------- side column ---------- */
#slot-section .su-side { position: sticky; top: 16px; display: grid; gap: 22px; }
#slot-section .su-plate-h {
    font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--text-bright);
    margin: 0; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--su-line);
    display: flex; justify-content: space-between; align-items: center; text-shadow: none;
}
#slot-section .su-plate-h button {
    background: transparent !important; box-shadow: none !important; border: 0 !important;
    color: var(--su-accent) !important; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; padding: 0;
}
#slot-section .su-dep-list { padding: 8px; display: grid; gap: 6px; }
#slot-section .su-dep {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; width: 100%; text-align: left;
    background: transparent !important; box-shadow: none !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-primary) !important;
    transition: box-shadow 0.3s var(--su-ease), background 0.2s;
}
#slot-section .su-dep:hover { box-shadow: var(--su-hover) !important; }
#slot-section .su-dep.on { background: var(--su-fill-sunk) !important; box-shadow: var(--su-press) !important; }
#slot-section .su-dep-n { font-size: 14px; font-weight: 700; line-height: 1.3; min-width: 0; color: var(--text-bright); }
#slot-section .su-dep-n small { display: block; color: var(--text-secondary); font-size: 12px; font-weight: 400; }
#slot-section .su-dep-c { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--text-bright); flex: none; letter-spacing: 0.06em; }
#slot-section .su-dep-c.zero { color: var(--text-secondary); font-weight: 400; }
#slot-section .su-tag {
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; padding: 3px 7px; border-radius: 2px;
    color: #0a0e13; background: var(--su-land); flex: none; min-width: 50px; text-align: center;
}
#slot-section .su-tag.sea { background: var(--su-sea); }
body:is(.theme-neu, .theme-graphite) #slot-section .su-tag { background: var(--su-fill-sunk); box-shadow: var(--su-sunk); color: var(--su-land); }
body:is(.theme-neu, .theme-graphite) #slot-section .su-tag.sea { color: var(--su-sea); }
#slot-section .su-me { padding: 18px; }
#slot-section .su-me-v { font-family: var(--font-heading); font-size: 26px; letter-spacing: 0.05em; margin: 4px 0 10px; color: var(--text-bright); }
#slot-section .su-me-v small { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); letter-spacing: 0; margin-top: 2px; }
#slot-section .su-me-v.off { color: var(--text-secondary); }
#slot-section .su-me p { color: var(--text-primary); font-size: 14px; margin: 0; }
#slot-section .su-ready { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--su-accent); margin-top: 10px; }
#slot-section .su-ready-dot { width: 8px; height: 8px; border-radius: 50% !important; background: var(--su-accent); box-shadow: 0 0 8px var(--su-accent); }

/* ---------- GRAPHITE hover glow ----------
   The theme's shared button hover paints the whole key with the hot NVG
   glow (pale core + bloom). It outranks the rules above through
   :not(#gr-none) and is inherited by the small sub lines, which smear.
   Here only the main label glows, with the softer recipe the stepper
   labels use, and sub lines and tags keep their own colour. */
body.theme-graphite #slot-section .su button:hover { text-shadow: none !important; }
body.theme-graphite #slot-section .su :is(.su-dep, .su-plat:not(:disabled), .su-ac, .su-seat.open, .su-task-chip:not(.on), .su-ghost):hover {
    color: var(--text-primary) !important;
    box-shadow: var(--su-hover) !important;
}
body.theme-graphite #slot-section .su :is(.su-dep.on, .su-task-chip.on):hover { box-shadow: var(--su-press) !important; color: var(--text-bright) !important; }
body.theme-graphite #slot-section .su :is(
    .su-dep:hover .su-dep-n, .su-plat:not(:disabled):hover .su-plat-n, .su-ac:hover b,
    .su-seat.open:hover .su-nm, .su-task-chip:not(.on):hover, .su-ghost:hover, .su-primary:hover
) {
    color: #7ee82a !important;
    text-shadow: 0 0 3px rgba(110, 230, 30, 0.6), 0 0 9px rgba(80, 210, 15, 0.35) !important;
    transition: color 0.16s ease-out, text-shadow 0.2s ease-out;
}
body.theme-graphite #slot-section .su :is(.su-dep, .su-plat, .su-ac, .su-seat):hover :is(small, .su-tag, .su-dep-c, .su-why, .su-pos, .su-ac span) {
    color: var(--text-secondary) !important;
    text-shadow: none !important;
}
body.theme-graphite #slot-section .su :is(.su-dep, .su-plat):hover .su-tag { color: var(--su-land) !important; }
body.theme-graphite #slot-section .su :is(.su-dep, .su-plat):hover .su-tag.sea { color: var(--su-sea) !important; }
body.theme-graphite #slot-section .su .su-dep:hover .su-dep-c:not(.zero) { color: var(--text-bright) !important; }
body.theme-graphite #slot-section .su .su-seat.open:hover .su-av { color: var(--su-accent) !important; }
body.theme-graphite #slot-section .su :is(.su-link, .su-seg button, .su-plate-h button):hover { color: var(--text-bright) !important; box-shadow: none !important; }
body.theme-graphite #slot-section .su .su-seg button.on:hover { box-shadow: var(--su-raise), inset 0 -2px 0 var(--su-accent) !important; }
body.theme-graphite #slot-section .su .su-link.del:hover { color: var(--red) !important; }
body.theme-graphite #slot-section .su .su-seat.me .su-link:hover { color: var(--red) !important; }

/* ============================================================
   Editable in place + empty slots to fill
   ============================================================ */

/* Anything on a flight card that can change: dashed underline and a
   pencil or caret that wake up on hover. */
#slot-section .su-ed {
    background: transparent !important; box-shadow: none !important; border: 0 !important;
    border-bottom: 1px dashed transparent !important; border-radius: 0 !important;
    display: inline-flex; align-items: center; gap: 8px; padding: 0 0 2px; color: inherit;
    transition: border-color 0.2s, color 0.2s;
}
#slot-section .su-ed:hover,
#slot-section .su-ed:focus-visible { border-bottom-color: var(--text-secondary) !important; }
#slot-section .su-pen { width: 14px; height: 14px; color: var(--text-secondary); opacity: 0; transition: opacity 0.2s; flex: none; }
#slot-section .su-ed:hover .su-pen,
#slot-section .su-ed:focus-visible .su-pen { opacity: 1; }
#slot-section .su-caret { width: 10px; height: 6px; color: var(--text-secondary); flex: none; }
#slot-section .su-fl-cs.su-ed { color: var(--text-bright) !important; }
#slot-section .su-rename {
    width: 9em; font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--su-fill-sunk) !important; box-shadow: var(--su-well), 0 0 0 1px var(--su-accent) !important;
    border: 0 !important; border-radius: var(--su-r-sm) !important; color: var(--text-bright) !important; padding: 2px 8px; outline: none;
}
#slot-section .su-rename.bad { box-shadow: var(--su-well), 0 0 0 1px var(--red) !important; }

/* Chips that open a menu keep their sunk look, with a caret */
#slot-section .su-chip.su-ed {
    background: var(--su-fill-sunk) !important; box-shadow: var(--su-sunk) !important;
    border-bottom: 0 !important; border-radius: var(--su-r-sm) !important; padding: 5px 11px; color: var(--text-bright) !important;
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
}
#slot-section .su-chip.su-ed:hover,
#slot-section .su-chip.su-ed.on { box-shadow: var(--su-hover) !important; }
#slot-section .su-chip .su-task-dot { width: 7px; height: 7px; }
#slot-section .su-menu-host { position: relative; display: inline-flex; }
#slot-section .su-flight.menu-open { position: relative; z-index: 5; }
#slot-section .su-menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 280px; max-height: 360px; overflow: auto;
    display: grid; gap: 4px; padding: 10px;
    background: var(--su-fill); border-radius: var(--su-r);
    box-shadow: var(--su-raise-lg), 0 14px 40px rgba(0, 0, 0, 0.55);
}
body.theme-graphite #slot-section .su-menu { background: #222; }
#slot-section .su-menu > .su-cap { padding: 2px 6px 6px; }
#slot-section .su-menu-it {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; text-align: left;
    background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    color: var(--text-primary) !important; transition: box-shadow 0.25s var(--su-ease);
}
#slot-section .su-menu-it:hover:not(:disabled) { box-shadow: var(--su-hover) !important; }
#slot-section .su-menu-it.on { background: var(--su-fill-sunk) !important; box-shadow: var(--su-press) !important; }
#slot-section .su-menu-it:disabled { opacity: 0.45; cursor: not-allowed; }
#slot-section .su-menu-n { font-size: 14px; font-weight: 700; color: var(--text-bright); line-height: 1.3; }
#slot-section .su-menu-n small { display: block; font-size: 12px; font-weight: 400; color: var(--text-secondary); }

/* Size stepper next to N-SHIP */
#slot-section .su-size { display: inline-flex; align-items: center; gap: 6px; }
#slot-section .su-size button {
    width: 20px; height: 20px; padding: 0; display: inline-grid; place-items: center; font-size: 14px; line-height: 1;
    background: var(--su-fill-sunk) !important; box-shadow: var(--su-sunk) !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-primary) !important;
}
#slot-section .su-size button:hover:not(:disabled) { box-shadow: var(--su-hover) !important; color: var(--text-bright) !important; }
#slot-section .su-size button:disabled { opacity: 0.3; cursor: not-allowed; }
#slot-section .su-from { margin-left: 10px; }

/* Empty slots: the next seat, the next flight in a task, a new flight */
#slot-section .su-seat.add,
#slot-section .su-add-row,
#slot-section .su-new-card {
    background: transparent !important; box-shadow: none !important;
    border: 1px dashed rgba(255, 255, 255, 0.14) !important;
}
#slot-section .su-seat.add { color: var(--text-secondary) !important; }
#slot-section .su-seat.add .su-av { background: transparent; box-shadow: none; color: var(--text-secondary); border: 1px dashed rgba(255, 255, 255, 0.18); }
#slot-section .su-seat.add .su-nm { color: var(--text-secondary); }
#slot-section .su-seat.add:hover,
#slot-section .su-add-row:hover,
#slot-section .su-new-main:hover { border-color: transparent !important; box-shadow: var(--su-hover) !important; }
#slot-section .su-seat.add:hover .su-nm,
#slot-section .su-add-row:hover { color: var(--text-bright) !important; }
#slot-section .su-add-row {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; margin: -4px 0 0;
    border-radius: var(--su-r) !important; color: var(--text-secondary) !important;
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-align: left;
    transition: box-shadow 0.3s var(--su-ease), color 0.2s;
}
#slot-section .su-new-plus {
    width: 28px; height: 28px; display: inline-grid; place-items: center; flex: none; font-size: 18px; font-weight: 400;
    border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: var(--su-r-sm); color: var(--su-accent);
}
#slot-section .su-new-card { border-radius: var(--su-r) !important; padding: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
#slot-section .su-new-card.big { padding: 26px; flex-direction: column; align-items: stretch; }
#slot-section .su-new-main {
    display: flex; align-items: center; gap: 16px; flex: 1 1 320px; padding: 14px 16px; text-align: left;
    background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: var(--su-r-sm) !important;
    color: var(--text-primary) !important; transition: box-shadow 0.3s var(--su-ease);
}
#slot-section .su-new-main .su-new-plus { width: 40px; height: 40px; font-size: 24px; }
#slot-section .su-new-main b { display: block; font-size: 15px; letter-spacing: 2px; color: var(--text-bright); }
#slot-section .su-new-main small { display: block; font-size: 14px; color: var(--text-primary); }
#slot-section .su-new-card.big .su-new-main b { font-size: 18px; }
#slot-section .su-quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 10px 6px; }
#slot-section .su-quick .su-cap { margin-right: 4px; }
#slot-section .su-quick-ac {
    padding: 7px 12px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
    background: var(--su-fill-hi) !important; box-shadow: var(--su-raise) !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-bright) !important; transition: box-shadow 0.3s var(--su-ease);
}
#slot-section .su-quick-ac:hover { box-shadow: var(--su-hover) !important; }
#slot-section .su-quick-ac.more { background: transparent !important; box-shadow: none !important; color: var(--text-secondary) !important; }

/* Your seat checklist */
#slot-section .su-check { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
#slot-section .su-check li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-secondary); }
#slot-section .su-check li small { display: block; font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-top: 2px; }
#slot-section .su-tick {
    width: 20px; height: 20px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700;
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm); color: #0b0b0b;
}
#slot-section .su-check li.done { color: var(--text-primary); }
#slot-section .su-check li.done .su-tick { background: var(--su-accent); box-shadow: none; }
#slot-section .su-check li.now { color: var(--text-bright); font-weight: 700; }
#slot-section .su-check li.now .su-tick { box-shadow: var(--su-sunk), 0 0 0 1px var(--su-accent); }
#slot-section .su-me-cta { width: 100%; justify-content: center; margin-top: 16px; display: flex; }

/* GRAPHITE: same glow recipe as the rest of the section */
body.theme-graphite #slot-section .su :is(.su-ed, .su-menu-it:not(:disabled), .su-size button:not(:disabled), .su-seat.add, .su-add-row, .su-new-main, .su-quick-ac):hover {
    text-shadow: none !important;
}
body.theme-graphite #slot-section .su :is(.su-chip.su-ed, .su-menu-it:not(:disabled), .su-seat.add, .su-add-row, .su-new-main, .su-quick-ac:not(.more)):hover {
    box-shadow: var(--su-hover) !important;
}
body.theme-graphite #slot-section .su .su-fl-cs.su-ed:hover { color: var(--text-bright) !important; box-shadow: none !important; }
body.theme-graphite #slot-section .su :is(.su-menu-it:not(:disabled):hover .su-menu-n, .su-add-row:hover, .su-new-main:hover b, .su-quick-ac:not(.more):hover, .su-seat.add:hover .su-nm, .su-chip.su-ed:hover) {
    color: #7ee82a !important;
    text-shadow: 0 0 3px rgba(110, 230, 30, 0.6), 0 0 9px rgba(80, 210, 15, 0.35) !important;
}
body.theme-graphite #slot-section .su :is(.su-menu-it, .su-new-main, .su-seat.add):hover small { color: var(--text-secondary) !important; text-shadow: none !important; }
body.theme-graphite #slot-section .su .su-new-main:hover small { color: var(--text-primary) !important; }
body.theme-graphite #slot-section .su .su-menu-it.on:hover { box-shadow: var(--su-press) !important; }

/* Narrow screens: menus open to the right of their chip, counts stay on one line */
#slot-section .su-count-lbl b { white-space: nowrap; }
@media (max-width: 700px) {
    #slot-section .su-menu { left: 0; right: auto; min-width: min(280px, calc(100vw - 60px)); }
}

/* ---------- Key facts boxed in the signal colour ----------
   Radio frequency and seat positions are what pilots read off the page,
   so they sit in sunk readouts lit in --su-accent. */
#slot-section .su-freq {
    display: inline-flex; align-items: baseline; gap: 8px; padding: 5px 11px;
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
}
#slot-section .su-freq-st { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-secondary); }
#slot-section .su-freq b { font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--su-accent); }
#slot-section .su-freq small { font-size: 11px; color: var(--text-secondary); }
body.theme-graphite #slot-section .su-freq b { text-shadow: 0 0 6px rgba(94, 230, 168, 0.35); }
#slot-section .su-pos {
    width: auto; min-width: 34px; padding: 3px 6px; text-align: center;
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: var(--su-accent);
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
}
body.theme-graphite #slot-section .su-pos { text-shadow: 0 0 6px rgba(94, 230, 168, 0.3); }
#slot-section .su-seat.open .su-pos { color: var(--su-accent); }

/* SETTINGS and DELETE as real keys */
#slot-section .su-key {
    padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    background: var(--su-fill-hi) !important; box-shadow: var(--su-raise) !important; border: 0 !important;
    border-radius: var(--su-r-sm) !important; color: var(--text-primary) !important;
    transition: box-shadow 0.3s var(--su-ease), color 0.2s;
}
#slot-section .su-key:hover { box-shadow: var(--su-hover) !important; color: var(--text-bright) !important; }
#slot-section .su-key.on { background: var(--su-fill-sunk) !important; box-shadow: var(--su-press) !important; color: var(--text-bright) !important; }
#slot-section .su-key.del:hover { box-shadow: inset 2px 0 0 var(--red), 0 0 0 1px color-mix(in srgb, var(--red) 45%, transparent) !important; color: var(--red) !important; }
body.theme-graphite #slot-section .su .su-key:hover { text-shadow: none !important; color: var(--text-bright) !important; box-shadow: var(--su-hover) !important; }
body.theme-graphite #slot-section .su .su-key.on:hover { box-shadow: var(--su-press) !important; }
body.theme-graphite #slot-section .su .su-key.del:hover { color: var(--red) !important; box-shadow: inset 2px 0 0 var(--red), var(--gr-press-half) !important; }

/* ---------- Aircraft type plate ----------
   Front-view line art in a sunk plate, so the type reads before the text. */
#slot-section .su-fl-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
#slot-section .su-fl-names { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#slot-section .su-fl-names .su-fl-cs { align-self: flex-start; }
#slot-section .su-art {
    display: grid; place-items: center; flex: none; overflow: hidden;
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
}
#slot-section .su-art img { width: 100%; height: 100%; object-fit: contain; opacity: 0.88; transition: opacity 0.25s, filter 0.25s; }
#slot-section .su-art.none b { font-family: var(--font-heading); font-size: 18px; letter-spacing: 1px; color: var(--text-secondary); }
#slot-section .su-art.card { width: 168px; height: 84px; padding: 8px 10px; }
#slot-section .su-fl-ac { font-family: var(--font-heading); font-size: 19px; letter-spacing: 1.5px; }
#slot-section .su-fl-ac small { font-family: var(--font-mono); margin-top: 4px; }
#slot-section .su-flight:hover .su-art.card img { opacity: 1; }
body.theme-graphite #slot-section .su-flight.mine .su-art.card img,
body.theme-graphite #slot-section .su-flight:hover .su-art.card img { filter: drop-shadow(0 0 3px rgba(94, 230, 168, 0.35)); }
#slot-section .su-art.tile { width: 100%; height: 72px; margin-bottom: 10px; padding: 6px 8px; }
#slot-section .su-ac:hover .su-art.tile img { opacity: 1; }
body.theme-graphite #slot-section .su .su-ac:hover .su-art.tile img { filter: drop-shadow(0 0 3px rgba(126, 232, 42, 0.45)); }
#slot-section .su-ac-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 700px) {
    #slot-section .su-fl-id { gap: 12px; }
    #slot-section .su-art.card { width: 112px; height: 60px; padding: 5px 6px; }
    #slot-section .su-fl-ac { font-size: 16px; }
}

/* ---------- Your seat + your loadout as one shape ----------
   The loadout panel shares the seat's surface and signal stripe. With
   .joined (set by _su_joinLoadout when no seat sits below yours) the
   seat runs down into the panel as a tab. */
#slot-section .su { --su-join: rgba(0, 0, 0, 0.28); }
body.theme-neu #slot-section .su { --su-join: #25292e; }
body.theme-graphite #slot-section .su { --su-join: #161616; }
#slot-section .su-flight.mine .su-loadout {
    margin: 0 18px 18px; padding: 14px 16px 16px;
    background: var(--su-join); border-radius: var(--su-r-sm);
    box-shadow: inset 2px 0 0 var(--su-accent);
}
#slot-section .su-lo-seat {
    margin-left: 10px; padding: 2px 7px; font-size: 12px; letter-spacing: 0.5px; color: var(--su-accent);
    background: var(--su-fill-sunk); box-shadow: var(--su-sunk); border-radius: var(--su-r-sm);
}
#slot-section .su-flight.mine .su-seat.me { background: var(--su-join) !important; box-shadow: inset 2px 0 0 var(--su-accent), 0 0 0 1px color-mix(in srgb, var(--su-accent) 30%, transparent) !important; }
#slot-section .su-flight.joined .su-seats { padding-bottom: 0; }
#slot-section .su-flight.joined .su-seat.me {
    position: relative; overflow: visible;
    border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important;
    box-shadow: inset 2px 0 0 var(--su-accent) !important;
}
#slot-section .su-flight.joined .su-seat.me::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
    background: var(--su-join); box-shadow: inset 2px 0 0 var(--su-accent);
}
#slot-section .su-flight.joined .su-loadout { margin-top: 12px; }

/* ---------- Next step: GO TO MISSION ----------
   Ready (seat + loadout): the side CTA and the footer MISSION button breathe
   with the signal colour, so both point the same way. Before that the
   footer button stays muted. */
@keyframes su-go-breathe {
    0%, 100% { box-shadow: var(--su-primary-shadow), 0 0 0 0 transparent; }
    50% { box-shadow: var(--su-primary-shadow), 0 0 18px 2px var(--su-go-glow); }
}
#slot-section .su { --su-go-glow: color-mix(in srgb, var(--amber) 45%, transparent); }
body.theme-graphite #slot-section .su { --su-go-glow: rgba(94, 230, 168, 0.45); }
#slot-section .su-me-cta.go { animation: su-go-breathe 2.4s ease-in-out infinite; }
body.theme-graphite #slot-section .su .su-me-cta.go { color: var(--gr-signal) !important; }
#slot-section .su-me-cta.go:hover { animation: none; }
#slot-section .su-check li.now { color: var(--text-bright); }

.add-flight-view #af-generate-btn { transition: box-shadow 0.3s, opacity 0.3s, color 0.3s; }
.add-flight-view:not(.su-ready) #af-generate-btn { opacity: 0.55; }
@keyframes su-foot-breathe {
    0%, 100% { box-shadow: var(--su-foot-sh), 0 0 0 0 transparent; }
    50% { box-shadow: var(--su-foot-sh), 0 0 20px 3px var(--su-foot-glow); }
}
.add-flight-view.su-ready #af-generate-btn {
    --su-foot-sh: 0 0 0 1px var(--amber); --su-foot-glow: color-mix(in srgb, var(--amber) 45%, transparent);
    animation: su-foot-breathe 2.4s ease-in-out infinite;
}
body.theme-graphite .add-flight-view.su-ready #af-generate-btn:not(#gr-none) {
    --su-foot-sh: inset 2px 0 0 #5ee6a8, 3px 3px 8px #0b0b0b, inset 1px 1px 0 rgba(70, 70, 70, 0.55);
    --su-foot-glow: rgba(94, 230, 168, 0.4);
    color: #5ee6a8 !important; box-shadow: var(--su-foot-sh) !important;
    animation: su-foot-breathe 2.4s ease-in-out infinite;
}
body.theme-graphite .add-flight-view.su-ready #af-generate-btn .af-arrow { color: #5ee6a8 !important; }
.add-flight-view.su-ready .af-footer-lbl { color: var(--text-bright); }
body.theme-graphite .add-flight-view.su-ready .af-footer-lbl { color: #5ee6a8; }
@media (prefers-reduced-motion: reduce) {
    #slot-section .su-me-cta.go, .add-flight-view.su-ready #af-generate-btn { animation: none !important; }
}
