@import url('data:text/css,');
:root{--blue:#4f46e5;--blue2:#2563eb;--ink:#111827;--muted:#667085;--line:#e4e7ec;--canvas:#f7f8fb;--card:#fff;--green:#039855;--orange:#dc6803;--red:#d92d20;--violet:#7f56d9;--shadow:0 10px 30px rgba(16,24,40,.06);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);font-size:14px}button,input,select,textarea{font:inherit}button,a{cursor:pointer}button{color:inherit}a{text-decoration:none;color:inherit}.skip-link{position:fixed;left:12px;top:-50px;background:#fff;padding:10px;z-index:1000}.skip-link:focus{top:12px}.icon{vertical-align:middle;flex:none}.demo-banner{height:36px;background:#eef2ff;color:#3730a3;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;border-bottom:1px solid #dfe3ff;position:fixed;inset:0 0 auto;z-index:50}.demo-banner button{border:0;background:transparent;text-decoration:underline;color:#4338ca;margin-left:12px}.app-shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh;padding-top:36px}.app-shell aside{position:fixed;top:36px;bottom:0;width:248px;background:#fff;border-right:1px solid var(--line);padding:22px 14px;overflow:auto;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:-.5px}.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);box-shadow:0 6px 16px #4f46e540}.side-brand{display:flex;justify-content:space-between;padding:0 10px}.workspace-chip{margin:24px 8px 15px;background:#f8f9fc;border:1px solid #eaecf0;border-radius:10px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center}.workspace-chip span{color:var(--muted);font-size:11px}.workspace-chip strong{font-size:12px}.app-shell aside nav{display:flex;flex-direction:column;gap:3px}.app-shell aside nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:#475467;position:relative;font-weight:550}.app-shell aside nav a:hover{background:#f7f8fa;color:#344054}.app-shell aside nav a.active{background:#eef2ff;color:#4338ca}.app-shell aside nav a.active i{position:absolute;right:9px;width:5px;height:5px;background:#6366f1;border-radius:50%}.side-help{margin:25px 6px 0;padding:16px;background:linear-gradient(145deg,#f4f3ff,#eef4ff);border-radius:12px;color:#3730a3}.side-help>svg{margin-bottom:8px}.side-help strong{display:block}.side-help p{font-size:12px;line-height:1.5}.side-help .btn{width:100%}.shell-main{grid-column:2;min-width:0}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 30px;position:sticky;top:36px;z-index:20}.topbar>div,.top-actions{display:flex;align-items:center;gap:14px}.top-search{display:flex;align-items:center;gap:8px;background:#f8f9fc;border:1px solid transparent;border-radius:9px;padding:9px 12px;width:280px;color:#98a2b3}.top-search:focus-within{border-color:#a5b4fc;background:#fff;box-shadow:0 0 0 3px #6366f11a}.top-search input{border:0;outline:0;background:transparent;width:100%}.icon-btn{border:1px solid var(--line);background:#fff;width:38px;height:38px;border-radius:9px;display:grid;place-items:center}.icon-btn:hover{background:#f8fafc}.notice{position:relative}.notice i{position:absolute;right:-3px;top:-4px;background:#ef4444;color:#fff;border:2px solid #fff;font:normal 9px/16px sans-serif;width:19px;height:19px;border-radius:50%}.balance{border-right:1px solid var(--line);padding-right:16px}.balance span,.balance strong{display:block}.balance span{font-size:11px;color:var(--muted)}.profile{display:flex;align-items:center;gap:9px;border:0;background:transparent;text-align:left;padding:4px}.profile>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e0e7ff;color:#4338ca;font-weight:700}.profile b{font-size:12px}.profile small{display:block;color:var(--muted);font-weight:400}.content{padding:28px 30px 55px;max-width:1480px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.1em;color:#6366f1;font-size:10px;font-weight:800;margin-bottom:6px}.page-head h1,.section-heading h2{font-size:25px;margin:0 0 6px;letter-spacing:-.5px}.page-head p,.section-heading p{margin:0;color:var(--muted)}.head-actions{display:flex;gap:10px}.btn{border:0;border-radius:8px;padding:9px 14px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.18s}.btn.primary{background:linear-gradient(135deg,#4f46e5,#3b64e8);color:#fff;box-shadow:0 4px 10px #4f46e52b}.btn.primary:hover{transform:translateY(-1px);box-shadow:0 6px 14px #4f46e53a}.btn.secondary{background:#fff;border:1px solid #d0d5dd;color:#344054}.btn.secondary:hover{background:#f9fafb}.btn.ghost{background:transparent}.btn.danger{background:#d92d20;color:#fff}.btn.full{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;gap:13px;box-shadow:0 1px 2px #10182805}.stat-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5}.stat-icon.violet{background:#f4ebff;color:#7f56d9}.stat-icon.green{background:#ecfdf3;color:#039855}.stat-icon.orange{background:#fff4ed;color:#dc6803}.stat-card span,.stat-card strong,.stat-card small{display:block}.stat-card span{color:var(--muted);font-size:12px}.stat-card strong{font-size:23px;margin:3px 0}.stat-card small{color:#667085}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 1px 2px #10182805}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card h2,.card-head h2{font-size:16px;margin:0}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.span-2{grid-column:span 2}.chart{height:220px;border-bottom:1px solid var(--line);display:flex;gap:7%;align-items:flex-end;padding:15px 4% 0;background:repeating-linear-gradient(to bottom,#fff 0,#fff 54px,#f2f4f7 55px)}.chart div{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;gap:7px}.chart div span{width:100%;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#818cf8,#4f46e5);min-height:5px}.chart small{font-size:10px;color:var(--muted);white-space:nowrap}.donut-wrap{text-align:center}.donut{width:140px;height:140px;margin:10px auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#4f46e5 0 98%,#eef2f6 98%);position:relative}.donut:after{content:"";position:absolute;inset:15px;background:#fff;border-radius:50%}.donut strong{z-index:1;font-size:28px}.donut small{font-size:13px}.donut-wrap p{color:var(--muted);font-size:12px}.text-button{border:0;background:none;color:#4f46e5;font-weight:600;padding:5px}.badge{font-size:11px;padding:4px 8px;border-radius:999px;background:#f2f4f7;color:#475467;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.badge.success{background:#ecfdf3;color:#027a48}.badge.warning{background:#fffaeb;color:#b54708}.badge.danger{background:#fef3f2;color:#b42318}.badge.info{background:#eef4ff;color:#3538cd}.table-wrap{overflow:auto;margin:-5px -20px -20px}.table-wrap table{width:100%;border-collapse:collapse;min-width:760px}.table-wrap th{text-align:left;background:#f9fafb;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:11px 16px;border-block:1px solid #eaecf0}.table-wrap td{padding:14px 16px;border-bottom:1px solid #f0f1f3;color:#344054}.table-wrap tr:last-child td{border-bottom:0}.table-wrap td strong,.table-wrap td small{display:block}.table-wrap td small{color:#98a2b3;margin-top:3px}.table-wrap td code{font-size:11px;background:#f2f4f7;padding:5px;border-radius:5px}.actions{white-space:nowrap}.actions button{border:0;background:none;color:#4f46e5;font-weight:600;padding:4px 8px}.actions .danger-link{color:var(--red)}.row-muted{opacity:.5}.filterbar,.search-panel{display:flex;align-items:center;gap:9px;margin-bottom:16px}.filter-search,.search-panel>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 11px;display:flex;align-items:center;gap:7px;min-width:260px}.filter-search input,.search-panel input{border:0;outline:0;width:100%}.filter-chip{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:8px}.filter-chip.active{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.date-filter{margin-left:auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:7px 10px}.date-filter input{border:0}.search-panel{justify-content:space-between;background:#fff;padding:14px;border:1px solid var(--line);border-radius:12px}.search-panel span{color:var(--muted);margin-right:10px}.country-grid,.product-grid,.operator-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.country-card,.product-card,.operator-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;transition:.18s}.country-card:hover,.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c7d2fe}.country-card>div:first-child,.product-top,.operator-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.flag{font-size:27px}.country-card h2,.product-card h2,.operator-card h2{font-size:17px;margin:16px 0 4px}.country-card p,.product-card p,.operator-card p{color:var(--muted);margin:0 0 17px}.country-card>div:nth-of-type(2){display:flex;align-items:baseline;gap:6px;margin-bottom:17px}.country-card>div strong{font-size:22px}.country-card>div span{color:var(--muted);font-size:12px}.market-layout{display:grid;grid-template-columns:210px 1fr;gap:20px}.market-filter{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;align-self:start}.market-filter h3{margin-top:0}.market-filter label{display:block;color:#475467;font-size:12px;margin:15px 0}.market-filter input,.market-filter select{width:100%;padding:9px;border:1px solid var(--line);border-radius:7px;margin-top:6px;background:#fff}.result-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--muted)}.result-line select,.card-head select{border:1px solid var(--line);border-radius:7px;padding:7px;background:#fff}.product-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;font-weight:800}.product-meta{display:grid;grid-template-columns:1fr 1fr;padding:12px 0;border-top:1px solid var(--line);margin-bottom:10px}.product-meta span{color:var(--muted);font-size:11px}.product-meta strong{display:block;color:var(--ink);font-size:13px;margin-top:3px}.rule-strip{display:flex;align-items:center;gap:13px;background:#eef2ff;border:1px solid #dfe3ff;color:#4338ca;padding:13px 16px;border-radius:10px;margin-bottom:16px}.receive-layout{display:grid;grid-template-columns:300px 1fr;gap:18px}.number-list{padding:14px}.number-row{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:12px;border-radius:9px;text-align:left}.number-row:hover,.number-row.active{background:#eef2ff;color:#4338ca}.number-row>b{flex:1;font-size:12px}.number-row small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.receive-card{padding:0;overflow:hidden}.receive-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.receive-head>div{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:8px}.receive-head small{grid-column:2;color:var(--muted)}.live-dot,.status-orb{width:9px;height:9px;background:#12b76a;border-radius:50%;box-shadow:0 0 0 4px #d1fadf}.message-feed{min-height:330px;padding:25px;background:#fafbff}.day-label{text-align:center;color:#98a2b3;font-size:11px}.message-bubble{max-width:520px;background:#fff;border:1px solid var(--line);border-radius:4px 13px 13px 13px;padding:15px;margin:30px 0;box-shadow:0 5px 15px #10182808;position:relative}.message-bubble>span{position:absolute;right:10px;top:8px;color:#98a2b3;font-size:10px}.message-bubble p{font-size:14px}.message-bubble small{color:#039855}.waiting{color:#98a2b3;display:flex;align-items:center;gap:9px;font-size:12px}.token-note{display:flex;gap:10px;padding:14px 20px;background:#fffcf5;border-top:1px solid #fef0c7;color:#7a2e0e}.token-note p{margin:0;font-size:12px;line-height:1.5}.summary-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:16px}.summary-row div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px}.summary-row span,.summary-row strong{display:block}.summary-row span{color:var(--muted);font-size:12px}.summary-row strong{font-size:22px;margin-top:4px}.empty{text-align:center;padding:55px 20px;color:#98a2b3}.empty h3{color:#344054;margin-bottom:5px}.empty p{margin:0 0 15px}.wallet-hero{background:linear-gradient(125deg,#312e81,#4f46e5 70%,#6782ed);color:#fff;border-radius:14px;padding:27px 30px;margin-bottom:18px;display:flex;justify-content:space-between}.wallet-hero span,.wallet-hero strong,.wallet-hero small{display:block}.wallet-hero strong{font-size:34px;margin:6px 0}.wallet-hero small{color:#c7d2fe}.recharge{max-width:680px}.amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.amounts button{padding:14px;border:1px solid var(--line);background:#fff;border-radius:8px;font-weight:700}.amounts button.active{border-color:#6366f1;color:#4338ca;background:#eef2ff}.field,.form-card>label{display:block;margin:13px 0;color:#344054;font-size:12px;font-weight:600}.field>span{display:block;margin-bottom:6px}.field input,.field select,.form-card input,.form-card select,.form-card textarea,.template-row textarea{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:10px;background:#fff;outline:0}.field input:focus,.field select:focus,.form-card input:focus,.template-row textarea:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.field small{display:block;color:#98a2b3;margin-top:5px}.safe-note{color:#667085;font-size:12px;display:flex;gap:7px;align-items:center}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.form-card label{margin:17px 0}.form-card textarea{min-height:90px}.switch-row{display:flex!important;justify-content:space-between;align-items:center}.switch-row span strong,.switch-row span small{display:block}.switch-row span small{color:var(--muted);font-weight:400;margin-top:3px}.switch-row input{width:40px;height:22px;accent-color:#4f46e5}.line-chart svg{width:100%;height:200px;overflow:visible}.line-chart .area{fill:url(#fill)}.line-chart .line{fill:none;stroke:#4f46e5;stroke-width:3}.line-chart>div{display:flex;justify-content:space-between;color:#98a2b3;font-size:10px}.operator-row{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #f0f1f3}.operator-row b{flex:1;font-size:12px}.operator-row small{display:block;color:var(--muted);font-weight:400}.status-orb.idle{background:#98a2b3;box-shadow:0 0 0 4px #f2f4f7}.metric-big{display:flex;align-items:center;gap:10px}.metric-big strong{font-size:34px}.metric-big span{color:var(--green);font-size:12px}.progress{height:8px;background:#eaecf0;border-radius:20px;margin:17px 0;overflow:hidden}.progress i{height:100%;display:block;background:#4f46e5}.muted{color:var(--muted);font-size:12px}.tasks button{display:flex;width:100%;align-items:center;gap:11px;border:0;background:#fff;border-bottom:1px solid #f0f1f3;padding:11px;text-align:left}.tasks button:hover{background:#f9fafb}.tasks b{flex:1;font-size:12px}.tasks small{display:block;color:var(--muted);font-weight:400}.task-icon{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5}.task-icon.orange{background:#fff4ed;color:#dc6803}.task-icon.violet{background:#f4ebff;color:#7f56d9}.country-cell{font-size:13px}.product-cell{display:flex!important;align-items:center;gap:8px}.product-cell i{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;font-style:normal}.operator-card dl div{display:flex;justify-content:space-between;padding:9px 0;border-top:1px solid var(--line)}.operator-card dt{color:var(--muted)}.operator-card dd{margin:0;font-weight:600}.public-shell{background:#fff;min-height:100vh}.public-nav{height:74px;display:flex;align-items:center;justify-content:space-between;max-width:1180px;margin:auto;padding:0 24px}.public-nav nav{display:flex;gap:28px;color:#475467}.public-nav>div{display:flex;gap:8px}.hero{max-width:1180px;margin:auto;min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:55px 24px 80px;gap:60px}.hero:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:#eef2ff;filter:blur(1px);right:6%;top:130px;z-index:0}.hero-copy,.hero-panel{position:relative;z-index:1}.pill{background:#eef2ff;color:#4338ca;padding:7px 12px;border-radius:99px;font-size:12px;font-weight:650}.hero h1{font-size:55px;line-height:1.12;letter-spacing:-2.5px;margin:24px 0 18px}.hero h1 em{font-style:normal;color:#4f46e5}.hero-copy>p{font-size:17px;line-height:1.8;color:#667085;max-width:550px}.hero-actions{display:flex;align-items:center;gap:20px;margin:30px 0}.text-link{color:#4338ca;font-weight:650}.trust-row{display:flex;gap:20px;color:#475467;font-size:12px}.trust-row span{display:flex;align-items:center;gap:5px}.hero-panel{padding:28px}.search-card{background:#fff;border:1px solid #e0e7ff;border-radius:18px;padding:30px;box-shadow:0 25px 60px #312e8120}.search-card h2{font-size:21px}.hero-search{display:flex;border:1px solid #d0d5dd;border-radius:10px;padding:5px 5px 5px 12px;align-items:center;gap:8px}.hero-search input{border:0;outline:0;flex:1;min-width:0}.hero-search button{border:0;background:#4f46e5;color:#fff;padding:10px 14px;border-radius:7px}.quick-tags{display:flex;gap:7px;margin-top:14px;flex-wrap:wrap}.quick-tags button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:7px 10px;color:#475467}.floating-card{position:absolute;right:-15px;bottom:-20px;background:#111827;color:#fff;border-radius:12px;padding:15px 20px;box-shadow:var(--shadow)}.floating-card span,.floating-card strong,.floating-card small{display:block}.floating-card span,.floating-card small{color:#98a2b3;font-size:10px}.floating-card strong{font-size:26px;margin:3px 0}.logo-strip{border-block:1px solid var(--line);padding:18px calc((100% - 1132px)/2);display:flex;align-items:center;justify-content:space-between;color:#667085}.logo-strip b{display:flex;align-items:center;gap:7px}.logo-strip i{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;font-style:normal}.public-section,.steps-section,.faq-section{max-width:1180px;margin:auto;padding:95px 24px}.section-heading{text-align:center;max-width:580px;margin:0 auto 40px}.section-heading h2{font-size:32px}.country-showcase{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.country-tile{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;text-align:left}.country-tile:hover{border-color:#a5b4fc;box-shadow:var(--shadow)}.country-tile>span{font-size:31px}.country-tile div{flex:1}.country-tile strong,.country-tile small{display:block}.country-tile small{color:var(--muted);margin-top:4px}.steps-section{max-width:none;background:#f8f9fc}.steps-section>.section-heading,.steps{max-width:1132px;margin-left:auto;margin-right:auto}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.steps article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:28px;position:relative}.steps article>b{position:absolute;right:20px;top:18px;color:#e0e7ff;font-size:28px}.steps article>svg{color:#4f46e5}.steps article h3{margin:19px 0 8px}.steps article p{color:var(--muted);line-height:1.6}.faq-section{display:grid;grid-template-columns:.7fr 1.3fr;gap:70px}.faq-section h2{font-size:31px}.faq-section>div>p{color:var(--muted);line-height:1.7}.accordions details{border-bottom:1px solid var(--line);padding:17px 0}.accordions summary{font-weight:650;list-style:none;display:flex;justify-content:space-between}.accordions details p{color:var(--muted);line-height:1.7}.public-footer{background:#111827;color:#fff;padding:35px max(24px,calc((100% - 1132px)/2));display:flex;align-items:center;justify-content:space-between}.public-footer p{color:#98a2b3}.public-footer button{border:0;background:transparent;color:#d0d5dd}.modal-backdrop{position:fixed;inset:0;background:#10182880;backdrop-filter:blur(2px);display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(520px,100%);max-height:90vh;background:#fff;border-radius:14px;box-shadow:0 30px 80px #1018284d;overflow:hidden;outline:0;display:flex;flex-direction:column}.modal.wide{width:min(850px,100%)}.modal>header,.modal>footer{padding:18px 22px;display:flex;align-items:center;justify-content:space-between}.modal>header{border-bottom:1px solid var(--line)}.modal>header h2{margin:0;font-size:18px}.modal>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px}.modal-body{padding:22px;overflow:auto}.purchase-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:25px}.read-control{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:9px;border-radius:8px;min-height:42px}.stepper{display:flex}.stepper button{width:40px;border:1px solid var(--line);background:#f9fafb}.stepper input{border-radius:0!important;text-align:center}.order-summary{background:#f8f9fc;border:1px solid var(--line);border-radius:10px;padding:18px}.order-summary h3{margin-top:0}.order-summary dl div,.total,.balance-check{display:flex;justify-content:space-between;padding:9px 0}.order-summary dt{color:var(--muted)}.order-summary dd{margin:0;font-weight:600}.total{border-top:1px solid var(--line);margin-top:8px}.total strong{font-size:20px;color:#4338ca}.balance-check{font-size:12px}.order-summary p{font-size:11px;color:var(--muted);display:flex;gap:5px}.form-error{background:#fef3f2;color:#b42318;border:1px solid #fecdca;border-radius:8px;padding:10px;margin-top:12px}.renew-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f8f9fc;padding:14px;border-radius:9px}.renew-summary div:first-child{grid-column:span 2}.renew-summary span,.renew-summary strong{display:block}.renew-summary span{font-size:11px;color:var(--muted)}.balance-callout{display:flex;justify-content:space-between;background:#eef2ff;color:#4338ca;padding:11px;border-radius:8px}.check{display:flex;align-items:flex-start;gap:8px;margin:16px 0;font-size:12px;line-height:1.5}.check input{margin-top:3px}.invariant-box,.notice-box{display:flex;gap:8px;background:#eef2ff;color:#4338ca;padding:12px;border-radius:8px;font-size:12px;line-height:1.5}.modal-copy{color:var(--muted);line-height:1.7}.tabs{display:flex;border-bottom:1px solid var(--line);margin:-10px 0 18px}.tabs button{border:0;background:none;padding:12px;position:relative}.tabs button.active{color:#4338ca;font-weight:700}.tabs button.active:after{content:"";position:absolute;height:2px;background:#4f46e5;inset:auto 8px -1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.template-toolbar{display:flex;justify-content:flex-end;gap:8px}.template-row{border:1px solid var(--line);border-radius:9px;padding:13px;margin:12px 0}.template-row>span{font-size:11px;color:#039855}.template-row textarea{margin:10px 0;min-height:70px}.template-row button,.version-list button{border:0;background:none;color:#4f46e5}.conflict-box{display:flex;gap:9px;background:#fffaeb;color:#93370d;border:1px solid #fedf89;border-radius:9px;padding:12px}.conflict-box div{flex:1}.conflict-box p{font-size:11px;margin:4px 0}.version-list>div{display:flex;align-items:center;gap:15px;padding:14px;border-bottom:1px solid var(--line)}.version-list>div span:nth-child(2){flex:1;color:var(--muted)}.spinner{width:15px;height:15px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.toast{position:fixed;right:24px;bottom:24px;background:#101828;color:#fff;border-radius:9px;padding:13px 17px;display:flex;gap:9px;align-items:center;z-index:200;transform:translateY(30px);opacity:0;transition:.25s;box-shadow:var(--shadow)}.toast.show{transform:none;opacity:1}.toast.error{background:#b42318}@keyframes spin{to{transform:rotate(360deg)}}.mobile-only{display:none}
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,1fr)}.country-grid,.product-grid,.operator-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr;padding-top:80px}.hero-panel{max-width:620px}.hero:before{top:580px}.logo-strip{padding-inline:24px;overflow:auto;gap:40px}.public-nav nav{display:none}}
.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px}.pagination button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:7px 11px}.pagination button:disabled{opacity:.45;cursor:not-allowed}.danger-link{color:var(--red)!important}.btn:disabled,button:disabled{opacity:.55;cursor:not-allowed}.form-error:focus{outline:2px solid #fda29b}.template-row .check{display:inline-flex;margin:4px 10px 4px 0}
@media(max-width:760px){.demo-banner{height:auto;min-height:42px;padding:6px 12px;text-align:center}.demo-banner span{display:none}.app-shell{display:block;padding-top:42px}.app-shell aside{top:42px;left:-260px;transition:.2s;box-shadow:20px 0 50px #10182820}.menu-open .app-shell aside{left:0}.shell-main{width:100%}.mobile-only{display:grid}.topbar{top:42px;padding:0 14px}.top-search{display:none}.profile b,.balance{display:none}.content{padding:20px 14px 45px}.page-head{align-items:flex-start;gap:15px}.page-head h1{font-size:21px}.head-actions .btn{font-size:0;padding:10px}.head-actions .btn svg{margin:0}.stats-grid,.dashboard-grid,.country-grid,.product-grid,.operator-grid,.settings-grid,.summary-row,.steps,.faq-section{grid-template-columns:1fr}.span-2{grid-column:auto}.market-layout{display:block}.market-filter{margin-bottom:15px}.receive-layout{grid-template-columns:1fr}.number-list{max-height:220px;overflow:auto}.filter-chip,.date-filter{display:none}.filter-search{min-width:0;flex:1}.search-panel{align-items:stretch;flex-direction:column}.public-nav{padding:0 16px}.public-nav .btn.ghost{display:none}.hero{padding:55px 18px;gap:20px;min-height:auto}.hero h1{font-size:40px}.hero-panel{padding:15px 0 40px}.floating-card{right:0}.trust-row{flex-wrap:wrap}.logo-strip{display:none}.public-section,.steps-section,.faq-section{padding:65px 18px}.country-showcase{grid-template-columns:1fr}.faq-section{gap:20px}.public-footer{align-items:flex-start;flex-direction:column;gap:10px}.purchase-layout{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:8px}.modal{max-height:96vh}.amounts{grid-template-columns:repeat(2,1fr)}}
.announcement{background:#fff7ed;border-bottom:1px solid #fed7aa;color:#9a3412;padding:9px 24px}.announcement summary{display:flex;justify-content:center;gap:16px;cursor:pointer}.announcement summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(900px,80vw)}.announcement summary b{font-size:11px}.announcement p{max-width:900px;margin:10px auto 2px;white-space:pre-wrap}.demo-strip{min-height:28px;padding:5px 16px;text-align:center;background:#eef2ff;color:#3730a3;font-size:11px}.demo-strip span{margin-left:9px}.app-shell{padding-top:0}.app-shell aside{top:0;height:100vh;position:sticky;align-self:start}.topbar{top:0}.locale-select select{max-width:120px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:7px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.setting-action{display:flex;justify-content:space-between;align-items:center;margin:17px 0}.setting-action small{display:block;color:var(--muted);margin-top:4px}.sms-retention{justify-content:space-between;align-items:center;margin-bottom:16px}.sms-retention p{margin:4px 0}.detail-list dt{font-size:11px;color:var(--muted);margin-top:14px}.detail-list dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.app-shell{padding-top:0}.app-shell aside{position:fixed;top:0}.topbar{top:0}.locale-select select{max-width:92px}.demo-strip span{display:none}.announcement{padding-inline:12px}.sms-retention{align-items:flex-start;flex-direction:column}}
.product-card .product-icon{width:100%;height:96px;padding:.5rem;background:#f2f4f7}.product-card .product-icon img{display:block;width:auto;height:auto;max-width:calc(100% - 1rem);max-height:calc(100% - 1rem);object-fit:contain;margin:auto}.product-image-manager{grid-column:1/-1;display:grid;grid-template-columns:112px 1fr auto;gap:12px;align-items:center}.product-image-preview{width:112px;height:112px;display:grid;place-items:center;background:#f2f4f7;border-radius:10px}.product-image-preview img{max-width:100%;max-height:100%;object-fit:contain}.product-image-manager small{grid-column:2/-1;color:var(--muted)}
.top-actions{min-width:0}.locale-select{flex:0 0 auto}.market-toolbar,.market-card-actions,.order-export-bar{flex-wrap:wrap}.market-card-actions .btn{min-width:max-content;flex:1}.topbar{gap:12px}.topbar>div:last-child{min-width:0}.profile{min-width:0}.profile b{min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis}.btn{white-space:nowrap}.announcement{position:relative}.app-shell{position:relative}
.smsv-wordmark{display:block;width:160px;height:48px}.brand{padding:0}.product-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.product-title-row .badge{font-size:10px}.product-top{min-height:62px;justify-content:flex-start!important}.product-icon{width:58px;height:58px}.product-icon img{width:100%;height:100%;object-fit:contain}.floating-actions{position:fixed;right:22px;bottom:22px;z-index:90;display:grid;gap:10px}.float-action{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid #dbeafe;background:#fff;color:#1788c7;box-shadow:0 8px 24px #10182825;position:relative}.float-action:hover:after,.float-action:focus-visible:after{content:attr(data-tooltip);position:absolute;right:54px;white-space:nowrap;background:#111827;color:#fff;padding:6px 9px;border-radius:6px;font-size:12px}.float-action:focus-visible{outline:3px solid #7dd3fc;outline-offset:2px}.float-action.disabled{opacity:.45;cursor:not-allowed}.float-action.disabled:hover:after{content:attr(title)}@media(max-width:760px){.floating-actions{right:14px;bottom:14px}.float-action{width:42px;height:42px}}
.product-card .product-title-row{display:block}.product-country-stock{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}.product-country-stock span{min-width:0}.product-country-stock span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-country-stock span+span{color:var(--muted);flex:none;text-align:right}.product-meta{min-width:0}.product-meta strong{overflow-wrap:anywhere}
.admin-login-page{min-height:100vh;display:grid;place-items:center;padding:60px 20px}.admin-login-page .card{width:min(440px,100%);text-align:center}.admin-login-page .brand{justify-content:center}.admin-login-page p{color:var(--muted);line-height:1.6}.admin-login-page .btn{margin-top:12px}
@media(max-width:900px){.market-toolbar>label,.market-toolbar>.filter-search{flex:1 1 220px}.top-search{width:min(240px,28vw)}.balance{padding-right:8px}.profile b{display:none}}
.real-announcement-top{margin:0;padding:.65rem 1rem;display:flex;gap:.75rem;align-items:center;overflow-wrap:anywhere}.real-announcement-top p{margin:0;flex:1;white-space:pre-wrap}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60vh;overflow:auto}.announcement-revision{border-top:1px solid var(--line,#dce3ee);padding:1rem 0}.announcement-revision>header,.revision-actions{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.announcement-revision form{padding:.75rem;background:var(--surface-soft,#f7f9fc);margin:.5rem 0}.announcement-revision textarea{min-height:7rem}.floating-actions[data-real-customer-floating]{z-index:40}@media(max-width:720px){.real-announcement-top{align-items:flex-start;flex-direction:column}.announcement-revision>header,.revision-actions{align-items:flex-start;flex-direction:column}}
.public-content-status{position:fixed;right:82px;bottom:22px;z-index:89;max-width:min(420px,calc(100vw - 110px));background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:8px 12px}.public-content-status p{margin:4px 0;overflow-wrap:anywhere}.public-content-status button{margin-left:8px}.modal-body.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:760px){.public-content-status{right:65px;bottom:14px}}

/* Real admin sidebar identity only; retain shared chip spacing and mobile menu rules. */
.app-shell.admin #sidebar .workspace-chip.admin-console-title{justify-content:center;text-align:center}

/* Real anonymous home: match public-view DOM without changing demo/admin shells. */
[data-public-home] .public-nav {
  height: auto;
  min-height: 74px;
  padding: 12px 24px;
  gap: 12px 20px;
  flex-wrap: wrap;
}
[data-public-home] .public-nav .brand { flex-shrink: 0; }
[data-public-home] .public-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  min-width: 0;
}
[data-public-home] .public-nav nav a {
  padding: 10px 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
[data-public-home] .public-nav > div {
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
[data-public-home] .public-nav .btn.ghost { display: inline-flex; }
[data-public-home] .public-nav .btn,
[data-public-home] .public-nav select { min-height: 44px; }
[data-public-home] .public-nav select {
  min-width: 0;
  max-width: 100%;
  padding: 8px 28px 8px 8px;
  border: 1px solid var(--line);
  /* Match the registration button's .btn radius with a CSS-rendered control. */
  border-radius: 8px;
  appearance: none;
  background: var(--card);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 12px center, right 8px center;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
[data-public-home] :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 3px;
}
[data-public-home] .hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  gap: 0;
  padding: 36px 24px 24px;
}
[data-public-home] .hero::before { content: none; }
[data-public-home] .hero-copy { min-width: 0; }
[data-public-home] .hero .pill { display: inline-block; }
[data-public-home] .hero h1 {
  max-width: 24ch;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 16px 0 12px;
  overflow-wrap: anywhere;
}
[data-public-home] .hero-copy > p {
  max-width: 76ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
[data-public-home] .public-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
  align-items: end;
  gap: 18px;
  padding: 24px 24px 48px;
}
[data-public-home] .public-section > :not(form):not(label) { grid-column: 1 / -1; }
[data-public-home] .section-heading {
  max-width: none;
  margin: 0;
  text-align: left;
}
[data-public-home] .section-heading h2 { font-size: 28px; margin: 0; }
[data-public-home] .hero-search { min-width: 0; min-height: 46px; margin: 0; }
[data-public-home] .hero-search input { background: transparent; width: 100%; }
[data-public-home] .hero-search:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px #6366f11a;
}
[data-public-home] .public-section > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #475467;
}
[data-public-home] [data-public-country-search] {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--card);
}
[data-public-home] .country-showcase {
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: 10px;
}
[data-public-home] .country-tile {
  min-width: 0;
  min-height: 44px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  overflow-wrap: anywhere;
}
[data-public-home] .country-tile small { margin: 0; }
[data-public-home] .country-tile[aria-pressed="true"] {
  border-color: #818cf8;
  background: #eef2ff;
  color: #4338ca;
}
[data-public-home] .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}
[data-public-home] .product-card { min-width: 0; overflow-wrap: anywhere; }
[data-public-home] .product-card dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
}
[data-public-home] .product-card dt { color: var(--muted); }
[data-public-home] .product-card dd { margin: 0; text-align: right; font-weight: 650; }
[data-public-home] .product-card .btn { max-width: 100%; white-space: normal; }
[data-public-home] .steps-section { padding: 40px 24px; }
[data-public-home] .steps-section > h2 { max-width: 1132px; margin: 0 auto 20px; }
[data-public-home] .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-public-home] .steps article { min-width: 0; padding: 20px; overflow-wrap: anywhere; }
[data-public-home] .steps article > b { position: static; color: #4f46e5; font-size: 24px; }
[data-public-home] .steps article h3 { margin: 12px 0 0; line-height: 1.6; }
[data-public-home] .faq-section {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 24px;
  padding: 40px 24px;
}
[data-public-home] .faq-section h2 { font-size: 28px; margin: 0; }
[data-public-home] .faq-section > details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow-wrap: anywhere;
}
[data-public-home] .faq-section > details > summary {
  padding: 14px 16px;
  min-height: 44px;
  font-weight: 650;
  line-height: 1.6;
  cursor: pointer;
}
[data-public-home] .faq-section > details > p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}
[data-public-home] .public-footer { gap: 16px; overflow-wrap: anywhere; }
[data-public-home] .public-footer p { max-width: 76ch; line-height: 1.7; margin: 0; }
[data-public-home] .pagination { flex-wrap: wrap; }
@media (max-width: 1000px) {
  [data-public-home] .public-nav nav { order: 1; flex-basis: 100%; }
  [data-public-home] .public-nav > div { margin-left: auto; }
}
@media (max-width: 640px) {
  [data-public-home] .public-nav { padding: 12px 16px; }
  [data-public-home] .public-nav > div { margin-left: 0; flex: 1 1 100%; }
  [data-public-home] .hero { padding: 24px 16px 16px; }
  [data-public-home] .public-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 16px 32px;
  }
  [data-public-home] .product-grid,
  [data-public-home] .steps,
  [data-public-home] .faq-section { grid-template-columns: minmax(0, 1fr); }
  [data-public-home] .steps-section,
  [data-public-home] .faq-section { padding: 32px 16px; }
}

