/* sendmecode workspace — visual system
   Ink / off-white surfaces, burnt-tangerine signal. Manrope variable, SVG sprite icons. */

@font-face{font-family:'Manrope';src:url('/assets/fonts/manrope.woff2') format('woff2-variations'),url('/assets/fonts/manrope.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}

:root{
  color-scheme:light;
  --bg:#f7f7f2;--surface:#fdfdf9;--surface-2:#eff0e9;--sunken:#e6e9df;
  --ink:#20221f;--ink-2:#393e34;--muted:#60635c;
  --line:#d9dad2;--line-strong:#c6cabe;
  --accent:#f1693d;--accent-soft:#fbe2d7;--accent-ink:#1c0f09;--accent-text:#b53e1b;
  --success:#2f7d4f;--danger:#b53e1b;--warning-bg:#fdf2e2;--warning-border:#f0dcb6;--warning-text:#8a5a10;
  --ring:#f1693d;
  --shadow-1:0 1px 2px rgba(22,18,14,.06);
  --shadow-2:0 22px 46px -26px rgba(22,18,14,.34);
  --radius:14px;--radius-sm:10px;--radius-lg:22px;
  --sidebar:252px;--topbar-h:66px;
}
:root[data-theme=dark]{
  color-scheme:dark;
  --bg:#161915;--surface:#20241d;--surface-2:#2a3025;--sunken:#30382a;
  --ink:#f1f3e9;--ink-2:#dadfd1;--muted:#b1b9a7;
  --line:#3a4233;--line-strong:#505b45;
  --accent:#f1693d;--accent-soft:#3a2418;--accent-ink:#1c0f09;--accent-text:#ff9d78;
  --success:#7cc796;--danger:#ff9a82;--warning-bg:#2e2614;--warning-border:#4c3f1e;--warning-text:#f0cf8a;
  --shadow-2:0 22px 46px -26px rgba(0,0,0,.75);
}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){
  color-scheme:dark;--bg:#14110d;--surface:#1d1812;--surface-2:#241e17;--sunken:#2a2319;--ink:#f3ece1;--ink-2:#dad2c4;--muted:#a89d8b;--line:#332b21;--line-strong:#443a2d;--accent:#f1693d;--accent-soft:#3a2418;--accent-ink:#1c0f09;--accent-text:#ff9d78;--success:#7cc796;--danger:#ff9a82;--warning-bg:#2e2614;--warning-border:#4c3f1e;--warning-text:#f0cf8a;--shadow-2:0 22px 46px -26px rgba(0,0,0,.75);
}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100dvh;background:var(--bg);color:var(--ink);font:400 14px/1.55 'Manrope','Segoe UI',system-ui,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
a{color:inherit;text-decoration:none}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:disabled{opacity:.5;cursor:not-allowed}
h1,h2,h3,p{margin:0}
h1{font-weight:750;font-size:clamp(27px,3.6vw,38px);line-height:1.1;letter-spacing:-.028em;color:var(--ink)}
h2{font-weight:700;font-size:17px;line-height:1.25;letter-spacing:-.015em;color:var(--ink)}
h3{font-weight:700;font-size:15px;letter-spacing:-.01em}
p{color:var(--muted)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:6px}
::selection{background:var(--accent);color:#fff}

/* icons */
.icon{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.icon-caret{width:16px;height:16px;opacity:.55}

.skip{position:fixed;top:-100px;left:16px;z-index:200;background:var(--ink);color:var(--surface);padding:11px 16px;border-radius:0 0 10px 10px;font-weight:600}
.skip:focus{top:0}

/* ---------- sidebar ---------- */
.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;gap:4px;padding:24px 16px 16px;border-right:1px solid var(--line);background:var(--surface);z-index:40}
.brand{display:flex;align-items:center;gap:10px;padding:6px 8px;font-size:22px;font-weight:750;letter-spacing:-.035em;border-radius:10px}
.brand img{width:32px;height:32px;display:block}
.brand-word{color:var(--ink)}
.workspace{display:flex;align-items:center;gap:11px;margin:22px 0 18px;padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);font-size:13px;font-weight:600}
.workspace>.icon{width:18px;height:18px;color:var(--accent-text)}
.workspace>div{flex:1;min-width:0}
.workspace small{display:block;color:var(--muted);font-size:11.5px;font-weight:400}
.nav-label{font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted);padding:0 10px;margin-bottom:8px}
#navigation{display:flex;flex-direction:column;gap:3px}
.nav-item{position:relative;display:flex;align-items:center;gap:11px;min-height:44px;padding:0 12px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;color:var(--ink-2)}
.nav-item:hover{background:var(--surface-2)}
.nav-item .nav-icon{display:flex;color:var(--muted)}
.nav-item .nav-icon .icon{width:19px;height:19px}
.nav-item.active{background:var(--ink);color:var(--surface)}
.nav-item.active .nav-icon{color:var(--accent)}
.nav-count{margin-left:auto;min-width:22px;height:20px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:11.5px;font-weight:700}
.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:12px;padding-top:16px}
.help-box{padding:14px;border-radius:var(--radius-sm);background:var(--sunken);border:1px solid var(--line)}
.help-box strong{display:block;font-size:13px;font-weight:700;color:var(--ink)}
.help-box p{margin:6px 0 10px;font-size:12.5px;line-height:1.5}
.help-box a{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;color:var(--accent-text)}
.help-box a .icon{width:14px;height:14px}
.profile{display:flex;align-items:center;gap:11px;width:100%;min-height:52px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);text-align:left;font-size:13px;font-weight:600}
.profile:hover{background:var(--surface-2)}
.profile>span#profile-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile small{display:block;color:var(--muted);font-size:11.5px;font-weight:400;overflow:hidden;text-overflow:ellipsis}
.profile>.icon{width:16px;height:16px;color:var(--muted)}
.avatar{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--accent);color:var(--accent-ink);font-weight:750;font-size:15px}

