/* =========================================================
   ROYAL WINGS ALLIANCE — CLAYMORPHIC 3D FLIGHT OPERATIONS
   Soft extruded plastic surfaces Â· full-motion tilt Â· game vibe
   ========================================================= */

/* --- HUD Telemetry Top Bar --- */
.hud-telemetry {
  background: linear-gradient(180deg, rgba(22, 35, 60, 0.95), rgba(16, 26, 46, 0.95));
  box-shadow: 0 6px 18px rgba(3, 8, 18, 0.45), inset 0 -2px 6px rgba(3, 8, 18, 0.4), inset 0 1px 1px rgba(190, 215, 250, 0.14);
  backdrop-filter: blur(14px);
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 110;
}

.hud-left, .hud-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: var(--surface-card);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  box-shadow: var(--clay-inset);
}

.hud-pill.highlight {
  color: var(--accent-amber-light);
  box-shadow: var(--clay-inset), 0 0 14px rgba(245, 158, 11, 0.12);
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: var(--status-green-glow);
  animation: pulseDot 2s infinite ease-in-out;
}

.hud-dot-amber {
  background: var(--accent-amber);
  box-shadow: var(--status-amber-glow);
}

/* --- Main Navigation Header --- */
.ops-header {
  background: linear-gradient(180deg, rgba(27, 43, 72, 0.96), rgba(19, 31, 54, 0.96));
  box-shadow: 0 10px 26px rgba(3, 8, 18, 0.5), inset 0 1px 1px rgba(190, 215, 250, 0.15), inset 0 -3px 8px rgba(3, 8, 18, 0.35);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ops-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, var(--surface-card-elevated) 0%, var(--surface-panel) 100%);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  box-shadow: var(--clay-raised);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.brand-section:hover .brand-icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: var(--clay-raised-lg), var(--accent-amber-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(3, 8, 18, 0.5);
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.95;
}

.ops-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a3a58 transparent;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.ops-nav::-webkit-scrollbar {
  height: 4px;
}

.ops-nav::-webkit-scrollbar-thumb {
  background: #2a3a58;
  border-radius: var(--radius-pill);
}

.ops-nav::-webkit-scrollbar-track {
  background: transparent;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  background: var(--surface-card);
  box-shadow: 0 4px 10px rgba(3, 8, 18, 0.35), inset 1px 1px 1px rgba(190, 215, 250, 0.1);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.12);
}

.nav-link.active {
  color: var(--accent-amber-light);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.1));
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.22), inset 1px 1px 1px rgba(255, 230, 170, 0.2), inset -2px -3px 6px rgba(120, 70, 4, 0.35);
}

.nav-link-discord {
  background: linear-gradient(145deg, #5865f2, #4752c4);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 5px 0 #3742a8, 0 10px 20px rgba(88, 101, 242, 0.35), inset 1px 1px 1px rgba(255, 255, 255, 0.35);
}

.nav-link-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #3742a8, 0 14px 26px rgba(88, 101, 242, 0.45), inset 1px 1px 1px rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.user-profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-card);
  border: 1px solid transparent;
  padding: 5px 14px 5px 7px;
  border-radius: var(--radius-pill);
  box-shadow: var(--clay-raised);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-active), var(--surface-card));
  border: 1px solid transparent;
  box-shadow: var(--clay-raised), inset 1px 1px 1px rgba(190, 215, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-amber);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  display: inline-block;
  width: fit-content;
  border: 1px solid transparent;
}

.role-badge.requester {
  background: var(--status-neutral-bg);
  color: var(--status-neutral);
  border-color: var(--status-neutral-border);
  box-shadow: var(--clay-inset);
}

.role-badge.member {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
  box-shadow: var(--clay-inset);
}

.role-badge.admin {
  background: var(--accent-amber-subtle);
  color: var(--accent-amber-light);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--clay-inset);
}

.btn-signout {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  box-shadow: 0 5px 0 rgba(10, 18, 34, 0.9), 0 9px 18px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(190, 215, 250, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-signout:hover {
  background: var(--surface-hover);
  color: var(--status-red);
  transform: translateY(-2px);
}

.btn-signout:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(10, 18, 34, 0.9), var(--clay-pressed);
}

/* --- Main Layout Container --- */
.main-content {
  max-width: 1340px;
  margin: 0 auto;
  padding: 32px 24px 72px 24px;
  position: relative;
  z-index: 10;
}

.btn-hero-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, #5865f2, #4752c4);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  box-shadow: 0 6px 0 #3742a8, 0 12px 26px rgba(88, 101, 242, 0.45), inset 1px 1px 2px rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-hero-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #3742a8, 0 16px 32px rgba(88, 101, 242, 0.55), inset 1px 1px 2px rgba(255, 255, 255, 0.35);
}

.btn-hero-discord:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #3742a8, 0 4px 10px rgba(88, 101, 242, 0.4), var(--clay-pressed);
}

.btn-hero-rules {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 0 rgba(10, 18, 34, 0.9), 0 12px 24px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-hero-rules:hover {
  transform: translateY(-3px);
  color: var(--accent-amber-light);
  box-shadow: 0 9px 0 rgba(10, 18, 34, 0.9), 0 16px 30px rgba(3, 8, 18, 0.5), 0 0 18px rgba(245, 158, 11, 0.18), inset 1px 1px 1px rgba(190, 215, 250, 0.18);
}

.btn-hero-rules:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(10, 18, 34, 0.9), var(--clay-pressed);
}

/* --- Authentication Deck (allauth Discord fallback page) --- */
.auth-deck-card {
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-panel));
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--clay-raised-lg);
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-subtle);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Top Telemetry Barometers Grid (Dashboard) --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(150deg, var(--surface-card-elevated) 0%, var(--surface-card) 75%);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--clay-raised);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 215, 250, 0.35), transparent);
}

.stat-card:hover {
  transform: perspective(800px) rotateX(4deg) rotateY(-3deg) translateY(-5px);
  box-shadow: var(--clay-raised-lg);
}

.stat-card.alert-border {
  box-shadow: var(--clay-raised), 0 0 24px rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.28);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-icon {
  color: var(--accent-amber);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 3px 0 rgba(10, 18, 34, 0.8), 0 5px 12px rgba(3, 8, 18, 0.5);
  transform: translateZ(16px);
}

