/* Wio — Portail compagnie. Thème clair, composants de gestion sobres. */
:root {
  color-scheme: light;
  --bg: #f3f5f8; --panel: #fff; --text: #263445; --muted: #667589;
  --line: #dce3eb; --navy: #20364e; --blue: #2b6295; --blue-hover: #204e79;
  --blue-light: #edf3f9; --green: #337052; --font: "Segoe UI", Arial, sans-serif;
  font-family: var(--font); font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea, a { outline-offset: 3px; }
:focus-visible { outline: 3px solid #81add7; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; }
h2 { font-size: 16px; font-weight: 600; line-height: 1.4; }
h3 { font-size: 15px; font-weight: 600; }
.muted { color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 1px; margin: 0 0 7px; }
.hint, .footnote { font-size: 12px; color: var(--muted); line-height: 1.6; }
.hint { margin: 9px 0 0; }
.footnote { margin: 16px 0 0; }
label { display: block; color: #3d4e61; font-size: 12px; font-weight: 600; margin: 17px 0 7px; }
input, select, textarea { width: 100%; min-width: 0; color: var(--text); background: white; border: 1px solid #c9d3de; border-radius: 4px; padding: 10px 12px; line-height: 1.4; }
input::placeholder, textarea::placeholder { color: #8793a1; }
input:focus, select:focus, textarea:focus { border-color: #598abc; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.primary, .secondary, .quiet, .row-open { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 13px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background-color .12s; }
.primary { background: var(--blue); color: white; border-color: var(--blue); }
.primary:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); }
.secondary { background: white; color: #3d556e; border-color: #cbd6e1; }
.secondary:hover:not(:disabled), .quiet:hover:not(:disabled) { background: #edf2f7; }
.quiet { background: #fff; color: #53687e; border-color: var(--line); }
.row-open { background: #eef4fa; color: var(--blue); border-color: #d4e2ef; min-height: 30px; padding: 6px 10px; }
.row-open:hover { background: #e0ecf7; }
.message { margin: 16px 0; padding: 11px 14px; border: 1px solid #ecd4ab; border-radius: 4px; background: #fff9ed; color: #77511f; font-size: 13px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.message:empty { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: 1.7px; color: #fff; line-height: 1.15; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 8px; letter-spacing: 3.2px; margin-top: 5px; font-weight: 500; color: #c1d0df; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #879cb2; border-radius: 3px; font-size: 23px; font-weight: 500; letter-spacing: 0; }
/* Connexion */
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.intro { width: 100%; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: var(--navy); border-bottom: 3px solid #46749f; }
.portal-label { color: #d6e0e9; font-size: 13px; }
.auth-card { width: calc(100% - 32px); max-width: 440px; margin: 58px auto 30px; padding: 32px; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: 0 2px 6px #20364e06; }
.auth-card h1 { font-size: 23px; margin-bottom: 9px; }
.auth-card .muted { font-size: 13px; margin-bottom: 0; }
.tabs { display: flex; margin: 25px 0 22px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 10px 8px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-size: 13px; color: var(--muted); }
.tabs button.active { color: var(--blue); border-color: var(--blue); font-weight: 600; }
.auth-card .primary { width: 100%; margin-top: 24px; min-height: 41px; font-size: 13px; }
.auth-note { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #4e6175; }
.auth-note p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: #4c759d; border-radius: 50%; vertical-align: middle; }
.auth-footer { padding: 10px 20px 26px; font-size: 11px; color: #778597; text-align: center; }
/* Cadre de l’espace pilote */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 226px; background: white; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 10; }
.sidebar .brand { height: 68px; flex-shrink: 0; padding: 0 23px; background: var(--navy); border-bottom: 3px solid #46749f; }
.nav-label { margin: 29px 22px 12px; color: #8190a1; font-size: 9px; font-weight: 600; letter-spacing: 1px; }
.sidebar nav { padding: 0 11px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 10px; margin: 0 0 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #5d6e80; font-size: 12px; text-align: left; line-height: 1.4; }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: #f4f6f9; }
.nav-item.active { background: #eaf1f8; color: #285c8d; border-color: #e1eaf3; font-weight: 600; }
.sidebar-bottom { margin-top: auto; padding: 22px; border-top: 1px solid #e9edf2; color: #64778c; font-size: 11px; }
.sidebar-bottom strong { font-size: 12px; color: #445a70; font-weight: 600; }
.sidebar-bottom p { margin: 6px 0 20px; line-height: 1.7; }
.sidebar-caption { font-size: 9px; letter-spacing: 1px; color: #8a97a6; }
.workspace { margin-left: 226px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { min-height: 68px; background: var(--navy); border-bottom: 3px solid #46749f; padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #d0dbe5; font-size: 12px; }
.breadcrumb, .user-tools { display: flex; align-items: center; gap: 13px; min-width: 0; }
.breadcrumb strong { font-weight: 500; color: white; }
.slash { color: #90a5bb; }
.topbar .quiet { background: transparent; color: #fff; border-color: #60778d; min-height: 30px; padding: 6px 10px; font-weight: 400; }
.topbar .quiet:hover { background: #304c65; }
.account-role { font-size: 10px; border: 1px solid #526d86; padding: 3px 7px; border-radius: 3px; color: #d4e0ec; }
#pilot-email { overflow-wrap: anywhere; }
.app-page, main#journal { width: 100%; max-width: 1550px; margin: 0 auto; padding: 28px 30px 32px; }
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-title h1 { margin: 0 0 7px; }
.page-title p:last-child { margin-bottom: 0; font-size: 13px; }
.page-title > button { flex-shrink: 0; }
.workspace-footer { margin-top: auto; padding: 17px 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: #7a899b; font-size: 11px; background: #f8f9fb; }
/* Chiffres de synthèse */
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.stats article { padding: 19px 21px; background: white; border: 1px solid var(--line); border-radius: 4px; border-top: 3px solid #7193b4; }
.stats p { font-size: 12px; font-weight: 500; color: #53677e; margin-bottom: 10px; }
.stats strong { display: block; font-size: 30px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; color: #243e58; margin-bottom: 6px; }
.stats span { font-size: 11px; color: var(--muted); }
.stats .stat-text, .accent-stat strong { font-size: 18px; line-height: 1.4; min-height: 37px; display: flex; align-items: center; }
.stats article:nth-child(2) { border-top-color: #779b89; }
.stats article:nth-child(3) { border-top-color: #a3afbf; }
/* Panneaux et tableaux */
.flight-panel { background: white; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 14px; }
.section-heading p { font-size: 11px; margin: 4px 0 0; color: var(--muted); }
.section-heading button { flex-shrink: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 17px; background: #f7f9fb; border-bottom: 1px solid var(--line); color: #627388; font-size: 10px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; }
td { padding: 14px 17px; border-bottom: 1px solid #e7ecf2; font-size: 12px; vertical-align: middle; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfd; }
td strong { font-size: 12px; font-weight: 600; }
td small { display: block; color: #778697; font-size: 11px; line-height: 1.5; margin-top: 3px; }
td .quiet { min-height: 29px; padding: 5px 9px; font-size: 11px; }
.flight-code { font-weight: 600; color: #2b5279; white-space: nowrap; }
.route-arrow { color: #8798a9; padding: 0 7px; }
.pill, .status-tag { display: inline-block; padding: 3px 7px; border: 1px solid #dce5ee; background: #f1f5f9; color: #546b82; border-radius: 3px; font-size: 10px; line-height: 1.6; font-weight: 500; }
.pill { white-space: nowrap; }
.status-tag { max-width: 245px; }
.pill.approved, .pill.completed { color: #38654b; background: #eff7f1; border-color: #d7e8dc; }
.pill.reserved { color: #285d8d; background: #edf4fa; border-color: #d4e4f1; }
.pill.started, .pill.pending { color: #8a6329; background: #fff8ea; border-color: #efdfbd; }
.pill.rejected, .status-tag.crash { color: #9b4945; background: #fbf0ef; border-color: #eed7d5; }
.pill.cancelled { color: #727e8c; background: #f5f6f8; border-color: #e3e7eb; }
.review-label.approved { color: #387253; }.review-label.rejected { color: #a24743; }.review-label.pending { color: #8f6a35; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; background: #fcfdfe; }
.pagination > div { display: flex; gap: 8px; }
.pagination .quiet { min-height: 31px; font-size: 11px; }
.flight-panel > .message { margin: 16px 20px; }
.empty { padding: 45px 24px; text-align: center; }
.empty h3 { font-size: 18px; margin-bottom: 10px; }
.empty p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.empty-copy { padding: 22px 20px; margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
/* Réservation et carte */
.booking-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 21px; background: white; border: 1px solid var(--line); border-left: 3px solid #4274a4; border-radius: 4px; margin-bottom: 22px; }
.booking-banner h2 { font-size: 17px; font-weight: 600; margin: 0 0 5px; }
.booking-banner .eyebrow { font-size: 9px; color: #5b7b99; margin-bottom: 6px; }
.booking-banner p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.booking-banner > button, .booking-banner > .pill { flex-shrink: 0; }
.network-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(285px,1fr); gap: 20px; }
.map-panel { min-width: 0; }
#network-map { height: 368px; background: #e4eaf0; z-index: 0; }
.map-caption { padding: 10px 16px; margin: 0; color: #7b8999; font-size: 10px; border-top: 1px solid var(--line); }
.route-selector { max-height: 477px; display: flex; flex-direction: column; }
.route-selector .section-heading { min-height: 76px; flex-shrink: 0; }
.search-label { margin: 15px 17px 6px; font-weight: 400; color: var(--muted); font-size: 11px; }
.route-selector input { margin: 0 17px 14px; width: calc(100% - 34px); font-size: 12px; padding: 8px 10px; }
#route-list { overflow-y: auto; min-height: 130px; border-top: 1px solid #e6ebf1; }
.route-card { display: block; width: 100%; padding: 13px 17px; background: white; border: 0; border-bottom: 1px solid #e7ecf2; border-left: 3px solid transparent; text-align: left; color: var(--text); }
.route-card:last-child { border-bottom: 0; }
.route-card:hover { background: #f5f8fc; }
.route-card.selected { background: #edf4fb; border-left-color: #3b73a8; }
.route-card .code { display: inline-block; font-weight: 600; font-size: 10px; color: #467098; }
.route-card strong { display: block; font-size: 16px; font-weight: 600; margin: 2px 0; }
.route-card small { color: #748496; font-size: 11px; }
.route-detail { margin: 20px 0; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 26px; }
.route-detail h2 { font-size: 20px; margin: 0 0 7px; }
.route-detail p { font-size: 12px; margin-bottom: 0; }
.route-detail .eyebrow { margin-bottom: 6px; font-size: 10px; color: #567a9d; }
.route-detail .empty-copy { grid-column: 1 / -1; padding: 0; }
.route-detail label { margin-top: 0; }
.route-detail select { font-size: 12px; }
.route-detail .primary { margin-top: 12px; }
.booking-history { margin-top: 20px; }
/* Administration */
.admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.admin-grid .section-heading { flex-wrap: wrap; }
.admin-grid th, .admin-grid td { padding-left: 13px; padding-right: 13px; }
.admin-section { margin-top: 22px; }
.compact-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid #e7ecf2; }
.compact-row:last-child { border-bottom: 0; }
.compact-row > div { min-width: 0; }
.compact-row strong { font-size: 13px; font-weight: 600; }
.compact-row small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.6; overflow-wrap: anywhere; }
.compact-row button { flex-shrink: 0; }
/* Rapports et formulaires */
dialog { width: min(820px,94vw); max-height: 88vh; border: 1px solid #cbd5df; border-radius: 5px; background: white; color: var(--text); padding: 25px; box-shadow: 0 10px 45px #142c4424; }
dialog::backdrop { background: #182e4680; }
#edit-dialog { width: min(650px,94vw); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 20px; margin: 0; }
.dialog-header .eyebrow { margin-bottom: 5px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.report-grid > div { padding: 13px 16px; border-bottom: 1px solid #e5ebf1; }
.report-grid > div:nth-child(odd) { background: #fafbfd; border-right: 1px solid #e5ebf1; }
.report-grid small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.report-grid strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.report-section { margin: 24px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.report-list { padding-left: 20px; color: #5f7185; font-size: 12px; line-height: 1.9; }
.report-note { font-size: 11px; color: var(--muted); line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid label { margin-top: 12px; }
.form-grid input[type=checkbox] { margin-top: 8px; }
.form-grid > div:has(textarea) { grid-column: 1 / -1; }
#edit-save { margin-top: 22px; }
.review-actions { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.review-actions button { margin: 12px 8px 0 0; }
/* Leaflet : lisibilité du thème clair et attribution conservée */
.leaflet-container { font-family: var(--font); }
.leaflet-tooltip { background: white; color: #2e4d6b; border: 1px solid #bdccdb; box-shadow: 0 1px 5px #263e551c; border-radius: 3px; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: white; color: var(--text); }
.leaflet-control-attribution { color: #55687a; }
.leaflet-control-attribution a { color: #2e6392; }
.leaflet-bar a { color: #405a73; }
@media (min-width: 1700px) { .app-page, main#journal { padding-top: 36px; } #network-map { height: 425px; } .route-selector { max-height: 535px; } }
@media (max-width: 1150px) {
  .sidebar { width: 206px; }.workspace { margin-left: 206px; }
  .sidebar .brand { padding-left: 19px; }.nav-item { font-size: 11px; gap: 8px; }
  .topbar { padding: 13px 22px; }.breadcrumb > span:first-child,.breadcrumb .slash { display: none; }
  .app-page, main#journal { padding: 24px 22px; }.user-tools { gap: 9px; }
  .network-layout { grid-template-columns: minmax(0,1.3fr) minmax(260px,1fr); gap: 16px; }
  .admin-grid { grid-template-columns: 1fr; }.stats { gap: 12px; }.stats article { padding: 16px; }
}
@media (max-width: 900px) {
  .account-role { display: none; }.topbar { flex-wrap: wrap; gap: 8px; }
  .network-layout { grid-template-columns: 1fr; }.route-selector { max-height: 340px; }
  .stats .stat-text { font-size: 15px; }.stats span { font-size: 10px; }
}
@media (max-width: 680px) {
  .sidebar { position: static; width: 100%; border-right: 0; }
  .sidebar .brand { height: 60px; padding-left: 18px; }.sidebar .nav-label,.sidebar-bottom { display: none; }
  .sidebar nav { display: flex; gap: 3px; padding: 9px; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .nav-item { width: auto; flex: 1 0 auto; margin: 0; padding: 10px 8px; font-size: 11px; }.nav-item svg { width: 16px; height: 16px; }
  .workspace { margin: 0; min-height: calc(100vh - 118px); }
  .topbar { min-height: 52px; border-bottom: 1px solid var(--line); background: white; padding: 11px 16px; color: var(--muted); }
  .breadcrumb { display: none; }.user-tools { width: 100%; justify-content: space-between; gap: 12px; }.topbar .quiet { color: #53687e; border-color: #dce3eb; }.topbar .quiet:hover { background: #edf2f7; }
  .app-page, main#journal { padding: 23px 14px; }.page-title { gap: 12px; align-items: start; }.page-title h1 { font-size: 23px; }.page-title p:last-child { font-size: 12px; }.page-title > button { padding: 7px 10px; }
  .stats { gap: 8px; }.stats article { padding: 13px 10px; }.stats p { font-size: 10px; min-height: 30px; margin-bottom: 7px; }.stats strong { font-size: 25px; }.stats .stat-text,.accent-stat strong { font-size: 13px; min-height: 32px; }.stats span { display: block; line-height: 1.5; }
  .booking-banner { flex-wrap: wrap; padding: 16px; gap: 12px; }.booking-banner h2 { font-size: 16px; }
  .section-heading { padding: 14px 16px; gap: 10px; }.section-heading h2 { font-size: 13px; }.section-heading .pill { display: none; }
  #network-map { height: 300px; }.map-caption { font-size: 9px; }.route-detail { grid-template-columns: 1fr; padding: 17px; gap: 18px; }
  th,td { padding: 12px 14px; }.pagination { flex-wrap: wrap; }.workspace-footer { padding: 15px; flex-wrap: wrap; font-size: 10px; }
  .compact-row { padding: 14px 16px; gap: 12px; }.compact-row strong { font-size: 12px; }
  dialog { padding: 20px; }.dialog-header h2 { font-size: 17px; }.report-grid,.form-grid { grid-template-columns: 1fr; }.report-grid > div:nth-child(odd) { border-right: 0; }
  .intro { padding: 0 20px; height: 64px; }.auth-card { margin-top: 32px; padding: 26px; }.auth-card h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Positions persistantes et comptes pilotes */
.pilot-position-banner{display:flex;align-items:center;gap:25px;padding:15px 20px;margin-bottom:20px;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:4px;background:#fff}.pilot-position-banner>div{min-width:170px}.pilot-position-banner span{display:block;color:var(--muted);font-size:11px}.pilot-position-banner strong{font-size:21px;color:var(--navy)}.pilot-position-banner p{margin:0;color:var(--muted);font-size:12px}.local-filter{display:flex;align-items:center;gap:8px;margin:0 17px 14px;font-size:11px;font-weight:400}.local-filter input{width:15px;height:15px;margin:0}.admin-users{margin-bottom:22px}.admin-search{display:flex;align-items:center;gap:12px;padding:15px 20px;border-bottom:1px solid var(--line)}.admin-search label{margin:0;white-space:nowrap}.admin-search input{max-width:350px}.table-actions{min-width:185px}.table-actions button{margin:3px}.pill.awaiting_review{color:#8a6329;background:#fff8ea;border-color:#efdfbd}@media(max-width:680px){.pilot-position-banner{align-items:flex-start;gap:10px;flex-direction:column}.admin-search{flex-wrap:wrap}.admin-search label{width:100%}.admin-search input{flex:1;min-width:140px}.admin-users .section-heading{flex-wrap:wrap}}

/* Économie : surfaces sobres, chiffres lisibles et formulaires cohérents. */
.wallet-hero{display:flex;justify-content:space-between;gap:32px;background:#18374f;color:white;border-radius:10px;padding:32px;margin-bottom:24px}.wallet-hero span{font-size:12px;letter-spacing:.12em;color:#b9cddd}.wallet-hero strong#wallet-balance{display:block;font-size:40px;line-height:1.5;font-variant-numeric:tabular-nums}.wallet-hero p{color:#d2dfe8;line-height:1.7}.wallet-rule{border-left:1px solid #52697b;padding-left:32px;align-self:center}.finance-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.rate-grid>div{border:1px solid #dfe5eb;border-radius:6px;padding:16px}.rate-grid span{display:block;color:#667386;font-size:12px;margin-bottom:10px}.rate-grid strong{font-size:20px;font-variant-numeric:tabular-nums}.money-positive{color:#196844;font-weight:600;white-space:nowrap}.money-negative{color:#a23632!important;font-weight:600;white-space:nowrap}.audit-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}#economy-audit details{border-bottom:1px solid #e5e9ee;padding:14px 0}#economy-audit summary{cursor:pointer}#economy .stats strong{font-size:27px}#wallet,#economy{min-width:0}@media(max-width:1000px){.rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-hero{flex-direction:column}.wallet-rule{padding:0;border:0;align-self:stretch}}@media(max-width:600px){.rate-grid{grid-template-columns:1fr}.wallet-hero{padding:22px}.wallet-hero strong#wallet-balance{font-size:30px}}

.grade-panel{display:flex;gap:30px;align-items:center;background:#fff;border:1px solid #dce3ea;border-radius:8px;padding:24px;margin-bottom:20px}.grade-panel h2{margin:8px 0}.grade-progress-box{flex:1;min-width:0}.grade-progress-box label{font-size:13px;color:#536478}.grade-progress-box progress{display:block;width:100%;height:10px;margin:12px 0;accent-color:#245f8b}#grade-list{display:flex;flex-wrap:wrap;gap:6px}.rank-chip{font-size:11px;padding:4px 7px;border:1px solid #e4e9ed;border-radius:4px;color:#6b7682}.rank-chip.achieved{background:#eef5fa;color:#285c7d;border-color:#bcd4e5}.transfer-form{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin:16px 0}.transfer-quote:not(:empty){background:#f1f6fa;border-left:3px solid #326788;padding:20px;margin:16px 0}.debrief-verdict{font-size:21px;font-weight:600;color:#244d6c}.debrief-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.debrief-card{padding:16px;border:1px solid #dfe5eb;border-left:3px solid #92a4b2;border-radius:5px}.debrief-card p{font-size:13px;line-height:1.6;margin:8px 0 0}.debrief-card.good{border-left-color:#3b8969}.debrief-card.warning{border-left-color:#bf8b35}.debrief-card.alert{border-left-color:#b64c46}.manifest-summary{padding:18px;background:#f2f6f9;border-radius:6px;margin-top:20px}#technical-list td{vertical-align:top}@media(max-width:800px){.grade-panel{flex-direction:column;align-items:stretch}.transfer-form{grid-template-columns:1fr}.debrief-list{grid-template-columns:1fr}}
/* Wio — shared white / cobalt identity */
:root{--accent:#2828ff;--navy:#2828ff;--blue:#2828ff}body{background:#f5f6fa;color:#162038}.brand-logo{width:54px;height:54px;object-fit:contain;border-radius:8px}.sidebar{background:#fff;color:#162038;border-right:1px solid #e4e7ee}.sidebar .brand{color:#162038}.sidebar .brand small{color:#667085;font-size:8px;letter-spacing:1.3px}.nav-label,.sidebar-caption{color:#7b8495}.nav-item{color:#566178}.nav-item:hover{background:#f4f4ff;color:#2828ff}.nav-item.active{color:#2828ff;background:#ededff;border-color:#2828ff}.sidebar-bottom{color:#667085;border-color:#e4e7ee}.sidebar-bottom strong{color:#162038}.primary{background:#2828ff;border-color:#2828ff}.primary:hover{background:#1717d9}.eyebrow{color:#2828ff}.booking-banner{background:#ededff;border-color:#d9d9ff}.wallet-hero{background:#2828ff}.topbar{background:#fff}.brand small{font-size:9px}progress{accent-color:#2828ff}.fleet-tools{display:flex;gap:20px;margin:20px 0;flex-wrap:wrap}.fleet-tools label{min-width:220px;flex:1}.fleet-tools input,.fleet-tools select{width:100%;margin-top:8px}#fleet-map{height:350px;z-index:0}.fleet-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;margin:20px 0}.fleet-card{padding:24px;border:1px solid #e1e5ee;background:white;border-radius:10px}.fleet-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.aircraft-type{font-weight:700;color:#2828ff;font-size:13px}.fleet-card h2{font-size:25px;margin:20px 0 6px}.fleet-card p{line-height:1.7}.fleet-location{display:block;border-top:1px solid #edf0f5;padding-top:18px;margin-top:20px;font-size:19px}.fleet-card .pill{font-size:10px}.auth-shell .brand{color:#162038}

:root{--blue-hover:#1717d9;--blue-light:#ededff}.sidebar .brand{background:white;border-bottom:1px solid #e4e7ee;padding-left:14px}.intro{background:white;border-bottom:1px solid #e4e7ee}.intro .portal-label,.auth-shell .brand small{color:#667085}