/* ---------- shell ---------- */
.page-shell{margin-left:var(--sidebar);display:flex;flex-direction:column;min-height:100dvh}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:18px;height:var(--topbar-h);padding:0 30px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 84%,transparent);backdrop-filter:blur(12px)}
.breadcrumb{font-size:13px;color:var(--muted)}
.breadcrumb span{margin:0 4px;color:var(--muted)}
.breadcrumb strong{color:var(--ink);font-weight:700}
.mobile-brand{display:none;align-items:center;gap:8px;font-size:19px;font-weight:750;letter-spacing:-.03em}
.mobile-brand img{width:30px;height:30px}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.icon-button{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2)}
.icon-button:hover{background:var(--surface-2)}
.home-link{color:var(--muted)}
.theme-button .icon-sun{display:none}
:root[data-theme=dark] .theme-button .icon-moon{display:none}
:root[data-theme=dark] .theme-button .icon-sun{display:block}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-button .icon-moon{display:none}:root:not([data-theme=light]) .theme-button .icon-sun{display:block}}
.preview-chip{display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12px;font-weight:700}

.demo-banner{display:flex;align-items:center;gap:12px;padding:11px 30px;background:var(--accent);color:var(--accent-ink);font-size:13px;font-weight:500}
.demo-banner strong{font-weight:750}
.demo-mark{width:22px;height:22px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--accent-ink);color:var(--accent)}
.demo-mark .icon{width:14px;height:14px}
.demo-banner a{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-weight:700;white-space:nowrap}
.demo-banner a .icon{width:14px;height:14px}

main{flex:1;padding:30px 30px 0;max-width:1360px;width:100%;margin:0 auto}
.view{padding-bottom:8px}

/* ---------- headings ---------- */
.page-heading{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,300px);gap:26px;align-items:start;margin-bottom:26px}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-text);margin-bottom:9px}
.intro{margin-top:11px;font-size:14.5px;line-height:1.55;max-width:46ch}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-heading p{margin-top:7px;font-size:14px}

