/* Charte Let's Vox : couleurs relevées sur web/asset/logo-lv.png et la maquette */
:root {
  --bg: #262626;          /* fond du logo et de la maquette */
  --surface: #2e2e2e;
  --surface-2: #363636;
  --border: #444;
  --gold: #b09006;        /* or des ondes du logo */
  --gold-hover: #c9a608;
  --text: #f2f2f2;
  --muted: #a0a0a0;
  --danger: #e5534b;
  --radius: 10px;
}

* { box-sizing: border-box; }

/* Un élément « hidden » reste caché même si une règle lui donne un display */
[hidden] { display: none !important; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

/* ---------- En-tête ---------- */
.site-header {
  display: flex;
  justify-content: center;
  padding: 28px 16px 8px;
}
.logo { width: 100px; height: 100px; }

/* ---------- Contenu ---------- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.intro { text-align: center; margin-bottom: 24px; }
.intro h1 { margin: 8px 0; font-size: 1.8rem; }
.intro p { margin: 0; color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 20px;
}
.card legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
}

.field { margin-top: 18px; }
.field:first-of-type { margin-top: 4px; }

label, .label { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--gold); }
.opt { color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.card > .hint { margin-top: 0; }

input[type="text"], input[type="date"], textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 144, 6, .25);
}
.invalid { border-color: var(--danger) !important; }

/* ---------- Choix Oui / Non ---------- */
.toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.toggle label { margin: 0; font-weight: 500; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: block; padding: 6px 22px; transition: background .15s; }
.toggle input:checked + span { background: var(--gold); color: #1a1a1a; }
.toggle input:focus-visible + span { outline: 2px solid var(--gold-hover); outline-offset: -2px; }
.toggle label:not(:last-child) span { border-right: 1px solid var(--border); }

.conditional {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

/* ---------- Choix multiples (type de projet) ---------- */
.hint-top { margin: -2px 0 8px; }
.sub-field { margin-top: 12px; }
.sub-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background .15s, border-color .15s;
}
.chips span::before { content: "+ "; color: var(--muted); }
.chips label:hover span { border-color: var(--gold); }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: #1a1a1a; }
.chips input:checked + span::before { content: "✓ "; color: inherit; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-hover); outline-offset: 2px; }
.chips.invalid span { border-color: var(--danger); }

/* ---------- Listes déroulantes ---------- */
.select-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.select-field { flex: 1 1 140px; min-width: 0; }
.select-field label { font-size: .9rem; }

select {
  width: 100%;
  padding: 9px 34px 9px 12px;
  background-color: var(--bg);
  /* flèche dorée dessinée en SVG pour remplacer celle du navigateur */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b09006' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
  appearance: none;
}
select:invalid, select:has(option[value=""]:checked) { color: var(--muted); }
select option { color: var(--text); background: var(--surface); }
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 144, 6, .25);
}

/* ---------- Personnages ---------- */
.personnage {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 14px;
}
.personnage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.personnage-title { font-weight: 700; color: var(--gold); }
.personnage-body { display: flex; gap: 16px; align-items: flex-start; }
.personnage-fields { flex: 1; min-width: 0; }
.personnage-fields .field:first-child { margin-top: 0; }

.image-drop {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
}
.image-drop:hover, .image-drop:focus-within { border-color: var(--gold); color: var(--gold); }
.image-drop input { position: absolute; opacity: 0; pointer-events: none; }
.image-preview { width: 100%; height: 100%; object-fit: cover; }
.image-drop-wide { width: 100%; height: 180px; flex-basis: auto; }
.image-drop-wide .image-preview { object-fit: contain; }
.image-col { flex: 0 0 120px; }
.image-clear { margin-top: 8px; }
.image-preview:not([hidden]) + .image-placeholder { display: none; }

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.btn-secondary:hover { background: rgba(176, 144, 6, .1); }