/* Authenticated real customer dashboard only; no shared layout overrides. */
.customer-dashboard .topbar { min-height: 64px; height: auto; padding-block: 12px; }
.customer-dashboard .topbar > div { min-width: 0; }
.customer-dashboard .top-actions { gap: 12px; }
.customer-dashboard .content { padding-top: 22px; }
[data-customer-dashboard] .page-head { align-items: center; gap: 12px; margin-bottom: 18px; }
[data-customer-dashboard] .page-head p { line-height: 1.6; }
[data-customer-dashboard] .dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 0; }
[data-customer-dashboard] .stat-card { min-width: 0; padding: 18px; }
[data-customer-dashboard] .stat-card > div { min-width: 0; width: 100%; }
[data-customer-dashboard] .stat-card:first-child { background: #eef2ff; border-color: #c7d2fe; }
[data-customer-dashboard] .stat-card span { line-height: 1.5; overflow-wrap: anywhere; }
[data-customer-dashboard] .stat-card strong { margin: 8px 0 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
[data-customer-dashboard] .stat-card small { line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  [data-customer-dashboard] .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .customer-dashboard .topbar { gap: 8px; padding-inline: 14px; }
  .customer-dashboard .topbar > div { gap: 8px; }
  .customer-dashboard .profile { padding: 0; }
  .customer-dashboard .content { padding-top: 18px; }
  [data-customer-dashboard] .dashboard-metrics { gap: 10px; }
  [data-customer-dashboard] .stat-card { padding: 14px; }
  [data-customer-dashboard] .stat-card strong { font-size: 21px; }
}
@media (max-width: 480px) {
  .customer-dashboard .top-actions { gap: 8px; }
  [data-customer-dashboard] .dashboard-metrics { grid-template-columns: minmax(0, 1fr); }
}

/* Real customer account menu only; native disclosure, existing logout handler. */
.customer-account-menu { position: relative; min-width: 0; }
.customer-account-menu > summary { list-style: none; cursor: pointer; }
.customer-account-menu > summary::-webkit-details-marker { display: none; }
.customer-account-menu > summary:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; border-radius: 8px; }
.customer-account-menu > .customer-account-actions { position: absolute; right: 0; top: 100%; margin-top: 8px; min-width: 160px; max-width: calc(100vw - 28px); padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); z-index: 25; }
.customer-account-menu .customer-account-actions > button { width: 100%; }