/* wallet card */
.wallet-card{padding:18px;border-radius:var(--radius);background:var(--ink);color:#fff;box-shadow:var(--shadow-2)}
:root[data-theme=dark] .wallet-card{background:var(--surface-2);color:var(--ink)}
.wallet-card-top{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;font-weight:600;opacity:.72}
.wallet-card-top .icon{width:17px;height:17px;color:var(--accent)}
.wallet-card>.balance{display:block;font-size:34px;font-weight:750;letter-spacing:-.03em;margin:8px 0 16px}
.wallet-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wallet-card-bottom small{font-size:12px;opacity:.7}
.wallet-card .button{background:var(--accent);color:var(--accent-ink)}

/* ---------- buttons ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-size:14px;font-weight:700;border:1px solid transparent;transition:transform .12s ease,background .15s ease,box-shadow .15s ease}
.button:hover{background:#e2551f}
.button:active{transform:scale(.98)}
.button .icon{width:17px;height:17px}
.button-small{min-height:42px;padding:0 16px;font-size:13.5px}
.button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}
.button-secondary:hover{background:var(--surface-2)}
.button-danger{background:transparent;color:var(--danger);border-color:color-mix(in srgb,var(--danger) 45%,transparent)}
.button-danger:hover{background:color-mix(in srgb,var(--danger) 10%,transparent)}
.full{width:100%}
.text-button{min-height:40px;padding:0 12px;border-radius:10px;font-size:13.5px;font-weight:700;color:var(--accent-text);background:transparent}
.text-button:hover{background:var(--accent-soft)}

/* ---------- service grid ---------- */
.service-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.service-heading h2{font-size:16px}
.service-heading>span{font-size:12.5px;color:var(--muted)}
.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:26px}
.service-card{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:14px;min-height:74px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);text-align:left;box-shadow:var(--shadow-1);transition:border-color .15s,box-shadow .15s,transform .12s}
.service-card:hover{border-color:var(--line-strong)}
.service-card.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft),var(--shadow-1)}
.service-card strong{font-size:14px;font-weight:700;color:var(--ink)}
.service-card small{grid-column:2;font-size:12px;color:var(--muted)}
.service-logo{grid-row:1/span 2;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;font-weight:750;font-size:16px;background:var(--surface-2);color:var(--ink)}
.service-logo .icon{width:19px;height:19px}
.service-logo.whatsapp{background:#e7f6ec;color:#1f8a4c}
.service-logo.telegram{background:#e2effb;color:#1f7fc0}
.service-logo.instagram{background:#fbe6ef;color:#c0397a}
.service-logo.all-services{background:var(--accent-soft);color:var(--accent-text)}
:root[data-theme=dark] .service-logo.whatsapp{background:#173622;color:#7fd3a1}
:root[data-theme=dark] .service-logo.telegram{background:#14293a;color:#79bce6}
:root[data-theme=dark] .service-logo.instagram{background:#38202e;color:#e78bb8}
.selected-check{position:absolute;top:10px;right:10px;width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:800}

/* ---------- catalogue ---------- */
.catalogue-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}
.catalogue-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 0}
.catalogue-top p{margin-top:5px;font-size:13px}
.sample-label{flex:none;font-size:11.5px;font-weight:700;letter-spacing:.04em;color:var(--accent-text);background:var(--accent-soft);padding:5px 10px;border-radius:999px}
.filters{display:grid;grid-template-columns:minmax(200px,1.6fr) minmax(150px,1fr) minmax(150px,1fr);gap:10px;padding:16px 20px 14px}
.search-field,.select-field{position:relative;display:flex;align-items:center}
.search-field .icon{position:absolute;left:13px;width:18px;height:18px;color:var(--muted);pointer-events:none}
.search-field input,.select-field select{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:11px;background:var(--bg);color:var(--ink);font-size:14px;appearance:none}
.search-field input{padding-left:40px}
.select-field select{padding-right:38px}
.select-field .icon{position:absolute;right:13px;width:16px;height:16px;color:var(--muted);pointer-events:none}
.search-field input::placeholder{color:var(--muted)}
.search-field input:focus,.select-field select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
.table-wrap{overflow-x:auto}
.offer-table{width:100%;border-collapse:collapse}
.offer-table th{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:left;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg)}
.offer-table td{padding:14px 20px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:14px}
.offer-table tr:last-child td{border-bottom:0}
.offer-table tbody tr:hover{background:var(--surface-2)}
.country-cell{display:flex;align-items:center;gap:12px}
.country-flag{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--surface-2);font-size:11.5px;font-weight:750;letter-spacing:.02em;color:var(--ink-2)}
.country-cell strong{display:block;font-weight:650}
.country-cell small{display:block;font-size:11.5px;color:var(--muted)}
.service-tag{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--surface-2);font-size:12px;font-weight:650;text-transform:capitalize}
.availability{font-size:13px;color:var(--ink-2)}
.offer-price{font-size:15px;font-weight:750;color:var(--ink)}
.buy-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 15px;border-radius:11px;background:var(--accent);color:var(--accent-ink);font-size:13px;font-weight:700;white-space:nowrap}
.buy-button:hover{background:#e2551f}
.buy-button .icon{width:14px;height:14px}
.buy-button:disabled{background:var(--surface-2);color:var(--muted)}
.catalogue-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;font-size:12.5px;color:var(--muted)}
.skeleton{height:16px;margin:16px 20px;border-radius:8px;background:linear-gradient(90deg,var(--surface-2) 25%,var(--sunken) 37%,var(--surface-2) 63%);background-size:400% 100%;animation:sk 1.4s ease infinite}
@keyframes sk{0%{background-position:100% 0}100%{background-position:0 0}}
.empty-state{text-align:center;padding:38px 20px}
.empty-state h2{font-size:17px}
.empty-state p{margin:8px auto 16px;font-size:13.5px;max-width:42ch}
.inline-error{margin:16px 20px;padding:12px 14px;border-radius:10px;background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning-text);font-size:13px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* notice */
.notice{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:16px 18px;border-radius:var(--radius);background:var(--warning-bg);border:1px solid var(--warning-border)}
.notice-icon{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--warning-text) 16%,transparent);color:var(--warning-text)}
.notice-icon .icon{width:16px;height:16px}
.notice strong{display:block;font-size:14px;font-weight:750;color:var(--warning-text)}
.notice p{margin-top:5px;font-size:13px;color:var(--warning-text)}
.notice a{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--warning-text);white-space:nowrap}
.notice a .icon{width:14px;height:14px}