.stat-subtext {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateZ(6px);
}

.stat-subtext.highlight-green { color: var(--status-green); }
.stat-subtext.highlight-red { color: var(--status-red); }
.stat-subtext.highlight-amber { color: var(--accent-amber); }

/* --- Requisition Form Styles --- */
.form-card {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-panel));
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: var(--clay-raised-lg);
}

.form-header {
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(3, 8, 18, 0.5);
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.form-input {
  width: 100%;
  background: var(--surface-panel);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text-primary);
  font-size: 14px;
  box-shadow: var(--clay-inset);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: var(--clay-inset), 0 0 0 3px rgba(245, 158, 11, 0.12);
}

select.form-input option {
  background: var(--surface-panel);
  color: var(--text-primary);
}

/* --- Route Cards (FROM / TO) --- */
.route-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.route-card {
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--clay-raised);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-raised-lg);
}

.route-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}

.route-card-head.origin {
  color: var(--accent-cyan);
}

.route-card-head.dest {
  color: var(--accent-amber);
}

.route-card-note {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.route-card .form-input {
  background: var(--surface-panel);
}

/* --- Aircraft Card Selector --- */
.tier-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tier-card-btn {
  padding: 18px 16px;
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
  box-shadow: 0 6px 0 rgba(10, 18, 34, 0.9), 0 10px 20px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(190, 215, 250, 0.14);
}

.tier-card-btn:hover:not(.active) {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(10, 18, 34, 0.9), 0 14px 26px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
}

.tier-card-btn.active {
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.32), rgba(245, 158, 11, 0.12)), var(--surface-card);
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(120, 70, 4, 0.8), 0 6px 14px rgba(245, 158, 11, 0.2), inset 1px 1px 1px rgba(255, 230, 170, 0.3), var(--clay-pressed);
}

.tier-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.tier-code {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.tier-card-btn.active .tier-code {
  color: var(--accent-amber-light);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-panel);
  color: var(--text-secondary);
  box-shadow: var(--clay-inset);
}

.tier-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tier-card-btn.active .tier-desc {
  color: #fde68a;
}

/* Config switchers (PAX / CARGO) — cockpit toggle bank */
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.config-btn {
  padding: 15px;
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 0 rgba(10, 18, 34, 0.9), 0 9px 18px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(190, 215, 250, 0.14);
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.config-btn:hover:not(:disabled):not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(10, 18, 34, 0.9), 0 12px 22px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
}

.config-btn.active {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.12)), var(--surface-card);
  color: var(--accent-cyan);
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(12, 74, 110, 0.8), inset 2px 3px 8px rgba(3, 20, 34, 0.55), 0 0 16px rgba(56, 189, 248, 0.18);
}

.config-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--surface-row);
  box-shadow: var(--clay-inset);
}

/* Quantity Stepper — chunky keys */
.quantity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.qty-btn {
  padding: 16px 8px;
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 0 rgba(10, 18, 34, 0.9), 0 10px 20px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(190, 215, 250, 0.14);
  transition: all 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qty-btn:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(10, 18, 34, 0.9), 0 13px 24px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
}

.qty-btn.active {
  background: linear-gradient(150deg, var(--accent-amber-light), var(--accent-amber));
  color: var(--text-inverse);
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--accent-amber-dark), inset 0 3px 6px rgba(120, 70, 4, 0.45), 0 0 18px rgba(245, 158, 11, 0.3);
}

/* Requisition Telemetry Summary Box */
.requisition-summary-box {
  background: linear-gradient(150deg, var(--surface-card), var(--surface-row));
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--clay-inset);
}

.summary-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-amber);
  display: flex;
  justify-content: space-between;
}

.summary-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.summary-item-val {
  color: var(--text-primary);
  font-weight: 700;
}

.btn-primary-action {
  width: 100%;
  padding: 16px;
  background: linear-gradient(150deg, var(--accent-amber-light) 0%, var(--accent-amber) 60%);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 0 var(--accent-amber-dark), 0 12px 26px rgba(245, 158, 11, 0.4), inset 1px 1px 2px rgba(255, 240, 200, 0.55);
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.4);
}

.btn-primary-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--accent-amber-dark), 0 16px 32px rgba(245, 158, 11, 0.5), inset 1px 1px 2px rgba(255, 240, 200, 0.55);
}

.btn-primary-action:active:not(:disabled) {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--accent-amber-dark), var(--clay-pressed);
}

/* --- Flight Board Table & Records — rows as floating clay cards --- */
.board-container {
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-panel));
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--clay-raised-lg);
}

/* board-container carries no inner padding by design; padded content
   that is not a .board-top-controls / grid child uses this wrapper so
   text never touches the overflow-hidden rounded edge. */
.panel-body {
  padding: 20px 22px;
}

.board-top-controls {
  padding: 18px 22px;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface-row);
  padding: 5px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  box-shadow: var(--clay-inset);
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: linear-gradient(150deg, var(--accent-amber-light), var(--accent-amber));
  color: var(--text-inverse);
  font-weight: 800;
  box-shadow: 0 4px 0 var(--accent-amber-dark), 0 8px 16px rgba(245, 158, 11, 0.3), inset 1px 1px 1px rgba(255, 240, 200, 0.5);
}

.search-input-wrap {
  position: relative;
  min-width: 260px;
}

