:root{--merchant-primary: #1e40af;--merchant-primary-strong: #17358f;--merchant-secondary: #2563eb;--merchant-accent: #b85d05;--merchant-bg: #f4f7fb;--merchant-surface: #ffffff;--merchant-surface-alt: #f8fafc;--merchant-text: #15233d;--merchant-muted: #5c6b82;--merchant-border: #dbe4f0;--merchant-success: #147d56;--merchant-warning: #a14e05;--merchant-danger: #c62f3d;--merchant-sidebar: #111d38;--merchant-sidebar-muted: #9ba9c2;--merchant-shadow: 0 12px 32px rgba(31, 48, 82, .08);--merchant-radius: 16px;color:var(--merchant-text);background:var(--merchant-bg);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{min-width:320px;background:var(--merchant-bg)}body{margin:0;min-width:320px;min-height:100vh;background:var(--merchant-bg);color:var(--merchant-text)}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.merchant-spin{animation:merchant-spin .85s linear infinite}@keyframes merchant-spin{to{transform:rotate(360deg)}}.merchant-boot{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--merchant-muted)}.merchant-skip-link{position:fixed;z-index:1200;top:8px;left:8px;transform:translateY(-140%);padding:10px 14px;border-radius:8px;color:#fff;background:var(--merchant-primary);text-decoration:none}.merchant-skip-link:focus{transform:translateY(0)}.merchant-brand-mark{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:#fff;background:linear-gradient(145deg,#2f6eef,#17358f);box-shadow:0 8px 20px #1a46ad4d}.merchant-login-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);background:#fff}.merchant-login-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:clamp(48px,7vw,112px);color:#fff;background:radial-gradient(circle at 85% 18%,rgba(60,124,255,.34),transparent 31%),radial-gradient(circle at 14% 84%,rgba(215,119,6,.18),transparent 30%),linear-gradient(145deg,#0d1730,#142b5d 58%,#1e40af)}.merchant-login-brand:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.2;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(to bottom right,black,transparent 75%);mask-image:linear-gradient(to bottom right,black,transparent 75%)}.merchant-login-brand>*{position:relative;z-index:1}.merchant-login-brand>span{margin-top:28px;color:#a9c7ff;font-size:12px;font-weight:800;letter-spacing:.18em}.merchant-login-brand h1{margin:18px 0 22px;max-width:680px;font-size:clamp(38px,5.5vw,72px);line-height:1.08;letter-spacing:-.045em}.merchant-login-brand>p{max-width:610px;margin:0;color:#ccdaf1;font-size:17px;line-height:1.8}.merchant-login-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:740px;margin-top:56px}.merchant-login-signals article{min-height:118px;display:flex;flex-direction:column;gap:13px;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:15px;color:#dce8fb;background:#ffffff12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.merchant-login-signals article>svg{color:#76a7ff}.merchant-login-signals span{display:flex;flex-direction:column;gap:5px}.merchant-login-signals b{color:#fff;font-size:14px}.merchant-login-signals small{color:#aebed9;line-height:1.5}.merchant-login-panel{display:grid;place-items:center;padding:40px}.merchant-login-panel form{width:min(100%,430px)}.merchant-login-heading>span,.merchant-page-heading span,.merchant-panel header span,.merchant-editor header span,.merchant-store-preview>span{color:var(--merchant-secondary);font-size:11px;font-weight:800;letter-spacing:.16em}.merchant-login-heading h2{margin:10px 0 8px;font-size:31px;letter-spacing:-.035em}.merchant-login-heading p{margin:0 0 34px;color:var(--merchant-muted);line-height:1.7}.merchant-login-panel form>label{display:block;margin:18px 0 8px;color:#344258;font-size:14px;font-weight:700}.merchant-input-wrap{height:52px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid var(--merchant-border);border-radius:11px;color:#718096;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.merchant-input-wrap:focus-within{border-color:var(--merchant-secondary);box-shadow:0 0 0 4px #2563eb1a}.merchant-input-wrap input{min-width:0;flex:1;height:100%;padding:0;border:0;outline:0;color:var(--merchant-text);background:transparent}.merchant-login-button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;border:0;border-radius:11px;color:#fff;background:var(--merchant-primary);font-weight:800;box-shadow:0 10px 22px #1e40af38;transition:background .18s ease,box-shadow .18s ease}.merchant-login-button:hover:not(:disabled){background:var(--merchant-primary-strong);box-shadow:0 13px 26px #1e40af47}.merchant-login-help{display:block;margin-top:18px;text-align:center;color:var(--merchant-muted);line-height:1.6}.merchant-shell{min-height:100dvh;display:flex;background:var(--merchant-bg)}.merchant-sidebar{position:fixed;z-index:100;inset:0 auto 0 0;width:248px;display:flex;flex-direction:column;padding:20px 16px;color:#fff;background:var(--merchant-sidebar);box-shadow:8px 0 30px #111d3817}.merchant-sidebar>header{display:flex;align-items:center;gap:11px;padding:0 8px 19px;border-bottom:1px solid rgba(255,255,255,.08)}.merchant-sidebar>header>span{display:flex;flex-direction:column;gap:2px}.merchant-sidebar>header b{font-size:16px}.merchant-sidebar>header small{color:var(--merchant-sidebar-muted);font-size:11px}.merchant-sidebar .merchant-brand-mark{width:39px;height:39px;border-radius:11px}.merchant-mobile-close{display:none}.merchant-store-switcher{display:flex;align-items:center;gap:10px;margin:18px 2px 16px;padding:11px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#ffffff0e}.merchant-store-switcher img{width:42px;height:42px;flex:0 0 auto;border-radius:10px;object-fit:cover;background:#253350}.merchant-store-switcher label{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.merchant-store-switcher label>span{color:#aab8d0;font-size:10px;font-weight:700}.merchant-store-switcher select{width:100%;height:30px;padding:0 24px 0 0;overflow:hidden;border:0;outline:0;color:#fff;background:transparent;font-size:13px;font-weight:750;text-overflow:ellipsis}.merchant-store-switcher select option{color:var(--merchant-text);background:#fff}.merchant-platform-avatar{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;color:#9fc1ff;background:linear-gradient(145deg,#253c6e,#1c2b4d)}.merchant-store-switcher small{display:flex;align-items:center;gap:5px;color:#aab8d0;font-size:11px}.merchant-store-switcher i{width:7px;height:7px;border-radius:50%;background:#36c78b;box-shadow:0 0 0 3px #36c78b1f}.merchant-sidebar nav{display:flex;flex-direction:column;gap:5px}.merchant-sidebar nav button{min-height:46px;display:flex;align-items:center;gap:11px;padding:0 13px;border:0;border-radius:10px;color:#aebbd2;background:transparent;text-align:left;transition:color .17s ease,background .17s ease}.merchant-sidebar nav button:hover{color:#fff;background:#fff1}.merchant-sidebar nav button.active{color:#fff;background:linear-gradient(90deg,#2659cc,#1e40af);box-shadow:0 7px 18px #09194447}.merchant-sidebar nav button span{flex:1;font-size:14px;font-weight:650}.merchant-sidebar nav button em{min-width:22px;height:22px;display:grid;place-items:center;padding:0 6px;border-radius:999px;color:#fff;background:var(--merchant-danger);font-size:11px;font-style:normal;font-weight:800}.merchant-sidebar>footer{display:flex;align-items:center;gap:8px;margin-top:auto;padding:16px 6px 0;border-top:1px solid rgba(255,255,255,.08)}.merchant-sidebar>footer>span{min-width:0;flex:1;display:flex;align-items:center;gap:10px;color:#d9e3f4}.merchant-sidebar>footer>span>span{min-width:0;display:flex;flex-direction:column;gap:3px}.merchant-sidebar>footer b{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.merchant-sidebar>footer small{color:var(--merchant-sidebar-muted);font-size:11px}.merchant-sidebar>footer>button,.merchant-mobile-close{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:10px;color:#aebbd2;background:transparent}.merchant-mobile-close{display:none;margin-left:auto}.merchant-sidebar>footer>button:hover{color:#fff;background:#ffffff14}.merchant-nav-scrim{display:none}.merchant-workspace{width:calc(100% - 248px);min-height:100dvh;margin-left:248px}.merchant-topbar{position:sticky;z-index:40;top:0;height:72px;display:flex;align-items:center;gap:18px;padding:0 clamp(20px,3vw,40px);border-bottom:1px solid var(--merchant-border);background:#ffffffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.merchant-menu-button{display:none}.merchant-topbar>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.merchant-topbar>div:nth-child(2) span{color:var(--merchant-muted);font-size:11px}.merchant-topbar>div:nth-child(2) b{font-size:14px}.merchant-topbar-actions{display:flex;gap:8px;margin-left:auto}.merchant-topbar-actions button,.merchant-topbar-actions a{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid var(--merchant-border);border-radius:9px;color:#344258;background:#fff;font-size:13px;font-weight:700;text-decoration:none;transition:border-color .17s ease,background .17s ease}.merchant-topbar-actions button:hover,.merchant-topbar-actions a:hover{border-color:#b7c8df;background:var(--merchant-surface-alt)}.merchant-main{width:100%;max-width:1500px;margin:0 auto;padding:32px clamp(20px,3vw,40px) 60px;outline:0}.merchant-page{display:flex;flex-direction:column;gap:20px}.merchant-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:4px}.merchant-page-heading h1{margin:7px 0 6px;color:#15233d;font-size:clamp(25px,3vw,35px);line-height:1.15;letter-spacing:-.035em}.merchant-page-heading p{max-width:720px;margin:0;color:var(--merchant-muted);line-height:1.65}.merchant-primary-action{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:0 17px;border:0;border-radius:10px;color:#fff;background:var(--merchant-primary);font-weight:800;box-shadow:0 7px 16px #1e40af2e}.merchant-primary-action:hover{background:var(--merchant-primary-strong)}.merchant-store-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.merchant-store-choice-grid>button{min-height:84px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--merchant-border);border-radius:12px;color:var(--merchant-text);background:#fff;text-align:left;transition:border-color .17s ease,box-shadow .17s ease}.merchant-store-choice-grid>button:hover{border-color:#9bb8e7;box-shadow:0 8px 20px #1f407d1a}.merchant-store-choice-grid img{width:56px;height:56px;flex:0 0 auto;border-radius:11px;object-fit:cover;background:var(--merchant-surface-alt)}.merchant-store-choice-grid span{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.merchant-store-choice-grid b,.merchant-store-choice-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merchant-store-choice-grid b{font-size:14px}.merchant-store-choice-grid small{color:var(--merchant-muted);font-size:11px}.merchant-store-choice-grid svg{flex:0 0 auto;color:var(--merchant-secondary)}.merchant-panel{overflow:hidden;border:1px solid var(--merchant-border);border-radius:var(--merchant-radius);background:var(--merchant-surface);box-shadow:var(--merchant-shadow)}.merchant-panel>header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf1f6}.merchant-panel>header div{display:flex;flex-direction:column;gap:6px}.merchant-panel>header h2{margin:0;font-size:18px;letter-spacing:-.02em}.merchant-panel>header>small{color:var(--merchant-muted)}.merchant-panel>header>button{min-height:40px;display:flex;align-items:center;gap:5px;border:0;color:var(--merchant-primary);background:transparent;font-weight:800}.merchant-loading{min-height:55vh;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--merchant-muted)}.merchant-loading b{color:var(--merchant-text)}.merchant-global-error,.merchant-form-error,.merchant-form-success{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:10px;font-size:13px;line-height:1.5}.merchant-global-error,.merchant-form-error{border:1px solid #f1c4ca;color:#8e2430;background:#fff3f4}.merchant-global-error button{min-height:36px;padding:0 12px;border:0;border-radius:7px;color:#fff;background:var(--merchant-danger);font-weight:700}.merchant-form-success{border:1px solid #bce1cf;color:#0f6848;background:#effaf5}.merchant-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:30px;color:#7990ae;text-align:center}.merchant-empty b{color:var(--merchant-text);font-size:15px}.merchant-empty small{max-width:420px;color:var(--merchant-muted);line-height:1.6}.merchant-empty button{min-height:40px;margin-top:5px;padding:0 15px;border:0;border-radius:8px;color:#fff;background:var(--merchant-primary);font-weight:700}.merchant-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.merchant-kpi-grid article{min-width:0;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto auto;column-gap:12px;padding:18px;border:1px solid var(--merchant-border);border-radius:14px;background:#fff;box-shadow:0 8px 23px #1f30520e}.merchant-kpi-grid article>span{grid-row:1 / 4;width:42px;height:42px;display:grid;place-items:center;border-radius:11px;color:var(--merchant-primary);background:#eaf1ff}.merchant-kpi-grid article:nth-child(2)>span{color:#7a4b00;background:#fff3d6}.merchant-kpi-grid article:nth-child(3)>span{color:#0c6f68;background:#e5f8f6}.merchant-kpi-grid article:nth-child(4)>span{color:#8d3d78;background:#f9eaf5}.merchant-kpi-grid small{color:var(--merchant-muted);font-size:12px}.merchant-kpi-grid b{overflow:hidden;margin:4px 0 3px;color:#13213a;font-size:clamp(20px,2vw,28px);line-height:1.1;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.merchant-kpi-grid em{color:#728197;font-size:11px;font-style:normal}.merchant-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:16px}.merchant-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:15px}.merchant-task-list button{min-height:62px;display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #e4eaf3;border-radius:11px;color:var(--merchant-text);background:#fff;text-align:left;transition:border-color .17s ease,background .17s ease}.merchant-task-list button:hover{border-color:#b8cae5;background:#f8fbff}.merchant-task-list button>span{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;color:var(--merchant-primary);background:#edf3ff}.merchant-task-list button b{flex:1;font-size:13px}.merchant-task-list button strong{font-size:21px;font-variant-numeric:tabular-nums}.merchant-task-list button>svg{color:#98a5b7}.merchant-health-panel dl{display:grid;gap:0;margin:0;padding:9px 18px}.merchant-health-panel dl div{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f6}.merchant-health-panel dl div:last-child{border:0}.merchant-health-panel dt{color:var(--merchant-muted);font-size:12px}.merchant-health-panel dd{display:flex;align-items:center;gap:6px;margin:0;font-weight:800;font-variant-numeric:tabular-nums}.merchant-health-panel dd i{width:7px;height:7px;border-radius:50%;background:var(--merchant-success)}.merchant-health-panel>button{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;margin:3px 18px 16px;border:0;border-radius:8px;color:var(--merchant-primary);background:#edf3ff;font-weight:800}.merchant-data-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:16px}.merchant-mini-chart{height:265px;display:flex;align-items:flex-end;gap:clamp(4px,1vw,12px);padding:26px 22px 17px}.merchant-mini-chart>div{min-width:0;height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.merchant-mini-chart>div>span{width:min(34px,80%);height:calc(100% - 24px);display:flex;align-items:flex-end;border-radius:6px 6px 2px 2px;background:#eff3f8}.merchant-mini-chart i{width:100%;height:var(--bar-height);display:block;border-radius:6px 6px 2px 2px;background:linear-gradient(#3c73e5,#1e40af);transition:height .26s ease}.merchant-mini-chart small{color:#77869a;font-size:10px;white-space:nowrap}.merchant-source-list{display:flex;flex-direction:column;gap:14px;padding:19px 20px 22px}.merchant-source-list article{display:grid;grid-template-columns:105px minmax(80px,1fr) 28px;align-items:center;gap:10px}.merchant-source-list article>span{min-width:0;display:flex;flex-direction:column;gap:3px}.merchant-source-list b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.merchant-source-list small{color:var(--merchant-muted);font-size:10px}.merchant-source-list article>i{height:7px;overflow:hidden;border-radius:999px;background:#edf1f6}.merchant-source-list em{height:100%;display:block;border-radius:inherit;background:#3d71d7}.merchant-source-list strong{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.merchant-table-wrap{width:100%;overflow-x:auto}.merchant-table-wrap table{width:100%;min-width:790px;border-collapse:collapse}.merchant-table-wrap th{height:44px;padding:0 15px;border-bottom:1px solid #e9eef5;color:#68778c;background:#f8fafc;font-size:11px;font-weight:800;letter-spacing:.025em;text-align:left;white-space:nowrap}.merchant-table-wrap td{padding:14px 15px;border-bottom:1px solid #edf1f6;color:#344258;font-size:12px;vertical-align:middle}.merchant-table-wrap tbody tr:last-child td{border-bottom:0}.merchant-table-wrap tbody tr{transition:background .15s ease}.merchant-table-wrap tbody tr:hover{background:#f9fbfe}.merchant-table-wrap td>b,.merchant-table-wrap td>strong{display:block;color:var(--merchant-text);font-size:12px;font-variant-numeric:tabular-nums}.merchant-table-wrap td>small{display:block;max-width:280px;overflow:hidden;margin-top:5px;color:#7a889b;font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.merchant-status{width:max-content;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;color:#36516d;background:#edf2f7;font-size:10px;font-weight:800;white-space:nowrap}.merchant-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-completed,.status-active{color:#126743;background:#e7f7ef}.status-pending_confirmation,.status-requested{color:#945000;background:#fff1da}.status-confirmed,.status-ready_for_redemption{color:#1b55a7;background:#e9f1ff}.status-cancelled,.status-expired{color:#9b2e38;background:#fdebed}.status-paused,.status-draft{color:#596980;background:#edf1f6}.merchant-row-action,.merchant-row-actions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:1px solid #ccd8e8;border-radius:7px;color:var(--merchant-primary);background:#fff;font-size:11px;font-weight:800}.merchant-row-action:hover,.merchant-row-actions button:hover{border-color:#9eb6d7;background:#f5f8fd}.merchant-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.merchant-row-actions button.danger{color:var(--merchant-danger)}.merchant-stock-low{color:var(--merchant-danger);font-weight:800}.merchant-order-summary,.merchant-product-summary,.merchant-review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.merchant-order-summary article,.merchant-product-summary article,.merchant-review-summary article{min-height:72px;display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid var(--merchant-border);border-radius:13px;color:var(--merchant-primary);background:#fff;box-shadow:0 6px 18px #1f30520b}.merchant-order-summary span,.merchant-product-summary span,.merchant-review-summary span{display:flex;flex-direction:column;gap:3px}.merchant-order-summary b,.merchant-product-summary b,.merchant-review-summary b{color:var(--merchant-text);font-size:22px;font-variant-numeric:tabular-nums}.merchant-order-summary small,.merchant-product-summary small,.merchant-review-summary small{color:var(--merchant-muted);font-size:11px}.merchant-filters{display:flex;gap:10px;padding:14px 15px;border-bottom:1px solid #edf1f6}.merchant-filters label{min-width:240px;height:42px;flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--merchant-border);border-radius:9px;color:#718096;background:#fff}.merchant-filters input{min-width:0;flex:1;border:0;outline:0;background:transparent}.merchant-filters select{min-width:150px;height:42px;padding:0 34px 0 11px;border:1px solid var(--merchant-border);border-radius:9px;color:#344258;background:#fff}.merchant-modal-backdrop{position:fixed;z-index:500;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#0a142894;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.merchant-order-drawer{width:min(570px,100%);height:100%;display:flex;flex-direction:column;margin-left:auto;border-radius:16px 0 0 16px;background:#fff;box-shadow:-18px 0 50px #0b183238;animation:merchant-drawer-in .22s ease-out}@keyframes merchant-drawer-in{0%{opacity:0;transform:translate(24px)}}.merchant-modal-backdrop:has(.merchant-order-drawer){align-items:stretch;padding:0}.merchant-order-drawer>header,.merchant-editor>header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid var(--merchant-border)}.merchant-order-drawer>header div,.merchant-editor>header div{display:flex;flex-direction:column;gap:5px}.merchant-order-drawer>header span{color:var(--merchant-secondary);font-size:10px;font-weight:800;letter-spacing:.12em}.merchant-order-drawer>header h2,.merchant-editor>header h2{margin:0;font-size:19px}.merchant-order-drawer>header button,.merchant-editor>header button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:9px;color:#66758a;background:#f2f5f9}.merchant-drawer-scroll{overflow-y:auto;flex:1;padding:18px 20px}.merchant-order-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.merchant-order-overview span{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:10px;background:#f4f7fb}.merchant-order-overview small{color:var(--merchant-muted);font-size:10px}.merchant-order-overview b{font-size:12px;font-variant-numeric:tabular-nums}.merchant-drawer-scroll>section{padding:16px 0;border-top:1px solid #edf1f6}.merchant-drawer-scroll h3{display:flex;align-items:center;gap:7px;margin:0 0 13px;font-size:14px}.merchant-drawer-scroll dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.merchant-drawer-scroll dl div{padding:10px;border-radius:8px;background:#f7f9fc}.merchant-drawer-scroll dl div.wide{grid-column:1 / -1}.merchant-drawer-scroll dt{margin-bottom:4px;color:var(--merchant-muted);font-size:10px}.merchant-drawer-scroll dd{margin:0;font-size:12px;line-height:1.5}.merchant-order-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px dashed #e3e9f1}.merchant-order-item span{display:flex;flex-direction:column;gap:4px}.merchant-order-item b{font-size:12px}.merchant-order-item small{color:var(--merchant-muted);font-size:10px}.merchant-order-item strong{font-size:12px;font-variant-numeric:tabular-nums}.merchant-after-sale{padding:14px!important;border:1px solid #f1d4ac!important;border-radius:10px;background:#fff8eb}.merchant-after-sale p{margin:0 0 8px;color:#7b4a12;font-size:12px;line-height:1.6}.merchant-after-sale>b{color:#8b500a;font-size:11px}.merchant-order-timeline{display:flex;flex-direction:column;gap:15px;margin:0;padding:0;list-style:none}.merchant-order-timeline li{display:flex;gap:10px}.merchant-order-timeline li>i{width:9px;height:9px;flex:0 0 auto;margin-top:4px;border:2px solid #fff;border-radius:50%;background:var(--merchant-secondary);box-shadow:0 0 0 3px #dce8ff}.merchant-order-timeline span{display:flex;flex-direction:column;gap:3px}.merchant-order-timeline b{font-size:11px}.merchant-order-timeline small,.merchant-order-timeline time{color:var(--merchant-muted);font-size:10px;line-height:1.4}.merchant-field{display:flex;flex-direction:column;gap:7px;color:#3a4860;font-size:12px;font-weight:700}.merchant-field input,.merchant-field textarea,.merchant-field select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--merchant-border);border-radius:9px;outline:0;color:var(--merchant-text);background:#fff;font-size:13px;font-weight:400;line-height:1.5;transition:border-color .17s ease,box-shadow .17s ease}.merchant-field textarea{resize:vertical}.merchant-field input:focus,.merchant-field textarea:focus,.merchant-field select:focus{border-color:var(--merchant-secondary);box-shadow:0 0 0 3px #2563eb1a}.merchant-field input[readonly]{color:#67768c;background:#f2f5f8}.merchant-drawer-scroll>.merchant-field{margin-top:15px}.merchant-redeem-form{margin-top:15px;padding:14px;border-radius:10px;background:#edf4ff}.merchant-redeem-form label{display:flex;flex-direction:column;gap:7px;color:#28466f;font-size:11px;font-weight:800}.merchant-redeem-form input{min-height:45px;padding:0 12px;border:1px solid #b7c9e7;border-radius:8px;font-size:19px;font-weight:800;letter-spacing:.25em;text-align:center}.merchant-redeem-form button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:9px;border:0;border-radius:8px;color:#fff;background:var(--merchant-primary);font-weight:800}.merchant-drawer-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid var(--merchant-border);background:#fff}.merchant-drawer-actions button,.merchant-editor>footer button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:0;border-radius:8px;color:#fff;background:var(--merchant-primary);font-size:12px;font-weight:800}.merchant-drawer-actions button.secondary,.merchant-editor>footer button.secondary{border:1px solid #cad5e4;color:#3d4b60;background:#fff}.merchant-drawer-actions button.danger{color:#fff;background:var(--merchant-danger)}.merchant-editor{width:min(650px,100%);max-height:min(88vh,820px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 22px 60px #0b183240;animation:merchant-modal-in .19s ease-out}@keyframes merchant-modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}.merchant-editor-body{max-height:calc(88vh - 148px);overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px}.merchant-editor-body .wide{grid-column:1 / -1}.merchant-editor>footer{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid var(--merchant-border)}.merchant-reply-editor blockquote{grid-column:1 / -1;margin:0;padding:14px;border-left:3px solid #9ab9ec;color:#536279;background:#f5f8fd;font-size:12px;line-height:1.7}.merchant-review-summary article{color:#b26b00}.merchant-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.merchant-review-grid>article{display:flex;flex-direction:column;min-height:240px;padding:18px;border:1px solid var(--merchant-border);border-radius:14px;background:#fff;box-shadow:0 8px 23px #1f30520e}.merchant-review-grid>article.is-hidden{opacity:.6}.merchant-review-grid article>header{display:flex;align-items:center;gap:10px}.merchant-review-grid article>header>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#fff;background:#345faf;font-weight:800}.merchant-review-grid article>header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.merchant-review-grid article>header b{font-size:12px}.merchant-review-grid article>header small{color:var(--merchant-muted);font-size:10px}.merchant-review-grid article>header>i{display:flex;gap:2px;margin-left:auto;color:#c57809}.merchant-review-grid article>p{flex:1;margin:17px 0;color:#36445a;font-size:13px;line-height:1.75}.merchant-review-reply{padding:12px;border-radius:9px;background:#f3f6fb}.merchant-review-reply b{color:var(--merchant-primary);font-size:10px}.merchant-review-reply p{margin:6px 0;color:#46556b;font-size:12px;line-height:1.6}.merchant-review-reply small{color:var(--merchant-muted);font-size:9px}.merchant-review-grid article>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #edf1f6}.merchant-review-grid article>footer small{color:var(--merchant-muted);font-size:9px}.merchant-review-grid article>footer button{min-height:38px;display:flex;align-items:center;gap:5px;border:0;color:var(--merchant-primary);background:transparent;font-size:11px;font-weight:800}.merchant-store-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.65fr);align-items:start;gap:18px}.merchant-store-form .merchant-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px}.merchant-form-grid .wide{grid-column:1 / -1}.merchant-store-form>.merchant-form-error,.merchant-store-form>.merchant-form-success{margin:0 20px 12px}.merchant-store-form>footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid var(--merchant-border)}.merchant-store-form>footer button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 17px;border:0;border-radius:9px;color:#fff;background:var(--merchant-primary);font-weight:800}.merchant-store-preview{position:sticky;top:92px}.merchant-store-preview>span{display:block;margin-bottom:10px}.merchant-store-preview article{overflow:hidden;border:1px solid var(--merchant-border);border-radius:16px;background:#fff;box-shadow:var(--merchant-shadow)}.merchant-store-preview article>img{width:100%;aspect-ratio:16 / 10;display:block;object-fit:cover;background:#e8edf4}.merchant-store-preview article>div{padding:18px}.merchant-store-preview article>div>small{color:var(--merchant-secondary);font-size:10px;font-weight:800}.merchant-store-preview h3{margin:7px 0 9px;font-size:21px}.merchant-store-preview p{margin:0;color:var(--merchant-muted);font-size:12px;line-height:1.7}.merchant-store-preview dl{display:flex;flex-direction:column;gap:8px;margin:15px 0 0}.merchant-store-preview dl div{display:flex;gap:7px;color:#526176;font-size:11px;line-height:1.45}.merchant-store-preview dl svg{flex:0 0 auto;color:var(--merchant-primary)}.merchant-preview-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.merchant-preview-tags i{padding:5px 8px;border-radius:999px;color:#315da7;background:#edf3ff;font-size:9px;font-style:normal;font-weight:700}.merchant-payment-wallet{min-height:112px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:20px;border:1px solid #c8d8f1;border-radius:15px;background:linear-gradient(110deg,#f8fbff,#f0f5ff);box-shadow:var(--merchant-shadow)}.merchant-payment-wallet-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;color:#fff;background:var(--merchant-primary)}.merchant-payment-wallet>div:nth-child(2){min-width:0;display:grid;gap:5px}.merchant-payment-wallet small{color:#78869b;font-size:9px;font-weight:800;letter-spacing:.08em}.merchant-payment-wallet b{overflow-wrap:anywhere;color:#1b2b44;font-size:16px;font-variant-numeric:tabular-nums}.merchant-payment-wallet span{display:inline-flex;align-items:center;gap:5px;color:#26745f;font-size:10px;font-weight:700}.merchant-payment-wallet>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:0;border-radius:10px;color:#fff;background:var(--merchant-primary);font-size:11px;font-weight:800;cursor:pointer}.merchant-payment-wallet>button:disabled{cursor:not-allowed;opacity:.5}.merchant-settlement-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.merchant-settlement-kpis article{min-width:0;padding:17px;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;border:1px solid var(--merchant-border);border-radius:13px;background:#fff;box-shadow:var(--merchant-shadow)}.merchant-settlement-kpis article>span{grid-row:span 3;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#275fc0;background:#edf3ff}.merchant-settlement-kpis small{color:var(--merchant-muted);font-size:9px}.merchant-settlement-kpis b{overflow-wrap:anywhere;font-size:18px;font-variant-numeric:tabular-nums}.merchant-settlement-kpis em{color:#617089;font-size:9px;font-style:normal;font-weight:700}.merchant-settlement-table td a{min-height:36px;display:inline-flex;align-items:center;gap:4px;color:var(--merchant-primary);font-size:10px;font-weight:800;text-decoration:none}.merchant-settlement-status{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;color:#5d6878;background:#eef1f5;font-size:9px;font-weight:800;white-space:nowrap}.merchant-settlement-status i{width:6px;height:6px;border-radius:999px;background:currentColor}.merchant-settlement-status.status-settled{color:#08775b;background:#e8f7f1}.merchant-settlement-status.status-release_pending,.merchant-settlement-status.status-settling{color:#315eaa;background:#edf3ff}.merchant-settlement-status.status-blocked_wallet,.merchant-settlement-status.status-refund_pending,.merchant-settlement-status.status-refunding{color:#9a5316;background:#fff3df}.merchant-settlement-status.status-refunded{color:#7c498f;background:#f6edfa}@media(max-width:1180px){.merchant-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-data-grid{grid-template-columns:1fr}.merchant-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-login-signals{grid-template-columns:1fr;max-width:520px;margin-top:35px}.merchant-login-signals article{min-height:auto;flex-direction:row;align-items:flex-start}.merchant-settlement-kpis,.merchant-store-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.merchant-login-page{grid-template-columns:1fr}.merchant-login-brand{min-height:360px;padding:45px clamp(24px,7vw,64px)}.merchant-login-brand h1{font-size:clamp(36px,9vw,55px)}.merchant-login-signals{display:none}.merchant-login-panel{padding:44px 24px 60px}.merchant-sidebar{transform:translate(-105%);transition:transform .21s ease-out}.merchant-sidebar.is-open{transform:translate(0)}.merchant-mobile-close{display:grid;margin-left:auto}.merchant-nav-scrim{position:fixed;z-index:90;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#0a142880}.merchant-workspace{width:100%;margin-left:0}.merchant-menu-button{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--merchant-border);border-radius:9px;color:#344258;background:#fff}.merchant-overview-grid,.merchant-store-layout{grid-template-columns:1fr}.merchant-store-preview{position:static}}@media(max-width:680px){.merchant-topbar{height:64px;padding:0 14px}.merchant-topbar-actions span{display:none}.merchant-topbar-actions button,.merchant-topbar-actions a{width:44px;padding:0}.merchant-main{padding:24px 14px 50px}.merchant-page-heading{align-items:stretch;flex-direction:column;gap:15px}.merchant-page-heading p{font-size:13px}.merchant-primary-action{width:100%}.merchant-kpi-grid{grid-template-columns:1fr;gap:10px}.merchant-task-list{grid-template-columns:1fr}.merchant-source-list{display:flex}.merchant-order-summary,.merchant-product-summary,.merchant-review-summary{grid-template-columns:1fr;gap:8px}.merchant-filters{flex-direction:column}.merchant-filters label,.merchant-filters select{width:100%;min-width:0}.merchant-review-grid,.merchant-store-form .merchant-form-grid,.merchant-editor-body{grid-template-columns:1fr}.merchant-store-form .merchant-form-grid .wide,.merchant-editor-body .wide{grid-column:auto}.merchant-modal-backdrop{padding:12px}.merchant-order-drawer{border-radius:0}.merchant-modal-backdrop:has(.merchant-order-drawer){padding:0}.merchant-order-overview{grid-template-columns:1fr}.merchant-drawer-actions{justify-content:stretch}.merchant-drawer-actions button{flex:1 1 calc(50% - 8px)}.merchant-editor{max-height:94vh}.merchant-editor-body{max-height:calc(94vh - 148px)}.merchant-payment-wallet{grid-template-columns:auto minmax(0,1fr)}.merchant-payment-wallet>button{grid-column:1 / -1;width:100%}.merchant-settlement-kpis{grid-template-columns:1fr}.merchant-store-choice-grid{grid-template-columns:1fr;padding:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
