/* Trip Cost estimator (porting checklist H4) — generator palette:
   deep green #0e2a20 / #173d33, cream #f7f1e3, champagne gold #d3ba85. */
.cost-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(26px,4vw,52px);align-items:start}
@media(max-width:900px){.cost-layout{grid-template-columns:1fr}}
.cost-form{display:grid;gap:32px}
.cost-legend{font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;font-weight:600;color:#8a6d2f;margin-bottom:12px}
.opt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.opt-grid-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:640px){.opt-grid,.opt-grid-2{grid-template-columns:1fr}}
.opt-card{display:grid;gap:4px;border:1px solid rgba(23,61,51,.25);border-radius:12px;padding:14px 16px;cursor:pointer;background:#fffdf6}
.opt-card input{position:absolute;opacity:0}
.opt-card.sel{border-color:#b08d4f;box-shadow:0 0 0 2px rgba(211,186,133,.55)}
.opt-card:focus-within{outline:2px solid #b08d4f;outline-offset:2px}
.opt-name{font-weight:600;color:#173d33}
.opt-sub{font-size:.86rem;color:#5c665e}
.days-read{font-size:1.05rem;color:#173d33}
.days-read b{font-size:1.5rem}
.cost-range{width:100%;accent-color:#8a6d2f;height:44px;cursor:pointer}
.range-ends{display:flex;justify-content:space-between;font-size:.82rem;color:#5c665e}
.cost-side{display:grid;gap:16px}
@media(min-width:901px){.cost-side{position:sticky;top:14px}}
.cost-panel{background:linear-gradient(170deg,#173d33,#0e2a20);color:#f7f1e3;border-radius:16px;padding:28px 26px}
.cost-panel .label{color:#d3ba85;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase}
.cost-total{font-size:clamp(1.65rem,3.2vw,2.25rem);line-height:1.18;margin-top:12px;font-weight:500}
.cost-total-usd{color:#d3ba85;font-size:1.05rem;margin-top:4px}
.cost-total-mid{font-style:italic;font-size:.98rem;margin-top:8px}
.cost-total-for{color:#cfd8cd;font-size:.9rem;margin-top:2px}
.cost-trav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid rgba(211,186,133,.25)}
.cost-trav>span{font-size:.85rem;letter-spacing:.08em;color:#cfd8cd}
.cost-trav button{background:transparent;border:1px solid rgba(211,186,133,.55);color:#f7f1e3;border-radius:99px;padding:7px 16px;cursor:pointer;min-height:38px}
.cost-trav button.on{background:#d3ba85;color:#0e2a20;border-color:#d3ba85}
.cost-anchor{font-size:.88rem;color:#cfd8cd;margin:16px 0 0;line-height:1.65}
.cost-anchor b{color:#d3ba85;font-weight:600}
.cost-share-note{font-size:.86rem;color:#cfd8cd;border:1px dashed rgba(211,186,133,.4);border-radius:10px;padding:14px;margin:18px 0 0;line-height:1.6;display:grid;gap:11px;justify-items:start}
.cost-copy-btn{background:transparent;border:1px solid rgba(211,186,133,.55);color:#f7f1e3;border-radius:99px;padding:9px 18px;font-size:.88rem;min-height:40px;cursor:pointer}
.cost-rows{display:grid;gap:0}
.cost-row{border-bottom:1px solid rgba(23,61,51,.14);padding:14px 2px}
.cost-row-main{display:flex;justify-content:space-between;gap:18px;align-items:baseline}
.cost-row h4{margin:0;color:#173d33}
.cost-note{margin:4px 0 0;font-size:.88rem;color:#5c665e}
.cost-amt{text-align:right;white-space:nowrap}
.cost-amt span{display:block;font-weight:600;color:#173d33}
.cost-amt small{color:#8a6d2f}
.cost-notes{display:grid;gap:14px;margin-top:22px}
.cost-note-card{border:1px solid rgba(176,141,79,.4);border-radius:12px;padding:16px 18px;background:#fffdf6}
.cost-note-card h3{margin:0 0 6px;color:#173d33;font-size:1.02rem}
.cost-note-card p{margin:0;color:#3d4740;line-height:1.6}
.cost-sources{font-size:.86rem;color:#5c665e;line-height:1.7}
.pwa-install{background:transparent;border:1px solid rgba(211,186,133,.6);color:inherit;border-radius:99px;padding:8px 16px;cursor:pointer;margin-top:10px;font-size:.88rem}
.cost-rows-note{font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:#8a6d2f;margin:2px 0 4px}
.cost-trav-form{margin-top:0;padding-top:0;border-top:0}
.cost-trav-form button{border-color:rgba(23,61,51,.4);color:#173d33}
.cost-trav-form button.on{background:#173d33;color:#f7f1e3;border-color:#173d33}
