/* ============================================================================================
   TNC K: city guide and My base. Production markup and scripts, K look.
   Template rule: nothing here depends on one city. The head uses the city's own two photos (day, night) through the same
   variables production already sets; every label, number and card comes from that city's data.
   ============================================================================================ */

/* ---------- three columns on wide screens: sections | guide | assistant ---------- */
@media(min-width:1180px){
  html.c3-wide body.k .c3{display:grid;grid-template-columns:228px minmax(0,1fr) 336px;column-gap:0;align-items:start;max-width:1560px;margin:0 auto}
  html.c3-wide body.k .c3-nav{grid-column:1;grid-row:1 / span 8}
  html.c3-wide body.k .c3-hero{grid-column:2;grid-row:1}
  html.c3-wide body.k .c3-rail{grid-column:2;grid-row:2}
  html.c3-wide body.k .c3-panels{grid-column:2;grid-row:3}
  html.c3-wide body.k .c3-by{grid-column:2}
  body.k .k-rail{display:block;grid-column:3;grid-row:1 / span 8;position:sticky;top:64px;align-self:start;height:calc(100vh - 64px);overflow:auto;scrollbar-width:none;padding:22px 24px 24px 22px;border-left:1px solid var(--k-line)}
  body.k .k-rail::-webkit-scrollbar{display:none}
  body.k .k-strip{display:none}
}
.k-rail{display:none}