.search-input {
  width: 100%;
  background: var(--surface-panel);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 9px 14px 9px 38px;
  font-size: 12px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  box-shadow: var(--clay-inset);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: var(--clay-inset), 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-icon-pos {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.board-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  padding: 0 14px 14px;
  text-align: left;
}

.board-table th {
  padding: 16px 18px 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.board-table td {
  padding: 15px 18px;
  vertical-align: middle;
  font-size: 13px;
  background: linear-gradient(150deg, var(--surface-card) 0%, var(--surface-row) 100%);
  border-top: 1px solid rgba(190, 215, 250, 0.07);
  border-bottom: 1px solid rgba(3, 8, 18, 0.55);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.board-table td:first-child { border-left: 1px solid rgba(190, 215, 250, 0.07); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.board-table td:last-child { border-right: 1px solid rgba(190, 215, 250, 0.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-right: 1px solid rgba(190, 215, 250, 0.07); }

.board-table tbody tr {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.board-table tbody tr:hover td {
  background: linear-gradient(150deg, var(--surface-hover) 0%, var(--surface-card) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(3, 8, 18, 0.4), inset 0 1px 1px rgba(190, 215, 250, 0.12);
}

.board-table tbody tr.row-overdue td {
  background: linear-gradient(150deg, rgba(248, 113, 113, 0.12) 0%, var(--surface-row) 100%);
  border-top-color: rgba(248, 113, 113, 0.3);
}

/* --- Status Pills — gummy 3D badges --- */
.status-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border: 1px solid transparent;
  box-shadow: 0 3px 0 rgba(10, 18, 34, 0.55), inset 1px 1px 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.status-pill:hover {
  transform: translateY(-2px);
}

.status-pill.pending {
  background: var(--status-neutral-bg);
  color: var(--status-neutral);
  border-color: var(--status-neutral-border);
}

.status-pill.assigned {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
  box-shadow: 0 3px 0 rgba(10, 18, 34, 0.55), inset 1px 1px 1px rgba(255, 255, 255, 0.14), 0 0 12px rgba(56, 189, 248, 0.14);
}

.status-pill.sent {
  background: var(--status-amber-bg);
  color: var(--accent-amber-light);
  border-color: var(--status-amber-border);
  box-shadow: 0 3px 0 rgba(10, 18, 34, 0.55), inset 1px 1px 1px rgba(255, 255, 255, 0.14), 0 0 12px rgba(245, 158, 11, 0.16);
}

.status-pill.returned {
  background: var(--status-green-bg);
  color: var(--status-green);
  border-color: var(--status-green-border);
}

.status-pill.overdue {
  background: var(--status-red-bg);
  color: var(--status-red);
  border-color: var(--status-red-border);
  box-shadow: 0 3px 0 rgba(10, 18, 34, 0.55), inset 1px 1px 1px rgba(255, 255, 255, 0.14), var(--status-red-glow);
  animation: pulseDot 1.6s infinite ease-in-out;
}

.status-pill.on-time {
  background: var(--status-green-bg);
  color: var(--status-green);
  border-color: var(--status-green-border);
}

.status-pill.late {
  background: var(--status-red-bg);
  color: var(--status-red);
  border-color: var(--status-red-border);
}

/* Action Buttons — clay keys */
.btn-action-assign, .btn-action-send, .btn-action-return,
.btn-action-edit, .btn-action-delete, .btn-action-help, .btn-action-cancel,
.btn-action-release {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-action-assign {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.32), rgba(56, 189, 248, 0.14));
  color: var(--accent-cyan);
  box-shadow: 0 4px 0 rgba(12, 74, 110, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(200, 240, 255, 0.3);
}

.btn-action-assign:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(12, 74, 110, 0.85), 0 11px 20px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(200, 240, 255, 0.3);
}

.btn-action-send {
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.36), rgba(245, 158, 11, 0.16));
  color: var(--accent-amber-light);
  box-shadow: 0 4px 0 rgba(120, 70, 4, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(255, 230, 170, 0.3);
}

.btn-action-send:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(120, 70, 4, 0.85), 0 11px 20px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(255, 230, 170, 0.3);
}

.btn-action-return {
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.3), rgba(52, 211, 153, 0.12));
  color: var(--status-green);
  box-shadow: 0 4px 0 rgba(6, 78, 59, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(200, 255, 235, 0.3);
}

.btn-action-return:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(6, 78, 59, 0.85), 0 11px 20px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(200, 255, 235, 0.3);
}

.btn-action-edit {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0.1));
  color: var(--accent-cyan);
  box-shadow: 0 4px 0 rgba(12, 74, 110, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(200, 240, 255, 0.3);
}

.btn-action-edit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-action-delete {
  background: linear-gradient(150deg, rgba(248, 113, 113, 0.3), rgba(248, 113, 113, 0.12));
  color: var(--status-red);
  box-shadow: 0 4px 0 rgba(127, 29, 29, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(255, 220, 220, 0.3);
}

.btn-action-delete:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-action-help {
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.28), rgba(52, 211, 153, 0.1));
  color: var(--status-green);
  box-shadow: 0 4px 0 rgba(6, 78, 59, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(200, 255, 235, 0.3);
}

.btn-action-help:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-action-cancel,
.btn-action-release {
  background: linear-gradient(150deg, rgba(165, 184, 212, 0.24), rgba(165, 184, 212, 0.08));
  color: var(--status-neutral);
  box-shadow: 0 4px 0 rgba(10, 18, 34, 0.85), 0 8px 16px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(220, 235, 255, 0.2);
}

.btn-action-cancel:hover:not(:disabled),
.btn-action-release:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-action-assign:active:not(:disabled), .btn-action-send:active:not(:disabled),
.btn-action-return:active:not(:disabled), .btn-action-edit:active:not(:disabled),
.btn-action-delete:active:not(:disabled), .btn-action-help:active:not(:disabled),
.btn-action-cancel:active:not(:disabled), .btn-action-release:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(10, 18, 34, 0.85), var(--clay-pressed);
}

/* Hub match badge + dispatch tags */
.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.35), rgba(52, 211, 153, 0.14));
  border: 1px solid var(--status-green-border);
  color: var(--status-green);
  width: fit-content;
  box-shadow: 0 3px 0 rgba(6, 78, 59, 0.7), inset 1px 1px 1px rgba(200, 255, 235, 0.3), 0 0 12px rgba(52, 211, 153, 0.16);
}

.dispatch-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid transparent;
  box-shadow: 0 3px 0 rgba(10, 18, 34, 0.55), inset 1px 1px 1px rgba(255, 255, 255, 0.14);
}

.dispatch-tag.batch {
  background: var(--accent-cyan-subtle);
  border-color: var(--border-cyan);
  color: var(--accent-cyan);
}

.dispatch-tag.combined {
  background: var(--status-amber-bg);
  border-color: var(--status-amber-border);
  color: var(--accent-amber-light);
}

