:root {
  --ink: #172132;
  --muted: #667085;
  --line: #e4e8ef;
  --paper: #ffffff;
  --bg: #f4f7fb;
  --blue: #006eb8;
  --blue-dark: #074a7a;
  --aqua: #0ba6a6;
  --red: #cf3d4f;
  --amber: #d98b12;
  --green: #158466;
  --shadow: 0 12px 32px rgba(22, 41, 73, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); min-height: 100vh; }
a { color: var(--blue); text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.topbar { height: 76px; padding: 0 4vw; display: flex; align-items: center; gap: 4vw; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.brand { color: var(--ink); display: flex; align-items: center; gap: 12px; min-width: 240px; }
.brand span:last-child { display: flex; flex-direction: column; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: white; font-weight: 900; letter-spacing: -.08em; border-radius: 13px 5px 13px 5px; background: linear-gradient(145deg, var(--blue), var(--aqua)); box-shadow: 0 6px 16px rgba(0,110,184,.25); }
.brand-mark.large { width: 64px; height: 64px; font-size: 22px; margin-bottom: 36px; }
nav { display: flex; align-items: stretch; gap: 8px; height: 100%; }
nav a { color: #485468; padding: 0 14px; display: grid; place-items: center; border-bottom: 3px solid transparent; font-weight: 650; font-size: 14px; }
nav a:hover, nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.logout-form { margin-left: auto; }
.context-form { min-width: 190px; display: flex; flex-direction: column; gap: 3px; }
.context-form label { font-size: 10px; }
.context-form select { min-width: 190px; padding: 8px 10px; font-size: 12px; }
main { width: min(1500px, 92vw); margin: 0 auto; padding: 44px 0 72px; }
.page-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 8px 0 32px; }
.page-header.compact { max-width: 980px; margin-left: auto; margin-right: auto; }
.page-header h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1; letter-spacing: -.045em; margin: 7px 0 12px; }
.page-header p:not(.eyebrow) { color: var(--muted); margin: 0; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; margin: 0; }
.eyebrow.light { color: #9dddf2; }
.actions, .form-actions { display: flex; align-items: center; gap: 10px; }
.button { border: 1px solid transparent; border-radius: 9px; min-height: 42px; padding: 10px 16px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; background: white; color: var(--ink); transition: .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(30,60,90,.1); }
.button.primary { background: var(--blue); color: white; }
.button.secondary { border-color: #b7d7e9; color: var(--blue); background: #f5fbff; }
.button.ghost { border-color: var(--line); background: white; color: #4b5769; }
.button.danger { border-color: #f4bdc4; color: var(--red); background: #fff7f8; }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.button.full { width: 100%; }
.button.is-updating { opacity: .78; cursor: progress; }
.refresh-prices-action { min-width: 220px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.refresh-prices-action > span { min-height: 14px; color: var(--muted); font-size: 10px; }
.refresh-prices-action.compact { min-width: 190px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 20px 22px; display: flex; min-height: 130px; flex-direction: column; box-shadow: 0 5px 20px rgba(31,49,76,.035); }
.stat > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat > strong { font-size: 34px; letter-spacing: -.04em; margin: auto 0 2px; }
.stat > strong.date-value { font-size: 20px; letter-spacing: -.02em; }
.stat small { color: #8b95a6; }
.stat.danger { border-top: 3px solid var(--red); }
.section-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-bottom: 22px; align-items: start; }
.section-grid.wide-left { grid-template-columns: minmax(0, 1.65fr) minmax(340px, .8fr); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-header h2, .form-section h2 { margin: 5px 0 0; letter-spacing: -.025em; font-size: 21px; }
.panel-header > a { font-size: 13px; font-weight: 750; }
.pill { border-radius: 20px; background: #edf8ff; color: var(--blue); padding: 5px 9px; text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.profile-list { margin: 0 -8px; }
.profile-row { display: grid; grid-template-columns: 10px minmax(240px, 1fr) auto auto; align-items: center; gap: 14px; border-top: 1px solid #edf0f4; padding: 15px 8px; }
.profile-row:first-child { border-top: 0; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #b6beca; box-shadow: 0 0 0 4px #eef1f4; }
.status-dot.on { background: var(--green); box-shadow: 0 0 0 4px #e4f4ef; }
.profile-main { display: flex; flex-direction: column; gap: 4px; }
.profile-main span { color: var(--muted); font-size: 12px; }
.profile-tags { display: flex; gap: 5px; }
.profile-tags span { background: #f0f4f8; color: #566274; border-radius: 5px; padding: 4px 7px; font-size: 10px; font-weight: 800; }
.row-actions { display: flex; gap: 6px; }
.run-list { margin: -8px 0; }
.run-row { color: var(--ink); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid #edf0f4; }
.run-row:first-child { border: 0; }
.run-row > span:nth-child(2), td > small { display: flex; flex-direction: column; gap: 3px; }
.run-row small, td small { color: var(--muted); font-size: 10px; }
.run-count { font-size: 17px; font-weight: 850; text-align: right; }
.run-count small { display: block; font-weight: 500; }
.badge { display: inline-flex; align-items: center; max-width: max-content; border-radius: 5px; padding: 4px 6px; font-size: 9px; letter-spacing: .04em; font-weight: 900; background: #eef1f5; color: #556172; }
.badge.large { font-size: 12px; padding: 8px 11px; }
.status-success { background: #e3f4ef; color: #0a7256; }
.status-partial_success { background: #fff3dc; color: #9a6000; }
.status-failed, .status-blocked, .status-schema_changed { background: #fde8eb; color: #b3263a; }
.status-running { background: #e5f3fb; color: #076caa; }
.status-pending { background: #f1ecff; color: #6840bd; }
.badge.all-in { background: #e1f7f7; color: #087779; }
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { border: 1px solid var(--line); border-radius: 12px; padding: 17px; min-height: 205px; background: linear-gradient(160deg, white 60%, #f3f9fc); }
.price-card-top { display: flex; justify-content: space-between; align-items: center; }
.ship { color: var(--blue); font-weight: 800; font-size: 11px; }
.category, .category-code { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 5px; background: var(--ink); color: white; font-weight: 900; font-size: 11px; }
.price-card h3 { font-size: 15px; min-height: 38px; margin: 16px 0 8px; }
.price-card > p { color: var(--muted); font-size: 11px; }
.price { display: flex; flex-direction: column; margin-top: 22px; }
.price strong { font-size: 23px; letter-spacing: -.04em; }
.price small { color: var(--muted); margin-top: 3px; }
.empty { color: var(--muted); padding: 28px; text-align: center; }
.alert { max-width: 980px; margin: 0 auto 20px; border-radius: 9px; padding: 13px 16px; }
.alert.error { background: #fff0f2; border: 1px solid #f4bbc3; color: #a62335; }
.alert.success { background: #e8f7f2; border: 1px solid #adddcc; color: #0a7256; }
.form-panel { max-width: 980px; margin-left: auto; margin-right: auto; padding: 0; overflow: hidden; }
.profile-template-section { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); align-items: end; gap: 24px; padding: 20px 30px; border-bottom: 1px solid #cfe4ef; background: linear-gradient(135deg, #eef9fe, #f5fcfc); }
.profile-template-copy { min-height: 45px; display: flex; align-items: center; gap: 12px; }
.profile-template-copy > div { display: flex; flex-direction: column; gap: 3px; }
.profile-template-copy strong { color: var(--blue-dark); font-size: 13px; }
.profile-template-copy small { color: var(--muted); font-size: 10px; }
.profile-template-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: white; background: linear-gradient(145deg, var(--blue), var(--aqua)); font-size: 19px; font-weight: 900; }
.profile-template-section label { color: var(--blue-dark); }
.profile-template-section select { min-height: 45px; border-color: #acd2e4; font-weight: 750; }
.form-section { padding: 26px 30px; border-top: 1px solid var(--line); }
.form-section:first-child { border: 0; }
.form-section h2 { margin-bottom: 17px; }
.form-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.form-section-heading h2 { margin: 0 0 5px; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.form-step { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; color: var(--blue-dark); background: #e7f5fc; font-size: 12px; font-weight: 900; }
.help { color: var(--muted); font-size: 12px; margin: -8px 0 16px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
label { color: #4e5a6b; font-size: 12px; font-weight: 750; display: flex; flex-direction: column; gap: 7px; }
input, select { width: 100%; border: 1px solid #cfd6e1; border-radius: 8px; padding: 11px 12px; color: var(--ink); background: white; outline: 0; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,110,184,.1); }
.check-label { flex-direction: row; align-items: center; gap: 9px; align-self: center; }
.check-label input { width: 18px; height: 18px; }
.notice { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--aqua); background: #f0fbfb; color: #426063; font-size: 12px; }
.profile-filter-card { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #cce3ef; border-radius: 11px; background: #f5fbff; cursor: pointer; }
.profile-filter-card input { width: 20px; height: 20px; flex: 0 0 auto; }
.profile-filter-card > span { display: flex; flex-direction: column; gap: 3px; }
.profile-filter-card strong { color: var(--blue-dark); }
.profile-filter-card small { color: var(--muted); font-weight: 500; }
.filter-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.filter-choice-grid .profile-filter-card { grid-column: auto; min-height: 74px; }
.primary-travel-filters { margin-top: 4px; }
.airport-picker-field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.airport-picker-field > .field-label { color: #445166; font-size: 11px; font-weight: 800; }
.airport-picker { overflow: hidden; border: 1px solid #d8e0ea; border-radius: 11px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.airport-picker.has-selection, .airport-picker-field.has-selection .airport-picker { border-color: #83bfdc; box-shadow: 0 0 0 3px rgba(0,110,184,.06); }
.airport-picker > summary { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px; list-style: none; cursor: pointer; color: #4c596b; font-size: 13px; font-weight: 750; }
.airport-picker > summary::-webkit-details-marker { display: none; }
.airport-picker-field.has-selection [data-airport-summary] { color: var(--blue-dark); font-weight: 850; }
.airport-picker-chevron { color: var(--blue); font-size: 20px; line-height: 1; transition: transform .16s ease; }
.airport-picker[open] .airport-picker-chevron { transform: rotate(180deg); }
.airport-picker-panel { padding: 18px; border-top: 1px solid #e6ebf1; background: #fbfcfe; }
.airport-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.airport-picker-head strong { font-size: 13px; }
.airport-picker-head button { padding: 3px 0; border: 0; border-bottom: 1px solid transparent; color: var(--blue); background: transparent; font-size: 11px; font-weight: 800; }
.airport-picker-head button:hover { border-bottom-color: currentColor; }
.airport-picker-head button:focus-visible { outline: 3px solid rgba(0,110,184,.15); outline-offset: 3px; border-radius: 2px; }
.airport-picker-panel fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.airport-picker-panel fieldset:last-child { margin-bottom: 0; }
.airport-picker-panel legend { margin-bottom: 9px; color: #748196; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.airport-option-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.airport-option { min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e1e6ed; border-radius: 9px; background: white; cursor: pointer; transition: .14s ease; }
.airport-option:hover { border-color: #a8cede; background: #f7fcff; }
.airport-option:has(input:checked) { border-color: #75b8d8; background: #eaf7fd; box-shadow: inset 3px 0 var(--blue); }
.airport-option input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--blue); }
.airport-option > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.airport-option strong { color: var(--blue-dark); font-size: 12px; }
.airport-option small { overflow: hidden; color: var(--muted); font-size: 9px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.airport-picker-field > .field-help { color: var(--muted); font-size: 10px; font-weight: 500; }
.form-advanced { margin-top: 18px; border: 1px solid #e1e7ef; border-radius: 10px; background: #fafbfd; }
.form-advanced summary { cursor: pointer; padding: 13px 15px; color: #4b596c; font-size: 12px; font-weight: 800; }
.form-advanced[open] summary { border-bottom: 1px solid #e7ebf1; }
.form-advanced .form-grid { padding: 15px; }
.alert-config-section { background: linear-gradient(145deg, #f8fcff, #f4fbfb); }
.alert-config-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(240px, .8fr); align-items: stretch; gap: 16px; }
.alert-config-grid .profile-filter-card { grid-column: auto; }
.notice-inline { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; padding: 10px 13px; border-radius: 8px; background: white; border: 1px solid #d9e8ef; color: var(--muted); font-size: 11px; }
.notice-inline a { font-weight: 800; }
.alert-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.alert-help span { color: var(--muted); font-size: 12px; }
.desktop-alert-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; }
.desktop-alert-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 238px; }
.desktop-alert-card.recommended { border-color: #afd8e8; background: linear-gradient(145deg, #fff, #effaff); }
.desktop-alert-card h2 { margin: 3px 0 0; font-size: 22px; }
.desktop-alert-card p { margin: 0; max-width: 680px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.desktop-alert-card .button { margin-top: auto; }
.desktop-alert-card code { max-width: 100%; padding: 8px 10px; border-radius: 7px; color: #45536a; background: #eef2f7; font-size: 11px; overflow-wrap: anywhere; }
.form-actions { justify-content: flex-end; padding: 20px 30px; background: #f8fafc; border-top: 1px solid var(--line); }
.delete-zone { max-width: 980px; margin: 14px auto; display: flex; justify-content: flex-end; }
.filterbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; margin-bottom: 18px; }
.filterbar.is-loading { opacity: .65; pointer-events: none; }
.filterbar label:not(.check-label) { min-width: 150px; }
.journey-filters label:not(.check-label) { min-width: 132px; flex: 1 1 132px; }
.cabin-group-section { margin: 26px 0 34px; }
.cabin-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.cabin-group-heading h2 { margin: 0; font-size: 23px; }
.cabin-group-heading span { color: var(--muted); font-size: 12px; }
.cabin-group-badge { color: var(--blue-dark); background: #eaf5fb; border-radius: 6px; padding: 5px 8px; font-weight: 800; font-size: 11px; }
.journey-header p { color: var(--muted); margin: 6px 0 0; font-size: 12px; }
.cabin-history .panel-header { padding-bottom: 14px; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel .panel-header { padding: 22px 24px 0; }
.cabin-offer-panel .panel-header { margin-bottom: 16px; }
.cabin-offer-panel .panel-header > div { display: flex; flex-direction: column; gap: 4px; }
.cabin-offer-panel .panel-header p { margin: 0; color: var(--muted); font-size: 11px; }
.cabin-offer-extra[hidden] { display: none; }
.cabin-expand-footer { display: flex; justify-content: center; padding: 13px 18px 16px; border-top: 1px solid #edf0f4; background: linear-gradient(180deg, #fff, #f8fafc); }
.cabin-expand-button { min-width: 210px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 16px; border: 1px solid #bddbea; border-radius: 99px; color: var(--blue-dark); background: #f3faff; font-size: 12px; font-weight: 850; transition: .16s ease; }
.cabin-expand-button:hover { background: #e7f5fc; border-color: #89c2df; transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0,110,184,.1); }
.cabin-expand-button:focus-visible { outline: 3px solid rgba(0,110,184,.2); outline-offset: 2px; }
.cabin-expand-chevron { font-size: 18px; line-height: 1; transition: transform .18s ease; }
.cabin-offer-panel.is-expanded .cabin-expand-chevron { transform: rotate(180deg); }
.offer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 245px; }
.price-history-button { color: var(--blue); border-color: #c8dfec; background: #f8fcff; }
.price-history-button > span { font-size: 14px; line-height: 1; }
.table-summary { display: flex; justify-content: space-between; padding: 12px 16px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.pagination { height: auto; display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; padding: 11px 14px; color: #7b8697; text-transform: uppercase; letter-spacing: .07em; font-size: 9px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
td { padding: 12px 14px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
.price-cell strong { white-space: nowrap; font-size: 14px; }
.history-panel { padding: 0; overflow: hidden; }
.history-panel summary { cursor: pointer; padding: 22px 24px; font-weight: 800; }
.history-panel[open] summary { border-bottom: 1px solid var(--line); }
.itinerary-panel { margin-bottom: 18px; padding: 0; overflow: hidden; }
.itinerary-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.itinerary-header .eyebrow { margin: 0 0 4px; }
.itinerary-header h2 { margin: 0; font-size: 19px; }
.itinerary-header > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; color: var(--blue-dark); background: #eaf5fb; font-size: 10px; font-weight: 850; }
.itinerary-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b9c7d6 transparent; }
.itinerary-track { min-width: max-content; display: flex; margin: 0; padding: 22px 24px 24px; list-style: none; }
.itinerary-item { position: relative; width: 170px; flex: 0 0 170px; }
.itinerary-item:not(:first-child)::before { content: ""; position: absolute; top: 15px; right: calc(100% - 15px); width: 140px; height: 2px; background: #b9d9e8; }
.itinerary-node { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid #79bcd9; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 0 0 5px white; }
.itinerary-node span { font-size: 10px; font-weight: 900; }
.itinerary-item.sea-day .itinerary-node { border-color: #aeb9c8; background: #7b8797; }
.itinerary-item.sea-day::before { background: #cfdae4; }
.itinerary-stop { width: 150px; display: flex; flex-direction: column; gap: 4px; margin-top: 11px; }
.itinerary-stop small { color: #7b8797; font-size: 9px; font-weight: 750; }
.itinerary-stop strong { color: var(--ink); font-size: 12px; line-height: 1.3; }
.itinerary-stop strong span { color: var(--muted); font-size: 9px; }
.itinerary-stop > span { color: var(--blue-dark); font-size: 10px; font-weight: 700; }
.itinerary-item.sea-day .itinerary-stop strong, .itinerary-item.sea-day .itinerary-stop > span { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.journey-page-header { margin-bottom: 24px; }
.journey-page-header h1 { margin-bottom: 10px; }
.journey-filter-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 26px rgba(22,41,73,.06); margin-bottom: 18px; overflow: hidden; }
.filter-primary-row { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(230px, .45fr) auto; align-items: end; gap: 18px; padding: 20px 22px; }
.search-field > span, .sort-field > span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #738095; }
.input-with-icon { position: relative; }
.input-with-icon > span { position: absolute; left: 13px; top: 50%; transform: translateY(-52%); color: var(--blue); font-size: 21px; line-height: 1; }
.input-with-icon input { padding-left: 40px; min-height: 46px; font-size: 14px; }
.sort-field select { min-height: 46px; font-weight: 700; }
.switch-field { min-height: 46px; flex-direction: row; align-items: center; gap: 10px; padding: 4px 2px; cursor: pointer; }
.switch-field input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.switch-control { width: 42px; height: 24px; border-radius: 99px; background: #cbd3df; position: relative; flex: 0 0 auto; transition: .18s ease; }
.switch-control::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: white; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .18s ease; }
.switch-field input:checked + .switch-control { background: var(--blue); }
.switch-field input:checked + .switch-control::after { transform: translateX(18px); }
.switch-field input:focus-visible + .switch-control { outline: 3px solid rgba(0,110,184,.2); }
.switch-field > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.switch-field small { color: var(--muted); font-weight: 500; margin-top: 3px; }
.filter-drawer { border-top: 1px solid var(--line); }
.filter-drawer > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; cursor: pointer; color: #465469; font-size: 13px; font-weight: 800; }
.filter-drawer > summary::-webkit-details-marker { display: none; }
.filter-count { background: #e7f4fc; color: var(--blue-dark); border-radius: 99px; padding: 3px 8px; font-size: 10px; }
.drawer-chevron { margin-left: auto; font-size: 19px; transition: .18s ease; }
.filter-drawer[open] .drawer-chevron { transform: rotate(180deg); }
.filter-groups { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; padding: 8px 22px 22px; }
.filter-groups fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid #e8ecf2; border-radius: 12px; background: #fafbfd; }
.filter-groups legend { padding: 0 7px; color: var(--ink); font-size: 12px; font-weight: 850; }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.filter-grid label { min-width: 0; font-size: 10px; color: #6f7c8f; }
.filter-grid input, .filter-grid select { padding: 9px 10px; min-height: 39px; font-size: 12px; }
.filter-footer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--line); background: #fafbfd; color: var(--muted); font-size: 11px; }
.filter-footer a { font-weight: 800; }
.journey-results-panel { position: relative; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; min-height: 190px; transition: opacity .15s ease; }
.journey-results-panel.is-loading { opacity: .55; }
.results-toolbar { min-height: 62px; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfcfe); }
.results-toolbar > div { display: flex; flex-direction: column; gap: 2px; }
.results-toolbar strong { font-size: 16px; }
.results-toolbar span { color: var(--muted); font-size: 11px; }
.journey-table-wrap { width: 100%; overflow-x: auto; padding: 0 12px 8px; }
.journey-table { min-width: 920px; border-collapse: separate; border-spacing: 0 8px; }
.journey-table th { background: transparent; border: 0; padding: 8px 12px 2px; }
.journey-table td { background: #fff; border-top: 1px solid #e7ebf1; border-bottom: 1px solid #e7ebf1; padding: 14px 12px; }
.journey-table td:first-child { border-left: 1px solid #e7ebf1; border-radius: 11px 0 0 11px; }
.journey-table td:last-child { border-right: 1px solid #e7ebf1; border-radius: 0 11px 11px 0; }
.journey-row { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.journey-row:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(29,55,87,.08); }
.journey-row:hover td { background: #fbfdff; border-color: #cfe2ee; }
.journey-main-cell { width: 31%; }
.journey-title { color: #076ca9; font-size: 13px; line-height: 1.3; font-weight: 850; }
.journey-subline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.ship-chip { color: var(--blue-dark); background: #eaf5fb; border-radius: 99px; padding: 3px 7px; font-weight: 800; }
.route-line { display: flex; align-items: center; gap: 7px; color: #37465a; font-weight: 700; }
.route-arrow { color: var(--aqua); }
.journey-table td > small { display: block; margin-top: 5px; color: var(--muted); }
.occupancy-chip { display: inline-flex; white-space: nowrap; background: #f1f4f8; border-radius: 7px; padding: 5px 7px; color: #445166; font-size: 10px; font-weight: 850; }
.journey-table .price-cell { min-width: 150px; }
.journey-table .price-cell strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.025em; }
.journey-table .price-cell > span { display: block; color: var(--blue-dark); font-size: 11px; font-weight: 800; margin-top: 2px; }
.journey-table .price-cell small { color: #087779; }
.seen-cell { white-space: nowrap; }
.seen-cell > span { font-weight: 750; }
.seen-cell small { margin-top: 2px !important; }
.open-cell { width: 54px; text-align: right; }
.row-open-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--blue); font-size: 17px; font-weight: 800; box-shadow: 0 4px 10px rgba(0,110,184,.2); }
.row-open-button:hover { background: var(--blue-dark); transform: translateX(2px); }
.result-empty { min-height: 150px; display: grid; place-content: center; text-align: center; gap: 5px; color: var(--muted); }
.result-empty strong { color: var(--ink); font-size: 16px; }
.table-pagination { height: auto; padding: 15px 20px; display: flex; justify-content: center; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.page-button { min-width: 90px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: white; font-weight: 750; }
.page-button.disabled { color: #b3bbc7; background: #f7f8fa; pointer-events: none; }
.table-load-indicator { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 10px 15px; background: #172132; color: white; border-radius: 99px; box-shadow: 0 10px 25px rgba(0,0,0,.2); font-size: 11px; font-weight: 750; }
.table-load-indicator[hidden], .table-error[hidden] { display: none; }
.table-load-indicator > span:first-child { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: table-spin .7s linear infinite; }
.table-error { margin: 12px 0; padding: 12px 15px; border-radius: 9px; color: #a62335; background: #fff0f2; border: 1px solid #f4bbc3; font-size: 12px; }
@keyframes table-spin { to { transform: rotate(360deg); } }
tbody tr:hover { background: #fbfdff; }
.endpoint { max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.http-code { font-family: ui-monospace, monospace; font-weight: 850; color: var(--green); }
.http-code.bad, .bad-text { color: var(--red); }
.ok-text { color: var(--green); }
.code-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.code-grid > div { display: flex; flex-direction: column; background: #f7f9fc; padding: 16px; border-radius: 9px; }
.code-grid strong { font-family: ui-monospace, monospace; font-size: 22px; }
.code-grid span { color: var(--muted); font-size: 11px; }
.icon-button { border: 1px solid var(--line); background: white; border-radius: 7px; width: 32px; height: 32px; color: var(--blue); font-weight: 900; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(8,18,31,.58); padding: 5vh 5vw; display: grid; place-items: center; backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-card { background: white; width: min(980px, 95vw); padding: 26px; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-header { display: flex; align-items: center; justify-content: space-between; }
.modal-header h2 { margin: 4px 0 16px; }
.chart-legend { display: flex; gap: 20px; color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 4px 0 16px; }
.chart-stats[hidden] { display: none; }
.chart-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.chart-stats span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.chart-stats strong { font-size: 15px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.dot.raw { background: var(--blue); }.dot.normalized { background: var(--aqua); }
#price-chart { display: block; width: 100%; height: auto; max-height: 390px; }
.login-main { width: 100%; margin: 0; padding: 0; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-art { padding: 10vh 8vw; color: white; background: radial-gradient(circle at 70% 15%, rgba(23,196,196,.35), transparent 30%), linear-gradient(145deg, #063c68, #087eb2 58%, #04a5a5); display: flex; flex-direction: column; justify-content: center; }
.login-art h1 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -.055em; line-height: .98; max-width: 780px; margin: 14px 0 26px; }
.login-art > p:last-child { color: #d6f1f7; font-size: 17px; max-width: 620px; line-height: 1.6; }
.login-card { width: min(380px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.login-card h1 { margin: 0 0 24px; font-size: 20px; }
.login-card h2 { font-size: 34px; margin: 7px 0 10px; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.form-stack { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
@media (max-width: 1100px) { .price-cards { grid-template-columns: repeat(2, 1fr); }.stat-grid { grid-template-columns: repeat(2, 1fr); }.section-grid, .section-grid.wide-left { grid-template-columns: 1fr; }.profile-row { grid-template-columns: 10px 1fr auto; }.profile-tags { display: none; } }
@media (max-width: 1100px) { .airport-option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .filter-primary-row { grid-template-columns: minmax(260px, 1fr) minmax(220px, .7fr); }.switch-field { grid-column: 1 / -1; }.filter-groups { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .topbar { height: auto; padding: 12px 4vw; flex-wrap: wrap; }.brand { min-width: 0; }.brand small { display: none; }.context-form { order: 2; width: 100%; }.context-form select { width: 100%; }nav { order: 3; width: 100%; overflow-x: auto; height: 40px; }.logout-form { margin-left: auto; }main { padding-top: 25px; }.page-header { align-items: start; flex-direction: column; }.actions { width: 100%; flex-wrap: wrap; }.stat-grid, .price-cards, .form-grid.two, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }.profile-row { grid-template-columns: 10px 1fr; }.row-actions { grid-column: 2; }.filterbar { align-items: stretch; flex-direction: column; }.filterbar label:not(.check-label) { width: 100%; }.journey-header { align-items: flex-start; flex-direction: column; }.modal { padding: 2vw; }.modal-card { padding: 16px; } }
@media (max-width: 760px) { .filter-primary-row { grid-template-columns: 1fr; padding: 16px; }.switch-field { grid-column: auto; }.filter-drawer > summary { padding: 0 16px; }.filter-groups { padding: 8px 12px 16px; }.filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.filter-footer { padding: 12px 16px; }.journey-results-panel { border-radius: 13px; }.journey-table-wrap { padding: 8px; overflow: visible; }.journey-table { min-width: 0; border-spacing: 0; }.journey-table thead { display: none; }.journey-table tbody { display: grid; gap: 10px; }.journey-table tr { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: white; }.journey-table td, .journey-table td:first-child, .journey-table td:last-child { display: block; width: auto; padding: 7px 0; border: 0; border-radius: 0; background: transparent; }.journey-main-cell { grid-column: 1 / -1; border-bottom: 1px solid var(--line) !important; padding-bottom: 12px !important; }.journey-title { font-size: 14px; }.journey-table td:nth-child(2), .journey-table td:nth-child(3) { grid-column: 1; }.journey-table .price-cell { grid-column: 1; padding-top: 12px; }.seen-cell { display: none !important; }.open-cell { grid-column: 2; grid-row: 2 / span 3; align-self: end; }.result-empty { grid-column: 1 / -1; }.results-toolbar { padding: 12px 15px; }.table-pagination { justify-content: space-between; }.filter-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .chart-stats { grid-template-columns: repeat(2, 1fr); }.offer-actions { min-width: 225px; } }
@media (max-width: 760px) { .itinerary-header { align-items: flex-start; padding: 17px 18px 14px; }.itinerary-track { padding: 20px 18px 22px; }.itinerary-item { width: 150px; flex-basis: 150px; }.itinerary-item:not(:first-child)::before { width: 120px; }.itinerary-stop { width: 132px; } }
@media (max-width: 760px) { .filter-choice-grid, .alert-config-grid, .desktop-alert-grid { grid-template-columns: 1fr; }.alert-help, .notice-inline { align-items: flex-start; flex-direction: column; }.form-section { padding: 22px 18px; }.form-actions { padding: 18px; } }
@media (max-width: 760px) { .profile-template-section { grid-template-columns: 1fr; gap: 12px; padding: 18px; } }
@media (max-width: 760px) { .airport-picker-panel { padding: 14px; }.airport-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.airport-picker-head { align-items: flex-start; } }
