/* Skystar — dashboard client. Styles repris de la maquette Home (export Claude Design). */

@font-face { font-family: 'Aeonik'; src: url("fonts/aeonik-400.woff2") format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url("fonts/aeonik-500.woff2") format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url("fonts/aeonik-700.woff2") format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --jet: #121316;
  --ember: #EE6A2D;
  --page: #F3F3F0;
  --panel: #FBFAF8;
  --muted: #A29D92;
  --cream: #F1ECE3;
  --hairline: rgba(18, 19, 22, 0.14);
  --ink-soft: #6E6A62;   /* libellés et explications : gris lisible sur fond clair */
  --faint: #CFCBC3;      /* étapes à venir de la frise */

  /* Taille du plus petit texte de l'interface (mentions, sous-titres, légendes).
     La maquette utilisait 11 et 12 px ; relevé à 13 px pour la lisibilité.
     Pour agrandir encore, changer cette seule valeur. */
  --text-small: 13px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--page);
  color: var(--jet);
  font-family: 'Aeonik', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

a { color: var(--jet); }
a:hover { color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }

/* ---------- Structure : barre latérale + contenu ---------- */

.app { display: flex; min-height: 100vh; }

.sidebar {
  flex: 0 0 260px; /* 212 px de contenu + 24 px de marge de chaque côté, comme dans la maquette */
  width: 260px;
  background: var(--jet);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.sidebar__logo { margin-bottom: 48px; }
.sidebar__logo img { height: 42px; width: auto; display: block; }
.sidebar__nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar__link {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.6;
  text-decoration: none;
}
.sidebar__link:hover { color: var(--cream); opacity: 1; }
.sidebar__link.is-active { font-weight: 500; opacity: 1; background: rgba(241, 236, 227, 0.10); }
.sidebar__signout { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.sidebar__signout .sidebar__link { background: none; border: 0; font-family: inherit; text-align: left; cursor: pointer; }
/* Lien vers le site (tâche 10.14) : une sortie du dashboard, rangée avec Pricing et Sign out, pas avec les écrans. */
.sidebar__link--site { display: inline-flex; align-items: center; gap: 8px; }
.sidebar__link--site svg { flex: none; }

.main {
  flex: 1;
  min-width: 0;
  padding: 48px 72px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- En-tête de page ---------- */

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.page-head__title { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.page-head__identity { font-size: var(--text-small); line-height: 1.4; color: var(--muted); margin-top: 6px; }

.btn-primary {
  display: inline-block;
  background: var(--ember);
  color: var(--jet);
  border: 0;
  border-radius: 0;
  padding: 14px 28px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover { background: var(--jet); color: var(--cream); }

/* ---------- Bloc Total spend / Next delivery ---------- */

.summary { background: var(--panel); border: 1px solid var(--hairline); border-radius: 0; display: flex; }
.summary__col { flex: 1; min-width: 0; padding: 32px 36px; display: flex; flex-direction: column; }
.summary__rule { width: 1px; background: var(--hairline); margin: 32px 0; }

.label { font-size: 13px; line-height: 1.45; font-weight: 500; }
.note { font-size: var(--text-small); line-height: 1.4; color: var(--muted); margin-top: 14px; }

.spend__amount { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.spend__chart { margin-top: 20px; }
.spend__chart svg { display: block; }
.spend__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: var(--text-small); line-height: 1.4; color: var(--muted); }

.next__headline { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; color: var(--ember); margin-top: 14px; }
.next__headline small { font-size: var(--text-small); line-height: 1.4; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.next__headline--empty { color: var(--muted); font-weight: 500; }
.upcoming { margin-top: auto; }
.upcoming__inner { border-top: 1px solid var(--hairline); margin-top: 20px; padding-top: 16px; }
.upcoming__item { font-size: var(--text-small); line-height: 1.4; color: var(--muted); margin-top: 10px; }

/* ---------- Active orders ---------- */

.section-title { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.section-count { font-size: var(--text-small); line-height: 1.4; color: var(--muted); margin-bottom: 16px; }
.section-count .is-attention { color: var(--ember); }

.table-wrap { background: var(--panel); border: 1px solid var(--hairline); overflow-x: auto; }
.orders { width: 100%; table-layout: fixed; border-collapse: collapse; min-width: 720px; }
.orders th, .orders td { box-sizing: content-box; } /* largeurs de colonnes identiques à la maquette */
.orders th {
  text-align: left;
  padding: 14px 24px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}
/* En-têtes triables : le libellé est un bouton, suivi d'une flèche.
   Flèche discrète sur les colonnes non triées, pleine sur la colonne active. */
.sort {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.sort:hover { color: var(--jet); }
.sort__arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.35;
}
.sort:hover .sort__arrow { opacity: 0.7; }
th[aria-sort="ascending"] .sort, th[aria-sort="descending"] .sort { color: var(--jet); }
th[aria-sort="ascending"] .sort__arrow, th[aria-sort="descending"] .sort__arrow { opacity: 1; }
th[aria-sort="ascending"] .sort__arrow { border-top: 0; border-bottom: 5px solid currentColor; }

.orders thead tr { background: rgba(18, 19, 22, 0.04); border-bottom: 1px solid var(--hairline); }
.orders td { padding: 14px 24px; vertical-align: middle; font-size: 14px; line-height: 1.45; color: var(--muted); }
.orders tbody tr { border-bottom: 1px solid var(--hairline); }
.orders tbody tr:last-child { border-bottom: 0; }
.orders tbody tr[data-href] { cursor: pointer; }
.orders tbody tr[data-href]:hover { background-image: linear-gradient(rgba(18, 19, 22, 0.03), rgba(18, 19, 22, 0.03)); }

.col-airport { width: 34%; }
.col-service { width: 15%; }
.col-delivery { width: 11%; }
.col-status { width: 24%; }
.col-amount { width: 16%; }
.orders .col-amount { text-align: right; }

.order__airport { color: var(--jet); text-decoration: none; }
.order__airport:hover { color: var(--jet); }
.order__tail { color: var(--muted); }

.service { display: inline-flex; align-items: center; gap: 8px; }
.service svg { flex: none; }

/* ---------- File d'actions (maquette v2) : tableau des commandes regroupé par « qui doit agir » ----------
   Un seul signal de couleur, l'orange, réservé à ce qui attend le client. Le reste se lit par le groupe. */
.orders--queue .col-airport { width: 27.6%; }
.orders--queue .col-service { width: 18.4%; }
.orders--queue .col-delivery { width: 14.9%; }
.orders--queue .col-status { width: 23%; }
.orders--queue .col-amount { width: 16.1%; }
.orders--queue td { padding: 12px 24px; height: 36px; font-size: 14px; line-height: 1.45; color: var(--jet); }
.orders--queue tbody tr.order-row { border-bottom: 0; border-top: 1px solid var(--hairline); }

.orders tbody tr.group__head { border-bottom: 0; border-top: 1px solid var(--hairline); background: var(--page); cursor: default; }
.orders--queue tbody.group:first-of-type tr.group__head { border-top: 0; }
.group__head th { padding: 12px 24px; text-align: left; font-weight: 400; line-height: 1.45; }
.group__label { font-size: 14px; font-weight: 500; color: var(--jet); }
.group__count { margin-left: 10px; font-size: 14px; color: var(--muted); }
.group__hint { margin-left: 16px; font-size: 13px; color: var(--muted); }

.delivery__date { color: var(--jet); }
.cell-sub { font-size: 13px; line-height: 1.4; color: var(--muted); }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 13px; line-height: 1.4; font-weight: 400; white-space: nowrap;
       color: var(--jet); background: #EDECEA; border: 1px solid #EDECEA; }
.tag--todo { font-weight: 500; background: #F9E3D8; border-color: #F9E3D8; }
.tag--past { background: #FBFAF8; border-color: #DAD9D8; }

/* Les commandes annulées sont estompées et n'ont pas d'étiquette. */
.group--cancelled tr.order-row { opacity: 0.6; }

@media (max-width: 760px) {
  .orders--queue { min-width: 0; }
  .orders--queue thead { display: none; }
  .orders--queue, .orders--queue tbody, .orders--queue tr, .orders--queue td, .orders--queue th { display: block; width: auto; }
  .orders--queue tr.order-row { position: relative; padding: 14px 20px; }
  .orders--queue td { padding: 0; height: auto; }
  .orders--queue .col-amount { position: absolute; top: 14px; right: 20px; text-align: right; }
  .orders--queue .col-service, .orders--queue .col-delivery { display: inline-block; margin-top: 2px; color: var(--muted); }
  .orders--queue .col-service .service { color: var(--muted); }
  .orders--queue .col-service svg { display: none; }
  .orders--queue .col-delivery > div { display: inline; color: var(--muted); font-size: 14px; }
  .orders--queue .col-delivery::before { content: "· "; }
  .orders--queue .col-status { margin-top: 10px; }
  .orders--queue .col-status:empty { display: none; }
  .group__head th { padding-left: 20px; padding-right: 20px; }
  .group__hint { display: block; margin-left: 0; }
}

.amount { color: var(--jet); }
.amount--none { color: var(--muted); opacity: 0.6; }
.orders td.has-amount-note { padding-top: 8px; padding-bottom: 8px; }
.amount__note { font-size: var(--text-small); line-height: 1.4; color: var(--muted); }

.section-title + .empty { margin-top: 16px; }
.empty { background: var(--panel); border: 1px solid var(--hairline); padding: 28px 24px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Détail de commande (maquette « Order Detail B ») ---------- */

.main--order { padding: 48px 40px; gap: 20px; font-size: 14px; line-height: 1.45; }
.main--order a:not(.btn-action):not(.back), .main--order .linklike { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.main--order a:not(.btn-action):not(.back):hover, .main--order .linklike:hover { color: var(--jet); }
.main--order .back { align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--jet); text-decoration: none; }
.main--order .back:hover { color: var(--ember); }
.num { text-align: right; }
.only-narrow { display: none; }

.order { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }

/* Bandeau d'identité et frise : un seul panneau sur grand écran */
.identity { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--hairline); }
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.8fr); }
.band__cell { padding: 20px 24px; min-width: 0; border-right: 1px solid var(--hairline); }
.band__cell:last-child { border-right: 0; }
.band__label { font-size: 13px; color: var(--ink-soft); }
.band__value { font-size: 20px; line-height: 1.3; font-weight: 500; margin-top: 4px; overflow-wrap: anywhere; }
.band__cell:last-child .band__value { color: var(--ember); }   /* la date de livraison, comme « Next delivery » sur la Home */

.frise { list-style: none; margin: 0; padding: 28px 32px 32px; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; min-width: 0; }
.step__rail { display: flex; align-items: center; margin-right: -12px; }
.step__dot { width: 12px; height: 12px; flex: none; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--faint); background: transparent; }
.step__line { flex: 1; height: 1.5px; background: var(--faint); }
.step:last-child .step__line { background: transparent; }
.step__text { display: flex; flex-direction: column; }
.step__label { font-size: 14px; line-height: 1.35; color: var(--muted); }
.step__date { font-size: 13px; line-height: 1.4; margin-top: 2px; }
/* Le chemin parcouru est en orange : la frise se lit comme une barre de progression. */
.step.is-past .step__dot, .step.is-current .step__dot, .step.is-attention .step__dot { background: var(--ember); border-color: var(--ember); }
.step.is-past .step__line { background: var(--ember); }
.step.is-past .step__label, .step.is-current .step__label, .step.is-attention .step__label { color: var(--jet); }
.step.is-current .step__label, .step.is-attention .step__label { font-weight: 700; }

/* Devis ou facture */
.doc { background: var(--panel); border: 1px solid var(--hairline); padding: 32px; min-width: 0; display: flex; flex-direction: column; align-self: start; }
.doc__message { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; max-width: 560px; }
.doc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.doc__title { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 500; }
.doc__notice { border: 1px solid var(--hairline); background: var(--page); padding: 16px; margin-bottom: 20px; font-weight: 500; }

.ledger__head, .ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 110px 120px; }
.ledger__head { background: var(--jet); color: var(--page); padding: 10px 12px; font-size: 13px; font-weight: 500; }
.ledger__row { padding: 16px 12px; border-bottom: 1px solid var(--hairline); }
.ledger__item { min-width: 0; padding-right: 16px; }
.ledger__name { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ledger__desc { margin-top: 2px; }
.ledger__note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.ledger__note.is-extra { display: none; }
.ledger.is-explained .ledger__note.is-extra { display: block; }
.ledger__qty { margin-top: 4px; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--jet); }
.dot--ember { background: var(--ember); }

.sums { margin-left: auto; width: 56%; margin-top: 8px; }
.sums__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; padding: 12px; border-bottom: 1px solid var(--hairline); line-height: 1.3; }
.sums__row .ledger__note { grid-column: 1 / -1; line-height: 1.45; }
.sums__row.is-strong { font-weight: 500; }
.sums__row.is-strong .ledger__note { font-weight: 400; }
.sums__row:nth-last-child(2) { border-bottom-color: var(--jet); }
.sums__row.is-final { border-bottom: 0; font-size: 20px; font-weight: 700; }
.sums__row.is-final .ledger__note { font-size: 13px; font-weight: 400; }

.doc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 20px; }
.doc__foot { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

/* Colonne de droite */
.side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.action { background: var(--cream); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.action__phrase { font-size: 16px; line-height: 1.35; font-weight: 500; }
.action__accepted { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 6px; }
.action__amount { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.action__cta { display: flex; flex-direction: column; gap: 8px; }
.btn-action { display: block; box-sizing: border-box; text-decoration: none; background: var(--ember); color: var(--jet); border: 0; border-radius: 0; padding: 14px 20px; width: 100%; font: inherit; font-size: 14px; line-height: 1.45; font-weight: 500; text-align: left; cursor: pointer; }
.btn-action:hover { background: #DA5A20; }
.btn-action[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-action[disabled]:hover { background: var(--ember); }
.action__small { font-size: 13px; color: var(--ink-soft); }
.action__next { margin-top: 6px; line-height: 1.5; }
.action__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

.request { background: var(--panel); border: 1px solid var(--hairline); padding: 32px; display: flex; flex-direction: column; }
.request__title { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.request__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.request__label { font-size: 13px; color: var(--ink-soft); }
.request__note { padding-top: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.order-help { grid-column: 1 / -1; margin: 0; padding: 16px 32px 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 1250px) { .terms__body { columns: 2; } }

/* Un élément marqué « hidden » reste masqué, même s'il porte une classe qui fixe son affichage. */
[hidden] { display: none !important; }

/* Confirmation avant d'accepter un devis */
.confirm { max-width: 560px; background: var(--panel); border: 1px solid var(--hairline); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.confirm__title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; }
.confirm__rows { display: flex; flex-direction: column; }
.confirm__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.confirm__row:last-child { border-bottom: 0; font-size: 20px; font-weight: 700; }
.confirm__text { margin: 0; color: var(--ink-soft); }
.confirm form { margin: 0; }

/* Terms & Conditions : à même le fond de page, sans encadré, sur toute la largeur et en trois colonnes */
.terms { grid-column: 1 / -1; margin-top: 40px; padding: 0 32px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.terms__heading { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--jet); }
.terms__body { columns: 3; column-gap: 40px; }
.terms__clause { break-inside: avoid; margin-bottom: 14px; }
.terms__title { margin: 0 0 2px; font-size: 13px; font-weight: 500; color: var(--jet); }
.terms__clause p { margin: 0 0 6px; }

/* ---------- Écrans d'accès : Sign in, Create account, mot de passe ----------
   Repris de la maquette « Account Access v2 ». La barre latérale et le logo sont ceux de la Home. */

.main--access {
  display: block;
  padding: 96px 72px;
  background-image: radial-gradient(rgba(18, 19, 22, 0.02) 1px, transparent 1px);
  background-size: 3px 3px;
}
.access-form { max-width: 480px; display: flex; flex-direction: column; line-height: 1.5; }
.access-title { margin: 0; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.access-intro { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: rgba(18, 19, 22, 0.82); }
.access-intro strong { font-weight: 500; color: var(--jet); overflow-wrap: anywhere; }

.fields { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.fields__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field > label { font-size: 15px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"] {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 18px 20px;
  font: inherit;
  font-size: 17px;
  color: var(--jet);
}
.field > input { margin-top: 8px; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input[aria-invalid="true"] { border-color: var(--ember); }
.field input[readonly] { color: rgba(18, 19, 22, 0.6); }

.field__box { margin-top: 8px; display: flex; align-items: center; background: var(--cream); border: 1px solid var(--hairline); }
.field__box.is-invalid { border-color: var(--ember); }
.field__box input[type="password"], .field__box input[type="text"] { flex: 1; min-width: 0; border: 0; background: transparent; }
.field__toggle {
  flex: none; align-self: stretch; padding: 0 20px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; color: var(--ember);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.field__toggle:hover { color: var(--jet); }

/* Message d'erreur : rond orange + texte foncé, comme les statuts de la Home. */
.field__error, .form-error { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 500; color: var(--jet); }
.field__error { margin: 8px 0 0; }
.form-error { margin: 24px 0 0; }
.field__error::before, .form-error::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); transform: translateY(-1px); }

.field > label.check { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; cursor: pointer; min-height: 32px; }
.check input {
  appearance: none; -webkit-appearance: none;
  margin: 0; flex: none; width: 20px; height: 20px;
  border: 1px solid rgba(18, 19, 22, 0.35); border-radius: 0;
  background: var(--cream); padding: 3px; background-clip: content-box; cursor: pointer;
}
.check input:checked { background-color: var(--jet); border-color: var(--jet); }

.access-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: rgba(18, 19, 22, 0.82); }
.access-note--spaced { margin-top: 20px; }

.btn-access {
  margin-top: 28px; align-self: flex-start;
  background: var(--ember); color: var(--jet);
  border: 0; border-radius: 0; padding: 16px 24px;
  font: inherit; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer;
}
.btn-access:hover { background: var(--jet); color: var(--cream); }
.access-note + .btn-access, .form-error + .btn-access { margin-top: 24px; }

.access-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; color: rgba(18, 19, 22, 0.82); }
.access-links--spaced { margin-top: 32px; }
.access-help { margin: 32px 0 0; font-size: 14px; line-height: 1.5; color: rgba(18, 19, 22, 0.82); }
.access-form a, .linklike { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.access-form a:hover, .linklike:hover { color: var(--jet); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Champ piège pour les robots : hors de l'écran, jamais vu ni atteint au clavier. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Écrans étroits : repli simple, la maquette ne couvre que le desktop ---------- */

@media (max-width: 900px) {
  .app { flex-direction: column; }
  .sidebar { flex: none; width: auto; flex-direction: row; align-items: center; gap: 24px; padding: 16px 20px; }
  .sidebar__logo { margin-bottom: 0; }
  .sidebar__logo img { height: 30px; }
  .sidebar__nav { flex-direction: row; flex-wrap: wrap; }
  .main { padding: 28px 20px; gap: 28px; }
  .summary { flex-direction: column; }
  .summary__rule { width: auto; height: 1px; margin: 0 36px; }
  .page-head { flex-direction: column; }
  .sidebar__signout { margin-top: 0; margin-left: auto; flex-direction: row; gap: 4px; }

  /* Détail de commande sur téléphone : bandeau, action, frise, document, demande */
  .main--order { padding: 16px 16px 40px; gap: 12px; }
  .main--order .back, .doc__links > *, .action__links a { min-height: 44px; display: inline-flex; align-items: center; }
  .order { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .identity, .side { display: contents; }
  .band { order: 1; background: var(--panel); border: 1px solid var(--hairline); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band__cell { padding: 16px; border-bottom: 1px solid var(--hairline); }
  .band__value { font-size: 16px; overflow-wrap: break-word; }
  .band__cell:nth-child(3), .band__cell:nth-child(5) { border-right: 0; }
  .band__cell:nth-child(n+4) { border-bottom: 0; }
  .band__cell:nth-child(5) { grid-column: span 2; }
  .action { order: 2; padding: 20px; }
  .frise { order: 3; background: var(--panel); border: 1px solid var(--hairline); padding: 20px 20px 8px; display: flex; flex-direction: column; }
  .step { flex-direction: row; gap: 14px; padding-right: 0; }
  .step__rail { flex-direction: column; margin-right: 0; width: 12px; flex: none; }
  .step__line { width: 1.5px; height: auto; }
  .step__text { padding-bottom: 14px; margin-top: -3px; }
  .doc { order: 4; padding: 20px; }
  .request { order: 5; padding: 20px; }
  .terms { order: 6; margin-top: 16px; padding: 0 4px; }
  .terms__body { columns: 1; }
  .order-help { order: 7; padding: 0 4px; }
  .ledger__head, .ledger__row { grid-template-columns: minmax(0, 1fr) auto; }
  .only-wide { display: none; }
  .only-narrow { display: block; }
  .sums { width: 100%; }
  .btn-action { min-height: 52px; }

  /* Écrans d'accès sur téléphone : bandeau sombre avec le logo, bouton sur toute la largeur. */
  .app--access .sidebar { height: 64px; padding: 0 7px; }
  .app--access .sidebar__logo img { height: 48px; }
  .main--access { padding: 48px 20px 56px; }
  .access-form { max-width: none; }
  .access-title { font-size: 38px; line-height: 1.05; }
  .fields__pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"] { padding: 16px 18px; }
  .btn-access { align-self: stretch; min-height: 52px; }
  .access-links { flex-direction: column; gap: 0; }
  .access-links > * { min-height: 44px; display: flex; align-items: center; gap: 5px; }
}

/* ---------- Annulation d'une commande ---------- */
.main--order .action a.action__cancel:not(.back), .action__cancel { display: inline-block; margin-top: 20px; font-size: 13px; color: #6F6B62; text-decoration: underline; text-decoration-color: rgba(18, 19, 22, 0.3); text-underline-offset: 3px; border: 0; }
.main--order .action a.action__cancel:not(.back):hover, .action__cancel:hover { color: var(--jet); }
/* Sur l'écran d'annulation, aucune ligne n'est mise en avant : il n'y a pas de total à souligner. */
.confirm__rows--plain .confirm__row:last-child { font-size: inherit; font-weight: inherit; }
.action__cancel-note { margin-top: 20px; line-height: 1.5; }
.btn-action--plain { background: var(--jet); color: var(--cream); }
.btn-action--plain:hover { background: var(--ember); color: var(--jet); }
.confirm__keep { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--jet); text-decoration: underline; text-underline-offset: 3px; }


/* ---------- Nouvelle demande (maquette « Skystar_New_Request ») ---------- */
.main--request { gap: 32px; }
.rq-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.rq { background: var(--panel); border: 1px solid var(--hairline); }
.rq-section { padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.rq-section + .rq-section, .rq-foot { border-top: 1px solid var(--hairline); }
.rq-section__title { font-size: 16px; line-height: 1.35; font-weight: 500; }

.rq-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rq-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--jet); background: var(--panel);
          display: flex; align-items: center; justify-content: center; }
.rq-dot--small { width: 16px; height: 16px; }
.rq-radio:checked + .rq-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.rq-radio:checked + .rq-dot--small::after { width: 7px; height: 7px; }

.rq-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rq-tile, .rq-choice { position: relative; display: flex; align-items: center; background: var(--page);
                       border: 1px solid var(--hairline); color: var(--jet); font-size: 15px; line-height: 1.4; cursor: pointer; }
.rq-tile { gap: 12px; min-height: 56px; padding: 0 18px; font-weight: 500; }
.rq-choice { gap: 10px; min-height: 48px; padding: 0 16px; }
.rq-tile:hover, .rq-choice:hover, .rq-tile:has(.rq-radio:checked), .rq-choice:has(.rq-radio:checked) { border-color: var(--jet); }
.rq-tile:has(.rq-radio:focus-visible), .rq-choice:has(.rq-radio:focus-visible) { outline: 2px solid var(--ember); outline-offset: 2px; }
.rq-choices { display: flex; flex-wrap: wrap; gap: 8px; }

/* La section du service choisi, et ses champs : rien n'apparaît tant qu'aucun service n'est choisi. */
.rq-details, .rq-extra, .rq-title, .rq-when-catering { display: none; }
.rq:has(.rq-tiles .rq-radio:checked) .rq-details { display: flex; gap: 20px; }
.rq:has(#rq-svc-catering:checked) .rq-extra--catering,
.rq:has(#rq-svc-trip:checked) .rq-extra--trip,
.rq:has(#rq-svc-fuel:checked) .rq-extra--fuel { display: contents; }
.rq:has(#rq-svc-catering:checked) .rq-title--catering,
.rq:has(#rq-svc-trip:checked) .rq-title--trip,
.rq:has(#rq-svc-fuel:checked) .rq-title--fuel { display: inline; }
.rq:has(#rq-svc-catering:checked) .rq-when-catering { display: inline; }
.rq:has(#rq-svc-catering:checked) .rq-when-other { display: none; }

.rq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 24px; }
.rq-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rq-field--full { grid-column: 1 / -1; }
.rq-field__head { display: flex; gap: 8px; align-items: baseline; }
.rq-label { font-size: 13px; line-height: 1.45; font-weight: 500; }
.rq-optional, .rq-help { font-size: 13px; line-height: 1.45; color: var(--muted); }
.rq-help { line-height: 1.4; }

.rq-input { width: 100%; height: 48px; padding: 0 14px; background: var(--page); border: 1px solid var(--hairline); border-radius: 0;
            font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--jet); outline: none; }
.rq-input:focus { border-color: var(--jet); }
.rq-input::placeholder { color: var(--muted); opacity: 1; }
.rq-input--short { max-width: 160px; }
.rq-input[type=number]::-webkit-inner-spin-button { opacity: 0.4; }
.rq-textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.rq-input.is-error, .rq-date.is-error { border-color: var(--ember); }

.rq-date { position: relative; height: 48px; padding: 0 14px; background: var(--page); border: 1px solid var(--hairline);
           display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.4; }
.rq-date:hover, .rq-date:focus-within { border-color: var(--jet); }
.rq-date__text.is-empty { color: var(--muted); }
.rq-date__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; }

.rq-combo { position: relative; }
.rq-combo__list { position: absolute; left: 0; right: 0; top: 47px; z-index: 5; background: var(--panel); border: 1px solid var(--jet);
                  display: flex; flex-direction: column; }
.rq-combo__list[hidden] { display: none; }
.rq-combo__item { display: flex; gap: 6px; align-items: baseline; padding: 12px 14px; font-size: 15px; line-height: 1.4; cursor: pointer;
                  border-top: 1px solid var(--hairline); margin-top: -1px; }
.rq-combo__item:hover, .rq-combo__item.is-active { background: rgba(18, 19, 22, 0.04); }
.rq-combo__code { font-weight: 500; }
.rq-combo__sep { color: var(--muted); }

.rq-error { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--jet); }
.rq-error__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ember); }

.rq-foot { padding: 24px 32px; display: flex; align-items: center; gap: 16px; }
.rq-send { min-height: 48px; }

.rq-contact { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rq-contact a { color: var(--ember); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.rq-contact a:hover { color: var(--jet); }

/* Bandeau affiché sur la commande juste après l'envoi de la demande */
.sent-banner { background: #F9E3D8; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
               font-size: 14px; line-height: 1.45; font-weight: 500; }
.sent-banner__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ember); }

@media (max-width: 900px) {
  .main--request { padding: 28px 20px 40px; gap: 24px; }
  .rq-section { padding: 20px; }
  .rq-tiles, .rq-grid { grid-template-columns: minmax(0, 1fr); }
  .rq-foot { padding: 20px; flex-direction: column; align-items: stretch; }
  .rq-send { min-height: 52px; }
}

/* Calendrier de la date : en anglais, angles droits, sans ombre */
.rq-date { cursor: pointer; }
.rq-date.is-open { border-color: var(--jet); }
.cal { position: absolute; left: -1px; top: 47px; z-index: 6; width: 320px; background: var(--panel); border: 1px solid var(--jet);
       padding: 16px; cursor: default; }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font-size: 15px; font-weight: 500; }
.cal__nav { width: 36px; height: 36px; background: none; border: 1px solid var(--hairline); font: inherit; font-size: 15px; color: var(--jet); cursor: pointer; }
.cal__nav:hover:not(:disabled) { border-color: var(--jet); }
.cal__nav:disabled { color: var(--muted); opacity: 0.5; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal__dow { font-size: 13px; color: var(--muted); text-align: center; padding: 4px 0 8px; }
.cal__day { height: 38px; background: none; border: 1px solid transparent; font: inherit; font-size: 14px; color: var(--jet); cursor: pointer; }
.cal__day:hover:not(:disabled) { border-color: var(--jet); }
.cal__day:disabled { color: var(--muted); opacity: 0.45; cursor: default; }
.cal__day.is-today { font-weight: 700; }
.cal__day.is-selected { background: var(--jet); color: var(--cream); }
@media (max-width: 900px) { .cal { width: auto; right: -1px; } }

/* ---------- Factures (maquette « Skystar_Invoices ») ---------- */
.spend__amount.is-attention { color: var(--ember); }
.inv { display: flex; flex-direction: column; gap: 16px; }
.inv-tools { display: flex; align-items: flex-start; gap: 12px; }
.inv-search, .inv-select, .inv-date { position: relative; height: 48px; }
.inv-search { flex: 0 1 380px; min-width: 0; }
.inv-search svg { position: absolute; left: 14px; top: 15px; pointer-events: none; }
.inv-search input, .inv-select select { width: 100%; height: 48px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 0;
  font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--jet); outline: none; -webkit-appearance: none; appearance: none; }
.inv-search input { padding: 0 14px 0 42px; }
.inv-search input::placeholder { color: var(--muted); opacity: 1; }
.inv-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.inv-date + .inv-date .cal { left: auto; right: -1px; }
.inv-search input:focus, .inv-select select:focus, .inv-select select:hover { border-color: var(--jet); }
.inv-select { flex: 0 0 200px; }
.inv-select select { padding: 0 40px 0 14px; cursor: pointer; }
.inv-select svg { position: absolute; right: 16px; top: 17px; pointer-events: none; }
.inv-date { flex: 0 0 200px; padding: 0 14px; background: var(--panel); border: 1px solid var(--hairline); display: flex; align-items: center;
  justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.inv-date[hidden] { display: none; }
.inv-date:hover, .inv-date:focus-within, .inv-date.is-open { border-color: var(--jet); }
.inv-date svg { flex: none; }
.inv-date__text { display: flex; gap: 8px; white-space: nowrap; }
.inv-date__label { color: var(--muted); }
.inv-export { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.inv-csv { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; background: transparent; color: var(--jet);
  border: 1px solid var(--jet); font: inherit; font-size: 14px; line-height: 1.45; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.inv-csv:hover { background: var(--jet); color: var(--cream); }
.inv-csv.is-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.inv-count { font-size: 13px; line-height: 1.4; color: var(--muted); }

.inv-table { background: var(--panel); border: 1px solid var(--hairline); }
.inv-table[hidden], .inv-group[hidden], .inv-row[hidden], .inv-empty[hidden] { display: none; }
.inv-row { display: grid; align-items: center; min-height: 60px; border-top: 1px solid var(--hairline); cursor: pointer;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.5fr) minmax(0,1.4fr) minmax(0,1.2fr) minmax(0,1.1fr) minmax(0,1.6fr) minmax(0,2fr); }
.inv-row:hover { background: rgba(18, 19, 22, 0.04); }
.inv-row.is-cancelled { opacity: 0.6; }
.inv-row--head { min-height: 0; border-top: 0; cursor: default; background: rgba(18, 19, 22, 0.04); font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.inv-row--head:hover { background: rgba(18, 19, 22, 0.04); }
.inv-row--head > div { padding: 14px 24px; }
.inv-cell { padding: 12px 24px; font-size: 14px; line-height: 1.45; white-space: nowrap; min-width: 0; }
.inv-num { text-align: right; }
.inv-number { font-weight: 500; color: var(--jet); text-decoration: none; }
.inv-number:hover { color: var(--jet); }
.inv-muted { color: var(--muted); }
.inv-group__head { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--hairline); background: var(--page); }
.inv-group__label { font-size: 14px; line-height: 1.45; font-weight: 500; }
.inv-group__count { font-size: 14px; line-height: 1.45; color: var(--muted); }
.inv-group__hint { font-size: 13px; line-height: 1.45; color: var(--muted); margin-left: 6px; }
.inv-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; font-size: 13px; line-height: 1.4; color: var(--jet);
  background: var(--panel); border: 1px solid #DAD9D8; white-space: nowrap; }
.inv-tag__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--jet); border: 1px solid var(--jet); }
.inv-tag--todo { font-weight: 500; background: #F9E3D8; border-color: #F9E3D8; }
.inv-tag--todo .inv-tag__dot { background: var(--ember); border-color: var(--ember); }
.inv-tag--hollow .inv-tag__dot { background: var(--panel); }
.inv-actions { padding: 10px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.inv-download { font-size: 14px; line-height: 1.45; color: var(--jet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.inv-download:hover { color: var(--jet); text-decoration-thickness: 2px; }
.inv-pay { background: var(--ember); color: var(--jet); padding: 10px 18px; font-size: 14px; line-height: 1.45; font-weight: 500; text-decoration: none; white-space: nowrap; }
.inv-pay:hover { background: var(--jet); color: var(--cream); }
.inv-card { display: none; }

.inv-empty { background: var(--panel); border: 1px solid var(--hairline); padding: 48px 36px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.inv-empty a { font-size: 14px; color: var(--jet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.inv-empty a:hover { color: var(--ember); }
.inv-empty__text { max-width: 520px; }

@media (max-width: 900px) {
  .inv-tools { flex-direction: column; align-items: stretch; }
  .inv-search, .inv-select, .inv-date { flex: none; }
  .inv-export { margin-left: 0; align-items: stretch; }
  .inv-csv { min-height: 48px; height: auto; }
  .inv-row { display: block; min-height: 0; padding: 16px; }
  .inv-row.inv-row--head { display: none; }
  .inv-cell { display: none; }
  .inv-card { display: flex; flex-direction: column; gap: 10px; }
  .inv-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.4; white-space: nowrap; }
  .inv-card__number { font-weight: 500; }
  .inv-card__meta { font-size: 13px; line-height: 1.4; }
  .inv-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .inv-card__bottom .inv-download { display: inline-flex; align-items: center; min-height: 44px; }
  .inv-pay--wide { padding: 14px 20px; min-height: 48px; }
  .inv-group__head { flex-wrap: wrap; padding: 20px 16px 10px; background: none; }
  .inv-group__hint { flex-basis: 100%; margin-left: 0; }
  .inv-empty { padding: 32px 20px; gap: 8px; }
  .inv-empty a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Account (maquette « Skystar_Account ») ---------- */
.main--account { gap: 32px; }
.acc { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.acc-panel { background: var(--panel); border: 1px solid var(--hairline); margin: 0; }
.acc-panel__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.acc-panel__body--tight { gap: 6px; }
.acc-panel__body--security { gap: 16px; }
.acc-panel__title { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 500; }
.acc-panel__foot { border-top: 1px solid var(--hairline); padding: 24px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.acc-btn { min-height: 48px; text-align: left; }
.acc-done__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--jet); }

.acc-check { position: relative; align-self: flex-start; display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.acc-check__box { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--jet); background: var(--panel);
  display: flex; align-items: center; justify-content: center; }
.acc-check__box svg { display: none; }
.acc-check .rq-radio:checked + .acc-check__box { background: var(--jet); }
.acc-check .rq-radio:checked + .acc-check__box svg { display: block; }
.acc-check:has(.rq-radio:focus-visible) { outline: 2px solid var(--ember); outline-offset: 2px; }
.rq-input[readonly] { cursor: default; }
.rq-input[readonly]:focus { border-color: var(--hairline); }

.acc-fixed { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.acc-fixed__value { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.acc-fixed .rq-help { text-wrap: pretty; }
.acc-pw { display: flex; flex-direction: column; gap: 24px; max-width: 380px; }

.acc-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,2fr) 160px; align-items: center; min-height: 60px;
  border-top: 1px solid var(--hairline); }
.acc-row:hover { background: rgba(18, 19, 22, 0.04); }
.acc-row--head { min-height: 0; background: rgba(18, 19, 22, 0.04); font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.acc-row--head > div { padding: 14px 24px; }
.acc-row--head > div:first-child { padding-left: 32px; }
.acc-cell { padding: 12px 24px; font-size: 14px; line-height: 1.45; white-space: nowrap; min-width: 0; }
.acc-tail { padding-left: 32px; font-weight: 500; }
.acc-new { padding-right: 32px; text-align: right; }
.acc-phone { display: none; }
.acc-link { font-size: 14px; line-height: 1.45; color: var(--jet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.acc-link:hover { color: var(--jet); text-decoration-thickness: 2px; }
.acc-empty { border-top: 1px solid var(--hairline); padding: 28px 32px; font-size: 14px; line-height: 1.5; }

.acc-text { margin: 0; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.acc-signout { align-self: flex-start; }
.acc-signout[hidden], .acc-confirm[hidden] { display: none; }
.acc-confirm { border-top: 1px solid var(--hairline); padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.acc-confirm__text { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.45; font-weight: 500; }
.acc-confirm__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ember); }
.acc-confirm__actions { display: flex; align-items: center; gap: 20px; }
.acc-cancel { min-height: 44px; display: flex; align-items: center; }
.acc-cancel:hover { color: var(--ember); text-decoration-thickness: 1px; }

.acc-contacts { display: flex; flex-direction: column; }
.acc-contact { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.acc-contact__label { font-size: 13px; line-height: 1.45; color: var(--muted); }
.acc-contact__value { font-size: 14px; line-height: 1.45; color: var(--ember); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; white-space: nowrap; }
.acc-contact__value:hover { color: var(--jet); }

@media (max-width: 900px) {
  .main--account { padding: 28px 20px 40px; gap: 24px; }
  .acc-panel__body, .acc-panel__foot { padding: 20px; }
  .acc-panel__foot { align-items: stretch; }
  .acc-pw { max-width: none; }
  .acc-row.acc-row--head { display: none; }
  .acc-row { display: grid; grid-template-columns: minmax(0,1fr) auto; row-gap: 8px; column-gap: 12px; padding: 16px 20px; min-height: 0; }
  .acc-row:hover { background: none; }
  .acc-cell { padding: 0; }
  .acc-tail { font-size: 15px; line-height: 1.4; }
  .acc-orders { text-align: right; font-size: 13px; }
  .acc-last { font-size: 13px; line-height: 1.4; white-space: normal; }
  .acc-new { padding: 0; text-align: right; }
  .acc-new .acc-link { display: inline-flex; align-items: center; min-height: 44px; }
  .acc-desk { display: none; }
  .acc-phone { display: inline; }
  .acc-empty { padding: 20px; }
  .acc-confirm__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Menu sur téléphone (maquette « Skystar_Mobile_Menu ») ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sidebar__menu { flex: 1; display: flex; flex-direction: column; }
.sidebar__toggle { display: none; }

@media (max-width: 900px) {
  .sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0; padding: 14px 20px; }
  .sidebar__logo img { height: 30px; }
  .sidebar__toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -11px;
    padding: 0; background: transparent; border: 0; border-radius: 0; color: var(--cream); cursor: pointer; }
  .sidebar__toggle[hidden] { display: none; }
  .sidebar__toggle:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
  .sidebar__icon-close, .sidebar.is-open .sidebar__icon-open { display: none; }
  .sidebar.is-open .sidebar__icon-close { display: block; }

  .sidebar__menu { flex: 0 0 auto; width: calc(100% + 40px); margin: 14px -20px -14px; padding: 8px 0 20px;
    border-top: 1px solid rgba(241, 236, 227, 0.14); }
  .sidebar.has-toggle:not(.is-open) .sidebar__menu { display: none; }
  .sidebar__nav { flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 8px 0; }
  .sidebar__signout { margin: 0; flex-direction: column; gap: 4px; padding: 8px 0 0; }
  .sidebar__signout::before { content: ""; height: 1px; margin: 4px 20px 12px; background: rgba(241, 236, 227, 0.14); }
  .sidebar__link { display: flex; align-items: center; min-height: 48px; padding: 0 20px; font-size: 16px; line-height: 1.35; }
  .sidebar__signout .sidebar__link { width: 100%; }
}