/* Real documents only: include login/public overlays outside the account shell. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  border: 1.4px solid #667085;
  border-radius: 8px;
  padding: 8px 10px;
  background-color: var(--card);
  color: var(--ink);
}

/* Keep the locale arrow clear of text after the common control padding. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(select[data-public-locale], select[data-locale]) {
  padding-right: 28px;
}

/* Preserve native check/radio/file controls and purpose-shaped button geometry. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn):not(:where([role="switch"], [role="checkbox"], [role="radio"], .float-action, .profile, .country-tile, .number-row, .sr-only)) {
  border: 1.4px solid #667085;
  border-radius: 8px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  button:not([class]):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  padding: 7px 11px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(.btn.primary, button.active, button[aria-pressed="true"], button[data-selected="true"]):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  border-color: var(--blue);
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(.btn.danger, button.danger-link) {
  border-color: #b42318;
}

/* Composite searches draw one outer frame, rather than nested input frames. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(.top-search, .filter-search, .hero-search) {
  border: 1.4px solid #667085;
  border-radius: 8px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(.top-search, .filter-search, .hero-search)
  :where(input:not([type]), input[type="text"], input[type="search"]):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(.top-search, .filter-search, .hero-search):focus-within {
  border-color: var(--blue);
}

html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, select, input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"]):not(:where([role="switch"], [role="checkbox"], [role="radio"], .sr-only)):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select):not(:where([role="switch"], [role="checkbox"], [role="radio"])):disabled {
  background-color: #f2f4f7;
  color: #667085;
  cursor: not-allowed;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn):not(:where([role="switch"], [role="checkbox"], [role="radio"], .float-action, .profile, .country-tile, .number-row, .sr-only)):disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Real admin country/product/inventory/template dialogs only; shared modal rules stay above. */