/* ---------- activations ---------- */
.status-strip{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.status-strip>span{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font-size:13px;color:var(--muted)}
.status-strip strong{font-size:16px;font-weight:750;color:var(--ink)}
#orders{display:flex;flex-direction:column;gap:14px}
.order-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}
.order-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid var(--line)}
.order-header h2{font-size:15px}
.order-header h2 .service-tag{font-size:11px;vertical-align:middle}
.order-header small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.status{flex:none;padding:5px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12px;font-weight:750;text-transform:capitalize}
.order-body{display:grid;grid-template-columns:1.3fr 1.3fr auto;gap:16px;align-items:end;padding:16px 18px}
.order-body>div{min-width:0}
.order-body label{display:block;font-size:10.5px;font-weight:700;letter-spacing:.07em;color:var(--muted);margin-bottom:6px}
.order-number,.order-code{font-size:19px;font-weight:750;letter-spacing:.02em;color:var(--ink);word-break:break-all}
.order-code{color:var(--accent-text);letter-spacing:.12em}
.order-body>strong{font-size:17px;font-weight:750;align-self:center}
.order-actions{display:flex;align-items:center;gap:10px;padding:14px 18px;border-top:1px solid var(--line);background:var(--bg)}
.order-actions small{margin-right:auto;font-size:12px;color:var(--muted)}

/* ---------- wallet ---------- */
.wallet-summary{margin-bottom:18px;padding:22px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-1)}
.wallet-summary>span{font-size:12.5px;font-weight:600;color:var(--muted)}
.wallet-summary>.balance{display:block;font-size:38px;font-weight:750;letter-spacing:-.03em;margin:8px 0 6px}
.wallet-summary p{font-size:12.5px}
.payment-info{margin-bottom:22px;padding:16px 18px;border-radius:var(--radius);background:var(--sunken);border:1px solid var(--line)}
.payment-info strong{display:block;font-size:14px;font-weight:750;color:var(--ink)}
.payment-info p{margin-top:5px;font-size:13px}
.ledger-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-bottom:1px solid var(--line)}
.ledger-row:last-child{border-bottom:0}
.ledger-row strong{font-size:14px;font-weight:650;text-transform:capitalize}
.ledger-row small{display:block;font-size:12px;color:var(--muted)}
.ledger-row>strong{font-size:15px;font-weight:750;color:var(--ink)}
.ledger-row>strong.positive{color:var(--success)}

