/* New look (html.pie-premium) — flight-tracker page.
   Owned by one session at a time; see .claude/skills/pie-new-ui/SKILL.md.
   Every selector starts with: html.pie-premium .pp-shell <this page's root class> */

/* ==========================================================================
   Flight Tracker (PremiumFlightTrackerPage.vue → PremiumFlightTrackerDashboard.vue, .pp-ft) — the design's
   Flight Tracker screen (sections.js P['flight-tracker']): page head, Reservations segmented control,
   search toolbar, filter fields, list card. The classic scoped CSS (FlightTrackerDashboard.vue) is the base.
   The two modals are moved to <body> on mount, so their rules use .pp-ft-modal instead of .pp-shell.
   ========================================================================== */
html.pie-premium .pp-shell .pp-ft {
    --pp-i-planner: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5'%20width='18'%20height='16'%20rx='2'/%3E%3Cpath%20d='M3%2010h18M8%203v4M16%203v4M8%2014h3M8%2017h6'/%3E%3C/svg%3E");
    --pp-i-next: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m9%206%206%206-6%206'/%3E%3C/svg%3E");
}

html.pie-premium .pp-shell .pp-ft .pp-ic-planner { --pp-i: var(--pp-i-planner); }
html.pie-premium .pp-shell .pp-ft .pp-ic-next { --pp-i: var(--pp-i-next); }
html.pie-premium .pp-shell .pp-ft .pp-ic-fold { --pp-i: var(--pp-i-fold); }

/* Page frame: no white card around the page, the list card is the only card */
html.pie-premium .pp-shell .flight-tracker-dpage .crm-page-content > .container-fluid {
    padding: 0 32px 32px;
}

