/*
 * UmmahArmy design v3 (FIX), Nov 25 2026, ruling r5170. Round folder:
 * /root/handoffs/design/ummaharmy-2026-11-25-v3/ . Canvas: https://claude.ai/artifact/N8tPevgdkW85dPjzgbwzdf
 *
 * Loads AFTER ua-w2.css. Static on purpose (no Vite build): the round ships and rolls back as Blade plus
 * this file. Values come from the kit roles in ua-w2.css (--k-*), so every rule follows the theme.
 *
 *  1. Flat grounds: the home hero and the home bands sit on the theme surface, with a hairline between
 *     bands. No gradient, no pastel band, no frozen-light band in dark (slop gate; dark parity).
 *  2. Lists, not icon-card grids: skills are rows with a count; the four steps are a numbered list.
 *  3. One filled action colour: the closing band and the UmmahJobs band are quiet surfaces; their
 *     buttons are the purple fill (one) and the ink outline. No white, green or blue fill.
 *  4. The status tabs keep one row at 360.
 */

/* ---------- 1. Flat grounds ---------- */
html body .ua-v3-band { background: var(--k-surface); border-top: 1px solid var(--k-border); }
html body .ua-v3-hero { background: var(--k-surface); border-bottom: 1px solid var(--k-border); }
html body .ua-v3-hero .ua-v3-toggle { background: var(--k-sunken); border: 1px solid var(--k-border); }
html body .ua-v3-hero .ua-v3-toggle [data-mode-btn] { color: var(--k-muted); }
html body .ua-v3-hero .ua-v3-toggle [data-mode-btn][aria-selected="true"] { background: var(--k-surface); color: var(--k-text); box-shadow: 0 0 0 1px var(--k-border); }
html body .ua-v3-field { background: var(--k-surface); color: var(--k-text); border: 1px solid var(--k-border-strong); }
html body .ua-v3-field::placeholder { color: var(--k-muted); }
html body .ua-v3-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--ua-radius);
  border: 1px solid var(--k-border); background: var(--k-surface); color: var(--k-text); font-size: 14px; font-weight: 500; text-decoration: none; }
html body .ua-v3-chip:hover { border-color: var(--k-text); }
html body .ua-v3-card { display: block; background: var(--k-surface); border: 1px solid var(--k-border); border-radius: var(--ua-radius); color: var(--k-text); text-decoration: none; }
html body a.ua-v3-card:hover { border-color: var(--k-text); }
html body .ua-v3-text { color: var(--k-text); }
html body .ua-v3-muted { color: var(--k-muted); }

/* ---------- 2. Lists, not icon-card grids ---------- */
html body .ua-v3-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--k-border); }
html body .ua-v3-rows > li { border-bottom: 1px solid var(--k-border); }
html body .ua-v3-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 4px;
  color: var(--k-text); text-decoration: none; font-size: 16px; font-weight: 600; }
html body a.ua-v3-row:hover { color: var(--k-accent); }
html body .ua-v3-row .ua-v3-n { flex: none; font-size: 14px; font-weight: 500; color: var(--k-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  html body .ua-v3-rows.ua-v3-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
  html body .ua-v3-rows.ua-v3-2col > li:nth-child(-n+2) { border-top: 1px solid var(--k-border); }
}
html body .ua-v3-steps { list-style: none; margin: 0; padding: 0; counter-reset: uastep; display: grid; gap: 0; }
html body .ua-v3-steps > li { counter-increment: uastep; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--k-border); }
html body .ua-v3-steps > li::before { content: counter(uastep); font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--k-accent);
  font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { html body .ua-v3-steps { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------- 3. One filled action colour ---------- */
html body .ua-v3-close { background: var(--k-sunken); border-top: 1px solid var(--k-border); color: var(--k-text); }
html body .ua-v3-close h2 { color: var(--k-text); }
html body .ua-band-jobs { background: var(--k-surface); color: var(--k-text); border-top: 1px solid var(--k-border); }
html body .ua-band-jobs .ua-band-soft { color: var(--k-muted); }
html body .ua-band-jobs .ua-band-jobs-btn { background: transparent; color: var(--k-text); box-shadow: none; border: 1.5px solid var(--k-border-strong); filter: none; }
html body .ua-band-jobs .ua-band-jobs-btn:hover { border-color: var(--k-text); }

/* ---------- 4. Status tabs: one row at 360 (seat finding, Nov 25) ---------- */
@media (max-width: 379px) { html body .ua-seg a { padding: 0 9px; gap: 5px; } }

/* ---------- 5. Footer buttons: outlines on the dark footer (one filled colour per page) ---------- */
/* The footer is a fixed dark band in both themes. Its feedback submit was a blue fill and the Sitrep sign-up a
   grey glass fill: two more filled colours below the page's one purple action. Both become the light outline. */
html body [data-umgp="foot-host"] .umgf-block button[type="submit"],
html body [data-umgp="foot-host"] .btn-glass {
  background: transparent; color: #F8FAFC; border: 1.5px solid rgba(248, 250, 252, 0.6); box-shadow: none; backdrop-filter: none;
}
html body [data-umgp="foot-host"] .umgf-block button[type="submit"]:hover,
html body [data-umgp="foot-host"] .btn-glass:hover { background: rgba(248, 250, 252, 0.08); border-color: #F8FAFC; }

/* ---------- 6. Count panels follow the theme (dark parity) ---------- */
/* The stat strip and the countries panel were bg-ummah-50, a tint frozen light in dark. They sit on the sunken role now. */
html body .ua-v3-tint { background: var(--k-sunken); border: 1px solid var(--k-border); }
html body .ua-v3-tint .ua-unity-tag { background: var(--k-surface); color: var(--k-text); border-color: var(--k-border-strong); }
html body .ua-v3-tint .ua-unity-tag:hover { border-color: var(--k-text); color: var(--k-text); }

/* ---------- 7. Seat fixes, Nov 25 2026 (blind pair) ---------- */
/* Heading left, content right from 1024px: the 1440 page had a 770px column and an empty right half (Opus P2). */
@media (min-width: 1024px) {
  html body .ua-v3-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px; align-items: start; }
}
/* The rank list follows the theme: its dividers were a light token in dark (Fable P2) and its names were four colours (both seats, P3). */
html body .ua-v3-ranks > div { background: var(--k-surface); border-color: var(--k-border); }
html body .ua-v3-ranks .divide-y > :not([hidden]) ~ :not([hidden]) { border-color: var(--k-border); }
html body .ua-v3-ranks .text-lg { color: var(--k-text); }
html body .ua-v3-ranks .text-gray-700 { color: var(--k-muted); }
/* The caption now stays while the recording plays, so the video column stacks: video, then its dated caption. */
@media (min-width: 1024px) {
  html body .ua-v3-videocol { flex-direction: column; align-items: stretch; }
  html body .ua-v3-videocol [data-hero-video-wrap] { width: 100%; max-width: 28rem; margin: 0 auto; }
  html body .ua-v3-videocol [data-hero-video-caption] { max-width: 28rem; margin-left: auto; margin-right: auto; }
}
