:root {
    --ink: #1c1914;
    --ink-soft: #5c564c;
    --paper: #f4efe6;
    --paper-2: #fffdf8;
    --line: #e3d9c8;
    --spruce: #1e3d38;
    --spruce-2: #1a4f8b;
    --foam: #e7f0ea;
    --amber: #c4372f;
    --amber-soft: #f6e6c8;
    --plane: #c4372f;
    --margin: #1e3d38;
    --danger: #8f2d2d;
    --danger-bg: #f8e6e2;
    --note: #f8f1e4;
    --shadow: 0 14px 34px rgba(48, 36, 18, 0.08);
    --sans: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
    --serif: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(880px 280px at 100% -8%, #d7ebe3, transparent 58%),
        radial-gradient(760px 240px at 0% -6%, #f6e2d2, transparent 52%),
        var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

h1, h2, legend, .brand-name, .sheet-when, .stat strong {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 0.7rem; font-weight: 500; }
h2 { font-size: 1.65rem; margin: 0 0 0.7rem; font-weight: 500; }
p { margin: 0 0 0.8rem; }

a { color: var(--spruce-2); }
a:hover { color: var(--spruce); }

.skip {
    position: absolute;
    left: 0.5rem;
    top: -3rem;
    background: var(--ink);
    color: white;
    padding: 0.4rem 0.7rem;
    z-index: 5;
}
.skip:focus { top: 0.5rem; }

.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
main { padding: 1.6rem 0 3.5rem; }

.mast {
    background: rgba(255, 253, 248, 0.94);
    color: var(--ink);
    border-bottom: 3px solid var(--plane);
}
.mast a { color: inherit; text-decoration: none; }
.mast-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; color: var(--ink); }
.brand-logo { height: 76px; width: auto; display: block; }
.brand-name { display: block; font-size: 1.05rem; line-height: 1.15; color: var(--ink); max-width: 12rem; }
.vfr-day {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.35rem 1.4rem;
    align-items: center;
    margin: 0 0 1.1rem;
    padding: 0.85rem 1rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 4px solid var(--spruce);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.vfr-day .kicker, .vfr-date { margin: 0; }
.vfr-date { font-family: var(--display, var(--sans)); font-size: 1.15rem; }
.vfr-times { display: flex; gap: 1.4rem; margin: 0; }
.vfr-times div { display: flex; gap: 0.4rem; align-items: baseline; }
.vfr-times dt { color: var(--ink-soft); font-weight: 500; }
.vfr-times dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 1.25rem; }
.vfr-day .hint { grid-column: 1 / -1; margin: 0; }
.date-year-month { grid-template-columns: 6.4rem minmax(0, 1fr); max-width: 24rem; }
.day-field { max-width: 8rem; }
.operation-field { max-width: 12rem; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.05rem; }
.site-nav a, .signout button {
    color: var(--ink);
    font: inherit;
    font-weight: 300;
    background: none;
    border: 0;
    padding: 0.35rem 0;
    cursor: pointer;
    text-decoration: none;
}
.site-nav a.is-current,
.nav-menu > summary.is-current { box-shadow: inset 0 -2px 0 var(--plane); }
.site-nav .nav-disabled {
    color: #b3aa9e;
    font-weight: 300;
    padding: 0.35rem 0;
    cursor: not-allowed;
}
.nav-menu { position: relative; }
.nav-menu > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 300;
    padding: 0.35rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    opacity: 0.85;
}
.nav-menu[open] > summary::after { transform: translateY(0.12rem) rotate(225deg); }
.nav-menu-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 11.5rem;
    display: flex;
    flex-direction: column;
    padding: 0.35rem;
    background: var(--paper-2);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.nav-menu-panel a {
    border-radius: 0;
    padding: 0.55rem 0.75rem;
    color: var(--ink);
    font-weight: 400;
}
.nav-menu-panel a:hover { background: var(--foam); }
.nav-menu-panel a.is-current { box-shadow: none; background: var(--foam); }
.nav-register, .signout button {
    border: 2px solid var(--spruce) !important;
    border-radius: 999px;
    padding: 0.4rem 1.05rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    min-height: 42px;
}
.nav-register:hover, .signout button:hover { background: var(--spruce) !important; color: #fff !important; }
.signout { margin: 0; }
.who { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: 0.85rem; font-weight: 300; }
.who span { margin-left: 0.5rem; }

.kicker {
    margin: 0 0 0.45rem;
    color: var(--plane);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.lede { font-size: 1.05rem; font-weight: 300; max-width: 40rem; }
.hero { padding: 2.6rem 0 1rem; text-align: center; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }

.panel, .mail, .card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

button, .button {
    appearance: none;
    border: 2px solid var(--spruce);
    background: transparent;
    color: var(--spruce);
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 44px;
}
.button.secondary {
    background: var(--plane);
    color: #fff;
    border-color: var(--plane);
}
button:hover, .button:hover { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.button.secondary:hover { background: #a52e27; border-color: #a52e27; color: #fff; }
button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
button:disabled:hover {
    background: transparent;
    border-color: var(--spruce);
    color: var(--spruce);
}
button.secondary:disabled:hover {
    background: var(--plane);
    border-color: var(--plane);
    color: #fff;
}
.banner.sheet-foot { margin: 1rem 0 0; }

.panel { padding: 1.2rem 1.2rem 1.3rem; }
.narrow { max-width: 38rem; }
.page-head, .pilot-home { margin-bottom: 1rem; }
.page-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }

.sheet {
    position: relative;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 4px solid var(--plane);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.2rem 1.2rem 1.4rem;
    overflow: hidden;
}
.sheet:before { content: none; }
.sheet-head { margin-bottom: 1rem; }
.sheet-when { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }

.stack { display: flex; flex-direction: column; gap: 0.9rem; }
.grid-2, .grid-3 { display: grid; gap: 0.8rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.controls-end { align-items: end; }
.date-row { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) 4.4rem; gap: 0.45rem; }
.date-row select { min-width: 0; }
.grid-3 { grid-template-columns: 1.1fr 1.4fr 1fr; }
.span-2 { grid-column: span 2; }
.narrow-field { max-width: 16rem; }

fieldset {
    border: 1px solid var(--line);
    border-radius: 0;
    margin: 0;
    padding: 0.9rem 0.9rem 1rem;
    background: rgba(255, 253, 248, 0.7);
}
fieldset.inset { margin-top: 0.8rem; background: transparent; }
legend { padding: 0 0.35rem; }
.optional { font-family: var(--sans); font-weight: 520; color: var(--ink-soft); font-size: 0.82rem; letter-spacing: 0; }

[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }
label, .check, .label-caption { font-weight: 500; }
.label-caption { display: block; }
.hint, caption { color: var(--ink-soft); font-size: 0.9rem; }
.field-error { color: var(--danger); font-size: 0.88rem; }
.field-error:empty { display: none; }

input, select, textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: white;
    border: 1px solid #d9d0c2;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    min-height: 44px;
}
input[readonly], .readonly { background: #f6f1e6; color: var(--ink-soft); }
input[data-tail], .tail { font-family: var(--mono); letter-spacing: 0.04em; }
.check { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; }
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; }
.phone-line { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: end; }
.phone-line .field { flex: 1 1 16rem; }

.banner { padding: 0.8rem 1rem; border-radius: 0; margin: 0 0 1rem; }
.banner.ok { background: var(--foam); color: var(--spruce); }
.banner.error, .validation-summary-errors { background: var(--danger-bg); color: var(--danger); }
.banner.note { background: var(--note); color: var(--ink); }
.validation-summary-valid { display: none; }
.validation-summary-errors { display: block; }
.validation-summary-errors ul, .banner ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.banner.error p { margin: 0; }
.banner.error li { display: list-item; }

.stats { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stat {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 0.85rem 1rem;
    min-width: 11rem;
    margin: 0;
}
.stat strong { display: block; font-size: 1.8rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); box-shadow: var(--shadow); }
.when { white-space: nowrap; }
main:has(.detail-sheet) > .wrap,
main:has(.flight-log) > .wrap { width: 100%; max-width: none; padding-inline: 0.75rem; }
.detail-log { width: 100%; }
.detail-log col:nth-child(odd) { background: #fffdf8; }
.detail-log col:nth-child(even) { background: #d9d2c4; }
.detail-log th, .detail-log td { white-space: nowrap; font-size: 0.82rem; padding: 0.45rem 0.5rem; background: transparent; }
.detail-log th .hint { display: block; font-weight: 400; }
.detail-log .clock { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 0.78rem; }
.detail-log .hours, .detail-log .num { text-align: right; font-variant-numeric: tabular-nums; }
.detail-log th.num .sort-button { width: 100%; justify-content: flex-end; }
.detail-log th[colspan] { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
.people { min-width: 920px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.inline-form { display: inline-flex; margin: 0; }
.table-button { min-height: 36px; padding: 0.35rem 0.75rem; white-space: nowrap; }
.closed-link { font-weight: 650; color: var(--ink-soft); }
th, td { text-align: left; padding: 0.75rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); background: #f7f1e6; }
caption { caption-side: bottom; text-align: left; padding: 0.6rem 0.7rem; }
.group-form { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center; }
.group-form button { padding: 0.45rem 0.8rem; min-height: 40px; }
.company-assign { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; }
.company-assign .field { flex: 1 1 16rem; margin: 0; }
.company-assign button { padding: 0.45rem 0.8rem; min-height: 40px; }
.company-readonly {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 0.85rem 1rem;
    margin: 0 0 1rem;
}
.company-readonly strong { font-size: 1.15rem; }
.pre-line { white-space: pre-line; }
.stat.company strong { font-size: 1.25rem; line-height: 1.25; }

.code {
    font-family: var(--mono);
    font-weight: 650;
    background: var(--amber-soft);
    border-radius: 6px;
    padding: 0.05rem 0.35rem;
}
.badge {
    display: inline-block;
    margin-top: 0.25rem;
    background: var(--foam);
    color: var(--spruce);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 650;
}

.client-search, .access-search, .sheet-search { flex: 1 1 16rem; max-width: 24rem; margin: 0; }
.sheet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 0 0 0.8rem;
}
.sheet-actions .hint { margin: 0; }
.flight-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: flex-end;
    margin: 0 0 0.9rem;
}
.flight-filters .field { flex: 1 1 9rem; margin: 0; max-width: 16rem; }
.flight-filters form { margin: 0; align-self: end; }
.flight-filters form button { white-space: nowrap; }
.action-reason { margin: 0; flex: 1 1 18rem; }
.action-reason[hidden] { display: none; }
a.button.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
a.button.is-disabled:hover {
    background: transparent;
    border-color: var(--spruce);
    color: var(--spruce);
}
table[data-flight-log] tr[data-sheet-row] { cursor: pointer; }
table[data-flight-log] tr.is-selected td { background: #d7ebe3; }
.sheet-tools { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-end; justify-content: flex-end; }
.sheet-tools .button { flex: 0 0 auto; }
th .sort-button {
    background: transparent;
    color: inherit;
    font-weight: 500;
    letter-spacing: inherit;
    text-transform: inherit;
    border: 0;
    border-radius: 0;
    padding: 0.15rem 0.2rem;
    min-height: 0;
    gap: 0.35rem;
    justify-content: flex-start;
}
th .sort-button:hover { background: #efe4d4; color: var(--ink); }
th[aria-sort="ascending"] .sort-button::after { content: "↑"; letter-spacing: 0; }
th[aria-sort="descending"] .sort-button::after { content: "↓"; letter-spacing: 0; }
.file-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.file-head .button { flex: 0 0 auto; }
.or-line { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-soft); margin: 1rem 0; }
.or-line:before, .or-line:after { content: ""; flex: 1; height: 1px; background: var(--line); }
.button.google { width: 100%; background: white; color: var(--ink); }
.button.google:hover { background: var(--foam); color: #000; }
.client-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.client-file h2 { margin-bottom: 0.15rem; }
.client-file h3 {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 650;
    margin: 1rem 0 0.4rem;
}
.group-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 0.2rem; }
.group-pills li {
    background: var(--foam);
    color: var(--spruce);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-weight: 650;
}
.facts { display: grid; grid-template-columns: 10rem 1fr; gap: 0.45rem 1rem; margin: 0 0 0.6rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }
.facts dd span { display: block; }
.empty { padding: 1rem; background: var(--paper-2); border: 1px dashed var(--line); border-radius: 16px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.9rem; }
.card { overflow: hidden; }
.card img, .photo-fallback, .photo-current {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #d7ebe3;
    display: block;
}
.photo-fallback { display: grid; place-items: center; color: var(--ink-soft); }
.photo-current { border-radius: 0; max-width: 28rem; margin-bottom: 0.5rem; }
.card-body { padding: 0.8rem 0.9rem 1rem; }
.card-body .tail { font-size: 1.2rem; margin: 0 0 0.2rem; }

.mail { padding: 1rem; }
.mail-body { background: white; border-radius: 0; padding: 0.8rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-footer { background: var(--spruce); color: #f3eee4; padding: 0 0 2.2rem; font-size: 0.95rem; font-weight: 300; text-align: center; }
.footer-wave { display: block; width: 100%; height: 42px; color: #f3eee4; margin-bottom: 1.2rem; }

:focus-visible { outline: 2px solid var(--plane); outline-offset: 2px; }

@media (max-width: 800px) {
    .grid-2, .grid-3, .vfr-day { grid-template-columns: 1fr; }
    .grid-2.controls-end { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
    .brand-logo { height: 64px; }
    .span-2 { grid-column: auto; }
    .page-head { align-items: stretch; }
    .nav-menu[open] { flex-basis: 100%; }
    .nav-menu-panel { position: static; margin-top: 0.2rem; min-width: 0; }
    .who { order: 3; }
    .facts { grid-template-columns: 1fr; gap: 0.1rem 0; }
    .facts dt { margin-top: 0.65rem; }
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-700.woff2") format("woff2");
}

.record-toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.8rem; }
.dispatch-scroll { overflow-x: auto; }
.dispatch {
    width: 8.5in;
    height: 11in;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0.32in 0.38in 0.26in;
    background: white;
    color: #161616;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    font-family: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 8pt;
    font-weight: 500;
    line-height: 1.1;
}
.dispatch p { margin: 0; }
.dispatch-top {
    display: grid;
    grid-template-columns: 0.72in 1fr 1.38in;
    gap: 0.1in;
    align-items: center;
    margin-bottom: 0.06in;
    flex: 0 0 auto;
}
.dispatch-logo { width: 0.64in; height: auto; display: block; }
.dispatch h1 {
    margin: 0;
    text-align: center;
    font-family: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 13.5pt;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.05;
}
.dispatch-number { border: 1px solid #222; min-height: 0.38in; padding: 0.03in 0.06in 0.04in; }
.dispatch table { min-width: 0; width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; }
.dispatch th, .dispatch td {
    text-transform: none;
    letter-spacing: 0;
    background: white;
    color: #161616;
    font-size: inherit;
    font-weight: 500;
    text-align: left;
    padding: 0.02in 0.06in 0.03in;
    border: 1px solid #222;
    vertical-align: top;
}
.dispatch .section {
    background: #f3f3f3;
    font-weight: 700;
    font-size: 7.5pt;
    line-height: 1.15;
    padding: 0.025in 0.06in;
}
.dispatch .label {
    display: block;
    font-size: 6.4pt;
    font-weight: 600;
    line-height: 1.05;
}
.dispatch .value {
    display: block;
    min-height: 0.15in;
    font-size: 8.5pt;
    font-weight: 500;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.dispatch .sig { height: 0.78in; }
.dispatch .sig-ink {
    display: block;
    height: 0.5in;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}
.sign-dialog {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem 1.2rem 1rem;
    background: var(--paper-2);
    color: var(--ink);
    width: min(40rem, calc(100% - 1.5rem));
    box-shadow: var(--shadow);
}
.sign-dialog::backdrop { background: rgba(28, 25, 20, 0.45); }
.sign-dialog h2 { font-size: 1.45rem; }
.sign-pad {
    display: block;
    width: 100%;
    height: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    touch-action: none;
    cursor: crosshair;
}
.dispatch .times td, .dispatch .times th {
    text-align: center;
    height: 0.24in;
    vertical-align: middle;
    font-size: 7.5pt;
    font-variant-numeric: tabular-nums;
}
.dispatch .times th { background: #f7f7f7; font-size: 6.5pt; line-height: 1.05; font-weight: 600; }
.dispatch .note { font-weight: 700; font-size: 6.5pt; text-align: left; line-height: 1.15; height: auto; padding: 0.03in 0.06in; }
.fold-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.03in 0.06in;
    border-right: 1px solid #222;
    border-left: 1px solid #222;
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.dispatch-lower {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.dispatch .seat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 0 0 auto;
    border-top: 1px solid #222;
    border-left: 1px solid #222;
}
.dispatch .seat-grid .section {
    grid-column: 1 / -1;
}
.dispatch .seat-grid .section,
.dispatch .seat {
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}
.dispatch .seat { min-height: 0.34in; padding: 0.02in 0.06in 0.03in; }
.dispatch-lower > table { flex: 1 1 auto; height: 100%; min-height: 0; margin-top: -1px; }
.dispatch-lower .notes-row { height: 100%; }
.dispatch .notes {
    height: 100%;
    padding: 0;
    background: none;
    font-size: 8.5pt;
}
.dispatch .note-line {
    height: 25%;
    box-sizing: border-box;
    padding: 0.03in 0.06in 0;
    border-bottom: 1px solid #222;
    line-height: 1.1;
}
.dispatch .note-line:last-child { border-bottom: 0; }
.dispatch-foot {
    display: flex;
    justify-content: space-between;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.03in 0.06in 0.04in;
    border: 1px solid #222;
    border-top: 0;
    font-size: 7pt;
    font-weight: 600;
}

@page {
    size: letter portrait;
    margin: 0;
}

.airbly-flights { min-width: 640px; }
.airbly-flight { cursor: pointer; }
.airbly-flight td { background: white; }
.airbly-flight:hover td,
.airbly-flight:focus-visible td { background: var(--foam); }
.airbly-flight.is-selected td { background: #d7ebe3; }

@media print {
    .mast, .site-footer, .actions, .skip, .record-toolbar, .who, .sign-dialog { display: none !important; }
    html, body { background: white !important; height: auto !important; min-height: 0 !important; margin: 0; }
    main { padding: 0 !important; }
    .wrap { width: auto !important; max-width: none !important; margin: 0 !important; }
    .dispatch-scroll { overflow: visible; }
    .dispatch { box-shadow: none; margin: 0; }
    .dispatch th, .dispatch td, .dispatch .section, .dispatch .times th {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
