@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Prompt:wght@500;600;700&display=swap");
[hidden]{display:none!important}
:root{
  --display:"Prompt",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Thai",sans-serif;
  --cream:#FFF8E7; --cream2:#FCEFD2; --gold:#C9A227; --gold2:#E7C65A; --red:#8B1E1E; --red2:#A8322A;
  --ink:#2B1B12; --muted:#6E5A48; --line:#E6D3A6; --ok:#1E7B3C; --warn:#C2610C; --bad:#A11B1B; --card:#FFFDF6;
  --r:16px;
}
*{box-sizing:border-box}
html,body{-webkit-text-size-adjust:100%;text-size-adjust:100%;margin:0;background:var(--cream);color:var(--ink);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Thai",sans-serif}
a{color:var(--red)}
button,input,select,textarea{font:inherit}
.top{position:sticky;top:0;z-index:20;background:var(--red);color:#fff;box-shadow:0 2px 8px #0003}
/* Lai Thai band: repeating gold kanok-style motif */
.laithai{height:12px;background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 12 Q6 0 12 12 Q18 0 24 12' fill='none' stroke='%23E7C65A' stroke-width='2'/%3E%3Ccircle cx='12' cy='5' r='1.6' fill='%23E7C65A'/%3E%3C/svg%3E") repeat-x, #6E1414}
.bar{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.logo{background:var(--gold2);color:var(--red);font-weight:900;border-radius:10px;padding:6px 8px;letter-spacing:1px;border:2px solid #fff4}
.brand{min-width:0}
.brand-txt{display:flex;flex-direction:column;line-height:1.15;min-width:0;font-family:var(--display);font-weight:600}
.brand-txt small{opacity:.85;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-actions{display:flex;gap:6px;flex:none}
.chip{border:1px solid #fff6;background:transparent;color:#fff;border-radius:999px;padding:6px 14px;min-height:36px;cursor:pointer;font-weight:600}
.chip.gold{background:var(--gold2);color:var(--red);font-weight:700;border-color:var(--gold2)}
main{padding:14px 14px 96px;max-width:760px;margin:0 auto;outline:none}
h1{font-size:20px;line-height:1.2;margin:6px 0 10px;color:var(--red);font-family:var(--display);font-weight:600}
h2{font-size:16px;margin:20px 0 8px;color:var(--red);font-family:var(--display);font-weight:600}
h3{font-size:14px;margin:12px 0 6px}
p{margin:6px 0}
.muted{color:var(--muted);font-size:13px}
.small{font-size:12.5px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:12px;margin:10px 0;box-shadow:0 1px 0 #0000000a}
.card.frame{border:2px solid var(--gold);position:relative}
.card.frame:before{content:"";position:absolute;inset:4px;border:1px dashed var(--gold2);border-radius:12px;pointer-events:none}
.banner{background:#FDEFC8;border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:6px 0;font-size:13px;line-height:1.4}
.banner.warn{background:#FFE9DA;border-color:#F3C9A6}
.grid6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:112px;background:var(--card);border:1.5px solid var(--gold);border-radius:18px;padding:12px 6px;text-align:center;text-decoration:none;color:var(--ink);font-family:var(--display);font-weight:600;font-size:14px;line-height:1.2;box-shadow:0 3px 0 var(--gold2);transition:transform .1s}
.tile:active{transform:translateY(2px);box-shadow:0 1px 0 var(--gold2)}
.tile span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#FBE7B5;font-size:21px;margin-bottom:6px}
.tile small{display:block;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:400;color:var(--muted);font-size:12px;margin-top:2px}
.hero{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23F2C14E' stroke-width='1' opacity='.2'%3E%3Cpath d='M16 3C21 9 21 14 16 19C11 14 11 9 16 3z'/%3E%3Cpath d='M16 19v6M0 28l4-4 4 4-4 4zM24 28l4-4 4 4-4 4z'/%3E%3C/g%3E%3C/svg%3E"),
  var(--red);color:#fff;border-radius:20px;padding:18px 16px;margin:4px 0 12px;position:relative;overflow:hidden;border-bottom:4px solid var(--gold2)}
.hero h1{color:#FFF8E7;margin:0 0 6px;font-size:23px}
.hero p{color:#F6E7D0}
.hero .th{font-size:13px;color:#F2C14E;opacity:1;font-weight:600}
.hero svg{position:absolute;right:-6px;bottom:-8px;width:120px;opacity:.95}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:12px;padding:8px 14px;background:var(--red);color:#fff;font-weight:600;cursor:pointer;text-decoration:none}
.btn.gold{background:var(--gold2);color:#2b1b12}.btn.ghost{background:var(--card);color:var(--red);border:1.5px solid var(--red)}
.btn.small{min-height:36px;padding:6px 12px;font-size:13px;border-radius:10px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.btn:disabled{opacity:.5}
label{display:block;font-size:13px;font-weight:600;margin:8px 0 4px}
input,select,textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}
textarea{min-height:70px}
.pills{display:flex;gap:8px;overflow-x:auto;padding:2px 24px 6px 0;margin:8px 0;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.pills::-webkit-scrollbar{display:none}
.pill{white-space:nowrap;border:1px solid var(--gold);border-radius:999px;padding:6px 13px;min-height:34px;background:var(--card);cursor:pointer;font-size:13px}
.pill.on{background:var(--red);color:#fff;border-color:var(--red)}
.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;border:1.5px solid}
.b-cert{color:var(--ok);border-color:var(--ok);background:#E8F6EC}
.b-muslim{color:#1D5C8F;border-color:#1D5C8F;background:#E6F0FA}
.b-check{color:var(--warn);border-color:var(--warn);background:#FFF1E2}
.b-na{color:var(--muted);border-color:var(--line)}
.place h3{margin:0 0 2px}
.place .meta{font-size:12.5px;color:var(--muted)}
.tabs{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-top:3px solid var(--gold);z-index:30;padding-bottom:env(safe-area-inset-bottom)}
.tabs{background:var(--card)}
.tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;padding:6px 0;color:var(--muted);text-decoration:none;font-size:12px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tabs a span{display:flex;align-items:center;justify-content:center;width:44px;height:28px;border-radius:14px;font-size:16px}.tabs a i{font-style:normal}
.tabs a.on{color:var(--red);font-weight:700}
.tabs a.on span{background:#FBE7B5}
.modal{position:fixed;inset:0;background:#0007;z-index:50;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--cream);width:100%;max-width:560px;max-height:88vh;overflow:auto;border-radius:20px 20px 0 0;padding:16px;position:relative;border-top:4px solid var(--gold)}
.sheet .x{position:absolute;right:10px;top:8px;border:0;background:none;font-size:17px;cursor:pointer}
.toast{position:fixed;bottom:84px;left:50%;transform:translateX(-50%);background:#2B1B12;color:#fff;padding:10px 16px;border-radius:12px;z-index:60;max-width:90%}
.quota{display:flex;gap:6px;flex-wrap:wrap;font-size:12px}
.quota span{background:#fff;border:1px solid var(--line);border-radius:8px;padding:2px 8px}
.day{border-left:4px solid var(--gold);padding-left:10px;margin:12px 0}
.item{display:flex;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line)}
.item .t{font-weight:700;min-width:48px;color:var(--red)}
.status{font-weight:800;border-radius:8px;padding:2px 8px;font-size:12.5px}
.s-jam{background:#FBE0E0;color:var(--bad)}.s-slow{background:#FFF0D6;color:var(--warn)}.s-clear{background:#E4F5E9;color:var(--ok)}.s-none{background:#eee;color:#666}
table{width:100%;border-collapse:collapse;font-size:13px}td,th{border-bottom:1px solid var(--line);padding:6px;text-align:left;vertical-align:top}
.progress{height:10px;background:#eee;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--red))}
.check{display:flex;gap:8px;align-items:flex-start;padding:6px 0}.check input{width:auto;margin-top:4px}
.thai{font-size:17px}
.result{white-space:pre-wrap}
.v-avoid{color:var(--bad);font-weight:800}.v-caution{color:var(--warn);font-weight:800}.v-looks_ok{color:var(--ok);font-weight:800}
.lock{opacity:.7}
.foot{font-size:12px;color:var(--muted);text-align:center;margin:20px 0}
@media (min-width:640px){.grid6{grid-template-columns:repeat(6,1fr)}}
.seg{display:flex;gap:0;margin:8px 0;border:2px solid var(--red);border-radius:12px;overflow:hidden}
.seg button{flex:1;min-height:44px;border:0;background:var(--card);color:var(--red);padding:8px 4px;font-weight:700;cursor:pointer;font-size:12.5px;line-height:1.2}
.seg button+button{border-left:1px solid var(--red)}
.seg button.on{background:var(--red);color:#fff}
details.card summary{cursor:pointer;font-size:14px;color:var(--red)}
details.card .card{margin:8px 0;box-shadow:none}
.sub{border-left:3px solid #ccc;padding-left:8px;margin:6px 0}.sub .card{margin:4px 0;box-shadow:none}
.nl{margin:2px 0 4px 16px;padding:0}.nl li{margin:2px 0}

/* --- review fixes 1 Dec 2026 --- */
.card.has-gear { position: relative; padding-right: 46px; }
.gear { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d9c9a3; background: #fff; font-size: 14px; line-height: 1; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.gear:hover { background: #fdf3dd; }
select.compact { width: auto; min-width: 140px; max-width: 100%; padding: 6px 10px; margin: 0; }
details.mini { font-size: 12.5px; color: #6b5b4b; margin: 2px 0 8px; }
details.mini summary { cursor: pointer; list-style: none; }
details.mini summary::-webkit-details-marker { display: none; }
.pe-tools { float: right; display: inline-flex; gap: 4px; }
.pe-tools button { border: 1px solid #d9c9a3; background: #fff; border-radius: 6px; padding: 1px 7px; font-size: 12px; cursor: pointer; line-height: 1.6; }
.pe-tr { font-size: 12px; color: #6b5b4b; margin: 6px 0 2px; padding-left: 4px; border-left: 2px dashed #c9a24a; }
/* ===== New navigation (Figma: Main navigation + Menu drawer) — UI only ===== */
.tabs.tabs5{grid-template-columns:repeat(5,1fr);align-items:end;border-top:1px solid #0000001a;box-shadow:0 -4px 16px #0000000f;overflow:visible}
.tabs.tabs5 a{min-height:64px;gap:3px;font-size:11.5px;font-weight:600;overflow:visible}
.tabs.tabs5 a span{width:48px;height:30px;border-radius:15px;font-size:0}
.tabs.tabs5 a svg{display:block}
.tabs.tabs5 a.on{color:var(--red)}
.tabs.tabs5 a.on span{background:#FBE7B5}
.tabs.tabs5 a.centre span{width:58px;height:58px;border-radius:50%;margin-top:-26px;background:var(--red);color:#fff;border:4px solid var(--card);box-shadow:0 6px 16px #8b1e1e40}
.tabs.tabs5 a.centre svg{width:26px;height:26px}
.tabs.tabs5 a.centre.on span{background:var(--red2);color:var(--gold2)}
.chip.icon{display:inline-flex;align-items:center;justify-content:center;padding:0;width:36px;min-width:36px}
.chip.icon svg{width:20px;height:20px}
.nbn-menu{position:fixed;inset:0;z-index:60;visibility:hidden}
.nbn-menu.open{visibility:visible}
.nbn-menu-bg{position:absolute;inset:0;background:#0006;opacity:0;transition:opacity .2s}
.nbn-menu.open .nbn-menu-bg{opacity:1}
.nbn-menu-panel{position:absolute;top:0;right:0;bottom:0;width:min(86vw,360px);background:var(--cream);overflow:auto;padding:calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 24px);transform:translateX(100%);transition:transform .22s ease;box-shadow:-8px 0 24px #0003}
.nbn-menu.open .nbn-menu-panel{transform:none}
.nbn-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.nbn-menu-head b{font-size:17px;color:var(--red)}
.nbn-menu-x{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer}
.nbn-menu h3{font-size:12.5px;letter-spacing:.3px;text-transform:uppercase;color:var(--muted);margin:16px 0 8px}
.nbn-chips{display:flex;flex-wrap:wrap;gap:8px}
.nbn-chips a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border-radius:999px;background:var(--card);border:1px solid var(--gold);color:var(--ink);text-decoration:none;font-size:13px}
.nbn-chips a:active{background:#FBE7B5}
@media (prefers-reduced-motion:reduce){.nbn-menu-panel,.nbn-menu-bg{transition:none}}
@media (max-width:420px){.bar{padding:8px 10px;gap:6px}.brand{gap:8px}.top-actions{gap:5px}.top-actions .chip{padding:6px 11px}.chip.icon{padding:0;width:36px}#meBtn{max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-txt b{font-size:14px;line-height:1.1}.brand-txt small{display:none}}
/* ===== Figma theme (NBN Travel 2026): white + navy + yellow, Inter — overrides the old red/gold look. UI only. ===== */
:root{
  --display:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Thai",sans-serif;
  --cream:#FFFFFF; --cream2:#F4F5F8; --gold:#E3E6EE; --gold2:#FFE378; --red:#14254B; --red2:#0A2A66;
  --ink:#091224; --muted:#52617E; --line:#E3E6EE; --card:#FFFFFF; --soft:#F4F5F8; --yel:#FFE378; --yel2:#FFF4C7;
}
html,body{background:#fff;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Thai",sans-serif}
.top{background:#fff;color:var(--red);box-shadow:none;border-bottom:1px solid var(--line)}
.laithai{display:none}
.brand{color:var(--red)}
.logo{background:var(--red);color:#fff;border:0;border-radius:10px}
.brand-txt{font-weight:700}
.brand-txt small{color:var(--muted);opacity:1}
.chip{border:1px solid var(--line);background:var(--soft);color:var(--red)}
.chip.gold{background:var(--yel);color:var(--red);border-color:var(--yel)}
h1,h2{color:var(--red);font-weight:700;letter-spacing:-.2px}
.card{border:1px solid var(--line);border-radius:18px;box-shadow:none}
.card.frame{border:1px solid var(--line)}
.card.frame:before{display:none}
.banner{background:var(--soft);border-color:var(--line)}
.banner.warn{background:var(--yel2);border-color:#F3E3A0}
.tile{border:1px solid var(--line);border-radius:18px;box-shadow:none;font-weight:600;color:var(--red)}
.tile:active{box-shadow:none;background:var(--soft)}
.tile span{background:var(--soft)}
.hero{background:var(--red);border-bottom:0;border-radius:22px}
.hero h1{color:#fff}
.hero p{color:#DDE3F0}
.hero .th{color:var(--yel)}
.btn{background:var(--red);border-radius:14px}
.btn.gold{background:var(--yel);color:var(--red)}
.btn.ghost{color:var(--red);border:1px solid var(--line);background:var(--soft)}
:focus-visible{outline:3px solid #8FA3CC}
input,select,textarea{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.pill{border:1px solid var(--line);background:var(--soft);color:var(--red);font-weight:500}
.pill.on{background:var(--red);color:#fff;border-color:var(--red)}
.sheet{background:#fff;border-top:0}
.day{border-left-color:var(--yel)}
.progress{background:var(--soft)}.progress i{background:#C9A227}
/* bottom nav — Figma "Main navigation": floating white bar, navy centre button with yellow ring */
.tabs.tabs5{left:12px;right:12px;bottom:max(8px,calc(env(safe-area-inset-bottom) - 20px));padding-bottom:0;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 8px 24px #14254b1f}
.tabs.tabs5 a{color:var(--red);font-weight:500;min-height:62px}
.tabs.tabs5 a.on{font-weight:700;color:var(--red)}
.tabs.tabs5 a span{width:34px;height:34px;border-radius:50%}
.tabs.tabs5 a.on span{background:var(--yel)}
.tabs.tabs5 a.centre span{width:56px;height:56px;margin:-26px 0 4px;background:var(--red);color:#fff;border:3px solid var(--yel);box-shadow:0 6px 16px #14254b40}
.tabs.tabs5 a.centre.on span{background:var(--red);color:#fff}
.tabs.tabs5 a.centre.on i{box-shadow:inset 0 -3px 0 #C9A227}
main{padding-bottom:110px}
.nbn-menu-panel{background:#fff}
.nbn-menu-head b{color:var(--red)}
.nbn-menu-x{background:var(--soft);color:var(--red)}
.nbn-chips a{background:var(--soft);border:1px solid var(--line);color:var(--red);font-weight:500}
.nbn-chips a:active{background:var(--yel)}
/* Explore front (Figma country home) */
.ex{margin:0 0 8px}
.ex-sub{color:var(--muted);font-size:14px;margin:4px 0 0}
.ex-title{font-size:23px;margin:2px 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.ex-search{display:flex;align-items:center;gap:10px;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:0 18px;height:48px;color:var(--muted);margin:14px 0 6px}
.ex-search input{border:0;background:transparent;padding:0;height:100%;font-size:15px;color:var(--ink);outline:none}
.ex-hrow{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.ex-hrow a{color:#966E0A;font-weight:600;font-size:13px;text-decoration:none;white-space:nowrap}
.ex-h{font-size:17px;margin:22px 0 10px}
.ex-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 4px 0;margin-right:-14px;scrollbar-width:none}
.ex-row::-webkit-scrollbar{display:none}
.ex-card{flex:0 0 140px;scroll-snap-align:start;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:7px;text-decoration:none;color:var(--ink)}
.ex-card img{display:block;width:100%;height:122px;object-fit:cover;border-radius:12px;margin-bottom:8px}
.ex-card b{display:block;font-size:14px;padding:0 2px}
.ex-card small{display:block;color:var(--muted);font-size:12.5px;padding:0 2px 4px}
.ex-ctry img{height:88px}
.ex-ctry.on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
.ex-list{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:8px 0;text-decoration:none;color:var(--ink)}
.ex-list b{display:block}.ex-list small{color:var(--muted);font-size:12.5px}.ex-list i{font-style:normal;font-size:19px;color:var(--muted)}
.ex-towns summary{cursor:pointer;color:var(--red);font-weight:600;padding:8px 0;min-height:44px;display:flex;align-items:center}
.ex-g{font-size:13px;color:var(--muted);margin:14px 0 6px}
.ex-town{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.ex-town span{flex:1;min-width:0}.ex-town b{display:block}.ex-town small{color:var(--muted);font-size:12.5px}
.ex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.ex-pop{display:flex;flex-direction:column;justify-content:flex-end;min-height:170px;border-radius:18px;padding:12px;background-size:cover;background-position:center;color:#fff;text-decoration:none}
.ex-pop b{font-size:16px}.ex-pop small{font-size:12px;opacity:.9}
body.is-home #view > .hero{display:none}
/* Explore front (Figma NBN Travel · Explore front) */
body.is-front main#view{padding-top:0}
.exf-hero{margin:0 -14px;padding:28px 20px 56px;min-height:210px;background-size:cover;background-position:center;border-radius:0 0 28px 28px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end}
.exf-hi{margin:0 0 18px;font-weight:600;font-size:14px}
.exf-sub{margin:0;font-size:14px;opacity:.9}
.exf-title{color:#fff;font-size:23px;margin:2px 0 0}
.exf-search{position:relative;margin:-28px 6px 4px;background:#fff;box-shadow:0 8px 24px #14254b1f}
.exf-pop{flex:0 0 280px;min-height:180px;scroll-snap-align:start}
.exf-pop b{font-size:21px}
.exf-rec{flex:0 0 128px}.exf-rec img{height:100px}
.ex-search input{width:auto;flex:1 1 auto;min-width:0}
.ex-nores{margin:6px 4px 0}
.exp-hero{margin:0 -14px 12px;min-height:230px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center;border-radius:0 0 24px 24px;color:#fff}
.exp-hero h1{color:#fff;font-size:25px;margin:0}.exp-hero p{margin:2px 0 0;opacity:.9}
.exp-acts{display:grid;gap:8px;margin:12px 0}
body.is-place main#view{padding-top:0}
/* Barang trip (Figma 409:6494) */
.shoplist{border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:12px 0}
.shoprow{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.shoprow:last-child{border-bottom:0}.shoprow span{flex:1;min-width:0;font-weight:500}
.shoprow .btn{min-width:72px}
/* Makluman terkini (Figma 491:5602) */
.exn{display:grid;gap:8px}
.exn-row{display:flex;align-items:center;gap:10px;padding:14px 16px 14px 14px;border:1px solid var(--line);border-left:4px solid #C9A227;border-radius:14px;text-decoration:none;color:var(--ink);background:#fff}
.exn-row span{flex:1;min-width:0;font-weight:500}.exn-row b{color:#966E0A;font-size:13px;white-space:nowrap}
/* Inner page title with back button */
.nbn-title{display:flex;align-items:center;gap:12px;margin:6px 0 10px}
.nbn-title h1{margin:0}
.nbn-back{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:0;background:var(--soft);color:var(--red);cursor:pointer}
.logo-img{display:block;width:40px;height:40px;border-radius:11px;flex:none}
.gps-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:6px 0 10px}
.gps-btn{display:inline-flex;align-items:center;gap:8px}
/* Shop <-> Explore toggle (Figma 194:244) */
.nbn-switch{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;height:32px;min-width:104px;padding:0 6px 0 4px;border-radius:999px;background:#14254B;color:#fff!important;font:600 12px/1 Inter,system-ui,sans-serif;text-decoration:none!important;border:1px solid #ffffff40;box-shadow:0 6px 16px #14254b33;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.nbn-switch i{width:24px;height:24px;border-radius:50%;background:#FFE378;flex:none;box-shadow:0 2px 6px #0003;transition:transform .34s cubic-bezier(.4,0,.2,1);will-change:transform}.nbn-switch span{flex:1;text-align:center;transition:opacity .2s ease}
.nbn-switch.rev{flex-direction:row-reverse;padding:0 4px 0 6px}
.nbn-switch.go i{transform:translateX(var(--d,52px))}.nbn-switch.go span{opacity:0}
.nbn-fade{position:fixed;inset:0;z-index:100001;background:#fff;opacity:0;pointer-events:none;transition:opacity .28s ease}.nbn-fade.on{opacity:1}
.nbn-switch:focus-visible{outline:3px solid #FFE378;outline-offset:2px}
.exf-hero{position:relative}
.exf-hero .nbn-switch{position:absolute;top:16px;right:16px}
/* every button: text centred */
.btn,a.btn,button.btn,.btn.gold,.btn.ghost{justify-content:center;text-align:center}

/* language only in Menu > Account (Figma) */
#langBtn{display:none!important}
.nbn-acct-l{margin:0 0 6px;font-size:12.5px;color:#455374}
.nbn-acct .nbn-chips button{font:600 12.5px Inter,system-ui,sans-serif;height:36px;padding:0 14px;border-radius:999px;border:1px solid #E3E6EE;background:#fff;color:#142549;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.nbn-acct .nbn-chips button.on{background:#142549;border-color:#142549;color:#fff}

/* Barang trip (Figma 409:6494): whole row opens the Shopee search */
.shoplist{display:flex;flex-direction:column;gap:12px}
a.shoprow{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 12px 8px 12px;background:#fff;border:1px solid #E3E6EE;border-radius:12px;color:#142549;text-decoration:none;font:500 13px/1.35 Inter,system-ui,sans-serif}
a.shoprow .shop-go{flex:none;font-style:normal;font-weight:700;font-size:12.5px;height:40px;min-width:70px;padding:0 14px;border-radius:999px;background:#F4F5F8;display:inline-flex;align-items:center;justify-content:center}
.shoplist a.shoprow:last-child{border-bottom:1px solid #E3E6EE}
.shoplist{border:0!important;border-radius:0!important;overflow:visible!important}
a.shoprow .shop-go{background:#F4F5F8!important;color:#142549!important}
/* Explore front 108:386: quick links small and clear (links only, not live updates) */
.exn .exn-row{min-height:44px!important;padding:8px 12px!important;font-size:12.5px!important;border-radius:12px!important}
.exn .exn-row b{font-size:12px!important;white-space:nowrap}
/* Country hub (Figma 520:5602 / 523:5602 / 523:5664) */
.hub{display:flex;flex-direction:column;gap:12px;font-family:Inter,system-ui,sans-serif;color:#142549}
.hub-sub{margin:0;color:#455374;font-size:12.5px}
.hub-h{margin:8px 0 0;font-size:16px;font-weight:700;color:#142549}
.hub-main{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hub-card{display:flex;flex-direction:column;gap:4px;padding:14px 12px;min-height:116px;background:#fff;border:1px solid #E3E6EE;border-radius:14px;text-decoration:none;color:#142549;box-shadow:0 5px 14px rgba(20,37,73,.05)}
.hub-card .hub-ic{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#FFE9A8;color:#142549;margin-bottom:6px;font-style:normal}
.hub-card .hub-ic svg{width:22px;height:22px}
.hub-card b{font-size:14px;font-weight:700}.hub-card small{font-size:12px;color:#455374}
.hub-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.hub-chips a{display:flex;align-items:center;min-height:38px;padding:4px 10px;border-radius:999px;background:#F4F5F8;color:#142549;text-decoration:none;font-size:12px;font-weight:500;line-height:1.2}
.hub-dest{background:#fff;border:1px solid #E3E6EE;border-radius:14px;padding:14px}
.hub-dest summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:8px}
.hub-dest summary::-webkit-details-marker{display:none}
.hub-dest summary b{font-size:14px}.hub-dest summary span{font-size:12.5px;color:#455374}
.hub-dest[open] summary{margin-bottom:12px}
@media (max-width:370px){.hub-chips{grid-template-columns:repeat(2,1fr)}}
.hub-notes{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.hub-notes>*{margin:0!important;padding:10px 12px!important;border-radius:12px!important;background:#FFF8DC!important;border:1px solid #F0E2A8!important;color:#142549!important;font-size:12.5px!important;line-height:1.4!important;box-shadow:none!important}
.hub-notes b,.hub-notes strong{font-size:12.5px}
.hub-notes>.fxcards{background:transparent!important;border:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px}
.hub-notes>.fxcards>*{margin:0!important;padding:10px 12px!important;border-radius:12px!important;background:#FFF8DC!important;border:1px solid #F0E2A8!important;color:#142549!important;font-size:12.5px!important;box-shadow:none!important}
/* Country hub: photo on each of the 6 function cards */
.hub-card{padding:6px 6px 12px!important;min-height:0!important;overflow:hidden}
.hub-card .hub-ph{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin-bottom:8px;background:#F4F5F8}
.hub-card b,.hub-card small{padding:0 6px}
/* smaller: photo as a small thumbnail on the left, text on the right */
.hub-card{display:grid!important;grid-template-columns:48px 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center;padding:10px!important}
.hub-card .hub-ph{grid-row:1/3;width:48px!important;height:48px!important;aspect-ratio:1/1!important;margin:0!important;border-radius:10px}
.hub-card b,.hub-card small{padding:0!important;min-width:0}
.hub-card b{align-self:end;font-size:13px}.hub-card small{align-self:start;font-size:11.5px;line-height:1.3}
/* Semua fungsi: grouped icon tiles (3 Dec 2026) */
.hub-feats{display:flex;flex-direction:column;gap:10px}
.hub-fg{background:#fff;border:1px solid #E3E6EE;border-radius:16px;padding:12px 10px 10px;box-shadow:0 5px 14px rgba(20,37,73,.04)}
.hub-fg h3{margin:0 4px 10px;font-size:12.5px;font-weight:700;color:#142549;letter-spacing:.01em}
.hub-fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 4px}
.hub-fgrid a{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#142549;text-align:center;padding:2px 0;border-radius:12px;-webkit-tap-highlight-color:transparent}
.hub-fgrid a:active{background:#F4F5F8}
.hub-fgrid i{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;font-style:normal;background:#E8EEFB;color:#2A4A9B}
.hub-fgrid i svg{width:22px;height:22px}
.hub-fgrid span{font-size:11.5px;font-weight:500;line-height:1.25;max-width:76px}
.hub-fg-faith i{background:#E3F4EA;color:#1E7A46}
.hub-fg-social i{background:#FFF1C7;color:#8A6100}
.hub-fg-save i{background:#FCE6E6;color:#A42828}
.hub-fg-other i{background:#F0EAFB;color:#5B3BA0}
@media (max-width:340px){.hub-fgrid{grid-template-columns:repeat(3,1fr)}}
/* Destination list: each state its own card (3 Dec 2026) */
.hub-dg{background:#F7F8FB;border:1px solid #E3E6EE;border-radius:14px;padding:4px 12px;margin-top:12px}
.hub-dg .ex-g{display:flex;align-items:center;gap:8px;margin:0 -12px 2px;padding:10px 12px;border-bottom:1px solid #E3E6EE;font-size:13px;font-weight:700;color:#142549}
.hub-dg .ex-g small{font-size:11px;font-weight:600;color:#455374;background:#fff;border:1px solid #E3E6EE;border-radius:999px;padding:1px 8px}
.hub-dg .ex-town{border-bottom:1px solid #E9ECF2}
.hub-dg .ex-town:last-child{border-bottom:0}
/* Semua fungsi: glass look, no colours (3 Dec 2026, overrides the coloured tiles above) */
.hub-fg{background:radial-gradient(120% 90% at 0% 0%,#24365F 0%,#142549 55%,#0C1730 100%);border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 24px rgba(9,18,36,.18)}
.hub-fg h3{color:rgba(255,255,255,.92)}
.hub-fgrid a{color:rgba(255,255,255,.88)}
.hub-fgrid a:active{background:rgba(255,255,255,.06)}
.hub-fgrid i,.hub-fg-faith i,.hub-fg-social i,.hub-fg-save i,.hub-fg-other i{position:relative;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.04));color:#fff;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 14px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hub-fgrid i::after{content:"";position:absolute;left:18%;right:18%;bottom:-7px;height:10px;border-radius:50%;background:rgba(255,255,255,.14);filter:blur(6px);pointer-events:none}
.hub-fgrid i svg{stroke-width:1.7;filter:drop-shadow(0 0 4px rgba(255,255,255,.35))}
.hub-fgrid span{color:rgba(255,255,255,.85)}
/* Semua fungsi: light glass, no blue background (3 Dec 2026, overrides the dark glass above) */
.hub-fg{background:linear-gradient(180deg,#FFFFFF 0%,#F7F8FB 100%);border:1px solid #E3E6EE;box-shadow:0 8px 20px rgba(20,37,73,.06)}
.hub-fg h3{color:#142549}
.hub-fgrid a{color:#142549}
.hub-fgrid a:active{background:#F4F5F8}
.hub-fgrid i,.hub-fg-faith i,.hub-fg-social i,.hub-fg-save i,.hub-fg-other i{background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(233,236,243,.7));color:#142549;border:1px solid rgba(20,37,73,.10);box-shadow:inset 0 1px 0 #fff,inset 0 -2px 6px rgba(20,37,73,.05),0 6px 14px rgba(20,37,73,.10)}
.hub-fgrid i::after{background:rgba(20,37,73,.10)}
.hub-fgrid i svg{filter:none}
.hub-fgrid span{color:#142549}
/* Hub notices: white cards with a light glass icon, no yellow (3 Dec 2026) */
.hub-notes>*:not(.fxcards),.hub-notes>.fxcards>*{position:relative;background:linear-gradient(180deg,#FFFFFF 0%,#F7F8FB 100%)!important;border:1px solid #E3E6EE!important;border-radius:14px!important;box-shadow:0 6px 16px rgba(20,37,73,.05)!important;padding:12px 12px 12px 58px!important;min-height:58px;box-sizing:border-box;color:#142549!important}
.hub-notes [data-ni]::before{content:"";position:absolute;left:12px;top:12px;width:34px;height:34px;border-radius:11px;background:var(--ni) center/18px 18px no-repeat,linear-gradient(160deg,rgba(255,255,255,.95),rgba(233,236,243,.7));border:1px solid rgba(20,37,73,.10);box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(20,37,73,.10)}
.hub-notes [data-ni="hunt"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M8 4h8v5a4 4 0 0 1-8 0z"/><path d="M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 21h8M10 17h4"/></svg>')}
.hub-notes [data-ni="pray"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 21V11a8 8 0 0 1 16 0v10z"/><path d="M12 3v2M9 21v-5a3 3 0 0 1 6 0v5"/></svg>')}
.hub-notes [data-ni="wx"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M7 18a5 5 0 1 1 .9-9.9A6 6 0 0 1 19 10a4 4 0 0 1-1 7.9"/><path d="M9 20v1M13 19v2M17 20v1"/></svg>')}
.hub-notes [data-ni="road"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M5 21 9 3M19 21 15 3M12 4v3M12 11v3M12 18v2"/></svg>')}
.hub-notes [data-ni="pass"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="6" width="18" height="12" rx="2"/><path d="M15 6v12" stroke-dasharray="2 2"/><path d="M7 10h4M7 14h3"/></svg>')}
.hub-notes [data-ni="info"]{--ni:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23142549" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 11v5M12 8h.01"/></svg>')}
.hub-notes a{color:#142549;font-weight:600}
.hub-nh{display:flex;align-items:center;gap:10px}
.hub-nh i{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;font-style:normal;color:#142549;background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(233,236,243,.7));border:1px solid rgba(20,37,73,.10);box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(20,37,73,.10)}
.hub-nh i svg{width:18px;height:18px;stroke-width:1.8}
/* Destination summary: looks tappable (3 Dec 2026) */
.hub-dest{padding:0;overflow:hidden;box-shadow:0 8px 20px rgba(20,37,73,.07)}
.hub-dest summary{flex-direction:row;align-items:center;gap:12px;padding:14px;-webkit-tap-highlight-color:transparent}
.hub-dest summary:active{background:#F4F5F8}
.hub-dest[open] summary{margin-bottom:0;border-bottom:1px solid #E3E6EE}
.hub-dest[open]>:not(summary){margin-left:14px;margin-right:14px}
.hub-dest[open]>.hub-dg:last-child{margin-bottom:14px}
.hub-dest .ex-search{margin-top:14px}
.hub-di{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;font-style:normal;color:#142549;background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(233,236,243,.7));border:1px solid rgba(20,37,73,.10);box-shadow:inset 0 1px 0 #fff,0 5px 12px rgba(20,37,73,.12)}
.hub-di svg{width:22px;height:22px;stroke-width:1.8}
.hub-dt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.hub-dest summary .hub-dt b{font-size:14px;line-height:1.25}
.hub-dest summary .hub-dt span{font-size:12.5px;color:#455374;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-dgo{flex:none;display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:999px;background:#142549;color:#fff;font-style:normal;font-size:12.5px;font-weight:600;box-shadow:0 4px 10px rgba(20,37,73,.22)}
.hub-dgo svg{transition:transform .2s}
.hub-dest[open] .hub-dgo svg{transform:rotate(180deg)}
/* Loading: NBN logo in the middle + "Loading" + striped bar, no emoji (3 Dec 2026) */
.nbn-load{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:36px 16px;color:#142549}
.nbn-load-full{min-height:calc(100vh - 220px)}
.nbn-load img{border-radius:18px;box-shadow:0 10px 24px rgba(20,37,73,.16);animation:nbnPulse 1.4s ease-in-out infinite}
.nbn-load b{font-size:14px;font-weight:600;letter-spacing:.02em}
.nbn-load i{display:block;width:160px;height:8px;border-radius:999px;background:repeating-linear-gradient(-45deg,#142549 0 8px,#E3E6EE 8px 16px);background-size:22.6px 100%;animation:nbnBar .6s linear infinite}
@keyframes nbnPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes nbnBar{to{background-position:22.6px 0}}
.nbn-wait{display:flex;align-items:center;gap:8px}
.nbn-spin{flex:none;width:16px;height:16px;border-radius:50%;border:2px solid #E3E6EE;border-top-color:#142549;animation:nbnSpin .8s linear infinite}
@keyframes nbnSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.nbn-load img,.nbn-load i,.nbn-spin{animation:none}}
/* Header log-in button: smaller (3 Dec 2026) */
#meBtn{font-size:12.5px;font-weight:600;min-height:32px;height:32px;padding:0 12px;line-height:32px;max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.top-actions{align-items:center}
/* Real glassmorphism on the country hub: soft colour behind, see-through frosted cards on top (3 Dec 2026) */
body.is-hub{background:linear-gradient(180deg,#FFE9A6 0,#FFF6DC 42vh,#F7F8FB 100vh);background-attachment:fixed}
body.is-hub main,body.is-hub #view{background:transparent}
body.is-hub .hub-fg,body.is-hub .hub-dest,body.is-hub .hub-card,
body.is-hub .hub-notes>*:not(.fxcards),body.is-hub .hub-notes>.fxcards>*{
  background:rgba(255,255,255,.42)!important;border:1px solid rgba(255,255,255,.75)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 8px 24px rgba(20,37,73,.08)!important}
body.is-hub .hub-dg{background:rgba(255,255,255,.45);border-color:rgba(255,255,255,.8)}
body.is-hub .hub-fgrid i,body.is-hub .hub-notes [data-ni]::before,body.is-hub .hub-nh i,body.is-hub .hub-di{
  background-color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.9)}
/* Log in card (Figma 383:4815 "Log masuk untuk berkongsi"): centred white card, gold main button, grey "Nanti dulu" (3 Dec 2026) */
.modal:has(.login-h){align-items:center;padding:16px;background:rgba(20,37,73,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.modal:has(.login-h) .sheet{max-width:358px;border-radius:24px;padding:24px 20px 20px;background:#fff;border-top:0;box-shadow:0 24px 48px rgba(9,18,36,.25)}
.modal:has(.login-h) .sheet .x{top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:#F4F5F8;font-size:14px;color:#142549;display:flex;align-items:center;justify-content:center}
.modal:has(.login-h) .mbody{display:flex;flex-direction:column;gap:12px}
.login-h{margin:0;padding-right:36px;font-size:19px;font-weight:700;color:#142549}
.modal:has(.login-h) .mbody>p{margin:0;color:#142549;font-size:13px;line-height:1.45}
.modal:has(.login-h) .btn.login-go{order:2;width:100%;min-height:44px;margin:6px 0 0;border:0;border-radius:14px;background:#FFE07A;color:#142549;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:none}
.login-g{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#142549;font-weight:800;font-size:12.5px}
.modal:has(.login-h) .btn.login-later{order:3;width:100%;min-height:44px;margin:0;border:0;border-radius:14px;background:#F2F4F9;color:#142549;font-size:14px;font-weight:600;box-shadow:none}
.modal:has(.login-h) .mbody>p.small{order:4;margin-top:4px;text-align:center;font-size:12px;color:#455374}
.modal:has(.login-h) .mbody>p.small a{color:#142549}
/* email code: Google, "or use your email", email box, then "Not now" */
.modal:has(.login-h) #orMail,.modal:has(.login-h) #mailStep1,.modal:has(.login-h) #mailStep2{order:2}
.modal:has(.login-h) #orMail{margin:0!important}
.modal:has(.login-h) #mailStep1 .btn,.modal:has(.login-h) #mailStep2 .btn{width:100%;min-height:44px;border-radius:14px;font-size:14px}
.modal:has(.login-h) #lcodeGo{background:#FFE07A;color:#142549;border:0;box-shadow:none}
.modal:has(.login-h) #mailStep2 p{margin:0 0 8px;font-size:12px;color:#455374}
#meBtn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;padding:0 14px}
/* Sedap / Tak sedap: small pills (3 Dec 2026) */
.nbn-rate{gap:6px!important;margin:6px 0}
.nbn-rate .btn.small{min-height:28px;height:28px;padding:0 10px;font-size:12px;font-weight:600;border-radius:999px;line-height:1;display:inline-flex;align-items:center;gap:5px;flex:none;width:auto}
.nbn-rate .btn.small b{font-size:12px;font-weight:700}
/* Plan & AI (Figma 178:394) + calendar (98:441), 3 Dec 2026 */
.plan-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;margin:4px 0 14px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid #E3E6EE;box-shadow:0 6px 16px rgba(20,37,73,.06)}
.plan-tabs a{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;text-decoration:none;color:#142549;font-size:12.5px;font-weight:600}
.plan-tabs a.on{background:#FFE07A}
body.is-plan #view label{display:block;margin:0 0 6px;font-size:12.5px;font-weight:600;color:#142549}
body.is-plan #view input,body.is-plan #view select,body.is-plan #view textarea{background:#fff;border:1px solid #E3E6EE;border-radius:12px;min-height:42px;font-size:13px;color:#142549;box-shadow:none}
.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}
.plan-grid>*{grid-column:1 / -1;margin:0!important}
.plan-grid>.pf.half{grid-column:auto}
.plan-grid>.pf>select,.plan-grid>.pf>input,.plan-grid>.pf>textarea,.plan-grid>.pf>*:not(label){width:100%;margin:0}
.pd-dates{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin:0 0 12px}
.plan-grid>.pd-dates{margin:0!important}
.pd-dates label{margin:0 0 6px}
.pd-btn{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 12px;border:1px solid #E3E6EE;border-radius:12px;background:#fff;color:#455374;font:inherit;font-size:13px;cursor:pointer;text-align:left}
.pd-btn svg{flex:none;color:#142549}
.pd-btn.set{color:#142549;font-weight:600}
.pd-sum{grid-column:1 / -1;margin:0;font-size:12px}
body.is-plan #pgo{width:100%;min-height:46px;border-radius:14px;background:#142549;color:#fff;font-weight:600}
.pcal-ov{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,37,73,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.pcal{width:100%;max-width:358px;background:#fff;border-radius:24px;padding:20px;box-shadow:0 24px 48px rgba(9,18,36,.25);color:#142549}
.pcal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.pcal-top b{font-size:17px;font-weight:700}
.pcal button{font:inherit;color:#142549;cursor:pointer}
.pcal-x,.pcal-p,.pcal-n{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:#FFF0B8}
.pcal-p[disabled]{background:#F7F8FB;color:#B8BFCF;cursor:default}
.pcal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.pcal-nav b{font-size:14px;font-weight:700}
.pcal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center}
.pcal-g i{font-style:normal;font-size:12px;font-weight:600;color:#455374;padding:4px 0}
.pcal-d,.pcal-e{aspect-ratio:1;border-radius:50%}
.pcal-d{border:0;background:#FFFBEA;font-size:13px;font-weight:500}
.pcal-d[disabled]{background:transparent;color:#C3C9D6;cursor:default}
.pcal-d.on{background:#142549;color:#fff;font-weight:700}
.pcal-d:not([disabled]):active{background:#FFE07A}
/* Cuti & acara (Figma 192:394), 3 Dec 2026 */
.calx-hero{position:relative;display:flex;align-items:flex-end;min-height:146px;margin:0 0 14px;padding:14px;border-radius:20px;background-size:cover;background-position:center 35%;overflow:hidden}
.calx-hero h1{margin:0;color:#fff;font-size:20px;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.calx-hero .nbn-title{margin:0;display:flex;align-items:center;gap:10px}
.calx-hero .nbn-back{background:#fff!important;color:#142549!important;border:0!important}
.calx-card{background:#FAFBFD;border:1px solid #E3E6EE;border-radius:20px;padding:14px 12px;box-shadow:0 8px 20px rgba(20,37,73,.06);margin-bottom:14px}
.calx-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.calx-nav b{font-size:15px;font-weight:700;color:#142549}
.calx-nav button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:#F0F2F7;color:#142549;cursor:pointer}
.calx-nav button[disabled]{opacity:.35;cursor:default}
.calx-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0;text-align:center}
.calx-g i{font-style:normal;font-size:12px;font-weight:600;color:#455374;padding:4px 0 8px}
.calx-d{position:relative;height:42px;border:0;border-radius:12px;background:transparent;color:#142549;font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.calx-d.has::after{content:"";position:absolute;left:50%;bottom:6px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#142549}
.calx-d.today{box-shadow:inset 0 0 0 1.5px #FFD45A}
.calx-d.on{background:#142549;color:#fff;font-weight:700}
.calx-d.on::after{background:#FFD45A}
.calx-d[disabled]{color:#C3C9D6;cursor:default}
.calx-d[disabled]::after{background:#C3C9D6}
.calx-pills{display:flex;gap:8px;overflow-x:auto;margin:0 -14px 14px;padding:0 14px;scrollbar-width:none}
.calx-pills::-webkit-scrollbar{display:none}
.calx-pill{flex:none;min-height:34px;padding:0 16px;border:0;border-radius:999px;background:#F0F2F7;color:#142549;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.calx-pill.on{background:#142549;color:#fff}
.calx-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;scroll-margin-top:80px}
.calx-h b{font-size:14px;font-weight:700;color:#142549}
.calx-all{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:#F0F2F7;color:#142549;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.calx-list{display:flex;flex-direction:column;gap:10px}
.calx-ev{display:flex;flex-direction:column;gap:4px;padding:14px;background:#FAFBFD;border:1px solid #E3E6EE;border-radius:16px;color:#142549}
.calx-ev small{font-size:12px;color:#455374;font-weight:500}
.calx-ev b{font-size:14px;font-weight:700;line-height:1.3}
.calx-dt{font-size:12.5px;font-weight:600}
.calx-st{font-size:12px;color:#455374}
.calx-ev p{margin:2px 0 0;font-size:12.5px;line-height:1.45;color:#142549}
/* Plan AI: "Di sana guna" local transport */
.lt{margin:12px 0;color:#142549}
.lt-t{display:block;margin:0 0 6px;font-size:12.5px;font-weight:600}
.lt details{position:relative}
.lt summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;box-sizing:border-box;padding:7px 12px;border:1px solid #E3E6EE;border-radius:12px;background:#fff;list-style:none;cursor:pointer}
.lt summary::-webkit-details-marker{display:none}
.lt summary::before,.lt summary::after{content:none!important}
.lt-c{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.lt-c i{padding:4px 10px;border-radius:999px;background:#F0F2F7;font-size:12px;font-style:normal;font-weight:500;line-height:1.4}
.lt-c em{font-size:13px;font-style:normal;color:#455374}
.lt summary svg{flex:none}
.lt [open] summary{border-color:#142549}.lt [open] summary svg{transform:rotate(180deg)}
.lt-p{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;padding:6px;border:1px solid #E3E6EE;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(20,37,73,.16)}
body #view .lt-p label{display:flex!important;align-items:center;gap:12px;min-height:44px;margin:0;padding:0 10px;border-radius:10px;font-size:13.5px;font-weight:500;color:#142549;cursor:pointer}
body #view .lt-p label:hover{background:#F6F7FA}
body #view .lt-p input{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:22px;min-height:0;margin:0;padding:0;border:1.5px solid #8A94AB;border-radius:7px;background:#fff}
body #view .lt-p input:checked{border-color:#FFD84D;background:#FFD84D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142549' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E") center/16px no-repeat}
body.is-plan #view .card>.row+.row{margin-top:12px}
/* Prayer times card */
.pt-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#142549}
.pt-top small,.pt-top span{display:block;font-size:12px;color:#455374;line-height:1.4}
.pt-top b{display:block;font-size:17px;font-weight:700;line-height:1.35}
.pt-arc{flex:none;width:120px;height:66px;overflow:visible}
.pt-g{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin-top:12px;text-align:center;color:#142549}
.pt-g>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 0;border-radius:12px}
.pt-g>.on{background:#FFE07A}
.pt-g small{font-size:11px;line-height:1.2;color:#142549}
.pt-g b{font-size:12px;font-weight:700}
/* long source links must not push the page sideways */
#view .card{overflow-wrap:anywhere}
/* tick boxes keep their own size (text boxes are full width) */
#view input[type=checkbox],#view input[type=radio]{flex:none;width:20px;height:20px;min-height:0;margin:0;padding:0;accent-color:#142549}
#view .card td,#view .card th{overflow-wrap:break-word}
/* ---- Figma rows, partner logos, community tabs, guide tabs (ui.js). 3 Dec 2026 ---- */
.nbi{flex:none;display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em}
.nbe{color:#142549}.nbe.on .nbi{fill:#D93A4A;stroke:#D93A4A}
h2.hi{display:flex;align-items:center;gap:8px}
#view a.rw,#view div.rw,#view .rw>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 0;color:#142549;text-decoration:none;list-style:none}
#view .rw>summary{cursor:pointer}.rw>summary::-webkit-details-marker{display:none}
#view .card>.rw+.rw{border-top:1px solid var(--line)}
.rw-t{flex:1;min-width:0}.rw-t b{display:block;font-size:13.5px;font-weight:600;line-height:1.35;color:#142549}.rw-t small{display:block;margin-top:2px;font-size:12px;line-height:1.35;color:var(--muted)}
.rw-r{flex:none;font-size:13px;font-weight:600;color:#142549;white-space:nowrap}
#view .rw-c{width:16px;height:16px;transition:transform .15s}.rw[open]>summary .rw-c{transform:rotate(90deg)}
.rw-b{padding:0 0 12px;font-size:13px;line-height:1.5;color:#33415F}.rw-b p{margin:0 0 8px}.rw-b ol,.rw-b ul{margin:4px 0 8px;padding-left:20px}.rw-b li{margin:4px 0}
.rr{padding:10px 0;border-top:1px solid var(--line)}.rr small{display:block;color:var(--muted);font-size:12px}.rr p{margin:4px 0}
#view a.gl{display:inline-flex;align-items:center;min-height:32px;font-size:13px;font-weight:600;color:#8A5A00;text-decoration:none}
.tg{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;color:#142549;background:#FFF0C4}.tg-r{background:#FFDCDC}.tg-g{background:#DDF3E3}
#view .hl{display:flex;align-items:center;gap:12px;margin:10px 0 14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#FFEFC8;color:#142549;text-decoration:none}
.hl b{display:block;font-size:14px;font-weight:600}.hl small{display:block;margin-top:2px;font-size:12px;line-height:1.4;color:#4F5B75}
.bk-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bk-p{position:relative;flex:none;display:flex;align-items:center;gap:4px;min-height:44px;font-size:13px;font-weight:600;color:#142549}
#view .bk-p .row,#view .bk-p label{position:absolute;inset:0;margin:0!important;opacity:0;font-size:0}
#view .bk-p select{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;cursor:pointer}
.bk-p:focus-within{outline:2px solid #1F5FD0;outline-offset:2px;border-radius:8px}
.bks{display:grid;gap:8px}
#view a.bk{display:flex;align-items:center;gap:12px;min-height:62px;padding:8px 14px 8px 12px;border:1px solid var(--line);border-radius:16px;background:#fff;color:#142549;text-decoration:none}
.bk-l{flex:none;display:flex;align-items:center;justify-content:center;width:100px;height:40px;border-radius:6px;color:#142549}.bk-l img{display:block;max-width:96px;max-height:34px}
.bk-traveloka img{max-width:58px}.bk-tripcom img{max-height:32px;border-radius:6px}.bk-busonline img{max-height:22px}.bk-pelago{background:#142549}
.tb2{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin:8px 0 10px}
#view .tb2 a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 8px;border-radius:12px;background:#F2F4F9;color:#142549;font-size:13px;font-weight:600;text-align:center;text-decoration:none}
#view .tb2 a.on{background:#FFE378}
.st-f{display:grid;grid-template-columns:1.6fr 1fr;gap:8px}#view .st-f select{min-width:0;min-height:40px;font-weight:600}
#view .st-w{display:flex;width:100%;justify-content:center;margin:8px 0}
.gt{display:flex;gap:8px;margin:10px -14px 12px 0;padding-right:14px;overflow-x:auto;scrollbar-width:none}.gt::-webkit-scrollbar{display:none}
.gt button{position:relative;flex:none;min-height:40px;padding:0 14px;border:0;border-radius:12px;background:#F2F4F9;color:#142549;font-size:13px;font-weight:600;cursor:pointer}
.gt button.on::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px;background:#E0AF2B}
#view .pill.on{background:#FFE378;border-color:#FFE378;color:#142549;font-weight:600}
/* plan items: smaller text, badges and reorder buttons (the tap area stays larger than the button) */
#view .badge{padding:1px 7px;border-width:1px;font-size:10.5px;font-weight:600;line-height:1.5}
#view .day .badge{font-size:10px;padding:0 6px;white-space:nowrap}
#view .day .item{gap:8px}#view .day .item .t{min-width:38px;font-size:12px}#view .day .item b{font-size:12.5px;font-weight:600;line-height:1.35}
#view .day .item .small,#view .day .item a{font-size:11.5px;line-height:1.4}
#view .pe-tools{align-self:flex-start;gap:4px}#view .pe-tools button{position:relative;width:24px;min-width:24px;height:24px;min-height:24px;padding:0;font-size:11px;line-height:1}
#view .pe-tools button::after{content:"";position:absolute;inset:-10px -2px}
/* Selamat: emergency numbers as a plain list */
#view .card.sos{padding:4px 16px}#view .sos>a.rw{min-height:52px}#view .sos .rw-c{display:none}#view .sos .rw-r{font-size:14px;font-weight:700}
/* Halal / Bukan halal / Masjid tabs: small pills */
.seg{gap:6px;border:0;border-radius:0;overflow-x:auto;scrollbar-width:none}
.seg::-webkit-scrollbar{display:none}
.seg button,.seg button+button{flex:none;min-height:34px;padding:0 11px;border:1px solid #E3E6EE;border-radius:999px;background:#F4F5F8;color:#142549;font-size:12px;font-weight:600;white-space:nowrap}
.seg button.on{background:#FFE07A;border-color:#FFE07A;color:#142549}
/* Popular destinations: dark strip under the photo, text stays readable on bright photos */
.ex-pop.ex-strip{padding:0;overflow:hidden}
.ex-strip>span{display:block;box-sizing:border-box;width:100%;min-height:74px;padding:10px 12px;background:rgba(9,18,36,.78)}.ex-strip b,.ex-strip small{display:block;line-height:1.35}
/* small number box with up/down arrows (people in the bill split); the tap area of each arrow is larger than it looks */
.num{display:inline-flex;width:84px;height:34px;box-sizing:border-box;border:1px solid #D5DAE5;border-radius:10px;background:#fff}
.num:focus-within{border-color:#142549}
body #view .num input{flex:1;width:0;min-width:0;min-height:0;height:100%;margin:0;padding:0 0 0 12px;border:0;border-radius:0;background:transparent;font-size:13px;font-weight:500;color:#142549;outline:none;box-shadow:none}
.num>span{flex:0 0 24px;display:flex;flex-direction:column;border-left:1px solid #E3E6EE}
.num button{position:relative;flex:1;width:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#455374;cursor:pointer;display:flex;align-items:center;justify-content:center}
.num button+button{border-top:1px solid #E3E6EE}
.num button::after{content:"";position:absolute;inset:-9px -14px 0 -12px}.num button+button::after{inset:0 -14px -9px -12px}
.num button:disabled{opacity:.35;cursor:default}
.num svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ppl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;font-size:13px;color:#142549}
.ppl .num{width:70px;margin-right:8px}
body #view .num-n{display:inline-flex;align-items:center;min-height:34px;margin-left:auto;padding:0;border:0;background:none;box-shadow:none;font:inherit;font-size:13px;font-weight:600;color:#142549;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* bill split: every box lines up in two columns */
.spl{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px;margin-top:12px}
body #view .spl>*{width:100%;margin:0;box-sizing:border-box}
body #view .spl>#swhat,body #view .spl>label{grid-column:1/-1}
body #view .spl>label{margin:4px 0 -2px}
body #view .spl>#sadd{min-height:42px;border-radius:12px}
body.is-plan #view .row>label:empty{display:none}
/* today's five prayer times in one row */
.ptm{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;text-align:center}
.ptm small{display:block;font-size:11.5px;color:#455374}
.ptm b{font-size:14px;color:#142549}
/* Sign-up sheet, free AI plan and WhatsApp chat (shared/convert.js, 6 Dec 2026) */
.modal:has(.login-h) .mbody>p.nbn-why,.modal:has(.login-h) .mbody>p.nbn-perks{order:1;text-align:left;margin:0}
.nbn-why{color:#142549;background:#FFF6D6;border-radius:12px;padding:8px 10px;font-size:12.5px;line-height:1.45}
.nbn-perks{color:#455374;font-size:12px}
.btn.nbn-g,.modal:has(.login-h) .btn.nbn-g{order:2;width:100%;min-height:48px;margin:2px 0 0;border:1px solid #DADCE0;border-radius:14px;background:#fff;color:#1F1F1F;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 1px 2px rgba(20,37,73,.08)}
.btn.nbn-g svg{flex:none}
.modal:has(.login-h) .nbn-wa-row{order:5;display:flex;justify-content:center}
.nbn-wa{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:#25D366;color:#fff!important;font-weight:600;font-size:14px;text-decoration:none}
.nbn-wa.sm{min-height:34px;padding:0 12px;font-size:12.5px;background:#E8F8EE;color:#128C4A!important}
.nbn-wa-home{margin:18px 0 8px;text-align:center}.nbn-wa-home .small{margin:6px 0 0}
.nbn-after{border:1.5px solid #FFC934;background:#FFFBEA}.nbn-after h3{margin:0 0 4px;font-size:16px;color:#142549}.nbn-after .nbn-wa-row{margin-top:10px;text-align:center}
.nbn-free{margin:8px 0 0;color:#0F7B3E;font-weight:600;font-size:12.5px}
