/* PAYKOHFI portal design system.
   Idea: the payment slip. Navy is the lagoon at night, light canvas is the shore, green only ever means "money arrived / verified".
   Slips (perforated paper) are the one memorable element; everything around them stays quiet. */
:root {
  color-scheme: dark;
  --navy-950: #040920; --navy-900: #081231; --navy-800: #0f1b40; --navy-700: #1a2a66; --navy-600: #2a3b80;
  --bg: #050b22; --bg2: #070f2a;
  --ink: #eef2ff; --muted: #8e9cc7; --faint: #6f7ca8; --line: #1b2a57; --line-soft: #142048;
  --canvas: #050b22; --card: #0b1431; --card2: #0f1b40; --field: #08102a;
  --green: #00e5a0; --green-ink: #00e5a0; --green-wash: rgba(0, 229, 160, .11);
  --amber: #ffc46b; --amber-wash: rgba(255, 196, 107, .10); --red: #ff6b7a; --red-wash: rgba(255, 107, 122, .10); --blue-wash: #101c4d;
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --display: "Bricolage Grotesque", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Instrument Sans", "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); background: var(--canvas); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--green-ink); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; }
code { background: var(--blue-wash); border-radius: 5px; padding: 1px 6px; font-size: .88em; color: var(--navy-700); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 70%, #fff); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
.right { text-align: right; }
.sp { flex: 1; }

/* ---------- buttons, fields ---------- */
.btn { font: inherit; font-weight: 650; cursor: pointer; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .15s, border-color .15s, transform .06s, box-shadow .15s; }
.btn:hover { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); background: var(--card2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); border-color: transparent; color: var(--navy-950); box-shadow: 0 8px 24px -6px rgba(0, 229, 160, .35); }
.btn.primary:hover { background: #2cf0b4; }
.btn.dark { background: var(--card2); border-color: var(--line); color: var(--ink); }
.btn.dark:hover { background: var(--navy-700); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); }
.btn.danger:hover { background: var(--red-wash); border-color: rgba(255, 107, 122, .45); }
.btn.small { padding: 6px 12px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: block; margin: 0 0 18px; }
.field > span { display: block; font-weight: 650; font-size: 13.5px; margin-bottom: 7px; }
.field small { display: block; color: var(--muted); margin-top: 6px; font-size: 13px; line-height: 1.45; }
input[type=text], input[type=password], input[type=date], input[type=search], input[type=number], select, textarea {
  width: 100%; padding: 11px 14px; font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-md); outline: none; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #2a3b80; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 229, 160, .16); }
textarea { min-height: 92px; resize: vertical; }
::placeholder { color: #5d6b99; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.chk { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: #00e5a0; flex: none; }
.formgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.field.full { grid-column: 1 / -1; }

/* ---------- surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card h3 { font-size: 18px; }
.card > h3 + p, .card > .row > h3 + p { margin-top: 4px; }
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 13px; font-weight: 650; color: var(--muted); padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255, 255, 255, .025); }
td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, .025); }
th.right, td.right { text-align: right; }
td.amt { font-weight: 700; white-space: nowrap; text-align: right; }
td.amt.in { color: var(--green-ink); } td.amt.out { color: var(--red); }
td.bal { text-align: right; color: var(--muted); white-space: nowrap; }
.sub { color: var(--muted); font-size: 13px; word-break: break-word; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); }
.badge { display: inline-block; font-size: 12.5px; font-weight: 650; padding: 2px 10px; border-radius: 999px; background: var(--green-wash); color: var(--green-ink); white-space: nowrap; }
.badge.out { background: var(--red-wash); color: var(--red); }
.badge.off { background: rgba(142, 156, 199, .14); color: var(--muted); }
.badge.warn { background: var(--amber-wash); color: var(--amber); }
.tag { display: inline-block; font-size: 13px; font-weight: 650; border: 1px solid rgba(255, 255, 255, .22); color: #cbd5ff; border-radius: 999px; padding: 3px 12px; }
.alert { border-radius: var(--r-md); padding: 13px 18px; border: 1px solid var(--line); background: var(--card); margin: 0 0 20px; }
.alert.good { border-color: rgba(0, 229, 160, .4); background: var(--green-wash); color: var(--green); }
.alert.bad { border-color: rgba(255, 107, 122, .4); background: var(--red-wash); color: var(--red); }
.alert.warn { border-color: rgba(255, 196, 107, .4); background: var(--amber-wash); color: var(--amber); }
.alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.top { align-items: flex-start; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.secret { background: var(--field); border: 1px dashed rgba(0, 229, 160, .5); border-radius: var(--r-md); padding: 14px 16px; word-break: break-all; user-select: all; color: var(--green); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; }
pre.code { background: var(--field); border: 1px solid var(--line); color: #cfe3ff; border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; font: 13px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; margin: 10px 0 0; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; flex-wrap: wrap; }
.tabs a { padding: 7px 16px; border-radius: 10px; color: var(--muted); font-weight: 650; font-size: 14px; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a.on { background: var(--navy-700); color: #fff; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 16px; color: var(--muted); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; align-items: end; }
.filters .field { margin: 0; min-width: 160px; }
form.inline { display: inline; }
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 18px; min-width: 240px; max-width: 380px; box-shadow: 0 16px 40px -12px rgba(6, 12, 38, .5); border-left: 4px solid var(--green); animation: toast-in .22s ease-out; }
.toast.bad { border-left-color: #ff6b84; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- the slip: the one distinctive element ---------- */
.slip { --edge: 10px; position: relative; background: linear-gradient(180deg, var(--navy-700), var(--card2)); color: var(--ink); border-radius: 10px 10px 0 0; padding: 22px 24px 30px;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100% / 16px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat;
  mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100% / 16px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.slip-wrap { filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .55)); }
