/* Ant-inspired console foundation. Scoped so the customer H5 keeps its own layout. */
html:has(body.ant-console){font-size:14px}
body.ant-console{--purple:#1677ff;--pink:#1677ff;--orange:#faad14;--navy:#262626;--ink:#262626;--muted:#737373;--line:#f0f0f0;--surface:#fff;--bg:#f5f5f5;--gradient:#1677ff;--ui-primary:#1677ff;--ui-primary-2:#1677ff;--ui-sidebar:#fff;--ui-bg:#f5f5f5;--ui-card:#fff;--ui-line:#f0f0f0;--ui-text:#262626;--ui-muted:#737373;--ui-soft:#fafafa;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#262626;background:#f5f5f5}
body.ant-console [hidden]{display:none!important}
body.ant-console :is(h1,h2,h3){letter-spacing:0;color:#262626}
body.ant-console h1{font-size:24px;line-height:1.4;font-weight:600}
body.ant-console h2{font-size:18px;line-height:1.5;font-weight:600}
body.ant-console h3{font-size:16px;line-height:1.5;font-weight:600}
body.ant-console .layout{grid-template-columns:220px minmax(0,1fr)}
body.ant-console .sidebar{width:220px;padding:0 12px 12px;background:#fff;color:#262626;border-right:1px solid #f0f0f0;box-shadow:none;z-index:50;gap:0}
body.ant-console .sidebar>.brand-wordmark{height:72px;min-height:72px;padding:8px 12px;margin:0 -12px 8px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:flex-start;background:#fff}
body.ant-console .sidebar>.brand-wordmark img{width:190px;height:56px;max-height:56px;object-fit:contain;border-radius:0;filter:none}
body.ant-console .sidebar-scroll{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#bfbfbf #fafafa;padding-bottom:12px}
body.ant-console .sidebar :is(nav,.merchant-nav,.store-nav){overflow:visible;flex:0 0 auto;margin:0}
body.ant-console .sidebar .nav-label{font-size:12px;color:#737373;font-weight:500;letter-spacing:0;margin:18px 12px 8px;padding:0;border:0}
body.ant-console .sidebar .merchant-nav{background:transparent;border:0;padding:0}
body.ant-console .sidebar .nav-link{height:40px;min-height:40px;margin:4px 0;padding:8px 12px;gap:12px;border:0;border-radius:6px;color:#434343;background:transparent;font-size:14px;font-weight:400;box-shadow:none}
body.ant-console .sidebar .nav-link:hover{background:#f5f5f5;color:#1677ff}
body.ant-console .sidebar .nav-link.active{background:#e6f4ff;color:#1677ff;font-weight:500;border:0;box-shadow:none}
body.ant-console .sidebar .nav-link.active::before{display:none}
body.ant-console .sidebar .nav-link:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
body.ant-console .sidebar .nav-link .nav-active-arrow{display:none}
body.ant-console .sidebar .nav-parent.active-parent{color:#1677ff;background:#fafafa}
body.ant-console .nav-children{border:0;margin:0;padding-left:16px}
body.ant-console .sidebar .nav-children .nav-link{font-size:13px;min-height:36px;height:36px}
body.ant-console .sidebar .nav-icon,body.ant-console .sidebar .nav-icon svg{width:18px;height:18px;font-size:18px;color:inherit}
body.ant-console .sidebar-bottom{padding:10px 0 0;margin-top:auto;flex:none}
body.ant-console .sidebar-bottom .quota-mini{background:#fafafa;border:1px solid #f0f0f0;border-radius:6px;color:#595959;padding:10px 12px;font-size:12px;box-shadow:none}
body.ant-console .sidebar-bottom .quota-mini strong{color:#262626;font-size:18px;display:inline-block;margin:0 5px 0 0}
body.ant-console .sidebar-bottom .quota-mini small{color:#737373}
body.ant-console .sidebar-bottom .quota-mini a{color:#1677ff}
body.ant-console .quota-card-icon{display:none}
body.ant-console .main,body.ant-console .content{background:#f5f5f5}
body.ant-console .topbar{height:56px;min-height:56px;padding:0 24px;background:#fff;border-bottom:1px solid #f0f0f0;backdrop-filter:none;color:#595959;gap:12px;z-index:30}
body.ant-console .content{padding:24px;max-width:1800px;margin:0 auto}
body.ant-console .topbar .actions{gap:12px;flex-wrap:nowrap}
body.ant-console .topbar .crumb{white-space:nowrap}
body.ant-console .avatar,body.ant-console .admin-account-avatar{background:#e6f4ff;color:#1677ff;border-radius:50%;box-shadow:none}
body.ant-console .current-store-badge{background:#fafafa;border:1px solid #f0f0f0;color:#595959;border-radius:4px;padding:2px 8px}
body.ant-console .admin-account-menu summary{background:transparent;border:0}
body.ant-console .admin-account-options{background:#fff;border:1px solid #f0f0f0;border-radius:6px;box-shadow:0 6px 20px #00000014}

body.ant-console .page-head,body.ant-console .ui-page-head,body.ant-console .business-head{margin-bottom:24px;gap:16px;align-items:center}
body.ant-console .page-head p,body.ant-console .ui-page-head p{font-size:14px;color:#737373;margin-top:6px}
body.ant-console :is(.card,.ui-card,.business-panel,.merchant-staff-panel){background:#fff;border:1px solid #f0f0f0;border-radius:8px;box-shadow:none;padding:24px;margin-bottom:24px}
body.ant-console :is(.card-head,.ui-card-head){margin-bottom:20px;gap:16px}
body.ant-console :is(.btn,.ui-button,.sc-quick-btn){height:auto;min-height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#262626;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px 0 #00000002;white-space:nowrap;transform:none;gap:8px}
body.ant-console :is(.btn,.ui-button,.sc-quick-btn):hover{border-color:#4096ff;color:#4096ff;box-shadow:none;transform:none}
body.ant-console :is(.btn.primary,.ui-button.primary,.btn-primary,.btn-success){background:#1677ff;color:#fff;border:1px solid #1677ff;box-shadow:0 2px 0 #0591ff1a}
body.ant-console :is(.btn.primary,.btn-primary,.btn-success):hover{background:#4096ff;border-color:#4096ff;color:#fff}
body.ant-console .btn.soft{background:#fff;border:1px solid #91caff;color:#1677ff}
body.ant-console .btn.danger,body.ant-console .ui-danger,body.ant-console .sc-icon-btn.danger{color:#cf1322;border-color:#ffa39e;background:#fff}
body.ant-console .btn.danger:hover{background:#fff1f0;border-color:#ff4d4f;color:#ff4d4f}
body.ant-console .btn.small{font-size:13px;min-height:28px;padding:2px 10px;line-height:22px}
body.ant-console .btn:disabled{background:#f5f5f5;border-color:#d9d9d9;color:#8c8c8c;opacity:1;box-shadow:none;cursor:not-allowed}
body.ant-console :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #1677ff;outline-offset:3px}
body.ant-console .field{gap:6px;margin-bottom:20px}
body.ant-console .field label{font-size:14px;font-weight:400;color:#262626}
body.ant-console :is(.field input,.field select,.field textarea,input.input,select.input,.ui-input,.channel-config input,.channel-config select){min-height:32px;border:1px solid #d9d9d9;border-radius:6px;padding:5px 11px;font-size:14px;line-height:22px;box-shadow:none;color:#262626;background:#fff}
body.ant-console :is(input,textarea,select):focus{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a;outline:none}
body.ant-console :is(input,textarea,select)::placeholder{color:#8c8c8c}
body.ant-console input[type=checkbox],body.ant-console input[type=radio]{accent-color:#1677ff;min-height:16px}
body.ant-console .form-section{color:#262626;font-size:15px;padding:18px 0 14px;border-color:#f0f0f0}
body.ant-console .form-grid{gap:0 24px}
body.ant-console .tag{border-radius:4px;font-size:12px;line-height:20px;padding:0 7px;color:#0958d9;background:#e6f4ff;border:1px solid #91caff}
body.ant-console .tag.green{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}
body.ant-console .tag.orange{color:#ad6800;background:#fffbe6;border-color:#ffe58f}
body.ant-console .tag.red{color:#cf1322;background:#fff1f0;border-color:#ffa39e}
body.ant-console .tag.gray{color:#595959;background:#fafafa;border-color:#d9d9d9}
body.ant-console :is(.tabs,.business-tabs){background:transparent;border-radius:0;border-bottom:1px solid #f0f0f0;padding:0;gap:24px;margin-bottom:20px}
body.ant-console :is(.tab,.business-tabs button){background:transparent;color:#595959;padding:10px 0;border:0;border-radius:0;box-shadow:none;white-space:nowrap}
body.ant-console :is(.tab.active,.business-tabs button.active){color:#1677ff;border-bottom:2px solid #1677ff;background:transparent;box-shadow:none}
body.ant-console :is(table,.ui-table,.business-table){font-size:14px;color:#262626;border-collapse:collapse;border-spacing:0;width:100%}
body.ant-console :is(table,.ui-table,.business-table) th{background:#fafafa;color:#595959;font-weight:500;font-size:13px;padding:12px 16px;border-bottom:1px solid #f0f0f0}
body.ant-console :is(table,.ui-table,.business-table) td{padding:14px 16px;border-bottom:1px solid #f0f0f0;line-height:1.65}
body.ant-console :is(.table-wrap,.ui-table-wrap,.business-table-wrap){border:1px solid #f0f0f0;border-radius:6px;box-shadow:none}
body.ant-console tbody tr:hover{background:#fafafa}
body.ant-console .table-wrap .actions{flex-wrap:nowrap;gap:10px}
body.ant-console :is(.stat,.business-metric){border:1px solid #f0f0f0;border-radius:8px;box-shadow:none;background:#fff;padding:20px}
body.ant-console .stat strong{font-size:28px;color:#262626}
body.ant-console .stat-icon{background:#e6f4ff;color:#1677ff;border-radius:6px}
body.ant-console .stats{gap:16px}
body.ant-console .empty{padding:48px 20px;color:#737373}
body.ant-console .empty h3{font-size:16px;font-weight:500;color:#595959}
body.ant-console .empty-symbol{color:#bfbfbf}
body.ant-console :is(.notice,.info,.business-note,.ui-preview-note){background:#e6f4ff;border:1px solid #91caff;color:#0958d9;border-radius:6px;padding:12px 16px;font-size:13px;line-height:1.65}
body.ant-console .settings-replica{font-family:inherit;color:#262626}
body.ant-console .settings-replica .card{padding:0;border-color:#f0f0f0;border-radius:8px;box-shadow:none}
body.ant-console .settings-replica .card-header{background:#fff;padding:16px 24px;border-bottom:1px solid #f0f0f0;color:#262626}
body.ant-console .settings-replica .card-body{padding:24px}
body.ant-console .settings-replica :is(.form-control,.form-select){border-color:#d9d9d9;border-radius:6px;min-height:32px;padding:5px 11px;font-size:14px}
body.ant-console .settings-replica .alert{background:#e6f4ff;border-color:#91caff;color:#0958d9}
body.ant-console .settings-replica .btn-warning{color:#262626;background:#fff;border-color:#d9d9d9}
body.ant-console .settings-replica .badge{border-radius:4px;color:#595959;background:#f5f5f5}
body.ant-console .settings-replica .bg-success{background:#f6ffed;color:#389e0d}
body.ant-console .settings-replica .form-text,body.ant-console .settings-replica small{color:#737373;font-size:12px}
body.ant-console .settings-replica h4{font-size:24px;font-weight:600;margin:0 0 24px}
body.ant-console .settings-replica :is(h5,h6){font-size:16px;font-weight:500}
body.ant-console #dialog{border:0;border-radius:8px;background:#fff;backdrop-filter:none;box-shadow:0 12px 40px #00000026;max-height:calc(100dvh - 48px)}
body.ant-console #dialog::backdrop{background:#0006;backdrop-filter:none}
body.ant-console .modal-head{background:#fff;border-bottom:1px solid #f0f0f0;padding:18px 24px;color:#262626}
body.ant-console .modal-head h2{font-size:16px}
body.ant-console .modal-head button{width:32px;height:32px;color:#737373}
body.ant-console .modal-body{padding:24px}
body.ant-console .modal-footer{padding:12px 24px;border-top:1px solid #f0f0f0;background:#fff}
body.ant-console .toast{background:#fff;color:#262626;border:1px solid #f0f0f0;border-radius:6px;box-shadow:0 6px 20px #0000001f}
body.ant-console .toast.error{background:#fff1f0;color:#cf1322;border-color:#ffa39e}

body.ant-console .store-switch-entry{margin:0;padding:0 12px 12px}
body.ant-console .store-current-card{display:none}
body.ant-console .store-switch-button{background:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:none;width:100%;padding:8px 10px;color:#262626;display:flex;align-items:center;gap:8px;min-height:36px}
body.ant-console .store-switch-button:hover{border-color:#4096ff;color:#1677ff}
body.ant-console .store-switch-button strong{font-size:13px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ant-console .store-switch-symbol,body.ant-console .store-switch-symbol svg{width:16px;height:16px;color:#1677ff;flex:none}
body.ant-console .store-switch-capsule{margin-left:auto;padding:0;background:none;border:0;box-shadow:none;color:#737373}
body.ant-console .store-switch-capsule span{display:none}
body.ant-console .store-switch-capsule svg{width:14px;height:14px}
body.ant-console .store-picker{background:#fff;border:1px solid #f0f0f0;border-radius:8px;box-shadow:0 8px 30px #0000001f;backdrop-filter:none}
body.ant-console .store-picker-option{border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#262626}
body.ant-console .store-switch-button[aria-expanded=true]{background:#e6f4ff;border-color:#1677ff;box-shadow:none}
body.ant-console .store-switch-symbol{filter:none}
body.ant-console .store-picker-search{border-color:#d9d9d9;border-radius:6px}
body.ant-console .store-picker-search:focus-within{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a}
body.ant-console .store-picker-current,body.ant-console .store-picker footer a{color:#1677ff}
body.ant-console .store-picker-check{background:#1677ff;border-color:#1677ff}
body.ant-console .store-picker header button{background:#fafafa;color:#595959;border-color:#f0f0f0;border-radius:6px}
body.ant-console .store-picker-option.selected{border-color:#1677ff;background:#e6f4ff;box-shadow:none}
body.ant-console .store-picker-current,body.ant-console .store-picker-check{background:#1677ff;color:#fff;border-radius:4px}
body.ant-console .store-picker-search input{border-color:#d9d9d9;border-radius:6px}
body.ant-console .reference-stores .store-card{border:1px solid #f0f0f0;border-radius:8px;box-shadow:none;transform:none}
body.ant-console .reference-stores .store-card.is-current-store{border-color:#f0f0f0}
body.ant-console .reference-stores .store-card .sc-head{background:#fff;border-color:#f0f0f0;padding:20px 24px}
body.ant-console .reference-stores .store-card .sc-content{padding:20px 24px}
body.ant-console .reference-stores .store-card .sc-logo{background:#e6f4ff;color:#1677ff;box-shadow:none;border-radius:6px}
body.ant-console .reference-stores .store-card .sc-name{font-size:16px;font-weight:600}
body.ant-console .reference-stores .store-card .sc-quick-btn{border:1px solid #d9d9d9;border-radius:6px;box-shadow:none;color:#434343}
body.ant-console .reference-stores .store-card .sc-icon-btn{border:1px solid #d9d9d9;box-shadow:none;border-radius:6px;min-width:32px}
body.ant-console .reference-stores .store-card .sc-icon-btn.danger{color:#cf1322;border-color:#ffa39e}
body.ant-console .reference-stores .sc-config-grid{border-color:#f0f0f0;border-radius:6px}
body.ant-console .reference-stores .sc-config-item{border-color:#f0f0f0;background:#fff}
body.ant-console .reference-stores .sc-config-item:hover{background:#e6f4ff}
body.ant-console .reference-stores .cfg-icon:not(.brand-icon){background:#e6f4ff;color:#1677ff;border-radius:6px}
body.ant-console .ant-account-tabs{display:flex;gap:28px;border-bottom:1px solid #d9d9d9;margin-bottom:24px}
body.ant-console .ant-account-tabs button{font-size:14px;color:#595959;padding:10px 0;border-bottom:2px solid transparent;white-space:nowrap}
body.ant-console .ant-account-tabs button[aria-selected=true]{color:#1677ff;border-bottom-color:#1677ff}
body.ant-console .ant-account-panel{max-width:100%}
body.ant-console #account-panel-0{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}
body.ant-console #account-panel-0>section:first-child{grid-row:span 2}
body.ant-console #account-panel-0 .card{margin-bottom:0}
body.ant-console #account-panel-1>.card{max-width:720px}
body.ant-console .ant-diagnostics-head{display:flex;justify-content:space-between;gap:20px;align-items:center}
body.ant-console .ant-diagnostics-head p{color:#737373;margin:4px 0 0}
body.ant-console .trial-preview-slot{margin:24px 0 0}
body.ant-console .trial-preview-slot>summary{cursor:pointer;list-style-position:inside;font-weight:500;padding:14px 16px;border:1px solid #f0f0f0;background:#fff;border-radius:6px}
body.ant-console .compute-hero{padding:24px;border:1px solid #f0f0f0;border-radius:8px;background:#fff;box-shadow:none;color:#262626}
body.ant-console .compute-hero>div>strong{font-size:36px;font-weight:600;color:#1677ff}
body.ant-console .compute-hero strong small,body.ant-console .compute-hero p{color:#595959}
body.ant-console .compute-hero-details{min-width:280px;gap:10px}
body.ant-console .compute-hero-details span{color:#737373}
body.ant-console .compute-hero-details strong{color:#262626}
body.ant-console .compute-plan{border-color:#f0f0f0!important;border-radius:8px}
body.ant-console .compute-plan-points{color:#1677ff}
body.ant-console .compute-plan-footer{border-color:#f0f0f0}
body.ant-console .compute-plan-footer strong{color:#262626}
body.ant-console .add-store-symbol{background:#e6f4ff;color:#1677ff;border-radius:8px}
body.ant-console .store-creation-steps span{background:#fafafa;color:#595959;border-radius:6px}
body.ant-console :is(.library-icon,.group.active,.diagnostic-status,.trial-status,.campaign-platform){background:#e6f4ff;color:#0958d9;border-radius:6px}
body.ant-console :is(.trial-preview-panel,.campaign-rule,.campaign-tier,.campaign-publication){border-color:#f0f0f0;border-radius:8px;background:#fff}
body.ant-console :is(.campaign-note,.trial-preview-panel .ui-preview-note){background:#e6f4ff;color:#0958d9;border-color:#91caff;border-radius:6px}
body.ant-console .trial-preview-panel [data-trial-total]{background:#e6f4ff;color:#0958d9;border-radius:6px}
body.ant-console .trial-preview-panel .btn.primary{background:#1677ff;color:#fff}
body.ant-console .trial-preview-panel .trial-price-grid>div,body.ant-console :is(.campaign-fact,.campaign-round-summary>span,.campaign-batch-result){background:#fafafa;border-radius:6px;color:#595959}
body.ant-console .trial-preview-panel .trial-price-grid strong,body.ant-console .coupon-result>strong{color:#1677ff}
body.ant-console :is(.campaign-tier,.campaign-publication) legend{color:#434343}
body.ant-console .login{min-height:100dvh;background:#f5f5f5}
body.ant-console .login-art{background:#e6f4ff;color:#0958d9}
body.ant-console .login-art h1{color:#0958d9}
body.ant-console .login-art p{color:#595959}
body.ant-console .brand span{background:none;color:#262626}
body.ant-console .ant-nav-overlay{position:fixed;inset:0;background:#0006;border:0;z-index:40}
@media(min-width:761px){body.ant-console .mobile-menu-button{display:none}body.ant-console .sidebar nav.store-nav{flex:0 0 auto}}
@media(max-width:1100px) and (min-width:761px){body.ant-console .content{padding:20px}body.ant-console .topbar{padding:0 20px}}
@media(max-width:760px){
 body.ant-console .layout{display:block}body.ant-console .main{width:100%;min-width:0}body.ant-console .sidebar{display:none;width:260px;max-width:85vw;box-shadow:4px 0 24px #0000001f}body.ant-console .sidebar.open{display:flex}body.ant-console.ant-drawer-open{overflow:hidden}
 body.ant-console .topbar{height:56px;padding:0 16px;gap:8px}body.ant-console .topbar .actions{gap:8px}body.ant-console .topbar .current-store-badge{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.ant-console .mobile-menu-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:6px;border:1px solid #d9d9d9;border-radius:6px}
 body.ant-console .content{padding:20px 16px 40px}body.ant-console h1{font-size:22px}body.ant-console .page-head,body.ant-console .ui-page-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}body.ant-console .page-head .actions{flex-wrap:wrap}
 body.ant-console .topbar .crumb,body.ant-console .topbar #crumb{display:none}body.ant-console .mobile-menu-button .bi{font-size:20px}body.ant-console .compute-hero-details{min-width:0}body.ant-console .compute-hero{padding:20px;gap:16px}
 body.ant-console :is(.card,.ui-card,.business-panel,.merchant-staff-panel){padding:16px;border-radius:8px;margin-bottom:16px}body.ant-console :is(.btn,.sc-quick-btn){min-height:36px}body.ant-console .btn.small{min-height:32px}body.ant-console .stats{gap:12px}
 body.ant-console :is(.table-wrap,.ui-table-wrap,.business-table-wrap){overflow:visible;border:0}body.ant-console table.ant-responsive-table{display:block;min-width:0!important;width:100%}body.ant-console table.ant-responsive-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}body.ant-console table.ant-responsive-table tbody{display:grid;gap:12px}body.ant-console table.ant-responsive-table tr{display:block;background:#fff;border:1px solid #f0f0f0;border-radius:6px;padding:8px 12px}body.ant-console table.ant-responsive-table td{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border:0;min-width:0;max-width:100%;white-space:normal;text-align:right;overflow-wrap:anywhere;font-size:13px}body.ant-console table.ant-responsive-table td::before{content:attr(data-label);flex:0 0 82px;color:#737373;font-weight:400;text-align:left}body.ant-console table.ant-responsive-table td[data-full-cell=true]{display:block;text-align:left}body.ant-console table.ant-responsive-table td[data-full-cell=true]::before{display:none}body.ant-console table.ant-responsive-table td .actions{justify-content:flex-end;flex-wrap:wrap}body.ant-console table.ant-responsive-table td button{flex:none}body.ant-console table.ant-responsive-table td>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
 body.ant-console .merchant-staff-table{overflow:visible}body.ant-console .merchant-staff-head{display:none}body.ant-console .merchant-staff-row:not(.merchant-staff-head){display:grid;grid-template-columns:1fr auto;min-width:0;gap:12px;border:1px solid #f0f0f0;padding:16px;margin-top:12px;border-radius:6px}body.ant-console .merchant-staff-row>div:first-child{grid-column:1/-1}body.ant-console .merchant-staff-row>.staff-store-tags{grid-column:1/-1}body.ant-console .merchant-staff-row>.actions{grid-column:1/-1;justify-content:flex-end}
 body.ant-console .reference-stores .store-card .sc-head{padding:16px;flex-wrap:wrap}body.ant-console .reference-stores .store-card .sc-content{padding:16px}body.ant-console .reference-stores .sc-head-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}body.ant-console .reference-stores .sc-quick-btn{font-size:12px;padding:4px 8px}body.ant-console .reference-stores .sc-name{white-space:normal}body.ant-console .reference-stores .sc-id{display:none}body.ant-console .reference-stores .sc-config-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.ant-console .settings-replica .card{padding:0}body.ant-console .settings-replica .card-header,body.ant-console .settings-replica .card-body{padding:16px}body.ant-console .settings-replica :is(.col-md-8,.col-md-4,.col-md-6,.col-lg-6){width:100%}body.ant-console .settings-replica h4{font-size:22px}
 body.ant-console #dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:8px}body.ant-console .modal-head,body.ant-console .modal-body{padding:16px}body.ant-console .modal-footer{padding:12px 16px}body.ant-console #account-panel-0{display:block}body.ant-console #account-panel-0 .card{margin-bottom:16px}body.ant-console .ant-diagnostics-head{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){body.ant-console *,body.ant-console *::before,body.ant-console *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Audit follow-up: readable nested forms and consistent states. */
body.ant-console .form-grid>.full{grid-column:1/-1;min-width:0}
body.ant-console.reference-merchant #dialog[data-reference-size]:has(.store-module-group){width:800px;max-width:calc(100vw - 32px)}
body.ant-console .store-module-group>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
body.ant-console .store-module-group .check{display:flex;gap:8px;line-height:1.6;word-break:normal}
body.ant-console .store-module-group input{flex:0 0 16px;width:16px;margin-top:3px}
body.ant-console .campaign-rule{padding:20px}
body.ant-console .campaign-rule-base,body.ant-console .campaign-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.ant-console .campaign-tier-remove{grid-column:1/-1;justify-self:end}
body.ant-console .film-guide{padding:0 16px 12px;color:#595959}
body.ant-console .film-guide p{margin:8px 0}
body.ant-console .film-picker-item .btn{white-space:normal;min-height:40px;line-height:1.5}
body.ant-console .scene-head{gap:12px;flex-wrap:wrap}
body.ant-console .ui-balance-card{background:#e6f4ff;border-color:#91caff}
body.ant-console .ui-balance-card strong{color:#1677ff}
body.ant-console :is(.store-chips,.store-chip,.store-note,.campaign-round-summary>span,.campaign-batch-result){background:#f0f7ff;border-color:#d6e8ff;color:#0958d9}
body.ant-console :is(button,input,select,textarea):disabled{cursor:not-allowed}
body.ant-console button.btn:disabled{background:#f5f5f5;color:#8c8c8c;border-color:#d9d9d9;box-shadow:none;opacity:1}
body.ant-console :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #1677ff;outline-offset:3px}
@media(max-width:600px){
 body.ant-console .store-module-group>div,body.ant-console .campaign-rule-base,body.ant-console .campaign-tier-grid{grid-template-columns:1fr}
 body.ant-console .campaign-rule{padding:14px}
 body.ant-console .film-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ant-console .film-picker{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
}