[data-admin-catalog-layout] {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
}
[data-admin-catalog-layout] > header,
[data-admin-catalog-layout] > footer { flex: 0 0 auto; gap: 12px; }
[data-admin-catalog-layout] > header h2 { min-width: 0; overflow-wrap: anywhere; }
[data-admin-catalog-layout] .modal-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}
[data-admin-catalog-layout] [data-catalog-form] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px 16px;
}
[data-admin-catalog-layout] [data-catalog-form] > fieldset,
[data-admin-catalog-layout] [data-catalog-form] > small,
[data-admin-catalog-layout] [data-catalog-form] > section,
[data-admin-catalog-layout] .catalog-field-wide { grid-column: 1 / -1; }
[data-admin-catalog-layout] label {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  line-height: 1.5;
}
[data-admin-catalog-layout] :is(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 2px solid #667085;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
[data-admin-catalog-layout] textarea { min-height: 144px; resize: vertical; }
[data-admin-catalog-layout] input[type="file"] { padding: 8px; }
[data-admin-catalog-layout] input[type="file"]::file-selector-button {
  margin-inline-end: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 6px 10px;
  background: #f9fafb;
  color: #344054;
  font: inherit;
  cursor: pointer;
}
[data-admin-catalog-layout] fieldset {
  display: grid;
  gap: 14px;
  min-inline-size: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 16px;
}
[data-admin-catalog-layout] legend { padding: 0 6px; font-weight: 700; }
[data-admin-catalog-layout] .catalog-selector-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0;
}
[data-admin-catalog-layout] .catalog-selector-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
[data-admin-catalog-layout] :is(small, p, code, [data-inventory-file-preview]) {
  min-width: 0;
  overflow-wrap: anywhere;
}
[data-admin-catalog-layout] small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}
[data-admin-catalog-layout] .catalog-inventory-batch p { margin: 0; line-height: 1.65; }
[data-admin-catalog-layout] [data-inventory-file-preview] ol { margin: 8px 0 0; padding-inline-start: 24px; }
[data-admin-catalog-layout] [data-inventory-file-preview] li { padding-block: 4px; }
[data-admin-catalog-layout] [data-edit-product-template-navigation] {
  flex-wrap: wrap;
  align-items: center;
}
[data-admin-catalog-layout] [data-edit-product-template-navigation] p { flex-basis: 100%; margin: 0; }
[data-admin-catalog-layout] .btn {
  min-width: 0;
  min-height: 40px;
  max-width: 100%;
  padding: 9px 14px;
  font-size: 14px;
  white-space: normal;
}
[data-admin-catalog-layout] [data-clear-inventory-file] { justify-self: start; }
[data-admin-catalog-layout] .catalog-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}
[data-admin-catalog-layout] .catalog-template-lineage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 8px 12px;
  min-width: 0;
  margin: 0;
}
[data-admin-catalog-layout] .catalog-template-lineage :is(dt, dd) {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
[data-admin-catalog-layout] [data-template-keyword-guidance] {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
[data-admin-catalog-layout] :is(button, input, select, textarea):focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  [data-admin-catalog-layout] {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }
  [data-admin-catalog-layout] > header,
  [data-admin-catalog-layout] > footer,
  [data-admin-catalog-layout] .modal-body { padding: 16px; }
  [data-admin-catalog-layout] [data-catalog-form],
  [data-admin-catalog-layout] .catalog-selector-search { grid-template-columns: minmax(0, 1fr); }
  [data-admin-catalog-layout] fieldset { padding: 12px; }
  [data-admin-catalog-layout] > footer { display: grid; grid-template-columns: minmax(0, 1fr); }
  [data-admin-catalog-layout] > footer .btn { width: 100%; }
}
/* End real admin catalog layout. */

/* Standalone real admin login: auto margins center spare space and allow page scrolling. */
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 24px 16px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] > .card {
  flex-shrink: 0;
  width: 100%;
  max-width: 380px;
  min-width: 0;
  margin-block: auto;
  padding: 24px;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow);
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] > .card > p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] [data-admin-open-login] {
  margin-top: 16px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] [data-admin-login] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  margin-top: 20px;
  text-align: start;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] .field {
  min-width: 0;
  margin: 0;
  font-size: 14px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] :is(input[type="email"], input[type="password"]) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 16px;
  line-height: 1.5;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] [data-admin-login] > footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] button {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-sms365-real-api="enabled"][data-smsv-role="admin"] #app > main[data-admin-anonymous] [data-admin-login] > [role="alert"] {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fecdca;
  border-radius: 8px;
  background: #fef3f2;
  color: #b42318;
  line-height: 1.6;
}
/* End standalone real admin login. */

