:root {
    color-scheme: light;
    --ink: #162927;
    --muted: #52635f;
    --deep: #102f2b;
    --green: #176150;
    --lime: #d9f4a0;
    --paper: #f5f7f3;
    --line: #d6e0da;
    --white: #fff;
    --radius: 1.2rem;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 18rem; margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, p, ul, dl { margin: 0; }
h1, h2 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); letter-spacing: -.02em; }
h2 + p, p + p { margin-top: .65rem; }
:focus-visible { outline: 3px solid #268878; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 61rem; }
.login-shell { max-width: 27rem; }
.section { padding-block: clamp(2rem, 5.5vw, 4.5rem); }
.section + .section { padding-top: 0; }
.section-top { margin-top: 1.15rem; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.antu-logo { display: block; width: clamp(7.15rem, 26vw, 12rem); height: auto; }
.line-top .antu-logo { width: clamp(6rem, 29vw, 9.5rem); }
.staff-header .antu-logo { width: clamp(7rem, 24vw, 9.25rem); }
.header-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .3rem clamp(.55rem, 2vw, 1.35rem); font-weight: 650; }
.header-links a:not(.button):hover, .nav-button:hover { color: var(--green); text-decoration: underline; }
.nav-button { border: 0; cursor: pointer; background: none; color: inherit; padding: .4rem 0; font-weight: inherit; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .5rem 1.15rem; border: 1px solid transparent;
    border-radius: .65rem; background: var(--green); color: var(--white); font-weight: 700; text-align: center; cursor: pointer;
}
.button:hover { background: #104b3e; }
.button-small { min-height: 2.55rem; padding: .36rem .85rem; font-size: .91rem; }
.button-secondary { color: var(--green); background: var(--white); border-color: #9dbbb1; }
.button-secondary:hover { background: #e9f2ec; }
.button-light { background: var(--lime); color: var(--deep); }
.button-light:hover { background: #c7ed78; }
.button-outline { color: var(--white); background: transparent; border-color: #b0c7bf; }
.button-outline:hover { background: #22574d; }
.button-danger { background: #983c31; }
.button-danger:hover { background: #7e3027; }
.actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.text-link { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }

.hero { overflow: hidden; background: var(--deep); color: var(--white); }
.hero-inner { min-height: 32rem; display: grid; grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.15fr); align-items: stretch; }
.hero-copy { align-self: center; z-index: 1; padding: 3.5rem clamp(.75rem, 3vw, 3rem) 3.5rem 0; }
.hero-kicker { font-size: 1rem; color: var(--lime); font-weight: 700; }
.hero-tagline { margin-top: .9rem; font-size: clamp(3rem, 6.2vw, 5rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.17; }
.hero-note { margin-top: 1.2rem; color: #e0e9e4; font-size: 1.1rem; }
.hero-actions { margin-top: 1.75rem; }
.hero-photo { height: 100%; width: 100%; min-height: 0; object-fit: cover; object-position: 48% center; }
.section-lead { margin-bottom: 1.3rem; }
.section-lead p, .page-heading p { margin-top: .48rem; color: var(--muted); }
.airport-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.airport-card { background: var(--white); border: 1px solid var(--line); min-height: 8rem; padding: 1.05rem 1.2rem; border-radius: var(--radius); display: grid; gap: .25rem; }
.airport-card:hover { border-color: var(--green); background: #fcfefb; }
.airport-code { color: var(--green); font-weight: 750; letter-spacing: .08em; }
.airport-card strong { font-size: 1.18rem; }
.airport-card span:last-child { color: var(--muted); }
.questions { max-width: 53rem; }
.questions details { border-top: 1px solid var(--line); padding: .9rem .1rem; }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions p { margin-top: .55rem; color: var(--muted); padding-left: 1.12rem; }
summary { cursor: pointer; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); background: #ebf0eb; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; padding-block: 1.7rem; color: #405752; }
.footer-inner strong { color: var(--ink); }
.footer-inner a { align-self: center; text-decoration: underline; text-underline-offset: .18em; }
.footer-inner nav { column-gap: 1rem; }

.page-heading { margin-bottom: 1.45rem; }
.page-heading .text-link { display: inline-block; margin-bottom: .55rem; }
.card { min-width: 0; background: var(--white); padding: clamp(1rem, 3.3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); }
.card h2 + form, .card h2 + dl, .card h2 + .case-list, .card .actions { margin-top: .9rem; }
fieldset.card { margin: 0; min-width: 0; }
legend { padding-inline: .5rem; font-size: 1.22rem; font-weight: 750; line-height: 1.2; }
.stack { display: grid; gap: 1rem; }
.fields, .review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .95rem; }
.fields .wide { grid-column: 1 / -1; }
.review-grid { gap: 1.05rem; }
label, .field-label { display: block; color: var(--ink); font-weight: 650; }
label small { color: var(--muted); font-weight: 450; font-size: .87rem; }
input:not([type=radio], [type=checkbox], [type=hidden]), select, textarea {
    display: block; margin-top: .26rem; padding: .55rem .7rem; width: 100%; min-height: 2.85rem; border: 1px solid #aabbb3;
    border-radius: .55rem; color: var(--ink); background: var(--white); font-weight: 450;
}
input::placeholder, textarea::placeholder { color: #63736e; }
select {
    appearance: none; padding-right: 1.9rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
    background-size: 5px 5px; background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-repeat: no-repeat;
}
textarea { resize: vertical; }
input[type=radio], input[type=checkbox] { accent-color: var(--green); width: 1.1rem; height: 1.1rem; margin: 0; flex: 0 0 auto; }
.choice-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .28rem; }
.choice { display: inline-flex; gap: .55rem; align-items: center; border: 1px solid var(--line); border-radius: .55rem; padding: .55rem .85rem; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green); background: #e9f2ec; }
.check-label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; padding-inline: .25rem; }
.check-label input { margin-top: .25rem; }
.field-help { color: var(--muted); font-size: .91rem; font-weight: 450; }
.extras { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .75rem; }
.extras > .fields, .extras > .stack { margin-top: .75rem; }
.prose h2:not(:first-child) { margin-top: 1.3rem; }
.prose .button { margin-top: 1rem; }
.message-wrap { padding-top: 1rem; }
.message { padding: .65rem .85rem; border-radius: .6rem; border: 1px solid; }
.message.error { background: #fff1ec; border-color: #e4b6aa; color: #832e21; }
.message.success { background: #e9f5e5; border-color: #9ac8a2; color: #25562f; }
.bottom-actions { margin-top: 1.15rem; }

.facts { display: grid; gap: .48rem; }
.facts > div { display: grid; grid-template-columns: minmax(5.8rem, .5fr) minmax(0, 1fr); gap: .55rem; }
.facts dt, .money-list dt { color: var(--muted); }
.facts dd, .money-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-facts { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.code { font-family: ui-monospace, Consolas, monospace; font-size: .94em; overflow-wrap: anywhere; }
.money-list { margin-top: .9rem; }
.money-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding-block: .28rem; }
.money-total { border-top: 1px solid var(--line); margin-top: .5rem; }
.money-total dd, .money-inline { color: var(--green); font-weight: 750; font-size: 1.27rem; font-variant-numeric: tabular-nums; }
.money-inline { margin: .65rem 0; }
.pill { display: inline-block; padding: .12rem .55rem; border-radius: 1.5rem; background: #e6f2ed; color: #215344; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.case-list { list-style: none; padding: 0; }
.case-list li { padding-block: .6rem; border-bottom: 1px solid var(--line); }
.case-list li > strong { margin-right: .48rem; }
.case-list li:last-child { border-bottom: 0; }
.case-list p { margin-top: .25rem; overflow-wrap: anywhere; white-space: pre-line; }
.split, .filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.filter-row { justify-content: flex-start; align-items: flex-end; margin-bottom: .7rem; }
.filter-row label { flex: 1 1 12rem; }
.table-wrap { overflow-x: auto; }
.fares-table { max-height: 34rem; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .64rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .92rem; color: var(--muted); }

.quick-actions {
    position: fixed;
    right: max(.85rem, env(safe-area-inset-right));
    bottom: max(.85rem, env(safe-area-inset-bottom));
    z-index: 10;
    display: grid;
    gap: .45rem;
}
.quick-action {
    width: 3.65rem;
    height: 3.65rem;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    font: 750 .86rem/1 system-ui, sans-serif;
    box-shadow: 0 .3rem .85rem #0e30382e;
    cursor: pointer;
}
.quick-action[hidden] { display: none; }
.quick-top { background: #193e56; font-size: 1.75rem; }
.quick-line { background: #fff; border-color: #d4dfde; }
.quick-line img { display: block; width: 40px; height: 40px; }
.quick-line:disabled { opacity: 1; cursor: default; }

@media (max-width: 52rem) {
    .hero-inner { min-height: 26rem; }
    .airport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 39rem) {
    .shell { width: calc(100% - 1.5rem); }
    .header-inner { min-height: 4rem; flex-wrap: wrap; padding-block: .6rem; }
    .header-links { font-size: .88rem; gap: .3rem .65rem; }
    .hero-inner { display: block; min-height: 0; }
    .hero-copy { padding: 2.15rem .25rem 1.6rem; }
    .hero-photo { display: block; height: clamp(10rem, 42vw, 15rem); border-radius: .65rem .65rem 0 0; }
    .hero-tagline { font-size: clamp(2.9rem, 10vw, 4rem); }
    .airport-card { padding: .8rem; }
    .review-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 25rem) {
    .fields { grid-template-columns: minmax(0, 1fr); }
}