/* ---------- the assistant rail ---------- */
.k-rh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.k-rnow{margin:12px 0 0;font:500 13.5px/1.4 var(--k-body);color:var(--k-ink2)}
.k-rnow b{display:block;font:800 21px/1.2 var(--k-disp);letter-spacing:-.01em;color:var(--k-ink)}
.k-rnow span{font-variant-numeric:tabular-nums;font-weight:650;color:var(--k-ink)}
.k-rland{margin:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font:500 14px/1.3 var(--k-body);color:var(--k-ink2)}
.k-rsum{margin:8px 0 0;font:500 14px/1.45 var(--k-body);color:var(--k-ink)}
.k-rsum b{font-weight:700;color:var(--k-redink)}
.k-rsum small{display:block;font:400 12.5px/1.4 var(--k-body);color:var(--k-ink3)}
.k-cal{margin:14px -4px 0;display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0;text-align:center;font-variant-numeric:tabular-nums}
.k-cal i{font:500 11px/1 var(--k-body);font-style:normal;color:var(--k-ink3);padding:2px 0 6px}
.k-cal span{position:relative;height:34px;display:grid;place-items:center;font:600 13.5px/1 var(--k-body);color:var(--k-ink);z-index:0}
.k-cal span.o{color:var(--k-ink3);opacity:.45;font-weight:400}
.k-cal span.we{color:var(--k-ink3)}
.k-cal span.in::before{content:"";position:absolute;left:0;right:0;top:4px;bottom:4px;background:var(--k-redsoft);z-index:-2}
.k-cal span::after{content:"";position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;z-index:-1}
.k-cal span.today{color:var(--k-paper)}
.k-cal span.today::after{background:var(--k-ink)}
.k-cal span.hol::after{background:var(--k-mangosoft);box-shadow:inset 0 0 0 1.5px var(--k-mango)}
.k-cal span.end{color:#fff}
.k-cal span.end::after{background:var(--k-red)}
.k-cal span.mine{font-weight:800;color:var(--k-redink)}
.k-cal span.mine::after{box-shadow:inset 0 0 0 2px var(--k-red);background:var(--k-paper)}
.k-rnotes{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid var(--k-line)}
.k-rnotes li{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 10px;padding:10px 0 10px 18px;border-bottom:1px solid var(--k-line);font:400 13.5px/1.4 var(--k-body);color:var(--k-ink2)}
.k-rnotes li::before{content:"";position:absolute;left:0;top:15px;width:9px;height:9px;border-radius:50%;background:var(--k-ink)}
.k-rnotes li.hol::before{background:var(--k-mango)}
.k-rnotes li.end::before,.k-rnotes li.mine::before,.k-rnotes li.kept::before{background:var(--k-red)}
.k-rnotes li b{font:700 14px/1.4 var(--k-body);color:var(--k-ink);white-space:nowrap}
.k-rnotes li span{min-width:0}
.k-rnotes li em,.k-rnotes li .k-link{grid-column:2;font-style:normal;font-size:12.5px;justify-self:start;color:var(--k-ink3)}
.k-rnotes li .k-link{color:var(--k-redink);font-size:13px}
.k-rnotes li .k-mail{grid-column:1 / -1;padding:12px}
.k-rnotes li .k-mail .row{flex-wrap:wrap}
.k-rt{margin:16px 0 4px;font:600 12.5px/1 var(--k-body);color:var(--k-ink3)}
.k-rpl{list-style:none;margin:0;padding:0}
.k-rpl li{position:relative;padding:6px 0 6px 18px;font:600 14px/1.35 var(--k-body);color:var(--k-ink)}
.k-rpl li::before{content:"";position:absolute;left:0;top:11px;width:9px;height:9px;border-radius:2px 2px 50% 50%;background:var(--k-red)}
.k-rpl li.m{font-weight:400;color:var(--k-ink3)}
.k-rpl li.m::before{display:none}
.k-rempty{margin:14px 0 0;padding:12px 14px;border-radius:var(--k-rm);background:var(--k-field);font:400 13.5px/1.5 var(--k-body);color:var(--k-ink2)}
.k-rgo{margin-top:16px;width:100%;height:42px}

/* ---------- the month strip (phones and narrow screens): the assistant under the city name ---------- */
.k-strip{margin:14px 14px 0;padding:12px 14px 6px;border-radius:22px;background:var(--k-paper);box-shadow:0 0 0 1px var(--k-line)}
.k-sh{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.k-sh .k-as{font-size:17px;margin-right:auto}
.k-ssum{font:500 13px/1.3 var(--k-body);color:var(--k-ink2)}
.k-ssum b{color:var(--k-redink)}
.k-strip .k-datebtn{height:32px;padding:0 10px;font-size:13px}
.k-strip .k-ruler{margin:8px -14px 0;padding:0 8px;overflow-x:auto;grid-auto-columns:44px;scrollbar-width:none}
.k-strip .k-ruler::-webkit-scrollbar{display:none}

/* ---------- city head: name, the hour, a window onto the city. No backdrop photo. ---------- */
body.k .c3-hero{background:none!important;color:var(--k-ink);margin:22px 28px 0!important;padding:0!important;border-radius:0!important;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);grid-template-rows:auto 1fr;gap:10px 28px;min-height:0}
body.k .c3-hero::before{content:"";position:static;inset:auto;grid-column:2;grid-row:1 / span 2;min-height:148px;border-radius:24px;background:var(--k-field2) var(--img) center/cover no-repeat}
body.k .c3-hero.night::before{background-image:var(--imgn)}
body.k .c3-hero .c3-who{position:static!important;grid-column:1;grid-row:1;justify-self:start;display:inline-flex;align-items:center;gap:4px;padding:3px;border-radius:99px;background:var(--k-field);border:0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
body.k .c3-hero .c3-who span{padding:0 6px 0 12px;font:500 13px/1 var(--k-body);color:var(--k-ink3)}
body.k .c3-hero .c3-who button{height:34px;padding:0 14px;border:0;border-radius:99px;background:none;font:600 13.5px/1 var(--k-body);color:var(--k-ink2)}
body.k .c3-hero .c3-who button[aria-pressed="true"]{background:var(--k-paper);color:var(--k-ink);box-shadow:0 1px 3px rgba(20,24,31,.14)}
body.k .c3-hin{grid-column:1;grid-row:2;display:block!important;max-width:none;margin:0;align-self:end}
body.k .c3-crumb{font:500 13.5px/1.3 var(--k-body);color:var(--k-ink3);opacity:1}
body.k .c3-crumb a{color:var(--k-ink2)}
body.k .c3-hero h1{margin:4px 0 6px;font:800 56px/1 var(--k-disp)!important;letter-spacing:-.028em!important;color:var(--k-ink)!important;gap:14px;text-shadow:none}
body.k .c3-hero h1 .c3-flag{width:38px;border-radius:5px;box-shadow:0 0 0 1px var(--k-line)}
body.k .c3-live{display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:flex-start!important;gap:4px 14px!important;text-shadow:none!important;font-weight:500;color:var(--k-ink2);margin:0!important;padding:0!important}
html body.k.t4 .c3-live b{font:800 24px/1.1 var(--k-disp)!important;font-variant-numeric:tabular-nums;min-width:0!important;color:var(--k-ink);letter-spacing:-.01em;background:none;border:0;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none}
html body.k.t4 .c3-live>span,html body.k.t4 .c3-live .c3-wx{font:500 15px/1.3 var(--k-body)!important;color:var(--k-ink2);background:none!important;border:0!important;padding:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0}
body.k .c3-live .c3-wx i{font-size:15px}

/* ---------- four facts: a line of figures, not four boxes ---------- */
body.k .c3-rail{margin:22px 28px 0!important}
body.k .c3-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0 22px!important}
body.k .c3-stat{border:0!important;border-left:2px solid var(--k-line)!important;border-radius:0!important;background:none!important;padding:0 0 0 14px!important;height:auto!important;min-height:76px;overflow:visible!important}
body.k .c3-sl{height:auto;min-height:26px;font:500 13px/1.3 var(--k-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--k-ink2)!important}
body.k .c3-sl a{font-size:12px;color:var(--k-ink3)}
body.k .c3-stat>b{font:800 22px/1.15 var(--k-disp)!important;letter-spacing:-.01em;margin-top:3px;color:var(--k-ink)}
body.k .c3-stat>small{font:400 12.5px/1.35 var(--k-body);color:var(--k-ink3);margin-top:2px}
body.k .c3-stat .c3-sel{height:30px!important;min-height:30px!important;border:1px solid var(--k-line);border-radius:99px;background-color:var(--k-paper);font:600 12.5px/1 var(--k-body);color:var(--k-ink)}
body.k .c3-bar{margin:5px 0 3px;height:4px;background:var(--k-field2)}
body.k .c3-xw{margin:16px 0 0;font:500 14px/1.3 var(--k-body);color:var(--k-ink2)}
body.k .c3-xw button{height:36px;border-radius:99px;border:1px solid var(--k-line);background:var(--k-paper);font:600 13.5px/1 var(--k-body);color:var(--k-ink)}

/* ---------- section list ---------- */
html.c3-wide body.k .c3-nav{top:64px!important;height:calc(100vh - 64px)!important;border-right:1px solid var(--k-line)!important;padding:20px 12px 24px!important}
html.c3-wide body.k .c3-nav button{height:40px!important;border-radius:99px!important;font:500 14.5px/1 var(--k-body)!important;padding:0 14px!important;color:var(--k-ink2)!important}
html.c3-wide body.k .c3-nav button.on{background:var(--k-ink)!important;color:var(--k-paper)!important;font-weight:650!important}
html.c3-wide body.k .c3-nav button.on i{color:var(--k-paper)!important}
body.k .c3-nav .c3-grp,body.k .c3-nav>span,body.k .c3-nav>p{font:600 12.5px/1 var(--k-body);color:var(--k-ink3);letter-spacing:0;text-transform:none}
html:not(.c3-wide) body.k .c3-nav button{border:0!important;background:var(--k-field)!important;border-radius:16px!important;height:52px;font:600 14.5px/1.2 var(--k-body)}

/* ---------- the guide itself ---------- */
html.c3-wide body.k .c3-panels{margin:26px 28px 0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important}
body.k .c3-pt{font:800 34px/1.1 var(--k-disp)!important;letter-spacing:-.02em!important;color:var(--k-ink)}
body.k .c3-pt>i,body.k .c3-pt>span:first-child{border-radius:14px}
body.k .c3 h3,body.k .c3 .c3-h{font-family:var(--k-disp);font-weight:800;letter-spacing:-.01em}
body.k .c3-sub>summary{font:800 21px/1.25 var(--k-disp)!important;letter-spacing:-.01em!important}
body.k .c3 table th{font:600 12.5px/1.3 var(--k-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--k-ink3)!important}
body.k .c3 table td,body.k .c3 table th{border-color:var(--k-line)!important}
body.k .c3 .nc-share,body.k .c3-pt .nc-share{border-radius:99px}
body.k .c3-fx{color:var(--k-leaf)}

/* ---------- place card: a quiet field; the two things the assistant keeps (Save, Add date) carry the red ---------- */
body.k .c3-place{border:0!important;background:var(--k-field)!important;border-radius:22px!important;padding:18px 20px 16px!important;box-shadow:none!important}
body.k .c3-place .pc-k{font:600 12.5px/1.3 var(--k-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--k-ink3)!important}
body.k .c3-place .pc-h>b{font:800 21px/1.2 var(--k-disp)!important;letter-spacing:-.01em;color:var(--k-ink)}
body.k .c3-place .pc-h p{color:var(--k-ink);font-size:15px}
body.k .c3-place .pc-h small{color:var(--k-ink3)}
body.k .c3-place .pc-c{color:var(--k-leaf)!important;font:600 12.5px/1.4 var(--k-body)}
body.k .c3-place .pc-rep{color:var(--k-ink3);font-size:12.5px}

/* production's floating pills: plain, below the bar */
body.k .fx-pill,body.k .who-pill>*{background:var(--k-paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--k-line);box-shadow:0 8px 24px -12px rgba(20,24,31,.3)}
@media(min-width:1180px){body.k:not(.kp-home) .who-pill{top:10px!important;left:max(250px,calc((100vw - var(--k-w))/2 + 240px));right:auto!important;z-index:96}body.k:not(.kp-home) .fx-pill{top:10px!important;left:max(476px,calc((100vw - var(--k-w))/2 + 466px));right:auto!important;z-index:96}body.k .fx-pill,body.k .who-pill>*{box-shadow:none}}

/* ---------- phones ---------- */
@media(max-width:1179px){
  body.k .c3-hero{margin:14px 14px 0!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:10px}
  body.k .c3-hero::before{grid-column:1;grid-row:1;min-height:0;height:104px;border-radius:22px}
  body.k .c3-hero .c3-who{grid-row:2;justify-self:stretch;display:flex}
  body.k .c3-hero .c3-who span{display:none!important}
  body.k .c3-hero .c3-who button{flex:1;padding:0 6px!important}
  body.k .c3-hin{grid-row:3}
  body.k .c3-hero h1{font-size:36px!important;gap:10px}
  body.k .c3-hero h1 .c3-flag{width:28px}
  html body.k.t4 .c3-live b{font-size:20px!important}
  body.k .c3-rail{margin:16px 14px 0!important}
  body.k .c3-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 16px!important}
  body.k .c3-wrap{padding:0 14px}
  body.k .c3-wrap>.c3-rail{margin:16px 0 0!important}
  body.k .c3-pt{font-size:27px!important}
  body.k .c3-stat>b{font-size:19px!important}
}