/* Match unified text/select frames; retain the catalog file/textarea rule. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  [data-admin-catalog-layout] :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  border-width: 1.4px;
}
/* Real actions and locale selectors; keep other fields, nav and native check/file semantics. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  background-color: #67d4e4;
  border-color: #67d4e4;
  color: #164e63;
}
/* Existing muted subtitles need the action foreground on the deeper cyan fill. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button.country-tile small, button.number-row small, button.profile small, summary.profile small, .tasks button small) {
  color: inherit;
}
/* Clear only the existing primary gradient; do not reset other action images. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, input[type="button"], input[type="submit"], input[type="reset"]):where(.btn.primary):not(:where([role="switch"], [role="checkbox"], [role="radio"])) {
  background-image: none;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"], :disabled, [aria-disabled="true"], .disabled)):hover {
  background-color: #59cddd;
  border-color: #59cddd;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"], :disabled, [aria-disabled="true"], .disabled)):active {
  background-color: #4cc9dc;
  border-color: #4cc9dc;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile):not(:where([role="switch"], [role="checkbox"], [role="radio"])):where(.active, [aria-pressed="true"], [data-selected="true"], [aria-expanded="true"]) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile):not(:where([role="switch"], [role="checkbox"], [role="radio"])):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):is(:disabled, [aria-disabled="true"], .disabled) {
  background-color: #edf4f5;
  color: #52666d;
  border-color: #edf4f5;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) #app
  :where(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile):not(:where([role="switch"], [role="checkbox"], [role="radio"])):is(.danger, .danger-link) {
  /* The legacy .danger-link text color is already !important. */
  color: #861b13 !important;
}

