:root{--ink:#253b34;--muted:#7c8279;--green:#24493f;--green-soft:#eaf0e8;--orange:#d78351;--orange-soft:#fbefe4;--cream:#f7f5ef;--line:#e7e7dd;--white:#fffefa;--radius:22px;--shadow:0 8px 28px #263f3205;font-family:'Segoe UI','Microsoft JhengHei',sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bf805a;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h2{font-size:18px;font-weight:650}h3{font-size:16px;font-weight:650}.muted{color:var(--muted);font-size:13px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.site-header{border-bottom:1px solid var(--line);background:#fffefa99}.header-inner{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:21px 32px}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:17px;letter-spacing:.03em}.brand-mark{width:38px;height:42px;border-radius:12px;background:var(--green);display:grid;place-items:center;transform:rotate(-5deg)}.brand-mark svg{width:27px;fill:#f4e2bc}.brand-note{display:block;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:.07em;margin-top:3px}.header-right{display:flex;align-items:center;gap:16px}.prototype-badge{font-size:12px;border:1px solid var(--line);padding:7px 11px;border-radius:20px;color:var(--muted)}.profile{width:32px;height:32px;background:#e4e8db;border:2px solid var(--white);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}.app-shell{max-width:1120px;padding:0 32px;margin:auto}.trip-heading{padding:42px 0 29px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.16em;color:var(--muted);margin-bottom:10px}.eyebrow span{padding:0 7px;color:#c0c1b7}h1{font-size:36px;font-weight:600;letter-spacing:.025em;line-height:1.4}.trip-meta{font-size:12px;color:var(--muted);margin-top:9px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.trip-meta>span:not(.demo-label){color:#b6bbaf}.demo-label{font-size:12px;color:#6e684f;border:1px solid #ded9c7;border-radius:4px;padding:2px 5px}.travel-stamp{width:98px;height:98px;border:1px solid #d8b9a0;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#905e3c;transform:rotate(9deg);opacity:.8;outline:1px dashed #d8b9a0;outline-offset:-6px}.travel-stamp>span{font-family:Georgia,serif;font-size:30px;letter-spacing:.07em}.travel-stamp small{font-size:12px;letter-spacing:.18em}.travel-stamp svg{height:13px;width:45px;fill:none;stroke:currentColor;stroke-width:1.5;margin-top:4px}.main-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:26px}.main-tabs>button{font-size:14px;padding:13px 10px 16px;position:relative;color:var(--muted)}.main-tabs>button.active{color:var(--green);font-weight:700}.main-tabs>button.active:after{content:'';position:absolute;bottom:-1px;left:6px;right:6px;height:3px;background:var(--green);border-radius:3px}.tab-note{margin-left:auto;color:#666861;font-size:12px;letter-spacing:.05em}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:26px;align-items:start}.side-column{display:grid;gap:18px}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;gap:9px}.tiny-symbol{font-size:20px;color:var(--orange)}.composer{padding:25px}.composer>.muted{margin:8px 0 15px}.composer textarea{width:100%;background:#f6f6f0;border:1px solid #e9e9e0;border-radius:12px;min-height:105px;resize:vertical;padding:14px;color:var(--ink);font-size:14px;line-height:1.7}.composer textarea::placeholder{color:#686962}.example-row{display:flex;gap:7px;margin:12px 0 17px;flex-wrap:wrap}.example-row button{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:6px 10px;background:var(--white)}.example-row button:hover{background:var(--green-soft)}.button{border-radius:11px;padding:12px 18px;font-size:13px;font-weight:600;display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:44px}.primary{background:var(--green);color:#fffefa}.primary:hover:not(:disabled){background:#315e50}.secondary{background:var(--green-soft);color:var(--green)}.full{width:100%}.composer-foot{font-size:12px;text-align:center;color:#676a62;margin:12px 0 0}.draft-link{font-size:12px;color:#995836;margin-top:13px;width:100%;text-align:center;text-decoration:underline;text-underline-offset:3px}.personal-summary{padding:23px 25px}.summary-head{display:flex;justify-content:space-between;align-items:center}.summary-title{font-size:14px;font-weight:600}.summary-head button{font-size:12px;color:var(--muted)}.summary-label{color:var(--muted);font-size:12px;margin-top:20px}.money-large{font-size:31px;font-weight:550;letter-spacing:-.04em;margin:5px 0 13px;font-variant-numeric:tabular-nums}.money-large small{font-size:12px;letter-spacing:0;margin-left:8px;color:var(--muted);font-weight:400}.summary-detail{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:14px;font-size:12px;color:var(--muted)}.summary-detail strong{display:block;font-size:14px;color:var(--ink);font-weight:500;margin-top:5px;font-variant-numeric:tabular-nums}.local-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#65695f;margin:0}.status-dot{width:5px;height:5px;border-radius:50%;background:#7b9379}.today-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.today-top .day-caption{font-size:12px;color:var(--muted);margin-top:4px}.day-indicator{font-size:12px;color:#626b59;background:#e9ede1;border-radius:20px;padding:6px 10px}.next-stop{background:var(--green);color:#fffdf5;border-radius:var(--radius);padding:25px 28px;position:relative;overflow:hidden;margin-bottom:20px}.next-stop:after{content:'';width:200px;height:200px;position:absolute;border:1px solid #ffffff12;border-radius:50%;right:-48px;top:-82px;box-shadow:0 0 0 28px #ffffff05,0 0 0 60px #ffffff03;pointer-events:none}.next-stop .eyebrow{color:#aebfb0;font-size:12px}.next-stop h2{font-size:25px;font-weight:500;letter-spacing:.03em;margin-top:4px}.next-meta{font-size:12px;color:#cbd3c5;margin-top:11px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.next-meta>span{display:inline-flex;align-items:center;gap:5px}.next-action{display:flex;gap:10px;margin-top:22px;position:relative;z-index:1}.next-action button,.next-action a{background:#fffdf51c;border:1px solid #fffdf52a;color:#fffdf5;border-radius:9px;padding:9px 13px;font-size:12px;display:flex;align-items:center;gap:6px}.next-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}.timeline-card{padding:23px 25px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.card-heading h2{font-size:15px}.card-heading button{font-size:12px;color:var(--muted)}.timeline-item{display:grid;grid-template-columns:48px 19px 1fr;gap:10px;position:relative;min-height:87px}.timeline-time{font-size:12px;color:var(--muted);padding-top:5px;font-variant-numeric:tabular-nums}.timeline-track{display:flex;justify-content:center;position:relative}.timeline-track:after{content:'';position:absolute;top:20px;bottom:0;width:1px;background:var(--line)}.timeline-item:last-child .timeline-track:after{display:none}.timeline-dot{height:9px;width:9px;border:2px solid #bdc7b5;border-radius:50%;background:var(--white);margin-top:8px;z-index:1}.timeline-item.next .timeline-dot{border-color:var(--orange);background:var(--orange);box-shadow:0 0 0 4px #f5e7d9}.timeline-body{padding:0 0 23px}.timeline-body h3{font-size:14px;line-height:1.7}.timeline-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px;font-size:12px;color:var(--muted)}.category-tag{border-radius:5px;background:#eff1e9;padding:3px 6px;color:#646b5d;font-size:12px}.person-stack{display:inline-flex;gap:3px}.person-stack span{border:1px solid #e5e5d8;background:#f7f6ed;border-radius:50%;height:20px;width:20px;display:grid;place-items:center;font-size:12px;color:#666b5d}.activity-actions{margin-top:9px;display:flex;gap:10px}.text-button{font-size:12px;color:var(--green);text-decoration:underline;text-underline-offset:3px;padding:3px 0}.subtle-button{font-size:12px;color:#67695e;padding:3px 0}.date-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.date-chips button{border:1px solid var(--line);border-radius:12px;padding:10px 15px;background:var(--white);font-size:12px}.date-chips button.active{background:var(--green);color:var(--white);border-color:var(--green)}.empty-state{padding:35px 20px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.ledger-hero{padding:25px;margin-bottom:18px}.ledger-hero .money-large{margin-bottom:10px}.ledger-helper{font-size:12px;color:var(--muted)}.ledger-row{padding:16px 0;border-top:1px solid var(--line)}.ledger-row summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:15px;align-items:center}.ledger-row summary::-webkit-details-marker{display:none}.ledger-row .expense-title{font-size:13px;font-weight:600}.expense-small{font-size:12px;color:var(--muted);margin-top:5px}.expense-amount{font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.expense-amount small{font-size:12px;font-weight:400;color:var(--muted);display:block;text-align:right;margin-top:3px}.expense-expanded{padding:14px;background:#f6f6ee;margin-top:12px;border-radius:10px;font-size:12px;line-height:1.9}.expense-expanded p{margin-bottom:5px}.expense-expanded pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;color:var(--muted);font-size:12px;border-top:1px solid #e5e6db;padding-top:8px;margin:8px 0 0}.settlement-list{margin-top:18px;border-top:1px solid var(--line);padding-top:17px}.settlement-list h3{font-size:12px;margin-bottom:10px}.settlement-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:9px 0}.settlement-row strong{font-weight:500;font-variant-numeric:tabular-nums}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:32px 0;font-size:12px;color:#66685d}.page-footer button{font-size:12px;color:#666a5d;text-decoration:underline;text-underline-offset:3px}.review-dialog{border:1px solid var(--line);padding:0;border-radius:24px;width:min(760px,calc(100vw - 32px));max-height:88vh;color:var(--ink);background:var(--cream);box-shadow:0 20px 80px #14231c30}.review-dialog::backdrop,.info-dialog::backdrop{background:#1b2e284a;backdrop-filter:blur(4px)}.dialog-shell{display:flex;flex-direction:column;max-height:88vh}.dialog-header{padding:23px 25px 19px;display:flex;justify-content:space-between;align-items:start;gap:15px;border-bottom:1px solid var(--line);background:var(--white)}.dialog-header h2{font-size:22px;font-weight:600}.dialog-header .muted{margin-top:6px;font-size:12px}.icon-button{height:34px;width:34px;flex:0 0 auto;background:#f0f1e9;border-radius:50%;font-size:14px;display:grid;place-items:center}.review-content{padding:20px 25px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.review-group-title{font-size:12px;margin:3px 0 12px;color:var(--muted);font-weight:500}.candidate-card{border:1px solid var(--line);background:var(--white);border-radius:15px;padding:17px;margin-bottom:12px}.candidate-card.needs-attention{border-color:#e2c5a6}.candidate-card.duplicate{border-color:#d3b48b}.candidate-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.candidate-type{font-size:12px;color:#606a5c;background:var(--green-soft);border-radius:5px;padding:4px 7px}.candidate-status{font-size:12px;color:#606d5c}.candidate-status.attention{color:#955934}.candidate-fields{display:grid;grid-template-columns:1.1fr 1fr;gap:12px}.field{min-width:0}.field label{font-size:12px;color:var(--muted);display:block;margin-bottom:5px}.field input,.field select{width:100%;min-height:40px;border:1px solid #dfe2d6;background:#fafaf5;border-radius:8px;padding:8px 10px;font-size:13px;color:var(--ink)}.field input[type=date]{font-size:12px}.field.full-field{grid-column:1/-1}.money-field{display:grid;grid-template-columns:minmax(0,1fr) 83px;gap:6px}.member-chips{display:flex;gap:7px;flex-wrap:wrap}.member-chip{border:1px solid #dedfd3;background:#fafaf5;padding:9px 12px;border-radius:8px;font-size:12px;min-height:39px}.member-chip[aria-pressed=true]{color:var(--green);background:#e7eee2;border-color:#a9b69f}.member-chip[aria-pressed=true]:before{content:'✓ ';font-size:12px}.payer-confirm{font-size:12px;background:var(--orange-soft);color:#925a38;padding:8px 12px;border-radius:8px;margin-top:7px;width:100%;text-align:left}.candidate-source{font-size:12px;color:var(--muted);margin-top:12px}.candidate-source summary{cursor:pointer}.candidate-source pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:12px;background:#f4f4ec;border-radius:7px;padding:9px}.candidate-remove{font-size:12px;color:#67695f}.issue-list{font-size:12px;color:#925a38;line-height:1.6;margin-top:10px;background:#fcf1e6;border-radius:8px;padding:8px 10px}.duplicate-control{font-size:12px;display:flex;align-items:center;gap:7px;margin-top:10px;line-height:1.6;color:#905c31}.split-preview{font-size:12px;color:#646b5d;line-height:1.7;margin-top:9px}.dialog-footer{padding:17px 25px;border-top:1px solid var(--line);background:var(--white);display:flex;gap:16px;justify-content:space-between;align-items:center;position:sticky;bottom:0}.dialog-footer>div{font-size:12px;color:var(--muted);line-height:1.7}.dialog-footer .button{flex-shrink:0}.ignored-content{font-size:12px;color:var(--muted);padding:10px 0}.ignored-content summary{cursor:pointer}.ignored-content p{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.info-dialog{width:min(470px,calc(100vw - 32px));padding:0;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:var(--white)}.info-dialog .dialog-header h2{font-size:18px}.info-body{padding:23px;font-size:13px;line-height:1.9;color:#5f6a5e}.info-body ul{padding-left:19px;margin:14px 0}.info-body>.button{margin-top:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:var(--white);padding:14px 19px;border-radius:12px;box-shadow:0 8px 30px #183e3129;z-index:10;font-size:12px;max-width:calc(100vw - 30px);display:flex;gap:18px;align-items:center}.toast button{color:#e5d2a5;font-size:12px;white-space:nowrap;text-decoration:underline}.noscript{padding:20px;text-align:center}.alias-note{font-size:12px;line-height:1.6;background:var(--orange-soft);padding:10px;border-radius:8px;color:#925d34;margin-top:10px}.activity-participants{margin-top:9px}
@media(min-width:1000px){.app-shell{padding:0 44px}.header-inner{padding:21px 44px}}
@media(max-width:760px){.header-inner{padding:15px 20px}.brand{font-size:15px}.brand-note{font-size:12px}.header-right{gap:10px}.app-shell{padding:0 20px}.trip-heading{padding:28px 0 22px}h1{font-size:29px}.travel-stamp{width:76px;height:76px}.travel-stamp>span{font-size:24px}.trip-meta{font-size:12px;gap:7px}.main-tabs{gap:20px;margin-bottom:20px}.main-tabs>button{font-size:13px;padding:11px 7px 14px}.tab-note{display:none}.content-grid{grid-template-columns:1fr;gap:20px}.side-column{display:contents}.composer{grid-row:2;padding:20px}.personal-summary{grid-row:3;padding:20px}.local-note{grid-row:4}.next-stop{padding:23px;margin-bottom:17px}.next-stop h2{font-size:24px}.timeline-card{padding:21px}.today-top{margin-bottom:13px}.timeline-item{min-height:80px}.composer textarea{min-height:84px}.page-footer{padding:26px 0}.review-dialog{width:calc(100vw - 16px);max-height:94vh;border-radius:19px}.dialog-shell{max-height:94vh}.dialog-header{padding:19px 17px 15px}.dialog-header h2{font-size:20px}.review-content{padding:16px}.candidate-card{padding:14px}.candidate-fields{gap:11px}.dialog-footer{padding:13px 16px;gap:10px}.dialog-footer .button{font-size:12px;padding:12px 13px}.candidate-top{flex-wrap:wrap}.money-large{font-size:28px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}.next-stop,.card{animation:appear .35s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

@media(max-width:760px){.content-grid[data-view=today] #primary-content{display:contents}.content-grid[data-view=today] .today-top{grid-row:1;margin-bottom:0}.content-grid[data-view=today] .next-stop{grid-row:2;margin-bottom:0}.content-grid[data-view=today] .composer{grid-row:3}.content-grid[data-view=today] .timeline-card{grid-row:4}.content-grid[data-view=today] .personal-summary{grid-row:5}.content-grid[data-view=today] .local-note{grid-row:6}}

.batch-summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}.batch-summary::-webkit-details-marker{display:none}.batch-item-title{display:block;font-size:14px;font-weight:600;line-height:1.6}.batch-item-meta{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:3px}.batch-status{font-size:12px;color:#606d5c;white-space:nowrap}.batch-status.attention{color:#955934}.batch-form{border-top:1px solid var(--line);margin-top:14px;padding-top:15px}.candidate-card[open]>.batch-summary .batch-status>span{display:inline-block;transform:rotate(180deg)}
@media(max-width:420px){.candidate-fields>.field:first-child,.candidate-fields>.field:has(.money-field){grid-column:1/-1}.dialog-footer{flex-direction:column;align-items:stretch;gap:7px}.dialog-footer .button{width:100%}}
@media(max-width:360px){h1{font-size:26px}.travel-stamp{width:64px;height:64px;flex-shrink:0}.next-stop h2{font-size:21px}.candidate-fields{grid-template-columns:1fr}}
.review-dialog{overflow:hidden}.dialog-shell{max-height:calc(88vh - 2px)}
@media(max-width:760px){.dialog-shell{max-height:calc(94vh - 2px)}}

/* Ledger: settlement first, record repayment, edit with change log. */
.settlement-item{padding:2px 0 10px;border-bottom:1px solid var(--line)}.settlement-item:last-of-type{border-bottom:0}.settlement-item.mine .settlement-row{font-size:14px;font-weight:600}.settlement-row{flex-wrap:wrap}.settlement-sub{margin-top:16px;color:var(--muted)}.settlement-note{font-size:12px;margin-top:10px}
.mini-button{font-size:12px;color:var(--green);border:1px solid #cfd8c8;background:#fafaf5;border-radius:8px;padding:7px 12px;min-height:36px;margin-top:6px}
.inline-form{background:#f6f6ee;border-radius:10px;padding:12px;margin-top:8px;display:grid;gap:10px;font-size:12px;line-height:1.7}.expense-expanded .inline-form{background:var(--white);margin-top:0}.form-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.form-actions .subtle-button{font-size:12px;min-height:36px}
.change-log{border-top:1px solid #e5e6db;padding-top:8px;margin:8px 0;color:var(--muted)}.change-log p:first-child{color:var(--ink);font-weight:600}.edited-tag{font-size:12px;font-weight:500;color:#925a38;background:var(--orange-soft);border-radius:6px;padding:1px 6px;margin-left:6px;vertical-align:middle}.repayment-row small{display:block;font-size:12px;color:var(--muted);margin-top:2px}#review-status .text-button{margin-left:6px}
#primary-content[data-settled] .card,#primary-content[data-settled] .next-stop{animation:none}
.amount-row{display:flex;gap:8px;align-items:center}.amount-row input{flex:1;min-width:0}.amount-row .mini-button{margin-top:0;white-space:nowrap}.repay-choice{margin-top:8px}.repay-choice .member-chip{font-size:12px}
.share-card{background:var(--green-soft);border-radius:12px;padding:14px;margin:4px 0 14px;display:grid;gap:10px;font-size:12px;line-height:1.7}.share-text{background:var(--white);border-radius:8px;padding:10px;color:var(--ink);overflow-wrap:anywhere}
.settlement-notice{background:var(--orange-soft);color:#7a4a2c;border-radius:12px;padding:12px 14px;margin:4px 0 12px;font-size:12px;line-height:1.7;display:grid;gap:6px}.settlement-notice .subtle-button{justify-self:start;font-size:12px;color:#7a4a2c}.settlement-why{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.7}.settlement-why summary{cursor:pointer;color:var(--green)}
.ledger-switch{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 8px}.ledger-switch-label{font-size:12px;color:var(--muted)}.ledger-switch button{border:1px solid #dedfd3;background:#fafaf5;border-radius:8px;padding:7px 10px;font-size:12px;min-height:36px}.ledger-switch button[aria-pressed=true]{color:var(--green);background:#e7eee2;border-color:#a9b69f;font-weight:600}.ledger-switch button[aria-pressed=true]:before{content:"✓ ";font-size:12px}
.daily-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:13px;flex-wrap:wrap}.daily-row small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.daily-row .text-button{font-size:12px}.daily-amount{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.daily-amount small{font-weight:400}.trip-line{background:#f6f6ee;border-radius:10px;padding:12px;border-top:0;margin-bottom:6px}.daily-excluded{font-size:12px;margin-top:10px}.daily-enable{display:block;margin-top:12px}.mention-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.heading-link{font:inherit;font-size:inherit;color:var(--green);text-decoration:underline;text-underline-offset:3px;padding:2px 0;background:none;border:0;cursor:pointer;letter-spacing:0}.eyebrow .heading-link{margin-left:8px;text-transform:none}
.trip-list{display:grid;gap:8px;margin-bottom:18px}.trip-choice{display:grid;gap:3px;text-align:left;border:1px solid var(--line);background:#fafaf5;border-radius:10px;padding:12px 14px;font-size:14px}.trip-choice small{font-size:12px;color:var(--muted)}.trip-choice.current{border-color:#a9b69f;background:#e7eee2}
.form-title{font-size:14px;margin:6px 0 10px}.trip-form{display:grid;gap:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trip-form .field input,.trip-form .field select,.member-row input,#add-members-input{width:100%;min-height:42px;border:1px solid #dfe2d6;background:#fafaf5;border-radius:8px;padding:8px 10px;font-size:14px;color:var(--ink)}
.member-list{display:grid;gap:8px;margin:12px 0 16px}.member-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}.member-row .mini-button{margin-top:0}.member-tag{font-size:12px;color:var(--muted);white-space:nowrap}
@media(max-width:560px){.field-row{grid-template-columns:1fr}}
.day-indicator{white-space:nowrap}.member-row{grid-template-columns:1fr auto 3.2em}.member-row .member-tag,.member-row .subtle-button{text-align:center}
.compose-mode{display:inline-flex;gap:4px;background:#eef0e8;border-radius:10px;padding:3px;margin:2px 0 10px}.compose-mode button{border-radius:8px;padding:6px 14px;font-size:12px;min-height:32px;color:var(--muted)}.compose-mode button[aria-pressed=true]{background:var(--white);color:var(--green);font-weight:600;box-shadow:0 1px 4px #263f3214}
.quick-number{display:grid;gap:10px;margin-bottom:12px}.quick-number #quick-amount{width:100%;min-height:52px;font-size:24px;font-variant-numeric:tabular-nums;border:1px solid #dfe2d6;background:#fafaf5;border-radius:10px;padding:8px 12px;color:var(--ink)}.quick-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.quick-group>span{font-size:12px;color:var(--muted);width:100%}
.weights{margin-top:8px;font-size:12px}.weights summary{cursor:pointer;color:var(--green)}.weight-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px;margin-top:8px}.weight-item{display:flex;align-items:center;justify-content:space-between;gap:6px;background:#fafaf5;border:1px solid #e7e7dd;border-radius:8px;padding:4px 6px}.weight-item select{border:0;background:transparent;font-size:12px;min-height:32px}
.voided-list summary{cursor:pointer;font-size:13px;color:var(--muted)}.voided-list .settlement-row{opacity:.75}
.field .weight-list{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.field .weight-item{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;font-size:12px;color:var(--ink);padding:2px 4px 2px 10px}.field .weight-item select{width:auto;min-height:34px;border:0;background:transparent;padding:0 4px;font-size:12px}
.invite-box{background:var(--green-soft);border-radius:12px;padding:14px;display:grid;gap:10px;font-size:12px;line-height:1.7;margin-bottom:12px}.demo-cloud-note{font-size:12px;background:#f6f6ee;border-radius:8px;padding:8px 10px}.trip-choice:disabled{opacity:.55}

/* 設計檢查（meetings/015，藝術設計總監宋品萱）：次要文字對比至少 4.5:1、最小字 12px、手指點的地方至少 44×44。只改樣式，不改流程。 */
:root{--muted:#656962}
.category-tag{color:#646b5d}
.subtle-button{color:#67695e}
.demo-label{color:#6e684f}
.brand,.prototype-badge,.main-tabs button,.next-action a,.next-action button,.date-chips button,.mini-button,.ledger-switch button{min-height:44px}
.main-tabs button{min-width:44px}
/* Text-like buttons get a taller touch area without moving anything around them. */
.heading-link,.text-button,.subtle-button{padding-top:12px;padding-bottom:12px;margin-top:-12px;margin-bottom:-12px}
.settlement-why>summary,.voided-list>summary,.candidate-source>summary,.ignored-content>summary{min-height:44px;display:flex;align-items:center}
.travel-stamp small{color:#915934}
.day-indicator{color:#5d6853}
.composer-foot,.local-note,.page-footer span,.page-footer button{color:var(--muted)}
.card-heading button,.summary-head button,.page-footer button{min-height:44px}
.compose-mode button,.example-row button,.ledger-row>summary{min-height:44px}
.heading-link,.text-button,.subtle-button{padding-top:14px;padding-bottom:14px;margin-top:-14px;margin-bottom:-14px}
.icon-button{min-width:44px;min-height:44px}
input,select,textarea{min-height:44px}
.member-chip{min-height:44px}
details>summary{min-height:44px}
.candidate-remove{padding-top:14px;padding-bottom:14px;margin-top:-14px;margin-bottom:-14px}
.icon-button{height:44px;width:44px}
.field input,.field select,.trip-form .field input,.trip-form .field select,.member-row input,#add-members-input,.field .weight-item select{min-height:44px}
.member-chip{min-width:44px}
/* 退款（meetings/016）：中性色、寫「退回」，不用紅色，免得像欠款。 */
.refund-list{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.refund-list>p:first-child{font-weight:600;color:var(--ink)}.refund-line{padding:6px 0;color:var(--ink)}.refund-line small{display:block;color:var(--muted);font-size:12px}
/* 提示框用整個畫面寬度排字（原本 left:50% 讓可用寬度只剩半個畫面，大字時變成細長一條蓋住按鈕；S21 實測發現）。 */
.toast{left:16px;right:16px;transform:none;margin:0 auto;width:fit-content;max-width:min(560px,calc(100vw - 32px))}
/* Figma 案例參考（meetings/017）：同一套線條圖示、每筆寫出對我的影響、旅行清單寫結算狀態。 */
.line-icon,.category-icon svg{flex:0 0 auto}.line-icon{display:inline-flex;width:16px;height:16px;margin-right:6px;vertical-align:-3px;color:var(--green)}
.line-icon svg,.category-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.expense-head{display:flex;gap:10px;align-items:flex-start;min-width:0}
.category-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--green-soft);color:var(--green);flex:0 0 auto;margin-top:2px}
.expense-mine{font-size:12px;color:var(--ink);margin-top:3px}
.trip-choice .trip-status{display:block;color:var(--ink);font-weight:600;margin-top:2px}