/* ---------- guide ---------- */
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}
.guide-grid article{padding:18px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-1)}
.guide-step{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 11px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:11.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px}
.guide-grid h2{font-size:15.5px;margin-bottom:8px}
.guide-grid p{font-size:13.5px;line-height:1.55}
.guide-warning{margin-bottom:18px;padding:20px;border-radius:var(--radius);background:var(--accent);color:var(--accent-ink)}
.guide-warning h2{color:var(--accent-ink);font-size:16px;margin-bottom:10px}
.guide-warning p{color:var(--accent-ink);opacity:.88;font-size:13.5px;line-height:1.58}
.guide-warning p+p{margin-top:9px}
details{margin-bottom:10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}
summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 18px;cursor:pointer;font-size:14px;font-weight:700;color:var(--ink);list-style:none}
summary::-webkit-details-marker{display:none}
summary::before{content:"";width:8px;height:8px;flex:none;border-right:2px solid var(--accent-text);border-bottom:2px solid var(--accent-text);transform:rotate(-45deg);transition:transform .18s ease;margin-right:2px}
details[open] summary::before{transform:rotate(45deg)}
details>p{padding:0 18px 16px 38px;font-size:13.5px;line-height:1.6}

/* ---------- config ---------- */
.config-item{padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-1);margin-bottom:12px}
.config-item h2{font-size:15px;margin-bottom:7px}
.config-item p{font-size:13.5px;line-height:1.55}

/* ---------- footer ---------- */
footer{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin-top:30px;padding:20px 30px 34px;font-size:12.5px;color:var(--muted)}
footer a{font-weight:600;color:var(--accent-text)}
.footer-preview{color:var(--muted)}

/* ---------- dialogs ---------- */
dialog{width:min(440px,calc(100vw - 32px));padding:26px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-2)}
dialog::backdrop{background:color-mix(in srgb,var(--ink) 55%,transparent);backdrop-filter:blur(3px)}
dialog[open]{animation:pop .2s ease}
@keyframes pop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.dialog-kicker{display:block;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text);margin-bottom:10px}
dialog h2{font-size:23px;letter-spacing:-.02em}
dialog>p{margin-top:9px;font-size:13.5px;line-height:1.55}
.close-dialog{position:absolute;top:14px;right:14px;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:var(--muted);background:var(--surface)}
.close-dialog:hover{background:var(--surface-2);color:var(--ink)}
.close-dialog .icon{width:18px;height:18px}
#auth-form,#fund-form,#buy-form{display:flex;flex-direction:column;gap:14px;margin-top:20px}
#auth-form label,#fund-form label,.checkbox-label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:var(--ink-2)}
#auth-form input,#fund-form input{min-height:48px;padding:0 14px;border:1px solid var(--line-strong);border-radius:12px;background:var(--bg);color:var(--ink);font-size:16px}
#auth-form input:focus,#fund-form input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
#auth-form input::placeholder{color:var(--muted)}
.checkbox-label{flex-direction:row;align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-weight:500;font-size:12.5px;line-height:1.5;color:var(--ink-2);cursor:pointer}
.checkbox-label input{width:20px;height:20px;flex:none;margin:1px 0 0;accent-color:var(--accent)}
.quick-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.quick-amounts button{min-height:42px;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface);font-size:13px;font-weight:700}
.quick-amounts button:hover{border-color:var(--accent);background:var(--accent-soft)}
.form-error{margin:0;font-size:12.5px;font-weight:600;color:var(--danger);min-height:1px}
.form-error:empty{display:none}
.dialog-footnote{margin-top:14px;font-size:12px;color:var(--muted);text-align:center}
.purchase-warning{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning-text);font-size:12.5px;line-height:1.5}
#buy-summary{margin-top:18px;border:1px solid var(--line);border-radius:12px;}
.buy-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--line);font-size:13px}
.buy-summary-row:last-child{border-bottom:0}
.buy-summary-row span{color:var(--muted)}
.buy-summary-row strong{font-weight:700}
.buy-summary-row.total{background:var(--bg);border-radius:0 0 12px 12px}
.buy-summary-row.total strong{font-size:16px;color:var(--accent-text)}

/* toast */
.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:300;max-width:min(420px,calc(100vw - 28px));padding:13px 20px;border-radius:12px;background:var(--ink);color:var(--surface);font-size:13.5px;font-weight:600;box-shadow:var(--shadow-2);animation:pop .2s ease}