.dispatch-tag.guest {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #c084fc;
  box-shadow: 0 3px 0 rgba(88, 28, 135, 0.6), inset 1px 1px 1px rgba(240, 220, 255, 0.25);
}

/* Country Badge & Pill Styles */
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--surface-card);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  box-shadow: var(--clay-inset);
}

.country-pill-code {
  font-weight: 800;
  color: var(--accent-cyan);
}

/* --- Airport Hub Chips Selector (profile hub picker) --- */
.airport-chips-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.airport-chip {
  padding: 12px 8px;
  background: linear-gradient(150deg, var(--surface-card-elevated), var(--surface-card));
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  box-shadow: 0 5px 0 rgba(10, 18, 34, 0.9), 0 9px 18px rgba(3, 8, 18, 0.4), inset 1px 1px 1px rgba(190, 215, 250, 0.14);
}

.airport-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(10, 18, 34, 0.9), 0 13px 24px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
}

.airport-chip.active {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.34), rgba(56, 189, 248, 0.12)), var(--surface-card);
  border-color: var(--border-cyan);
  color: var(--accent-cyan);
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(12, 74, 110, 0.8), var(--clay-pressed), 0 0 16px rgba(56, 189, 248, 0.2);
}

.chip-code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.chip-country {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.airport-chip.active .chip-country {
  color: var(--accent-cyan);
}

@media (max-width: 1024px) {
  .airport-chips-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .airport-chips-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Hub chips (profile hub picker) --- */
#hub-chips-grid .airport-chip {
  padding: 9px 4px;
}

/* --- Profile: My Hub identity strip --- */
.hub-identity-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.06)), var(--surface-card);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan);
  max-width: fit-content;
  flex-wrap: wrap;
  box-shadow: 0 6px 0 rgba(12, 74, 110, 0.6), 0 12px 24px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(200, 240, 255, 0.25);
}

.hub-identity-strip.hub-unset {
  background: linear-gradient(150deg, rgba(248, 113, 113, 0.2), rgba(248, 113, 113, 0.06)), var(--surface-card);
  border-color: var(--status-red-border);
  color: var(--status-red);
  box-shadow: 0 6px 0 rgba(127, 29, 29, 0.6), 0 12px 24px rgba(3, 8, 18, 0.45), inset 1px 1px 1px rgba(255, 220, 220, 0.25);
}

.hub-identity-code {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.hub-identity-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* --- Leaderboard Hall of Fame Podium — 3D stage --- */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
  perspective: 1100px;
}

.podium-card {
  background: linear-gradient(160deg, var(--surface-card-elevated) 0%, var(--surface-card) 80%);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--clay-raised-lg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.podium-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.podium-card.rank-1 {
  transform: translateY(-14px);
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.2) 0%, var(--surface-card) 70%);
  box-shadow: var(--clay-raised-lg), 0 0 34px rgba(245, 158, 11, 0.22);
}

.podium-card.rank-1:hover {
  transform: translateY(-22px) scale(1.03);
}

.podium-card.rank-2 {
  transform: translateY(-6px) perspective(900px) rotateY(4deg);
  border-color: rgba(165, 184, 212, 0.35);
  background: linear-gradient(160deg, rgba(165, 184, 212, 0.14) 0%, var(--surface-card) 70%);
}

.podium-card.rank-2:hover {
  transform: translateY(-14px) perspective(900px) rotateY(4deg) scale(1.02);
}

.podium-card.rank-3 {
  transform: translateY(-6px) perspective(900px) rotateY(-4deg);
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(160deg, rgba(217, 119, 6, 0.12) 0%, var(--surface-card) 70%);
}

.podium-card.rank-3:hover {
  transform: translateY(-14px) perspective(900px) rotateY(-4deg) scale(1.02);
}

.podium-crown {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rank-1 .podium-crown {
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.4), rgba(245, 158, 11, 0.16));
  color: var(--accent-amber-light);
  box-shadow: 0 4px 0 rgba(120, 70, 4, 0.7), inset 1px 1px 1px rgba(255, 230, 170, 0.4);
}

.rank-2 .podium-crown {
  background: var(--status-neutral-bg);
  color: var(--status-neutral);
  box-shadow: 0 4px 0 rgba(10, 18, 34, 0.7), inset 1px 1px 1px rgba(220, 235, 255, 0.25);
}

.rank-3 .podium-crown {
  background: var(--status-amber-bg);
  color: #d97706;
  box-shadow: 0 4px 0 rgba(10, 18, 34, 0.7), inset 1px 1px 1px rgba(255, 230, 170, 0.3);
}

.podium-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-active), var(--surface-panel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-amber);
  box-shadow: var(--clay-raised), inset 1px 1px 1px rgba(190, 215, 250, 0.22);
  animation: floatBob 4.5s ease-in-out infinite;
}

.podium-card.rank-1 .podium-avatar {
  width: 70px;
  height: 70px;
  font-size: 24px;
  border: 2px solid rgba(245, 158, 11, 0.6);
  animation-delay: 0.4s;
}

.podium-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
}

.podium-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-amber);
  text-shadow: 0 3px 0 rgba(10, 18, 34, 0.8);
}

.podium-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

/* Empty State */
.empty-state {
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.empty-radar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, var(--surface-card-elevated), var(--surface-panel));
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: var(--clay-raised), inset 1px 1px 1px rgba(190, 215, 250, 0.16);
  animation: floatBob 4s ease-in-out infinite;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.empty-desc {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 440px;
}

