@charset "UTF-8";
:root{--paper:#f7f8f3;--ink:#203a31;--muted:#6d7971;--line:#dce3d9;--green:#214e3b;--lime:#e4edb5;--white:#fff;--amber:#946120;--red:#a34b3c;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b48436;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}.wrap{width:min(1240px,calc(100% - 80px));margin:auto}.header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-size:25px;letter-spacing:-1.1px;font-weight:750}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--lime);height:37px;width:37px;border-radius:11px;font-size:29px;font-weight:400}.brand-tag{font-size:9px;letter-spacing:1.5px;border-left:1px solid var(--line);padding-left:15px;margin-left:9px;color:var(--muted)}nav{display:flex;gap:30px;font-size:13px;font-weight:600}nav a:hover{color:#598268}.hero{padding:60px 0 44px;display:grid;grid-template-columns:1.45fr 1fr;gap:70px;align-items:center}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;margin:0 0 20px;display:flex;align-items:center;gap:9px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5b8965}.hero h1{font-size:clamp(40px,4.8vw,65px);font-weight:500;letter-spacing:-3.2px;line-height:1.07;margin:0 0 24px}.hero h1 em{font-family:Georgia,serif;color:#73896c;letter-spacing:-2px;font-weight:400}.intro{font-size:14px;line-height:1.8;color:var(--muted);max-width:430px;margin:0}.route{display:flex;align-items:center;gap:7px;margin-top:27px}.route-origins{display:contents}.route-code{border:1px solid var(--line);font-size:11px;border-radius:6px;padding:6px 10px;font-weight:650}.route-line{color:#8c9d8d;letter-spacing:2px;padding:0 7px}.route strong{font-size:16px;letter-spacing:2px}.trip-card{position:relative;border-radius:20px;background:var(--green);color:#fff;padding:27px 30px;overflow:hidden;box-shadow:0 14px 35px #203a310c;transform:rotate(2deg)}.ticket-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#c3d5b5}.ticket-icon{font-size:29px;line-height:1}.ticket-city{font-family:Georgia,serif;font-size:48px;letter-spacing:-2px;margin:24px 0 29px}.ticket-city .ticket-place{display:block;font:9px "Segoe UI",sans-serif;letter-spacing:3px;color:#b6c9ad;margin-top:10px}.ticket-stamp{position:absolute;right:24px;top:76px;width:72px;height:72px;border:1px solid #9ab48366;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(-20deg);font-size:21px;letter-spacing:2px;color:#c0d19466}.ticket-stamp small{font-size:7px;letter-spacing:1px;margin-top:6px}.ticket-bottom{display:flex;justify-content:space-between;border-top:1px dashed #9bb38e88;padding-top:23px;gap:14px}.ticket-bottom span{display:block;font-size:8px;letter-spacing:1.5px;color:#bacbb3;margin-bottom:8px}.ticket-bottom strong{font-size:14px;font-weight:500}.trip-card>p{color:#b9cbb4;font-size:10px;margin:23px 0 0}.status-bar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;display:flex;gap:18px;align-items:center;font-size:11px;color:var(--muted)}#status-label{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:600}#last-check{margin-left:auto}.status-bar button{border:0;background:none;font-size:11px;padding:3px 0 3px 16px;border-left:1px solid var(--line)}.warning{background:#fff4db;color:#73501c;border:1px solid #e6d5af;padding:16px 20px;border-radius:9px;font-size:13px;line-height:1.7;margin-top:16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin:24px 0 48px;gap:14px}.stats article{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px}.stat-label{font-size:9px;letter-spacing:1.2px;color:var(--muted);font-weight:650;display:flex;justify-content:space-between;align-items:center;gap:5px}.stat-label span{font-size:16px;color:#a2af9c}.stats strong{font-size:35px;letter-spacing:-1.6px;display:block;font-weight:550;margin-top:14px;line-height:1.1}.stats p{font-size:10px;color:var(--muted);margin:10px 0 0;line-height:1.6}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-heading .eyebrow{margin-bottom:10px}h2{font-size:26px;letter-spacing:-.85px;margin:0;font-weight:550}.muted{font-size:11px;color:var(--muted);line-height:1.6}.filters{display:flex;gap:16px;align-items:end;background:#eef1e8;border:1px solid #e2e8db;padding:16px;border-radius:12px;margin-bottom:22px}.filters label{flex:1;min-width:0;font-size:9px;font-weight:650;letter-spacing:.5px}select{display:block;background:#fff;border:1px solid var(--line);padding:10px 28px 10px 12px;border-radius:7px;font-size:12px;max-width:100%;width:100%;margin-top:7px;cursor:pointer;min-height:39px}.reset{border:0;background:none;white-space:nowrap;font-size:10px;padding:13px 4px;color:var(--muted)}.reset:hover{color:var(--green)}.table-scroll{border:1px solid var(--line);border-radius:12px;background:white;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}caption{text-align:left;font-size:10px;padding:12px 20px;color:var(--muted);border-bottom:1px solid var(--line)}thead{background:#fafbf7}th{font-size:9px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;color:var(--muted);padding:15px 18px;white-space:nowrap}td{border-top:1px solid #edf0e9;padding:19px 18px;vertical-align:middle}td strong{display:block;font-weight:650;font-size:13px}td small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}.price{font-size:21px;letter-spacing:-.8px;white-space:nowrap}.delta{font-size:10px;margin-top:4px;white-space:nowrap}.down{color:#33734b}.up{color:var(--red)}.neutral{color:var(--muted)}.pill{border-radius:5px;display:inline-block;font-size:9px;font-weight:600;padding:6px 8px;white-space:nowrap}.pill.good{background:#eaf2dd;color:#486039}.pill.mid{background:#fff1d7;color:#896420}.pill.watch{background:#f0f1ed;color:#70796f}.actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.chart-button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:7px 10px;font-size:10px}.chart-button:hover{background:#edf3e4}.book-link{display:inline-block;background:var(--green);color:white;border-radius:6px;padding:9px 10px;font-size:10px}.book-link:hover{background:#37674b}.selected-row{background:#f7faef}.footnote{font-size:10px;line-height:1.7;color:var(--muted);margin:13px 0 0}.empty{text-align:center;padding:28px;font-size:14px;line-height:1.7;color:var(--muted);border:1px dashed var(--line);border-radius:12px}.history-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;margin:52px 0 38px}.chart-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-width:0}.period{border:1px solid var(--line);border-radius:5px;font-size:8px;letter-spacing:1px;padding:6px 8px;white-space:nowrap}.chart-select-label{font-size:10px;color:var(--muted)}#history-select{background:#fafbf7;margin-bottom:18px}.chart-summary{display:flex;gap:18px;align-items:center}.chart-summary>strong{font-size:30px;font-weight:550;letter-spacing:-1px}.chart{margin-top:18px;min-height:210px}.chart svg{display:block;width:100%;height:auto;overflow:visible}.chart-grid{stroke:#e9ede4;stroke-width:1}.chart-label{fill:#778272;font:10px "Segoe UI",sans-serif}.chart-line{fill:none;stroke:#547d42;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-area{fill:#edf3e3}.chart-point{fill:#547d42;stroke:white;stroke-width:2}.chart-budget{stroke:#be8b41;stroke-width:1.5;stroke-dasharray:5 5}.chart-legend{display:flex;gap:20px;font-size:9px;color:var(--muted);margin-top:6px}.chart-legend span{display:flex;gap:7px;align-items:center}.chart-legend i{display:inline-block;width:15px;height:2px;background:#547d42}.chart-legend i.budget-line{background:none;height:0;border-bottom:2px dashed #be8b41}.guide-card{padding:29px 30px;border-radius:var(--radius);background:#eaf0dd}.guide-card h2{font-size:27px;line-height:1.2;margin-bottom:28px}.guide-row{display:flex;gap:12px;margin-bottom:18px}.guide-row strong{font-size:12px;font-weight:650}.guide-row p{font-size:11px;color:#6e7965;line-height:1.65;margin:6px 0 0}.guide-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex-shrink:0}.green{background:#5a844a}.amber{background:#c39247}.gray{background:#97a08b}.guide-footer{font-size:10px;line-height:1.7;color:#738169;border-top:1px solid #d5dfc6;padding-top:16px;margin-bottom:0}.about-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;display:grid;grid-template-columns:1fr 1.6fr auto;gap:30px;align-items:center}.about-strip .eyebrow{font-size:8px;margin-bottom:8px}h3{font-size:18px;font-weight:550;margin:0;letter-spacing:-.4px}.about-strip p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.about-strip a{font-size:11px;font-weight:600}footer{padding:28px 0 34px;display:flex;gap:30px;align-items:center;justify-content:space-between}.footer-brand{font-size:15px;font-weight:700;letter-spacing:-.5px}.footer-brand span{font-weight:400;font-size:10px;color:var(--muted);letter-spacing:0}footer p,footer a{font-size:9px;line-height:1.7;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;top:-90px;left:20px;padding:15px;background:white;z-index:5}.skip:focus{top:5px}[hidden]{display:none!important}
@media(min-width:1500px){.hero{padding-top:74px;padding-bottom:56px}}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.hero{gap:38px}.ticket-city{font-size:40px}.ticket-stamp{right:16px;width:60px;height:60px}.trip-card{padding:22px}.hero h1{letter-spacing:-2px}.brand-tag{display:none}.stats article{padding:18px}.stats strong{font-size:30px}.history-layout{grid-template-columns:1.5fr 1fr;gap:16px}.chart-card,.guide-card{padding:22px}td,th{padding-left:13px;padding-right:13px}.actions{flex-direction:column;gap:5px;align-items:stretch}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header{height:76px}.brand{font-size:23px}nav{gap:16px;font-size:11px}nav a:nth-child(2){display:none}.hero{grid-template-columns:1fr;padding:38px 0 26px;gap:28px}.hero h1{font-size:49px}.intro{max-width:100%;font-size:13px}.trip-card{transform:none;max-width:100%}.ticket-city{margin:15px 0 18px}.ticket-stamp{right:30px;top:55px}.ticket-bottom{padding-top:15px}.trip-card>p{margin-top:17px}.status-bar{flex-wrap:wrap;gap:10px;font-size:10px}#last-check{margin-left:0;flex:1}.status-bar button{font-size:10px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 34px}.stats article{padding:17px}.stats strong{font-size:31px}.stat-label{font-size:8px}.section-heading{align-items:start;flex-direction:column;gap:8px}h2{font-size:24px}.section-heading .muted{margin:0}.filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reset{grid-column:1/-1;padding:3px 0;text-align:right}.history-layout{grid-template-columns:1fr;margin-top:34px}.chart-card .section-heading{flex-direction:row}.chart-summary{flex-wrap:wrap;gap:8px}.chart{min-height:165px}.guide-card{padding:25px}.about-strip{grid-template-columns:1fr;gap:15px}footer{align-items:start;flex-direction:column;gap:10px}footer p{margin:0}.eyebrow{font-size:9px}.table-scroll{border:0;background:none;overflow:visible}table,tbody{display:block}thead{display:none}caption{display:block;padding:0 0 12px;border:0}tr{display:grid;grid-template-columns:1fr 1fr;gap:16px;border:1px solid var(--line);border-radius:12px;padding:19px;background:white;margin-bottom:12px}td{display:block;padding:0;border:0}td:nth-child(3){grid-column:1}td:nth-child(4){grid-column:2;grid-row:2}.actions{flex-direction:row;justify-content:end;gap:8px}td:nth-child(6){align-self:end}.book-link,.chart-button{padding:10px}.pill{font-size:9px}.price{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.baggage-panel{margin-top:24px;padding:24px;background:#eef2e4;border:1px solid var(--line);border-radius:var(--radius);display:grid;grid-template-columns:1fr 1fr;gap:12px 30px}.baggage-panel h2{margin:0}.baggage-panel .eyebrow{margin-bottom:8px}.baggage-panel label{font-size:12px;font-weight:600;align-self:center}.baggage-panel select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #bfcdb8;border-radius:9px;background:white}.baggage-panel p.footnote{grid-column:1/-1;margin:0;line-height:1.7}.baggage-caution{padding-top:10px;border-top:1px solid #d5dfc6}.baggage-detail{white-space:normal;max-width:260px;line-height:1.5!important}.baggage-panel select{min-width:0}@media(max-width:760px){.baggage-panel{grid-template-columns:1fr;padding:19px;gap:16px}.baggage-panel label{min-width:0}.baggage-detail{font-size:10px!important;overflow-wrap:anywhere}}

.baggage-included {color: var(--green, #27664c); font-weight: 650;}

.filters{flex-wrap:wrap}
.favorite-filter{flex-basis:100%;grid-column:1/-1;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}
.favorite-filter label{display:flex;align-items:center;gap:8px;flex:none;font-size:12px;letter-spacing:0;cursor:pointer;min-height:36px}
.favorite-filter input{width:18px;height:18px;accent-color:var(--green);cursor:pointer}
.favorite-filter input:focus-visible{outline:3px solid #b48436;outline-offset:4px}
#favorites-count{font-size:11px;color:var(--muted)}
.favorites-note{margin:-8px 0 16px;max-width:900px}
#favorites-status:not(:empty){color:var(--amber);margin-bottom:16px}
.route-title{display:flex;align-items:center;gap:8px}
.favorite-button{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:24px;line-height:1;padding:0}
.favorite-button:hover{background:#edf3e4}
.favorite-button[aria-pressed="true"]{background:#fff1d7;color:#896420;border-color:#e3c794}

.airline-filter{position:relative;flex:1 1 205px;min-width:190px;align-self:end;font-size:10px;z-index:2}
.airline-filter>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.airline-filter>summary::-webkit-details-marker{display:none}
.airline-filter[open]>summary{border-color:#9baa91;border-radius:8px 8px 0 0}
.airline-summary-copy{display:grid;gap:3px;min-width:0}
.airline-eyebrow{font-size:8px;letter-spacing:1px;color:var(--muted);font-weight:700}
#airline-summary{font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.airline-chevron{width:8px;height:8px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}
.airline-filter[open] .airline-chevron{transform:rotate(225deg) translate(-2px,-1px)}
.airline-popover{position:absolute;top:100%;left:0;width:min(360px,calc(100vw - 48px));padding:17px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 14px 30px #203a3122;z-index:5}
.airline-popover-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.airline-popover-head>div{display:grid;gap:4px}
.airline-popover-head strong{font-size:13px}
#airline-choice-count{font-size:10px;color:var(--muted)}
.airline-clear{border:0;background:transparent;color:var(--green);font-size:10px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;padding:6px}
.airline-clear:disabled{color:var(--muted);text-decoration:none;cursor:default}
.airline-mode{display:grid;gap:7px;border:0;border-bottom:1px solid var(--line);padding:15px 0;margin:0}
.airline-mode legend{font-size:10px;font-weight:650;padding:0 0 8px}
.airline-mode label{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:0;cursor:pointer;min-height:30px}
.airline-mode input,.airline-option input{accent-color:var(--green);width:16px;height:16px;margin:0;flex:none}
.airline-mode input:focus-visible,.airline-option input:focus-visible{outline:3px solid #b48436;outline-offset:3px}
.airline-options{display:grid;gap:3px;padding:10px 0 4px;max-height:230px;overflow-y:auto}
.airline-option{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:9px;min-height:38px;padding:4px 7px;border-radius:7px;font-size:11px;letter-spacing:0;cursor:pointer}
.airline-option:hover{background:#f3f6ee}
.airline-option:has(input:checked){background:#eef3e6}
.airline-name{font-weight:600}
.airline-count{min-width:24px;text-align:center;padding:3px 6px;background:#f1f3ee;color:var(--muted);border-radius:20px;font-size:9px}
.airline-empty,.airline-hint{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.airline-hint{border-top:1px solid var(--line);padding-top:10px}
@media(max-width:760px){.airline-filter{min-width:0;width:100%;grid-column:1/-1}.airline-filter>summary{min-height:50px}.airline-popover{position:static;width:auto;box-shadow:none;border-radius:0 0 10px 10px}.airline-filter[open]>summary{border-radius:8px 8px 0 0}}
@media(prefers-reduced-motion:reduce){.airline-chevron{transition:none}}
.favorites-missing{border:1px dashed var(--line);border-radius:10px;padding:12px 16px;margin:0 0 16px;font-size:11px;color:var(--muted)}
.favorites-missing p{margin:0}
.favorites-missing ul{list-style:none;margin:8px 0 0;padding:0}
.favorites-missing li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #edf0e9}
.favorites-missing strong{display:block;color:var(--ink);font-size:12px;font-weight:650}
.favorites-missing small{display:block;margin-top:3px}

nav a[aria-current="page"]{color:#598268;text-decoration:underline;text-underline-offset:6px}
.settings-intro{padding:52px 0 30px}
.settings-intro h1{font-size:clamp(40px,4.8vw,60px);font-weight:500;letter-spacing:-3px;line-height:1.07;margin:0 0 18px}
.settings-intro .intro{max-width:640px}
.current-search{display:inline-block;margin:22px 0 0;border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-size:12px;line-height:1.6;background:white}
.settings-form{margin:8px 0 0}
.settings-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;margin:0 0 18px;min-width:0}
.settings-card>legend,.advanced>summary{float:left;width:100%;padding:0;margin:0 0 20px;font-size:20px;font-weight:550;letter-spacing:-.5px}
.settings-card>legend+*{clear:both}
.settings-card>legend .eyebrow,.advanced>summary .eyebrow{display:block;font-size:9px;letter-spacing:1.5px;color:var(--muted);margin:0 0 8px}
.field-label{display:block;font-size:11px;font-weight:650;letter-spacing:.3px}
.picker-field+.picker-field{margin-top:22px}
.picker-grid{margin-top:20px}
.picker-grid .picker-field+.picker-field{margin-top:0}
.warning-link{font-weight:650;text-decoration:underline;text-underline-offset:3px}
.field{display:block;min-width:0;font-size:11px;font-weight:650;letter-spacing:.3px}
.settings-form input[type=text],.settings-form input[type=date],.settings-form input[type=number],.settings-form select{display:block;width:100%;max-width:100%;margin-top:7px;min-height:41px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:white;font:inherit;font-size:13px;font-weight:400;letter-spacing:0;color:var(--ink)}
.settings-form input:focus-visible,.settings-form select:focus-visible{outline:3px solid #b48436;outline-offset:2px}
.settings-form [aria-invalid]{border-color:var(--red)!important;background:#fdf6f4!important}
.field-error{display:block;margin:6px 0 0;font-size:10.5px;font-weight:500;line-height:1.5;color:var(--red);letter-spacing:0}
.field-error:empty{display:none}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px 20px}
#display-names{margin-top:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:9px 0 0;padding:0}
.chips:empty{display:none}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:5px 6px 5px 12px;border:1px solid #cfdcc5;border-radius:999px;background:#eef3e6;font-size:12px}
.chip strong{letter-spacing:1px}
.chip span{color:var(--muted);font-size:11px}
.chip:not(:has(button)){padding-right:14px}
.chip-remove{display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:50%;background:white;color:var(--muted);font-size:11px;padding:0}
.chip-remove:hover{background:#fbe9e5;color:var(--red)}
.combo{position:relative}
.suggestions{position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:10;list-style:none;margin:0;padding:6px;max-height:330px;overflow-y:auto;background:white;border:1px solid #9baa91;border-radius:0 0 10px 10px;box-shadow:0 14px 30px #203a3122}
.suggestions li{padding:9px 10px;border-radius:7px;cursor:pointer}
.suggestions li:hover,.suggestions li.active{background:#eef3e6}
.suggestions strong{display:block;font-size:12px;font-weight:650}
.suggestions small{display:block;margin-top:3px;font-size:10px;color:var(--muted);line-height:1.4}
.suggestions .suggestion-empty{cursor:default;color:var(--muted);font-size:11px}
.suggestions .suggestion-empty:hover{background:none}
.duration-inputs{display:flex;gap:10px;margin-top:7px}
.duration-inputs label{flex:1;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500}
.settings-form .duration-inputs input{margin-top:0}
.checks{display:grid;gap:12px;margin-top:20px}
.time-windows{margin-top:22px}.time-windows .field-label small{font-weight:400;color:var(--muted);margin-left:6px}
.time-grid{display:grid;grid-template-columns:auto 1fr 1fr;gap:8px 14px;align-items:center;margin-top:10px;max-width:560px}
.time-head{font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);font-weight:650}
.time-row{font-size:12px;font-weight:600}
.time-range{display:flex;align-items:center;gap:6px}
.settings-form .time-range select{flex:1;min-width:0;margin-top:0;min-height:36px;padding:7px 8px;font-size:12px}
@media(max-width:480px){.time-grid{grid-template-columns:1fr}.time-grid>span:first-child,.time-head{display:none}.time-row{margin-top:6px}.time-range::before{content:attr(data-kind);flex:0 0 68px;font-size:11px;color:var(--muted)}}
.check{display:grid;grid-template-columns:20px 1fr;column-gap:10px;align-items:start;font-size:12px;font-weight:600;cursor:pointer}
.check input{grid-row:span 2;width:18px;height:18px;margin:0;accent-color:var(--green)}
.check small{grid-column:2;font-size:10.5px;font-weight:400;color:var(--muted);margin-top:3px}
.advanced>summary{float:none;display:block;cursor:pointer;list-style:none;position:relative;margin:0;padding-right:30px}
.advanced>summary::-webkit-details-marker{display:none}
.advanced>summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:22px;font-weight:400;color:var(--muted)}
.advanced[open]>summary::after{content:"–"}
.advanced[open]>summary{margin-bottom:6px}
.advanced .field-grid{margin-top:16px}
.settings-summary{display:grid;grid-template-columns:1fr 1.4fr;gap:30px;margin:8px 0 44px;padding:28px 30px;border-radius:20px;background:var(--green);color:white}
.settings-summary .eyebrow{color:#c3d5b5;margin-bottom:10px}
.settings-summary h2{color:white;margin-bottom:14px}
.estimate{font-size:12px;line-height:1.7;color:#d5e3cc;margin:0}
.meter{height:6px;margin-top:12px;border-radius:99px;background:#ffffff22;overflow:hidden}
.meter span{display:block;height:100%;width:0;background:var(--lime);transition:width .2s ease}
.meter span.high{background:#e8c27a}.meter span.over{background:#f0a08f}
.changes{list-style:none;margin:0;padding:0}
.changes li{display:grid;grid-template-columns:minmax(150px,1fr) 1.4fr;gap:12px;padding:9px 0;border-bottom:1px solid #ffffff1f;font-size:12px;line-height:1.5}
.changes strong{font-weight:600}
.changes span{color:#d5e3cc;overflow-wrap:anywhere}
.changes .changes-empty{display:block;color:#b9cbb4}
.message{margin:12px 0 0;padding:10px 12px;border-radius:8px;font-size:11.5px;line-height:1.6}
.message.error{background:#f6d9d2;color:#7a2f22}
.message.warn{background:#fff1d7;color:#73501c}
.message.info{background:#ffffff14;color:var(--lime);border:1px solid #ffffff26}
.settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px}
.primary-button{border:0;border-radius:9px;padding:13px 18px;background:var(--lime);color:var(--green);font-size:13px;font-weight:700}
.primary-button:hover{background:#f0f6cf}
.primary-button[aria-disabled="true"]{opacity:.6}
.settings-summary .reset{color:#c3d5b5;font-size:11px}
.settings-summary .reset:hover{color:white}
.settings-summary button:focus-visible{outline-color:var(--lime)}
#submit-note{color:#d5e3cc;font-size:11px}
#submit-note a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.settings-intro{padding:34px 0 22px}.settings-intro h1{font-size:44px;letter-spacing:-2px}.settings-card{padding:20px 18px}.settings-summary{grid-template-columns:1fr;gap:18px;padding:22px 20px}.changes li{grid-template-columns:1fr;gap:3px}.field-grid{grid-template-columns:1fr 1fr;gap:14px}}
@media(max-width:480px){.field-grid{grid-template-columns:1fr}nav{gap:12px}nav a{white-space:nowrap}}
@media(max-width:360px){.brand{font-size:21px}.header nav a:first-child{display:none}.theme-switch{padding:0 7px}}
@media(prefers-reduced-motion:reduce){.meter span{transition:none}}
/* Settings: the trip bar above the form. */
.trips-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px}
.trips-head h2{font-size:20px;letter-spacing:-.5px}
.trips-head .eyebrow{display:block;font-size:9px;letter-spacing:1.5px;color:var(--muted);margin:0 0 8px}
.trip-tabs{display:flex;flex-wrap:wrap;gap:10px}
.trip-choice{display:grid;gap:3px;text-align:left;min-width:0;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:var(--white);font-size:13px;line-height:1.3}
.trip-choice strong{font-weight:650;overflow-wrap:anywhere}
.trip-choice small{font-size:10px;letter-spacing:.5px;color:var(--muted)}
.trip-choice[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}
.trip-choice[aria-pressed="true"] small{color:#c3d5b5}
.trip-choice.has-error{border-color:var(--red)}
.trip-choice.has-error small{color:var(--red)}
.trip-choice[aria-pressed="true"].has-error small{color:#f6c4b8}
.trip-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px 24px;margin-top:18px}
.trip-tools .field{flex:0 1 280px}
.remove-trip{color:var(--red);font-size:11px}
.remove-trip:disabled{opacity:.4;cursor:default}
#add-trip:disabled{cursor:default}
.settings-subhead{font-size:12px;letter-spacing:.3px;margin:20px 0 0;color:var(--muted);font-weight:650}
.current-search ol{margin:6px 0 0;padding-left:20px}
.copy-body{margin-top:12px}
.copy-body textarea{display:block;width:100%;margin:6px 0 8px;padding:10px;border-radius:8px;border:1px solid #ffffff33;font:11px/1.5 ui-monospace,monospace;background:#ffffff14;color:white;resize:vertical}
.copy-body .field-label{color:#d5e3cc;font-size:11px}
@media(max-width:760px){.trips-head{flex-direction:column}.trip-choice{flex:1 1 calc(50% - 5px);padding:9px 12px}}
/* Settings: suggested price targets. */
.price-suggestion{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 18px;padding:12px 14px;border:1px dashed #b9c9ad;border-radius:10px;background:#f4f7ec;font-size:12px;line-height:1.6}
.price-suggestion p{margin:0;flex:1 1 320px}
#currency-converted{margin-top:10px}
.airport-targets{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.airport-targets .footnote{margin:4px 0 12px}
.target-rows{display:grid;gap:10px}
.target-row{display:grid;grid-template-columns:minmax(140px,1fr) 1fr 1fr;gap:12px 20px;align-items:end}
.target-row>strong{font-size:12px;padding-bottom:12px}
@media(max-width:480px){.target-row{grid-template-columns:1fr 1fr}.target-row>strong{grid-column:1/-1;padding-bottom:0}}
/* Settings: trip ends by longest length or by return date. */
.segmented{display:flex;gap:6px;margin-top:7px}
.segmented label{flex:1;display:flex;align-items:center;gap:7px;min-height:39px;padding:0 10px;border:1px solid var(--line);border-radius:7px;font-weight:600;cursor:pointer;background:var(--white)}
.segmented label:has(input:checked){border-color:var(--green);background:#eef3e6}
.field-hint{display:block;margin-top:6px;font-size:10.5px;font-weight:400;line-height:1.5;color:var(--muted)}
/* Theme selector in the header: a native select over the current choice's icon and name. */
.header nav{align-items:center}
.theme-switch{position:relative;display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:600;color:var(--ink);cursor:pointer;white-space:nowrap}
.theme-switch:hover{border-color:#9baa91}
.theme-switch:focus-within{outline:3px solid #b48436;outline-offset:3px}
.theme-switch select{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer;appearance:none}
.theme-option{display:none;align-items:center;gap:6px}
.theme-option svg{display:block;flex:none}
:root:not([data-theme-choice]) .theme-option[data-for="auto"],[data-theme-choice="auto"] .theme-option[data-for="auto"],[data-theme-choice="light"] .theme-option[data-for="light"],[data-theme-choice="dark"] .theme-option[data-for="dark"]{display:inline-flex}
@media(max-width:760px){.theme-switch{padding:0 8px;min-height:30px}.theme-word{display:none}.header nav a[href^="https://github.com"]{display:none}}
/* Trip switcher: one tab per tracked trip, shown with two or more trips. */
.trip-switcher{display:flex;flex-wrap:wrap;gap:10px;padding:22px 0 0}
.trip-tab{display:grid;gap:3px;min-width:0;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:var(--white);font-size:13px;line-height:1.3}
.trip-tab strong{font-weight:650;overflow-wrap:anywhere}
.trip-tab small{font-size:10px;letter-spacing:.5px;color:var(--muted)}
.trip-tab:hover{border-color:#9baa91}
.trip-tab[aria-current="page"]{background:var(--green);border-color:var(--green);color:#fff}
.trip-tab[aria-current="page"] small{color:#c3d5b5}
/* A link to another trip hides the prerendered primary trip until its data arrives (trip.js). */
html[data-trip-loading] [data-page],html[data-trip-loading] .route-origins,html[data-trip-loading] #trip-dates,html[data-trip-loading] #trip-days,html[data-trip-loading] #budget-value{visibility:hidden}
@media(max-width:760px){.trip-switcher{gap:8px;padding-top:16px}.trip-tab{flex:1 1 calc(50% - 4px);padding:9px 12px}}
/* Long place names must wrap instead of widening the page. */
.hero>*{min-width:0}.hero h1,.ticket-city{overflow-wrap:anywhere;hyphens:auto}

/* Dark mode: theme.js sets data-theme from the saved choice (automatic follows the system).
   :where() keeps every rule's specificity as it was. */
:root{color-scheme:light}:root:where([data-theme="dark"]){color-scheme:dark}
:root:where([data-theme="dark"]){--paper:#0f1a16;--ink:#e3ebe4;--muted:#9aa99f;--line:#2a3a33;--green:#24533f;--white:#16241f;--amber:#e0ad5f;--red:#e88b78;--field:#111d18;--accent:#9ccc85}
:where([data-theme="dark"]) .skip,:where([data-theme="dark"]) .table-scroll,:where([data-theme="dark"]) .chart-card,:where([data-theme="dark"]) .current-search,:where([data-theme="dark"]) .settings-card,:where([data-theme="dark"]) .airline-popover,:where([data-theme="dark"]) .suggestions{background:var(--white)}
:where([data-theme="dark"]) select,:where([data-theme="dark"]) .settings-form input[type=text],:where([data-theme="dark"]) .settings-form input[type=date],:where([data-theme="dark"]) .settings-form input[type=number],:where([data-theme="dark"]) .settings-form select,:where([data-theme="dark"]) .baggage-panel select,:where([data-theme="dark"]) #history-select,:where([data-theme="dark"]) .airline-filter>summary,:where([data-theme="dark"]) .chip-remove{background:var(--field);color:var(--ink)}
:where([data-theme="dark"]) .hero h1 em{color:#a3c495}
:where([data-theme="dark"]) nav a:hover,:where([data-theme="dark"]) nav a[aria-current="page"]{color:var(--accent)}
:where([data-theme="dark"]) .warning{background:#3a2f17;color:#f0d59a;border-color:#5a4826}
:where([data-theme="dark"]) .filters{background:#15221d;border-color:#253630}
:where([data-theme="dark"]) thead{background:#13201b}
:where([data-theme="dark"]) td{border-top-color:#22312b}
:where([data-theme="dark"]) .down,:where([data-theme="dark"]) .baggage-included{color:var(--accent)}
:where([data-theme="dark"]) .pill.good{background:#24402c;color:#c4e3ac}:where([data-theme="dark"]) .pill.mid{background:#43361b;color:#ecc882}:where([data-theme="dark"]) .pill.watch{background:#26302b;color:#b2bdb5}
:where([data-theme="dark"]) .chart-button,:where([data-theme="dark"]) .favorite-button{background:var(--white)}
:where([data-theme="dark"]) .chart-button:hover,:where([data-theme="dark"]) .favorite-button:hover,:where([data-theme="dark"]) .airline-option:hover{background:#1e3029}
:where([data-theme="dark"]) .favorite-button{color:var(--accent)}
:where([data-theme="dark"]) .favorite-button[aria-pressed="true"]{background:#43361b;color:#ecc882;border-color:#6b5426}
:where([data-theme="dark"]) .selected-row{background:#1a2a23}
:where([data-theme="dark"]) .chart-grid{stroke:#2a3a33}:where([data-theme="dark"]) .chart-label{fill:#9aa99f}:where([data-theme="dark"]) .chart-line{stroke:var(--accent)}:where([data-theme="dark"]) .chart-area{fill:#1b3027}
:where([data-theme="dark"]) .chart-point{fill:var(--accent);stroke:var(--paper)}:where([data-theme="dark"]) .chart-budget{stroke:#e0ad5f}
:where([data-theme="dark"]) .chart-legend i{background:var(--accent)}:where([data-theme="dark"]) .chart-legend i.budget-line{border-bottom-color:#e0ad5f}
:where([data-theme="dark"]) .guide-card{background:#182a20}:where([data-theme="dark"]) .guide-row p,:where([data-theme="dark"]) .guide-footer{color:#a7b5aa}:where([data-theme="dark"]) .guide-footer{border-top-color:#2c3f35}
:where([data-theme="dark"]) .baggage-panel{background:#15231d}:where([data-theme="dark"]) .baggage-panel select{border-color:#2f4239}:where([data-theme="dark"]) .baggage-caution{border-top-color:#2c3f35}
:where([data-theme="dark"]) .reset:hover{color:#cfe3b8}
:where([data-theme="dark"]) .airline-filter[open]>summary,:where([data-theme="dark"]) .suggestions{border-color:#4a5f55}
:where([data-theme="dark"]) .airline-clear{color:var(--accent)}
:where([data-theme="dark"]) .airline-option:has(input:checked),:where([data-theme="dark"]) .suggestions li:hover,:where([data-theme="dark"]) .suggestions li.active{background:#213a2e}
:where([data-theme="dark"]) .airline-count{background:#22312b}
:where([data-theme="dark"]) .favorites-missing li{border-top-color:#22312b}
:where([data-theme="dark"]) .settings-form [aria-invalid]{background:#3a1d18!important}
:where([data-theme="dark"]) .chip{background:#1b2f25;border-color:#2f4a3c}
:where([data-theme="dark"]) .chip-remove:hover{background:#3a1d18}
:where([data-theme="dark"]) .trip-tab:hover,:where([data-theme="dark"]) .theme-switch:hover{border-color:#4a5f55}
:where([data-theme="dark"]) .trip-choice{background:var(--white)}
:where([data-theme="dark"]) .segmented label:has(input:checked){background:#1b2f25;border-color:#4f8a63}
:where([data-theme="dark"]) .price-suggestion{background:#15231d;border-color:#2f4a3c}
:where([data-theme="dark"]) .trip-choice[aria-pressed="true"]{background:var(--green)}
:where([data-theme="dark"]) .trip-choice.has-error small{color:var(--red)}
:where([data-theme="dark"]) .message.error{background:#4a221c;color:#f6c4b8}:where([data-theme="dark"]) .message.warn{background:#43361b;color:#f0d59a}
:where([data-theme="dark"]) .trip-card{box-shadow:0 14px 35px #0006}
:where([data-theme="dark"]) .airline-popover{box-shadow:0 14px 30px #0008}
@media(max-width:760px){:where([data-theme="dark"]) tr{background:var(--white)}}
/* Flight times: one block per direction, departure → arrival in local time. */
.th-note{font-weight:500;letter-spacing:.3px;text-transform:none;opacity:.8;margin-left:4px}
.legs{display:grid;gap:11px;min-width:172px}
.leg{display:grid;grid-template-columns:36px auto;column-gap:8px;row-gap:2px;align-items:baseline}
.leg-label{font-size:8.5px;font-weight:650;letter-spacing:.9px;text-transform:uppercase;color:var(--muted)}
.leg-time{display:flex;align-items:baseline;gap:6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.leg-time strong{display:inline;font-size:13px}
.leg-arrow{color:#a2af9c;font-size:12px}
.leg-shift{align-self:flex-start;margin-left:-3px;font-size:9px;font-weight:650;color:#896420;line-height:1}
td small.leg-meta{grid-column:2;margin-top:0}
td small.party-price{margin-top:2px}
.layover{white-space:nowrap}.layover-alert{color:#896420;font-weight:600;cursor:help}
:where([data-theme="dark"]) .layover-alert{color:var(--amber)}
:where([data-theme="dark"]) .leg-arrow{color:#6f8076}
:where([data-theme="dark"]) .leg-shift{color:var(--amber)}
@media(max-width:760px){td:nth-child(3),td:nth-child(6){grid-column:1/-1}td:nth-child(4){grid-column:auto;grid-row:auto}td:nth-child(5){justify-self:end}.legs{grid-template-columns:1fr 1fr;gap:12px;min-width:0;padding:12px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}.leg{grid-template-columns:1fr}.leg-label{margin-bottom:3px}td small.leg-meta{grid-column:1}}
/* Seven filters: let them wrap into rows instead of cutting their texts. */
.filters>label{flex:1 1 150px}

/* Cheapest offer per departure airport, above the table. */
.airport-best{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;margin:0 0 16px}
.airport-best-label{flex-basis:100%;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;font-weight:650;color:var(--muted)}
.airport-chip{display:grid;grid-template-columns:auto auto;column-gap:10px;row-gap:2px;align-items:baseline;text-align:left;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--white);min-width:150px}
.airport-chip strong{font-size:12px;letter-spacing:1px}.airport-price{font-size:17px;font-weight:650;letter-spacing:-.4px;justify-self:end}
.airport-chip small{grid-column:1/-1;font-size:10px;color:var(--muted)}
.airport-chip:hover{border-color:#9db58e}.airport-chip[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}.airport-chip[aria-pressed="true"] small{color:#c3d5b5}
/* Price calendar: one green ramp, darker = cheaper; in dark mode brighter = cheaper. */
.calendar-section{margin:52px 0 0}
.calendar-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.calendar-scroll{overflow-x:auto}
.calendar-table{border-collapse:separate;border-spacing:2px;font-size:11px;width:auto;margin:0 auto 0 0}
.calendar-table th{font-size:9px;font-weight:600;color:var(--muted);padding:4px 6px;white-space:nowrap;text-transform:none;letter-spacing:.3px}
.calendar-table thead th{text-align:center}.calendar-table tbody th{text-align:right;padding-right:10px}
.calendar-table td{padding:0;border:0}
.calendar-cell{display:block;min-width:56px;padding:8px 6px;border:0;border-radius:4px;text-align:center;font:inherit;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
button.calendar-cell,a.calendar-cell{cursor:pointer;width:100%;text-decoration:none}
button.calendar-cell:hover,a.calendar-cell:hover{filter:brightness(1.06);box-shadow:inset 0 0 0 2px #ffffff99}
/* A dot marks prices with a checked offer in the list; the other prices are links. */
button.calendar-cell{position:relative}button.calendar-cell::after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:currentColor}
.calendar-table tr.is-selected-day th{color:var(--ink);font-weight:750}
.calendar-cell.is-selected{box-shadow:inset 0 0 0 2px var(--ink)}
.heat-0{background:#3b7034;color:#fff}.heat-1{background:#72a656;color:#1d2b22}.heat-2{background:#8fbf71;color:#1d2b22}
.heat-3{background:#b6d49a;color:#1d2b22}.heat-4{background:#dfead0;color:#1d2b22}.heat-none{background:none;color:var(--muted)}
.calendar-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;font-size:10px;color:var(--muted)}
.legend-steps{display:inline-flex;gap:2px}.legend-steps i{display:block;width:22px;height:10px;border-radius:3px}
#calendar-range{margin-left:6px}
.calendar-hint{margin-left:auto;display:inline-flex;align-items:center;gap:5px}.legend-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--ink)}
.week-trend{font-weight:600}
:where([data-theme="dark"]) .heat-0{background:#a0cf89;color:#0f1a16}:where([data-theme="dark"]) .heat-1{background:#5f9c58;color:#0f1a16}
:where([data-theme="dark"]) .heat-2{background:#3a7440;color:#fff}:where([data-theme="dark"]) .heat-3{background:#2c5a38;color:#e3ebe4}
:where([data-theme="dark"]) .heat-4{background:#25412f;color:#e3ebe4}
:where([data-theme="dark"]) .airport-chip[aria-pressed="true"]{background:#24533f;border-color:#3b6f55}
@media(max-width:760px){.airport-chip{flex:1 1 calc(50% - 5px);min-width:0}.calendar-card{padding:14px 10px}.calendar-cell{min-width:48px;padding:8px 4px}.calendar-section{margin-top:36px}
  /* The offer table becomes cards on phones; the calendar stays a grid. */
  .calendar-table{display:table}.calendar-table thead{display:table-header-group}.calendar-table tbody{display:table-row-group}
  .calendar-table tr,:where([data-theme="dark"]) .calendar-table tr{display:table-row;border:0;border-radius:0;padding:0;margin:0;background:none}
  .calendar-table th,.calendar-table td{display:table-cell}}
.label-note{font-weight:400;color:var(--muted);margin-left:6px;font-size:10px}
[data-field="return_from"]{margin-top:18px}