/* Real admin content navigation: DOM order is after settings, before audit. */
#app [data-real-admin-entry] #sidebar nav .admin-content-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1.4px solid transparent;
  border-radius: 8px;
  background-color: transparent;
  color: #475467;
  position: relative;
  font: inherit;
  font-weight: 550;
  text-align: left;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav:not(:where(:disabled, [aria-disabled="true"], .disabled)):hover {
  background-color: #f7f8fa;
  border-color: transparent;
  color: #344054;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav.active:not(:where(:disabled, [aria-disabled="true"], .disabled)) {
  background-color: #eef2ff;
  border-color: transparent;
  color: #4338ca;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav:not(:where(:disabled, [aria-disabled="true"], .disabled)):active {
  background-color: #e0e7ff;
  border-color: transparent;
  color: #4338ca;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav:is(:disabled, [aria-disabled="true"], .disabled) {
  background-color: transparent;
  color: #667085;
  border-color: transparent;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav.active i {
  position: absolute;
  right: 9px;
  width: 5px;
  height: 5px;
  background: #0891b2;
  border-radius: 50%;
}
#app [data-real-admin-entry] #sidebar nav .admin-content-nav:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Real public catalogue: only the all-countries action opts out of grid stretch. */
[data-public-home] .country-showcase > button[data-public-country=""] {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-width: 44px;
  white-space: normal;
}

/* Keep the public product input's 3px focus outline; remove the duplicate form ring. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app
  [data-public-home] form[data-public-product-search]:focus-within {
  border-color: #667085;
  box-shadow: none;
}

/* Real customer balance only: existing wallet icon, full amount and accessible name. */
.customer-wallet-header .customer-wallet-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.customer-wallet-header .customer-wallet-balance strong {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .customer-wallet-header {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .customer-wallet-header .top-actions {
    flex: 1 1 220px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }
}

/* Real user-list actions only: preserve the table cell and existing control states. */
[data-real-admin-entry] td.actions > .real-admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 440px;
  max-width: calc(100vw - 64px);
  white-space: normal;
}
[data-real-admin-entry] td.actions > .real-admin-user-actions > button {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Market image containment and responsive five-column desktop preview. */
.product-card .product-top{min-width:0;width:100%}
.product-card .product-icon{display:flex;align-items:center;justify-content:center;flex:0 1 100%;width:100%;min-width:0;height:96px;min-height:0;padding:8px;box-sizing:border-box}
.product-card .product-icon img{display:block;flex:0 1 auto;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0}
.product-card [data-product-image-missing]{display:block;max-width:100%;min-width:0;text-align:center;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
#public-market .product-grid,.market-results .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
#public-market .product-card,.market-results .product-card{min-width:0}
#public-market .product-card h2,.market-results .product-card h2{overflow-wrap:anywhere}
@media(max-width:1099px){#public-market .product-grid,.market-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:799px){#public-market .product-grid,.market-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:539px){#public-market .product-grid,.market-results .product-grid{grid-template-columns:minmax(0,1fr)}}

/* Actual authenticated market is a sibling of its search form. */
[data-market-search]~.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
[data-market-search]~.product-grid .product-card{min-width:0;container-type:inline-size}
[data-market-search]~.product-grid .product-card h2,#public-market .product-card h3{overflow-wrap:anywhere}
@media(max-width:1099px){[data-market-search]~.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:799px){[data-market-search]~.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:539px){[data-market-search]~.product-grid{grid-template-columns:minmax(0,1fr)}}

[data-market-search]~.product-grid .market-card-actions{display:grid;grid-template-columns:1fr;min-width:0}
[data-market-search]~.product-grid .market-card-actions .btn{min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Catalog dialogs scroll in one layer; blur and page scroll no longer repaint behind them. */
html { scrollbar-gutter: stable; }
html:has([data-catalog-backdrop]), body:has([data-catalog-backdrop]) { overflow: hidden; }
[data-catalog-backdrop] { backdrop-filter: none; -webkit-backdrop-filter: none; overscroll-behavior: none; }
[data-catalog-backdrop] .modal-body { overscroll-behavior: contain; scroll-behavior: auto; }
.catalog-file-picker { position:relative;display:block;border:1px solid var(--line,#d0d5dd);border-radius:8px;padding:10px 12px;overflow-wrap:anywhere; }
.catalog-file-picker input[type=file] { position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer; }
.catalog-file-picker:focus-within { outline:2px solid var(--primary,#2563eb);outline-offset:2px; }
.catalog-file-picker:has(input:disabled) { opacity:.6; }

/* SMS body stays readable without clipping or HTML interpretation. */
.sms-body-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:16rem;max-width:34rem;line-height:1.6;}

.sms-table td{vertical-align:top;}
@media(max-width:720px){
 .sms-table-wrap{overflow:visible;}
 .sms-table,.sms-table tbody{display:block;width:100%;}
 .sms-table thead{display:none;}
 .sms-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:18px 14px;border-bottom:1px solid #e5e9f1;}
 .sms-table tbody td{display:block;width:auto;min-width:0;max-width:none;padding:0!important;border:0;white-space:normal;}
 .sms-table tbody td::before{content:attr(data-label);display:block;font-size:12px;line-height:1.5;font-weight:600;color:#69758d;margin-bottom:4px;}
 .sms-table tbody td.sms-body-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;}
}

@media(max-width:720px){
 .sms-table-wrap,.sms-table,.sms-table tbody,.sms-table tbody tr{width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
 .sms-table tbody td,.sms-table tbody td.sms-body-text{width:auto;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word;}
}

@media(max-width:720px){.sms-table-wrap table.sms-table{min-width:0;width:100%;max-width:100%;}}
/* Admin feedback: a small, dismissible message above the existing work. */
.admin-feedback-backdrop{position:fixed;inset:0;width:100vw;z-index:500;display:grid;place-items:center;padding:20px;background:rgba(16,24,40,.38);backdrop-filter:blur(2px)}
.admin-feedback-dialog{width:min(380px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 20px 60px #10182840;color:#111827}
.admin-feedback-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px 6px 22px;flex:none}
.admin-feedback-dialog h2{font-size:17px;line-height:1.5;margin:0;font-weight:650}
.admin-feedback-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#667085;font-size:26px;line-height:1;flex:none}
.admin-feedback-close:hover{background:#f2f4f7;color:#101828}
.admin-feedback-body{padding:8px 22px 20px;overflow:auto;overscroll-behavior:contain;min-height:0}
.admin-feedback-body p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:#344054}
.admin-feedback-dialog>footer{display:flex;justify-content:flex-end;padding:0 22px 20px;flex:none}
.admin-feedback-dialog>footer button{min-width:80px;min-height:40px}
.admin-feedback-dialog button:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
@media(max-width:480px){.admin-feedback-backdrop{padding:16px}.admin-feedback-dialog{max-height:calc(100dvh - 32px)}}

/* Confirmed site-wide button palette, 2026-11-12. Includes body-mounted dialogs. */
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) body :is(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):not(:where(#sidebar nav *)) { background: #8DCEF4 !important; border-color: #8DCEF4 !important; color: #102F43 !important; }
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) body :is(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):not(:where(#sidebar nav *)):hover:not(:disabled):not([aria-disabled="true"]):not(.disabled) { background: #78C4EF !important; border-color: #78C4EF !important; }
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) body :is(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):not(:where(#sidebar nav *)):active:not(:disabled):not([aria-disabled="true"]):not(.disabled) { background: #62B9E9 !important; border-color: #62B9E9 !important; }
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) body :is(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):not(:where(#sidebar nav *)):focus-visible { outline: 3px solid #173F65 !important; outline-offset: 3px; }
html[data-sms365-real-api="enabled"]:is([data-smsv-role="customer"], [data-smsv-role="admin"]) body :is(button, a.btn, a.float-action, a[role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary.profile, select[data-public-locale], select[data-locale]):not(:where([role="switch"], [role="checkbox"], [role="radio"])):not(:where(#sidebar nav *)):is(:disabled,[aria-disabled="true"],.disabled) { background: #E4EDF3 !important; border-color: #CCD9E2 !important; color: #566B7A !important; opacity: 1 !important; cursor: not-allowed; box-shadow: none !important; }

/* Compact real marketplace country filters, keep accessible focus indication. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app [data-public-home] .country-showcase {
 display:flex; flex-wrap:wrap; align-items:center; gap:10px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app [data-public-home] .country-tile {
 display:inline-flex; flex-direction:row; align-items:center; justify-content:center;
 width:auto; min-height:44px; padding:9px 14px; gap:6px; white-space:nowrap;
 text-decoration:none; flex:0 0 auto;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app .country-market-bar button {
 display:inline-flex; align-items:center; gap:6px; text-decoration:none;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app :is(.country-tile,.country-market-bar button)::after {content:none;}
.admin-recharge-tabs {display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin:20px 0 24px;}

/* Confirmed customer header gold pills, 2026-11-12. No account/payment logic changes. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .top-actions .profile:not(:disabled):not([aria-disabled="true"]):not(.disabled) {
  background: #8A6A2F !important;
  border-color: #8A6A2F !important;
  color: #FFF1D1 !important;
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .top-actions .profile:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
  background: #806129 !important;
  border-color: #806129 !important;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .top-actions .profile:not(:disabled):not([aria-disabled="true"]):not(.disabled):active {
  background: #745723 !important;
  border-color: #745723 !important;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .profile > span {
  background: #FFF1D1;
  color: #8A6A2F;
  flex-shrink: 0;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .profile b {
  min-width: 0;
  overflow-wrap: anywhere;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .profile small { color: #FFF1D1; }
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .profile > svg { flex-shrink: 0; }
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .customer-wallet-balance {
  background: #B09A67;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  box-sizing: border-box;
  gap: 8px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] body .topbar .customer-wallet-balance > svg { flex-shrink: 0; }
/* Order identifiers remain links, not blue action pills. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app button[data-mb="payment-view"][data-payment-id],
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] #app button[data-mb="payment-view"][data-payment-id]:is(:hover,:active,:focus) {
 background:transparent !important; border:0 !important; box-shadow:none !important;
 color:inherit !important; border-radius:0; padding:0; min-height:0;
}

/* Customer sign-in and registration fields: compact desktop, readable mobile. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login], form[data-register]) {
  width: 50%;
  min-width: min(240px, 100%);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login], form[data-register]) input {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login], form[data-register]) {
    width: 100%;
    min-width: 0;
  }
}

/* Compact customer authentication dialogs; verification behavior is unchanged. */
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal[data-customer-auth-dialog] {
  width:min(344px,100%);
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal[data-customer-auth-dialog] > header,
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal[data-customer-auth-dialog] > footer {padding:14px 22px;}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal[data-customer-auth-dialog] > .modal-body {padding:14px 22px;}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login],form[data-register]) {
 width:300px;min-width:0;max-width:100%;margin-inline:auto;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login],form[data-register]) .field {margin:0 0 12px;}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-body > :is(form[data-login],form[data-register]) .field input {
 width:100%;min-height:44px;padding:11px 12px;font-size:16px;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] [data-customer-auth-dialog] :is([data-auth-feedback],.form-error) {
 text-align:center;color:#dc2626;overflow-wrap:anywhere;
}
html[data-sms365-real-api="enabled"][data-smsv-role="customer"] [data-customer-auth-dialog] [data-human-verification] {text-align:center;}
@media(max-width:359px) {
 html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal[data-customer-auth-dialog] > :is(header,footer,.modal-body) {padding-inline:6px;}
}

@media(max-width:359px){html[data-sms365-real-api="enabled"][data-smsv-role="customer"] .modal-backdrop:has(> [data-customer-auth-dialog]){padding-inline:4px;}}