/* --- Clay Modals --- */
.error-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(150deg, rgba(248, 113, 113, 0.2), rgba(248, 113, 113, 0.08));
  border: 1px solid var(--status-red-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13px;
  color: var(--status-red);
  box-shadow: var(--clay-inset);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  inset: 0;
  background: rgba(6, 11, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: auto;
  background: linear-gradient(150deg, var(--surface-card-elevated) 0%, var(--surface-panel) 90%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
  box-shadow: 22px 26px 60px rgba(3, 8, 18, 0.7), -8px -8px 22px rgba(150, 185, 240, 0.08), inset 1px 1px 2px rgba(190, 215, 250, 0.2);
  animation: clayPop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-sizing: border-box;
  /* Sleek, theme-matched modal scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 180, 230, 0.28) transparent;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.modal-card::-webkit-scrollbar {
  width: 6px;
}

.modal-card::-webkit-scrollbar-track {
  background: transparent;
  margin: 16px 0; /* Keeps thumb safely away from rounded card corners */
}

.modal-card::-webkit-scrollbar-thumb {
  background: rgba(148, 180, 230, 0.26);
  border-radius: 999px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Compact element rhythms inside modals to minimize unnecessary scrolling */
.modal-card .form-field {
  margin-bottom: 0;
}

.modal-card .form-label {
  margin-bottom: 4px;
  font-size: 11px;
}

.modal-card .form-input,
.modal-card select.form-input {
  padding: 8px 12px;
  font-size: 13px;
}

.modal-card .config-btn {
  padding: 9px 12px;
  font-size: 12px;
}

.modal-card .qty-btn {
  padding: 8px 0;
  font-size: 13px;
}

.modal-card .tier-card-btn {
  padding: 8px 10px;
}

/* --- Clay Airplane Page Loader --- */
.plane-loader-stage {
  position: fixed;
  bottom: 18px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 300;
  pointer-events: none;
  overflow: hidden;
  /* Self-dismissing: page is clearly "loaded" once the plane departs */
  animation: loaderStageOut 2.6s ease-in forwards;
}

/* Skip replay on subsequent pages within the same session.
   Applied pre-paint via inline <head> script on <html>. */
:root.loader-skip .plane-loader-stage {
  display: none;
  animation: none;
}

.plane-loader-stage.loader-skip {
  display: none;
  animation: none;
}

@keyframes loaderStageOut {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.plane-loader-stage .loader-plane {
  position: absolute;
  bottom: 8px;
  left: 0;
  color: var(--accent-amber-light);
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.4));
  animation: spinnerPlane 3.2s cubic-bezier(0.45, 0, 0.4, 1) infinite;
}

.plane-loader-stage .loader-runway {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 3px;
  background-image: linear-gradient(90deg, rgba(190, 215, 250, 0.4) 55%, transparent 45%);
  background-size: 46px 3px;
  border-radius: var(--radius-pill);
  animation: runwayDash 0.7s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hud-telemetry { display: none; }
  .ops-header-container { padding: 0 16px; height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .main-content { padding: 20px 14px 56px; }
  .podium-grid { grid-template-columns: 1fr; }
  .podium-card, .podium-card.rank-1, .podium-card.rank-2, .podium-card.rank-3 { transform: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .tier-selector-grid { grid-template-columns: 1fr; }
  .route-cards-grid { grid-template-columns: 1fr; }
  .modal-overlay { padding: 16px 12px; }
  .modal-card { padding: 20px; max-height: calc(100vh - 24px); }
  .board-table { border-spacing: 0 8px; padding: 0 8px 8px; }
  .board-table td { padding: 12px; font-size: 12px; }
  .plane-loader-stage { display: none; }
}

/* Disable motion per user preference */
@media (prefers-reduced-motion: reduce) {
  .stat-card:hover, .podium-card:hover, .podium-card.rank-1,
  .podium-card.rank-2, .podium-card.rank-3,
  .board-table tbody tr:hover td { transform: none; }
  .podium-avatar, .empty-radar { animation: none; }
  .status-pill.overdue { animation: none; }
}

/* =========================================================
   FULL MAKEOVER LAYOUT SYSTEM — slim nav, page heroes,
   flight cards, route visuals, hangar & archive & ranks
   ========================================================= */

/* Slim status strip under nav */
.status-strip {
  max-width: 1400px;
  margin: 12px auto 0;
  padding: 0 24px 12px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  position: relative;
  z-index: 20;
  overflow: visible;
}

.status-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-strip-item strong {
  color: var(--text-primary);
}

.nav-login-btn {
  width: auto;
  padding: 10px 20px;
  font-size: 12px;
}

/* Section headings inside boards */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Themed Page Hero --- */
.page-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  background: linear-gradient(150deg, var(--surface-card-elevated) 0%, var(--surface-panel) 90%);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  box-shadow: var(--clay-raised-lg);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -70px; right: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  text-shadow: 0 3px 0 rgba(10, 18, 34, 0.85), 0 6px 18px rgba(3, 8, 18, 0.5);
}

.page-hero-accent {
  color: var(--accent-amber);
  font-size: 0.72em;
  display: inline-block;
}

.page-hero-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  max-width: 560px;
}

.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 480px;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.page-hero-stats .stat-card {
  padding: 16px 14px;
  box-shadow: var(--clay-raised);
}

.page-hero-stats .stat-value {
  font-size: 24px;
}

.quota-total {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .page-hero-stats { min-width: 0; width: 100%; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 20px; }
  .page-hero-title { font-size: 24px; }
  .page-hero-stats { grid-template-columns: 1fr; }
}

/* --- Flight Card Grid --- */
.flight-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
  padding: 18px;
}

@media (max-width: 768px) {
  .flight-card-grid { grid-template-columns: 1fr; padding: 12px; }
}

/* --- Flight Card --- */
.flight-card {
  background: linear-gradient(155deg, var(--surface-card) 0%, var(--surface-row) 100%);
  border: 1px solid rgba(190, 215, 250, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--clay-raised);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.flight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-raised-lg);
}

.flight-card.row-overdue {
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: var(--clay-raised), 0 0 20px rgba(248, 113, 113, 0.12);
}

.flight-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.flight-card-craft {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--accent-amber);
}

.flight-card-fleet {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.flight-card-pilot {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Copy-IGN button (Ops Desk queue cards) */
.copy-ign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 7px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  vertical-align: -5px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.copy-ign-btn .icon-svg {
  width: 13px;
  height: 13px;
}

.copy-ign-btn:hover {
  color: var(--accent-amber-light);
  border-color: var(--border-glow);
  background: var(--accent-amber-subtle);
}

.copy-ign-btn.copied {
  color: var(--status-green);
  border-color: var(--status-green-border);
  background: var(--status-green-bg);
}

.flight-card-sub {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.flight-card-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Destination visual (single airport chip) --- */
.dest-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-row);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--clay-inset);
  color: var(--accent-amber);
}

.dest-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dest-visual .route-role {
  margin-left: auto;
}