.slip-wrap .slip { filter: none; }
.slip .slip-head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 2px dashed rgba(255, 255, 255, .18); margin-bottom: 14px; }
.slip .slip-head h3 { font-size: 19px; }
.slip .slip-head p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.slip dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0; }
.slip dt { color: var(--muted); } .slip dd { margin: 0; }
.slip .big { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.stamp { margin-left: auto; flex: none; border: 3px solid var(--green); color: var(--green); border-radius: 8px; padding: 3px 12px; font: 800 14px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-7deg); opacity: .92; }
.stamp.warn { border-color: var(--amber); color: var(--amber); } .stamp.bad { border-color: var(--red); color: var(--red); }
.stamp.pop { animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stamp { from { transform: rotate(-7deg) scale(2.2); opacity: 0; } to { transform: rotate(-7deg) scale(1); opacity: .92; } }
.result { margin-top: 22px; max-width: 560px; }

/* ---------- dashboard shell ---------- */
.shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; padding: 22px 14px; background: rgba(8, 18, 49, .85); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.side img.logo { height: 36px; margin: 2px 12px 24px; display: block; align-self: flex-start; }
.side a.nav { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: #9fabd6; font-weight: 600; text-decoration: none; }
.side a.nav:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side a.nav.on { background: rgba(0, 229, 160, .12); color: #fff; }
.side a.nav.on::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--green); }
.side a.nav.on svg { color: var(--green); }
.side .who { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); color: #c8d2f5; font-size: 14px; }
.side .who b { display: block; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .who span { color: #8d9acb; }
.side .who a { color: var(--green); }
.main { padding: 34px 40px 72px; min-width: 0; max-width: 1220px; width: 100%; }
.main > header.ph { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.main > header.ph h1 { font-size: 32px; font-weight: 750; }
.main > header.ph p { margin: 6px 0 0; color: var(--muted); max-width: 64ch; }
.menu-btn { display: none; }
.stat { padding: 20px 22px; }
.stat small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.stat b { display: block; font: 750 30px/1.1 var(--display); letter-spacing: -.02em; margin: 8px 0 4px; }
.stat span { color: var(--muted); font-size: 13.5px; }
.stat.key { background: linear-gradient(160deg, var(--navy-700), var(--card)); border-color: #2a3b80; }
.stat.key small, .stat.key span { color: #9fabd6; } .stat.key a { color: var(--green); }

/* plans */
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan .price { font: 750 36px/1.1 var(--display); letter-spacing: -.02em; margin-top: 10px; }
.plan .price small { font: 500 14px var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.plan ul li { padding-left: 26px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan.pop { background: linear-gradient(180deg, var(--card2), var(--card)); border-color: rgba(0, 229, 160, .55); box-shadow: 0 0 0 1px rgba(0, 229, 160, .25), 0 24px 60px -30px rgba(0, 229, 160, .3); }
.plan.pop .muted, .plan.pop ul { color: #b3bfe6; } .plan.pop .price small { color: #9fabd6; }
.plan.pop ul li::before { border-color: var(--green); }
.plan.pop .badge { background: var(--green); color: var(--navy-950); }


/* ---------- public site ---------- */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(5, 11, 34, .78); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 70px; }
.top img.logo { height: 36px; display: block; }
.top nav { display: flex; gap: 4px; align-items: center; }
.top .btn { background: transparent; border-color: transparent; color: #c8d2f5; }
.top .btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.top .btn.primary { background: var(--green); color: var(--navy-950); }
.top .btn.outline { border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero { background: transparent; color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 82% 20%, rgba(0, 229, 160, .16), transparent 65%), radial-gradient(600px 500px at 0% 100%, rgba(60, 90, 255, .22), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
.hero p.lead { font-size: 18.5px; color: #b3bfe6; margin: 24px 0 34px; max-width: 30em; line-height: 1.6; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero .btn:not(.primary):hover { background: rgba(255, 255, 255, .08); }
.proof { margin-top: 30px; color: #8d9acb; font-size: 14.5px; }
.demo { position: relative; padding: 10px 0 40px; }
.demo .ledger { background: var(--card); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 8px 0; margin: -22px 0 0 54px; padding-top: 34px; }
.demo .ledger .lrow { display: flex; gap: 14px; align-items: center; padding: 12px 20px; color: #c8d2f5; border-left: 3px solid transparent; }
.demo .ledger .lrow b { color: #fff; display: block; font-weight: 650; } .demo .ledger .lrow span { font-size: 13px; color: #8d9acb; }
.demo .ledger .lrow .a { margin-left: auto; font-weight: 700; color: #fff; }
.demo .ledger .lrow.hit { background: rgba(0, 229, 160, .1); border-left-color: var(--green); animation: hit 1s .9s both; }
.demo .ledger .lrow.hit .a { color: var(--green); }
@keyframes hit { from { background: transparent; border-left-color: transparent; } to { background: rgba(0, 229, 160, .1); border-left-color: var(--green); } }
.demo .slip-wrap { position: relative; z-index: 2; margin-right: 54px; transform: rotate(-1.6deg); }
.band { padding: 88px 0; }
.band.white { background: var(--bg2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band h2.t { font-size: clamp(30px, 4vw, 44px); font-weight: 750; max-width: 18em; }
.band p.intro { color: var(--muted); margin: 16px 0 0; max-width: 40em; font-size: 17.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0 0; }
.split.flip > :first-child { order: 2; }
.split h3 { font-size: 28px; margin-bottom: 14px; }
.split p { color: var(--muted); font-size: 16.5px; margin: 0 0 14px; max-width: 34em; }
.split ul { padding-left: 20px; color: var(--muted); margin: 0; line-height: 1.8; }
.pane { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 2px solid var(--green); }
.steps > div { padding: 24px 28px 0 0; }
.steps > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font: 750 15px var(--display); color: var(--green-ink); }
.steps h3 { font-size: 21px; margin: 8px 0 10px; } .steps p { margin: 0; color: var(--muted); }
details.faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq summary { cursor: pointer; font: 650 18px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: 12px 0 0; max-width: 46em; }
footer.f { background: var(--navy-950); border-top: 1px solid var(--line); color: #8d9acb; padding: 34px 0; font-size: 14.5px; }
footer.f a { color: #c8d2f5; }

/* ---------- sign-in pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 46%) 1fr; }
.auth .art { background: var(--bg2); border-right: 1px solid var(--line); color: #fff; padding: 40px 48px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth .art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 380px at 90% 8%, rgba(0, 229, 160, .17), transparent 65%), radial-gradient(520px 420px at 0% 100%, rgba(60, 90, 255, .24), transparent 60%); }
.auth .art > * { position: relative; }
.auth .art img.logo { height: 40px; align-self: flex-start; }
.auth .art h2 { font-size: 34px; font-weight: 750; letter-spacing: -.03em; margin: auto 0 14px; max-width: 12em; }
.auth .art > p { color: #b3bfe6; max-width: 26em; margin: 0 0 36px; }
.auth .art .slip-wrap { max-width: 340px; transform: rotate(-2deg); margin-bottom: 8px; }
.auth .art .slip { padding: 18px 20px 26px; }
.auth .art .slip .big { font-size: 22px; white-space: nowrap; }
.auth .art .slip dl { grid-template-columns: 84px 1fr; }
.auth .form { display: grid; place-items: center; padding: 40px 28px; background: transparent; }
.auth .form .box { width: min(440px, 100%); }
.auth .form h1 { font-size: 32px; font-weight: 750; margin-bottom: 8px; }
.auth .form .lede { color: var(--muted); margin: 0 0 26px; }
.auth.admin .art { background: var(--navy-950); }
.auth .form .alt { margin-top: 22px; color: var(--muted); }
.auth.single { grid-template-columns: 1fr; } 

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 60px rgba(0, 0, 0, .5); }
  body.nav-open .side { transform: none; }
  .menu-btn { display: inline-flex; }
  .main { padding: 22px 18px 64px; }
  .main > header.ph h1 { font-size: 26px; }
  .g2, .g3, .g4, .formgrid, .split, .steps, .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap { gap: 40px; padding-top: 44px; padding-bottom: 56px; }
  .split.flip > :first-child { order: 0; } .split { gap: 32px; }
  .steps > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; }
  .auth { grid-template-columns: 1fr; } .auth .art { display: none; }
  .band { padding: 56px 0; } .wrap { padding: 0 18px; }
  .demo .ledger { margin-left: 18px; } .demo .slip-wrap { margin-right: 18px; }
  .top nav .btn.ghost { display: none; }
}

/* ================= polish layer: depth, glass, motion ================= */
.card, .tablebox, .pane { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .008)), var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -32px rgba(0, 0, 0, .85); }
.btn { transition: transform .15s, box-shadow .2s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, #19efae, var(--green)); }
.btn.primary:hover { box-shadow: 0 12px 30px -6px rgba(0, 229, 160, .5); }
.btn.lg { letter-spacing: -.01em; }
h1, h2, h3 { text-wrap: balance; }
/* stat tiles */
.stat { position: relative; overflow: hidden; padding: 22px 24px; }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--green), rgba(0, 229, 160, 0)); opacity: .7; }
.stat .ic { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.stat.key { background: radial-gradient(260px 160px at 100% 0%, rgba(0, 229, 160, .18), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--card)); }
.stat b { font-size: 32px; }
/* sidebar */
.side .who { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: center; }
.side .who .av { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--green), #0aa3ff); color: var(--navy-950); font: 800 16px var(--display); display: grid; place-items: center; }
.side .who .links { grid-column: 1 / -1; margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.side .glabel { margin: 18px 14px 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #5f6d9c; font-weight: 700; }
.main > header.ph { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
/* tables */
th { position: sticky; top: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
tbody tr { transition: background .12s; }
/* public site */
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse 70% 80% at 60% 40%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 70% 80% at 60% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero .wrap { z-index: 1; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green), #6bf2cd 60%, #7fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(0, 229, 160, .3); background: var(--green-wash); color: var(--green); border-radius: 999px; padding: 6px 14px; font-weight: 650; font-size: 13.5px; margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 229, 160, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 229, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); } }
.demo .float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(15, 27, 64, .92); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 650; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite; }
.demo .float svg { color: var(--green); }
.demo .f1 { top: 0; left: 6px; } .demo .f2 { bottom: 4px; right: 0; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; margin: -44px auto 0; position: relative; z-index: 2; }
.numbers > div { padding: 28px 32px; } .numbers > div + div { border-left: 1px solid var(--line); }
.numbers b { display: block; font: 750 38px/1 var(--display); letter-spacing: -.03em; color: var(--green); }
.numbers span { display: block; margin-top: 8px; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feat { padding: 28px; }
.feat .fi { width: 46px; height: 46px; border-radius: 14px; background: var(--green-wash); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(0, 229, 160, .25); }
.feat h3 { font-size: 20px; margin-bottom: 8px; } .feat p { margin: 0; color: var(--muted); }
.cta-band { margin: 24px 0 96px; border-radius: 26px; padding: 56px 48px; text-align: center; border: 1px solid rgba(0, 229, 160, .3); background: radial-gradient(520px 260px at 50% 0%, rgba(0, 229, 160, .2), transparent 70%), linear-gradient(180deg, var(--card2), var(--card)); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; } .cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 34em; }
.cta-band .cta { justify-content: center; }
@media (max-width: 980px) { .numbers, .feats { grid-template-columns: 1fr; } .numbers > div + div { border-left: 0; border-top: 1px solid var(--line); } .cta-band { padding: 40px 22px; } }
.stat b { font-size: 28px; white-space: nowrap; }

/* ---- transactions (modern list) ---- */
.txbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.txsearch { position: relative; flex: 1 1 280px; max-width: 420px; }
.txsearch svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.txsearch input { padding-left: 42px; border-radius: 999px; }
.txupd { color: var(--muted); font-size: 13.5px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.live input { display: none; }
.live span { width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; }
.live span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.live input:checked + span { background: var(--green); }
.live input:checked + span::after { left: 18px; background: var(--navy-950, #050b22); }
.txbar .btn svg { margin-right: 6px; vertical-align: -4px; }
#txRefresh.spin svg { animation: pkspin .8s linear infinite; }
@keyframes pkspin { to { transform: rotate(360deg); } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; padding: 5px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 650; font-size: 14.5px; white-space: nowrap; text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: var(--green); color: #052018; }
.txlist { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.txday { padding: 10px 20px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); border-top: 1px solid var(--line); font-weight: 700; }
.txday:first-child { border-top: 0; }
.tx { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid rgba(27, 42, 87, .6); transition: background .15s; }
.tx:hover { background: rgba(255, 255, 255, .03); }
.txday + .tx { border-top: 0; }
.txic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; }
.txic.in { background: var(--green-wash); color: var(--green); }
.txic.out { background: var(--red-wash); color: var(--red); }
.txmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.txmain b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txmain span { color: var(--muted); font-size: 13.5px; }
.cp { all: unset; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted); }
.cp svg { width: 14px; height: 14px; opacity: .6; }
.cp:hover { color: var(--green); }
.cp.done::after { content: "copied"; color: var(--green); font-family: inherit; font-size: 12px; }
.txst { flex: none; }
.txamt { flex: none; min-width: 130px; text-align: right; font: 700 17px var(--display); }
.txamt small { font-size: 11px; opacity: .6; margin-left: 5px; }
.txamt.in { color: var(--green); } .txamt.out { color: var(--red); }
.txempty { display: grid; justify-items: center; gap: 6px; padding: 60px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); text-align: center; }
.txempty i { width: 54px; height: 54px; border-radius: 18px; background: var(--green-wash); color: var(--green); display: grid; place-items: center; }
.txempty b { color: var(--ink); font-size: 17px; }
@media (max-width: 640px) {
  .tx { flex-wrap: wrap; gap: 10px 12px; padding: 14px; }
  .txmain { flex: 1 1 calc(100% - 140px); }
  .txst { order: 4; margin-left: 54px; }
  .txamt { min-width: 0; margin-left: auto; }
  .txupd { display: none; }
}
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.quick a { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: .18s; }
.quick a:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 14px 30px -18px var(--green); }
.quick i { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.quick b { color: var(--ink); font-size: 16px; }
.quick span { color: var(--muted); font-size: 13.5px; }
#dashRefresh svg { margin-right: 6px; vertical-align: -4px; width: 16px; height: 16px; }
#dashRefresh.spin svg { animation: pkspin .8s linear infinite; }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; border-radius: 16px; }
  .tx { display: grid; grid-template-columns: 42px 1fr auto; gap: 4px 12px; align-items: center; }
  .txmain { grid-column: 2; grid-row: 1; flex: none; }
  .txamt { grid-column: 3; grid-row: 1; margin: 0; font-size: 16px; }
  .txst { grid-column: 2 / 4; grid-row: 2; margin: 0; }
  .txst:empty { display: none; }
  .txsearch { max-width: none; flex-basis: 100%; }
  .txbar .sp { display: none; }
}
.pick { display: grid; gap: 10px; margin-top: 16px; }
.pickrow { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.pickrow b { font-size: 17px; }
.pickrow .sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.formgrid .full { grid-column: 1 / -1; }

/* ---- slip upload ---- */
.drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 28px 20px; margin-bottom: 6px; border: 2px dashed rgba(0, 229, 160, .45); border-radius: 22px; background: radial-gradient(120% 140% at 50% 0%, rgba(0, 229, 160, .10), transparent 70%), rgba(255, 255, 255, .02); cursor: pointer; transition: .18s; }
.drop:hover, .drop.over { border-color: var(--green); background: radial-gradient(120% 140% at 50% 0%, rgba(0, 229, 160, .18), transparent 70%), rgba(255, 255, 255, .03); }
.drop.busy { opacity: .85; pointer-events: none; }
.drop i { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.drop i svg { width: 26px; height: 26px; }
.drop b { font-size: 18px; color: var(--ink); }
.drop > span { color: var(--muted); max-width: 440px; }
.dropst { display: flex; gap: 14px; align-items: center; text-align: left; margin-top: 6px; }
.dropst img { width: 54px; height: 72px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }
.dropst div { display: grid; gap: 2px; }
.dropst span { color: var(--muted); font-size: 14px; }
.dropst .bad { color: var(--red); } .dropst .warn { color: var(--amber); }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- payments page: made for daily shop use ---- */
.txsum { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 18px; }
.txsum > div { padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); display: grid; gap: 2px; }
.txsum small { color: var(--muted); font-weight: 650; font-size: 14px; }
.txsum b { font: 750 34px/1.15 var(--display); letter-spacing: -.02em; }
.txsum span { color: var(--muted); font-size: 14px; }
.txsum .key { background: linear-gradient(135deg, rgba(0, 229, 160, .16), rgba(0, 229, 160, .03)), var(--card); border-color: rgba(0, 229, 160, .35); }
.txsum .key b { color: var(--green); }
.txsearch input { height: 52px; font-size: 17px; }
.txbar .btn { height: 52px; padding: 0 20px; font-size: 16px; }
.tabrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.tabrow .tabs { margin: 0; }
.tabrow .txupd { margin-left: auto; }
.tabs a { padding: 11px 20px; font-size: 16px; }
.tabs.soft a.on { background: rgba(255, 255, 255, .14); color: var(--ink); }
.tx { padding: 16px 20px; gap: 16px; }
.txav { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-wash), rgba(70, 120, 255, .18)); color: var(--green); font: 700 17px var(--display); }
.tx.isused .txav { background: rgba(142, 156, 199, .14); color: var(--muted); }
.txmain b { font-size: 18px; }
.txmain span { font-size: 14.5px; }
.txright { flex: none; display: grid; justify-items: end; gap: 6px; }
.txamt { font: 750 22px var(--display); color: var(--green); min-width: 0; }
.tx.isused .txamt { color: var(--muted); }
.usebtn { cursor: pointer; border: 0; border-radius: 12px; padding: 9px 16px; font: 700 14.5px var(--body, inherit); background: var(--green); color: #052018; transition: .15s; }
.usebtn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.usebtn:disabled { opacity: .6; }
.tx.new { animation: txnew 2.4s ease-out; }
@keyframes txnew { 0% { background: rgba(0, 229, 160, .28); } 100% { background: transparent; } }
.pager .btn { height: 44px; }
@media (max-width: 640px) {
  .txsum { grid-template-columns: 1fr; }
  .txsum b { font-size: 28px; }
  .tx { display: flex; flex-wrap: nowrap; gap: 12px; padding: 14px; }
  .txav { width: 44px; height: 44px; font-size: 15px; }
  .txmain { flex: 1; min-width: 0; }
  .txmain b { font-size: 16.5px; }
  .txamt { font-size: 18px; }
  .tabrow .txupd { display: none; }
  .tabrow .tabs { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
}
@media (max-width: 640px) {
  .txsum { grid-template-columns: 1.3fr 1fr; gap: 10px; margin-bottom: 14px; }
  .txsum > div { padding: 14px 16px; border-radius: 16px; }
  .txsum small { font-size: 12.5px; }
  .txsum b { font-size: 22px; }
  .txsum span { font-size: 12.5px; }
  .tx { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 12px; align-items: center; }
  .txright { display: contents; }
  .txav { grid-column: 1; grid-row: 1; }
  .txmain { grid-column: 2; grid-row: 1; }
  .txamt { grid-column: 3; grid-row: 1; text-align: right; }
  .txst { grid-column: 1 / -1; grid-row: 2; }
  .txst .usebtn { width: 100%; padding: 13px; font-size: 16px; }
  .txst .badge { display: inline-block; }
  .txbar .btn { height: 48px; }
}

/* ---- phone bottom bar ---- */
.tabbar { display: none; }
@media (max-width: 980px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(8, 15, 40, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 14px; color: var(--muted); font-size: 12.5px; font-weight: 650; text-decoration: none; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a.on { color: var(--green); background: var(--green-wash); }
  .main { padding-bottom: 110px; }
  .menu-btn { display: none !important; }
}
/* ---- result banner on Check a payment ---- */
.verdict { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 22px; margin-bottom: 14px; border: 1px solid; flex-wrap: wrap; }
.verdict i { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 30px/1 var(--display); font-style: normal; }
.verdict div { flex: 1; min-width: 180px; display: grid; gap: 2px; }
.verdict b { font: 750 26px/1.15 var(--display); }
.verdict span { color: var(--muted); font-size: 16px; }
.verdict.ok { background: linear-gradient(135deg, rgba(0, 229, 160, .22), rgba(0, 229, 160, .05)); border-color: rgba(0, 229, 160, .5); }
.verdict.ok i { background: var(--green); color: #052018; } .verdict.ok b { color: var(--green); }
.verdict.bad { background: rgba(255, 90, 110, .12); border-color: rgba(255, 90, 110, .5); }
.verdict.bad i { background: var(--red); color: #fff; } .verdict.bad b { color: var(--red); }
.verdict.warn { background: rgba(255, 190, 80, .12); border-color: rgba(255, 190, 80, .5); }
.verdict.warn i { background: var(--amber); color: #2a1a00; } .verdict.warn b { color: var(--amber); }
.verdict .btn { height: 48px; }

/* ---- payments page, simplified ---- */
.txsum > div { padding: 14px 20px; }
.txsum b { font-size: 28px; }
.txsum { grid-template-columns: 1.5fr 1fr; margin-bottom: 14px; }
.txbar .txsearch { max-width: none; flex: 1 1 360px; }
.chip { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; }
.chip:hover { color: var(--ink); }
.chip.on { background: rgba(0, 229, 160, .14); border-color: var(--green); color: var(--green); }
.txpdf { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.txpdf:hover { color: var(--green); }
.txpdf svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .txbar .btn { flex: none; } .tabrow .txpdf { margin-left: auto; } }
@media (max-width: 640px) {
  .txbar { flex-wrap: nowrap; gap: 8px; }
  .txbar .txsearch { flex: 1 1 auto; min-width: 0; }
  #txRefresh { width: 52px; padding: 0; font-size: 0; justify-content: center; }
  #txRefresh svg { margin: 0; width: 22px; height: 22px; }
  .txsum { grid-template-columns: 1.25fr 1fr; }
  .txsum b { font-size: 19px; white-space: nowrap; }
  .txsum small { font-size: 12px; }
}
.tx.isused .txamt, .txamt { color: var(--green); }
.tx.isused .txamt { opacity: .85; }
.tx.isused .txav { color: var(--green); background: var(--green-wash); }

/* ---- admin: simpler, action-first ---- */
.navgrp { margin: 18px 14px 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: .7; font-weight: 700; }
.navbadge { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; background: var(--green); color: #052018; border-radius: 999px; padding: 2px 9px; }
.astats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.astats > div { position: relative; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.astats i { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.astats b { font: 780 30px/1.15 var(--display); letter-spacing: -.02em; margin-top: 18px; white-space: nowrap; }
.astats span { color: var(--muted); font-size: 14.5px; } .astats em { font-style: normal; color: var(--green); margin-left: 6px; font-size: 13px; }
.astats .key { background: linear-gradient(135deg, rgba(0, 229, 160, .16), rgba(0, 229, 160, .03)), var(--card); border-color: rgba(0, 229, 160, .35); }
.astats .key b { color: var(--green); }
.todo { margin-bottom: 22px; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.todo h2 { font: 750 20px var(--display); margin: 0 0 14px; }
.ti { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; margin-top: 8px; background: rgba(255, 255, 255, .035); border: 1px solid transparent; text-decoration: none; color: inherit; transition: .15s; }
.ti:hover { border-color: rgba(0, 229, 160, .35); background: rgba(255, 255, 255, .055); }
.ti p { margin: 0; flex: 1; min-width: 0; font-size: 16px; }
.ti p small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ti .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.dot.pay { background: var(--green); box-shadow: 0 0 12px var(--green); } .dot.srv { background: #5b8cff; } .dot.bad { background: var(--red); } .dot.exp { background: var(--amber); }
.ti form { margin: 0; }
.av2 { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green-wash); color: var(--green); font: 700 14px var(--display); }
.clear { display: grid; justify-items: center; gap: 4px; padding: 30px; color: var(--muted); text-align: center; }
.clear i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--green-wash); color: var(--green); } .clear b { color: var(--ink); font-size: 18px; }
@media (max-width: 800px) { .astats { grid-template-columns: 1fr 1fr; } .ti { flex-wrap: wrap; } .ti .btn { width: 100%; } }
.chead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.menu { position: relative; } .menu summary { list-style: none; cursor: pointer; } .menu summary::-webkit-details-marker { display: none; }
.menubox { position: absolute; right: 0; top: 46px; z-index: 30; min-width: 200px; padding: 8px; border-radius: 16px; background: #0f1b40; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px #000; display: grid; }
.menubox form { margin: 0; } .menubox button { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); padding: 11px 14px; border-radius: 10px; font: 600 15px inherit; cursor: pointer; }
.menubox button:hover { background: rgba(255, 255, 255, .07); } .menubox button.dng { color: var(--red); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.steps3 > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.steps3 span { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(142, 156, 199, .15); color: var(--muted); font-weight: 800; }
.steps3 small { color: var(--muted); } .steps3 b { font-size: 16px; }
.steps3 .ok { border-color: rgba(0, 229, 160, .4); } .steps3 .ok span { background: var(--green); color: #052018; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.mini > div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); display: grid; }
.mini b { font: 750 22px var(--display); } .mini span { color: var(--muted); font-size: 12.5px; }
.grantrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .grantrow select { width: auto; } .grantrow input { width: 90px; }
.srvstat { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; background: rgba(255, 255, 255, .04); border-left: 4px solid var(--muted); }
.srvstat.ok { border-left-color: var(--green); } .srvstat.ok b { color: var(--green); } .srvstat.bad { border-left-color: var(--red); } .srvstat.bad b { color: var(--red); }
.srvstat span, .srvstat small { color: var(--muted); font-size: 13.5px; }
.clist { display: grid; gap: 10px; }
.crow { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: .15s; }
.crow:hover { border-color: rgba(0, 229, 160, .45); transform: translateY(-1px); }
.crow p { margin: 0; flex: 1; min-width: 0; font-size: 17px; } .crow p small { display: block; color: var(--muted); font-size: 13.5px; }
.cplan { display: grid; justify-items: start; gap: 2px; min-width: 130px; } .cplan small { color: var(--muted); font-size: 12.5px; }
.csrv { display: flex; gap: 6px; flex-wrap: wrap; min-width: 150px; }
.chev { color: var(--muted); font-size: 26px; }
@media (max-width: 800px) { .steps3 { grid-template-columns: 1fr; } .crow { flex-wrap: wrap; } .cplan, .csrv { min-width: 0; } .chev { display: none; } }
.astats b { margin-top: 36px; font-size: 28px; }

/* ===== Sign-in (centered, glass) ===== */
.auth2 { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; position: relative; overflow: hidden; background: radial-gradient(900px 600px at 50% -10%, #101c4d 0%, var(--bg, #050b22) 62%); }
.auth2 .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: orbf 14s ease-in-out infinite alternate; }
.auth2 .o1 { width: 420px; height: 420px; background: rgba(0, 229, 160, .35); left: -120px; top: -100px; }
.auth2 .o2 { width: 460px; height: 460px; background: rgba(70, 100, 255, .38); right: -140px; bottom: -140px; animation-delay: -5s; }
.auth2 .o3 { width: 240px; height: 240px; background: rgba(0, 229, 160, .18); right: 18%; top: 12%; animation-delay: -9s; }
.auth2.admin .o1 { background: rgba(120, 110, 255, .38); } .auth2.admin .o3 { background: rgba(70, 140, 255, .22); }
@keyframes orbf { to { transform: translate(40px, 30px) scale(1.12); } }
.auth2::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); }
.a2box { position: relative; z-index: 1; width: min(430px, 100%); display: flex; flex-direction: column; align-items: center; animation: a2in .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes a2in { from { opacity: 0; transform: translateY(18px); } }
.a2logo img { height: 42px; display: block; margin-bottom: 26px; }
.a2card { width: 100%; padding: 34px 30px 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(20, 32, 78, .78), rgba(11, 20, 49, .82)); border: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.a2card h1 { font-size: 28px; font-weight: 750; letter-spacing: -.02em; margin: 0 0 8px; color: #fff; }
.a2card .lede { color: #aab6e0; margin: 0 0 24px; line-height: 1.5; }
.a2badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: #b9b4ff; background: rgba(120, 110, 255, .16); border: 1px solid rgba(150, 140, 255, .35); border-radius: 99px; padding: 5px 11px; margin-bottom: 16px; }
.a2card .field input { height: 50px; border-radius: 14px; font-size: 16px; background: rgba(5, 11, 34, .6); }
.a2card .field input:focus { border-color: #00e5a0; box-shadow: 0 0 0 4px rgba(0, 229, 160, .16); outline: 0; }
.a2card .btn.lg { height: 52px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.auth2.admin .a2card .btn.dark { background: linear-gradient(135deg, #6f6bff, #4a7bff); color: #fff; border: 0; box-shadow: 0 10px 30px rgba(90, 100, 255, .4); }
.auth2.admin .a2card .field input:focus { border-color: #8f8bff; box-shadow: 0 0 0 4px rgba(120, 110, 255, .2); }
.pw { position: relative; display: block; } .pw input { width: 100%; padding-right: 48px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; opacity: .65; }
.pw button:hover { opacity: 1; background: rgba(255, 255, 255, .06); }
.pw button::before { content: ""; display: block; width: 22px; height: 22px; margin: auto; background: currentColor; color: #cdd6ff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.pw button.on::before { color: #00e5a0; }
.a2foot { margin: 22px 0 0; color: #8f9cc9; font-size: 14px; text-align: center; } .a2foot a { color: #00e5a0; font-weight: 600; text-decoration: none; } .a2foot a:hover { text-decoration: underline; }
.a2install { margin-top: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 99px; padding: 9px 18px; font-weight: 600; cursor: pointer; } .a2install[hidden], .a2ios[hidden] { display: none; }
.a2ios { margin: 14px 0 0; font-size: 13px; color: #aab6e0; text-align: center; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: #25d366; color: #052e16; font-weight: 750; font-size: 17px; text-decoration: none; box-shadow: 0 12px 34px rgba(37, 211, 102, .35); transition: transform .15s; }
.wa-btn:hover { transform: translateY(-2px); }
.wa-num { text-align: center; color: #cdd6ff; font-weight: 600; letter-spacing: .04em; margin: 14px 0 20px; }
.wa-steps { list-style: none; counter-reset: s; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; }
.wa-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; color: #c5cfef; }
.wa-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 229, 160, .15); color: #00e5a0; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
@media (max-width: 480px) { .a2card { padding: 28px 20px 24px; border-radius: 20px; } }

.pwa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; background: #00e5a0; color: #032; border: 0; border-radius: 99px; padding: 11px 18px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,229,160,.35); cursor: pointer; }
.pwa-fab[hidden] { display: none; }
@media (max-width: 900px) { .pwa-fab { bottom: 84px; } }

/* ===== Mobile shell: top bar, drawer, stacked tables ===== */
.mtop, .scrim { display: none; }
.side { height: 100vh; height: 100dvh; }
@media (max-width: 980px) {
  .mtop { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 35; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); background: rgba(5, 11, 34, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft, rgba(255,255,255,.08)); }
  .mtop button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line, rgba(255,255,255,.12)); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
  .mtop img { height: 28px; display: block; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 38; background: rgba(2, 6, 20, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .side { z-index: 45; width: min(300px, 84vw); padding-top: calc(22px + env(safe-area-inset-top)); padding-bottom: calc(18px + env(safe-area-inset-bottom)); background: #081231; }
  .side a.nav { padding: 13px 14px; }
  .side a.nav.on::before { left: -14px; }
  .main { padding-top: 20px; }
  .main > header.ph { margin-bottom: 20px; padding-bottom: 14px; }
  .main > header.ph h1 { font-size: 24px; }
  .menu-btn { display: none !important; }
}
@media (max-width: 640px) {
  .tablebox { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .tablebox table.stack, .tablebox table.stack tbody { display: block; width: 100%; }
  .tablebox table.stack thead { display: none; }
  .tablebox table.stack tr { display: block; margin: 0 0 12px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .tablebox table.stack td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line-soft, rgba(255,255,255,.07)); text-align: right; white-space: normal; word-break: break-word; }
  .tablebox table.stack td:last-child { border-bottom: 0; }
  .tablebox table.stack td::before { content: attr(data-l); flex: none; color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; text-align: left; }
  .tablebox table.stack td[colspan] { display: block; text-align: center; } .tablebox table.stack td[colspan]::before { display: none; }
  .tablebox table.stack td:empty { display: none; }
  .tablebox table.stack td .btn, .tablebox table.stack td form { margin-left: auto; }
  .crow { gap: 10px 12px; padding: 14px; } .crow p { min-width: 0; flex: 1 1 60%; } .crow p b, .crow p small { white-space: normal; overflow-wrap: anywhere; }
  .cplan, .csrv { flex-wrap: wrap; }
  .chips { flex-wrap: wrap; } .chead { flex-wrap: wrap; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tabs a { flex: none; white-space: nowrap; }
  .card { padding: 18px 16px; }
  .btn.lg { width: 100%; }
}
@media (min-width: 981px) and (max-width: 1180px) { .shell { grid-template-columns: 226px 1fr; } .main { padding: 28px 26px 64px; } }
@media (max-height: 640px) and (min-width: 981px) { .side { padding-top: 14px; } .side img.logo { margin-bottom: 12px; } .side a.nav { padding: 8px 14px; } }
code { background: rgba(0, 229, 160, .12); color: #7ff3cf; word-break: break-word; }
.tablebox + .tablebox { margin-top: 12px; }

@media (max-width: 980px) { .mtop.logo-only { justify-content: center; } .mtop.logo-only button { display: none; } }

.sheet, .sheet-scrim { display: none; }
@media (max-width: 980px) {
  .sheet-scrim { display: block; position: fixed; inset: 0; z-index: 48; background: rgba(2, 6, 20, .62); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #0b1431; border-top: 1px solid var(--line); box-shadow: 0 -20px 60px rgba(0,0,0,.55); transform: translateY(105%); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
  body.sheet-open .sheet { transform: none; } body.sheet-open .sheet-scrim { opacity: 1; pointer-events: auto; } body.sheet-open { overflow: hidden; }
  .sheet .grab { display: block; width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.2); margin: 2px auto 12px; }
  .sheet .sh-who { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-soft, rgba(255,255,255,.08)); }
  .sheet .sh-who .av { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #031; background: linear-gradient(135deg, var(--green), #0aa3ff); }
  .sheet .sh-who p { margin: 0; min-width: 0; } .sheet .sh-who b { display: block; color: #fff; } .sheet .sh-who small { color: var(--muted); }
  .sheet a { display: flex; align-items: center; gap: 14px; padding: 15px 10px; border-radius: 14px; color: #e3e9ff; font-weight: 600; text-decoration: none; font-size: 16px; }
  .sheet a:active { background: rgba(255,255,255,.06); } .sheet a svg { width: 22px; height: 22px; color: var(--green); }
  .sheet a.out { color: #ff9b9b; } .sheet a.out svg { color: #ff9b9b; transform: rotate(-90deg); }
  .pwa-fab { z-index: 30; }
}

.ipr { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.ipr-scrim { position: absolute; inset: 0; background: rgba(2, 6, 20, .66); opacity: 0; transition: opacity .25s; }
.ipr-card { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #14204e, #0b1431 60%); border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 -24px 70px rgba(0,0,0,.6); text-align: center; transform: translateY(108%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ipr.on { pointer-events: auto; } .ipr.on .ipr-scrim { opacity: 1; } .ipr.on .ipr-card { transform: none; }
.ipr .grab { display: block; width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.22); margin: 2px auto 18px; }
.ipr-ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,229,160,.28); } .ipr-ic img { width: 100%; height: 100%; display: block; }
.ipr-card h3 { margin: 0 0 6px; font-size: 21px; color: #fff; } .ipr-card p { margin: 0 auto 14px; color: #aab6e0; max-width: 30em; }
.ipr-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; color: #dbe3ff; font-size: 15px; }
.ipr-card ul li::before { content: "\2713"; color: #00e5a0; font-weight: 800; margin-right: 8px; }
.ipr-how { text-align: left; background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; color: #dbe3ff; } .ipr-how ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.ipr-s { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.12); }
.ipr-card button { display: block; width: 100%; border: 0; cursor: pointer; font: inherit; }
.ipr-go { height: 52px; border-radius: 14px; background: #00e5a0; color: #032; font-weight: 750; font-size: 16px; box-shadow: 0 10px 28px rgba(0,229,160,.3); }
.ipr-later { height: 46px; margin-top: 6px; background: transparent; color: #cdd6ff; font-weight: 600; }
.ipr-never { background: transparent; color: #7f8cb8; font-size: 13px; padding: 4px; }

/* ===== v10: speed, zoom lock, payment details ===== */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: 16px; }            /* 16px stops iPhone zooming into a field */
.field { min-width: 0; }
input[type=date], input[type=time], input[type=datetime-local] { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 46px; -webkit-appearance: none; appearance: none; text-align: left; }
input[type=date]::-webkit-date-and-time-value { text-align: left; min-height: 1.3em; }
@media (max-width: 980px) {
  body { background-attachment: scroll; }               /* fixed backgrounds make phones scroll slowly */
  .mtop, .tabbar, .a2card, .top { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mtop { background: rgba(5, 11, 34, .97); }
  .tabbar { background: rgba(8, 16, 42, .98); }
  .auth2 .orb { filter: none; opacity: .28; animation: none; }
}
@media (hover: none) { .btn:hover { background: var(--card); border-color: var(--line); } }

/* loading placeholders */
.sk { display: inline-block; min-width: 60px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.11), rgba(255,255,255,.05)); background-size: 200% 100%; animation: pksk 1.2s linear infinite; color: transparent !important; }
span.txav.sk { width: 42px; height: 42px; border-radius: 50%; }
.skel .tx { pointer-events: none; }
@keyframes pksk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* tap a payment to see everything about it */
.tx { cursor: pointer; -webkit-user-select: none; user-select: none; }
.tx:active { background: rgba(255, 255, 255, .035); }
.tx .cp, .tx .usebtn { -webkit-user-select: text; user-select: text; }
.det-open { overflow: hidden; }
#txdet { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
#txdet.on { pointer-events: auto; }
#txdet .dscrim { position: absolute; inset: 0; background: rgba(2, 6, 20, .66); opacity: 0; transition: opacity .2s; }
#txdet.on .dscrim { opacity: 1; }
#txdet .dsheet { position: absolute; left: 50%; bottom: 0; width: min(520px, 100%); max-height: 88vh; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translate(-50%, 104%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); background: var(--card2); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); }
#txdet.on .dsheet { transform: translate(-50%, 0); }
#txdet .grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 4px auto 14px; }
#txdet .dtop { display: flex; align-items: center; gap: 12px; }
#txdet .dtop > div { flex: 1; min-width: 0; }
#txdet .dtop b { display: block; font-size: 16px; overflow-wrap: anywhere; }
#txdet .dtop small { color: var(--muted); }
#txdet .dx { border: 0; background: rgba(255, 255, 255, .06); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
#txdet .damt { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--green); margin: 16px 0 6px; }
#txdet .damt small { font-size: 14px; color: var(--muted); margin-left: 6px; font-weight: 600; }
#txdet .dlist { border-top: 1px solid var(--line); margin-top: 8px; }
#txdet .dr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
#txdet .dr span { color: var(--muted); font-size: 13.5px; flex: none; }
#txdet .dr b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
#txdet .dcopy { width: 100%; margin-top: 16px; }
@media (min-width: 700px) { #txdet .dsheet { bottom: 50%; border-bottom: 1px solid var(--line); border-radius: 22px; transform: translate(-50%, 54%); opacity: 0; transition: transform .22s, opacity .22s; } #txdet.on .dsheet { transform: translate(-50%, 50%); opacity: 1; } }
.txmain .refv { color: var(--muted); overflow-wrap: anywhere; }

/* ===== v11: no zoom, date field fits, dashboard payment list ===== */
html, body { touch-action: pan-x pan-y; }                 /* no pinch or double-tap zoom anywhere in the app */
.formgrid > *, .grid > *, form > * { min-width: 0; }
.formgrid .field input, .formgrid .field select { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
input[type=date] { height: 50px; line-height: 50px; padding-top: 0; padding-bottom: 0; overflow: hidden; -webkit-appearance: none; appearance: none; background-clip: padding-box; }
input[type=date]::-webkit-calendar-picker-indicator { margin: 0; opacity: .7; }
input[type=date]::-webkit-datetime-edit, input[type=date]::-webkit-date-and-time-value { display: block; text-align: left; min-width: 0; padding: 0; }
.dashlist .txlist { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.dashlist .tx { padding-left: 4px; padding-right: 4px; }
.dashlist #latest { margin: 0 -4px; }
.tx { -webkit-touch-callout: none; }


/* Page glow lives on a fixed layer: iOS ignores background-attachment:fixed and left a flat strip under the browser bar. */
html { min-height: 100%; background: var(--canvas); overflow-x: visible; }
body { overflow-x: clip; }
body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 480px at 88% -8%, rgba(0, 229, 160, .09), transparent 60%), radial-gradient(800px 520px at -8% 0%, rgba(40, 80, 220, .16), transparent 60%), var(--canvas); }