.btn-remove {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.btn-remove:hover { color: var(--danger); border-color: var(--danger); }

/* ---------- Erreurs ---------- */
.errors {
  background: rgba(229, 83, 75, .12);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.errors ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- Confirmation ---------- */
.success { text-align: center; border-color: var(--gold); padding: 32px 20px; }
.success h1 { margin: 0 0 8px; color: var(--gold); }
.success p { margin: 0; color: var(--muted); }

/* ---------- Actions ---------- */
.actions { display: flex; justify-content: flex-end; }
.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  border: 0;
  border-radius: 4px;
  padding: 12px 28px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-hover); }
.btn-primary:disabled { opacity: .6; cursor: wait; }

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  padding: 24px 16px;
  border-top: 1px solid var(--surface-2);
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .intro h1 { font-size: 1.5rem; }
  .card { padding: 16px; }
  .actions .btn-primary { width: 100%; }
  .personnage-body { flex-direction: column; align-items: stretch; }
  .image-col { flex-basis: auto; }
  .image-drop { width: 100%; flex-basis: auto; height: 160px; }
  .toggle span { padding: 6px 14px; }
}

/* ---------- Erreurs sous les champs ---------- */
.field-error {
  color: var(--danger);
  font-size: .85rem;
  margin-top: 4px;
}
.errors li a { color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Compteurs de caractères ---------- */
.counter { text-align: right; }
.counter.full { color: var(--danger); }

/* ---------- Glisser-déposer d'image ---------- */
.image-drop.dragover { border-color: var(--gold); color: var(--gold); background: rgba(176, 144, 6, .1); }

/* ---------- Brouillon et dépôt impossible ---------- */
.draft-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .9rem;
}
.btn-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.notice { border-color: var(--danger); }
.notice h2 { margin: 0 0 8px; font-size: 1.2rem; }
.notice p { margin: 0 0 8px; }
.notice ul { margin: 0; padding-left: 20px; color: var(--muted); }

/* =================== Panneau d'administration =================== */
.container-wide { max-width: 1200px; }