/* --- Route visual: FROM -> plane -> TO (legacy) --- */
.route-visual {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-row);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--clay-inset);
}

.route-endpoint {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 74px;
}

.route-code {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.route-endpoint.origin .route-code {
  color: var(--accent-cyan);
}

.route-endpoint.dest .route-code {
  color: var(--accent-amber);
}

.route-country {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.route-role {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 2px;
}

.route-line {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 24px;
}

.route-dashes {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(190, 215, 250, 0.35) 55%, transparent 45%);
  background-size: 14px 2px;
  border-radius: var(--radius-pill);
}

.route-plane {
  width: 22px;
  height: 22px;
  color: var(--accent-amber);
  margin-left: -4px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
  animation: floatBob 3.4s ease-in-out infinite;
}

/* --- Progress bar --- */
.flight-progress {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.flight-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.flight-progress-count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-amber);
}

.flight-progress-wait {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.progress-bar {
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-row);
  box-shadow: var(--clay-inset);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-amber) 0%, var(--accent-amber-light) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 240, 200, 0.5), 0 0 10px rgba(245, 158, 11, 0.35);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Flight card meta --- */
.flight-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.flight-meta-row {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}

.flight-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dispatcher-name {
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 12px;
}

.due-amber { color: var(--accent-amber); font-family: var(--font-mono); font-size: 12px; }
.due-red { color: var(--status-red); font-family: var(--font-mono); font-size: 12px; }

.dispatch-log-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
}

.flight-note {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  border-left: 3px solid var(--border-subtle);
  padding-left: 10px;
}

/* Dispatch closed banner (dashboard flight card) */
.closed-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(150deg, rgba(248, 113, 113, 0.16), rgba(248, 113, 113, 0.06));
  border: 1px solid var(--status-red-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--status-red);
  box-shadow: var(--clay-inset);
}

/* Guest request confirmation */
.guest-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.07));
  border: 1px solid var(--status-green-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13px;
  color: var(--status-green);
  box-shadow: var(--clay-inset);
}

.guest-success a {
  color: var(--accent-amber);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.flight-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px dashed var(--border-subtle);
}

.action-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-muted {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* View More / Show Less (list pagination) */
.btn-view-more {
  display: block;
  margin: 14px auto 18px;
  padding: 9px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-amber);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--clay-inset);
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-view-more:hover {
  color: var(--accent-amber-light);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

/* --- Hangar cards --- */
.hangar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 18px;
}

@media (max-width: 768px) {
  .hangar-grid { grid-template-columns: 1fr; padding: 12px; }
}

.hangar-card {
  background: linear-gradient(155deg, var(--surface-card) 0%, var(--surface-row) 100%);
  border: 1px solid rgba(190, 215, 250, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--clay-raised);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.hangar-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--clay-raised-lg);
}

.hangar-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-amber);
}

.hangar-card-title {
  display: flex;
  flex-direction: column;
}

.hangar-tail {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.hangar-model {
  font-size: 11px;
  color: var(--text-secondary);
}

.hangar-card-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hangar-card-status {
  display: flex;
}

.hangar-note {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  border-left: 3px solid var(--border-subtle);
  padding-left: 10px;
}

.hangar-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
}

/* --- Archive timeline --- */
.archive-timeline {
  position: relative;
  padding: 20px 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.archive-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background-image: linear-gradient(180deg, rgba(190, 215, 250, 0.25) 55%, transparent 45%);
  background-size: 2px 16px;
}

.archive-card {
  position: relative;
  display: flex;
  gap: 14px;
  background: linear-gradient(155deg, var(--surface-card) 0%, var(--surface-row) 100%);
  border: 1px solid rgba(190, 215, 250, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--clay-raised);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.archive-card:hover {
  transform: translateX(4px);
  box-shadow: var(--clay-raised-lg);
}

.archive-card.on-time .archive-dot { background: var(--status-green); box-shadow: var(--status-green-glow); }
.archive-card.late .archive-dot { background: var(--status-red); box-shadow: var(--status-red-glow); }

.archive-dot {
  position: absolute;
  left: -20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--surface-panel);
}

.archive-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-pilot {
  display: flex;
  flex-direction: column;
}

.archive-route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .archive-timeline { padding: 16px 12px 16px 22px; }
  .archive-dot { left: -16px; }
}

/* --- Rank cards grid --- */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 18px;
}

@media (max-width: 768px) {
  .rank-grid { grid-template-columns: 1fr; padding: 12px; }
}

.rank-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(155deg, var(--surface-card) 0%, var(--surface-row) 100%);
  border: 1px solid rgba(190, 215, 250, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--clay-raised);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-raised-lg);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-secondary);
}

.rank-num.gold { color: var(--accent-amber); text-shadow: 0 0 14px rgba(245, 158, 11, 0.4); }
.rank-num.silver { color: #94a3b8; }
.rank-num.bronze { color: #d97706; }

.rank-pilot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rank-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--surface-row);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--clay-inset);
}

.rank-stat-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.rank-stat-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- Nav single-line progressive shrink --- */
.brand-section {
  flex-shrink: 0;
}

.user-profile-section {
  flex-shrink: 0;
  min-width: 0;
}

.user-avatar-pill {
  flex-shrink: 0;
}

@media (max-width: 1380px) {
  .ops-nav { gap: 4px; }
  .nav-link { padding: 7px 9px; font-size: 10px; gap: 4px; letter-spacing: 0.02em; }
  .ops-header-container { gap: 8px; }
}

@media (max-width: 1150px) {
  .brand-subtitle { display: none; }
  .brand-title { font-size: 14px; }
  .btn-signout { padding: 7px 10px; font-size: 10px; }
  .user-avatar-pill { padding: 4px 10px 4px 5px; }
}

@media (max-width: 980px) {
  .nav-link { padding: 7px 7px; gap: 3px; }
  .user-avatar-pill .user-meta { display: none; }
  .ops-header-container { padding: 0 8px; }
}

