/* Hallmark · checked: 2026-11-18 · genre: modern-minimal (inferred) · built: the project · redesign: polish · v2.0.0 */
/* Existing shell, routes, field names, scripts, financial logic and content stay. */
:root {
  --muted: #526780;
  --nh-ui-font: var(--ui-font);
  --nh-ui-ink: var(--ink);
  --nh-ui-muted: #526780;
  --nh-ui-paper: #ffffff;
  --nh-ui-soft: #f4f7fb;
  --nh-ui-field-edge: #7b8b9d;
  --nh-ui-focus: #0b315d;
  --nh-ui-error: #a3332c;
  --nh-ui-warm: #885100;
  --nh-ui-recommended: #006f7d;
  --nh-ui-pressed: #e4f1ff;
  --nh-ui-button-ink: #ffffff;
  --nh-ui-blue: #006ac4;
  --nh-ui-disabled: #e9edf2;
  --nh-ui-radius: 6px;
  --nh-ui-gap: 8px;
  --nh-ui-text-small: 11px;
  --nh-ui-control: 38px;
  --nh-ui-touch: 44px;
}
html[data-theme="dark"] {
  --muted: #b1bfd2;
  --nh-ui-muted: #b1bfd2;
  --nh-ui-paper: #181f2c;
  --nh-ui-soft: #202c3d;
  --nh-ui-field-edge: #7d90ab;
  --nh-ui-focus: #a0d2ff;
  --nh-ui-error: #ffb5ac;
  --nh-ui-warm: #ffcf84;
  --nh-ui-pressed: #263f59;
  --nh-ui-disabled: #263242;
}
html, body { overflow-x: clip; }
body { font-family: var(--nh-ui-font); caret-color: var(--nh-ui-focus); }
::selection { color: var(--nh-ui-ink); background: var(--nh-ui-pressed); }
html { scrollbar-color: var(--nh-ui-field-edge) var(--nh-ui-soft); }
h1, h2, h3, h4 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
body :is(label, th, caption, .workspace, .eyebrow, .tag, .booking-overview-kicker) {
  letter-spacing: 0;
  text-transform: none;
}
body :is(button, input, select, textarea) { font-family: var(--nh-ui-font); }
body :is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--nh-ui-focus) !important;
  outline-offset: 3px;
  transition-property: background-color, color, opacity, transform !important;
}
body :is(input, select, textarea):focus-visible { outline-offset: -3px; }
body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(:disabled):not(:where([aria-invalid="true"], .passenger-fields .field-error)) {
  border-color: var(--nh-ui-field-edge) !important;
}
body input::placeholder, body textarea::placeholder { color: var(--nh-ui-muted); opacity: 1; }
/* Match the themed field overrides so an explicit invalid state keeps its border. */
html body :is(input, select, textarea)[aria-invalid="true"]:enabled { border-color: var(--nh-ui-error) !important; }
body :is(button, input, select, textarea):disabled,
body :is(button, a)[aria-disabled="true"] {
  cursor: not-allowed !important;
  opacity: .55;
  box-shadow: none;
}
body :is(input, select, textarea):disabled { background-color: var(--nh-ui-disabled); }
body button[aria-busy="true"] { cursor: progress; }
body button:not(:disabled):active { transform: translateY(1px); }
body :is(button, a)[aria-disabled="true"]:active { transform: none; }
body :is(.text-btn, .secondary, .primary) { white-space: nowrap; }
body :is(.primary, .secondary) { border-radius: var(--nh-ui-radius); }
body :is(th, td, .money-value, .balance-copy, .booking-history-table) { font-variant-numeric: tabular-nums; }
body :is(th, caption, .workspace, .eyebrow) { font-weight: 500; }
body .sidebar .workspace { font-size: var(--nh-ui-text-small) !important; letter-spacing: 0; color: var(--nh-ui-muted); }
body .sidebar :is(.more, #sidebar-username) { color: var(--nh-ui-muted); }
body .empty-state { color: var(--nh-ui-muted); }
body th { color: var(--nh-ui-muted) !important; }
body :is(.tag.partially, .tag.flown, .segment-status.flown, .fully-used-note,
  .fare-family-top em, .fare-detail-table .fare-head,
  .selected-title > span, .selection-label, .ticket-icon, .booking-ref,
  .booking-flight-history, .tag.no-show) { color: var(--nh-ui-muted) !important; }
body .orange { color: var(--nh-ui-warm); }
body .fare-recommended { background: var(--nh-ui-recommended); color: var(--nh-ui-button-ink) !important; }
body .tag.cancelled { color: var(--nh-ui-error) !important; }
html[data-theme="dark"] :is(.tag.partially, .tag.flown, .segment-status.flown,
  .fare-recommended, .fare-family-top em, .selection-label, .tag.no-show, .tag.cancelled,
  .fully-used-note, .fare-detail-table .fare-head, .selected-title > span, .orange,
  .ticket-icon, .booking-ref) { background: var(--nh-ui-soft); }
html[data-theme="dark"] .theme-toggle.secondary { background: var(--nh-ui-paper); color: var(--nh-ui-ink); }
html[data-theme="dark"] #search .trip-tabs button:not(.selected) { color: var(--nh-ui-muted); }
html[data-theme="dark"] .open-calendar { color: var(--nh-ui-muted); }
html[data-theme="dark"] .agency-danger { color: var(--nh-ui-error) !important; }
#agency-workspace-modal .agency-workspace-header .eyebrow { font-size: var(--nh-ui-text-small); letter-spacing: 0; text-transform: none; }
#agency-workspace-modal .agency-metrics small { font-size: var(--nh-ui-text-small); }
#agency-workspace-modal small { font-size: var(--nh-ui-text-small) !important; }
#agency-workspace-modal .agency-workspace-header .eyebrow,
#booking-detail-modal .booking-overview-header .eyebrow { display: none; }
body #booking-detail-modal .booking-overview { --bo-muted: var(--nh-ui-muted); }
#booking-detail-modal .booking-overview :is(.booking-leg-line small, .passenger-entry > span, .booking-itinerary-leg > footer > span) { color: var(--bo-muted); }
#booking-detail-modal .booking-overview .booking-fare-total strong,
#booking-detail-modal .booking-overview .booking-fare-total .money-value { color: var(--bo-ink) !important; }
#booking-detail-modal .booking-overview .booking-itinerary-leg > header > span { color: var(--nh-ui-button-ink); background: var(--nh-ui-blue); text-transform: lowercase; }
#booking-detail-modal .booking-overview .booking-itinerary-leg > header > span::first-letter { text-transform: uppercase; }
.sidebar-foot #sidebar-username { font-size: var(--nh-ui-text-small); }
.sidebar-foot .more { min-width: 28px; }
.section-heading > div, .panel-title > div { min-width: 0; }
.filters { flex-wrap: wrap; }
.filters :is(input, select) { max-width: 100%; min-width: 0; }
.filters > label { min-width: 0; }
.panel-title, .section-heading { gap: var(--nh-ui-gap); }
.agency-workspace-header h2 { overflow-wrap: break-word; }
#agency-workspace-modal .agency-workspace-tabs button:focus-visible { outline-offset: -4px; }
.agency-pagination button:disabled { cursor: not-allowed; }
.fare-policy-direction > h3 span, .baggage-detail-direction > h3 span {
  background: inherit;
  color: inherit;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  text-transform: none;
}
.ticketing-deadline strong { letter-spacing: 0; text-transform: none; }
.ticketing-deadline time, .ticketing-deadline .deadline-countdown { font-variant-numeric: tabular-nums; }
.empty-state .icon, .empty-state > span:empty { display: none; }
.plane > svg { display: block; width: 20px; height: 20px; }
.icon > svg { width: 20px; height: 20px; }
body #auth-root .auth-form > p:not(.auth-error):not(.password-success) { color: var(--nh-ui-muted); }
body #auth-root .auth-form .auth-signin { background: var(--nh-ui-blue); color: var(--nh-ui-button-ink); }
@media (hover: hover) {
  body #auth-root .auth-form .auth-signin:hover { background: var(--nexa-navy); }
}
@media (min-width: 1684px) {
  body > main { width: calc(100% - 164px); max-width: 1520px; margin-left: calc(164px + (100% - 1684px) / 2); margin-right: auto; }
}
@media (max-width: 650px) {
  .section-heading { flex-wrap: wrap; }
  .section-heading > button { margin-left: 0; }
  #administration .admin-workspace-toolbar > label { flex: 1 1 140px; }
  .agency-sheet-filters > label, #agency-workspace-modal .agency-sheet-filters > label { max-width: 100%; }
  #agency-workspace-modal .agency-sheet-filters .agency-sheet-search { min-width: 0; flex-basis: 100%; }
}
@media (pointer: coarse) {
  body :is(button, summary, .nav-link) { min-height: var(--nh-ui-touch); }
  body :is(.close, .more, .counter button) { min-width: var(--nh-ui-touch); }
  body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]) { min-height: var(--nh-ui-touch); font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