/* ---------- My base ---------- */
body.kp-mine main{max-width:1120px;margin:0 auto;padding:18px 20px 0}
body.kp-mine main article>header h1{font:800 48px/1.02 var(--k-disp);letter-spacing:-.028em;margin:10px 0 8px}
body.kp-mine main article>header p{font:400 16.5px/1.5 var(--k-body);color:var(--k-ink2);max-width:640px}
.k-my{margin-top:22px}
.k-mytabs{margin-bottom:18px}
.k-myempty{margin:0 0 16px;font:400 16px/1.5 var(--k-body);color:var(--k-ink2);max-width:640px}
.k-myc{padding:20px 24px 20px;border-radius:var(--k-rl);background:linear-gradient(180deg,var(--k-sky2),var(--k-paper) 60%);box-shadow:0 0 0 1px var(--k-line);margin:0 0 14px}
.k-myh{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.k-myh .ph{width:64px;height:64px;border-radius:18px;object-fit:cover}
body.k .k-myh h2{margin:0;display:flex;align-items:center;gap:9px;font-size:30px;line-height:1.1}
.k-myh h2 img{width:24px;height:17px;border-radius:3px}
.k-myh p{margin:3px 0 0;font:500 14px/1.4 var(--k-body);color:var(--k-ink2)}
.k-myd{text-align:right}
.k-myd b{display:block;font:800 36px/1 var(--k-disp);letter-spacing:-.02em;color:var(--k-redink);font-variant-numeric:tabular-nums}
.k-myd span{font:500 12.5px/1.3 var(--k-body);color:var(--k-ink2)}
.k-myl{margin:16px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font:500 15px/1.3 var(--k-body);color:var(--k-ink2)}
.k-myl .k-rsum{margin:0}
.k-myl .k-rsum small{display:inline;margin-left:6px}
.k-myl .k-tag{margin-left:auto}
.k-notes-all{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 26px}
.k-mya{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
body.kp-mine .k-mypl{margin:0 0 30px;padding:0 4px}
body.kp-mine .k-mypl>h2,body.kp-mine .k-mypl h2{font:800 20px/1.2 var(--k-disp)}
@media(max-width:820px){
  body.kp-mine main{padding:10px 14px 0}
  body.kp-mine main article>header h1{font-size:36px}
  .k-myc{padding:16px 16px 16px;border-radius:22px}
  body.k .k-myh h2{font-size:24px}
  .k-myh .ph{width:52px;height:52px;border-radius:15px}
  .k-myh{grid-template-columns:auto minmax(0,1fr)}
  .k-myd{grid-column:1 / -1;text-align:left;display:flex;align-items:baseline;gap:8px}
  .k-myd b{font-size:28px}
  .k-myd span{font-size:14px}
  .k-notes-all{grid-template-columns:minmax(0,1fr)}
  .k-myc .k-ruler{margin:12px -16px 0;padding:0 10px;overflow-x:auto;grid-auto-columns:44px;scrollbar-width:none}
  .k-myl .k-tag{margin-left:0}
}

/* phones, a section open: production's own sheet header (Back, title, Share, Close) must sit above the K bar, and the floating
   "Guide for" / "Prices in" pills get their own strip so they never cover the first line of text */
@media(max-width:1179px){
  html.c3-lock body.k header.nav{z-index:10}
  html.c3-lock body.k .c3-ph{background:var(--k-paper);border-bottom:1px solid var(--k-line)}
  html.c3-lock body.k .c3-ph b{font:800 20px/1.2 var(--k-disp);letter-spacing:-.01em}
  html.c3-lock body.k:has(.who-pill.on) .c3-panel.on .c3-pb,html.c3-lock body.k:has(.fx-pill.on) .c3-panel.on .c3-pb{padding-top:58px}
}

/* long amounts in the four facts (won, dong, rupiah): wrap after the dash, one size down, never cut */
html body.k.t4 .c3-stat>b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal}
html body.k.t4 .c3-stat>b.long,html body.k.t4 .c3-stat>b.k-long{font-size:18px!important}
html body.k.t4 .c3-stat{height:auto!important;min-width:0}
.k-cal span.mine.hol::after{background:var(--k-paper);box-shadow:inset 0 0 0 2px var(--k-red)}
/* L phones: body text 16px, tap targets 44px (production cards and panels) */
@media(max-width:820px){
  body.k .c3 .c3-pb>p,body.k .c3 .c3-pb li,body.k .c3 .c3-sb>p,body.k .c3 .c3-sb li,body.k .c3 .c3-sb td,body.k .c3 .pc-t,body.k .c3 .pc-h p,body.k .c3 .c3-aff p,body.k .c3-place .pc-t,body.k .c3-place .pc-h p,body.k .sv-note,body.k .sv-empty{font-size:16px;line-height:1.5}
  body.k .c3 .c3-note{font-size:14px}
  body.k .pc-b{min-height:44px}
  body.k .c3 .c3-sel,body.k .c3 select{min-height:44px}
  body.k .c3 .c3-loc,body.k .c3 .c3-also button,body.k .c3 .c3-also a,body.k .c3 .c3-chips button,body.k .c3 .nr-f button,body.k .c3 .c3-seg button,body.k .c3 [role=tablist] button{min-height:44px}
}
@media(max-width:820px){
  body.k .c3 button:not(.d):not(.k-link):not(.c3-x):not(.c3-back),body.k .c3 .k-datebtn{min-height:44px}
}
@media(max-width:820px){body.k .c3 .c3-stat select,body.k .c3 select.c3-sel{min-height:44px!important;height:44px}}
/* L phones: a shared link lands with its card or line clear of the floating "Guide for" pill */
@media(max-width:820px){body.k .c3 .nc-shared,body.k .c3 .c3-place{scroll-margin-top:118px}}
@media(max-width:820px){
  body.k a.pc-b,body.k button.pc-b,body.k .pc-b{height:auto;min-height:44px}
  body.k .c3 a.pc-go,body.k .c3-place a.pc-go{min-height:44px;display:inline-flex;align-items:center}
  body.k .c3 .c3-sb td,body.k .c3 .c3-pb td,body.k .c3 .c3-pb dd,body.k .c3 .c3-app p,body.k .c3 .c3-pp p,body.k .c3 .pc-emr,body.k .c3-place .pc-emr,body.k .c3 details>p,body.k .c3 .pc-ct,body.k .c3-place .pc-ct,body.k .c3 .sch-gn{font-size:16px;line-height:1.5}
}
@media(max-width:820px){body.k .c3 .c3-sb td,body.k .c3 td{font-size:16px}}
@media(max-width:820px){body.k .c3 table.c3-t2 td,body.k .c3 .c3-pb table td{font-size:16px!important}}
/* L round 2: emergency block first in Safety & health; calendar impact line; intro text sizes */
body.k .c3 .k-emg{margin:6px 0 22px}
body.k .c3 .k-emg h3{margin:0 0 10px;font:800 22px/1.2 var(--k-disp);letter-spacing:-.015em;color:var(--k-ink)}
body.k .c3 .k-emg .c3-place{margin-bottom:10px}
body.k .c3 .c3-clist li .k-imp{display:block;font:650 16px/1.4 var(--k-body);color:var(--k-ink)}
body.k .c3 .c3-clist li .k-imp+span{font-size:14.5px;color:var(--k-ink2)}
@media(max-width:820px){body.k .c3 .c3-note,body.k .c3 .c3-csub,body.k .c3 .c3-csrc{font-size:16px;line-height:1.5}}
@media(min-width:821px){body.k .c3 .k-emg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}body.k .c3 .k-emg h3{grid-column:1/-1}body.k .c3 .k-emg .c3-place{margin:0}}
/* emergency numbers keep production's own call colour (white text needs its dark red ground) */
body.k .c3-place.pc-em .pc-b[data-k="tel"],body.k .c3-place.pc-tel .pc-b[data-k="tel"]{background:#b3261e;border-color:#b3261e;color:#fff!important}
body.k .c3-place.pc-em .pc-b[data-k="tel"] svg,body.k .c3-place.pc-tel .pc-b[data-k="tel"] svg{color:#fff;stroke:#fff}
body.k .c3 .c3-clist li .k-imp{grid-column:2}
body.k .c3 .c3-clist li .k-imp+span{grid-column:2}
body.k .c3 .c3-clist li>a{grid-column:3;grid-row:1 / 3;align-self:center}
@media(max-width:520px){body.k .c3 .c3-clist li .k-imp,body.k .c3 .c3-clist li .k-imp+span{grid-column:1}body.k .c3 .c3-clist li>a{grid-column:2;grid-row:2 / 4;min-height:44px;display:inline-flex;align-items:center;padding:0 14px;font-size:14px}}
body.k .c3-place.pc-em .pc-b[data-k="tel"],body.k .c3-place.pc-tel .pc-b[data-k="tel"],body.k .c3 .c3-place.pc-em a.pc-b[data-k="tel"]{background:#b3261e!important;border-color:#b3261e!important;color:#fff!important}
/* L round 2, 8) dark screens: text contrast at least 4.5:1 */
html[data-mode="dark"] body.k .c3 .sch-warn,html[data-mode="dark"] body.k .c3 .sch-warn b,html[data-mode="dark"] body.k .c3 .sch-warn strong{color:#7fd6b0}
html[data-mode="dark"] body.k .c3 .sch-warn{border-color:#3d8f72}
html[data-mode="dark"] body.k .sv-tipctl button,html[data-mode="dark"] body.k .sv-tipctl{color:var(--k-ink2)}
/* L round 3: production's own hero is kept for search engines and screen readers only; the shared first screen replaces it on the page */
body.k.kp-city .c3-hero{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;display:block!important}
body.k.kp-city .c3-hero::before{display:none!important}
body.k.kp-city .k-strip{display:none!important}
html.c3-wide body.k.kp-city .c3-rail{grid-row:2}
html.c3-wide body.k.kp-city .c3-panels{grid-row:3}
/* the rail: only what is really yours */
body.k .k-rail .k-rk{margin:14px 0 0;padding:0;list-style:none;border-top:1px solid var(--k-line)}
body.k .k-rail .k-rk li{padding:10px 0;border-bottom:1px solid var(--k-line);font:500 14.5px/1.4 var(--k-body);color:var(--k-ink)}
body.k .k-rail .k-rk li small{display:block;font:600 12.5px/1.3 var(--k-body);color:var(--k-redink)}
/* My base: shortlist and saved guides */
.k-shl{margin:18px 0 22px;padding:18px 20px 16px;border-radius:24px;background:var(--k-field)}
.k-shl h2{margin:0;font:800 22px/1.2 var(--k-disp);letter-spacing:-.015em}
.k-shl ul{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--k-line)}
.k-shl li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 0;border-bottom:1px solid var(--k-line);font:500 16px/1.4 var(--k-body)}
.k-shl li img{width:44px;height:44px;border-radius:13px;object-fit:cover}
.k-shl li b{flex:1 1 160px;min-width:0;font:700 17px/1.3 var(--k-body)}
.k-shl li b small{display:block;font:400 14px/1.4 var(--k-body);color:var(--k-ink2)}
.k-shl li a.t{flex:1 1 200px;min-width:0;color:var(--k-ink);font-weight:600;text-underline-offset:3px}
.k-shl .k-btn,.k-shl .k-link{min-height:44px}
.k-shl .k-shla{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:8px}
/* L round 4: on a phone the two floating pills sit on the sheet's own header (a second row with the header's background), so no line of the body is ever under them */
html:not(.c3-wide) body.k:has(.who-pill.on) .c3-panel.on>.c3-ph,html:not(.c3-wide) body.k:has(.fx-pill.on) .c3-panel.on>.c3-ph{padding-bottom:58px}
html:not(.c3-wide).c3-lock body.k:has(.who-pill.on) .c3-panel.on .c3-pb,html:not(.c3-wide).c3-lock body.k:has(.fx-pill.on) .c3-panel.on .c3-pb{padding-top:10px}
/* the first screen has its own currency choice in the My base card: the floating one waits until a section is open */
html:not(.c3-wide) body.kp-city:not(:has(.c3-panel.on)) .fx-pill{display:none!important}
.k-rsh{margin:14px 0 0;padding:12px 14px;border-radius:var(--k-rm);background:var(--k-field);font:400 13.5px/1.5 var(--k-body);color:var(--k-ink2)}
.k-rsh b{color:var(--k-ink);font-weight:600}
.k-rsh a{display:inline-block;margin-top:4px;font-weight:600;color:var(--k-ink);text-decoration:underline;text-underline-offset:3px}

/* owner 2026-11-21: the place-card buttons are exactly the live site's tiles (c3.css). Share stays "Share"; a green "QR code" tag sits on its top edge, like "Shared with you" */
body.k .c3-place .pc-b[data-k="share"]{position:relative;overflow:visible}
body.k .c3-place .pc-b[data-k="share"]::before{content:"QR code";position:absolute;top:-9px;left:50%;transform:translateX(-50%);padding:3px 8px;border-radius:99px;background:#3a6f5c;color:#fff;font:600 10.5px/1.2 Inter,sans-serif;white-space:nowrap;pointer-events:none}
html[lang^="es"] body.k .c3-place .pc-b[data-k="share"]::before{content:"Código QR"}
body.k .c3-place .pc-r{padding-top:6px!important}
/* the tag stays inside the Share tile so it never touches the tile above */
body.k .c3-place .pc-b[data-k="share"]{justify-content:flex-end!important;padding-bottom:6px!important;gap:3px!important}
body.k .c3-place .pc-b[data-k="share"]::before{top:4px;padding:2px 7px;font-size:10px}
body.k .c3-place .pc-b[data-k="share"] svg{width:16px;height:16px}
body.k .c3-place .pc-r{padding-top:0!important}
html:not(.c3-wide) body.k .c3-place .pc-b[data-k="share"]::before{font-size:9.5px!important;padding:2px 5px!important;letter-spacing:0}
html[lang^="es"]:not(.c3-wide) body.k .c3-place .pc-b[data-k="share"]::before{content:"QR"}
html.c3-wide body.k .c3-place .pc-r{grid-template-columns:repeat(auto-fill,108px)!important}
@media(min-width:1180px){html.c3-wide body.k .c3-place .pc-r{grid-template-columns:repeat(auto-fill,100px)!important}}
/* ---------- round 13: production health data (pharmacies, kind of care, country notice) in the L look ---------- */
body.k .c3-spf{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:18px 0 12px}
body.k .c3-spf span{flex:0 0 100%;margin:0 0 2px;font:600 13px/1.3 var(--k-body);color:var(--k-ink2)}
body.k .c3-spf button,body.k .c3-sp button{height:38px;padding:0 14px;border-radius:99px;border:1px solid var(--k-line);background:var(--k-paper);font:500 14px/1 var(--k-body);color:var(--k-ink);cursor:pointer;white-space:nowrap}
body.k .c3-spf button:hover,body.k .c3-sp button:hover{border-color:var(--k-ink)}
body.k .c3-spf button.on,body.k .c3-sp button.on{background:var(--k-ink);border-color:var(--k-ink);color:var(--k-paper)}
body.k .pc-dept{margin:4px 0 0;font:400 14.5px/1.45 var(--k-body);color:var(--k-ink2)}
body.k .pc-sp{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}
body.k .pc-sp i{font:600 12.5px/1 var(--k-body);font-style:normal;padding:6px 10px;border-radius:99px;background:var(--k-field);color:var(--k-ink)}
body.k .c3-meds{margin:18px 0;padding:20px 22px;border:0;border-radius:22px;background:var(--k-paper);box-shadow:0 0 0 1px var(--k-line),inset 4px 0 0 var(--k-red,#d7263d)}
body.k .c3-meds h4{margin:0 0 8px;font:600 19px/1.25 var(--k-head,var(--k-body));color:var(--k-ink)}
body.k .c3-meds>p,body.k .c3-meds li{font:400 15.5px/1.55 var(--k-body);color:var(--k-ink)}
body.k .c3-meds .c3-mdn,body.k .c3-mds,body.k .c3-mds li{font-size:13.5px;color:var(--k-ink2)}
body.k .c3-meds .c3-mdd{font-size:14px;font-weight:600}
body.k .c3-meds sup a{font-size:11px;color:var(--k-ink2);padding:0 2px}
body.k .c3-mds summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600;color:var(--k-ink)}
body.k .c3-p .sp{font:400 13px/1.4 var(--k-body);color:var(--k-ink2)}
@media(max-width:820px){body.k .c3-spf,body.k .c3-sp{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:0 16px}body.k .c3-spf::-webkit-scrollbar,body.k .c3-sp::-webkit-scrollbar{display:none}body.k .c3-spf span{flex:0 0 auto;margin-right:4px}body.k .c3-spf button,body.k .c3-sp button{height:44px;flex:none}body.k .c3-meds{padding:16px 16px 16px 20px;border-radius:18px}}
body.k .c3-clist .k-fesb{min-height:44px;display:inline-flex;align-items:center}
html[data-mode="dark"] body.k .pc-b.on,html[data-mode="dark"] body.k .pc-b.on span{color:#8fd6c2}html[data-mode="dark"] body.k .pc-b.on{border-color:#3d9c85}
/* round 15: emergency cards as one line each (supervisor, retirees 390: the hospital section must start within 1,300px) */
body.k .c3 .k-emg .c3-place.k-emc{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;padding:12px 14px;margin-bottom:8px}
body.k .c3 .k-emg .k-emc>.pc-h{min-width:0;margin:0}
body.k .c3 .k-emg .k-emc>.pc-h .pc-k{font-size:12.5px}
body.k .c3 .k-emg .k-emc>.pc-h b{font-size:18px;line-height:1.2}
body.k .c3 .k-emg .k-emc>.pc-h p{margin:2px 0 0;font-size:14.5px;line-height:1.35}
body.k .c3 .k-emg .k-emc>.pc-h small:empty{display:none}
body.k .c3 .k-emg .k-emc>.pc-r{margin:0;display:block}
body.k .c3 .k-emg .k-emc>.pc-r .pc-b{min-height:48px;min-width:96px;width:auto;flex-direction:row;gap:6px;padding:0 14px;white-space:nowrap}
body.k .c3 .k-emg .k-emm{grid-column:1 / -1;min-width:0}
body.k .c3 .k-emg .k-emm>summary{list-style:none;display:inline-flex;align-items:center;min-height:44px;padding:0 2px;font:600 14px/1.2 var(--k-body);color:var(--k-ink2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body.k .c3 .k-emg .k-emm>summary::-webkit-details-marker{display:none}
body.k .c3 .k-emg .k-emm[open]>summary{margin-bottom:8px}
body.k .c3 .k-emg .c3-place.k-emc>.pc-r{display:block!important;grid-template-columns:none!important;margin:0!important;width:auto!important}
body.k .c3 .k-emg .c3-place.k-emc>.pc-r .pc-b{display:inline-flex!important;flex-direction:row!important;align-items:center;width:auto!important;min-width:96px;height:48px!important;min-height:48px!important;gap:6px;padding:0 14px!important;white-space:nowrap}
body.k .c3 .k-emg .c3-place.k-emc{margin:0 0 8px!important}
body.k .c3 .k-emg .k-pick{margin:0 0 10px;font:400 16px/1.45 var(--k-body);color:var(--k-ink)}
@media(min-width:821px){body.k .c3 .k-emg .k-pick{grid-column:1/-1}}
body.k .c3 .k-emg .c3-place.k-emc{padding:12px 14px 6px!important;gap:2px 12px}
body.k .c3 .k-emg .k-emm>summary{min-height:40px;font-size:13.5px}
body.k .c3 .k-emg .k-emm[open]{padding-bottom:8px}
body.k .c3 .k-emg .k-emc>.pc-h small{display:block;margin-top:2px;font-size:13.5px}
body.k .c3 .k-emg .c3-place.k-emc{margin:0 0 6px!important;padding:10px 14px 4px!important}
body.k .c3 .k-emg h3{margin-bottom:6px}body.k .c3 .k-emg .k-pick{margin-bottom:8px}
body.k .c3 .k-emg .k-emm .pc-k{display:block;margin:0 0 8px}
@media(max-width:820px){body.k .c3 .k-emg{margin-bottom:14px}}

/* round 27, GEO (2026-11-23): question-sentence headings, FAQ rows, guide links. Sizes measured, not guessed:
   GOV.UK accordion heading 21/25 bold at 390 and 24/30 at 1440 (short labels); question lists on Wise 14/21.7 and Lonely Planet 16/24.
   Ours were 21/26.25 weight 800 = three lines (103px) for a 64-character question at 390. */
body.k .c3-sub>summary{align-items:flex-start!important;text-wrap:pretty;overflow-wrap:break-word}
body.k .c3-sub>summary::after{margin-top:.1em}
@media(max-width:820px){body.k .c3-sub>summary{font-size:19px!important;line-height:1.3!important}}
body.k #c3faq>details.c3-sub>summary{font:700 17px/1.4 var(--k-body)!important;letter-spacing:0!important}
html.c3-wide body.k #c3faq>details.c3-sub>summary{font-size:18px!important;padding:14px 0!important}
body.k #c3faq>details.c3-sub>.c3-sb>p{max-width:70ch}
body.k .k-gl{margin:14px 0 4px}
body.k .k-gl a,body.k .k-gset a{display:flex;align-items:baseline;gap:10px;padding:13px 14px;border:1px solid var(--k-line);border-radius:14px;text-decoration:none!important;color:var(--k-ink)!important;font:600 15.5px/1.35 var(--k-body)}
body.k .k-gl a span{flex:none;font:700 11.5px/1 var(--k-body);letter-spacing:.05em;text-transform:uppercase;color:var(--k-redink)}
body.k .k-gl a::after,body.k .k-gset a::after{content:"→";flex:none;margin-left:auto;color:var(--k-ink3)}
body.k .k-gl a:hover,body.k .k-gset a:hover{border-color:var(--k-ink)}
body.k .k-gset{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--k-line)}
body.k .k-gset-h{font:800 19px/1.25 var(--k-disp);letter-spacing:-.01em;margin:0 0 12px;color:var(--k-ink)}
body.k .k-gset ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body.k .k-gset li{margin:0;padding:0}
body.k .k-gset li::before,body.k .k-gset li::marker{content:none}
@media(min-width:900px){body.k .k-gset ul{grid-template-columns:1fr 1fr}}
/* FAQ on phones: thirteen boxed rows were 13 x 88px; one ruled list instead (72px a row), the answer text stays in the document */
html:not(.c3-wide) body.k #c3faq>details.c3-sub{border:0!important;border-top:1px solid var(--k-line)!important;border-radius:0!important;margin:0!important;background:none!important}
html:not(.c3-wide) body.k #c3faq>details.c3-sub>summary{padding:14px 2px!important}
html:not(.c3-wide) body.k #c3faq>details.c3-sub>.c3-sb{padding:0 2px 16px!important}
html:not(.c3-wide) body.k #c3faq>details.c3-sub:last-of-type{border-bottom:1px solid var(--k-line)!important}
/* guide link line: label on its own row, then the title and the arrow */
body.k .k-gl a{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:6px}
body.k .k-gl a span{grid-column:1/-1}
body.k .k-gset ul,body.k .k-gset li{margin:0!important;padding:0!important;list-style:none!important}
body.k .k-gset li{display:block}
body.k .k-gset a,body.k .k-gl a{margin:0!important}
/* guide article: the way back to the city and the city's other guides, above the author box */
body.k .k-gback{margin:34px 0 26px}
body.k .k-gback .k-gl{margin:0 0 22px}
body.k article.post a.cat{text-decoration:none}
/* round 28 (2026-11-23 night): production's own guide link lines; the chips row of the Safety tab stays inside the tab at 601-820px */
body.k .k-gmore{margin:14px 0 6px;padding:12px 14px;border:1px solid var(--k-line);border-radius:14px;font:500 15.5px/1.6 var(--k-body);color:var(--k-ink2)}
body.k .k-gmore a{color:var(--k-ink)!important;font-weight:600;text-underline-offset:3px}
@media(min-width:601px) and (max-width:820px){body.k .c3-spf,body.k .c3-sp{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}}
/* round 29: the answer first, its sources and conditions after it in small grey type (.c3-src; production writes the paragraph).
   Measured small type: production note / by-line 12px/18.6 #6e6e6a, medicine disclaimer 12.5/18.75; L by-line 12/18.6 #48515e. */
body.k .c3-src{margin:-2px 0 12px!important;font:400 13.5px/1.5 var(--k-body)!important;color:var(--k-ink3)!important}
body.k .c3-src .c3-fx,body.k .c3-src [class*="-fx"]{font-weight:500!important}
html.c3-wide body.k .c3-src{font-size:13px!important;max-width:78ch}
/* round 30 (owner 2026-11-24: the top cells must not cut their words): the head row of a cell (label + source link / passport /
   currency) wraps instead of pushing its link into the next cell (ES "Seguridad para mujeres" + "fuente": 49px out at 360,
   34 at 390, 19 at 1440); the cell grows, both cells of a row stay the same height, nothing is shortened or ellipsed */
body.k .c3-stat .c3-sl{height:auto!important;min-height:26px;flex-wrap:wrap!important;row-gap:4px;column-gap:8px;align-items:center}
body.k .c3-stat .c3-sl>span:first-child{min-width:0}
body.k .c3-stat .c3-sl>a,body.k .c3-stat .c3-sl>select,body.k .c3-stat .c3-sl>.c3-ppsel{flex:0 0 auto;max-width:100%}
body.k .c3-stat .c3-sl .ncpp,body.k .c3-stat .c3-sl .ncpp-b{max-width:100%}
body.k .c3-stat>small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body.k .c3-stat .c3-sl>span:first-child{white-space:normal!important;overflow-wrap:break-word}
body.k .c3-stat .c3-sl .ncpp-b{height:auto!important;min-height:30px;padding-top:5px;padding-bottom:5px;text-align:left}
body.k .c3-stat .c3-sl .ncpp-b span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
/* round 31: "Get a Grab from here" (airport table) + the step "Where are you going?". The window itself is production's Ride window;
   new: the button and one small heading. Button = K's own ink button at the phone tap height (46px), the Ride icon of the place cards. */
body.k .k-grabw{display:block;margin-top:12px}
body.k .k-grabb{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border:0;border-radius:99px;background:var(--k-ink);color:var(--k-paper);font:650 15px/1.2 var(--k-body);cursor:pointer;text-align:center}
html:not(.c3-wide) body.k .k-grabb{width:100%}
html.c3-wide body.k .k-grabb{min-height:40px;font-size:14px;padding:0 14px}
.k-go .k-go-h{margin:16px 2px 2px;font:700 13px/1.3 Inter,sans-serif;color:#5d5d5d}
html[data-mode="dark"] .k-go .k-go-h{color:#a9a9a6}
.k-go button.rd-o{font-family:inherit}
body.k .k-grabb{height:46px;box-sizing:border-box}html.c3-wide body.k .k-grabb{height:40px}
.k-go .rd-ad em{font-style:normal;font-size:12px;color:#666}html[data-mode="dark"] .k-go .rd-ad em{color:#a9a9a6}
.k-go .k-go-0{margin:6px 2px 10px}

/* round 32 (2026-11-24, GEO 100): every answer ends with one source line, 26 on the page.
   "Source: <a>body · document</a> · Checked Nov 24, 2026"  /  .est = "Our estimate / Reported: …" (no official figure exists).
   One quiet line: smaller than the answer (16px), grey, the link is the only darker thing; .est carries a dotted rule on its left so the
   two kinds can be told apart without reading. Long names wrap inside the column, nothing is cut. */
body.k .c3-src{margin:0 0 14px!important;font:400 13px/1.45 var(--k-body)!important;color:var(--k-ink3)!important;overflow-wrap:anywhere;text-wrap:pretty}
body.k p+.c3-src{margin-top:-4px!important}
body.k .c3-src a{color:var(--k-ink2)!important;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--k-ink3)}
body.k .c3-src a:hover{text-decoration-color:currentColor}
body.k .c3-src.est{padding-left:9px;border-left:2px dotted var(--k-ink3)}
html.c3-wide body.k .c3-src{font-size:13px!important;max-width:78ch}
/* round 33 (2026-11-24, branch build geo-bkk-100): production's own lines in the mock's type.
   Real source lines carry up to three links and run 5–9 lines at 360: the underline is thinned so the block reads as one grey note. */
body.k .c3-src a{text-decoration-color:color-mix(in srgb,var(--k-ink3) 55%,transparent)}
body.k .c3-src.est b{font-weight:600;color:var(--k-ink2)}
body.k .c3-src time{white-space:nowrap}
body.k .c3-stat .c3-sl>.ncpp,body.k .c3-stat .c3-sl>.c3-ppsel{margin-right:0!important}   /* production v75 pulls it 4px out of the cell */
body.k .c3-stat .c3-sx,body.k .c3-stat .c3-sxd{font:400 12.5px/1.35 var(--k-body);color:var(--k-ink3)}
body.k .c3-stat .c3-sx a{color:inherit}
body.k .c3-stat b .c3-cond{display:block;margin-top:2px;font:400 12.5px/1.35 var(--k-body);letter-spacing:0;color:var(--k-ink3)}
body.k .post .c3-src{margin:-6px 0 16px!important}
body.k .backcity{margin:28px 0 0;font:400 15px/1.5 var(--k-body);color:var(--k-ink2)}
body.k .backcity a{color:var(--k-ink);font-weight:600;text-underline-offset:3px}
body.k .c3-stat .c3-sl>span:first-child{flex:0 1 auto!important}   /* production v75 set flex:none + nowrap: the ES label stuck 6px out at 360 */
/* round 34: #id addresses land below the L bars (measured: sheet head 111px on phones, header 64px wide) */
body.k .c3-sub[id],body.k .c3-hg[id]{scroll-margin-top:123px}
html.c3-wide body.k .c3-sub[id],html.c3-wide body.k .c3-hg[id]{scroll-margin-top:76px}
.c3-place .pc-nn,body.k .pc-nn{display:block;margin-top:6px;font-size:12.5px;line-height:1.4;color:var(--k-ink3)}
.c3-place .pc-phsv{aspect-ratio:auto;background:none;border-radius:0;overflow:visible}
.c3-place .pc-phsv iframe{width:100%;aspect-ratio:16/9;border:0;display:block;border-radius:12px;pointer-events:none;background:#ecebe6}
.c3-place .pc-phsv figcaption{position:static;padding:6px 0 0;border-radius:0;background:none;color:var(--k-ink3);font:400 12.5px/1.4 var(--k-body)}