html.pie-premium .pp-shell .flight-tracker-dpage .flight-tracker-block {
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

/* The classic board is a fixed-height box that scrolls inside; here the page scrolls, as in the design */
html.pie-premium .pp-shell .pp-ft {
    display: block;
    height: auto;
    min-height: 0;
    background: transparent;
    font-family: var(--pp-sans);
    color: var(--pp-ink-2);
}

html.pie-premium .pp-shell .pp-ft.ft-fullscreen--expanded {
    position: fixed;
    inset: 0;
    z-index: 999;
    height: 100vh;
    padding: 0 32px 32px;
    overflow-y: auto;
    background: var(--pp-bg);
}

/* Page head */
html.pie-premium .pp-shell .pp-ft .pp-ft-head {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 18px 0 22px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-eyebrow {
    font: 11.5px/1.55 var(--pp-bold);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pp-acc);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-title {
    margin: 6px 0 4px;
    font: 30px/1.15 var(--pp-bold);
    letter-spacing: -.015em;
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--pp-ink-3);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-sub .ft-summary-stat--attention {
    color: #b3261e;
}

html.pie-premium .pp-shell .pp-ft .pp-acts {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Reservations: label on the left, All / Confirmed / Not confirmed as a segmented bar on the right.
   The radios stay in the markup (keyboard + v-model); only the label is drawn. */
html.pie-premium .pp-shell .pp-ft .pp-ft-scope {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-scope-label {
    margin-right: auto;
    font: 14px var(--pp-bold);
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .ft-scope-group {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

html.pie-premium .pp-shell .pp-ft .ft-scope-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--pp-ink-3);
    font: 13.5px/18px var(--pp-sans);
    white-space: nowrap;
    cursor: pointer;
}

html.pie-premium .pp-shell .pp-ft .ft-scope-option:hover {
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .ft-scope-option.pp-on {
    background: var(--pp-ink);
    color: #fff;
    font-family: var(--pp-bold);
    box-shadow: 0 6px 14px -10px rgba(20, 24, 20, .6);
}

html.pie-premium .pp-shell .pp-ft .ft-scope-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

html.pie-premium .pp-shell .pp-ft .ft-scope-option:has(input:focus-visible) {
    outline: 2px solid var(--pp-acc-line);
    outline-offset: 2px;
}

/* Toolbar: search, Filters, full screen */
html.pie-premium .pp-shell .pp-ft .pp-ft-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-search {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--pp-line);
    border-radius: 10px;
    background: var(--pp-panel);
    color: var(--pp-muted);
    cursor: text;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-search:focus-within {
    border-color: var(--pp-acc-line);
    box-shadow: 0 0 0 3px var(--pp-acc-soft);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--pp-ink);
    font: 14px var(--pp-sans);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-search input::placeholder {
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-tools .pp-btn {
    flex: none;
    letter-spacing: 0;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-tools .pp-btn.pp-on {
    border-color: var(--pp-acc-line);
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
}

/* Filter fields: the design's boxed fields (label inside, 5 per row) */
html.pie-premium .pp-shell .pp-ft .ft-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    height: 50px;
    padding: 7px 12px 8px;
    border: 1px solid var(--pp-line);
    border-radius: 10px;
    background: var(--pp-panel);
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group:focus-within {
    border-color: var(--pp-acc-line);
    box-shadow: 0 0 0 3px var(--pp-acc-soft);
}

html.pie-premium .pp-shell .pp-ft .ft-filter-label {
    margin: 0;
    font: 11.5px/14px var(--pp-bold);
    letter-spacing: 0;
    text-transform: none;
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group .form-control,
html.pie-premium .pp-shell .pp-ft .ft-filter-group .ft-datepicker .form-control {
    height: 20px;
    min-height: 0;
    padding: 0 !important;
    border: 0 !important; /* beats the global ".form-control … { border: 1px solid #d9d9d9 !important }" */
    border-radius: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none;
    color: var(--pp-ink);
    font: 13.5px/20px var(--pp-sans);
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group .form-control::placeholder {
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-datepicker .vdp-datepicker__clear-button {
    right: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__dropdown-toggle {
    height: 20px;
    min-height: 0;
    padding: 0;
    border: 0 !important; /* same global !important rule as the inputs above */
    border-radius: 0 !important;
    background: transparent;
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__selected-options {
    padding: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__selected {
    position: static;
    margin: 0;
    padding: 0;
    transform: none;
    color: var(--pp-ink);
    font: 13.5px/20px var(--pp-sans);
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__search {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 20px;
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__actions {
    padding: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__dropdown-menu {
    top: calc(100% + 9px);
    left: -13px;
    right: -13px;
    width: auto;
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group--advisor .bootstrap-select {
    width: 100%;
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group--advisor .dropdown.bootstrap-select > .btn.dropdown-toggle {
    height: 20px !important;
    padding: 0 20px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-position: right 0 center !important;
    box-shadow: none !important;
    color: var(--pp-ink) !important;
    font: 13.5px/20px var(--pp-sans) !important;
    letter-spacing: 0 !important;
}

html.pie-premium .pp-shell .pp-ft .ft-filter-group--advisor .dropdown.bootstrap-select > .dropdown-menu {
    margin-top: 9px !important;
}

html.pie-premium .pp-shell .pp-ft .ft-clear-filters {
    align-self: center;
    justify-self: start;
    padding: 0;
    color: var(--pp-acc);
    font: 13.5px var(--pp-bold);
}

/* List card */
html.pie-premium .pp-shell .pp-ft .ft-content {
    padding: 0;
    overflow: hidden;
    border-radius: var(--pp-r-card);
    background: var(--pp-panel);
    box-shadow: var(--pp-shadow);
}

html.pie-premium .pp-shell .pp-ft .ft-board {
    overflow-x: auto;
}

html.pie-premium .pp-shell .pp-ft .ft-state-block {
    padding: 48px 16px;
    color: var(--pp-ink-3);
    font-size: 13.5px;
}

html.pie-premium .pp-shell .pp-ft .ft-state-block--error {
    color: #b3261e;
}

/* Rows: one grid per row (shared tracks keep header and rows aligned). The track minimums add up to
   1128px, the card's width at a 1440px window, so every column (Actions included) is visible there;
   a narrower card scrolls sideways inside the card. */
html.pie-premium .pp-shell .pp-ft .ft-row {
    grid-template-columns: minmax(122px, 1fr) minmax(116px, 1fr) minmax(130px, 1.1fr) minmax(84px, .8fr) minmax(106px, .9fr) minmax(132px, 1.2fr) minmax(112px, 1fr) minmax(144px, 1.4fr) 74px 108px;
    gap: 0;
    min-width: 1128px;
    min-height: 56px;
    padding: 0;
    border-bottom: 1px solid var(--pp-line);
    background: transparent;
    color: var(--pp-ink-2);
    font-size: 13.5px;
    line-height: 1.55;
}

html.pie-premium .pp-shell .pp-ft .ft-row > div {
    min-width: 0;
    padding: 8px 10px;
}

html.pie-premium .pp-shell .pp-ft .ft-row > div:first-child {
    padding-left: 16px;
}

html.pie-premium .pp-shell .pp-ft .ft-row > div:last-child {
    padding-right: 4px;
}

html.pie-premium .pp-shell .pp-ft .ft-content:not(:has(.ft-pagination)) .ft-board > .ft-row:last-child {
    border-bottom: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-row:not(.ft-row--header):hover {
    background: var(--pp-hover);
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-critical {
    background: #fcf1f0;
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-critical:hover {
    background: #f9e6e4;
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-caution {
    background: #fdf6ea;
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-caution:hover {
    background: #fbeed8;
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-unknown {
    background: var(--pp-panel-2);
}

html.pie-premium .pp-shell .pp-ft .ft-row.ft-row-unknown:hover {
    background: var(--pp-hover);
}

/* Column names: regular weight with a hairline stroke, sort arrow only on hover, sorted column in the accent */
html.pie-premium .pp-shell .pp-ft .ft-row--header {
    position: static;
    min-height: 0;
    border-top: 0;
    background: var(--pp-panel);
    text-transform: none;
    letter-spacing: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-row--header > div {
    padding-top: 13px;
    padding-bottom: 13px;
    color: var(--pp-ink-3);
    font: 13px/1.2 var(--pp-sans);
    -webkit-text-stroke: .2px currentColor;
}

html.pie-premium .pp-shell .pp-ft .ft-row--header > .pp-sorted {
    color: var(--pp-acc);
}

html.pie-premium .pp-shell .pp-ft .ft-row--header .ft-sort-icon {
    margin-left: 4px;
    font-size: 10px;
    color: inherit;
    opacity: 0;
    -webkit-text-stroke: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-row--header .ft-sortable:hover .ft-sort-icon {
    opacity: .6;
}

html.pie-premium .pp-shell .pp-ft .ft-row--header .ft-sort-icon--active,
html.pie-premium .pp-shell .pp-ft .ft-row--header .ft-sortable:hover .ft-sort-icon--active {
    opacity: 1;
}

/* Two-line cells: bold value on top, small muted line under it */
html.pie-premium .pp-shell .pp-ft .ft-time,
html.pie-premium .pp-shell .pp-ft .ft-route-code,
html.pie-premium .pp-shell .pp-ft .ft-flight-code,
html.pie-premium .pp-shell .pp-ft .ft-trip-name {
    font: 13.5px/1.55 var(--pp-bold);
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .ft-tz {
    font: inherit;
    color: inherit;
}

html.pie-premium .pp-shell .pp-ft .ft-date,
html.pie-premium .pp-shell .pp-ft .ft-route-cities,
html.pie-premium .pp-shell .pp-ft .ft-flight-airline {
    margin: 0;
    font: 12px/1.55 var(--pp-sans);
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-route-code,
html.pie-premium .pp-shell .pp-ft .ft-route-cities,
html.pie-premium .pp-shell .pp-ft .ft-flight-airline,
html.pie-premium .pp-shell .pp-ft .ft-trip-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.pie-premium .pp-shell .pp-ft .ft-row-route--clickable:hover .ft-route-code {
    color: var(--pp-acc);
    text-decoration: none;
}

html.pie-premium .pp-shell .pp-ft .ft-row-confirmation,
html.pie-premium .pp-shell .pp-ft .ft-confirmation-line {
    font: 13.5px/1.55 var(--pp-sans);
    color: var(--pp-ink-2);
}

html.pie-premium .pp-shell .pp-ft .ft-confirmation-empty,
html.pie-premium .pp-shell .pp-ft .ft-gate-empty {
    color: var(--pp-muted);
}

/* Status: the design's pill with a dot, "Checked …" underneath */
html.pie-premium .pp-shell .pp-ft .ft-row-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
}

html.pie-premium .pp-shell .pp-ft .ft-status-detail,
html.pie-premium .pp-shell .pp-ft .ft-checked-at {
    width: 100%;
    margin: 0;
    font: 12px/1.55 var(--pp-sans);
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-updated-badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e7f5ee;
    color: #16794c;
    font: 10.5px var(--pp-bold);
    letter-spacing: .04em;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip,
html.pie-premium .pp-ft-modal .flight-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    font: 12px/1 var(--pp-bold);
    white-space: nowrap;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip::before,
html.pie-premium .pp-ft-modal .flight-status-chip::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-quiet,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-quiet {
    background: var(--pp-panel-2);
    color: var(--pp-ink-3);
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-go,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-go {
    background: #e8f0fb;
    color: #1f5fae;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-done,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-done {
    background: #e7f5ee;
    color: #16794c;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-warn,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-warn {
    background: #fdf3e1;
    color: #9a5b00;
}

html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-stop,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-stop {
    background: #fbeaea;
    color: #b3261e;
}

/* Not confirmed, not tracked: solid, so it stands apart from every live status (as in the classic board) */
html.pie-premium .pp-shell .pp-ft .flight-status-chip.ft-status-untracked,
html.pie-premium .pp-ft-modal .flight-status-chip.ft-status-untracked {
    background: var(--pp-ink-2);
    color: #fff;
}

/* Gate / Term: departure line bold, arrival line small */
html.pie-premium .pp-shell .pp-ft .ft-row-gate {
    font: 12px/1.55 var(--pp-sans);
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-gate-line {
    font: 12px/1.55 var(--pp-sans);
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .ft-gate-line:first-child {
    font: 13.5px/1.55 var(--pp-bold);
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .ft-gate-line + .ft-gate-line {
    margin-top: 0;
}

html.pie-premium .pp-shell .pp-ft .ft-gate-tag {
    min-width: 0;
    margin-right: 2px;
    font: inherit;
    color: inherit;
    text-transform: none;
}

html.pie-premium .pp-shell .pp-ft .ft-gate-line--changed {
    padding: 0 6px;
    border-radius: 6px;
    background: #fdf3e1;
    color: #9a5b00;
}

html.pie-premium .pp-shell .pp-ft .ft-gate-old {
    color: #b0844a;
}

/* Trip: name, then code · lead traveler, then trip status + reservation status */
html.pie-premium .pp-shell .pp-ft .ft-row-trip {
    cursor: default;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-trip-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font: 12px/1.55 var(--pp-sans);
    color: var(--pp-muted);
    white-space: nowrap;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-trip-meta > :last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-trip-meta > .ft-trip-status-pill {
    flex: none;
}

html.pie-premium .pp-shell .pp-ft .ft-trip-code,
html.pie-premium .pp-shell .pp-ft .ft-trip-lead,
html.pie-premium .pp-shell .pp-ft .ft-trip-reservation-status {
    margin: 0;
    font: inherit;
    color: inherit;
}

html.pie-premium .pp-shell .pp-ft .ft-trip-code + .ft-trip-lead::before {
    content: "· ";
}

html.pie-premium .pp-shell .pp-ft .ft-trip-code--clickable,
html.pie-premium .pp-shell .pp-ft .ft-trip-code--clickable:hover {
    color: var(--pp-acc);
    cursor: pointer;
}

html.pie-premium .pp-shell .pp-ft .ft-trip-status-pill {
    margin: 0;
    padding: 0 7px;
    border-radius: 999px;
    font: 10.5px/18px var(--pp-bold);
}

html.pie-premium .pp-shell .pp-ft .ft-row-travelers {
    text-align: left;
    color: var(--pp-ink-2);
    font-size: 13.5px;
}

/* Actions: the design's small icon buttons */
html.pie-premium .pp-shell .pp-ft .ft-row-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-ibtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pp-ink-3);
    cursor: pointer;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-ibtn:hover {
    background: var(--pp-panel-2);
    color: var(--pp-acc);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-ibtn .pp-ic {
    width: 16px;
    height: 16px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-ibtn .fa {
    font-size: 14px;
}

/* Footer: range on the left, Previous / Next on the right */
html.pie-premium .pp-shell .pp-ft .ft-pagination {
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

html.pie-premium .pp-shell .pp-ft .ft-page-info {
    font: 12.5px var(--pp-sans);
    color: var(--pp-muted);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-pager {
    display: flex;
    gap: 4px;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-pager button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pp-ink-3);
    font: 12.5px var(--pp-bold);
    cursor: pointer;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-pager button:hover:not(:disabled) {
    background: var(--pp-hover);
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft .pp-ft-pager button:disabled {
    opacity: .4;
    cursor: default;
}

html.pie-premium .pp-shell .pp-ft .pp-ft-pager .pp-ic {
    width: 14px;
    height: 14px;
}

@media (max-width: 1199px) {
    html.pie-premium .pp-shell .pp-ft .ft-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    html.pie-premium .pp-shell .flight-tracker-dpage .crm-page-content > .container-fluid,
    html.pie-premium .pp-shell .pp-ft.ft-fullscreen--expanded {
        padding: 0 16px 24px;
    }

    html.pie-premium .pp-shell .pp-ft .ft-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   QA fixes: Status / Gate spacing, trip status pills, calendar, filter dropdowns
   ========================================================================== */

/* The widest status pill ("Scheduled (not yet available)", 194px) never wrapped, so in its
   132px column it ran under Gate / Term at every width. Status gets more room and its pill
   wraps inside the column when the card is narrow; the tracks add up to 1112px, the card's
   width at a 1440px window, and a narrower card scrolls inside the card. */
html.pie-premium .pp-shell .pp-ft .ft-row {
    grid-template-columns: minmax(110px, 1fr) minmax(112px, 1fr) minmax(118px, 1.1fr) minmax(86px, .8fr) minmax(110px, .9fr) minmax(176px, 1.6fr) minmax(96px, .9fr) minmax(124px, 1.4fr) 76px 104px;
    min-width: 1112px;
}

html.pie-premium .pp-shell .pp-ft .ft-row-status .flight-status-chip {
    max-width: 100%;
    height: auto;
    min-height: 24px;
    padding: 4px 10px 4px 8px;
    border-radius: 12px;
    line-height: 1.25;
    white-space: normal;
}

/* A clear gap between the status pill and the gate column */
html.pie-premium .pp-shell .pp-ft .ft-row > .ft-row-status {
    padding-right: 16px;
}

html.pie-premium .pp-shell .pp-ft .ft-row > .ft-row-gate {
    padding-left: 12px;
}

/* Trip status (New request, Confirmed, Started…): the Trips page's pill, a soft tint of the
   agency's colour (--pp-st, PremiumFlightTrackerDashboard.vue) with a dot and darker text of
   the same hue, instead of the solid agency colour */
html.pie-premium .pp-shell .pp-ft .ft-trip-status-pill[style*="--pp-st"] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 8px 0 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pp-st) 32%, #fff);
    color: color-mix(in srgb, var(--pp-st) 42%, #1d1d22);
    font: 11px/1 var(--pp-bold);
    letter-spacing: .02em;
}

@supports (color: oklch(from red l c h)) {
    html.pie-premium .pp-shell .pp-ft .ft-trip-status-pill[style*="--pp-st"] {
        background: oklch(from var(--pp-st) 0.965 clamp(0.02, calc(c * 0.45), 0.05) h);
        color: oklch(from var(--pp-st) 0.48 clamp(0.09, calc(c * 1.4), 0.16) h);
    }
}

html.pie-premium .pp-shell .pp-ft .ft-trip-status-pill[style*="--pp-st"]::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ---------- Departure from / to calendar (also the Trip Flights Tracker map page) ---------- */
html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar {
    padding: 12px;
    border: 1px solid var(--pp-line) !important;
    border-radius: 16px;
    background: var(--pp-panel);
    box-shadow: 0 1px 2px rgba(30, 38, 32, .05), 0 18px 40px -16px rgba(30, 40, 32, .3);
    font-family: var(--pp-sans);
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    line-height: 36px;
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header span {
    border-radius: 10px;
    background: transparent !important;
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header .day__month_btn,
html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header .month__year_btn {
    color: var(--pp-ink) !important;
    font: 14.5px var(--pp-bold);
    letter-spacing: 0;
    text-transform: none;
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header .up:not(.disabled):hover,
html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar header :is(.prev, .next):not(.disabled):hover {
    background: var(--pp-hover) !important;
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .day-header {
    color: var(--pp-muted);
    font: 11px/30px var(--pp-bold);
    letter-spacing: .04em;
    text-transform: uppercase;
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .cell.day {
    height: 36px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pp-ink-2);
    font: 13.5px/36px var(--pp-sans);
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar :is(.cell.month, .cell.year) {
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pp-ink-2);
    font: 13.5px/40px var(--pp-sans);
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .cell.day.today:not(.selected) {
    box-shadow: inset 0 0 0 1px var(--pp-acc-line);
    color: var(--pp-acc);
    font-family: var(--pp-bold);
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .cell.selected,
html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .cell.selected:hover {
    background: var(--pp-acc) !important;
    color: #fff !important;
    font-family: var(--pp-bold);
}

html.pie-premium :is(.pp-shell .pp-ft, .tpf-fullscreen) .vdp-datepicker__calendar .cell.disabled {
    color: var(--pp-line-2);
}

/* ---------- Filter dropdowns: Flight status (vue-select) and Advisor (bootstrap-select) ---------- */
html.pie-premium :is(.pp-shell .pp-ft .ft-vselect, .tpf-fullscreen .tpf-vselect) .vs__dropdown-menu,
html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown > .dropdown-menu {
    margin-top: 6px !important;
    padding: 6px;
    border: 1px solid var(--pp-line) !important;
    border-radius: 12px;
    background: var(--pp-panel);
    box-shadow: 0 1px 2px rgba(30, 38, 32, .05), 0 18px 40px -16px rgba(30, 40, 32, .3);
}

html.pie-premium .pp-shell .pp-ft .ft-vselect .vs__dropdown-menu {
    left: -13px;
    width: calc(100% + 26px);
}

html.pie-premium :is(.pp-shell .pp-ft .ft-vselect, .tpf-fullscreen .tpf-vselect) .vs__dropdown-option {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--pp-ink-2);
    font: 13.5px/1.3 var(--pp-sans);
    white-space: normal;
}

html.pie-premium :is(.pp-shell .pp-ft .ft-vselect, .tpf-fullscreen .tpf-vselect) .vs__dropdown-option--highlight {
    background: var(--pp-hover);
    color: var(--pp-ink);
}

html.pie-premium :is(.pp-shell .pp-ft .ft-vselect, .tpf-fullscreen .tpf-vselect) .vs__dropdown-option--selected {
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
    font-family: var(--pp-bold);
}

/* Advisor: as wide as its longest name allowed, but never past the window */
html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown > .dropdown-menu {
    max-width: min(400px, calc(100vw - 32px));
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-searchbox {
    padding: 2px 2px 6px;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-searchbox .form-control {
    height: 36px;
    padding: 0 12px !important;
    border: 1px solid var(--pp-line) !important;
    border-radius: 10px !important;
    background: var(--pp-panel-2) !important;
    color: var(--pp-ink);
    font: 13.5px var(--pp-sans);
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-searchbox .form-control:focus {
    border-color: var(--pp-acc-line) !important;
    box-shadow: 0 0 0 3px var(--pp-acc-soft);
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-actionsbox {
    padding: 0 2px 6px;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-actionsbox .btn-group {
    display: flex;
    gap: 6px;
    width: 100%;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-actionsbox .actions-btn {
    flex: 1 1 0;
    height: 30px;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--pp-panel-2);
    color: var(--pp-ink-2);
    box-shadow: none;
    font: 12.5px var(--pp-bold);
    letter-spacing: 0;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .bs-actionsbox .actions-btn:hover {
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-menu.inner {
    padding: 0;
    border: 0 !important;
    box-shadow: none;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-header {
    padding: 8px 10px 4px;
    color: var(--pp-muted);
    font: 11px var(--pp-bold);
    letter-spacing: .06em;
    text-transform: uppercase;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item {
    position: relative;
    overflow: hidden;
    padding: 8px 30px 8px 10px !important;
    border-radius: 8px;
    background: transparent;
    color: var(--pp-ink-2);
    font: 13.5px/1.3 var(--pp-sans);
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item .text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item:is(:hover, :focus, .active) {
    background: var(--pp-hover);
    color: var(--pp-ink);
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item.selected {
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
    font-family: var(--pp-bold);
}

/* The tick: small and Bordeaux (classic: a large black check) */
html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item .check-mark {
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%);
}

html.pie-premium .pp-shell .pp-ft #ftSelectAdvisorDiv .dropdown-item .check-mark::after {
    width: 5px !important;
    height: 9px !important;
    border-color: var(--pp-acc) !important;
    border-width: 0 2px 2px 0 !important;
}

/* ==========================================================================
   Trip Flights Tracker (flighttracker/TripFlightTrackerMap.vue, .tpf-fullscreen): the map page
   that opens in its own tab. It has no app shell (.pp-shell), so these rules start at
   html.pie-premium .tpf-fullscreen; the calendar and v-select menus share the rules above.
   ========================================================================== */
html.pie-premium .tpf-fullscreen {
    background: var(--pp-panel);
    color: var(--pp-ink-2);
    font-family: var(--pp-sans);
}

html.pie-premium .tpf-fullscreen :is(.tpf-topbar, .tpf-filters) {
    border-bottom-color: var(--pp-line);
}

html.pie-premium .tpf-fullscreen .tpf-topbar {
    padding: 12px 16px;
}

html.pie-premium .tpf-fullscreen .tpf-title {
    color: var(--pp-ink);
    font: 18px/1.2 var(--pp-bold);
    letter-spacing: -.01em;
}

html.pie-premium .tpf-fullscreen :is(.tpf-trip-meta, .tpf-summary-inline) {
    color: var(--pp-muted);
}

/* Filters / Refresh: the white pill buttons; open Filters in the Bordeaux tint (classic: magenta) */
html.pie-premium .tpf-fullscreen .tpf-btn {
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--pp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pp-ink);
    box-shadow: 0 1px 2px rgba(30, 38, 32, .05), 0 6px 16px -10px rgba(30, 40, 32, .25);
    font: 13px/1 var(--pp-bold);
}

html.pie-premium .tpf-fullscreen .tpf-btn:hover {
    background: color-mix(in srgb, var(--pp-acc) 8%, #fff);
}

html.pie-premium .tpf-fullscreen .tpf-btn--active,
html.pie-premium .tpf-fullscreen .tpf-btn--active:hover {
    border-color: var(--pp-acc-line);
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
}

html.pie-premium .tpf-fullscreen .tpf-btn .fa {
    padding: 0 !important;
}

/* Filter fields: 44px boxes with the new look's line and Bordeaux focus ring */
html.pie-premium .tpf-fullscreen .tpf-filter-label {
    color: var(--pp-muted);
    font: 11.5px/14px var(--pp-bold);
    letter-spacing: .04em;
}

html.pie-premium .tpf-fullscreen .tpf-filter-group > .form-control,
html.pie-premium .tpf-fullscreen .tpf-datepicker .form-control,
html.pie-premium .tpf-fullscreen .tpf-vselect .vs__dropdown-toggle {
    height: 44px;
    min-height: 0;
    padding: 0 12px !important;
    border: 1px solid var(--pp-line-2) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--pp-ink);
    font: 13.5px/42px var(--pp-sans);
}

html.pie-premium .tpf-fullscreen .tpf-vselect .vs__dropdown-toggle {
    padding: 0 8px 0 12px !important;
}

html.pie-premium .tpf-fullscreen .tpf-filter-group > .form-control::placeholder,
html.pie-premium .tpf-fullscreen .tpf-datepicker .form-control::placeholder {
    color: var(--pp-muted);
}

html.pie-premium .tpf-fullscreen .tpf-filter-group > .form-control:focus,
html.pie-premium .tpf-fullscreen .tpf-datepicker .form-control:focus,
html.pie-premium .tpf-fullscreen .tpf-vselect.vs--open .vs__dropdown-toggle {
    border-color: var(--pp-acc-line) !important;
    box-shadow: 0 0 0 3px var(--pp-acc-soft) !important;
    outline: 0;
}

html.pie-premium .tpf-fullscreen .tpf-vselect .vs__selected {
    padding: 0;
    color: var(--pp-ink);
    font: 13.5px var(--pp-sans);
}

html.pie-premium .tpf-fullscreen .tpf-vselect .vs__open-indicator {
    fill: var(--pp-ink-3);
}

/* The calendar sits right under its field, at the width the app shell gives it on the other
   pages (pie-premium.css), so the 12px padding still leaves room for seven columns */
html.pie-premium .tpf-fullscreen .tpf-datepicker .vdp-datepicker__calendar {
    width: 330px !important;
    max-width: calc(100vw - 32px);
    margin-top: 6px;
}

html.pie-premium .tpf-fullscreen .tpf-clear-filters {
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--pp-acc-line);
    background: var(--pp-acc-soft);
    color: var(--pp-acc);
    font: 13px var(--pp-bold);
}