@media (max-width: 768px) {
  .ops-header-container { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .ops-nav { order: 3; width: 100%; justify-content: flex-start; }
}

/* =========================================================
   DEPARTURES BOARD (FIDS) — airport split-flap screen
   ========================================================= */
.fids-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.fids-header {
  background: linear-gradient(180deg, #101828 0%, #0a0f1a 100%);
  border: 2px solid #233047;
  border-radius: var(--radius-md);
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(120, 150, 200, 0.12);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.fids-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.fids-title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ffb020;
  text-shadow: 0 0 18px rgba(255, 176, 32, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
}

.fids-title .fids-plane {
  color: #ffb020;
  filter: drop-shadow(0 0 8px rgba(255, 176, 32, 0.5));
}

.fids-clock {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffb020;
  text-shadow: 0 0 14px rgba(255, 176, 32, 0.4);
}

.fids-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #5b6b85;
  text-align: center;
  margin-bottom: 14px;
}

/* Hub filter chips */
.fids-filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 6px;
  scrollbar-width: none;
}

.fids-filters::-webkit-scrollbar { display: none; }

.fids-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8fa3c0;
  background: #131c2e;
  border: 1px solid #233047;
  border-radius: var(--radius-xs);
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.fids-chip:hover {
  color: #ffd27a;
  border-color: #3a4a68;
}

.fids-chip.active {
  color: #0a0f1a;
  background: #ffb020;
  border-color: #ffb020;
  box-shadow: 0 0 14px rgba(255, 176, 32, 0.35);
}

/* The board itself */
.fids-board {
  background: #060a12;
  border: 2px solid #1b2740;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), inset 0 0 60px rgba(10, 18, 34, 0.5);
  position: relative;
}

.fids-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 5;
}

.fids-row {
  display: grid;
  grid-template-columns: 110px 150px 150px 160px 150px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid #101828;
  font-family: var(--font-mono);
  min-height: 52px;
  position: relative;
  z-index: 2;
}

.fids-row.fids-head {
  background: #0d1422;
  color: #5b6b85;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  min-height: 0;
  padding: 10px 20px;
}

