:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--primary: #2457d6;--primary-dark: #1745b5;--primary-soft: #e9efff;--surface: #ffffff;--surface-muted: #f8f9fc;--border: #dde3ee;--border-strong: #cbd4e3;--text: #172033;--muted: #657087;--success: #087a4b;--success-soft: #e7f7ef;--warning: #a85e00;--warning-soft: #fff4dc;--danger: #c62828;--danger-soft: #fdecec;--shadow: 0 8px 26px rgba(29, 45, 76, .07)}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:#f5f7fb}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a{color:inherit}h1,h2,h3,p{margin-top:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(36,87,214,.25);outline-offset:2px}.skip-link{position:fixed;z-index:1000;left:16px;top:-80px;background:#fff;color:var(--primary);padding:10px 16px;border-radius:10px;box-shadow:var(--shadow)}.skip-link:focus{top:12px}.admin-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;display:flex;width:272px;flex-direction:column;border-right:1px solid #e5e9f0;background:#fff;box-shadow:7px 0 30px #192b4b09}.sidebar-brand{display:flex;align-items:center;gap:12px;min-height:82px;padding:18px 20px;border-bottom:1px solid #eef1f5}.sidebar-brand>div{display:flex;flex-direction:column;line-height:1.12}.sidebar-brand strong{font-size:18px}.sidebar-brand small{margin-top:4px;color:var(--muted);font-size:12px;letter-spacing:.04em}.brand-icon,.brand-mark{display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);border-radius:14px}.brand-icon{width:42px;height:42px}.sidebar-close{display:none;margin-left:auto}.environment-banner{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 16px 8px;padding:9px 12px;border-radius:11px;font-size:12px;font-weight:800;letter-spacing:.08em}.environment-dry{color:#855100;background:#fff4dc;border:1px solid #f4d790}.environment-production{color:#a71818;background:#fdecec;border:1px solid #f3bbbb}.environment-dot{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 15%,transparent)}.sidebar-nav{display:flex;flex:1;flex-direction:column;gap:3px;overflow-y:auto;padding:8px 12px 18px}.nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:11px;color:#526078;text-decoration:none;font-size:14px;font-weight:600;transition:background .15s,color .15s,transform .15s}.nav-link:hover{color:var(--primary);background:#f4f7ff;transform:translate(2px)}.nav-link.active{color:var(--primary);background:var(--primary-soft)}.sidebar-footer{padding:16px;border-top:1px solid #eef1f5}.current-user{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:12px}.current-user>div{display:flex;min-width:0;flex-direction:column}.current-user strong,.current-user small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-user strong{font-size:13px}.current-user small{margin-top:2px;color:var(--muted);font-size:11px}.user-avatar{display:grid;flex:0 0 auto;width:37px;height:37px;place-items:center;border-radius:12px;color:#fff;background:var(--primary);font-weight:800}.content-shell{min-height:100vh;margin-left:272px}.mobile-header{display:none}.main-content{width:min(100%,1500px);margin:0 auto;padding:34px 38px 56px}.page-stack{display:flex;flex-direction:column;gap:22px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.page-header h1{margin-bottom:7px;font-size:clamp(25px,3vw,34px);line-height:1.18;letter-spacing:-.025em}.page-header p{margin:0;color:var(--muted);line-height:1.5}.page-actions{display:flex;flex:0 0 auto;gap:10px}.button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:12px;cursor:pointer;font-size:14px;font-weight:700;text-decoration:none;transition:transform .13s,box-shadow .13s,background .13s,border-color .13s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:#fff;background:var(--primary);box-shadow:0 5px 14px #2457d62e}.button-primary:hover:not(:disabled){background:var(--primary-dark);box-shadow:0 7px 18px #2457d63b}.button-secondary{color:#34425a;background:#fff;border:1px solid var(--border)}.button-secondary:hover:not(:disabled){border-color:#aebbd0;background:#fafbfe}.button-danger{color:#fff;background:#c52f2f;box-shadow:0 5px 14px #c52f2f2e}.button-danger:hover:not(:disabled){background:#ad2424}.button-ghost{color:#526078;background:transparent}.button-ghost:hover:not(:disabled){color:var(--primary);background:#f2f5fb}.button-wide{width:100%}.icon-button{display:inline-grid;flex:0 0 auto;width:38px;height:38px;place-items:center;border-radius:11px;color:#536179;background:transparent;cursor:pointer;text-decoration:none}.icon-button:hover:not(:disabled){color:var(--primary);background:var(--primary-soft)}.icon-button:disabled{cursor:not-allowed;opacity:.4}.spinner{display:inline-block;width:17px;height:17px;border:2px solid rgba(255,255,255,.42);border-top-color:currentColor;border-radius:50%;animation:spin .75s linear infinite}.spinner-primary{color:var(--primary);border-color:#2457d633;border-top-color:var(--primary)}@keyframes spin{to{transform:rotate(360deg)}}.full-page-loader{display:flex;min-height:100vh;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.feedback-card{display:flex;min-height:180px;align-items:center;justify-content:center;gap:14px;padding:28px;border:1px solid var(--border);border-radius:20px;background:#fff;color:var(--muted);text-align:center}.feedback-card p{margin:0}.feedback-error{color:var(--danger);background:snow}.feedback-error>div{text-align:left}.feedback-error p{margin-top:5px;color:#8b4747}.empty-state{flex-direction:column}.empty-state strong{color:var(--text);font-size:17px}.inline-notice{padding:13px 16px;border:1px solid;border-radius:13px;font-size:14px}.inline-notice-info{color:#1b4aa8;background:#eef4ff;border-color:#cbd9fb}.inline-notice-success{color:#086741;background:var(--success-soft);border-color:#bce8d3}.inline-notice-warning{color:#855100;background:var(--warning-soft);border-color:#f0d28d}.inline-notice-danger{color:#a51f1f;background:var(--danger-soft);border-color:#efbcbc}.alert{padding:12px 14px;border-radius:12px;font-size:14px}.alert-error{color:#a51f1f;background:var(--danger-soft);border:1px solid #efc0c0}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 85% 8%,rgba(36,87,214,.12),transparent 34%),linear-gradient(145deg,#f4f7fd,#eef2f9)}.login-panel{width:min(100%,430px);padding:40px;border:1px solid #e2e7f0;border-radius:26px;background:#fffffff5;box-shadow:0 24px 70px #2135581f}.brand-mark{width:56px;height:56px;margin-bottom:24px}.eyebrow,.mode-kicker{margin-bottom:7px;color:var(--primary);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.login-panel h1{margin-bottom:8px;font-size:31px;letter-spacing:-.03em}.login-subtitle{margin-bottom:28px;color:var(--muted);line-height:1.5}.login-note{margin:24px 0 0;color:#8490a3;font-size:12px;line-height:1.5;text-align:center}.form-stack{display:flex;flex-direction:column;gap:17px}.secret-field-row{display:flex;align-items:center;gap:8px}.secret-field-row input{flex:1;min-width:0}.secret-toggle{flex-shrink:0;min-height:44px;padding-inline:10px}.field,.compact-field{display:flex;flex-direction:column;gap:7px}.field>span,.compact-field>span{color:#44516a;font-size:13px;font-weight:700}.field small{color:var(--muted);line-height:1.4}.field input,.field select,.compact-field input,.compact-field select,.search-field,.toolbar-select{min-height:44px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:#fff}.field input,.field select,.compact-field input,.compact-field select{width:100%;padding:9px 12px}.field input:focus,.field select:focus,.compact-field input:focus,.compact-field select:focus{border-color:var(--primary);outline:3px solid rgba(36,87,214,.12)}.input-with-icon,.search-field{display:flex;align-items:center;gap:9px;padding:0 12px}.input-with-icon{border:1px solid var(--border);border-radius:12px;color:var(--muted)}.input-with-icon:focus-within,.search-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2457d61f}.input-with-icon input,.search-field input{min-width:0;flex:1;border:0;outline:0;background:transparent}.input-with-icon input,.search-field{height:44px}.panel{padding:24px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 5px 18px #202f4a06}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-heading h2{margin-bottom:5px;font-size:18px}.panel-heading p{margin:0;color:var(--muted);font-size:13px}.text-link{color:var(--primary);font-size:13px;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.mode-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:27px 30px;border:1px solid;border-radius:22px}.mode-hero h2{margin-bottom:7px;font-size:27px;letter-spacing:.04em}.mode-hero p{max-width:660px;margin:0;line-height:1.5}.mode-hero-dry{border-color:#efd28f;background:linear-gradient(120deg,#fff9ea,#fffdf8)}.mode-hero-production{border-color:#efb6b6;background:linear-gradient(120deg,#fff0f0,snow)}.mode-state{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:8px;color:var(--muted);font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(6,minmax(135px,1fr));gap:13px}.stat-card{display:flex;min-width:0;align-items:center;gap:12px;padding:18px;border:1px solid var(--border);border-radius:17px;background:#fff}.stat-icon{display:grid;flex:0 0 auto;width:38px;height:38px;place-items:center;border-radius:11px;color:var(--primary);background:var(--primary-soft)}.stat-card>div{display:flex;min-width:0;flex-direction:column}.stat-card span{color:var(--muted);font-size:11px;line-height:1.25}.stat-card strong{margin-top:3px;color:var(--text);font-size:21px}.stat-warning .stat-icon{color:var(--warning);background:var(--warning-soft)}.stat-danger .stat-icon{color:var(--danger);background:var(--danger-soft)}.dashboard-columns{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.run-summary-list{display:flex;flex-direction:column;gap:12px}.run-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px;border-radius:13px;background:var(--surface-muted)}.run-summary>div{display:flex;min-width:0;flex-direction:column;gap:4px}.run-summary span,.run-summary time{color:var(--muted);font-size:12px}.run-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details-list{display:flex;flex-direction:column;gap:0;margin:0}.details-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f5}.details-list div:last-child{border:0}.details-list dt{color:var(--muted);font-size:13px}.details-list dd{margin:0;font-size:13px;font-weight:700;text-align:right}.quiet-state{display:flex;min-height:120px;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.connection-health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.health-card{padding:16px;border:1px solid #e6eaf1;border-radius:15px;background:#fafbfe}.health-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.health-metadata{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 8px}.health-metadata span{padding:5px 8px;border-radius:8px;color:#536179;background:#fff;font-size:11px}.health-card small{color:var(--muted)}.error-text{margin:10px 0 0;color:var(--danger);font-size:12px;line-height:1.4}.status{display:inline-flex;width:fit-content;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.025em;white-space:nowrap}.status-success{color:#087348;background:var(--success-soft)}.status-warning{color:#925600;background:var(--warning-soft)}.status-danger{color:#b22323;background:var(--danger-soft)}.status-neutral{color:#526078;background:#edf0f5}.cards-list{display:flex;flex-direction:column;gap:14px}.connection-card{padding:21px;border:1px solid var(--border);border-radius:19px;background:#fff;box-shadow:0 4px 15px #22314e06}.connection-main{display:flex;align-items:center;gap:14px}.connection-icon,.audit-icon{display:grid;flex:0 0 auto;width:42px;height:42px;place-items:center;border-radius:13px;color:var(--primary);background:var(--primary-soft)}.title-with-status{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.title-with-status h2,.title-with-status h3{margin:0}.title-with-status h2{font-size:18px}.title-with-status h3{font-size:16px}.masked-token{margin:5px 0 0;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.connection-metrics{display:flex;flex-wrap:wrap;gap:12px 24px;margin:18px 0;padding:13px 0;border-block:1px solid #edf0f5}.connection-metrics>div{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.connection-metrics svg{color:#7a88a0}.compact-error,.security-note,.formula-note{padding:11px 13px;border-radius:11px;font-size:12px;line-height:1.5}.compact-error{color:var(--danger);background:var(--danger-soft)}.security-note{color:#536179;background:#edf2fc;border:1px solid #d8e1f3}.formula-note{color:#395376;background:#eef4ff;border:1px solid #d2def7}.card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;border:1px solid var(--border);border-radius:16px;background:#fff}.toolbar .search-field{min-width:250px;flex:1}.toolbar-select{padding:0 12px}.toolbar-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;font-weight:700}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:18px;background:#fff}table{width:100%;border-collapse:collapse;font-size:13px}th{padding:12px 14px;color:#6b768a;background:#f8f9fc;font-size:11px;font-weight:800;letter-spacing:.025em;text-align:left;text-transform:uppercase;white-space:nowrap}td{padding:14px;border-top:1px solid #edf0f5;vertical-align:middle}tbody tr:hover{background:#fafbfe}.table-primary{display:flex;min-width:190px;align-items:center;gap:10px}.table-primary>svg{flex:0 0 auto;color:var(--primary)}.table-primary>div{display:flex;min-width:0;flex-direction:column;gap:4px}.table-primary strong{max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-primary small,.table-subline{display:block;color:var(--muted);font-size:11px}.read-only-field{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:11px;background:var(--surface-muted)}.read-only-field span{color:var(--muted);font-size:12px}.read-only-field small{color:var(--muted);line-height:1.4}.switch-row,.checkbox-row{display:flex;align-items:center;gap:12px;cursor:pointer}.switch-row{justify-content:space-between;padding:12px 0}.switch-row>span{display:flex;flex-direction:column;gap:4px}.switch-row small{color:var(--muted);line-height:1.4}.switch-row input[type=checkbox]{appearance:none;position:relative;flex:0 0 auto;width:46px;height:26px;border-radius:99px;background:#cbd3df;cursor:pointer;transition:background .15s}.switch-row input[type=checkbox]:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .15s}.switch-row input[type=checkbox]:checked{background:var(--primary)}.switch-row input[type=checkbox]:checked:after{transform:translate(20px)}.switch-row input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.checkbox-row input{width:17px;height:17px;accent-color:var(--primary)}.compact-checkbox{min-height:44px;padding-inline:5px}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow-y:auto;padding:24px;background:#11192a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(100%,590px);max-height:calc(100vh - 48px);overflow-y:auto;border-radius:21px;background:#fff;box-shadow:0 28px 80px #101b3045}.modal-small{max-width:480px}.modal-large{max-width:850px}.modal-prices{width:min(100%,790px);max-width:790px}.modal-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 22px;border-bottom:1px solid #edf0f5;background:#fff}.modal-header h2{margin:0;font-size:19px}.modal-body{padding:22px}.modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #edf0f5;background:#fafbfc}.shop-modal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.shop-modal-footer .button{min-width:0;white-space:normal}.danger-callout{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #efbbbb;border-radius:13px;color:#a62020;background:var(--danger-soft)}.danger-callout svg{flex:0 0 auto}.danger-callout p{margin:0;line-height:1.5}.backfill-dialog-body{min-height:150px}.backfill-loading{display:flex;min-height:120px;align-items:center;justify-content:center;gap:11px;color:var(--muted)}.backfill-preview-label{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;padding:11px 13px;border:1px solid #bbddcc;border-radius:12px;color:var(--success);background:var(--success-soft)}.backfill-preview-label span{margin-left:auto;color:#35644f;font-size:12px}.backfill-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.backfill-preview-grid>div{display:flex;min-width:0;flex-direction:column;gap:5px;padding:14px;border-radius:12px;background:var(--surface-muted)}.backfill-preview-grid span{color:var(--muted);font-size:11px;line-height:1.35}.backfill-preview-grid strong{font-size:23px}.backfill-preview-details{padding-inline:4px}.backfill-acknowledgement{align-items:flex-start;padding:4px 2px;color:#3f4a5d;font-size:13px;line-height:1.45}.mode-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;padding:22px;border:1px solid;border-radius:19px}.mode-control-dry{border-color:#efd28f;background:#fff9eb}.mode-control-production{border-color:#ecaaaa;background:#fff0f0}.mode-control-icon{display:grid;width:49px;height:49px;place-items:center;border-radius:14px;color:currentColor;background:#ffffffa6}.mode-control h2{margin:3px 0;font-size:22px}.mode-control p{margin:0;color:#667085;font-size:13px}.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-panel:first-child{grid-row:span 2}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.settings-save{grid-column:1 / -1;display:flex;justify-content:flex-end}.settings-simple-form{display:grid;gap:16px}.settings-main-panel{width:100%}.settings-primary-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid var(--border)}.settings-action-hint{color:var(--warning);text-align:right}.stock-threshold-settings{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#f9faff}.stock-threshold-settings summary{display:flex;align-items:center;gap:11px;padding:15px;cursor:pointer;list-style:none}.stock-threshold-settings summary::-webkit-details-marker{display:none}.stock-threshold-settings summary:after{content:"⌄";margin-left:auto;color:var(--primary);font-size:20px;font-weight:800;transition:transform .18s}.stock-threshold-settings[open] summary:after{transform:rotate(180deg)}.stock-threshold-settings summary>span:not(.stock-threshold-icon){display:flex;flex-direction:column;gap:3px}.stock-threshold-settings summary small{color:var(--muted);font-weight:400}.stock-threshold-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:9px;color:var(--primary);background:var(--primary-soft)}.stock-threshold-body{padding:15px;border-top:1px solid var(--border);background:#fff}.stock-threshold-body>p{margin:0 0 14px;color:var(--muted);font-size:12px}.stock-threshold-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stock-threshold-grid .field{padding:14px;border:1px solid #e3e7ee;border-radius:12px;background:var(--surface-muted)}.stock-threshold-grid .field small{color:var(--muted);font-size:10px;line-height:1.45}.advanced-settings{padding:0;overflow:hidden}.advanced-settings summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer;list-style:none}.advanced-settings summary::-webkit-details-marker{display:none}.advanced-settings summary:after{content:"⌄";color:var(--primary);font-size:24px;font-weight:800;transition:transform .18s}.advanced-settings[open] summary:after{transform:rotate(180deg)}.advanced-settings summary>span{display:flex;flex-direction:column;gap:4px}.advanced-settings summary small{color:var(--muted);font-weight:400}.advanced-settings-body{padding:0 20px 20px;border-top:1px solid var(--border)}.danger-zone{padding:20px;border:1px solid #e9aaaa;border-radius:18px;background:#fff4f4}.danger-zone-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;color:var(--danger)}.danger-zone-heading svg{flex:0 0 auto}.danger-zone-heading h2{margin:0 0 5px;font-size:19px}.danger-zone-heading p{margin:0;color:#884747;font-size:13px;line-height:1.5}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.action-button{justify-content:flex-start;min-height:50px;text-align:left}.filter-panel{display:grid;grid-template-columns:minmax(250px,2fr) repeat(3,minmax(125px,.8fr));gap:12px;padding:16px;border:1px solid var(--border);border-radius:17px;background:#fff}.filter-search{grid-column:span 2;align-self:end}.filter-actions{display:flex;align-items:flex-end;gap:8px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:13px}.pagination>div{display:flex;align-items:center;gap:7px}.page-number{min-width:85px;text-align:center}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.danger-value{color:var(--danger);font-weight:800}.warning-value{color:var(--warning);font-weight:800}.positive-value{color:var(--success);font-weight:700}.primary-value{color:var(--primary);font-size:15px}.detail-back a{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:13px;font-weight:700;text-decoration:none}.order-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px;border:1px solid var(--border);border-radius:21px;background:#fff}.order-detail-header h1{margin-bottom:6px;font-size:28px}.order-detail-header p:last-child{margin:0;color:var(--muted)}.order-statuses{display:flex;flex-wrap:wrap;gap:8px}.detail-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.detail-summary-grid article{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;padding:17px;border:1px solid var(--border);border-radius:16px;background:#fff}.detail-summary-grid svg{grid-row:span 3;color:var(--primary)}.detail-summary-grid span,.detail-summary-grid small{color:var(--muted);font-size:11px}.detail-summary-grid strong{font-size:19px}.detail-summary-grid .summary-danger{border-color:#efc2c2;background:#fff9f9}.detail-summary-grid .summary-danger svg,.detail-summary-grid .summary-danger strong{color:var(--danger)}.inline-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0}.inline-details div{display:flex;flex-direction:column;gap:6px;padding:11px;border-radius:11px;background:var(--surface-muted)}.inline-details dt{color:var(--muted);font-size:11px}.inline-details dd{margin:0;font-size:13px;font-weight:700}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-title h2{margin:0;font-size:20px}.section-title span{color:var(--muted);font-size:13px}.order-items-list{display:flex;flex-direction:column;gap:12px}.order-admin-item{display:grid;grid-template-columns:80px minmax(230px,1fr) auto minmax(180px,.65fr);align-items:start;gap:18px;padding:18px;border:1px solid var(--border);border-radius:18px;background:#fff}.product-image{width:80px;height:80px;border-radius:13px;object-fit:cover;background:#eef1f6}.product-image-empty{display:grid;place-items:center;color:#8995a9}.order-item-main h3{margin-bottom:5px}.order-item-main>p{margin:7px 0;color:var(--muted);font-size:12px}.item-identifiers{display:flex;flex-wrap:wrap;gap:12px 18px;margin:11px 0 0}.item-identifiers div{display:flex;flex-direction:column;gap:3px}.item-identifiers dt{color:var(--muted);font-size:10px}.item-identifiers dd{margin:0;font-size:12px}.item-quantities{display:flex;gap:8px}.item-quantities>div{display:flex;min-width:70px;flex-direction:column;align-items:center;gap:3px;padding:9px;border-radius:10px;background:var(--surface-muted)}.item-quantities span{color:var(--muted);font-size:10px}.item-quantities strong{font-size:17px}.allocation-list{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:12px;background:var(--surface-muted);font-size:12px}.allocation-list>div{display:flex;justify-content:space-between;gap:8px}.allocation-list small{color:var(--muted)}.runs-list,.audit-list{display:flex;flex-direction:column;gap:12px}.run-card{padding:20px;border:1px solid var(--border);border-radius:18px;background:#fff}.run-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.run-identity{display:flex;align-items:center;gap:12px}.run-identity p{margin:5px 0 0;color:var(--muted);font-size:12px}.run-time{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:12px}.run-time span{color:var(--muted)}.run-metrics{display:grid;grid-template-columns:repeat(8,minmax(90px,1fr));gap:8px;margin-top:17px}.run-metrics>div{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:10px;background:var(--surface-muted)}.run-metrics span{color:var(--muted);font-size:9px;line-height:1.3}.run-metrics strong{font-size:16px}.run-metrics .metric-warning{color:var(--warning);background:var(--warning-soft)}.run-metrics .metric-danger{color:var(--danger);background:var(--danger-soft)}.run-card .compact-error{margin-top:12px}.sync-diagnostics{display:grid;gap:10px;margin-top:14px}.sync-diagnostics>h3{display:flex;align-items:center;gap:8px;margin:0;color:var(--danger);font-size:15px}.sync-diagnostic-card{padding:14px;border:1px solid #e9aaaa;border-radius:13px;background:#fff8f8}.sync-diagnostic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sync-diagnostic-heading strong{color:var(--danger)}.sync-diagnostic-heading span{padding:3px 8px;border-radius:999px;color:#8a3535;background:#ffe1e1;font-size:12px;font-weight:700}.sync-diagnostic-card>p{margin:8px 0 12px;color:#6e3434;line-height:1.5}.sync-diagnostic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0}.sync-diagnostic-grid div{min-width:0}.sync-diagnostic-grid dt{margin-bottom:3px;color:var(--muted);font-size:11px}.sync-diagnostic-grid dd{margin:0;overflow-wrap:anywhere;font-size:13px}.diagnostic-response{margin-top:12px}.diagnostic-response summary{cursor:pointer;color:var(--primary);font-size:12px;font-weight:700}.diagnostic-response pre{max-height:180px;margin:9px 0 0;padding:10px;overflow:auto;border-radius:9px;color:#4b3131;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.audit-card{display:flex;align-items:flex-start;gap:13px;padding:17px;border:1px solid var(--border);border-radius:16px;background:#fff}.audit-main{min-width:0;flex:1}.audit-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px}.audit-title span{color:var(--primary);font-size:12px;font-weight:700}.audit-main>p{margin:5px 0 0;color:var(--muted);font-size:12px}.audit-main details{margin-top:12px}.audit-main summary{width:fit-content;color:var(--primary);cursor:pointer;font-size:12px;font-weight:700}.audit-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.audit-diff>div{min-width:0}.audit-diff span{color:var(--muted);font-size:10px}.audit-diff pre{max-height:300px;overflow:auto;padding:10px;border-radius:9px;color:#33405a;background:#f3f5f9;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.uzum-orders-page{display:flex;min-height:calc(100vh - 110px);flex-direction:column;gap:14px}.uzum-order-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 1px;scrollbar-width:thin}.uzum-order-tab{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:34px;padding:7px 12px;border:0;border-radius:18px;color:#172033;background:transparent;cursor:pointer;font:inherit;font-size:13px}.uzum-order-tab span{display:inline-grid;min-width:21px;height:21px;place-items:center;padding:0 6px;border-radius:11px;color:#526078;background:#dfe4ec;font-size:11px;font-weight:700}.uzum-order-tab.active{color:#fff;background:#171b27;font-weight:700}.uzum-order-tab.active span{color:#fff;background:#7555d9}.uzum-orders-search{display:flex;width:min(470px,100%);align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--border);border-radius:12px;color:var(--muted);background:#fff}.uzum-orders-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:13px}.uzum-orders-board{min-height:560px;overflow:hidden;border:1px solid #edf0f4;border-radius:20px;background:#fff}.uzum-order-list{display:flex;flex-direction:column}.uzum-order-row{display:grid;grid-template-columns:135px minmax(260px,1.5fr) minmax(155px,.75fr) minmax(180px,1fr) minmax(145px,.75fr) 38px;align-items:center;gap:18px;min-height:86px;padding:12px 18px;border-bottom:1px solid #edf0f4}.uzum-order-row:last-child{border-bottom:0}.uzum-order-row:hover{background:#fafbfe}.uzum-order-id,.uzum-order-product>div:last-child,.uzum-order-deadline,.uzum-order-place{display:flex;min-width:0;flex-direction:column;gap:5px}.uzum-order-id strong{font-size:14px}.uzum-order-id span,.uzum-order-product span,.uzum-order-deadline span,.uzum-order-place small{color:var(--muted);font-size:11px}.uzum-order-product{display:flex;min-width:0;align-items:center;gap:10px}.uzum-order-product strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.uzum-order-image{position:relative;display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;overflow:hidden;border-radius:7px;color:#8a96a9;background:#eef1f5}.uzum-order-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.uzum-order-deadline strong,.uzum-order-place span,.uzum-order-shop{font-size:12px;line-height:1.4}.uzum-order-shop{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uzum-order-open{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:9px;color:var(--muted);text-decoration:none}.uzum-order-open:hover{color:var(--primary);background:var(--primary-soft)}.uzum-orders-empty{display:flex;min-height:560px;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center}.uzum-orders-empty strong{font-size:17px}.uzum-orders-empty span{color:var(--muted);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stock-catalog-page{display:flex;min-height:calc(100vh - 110px);flex-direction:column;gap:12px}.stock-catalog-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.stock-catalog-top h1{margin:0 0 5px;color:#172033;font-size:27px;line-height:1.2}.stock-catalog-top p{margin:0;color:var(--muted);font-size:12px}.stock-catalog-total{display:flex;min-width:72px;align-items:baseline;justify-content:flex-end;gap:5px;color:var(--muted)}.stock-catalog-total strong{color:#172033;font-size:22px}.stock-catalog-total span{font-size:11px;font-weight:700}.stock-catalog-toolbar{display:flex;align-items:center;gap:10px}.stock-catalog-search{display:flex;min-width:320px;max-width:660px;flex:1;align-items:center;gap:9px;height:40px;padding-left:12px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:#fff}.stock-catalog-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2457d61a}.stock-catalog-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:12px}.stock-search-clear{padding:5px 7px;border:0;color:var(--muted);background:transparent;cursor:pointer;font-size:11px}.stock-search-clear:hover{color:var(--primary)}.stock-search-submit{align-self:stretch;min-height:auto;padding-inline:18px;border-radius:0 9px 9px 0}.stock-visible-summary{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.stock-visible-summary strong{color:#172033}.stock-refresh{min-height:40px;padding-inline:13px}.stock-catalog-shell{min-height:560px;overflow:hidden;border:1px solid #e2e7ef;border-radius:12px;background:#fff}.stock-catalog-shell>.loading-state,.stock-catalog-shell>.empty-state,.stock-catalog-shell>.error-state{min-height:550px}.stock-catalog-scroll{max-height:calc(100vh - 245px);overflow:auto;scrollbar-color:#c5ccd8 transparent;scrollbar-width:thin}.stock-catalog-table{width:100%;min-width:1420px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px}.stock-catalog-table-prices{min-width:2480px}.stock-catalog-table th{position:sticky;top:0;z-index:2;height:40px;padding:0 10px;border-bottom:1px solid #d6dce6;border-right:1px solid #edf0f4;color:#7a8497;background:#f8f9fb;text-align:left;font-size:10px;font-weight:700;letter-spacing:.01em;text-transform:none;white-space:nowrap;overflow:visible}.stock-catalog-table td{height:auto;min-height:54px;padding:8px 10px;border-bottom:1px solid #e8ecf2;color:#20293a;vertical-align:middle}.stock-catalog-table tbody tr:last-child td{border-bottom:0}.stock-catalog-table tbody tr:hover td{background:#f8faff}.stock-catalog-table-selectable{-webkit-user-select:none;user-select:none}.stock-cell-selectable{cursor:cell}.stock-cell-selectable.stock-cell-selected{background:#dce9ff!important;box-shadow:inset 0 0 0 1px #7aa4ef}.stock-copy-notice{min-height:32px;padding:0 12px;border-radius:8px;background:#e8f5ef;color:#176b4a;font-size:12px;font-weight:700;display:inline-flex;align-items:center}.stock-column-hide-zone{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:46px;margin-bottom:12px;padding:10px 14px;border:1.5px dashed #c9d2e0;border-radius:12px;background:#f7f9fc;color:#6b7588;font-size:12.5px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.stock-column-hide-zone.dragging,.stock-column-hide-zone.active{border-color:#4f7fe8;background:#eef4ff;box-shadow:inset 0 0 0 1px #4f7fe82e}.stock-column-hide-hint{color:#7a8497}.stock-column-hide-label{font-weight:700;color:#445066}.stock-column-chips{display:flex;flex-wrap:wrap;gap:8px}.stock-column-chip{min-height:28px;padding:0 11px;border:1px solid #d5dceb;border-radius:999px;background:#fff;color:#33405a;font-size:12px;font-weight:600;cursor:grab}.stock-column-chip:hover{border-color:#4f7fe8;color:#2f5fcc}.stock-col-draggable{cursor:grab;-webkit-user-select:none;user-select:none}.stock-col-draggable.dragging{opacity:.55}.stock-col-product{width:210px}.stock-col-sku{width:180px}.stock-col-barcode{width:132px}.stock-col-price{width:104px}.stock-col-qty{width:88px}.stock-col-reserve{width:110px}.stock-col-uzum{width:84px}.stock-col-available{width:128px}.stock-col-actions{position:sticky;right:0;z-index:1;width:108px;border-right:0;background:#fff;box-shadow:-8px 0 12px -10px #17203347}th.stock-col-actions{z-index:3;background:#f8f9fb}.stock-catalog-table tbody tr:hover td.stock-col-actions{background:#f8faff}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(1){width:220px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(2){width:168px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(3){width:128px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(4),.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(5),.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(6),.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(7){width:82px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(8),.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(9){width:98px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(10){width:96px}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(11),.stock-catalog-table:not(.stock-catalog-table-prices) td:nth-child(11){position:sticky;right:0;z-index:1;width:132px;border-right:0;background:#fff;box-shadow:-8px 0 12px -10px #17203347}.stock-catalog-table:not(.stock-catalog-table-prices) th:nth-child(11){z-index:3;background:#f8f9fb}.stock-catalog-table:not(.stock-catalog-table-prices) tbody tr:hover td:nth-child(11){background:#f8faff}.stock-retail-price{font-weight:700;color:#172033;white-space:nowrap}.stock-price-button{min-height:32px;padding:0 10px;gap:6px;font-size:11px;white-space:nowrap}.stock-quantity{white-space:nowrap}.price-modal-body{display:grid;gap:20px;padding:20px 24px 22px}.price-product-card{display:flex;gap:16px;align-items:flex-start;padding:16px;border:1px solid #e7ebf2;border-radius:14px;background:linear-gradient(180deg,#fbfcfe,#f7f9fc)}.price-modal-photo{width:88px;height:110px;flex:0 0 88px;border-radius:12px;object-fit:cover;background:#eef2f8;border:1px solid #e4e9f1}.price-modal-photo.placeholder{display:grid;place-items:center;color:#8a94a6;font-size:11px;text-align:center;padding:8px}.price-product-copy{min-width:0;flex:1;display:grid;gap:10px}.price-product-title{font-size:16px;line-height:1.35;color:#172033}.price-product-meta{display:grid;gap:6px;color:#5b6578;font-size:13px}.price-barcode-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.price-copy-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 10px;border:1px solid #d7dde8;border-radius:8px;background:#fff;color:#3d4a63;font-size:12px;cursor:pointer}.price-copy-button:hover{background:#f5f7fb}.price-stock-badges{display:flex;flex-wrap:wrap;gap:8px}.price-stock-badge{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:999px;background:#eef2f8;color:#445066;font-size:12px}.price-stock-badge.accent{background:#e8f5ef;color:#176b4a}.price-block{display:grid;gap:12px}.price-block h3{margin:0;font-size:14px;font-weight:700;color:#172033}.price-block-internal{padding:14px 16px 16px;border:1px solid #f0e2c4;border-radius:14px;background:#fffaf0}.price-internal-note{margin:0;color:#8a6a2b;font-size:12.5px;line-height:1.45}.price-modal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.price-modal-fields-single{grid-template-columns:minmax(0,1fr);max-width:360px}.price-field{display:grid;gap:7px;font-size:12.5px;color:#5b6578;font-weight:600}.price-field-control{position:relative;display:flex;align-items:center}.price-field-control input{width:100%;min-height:48px;padding:0 52px 0 14px;border:1px solid #d7dde8;border-radius:12px;background:#fff;color:#172033;font-size:15px;font-weight:600;outline:none}.price-field-control input:focus{border-color:#8aa4e8;box-shadow:0 0 0 3px #1b4fd81f}.price-field-control input::placeholder{color:transparent}.price-field-suffix{position:absolute;right:14px;color:#8a94a6;font-size:13px;font-weight:600;pointer-events:none}.price-modal-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf0f5;margin-top:2px;padding-top:16px}.price-modal-footer-right{display:flex;gap:10px;align-items:center}.price-history{border-top:1px solid #e8ecf2;padding-top:14px}.price-history h3{margin:0 0 10px;font-size:14px}.price-history ul{margin:0;padding-left:18px;display:grid;gap:6px;color:#445066;font-size:13px}@media(max-width:900px){.price-modal-fields{grid-template-columns:1fr}.price-modal-fields-single{max-width:none}.price-modal-footer{flex-direction:column;align-items:stretch}.price-modal-footer-right{width:100%}.price-modal-footer-right .button,.price-modal-footer>.button{flex:1}}@media(min-width:1280px)and (max-width:1920px){.modal-prices{width:min(100%,800px);max-width:800px}}.stock-product-cell{display:flex;min-width:0;align-items:center;gap:9px}.stock-product-avatar{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;color:#fff;font-size:12px;font-weight:800}.stock-product-avatar.tone-0{background:#ee7908}.stock-product-avatar.tone-1{background:#7659de}.stock-product-avatar.tone-2{background:#00a399}.stock-product-avatar.tone-3{background:#f0ab00}.stock-product-avatar.tone-4{background:#2d74da}.stock-product-avatar.tone-5{background:#c64aa3}.stock-product-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.stock-product-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-product-copy small{color:#939cac;font-size:9px}.stock-sku-link{display:block;overflow:hidden;color:#3474e6;text-overflow:ellipsis;white-space:nowrap}.customers-page{display:grid;gap:14px}.customers-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.customers-header-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.customers-page-header h1{margin:0 0 4px;font-size:28px;color:#172033}.customers-page-header p{margin:0;color:#6b7588;font-size:13px}.customer-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.customer-stat-card,.customer-info-card{display:grid;gap:6px;padding:14px 16px;border:1px solid #e3e8f0;border-radius:16px;background:#fff}.customer-stat-card span,.customer-info-card span{color:#7a8497;font-size:12px}.customer-stat-card strong,.customer-info-card strong{color:#172033;font-size:18px}.customers-toolbar{display:flex;gap:10px;align-items:center}.customers-search{display:flex;flex:1;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid #dbe2ec;border-radius:12px;background:#fff;color:#77829a}.customers-search input,.customers-type-filter{min-height:40px;border:1px solid #dbe2ec;border-radius:12px;background:#fff;font:inherit;color:#172033}.customers-search input{flex:1;border:0;outline:0;min-width:0}.customers-type-filter{min-width:180px;padding:0 12px}.customers-board{overflow:hidden;border:1px solid #e2e7ef;border-radius:16px;background:#fff}.customers-table-wrap{overflow:auto}.customers-table{width:100%;min-width:1380px;border-collapse:collapse;font-size:12px}.customers-table th,.customers-table td{padding:12px 14px;border-bottom:1px solid #eef2f6;text-align:left;vertical-align:top}.customers-table th{color:#7a8497;font-size:11px;background:#f8f9fb;white-space:nowrap}.customers-table tbody tr:hover td{background:#fbfcff}.customer-main-cell{display:grid;gap:3px}.customer-main-cell strong{color:#172033}.customer-main-cell small{color:#7a8497}.customer-type-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:700}.customer-type-badge.type-retail{background:#eef2f8;color:#445066}.customer-type-badge.type-wholesale{background:#e8f1ff;color:#2f5fcc}.customer-type-badge.type-vip{background:#fff4d8;color:#986c00}.customer-type-badge.type-b2b{background:#efe7ff;color:#6840b8}.customer-tags-inline{display:flex;flex-wrap:wrap;gap:6px}.customer-tag-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#f1f4f8;color:#51607b;font-size:11px;font-weight:600}.modal-customer-detail{width:min(100%,960px);max-width:960px}.modal-customer-import{width:min(100%,920px);max-width:920px}.modal-cashback-group{width:min(100%,560px);max-width:560px}.modal-cashback-history{width:min(100%,720px);max-width:720px}.customer-detail-body,.customer-import-body{display:grid;gap:16px;padding:18px 22px 22px}.customer-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.customer-detail-head>div{display:grid;gap:4px}.customer-detail-head strong{font-size:18px;color:#172033}.customer-detail-head span{color:#6b7588}.customer-tabs{display:flex;gap:8px;border-bottom:1px solid #edf1f6;padding-bottom:10px}.customer-tabs button{min-height:34px;padding:0 12px;border:1px solid #dbe2ec;border-radius:999px;background:#fff;color:#51607b}.customer-tabs button.active{border-color:#3166dc;color:#3166dc;background:#eef4ff}.customer-tab-panel{display:grid;gap:14px}.customer-detail-grid,.customer-import-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-bonus-history{display:grid;gap:10px;margin:0;padding:0;list-style:none}.customer-bonus-history li{display:grid;gap:4px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.customer-import-picker{display:flex;gap:10px;align-items:center}.customer-import-steps{display:flex;gap:8px;flex-wrap:wrap}.customer-import-steps span{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid #dbe2ec;border-radius:999px;color:#6f7b90;font-size:12px;font-weight:600}.customer-import-steps span.active{border-color:#3166dc;background:#eef4ff;color:#3166dc}.customer-import-steps span.done{border-color:#b9e4c8;background:#eefaf2;color:#1f7a43}.customer-import-dropzone{display:grid;gap:8px;justify-items:center;padding:28px 20px;text-align:center;border:1.5px dashed #c8d2e0;border-radius:18px;background:#f9fbfe;color:#6f7b90;cursor:pointer;transition:border-color .15s ease,background .15s ease}.customer-import-dropzone:hover,.customer-import-dropzone.drag-over{border-color:#3166dc;background:#f3f7ff}.customer-import-dropzone.has-file{justify-items:stretch;padding:14px}.customer-import-dropzone strong{color:#172033;font-size:14px}.customer-import-dropzone span{font-size:12px}.customer-import-file-input{display:none}.customer-import-file-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dbe2ec;border-radius:14px;background:#fff}.customer-import-file-card svg{color:#2f5fcc;flex-shrink:0}.customer-import-file-card div{display:grid;gap:2px;flex:1;min-width:0;text-align:left}.customer-import-file-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-import-actions-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-import-preview-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-import-preview-head strong{color:#172033;font-size:15px}.customer-import-preview-head span{color:#7a8497;font-size:12px}.customer-import-type-row{display:flex;flex-wrap:wrap;gap:8px}.customer-import-details{padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.customer-import-details.danger{border-color:#f2d4d4;background:#fff8f8}.customer-import-details summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:#172033;font-size:13px;font-weight:600}.customer-import-details ul{margin:10px 0 0;padding-left:18px;color:#455168;font-size:12px}.customer-import-ack{margin-top:4px}.customer-import-success{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #b9e4c8;border-radius:16px;background:#eefaf2;color:#1f7a43}.customer-import-success strong{display:block;color:#145c31;font-size:15px}.customer-import-success p{margin:4px 0 0;color:#2d6a45;font-size:13px}.customer-import-history-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.customer-import-history-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e6ebf2;border-radius:12px;background:#fff}.customer-import-history-list strong{display:block;color:#172033;font-size:13px}.customer-import-history-list span{color:#7a8497;font-size:11px}.customer-import-status{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase}.customer-import-status.status-completed{background:#eefaf2;color:#1f7a43}.customer-import-status.status-failed{background:#fff1f1;color:#b42318}.customer-import-status.status-processing{background:#eef4ff;color:#3166dc}.customer-import-status.status-previewed{background:#f4f6fa;color:#6f7b90}.customer-import-history-empty{color:#7a8497;font-size:13px}.customer-import-list-block{display:grid;gap:8px;padding:14px 16px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.customer-import-list-block h3,.customer-import-history h3{margin:0;font-size:14px;color:#172033}.customer-import-list-block ul,.customer-import-history ul{margin:0;padding-left:18px;color:#455168}.customer-import-history{display:grid;gap:8px}.cashback-page{display:grid;gap:18px}.cashback-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cashback-page-header h1{margin:0 0 4px;font-size:28px;color:#172033}.cashback-page-header p{margin:0;color:#6f7b90}.cashback-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cashback-stat-card{display:grid;gap:6px;padding:16px 18px;border:1px solid #e6ebf2;border-radius:16px;background:#fff}.cashback-stat-card span{color:#6f7b90;font-size:12px}.cashback-stat-card strong{color:#172033;font-size:24px}.cashback-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.cashback-group-card{display:grid;gap:14px;padding:18px;border:1px solid #e6ebf2;border-radius:20px;background:#fff;min-width:0}.cashback-group-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cashback-group-card-head h2{margin:0 0 6px;font-size:18px;color:#172033}.cashback-status{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:700}.cashback-status.active{background:#eefaf2;color:#1f7a43}.cashback-status.inactive{background:#f4f6fa;color:#6f7b90}.cashback-group-menu-wrap{position:relative}.cashback-group-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:5;display:grid;min-width:180px;padding:6px;border:1px solid #e6ebf2;border-radius:14px;background:#fff;box-shadow:0 12px 30px #1720331f}.cashback-group-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#172033;font-size:13px;text-align:left;cursor:pointer}.cashback-group-menu button:hover{background:#f4f7fb}.cashback-group-percent{display:flex;align-items:center;gap:10px;color:#2f5fcc}.cashback-group-percent strong{font-size:34px;line-height:1;color:#172033}.cashback-type-badges{display:flex;flex-wrap:wrap;gap:8px}.cashback-type-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eef4ff;color:#3166dc;font-size:12px;font-weight:600}.cashback-group-description{margin:0;color:#6f7b90;font-size:13px;line-height:1.5}.cashback-group-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7a8497;font-size:12px}.cashback-form-body{display:grid;gap:18px;padding-top:4px}.cashback-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:14px;align-items:end}.cashback-form-section{display:grid;gap:10px}.cashback-form-section-label{color:#44516a;font-size:13px;font-weight:700}.cashback-percent-field{display:flex;align-items:stretch;min-height:44px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}.cashback-percent-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2457d61f}.cashback-percent-field input{width:100%;min-width:0;padding:9px 12px;border:0;outline:0;background:transparent;color:var(--text);font-size:15px;font-weight:600}.cashback-percent-field input::-webkit-outer-spin-button,.cashback-percent-field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cashback-percent-field input[type=number]{-moz-appearance:textfield;appearance:textfield}.cashback-percent-field span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;border-left:1px solid #e6ebf2;background:#f7f9fc;color:#6f7b90;font-weight:700}.cashback-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cashback-type-option{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1.5px solid #e3e8f0;border-radius:14px;background:#fafbfd;color:#455168;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.cashback-type-option:hover{border-color:#c7d4ee;background:#f5f8ff}.cashback-type-option.selected{border-color:#3166dc;background:#eef4ff;color:#2457d6;box-shadow:inset 0 0 0 1px #3166dc14}.cashback-status-switch{margin:0;padding:14px 16px;border:1px solid #e6ebf2;border-radius:16px;background:#fafbfd}.cashback-status-switch>span strong{color:#172033;font-size:14px}.cashback-form-body .field textarea{width:100%;min-height:92px;padding:11px 12px;resize:vertical;border:1px solid var(--border);border-radius:12px;color:var(--text);background:#fff}.cashback-form-body .field textarea:focus{border-color:var(--primary);outline:3px solid rgba(36,87,214,.12)}.cashback-form-footer{gap:12px}.cashback-history-body{padding:0 20px 8px;max-height:420px;overflow:auto}.cashback-history-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.cashback-history-list li{display:grid;gap:8px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.cashback-history-list li div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.cashback-history-list strong{color:#172033;font-size:14px}.cashback-history-list span{color:#7a8497;font-size:12px}.cashback-history-list pre{margin:0;padding:10px 12px;border-radius:10px;background:#f7f9fc;color:#455168;font-size:12px;white-space:pre-wrap}.cashback-history-empty{color:#7a8497}.modal-seller-bonus-group{width:min(100%,820px);max-width:820px}.seller-bonus-page{display:grid;gap:18px}.seller-bonus-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.seller-bonus-page-header h1{margin:0 0 4px;font-size:28px;color:#172033}.seller-bonus-page-header p{margin:0;color:#6f7b90}.seller-bonus-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.seller-bonus-stat-card{display:grid;gap:6px;padding:16px 18px;border:1px solid #e6ebf2;border-radius:16px;background:#fff}.seller-bonus-stat-card span{color:#6f7b90;font-size:12px}.seller-bonus-stat-card strong{color:#172033;font-size:24px}.seller-bonus-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.seller-bonus-group-card{display:grid;gap:14px;padding:18px;border:1px solid #e6ebf2;border-radius:20px;background:#fff;min-width:0}.seller-bonus-group-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.seller-bonus-group-card-head h2{margin:0 0 6px;font-size:18px;color:#172033}.seller-bonus-status{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:700}.seller-bonus-status.active{background:#eefaf2;color:#1f7a43}.seller-bonus-status.inactive{background:#f4f6fa;color:#6f7b90}.seller-bonus-group-menu-wrap{position:relative}.seller-bonus-group-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:5;display:grid;min-width:180px;padding:6px;border:1px solid #e6ebf2;border-radius:14px;background:#fff;box-shadow:0 12px 30px #1720331f}.seller-bonus-group-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#172033;font-size:13px;text-align:left;cursor:pointer}.seller-bonus-group-menu button:hover{background:#f4f7fb}.seller-bonus-group-percent{display:flex;align-items:center;gap:10px;color:#2f5fcc}.seller-bonus-group-percent strong{font-size:34px;line-height:1;color:#172033}.seller-bonus-sellers-summary{display:grid;gap:8px}.seller-bonus-sellers-summary>span{color:#6f7b90;font-size:12px;font-weight:600}.seller-bonus-seller-badges{display:flex;flex-wrap:wrap;gap:8px}.seller-bonus-seller-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eef4ff;color:#3166dc;font-size:12px;font-weight:600}.seller-bonus-seller-badge.more{background:#f4f6fa;color:#6f7b90}.seller-bonus-group-description{margin:0;color:#6f7b90;font-size:13px;line-height:1.5}.seller-bonus-group-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7a8497;font-size:12px}.seller-bonus-unassigned{display:grid;gap:12px;padding:18px;border:1px solid #e6ebf2;border-radius:18px;background:#fff}.seller-bonus-unassigned-head h2{margin:0 0 4px;font-size:18px;color:#172033}.seller-bonus-unassigned-head p{margin:0;color:#6f7b90;font-size:13px}.seller-bonus-unassigned-list{display:grid;gap:8px}.seller-bonus-unassigned-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #edf1f7;border-radius:12px;background:#fafbfd}.seller-bonus-unassigned-item strong{color:#172033;font-size:14px}.seller-bonus-unassigned-item span{color:#6f7b90;font-size:12px}.seller-bonus-zero{color:#9aa3b5;font-size:13px;font-weight:700}.seller-bonus-form-body{display:grid;gap:18px;padding-top:4px}.seller-bonus-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:14px;align-items:end}.seller-bonus-form-section{display:grid;gap:10px}.seller-bonus-form-section-head{display:grid;gap:2px}.seller-bonus-form-section-head span{color:#44516a;font-size:13px;font-weight:700}.seller-bonus-form-section-head small{color:#7a8497;font-size:12px}.seller-bonus-percent-field{display:flex;align-items:stretch;min-height:44px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}.seller-bonus-percent-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2457d61f}.seller-bonus-percent-field input{width:100%;min-width:0;padding:9px 12px;border:0;outline:0;background:transparent;color:var(--text);font-size:15px;font-weight:600}.seller-bonus-percent-field span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;border-left:1px solid #e6ebf2;background:#f7f9fc;color:#6f7b90;font-weight:700}.seller-bonus-selected{display:flex;flex-wrap:wrap;gap:8px}.seller-bonus-selected-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:999px;background:#eef4ff;color:#2457d6;font-size:12px;font-weight:600}.seller-bonus-selected-chip button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer}.seller-bonus-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:#fff}.seller-bonus-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.seller-bonus-seller-list{display:grid;gap:8px;max-height:240px;overflow:auto;padding-right:2px}.seller-bonus-seller-option{display:grid;gap:2px;padding:10px 12px;border:1.5px solid #e3e8f0;border-radius:14px;background:#fafbfd;cursor:pointer;transition:border-color .15s ease,background .15s ease}.seller-bonus-seller-option:hover{border-color:#c7d4ee;background:#f5f8ff}.seller-bonus-seller-option.selected{border-color:#3166dc;background:#eef4ff}.seller-bonus-seller-option strong{color:#172033;font-size:14px}.seller-bonus-seller-option span{color:#6f7b90;font-size:12px}.seller-bonus-seller-empty{margin:0;color:#7a8497;font-size:13px}.seller-bonus-status-switch{margin:0;padding:14px 16px;border:1px solid #e6ebf2;border-radius:16px;background:#fafbfd}.seller-bonus-conflict{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.seller-bonus-form-body .field textarea{width:100%;min-height:92px;padding:11px 12px;resize:vertical;border:1px solid var(--border);border-radius:12px;color:var(--text);background:#fff}.seller-bonus-history-body{padding:0 20px 8px;max-height:420px;overflow:auto}.seller-bonus-history-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.seller-bonus-history-list li{display:grid;gap:8px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.seller-bonus-history-list li div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.seller-bonus-history-empty{color:#7a8497}.employee-seller-scan-block{display:grid;gap:12px;padding:16px;border:1px solid #e6ebf2;border-radius:16px;background:#fff}.employee-seller-scan-head h3{margin:0;font-size:16px;color:#172033}.employee-seller-scan-body{display:grid;gap:14px}.employee-seller-scan-visual{display:flex;justify-content:center;padding:16px;border:1px dashed #d7deea;border-radius:14px;background:#fff}.employee-seller-scan-code{display:block;font-size:16px;letter-spacing:.08em;margin-bottom:10px}.employee-seller-scan-buttons{display:flex;flex-wrap:wrap;gap:8px}.employee-seller-bonus-block{display:grid;gap:12px;padding:16px;border:1px solid #e6ebf2;border-radius:16px;background:#fafbfd}.employee-seller-bonus-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.employee-seller-bonus-head h3{margin:0;font-size:16px;color:#172033}.employee-seller-bonus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.employees-page{display:grid;gap:18px}.employees-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.employees-page-header h1{margin:0 0 4px;font-size:28px;color:#172033}.employees-page-header p{margin:0;color:#6f7b90}.employee-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.employee-stat-card{display:grid;gap:6px;padding:16px 18px;border:1px solid #e6ebf2;border-radius:16px;background:#fff}.employee-stat-card span{color:#6f7b90;font-size:12px}.employee-stat-card strong{color:#172033;font-size:24px}.employees-toolbar{display:grid;grid-template-columns:minmax(0,1.4fr) 180px 180px auto;gap:10px;align-items:center}.employees-table-wrap{overflow:auto;border:1px solid #e6ebf2;border-radius:18px;background:#fff}.employees-table{width:100%;border-collapse:collapse;min-width:980px}.employees-table th,.employees-table td{padding:14px 16px;border-bottom:1px solid #edf0f5;text-align:left;vertical-align:middle}.employees-table th{color:#6f7b90;font-size:12px;font-weight:700;background:#fafbfd}.employees-table td strong{display:block;color:#172033}.employees-table td span{color:#7a8497;font-size:12px}.employee-role-badges{display:flex;flex-wrap:wrap;gap:6px}.employee-role-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#eef4ff;color:#3166dc;font-size:12px;font-weight:600}.employee-status{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.employee-status.active{background:#eefaf2;color:#1f7a43}.employee-status.inactive{background:#f4f6fa;color:#6f7b90}.modal-employee-form{width:min(100%,1440px);max-width:1440px}.modal-employee-form .modal-header{padding:22px 28px}.modal-employee-form .modal-header h2{font-size:24px}.employee-form-body{display:grid;gap:26px;padding:24px 28px 18px}.employee-form-section{display:grid;gap:16px;padding:0;border:0;border-radius:0;background:transparent}.employee-form-section+.employee-form-section{padding-top:22px;border-top:1px solid #edf1f6}.employee-form-section-head.simple{display:grid;gap:4px}.employee-form-section h3{margin:0;color:#172033;font-size:15px}.employee-form-section p{margin:0;color:#6f7b90;font-size:12px;line-height:1.45}.employee-form-grid{display:grid;gap:18px 20px}.employee-access-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr);grid-template-areas:"phone email email" "username password password"}.employee-access-grid.editing{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"phone email"}.employee-personal-grid{grid-template-columns:minmax(220px,.9fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"gender firstName lastName middleName" "birthDate birthDate . ."}.employee-meta-grid{grid-template-columns:minmax(280px,.9fr) minmax(360px,1.15fr) minmax(260px,.9fr);grid-template-areas:"shop roles status" "note note note";align-items:start}.employee-field-phone{grid-area:phone}.employee-field-email{grid-area:email}.employee-field-username{grid-area:username}.employee-field-password{grid-area:password}.employee-field-first-name{grid-area:firstName}.employee-field-last-name{grid-area:lastName}.employee-field-middle-name{grid-area:middleName}.employee-field-birth-date{grid-area:birthDate;max-width:240px}.employee-field-shop{grid-area:shop}.employee-field-roles{grid-area:roles}.employee-field-status{grid-area:status}.employee-field-note{grid-area:note}.employee-gender-field{grid-area:gender}.employee-segmented-control{display:inline-flex;flex-wrap:wrap;gap:8px;padding:4px;border:1px solid #dce4ef;border-radius:12px;background:#f7f9fc}.employee-segment{min-height:40px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:#5f6d82;font-size:13px;font-weight:600;cursor:pointer}.employee-segment.active{background:#fff;color:#2457d6;box-shadow:0 1px 2px #17203314,0 0 0 1px #3166dc24}.employee-role-options{display:flex;flex-wrap:wrap;gap:10px}.employee-role-options.light{padding-top:2px}.employee-role-option{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:140px;padding:0 16px;border:1px solid #d8e1ed;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.employee-role-option:hover{border-color:#b9c9e3;background:#fbfcff}.employee-role-option-title{color:#172033;font-size:14px;font-weight:700}.employee-role-option small{display:none}.employee-role-option.selected{border-color:#3166dc;background:#f3f7ff;box-shadow:inset 0 0 0 1px #3166dc1f}.employee-role-option.selected .employee-role-option-title{color:#2457d6}.employee-status-switch{margin:30px 0 0;padding:12px 0;border:0;border-radius:0;background:transparent;border-bottom:1px solid #edf1f6}.employee-status-switch>span{gap:3px}.employee-status-switch strong{color:#172033;font-size:13px}.employee-status-switch small{color:#7a8497;font-size:11px;line-height:1.4}.employee-note-field textarea{min-height:110px;resize:vertical;width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:#fff}.employee-note-field textarea:focus{border-color:var(--primary);outline:3px solid rgba(36,87,214,.12)}.employee-form-footer{position:sticky;bottom:0;justify-content:flex-end;gap:12px;padding:18px 28px 22px;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.employee-form-footer .button{min-width:170px}.employee-detail-body{display:grid;gap:16px}.employee-detail-head{display:flex;align-items:center;gap:14px}.employee-detail-avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#eef4ff;color:#3166dc}.employee-detail-head h3{margin:0 0 6px}.employee-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-info-card{display:grid;gap:4px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.employee-info-card span{color:#6f7b90;font-size:12px}.employee-info-card strong{color:#172033;font-size:14px}.employee-detail-footer{flex-wrap:wrap}.employee-history-body{max-height:420px;overflow:auto}.employee-history-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.employee-history-list li{display:grid;gap:6px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:14px;background:#fff}.employee-history-list li div{display:flex;justify-content:space-between;gap:12px}.employee-history-empty{color:#7a8497}@media(max-width:1100px){.customer-stats-grid,.customer-detail-grid,.customer-import-summary-grid,.cashback-stats-grid,.employee-stats-grid,.employee-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-toolbar{grid-template-columns:1fr 1fr}.employee-access-grid,.employee-access-grid.editing,.employee-personal-grid,.employee-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:none}.employee-field-birth-date{max-width:none}}@media(max-width:760px){.customers-page-header,.customers-toolbar,.customer-detail-head{grid-template-columns:1fr;display:grid}.customers-header-actions{justify-content:stretch}.customers-header-actions .button{flex:1}.customer-stats-grid,.customer-detail-grid,.customer-import-summary-grid,.cashback-stats-grid,.cashback-groups-grid{grid-template-columns:1fr}.cashback-page-header{display:grid}.cashback-form-grid,.cashback-type-options{grid-template-columns:1fr}.employees-page-header,.employees-toolbar{display:grid;grid-template-columns:1fr}.employee-stats-grid,.employee-detail-grid{grid-template-columns:1fr}.modal-employee-form{width:min(100%,100vw);max-width:100vw}.modal-employee-form .modal-header,.employee-form-body,.employee-form-footer{padding-left:18px;padding-right:18px}.employee-access-grid,.employee-access-grid.editing,.employee-personal-grid,.employee-meta-grid{grid-template-columns:1fr;grid-template-areas:none;gap:14px}.employee-role-options{display:grid;grid-template-columns:1fr 1fr}.employee-form-footer .button{min-width:0}.customer-import-picker,.customer-import-actions-row{align-items:stretch;flex-direction:column}}.stock-barcode{color:#26334a;font-size:10px}.stock-quantity{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.stock-quantity i{width:6px;height:6px;border-radius:50%}.stock-quantity i.positive{background:#12b76a}.stock-quantity i.zero{background:#f15b64}.stock-quantity.muted{color:#727d90}.stock-quantity.muted i{background:#aab2bf}.stock-available{display:flex;min-width:0;flex-direction:column;gap:5px}.stock-available strong{color:#196e4a;font-size:12px;line-height:1.2;white-space:nowrap}.stock-available-parts{display:flex;flex-wrap:wrap;gap:4px}.stock-available-parts span{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;color:#5f6b7e;background:#eef2f7;font-size:9px;font-weight:600;line-height:1.2;white-space:nowrap}.spin-icon{animation:spin .8s linear infinite}@media(max-width:1250px){.stats-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.run-metrics{grid-template-columns:repeat(4,minmax(100px,1fr))}.filter-panel{grid-template-columns:repeat(3,minmax(140px,1fr))}.filter-search{grid-column:span 2}.order-admin-item{grid-template-columns:70px minmax(200px,1fr) auto}.product-image{width:70px;height:70px}.allocation-list{grid-column:2 / -1}.uzum-order-row{grid-template-columns:125px minmax(230px,1.4fr) minmax(150px,.8fr) minmax(150px,1fr) 38px}.uzum-order-shop{display:none}}@media(max-width:1020px){.sidebar{width:246px}.content-shell{margin-left:246px}.main-content{padding-inline:24px}.dashboard-columns,.settings-layout{grid-template-columns:1fr}.settings-panel:first-child{grid-row:auto}.detail-summary-grid,.inline-details,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.sidebar{width:min(88vw,292px);transform:translate(-105%);transition:transform .2s ease;box-shadow:20px 0 50px #141f3533}.sidebar-open{transform:translate(0)}.sidebar-close{display:inline-grid}.sidebar-scrim{position:fixed;inset:0;z-index:40;background:#1018286b;cursor:pointer}.content-shell{margin-left:0}.mobile-header{position:sticky;top:0;z-index:30;display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid #e5e9f0;background:#fffffff0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-header>div{display:flex;align-items:center;gap:8px}.mobile-mode{padding:3px 6px;border-radius:6px;font-size:8px;font-weight:800;letter-spacing:.05em}.mobile-mode.dry{color:var(--warning);background:var(--warning-soft)}.mobile-mode.production{color:var(--danger);background:var(--danger-soft)}.main-content{padding:24px 18px 44px}.mode-hero,.mode-control{grid-template-columns:1fr;flex-direction:column;align-items:flex-start}.mode-state{align-items:flex-start}.mode-control .button{width:100%}.order-admin-item{grid-template-columns:70px minmax(0,1fr)}.item-quantities,.allocation-list{grid-column:1 / -1}.filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.uzum-orders-page{min-height:auto}.uzum-orders-board,.uzum-orders-empty{min-height:430px}.uzum-order-row{grid-template-columns:105px minmax(200px,1fr) 34px;gap:12px}.uzum-order-deadline,.uzum-order-place{display:none}.stock-catalog-page{min-height:auto}.stock-catalog-toolbar{flex-wrap:wrap}.stock-catalog-search{min-width:100%;max-width:none}.stock-visible-summary{margin-left:0}.stock-refresh{margin-left:auto}.stock-catalog-scroll{max-height:none}.stock-threshold-grid{grid-template-columns:1fr}}@media(max-width:600px){.main-content{padding-inline:14px}.page-stack{gap:17px}.page-header{flex-direction:column;gap:14px}.page-actions,.page-actions .button{width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:14px}.dashboard-columns{gap:13px}.panel{padding:17px;border-radius:17px}.mode-hero{padding:20px}.run-summary{grid-template-columns:minmax(0,1fr) auto}.run-summary time{grid-column:1 / -1}.connection-card{padding:16px}.connection-main{align-items:flex-start}.card-actions{justify-content:stretch}.card-actions .button{flex:1 1 100%}.toolbar{align-items:stretch}.toolbar .search-field,.toolbar .toolbar-select,.toolbar .button{width:100%}.toolbar .search-field{min-width:0}.pagination{align-items:flex-start}.settings-grid,.action-grid,.filter-panel,.detail-summary-grid,.inline-details{grid-template-columns:1fr}.filter-search{grid-column:auto}.filter-actions,.filter-actions .button{width:100%}.mode-control{display:flex}.modal-backdrop{align-items:end;padding:0}.modal{max-height:92vh;border-radius:21px 21px 0 0}.modal-footer{position:sticky;bottom:0}.modal-footer .button{flex:1}.backfill-preview-grid{grid-template-columns:1fr}.backfill-preview-label span{width:100%;margin-left:28px}.order-detail-header{flex-direction:column;padding:19px}.order-detail-header h1{font-size:23px}.order-admin-item{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:14px}.product-image{width:58px;height:58px}.item-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.run-card{padding:15px}.run-card-head{flex-direction:column}.sync-diagnostic-grid{grid-template-columns:1fr}.run-time{align-items:flex-start}.run-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-diff{grid-template-columns:1fr}.uzum-order-row{grid-template-columns:92px minmax(0,1fr) 30px;padding:11px}.uzum-order-image{width:42px;height:42px;flex-basis:42px}.uzum-order-product strong{white-space:normal}.stock-catalog-top{align-items:flex-start}.stock-catalog-top h1{font-size:23px}.stock-catalog-total{min-width:auto}.stock-visible-summary{width:100%}.stock-refresh{width:100%;justify-content:center}.stock-catalog-shell{min-height:430px}}@media(max-width:390px){.stats-grid{grid-template-columns:1fr}.login-page{padding:12px}.login-panel{padding:27px 21px}.current-user{max-width:210px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
