/* BasanuPay v3: app-style seller home + shared polish for the seller app and admin. Loaded after app.css and v2.css. */
:root{--app-bg:#F3F5F9;--card-r:24px;--ink:#0A0D14;--navy:#0B1630;--t-blue:#E8F0FF;--t-green:#E3F8EE;--t-gold:#FFF4D6;--t-purple:#F1EBFF;--t-pink:#FFE9EF;--t-teal:#E2F7F8;--t-ink:#EDEFF3;--t-orange:#FFEEDF}
body{overflow-x:hidden}
.content{max-width:1200px}

/* Greeting */
.h3-greet{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 0 18px}
.h3-greet p{margin:0;color:var(--muted);font-size:14.5px}
.h3-greet h2{margin:0;font-size:28px;letter-spacing:-.03em}
.h3-date{font-size:13px;color:var(--muted);background:#fff;border-radius:999px;padding:7px 13px;white-space:nowrap}

/* Top: balance + side column */
.h3-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;margin-bottom:18px;align-items:stretch}
.h3-bal{position:relative;overflow:hidden;border-radius:28px;padding:24px 24px 20px;color:#fff;background:linear-gradient(145deg,#0B1630 0%,#0E2357 55%,#155EEF 130%);display:flex;flex-direction:column;gap:14px;min-width:0;box-shadow:0 18px 40px -22px rgba(11,22,48,.75)}
.h3-bal::before{content:'';position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;border:38px solid rgba(255,184,0,.12);pointer-events:none}
.h3-bal::after{content:'';position:absolute;left:-40px;bottom:-120px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(21,94,239,.35),transparent 70%);pointer-events:none}
.h3-bal>*{position:relative;z-index:1}
.h3-bal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.h3-bal-label{display:inline-flex;align-items:center;gap:7px;color:#C7D2EA;font-size:14px;font-weight:600}
.h3-bal-label>.ic{width:16px;height:16px;color:#7CE0AE}
.h3-eye{background:rgba(255,255,255,.1);border:0;color:#fff;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.h3-eye .ic{width:16px;height:16px}
.h3-cur{display:flex;gap:3px;background:rgba(255,255,255,.1);border-radius:999px;padding:4px}
.h3-cur a{padding:6px 13px;border-radius:999px;color:#fff;font-size:12.5px;font-weight:700;text-decoration:none!important}
.h3-cur a.on{background:#fff;color:var(--navy)}
.h3-cur-one{font-size:12px;font-weight:700;background:rgba(255,255,255,.12);padding:6px 12px;border-radius:999px}
.h3-amt{font-size:clamp(34px,6vw,48px);font-weight:800;letter-spacing:-.04em;line-height:1.05;word-break:break-word}
.h3-amt small{font-size:.55em;color:#9FB0D3;letter-spacing:-.02em}
.h3-sub{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#C7D2EA}
.h3-sub span{display:inline-flex;align-items:center;gap:6px}
.h3-sub b{color:#fff;font-weight:700}
.h3-sub i{width:8px;height:8px;border-radius:50%;display:inline-block}
.d-pend{background:#7CA4FF}.d-hold{background:var(--gold)}
.h3-next .ic{width:14px;height:14px}
.h3-acts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:6px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}
.h3-acts a{display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff;font-size:12.5px;font-weight:600;text-decoration:none!important}
.a-ic{width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center;transition:transform .15s,background .15s}
.a-ic .ic{width:21px;height:21px;stroke-width:2}
.a-pri{background:var(--gold);color:var(--navy)}
.h3-acts a:hover .a-ic{transform:translateY(-2px);background:rgba(255,255,255,.2)}.h3-acts a:hover .a-pri{background:#FFC52E}
.h3-bal.is-hidden [data-bal-amt]{filter:blur(9px);user-select:none}
.h3-hide-all [data-bal-amt]{filter:blur(8px)}

.h3-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.h3-card{background:#fff;border-radius:var(--card-r);padding:18px 20px;box-shadow:0 1px 2px rgba(16,24,40,.04);min-width:0}
.h3-card h3{font-size:16px;margin:0}
.h3-alerts{display:flex;flex-direction:column;gap:8px}
.h3-alerts h3{margin-bottom:2px}
.h3-alert{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:14px;text-decoration:none!important;font-size:14px;color:var(--ink)}
.h3-alert .al-ic{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex:none}.h3-alert .al-ic .ic{width:16px;height:16px}
.h3-alert .al-t{flex:1;min-width:0;font-weight:600}
.h3-alert b{font-size:13px;white-space:nowrap}
.h3-alert.t-bad{background:#FEF3F2}.h3-alert.t-bad .al-ic{background:#FEE4E2;color:var(--bad)}.h3-alert.t-bad b{color:var(--bad)}
.h3-alert.t-warn{background:#FFFAEB}.h3-alert.t-warn .al-ic{background:#FEF0C7;color:var(--warn)}.h3-alert.t-warn b{color:var(--warn)}
.h3-setup{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#155EEF,#3B7BFF);color:#fff;text-decoration:none!important}
.h3-setup h3{color:#fff}.h3-setup p{margin:3px 0 0;font-size:13px;color:#DCE7FE}
.h3-ring{--p:0;width:56px;height:56px;border-radius:50%;flex:none;display:grid;place-items:center;background:conic-gradient(var(--gold) calc(var(--p)*1%),rgba(255,255,255,.25) 0)}
.h3-ring b{width:44px;height:44px;border-radius:50%;background:#155EEF;display:grid;place-items:center;font-size:12px}
.h3-minis{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:1}
.h3-mini{background:#fff;border-radius:22px;padding:16px;display:flex;gap:12px;align-items:flex-start;min-width:0;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.h3-mini>div{min-width:0}
.h3-mini small{display:block;color:var(--muted);font-size:12.5px}
.h3-mini b{display:block;font-size:19px;color:var(--ink);letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h3-mini em{font-style:normal;font-size:12px;color:var(--faint)}
.m-ic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none}.m-ic .ic{width:18px;height:18px}
.mi-blue{background:var(--t-blue);color:var(--blue)}.mi-gold{background:var(--t-gold);color:var(--gold-700)}

/* Shortcut tiles (bank-app style) */
.h3-tiles-wrap{margin-bottom:18px;padding:18px 12px}
.h3-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}
.h3-tile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:6px 2px;border-radius:16px;color:var(--ink);font:600 12.5px var(--font);text-decoration:none!important;background:none;border:0;cursor:pointer;text-align:center}
.h3-tile:hover{background:#F6F8FB}
.tl-ic{width:52px;height:52px;border-radius:18px;display:grid;place-items:center}.tl-ic .ic{width:22px;height:22px;stroke-width:2}
.t-blue{background:var(--t-blue);color:#155EEF}.t-green{background:var(--t-green);color:#067647}.t-gold{background:var(--t-gold);color:#A86F00}.t-purple{background:var(--t-purple);color:#6E3FF3}
.t-pink{background:var(--t-pink);color:#C01048}.t-teal{background:var(--t-teal);color:#0E7090}.t-ink{background:var(--t-ink);color:var(--ink)}.t-orange{background:var(--t-orange);color:#C4320A}

/* Promo carousel */
.h3-promos{margin-bottom:18px}
.h3-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc(50% - 7px);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.h3-track::-webkit-scrollbar{display:none}
.h3-promo{scroll-snap-align:start;border-radius:var(--card-r);padding:20px 22px;display:flex;justify-content:space-between;gap:12px;overflow:hidden;position:relative;min-height:150px}
.h3-promo h3{font-size:18px;margin:6px 0 4px}.h3-promo p{font-size:13.5px;margin:0 0 12px;max-width:360px}
.p-tag{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.7)}
.p-btn{background:var(--ink);color:#fff}.p-btn:hover{background:#1d2230;color:#fff}
.p-art{width:88px;height:88px;border-radius:26px;display:grid;place-items:center;flex:none;align-self:center;transform:rotate(-8deg);box-shadow:0 14px 30px -14px rgba(0,0,0,.35)}
.p-art .ic{width:40px;height:40px;stroke-width:1.6}
.p-blue{background:linear-gradient(135deg,#DCE9FF,#B8D2FF)}.p-blue h3{color:#0B1630}.p-blue p{color:#28406E}.p-blue .p-art{background:#155EEF;color:#fff}
.p-green{background:linear-gradient(135deg,#DDF7EA,#B4EDD1)}.p-green p{color:#245943}.p-green .p-tag{color:#00B67A}.p-green .p-art{background:#00B67A;color:#fff}
.h3-dots{display:none;justify-content:center;gap:6px;margin-top:10px}.h3-dots i{width:7px;height:7px;border-radius:50%;background:#C9D0DC}.h3-dots i.on{background:var(--ink);width:18px;border-radius:4px}

/* Chart + activity */
.h3-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.h3-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.h3-card-head p{margin:4px 0 0;font-size:13px;color:var(--muted)}.h3-card-head p b{color:var(--ink);font-size:20px;letter-spacing:-.02em;margin-right:4px}
.h3-chip{font-size:12px;font-weight:700;background:var(--surface);padding:5px 10px;border-radius:999px}
.h3-chart{width:100%;height:160px;display:block}
.h3-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--faint);margin-top:6px}
.h3-seg{display:inline-flex;background:var(--surface);border-radius:999px;padding:4px;gap:2px}
.h3-seg button{border:0;background:none;font:700 13px var(--font);color:var(--muted);padding:7px 14px;border-radius:999px;cursor:pointer}
.h3-seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(16,24,40,.1)}
.h3-row{display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid #F0F2F5;text-decoration:none!important;color:var(--text);min-width:0}
.h3-row:last-child{border-bottom:0}
.h3-row:hover{background:#FAFBFC}
.r-ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none}.r-ic .ic{width:17px;height:17px}
.r-in{background:var(--t-green);color:#067647}.r-in .ic{transform:rotate(-45deg)}.r-out{background:#FEF3F2;color:var(--bad)}.r-out .ic{transform:rotate(-45deg)}.r-doc{background:var(--t-blue);color:var(--blue)}
.r-main{flex:1;min-width:0}.r-main b{display:block;color:var(--ink);font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r-main small{display:block;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-amt{font-weight:700;color:var(--ink);white-space:nowrap;font-size:14.5px}.r-amt.pos{color:#067647}
.r-end{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.r-end .badge{height:22px;font-size:11.5px;padding:0 8px}

/* Back button on inner pages (installed app has no browser back) */
.tb-back{display:none}
.has-back .tb-back{display:grid}

@media(max-width:1100px){.h3-tiles{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:14px}}
@media(max-width:980px){.h3-top,.h3-grid{grid-template-columns:1fr}.h3-minis{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
  .h3-greet h2{font-size:24px}.h3-date{display:none}
  .h3-bal{border-radius:24px;padding:20px 18px 16px}
  .h3-track{grid-auto-columns:88%}.h3-dots{display:flex}
  .h3-promo{min-height:0;padding:18px}.p-art{width:64px;height:64px;border-radius:20px}.p-art .ic{width:30px;height:30px}
  .h3-tiles-wrap{padding:16px 6px}
  .tl-ic{width:48px;height:48px;border-radius:16px}
  .h3-card{padding:16px}
  .h3-mini{padding:14px;gap:10px}.h3-mini b{font-size:16px}.m-ic{width:32px;height:32px}
}
@media(max-width:360px){.h3-tile{font-size:11.5px}.tl-ic{width:44px;height:44px}}

/* ---- Admin home ---- */
.ad-greet{align-items:center;flex-wrap:wrap}
.ad-range{display:flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:6px 6px 6px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04);flex-wrap:wrap}
.ad-range>.ic{width:16px;height:16px;color:var(--muted)}
.ad-range input{border:0;background:none;font:600 13.5px var(--font);color:var(--ink);padding:4px 2px;min-width:0}
.ad-range span{font-size:13px;color:var(--muted)}
.ad-top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;margin-bottom:18px;align-items:start}
.ad-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ad-kpi{background:#fff;border-radius:22px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;min-width:0;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.ad-kpi .k-l{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:600}.ad-kpi .k-l>.ic{width:15px;height:15px}
.ad-kpi b{font-size:clamp(22px,2.6vw,30px);letter-spacing:-.03em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-kpi .k-f{font-size:12.5px;color:var(--faint)}
.ad-dark{background:linear-gradient(145deg,#0B1630,#0E2357 70%,#1b4fd0 140%);color:#fff}
.ad-dark-2{background:linear-gradient(145deg,#0A0D14,#1d2433)}
.ad-dark .k-l,.ad-dark .k-f{color:#B7C3DD}.ad-dark b{color:#fff}
.k-ic{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex:none}.k-ic .ic{width:16px;height:16px}
.ad-todo{display:flex;flex-direction:column;gap:8px}
.h3-alert.t-info{background:#F5F8FF}.h3-alert.t-info .al-ic{background:var(--t-blue);color:var(--blue)}.h3-alert.t-info b{color:var(--blue)}
.ad-clear{display:flex;align-items:center;gap:8px;color:var(--ok);font-weight:600;font-size:14px;padding:10px 4px}.ad-clear .ic{width:18px;height:18px}
.ad-counters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:18px;padding:16px}
.ad-counter{display:flex;align-items:center;gap:12px;padding:6px 10px;min-width:0;border-right:1px solid #F0F2F5}.ad-counter:last-child{border-right:0}
.ad-counter .k-ic{width:40px;height:40px;border-radius:14px}.ad-counter .k-ic .ic{width:19px;height:19px}
.ad-counter b{display:block;font-size:20px;color:var(--ink);letter-spacing:-.02em;line-height:1.1}.ad-counter small{display:block;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-charts{margin-bottom:18px}

/* ---- Shared polish: admin + seller pages ---- */
.app.admin .side-label{font-size:11px;letter-spacing:.08em}
.list-row{min-width:0}.list-row .lr-main{min-width:0}.list-row .lr-main b,.list-row .lr-main small{overflow:hidden;text-overflow:ellipsis}
.panel,.stat{min-width:0}
.page-head{flex-wrap:wrap}
.input,select.input,textarea.input{max-width:100%}
@media(max-width:1100px){.ad-counters{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}.ad-counter:nth-child(3){border-right:0}}
@media(max-width:980px){.ad-top{grid-template-columns:1fr}}
@media(max-width:700px){
  .ad-kpis{gap:10px}.ad-kpi{padding:14px 16px;border-radius:20px}
  .ad-counters{grid-template-columns:1fr 1fr;padding:12px}.ad-counter{border-right:0;padding:6px}
  .ad-range{width:100%;border-radius:18px}.ad-range input{flex:1}
  /* lists on phones: let the amount + badge drop under the name instead of pushing off-screen */
  .list-row{flex-wrap:wrap;row-gap:6px}.list-row .lr-main{flex:1 1 60%}
  .panel-head{flex-wrap:wrap;gap:8px}
}

/* ---- Verification chat ---- */
.cc{background:#fff;border-radius:var(--card-r);box-shadow:0 1px 2px rgba(16,24,40,.04);display:flex;flex-direction:column;min-width:0;overflow:hidden}
.cc-legend{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #F0F2F5}
.lg{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.lg::before{content:'';width:8px;height:8px;border-radius:50%}
.lg-staff{background:#EEF1F8;color:#0B1630}.lg-staff::before{background:#0B1630}
.lg-seller{background:var(--t-blue);color:#1150D8}.lg-seller::before{background:#155EEF}
.lg-buyer{background:var(--t-green);color:#067647}.lg-buyer::before{background:#12B76A}
.cc-body{display:flex;flex-direction:column;gap:10px;padding:16px;height:min(62vh,620px);min-height:320px;overflow-y:auto;background:#FAFBFC;overscroll-behavior:contain}
.cc-msg{max-width:min(78%,560px);border-radius:18px;padding:10px 13px;background:#fff;border:1px solid #EEF0F3;align-self:flex-start;min-width:0}
.cc-msg.mine{align-self:flex-end}
.cc-msg.from-staff{background:#0B1630;border-color:#0B1630;color:#E6ECF8}.cc-msg.from-staff .cc-who b{color:#fff}.cc-msg.from-staff .cc-who span{color:#9FB0D3}
.cc-msg.from-seller{background:#EAF1FF;border-color:#D4E2FF}
.cc-msg.from-buyer{background:#E9F9F1;border-color:#C9F0DC}
.cc-who{display:flex;gap:8px;align-items:baseline;font-size:12px;margin-bottom:3px}.cc-who b{color:var(--ink)}.cc-who span{color:var(--faint)}
.cc-text{margin:0;white-space:pre-wrap;word-break:break-word;font-size:14.5px;line-height:1.5}
.cc-private{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--gold);color:#0B1630;margin-bottom:5px}
.cc-img{display:block;margin-top:8px;border-radius:12px;overflow:hidden;max-width:280px}.cc-img img{width:100%;height:auto;display:block}
.cc-doc{display:flex;align-items:center;gap:10px;margin-top:8px;background:rgba(255,255,255,.85);border:1px solid #E4E7EC;border-radius:12px;padding:8px 10px;text-decoration:none!important;color:var(--ink);max-width:300px}
.cc-doc-ic{width:36px;height:40px;border-radius:6px;background:#D92D20;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;flex:none}
.cc-doc-t{min-width:0}.cc-doc-t b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cc-doc-t small{color:var(--muted);font-size:12px}
.cc-sys{align-self:center;font-size:12.5px;color:var(--muted);background:#F0F2F5;border-radius:999px;padding:5px 12px;text-align:center;max-width:90%}
.cc-err{background:#FEF3F2;color:var(--bad)}
.cc-compose{border-top:1px solid #F0F2F5;padding:10px 12px 8px;display:flex;flex-direction:column;gap:8px}
.cc-compose.is-sending{opacity:.6;pointer-events:none}
.cc-to{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12.5px;color:var(--muted)}
.cc-to label{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid #E4E7EC;border-radius:999px;cursor:pointer}
.cc-to label:has(input:checked){border-color:var(--ink);background:var(--ink);color:#fff}.cc-to input{display:none}.cc-to b{font-weight:600}
.cc-row{display:flex;align-items:flex-end;gap:8px}
.cc-row textarea{flex:1;min-width:0;resize:none;border:1px solid #E4E7EC;border-radius:20px;padding:10px 14px;font:15px/1.4 var(--font);max-height:140px;background:#F7F8FA}
.cc-row textarea:focus{outline:0;border-color:#9DB8F7;background:#fff}
.cc-attach,.cc-send{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:none;cursor:pointer;border:0}
.cc-attach{background:#F0F2F5;color:var(--ink)}.cc-send{background:var(--blue);color:#fff}.cc-send .ic{width:18px;height:18px}
.cc-file{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--t-blue);border-radius:12px;padding:6px 6px 6px 12px;font-size:13px;color:#1150D8}
.cc-hint{margin:0;font-size:11.5px;color:var(--faint)}
.cc-closed{display:flex;gap:8px;align-items:center;justify-content:center;padding:14px;font-size:13.5px;color:var(--muted);border-top:1px solid #F0F2F5}
.cc-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.cc-person{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid #F0F2F5}.cc-person:last-child{border-bottom:0}
.cc-person .lg{align-self:flex-start;margin-bottom:4px}.cc-person small{color:var(--muted);font-size:12.5px;word-break:break-word}
.cb-body{background:var(--app-bg);margin:0}
.cb-wrap{max-width:760px;margin:0 auto;padding:22px 16px 30px}
.cb-head{margin-bottom:14px}.cb-head h1{font-size:24px;margin:16px 0 6px}.cb-head p{margin:0 0 6px;color:var(--text)}
.cb-foot{text-align:center;font-size:12.5px;color:var(--muted);padding:0 16px 28px}
@media(max-width:980px){.cc-layout{grid-template-columns:1fr}}
@media(max-width:700px){.cc-body{height:60vh;padding:12px}.cc-msg{max-width:88%}.cc-legend{padding:10px 12px}}

/* ---- All pages: one title, compact lists on phones, folding filters ---- */
.filters-toggle{display:none}
@supports selector(:has(*)){
  .app-main:has(.content .page-head h2) .topbar h1,.app-main:has(.content .h3-greet) .topbar h1{visibility:hidden}
}
.page-head h2{letter-spacing:-.03em}
@media(max-width:980px){
  .rtable tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;row-gap:2px}
  .rtable td{flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;gap:0;padding:4px 0;min-width:0;font-size:14px;word-break:break-word}
  .rtable td::before{font-size:11.5px;text-transform:none}
  .rtable td.t-head,.rtable td.t-full{grid-column:1/-1}
  .rtable td.right{text-align:left}
  .rtable td .badge{margin-top:2px}
  .filters-toggle{display:inline-flex}
  form.filters.is-folded>.field:not(:has([name=q])){display:none!important}
  .hide-sm{display:none}
  [data-tfa-note]{padding:10px 12px;align-items:center}[data-tfa-note] p{font-size:13.5px}
}
.filters-toggle{align-items:center;gap:8px;border:1px solid #E1E4EA;background:#fff;border-radius:999px;height:40px;padding:0 16px;font:700 13.5px var(--font);color:var(--ink);cursor:pointer;margin-bottom:12px}
.filters-toggle .ic{width:16px;height:16px}.filters-toggle .fc{background:var(--blue);color:#fff;border-radius:999px;font-size:11px;padding:1px 7px}

/* Same dark balance style everywhere */
.stat.feature-stat,.bal-card{background:linear-gradient(145deg,#0B1630 0%,#0E2357 60%,#1b4fd0 140%)}
.stat .s-val{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
@media(max-width:700px){.stat .s-val{font-size:clamp(18px,5.4vw,24px)}}
.app-main:has(.page-head a[href="/invoices/new"]) [data-desk-only]{display:none!important}

/* Admin-made slides */
.p-gold{background:linear-gradient(135deg,#FFF4D6,#FFE29A)}.p-gold p{color:#6B4E00}.p-gold .p-art{background:#FFB800;color:#0B1630}
.p-dark{background:linear-gradient(135deg,#0B1630,#16306E)}.p-dark h3{color:#fff}.p-dark p{color:#C7D2EA}.p-dark .p-tag{background:rgba(255,255,255,.14);color:#fff}.p-dark .p-btn{background:#FFB800;color:#0B1630}.p-dark .p-art{background:#155EEF;color:#fff}
.p-pic{width:120px;height:120px;border-radius:22px;overflow:hidden;flex:none;align-self:center;box-shadow:0 14px 30px -14px rgba(0,0,0,.35)}.p-pic img{width:100%;height:100%;object-fit:cover;display:block}
.p-image{padding:0!important;display:block;min-height:0;background:#E9EDF5}.p-image img{width:100%;height:100%;min-height:150px;max-height:220px;object-fit:cover;display:block}
.h3-promos .h3-track:has(> :only-child){grid-auto-columns:100%}
.sl-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 0;border-bottom:1px solid #F0F2F5}.sl-row:last-child{border-bottom:0}
.sl-row .h3-promo{min-height:120px}
.sl-meta{display:flex;flex-direction:column;gap:6px}
@media(max-width:700px){.p-pic{width:72px;height:72px;border-radius:18px}}

/* ---- Help Center & status ---- */
.hc-hero{background:linear-gradient(160deg,#0B1630,#0E2357 60%,#155EEF 140%);color:#fff;padding:56px 0 46px}
.hc-hero h1{color:#fff;font-size:clamp(28px,5vw,42px);letter-spacing:-.03em;margin:0 0 18px}.hc-hero p{color:#C7D2EA}.hc-hero a{color:#fff}
.hc-hero-sm{padding:36px 0 30px}.hc-hero-sm h1{margin-bottom:6px}
.hc-search{display:flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:6px 6px 6px 18px;box-shadow:0 18px 40px -20px rgba(0,0,0,.5)}
.hc-search>.ic{width:18px;height:18px;color:#667085;flex:none}.hc-search input{flex:1;min-width:0;border:0;outline:0;font:500 16px var(--font);color:var(--ink);background:none;padding:10px 0}
.hc-crumb{font-size:13.5px;color:var(--muted);margin:0 0 6px}.hc-hero .hc-crumb{color:#C7D2EA}
.hc-h{font-size:19px;margin:30px 0 12px;letter-spacing:-.02em}
.hc-cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hc-cat{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #EAECF0;border-radius:18px;padding:18px;text-decoration:none!important;color:var(--ink);transition:box-shadow .15s,transform .15s}
.hc-cat:hover{box-shadow:0 10px 30px -18px rgba(16,24,40,.35);transform:translateY(-2px)}
.hc-cat b{font-size:15.5px}.hc-cat small{color:var(--muted)}
.hc-ic{width:40px;height:40px;border-radius:12px;background:var(--t-blue,#E8F0FF);color:#155EEF;display:grid;place-items:center}.hc-ic .ic{width:19px;height:19px}
.hc-list{display:flex;flex-direction:column;background:#fff;border:1px solid #EAECF0;border-radius:18px;overflow:hidden}
.hc-item{display:flex;flex-direction:column;gap:3px;padding:14px 18px;border-bottom:1px solid #F0F2F5;text-decoration:none!important;color:var(--ink)}.hc-item:last-child{border-bottom:0}.hc-item:hover{background:#F8FAFF}
.hc-item b{font-size:15px}.hc-item span{font-size:13.5px;color:var(--muted)}
.hc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hc-chips a{border:1px solid #EAECF0;border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:600;background:#fff;text-decoration:none!important}
.hc-empty{background:#fff;border:1px dashed #D0D5DD;border-radius:16px;padding:18px;margin-bottom:12px}
.hc-contact{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:var(--t-blue,#E8F0FF);border-radius:18px;padding:18px 20px;margin-top:28px}.hc-contact p{margin:4px 0 0;font-size:14px}
.hc-art h1{font-size:clamp(26px,4.4vw,36px);letter-spacing:-.03em;margin:4px 0 8px}
.hc-lead{font-size:17px;color:var(--muted);margin:0 0 6px}
.hc-body{font-size:16px;line-height:1.7;color:var(--text)}.hc-body h2{font-size:19px!important;color:var(--ink)!important}.hc-body p,.hc-body ul{color:inherit!important}
.hc-vote{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #EAECF0;border-bottom:1px solid #EAECF0;padding:14px 0;margin:22px 0}
.st-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#12B76A;flex:none}
.st-slow .st-dot,.st-lv.st-slow .st-dot{background:#F79009}.st-down .st-dot,.st-lv.st-down .st-dot{background:#F04438}.st-maintenance .st-dot,.st-lv.st-maintenance .st-dot{background:#2E90FA}
.st-overall{display:flex;align-items:center;gap:12px;border-radius:18px;padding:18px 20px;font-size:17px;background:#ECFDF3;color:#067647;margin-bottom:14px}
.st-overall.st-slow{background:#FFFAEB;color:#B54708}.st-overall.st-down{background:#FEF3F2;color:#B42318}.st-overall.st-maintenance{background:#EFF8FF;color:#175CD3}
.st-overall .st-dot{width:12px;height:12px;box-shadow:0 0 0 5px rgba(18,183,106,.18)}
.st-notice{background:#fff;border:1px solid #EAECF0;border-left:4px solid #F79009;border-radius:14px;padding:14px 16px;margin-bottom:12px;display:flex;flex-direction:column;gap:3px}.st-notice.st-down{border-left-color:#F04438}.st-notice.st-maintenance{border-left-color:#2E90FA}
.st-notice small{color:var(--muted)}.st-notice p{margin:6px 0 0;font-size:14.5px}
.st-list{background:#fff;border:1px solid #EAECF0;border-radius:18px;overflow:hidden}
.st-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid #F0F2F5}.st-row:last-child{border-bottom:0}.st-row small{display:block;color:var(--muted);font-size:12.5px}
.st-lv{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:#067647;white-space:nowrap}.st-lv.st-slow{color:#B54708}.st-lv.st-down{color:#B42318}.st-lv.st-maintenance{color:#175CD3}
.st-banner{display:flex;align-items:center;gap:10px;background:#FFFAEB;color:#7A2E0E;border:1px solid #FEDF89;border-radius:14px;padding:10px 14px;margin-bottom:14px;font-size:14px}.st-banner span:nth-child(2){flex:1;min-width:0}
.st-banner.st-down{background:#FEF3F2;border-color:#FECDCA;color:#7A271A}.st-banner.st-maintenance{background:#EFF8FF;border-color:#B2DDFF;color:#194185}.st-banner a{font-weight:700;white-space:nowrap}
@media(max-width:700px){.hc-cats{grid-template-columns:1fr 1fr}.hc-cat{padding:14px}.hc-search button{padding:0 14px}.hc-hero{padding:40px 0 32px}}

/* Slides: dots + arrows on every screen size */
.h3-dots-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px}
.h3-dots-row .h3-dots{display:flex;margin:0}
.h3-arrow{width:30px;height:30px;border-radius:50%;border:1px solid #E1E4EA;background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.h3-arrow .ic{width:15px;height:15px}
@media(max-width:700px){.h3-arrow{display:none}}
/* Payment account (seller) and Payment accounts (admin) */
.pa-status{display:flex;flex-direction:column;gap:14px;margin-bottom:14px}
.pa-head{display:flex;gap:12px;align-items:flex-start}
.pa-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--t-blue);color:var(--blue)}
.pa-ic .ic{width:20px;height:20px}
.pa-good .pa-ic{background:var(--t-green);color:#067647}.pa-warn .pa-ic{background:#FEF0C7;color:var(--warn)}.pa-bad .pa-ic{background:#FEE4E2;color:var(--bad)}
.pa-status form .btn{width:auto}
.pa-steps{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.pa-steps li{display:flex;gap:12px;align-items:flex-start}
.pa-steps .n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#F2F4F7;color:var(--ink);font-weight:700;font-size:13px}
.pa-steps .n .ic{width:15px;height:15px}
.pa-steps li.done .n{background:var(--t-green);color:#067647}
.pa-steps b{display:block;font-size:14px}.pa-steps small{color:var(--muted);display:block;margin-top:2px;line-height:1.45}
.pa-list{margin:10px 0 0;padding-left:18px;display:grid;gap:6px;color:var(--muted);line-height:1.5}
.h3-card+.h3-card{margin-top:14px}
.cn-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:16px}
.cn-stat{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04);text-decoration:none;color:inherit;border:1.5px solid transparent}
.cn-stat.on{border-color:var(--blue)}.cn-stat small{display:block;color:var(--muted);font-size:12px}.cn-stat b{font-size:20px}
.cn-plan{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px;margin:8px 0 0}.cn-plan dt{color:var(--muted)}.cn-plan dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.cn-plan .tot{font-weight:700;border-top:1px solid #EAECF0;padding-top:6px}
.acct-lookup{border-radius:12px;padding:10px 14px;font-size:14px;line-height:1.45;border:1px solid var(--line,#EAECF0);background:var(--surface,#fff)}
.acct-lookup.is-wait{color:var(--muted)}.acct-lookup.is-info{color:var(--muted);background:#F8FAFC}
.acct-lookup.is-ok{border-color:#ABEFC6;background:#ECFDF3;color:#067647}.acct-lookup.is-bad{border-color:#FECDCA;background:#FEF3F2;color:#B42318}
.vcode{display:flex;gap:10px;margin:18px 0 10px}.vcode input{flex:1;height:52px;font-size:24px;letter-spacing:.35em;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