.fids-row:not(.fids-head) {
  font-size: 13px;
  color: #d7e2f2;
  animation: fidsFlipIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fids-row:hover:not(.fids-head) {
  background: rgba(255, 176, 32, 0.03);
}

@keyframes fidsFlipIn {
  0% { opacity: 0; transform: perspective(600px) rotateX(55deg) translateY(-6px); }
  100% { opacity: 1; transform: perspective(600px) rotateX(0) translateY(0); }
}

.fids-code {
  color: #ffb020;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.fids-new {
  font-size: 8px;
  font-weight: 800;
  color: #0a0f1a;
  background: #ffb020;
  padding: 2px 5px;
  border-radius: 3px;
  animation: fidsBlink 1s steps(2, start) infinite;
}

@keyframes fidsBlink {
  50% { opacity: 0.25; }
}

.fids-hub {
  color: #d7e2f2;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.fids-hub small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #5b6b85;
  letter-spacing: 0.04em;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fids-craft {
  color: #9fb3d1;
  white-space: nowrap;
}

.fids-by {
  color: #6ee7c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fids-status {
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.fids-status.scheduled { color: #8fa3c0; }
.fids-status.assigned { color: #6cb8f5; }
.fids-status.loading { color: #ffd27a; }
.fids-status.departed { color: #6ee7c8; }
.fids-status.arrived { color: #6ee7c8; }
.fids-status.arrived-late { color: #f5a26c; }
.fids-status.final { color: #b08bff; }
.fids-status.delayed {
  color: #ff5c5c;
  text-shadow: 0 0 12px rgba(255, 92, 92, 0.45);
  animation: fidsBlink 1.2s steps(2, start) infinite;
}

.fids-info {
  color: #5b6b85;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fids-empty {
  padding: 60px 24px;
  text-align: center;
  font-family: var(--font-mono);
  color: #5b6b85;
  letter-spacing: 0.14em;
  font-size: 12px;
}

@media (max-width: 900px) {
  .fids-row {
    grid-template-columns: 92px 1fr 110px 1fr;
    gap: 8px;
    padding: 11px 14px;
  }
  .fids-craft, .fids-by { display: none; }
  .fids-title { font-size: 14px; letter-spacing: 0.12em; }
  .fids-clock { font-size: 16px; }
}

/* =========================================================
   MOBILE POLISH — hamburger nav, tap targets, iOS inputs
   (appended last on purpose: these rules win the cascade)
   ========================================================= */

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: linear-gradient(145deg, var(--surface-card-elevated), var(--surface-panel));
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--clay-raised);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-amber);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link-mobile-only { display: none; }

/* POST logout forms (top-right button + mobile nav panel row) */
.signout-form { display: inline-flex; margin: 0; }

.nav-signout-form { width: 100%; }

.nav-signout-btn {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 900px) {
  /* Header: single row — brand | (avatar) | hamburger */
  .ops-header-container {
    flex-wrap: nowrap;
    height: 64px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-toggle { display: inline-flex; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav becomes a slide-down panel of big tap targets */
  .ops-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, rgba(23, 37, 63, 0.98), rgba(15, 24, 42, 0.98));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 24px 40px rgba(3, 8, 18, 0.6);
    overflow: visible;
    z-index: 99;
  }

  .ops-nav.open { display: flex; }

  .ops-nav .nav-link {
    padding: 14px 16px;
    font-size: 12.5px;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  .ops-nav .nav-link.active {
    background: var(--accent-amber-subtle);
    color: var(--accent-amber-light);
  }

  .nav-link-mobile-only { display: flex; }

  .user-profile-section .user-meta { display: none; }
  .user-profile-section .btn-signout { display: none; }
  .user-avatar-pill { padding: 5px; }
}

@media (max-width: 768px) {
  /* iOS: 16px inputs prevent focus auto-zoom */
  input.form-input,
  select.form-input,
  textarea.form-input {
    font-size: 16px;
  }

  /* Comfortable tap targets */
  .filter-tabs { flex-wrap: wrap; }
  .filter-tab { padding: 10px 14px; }
  .qty-btn,
  .dispatch-qty-btn,
  .btn-primary-action,
  .btn-action-assign,
  .btn-action-send,
  .btn-action-help,
  .btn-action-cancel,
  .btn-action-release,
  .btn-action-edit,
  .btn-action-delete {
    min-height: 44px;
  }

  /* Notch-safe horizontal padding */
  .main-content {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  /* Staff ops: queue card actions get room */
  .flight-card-actions { gap: 10px; }
  .flight-card-actions .action-stack { width: 100%; }
  .flight-card-actions .action-row { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  /* Departures board: FLIGHT | AIRPORT | STATUS | INFO
     (fixes head/data column mismatch from the old 900px block) */
  .fids-row {
    grid-template-columns: 78px minmax(70px, 1fr) 96px minmax(90px, 1.4fr);
    gap: 8px;
    padding: 11px 12px;
  }
  .fids-row .fids-craft,
  .fids-row .fids-by,
  .fids-row.fids-head span:nth-child(3),
  .fids-row.fids-head span:nth-child(4) {
    display: none;
  }
  .fids-header { padding: 16px 16px 10px; }
}


/* Status sub-filter chips (Ops Desk queue) */
.queue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 20px;
}

.queue-filters .fids-chip {
  cursor: pointer;
  text-decoration: none;
}

/* Empty-queue hint when a live status filter matches nothing */
.queue-empty-note {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  padding: 26px 0;
}

/* Renewal request tag (queue + dashboard cards) */
.dispatch-tag.renewal {
  background: var(--status-green-bg);
  border-color: var(--status-green-border);
  color: var(--status-green);
}

/* Renewal checkbox on the request form */
.renewal-check-field { margin-top: 2px; }

.renewal-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.renewal-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.renewal-check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.renewal-check input:checked + .renewal-check-box {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  box-shadow: var(--status-amber-glow);
}

.renewal-check input:checked + .renewal-check-box::after {
  content: "✓";
  color: #1a1206;
  font-size: 15px;
  font-weight: 700;
}

.renewal-check input:focus-visible + .renewal-check-box {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* In-server tier hint under the quota summary */
.quota-tier-hint {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.quota-tier-hint strong {
  color: var(--accent-cyan);
}

/* Discord Server Member option radios */
.dc-option-label {
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dc-option-label:hover {
  border-color: var(--border-focus) !important;
}
.dc-option-label:has(input:checked) {
  border-color: var(--accent-amber) !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

/* ---- Hangar modal: catalogue/custom tabs + fleet picker ---- */
.modal-tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.modal-tab {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(165, 184, 212, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(165, 184, 212, 0.18);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  cursor: pointer;
}

.modal-tab.active {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.modal-tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.fleet-picker {
  max-height: 220px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid rgba(165, 184, 212, 0.18);
  border-radius: var(--radius-xs);
}

.fleet-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(165, 184, 212, 0.08);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.fleet-pick-row:hover {
  background: rgba(56, 189, 248, 0.08);
}

.fleet-pick-row.selected {
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-amber-light);
}

.fleet-pick-code {
  font-weight: 800;
  min-width: 48px;
}

.fleet-pick-name {
  flex: 1;
}

.fleet-pick-empty {
  padding: 14px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

#fleet-selected-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.fleet-hub-locked {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(165, 184, 212, 0.3);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.fleet-hub-locked strong {
  color: var(--accent-cyan);
}

.fleet-qty-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Hub bar above the hangar cards: filter + add-target selector */
.hangar-hub-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px;
  margin: 14px 0 18px;
}

/* Compact pills — override the clay-card .airport-chip base */
.hangar-hub-bar .hub-filter-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(165, 184, 212, 0.22);
  background: var(--surface-card);
  color: var(--text-primary);
  box-shadow: none;
  text-decoration: none;
  font-family: var(--font-mono);
  cursor: pointer;
}

.hangar-hub-bar .hub-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: none;
}

.hangar-hub-bar .hub-filter-chip.active {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.12));
  border-color: var(--border-cyan);
  color: var(--accent-cyan);
  transform: none;
  box-shadow: none;
}

.hangar-hub-bar .hub-filter-chip .chip-code {
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.hub-filter-count {
  color: var(--accent-amber);
  font-weight: 800;
  font-size: 11px;
}

.hangar-hub-bar .hub-filter-chip.active .hub-filter-count {
  color: var(--accent-cyan);
}

.hangar-qty {
  color: var(--accent-amber);
  font-weight: 800;
}

/* ---- Fleet Catalog admin console ---- */
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}

.catalog-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(165, 184, 212, 0.2);
}

.catalog-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(165, 184, 212, 0.08);
  color: var(--text-primary);
}

.catalog-row-retired td {
  opacity: 0.45;
}

.catalog-yes {
  color: var(--status-green);
  font-weight: 800;
}

.catalog-no {
  color: var(--text-muted);
}

.catalog-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- Fleet Catalog add/edit form ---- */
.catalog-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.catalog-form-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.catalog-form-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 240px;
  gap: 14px;
  align-items: end;
}

.catalog-form-row .form-field {
  margin-bottom: 0;
}

#catalog-code-input {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-label-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-config-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-config-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.catalog-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(165, 184, 212, 0.22);
  border-radius: var(--radius-xs);
  background: var(--surface-card);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.catalog-check input {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.catalog-check:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
}

.catalog-check-active:has(input:checked) {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.1);
  color: var(--status-green);
}

.catalog-form-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .catalog-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-field-name {
    grid-column: 1 / -1;
  }

  /* Hangar hub bar: one-finger scroll strip instead of wrapping 19 pills */
  .hangar-hub-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 14px;
  }

  .hangar-hub-bar::-webkit-scrollbar { display: none; }

  .hangar-hub-bar .hub-filter-chip { flex: 0 0 auto; }

  /* Fleet catalogue picker stays a peek window on short screens */
  .fleet-picker { max-height: 30vh; }

  /* Catalogue table becomes stacked cards */
  .catalog-table thead { display: none; }

  .catalog-table,
  .catalog-table tbody { display: block; width: 100%; }

  .catalog-table tr {
    display: block;
    border: 1px solid rgba(165, 184, 212, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(3, 8, 18, 0.25);
    padding: 8px 12px;
    margin-bottom: 10px;
  }

  .catalog-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: none;
    padding: 5px 0;
  }

  .catalog-table td::before {
    content: attr(data-label);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }

  .catalog-table td:not([data-label])::before { content: none; }

  .catalog-table .catalog-actions { justify-content: flex-end; padding-top: 6px; }
}