.login { max-width: 420px; margin: 0 auto; }
.login input { width: 100%; padding: 10px 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.login .actions { margin-top: 16px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.toolbar input[type="search"] { flex: 1 1 320px; padding: 9px 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.toolbar select { width: auto; flex: 0 0 auto; }
.toolbar input:focus { outline: none; border-color: var(--gold); }

.btn-small { width: auto; padding: 6px 12px; font-size: .9rem; display: inline-block; text-decoration: none; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); border-radius: 4px;
  padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.btn-danger:hover { background: rgba(229, 83, 75, .12); }
.btn-danger.btn-small { padding: 6px 12px; font-size: .9rem; }  /* même taille que les autres petits boutons */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; }
.castings-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.castings-table th, .castings-table td { padding: 10px 12px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--surface-2); }
.castings-table th { background: var(--surface); color: var(--gold); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .04em; white-space: nowrap; }
/* Boutons de tri : même apparence que les autres titres de colonnes */
.castings-table th .sort { appearance: none; -webkit-appearance: none; display: inline; width: auto; min-height: 0;
  margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: inherit;
  font: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit;
  white-space: nowrap; cursor: pointer; }
.castings-table th .sort::after { content: " ↕"; opacity: .4; }
.castings-table th[aria-sort="ascending"] .sort::after { content: " ▲"; opacity: 1; }
.castings-table th[aria-sort="descending"] .sort::after { content: " ▼"; opacity: 1; }
.castings-table th .sort:hover { color: var(--text); }
.castings-table tbody tr:hover { background: var(--surface); }
.castings-table td a { color: var(--text); font-weight: 600; }
.castings-table td a:hover { color: var(--gold); }
.row-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.row-actions a { color: var(--gold) !important; }
.empty { text-align: center; padding: 20px; }

.mono { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; color: var(--muted); }
.ok { color: #6cc070; white-space: nowrap; }
.warn { color: #e0a030; white-space: nowrap; cursor: help; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-valid { background: rgba(224, 160, 48, .15); color: #e0a030; }
.badge-published { background: rgba(108, 192, 112, .15); color: #6cc070; }
.badge-expired { background: var(--surface-2); color: var(--muted); }
.badge-deleted { background: rgba(229, 83, 75, .15); color: var(--danger); }

dialog.card { max-width: 480px; width: calc(100% - 32px); color: var(--text); padding: 20px; margin: auto; }  /* centrée : .card annulait le centrage du navigateur */
dialog::backdrop { background: rgba(0, 0, 0, .6); }
dialog h2 { margin: 0 0 8px; font-size: 1.15rem; }
dialog textarea { width: 100%; padding: 10px 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* =================== Fiche projet =================== */
.back-link a { color: var(--gold); }
.fiche-entete h1 { margin: 0 0 8px; }
.fiche-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted);
  font-size: .9rem; margin-bottom: 20px; }
.fiche-section h2 { margin: 0 0 12px; color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.fiche-ligne { margin: 0 0 6px; }
.fiche-texte { white-space: pre-wrap; margin: 8px 0; }
.fiche-actions { margin: 0 0 20px; }
.fiche-personnage { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--surface-2); }
.fiche-personnage:first-of-type { border-top: 0; padding-top: 0; }
.fiche-personnage h3, .fiche-technicien h3 { margin: 0 0 4px; font-size: 1.05rem; }
.fiche-technicien { padding: 10px 0; border-top: 1px solid var(--surface-2); }
.fiche-technicien:first-of-type { border-top: 0; padding-top: 0; }
.fiche-image { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; flex: 0 0 140px; }
.fiche-section ul a { color: var(--gold); word-break: break-all; }
.fiche-section > .fiche-image { width: 100%; height: auto; max-height: 360px; object-fit: contain; margin-top: 8px; }
#success .btn-secondary { margin-top: 16px; }

@media (max-width: 600px) {
  .fiche-personnage { flex-direction: column; }
  .toolbar select, .toolbar button { flex: 1 1 auto; }
}

.login h2 { margin: 0 0 8px; font-size: 1.2rem; }
.login p { margin: 0; color: var(--muted); }
.login .field-error { margin-top: 12px; }

/* ---------- Filtres et étiquettes du panneau ---------- */
.toolbar.filters { margin-top: -2px; }
.date-range { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; color: var(--muted); }
.date-range input { width: auto; padding: 8px 10px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.issue-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.tag-warn { background: rgba(224, 160, 48, .15); color: #e0a030; cursor: help; }
.errors li .tag { margin-right: 4px; }

/* ---------- Connexion Discord (formulaire) ---------- */
.btn-link-primary { display: inline-block; text-decoration: none; margin-top: 8px; }
.whoami { margin-top: 8px; }

/* ---------- Menu du compte (user-menu.js), en haut à droite ---------- */
.site-header { position: relative; }
.user-menu { position: absolute; top: 16px; right: 16px; }
.user-chip {
  display: flex; align-items: center; gap: 8px; max-width: 240px;
  padding: 4px 10px 4px 4px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; font: inherit; cursor: pointer;
}
.user-chip:hover, .user-chip[aria-expanded="true"] { border-color: var(--gold); }
.user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.chevron { color: var(--muted); font-size: .8rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); object-fit: cover; flex: none; }
.avatar-large { width: 72px; height: 72px; }
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; z-index: 10; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.user-dropdown a, .user-dropdown button {
  display: block; width: 100%; padding: 8px 10px; text-align: left; border: 0; border-radius: 6px;
  background: none; color: var(--text); font: inherit; text-decoration: none; cursor: pointer;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface-2); color: var(--gold); }
.user-handle { padding: 6px 10px 8px; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
@media (max-width: 600px) {
  .user-menu { top: 10px; right: 10px; }
  .user-name, .chevron { display: none; }   /* sur téléphone : la photo seule */
  .user-chip { padding: 3px; }
}

/* ---------- Page « Mon profil » ---------- */
.profile-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 24px; }
.profile-head h1 { margin: 0; font-size: 1.5rem; }
.profile-head .hint { margin: 2px 0 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 28px 0 8px; font-size: 1.15rem; }
.section-title h2 { margin: 0; font-size: 1.15rem; }
.section-title .btn-link-primary { margin-top: 0; padding: 8px 18px; }
.project-list { display: flex; flex-direction: column; gap: 12px; }
.project-card { margin: 0; }
.project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-top h3 { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.project-card .hint { margin: 6px 0 0; }
.project-card .row-actions { flex-wrap: wrap; margin-top: 12px; }

/* ---------- Gestion des comptes (comptes.html) ---------- */
.account { display: flex; align-items: center; gap: 10px; }
.account strong { display: block; }
.accounts-table select { padding: 6px 8px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.role-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .85rem; font-weight: 600; }
.role-user { background: var(--surface-2); color: var(--muted); }
.role-admin { background: rgba(176, 144, 6, .15); color: var(--gold); }
.role-super_admin { background: rgba(176, 144, 6, .3); color: var(--gold-hover); }
#grant-form input { flex: 1 1 220px; }

/* ---------- Pied de page et page « Confidentialité » ---------- */
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.legal .card { margin-bottom: 16px; }
.legal h2 { margin-top: 0; font-size: 1.15rem; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin-bottom: 6px; line-height: 1.5; }
.legal a, .my-data a:not(.btn-secondary) { color: var(--gold); }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--border); }
.legal-table th { width: 45%; padding-right: 12px; font-weight: 600; }
.legal-date { text-align: center; }
.notice { color: var(--gold); margin-bottom: 12px; }
.my-data .row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
dialog input[type="text"] { width: 100%; margin-top: 4px; }

/* ---------- Journal d'administration : une couleur par type d'action ---------- */
.log-casting_attribue { background: var(--surface-2); color: var(--gold); }
.log-casting_modifie { background: rgba(176, 144, 6, .15); color: var(--gold); }
.log-casting_supprime { background: rgba(229, 83, 75, .15); color: var(--danger); }
.log-role_modifie { background: rgba(176, 144, 6, .3); color: var(--gold-hover); }
.log-compte_supprime { background: rgba(229, 83, 75, .25); color: var(--danger); }
.log-purge_automatique { background: var(--surface-2); color: var(--muted); }

/* ---------- Téléphone : tableaux en cartes, zones tactiles, pas de zoom ---------- */
.mobile-only { display: none; }
@media (max-width: 600px) {
  .mobile-only { display: block; }
  /* Champs en 16 px : en dessous, l'iPhone zoome dès qu'on touche le champ */
  input, select, textarea, .accounts-table select { font-size: 16px; }
  /* Zones à toucher d'au moins ~40 px */
  .btn-link { display: inline-block; padding: 10px 4px; }
  .btn-small { padding: 9px 14px; }
  .toggle span { padding: 10px 18px; }  /* boutons Oui / Non du formulaire */

  /* Chaque ligne devient une carte ; chaque valeur est précédée du nom de sa
     colonne (data-label, posé par admin-common.js::labelCells) */
  .table-wrap { overflow: visible; border: 0; background: none; }
  .castings-table, .castings-table tbody { display: block; }
  .castings-table thead { display: block; }
  .castings-table thead tr { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 0 10px; }
  .castings-table thead th { display: none; background: none; border: 0; padding: 0; }
  /* Les colonnes triables restent : barre « trier par » au-dessus des cartes */
  .castings-table thead th[aria-sort] { display: block; }
  .castings-table thead th .sort { padding: 8px 2px; }
  .castings-table tbody tr { display: block; margin-bottom: 12px; padding: 10px 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
  .castings-table tbody tr:hover { background: var(--surface); }
  .castings-table td { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border: 0; }
  .castings-table td::before { content: attr(data-label); flex: 0 0 96px; color: var(--muted);
    font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
  .castings-table td:empty::before, .castings-table td[data-label=""]::before { content: none; }
  .castings-table td.mono::before { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
  .castings-table .row-actions { flex-wrap: wrap; }
}

/* ---------- Serveur Discord (choix au dépôt, colonnes Serveur) ---------- */
.server-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); object-fit: cover; flex: none; }
.server-choice .server-icon { width: 28px; height: 28px; }
.server-banner { display: flex; align-items: center; gap: 10px; }
.server-select-row { display: flex; align-items: center; gap: 10px; }
.server-select-row select { flex: 1 1 auto; min-width: 0; }
.server-cell { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.server-cell span { overflow-wrap: anywhere; }
.server-tag { font-size: .75rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; }
.project-server { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font-size: .85rem; }
