/* Page styles for abroad. Every selector is scoped with :where(.pg-abroad) (class set on <body>): isolated to this page, zero added specificity. */
:where(.pg-abroad) .ab-head{padding:46px 0 26px}
:where(.pg-abroad) .ab-head .eb{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--azure-d)}
:where(.pg-abroad) .ab-head .eb i{width:8px;height:8px;border-radius:50%;background:var(--red)}
:where(.pg-abroad) .ab-head h1{font-size:clamp(38px,5.6vw,72px);line-height:1.04;margin:16px 0 16px;max-width:13em}
:where(.pg-abroad) .ab-head p.lede{font-size:19px;line-height:1.6;color:var(--ink2);max-width:36em;margin:0}
:where(.pg-abroad) .ab-ctl{margin-top:30px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:stretch}
:where(.pg-abroad) .ab-bud{background:var(--ink);color:#fff;border-radius:28px;padding:28px 32px;position:relative;overflow:hidden}
:where(.pg-abroad) .ab-bud .rg{position:absolute;right:-120px;top:-130px;width:420px;height:420px;color:#fff;opacity:.09;pointer-events:none}
:where(.pg-abroad) .ab-bud>*{position:relative}
:where(.pg-abroad) .ab-bud label{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--sky)}
:where(.pg-abroad) .ab-bud .row{display:flex;align-items:baseline;gap:8px;margin:8px 0 6px}
:where(.pg-abroad) .ab-bud .row b{font-size:26px;font-weight:700;color:#9FB3C8}
:where(.pg-abroad) .ab-bud .row input{width:200px;max-width:50%;background:none;border:0;border-bottom:2px solid rgba(255,255,255,.25);color:#fff;font:inherit;font-weight:800;font-size:52px;letter-spacing:-.04em;padding:0 4px;font-variant-numeric:tabular-nums}
:where(.pg-abroad) .ab-bud .row input:focus{outline:none;border-color:var(--red)}
:where(.pg-abroad) .ab-bud .row small{font-size:16px;color:#9FB3C8;font-weight:600}
:where(.pg-abroad) .ab-bud input[type=range]{--p:50%;margin-top:6px}
:where(.pg-abroad) .ab-bud input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--red) var(--p),rgba(255,255,255,.2) var(--p))}
:where(.pg-abroad) .ab-bud .src{margin-top:12px;font-size:14px;color:#B7C6D6;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
:where(.pg-abroad) .ab-bud .src button{font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:3px}
:where(.pg-abroad) .ab-sum{border:1px solid var(--line);border-radius:28px;padding:26px 28px;background:#fff;box-shadow:var(--sh);display:grid;gap:14px;align-content:center}
:where(.pg-abroad) .ab-sum .n{display:flex;align-items:center;gap:14px;font-size:15.5px;color:var(--ink2)}
:where(.pg-abroad) .ab-sum .n b{font-size:30px;font-weight:800;letter-spacing:-.03em;color:var(--ink);min-width:2ch;font-variant-numeric:tabular-nums}
:where(.pg-abroad) .ab-sum .d{flex:none;width:12px;height:12px;border-radius:50%}
:where(.pg-abroad) .ab-sum .d.green{background:#19A974}:where(.pg-abroad) .ab-sum .d.yellow{background:#F2B33D}:where(.pg-abroad) .ab-sum .d.red{background:#E0583B}
:where(.pg-abroad) .ab-bar{position:sticky;top:64px;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line2);margin:0 -32px;padding:14px 32px}
:where(.pg-abroad) .ab-bar .in{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
:where(.pg-abroad) .ab-bar .chips{flex:1 1 380px}
:where(.pg-abroad) .ab-bar .chip small{font-weight:700;opacity:.85;margin-left:6px}
:where(.pg-abroad) .ab-bar .ctl{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
:where(.pg-abroad) .ab-s{position:relative}
:where(.pg-abroad) .ab-s input,:where(.pg-abroad) .ab-sort select{height:42px;border:1.5px solid var(--line);border-radius:12px;font:inherit;font-weight:600;background:#fff;color:var(--ink)}
:where(.pg-abroad) .ab-s input{width:200px;padding:0 14px}
:where(.pg-abroad) .ab-sort select{padding:0 34px 0 12px;font-weight:700}
:where(.pg-abroad) .ab-s input:focus,:where(.pg-abroad) .ab-sort select:focus{outline:none;border-color:var(--azure);box-shadow:0 0 0 4px rgba(46,111,235,.15)}
:where(.pg-abroad) .ab-tr{display:flex;gap:10px;align-items:center;margin:22px 0 4px;flex-wrap:wrap;font-size:14.5px;color:var(--ink2);font-weight:600}
:where(.pg-abroad) .ab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:20px 0 60px}
:where(.pg-abroad) .ab-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:26px;background:#fff;overflow:hidden;box-shadow:var(--sh);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
:where(.pg-abroad) .ab-card:hover{transform:translateY(-5px);box-shadow:0 26px 50px -22px rgba(13,33,55,.4)}
:where(.pg-abroad) .ab-card .ph{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--mist)}
:where(.pg-abroad) .ab-card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
:where(.pg-abroad) .ab-card:hover .ph img{transform:scale(1.06)}
:where(.pg-abroad) .ab-card .fit{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:99px;background:#fff;font-size:12.5px;font-weight:800;box-shadow:0 4px 14px rgba(13,33,55,.18)}
:where(.pg-abroad) .ab-card .fit i{width:9px;height:9px;border-radius:50%}
:where(.pg-abroad) .ab-card .fit.green i{background:#19A974}:where(.pg-abroad) .ab-card .fit.yellow i{background:#F2B33D}:where(.pg-abroad) .ab-card .fit.red i{background:#E0583B}
:where(.pg-abroad) .ab-card .rgn{position:absolute;right:14px;top:14px;height:26px;padding:0 10px;border-radius:99px;background:rgba(13,33,55,.62);color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;backdrop-filter:blur(4px)}
:where(.pg-abroad) .ab-card .bd{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
:where(.pg-abroad) .ab-card h3{font-size:22px;font-weight:700;letter-spacing:-.02em}
:where(.pg-abroad) .ab-card .co{font-size:14px;font-weight:600;color:var(--mute);margin:-2px 0 4px}
:where(.pg-abroad) .ab-card .ex{font-size:14.5px;line-height:1.5;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px}
:where(.pg-abroad) .ab-card .cost{margin-top:auto;font-size:19px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
:where(.pg-abroad) .ab-card .cost small{font-size:13px;font-weight:600;color:var(--mute)}
:where(.pg-abroad) .ab-card .ln{font-size:13.5px;color:var(--ink2);font-weight:600}
:where(.pg-abroad) .ab-card .imp{margin-top:6px;display:flex;gap:8px;align-items:center;padding:9px 12px;border-radius:12px;font-size:13.5px;font-weight:700;background:#E5F6EC;color:#0B7A43}
:where(.pg-abroad) .ab-card .imp.neg{background:#FDEEE9;color:#B93A1F}
:where(.pg-abroad) .ab-card .md{display:inline-flex;gap:6px;align-items:center;font-size:12.5px;font-weight:700;color:#8A5A00;margin-top:4px}
:where(.pg-abroad) .ab-map{position:relative;margin:26px 0 60px;border:1px solid var(--line);border-radius:28px;background:var(--sand);overflow:hidden;box-shadow:var(--sh);display:grid;grid-template-columns:minmax(0,1fr) 320px}
:where(.pg-abroad) .ab-map .side{padding:22px;border-left:1px solid var(--line2);background:#fff;display:flex;flex-direction:column;gap:8px;min-height:360px}
:where(.pg-abroad) .ab-map .side img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px}
:where(.pg-abroad) .ab-map .side h3{font-size:22px;letter-spacing:-.02em;margin-top:6px}
:where(.pg-abroad) .ab-map .side p{margin:0;font-size:14.5px;color:var(--ink2);line-height:1.5}
:where(.pg-abroad) .ab-note{font-size:13.5px;color:var(--mute);line-height:1.6;max-width:56em;padding-bottom:70px}
:where(.pg-abroad) .ab-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:6px 0 50px;padding:28px 34px;border-radius:28px;background:var(--mist)}
:where(.pg-abroad) .ab-banner h3{font-size:24px;letter-spacing:-.02em}:where(.pg-abroad) .ab-banner p{margin:4px 0 0;color:var(--ink2);font-size:16px}
:where(.pg-abroad) .ab-empty{grid-column:1/-1;text-align:center;padding:60px 20px;border:1.5px dashed #BBC9D8;border-radius:28px;background:var(--sand)}
:where(.pg-abroad) .ab-empty h3{font-size:26px}:where(.pg-abroad) .ab-empty p{color:var(--ink2);margin:6px 0 18px}
@media(max-width:1080px){:where(.pg-abroad) .ab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.pg-abroad) .ab-ctl{grid-template-columns:minmax(0,1fr)}:where(.pg-abroad) .ab-map{grid-template-columns:minmax(0,1fr)}:where(.pg-abroad) .ab-map .side{border-left:0;border-top:1px solid var(--line2);min-height:0}}
@media(max-width:720px){
  :where(.pg-abroad) .ab-head{padding:26px 0 18px}
  :where(.pg-abroad) .ab-head p.lede{font-size:17px}
  :where(.pg-abroad) .ab-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  :where(.pg-abroad) .ab-bud{padding:22px 20px;border-radius:24px}
  :where(.pg-abroad) .ab-bud .row input{font-size:40px;width:160px}
  :where(.pg-abroad) .ab-sum{padding:20px;border-radius:24px}
  :where(.pg-abroad) .ab-bar{margin:0 -16px;padding:12px 16px;top:56px}
  :where(.pg-abroad) .ab-bar .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scrollbar-width:none}
  :where(.pg-abroad) .ab-s input{width:100%}:where(.pg-abroad) .ab-s{flex:1}
  :where(.pg-abroad) .ab-banner{padding:22px}
}

/* map view: Leaflet fills the left column; pins are circle markers coloured by fit */
:where(.pg-abroad) .ab-leaflet{height:520px;border-radius:24px;overflow:hidden;background:#F4F7FA;border:1px solid var(--line)}
:where(.pg-abroad) .mapnote{margin:0;padding:10px 18px 16px;font-size:13px;color:var(--mute)}
:where(.pg-abroad) #mapView[hidden],:where(.pg-abroad) #cardsView[hidden]{display:none}
@media (max-width:760px){:where(.pg-abroad) .ab-leaflet{height:380px}}
