/* UbiFi customer portal — mobile first */
:root { --brand: #8b2cf5; --brand-2: #c2398f; --ink: #1d1730; --muted: #6f6886; --line: #e9e4f3; --bg: #f5f3fa; --card: #fff; --ok: #138a4c; --warn: #b26b00; --bad: #c2312a; --soft: #f3edfe; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
a { color: var(--brand); text-decoration: none; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.top .logo { height: 34px; width: auto; }
.top .who { margin-left: auto; text-align: right; font-size: 12px; color: var(--muted); line-height: 1.25; max-width: 60%; }
.top .who b { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top select { font-size: 13px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; max-width: 170px; }
main { max-width: 760px; margin: 0 auto; padding: 14px 16px 96px; }
h1 { font-size: 22px; margin: 4px 0 12px; } h2 { font-size: 17px; margin: 0 0 10px; } h3 { font-size: 15px; margin: 0 0 6px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(40, 20, 80, .04); }
.pcard.brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.pcard.brand .muted, .pcard.brand .lab { color: rgba(255, 255, 255, .85); }
.pcard.alert { border-color: #f3c3bf; background: #fff6f5; }
.lab { font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.big { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; } .row > * { flex: 1 1 0; min-width: 0; }
.kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; } .kv2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.kv3 b, .kv2 b { display: block; font-size: 15.5px; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--brand); }
.chip.ok { background: #e3f6ec; color: var(--ok); } .chip.warn { background: #fff1db; color: var(--warn); } .chip.bad { background: #fde7e5; color: var(--bad); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  font-weight: 700; font-size: 15px; cursor: pointer; text-align: center; width: 100%; font-family: inherit; }
.btn.primary { background: var(--ink); color: #fff; } .btn.brandbtn { background: #fff; color: var(--brand); border-color: #fff; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 13.5px; width: auto; }
.btn:disabled { opacity: .5; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li > a, .list > li > .li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.list > li:last-child > a, .list > li:last-child > .li { border-bottom: 0; }
.list .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.list .txt { flex: 1; min-width: 0; } .list .txt b { display: block; font-size: 15px; } .list .txt span { color: var(--muted); font-size: 13px; }
.list .go { color: var(--muted); font-size: 20px; }
.info { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .info:last-child { border-bottom: 0; }
.info .txt { flex: 1; } .info .txt .lab { display: block; } .info .txt b { font-size: 15.5px; word-break: break-all; }
.copy { border: 0; background: none; color: var(--brand); padding: 6px; cursor: pointer; } .copy.copied { color: var(--ok); }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.choice label { display: block; } .choice input { position: absolute; opacity: 0; }
.choice span { display: block; text-align: center; padding: 11px 6px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; background: #fff; }
.choice input:checked + span { border-color: var(--brand); background: var(--soft); color: var(--brand); }
.plans label { display: block; margin-bottom: 8px; } .plans input { position: absolute; opacity: 0; }
.plans .pl { display: block; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.plans input:checked + .pl { border-color: var(--brand); background: var(--soft); }
.plans .pl b { font-size: 16px; } .plans .pl .pr { float: right; font-weight: 800; }
form .f { display: block; margin: 0 0 12px; font-weight: 600; font-size: 14px; }
form .f input, form .f select, form .f textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
form .f input:focus, form .f select:focus, form .f textarea:focus { outline: none; border-color: var(--brand); }
.otp { letter-spacing: 10px; text-align: center; font-size: 26px !important; font-weight: 800; }
.flash { border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; font-weight: 600; } .flash.success { background: #e3f6ec; color: #0d5d34; } .flash.error { background: #fde7e5; color: #8d1f18; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t th { text-align: left; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 6px 4px; }
table.t td { padding: 10px 4px; border-top: 1px solid var(--line); vertical-align: top; } .num { text-align: right; white-space: nowrap; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 6px; } .bars i { flex: 1; background: linear-gradient(var(--brand), var(--brand-2)); border-radius: 4px 4px 0 0; min-height: 2px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); } .timeline li { position: relative; padding: 0 0 14px 10px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: #fff; border-top: 1px solid var(--line); display: flex; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.nav a { flex: 1; text-align: center; color: var(--muted); font-size: 11.5px; font-weight: 600; padding: 4px 0; } .nav a .ic { display: block; margin: 0 auto 2px; width: 22px; height: 22px; }
.nav a.on { color: var(--brand); }
.center { text-align: center; } .mt { margin-top: 12px; } .hide { display: none; }
.login { max-width: 420px; margin: 18px auto; }
@media (min-width: 720px) { .kv3 { gap: 16px; } .nav { justify-content: center; } .nav a { flex: 0 0 110px; } }
.result h1 { margin-top: 6px; } .result .big { margin: 4px 0; }
.badge-ic { width: 72px; height: 72px; border-radius: 50%; margin: 6px auto 4px; display: grid; place-items: center; font-size: 34px; font-weight: 800; background: var(--soft); color: var(--brand); }
.badge-ic.ok { background: #e3f6ec; color: var(--ok); } .badge-ic.bad { background: #fde7e5; color: var(--bad); } .badge-ic.wait { background: #fff1db; }
.pcard.soft { background: var(--soft); border: 0; margin: 12px 0; } .big2 { font-size: 20px; font-weight: 800; }
.profile-head { display: flex; align-items: center; gap: 14px; } .avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }

/* install app / phone alerts */
[hidden] { display: none !important; }
.app-card .row { align-items: center; gap: 12px; justify-content: flex-start; }
.app-card .big-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.app-card .big-ico .ic { width: 24px; height: 24px; }
.offline { text-align: center; padding: 40px 16px; }
.pcard.outage { border-color: #f5d48a; background: #fffaeb; }
.row > .chip { flex: 0 0 auto; align-self: flex-start; }
.info > .ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.info > .ico .ic { width: 18px; height: 18px; }
.tick { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--soft); color: var(--muted); }
.tick.ok { background: #e3f6ea; color: #13803d; } .tick.bad { background: #fde7e5; color: #c0322a; } .tick.warn { background: #fff3d6; color: #a86700; }
.pcard.verdict { border-color: #d9c6fb; }
a.pcard.fixlink { display: block; color: inherit; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 4px; }
.steps li { flex: 1; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.25; }
.steps li span { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.steps li.done span { background: var(--brand); } .steps li.now { color: var(--ink); font-weight: 700; }
/* ratings: stars right-to-left so ~ selects the lower ones (CSS only) */
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 6px 0 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 40px; line-height: 1; color: #d9d6e5; cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f5a623; }
.stars input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.stars-show { color: #f5a623; font-size: 22px; letter-spacing: 2px; } .stars-show span { color: #d9d6e5; }
.tagpick { display: flex; flex-wrap: wrap; gap: 8px; } .tagpick input { position: absolute; opacity: 0; }
.tagpick span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.tagpick input:checked + span { background: var(--soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
a.pcard.ratecard { display: flex; gap: 12px; align-items: center; color: inherit; }
a.autopay-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 14px; }
a.autopay-row .ic { color: var(--brand); flex: 0 0 auto; } a.autopay-row span:nth-child(2) { flex: 1; } a.autopay-row .red { color: #c0322a; }
/* recharge: pack → speed → duration */
.seg { display: flex; gap: 6px; background: var(--soft); padding: 4px; border-radius: 14px; overflow-x: auto; }
.seg a { flex: 1 0 auto; text-align: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.seg a.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: var(--brand); }
.speeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.speed, .dur { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 12px 12px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; }
.speed.on, .dur.on { border-color: var(--brand); background: #faf6ff; box-shadow: 0 0 0 3px rgba(139, 44, 245, .12); }
.speed .mbps { font-size: 26px; line-height: 1.1; } .speed .mbps small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ott-mini { font-size: 11px; color: var(--brand); font-weight: 600; }
.durs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dur .price { font-size: 20px; font-weight: 800; } .dur s { margin-top: -2px; }
.tag { position: absolute; top: -9px; right: 10px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag.hot { background: #e8590c; }
.pcard.summary { border-color: #d9c6fb; } .center { text-align: center; }
.pcard.support { text-align: left; margin-top: 14px; }
.speed .pname { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }

/* offer banner on the home page */
.offer-card { display: block; background: linear-gradient(135deg, #7b2ff7, #d6336c); color: #fff; border: 0; text-decoration: none; }
.offer-card .offer-tag { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.offer-card .offer-big { font-size: 22px; font-weight: 800; margin: 6px 0 2px; line-height: 1.2; }
.offer-card .offer-sub { font-size: 14px; opacity: .95; } .offer-card .offer-sub s { opacity: .75; }
.offer-card .offer-btn { display: block; margin-top: 12px; background: #fff; color: #7b2ff7; font-weight: 700; text-align: center; border-radius: 12px; padding: 10px; }

/* Sign-in pages (login / OTP): brand panel + card — left/right on a computer, stacked on a phone */
body.auth-page { background: #fff; }
body.auth-page main { max-width: none; padding: 0; }
body.auth-page > main > .flash { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 9; width: min(92vw, 440px); box-shadow: 0 8px 24px rgba(30, 10, 60, .18); }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .18) 0, transparent 38%), radial-gradient(circle at 10% 95%, rgba(255, 255, 255, .12) 0, transparent 40%), linear-gradient(140deg, #6a1fd0 0%, var(--brand) 45%, var(--brand-2) 100%); }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.auth-logo { position: absolute; top: 32px; left: 56px; height: 44px; background: #fff; border-radius: 12px; padding: 6px 12px; }
.auth-tag { font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.8px; margin: 40px 0 26px; }
.auth-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 460px; position: relative; z-index: 1; }
.auth-feats li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 12px 14px; font-size: 13.5px; color: rgba(255, 255, 255, .88); backdrop-filter: blur(4px); }
.auth-feats li b { display: block; color: #fff; font-size: 15px; }
.auth-feats li > span { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--brand); }
.auth-help { margin: 26px 0 0; font-size: 14px; color: rgba(255, 255, 255, .9); position: relative; z-index: 1; }
.auth-help a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-card { align-self: center; justify-self: center; width: min(100%, 440px); padding: 40px 32px; }
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 4px; }
.auth-card > .muted { margin: 0 0 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tabs a { text-align: center; padding: 9px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.auth-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(30, 10, 60, .12); }
.auth-phone { display: flex; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.auth-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--soft); }
.auth-phone > span { padding: 0 14px; display: grid; place-items: center; background: var(--bg); font-weight: 700; border-right: 1.5px solid var(--line); }
form .f .auth-phone input { border: 0; margin: 0; border-radius: 0; box-shadow: none; font-size: 18px; letter-spacing: 1px; }
.auth-card form .f > input { font-size: 17px; padding: 13px 14px; border-radius: 12px; border-width: 1.5px; }
.auth-card form .f > input:focus { box-shadow: 0 0 0 4px var(--soft); }
.auth-otp { text-align: center; font-size: 28px !important; letter-spacing: 14px; font-weight: 800; }
.auth-btn { width: 100%; padding: 14px; font-size: 16px; font-weight: 700; border: 0; border-radius: 12px; color: #fff; margin-top: 4px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px rgba(139, 44, 245, .28); margin-bottom: 14px; }
.auth-btn:hover { filter: brightness(1.06); }
.auth-card form + p { margin-top: 14px; }
form .f .auth-phone input::placeholder { letter-spacing: 0; font-size: 16px; }
.auth-resend { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; }
.auth-safe { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.auth-safe .ic { width: 16px; height: 16px; color: var(--ok); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-side { padding: 16px 16px 56px; }
  .auth-logo { position: static; height: 34px; align-self: flex-start; }
  .auth-tag { font-size: 22px; margin: 14px 0 12px; }
  .auth-feats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .auth-feats li { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 8px 4px; font-size: 0; border-radius: 12px; }
  .auth-feats li b { font-size: 11px; line-height: 1.2; font-weight: 600; }
  .auth-feats li > span { width: 30px; height: 30px; border-radius: 9px; }
  .auth-feats li > span .ic { width: 17px; height: 17px; }
  .auth-help { display: none; }
  .auth-card { width: auto; margin: -44px 14px 24px; padding: 26px 20px; background: #fff; border-radius: 22px; box-shadow: 0 10px 34px rgba(30, 10, 60, .14); position: relative; z-index: 2; align-self: start; }
  .auth-card h1 { font-size: 25px; }
}

/* Design refresh (owner, Nov 2026): the sign-in page look everywhere in the app — gradient main buttons with a soft
   shadow, softer cards, purple focus ring. */
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(139, 44, 245, .26); }
.btn.primary:hover { filter: brightness(1.06); }
.btn { transition: transform .12s ease, filter .12s ease; } .btn:active { transform: scale(.98); }
.btn:not(.primary):not(.brandbtn) { border-color: var(--line); }
.pcard { box-shadow: 0 1px 2px rgba(40, 20, 80, .04), 0 8px 24px rgba(40, 20, 80, .06); border-color: #efeaf7; }
form .f input, form .f select, form .f textarea { border-width: 1.5px; }
form .f input:focus, form .f select:focus, form .f textarea:focus { box-shadow: 0 0 0 4px var(--soft); }

/* Top-right account menu (owner, Nov 2026): avatar → sheet with the connection picker, name, links, sign out */
.top .me { margin-left: auto; position: relative; }
.top .me > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; } .top .me > summary::-webkit-details-marker { display: none; }
.me-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 3px 10px rgba(139, 44, 245, .3); flex: none; }
.me-av.big { width: 46px; height: 46px; font-size: 16px; }
.me-conn { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--soft); border-radius: 999px; padding: 4px 10px; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-sheet { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; background: #fff; border-radius: 18px; padding: 14px; z-index: 30;
  box-shadow: 0 16px 40px rgba(30, 10, 60, .22); border: 1px solid var(--line); }
.me[open] > summary::before { content: ""; position: fixed; inset: 0; background: rgba(20, 10, 40, .28); z-index: 25; cursor: default; }
.me-grip { display: none; }
.me-conns { display: grid; gap: 6px; margin: 6px 0 12px; }
.me-cn { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); }
.me-cn b { display: block; font-size: 14px; } .me-cn small { color: var(--muted); font-size: 12px; }
.me-cn.on { border-color: var(--brand); background: var(--soft); }
.me-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; } .me-cn.on .me-radio { border: 5px solid var(--brand); }
.me-who { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); }
.me-who b { display: block; } .me-who small { color: var(--muted); font-size: 12.5px; }
.me-acc select { width: 100%; margin-top: 4px; padding: 8px; border: 1.5px solid var(--line); border-radius: 10px; }
.me-links { display: grid; margin: 4px 0 8px; } .me-links a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; color: var(--ink); border-top: 1px solid var(--line); }
.me-links .ic { color: var(--brand); }
.me-out { width: 100%; justify-content: center; }
@media (max-width: 560px) {
  .me-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; border-radius: 22px 22px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 85vh; overflow: auto; animation: meUp .2s ease-out; }
  .me-grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
}
@keyframes meUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Login code squares (owner, Nov 2026): one per digit, animated */
.otp-real { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; pointer-events: none; }
.otp-boxes { display: flex; gap: 12px; justify-content: center; margin: 10px 0 18px; }
.otp-box { width: 62px; height: 70px; border: 2px solid var(--line); border-radius: 16px; background: #fff; text-align: center; font-size: 30px; font-weight: 800; color: var(--ink);
  caret-color: var(--brand); outline: none; transition: border-color .15s, box-shadow .15s, transform .15s, background .15s; animation: otpIn .35s ease-out both; -moz-appearance: textfield; }
.otp-box:focus { border-color: var(--brand); box-shadow: 0 0 0 5px var(--soft), 0 8px 18px rgba(139, 44, 245, .18); transform: translateY(-3px); }
.otp-box.filled { border-color: var(--brand); background: var(--soft); color: var(--brand); }
.otp-box.pop { animation: otpPop .22s ease-out; }
.otp-boxes.done .otp-box { border-color: var(--ok); background: #eaf8f0; color: var(--ok); animation: otpOk .4s ease-out both; }
.otp-boxes.shake { animation: otpShake .45s ease-in-out; } .otp-boxes.shake .otp-box { border-color: var(--bad); }
@keyframes otpIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes otpPop { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes otpOk { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes otpShake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@media (max-width: 380px) { .otp-box { width: 54px; height: 62px; font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .otp-box, .otp-boxes { animation: none !important; transition: none; } }

/* Plan cards (owner, Nov 2026) */
.plc-wrap { margin: 0 0 14px; } .plc-list { display: grid; gap: 14px; }
@media (min-width: 720px) { .plc-list { grid-template-columns: 1fr 1fr; } }
.plc { position: relative; background: #fff; border: 1px solid #ece7f5; border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(40, 20, 80, .04), 0 10px 28px rgba(40, 20, 80, .07);
  border-top: 4px solid #1d1730; transition: transform .2s, box-shadow .2s, border-color .2s; }
.plc:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(40, 20, 80, .12); }
.plc.on { border-color: var(--brand); border-top-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 44, 245, .18), 0 14px 34px rgba(139, 44, 245, .16); }
.plc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.plc-ic { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #1d1730 0%, #2b1f5c 55%, var(--brand) 120%); }
.plc-ic svg { width: 28px; height: 28px; }
.plc-t { flex: 1; min-width: 0; } .plc-t h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; } .plc-t span { font-size: 13px; color: var(--muted); font-weight: 600; }
.plc-badge { flex: none; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--soft); border-radius: 999px; padding: 5px 11px; }
.plc-badge.hot { color: #b45309; background: #fff4e0; }
.plc-ticks { list-style: none; margin: 0; padding: 0; } .plc-ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid #f0ecf6; font-size: 14.5px; }
.plc-ticks li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; border-radius: 50%; background: #1d1730; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.plc-ticks em { font-style: normal; color: #d6336c; font-weight: 700; }
.plc-ent { padding: 12px 0 4px; border-bottom: 1px solid #f0ecf6; } .plc-ent .lab { margin-bottom: 8px; }
.plc-apps { display: flex; flex-wrap: wrap; gap: 7px; }
.plc-app { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e6e0f0; border-radius: 10px; padding: 5px 9px 5px 5px; font-size: 13px; font-weight: 600; background: #fff; }
.plc-app i { width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.plc-sym { width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: -.2px; flex: 0 0 24px; overflow: hidden; }
.plc-sym.long { font-size: 8.5px; } .plc-sym.has-logo { background: #fff; border: 1px solid #e6e0f0; } .plc-sym img { display: block; width: 100%; height: 100%; object-fit: contain; }
.plc-app { vertical-align: top; line-height: 1.2; }
.plc-more { display: contents; } .plc-more summary { list-style: none; cursor: pointer; border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1d1730, #2b1f5c); }
.plc-more summary::-webkit-details-marker { display: none; } .plc-more[open] summary { display: none; } .plc-more > .plc-apps { display: contents; }
.plc-price { padding: 12px 0 2px; } .plc-price .lab { color: var(--muted); }
.plc-amt { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 2px; } .plc-amt b { font-size: 38px; font-weight: 900; letter-spacing: -1.2px; line-height: 1; }
.plc-amt span { color: var(--muted); font-size: 14px; } .plc-amt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--soft); border-radius: 7px; padding: 3px 8px; align-self: center; }
.plc-price p { margin: 4px 0 12px; }
.plc-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border-radius: 13px; color: #fff; font-weight: 700; font-size: 15.5px;
  background: linear-gradient(110deg, #1d1730 0%, #3a2470 55%, var(--brand) 100%); box-shadow: 0 8px 18px rgba(58, 36, 112, .25); }
.plc.on .plc-cta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* Data usage (owner, Nov 2026: interactive) */
.u-head { display: flex; align-items: center; justify-content: space-between; } .u-head h1 { margin-bottom: 8px; }
.u-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); background: #f1eff6; border-radius: 999px; padding: 6px 12px; }
.u-live i { width: 9px; height: 9px; border-radius: 50%; background: #9a94ad; } .u-live.on { color: var(--ok); background: #e8f7ee; } .u-live.on i { background: var(--ok); animation: uPulse 1.6s infinite; }
@keyframes uPulse { 0% { box-shadow: 0 0 0 0 rgba(19, 138, 76, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(19, 138, 76, 0); } }
.u-seg { margin: 0 0 12px; }
.u-hero { display: flex; gap: 16px; align-items: center; color: #fff; border: 0; background: radial-gradient(circle at 90% 0, rgba(255, 255, 255, .18), transparent 45%), linear-gradient(140deg, #6a1fd0, var(--brand) 50%, var(--brand-2)); }
.u-hero .lab { color: rgba(255, 255, 255, .8); } .u-hero p { margin: 4px 0 0; } .u-fun { font-size: 13.5px; opacity: .95; }
.u-ring { position: relative; width: 132px; height: 132px; flex: none; }
.u-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.u-track { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 11; }
.u-arc { fill: none; stroke: url(#ug); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: uArc 1.4s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
@keyframes uArc { to { stroke-dashoffset: calc(100 - var(--p)); } }
.u-ring-in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .u-ring-in b { font-size: 28px; font-weight: 900; letter-spacing: -.8px; line-height: 1; } .u-ring-in span { font-size: 11.5px; opacity: .85; }
.u-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.u-st { background: #fff; border: 1px solid #ece7f5; border-radius: 16px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(40, 20, 80, .05); animation: otpIn .45s ease-out both; }
.u-st:nth-child(2) { animation-delay: .06s; } .u-st:nth-child(3) { animation-delay: .12s; } .u-st:nth-child(4) { animation-delay: .18s; }
.u-st span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; } .u-st b { font-size: 22px; font-weight: 800; letter-spacing: -.4px; } .u-st small { color: var(--muted); margin-left: 3px; }
.u-split { height: 9px; border-radius: 9px; background: #f7c7e3; overflow: hidden; margin: 8px 0 5px; } .u-split i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #a855f7); border-radius: 9px; }
.u-st:last-child small { margin: 0; font-size: 11.5px; white-space: nowrap; letter-spacing: -.2px; }
.u-detail { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.u-detail span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; } .u-detail b[data-ud-total] { font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.u-dl { display: grid; gap: 3px; text-align: right; font-size: 13px; } .u-dl span { color: var(--ink); font-weight: 500; }
i.dn, i.upc { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); vertical-align: middle; margin-right: 2px; } i.upc { background: #f472b6; }
.u-chart { overflow: hidden; } /* the busiest-day outline never spills over the header */
.u-bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 8px; box-sizing: border-box; }
.u-bars.lbl .u-col { height: calc(var(--h) * .86); } /* leave room for the weekday letters */ .u-bars.dense { gap: 2px; }
.u-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; border: 0; background: none; padding: 0; cursor: pointer; min-width: 0; }
.u-col { width: 100%; max-width: 26px; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(to top, var(--brand) 0, #a855f7 var(--dn), #f472b6 var(--dn), #f9a8d4 100%);
  opacity: .55; transform-origin: bottom; animation: uGrow .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 25ms); transition: opacity .15s, transform .15s; }
.u-bar em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.u-bar.on .u-col { opacity: 1; box-shadow: 0 6px 14px rgba(139, 44, 245, .35); transform: scaleX(1.12); } .u-bar.on em { color: var(--brand); }
.u-bar.top .u-col { outline: 2px dashed rgba(214, 51, 108, .45); outline-offset: 2px; }
@keyframes uGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.u-fold > summary { cursor: pointer; font-weight: 700; list-style: none; } .u-fold > summary::-webkit-details-marker { display: none; } .u-fold > summary::after { content: "›"; float: right; transition: transform .2s; color: var(--muted); } .u-fold[open] > summary::after { transform: rotate(90deg); }
.u-tl { list-style: none; margin: 10px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); } .u-tl li { position: relative; padding: 0 0 12px 8px; font-size: 14px; }
.u-tl li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px #f3edfe; } .u-tl li.live::before { background: var(--ok); animation: uPulse 1.6s infinite; }
@media (prefers-reduced-motion: reduce) { .u-arc, .u-col, .u-st { animation: none !important; } .u-arc { stroke-dashoffset: calc(100 - var(--p)); } }

@keyframes ublIn { from { opacity: 0; } to { opacity: 1; } }   /* also used by the welcome tour; the loaders live in loaders.css */

/* Day-by-day table: date on one line, weekday small under it; numbers never wrap */
.u-days th, .u-days td { padding-left: 6px; padding-right: 6px; } .u-days td.num { white-space: nowrap; }
.u-date { white-space: nowrap; } .u-date b { display: block; font-weight: 600; } .u-date small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 420px) { .u-days { font-size: 13.5px; } .u-days th { font-size: 11px; } }

/* Install the app page: this device's steps first and highlighted */
.ga-hero { display: flex; gap: 14px; align-items: center; } .ga-ico { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 16px rgba(40, 20, 80, .18); flex: none; }
.ga-btn { width: 100%; margin: 0 0 14px; }
.ga-list { display: flex; flex-direction: column; } .ga-steps h2 { margin: 0 0 6px; font-size: 17px; }
.ga-steps ol { margin: 0; padding-left: 20px; line-height: 1.6; } .ga-k { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: var(--soft); color: var(--brand); font-weight: 700; }
html.is-ios .ga-ios, html.is-android .ga-android, html.is-desktop .ga-desktop { order: -1; border: 2px solid var(--brand); }
html.is-ios .ga-ios::before, html.is-android .ga-android::before, html.is-desktop .ga-desktop::before { content: "For this phone"; display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
html.is-desktop .ga-desktop::before { content: "For this computer"; }

/* Profile → Signed-in devices: one row per device with its own Sign out */
.dev-list { list-style: none; margin: 6px 0 0; padding: 0; }
.dev-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); } .dev-list li:last-child { border-bottom: 0; }
.dev-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--brand); }
.dev-list li.me .dev-ico { background: #e8f7ee; color: var(--ok); }
.dev-txt { flex: 1; min-width: 0; font-size: 14px; } .dev-txt b { font-weight: 700; } .dev-txt span:not(.chip) { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.dev-out { color: var(--bad, #c0263b); border-color: #f3c9cf; white-space: nowrap; }
.dev-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .dev-actions form, .dev-actions .btn { width: 100%; }
.btn.danger-o { color: var(--bad, #c0263b); border-color: #f3c9cf; }

/* Bills & payments (owner, Nov 2026): hero with one action, 3-way switch, rows grouped by month */
.tabs { scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
.bl-hero { color: #fff; border: 0; background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 45%), linear-gradient(140deg, #6a1fd0, var(--brand) 55%, var(--brand-2)); }
.bl-hero.clear { background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .22), transparent 45%), linear-gradient(140deg, #0f8a5f, #18a571 60%, #3cc28b); }
.bl-hero.late { background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 45%), linear-gradient(140deg, #b4232f, #d6336c 60%, #f0657c); }
.bl-hero .lab { color: rgba(255, 255, 255, .85); }
.bl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bl-amt { font-size: 34px; font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-top: 2px; }
.bl-pill { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.btn.bl-pay { width: 100%; margin-top: 14px; background: #fff; color: var(--brand); border: 0; font-weight: 800; box-shadow: 0 6px 16px rgba(20, 0, 60, .2); }
.bl-hero.late .btn.bl-pay { color: #b4232f; }
.bl-note { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .9); }
.bl-seg { margin: 4px 0 6px; overflow: visible; } .bl-seg a { flex: 1 1 0; } .bl-seg small { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 11.5px; margin-left: 4px; }
.bl-seg a.on small { background: var(--brand); color: #fff; }
.bl-month { margin: 16px 4px 6px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.bl-list { list-style: none; margin: 0; padding: 4px 0; background: #fff; border: 1px solid #ece7f5; border-radius: 16px; box-shadow: 0 6px 18px rgba(40, 20, 80, .05); }
.bl-list li { display: flex; align-items: center; } .bl-list li + li { border-top: 1px solid var(--line); }
.bl-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 14px; color: var(--ink); text-decoration: none; }
.bl-row:active { background: var(--soft); }
.bl-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff4e0; color: #b26a00; }
.bl-ico.ok { background: #e8f7ee; color: var(--ok); } .bl-ico.bad { background: #fde8eb; color: #c0263b; }
.bl-txt { flex: 1; min-width: 0; } .bl-txt b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-txt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-sum { text-align: right; flex: none; } .bl-sum b { display: block; font-size: 15px; white-space: nowrap; } .bl-sum b.small { font-size: 12px; font-weight: 600; color: var(--muted); }
.bl-sum em { font-style: normal; font-size: 11.5px; font-weight: 700; } .bl-sum em.ok { color: var(--ok); } .bl-sum em.warn { color: #b26a00; } .bl-sum em.bad { color: #c0263b; } .bl-sum em.muted { color: var(--muted); font-weight: 600; }
.bl-dl { flex: none; width: 44px; height: 44px; margin-right: 6px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); }
.bl-dl:active, .bl-dl:hover { background: var(--soft); }
.bl-empty { text-align: center; padding: 30px 20px; } .bl-empty b { display: block; font-size: 17px; margin: 10px 0 4px; }
.bl-eico { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; } .bl-eico .ic { width: 28px; height: 28px; }
.bl-help { margin: 16px 0 4px; }

/* How to use the app */
.guidelink { border: 1.5px solid #e2d4fb; }
.gd-top { display: grid; gap: 10px; } .gd-search { width: 100%; padding: 12px 14px; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; }
.gd-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gd-item { padding: 0; overflow: hidden; } .gd-item > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.gd-item > summary::-webkit-details-marker { display: none; } .gd-item > summary::after { content: "›"; margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .2s; } .gd-item[open] > summary::after { transform: rotate(90deg); }
.gd-t b { display: block; font-size: 15.5px; } .gd-t span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.gd-item > :not(summary) { margin-left: 16px; margin-right: 16px; } .gd-item[open] { padding-bottom: 14px; }
.gd-where { font-size: 13px; color: var(--muted); margin-top: 0; }
.gd-steps { list-style: none; counter-reset: g; padding: 0; } .gd-steps li { counter-increment: g; position: relative; padding: 6px 0 6px 36px; line-height: 1.5; font-size: 14.5px; }
.gd-steps li::before { content: counter(g); position: absolute; left: 0; top: 5px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.gd-img { display: block; width: min(260px, 80%); margin: 8px auto 12px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(40, 20, 80, .14); }
.gd-tips { background: #fff8e6; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; color: #5b4a12; } .gd-tips p { margin: 4px 0; }
.gd-open { display: block; text-align: center; margin-top: 12px; }

/* Welcome tour (first sign-in on a phone) */
.tour { position: fixed; inset: 0; z-index: 9000; background: rgba(20, 8, 45, .55); backdrop-filter: blur(3px); display: grid; place-items: end center; padding: 16px; animation: ublIn .25s ease-out; }
.tour[hidden] { display: none; }
.tour-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 26px; padding: 30px 22px 18px; text-align: center; box-shadow: 0 20px 60px rgba(20, 0, 60, .35); animation: otpIn .35s ease-out; margin-bottom: max(8px, env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .tour { place-items: center; } }
.tour-skip { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px; }
.tour-slide { display: none; } .tour-slide.on { display: block; animation: otpIn .3s ease-out; }
.tour-ico { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 26px; display: grid; place-items: center; font-size: 42px; background: linear-gradient(135deg, #f3e8ff, #ffe4f1); box-shadow: inset 0 0 0 1px #eadbfd; }
.tour-slide h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.3px; } .tour-slide p { margin: 0 auto; max-width: 330px; color: var(--muted); line-height: 1.55; font-size: 15px; min-height: 70px; }
.tour-dots { display: flex; justify-content: center; gap: 6px; margin: 16px 0 14px; } .tour-dots i { width: 7px; height: 7px; border-radius: 7px; background: #e3d8f5; transition: width .25s, background .25s; } .tour-dots i.on { width: 22px; background: var(--brand); }
.tour-next { width: 100%; } .tour-more { display: inline-block; margin-top: 10px; color: var(--muted); }

/* Wi-Fi name & password (prefix pattern) */
.wf-now, .wf-empty { display: flex; gap: 14px; align-items: center; } .wf-empty { flex-direction: column; text-align: center; }
.wf-orb { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px rgba(139, 44, 245, .3); }
.wf-orb.off { background: #e9e5f2; color: var(--muted); box-shadow: none; } .wf-orb .ic { width: 24px; height: 24px; }
.wf-now b { display: block; font-size: 18px; word-break: break-all; }
.wf-name { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; margin-top: 6px; }
.wf-name:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 44, 245, .15); }
.wf-pre { display: grid; place-items: center; padding: 0 10px; background: var(--soft); color: var(--brand); font-weight: 800; font-size: 15px; border-right: 1px solid var(--line); white-space: nowrap; }
.wf-name input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; margin: 0 !important; font-size: 16px; padding: 12px; outline: none; }
.wf-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 16px; }
.wf-prev > div { border: 1px solid #ece7f5; border-radius: 14px; padding: 10px 12px; background: #fcfaff; min-width: 0; }
.wf-prev b { display: block; font-size: 14px; margin: 4px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wf-prev small { color: var(--muted); font-size: 11.5px; }
.wf-band { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; background: #e8f1ff; color: #2a5bd7; } .wf-band.g5 { background: #f3e8ff; color: var(--brand); }
.wf-pw { display: flex; gap: 6px; margin-top: 6px; } .wf-pw input { flex: 1; margin: 0 !important; } .wf-eye { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0 12px; font-weight: 600; color: var(--brand); }
.wf-meter { height: 6px; border-radius: 6px; background: #eee9f6; overflow: hidden; margin: 8px 0 4px; } .wf-meter i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .25s, background .25s; }
.wf-go { width: 100%; margin-top: 6px; }
.wf-link { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; } .wf-link .ic { width: 22px; height: 22px; color: var(--brand); } .wf-link b { display: block; } .wf-link small { color: var(--muted); } .wf-link .go { margin-left: auto; color: var(--muted); font-size: 22px; }

/* My router */
.rt-hero { color: #fff; border: 0; background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 45%), linear-gradient(140deg, #6a1fd0, var(--brand) 55%, var(--brand-2)); }
.rt-hero.off { background: linear-gradient(140deg, #5d5a6e, #7d7990); }
.rt-top { display: flex; gap: 14px; align-items: center; } .rt-top b { display: block; font-size: 18px; } .rt-top span:not(.rt-orb) { font-size: 13px; opacity: .9; }
.rt-orb { position: relative; width: 50px; height: 50px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; } .rt-orb .ic { width: 24px; height: 24px; }
.rt-orb i { position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: #35d07f; border: 2px solid #fff; animation: uPulse 1.6s infinite; } .rt-hero.off .rt-orb i { background: #f0a020; animation: none; }
.rt-stats { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; margin-top: 16px; } .rt-stats div { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.rt-stats b { display: block; font-size: 18px; font-weight: 800; } .rt-stats span { font-size: 11.5px; opacity: .85; } .rt-ssid { font-size: 13px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-warn { margin: 12px 0 0; font-size: 13px; background: rgba(0, 0, 0, .18); padding: 8px 10px; border-radius: 10px; }
.rt-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 14px; } .rt-actions form { margin: 0; }
.rt-act { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; background: #fff; border: 1px solid #ece7f5; border-radius: 16px; font-size: 12px; font-weight: 700; color: var(--ink); text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 4px 12px rgba(40, 20, 80, .05); line-height: 1.25; }
.rt-act span { font-size: 22px; width: 42px; height: 42px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; }
.rt-h { display: flex; justify-content: space-between; align-items: center; } .rt-h h2 { margin: 0 0 6px; }
.rt-dev { border-bottom: 1px solid var(--line); } .rt-dev:last-of-type { border-bottom: 0; }
.rt-dev > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; } .rt-dev > summary::-webkit-details-marker { display: none; }
.rt-dico { width: 42px; height: 42px; flex: none; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 21px; }
.rt-dev.idle .rt-dico { filter: grayscale(1); opacity: .6; } .rt-dev.blk .rt-dico { background: #fde8eb; }
.rt-dtxt { flex: 1; min-width: 0; } .rt-dtxt b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rt-dtxt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.rt-dev.blk .rt-dtxt span { color: #c0263b; font-weight: 600; }
.rt-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; flex: none; } .rt-sig i { width: 4px; border-radius: 2px; background: #e3dcf0; }
.rt-sig i:nth-child(1) { height: 5px; } .rt-sig i:nth-child(2) { height: 9px; } .rt-sig i:nth-child(3) { height: 13px; } .rt-sig i:nth-child(4) { height: 18px; }
.rt-sig.s1 i:nth-child(-n+1) { background: #e0453a; } .rt-sig.s2 i:nth-child(-n+2) { background: #f0a020; } .rt-sig.s3 i:nth-child(-n+3) { background: #2bb673; } .rt-sig.s4 i { background: #2bb673; }
.rt-cable { color: var(--muted); font-size: 18px; }
.rt-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 12px 54px; font-size: 13px; } .rt-info dt { color: var(--muted); font-size: 11.5px; } .rt-info dd { margin: 0; font-weight: 600; word-break: break-all; }
.rt-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px 54px; } .rt-btns form { margin: 0; } .rt-blk { color: #c0263b; border-color: #f3c9cf; }
.rt-guest .rt-btns, .rt-gform .rt-btns { margin-left: 0; }
.rt-bl { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); } .rt-bl small { display: block; color: var(--muted); font-size: 12px; } .rt-bl form { margin: 0; }
.rt-gname { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 12px; padding: 10px 12px; margin: 6px 0 10px; } .rt-gname span { color: var(--muted); font-size: 13px; }
.rt-gform > summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 6px 0; }
@media (max-width: 360px) { .rt-actions { grid-template-columns: repeat(2, 1fr); } .rt-info { margin-left: 0; } .rt-btns { margin-left: 0; } }

/* UPI logo */
.upi-logo { height: 14px; width: auto; vertical-align: -2px; display: inline-block; }

/* Home (owner, Nov 2026) */
.hm-hi { display: flex; justify-content: space-between; align-items: flex-end; margin: 4px 2px 14px; gap: 10px; }
.hm-hi span { display: block; color: var(--muted); font-size: 14px; font-weight: 600; } .hm-hi b { font-size: 26px; letter-spacing: -.6px; }
.hm-req { font-size: 13px; font-weight: 700; color: var(--brand); background: var(--soft); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.hm-alert { display: flex; align-items: center; gap: 12px; border: 1.5px solid #f6c3cb; background: #fff5f6; } .hm-alert > span { font-size: 24px; }
.hm-alert div { flex: 1; } .hm-alert b { display: block; color: #b4232f; } .hm-alert small { color: var(--muted); } .hm-alert form { margin: 0; }
.hm-plan { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 20px; margin: 0 0 14px; box-shadow: 0 14px 34px rgba(106, 31, 208, .32);
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .22), transparent 42%), radial-gradient(circle at 0 100%, rgba(255, 120, 200, .35), transparent 45%), linear-gradient(140deg, #5a17c4, var(--brand) 50%, var(--brand-2)); }
.hm-plan.bad { background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(140deg, #8d1d2c, #c0263b 55%, #ec5d74); box-shadow: 0 14px 34px rgba(192, 38, 59, .3); }
.hm-plan::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .07); }
.hm-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hm-lab { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; opacity: .8; }
.hm-pl h2 { margin: 4px 0 2px; font-size: 22px; line-height: 1.2; letter-spacing: -.4px; color: #fff; } .hm-price { font-size: 13px; opacity: .9; }
.hm-ring { --p: 0; flex: none; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .22) 0); }
.hm-ring > div { width: 70px; height: 70px; border-radius: 50%; background: rgba(60, 10, 120, .55); display: grid; place-content: center; text-align: center; } .hm-plan.bad .hm-ring > div { background: rgba(110, 10, 30, .5); }
.hm-ring b { font-size: 24px; line-height: 1; font-weight: 900; } .hm-ring span { font-size: 10px; opacity: .85; }
.hm-ring.exp b { font-size: 15px; } .hm-ring.exp span { font-size: 11px; }
.hm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 12px; } .hm-facts div { background: rgba(255, 255, 255, .14); border-radius: 14px; padding: 9px 10px; min-width: 0; }
.hm-facts span { display: block; font-size: 11px; opacity: .85; } .hm-facts b { display: block; font-size: 14.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; } .hm-status a { margin-left: auto; color: #fff; opacity: .9; font-weight: 700; }
.hm-dot { width: 9px; height: 9px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 3px rgba(53, 208, 127, .3); } .hm-plan.warn .hm-dot { background: #ffc24a; box-shadow: 0 0 0 3px rgba(255, 194, 74, .3); } .hm-plan.bad .hm-dot { background: #fff; }
.hm-bens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .hm-bens span { font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px 10px; }
.hm-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
.btn.hm-renew { background: #fff; color: var(--brand); border: 0; font-weight: 800; box-shadow: 0 8px 18px rgba(20, 0, 60, .22); } .hm-plan.bad .btn.hm-renew { color: #b4232f; }
.btn.hm-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.hm-ap { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border: 1.5px solid #e6dcfb; } .hm-ap.on { border-color: #bfe9cf; background: #f6fdf9; }
.hm-upi { flex: none; width: 66px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid #ece7f5; display: grid; place-content: center; justify-items: center; gap: 1px; } .hm-upi .upi-logo { height: 15px; }
.hm-upi small { font-size: 9.5px; font-weight: 800; color: var(--muted); letter-spacing: .3px; }
.hm-aptxt { flex: 1; min-width: 0; } .hm-aptxt b { display: block; font-size: 14.5px; } .hm-aptxt small { display: block; color: var(--muted); font-size: 12.5px; } .hm-ap .go { color: var(--muted); font-size: 22px; }
.hm-setup { display: flex; gap: 12px; align-items: center; } .hm-setup > span { font-size: 28px; } .hm-setup b { display: block; } .hm-setup small { color: var(--muted); }
.hm-pay { border: 1.5px solid #ece7f5; } .hm-pay.late { border-color: #f6c3cb; background: #fff8f9; } .hm-pay.clear { background: linear-gradient(135deg, #f4fdf8, #fff); border-color: #c9eed8; }
.hm-payrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .hm-payrow b { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.8px; line-height: 1.15; }
.hm-payrow small { display: block; font-size: 12.5px; color: var(--muted); } .hm-payrow form { margin: 0; }
.btn.hm-paybtn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .btn.hm-paybtn .upi-logo { height: 13px; background: #fff; border-radius: 4px; padding: 2px 4px; box-sizing: content-box; }
.hm-ok { width: 46px; height: 46px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 900; box-shadow: 0 6px 14px rgba(31, 157, 85, .3); }
.hm-cycle { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); } .hm-cycle.red { color: #b4232f; }
.hm-upis { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.hm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 14px; }
.hm-tiles a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid #ece7f5; border-radius: 18px; padding: 12px 4px; box-shadow: 0 4px 12px rgba(40, 20, 80, .05); line-height: 1.2; }
.hm-tiles span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.hm-tiles .t1 { background: #ece4ff; } .hm-tiles .t2 { background: #e2f1ff; } .hm-tiles .t3 { background: #fff1db; } .hm-tiles .t4 { background: #ffe3ea; }
.hm-acct > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; } .hm-acct > summary::-webkit-details-marker { display: none; }
@media (max-width: 350px) { .hm-tiles { grid-template-columns: repeat(2, 1fr); } .hm-facts { grid-template-columns: 1fr 1fr; } }

/* UPI AutoPay page */
.ap-hero { border-radius: 24px; padding: 20px; margin: 0 0 14px; color: #fff; text-align: center; background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .2), transparent 45%), linear-gradient(140deg, #5a17c4, var(--brand) 55%, var(--brand-2)); box-shadow: 0 14px 34px rgba(106, 31, 208, .28); }
.ap-hero.on { background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .22), transparent 45%), linear-gradient(140deg, #0f8a5f, #18a571 60%, #3cc28b); box-shadow: 0 14px 34px rgba(15, 138, 95, .25); }
.ap-logo { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 8px 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); } .ap-logo .upi-logo { height: 21px; }
.ap-logo span { color: #3d3a4f; font-weight: 900; font-size: 15px; letter-spacing: -.2px; }
.ap-hero h2 { margin: 14px 0 6px; font-size: 22px; color: #fff; } .ap-hero p { margin: 0 auto; max-width: 330px; font-size: 14px; opacity: .95; line-height: 1.5; }
.ap-apps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .ap-apps span { font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .17); border-radius: 999px; padding: 4px 10px; }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; } .ap-grid div { background: var(--soft); border-radius: 14px; padding: 10px 12px; }
.ap-grid span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; } .ap-grid b { display: block; font-size: 18px; margin: 2px 0; } .ap-grid small { font-size: 11.5px; color: var(--muted); }
.ap-steps { list-style: none; counter-reset: a; padding: 0; margin: 4px 0 16px; } .ap-steps li { counter-increment: a; position: relative; padding: 8px 0 8px 40px; }
.ap-steps li::before { content: counter(a); position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ap-steps b { display: block; font-size: 14.5px; } .ap-steps span { font-size: 13px; color: var(--muted); }
.btn.ap-wide { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; } .btn.ap-wide .upi-logo { height: 15px; background: #fff; border-radius: 4px; padding: 2px 5px; box-sizing: content-box; }
.ap-st { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .ap-st b { display: block; font-size: 17px; } .ap-st small { color: var(--muted); }
.ap-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff; background: #1f9d55; } .ap-ic.warn { background: #e8a317; } .ap-ic.bad { background: #c0263b; }
.ap-empty { text-align: center; } .ap-big { font-size: 40px; display: block; } .ap-empty b { display: block; font-size: 18px; margin: 6px 0; }

/* History */
.bl-ico.blue { background: #e6f0ff; color: #2a5bd7; } .bl-sum b.in { color: var(--ok); }
.hs-tl { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; border-left: 2px solid #e6dcfb; }
.hs-tl li { position: relative; margin: 0 0 12px; } .hs-tl li::before { content: ""; position: absolute; left: -30px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #cdbdf3; box-shadow: 0 0 0 4px #f4f3fa; }
.hs-tl li.now::before { background: var(--ok); box-shadow: 0 0 0 4px #e8f7ee; } .hs-tl li.up::before { background: var(--brand); }
.hs-card { background: #fff; border: 1px solid #ece7f5; border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 12px rgba(40, 20, 80, .04); } .hs-tl li.now .hs-card { border-color: #bfe9cf; }
.hs-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; } .hs-card > span { display: block; font-size: 13px; margin-top: 4px; } .hs-card small { color: var(--muted); font-size: 12px; }
.hm-facts b { white-space: normal; font-size: 14px; line-height: 1.25; }
.otp-note { margin: -4px 0 14px; } .otp-agree { text-align: center; margin: 10px 0 0; font-size: 12.5px; }
/* month tiles: free extra + % OFF side by side (owner, Nov 2026) */
.dur .tags { position: absolute; top: -9px; right: 8px; display: flex; gap: 4px; }
.dur .tags .tag { position: static; }
.tag.off { background: #0f9d58; }

/* Recharge → Duration tiles (owner, Nov 2026): badges INSIDE the tile, a radio dot, per-month + saving lines; premium look */
.durs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dur { padding: 14px 14px 13px; gap: 4px; border-radius: 16px; border: 1.5px solid #e7e1f3; box-shadow: 0 2px 10px rgba(40, 20, 80, .05); transition: border-color .15s, box-shadow .15s, transform .12s; text-decoration: none; }
.dur:active { transform: scale(.98); }
.dur.on { border-color: var(--brand); background: linear-gradient(180deg, #fbf8ff, #f4edff); box-shadow: 0 0 0 3px rgba(139, 44, 245, .14), 0 8px 22px rgba(139, 44, 245, .14); }
.dur-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dur-len { font-size: 15px; font-weight: 700; }
.dur-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfc4e6; flex: none; position: relative; }
.dur.on .dur-radio { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.dur .tags { position: static; display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 2px; }
.dur .tag, .dur .tags .tag { position: static; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; line-height: 1.2; white-space: nowrap; }
.dur .tag.hot { background: #fff1e8; color: #c2410c; } .dur .tag.off { background: #e7f7ee; color: #0f7a45; } .dur .tag.best { background: #f1ebff; color: var(--brand); }
.dur .price { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 2px; }
.dur-pm { font-size: 12.5px; color: var(--muted); } .dur-save { font-size: 12.5px; font-weight: 700; color: #0f7a45; }
.pcard.summary { border: 1.5px solid #d9c6fb; box-shadow: 0 10px 30px rgba(139, 44, 245, .10); scroll-margin-top: 80px; }
.pcard.summary .topay td { padding-top: 10px; border-top: 1px dashed #e2d8f5; }
.pay-btn { font-size: 16px; padding: 14px; }
@media (max-width: 360px) { .durs { gap: 8px; } .dur { padding: 12px 10px; } .dur .price { font-size: 19px; } }
.hs-save { color: #15803d; font-weight: 600; }

/* ---- Review round (Nov 2026): back button, empty states, easier taps ---- */
.top-back { display: grid; place-items: center; width: 40px; height: 40px; margin: -3px -4px -3px -8px; border-radius: 12px; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.top-back:active { background: var(--soft); }
.empty-state { text-align: center; padding: 28px 20px; }
.empty-state .es-ico { font-size: 40px; line-height: 1; }
.empty-state h2 { margin: 12px 0 6px; font-size: 18px; }
.empty-state p { margin: 0 0 10px; }
.es-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@media (max-width: 340px) { .es-btns { grid-template-columns: 1fr; } }
/* small text links ("Details ›", "Ask us") get a finger-size tap area without moving the text */
.hm-cycle a, .bl-ask a, p.small > a, p.muted > a, .pcard > a.small { display: inline-block; padding: 9px 6px; margin: -9px -6px; }
.hm-status a { padding: 9px 6px; margin: -9px -6px -9px auto; }
/* the plan card's decorative ring lay over "Details ›" and swallowed the tap */
.hm-plan::after { pointer-events: none; }
/* sign-in pages: the message sits inside the card (portal.js moves it there) */
.auth-card > .flash { position: static; transform: none; width: auto; margin: 0 0 16px; box-shadow: none; }

/* Ticket conversation (owner, Nov 2026): our messages left, the customer's right */
.tk-chat li.msg { border-left: 0; padding-left: 0; display: flex; flex-direction: column; }
.tk-chat li.msg .bubble { max-width: 85%; padding: 10px 12px; border-radius: 14px; background: #f1f0fb; line-height: 1.4; overflow-wrap: anywhere; }
.tk-chat li.msg.me { align-items: flex-end; } .tk-chat li.msg.me .bubble { background: linear-gradient(135deg, #6d28d9, #4f46e5); color: #fff; border-bottom-right-radius: 4px; }
.tk-chat li.msg.them .bubble { border-bottom-left-radius: 4px; }
.tk-chat li.msg .small { margin-top: 3px; }
.tk-reply { margin-top: 12px; } .tk-reply textarea { width: 100%; box-sizing: border-box; }

/* Recharge step by step (owner, Nov 2026): Type → Speed → Months → Pay; each step slides up like a sheet */
.rw-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.rw-head h1 { margin: 0; }
.rw-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; counter-reset: none; }
.rw-steps li { flex: 1; min-width: 0; }
.rw-steps li > a, .rw-steps li { color: inherit; text-decoration: none; }
.rw-steps li b, .rw-steps li a b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ece8f5; color: #6b6480; font-size: 13px; margin: 0 auto 4px; }
.rw-steps li span, .rw-steps li a span { display: block; text-align: center; font-size: 12px; font-weight: 600; color: #8a84a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-steps li { position: relative; padding-top: 0; }
.rw-steps li::before { content: ""; position: absolute; top: 12px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: #ece8f5; pointer-events: none; }
.rw-steps li:first-child::before { display: none; }
.rw-steps li.done b { background: #16a34a; color: #fff; } .rw-steps li.done::before, .rw-steps li.on::before { background: #7c3aed; }
.rw-steps li.on b { background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff; box-shadow: 0 4px 12px rgba(124, 58, 237, .35); }
.rw-steps li.on span { color: #1d1b26; }
.rw-body { animation: rw-up .28s ease-out; }
@keyframes rw-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rw-body { animation: none; } }
.rw-q { margin: 6px 4px 10px; }
.rw-list { display: grid; gap: 12px; }
.rw-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #e6e0f0; border-radius: 16px; padding: 14px; color: inherit; text-decoration: none; box-shadow: 0 6px 18px rgba(40, 20, 80, .06); }
a.rw-card:active, .rw-tap:active { transform: scale(.99); }
.rw-card.cur { border-color: #a78bfa; }
.rw-speed { display: block; padding: 0; }
.rw-tap { display: flex; align-items: center; gap: 12px; padding: 14px; color: inherit; text-decoration: none; }
.rw-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f1ecfb; font-size: 20px; flex: 0 0 40px; }
.rw-ic.big { width: 48px; height: 48px; flex-basis: 48px; font-size: 24px; }
.rw-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rw-main b { font-size: 16px; } .rw-main small { color: #6b6480; font-size: 13px; }
.rw-syms { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; align-items: center; }
.rw-more { font-size: 12px; font-weight: 700; color: #6b6480; padding: 0 4px; }
.rw-price { text-align: right; display: flex; flex-direction: column; flex: 0 0 auto; }
.rw-price small { font-size: 11px; color: #6b6480; } .rw-price b { font-size: 20px; line-height: 1.1; }
.rw-mbps { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, #1d1b26, #5b21b6); color: #fff; flex: 0 0 58px; }
.rw-mbps b { font-size: 20px; line-height: 1; } .rw-mbps small { font-size: 10px; opacity: .8; }
.rw-main .rw-badge { align-self: flex-start; }
.rw-badge { display: inline-block; font-size: 11px; font-weight: 700; background: #ede9fe; color: #6d28d9; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.rw-badge.hot { background: #fff1e6; color: #c2410c; }
.rw-det { border-top: 1px dashed #e6e0f0; padding: 8px 14px 12px; }
.rw-det > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #6d28d9; padding: 4px 0; }
.rw-bens { margin: 6px 0 8px 18px; padding: 0; font-size: 13px; }
.rw-repeat { margin-bottom: 4px; }
.rw-repeat button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-radius: 16px; padding: 14px; color: #fff; background: linear-gradient(135deg, #7c3aed, #c026d3); box-shadow: 0 8px 20px rgba(124, 58, 237, .3); cursor: pointer; font: inherit; }
.rw-repeat .rw-ic { background: rgba(255, 255, 255, .2); color: #fff; }
.rw-repeat span { display: flex; flex-direction: column; } .rw-repeat small { opacity: .9; font-size: 13px; }
.rw-repeat .rw-amt { margin-left: auto; font-weight: 800; font-size: 17px; white-space: nowrap; }
.rw-or { text-align: center; margin: 14px 0 6px; font-size: 13px; color: #8a84a0; position: relative; }
.rw-or span { background: var(--bg, #f5f3fa); padding: 0 10px; position: relative; }
.rw-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #e6e0f0; pointer-events: none; }
.rw-picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f6f2ff; border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; color: inherit; text-decoration: none; }
.rw-picked span { display: flex; flex-direction: column; } .rw-picked small { font-size: 11px; color: #6b6480; text-transform: uppercase; letter-spacing: .5px; }
.rw-chg { color: #6d28d9; font-weight: 700; font-size: 14px; }
@media (max-width: 360px) { .rw-price b { font-size: 17px; } .rw-mbps { width: 50px; height: 50px; flex-basis: 50px; } }
.rw-offer { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #c2410c; background: #fff1e6; border-radius: 999px; padding: 3px 9px; }


/* Home slideshow: ads & offers per zone (Customers → App banners & offers, AppSlides) — swipe, moves by itself */
.sld-wrap { margin: 14px 0; }
.sld-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 18px; }
.sld-track::-webkit-scrollbar { display: none; }
.sld { position: relative; flex: 0 0 100%; aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--c, #7c3aed), #1d1b26); display: flex; align-items: flex-end; box-shadow: 0 10px 24px rgba(40, 20, 80, .14); }
.sld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sld-txt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; width: 100%; box-sizing: border-box; }
.sld.pic .sld-txt { background: linear-gradient(transparent, rgba(0, 0, 0, .62)); padding-top: 36px; }
.sld-txt b { font-size: 20px; line-height: 1.2; } .sld-txt small { font-size: 13px; opacity: .92; }
.sld-txt em { align-self: flex-start; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 13px; background: #fff; color: #1d1b26; border-radius: 999px; padding: 6px 14px; }
.sld-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.sld-dots i { width: 7px; height: 7px; border-radius: 4px; background: #d8cdf0; transition: width .2s, background .2s; }
.sld-dots i.on { width: 20px; background: #7c3aed; }

/* "Opening secure payment…" page between Pay and the gateway */
.go-now { padding: 34px 18px; }
.go-spin { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; border: 5px solid #e7dcfa; border-top-color: #7c3aed; animation: goSpin .9s linear infinite; }
@keyframes goSpin { to { transform: rotate(360deg); } }
.go-late { opacity: 0; animation: goLate .3s 4s forwards; }     /* the link shows only if the jump did not happen */
@keyframes goLate { to { opacity: 1; } }
/* OTT apps on the Months / Pay steps: "📺 N OTT apps included · See apps" opens the full list */
.rw-apps { background: #fff; border: 1px solid #e6e0f0; border-radius: 14px; margin: 0 0 10px; }
.rw-apps > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; }
.rw-apps > summary::-webkit-details-marker { display: none; }
.rw-apps-t { font-size: 14px; } .rw-apps .rw-syms { margin-top: 0; flex: 1 1 auto; }
.rw-apps-see { margin-left: auto; font-size: 13px; font-weight: 700; color: #6d28d9; padding: 6px 2px; }
.rw-apps[open] .rw-apps-see { font-size: 0; } .rw-apps[open] .rw-apps-see::after { content: "Hide"; font-size: 13px; }
.rw-apps > .plc-apps { padding: 0 14px 12px; }
.summary .rw-apps { margin: 4px 0 12px; }
