:root{--ink:#173b42;--teal:#29685e;--paper:#f6f5ef;--line:#dcded3;--muted:#6e7b78;--gold:#d2a66f}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.7}button,input,select,textarea{font:inherit}button,a,label.file-button{-webkit-tap-highlight-color:transparent}button,.file-button{cursor:pointer}button{background:transparent;color:var(--ink);border:1px solid var(--line);padding:9px 16px;border-radius:6px}button:hover,.file-button:hover{background:#e9ede5}a{color:var(--teal)}header{height:100px;max-width:1380px;margin:auto;padding:0 52px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:27px;color:var(--ink)}.brand span{font-size:20px;font-weight:600;letter-spacing:3px}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:500}nav{display:flex;gap:24px}nav button{border:0;border-radius:0;padding:12px 1px;color:var(--muted)}nav button.active{color:var(--ink);border-bottom:2px solid var(--teal);font-weight:600}.edition{font-size:11px;letter-spacing:2px;color:var(--muted)}main{max-width:1380px;padding:0 52px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1.1fr;min-height:432px;background:#e8ede4;overflow:hidden}.hero-copy{padding:43px 45px}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:600;color:var(--teal);margin:0 0 15px}h1{font-family:"Songti SC","STSong",serif;font-weight:500;font-size:43px;letter-spacing:2px;line-height:1.5;margin:16px 0}h1+p{color:#647570;font-size:14px;line-height:1.9}.hero-meta{display:flex;gap:24px;margin-top:31px;font-size:11px;letter-spacing:1px}.hero-photo{background:linear-gradient(0deg,#173b4266,transparent 70%),url('hero.jpg') center/cover;position:relative}.photo-tag{position:absolute;bottom:29px;left:28px;color:white;letter-spacing:2px;font-size:13px}.photo-tag span{font-size:10px;letter-spacing:1px;opacity:.8}.route{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:25px 0;font-size:12px;gap:12px;overflow:auto;white-space:nowrap}.route-label{font-size:9px;letter-spacing:2px;color:var(--muted);margin-right:18px}.route i{font-style:normal;color:#9aa9a0}.route b{background:#e5ebdf;padding:3px 12px;border-radius:20px;font-weight:500}.section-head{display:flex;justify-content:space-between;align-items:center;margin:43px 0 27px;gap:24px}h2{font-size:25px;font-weight:500;letter-spacing:1px;line-height:1.5;margin:0}.section-head>p{font-size:11px;color:var(--muted);text-align:right}.section-head .eyebrow{margin-bottom:8px}.planner{display:grid;grid-template-columns:236px 1fr;gap:42px}#day-nav{display:flex;flex-direction:column;gap:6px}.day-button{display:flex;align-items:center;text-align:left;border:0;width:100%;padding:13px 15px;gap:16px;border-left:3px solid transparent}.day-button.active{background:#e3e9df;border-left-color:var(--teal);border-radius:0 5px 5px 0}.day-button b{font-size:17px;font-weight:500;line-height:1.3}.day-button b small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.day-button span{font-size:12px}.day-button span small{display:block;font-size:10px;color:var(--muted)}.aside-note{font-size:11px;color:var(--muted);margin:22px 15px;line-height:1.9}#day-detail{background:#fffefa;padding:31px 35px;border:1px solid var(--line)}.day-top{display:flex;align-items:center;gap:13px}.day-index{font-size:10px;letter-spacing:2px;color:var(--muted)}.badge{display:inline-block;background:#e9eee5;color:var(--teal);font-size:10px;padding:3px 9px;border-radius:3px}.day-title{font-family:"Songti SC",serif;font-size:31px;margin:12px 0 3px;font-weight:500}.day-route{font-size:12px;color:var(--muted);margin:0 0 23px}.timeline-item{display:grid;grid-template-columns:122px 1fr;position:relative;padding:0 0 22px 0}.timeline-item::after{content:'';position:absolute;top:10px;bottom:-10px;left:118px;border-left:1px solid #d9e1d5}.timeline-item:last-child::after{display:none}.timeline-time{font-size:11px;letter-spacing:.3px;color:var(--teal);padding-top:4px}.timeline-copy{padding-left:24px;position:relative}.timeline-copy::before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:var(--gold);left:-6px;top:10px;z-index:1}.timeline-copy h4{font-size:15px;font-weight:500;margin:0}.timeline-copy p{font-size:12px;color:var(--muted);margin:3px 0 0}.stay-strip{background:#edf0e7;padding:15px;font-size:12px;margin-top:8px}.day-note{font-size:11px;color:#786647;background:#f6efe1;padding:13px 15px;margin-top:13px}.day-actions{display:flex;justify-content:space-between;margin-top:20px}.day-actions button{font-size:11px}.notice{background:#e9eee5;border-left:3px solid #759283;padding:16px 20px;font-size:12px;line-height:1.9;margin-bottom:24px}h3{font-size:17px;font-weight:500;margin:28px 0 15px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:1px;color:var(--muted);font-weight:500;padding:15px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 14px;border-bottom:1px solid var(--line)}tbody tr:hover{background:#efeee7}.hotel-grid,.activity-grid,.check-grid,.ledger-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{padding:25px;background:#fffefa;border:1px solid var(--line)}.card h3{margin:8px 0 12px}.card p{font-size:12px;color:var(--muted)}.card small{font-size:11px;font-weight:400}.hotel-date{font-size:11px;letter-spacing:1px;color:var(--teal)}.card strong{font-weight:500}.hotel-footer{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.sources{margin-top:30px;font-size:12px}.sources a{display:block;padding:8px}.sources summary{cursor:pointer;padding:14px;background:#e9eee5}.primary{background:var(--teal);color:white;border-color:var(--teal)}.primary:hover{background:#1e5048}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:22px}.stat{background:var(--paper);padding:20px}.stat:first-child{background:var(--ink);color:white}.stat small{font-size:11px;opacity:.75;display:block}.stat strong{display:block;font-size:26px;font-weight:500;margin:5px 0}.ledger-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0;font-size:11px}.ledger-tools select{margin-left:6px}.ledger-tools button,.file-button{font-size:11px;padding:8px 12px}.file-button{border:1px solid var(--line);border-radius:6px}.expense-table td{vertical-align:top}.expense-table td:first-child{min-width:240px}.expense-table strong{font-weight:500;font-size:12px;display:block}.expense-table small{display:block;font-size:10px;color:var(--muted);max-width:350px}.expense-table button{border:0;font-size:11px;padding:4px 7px}.expense-table .amount{white-space:nowrap}.status{font-size:10px;white-space:nowrap;padding:3px 7px;border-radius:3px;background:#ece9de}.status.paid{background:#e0eadf;color:#2a6558}.ledger-bottom{margin-top:30px}.bar-row{margin:13px 0;font-size:12px}.bar-label{display:flex;justify-content:space-between}.bar-track{height:5px;background:#edf0e8;margin-top:6px}.bar-track i{display:block;height:100%;background:var(--teal)}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;padding:13px 0;border-bottom:1px solid var(--line);cursor:pointer}.check-row input{accent-color:var(--teal);margin-top:6px}.check-row:has(input:checked){text-decoration:line-through;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:20px;padding:40px 0 30px;margin-top:45px;border-top:1px solid var(--line);color:var(--muted);font-size:9px;letter-spacing:1.6px}dialog{width:560px;max-width:94vw;border:1px solid var(--line);padding:28px;color:var(--ink);border-radius:10px;max-height:92vh}dialog::backdrop{background:#173b4280;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:22px}.dialog-head button{border:0}form label{font-size:12px;display:block;margin-bottom:12px}input,select,textarea{color:var(--ink);background:#fffefa;border:1px solid #c7d0c4;border-radius:4px;padding:9px;max-width:100%}form input,form select,form textarea{display:block;width:100%;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.muted{color:var(--muted);font-size:11px}#form-error{color:#a33838;font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;border-radius:6px;font-size:12px;display:none;z-index:10}:focus-visible{outline:2px solid #b78a46;outline-offset:3px}[hidden]{display:none!important}@media(min-width:1450px){.hero{min-height:470px}.hero-copy{padding-top:55px}}@media(max-width:1000px){header{padding:0 25px}.edition{display:none}main{padding:0 25px}.hero-copy{padding:30px}h1{font-size:34px}.hero-meta{flex-direction:column;gap:3px}.planner{grid-template-columns:195px 1fr;gap:20px}.day-button{padding-left:8px;gap:10px}.stats .stat{padding:15px}.stat strong{font-size:21px}}@media(max-width:700px){header{height:auto;padding:20px;flex-wrap:wrap;gap:15px}.brand{font-size:24px}nav{width:100%;justify-content:space-between;gap:10px}nav button{font-size:13px}main{padding:0 18px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:28px}.hero-photo{min-height:200px;background-position:center}.hero-copy h1{font-size:32px;margin:12px 0}.hero-copy>p:not(.eyebrow){display:none}.hero-meta{flex-direction:row;flex-wrap:wrap;font-size:10px;gap:10px;margin-top:18px}.photo-tag{bottom:18px;font-size:11px}.route{padding:18px 0}.section-head{margin:30px 0 20px;align-items:flex-start}.section-head h2{font-size:21px}.section-head>p{display:none}.planner{display:block}#day-nav{flex-direction:row;overflow-x:auto;gap:7px;margin-bottom:18px;padding-bottom:5px}.day-button{display:block;flex:0 0 95px;text-align:center;padding:10px 5px;border-left:0;border-bottom:2px solid transparent}.day-button.active{border-left:0;border-bottom:2px solid var(--teal)}.day-button span{font-size:10px}.day-button span small{display:none}.day-button b{font-size:14px}.day-button b small{display:inline;margin-left:5px}.aside-note{display:none}#day-detail{padding:22px 17px}.day-title{font-size:26px}.timeline-item{grid-template-columns:86px 1fr}.timeline-item::after{left:83px}.timeline-time{font-size:9px}.timeline-copy{padding-left:16px}.timeline-copy h4{font-size:14px}.hotel-grid,.activity-grid,.check-grid,.ledger-bottom{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:24px}.section-head .primary{white-space:nowrap;font-size:12px;padding:9px 12px}.card{padding:20px}.notice{padding:12px 14px}footer{flex-direction:column;padding-top:25px;gap:8px}.form-grid{gap:0 10px}dialog{padding:20px}.eyebrow{font-size:9px;letter-spacing:1.5px}}@media print{header,.hero,.route,footer,.day-actions,.ledger-tools,button,.aside-note{display:none!important}.planner{display:block}.planner aside{display:none}main{padding:0}.panel:not([hidden]){display:block}body{background:white}.table-wrap{overflow:visible}.card{break-inside:avoid}}
/* Detailed flights, live weather and an AA-first ledger. */
.hero-photo{background-image:linear-gradient(0deg,#173b4270,transparent 65%),url('hero-hd.webp');background-position:48% center}.photo-credit{font-size:8px;letter-spacing:.4px;color:#fff;opacity:.85;text-decoration:none}.photo-tag{line-height:1.65}.day-weather{background:#edf1e9;border:1px solid #dce4d7;padding:20px;margin:-5px -8px 24px}.weather-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.weather-head h4{margin:0;font-size:14px;font-weight:500}.weather-head button{font-size:10px;padding:5px 9px}.weather-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.weather-tabs button{font-size:11px;border:0;padding:5px 10px}.weather-tabs button.active{background:var(--teal);color:#fff}.weather-status{font-size:12px;margin:10px 0}.weather-status strong{font-weight:500}.weather-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 10px;padding:12px 0}.weather-metric small{display:block;font-size:10px;color:var(--muted)}.weather-metric strong{font-size:18px;font-weight:500}.weather-caption{color:var(--muted);font-size:10px;line-height:1.8;margin:8px 0 0}.weather-current{border-top:1px solid #d6dfd0;padding-top:10px;margin-top:10px}.weather-current summary{font-size:11px;cursor:pointer}.weather-error{color:#985e3d;font-size:12px}.flight-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.flight-card{border:1px solid var(--line);background:#fffefa;padding:20px;margin-bottom:15px;min-width:0}.flight-grid .flight-card{margin:0}.flight-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.flight-heading strong{font-size:17px;font-weight:500}.flight-heading span{font-size:10px;color:var(--muted)}.flight-airline{font-size:11px;color:var(--muted);margin:3px 0 14px}.flight-route{display:grid;grid-template-columns:1fr 28px 1fr;gap:5px;font-size:12px;align-items:center;margin-bottom:13px}.flight-route b{font-weight:500}.flight-route span{color:var(--muted);text-align:center}.flight-times{display:grid;grid-template-columns:58px 1fr 1fr;gap:6px 10px;font-size:11px}.flight-times .time-caption{color:var(--muted);font-size:9px}.flight-times .local-time{font-size:16px;line-height:1.2}.flight-times .beijing-time{font-size:12px}.flight-times small{display:block;font-size:10px;margin-top:4px;line-height:1.4}.baggage-box{background:#f0f1e9;padding:13px 14px;margin:16px 0 0;font-size:11px;line-height:1.8}.baggage-box strong{font-size:12px;font-weight:500}.baggage-box p{margin:4px 0}.baggage-box p:last-child{font-size:10px;color:#7d654b}.baggage-box.emphasis{background:#f8eddd}.doc-links{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:14px}.doc-link{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;background:#e9eee5;border-radius:3px;font-size:10px;text-decoration:none;line-height:1.6;overflow-wrap:anywhere}.doc-link:hover{background:#dce6d6}.flight-section-title{font-size:12px;color:var(--teal);letter-spacing:1px;margin:8px 0 14px}.timeline-section-title{font-size:12px;color:var(--teal);border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.stay-strip .doc-links{margin-top:8px}.status-select{font-size:11px;min-width:90px;padding:6px 8px;background:#f7f1e5;border-color:#d9cdb4;cursor:pointer}.status-select.paid{background:#e3ece0;border-color:#bfcfba}.expense-table th:first-child,.expense-table td:first-child{min-width:230px}.expense-table th:nth-child(3),.expense-table th:nth-child(4){min-width:110px}.stats .stat strong{font-size:24px}.ledger-summary-note{font-size:10px;color:var(--muted)}.weather-live-dot{display:inline-block;width:6px;height:6px;background:#74956b;border-radius:50%;margin-right:7px}.day-nav-intro{font-size:10px;color:var(--muted);padding:4px 15px 12px}.confirmed-note{font-size:12px;background:#e9eee5;padding:12px 15px;margin:15px 0}.flight-date-note{font-size:10px;color:var(--muted);margin-top:6px}@media(max-width:1000px){.flight-grid{grid-template-columns:1fr}.stats .stat strong{font-size:21px}.flight-times{grid-template-columns:55px 1fr 1fr;gap:8px}.flight-route{font-size:11px}}@media(max-width:700px){.day-weather{margin:0 0 22px;padding:15px}.weather-grid{gap:12px 8px}.weather-metric strong{font-size:16px}.flight-card{padding:16px 13px}.flight-times .local-time{font-size:15px}.flight-times small{font-size:9px}.flight-times .beijing-time{font-size:11px}.flight-heading strong{font-size:15px}.doc-link{font-size:10px}.day-nav-intro{display:none}.flight-heading{gap:8px}.stats .stat strong{font-size:23px}.hero-photo{min-height:250px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Compact disclosures: essentials stay visible, supporting details open on demand. */
.day-weather{padding:0;margin:0 0 24px;border:0;background:transparent}.weather-fold{background:#eef1e9;border:1px solid #dce4d7;border-radius:7px;overflow:hidden}summary::-webkit-details-marker{display:none}summary{list-style:none}.fold-chevron{display:block;width:7px;height:7px;border-right:1.5px solid #668078;border-bottom:1.5px solid #668078;transform:rotate(45deg);transition:transform .16s;justify-self:end;margin:0 4px 4px 5px;flex-shrink:0}details[open]>summary>.fold-chevron{transform:rotate(225deg);margin-bottom:0}.weather-summary{display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer}.weather-symbol{font-size:22px;color:#5a7d70}.weather-summary-content{display:flex;align-items:center;justify-content:space-between;flex:1;gap:15px}.weather-summary-place strong{font-size:13px;font-weight:500}.weather-summary-place small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.weather-summary-reading{text-align:right}.weather-summary-reading strong{font-size:19px;font-weight:500;line-height:1.3}.weather-summary-reading small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.weather-expanded{padding:0 18px 12px;border-top:1px solid #dce4d7}.weather-tabs{margin:10px 0 4px;gap:4px}.weather-tabs button{font-size:10px;padding:4px 8px}.weather-brief-note{font-size:10px;color:var(--muted);margin:8px 0 13px}.weather-simple-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:8px 0 15px}.weather-simple-metrics small{display:block;color:var(--muted);font-size:9px}.weather-simple-metrics strong{font-size:13px;font-weight:500;display:block;margin-top:3px}.weather-brief-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce4d7;padding-top:8px;gap:10px}.weather-brief-footer small{font-size:9px;color:var(--muted)}.weather-brief-footer button{font-size:10px;padding:3px 8px;border:0}.compact-flight{padding:0;border-radius:7px;overflow:hidden;margin-bottom:10px}.flight-summary{display:grid;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:8px 18px;padding:16px 18px;cursor:pointer}.flight-summary:hover{background:#f1f3ec}.flight-summary-top{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.flight-summary-top strong{font-size:13px;font-weight:600;letter-spacing:.2px}.flight-summary-top small{font-size:9px;color:var(--muted)}.flight-summary-route{display:flex;gap:8px;font-size:12px;margin-top:3px}.flight-summary-route i,.flight-summary-meta i{font-style:normal;color:#94a49b}.flight-summary-meta{text-align:right;white-space:nowrap}.flight-summary-meta strong{display:block;font-size:17px;font-weight:500;letter-spacing:.3px}.flight-summary-meta small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.flight-summary-meta sup{font-size:9px;color:var(--teal);margin-left:3px}.longhaul-beijing{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px dashed #dbe0d6;padding-top:9px;margin-top:1px}.longhaul-beijing span{font-size:9px;color:var(--teal)}.longhaul-beijing strong{font-size:11px;font-weight:500}.flight-expanded{padding:0 18px 16px;border-top:1px solid var(--line)}.flight-expanded .flight-airline{margin:12px 0;font-size:10px}.flight-endpoints{display:grid;grid-template-columns:1fr 25px 1fr;gap:8px;align-items:center}.flight-endpoints div:last-child{text-align:right}.flight-endpoints small{display:block;color:var(--muted);font-size:9px}.flight-endpoints strong{display:block;font-size:15px;font-weight:500;margin:2px 0}.flight-endpoints span{font-size:10px;color:var(--muted)}.flight-endpoint-arrow{text-align:center}.flight-expanded .baggage-box{font-size:11px;padding:11px 12px;margin-top:12px}.flight-expanded .doc-links{margin-top:12px}.flight-grid{grid-template-columns:1fr;gap:10px}.flight-grid .flight-summary{grid-template-columns:minmax(0,1fr) auto 12px}.flight-section-title{font-size:10px;margin:8px 0 10px}.timeline-section-title{margin-top:20px}.compact-flight[open]{border-color:#b7c7b6}.weather-fold[open]{border-color:#b7c7b6}@media(max-width:700px){.weather-summary{padding:13px 12px;gap:9px}.weather-summary-content{gap:10px}.weather-summary-reading strong{font-size:17px}.weather-summary-place strong{font-size:12px}.weather-summary-place small,.weather-summary-reading small{font-size:9px}.weather-expanded{padding:0 12px 10px}.flight-summary{padding:13px 12px;gap:7px 8px;grid-template-columns:minmax(0,1fr) auto 10px}.flight-summary-top{gap:4px 9px}.flight-summary-top strong{font-size:12px}.flight-summary-top small{font-size:9px}.flight-summary-route{font-size:11px;gap:5px}.flight-summary-meta strong{font-size:15px}.flight-summary-meta small{font-size:8px}.flight-expanded{padding:0 12px 13px}.longhaul-beijing{gap:5px;flex-wrap:wrap}.longhaul-beijing span{font-size:9px}.longhaul-beijing strong{font-size:10px}.weather-simple-metrics{gap:8px}.weather-simple-metrics small{font-size:8px}.weather-simple-metrics strong{font-size:12px}}
.day-button span small{display:block;line-height:1.5;white-space:normal;max-width:150px;font-size:10px}.day-button{gap:12px}.flight-bags{grid-column:1/-1;display:flex;gap:4px 14px;flex-wrap:wrap;font-size:10px;color:#51675e;border-top:1px solid #e6e9df;padding-top:8px}.flight-bags>span{white-space:normal}.documents-only{padding-top:0!important}.documents-only .doc-links{margin-top:12px}.spend-viz{display:grid;grid-template-columns:165px 1fr;align-items:center;gap:24px;padding:15px 0}.spend-viz svg{width:100%;height:auto}.donut-label{font-size:5px;fill:#6e7b78}.donut-total{font-size:9px;fill:#173b42;font-weight:600}.spend-legend>div{display:grid;grid-template-columns:8px 1fr auto 38px;align-items:center;gap:9px;margin:13px 0;font-size:11px}.spend-legend i{width:7px;height:7px;border-radius:50%}.spend-legend strong{font-size:11px}.spend-legend small{font-size:9px;color:var(--muted);text-align:right}.route-map-section{background:#eaf0ed;border:1px solid #dce4d7;margin-top:18px;border-radius:7px;overflow:hidden}.map-top{display:flex;justify-content:space-between;padding:18px 24px 0;gap:15px}.map-top .eyebrow{margin:0}.map-top>span:last-child{font-size:10px;color:var(--muted)}.map-layout{display:grid;grid-template-columns:1.5fr 1fr;align-items:center}.map-layout>svg{display:block;width:100%;max-height:315px}.country-label{font-size:12px;fill:#a0b2a0;letter-spacing:2px}.map-city{font-size:12px;fill:#5d7568}.map-city.is-active{fill:#235c50;font-weight:600}.map-inset,.map-caption,.map-north{font-size:10px;fill:#718b7e}.map-story{padding:18px 28px 20px 20px}.map-story h3{font-family:"Songti SC",serif;font-size:27px;margin:10px 0}.map-story p:not(.eyebrow){font-size:11px;color:var(--muted)}.map-story>strong{display:block;font-size:14px;font-weight:500;margin:20px 0}.map-story button{font-size:11px;border-color:#c6d4c5;padding:6px 11px}.map-days{display:grid;grid-template-columns:repeat(10,1fr);padding:12px 18px;border-top:1px solid #d5dfd3;gap:4px}.map-days button{border:0;font-size:12px;padding:8px 3px;white-space:nowrap}.map-days button small{display:block;font-size:8px;color:var(--muted)}.map-days button.active{background:#d4e1d2;color:#245d50}.offline-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:12px 0;font-size:10px;color:var(--muted)}.offline-toolbar button{font-size:10px;padding:4px 9px}.packing-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;align-items:start}.packing-intro{font-size:12px;color:var(--muted);margin-bottom:25px}#packing-progress{font-size:12px;color:var(--teal)}.packing-group{border:1px solid var(--line);border-radius:6px;background:#fffefa;margin-bottom:12px;overflow:hidden}.packing-group>summary{display:grid;grid-template-columns:1fr auto 15px;gap:15px;align-items:center;padding:18px 20px;cursor:pointer}.packing-group summary strong{font-size:14px;font-weight:500}.packing-group summary>span{font-size:11px;color:var(--muted)}.packing-group>div{padding:0 20px 15px}.packing-row{display:flex;gap:12px;border-top:1px solid #eaebe3;padding:12px 0;align-items:flex-start;cursor:pointer;font-size:12px}.packing-row input{margin-top:5px;accent-color:var(--teal)}.packing-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.packing-row:has(input:checked)>span{text-decoration:line-through;color:var(--muted)}.packing-aside .card{margin-bottom:16px}.packing-reference{font-size:11px;line-height:1.8;color:var(--muted);padding:15px}.packing-reference summary{cursor:pointer;color:var(--teal)}#packing-sources a{display:block;padding:7px 0}.packing-aside .check-row{font-size:11px}.expense-table td:first-child{padding-top:20px}.ledger-bottom{grid-template-columns:1.25fr 1fr}@media(max-width:1000px){.spend-viz{grid-template-columns:1fr;gap:10px}.spend-viz svg{max-width:190px;margin:auto}.map-story h3{font-size:23px}.map-days{overflow-x:auto;display:flex}.map-days button{min-width:80px}.packing-layout{grid-template-columns:1fr 1fr}}@media(max-width:700px){.day-button{flex-basis:112px}.day-button span small{display:block!important;font-size:9px;max-width:100px;min-height:27px;white-space:normal}.day-button span{font-size:10px}.flight-bags{font-size:9px;gap:4px 9px}.map-layout{grid-template-columns:1fr}.map-layout>svg{max-height:240px}.map-story{padding:0 20px 18px}.map-story .eyebrow{font-size:9px;margin:0}.map-story h3{font-size:23px;margin:5px 0}.map-story p:not(.eyebrow){margin:5px 0}.map-story>strong{margin:10px 0;font-size:12px}.map-top{padding:14px 16px 0}.map-top>span:last-child{display:none}.map-days{padding:8px}.packing-layout,.ledger-bottom{grid-template-columns:1fr}.spend-viz{grid-template-columns:145px 1fr;gap:18px}.spend-legend>div{gap:5px;font-size:10px;grid-template-columns:7px 1fr auto 30px}.spend-legend strong{font-size:10px}.packing-group>summary{padding:15px}.packing-group>div{padding:0 15px 10px}.offline-toolbar{justify-content:space-between}.section-head #packing-progress{font-size:10px;white-space:nowrap}}@media(max-width:370px){.spend-viz{grid-template-columns:1fr}.spend-viz svg{max-width:150px}}

/* Compact cover and persistent section navigation */
header{position:relative!important;min-height:66px;padding-top:14px!important;padding-bottom:14px!important} .hero{min-height:0!important;height:250px!important;margin-top:12px!important;margin-bottom:18px!important}.hero h1{font-size:clamp(30px,3.5vw,46px)!important;line-height:1.15!important;margin:10px 0!important}.hero-copy{padding:22px 32px!important}.hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.6;margin:8px 0}.hero-meta{margin-top:16px!important}.hero-photo{min-height:0!important;background-position:center 52%!important}main>nav{position:sticky;top:0;z-index:30;display:flex;gap:5px;justify-content:center;background:rgba(246,245,239,.97);padding:10px;border-bottom:1px solid #dce2d9;backdrop-filter:blur(16px)}main>nav button{border:0;background:transparent;padding:11px 24px;border-radius:24px;color:#52635d}main>nav button.active{background:#29685e;color:white}.panel{scroll-margin-top:75px}.vault-dialog,#vault-result{max-width:460px;width:calc(100% - 40px);padding:28px;border:0;border-radius:20px}.vault-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.vault-error{color:#a54032;min-height:24px}#vault-result a{display:block;overflow-wrap:anywhere;margin:18px 0}.doc-link{cursor:pointer;text-align:left}.route-map-section{margin:18px 0!important}
@media(max-width:650px){.hero{height:205px!important;grid-template-columns:1.2fr 1fr!important}.hero-copy{padding:18px!important}.hero h1{font-size:28px!important}.hero-copy>p:not(.eyebrow),.hero .photo-tag{display:none}.hero-meta{font-size:10px!important;display:block!important}.hero-meta span{display:block}.hero .eyebrow{font-size:8px}.edition{display:none}main>nav button{padding:10px 12px;font-size:13px}main>nav{gap:0}}
.map-layout{grid-template-columns:minmax(280px,1.1fr) 1fr!important;gap:0!important;background:#183743;border-radius:18px;overflow:hidden}.map-layout svg{width:100%;max-height:310px!important;border:0!important;border-radius:0!important}.map-story{padding:28px!important;align-self:center;color:#eff1e8!important}.map-story h3{font-size:27px!important;color:#fff!important}.map-story p,.map-story strong{color:#c5d7cd!important}.map-city{fill:#f3f1df!important;font-size:12px!important;paint-order:stroke;stroke:#24434b;stroke-width:4px;stroke-linejoin:round}.map-city.is-active{fill:#ffdda1!important}.map-top{margin-bottom:10px!important}.map-days{margin-top:8px!important}.map-days button{padding:8px 3px!important}.map-days small{font-size:9px!important}.map-story [data-view-day]{margin-top:16px!important}@media(max-width:650px){.map-layout{grid-template-columns:1fr!important}.map-layout svg{max-height:260px!important}.map-story{padding:16px 20px!important}.map-story h3{font-size:20px!important;margin:4px 0!important}.map-story .eyebrow,.map-story>p:not(.eyebrow){display:none}.map-days{grid-template-columns:repeat(5,1fr)!important}}
/* Travel journal palette: warm paper, sea blue, apricot and mint. */
:root{--paper:#faf6ed;--line:#e1e2d7;--teal:#246a65;--gold:#e6ad50}.mobile-day-picker{display:none}.hero{border-radius:18px;background:#dcece5}.hero-copy{background:linear-gradient(135deg,#d7ebe3,#edf1de)}main>nav{background:rgba(250,246,237,.97);border-radius:12px 12px 0 0}main>nav button.active{border-bottom:0}.card,.packing-group,#day-detail{border-radius:14px}.hotel-grid .card:nth-child(4n+1),.packing-group:nth-child(3n+1){background:#eaf3f7;border-color:#ccdee7}.hotel-grid .card:nth-child(4n+2),.activity-grid .card:first-child,.packing-group:nth-child(3n+2){background:#fff0df;border-color:#edd7bd}.hotel-grid .card:nth-child(4n+3),.activity-grid .card:last-child,.packing-group:nth-child(3n){background:#e7f1e6;border-color:#d0dfce}.hotel-grid .card:nth-child(4n){background:#efebf6;border-color:#dcd5e9}.stay-strip{background:#e0eee8;border-radius:9px}.day-note{background:#fff0d8;border-radius:9px;color:#805c2d}.weather-fold{background:#e7f1f7;border-color:#cddfe9}.badge{background:#f6dfaa;color:#79551c}.notice{background:#e6efe8;border-radius:0 10px 10px 0}.compact-flight{background:#f3f7fb;border-color:#d8e2eb}.flight-bags{border-top-color:#d9e4e9}.stat:nth-child(2){background:#e1eee6}.stat:nth-child(3){background:#fff0d8}.stat:nth-child(4){background:#e8eef7}.stat:first-child{background:#245b61}.stats{border-radius:14px;overflow:hidden}#day-detail{border-top:4px solid #73a5bb}#day-detail[data-tone=peach]{border-top-color:#e3ab6d}#day-detail[data-tone=mint]{border-top-color:#7dab93}.day-button.active{background:#dcece4}.timeline-copy::before{background:#df9958}.doc-link{max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
@media(max-width:700px){
 html,body{overflow-x:clip}header{padding:12px 16px!important;height:60px!important;min-height:60px!important}.brand span{font-size:17px}.brand small{font-size:7px}main{padding:0 12px}.hero{height:164px!important;grid-template-columns:1.25fr 1fr!important;border-radius:12px;margin-top:0!important;margin-bottom:10px!important}.hero-copy{padding:16px!important;min-width:0}.hero h1{font-size:22px!important;line-height:1.3!important;letter-spacing:.5px;margin:8px 0!important}.hero .eyebrow{font-size:6px!important;letter-spacing:1px;margin:0!important}.hero-meta{font-size:9px!important;letter-spacing:0;margin-top:12px!important;gap:2px}.hero-photo{min-height:0!important}.hero .photo-tag{display:none}main>nav{padding:7px 2px;justify-content:space-around;gap:2px;border-radius:0;box-shadow:0 3px 10px #173b4208}main>nav button{font-size:12px;padding:10px 8px;flex:1;white-space:nowrap}.offline-toolbar{padding:8px 1px;font-size:9px;gap:5px}.offline-toolbar button{font-size:9px;padding:5px 7px}.section-head{margin:22px 0 15px;gap:10px}.section-head h2{font-size:19px;letter-spacing:0}.section-head .eyebrow{font-size:8px;margin-bottom:5px}.planner{display:block}.planner>aside{position:sticky;top:54px;z-index:20;background:#faf6ed;padding:5px 0 10px}#day-nav{display:none}.mobile-day-picker{display:block}.mobile-day-picker label{font-size:10px;display:block;color:#637b73;margin:0 0 5px 3px}.mobile-day-picker select{width:100%;padding:12px 34px 12px 13px;font-size:13px;min-height:45px;background:#e1ede6;border:1px solid #cbded2;border-radius:10px;color:#244f49;font-weight:500}.planner>aside .aside-note{display:none}#day-detail{padding:16px 14px;border-radius:12px}.day-weather{margin-bottom:18px}.weather-summary{padding:11px 10px;gap:7px}.weather-summary-place small,.weather-summary-reading small{font-size:9px}.weather-summary-reading strong{font-size:17px}.day-title{font-size:24px;margin:10px 0 5px;line-height:1.4}.day-route{font-size:11px;line-height:1.8;margin-bottom:18px}.day-index{letter-spacing:1px;font-size:9px}.flight-section-title,.timeline-section-title{font-size:10px;line-height:1.7}.compact-flight{padding:0;border-radius:10px}.flight-summary{padding:12px 10px;gap:7px 6px}.flight-summary-top{display:block}.flight-summary-top strong{font-size:11px;display:block;overflow-wrap:anywhere}.flight-summary-top small{font-size:9px;display:block;margin-top:2px}.flight-summary-route{font-size:10px;gap:3px;flex-wrap:wrap}.flight-summary-meta strong{font-size:14px;white-space:nowrap}.flight-bags{font-size:10px;gap:5px 10px;line-height:1.7}.longhaul-beijing{display:block}.longhaul-beijing strong{display:block;margin-top:3px}.timeline-item{display:block;padding:0 0 20px 16px;border-left:1px solid #d6e1da;margin-left:4px}.timeline-item::after{display:none}.timeline-time{font-size:11px;padding:0 0 4px;font-weight:600;line-height:1.5}.timeline-copy{padding:0}.timeline-copy::before{left:-20px;top:-17px;width:7px;height:7px}.timeline-copy h4{font-size:14px;line-height:1.6}.timeline-copy p{font-size:12px;line-height:1.8}.timeline-item:last-child{border-left-color:transparent}.stay-strip,.day-note{font-size:11px;padding:12px;line-height:1.9}.day-actions button{min-height:42px;padding:9px 15px}.card{padding:18px;border-radius:12px}.hotel-grid,.activity-grid{gap:12px}.doc-link{font-size:11px;padding:9px 10px;line-height:1.7}.day-actions{gap:10px}.panel{scroll-margin-top:65px}.vault-dialog,#vault-result{padding:22px;width:calc(100% - 28px)}
}
@media(max-width:360px){.hero h1{font-size:20px!important}.hero-copy{padding:14px!important}.hero{height:155px!important}.weather-summary-place strong{font-size:11px}.weather-symbol{font-size:17px}.weather-summary-reading small{max-width:110px}.flight-summary-meta strong{font-size:12px}}
@media(max-width:700px){.hero{grid-template-columns:1.5fr 1fr!important}.hero h1{font-size:20px!important;white-space:nowrap;letter-spacing:0!important}}
@media(max-width:360px){.hero h1{font-size:18px!important}}
/* v8: spacious cover, touch-friendly itinerary tabs and ledger cards. */
.hero{height:310px!important}.hero-copy{display:flex;flex-direction:column;justify-content:center}.stay-strip{padding:0}.stay-strip>summary{display:flex;align-items:center;justify-content:space-between;padding:15px;cursor:pointer;gap:15px}.stay-strip summary small{display:block;font-size:12px;font-weight:400;margin-top:5px}.stay-strip>.doc-links{padding:0 15px 15px;margin:0}.ledger-bottom{margin-bottom:24px}.ledger-bottom>.card:last-child{background:#f3f3ee}.packing-group:nth-child(n){background:#fffefa;border-color:#d9dfd9;border-left:3px solid #a6bcb0}.packing-group:nth-child(2n){border-left-color:#bac8ce}.packing-group>summary{background:#eef2ee}.packing-group[open]>summary{border-bottom:1px solid #e0e5df}.packing-row input{accent-color:#537f6e}.packing-row small{color:#738078}#expense-dialog{width:min(600px,calc(100vw - 28px));max-height:90dvh;overflow-y:auto;border-radius:16px}#expense-form{width:100%;min-width:0}#expense-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#expense-form label{display:flex;flex-direction:column;gap:6px;min-width:0;margin-bottom:12px}#expense-form input:not([type=hidden]),#expense-form select,#expense-form textarea{display:block;width:100%;min-width:0;max-width:100%;height:46px;box-sizing:border-box;border:1px solid #cdd8d1;border-radius:8px;padding:10px 12px;background:#fffefa;font-size:14px;color:var(--ink)}#expense-form textarea{height:80px;resize:vertical}#expense-form input[type=date]{appearance:none;-webkit-appearance:none}#expense-form .form-grid label{margin:0}#expense-form>.primary{width:100%;min-height:46px}
@media(max-width:700px){
 .hero{height:208px!important;grid-template-columns:1.5fr 1fr!important}.hero-copy{padding:18px!important}.hero h1{font-size:21px!important;line-height:1.5!important}.hero-meta{margin-top:16px!important}.planner>aside{top:53px;padding:7px 0 9px;margin:0 -2px}.mobile-day-picker{display:none!important}#day-nav{display:flex;flex-direction:row;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;margin:0;padding:2px 2px 8px}.day-button{display:block;flex:0 0 135px;border:1px solid #d9e2da;border-bottom:3px solid #d9e2da;border-radius:11px!important;padding:10px 11px;text-align:left;scroll-snap-align:start;background:#fffefa;min-height:87px}.day-button.active{background:#e0eee5;border:1px solid #92b29f;border-bottom:3px solid #397461;box-shadow:0 3px 8px #1d53440a}.day-button b{font-size:15px;display:block}.day-button b small{font-size:9px;display:inline;margin-left:6px}.day-button span{font-size:11px;display:block;margin-top:4px;line-height:1.4}.day-button span small{font-size:9px!important;min-height:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;color:#688073}#day-detail{margin-top:7px}.ledger-bottom{grid-template-columns:1fr;gap:12px;margin:0 0 20px}.ledger-bottom>.card:last-child{padding:14px 16px}.ledger-bottom>.card:last-child h3{font-size:13px}.ledger-bottom>.card:last-child p{font-size:10px;margin:6px 0}.expense-table,.expense-table tbody{display:block;width:100%}.expense-table thead{display:none}.expense-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px;background:#fffefa;border:1px solid #dde3db;border-radius:12px;padding:15px;margin-bottom:12px}.expense-table td{display:block;border:0;padding:0!important;min-width:0;font-size:12px;overflow-wrap:anywhere}.expense-table td:before{content:attr(data-label);display:block;font-size:9px;color:#74837b;margin-bottom:4px;letter-spacing:0}.expense-table td:first-child{grid-column:1/-1;font-size:14px;line-height:1.6}.expense-table td:first-child:before{display:none}.expense-table td:nth-child(2){grid-column:1/-1;display:flex;gap:7px;color:#74837b;font-size:10px}.expense-table td:nth-child(2):before{display:none}.expense-table td:nth-child(2) small{margin:0}.expense-table td:nth-child(4){font-size:17px;font-weight:600;color:#245d52}.expense-table td:nth-child(5){align-self:end}.expense-table td.expense-actions{display:flex;justify-content:flex-end;align-items:flex-end;gap:7px}.expense-actions button{padding:7px 10px;font-size:11px;min-height:36px}.expense-table .status-select{width:100%;min-height:38px;font-size:12px;max-width:130px}.table-wrap{overflow:visible}#expense-dialog{padding:20px 16px;max-height:88dvh;margin:auto}#expense-form .form-grid{grid-template-columns:1fr;gap:12px}#expense-form input:not([type=hidden]),#expense-form select,#expense-form textarea{font-size:16px;height:46px}#expense-form textarea{height:80px}#expense-form label{font-size:12px}#expense-form .dialog-head h2{font-size:21px}.packing-group>summary{background:#f0f3ef}.packing-aside .card{background:#f2f4ee;border-color:#dbe2d7}.spend-viz{grid-template-columns:125px minmax(0,1fr);gap:16px}.spend-legend>div{grid-template-columns:7px 1fr auto;gap:6px}.spend-legend small{display:none}
}
@media(max-width:370px){.hero h1{font-size:18px!important}.hero{height:190px!important}.hero-copy{padding:15px!important}}

/* v9: immersive cover, consistent booking disclosures and accessible dialogs. */
.hero{height:clamp(410px,56vh,620px)!important;position:relative;grid-template-columns:1fr!important;isolation:isolate}.hero-photo{position:absolute!important;inset:0;background-position:center 48%!important;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,36,44,.77),rgba(12,36,44,.15) 80%);z-index:-1}.hero-copy{background:none!important;justify-content:flex-end;padding:48px!important;max-width:700px;color:#fff6e6}.hero h1{font-size:clamp(38px,4.6vw,62px)!important;line-height:1.35!important;color:#fff7e8;margin:15px 0!important}.hero .eyebrow{color:#cce8db}.hero-copy>p:not(.eyebrow){color:#d7e4df}.hero-meta{color:#e0eae4;margin-top:24px!important}.hero .photo-tag{left:auto;right:25px;bottom:25px;text-align:right}.booking-group{margin:14px 0;border:1px solid #d8e0dc;border-radius:14px;background:#fffefa;overflow:hidden}.booking-group>summary{display:grid;grid-template-columns:42px minmax(0,1fr) 15px;align-items:center;gap:14px;padding:21px 24px;cursor:pointer;background:#edf2ef}.booking-icon{width:40px;height:40px;display:grid;place-items:center;background:#dce8e2;border-radius:11px;color:#315e54;font-size:20px}.booking-group>summary strong{font-size:17px;font-weight:600;line-height:1.5;display:block;color:#24473f}.booking-group>summary small{font-size:11px;color:#71827a;display:block;margin-top:3px}.booking-group-body{padding:20px}.booking-group .card:nth-child(n){background:#fffefa;border-color:#dce3dd}.booking-group .card h3{font-size:17px;line-height:1.6;color:#284b43;font-weight:500}.booking-group .card .badge{background:#e8efe9;color:#4c6d5e}.booking-group .compact-flight{background:#f5f7f3;border-color:#dce3dd}.booking-group .hotel-date{color:#6e8178}.activity-docs{background:#f0f3ee;border:1px solid #dce4da;border-radius:10px;margin:8px 0 14px}.activity-docs>summary{padding:14px 15px;display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;font-size:12px}.activity-docs summary small{display:block;font-size:10px;color:#738277;margin-top:4px}.activity-docs .doc-links{padding:0 15px 15px;margin:0}.expense-footer{display:flex;gap:10px;margin-top:15px}.expense-footer>button{flex:1;min-height:46px}.expense-footer>.primary{flex:1.5}#expense-dialog .dialog-head{position:sticky;top:-25px;z-index:5;background:#fffefa;padding:15px 0;isolation:isolate;box-shadow:0 1px 0 #e5e8de}#expense-dialog #close-dialog{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:0;border-radius:50%;background:#edf1e9}dialog input,dialog select,dialog textarea{font-size:16px!important}.vault-dialog input{display:block;width:100%;height:48px;min-width:0;padding:11px 12px;font-size:16px!important;border:1px solid #cdd8d1;border-radius:8px;background:#fffefa}.vault-dialog label{display:block;font-size:12px}.vault-dialog{max-height:calc(100dvh - 32px);overflow:auto}.vault-actions button{min-height:44px}
@media(max-width:700px){.hero{height:58svh!important;min-height:360px!important;max-height:580px!important;border-radius:15px;margin-top:2px!important}.hero-copy{padding:28px 23px!important;max-width:none}.hero:after{background:linear-gradient(0deg,rgba(10,32,39,.88),rgba(10,32,39,.2) 75%)}.hero h1{font-size:clamp(27px,7.6vw,36px)!important;line-height:1.5!important;letter-spacing:1px!important;white-space:normal!important;margin:14px 0!important}.hero .eyebrow{font-size:8px!important;letter-spacing:1.8px}.hero-meta{font-size:11px!important;line-height:1.9;margin-top:15px!important;display:flex!important;flex-direction:column;gap:1px}.hero-photo{min-height:0!important;background-position:58% center!important}.hero .photo-tag{display:none}.booking-group>summary{padding:17px 15px;grid-template-columns:36px minmax(0,1fr) 12px;gap:12px}.booking-icon{width:36px;height:36px;font-size:18px}.booking-group>summary strong{font-size:15px}.booking-group>summary small{font-size:10px}.booking-group-body{padding:12px}.booking-group .card h3{font-size:15px}.booking-group .card{padding:15px}.booking-group .flight-grid{gap:10px}.booking-group .compact-flight{margin:0 0 10px}.activity-docs>summary{padding:13px 12px}.activity-docs .doc-links{padding:0 12px 13px}#expense-dialog .dialog-head{top:-20px;padding:12px 0;margin-top:-12px}#expense-dialog{padding-top:20px}.expense-footer{position:sticky;bottom:-20px;background:#fffefa;padding:12px 0 16px;z-index:4;border-top:1px solid #e5e8de}.expense-footer button{font-size:12px;padding:10px 9px}#expense-form .dialog-head h2{font-size:19px}.vault-dialog input{font-size:16px!important}.vault-dialog{width:calc(100% - 28px);padding:22px}}

/* v10: full-screen opening and consistent, accessible control typography. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}header{position:absolute!important;top:0;left:0;right:0;z-index:5;max-width:1380px;width:100%;height:90px!important;color:white}.brand,.edition{color:#f1f5e9}.hero{height:100svh!important;min-height:620px!important;max-height:none!important;width:calc(100% + 104px);margin:0 -52px!important;border-radius:0!important}.hero-copy{padding:100px max(52px,calc((100vw - 1276px)/2)) 80px!important;max-width:100%;justify-content:center}.hero h1{font-size:clamp(42px,5vw,72px)!important}.hero-enter{display:flex;align-items:center;gap:34px;justify-content:space-between;background:#f4f4e7;color:#244c43;text-decoration:none;width:fit-content;min-height:50px;padding:12px 21px;margin-top:28px;border-radius:30px;font-size:14px;font-weight:600}.hero-enter:hover{background:#fff}.hero-enter span{font-size:20px}.hero-photo .photo-tag{bottom:40px}#form-title:focus,.vault-dialog h2:focus{outline:none}
#bookings .booking-group-body{font-size:14px;line-height:1.75}#bookings .booking-group-body .card h3,#bookings .flight-summary-top strong{font-size:18px!important;line-height:1.5!important;font-weight:600!important}#bookings .flight-summary-route{font-size:15px!important;line-height:1.6}#bookings .flight-summary-meta strong{font-size:19px!important;font-weight:600}#bookings .flight-summary-top small,#bookings .flight-summary-meta small,#bookings .hotel-date{font-size:12px!important}#bookings .card p,#bookings .card small,#bookings .flight-bags{font-size:13px!important;line-height:1.8}#bookings .card>strong,#bookings .hotel-footer>strong{font-size:17px;font-weight:600}#bookings .badge{font-size:12px}#bookings .doc-link{font-size:12px!important}#bookings .card p{color:#62756c}#bookings .compact-flight{background:#fffefa}#bookings .booking-group-body .card{background:#fffefa}#bookings .flight-summary{padding:18px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,#expense-form input:not([type=hidden]),#expense-form select,#expense-form textarea,.vault-dialog input{font-size:16px!important;line-height:1.5!important;transform:none!important}input[type=date]::-webkit-date-and-time-value{font-size:inherit;text-align:left}dialog{overscroll-behavior:contain}dialog input,dialog textarea{-webkit-text-size-adjust:100%}
@media(max-width:700px){header{height:70px!important;padding:17px 22px!important}.brand span{font-size:17px}.hero{height:100svh!important;min-height:560px!important;max-height:none!important;width:calc(100% + 24px);margin:0 -12px!important;border-radius:0!important}.hero-copy{padding:110px 28px 68px!important;justify-content:center}.hero h1{font-size:clamp(30px,8.3vw,42px)!important;line-height:1.5!important}.hero-meta{font-size:12px!important;line-height:2}.hero .eyebrow{font-size:9px!important}.hero-enter{margin-top:30px;font-size:13px;padding:12px 20px;min-height:48px}.hero:after{background:linear-gradient(0deg,rgba(10,32,39,.87),rgba(10,32,39,.22) 85%)}#bookings .flight-summary-top strong,#bookings .booking-group-body .card h3{font-size:16px!important}#bookings .flight-summary-route{font-size:13px!important}#bookings .flight-summary-meta strong{font-size:17px!important}#bookings .flight-summary-top small,#bookings .flight-summary-meta small,#bookings .hotel-date{font-size:11px!important}#bookings .card p,#bookings .card small,#bookings .flight-bags{font-size:12px!important}#bookings .badge{font-size:11px}#bookings .card>strong,#bookings .hotel-footer>strong{font-size:16px}#bookings .flight-summary{padding:15px 12px}#bookings .booking-group>summary strong{font-size:16px}#bookings .booking-group-body{padding:12px}#bookings .flight-summary-top{min-width:0}#bookings .flight-summary-route{flex-wrap:wrap}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,#expense-form input:not([type=hidden]),#expense-form select,#expense-form textarea,.vault-dialog input{font-size:18px!important;line-height:1.5!important}#expense-dialog{width:calc(100% - 24px);max-width:600px;max-height:90dvh}#expense-form input:not([type=hidden]),#expense-form select{min-height:50px}.expense-table .status-select{font-size:16px!important}.packing-aside .card{margin-bottom:15px}}

/* v11: quieter cover, inline document reader, compact editorial ledger. */
.hero-copy{justify-content:flex-end!important;padding-bottom:64px!important}.hero .hero-photo{background-position:center 43%!important}.hero h1{font-size:clamp(35px,4.1vw,56px)!important;line-height:1.35!important}.hero-copy>p:not(.eyebrow){display:none}.hero .eyebrow{margin-bottom:5px}.hero-meta{margin-top:12px!important}.hero-enter{margin-top:19px}.hero:after{background:linear-gradient(0deg,rgba(9,31,38,.91),rgba(9,31,38,.14) 62%)}
#ledger .section-head h2{font-size:25px}#ledger .stats{gap:0;border-color:#dde3dd}#ledger .stat{padding:20px}#ledger .stat strong{font-size:27px;letter-spacing:-.5px}#ledger .stat small{font-size:11px}.ledger-bottom{display:block}.ledger-bottom>.card:first-child{background:#fffefa;padding:25px 30px}.ledger-bottom>.card:first-child h3{font-size:18px;font-weight:600;margin-top:0}.spend-viz{display:grid;grid-template-columns:minmax(250px,360px) minmax(0,1fr);gap:40px;max-width:900px;margin:0 auto;padding:10px 0}.spend-viz svg{width:100%;max-width:360px!important;margin:auto}.spend-legend>div{grid-template-columns:10px 1fr auto 42px;gap:12px;padding:10px 0;border-bottom:1px solid #edf0e8;margin:0;font-size:13px}.spend-legend strong{font-size:14px;font-weight:500}.spend-legend small{display:block;font-size:11px}.rate-note{margin:24px 0 0;border-top:1px solid #dfe5db;color:#708076;font-size:12px}.rate-note>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:17px 0;font-size:12px}.rate-note>div{padding:0 0 15px}.rate-note p{margin:7px 0}.ledger-tools{gap:8px;font-size:12px}.ledger-tools select{min-height:36px;padding:5px 9px;border:1px solid #d9e1d8;border-radius:7px;background:#fffefa}.ledger-tools button,.ledger-tools .file-button{font-size:12px;padding:7px 10px}.ledger-tools label{display:flex;align-items:center;gap:6px}
#vault-result{position:fixed;inset:0;width:100vw!important;max-width:none!important;height:100dvh;max-height:none;margin:0;padding:0!important;border:0;border-radius:0;background:#eef0ea;overflow:hidden}#vault-result[open]{display:flex;flex-direction:column}.document-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;background:#fffefa;border-bottom:1px solid #dce3da;flex-shrink:0;padding-top:max(12px,env(safe-area-inset-top))}.document-toolbar h2{font-family:inherit;font-size:13px!important;font-weight:500;margin:0;letter-spacing:0;overflow-wrap:anywhere;line-height:1.5}.document-toolbar button{flex-shrink:0;font-size:13px;padding:8px 13px}.document-body{flex:1;overflow:auto;overscroll-behavior:contain;padding:20px;min-height:0;text-align:center;-webkit-overflow-scrolling:touch}.document-body>img{display:block;max-width:100%;height:auto;margin:auto;box-shadow:0 3px 20px #163b4212}.document-page{margin:0 auto 20px;max-width:1000px;background:#fff;min-height:180px;border-radius:2px;overflow:hidden}.document-page canvas{display:block;width:100%;height:auto}.document-page small{display:block;font-size:11px;color:#748276;padding:8px;background:#f7f8f3}.document-loading{color:#6a7e73;font-size:13px;padding:25px}.document-error{color:#9a4a35;font-size:13px;padding:25px}
@media(max-width:700px){.hero-copy{padding:85px 26px 44px!important;justify-content:flex-end!important}.hero h1{font-size:clamp(27px,7.4vw,34px)!important;line-height:1.35!important;margin:10px 0!important}.hero .hero-photo{background-position:58% 40%!important}.hero .eyebrow{font-size:8px!important}.hero-meta{font-size:10px!important;line-height:1.7;margin-top:10px!important}.hero-enter{min-height:43px;padding:10px 18px;font-size:12px;margin-top:18px}#ledger .section-head h2{font-size:20px}#ledger .section-head .primary{font-size:12px;padding:8px 11px}#ledger .notice{font-size:11px;line-height:1.8;padding:11px 13px}#ledger .stat{padding:15px 13px}#ledger .stat strong{font-size:24px;margin:6px 0}#ledger .stat small{font-size:10px}#ledger .stat small:last-child{display:none}.ledger-bottom>.card:first-child{padding:19px 17px}.ledger-bottom>.card:first-child h3{font-size:15px}.spend-viz{display:block;padding:0;max-width:none}.spend-viz svg{display:block;max-width:265px!important;width:85%;margin:0 auto 12px}.spend-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.spend-legend>div{grid-template-columns:7px 1fr;gap:2px 7px;padding:10px 0;font-size:11px;position:relative}.spend-legend i{width:7px;height:7px}.spend-legend strong{grid-column:2;font-size:13px;line-height:1.5}.spend-legend small{position:absolute;right:0;top:10px;font-size:9px}.ledger-tools{gap:8px;margin:17px 0;font-size:11px}.ledger-tools label{gap:4px}.ledger-tools select{height:35px;min-height:35px;padding:5px 7px;max-width:110px}.ledger-tools button,.ledger-tools .file-button{font-size:11px;padding:7px 9px;min-height:34px}.expense-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;gap:3px 12px;padding:14px 15px;border:1px solid #e1e5dc;box-shadow:0 2px 8px #173b4203;border-radius:10px;background:#fffefa;margin-bottom:9px}.expense-table tr:hover{background:#fffefa}.expense-table td:first-child{grid-column:1;grid-row:1;font-size:13px;line-height:1.5;align-self:center}.expense-table td:first-child strong{font-weight:500}.expense-table td:nth-child(2){grid-column:1;grid-row:2;display:flex;gap:6px;font-size:10px;line-height:1.5;color:#809087}.expense-table td:nth-child(3){grid-column:1;grid-row:3;font-size:11px;line-height:1.5;color:#718278}.expense-table td:nth-child(3):before{display:none}.expense-table td:nth-child(3).is-cny{display:none}.expense-table td:nth-child(3) small{display:inline;margin-left:7px;font-size:9px}.expense-table td:nth-child(4){grid-column:2;grid-row:1 / 3;align-self:center;justify-self:end;font-size:17px;font-weight:600;line-height:1.5;color:#214e43;text-align:right}.expense-table td:nth-child(4):before{display:none}.expense-table td:nth-child(4):after{content:' / 人';font-size:9px;font-weight:400;color:#849287;display:block}.expense-table td:nth-child(5){grid-column:1;grid-row:4;margin-top:9px}.expense-table td:nth-child(5):before{display:none}.expense-table td:nth-child(6){grid-column:2;grid-row:4;margin-top:9px;gap:7px}.expense-table .status-select{height:34px;min-height:34px;max-width:105px;padding:4px 8px;font-weight:400;background:#f1f4ed;border-color:#dce5d8;border-radius:6px}.expense-actions button{font-size:11px;min-height:32px;padding:5px 8px;border:0;color:#687f72;background:transparent}.expense-actions button:last-child{color:#a08478}.expense-table td{font-size:12px}.rate-note{font-size:11px;margin-top:22px}.rate-note>summary{font-size:11px}.document-body{padding:10px}.document-toolbar{padding:11px 12px;padding-top:max(11px,env(safe-area-inset-top))}.document-toolbar h2{font-size:11px!important}.document-toolbar button{font-size:12px}.document-page{margin-bottom:12px}#expense-form .dialog-head h2{font-size:18px}#expense-form label{font-size:11px}#expense-form input:not([type=hidden]),#expense-form select,#expense-form textarea,.vault-dialog input,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px!important;line-height:1.5!important}#expense-form input:not([type=hidden]),#expense-form select{min-height:44px;height:44px;padding:9px 11px}#expense-form .form-grid{gap:10px}.expense-footer button{font-size:12px;min-height:42px}.expense-footer{padding-top:10px}#expense-form .notice{font-size:11px}.ledger-tools select,.expense-table .status-select{font-size:16px!important}#expense-dialog{padding:18px 16px}}
/* Reader toolbar is independent of the cover masthead. */
#vault-result .document-toolbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;height:auto!important;min-height:0!important;max-width:none!important;width:100%!important;margin:0!important;color:var(--ink);z-index:2}#vault-result .document-toolbar h2{font-size:13px!important}#vault-result .document-body{width:100%}#vault-result .document-body:focus{outline:none}
#vault-result .document-body{overflow-anchor:none;overflow-x:hidden}#vault-result .document-page{width:100%;min-width:0}#vault-result .document-page canvas{width:100%!important;max-width:100%;height:auto!important}
.compact-select{position:relative;display:inline-block;vertical-align:middle}.compact-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:33px;padding:6px 10px!important;font-size:12px!important;border:1px solid #dde4da;border-radius:7px;background:#fffefa;font-weight:400;line-height:1.5}.compact-select-trigger i{width:5px;height:5px;border-right:1px solid #819286;border-bottom:1px solid #819286;transform:rotate(45deg);margin-top:-3px}.compact-select-menu{position:absolute;top:calc(100% + 5px);left:0;min-width:115px;background:#fffefa;border:1px solid #dce3d7;border-radius:9px;box-shadow:0 8px 25px #163b421c;z-index:25;padding:4px;display:block}.compact-select-menu button{display:block;width:100%;text-align:left;font-size:12px!important;border:0;padding:8px 10px;border-radius:5px;white-space:nowrap}.compact-select-menu button[aria-checked=true]{background:#e8efe5;color:#315f4a}.payment-control .compact-select-trigger{background:#f0f4eb;min-width:82px}#ledger select[hidden],.compact-select-menu[hidden]{display:none!important}.expense-table td:nth-child(5){overflow:visible}.expense-table tr{overflow:visible}@media(max-width:700px){.ledger-tools .compact-select-trigger{font-size:12px!important;min-height:32px;padding:6px 9px!important}.payment-control .compact-select-trigger{font-size:12px!important;min-height:31px}.compact-select-menu button{font-size:13px!important;min-height:36px}.expense-table td:nth-child(5){align-self:end}}
/* v14: balanced summary, compact side-by-side spending chart, calm ledger rows. */
.hero-enter{position:absolute;right:max(52px,calc((100vw - 1276px)/2));bottom:66px;margin:0}.hero-copy{padding-bottom:64px!important}#ledger .stats{background:transparent;gap:0;border:1px solid #dce3db;border-radius:12px}#ledger .stat{padding:15px 18px}#ledger .stat strong{font-size:23px;margin:4px 0;line-height:1.4}#ledger .stat small{font-size:10px}#ledger .stat small:last-child{display:none}.spend-viz{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;max-width:760px;padding:0}.spend-viz svg{width:100%;max-width:290px!important}.spend-legend>div{font-size:12px;padding:6px 0}.spend-legend strong{font-size:12px}.ledger-bottom>.card:first-child{padding:20px 25px}.ledger-bottom>.card:first-child h3{font-size:16px;margin-bottom:10px}
@media(max-width:700px){.hero-enter{right:24px;bottom:42px;min-height:42px;font-size:11px;gap:22px;padding:10px 16px}.hero-copy{padding-bottom:112px!important}.hero-meta{margin-top:10px!important}#ledger .stats{margin-bottom:14px;border-radius:11px}#ledger .stat{padding:12px 13px}#ledger .stat strong{font-size:20px;letter-spacing:-.4px;margin:3px 0;line-height:1.3}#ledger .stat small{font-size:9px;line-height:1.5}.ledger-bottom{margin-bottom:15px}.ledger-bottom>.card:first-child{padding:16px 14px;border-radius:11px}.ledger-bottom>.card:first-child h3{font-size:14px;margin:0 0 8px}.spend-viz{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;align-items:center;padding:0;width:100%;max-width:none}.spend-viz svg{width:100%!important;max-width:none!important;margin:0!important}.spend-legend{display:block;min-width:0}.spend-legend>div{display:grid;grid-template-columns:5px minmax(0,1fr);gap:0 5px;font-size:9px;padding:4px 0;border-bottom:1px solid #edf0e8;line-height:1.4;margin:0}.spend-legend i{width:5px;height:5px;margin-top:4px}.spend-legend strong{grid-column:2;font-size:10px;line-height:1.5;font-weight:500;white-space:nowrap}.spend-legend small{display:none}.expense-table tr{padding:15px 14px 12px;gap:4px 12px;border:1px solid #e1e6df;border-radius:11px;box-shadow:0 2px 9px #244b3c04;margin-bottom:10px;background:#fffefa}.expense-table td:first-child{font-size:15px!important;line-height:1.6;letter-spacing:0;grid-column:1;grid-row:1;align-self:center}.expense-table td:first-child strong{font-weight:500}.expense-table td:nth-child(2){font-size:10px;grid-row:2;line-height:1.5}.expense-table td:nth-child(4){grid-column:2;grid-row:1 / 3;align-self:center;display:flex;align-items:baseline;gap:4px;white-space:nowrap;text-align:right;font-size:16px;line-height:1.5;letter-spacing:-.4px}.expense-table td:nth-child(4):after{content:'/人';display:inline;font-size:10px;line-height:1.5;letter-spacing:0;color:#87958b;font-weight:400}.expense-table td:nth-child(5),.expense-table td:nth-child(6){margin-top:6px;padding-top:8px!important;border-top:1px solid #eff1eb}.expense-table td:nth-child(5){margin-right:-12px;padding-right:12px!important}.expense-actions{gap:5px!important}.expense-actions button{font-size:11px;min-height:31px;padding:5px 6px}.payment-control .compact-select-trigger{font-size:11px!important;min-height:29px;background:#eef3e9;padding:5px 8px!important;border-color:#e2e9dc;border-radius:6px}.original-amount{font-size:10px!important;line-height:1.5}.expense-table td:nth-child(3) small{font-size:9px}.ledger-tools{margin:13px 0;gap:7px}.ledger-tools button,.ledger-tools .file-button{min-height:32px}.compact-select-trigger{line-height:1.5}
}
@media(max-width:360px){.expense-table tr{gap:4px 8px;padding:13px 12px 11px}.expense-table td:first-child{font-size:15px!important}.expense-table td:nth-child(4){font-size:15px;gap:2px}.expense-table td:nth-child(4):after{font-size:9px}.expense-table td:nth-child(5){margin-right:-8px;padding-right:8px!important}.spend-legend strong{font-size:9px}.hero-enter{right:22px}}

/* v15: one continuous divider across the expense action row. */
@media(max-width:700px){.expense-table tr{position:relative;background-image:linear-gradient(#edf0e9,#edf0e9);background-repeat:no-repeat;background-size:calc(100% - 28px) 1px;background-position:center calc(100% - 51px)}.expense-table td:nth-child(5),.expense-table td:nth-child(6){border-top:0!important;padding-top:8px!important;margin-top:6px!important}.expense-table td:nth-child(5){margin-right:0!important;padding-right:0!important}}
@media(max-width:360px){.expense-table tr{background-size:calc(100% - 24px) 1px;background-position:center calc(100% - 50px)}}
/* Equal space for the spending chart and category legend. */
.spend-viz{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:700px){.spend-viz{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.spend-legend>div{font-size:10px;padding:5px 0}.spend-legend strong{font-size:11px}}
/* Spending legend: category and amount share one line. */
.spend-legend>div{grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:7px}.spend-legend strong{grid-column:3;white-space:nowrap}.spend-legend small{display:none}.spend-legend i{margin-top:0}
@media(max-width:700px){.spend-legend>div{grid-template-columns:5px minmax(0,1fr) auto;gap:5px;padding:8px 0;font-size:10px}.spend-legend strong{grid-column:3;font-size:10px}.spend-legend i{margin-top:0}}
/* v18: category tints, distinct payment states and dated expenses. */
.expense-table tr[data-category="交通"]{--expense-bg:#edf3f8;--expense-line:#d5e2ec;--expense-accent:#7799b1}
.expense-table tr[data-category="住宿"]{--expense-bg:#eef3e9;--expense-line:#d9e3cf;--expense-accent:#8ca77c}
.expense-table tr[data-category="活动"]{--expense-bg:#fbf0e4;--expense-line:#eddbc5;--expense-accent:#c5a078}
.expense-table tr[data-category="餐饮"]{--expense-bg:#faf5e5;--expense-line:#e9e0c4;--expense-accent:#c1ac68}
.expense-table tr[data-category="购物"]{--expense-bg:#f2edf7;--expense-line:#e0d6e9;--expense-accent:#a392b6}
.expense-table tr[data-category="其他"]{--expense-bg:#f2f3ef;--expense-line:#dfe3d9;--expense-accent:#a2ac99}
.expense-table tr[data-category],.expense-table tr[data-category]:hover{background-color:var(--expense-bg);border-color:var(--expense-line)}.expense-table td time{font-variant-numeric:tabular-nums;font-size:11px;color:#64786b}.expense-category{display:inline-block;margin-left:9px;font-size:11px}.payment-control[data-status="已付"] .compact-select-trigger{background:#deeddf!important;color:#326447!important;border-color:#bfd7c0!important}.payment-control[data-status="待付"] .compact-select-trigger{background:#fff0cf!important;color:#92651f!important;border-color:#ead29d!important}.payment-control[data-status="待核实"] .compact-select-trigger{background:#ebe6f4!important;color:#725b95!important;border-color:#d6c8e6!important}.payment-control[data-status="已付"] .compact-select-trigger i{border-color:#568466}.payment-control[data-status="待付"] .compact-select-trigger i{border-color:#ab854a}.payment-control[data-status="待核实"] .compact-select-trigger i{border-color:#937eb1}
.spend-viz{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.spend-viz svg{max-width:340px!important}.spend-legend>div{display:flex!important;align-items:center;justify-content:flex-start;gap:.6em}.spend-legend>div>span{flex:0 0 auto}.spend-legend strong{flex:0 0 auto;margin:0;grid-column:auto}.spend-legend i{flex:0 0 auto}.spend-legend small{display:none!important}
@media(max-width:700px){.spend-viz{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px}.spend-viz svg{width:100%!important;max-width:none!important}.spend-legend>div{font-size:10px;padding:8px 0;gap:.6em}.spend-legend strong{font-size:10px}.expense-table tr[data-category]{border-left:3px solid var(--expense-accent);background-image:linear-gradient(var(--expense-line),var(--expense-line))}.expense-table td:nth-child(2){align-items:center;gap:7px;margin-top:2px}.expense-table td:nth-child(2) time{font-size:10px;color:#657a6b;line-height:1.7}.expense-table td:nth-child(2) .expense-category{font-size:10px;margin:0;color:#748575}.expense-table td:nth-child(2) small{font-size:9px}.expense-table tr[data-category] td:nth-child(5),.expense-table tr[data-category] td:nth-child(6){border-top:0!important}.expense-table tr[data-category] td:first-child{color:#28463c}}
@media(max-width:700px){.expense-table tr[data-category],.expense-table tr[data-category]:hover{background-repeat:no-repeat;background-size:calc(100% - 28px) 1px;background-position:center calc(100% - 51px)}}
@media(max-width:360px){.expense-table tr[data-category],.expense-table tr[data-category]:hover{background-size:calc(100% - 24px) 1px;background-position:center calc(100% - 50px)}}
/* Keep category backgrounds separate from semantic payment indicators. */
.payment-control[data-status] .compact-select-trigger{background:#fffefa!important;border-width:1px!important;box-shadow:0 1px 2px #173b4205;gap:7px!important}.payment-control[data-status] .compact-select-trigger:before{content:'';display:block;width:6px;height:6px;border-radius:50%;flex:0 0 6px;background:var(--status-dot)}.payment-control[data-status="已付"]{--status-dot:#3a8056}.payment-control[data-status="待付"]{--status-dot:#bb811e}.payment-control[data-status="待核实"]{--status-dot:#8762ab}.payment-control[data-status="已付"] .compact-select-trigger{color:#356846!important;border-color:#b8d0bc!important}.payment-control[data-status="待付"] .compact-select-trigger{color:#946b24!important;border-color:#dfc994!important}.payment-control[data-status="待核实"] .compact-select-trigger{color:#785898!important;border-color:#cbb9df!important}.booking-group>summary{background:#f2f3ee}.booking-icon{background:#e5e9e2;color:#567062}.compact-select-menu button[aria-checked=true]{background:#f1f3ed}
/* Payment states inherit their category card palette. */
.expense-table tr[data-category] .payment-control[data-status]{--status-dot:var(--expense-accent)}
.expense-table tr[data-category] .payment-control[data-status] .compact-select-trigger{color:#52665b!important;border-color:var(--expense-line)!important;box-shadow:none;background:var(--expense-bg)!important}
.expense-table tr[data-category] .payment-control[data-status="待付"] .compact-select-trigger,.expense-table tr[data-category] .payment-control[data-status="待核实"] .compact-select-trigger{background:color-mix(in srgb,var(--expense-bg) 75%,var(--expense-accent) 25%)!important;border-color:color-mix(in srgb,var(--expense-line) 60%,var(--expense-accent) 40%)!important;color:#3f5549!important}
.expense-table tr[data-category] .payment-control .compact-select-trigger:before{display:none}
.expense-table tr[data-category] .payment-control .compact-select-trigger i{border-color:#809285!important}

.hero-copy>.cover-countries{display:block!important;font-size:14px!important;letter-spacing:4px;color:#e4eade!important;margin:17px 0 3px;line-height:1.8}.hero h1{font-weight:400;letter-spacing:5px!important;line-height:1.45!important}.cover-title-secondary{font-size:.84em;letter-spacing:8px}.hero-meta .cover-stopovers{font-size:10px;opacity:.7;letter-spacing:1px}@media(max-width:700px){.hero-copy>.cover-countries{font-size:11px!important;letter-spacing:3px;margin:14px 0 3px}.hero h1{font-size:36px!important;line-height:1.45!important;letter-spacing:4px!important}.cover-title-secondary{font-size:.82em;letter-spacing:7px}.hero-meta{gap:2px!important}.hero-meta .cover-stopovers{font-size:9px}.hero-copy{padding-bottom:112px!important}}

.expense-table tr[data-category] .payment-control[data-status="已付"] .compact-select-trigger{border:1px solid var(--expense-accent)!important;background:var(--expense-bg)!important}.cover-countries{white-space:normal}@media(max-width:700px){.hero-copy>.cover-countries{font-size:11px!important;letter-spacing:1.2px;line-height:1.9}}
.flight-change{grid-column:1/-1;display:block;font-size:11px;line-height:1.7;color:#8b6238;background:#f6eddf;padding:7px 10px;border-radius:6px;margin-top:2px}@media(max-width:700px){.flight-change{font-size:10px;padding:7px 9px}}

.offline-help{margin:0 0 14px;color:#697e72;font-size:11px}.offline-help>summary{cursor:pointer;text-align:right;padding:0 0 8px}.offline-help[open]{background:#edf2e9;border:1px solid #dce5d5;border-radius:10px;padding:16px}.offline-help[open]>summary{text-align:left;font-weight:600}.offline-help p{margin:8px 0;line-height:1.9}.offline-help button{font-size:11px;padding:7px 11px}#offline-copy-status:empty{display:none}@media(max-width:700px){.offline-toolbar{align-items:flex-start}.offline-toolbar>span{max-width:65%;line-height:1.7}.offline-toolbar>button{white-space:nowrap}.offline-help{font-size:10px}}
