/* RUDX Satin (16.11.2026) – the look of the app's keys on the web portals (admin, club, business).
   Loaded after the portal's own stylesheet. Keys: SoftKeySurface (#23262C → #111316, light from above, hard shadow);
   fields: SatinWell (#070809 → #0E1013, recessed). Red stays for the one main button and emergencies only. */
:root {
  --satin-top: #23262c;
  --satin-bottom: #111316;
  --well-top: #070809;
  --well-bottom: #0e1013;
  --sand: #d9a05b;
  --page: #0a0b0d;
  --satin-face: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 60%), linear-gradient(180deg, var(--satin-top), var(--satin-bottom));
  --satin-rim: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  --satin-shadow: 0 6px 14px rgba(0, 0, 0, 0.85);
  --well-face: linear-gradient(180deg, var(--well-top), var(--well-bottom));
  --well-rim: inset 0 1px 0 rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.08), inset 0 2px 6px rgba(0, 0, 0, 0.7);
}
body { background: var(--page); }

/* ---------- Keys ---------- */
.actions button, .pick button, table.t button, .rep button, .lead button, .ride .acts button, .event .acts button,
.btn-ghost, .header .who button, .file-btn, .toolbar button:not(.btn-red), .web-toggle, dialog.sheet .head .x,
.sat-key, .back {
  background: var(--satin-face); color: var(--text); border: 0; box-shadow: var(--satin-rim), var(--satin-shadow);
  border-radius: 14px; transition: transform 0.08s, filter 0.15s;
}
.back { padding: 8px 14px; font-size: 14px; }
.actions button:hover, .pick button:hover, table.t button:hover, .rep button:hover, .lead button:hover, .ride .acts button:hover,
.event .acts button:hover, .btn-ghost:hover, .header .who button:hover, .file-btn:hover, .toolbar button:not(.btn-red):hover,
.web-toggle:hover, dialog.sheet .head .x:hover, .sat-key:hover, .back:hover { filter: brightness(1.18); border: 0; }
.actions button:active, .pick button:active, table.t button:active, .rep button:active, .lead button:active, .ride .acts button:active,
.event .acts button:active, .btn-ghost:active, .header .who button:active, .file-btn:active, .toolbar button:active,
.web-toggle:active, .sat-key:active, .back:active { transform: translateY(1px); box-shadow: var(--satin-rim), 0 2px 6px rgba(0, 0, 0, 0.8); }
.actions button.ok { color: var(--green); }
.actions button.warn, .post .del { color: var(--amber); }
.btn-red { background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(180deg, #e0362f, #a91b17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.5), var(--satin-shadow); border: 0; border-radius: 14px; }
.btn-red:hover { filter: brightness(1.08); background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(180deg, #e0362f, #a91b17); }
.sat-key.gold { color: var(--sand); }

/* ---------- Surfaces (cards, panels) ---------- */
.group-card, .card-ui, .panel, .kpi, .login-card, .composer, .st, .sat-card {
  background: var(--satin-face); border: 0; box-shadow: var(--satin-rim), var(--satin-shadow); border-radius: 22px;
}
.group-card:hover { filter: brightness(1.1); border: 0; }
.st { border-radius: 14px; }

/* ---------- Wells (fields, segmented controls, bars) ---------- */
.f input, .f select, .f textarea, .composer textarea, .search, .team-news-form input, .team-news-form textarea,
.view select, select, .sat-field {
  background-color: var(--well-bottom); background-image: var(--well-face); border: 0; box-shadow: var(--well-rim); border-radius: 14px; color: var(--text);
}
.f select, select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%), var(--well-face);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%, 0 0; background-size: 6px 6px, 6px 6px, 100% 100%; background-repeat: no-repeat; padding-right: 40px; }
.f input:focus, .f select:focus, .f textarea:focus, .composer textarea:focus, .search:focus, .sat-field:focus { box-shadow: var(--well-rim), 0 0 0 2px rgba(217, 160, 91, 0.45); border: 0; outline: none; }
.seg, .period, .web-period, .tabs, .sat-bar { background: var(--well-face); border: 0; box-shadow: var(--well-rim); border-radius: 16px; padding: 4px; }
.seg button.on, .period button.on, .web-period button.on, .tabs button[aria-selected="true"], .sat-bar button.on {
  background: var(--satin-face); color: var(--text); box-shadow: var(--satin-rim), 0 3px 8px rgba(0, 0, 0, 0.8); font-weight: 600;
}
.tabs { display: flex; gap: 4px; border-bottom: 0; overflow-x: auto; }
.tabs button { border-bottom: 0; border-radius: 12px; padding: 9px 14px; white-space: nowrap; flex: none; }
.tabs button[aria-selected="true"] { border-bottom: 0; color: #fff; }
.storage .bar, .funnel .bar, .web-bar .track { background: var(--well-face); box-shadow: var(--well-rim); }
.switch input { background: var(--well-face); border: 0; box-shadow: var(--well-rim); }
.switch input::after { background: linear-gradient(180deg, #4a4e56, #2a2d33); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); }
.switch input:checked { background: linear-gradient(180deg, #2f9e5d, #3fd17a); border: 0; }
.switch input:checked::after { background: linear-gradient(180deg, #fff, #d8dce2); }

/* ---------- Pills, sheet, header ---------- */
.pill, .tag { background: var(--well-face); box-shadow: var(--well-rim); border: 0; }
dialog.sheet { background: var(--page); border: 0; box-shadow: var(--satin-rim), 0 40px 120px rgba(0, 0, 0, 0.7); }
.header { background: rgba(10, 11, 13, 0.86); }
.code { color: var(--text); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8); }
.avatar, .g-logo, .group-card .logo, .glogo { box-shadow: var(--satin-rim), 0 3px 8px rgba(0, 0, 0, 0.7); border: 0; }
.header .brand img { width: 28px; height: 28px; border-radius: 7px; display: block; flex: none; }
.rights input[type="checkbox"], input[type="checkbox"] { accent-color: var(--sand); }
.pick .prev { background-color: var(--well-bottom); box-shadow: var(--well-rim); border: 0; }
