/* SMITHSMM V25 / Option B — editorial & minimal, full-viewport. CSS only.
   Existing All-Uneed APIs, wallet, order endpoints and cron are unmodified. */
html[data-smith-theme="light"]{--b25-page:#f6f8fb;--b25-sidebar:#fff;--b25-card:#fff;--b25-text:#172338;--b25-muted:#66748a;--b25-line:#e5e9f0;--b25-field:#fff;--b25-head:#f4f7fc;--b25-soft:#edf3fc;--b25-blue:#1769d6;--b25-shadow:0 3px 18px rgba(29,52,87,.045)}
html[data-smith-theme="dark"]{--b25-page:#121a25;--b25-sidebar:#131e2b;--b25-card:#1b2938;--b25-text:#f1f5fb;--b25-muted:#afbdd0;--b25-line:#344254;--b25-field:#1b2938;--b25-head:#243246;--b25-soft:#223650;--b25-blue:#4593ff;--b25-shadow:0 4px 20px rgba(0,0,0,.12)}
html[data-smith-theme] body.smm-v25-option-b{background:var(--b25-page)!important;color:var(--b25-text)!important;min-height:100vh;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--bg:var(--b25-page);--side:var(--b25-sidebar);--surface:var(--b25-card);--surface2:var(--b25-head);--line:var(--b25-line);--text:var(--b25-text);--muted:var(--b25-muted);--accent:var(--b25-blue)}
/* Frame-free desktop, no decorative canvas or outer radius */
html[data-smith-theme] body.smm-v25-option-b .smm-admin-layout{display:grid!important;grid-template-columns:236px minmax(0,1fr)!important;min-height:100dvh!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:var(--b25-page)!important;overflow:visible!important}
html[data-smith-theme] body.smm-v25-option-b .shell{display:grid!important;grid-template-columns:236px minmax(0,1fr)!important;min-height:100dvh!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:var(--b25-page)!important;overflow:visible!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-sidebar,html[data-smith-theme] body.smm-v25-option-b .sidebar{background:var(--b25-sidebar)!important;color:var(--b25-text)!important;border:0!important;box-shadow:none!important;border-radius:0!important;min-height:100dvh!important;padding:24px 14px!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-workspace,html[data-smith-theme] body.smm-v25-option-b .workspace{background:var(--b25-page)!important;min-width:0!important;box-shadow:none!important;border:0!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-main,html[data-smith-theme] body.smm-v25-option-b .main{width:100%!important;max-width:none!important;padding:20px clamp(18px,2.3vw,38px) 55px!important;box-sizing:border-box}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-topbar,html[data-smith-theme] body.smm-v25-option-b .topbar{background:transparent!important;border:0!important;box-shadow:none!important;padding:15px clamp(18px,2.3vw,38px)!important;min-height:62px!important;color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-brand,html[data-smith-theme] body.smm-v25-option-b .brand{border:0!important;padding:5px 8px 21px!important;color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-logo,html[data-smith-theme] body.smm-v25-option-b .brandmark{box-shadow:none!important;background:#1467d9!important;color:#fff!important;border-radius:11px!important}
html[data-smith-theme] body.smm-v25-option-b .v22-admin-provider-pill,html[data-smith-theme] body.smm-v25-option-b .v22-user-greeting,html[data-smith-theme] body.smm-v25-option-b .v23-side-promo{display:none!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-menu-caption{color:var(--b25-muted)!important;font-size:10px!important;letter-spacing:.08em;margin:6px 15px!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-menu-search{background:var(--b25-field)!important;color:var(--b25-text)!important;border:1px solid var(--b25-line)!important;border-radius:9px!important;height:38px!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-menu a,html[data-smith-theme] body.smm-v25-option-b .smp-nav>a{background:transparent!important;box-shadow:none!important;color:var(--b25-text)!important;min-height:42px!important;border:0!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-menu a.is-current,html[data-smith-theme] body.smm-v25-option-b .smp-nav>a.active{background:var(--b25-soft)!important;color:var(--b25-blue)!important;box-shadow:none!important;font-weight:750!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-menu a:hover,html[data-smith-theme] body.smm-v25-option-b .smp-nav>a:hover{background:var(--b25-head)!important;color:var(--b25-blue)!important}
html[data-smith-theme] body.smm-v25-option-b .v21-admin-more,html[data-smith-theme] body.smm-v25-option-b .v22-nav-secondary{border:0!important;background:transparent!important;color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b .v21-admin-more summary,html[data-smith-theme] body.smm-v25-option-b .v22-nav-secondary summary,html[data-smith-theme] body.smm-v25-option-b .v22-nav-secondary a{color:var(--b25-muted)!important;background:transparent!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-sidebar-bottom,html[data-smith-theme] body.smm-v25-option-b .side-bottom{background:var(--b25-head)!important;color:var(--b25-text)!important;border:0!important;box-shadow:none!important}
html[data-smith-theme] body.smm-v25-option-b .smm-admin-headline,html[data-smith-theme] body.smm-v25-option-b .pagehead{display:none!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smm-admin-top-title small,.smm-admin-footer,.footer,.sidebar-footer){color:var(--b25-muted)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smm-admin-top-title strong,.account-name strong){color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smm-admin-top-actions a,.smm-theme-toggle,.wallet-chip,.v21-top-api,.topbar .btn.subtle){color:var(--b25-text)!important;background:var(--b25-card)!important;box-shadow:none!important;border:1px solid var(--b25-line)!important}
html[data-smith-theme] body.smm-v25-option-b :is(input,select,textarea){background:var(--b25-field)!important;color:var(--b25-text)!important;border-color:var(--b25-line)!important;box-shadow:none!important}
html[data-smith-theme] body.smm-v25-option-b :is(input,textarea)::placeholder{color:var(--b25-muted)!important;opacity:1}
html[data-smith-theme] body.smm-v25-option-b :is(input,select,textarea):focus-visible{outline:2px solid var(--b25-blue)!important;outline-offset:2px!important}
html[data-smith-theme] body.smm-v25-option-b :is(a,button):focus-visible{outline:3px solid var(--b25-blue)!important;outline-offset:3px!important}
/* Core Option B cards */
.b25-admin-kpis,.b25-user-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.b25-kpi,.b25-user-kpi,.b25-card{background:var(--b25-card)!important;color:var(--b25-text)!important;border:1px solid var(--b25-line)!important;box-shadow:var(--b25-shadow)!important;border-radius:12px!important}
.b25-kpi,.b25-user-kpi{text-decoration:none!important;padding:17px 18px;min-height:118px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.b25-kpi-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:var(--b25-muted)!important}
.b25-kpi-label svg{width:18px;height:18px;color:var(--b25-blue)}
.b25-kpi strong,.b25-user-kpi strong{font-size:clamp(19px,2vw,30px);font-weight:750;color:var(--b25-text)!important;letter-spacing:-.04em;line-height:1.12;overflow-wrap:anywhere}
.b25-kpi small,.b25-user-kpi small,.b25-wallet-sub{font-size:11px;color:var(--b25-muted)!important}
.b25-upper-grid,.b25-lower-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.9fr);gap:15px;margin:15px 0}
.b25-card{padding:21px;min-width:0}
.b25-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}
.b25-card-head h2{color:var(--b25-text)!important;font-size:16px!important;letter-spacing:-.025em;font-weight:720;margin:0 0 4px!important}
.b25-card-head p{font-size:12px;color:var(--b25-muted)!important;margin:0!important}
.b25-card-head>a,.b25-card-head .b25-period{background:var(--b25-head)!important;border-radius:7px;padding:8px 10px;color:var(--b25-blue)!important;text-decoration:none;font-weight:600;font-size:11px;white-space:nowrap}
.b25-chart-card{min-height:275px}
.b25-chart{display:block;width:100%;height:176px;color:var(--b25-text)}
.b25-chart-labels{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:var(--b25-muted);padding:0 6px}
.b25-status-list{display:flex;flex-direction:column;gap:1px}
.b25-status-list>div{padding:11px 3px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;border-bottom:1px solid var(--b25-line)}
.b25-status-list>div:last-child{border-bottom:0}
.b25-status-list strong{padding:5px 9px;border-radius:7px;font-size:11px;font-weight:750;background:var(--b25-head);color:var(--b25-muted)}
.b25-status-list .b25-ok{color:#146a46!important;background:#e2f4ea!important}
html[data-smith-theme="dark"] .b25-status-list .b25-ok{color:#a6f4cc!important;background:#214339!important}
.b25-helper{font-size:10px;color:var(--b25-muted);display:block;margin-top:10px;overflow-wrap:anywhere}
.b25-table-scroll{overflow-x:auto;max-width:100%}
.b25-table{border-collapse:collapse;width:100%;min-width:490px;font-size:12px;color:var(--b25-text)}
.b25-table th{font-weight:650;font-size:10px;text-align:left;color:var(--b25-muted);background:var(--b25-head);padding:10px 11px;border:0}
.b25-table th:first-child{border-radius:7px 0 0 7px}.b25-table th:last-child{border-radius:0 7px 7px 0}
.b25-table td{padding:13px 11px;border-bottom:1px solid var(--b25-line);vertical-align:middle;background:transparent!important;color:var(--b25-text)!important}
.b25-table tbody tr:last-child td{border-bottom:0}
.b25-table td strong{display:block;font-weight:650;font-size:11px;color:var(--b25-text)}
.b25-table td small{display:block;font-size:10px;color:var(--b25-muted);margin-top:3px}
.b25-status-pill{display:inline-flex;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:700;background:var(--b25-head);color:var(--b25-blue)}
.b25-status-completed{color:#116345;background:#e2f4ed}html[data-smith-theme="dark"] .b25-status-completed{background:#24453b;color:#aaf4d2}
.b25-status-failed,.b25-status-canceled{color:#9b2d2d;background:#ffeaea}html[data-smith-theme="dark"] .b25-status-failed,html[data-smith-theme="dark"] .b25-status-canceled{color:#ffd6d6;background:#552e36}
.b25-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.b25-quick-links a{background:var(--b25-head)!important;color:var(--b25-text)!important;border:0!important;text-decoration:none;border-radius:8px;padding:14px 10px;display:flex;align-items:center;gap:9px;min-height:54px;font-size:12px;font-weight:650}
.b25-quick-links a:hover{color:var(--b25-blue)!important;background:var(--b25-soft)!important}
.b25-quick-links svg{width:18px;height:18px;color:var(--b25-blue)}
.b25-footnote{font-size:11px;color:var(--b25-muted);padding-top:20px}.b25-footnote strong{color:var(--b25-text)}
/* Member: tighter layout and a real checkout embedded in the home page */
.b25-user-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:3px 0 19px}
.b25-user-intro h1{margin:0 0 3px!important;font-size:26px!important;line-height:1.2;color:var(--b25-text)!important}
.b25-user-intro p{margin:0;color:var(--b25-muted)!important;font-size:12px}
.b25-primary{border:0;background:#1768d5!important;color:#fff!important;padding:12px 16px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:8px;cursor:pointer}
.b25-primary svg{width:18px;height:18px}.b25-primary:hover{background:#1153b4!important}
.b25-primary:disabled{opacity:.52;cursor:not-allowed}
.b25-user-kpis{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(130px,.75fr))}
.b25-wallet{background:var(--b25-soft)!important;border-color:var(--b25-line)!important}
.b25-user-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.9fr);gap:15px;margin:0 0 16px}
.b25-order-card .b25-field-label{display:block;color:var(--b25-text);font-weight:650;font-size:12px;margin-bottom:7px}
.b25-order-card select,.b25-order-card .b25-form-grid input{display:block;width:100%;height:43px;border:1px solid var(--b25-line)!important;border-radius:7px;padding:10px 12px;color:var(--b25-text)!important;background:var(--b25-field)!important;font-size:12px}
.b25-order-card .b25-form-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,.65fr);gap:12px;margin-top:14px}
.b25-order-card .b25-form-grid label{font-weight:650;font-size:12px;color:var(--b25-text)!important}
.b25-order-card .b25-form-grid input{margin-top:7px}
.b25-quote{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin:16px 0;background:var(--b25-head);padding:12px 14px;border-radius:8px}
.b25-quote span,.b25-quote small{display:block;font-size:10px;color:var(--b25-muted)}
.b25-quote strong,.b25-quote b{font-size:17px;color:var(--b25-text)}
.b25-quote b{font-size:13px}
.b25-form-note,.b25-validation{font-size:11px;color:var(--b25-muted)!important;margin:10px 0}
.b25-form-note a{color:var(--b25-blue)!important}
.b25-validation:not(:empty){color:#ad3e3e!important}
.b25-submit{width:100%;height:44px;margin-top:5px}
.b25-helper-card{margin-top:18px;background:var(--b25-head);padding:15px;border-radius:9px;color:var(--b25-muted);font-size:11px}
.b25-helper-card strong{color:var(--b25-text)}.b25-helper-card p{margin:7px 0 10px;line-height:1.6}.b25-helper-card a{color:var(--b25-blue);font-weight:700;text-decoration:none}
.b25-empty{color:var(--b25-muted);font-size:12px}
/* Normalize other pages, modal, tables, inputs in both themes */
html[data-smith-theme] body.smm-v25-option-b :is(.panel,.v21-panel,.accordion,.v21-glass-panel,.order-main,.smp-summary,.v21-user-balance,.v21-user-quick,.v21-service-tile,.v21-user-deposit,.v21-user-orders){background:var(--b25-card)!important;color:var(--b25-text)!important;border:1px solid var(--b25-line)!important;box-shadow:var(--b25-shadow)!important;border-radius:12px!important}
html[data-smith-theme] body.smm-v25-option-b :is(.v21-stat,.v23-user-metric){background:var(--b25-card)!important;color:var(--b25-text)!important;border:1px solid var(--b25-line)!important;box-shadow:none!important}
html[data-smith-theme] body.smm-v25-option-b :is(.v21-stat strong,.v21-stat small,.v21-stat-top,.v23-user-metric strong,.v23-user-metric small){color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.v21-user-balance strong,.v21-user-balance div>span,.v21-user-balance a,.v21-user-quick h2,.v21-user-quick nav a,.v21-user-orders td,.v21-user-orders th,.v21-user-deposit h2,.v21-user-deposit p){color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.v21-user-quick nav a,.v21-gradient-button,.v21-admin-actions a){background:var(--b25-soft)!important;color:var(--b25-text)!important;box-shadow:none!important;border:0!important}
html[data-smith-theme] body.smm-v25-option-b :is(.v21-user-deposit,.v23-order-fast){background:var(--b25-card)!important;box-shadow:var(--b25-shadow)!important}
html[data-smith-theme] body.smm-v25-option-b .v23-order-fast :is(h2,p,a){color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b .smith-checkout-dialog{background:var(--b25-card)!important;color:var(--b25-text)!important;border:1px solid var(--b25-line)!important;box-shadow:0 22px 80px rgba(0,0,0,.28)!important;border-radius:14px!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smith-modal-inner,.smith-modal-detail){background:var(--b25-card)!important;color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smith-checkout-dialog h2,.smith-modal-detail strong){color:var(--b25-text)!important}
html[data-smith-theme] body.smm-v25-option-b :is(.smith-checkout-dialog p,.smith-modal-detail span){color:var(--b25-muted)!important}
html[data-smith-theme] body.smm-v25-option-b .smith-checkout-dialog .btn.primary{background:#1768d5!important;color:#fff!important}
html[data-smith-theme] body.smm-v25-option-b .order-modes .btn.primary{background:#1768d5!important;color:#fff!important}
/* Mobile: true viewport width, sidebar becomes drawer, no double-scroll */
@media(max-width:1100px){.b25-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.b25-upper-grid,.b25-lower-grid,.b25-user-grid{grid-template-columns:1fr}.b25-user-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){html[data-smith-theme] body.smm-v25-option-b .shell{display:block!important}html[data-smith-theme] body.smm-v25-option-b .sidebar{position:fixed!important;top:0!important;left:0!important;width:min(295px,86vw)!important;min-height:100dvh!important;height:100dvh!important;transform:translateX(-112%);z-index:83!important;box-shadow:12px 0 34px #0003!important}html[data-smith-theme] body.smm-v25-option-b .nav-open .sidebar{transform:translateX(0)!important}html[data-smith-theme] body.smm-v25-option-b .workspace{width:100%!important}html[data-smith-theme] body.smm-v25-option-b .main{padding-bottom:108px!important}}
@media(max-width:760px){html[data-smith-theme] body.smm-v25-option-b .smm-admin-layout{display:block!important}html[data-smith-theme] body.smm-v25-option-b .smm-admin-sidebar{position:fixed!important;top:0!important;left:0!important;width:min(295px,86vw)!important;min-height:100dvh!important;height:100dvh!important;transform:translateX(-112%);z-index:83!important;box-shadow:12px 0 34px #0003!important}html[data-smith-theme] body.smm-v25-option-b.smm-admin-nav-open .smm-admin-sidebar{transform:translateX(0)!important}html[data-smith-theme] body.smm-v25-option-b .smm-admin-main{padding-bottom:110px!important}.b25-user-kpis{grid-template-columns:1fr 1fr}.b25-wallet{grid-column:span 2}.b25-user-intro h1{font-size:23px!important}.b25-admin-kpis{grid-template-columns:1fr 1fr}.b25-chart-card{min-height:240px}.b25-card{padding:16px}.b25-chart{height:150px}}
@media(max-width:480px){.b25-kpi{min-height:104px;padding:13px}.b25-kpi strong,.b25-user-kpi strong{font-size:20px}.b25-kpi-label{font-size:10px}.b25-order-card .b25-form-grid{grid-template-columns:1fr}.b25-user-intro>a{padding:10px;font-size:11px}.b25-quick-links{grid-template-columns:1fr 1fr}.b25-user-kpis{gap:9px}.b25-card-head{gap:8px}}
@media(prefers-reduced-motion:reduce){html[data-smith-theme] body.smm-v25-option-b *,html[data-smith-theme] body.smm-v25-option-b *:before{animation:none!important;transition:none!important}}