/* ---------- responsive ---------- */
@media(max-width:1180px){
  :root{--sidebar:222px}
  .page-heading{grid-template-columns:minmax(0,1.5fr) minmax(220px,270px)}
  .filters{grid-template-columns:minmax(160px,1.4fr) minmax(140px,1fr) minmax(140px,1fr)}
  .notice a{display:none}
}
@media(max-width:960px){
  :root{--sidebar:200px}
  .page-heading{grid-template-columns:1fr;gap:18px}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .guide-grid{grid-template-columns:1fr}
  .order-body{grid-template-columns:1fr 1fr;gap:14px}
  .catalogue-top{flex-direction:column;gap:8px}
}
@media(max-width:760px){
  :root{--topbar-h:60px}
  .sidebar{inset:auto 0 0 0;width:auto;height:auto;flex-direction:row;padding:0;border-right:0;border-top:1px solid var(--line);background:var(--surface);padding-bottom:env(safe-area-inset-bottom,0)}
  .sidebar>.brand,.workspace,.nav-label,.sidebar-bottom{display:none}
  #navigation{display:grid;grid-template-columns:repeat(4,1fr);width:100%;min-height:60px}
  .nav-item{flex-direction:column;justify-content:center;gap:3px;min-height:60px;padding:8px 3px;margin:0;border-radius:0;font-size:11px;text-align:center}
  .nav-item .nav-icon .icon{width:22px;height:22px}
  .nav-item .nav-extra{display:none}
  .nav-item.active{background:transparent;color:var(--accent-text)}
  .nav-item.active .nav-icon{color:var(--accent-text)}
  .nav-count{position:absolute;top:5px;right:calc(50% - 24px);margin:0;min-width:18px;height:17px;padding:0 5px;font-size:10.5px}
  .page-shell{margin-left:0;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .topbar{padding:0 16px}
  .breadcrumb,.home-link{display:none}
  .mobile-brand{display:flex}
  .preview-chip{display:none}
  .demo-banner{padding:10px 16px;font-size:12px;align-items:flex-start;line-height:1.5}
  .demo-banner a{display:none}
  main{padding:20px 16px 0}
  h1{font-size:26px}
  .intro{font-size:14px}
  .wallet-card>.balance{font-size:30px}
  .service-grid{gap:9px}
  .service-card{padding:12px;min-height:70px}
  .filters{grid-template-columns:1fr 1fr;padding:14px 16px}
  .search-field{grid-column:1/-1}
  .offer-table th,.offer-table td{padding:12px 14px}
  .offer-table th:nth-child(2),.offer-table td:nth-child(2),.offer-table th:nth-child(3),.offer-table td:nth-child(3){display:none}
  .offer-table{min-width:0;width:100%;table-layout:fixed}
  .offer-table th:first-child{width:45%}
  .offer-table th:nth-child(4){width:25%}
  .offer-table th:last-child{width:30%}
  .offer-table th,.offer-table td{padding:13px 9px}
  .offer-table th{font-size:10px;white-space:normal}
  .offer-table .country-cell{gap:7px}
  .offer-table .country-flag{width:24px;min-width:24px;height:26px;font-size:9px}
  .offer-table .country-cell strong{font-size:11px;white-space:normal}
  .offer-table .country-cell small{font-size:9px;white-space:normal}
  .offer-table .offer-price{font-size:13px}
  .offer-table .buy-button{min-width:0;width:100%;padding:9px 7px;font-size:10px;min-height:40px}
  .offer-table .buy-button span{display:none}
  .offer-table .sr-only{left:0;top:0}
  .catalogue-footer>span:last-child{display:none}
  .notice{flex-wrap:wrap}
  .order-body{grid-template-columns:1fr}
  .order-actions{flex-wrap:wrap}
  .order-actions small{flex-basis:100%;margin:0 0 4px}
  footer{padding:18px 16px 28px}
  footer>span:last-child{display:none}
  dialog{width:calc(100vw - 24px);padding:22px;border-radius:18px}
  #auth-form input,#fund-form input{font-size:16px}
  .toast{bottom:calc(72px + env(safe-area-inset-bottom,0))}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Final readability and colour audit: labels never depend on sub-11px type. */
.wallet-card{background:#20221f;color:#f7f7f2}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .wallet-card{background:var(--surface-2);color:var(--ink)}}
.service-logo.whatsapp{color:#146b38}.service-logo.telegram{color:#145f92}.service-logo.instagram{color:#a32b66}
.selected-check{color:var(--accent-ink)}
.nav-label,.nav-count{font-size:11px}
.offer-table th{font-size:11px}
@media(max-width:760px){.offer-table .buy-button{font-size:11px}.offer-table .country-cell small{font-size:11px}.offer-table th{font-size:11px}.offer-table .country-flag{font-size:10px}}
