:root{--auth-blue:#5366f6;--auth-ink:#171c2b;--auth-muted:#8b96aa;--auth-line:#e3e8f2}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,42%) minmax(480px,58%);color:var(--auth-ink);background:#f6f8fc}.auth-story{min-height:100vh;padding:44px clamp(36px,5vw,82px);color:#fff;background:radial-gradient(circle at 15% 15%,rgba(130,148,255,.45),transparent 32%),linear-gradient(145deg,#24399d,#5366f6 55%,#6a79ff);display:flex;flex-direction:column;justify-content:space-between}.auth-brand{color:inherit;display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:20px}.auth-brand>span,.auth-loading>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--auth-blue);font-weight:900;box-shadow:0 12px 28px #0f1a6033}.auth-story>div{max-width:560px}.auth-eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.auth-story h1{margin:0;font-size:clamp(36px,4.5vw,64px);line-height:1.03;letter-spacing:-.045em}.auth-story p{max-width:530px;margin:22px 0 0;color:#ffffffc2;font-size:17px;line-height:1.55}.auth-story ul{margin:0;padding:0;display:grid;gap:14px;list-style:none;font-size:14px;font-weight:650}.auth-story li{display:flex;align-items:center;gap:9px}.auth-story>small{color:#fff9}.auth-form-side{padding:42px;display:grid;place-items:center}.auth-card{width:min(100%,500px);padding:36px;border:1px solid var(--auth-line);border-radius:20px;background:#fff;box-shadow:0 24px 70px #24335e1a;display:grid;gap:18px}.auth-card header{display:flex;align-items:center;gap:14px;margin-bottom:4px}.auth-card-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:var(--auth-blue);background:#eef0ff}.auth-card h2{margin:0 0 5px;font-size:25px;letter-spacing:-.025em}.auth-card p{margin:0;color:var(--auth-muted);font-size:13px}.auth-card label{display:grid;gap:7px}.auth-card label>span{font-size:12px;font-weight:750;color:#4c5870}.auth-card input{width:100%;height:46px;padding:0 14px;border:1px solid var(--auth-line);border-radius:10px;background:#fbfcfe;color:var(--auth-ink);font:inherit;outline:0}.auth-card input:focus{border-color:var(--auth-blue);box-shadow:0 0 0 3px #5366f61c}.auth-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-submit{height:48px;border:0;border-radius:10px;color:#fff;background:var(--auth-blue);display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:800;box-shadow:0 10px 24px #5366f63d}.auth-submit:disabled{opacity:.6}.auth-error{min-height:40px;padding:9px 11px;border:1px solid #f3c5ce;border-radius:9px;color:#bd344e;background:#fff3f5;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.auth-secure{padding:10px;border-radius:9px;color:#647088;background:#f6f8fc;display:flex;gap:8px;font-size:10.5px;line-height:1.45}.auth-card footer{padding-top:4px;display:flex;justify-content:center;gap:5px;color:var(--auth-muted);font-size:12px}.auth-card footer a{color:var(--auth-blue);font-weight:750;text-decoration:none}.auth-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;background:#f6f8fc;color:var(--auth-ink)}.auth-loading>span{color:#fff;background:var(--auth-blue)}.auth-loading strong{font-size:20px}.auth-loading small{color:var(--auth-muted)}.plans-page{height:100dvh;min-height:100vh;padding-bottom:32px;overflow-y:auto;color:var(--auth-ink);background:radial-gradient(circle at 50% 20%,#fff 0,transparent 32%),#f7f9fd}.plans-nav{position:sticky;top:0;z-index:5;height:64px;padding:0 clamp(24px,5vw,78px);border-bottom:1px solid var(--auth-line);background:#fffffff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:space-between}.plans-nav .auth-brand{color:var(--auth-ink);font-size:17px}.plans-nav .auth-brand>span{color:#fff;background:var(--auth-blue)}.plans-nav nav{display:flex;align-items:center;gap:8px}.plans-nav a,.plans-nav button{min-height:38px;padding:0 14px;border:0;border-radius:9px;color:#59657b;background:transparent;display:inline-flex;align-items:center;text-decoration:none;font-size:12.5px;font-weight:750}.plans-nav .plans-nav-primary{color:#fff;background:var(--auth-blue);box-shadow:0 8px 20px #5366f633}.plans-hero{max-width:900px;margin:0 auto;padding:38px 24px 28px;text-align:center}.plans-hero>span{color:var(--auth-blue);font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.plans-hero h1{margin:10px auto 12px;max-width:820px;font-size:clamp(34px,4vw,48px);line-height:1.03;letter-spacing:-.045em}.plans-hero>p{margin:0 auto;max-width:680px;color:var(--auth-muted);font-size:15px;line-height:1.5}.plans-onboarding{margin:18px auto 0;padding:12px 15px;max-width:590px;border:1px solid #bfe8ce;border-radius:11px;color:#26804c;background:#edf9f1;display:flex;gap:10px;text-align:left}.plans-onboarding div{display:grid;gap:2px}.plans-onboarding strong{font-size:12.5px}.plans-onboarding span{font-size:11px}.plans-grid{max-width:1280px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}.plans-grid article{position:relative;min-height:350px;padding:22px;border:1px solid var(--auth-line);border-radius:18px;background:#fff;box-shadow:0 12px 38px #25355d12;display:flex;flex-direction:column}.plans-grid article.featured{border:2px solid var(--auth-blue);transform:translateY(-5px);box-shadow:0 20px 48px #5366f626}.plans-grid article>em{position:absolute;top:-13px;left:18px;padding:5px 10px;border-radius:20px;color:#fff;background:var(--auth-blue);font-size:10px;font-style:normal;font-weight:800}.plan-icon{width:42px;height:42px;border-radius:12px;color:var(--auth-blue);background:#eef0ff;display:grid;place-items:center}.plans-grid h2{margin:16px 0 6px;font-size:21px}.plans-grid article>strong{font-size:18px}.plans-grid article>p{min-height:36px;margin:6px 0 13px;color:var(--auth-muted);font-size:12px;line-height:1.45}.plans-grid ul{margin:0;padding:0;display:grid;gap:9px;list-style:none}.plans-grid li{display:flex;gap:7px;color:#4d596f;font-size:11.5px;line-height:1.35}.plans-grid li svg{flex:0 0 auto;color:#2a9b5f}.plans-grid article>button{height:40px;margin-top:auto;border:1px solid var(--auth-line);border-radius:10px;color:#7c8799;background:#f6f8fc;font-size:11.5px;font-weight:750}.plans-footer{margin:26px auto 0;display:flex;justify-content:center;gap:6px;color:var(--auth-muted);font-size:11.5px}.plans-footer a{color:var(--auth-blue);font-weight:750}@media(max-width:960px){.auth-page{grid-template-columns:1fr}.auth-story{display:none}.auth-form-side{min-height:100vh;padding:24px}.plans-grid{grid-template-columns:repeat(2,1fr)}.plans-grid article.featured{transform:none}}@media(max-width:600px){.auth-card{padding:24px 18px}.auth-fields-row{grid-template-columns:1fr}.plans-nav{padding:0 16px}.plans-nav nav>a:first-child{display:none}.plans-grid{grid-template-columns:1fr}.plans-hero{padding-top:32px}}@media(max-height:850px)and (min-width:961px){.plans-hero{padding-top:24px;padding-bottom:20px}.plans-hero h1{font-size:40px}.plans-grid article{min-height:330px;padding:20px}.plans-footer{margin-top:20px}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#151923;background:#f5f7fb;font-synthesis:none;--bg: #f5f7fb;--surface: #ffffff;--surface-subtle: #f8f9fc;--surface-hover: #f4f7fc;--sidebar: #ffffff;--text: #161a24;--text-secondary: #596275;--text-muted: #929bad;--border: #e4e8ef;--border-strong: #d8dee9;--primary: #4f63ed;--primary-hover: #4355d9;--primary-soft: #edf0ff;--success: #23854d;--danger: #c43f55;--shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 26px rgba(45, 55, 85, .045)}:root[data-theme=dark]{color:#edf0f8;background:#10131a;--bg: #10131a;--surface: #171b24;--surface-subtle: #1b202a;--surface-hover: #202632;--sidebar: #141821;--text: #edf0f8;--text-secondary: #aeb7c7;--text-muted: #747f92;--border: #282f3b;--border-strong: #353d4b;--primary: #7181ff;--primary-hover: #8290ff;--primary-soft: #252b49;--success: #4fbd7a;--danger: #e16a7d;--shadow: 0 10px 28px rgba(0, 0, 0, .14)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;min-width:1180px;overflow:hidden}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{color:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(79,99,237,.35);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-columns:216px minmax(0,1fr) auto}.sidebar{position:sticky;top:0;height:100vh;padding:22px 14px 14px;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 22px}.brand-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--primary);color:#fff;box-shadow:0 7px 18px #4f63ed40}.brand>div:last-child{display:flex;flex-direction:column;gap:1px}.brand strong{font-size:16px;letter-spacing:-.35px}.brand span{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:var(--text-muted)}.nav-list{display:flex;flex-direction:column;gap:3px}.nav-list button,.nav-list .pos-nav-link{height:37px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:var(--text-secondary);display:flex;align-items:center;gap:11px;font-size:12px;font-weight:600;text-align:left;text-decoration:none}.nav-list button:hover,.nav-list .pos-nav-link:hover{background:var(--surface-hover);color:var(--text)}.nav-list button.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.nav-list button span,.nav-list .pos-nav-link span{flex:1}.nav-list button em,.nav-list .pos-nav-link em{min-width:21px;height:19px;padding:0 6px;border-radius:9px;background:var(--primary);color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center}.nav-list .pos-nav-link{margin-top:5px;color:#fff;background:linear-gradient(135deg,#5268f3,#4057df);box-shadow:0 7px 18px #4f63ed38}.nav-list .pos-nav-link:hover{color:#fff;background:linear-gradient(135deg,#6074f6,#465de7);transform:translateY(-1px)}.nav-list .pos-nav-link em{color:#4057df;background:#fff}.channel-card{margin-top:auto;border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:5px}.channel-kicker{color:var(--text-muted);text-transform:uppercase;letter-spacing:.75px;font-size:8px;font-weight:700}.channel-card>strong{font-size:11px}.channel-icons{display:flex;align-items:center;margin:4px 0}.channel-icons>span{width:25px;height:25px;margin-right:-3px;border:2px solid var(--surface-subtle);border-radius:50%;color:#fff;display:grid;place-items:center}.channel-icons i{flex:1;height:1px;background:var(--border);margin:0 7px 0 10px}.channel-blue{background:#3a78ef}.channel-green{background:#24ae69}.channel-purple{background:#7e62ea}.channel-violet{background:#8f5bda}.channel-card button{border:0;padding:5px 0 0;color:var(--primary);background:transparent;display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:600}.account-menu-root{margin-top:auto;position:relative}.user-card{width:100%;height:58px;margin:0;padding:8px 9px;border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;gap:9px;color:var(--text);background:var(--surface);text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.user-card>div:nth-child(2){flex:1;display:flex;flex-direction:column;gap:2px}.user-card strong{font-size:13px}.user-card span{font-size:11px;color:var(--text-muted)}.user-card:hover,.user-card.active{border-color:color-mix(in srgb,var(--primary) 38%,var(--border));background:var(--surface-hover);box-shadow:0 8px 24px #222d5614}.user-card>svg{color:var(--text-muted);transition:transform .15s ease}.user-card>svg.rotated{transform:rotate(180deg)}.account-popover{width:280px;padding:8px;position:absolute;z-index:180;left:0;bottom:calc(100% + 9px);border:1px solid var(--border-strong);border-radius:15px;background:var(--surface);box-shadow:0 22px 58px #161e3233;animation:fade-in .14s ease}.account-popover header{min-height:72px;margin:-1px -1px 7px;padding:12px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:11px}.account-popover header>span{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;color:var(--primary);background:linear-gradient(145deg,var(--primary-soft),color-mix(in srgb,var(--primary-soft) 56%,var(--surface)))}.account-popover header>span svg{width:20px;height:20px}.account-popover header>div{min-width:0;display:flex;flex-direction:column;gap:2px}.account-popover header strong{color:var(--text);font-size:14px}.account-popover header small{overflow:hidden;color:var(--text-muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.account-popover>button,.account-popover>a{width:100%;min-height:45px;padding:0 12px;border:0;border-radius:10px;display:flex;align-items:center;gap:10px;color:var(--text-secondary);background:transparent;font-size:13px;font-weight:680;text-align:left;text-decoration:none;transition:color .15s ease,background .15s ease}.account-popover>button svg,.account-popover>a svg{width:19px;height:19px}.account-popover>button:hover,.account-popover>a:hover{color:var(--primary);background:var(--surface-hover)}.account-popover>.danger{min-height:49px;margin-top:7px;padding-top:4px;border-top:1px solid var(--border);border-radius:0 0 10px 10px;color:var(--danger)}.account-profile-backdrop{z-index:1200;isolation:isolate;padding:20px}.modal.account-profile-modal{width:min(880px,calc(100vw - 40px));max-width:none;max-height:calc(100vh - 40px);padding:0;gap:0;overflow:hidden;border-radius:20px;box-shadow:0 28px 80px #131c3340}.account-profile-modal>.modal-head{min-height:100px;padding:20px 26px;border-bottom:1px solid var(--border);background:linear-gradient(115deg,color-mix(in srgb,var(--primary-soft) 27%,var(--surface)),var(--surface) 68%)}.account-profile-modal>.modal-head .eyebrow{font-size:10px;letter-spacing:.08em}.account-profile-modal>.modal-head h2{margin-top:4px;font-size:26px;letter-spacing:-.025em}.account-profile-modal>.modal-head p{max-width:560px;margin-top:5px;font-size:12.5px;line-height:1.4}.account-profile-modal>.modal-head .icon-btn{width:40px;height:40px;border-radius:11px}.account-profile-modal>.modal-actions{min-height:62px;margin:0;padding:10px 26px;border-top:1px solid var(--border);background:var(--surface-subtle)}.account-profile-modal>.modal-actions .btn{min-height:40px;padding:0 16px;font-size:12px}.account-profile-modal>.modal-actions .danger-text{margin-right:auto}.account-profile-scroll{min-height:0;padding:18px 26px 20px;overflow-y:auto;display:grid;grid-template-columns:1fr;align-items:start;gap:14px}.account-profile-scroll>.account-workspace-card,.account-profile-scroll>.auth-error{grid-column:1 / -1}.account-workspace-card{min-height:78px;padding:13px 17px;border:1px solid color-mix(in srgb,var(--primary) 32%,var(--border));border-radius:14px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;background:linear-gradient(120deg,color-mix(in srgb,var(--primary-soft) 48%,var(--surface)),var(--surface));box-shadow:inset 3px 0 var(--primary)}.account-workspace-card>span{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;color:#b47b0b;background:#f1b73424}.account-workspace-card>div{display:flex;flex-direction:column;gap:2px}.account-workspace-card small,.account-workspace-card em{color:var(--text-muted);font-size:11px;font-style:normal}.account-workspace-card strong{color:var(--text);font-size:16px}.account-workspace-status{flex-direction:row!important;align-items:center;gap:12px!important}.account-workspace-status b,.account-workspace-status i{min-height:30px;padding:0 13px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--border));border-radius:999px;display:inline-flex;align-items:center;gap:6px;color:var(--primary);background:var(--surface);font-size:10.5px;font-style:normal;font-weight:750}.account-workspace-status i{border-color:#22aa5e2e;color:#169451;background:#22aa5e14}.account-workspace-status i:before{width:6px;height:6px;border-radius:50%;background:#18bd62;content:""}.account-profile-scroll>form{min-width:0;min-height:0;padding:17px 18px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface-subtle) 76%,var(--surface))}.account-profile-scroll>form header{margin-bottom:13px;display:flex;align-items:center;gap:10px}.account-profile-scroll>form header>span{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.account-profile-scroll>form h3{margin:0;font-size:15px}.account-profile-scroll>form p{margin:2px 0 0;color:var(--text-muted);font-size:11px;line-height:1.35}.account-profile-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-profile-grid.one{grid-template-columns:1fr}.account-profile-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.account-password-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-profile-grid label{min-width:0;display:flex;flex-direction:column;gap:7px}.account-profile-grid label span{color:var(--text-secondary);font-size:12.5px;font-weight:700}.account-profile-grid input{width:100%;height:44px;padding:0 13px;border:1px solid var(--border);border-radius:10px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:13px}.account-profile-grid input:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent)}.account-profile-scroll>form>.btn{min-height:38px;margin-top:13px;padding:0 16px;font-size:11.5px}@media(max-width:1080px){.modal.account-profile-modal{width:min(880px,calc(100vw - 28px));max-height:calc(100vh - 24px)}.account-profile-modal>.modal-head,.account-profile-scroll,.account-profile-modal>.modal-actions{padding-left:20px;padding-right:20px}}@media(max-width:720px){.account-profile-grid,.account-profile-grid.three,.account-password-pair{grid-template-columns:1fr}.account-workspace-card{grid-template-columns:48px minmax(0,1fr)}.account-workspace-status{grid-column:1 / -1}}.workspace{height:100dvh;min-width:0;min-height:0;padding:0 20px 18px;overflow:hidden}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between}.breadcrumbs{font-size:9px;color:var(--text-muted);margin-bottom:5px}.breadcrumbs span{padding:0 4px}.topbar h1{margin:0;font-size:21px;letter-spacing:-.55px;line-height:1.2}.topbar p{margin:4px 0 0;font-size:10px;color:var(--text-muted)}.top-actions{display:flex;align-items:center;gap:7px}.header-new-order{height:36px;padding-inline:12px;white-space:nowrap}.icon-btn,.sync-btn{height:34px;border:1px solid var(--border);background:var(--surface);border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.icon-btn{width:34px;padding:0}.icon-btn:hover,.sync-btn:hover{background:var(--surface-hover);border-color:var(--border-strong)}.sync-btn{padding:0 12px;gap:7px;color:var(--text-secondary);font-size:10px;font-weight:600}.sync-btn:disabled{opacity:.7;cursor:wait}.notification-center,.notification{position:relative}.notification i{position:absolute;right:-4px;top:-5px;min-width:15px;height:15px;padding:0 3px;border:2px solid var(--bg);border-radius:8px;background:#ef445f;color:#fff;display:grid;place-items:center;font-size:7px;font-style:normal;font-weight:700}.notification-popover{width:340px;max-height:min(520px,calc(100vh - 110px));position:absolute;z-index:7000;top:42px;right:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 18px 48px #1e26422e}.notification-popover>header{min-height:58px;padding:11px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-popover>header>div{min-width:0;display:flex;flex-direction:column;gap:2px}.notification-popover>header strong{font-size:12px}.notification-popover>header span{color:var(--text-muted);font-size:9.5px}.notification-popover>header button{width:26px;height:26px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;color:var(--text-secondary);background:transparent}.notification-popover>header button:hover{background:var(--surface-hover)}.notification-feed{max-height:430px;overflow-y:auto}.notification-item{padding:11px 12px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px}.notification-item>span{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;color:#c48a19;background:#fff6dc}.notification-item>div{min-width:0;display:flex;flex-direction:column;gap:3px}.notification-item strong{font-size:11px}.notification-item p{margin:0;color:var(--text-secondary);font-size:10px;line-height:1.4}.notification-item time{color:var(--text-muted);font-size:9px}.notification-empty{min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:10.5px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin-bottom:12px}.metric{min-height:78px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:flex-start;gap:9px}.metric-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto}.tone-blue{color:#3d70eb;background:#eaf1ff}.tone-violet{color:#7e59d9;background:#f1ebfc}.tone-amber{color:#db8d19;background:#fff4df}.tone-cyan{color:#199dc0;background:#e4f7fb}.tone-green{color:#2ea35f;background:#e8f7ed}.tone-indigo{color:#5b64df;background:#ededff}:root[data-theme=dark] .metric-icon{filter:brightness(.85)}.metric>div{min-width:0;display:flex;flex-direction:column}.metric span:not(.metric-icon){font-size:9px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric strong{margin-top:3px;font-size:17px;letter-spacing:-.4px;white-space:nowrap}.metric small{margin-top:3px;font-size:8px;color:var(--text-muted);white-space:nowrap}.orders-workspace{display:flex;flex-direction:column}.orders-workspace>.page-topbar{flex:0 0 88px}.orders-card{height:auto;flex:1 1 0;min-height:0;background:var(--surface);border:1px solid var(--border);border-radius:11px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:visible}.orders-toolbar{min-height:62px;padding:10px 13px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border)}.toolbar-title{min-width:118px}.toolbar-title h2{margin:0;font-size:14px;letter-spacing:-.25px}.toolbar-title h2 span{min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:var(--surface-subtle);color:var(--text-muted);display:inline-grid;place-items:center;font-size:8px;vertical-align:1px}.toolbar-title p{margin:4px 0 0;color:var(--text-muted);font-size:8px}.toolbar-controls{flex:1 1 auto;min-width:0;display:flex;justify-content:flex-end;align-items:center;gap:6px}.search-control{height:34px;flex:1 1 190px;max-width:255px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:7px;color:var(--text-muted);background:var(--surface)}.orders-main-search{width:min(320px,32vw);flex:0 1 320px;max-width:320px}.orders-toolbar .toolbar-controls{flex:1 1 auto;justify-content:flex-start}.search-control:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #4f63ed1a}.search-control input{min-width:0;flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:9px}.search-control input::placeholder{color:var(--text-muted)}.search-control button{width:18px;height:18px;padding:0;border:0;background:transparent;color:var(--text-muted);display:grid;place-items:center}.select-control{height:34px;min-width:100px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);display:inline-flex;align-items:center;gap:4px;color:var(--text-secondary)}.select-control select{min-width:0;flex:1;border:0;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:inherit;background:transparent;font-size:9px}.select-control svg{pointer-events:none;flex:0 0 auto}.period-select{min-width:76px}.orders-date-filter{position:relative;z-index:42}.orders-date-trigger{height:34px;max-width:220px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);background:var(--surface);font-size:11px;font-weight:600;white-space:nowrap}.orders-date-trigger>span{max-width:175px;overflow:hidden;text-overflow:ellipsis}.orders-date-trigger>svg:last-child{color:var(--text-muted);transition:transform .14s ease}.orders-date-trigger:hover,.orders-date-trigger.open{border-color:var(--border-strong);background:var(--surface-hover)}.orders-date-trigger.open>svg:last-child{transform:rotate(180deg)}.orders-date-trigger.active{border-color:color-mix(in srgb,var(--primary) 32%,var(--border));color:var(--primary);background:var(--primary-soft)}.orders-date-popover{width:340px;position:absolute;z-index:80;top:40px;right:0;overflow:hidden;border:1px solid var(--border-strong);border-radius:11px;background:var(--surface);box-shadow:0 18px 48px #1922372e;animation:fade-in .14s ease}.orders-date-popover-head{min-height:54px;padding:10px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.orders-date-popover-head>div{display:flex;flex-direction:column;gap:3px}.orders-date-popover-head strong{font-size:12.5px}.orders-date-popover-head span{color:var(--text-muted);font-size:10px}.orders-date-popover-head>button{width:26px;height:26px;padding:0;border:0;border-radius:6px;display:grid;place-items:center;color:var(--text-muted);background:transparent}.orders-date-popover-head>button:hover{color:var(--text);background:var(--surface-hover)}.orders-date-fields{padding:11px 12px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.orders-date-fields label{min-width:0;display:flex;flex-direction:column;gap:5px}.orders-date-fields label>span{color:var(--text-secondary);font-size:10px;font-weight:650}.orders-date-fields input{width:100%;min-width:0;height:35px;padding:0 8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface-subtle);font:inherit;font-size:10px;color-scheme:light}.orders-date-fields input:focus{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px #4f63ed17}:root[data-theme=dark] .orders-date-fields input{color-scheme:dark}.orders-date-popover-actions{min-height:49px;padding:7px 10px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:6px;background:var(--surface-subtle)}.orders-date-popover-actions .btn{height:31px}.btn{height:34px;border-radius:7px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;font-size:9px;font-weight:600;white-space:nowrap}.btn.primary{color:#fff;background:var(--primary);border-color:var(--primary);box-shadow:0 4px 11px #4f63ed2e}.btn.primary:hover{background:var(--primary-hover)}.btn.secondary{color:var(--text-secondary);background:var(--surface);border-color:var(--border)}.btn.secondary:hover{background:var(--surface-hover)}.btn.danger-text{color:#d3485a;background:transparent;border-color:transparent}.btn.danger-text:hover{background:#fff0f2}.new-order{flex:0 0 auto}.quick-tabs{height:41px;padding:0 13px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border)}.tab-buttons{min-width:0;height:41px;flex:1 1 auto;display:flex;align-items:flex-end;gap:20px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.tab-buttons::-webkit-scrollbar{display:none}.tab-buttons button{height:41px;padding:0;position:relative;border:0;background:transparent;color:var(--text-muted);font-size:10px;font-weight:500;white-space:nowrap}.tab-buttons button:hover{color:var(--text)}.tab-buttons button.active{color:var(--primary);font-weight:600}.tab-buttons button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--primary);border-radius:1px}.tab-buttons button span{margin-left:5px;padding:2px 5px;border-radius:7px;background:var(--surface-subtle);font-size:9px}.tab-buttons button.colored-status-tab{color:var(--text-muted)}.tab-buttons button.colored-status-tab>i{width:6px;height:6px;margin-right:6px;border-radius:50%;display:inline-block;background:var(--status-color);vertical-align:1px}.tab-buttons button.colored-status-tab.active{color:var(--primary)}.tab-buttons button.colored-status-tab.active:after{background:var(--primary)}.columns-picker{margin-left:auto;position:relative;z-index:40}.quick-statuses-picker{margin-left:auto;position:relative;z-index:41}.quick-statuses-trigger{width:30px;height:30px;padding:0;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;color:var(--text-secondary);background:var(--surface)}.quick-statuses-trigger span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.quick-statuses-trigger:hover,.quick-statuses-trigger.open{border-color:var(--border-strong);color:var(--primary);background:var(--surface-hover)}.quick-statuses-popover{width:260px;position:absolute;z-index:45;right:0;top:35px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 16px 42px #19223729;animation:fade-in .14s ease}.columns-trigger{height:30px;padding:0 9px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text-secondary);display:inline-flex;align-items:center;gap:6px;font-size:9.5px;font-weight:600;white-space:nowrap}.columns-trigger:hover,.columns-trigger.open{border-color:var(--border-strong);background:var(--surface-hover);color:var(--text)}.columns-trigger>span{min-width:29px;padding:2px 5px;border-radius:7px;background:var(--primary-soft);color:var(--primary);font-size:8px;text-align:center}.columns-popover{position:absolute;right:0;top:35px;width:242px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 16px 42px #19223729;overflow:hidden;animation:fade-in .14s ease}.columns-popover-head{padding:12px 12px 10px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:3px}.columns-popover-head strong{font-size:11px}.columns-popover-head span{color:var(--text-muted);font-size:9px}.columns-list{max-height:330px;padding:5px;overflow-y:auto}.columns-list label{min-height:31px;padding:0 8px;border-radius:6px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:10px}.columns-list label:hover{background:var(--surface-hover)}.columns-list label.required{cursor:default}.columns-list input{width:14px;height:14px;margin:0;accent-color:var(--primary)}.columns-list label>span{flex:1}.columns-list small{color:var(--text-muted);font-size:8px}.columns-popover-footer{min-height:38px;padding:0 10px 0 12px;border-top:1px solid var(--border);background:var(--surface-subtle);display:flex;align-items:center;justify-content:space-between}.columns-popover-footer span{color:var(--text-muted);font-size:8px}.columns-popover-footer button{padding:4px;border:0;background:transparent;color:var(--primary);font-size:9px;font-weight:600}.table-wrap{flex:1;min-height:0;overflow:auto}table{width:100%;border-collapse:collapse;table-layout:fixed}th{height:37px;padding:0 7px;background:var(--surface-subtle);color:var(--text-muted);border-bottom:1px solid var(--border);font-size:9.5px;font-weight:600;text-align:left;white-space:nowrap}td{height:59px;padding:8px 7px;border-bottom:1px solid var(--border);color:var(--text-secondary);font-size:10.5px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-wrap tbody td:first-child{position:relative;z-index:2;overflow:visible}.table-wrap tbody tr:hover td:first-child{z-index:25}tbody tr{cursor:pointer;transition:background .14s ease,box-shadow .14s ease}tbody tr:hover{background:var(--surface-hover)}tbody tr.selected{background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}tbody tr:last-child td{border-bottom:0}.order-id-heading,.order-id-cell{text-align:center}.order-number{color:var(--text);font-size:12px;letter-spacing:-.2px}.order-number-wrap{width:100%;overflow:visible;display:flex;align-items:center;justify-content:center;gap:5px}.order-number-copy{min-width:72px;min-height:31px;padding:0 7px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--text);background:transparent}.order-number-copy:hover{border-color:var(--border-strong);background:var(--surface)}.order-number-copy:active{transform:translateY(1px)}.order-number-copy.copied{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 25%,var(--border));background:var(--primary-soft)}.client-order-cell strong{display:inline-flex;align-items:center;gap:6px}.vip-customer-crown{flex:0 0 auto;color:#d99a18;filter:drop-shadow(0 1px 2px rgba(217,154,24,.22))}.inline-status-button{padding:0;border:0;background:transparent}.inline-status-select{width:100%;height:31px;padding:0 8px;border:1px solid var(--primary);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:11px;box-shadow:0 0 0 3px #4f63ed1c}.order-comment-indicator{width:22px;height:22px;padding:0;position:relative;overflow:visible;border:1px solid rgba(230,154,37,.25);border-radius:6px;background:#e69a251c;color:#b56d0b;display:grid;place-items:center;outline:none}.order-comment-tooltip{width:292px;max-height:min(320px,calc(100vh - 24px));padding:10px;position:fixed;z-index:1000;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface);color:var(--text-secondary);box-shadow:0 18px 46px #141c303d;display:grid;gap:8px;overflow:auto;pointer-events:none;animation:fade-in .12s ease}.order-comment-tooltip.above{transform:translateY(-100%)}.order-comment-tooltip>div{display:grid;gap:3px}.order-comment-tooltip>div+div{padding-top:8px;border-top:1px solid var(--border)}.order-comment-tooltip strong{color:var(--text);font-size:9.5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.order-comment-tooltip strong time{color:var(--text-muted);font-size:9px;font-weight:600;white-space:nowrap}.order-comment-tooltip span{color:var(--text-secondary);font-size:9.5px;font-weight:500;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.order-ttn-heading,.order-ttn-cell{width:92px;min-width:92px;max-width:92px;padding-inline:6px;position:sticky;right:0;text-align:center}.order-ttn-heading{z-index:18;background:color-mix(in srgb,var(--surface-subtle) 94%,var(--surface));box-shadow:-1px 0 0 var(--border),-8px 0 16px #1f2a480a}.order-ttn-cell{z-index:7;background:var(--surface);box-shadow:-1px 0 0 var(--border),-8px 0 16px #1f2a4806}.order-status-row.custom-row-tone .order-ttn-cell{background:color-mix(in srgb,var(--order-status-color) 7%,var(--surface))}.order-status-row.custom-row-tone:hover .order-ttn-cell{background:color-mix(in srgb,var(--order-status-color) 11%,var(--surface))}.order-status-row.selected .order-ttn-cell{background:color-mix(in srgb,var(--primary) 10%,var(--surface))}.order-ttn-action{width:40px;height:40px;margin:0 auto;padding:0;border:1px solid var(--border-strong);border-radius:9px;display:grid;place-items:center;color:#7d8798;background:color-mix(in srgb,var(--surface-subtle) 76%,var(--surface));box-shadow:0 1px 2px #1922370a;transition:color .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.order-ttn-action:hover{border-color:color-mix(in srgb,var(--primary) 38%,var(--border));color:var(--primary);background:var(--surface);box-shadow:0 5px 14px #2a38601f;transform:translateY(-1px)}.order-ttn-action.has-tracking{border-color:color-mix(in srgb,var(--danger) 32%,var(--border));color:#c34758;background:color-mix(in srgb,var(--danger) 10%,var(--surface))}.order-ttn-action.has-tracking:hover{border-color:color-mix(in srgb,var(--danger) 52%,var(--border));color:#b93649;background:color-mix(in srgb,var(--danger) 15%,var(--surface));box-shadow:0 5px 14px #c3475829}.cell-stack{min-width:0;display:flex;flex-direction:column;gap:4px;overflow:hidden}.cell-stack strong,.cell-stack span{overflow:hidden;text-overflow:ellipsis}.cell-stack strong{color:var(--text);font-size:10.5px;font-weight:600}.cell-stack span{color:var(--text-muted);font-size:9px}.products-cell strong{font-weight:500}.badge{width:fit-content;max-width:100%;height:23px;padding:0 7px;border-radius:6px;display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:600;white-space:nowrap}.badge i{width:5px;height:5px;border:1.5px solid currentColor;border-radius:50%}.badge-blue{color:#3769da;background:#eaf1ff}.badge-green{color:#23854d;background:#e8f7ed}.badge-purple,.badge-violet{color:#7653cf;background:#f0ebff}.badge-cyan{color:#1a87a5;background:#e5f6fa}.badge-amber{color:#b86e08;background:#fff2d9}.badge-indigo{color:#4f5fc9;background:#eaedff}.badge-red{color:#c43f55;background:#ffedf0}.badge-gray{color:#6e788a;background:#eef1f5}:root[data-theme=dark] .badge{filter:brightness(.8) saturate(.9)}.source-badge{padding:0 6px}.table-footer{min-height:47px;padding:0 13px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:var(--text-muted);font-size:8px}.pagination{display:flex;gap:4px}.pagination button{width:28px;height:28px;border:1px solid var(--border);border-radius:6px;background:var(--surface);display:grid;place-items:center;color:var(--text-secondary);font-size:9px}.pagination button:hover:not(:disabled){background:var(--surface-hover)}.pagination button.active{background:var(--primary);border-color:var(--primary);color:#fff}.pagination button:disabled{opacity:.4;cursor:default}.empty-state{height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-muted);gap:6px}.empty-state strong{color:var(--text);font-size:11px}.empty-state span{font-size:9px}.inspector{width:384px;height:100vh;position:sticky;top:0;background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column;box-shadow:-10px 0 32px #1f2a480a;z-index:25;animation:inspector-in .22s ease both}@keyframes inspector-in{0%{opacity:0;transform:translate(12px)}}.inspector-head{min-height:78px;padding:14px 14px 12px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between}.eyebrow,.section-label{font-size:8px;color:var(--text-muted);font-weight:500}.order-title-row{margin-top:6px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.order-title-row h2{margin:0;font-size:16px;letter-spacing:-.3px}.order-title-row .source-badge{height:21px}.order-title-meta{margin-top:5px;color:var(--text-muted);display:flex;align-items:center;gap:4px;font-size:8px}.inspector-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.detail-section{padding:12px 14px;border-bottom:1px solid var(--border)}.source-line{display:flex;align-items:center;justify-content:space-between}.order-meta-section{display:grid;grid-template-columns:1fr 1fr;gap:7px}.order-meta-card{min-width:0;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:5px}.order-meta-card>span{color:var(--text-muted);display:flex;align-items:center;gap:5px;font-size:8px}.order-meta-card>strong{overflow:hidden;color:var(--text);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.payment-method-card{--payment-card-border:#e69a253d;--payment-card-background:#e69a2513;--payment-card-title:#9c6108}.payment-method-card.payment-delivery{--payment-card-border:rgba(226,170,45,.38);--payment-card-background:#fff5cf;--payment-card-title:#8b5e00}.payment-method-card.payment-paid{--payment-card-border:rgba(34,197,94,.32);--payment-card-background:rgba(34,197,94,.09);--payment-card-title:#15803d}:root[data-theme=dark] .payment-method-card{--payment-card-title:#efb95d}:root[data-theme=dark] .payment-method-card.payment-delivery{--payment-card-border:rgba(234,179,55,.42);--payment-card-background:rgba(180,128,15,.14);--payment-card-title:#f1c45c}:root[data-theme=dark] .payment-method-card.payment-paid{--payment-card-title:#63d98a}.delivery-payment-card{margin-top:10px;padding:8px 9px;border:1px solid var(--payment-card-border);background:var(--payment-card-background);border-radius:7px;display:flex;flex-direction:column;gap:4px}.delivery-payment-card>span{color:var(--text-muted);display:flex;align-items:center;gap:5px;font-size:7.5px}.delivery-payment-card>strong{color:var(--payment-card-title);font-size:9px;line-height:1.35}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.section-head h3{margin:0;font-size:10px}.section-head h3 span{color:var(--text-muted);font-weight:500}.text-btn{padding:0;border:0;background:transparent;color:var(--primary);font-size:8px;font-weight:600}.client-section-heading,.client-header-actions{display:flex;align-items:center;gap:7px}.client-code{height:21px;padding:0 7px;border-radius:6px;background:var(--surface-subtle);color:var(--text-muted);display:inline-flex;align-items:center;font-size:7.5px;font-weight:650}.client-header-actions{gap:5px}.client-chat-button{width:27px;height:27px;padding:0;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--primary);display:grid;place-items:center}.client-chat-button:hover{border-color:color-mix(in srgb,var(--primary) 38%,var(--border));background:var(--primary-soft)}.client-card{min-width:0;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle);display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.avatar.small{width:29px;height:29px;border-radius:50%}.client-contact-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.client-name-line{min-width:0;display:flex;align-items:baseline;gap:7px}.client-name-line strong{color:var(--text);font-size:9.5px;font-weight:750}.client-name-line span{min-width:0;overflow:hidden;color:var(--text-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.client-contact-row{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px 13px}.client-contact-copy a{width:fit-content;max-width:100%;color:var(--text-muted);display:inline-flex;align-items:center;gap:5px;font-size:8px;line-height:1.25;text-decoration:none}.client-contact-copy a:hover{color:var(--primary)}.client-contact-copy .client-phone{color:var(--primary);font-size:9.5px;font-weight:800;letter-spacing:.05px}.customer-orders-button,.customer-first-order{width:100%;min-height:42px;margin-top:8px;padding:6px 8px;border:1px solid var(--border);border-radius:9px;background:var(--surface);display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:8px;text-align:left}.customer-orders-button{color:var(--primary)}.customer-orders-icon,.customer-first-order>svg{width:30px;height:30px;border-radius:8px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.customer-orders-copy,.customer-first-order>span{min-width:0;display:flex;flex-direction:column;gap:2px}.customer-orders-copy small,.customer-first-order small{color:var(--text-muted);font-size:7.5px;font-weight:550}.customer-orders-copy b,.customer-first-order b{color:var(--text);font-size:9px;font-weight:750}.customer-orders-total{color:var(--text-secondary);font-size:9px;font-weight:750;white-space:nowrap}.customer-orders-button:hover{border-color:color-mix(in srgb,var(--primary) 42%,var(--border));background:color-mix(in srgb,var(--primary-soft) 35%,var(--surface));box-shadow:0 4px 12px #1f2a480e}.customer-first-order{grid-template-columns:30px minmax(0,1fr);color:var(--text-secondary)}.customer-status-breakdown{margin-top:8px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:6px}.customer-status-label{color:var(--text-muted);font-size:7.5px;font-weight:500}.customer-status-chips{min-width:0;display:flex;align-items:center;flex-wrap:nowrap;gap:5px;overflow:hidden}.customer-status-chip-page{min-width:0;flex:1;display:flex;align-items:center;gap:5px;overflow:hidden}.customer-status-chips .badge{height:22px;min-width:0;flex:1 1 0;justify-content:center;overflow:hidden;font-size:7.5px;text-align:center}.customer-status-chips .badge>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-status-more{height:22px;min-width:34px;flex:0 0 auto;padding:0 7px;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--border));border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:2px;color:var(--primary);background:var(--surface);font-size:8px;font-weight:750;cursor:pointer}.customer-status-more:hover{background:var(--primary-soft)}.order-products-section{background:#4f63ed06}.order-products-section .section-head h3{font-size:11px}.products-list{display:flex;flex-direction:column;gap:7px}.product-row{min-height:54px;padding:6px 8px 6px 6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:8px}.order-product-stock-row{grid-template-columns:40px minmax(150px,1fr) auto 48px 48px auto auto}.order-line-stock{min-width:43px;display:flex;flex-direction:column;align-items:center;gap:1px;color:var(--text-muted)}.order-line-stock small{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.order-line-stock b{color:var(--text);font-size:10px;line-height:1.1}.order-line-keep{min-width:68px;height:25px;padding:0 7px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:var(--surface);font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}.order-line-keep:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--primary)}.order-line-keep.active{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--primary);background:var(--primary-soft)}.product-icon{width:40px;height:40px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);color:var(--primary);display:grid;place-items:center}.product-icon img{width:100%;height:100%;object-fit:cover}.product-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.product-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:9.5px;font-weight:700}.product-copy span{font-size:8px;color:var(--text-muted)}.product-quantity{min-width:44px;height:25px;padding:0 7px;border-radius:6px;background:var(--primary-soft);color:var(--primary);display:inline-grid;place-items:center;font-size:9px;font-weight:700}.product-row>b{min-width:56px;color:var(--text);font-size:9px;text-align:right}.totals{margin-top:9px;padding-top:8px;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:6px}.totals>span{display:flex;justify-content:space-between;color:var(--text-muted);font-size:8px}.totals b{color:var(--text);font-weight:600}.totals .grand-total{padding-top:7px;border-top:1px solid var(--border);color:var(--text);font-size:9px}.grand-total b{color:var(--primary);font-size:12px}.split-section{display:grid;grid-template-columns:1fr 1fr;gap:8px}.split-section label{min-width:0;display:flex;flex-direction:column;gap:5px}.split-section .select-control{width:100%;min-width:0}.unified-status-section{grid-template-columns:1fr}.status-choice-list{display:flex;flex-wrap:wrap;gap:6px}.status-choice{min-height:27px;padding:0 8px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:600;opacity:.72;transition:opacity .12s ease,border-color .12s ease,box-shadow .12s ease,transform .12s ease}.status-choice i{width:5px;height:5px;border:1.5px solid currentColor;border-radius:50%}.status-choice:hover{opacity:1;transform:translateY(-1px)}.status-choice.active{opacity:1;border-color:currentColor;box-shadow:0 0 0 2px var(--surface),0 0 0 4px #4f63ed21}.custom-status-choice{color:var(--text-secondary);background:color-mix(in srgb,var(--status-color) 11%,var(--surface))}.custom-status-choice i{border-color:var(--status-color);background:var(--status-color)}.custom-status-choice.active{box-shadow:0 0 0 2px var(--surface),0 0 0 4px color-mix(in srgb,var(--status-color) 20%,transparent)}.status-more-select{width:174px;height:29px}.status-more-select select{height:29px;padding-left:9px;font-size:8px;font-weight:600}.delivery-grid{margin:0;display:flex;flex-direction:column;gap:7px}.delivery-grid>div{display:grid;grid-template-columns:90px 1fr;gap:8px}.delivery-grid dt{color:var(--text-muted);font-size:8px}.delivery-grid dd{margin:0;text-align:right;font-size:8px;font-weight:500}.delivery-grid .muted{color:var(--text-muted)}.delivery-grid .tracking{color:var(--primary);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;display:flex;align-items:center;justify-content:flex-end;gap:5px}.tracking-action{width:22px;height:22px;padding:0;border:1px solid rgba(79,99,237,.22);border-radius:6px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.tracking-action:hover{border-color:var(--primary);background:var(--surface)}.address-blocks{margin-top:10px;display:flex;flex-direction:column;gap:6px}.address-blocks>div{padding:7px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:3px}.address-blocks span,.order-comment-card span{color:var(--text-muted);font-size:7.5px}.address-blocks strong{color:var(--text-secondary);font-size:8px;line-height:1.35}.order-comments-section{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:var(--surface-subtle)}.order-comments-section.has-important-comments{border:1px solid #b83247;background:#cd3c4c0b;box-shadow:none}.order-comments-section .section-head{grid-column:1 / -1;margin-bottom:1px}.order-comments-section .section-head h3{display:flex;align-items:center;gap:5px}.order-comments-section.has-important-comments .section-head h3{color:#b93247}.order-comment-card{min-width:0;padding:8px 9px;border:1px solid rgba(230,154,37,.19);border-radius:7px;background:var(--surface)}.order-comment-card.has-value{border-color:#cd3c4c57;background:#fff5f7d1;box-shadow:0 3px 10px #881b2d0e}:root[data-theme=dark] .order-comment-card.has-value{background:#751e2d21}.order-comment-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-comment-card .order-comment-card-head>span{color:#161a24;font-weight:700;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.order-comment-card .order-comment-card-head time{color:var(--text-muted);font-size:9.5px;font-weight:600}.remove-comment-button{width:22px;height:22px;margin:-4px -4px -3px 0;border:0;border-radius:6px;background:transparent;color:#b83247;display:inline-grid;place-items:center;cursor:pointer;flex:0 0 auto}.remove-comment-button:hover{background:#b832471a}.order-comment-card textarea{width:100%;min-height:34px;margin-top:4px;padding:0;resize:vertical;border:0;outline:0;background:transparent;color:var(--text-secondary);font:inherit;font-size:8.5px;line-height:1.4}.order-comment-card:focus-within{border-color:#cd3c4c94;box-shadow:0 0 0 3px #cd3c4c17}.order-comment-card textarea::placeholder{color:var(--text-muted)}.add-comment-button{min-height:35px;padding:0 10px;border:1px dashed var(--border-strong);border-radius:7px;background:var(--surface);color:var(--primary);display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;font-weight:600}.add-comment-button:hover{border-color:#4f63ed61;background:var(--primary-soft)}.profile-open-button{min-height:27px;padding:0 9px;border:1px solid rgba(79,99,237,.22);border-radius:7px;background:var(--primary-soft);color:var(--primary);display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:700}.profile-open-button:hover{border-color:var(--primary);background:var(--surface)}.timeline{display:flex;flex-direction:column}.timeline-row{min-height:29px;display:grid;grid-template-columns:13px 35px 1fr;gap:5px;position:relative;align-items:start}.timeline-row:not(:last-child):before{content:"";position:absolute;left:5px;top:13px;bottom:-2px;width:1px;background:var(--border-strong)}.timeline-dot{width:11px;height:11px;border:1px solid var(--primary);border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;z-index:1}.timeline-dot.active{background:var(--surface);box-shadow:inset 0 0 0 3px var(--primary-soft)}.timeline-row time{color:var(--text-muted);font-size:7.5px;line-height:12px}.timeline-row p{margin:0;font-size:8px;line-height:12px}.history-toggle{width:100%;min-height:27px;margin-top:4px;border:1px solid var(--border);border-radius:7px;background:var(--surface-subtle);color:var(--primary);font-size:8px;font-weight:600}.history-toggle:hover{border-color:#4f63ed47;background:var(--primary-soft)}.history-pagination{margin-top:4px;display:flex;align-items:center;gap:6px}.history-pagination .history-toggle{width:auto;min-width:0;margin-top:0;padding:0 9px;flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}.inspector-actions{flex:0 0 auto;padding:10px 14px 12px;border-top:1px solid var(--border);background:var(--surface);display:grid;grid-template-columns:1fr 1fr;gap:6px}.inspector-actions .wide{grid-column:1 / -1}.inspector-actions .danger-text{grid-column:1 / -1;height:27px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0c121f5c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;animation:fade-in .16s ease}.customer-orders-backdrop{z-index:160;padding:24px;background:#0c121f7a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.customer-orders-modal{width:min(840px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 48px));border:1px solid var(--border-strong);border-radius:15px;background:var(--surface);box-shadow:0 26px 80px #0c121f52;display:flex;flex-direction:column;overflow:hidden;animation:order-modal-in .18s ease both}.customer-orders-modal>header{min-height:100px;padding:20px 22px 16px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.customer-orders-modal h2{margin:4px 0 3px;color:var(--text);font-size:21px;letter-spacing:-.35px}.customer-orders-modal header p{margin:0;color:var(--text-muted);font-size:11px}.customer-orders-list{min-height:180px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;overflow-y:auto}.customer-order-row{width:100%;min-height:62px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);display:grid;grid-template-columns:110px minmax(190px,1fr) minmax(150px,auto) 96px 18px;align-items:center;gap:12px;text-align:left}.customer-order-row:hover{border-color:color-mix(in srgb,var(--primary) 42%,var(--border));background:var(--surface-hover);transform:translateY(-1px)}.customer-order-row.current{background:color-mix(in srgb,var(--primary-soft) 42%,var(--surface))}.customer-order-number,.customer-order-products{min-width:0;display:flex;flex-direction:column;gap:4px}.customer-order-number{color:var(--primary);font-size:12px;font-weight:800}.customer-order-number small,.customer-order-products small{color:var(--text-muted);font-size:9.5px;font-weight:500}.customer-order-products strong{overflow:hidden;color:var(--text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-order-row>b{font-size:11.5px;text-align:right;white-space:nowrap}.customer-order-row>svg{color:var(--text-muted)}.customer-orders-state{min-height:190px;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:11px}.customer-orders-state.error{color:var(--danger)}.customer-orders-modal>footer{min-height:58px;padding:10px 14px 10px 22px;border-top:1px solid var(--border);background:var(--surface-subtle);display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-orders-modal>footer span{color:var(--text-muted);font-size:10px}.order-modal-backdrop{padding:24px 32px;background:#161f3257;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.order-modal-window{width:min(1248px,calc(100vw - 64px));height:min(1038px,calc(100vh - 48px));position:relative;top:auto;border:1px solid color-mix(in srgb,var(--border-strong) 76%,transparent);border-radius:17px;background:var(--surface);box-shadow:0 28px 90px #0c121f4d;overflow:hidden;animation:order-modal-in .2s ease both}.order-modal-window .inspector-head{min-height:132px;padding:25px 34px 18px;align-items:flex-start}.order-modal-brand{margin-bottom:13px;display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:14px;font-weight:650}.order-modal-brand svg{color:var(--primary)}.order-modal-head-actions{display:flex;align-items:center;gap:8px}.order-modal-head-actions .icon-btn{width:42px;height:42px;border-radius:10px}.order-modal-window .order-title-row{margin-top:0;gap:12px}.order-modal-window .order-title-row h2{font-size:25px;letter-spacing:-.65px}.order-modal-window .order-title-row .badge,.order-modal-window .order-title-row .source-badge{height:32px;padding-inline:11px;border-radius:8px;font-size:12px}.order-modal-window .order-title-meta{margin-top:8px;font-size:11px}.order-modal-window .inspector-scroll{padding:14px 34px 18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"comments comments" "client delivery" "products history";grid-auto-rows:max-content;align-content:start;gap:14px 18px;background:var(--surface)}.order-modal-window .detail-section{padding:15px 16px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.order-modal-window .order-source-section{grid-area:source}.order-modal-window .order-client-section{grid-area:client}.order-modal-window .order-products-section{grid-area:products;align-self:start}.order-modal-window .order-delivery-section{grid-area:delivery}.order-modal-window .order-comments-section{min-height:58px;height:max-content;grid-area:comments;grid-template-columns:minmax(230px,1fr) auto auto;align-self:start;align-items:center;gap:10px;padding:9px 16px;background:color-mix(in srgb,var(--primary-soft) 34%,var(--surface))}.order-modal-window .order-comments-section .section-head{grid-column:auto}.order-modal-window .order-comments-section:not(.has-important-comments) .section-head h3{gap:9px}.order-modal-window .order-comments-section:not(.has-important-comments) .section-head h3 svg{width:30px;height:30px;padding:7px;border-radius:50%;background:var(--primary-soft);color:var(--primary)}.order-modal-window .order-comments-section .add-comment-button{min-height:34px;padding:0 4px;border:0;background:transparent;white-space:nowrap;font-size:11.5px;font-weight:700}.order-modal-window .order-comments-section:not(.has-important-comments) .add-comment-button svg{width:18px;height:18px}.order-modal-window .order-comments-section.has-important-comments{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;padding-block:13px;border:1px solid #b83247;box-shadow:none}.order-modal-window .order-comments-section.has-important-comments .section-head{grid-column:1 / -1}.order-modal-window .order-comments-section.has-important-comments .order-comment-card{align-self:stretch;min-height:58px;padding:9px 11px;display:flex;flex-direction:column;overflow:hidden}.order-modal-window .order-comments-section.has-important-comments .order-comment-card-head>span{font-size:10.5px;line-height:1.2}.order-modal-window .order-comments-section.has-important-comments textarea{field-sizing:content;height:auto;min-height:22px;max-height:88px;margin-top:6px;resize:none;overflow:auto;color:#b83247;font-size:11.5px;font-weight:600;line-height:1.35}.order-modal-window .order-comments-section.has-important-comments .add-comment-button{align-self:stretch;min-height:58px;padding:8px 12px;border:1px dashed rgba(79,99,237,.42);border-radius:8px;background:color-mix(in srgb,var(--primary-soft) 46%,var(--surface));display:flex;flex-direction:column;justify-content:center;gap:6px;color:var(--primary);font-size:11.5px;font-weight:700}.order-modal-window .order-comments-section.has-important-comments .add-comment-button svg{width:26px;height:26px;padding:6px;border-radius:50%;background:var(--primary-soft)}.order-modal-window .order-comments-section.has-important-comments .add-comment-button:hover{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 4px 12px #4f63ed17}.order-modal-window .order-history-section{grid-area:history;align-self:start;overflow:hidden}.order-modal-window .section-head h3{font-size:14px}.order-modal-window .client-card{min-height:74px;padding:13px;grid-template-columns:44px minmax(0,1fr);gap:12px}.order-modal-window .client-card .avatar{width:44px;height:44px;border-radius:12px}.order-modal-window .product-row{min-height:62px}.order-modal-window .delivery-grid dt,.order-modal-window .delivery-grid dd{font-size:11px}.order-modal-window .timeline-row{min-height:36px;grid-template-columns:16px 42px 1fr;gap:7px}.order-modal-window .timeline-row time,.order-modal-window .timeline-row p{font-size:10px;line-height:16px}.order-modal-window .order-title-meta{font-size:12px}.order-modal-window .profile-open-button{font-size:10.5px}.order-modal-window .client-code{height:24px;padding-inline:8px;font-size:9.5px}.order-modal-window .client-chat-button{width:31px;height:31px}.order-modal-window .client-name-line strong{font-size:14px}.order-modal-window .client-name-line span,.order-modal-window .client-contact-copy a{font-size:10.5px}.order-modal-window .client-contact-copy .client-phone{font-size:13px}.order-modal-window .customer-orders-button,.order-modal-window .customer-first-order{min-height:54px;margin-top:9px;padding:7px 10px;grid-template-columns:34px minmax(0,1fr) auto auto;gap:10px}.order-modal-window .customer-orders-icon,.order-modal-window .customer-first-order>svg{width:34px;height:34px}.order-modal-window .customer-orders-copy small,.order-modal-window .customer-first-order small{font-size:9.5px}.order-modal-window .customer-orders-copy b,.order-modal-window .customer-first-order b{font-size:11.5px}.order-modal-window .customer-orders-total{font-size:12px}.order-modal-window .customer-status-label{font-size:10px}.order-modal-window .customer-status-chips,.order-modal-window .customer-status-chip-page{flex-wrap:nowrap;gap:3px;min-width:0}.order-modal-window .customer-status-chips .badge{height:24px;padding-inline:4px;flex:1 1 0;font-size:9.5px}.order-modal-window .customer-status-more{height:24px;min-width:38px;padding-inline:8px;font-size:9.5px}.order-modal-window .product-copy strong{font-size:12px}.order-modal-window .product-copy span{font-size:10.5px}.order-modal-window .order-product-heading-actions .badge{max-width:none;padding-inline:9px;font-size:11.5px;font-weight:700;white-space:nowrap}.order-modal-window .product-quantity{font-size:11px}.order-modal-window .product-row>b{font-size:12px}.order-modal-window .totals>span{font-size:11.5px}.order-modal-window .totals .grand-total{font-size:12.5px}.order-modal-window .grand-total b{font-size:15.5px}.order-modal-window .delivery-grid dt,.order-modal-window .delivery-grid dd{font-size:12px}.order-modal-window .delivery-payment-card>span{font-size:10.5px}.order-modal-window .delivery-payment-card>strong{font-size:11.5px}.order-modal-window .timeline-row time{font-size:11px}.order-modal-window .history-toggle{min-height:31px;font-size:10.5px}.order-modal-window .checkout-complete-chip{font-size:11px}.order-modal-window .checkout-complete-chip>span{font-size:10px}.order-modal-window .inspector-actions{min-height:108px;padding:12px 34px 15px;display:flex;align-items:center;gap:10px}.order-modal-window .inspector-actions .wide{grid-column:auto}.order-modal-window .inspector-actions .danger-text{margin-left:auto}.entity-route-status-backdrop{z-index:240}.entity-route-status-modal{position:relative;width:min(420px,calc(100vw - 40px));padding:34px 30px 30px;display:flex;flex-direction:column;align-items:center;text-align:center}.entity-route-status-modal>.icon-btn{position:absolute;top:14px;right:14px}.entity-route-status-modal .route-status-icon{width:52px;height:52px;margin-bottom:15px;border-radius:15px;display:grid;place-items:center}.entity-route-status-modal .route-status-icon.loading{background:var(--primary-soft);color:var(--primary)}.entity-route-status-modal .route-status-icon.error{background:color-mix(in srgb,var(--danger) 11%,transparent);color:var(--danger)}.entity-route-status-modal h2{margin:0;color:var(--text);font-size:19px}.entity-route-status-modal p{max-width:330px;margin:8px 0 18px;color:var(--text-secondary);font-size:12px;line-height:1.55}.modal-status-footer{width:100%;display:flex;flex-direction:column;gap:9px}.modal-status-footer .section-head{margin:0}.modal-status-footer .section-head h3{font-size:13px}.status-section-head{gap:12px}.status-heading-controls{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px}.status-notify-toggle{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:10.5px;font-weight:600;cursor:pointer;white-space:nowrap}.status-notify-toggle input{width:15px;height:15px;margin:0;accent-color:var(--primary);cursor:pointer}.status-choice:disabled,.status-more-select select:disabled{cursor:wait;opacity:.65}.modal-status-footer .status-choice-list{display:flex;flex-wrap:nowrap;gap:7px;width:100%}.modal-status-footer .status-choice{flex:1 1 auto;min-height:44px;padding:6px 11px;justify-content:center;font-size:12px;font-weight:600;line-height:1.18;text-align:center;white-space:nowrap}.modal-status-footer .status-more-select{flex:1 1 160px;width:auto;min-width:150px;height:44px}.modal-status-footer .status-more-select select{height:44px;font-size:11.5px;font-weight:650;text-align:center}.checkout-complete-chip{min-height:29px;padding:0 10px;border:1px solid rgba(35,133,77,.22);border-radius:7px;display:inline-flex;align-items:center;gap:6px;color:#23854d;background:#e8f7ed;font-size:10px;font-weight:750;white-space:nowrap}.checkout-complete-chip>span{color:#5d9470;font-size:9px;font-weight:600}@keyframes order-modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}@keyframes fade-in{0%{opacity:0}}.modal{width:410px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 24px 70px #0c121f33;display:flex;flex-direction:column;gap:13px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal h2{margin:0;font-size:16px}.modal p{margin:4px 0 0;color:var(--text-muted);font-size:9px}.field{display:flex;flex-direction:column;gap:5px}.field>span{font-size:8px;color:var(--text-secondary);font-weight:600}.field>input{height:36px;padding:0 10px;border:1px solid var(--border);border-radius:7px;outline:none;color:var(--text);background:var(--surface);font-size:10px}.field>input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #4f63ed1a}.field .select-control{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:3px}.toast{position:fixed;right:18px;bottom:18px;z-index:10000;min-height:39px;padding:0 13px;border:1px solid rgba(40,160,95,.18);border-radius:8px;background:#e8f7ed;color:#237d49;box-shadow:0 12px 32px #0f1e1724;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:600;animation:toast-in .2s ease both}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media(max-width:1320px){.metrics-grid{grid-template-columns:repeat(3,1fr)}.metric{min-height:65px}.orders-card{height:auto;min-height:0}.inspector{position:fixed;right:0;box-shadow:-18px 0 50px #0f16272e}.toolbar-controls .select-control:nth-of-type(3),.period-select{display:none}.orders-toolbar{align-items:flex-start;flex-wrap:wrap}.orders-main-search{width:auto;flex:1 1 310px;max-width:100%}.toolbar-controls{flex-wrap:wrap}}@media(min-width:1100px)and (max-width:1320px){.app-shell.inspector-open .workspace{margin-right:384px}}@media(max-width:900px){.columns-popover{position:fixed;left:12px;right:auto;top:116px;max-height:calc(100vh - 128px)}.columns-list{max-height:calc(100vh - 224px)}.order-modal-backdrop{padding:12px}.order-modal-window{width:calc(100vw - 24px);height:calc(100vh - 24px)}.order-modal-window .inspector-head{min-height:116px;padding:20px 20px 15px}.order-modal-window .inspector-scroll{padding:0 20px 14px;grid-template-columns:1fr;grid-template-areas:"comments" "client" "delivery" "products" "history"}.order-modal-window .order-comments-section{grid-template-columns:1fr}.order-modal-window .order-comments-section .section-head{grid-column:1}.order-modal-window .inspector-actions{padding-inline:20px}.modal-status-footer .status-choice-list{flex-wrap:wrap}.modal-status-footer .status-choice{flex:1 0 auto}}.brand strong{font-size:18px}.brand span{font-size:11px}.nav-list button,.nav-list .pos-nav-link{font-size:14px}.nav-list button em,.nav-list .pos-nav-link em{font-size:11px}.order-product-heading-actions{align-items:center;display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.btn.compact{font-size:10px;height:29px;padding:0 10px;text-decoration:none}.movements-toolbar{align-items:center;flex-wrap:nowrap;row-gap:0}.movements-toolbar>div:first-child{min-width:250px;flex:1 1 340px}.movements-toolbar>div:first-child h2,.movements-toolbar>div:first-child p{white-space:nowrap}.movements-toolbar .warehouse-toolbar-controls{min-width:0;flex:1 1 850px;flex-wrap:nowrap}.movements-toolbar .warehouse-toolbar-controls .search-control{min-width:190px;max-width:none;flex:1 1 310px}.movements-toolbar .warehouse-toolbar-controls .warehouse-select{min-width:126px;max-width:190px;flex:0 1 190px}.movements-toolbar .movement-period-control,.movements-toolbar .columns-picker{flex:0 0 auto}.movement-date-filters{align-items:end;background:var(--surface-subtle);border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:7px;padding:8px 12px}.movement-date-filters>label{display:flex;flex-direction:column;gap:4px}.movement-date-filters>label>span{color:var(--text-muted);font-size:9.5px;font-weight:650}.movement-date-filters input{background:var(--surface);border:1px solid var(--border);border-radius:7px;color:var(--text);font-size:10px;height:31px;padding:0 9px}.movement-date-filters>button{align-items:center;background:transparent;border:0;color:var(--primary);display:flex;font-size:10px;gap:5px;height:31px;padding:0 7px}.movement-date-filters>span{color:var(--text-muted);font-size:9.5px;margin-left:auto;padding-bottom:7px}.movement-date-filters>span b{color:var(--text-secondary)}.movement-period-control{position:relative}.movement-period-control .orders-date-trigger{max-width:220px}.movement-row-delete{width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:7px;display:grid;place-items:center;color:var(--text-muted);background:transparent}.movement-row-delete:hover{border-color:#c43f553d;color:var(--danger);background:#c43f550f}.pos-sale-document-modal footer{display:flex;justify-content:flex-end;gap:7px}.pos-sale-document-modal footer .movement-delete-button{margin-right:auto;border-color:#c43f5540;color:var(--danger);background:#c43f550f}.pos-movement-row{cursor:pointer}.pos-movement-row:hover td{background:color-mix(in srgb,var(--primary) 5%,var(--surface))}.pos-movement-products{align-items:center;display:flex;gap:9px;min-width:210px}.pos-movement-products>span{align-items:center;background:var(--primary-soft);border-radius:8px;color:var(--primary);display:flex;flex:0 0 auto;height:32px;justify-content:center;width:32px}.pos-movement-products>div{display:flex;flex-direction:column;min-width:0}.pos-movement-products strong{font-size:10.5px}.pos-movement-products small{color:var(--text-muted);font-size:9px;line-height:1.35;margin-top:3px;white-space:normal}.pos-sale-document-modal{width:min(820px,calc(100vw - 48px))}.pos-sale-document-head{align-items:center;display:flex;gap:8px}.pos-sale-document-body{min-height:0;overflow-y:auto;padding:14px}.pos-sale-summary{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:13px}.pos-sale-summary>div{background:var(--surface-subtle);border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px}.pos-sale-summary span{color:var(--text-muted);font-size:9px}.pos-sale-summary strong{font-size:10.5px;overflow-wrap:anywhere}.pos-sale-items{border:1px solid var(--border);border-radius:9px;overflow:hidden}.pos-sale-items-head,.pos-sale-item{align-items:center;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) 90px 100px 110px}.pos-sale-items-head{background:var(--surface-subtle);color:var(--text-muted);font-size:9px;font-weight:650;padding:8px 11px}.pos-sale-item{border-top:1px solid var(--border);min-height:55px;padding:8px 11px}.pos-sale-item>div{align-items:center;display:flex;gap:9px;min-width:0}.pos-sale-item img{background:#fff;border:1px solid var(--border);border-radius:7px;height:38px;object-fit:contain;padding:3px;width:38px}.pos-sale-item>div>span{display:flex;flex-direction:column;min-width:0}.pos-sale-item strong{font-size:10.5px}.pos-sale-item small{color:var(--text-muted);font-size:9px;margin-top:3px}.pos-sale-item>b,.pos-sale-item>span{color:var(--text-secondary);font-size:10px}.pos-sale-document-total{align-items:center;display:flex;justify-content:space-between;padding:13px 2px 0}.pos-sale-document-total>span{color:var(--text-muted);font-size:10px}.pos-sale-document-total>div{align-items:baseline;display:flex;gap:12px}.pos-sale-document-total>div span{color:var(--text-muted);font-size:10px}.pos-sale-document-total>div strong{font-size:19px}.channel-card>strong{font-size:13px}.channel-card button{font-size:11.5px}.user-card strong{font-size:12.5px}.breadcrumbs{font-size:11.5px}.topbar h1{font-size:24px}.topbar p{font-size:12.5px}.sync-btn{font-size:12px}.metric span:not(.metric-icon){font-size:11.5px}.metric strong{font-size:20px}.metric small{font-size:10.5px}.toolbar-title h2{font-size:16px}.toolbar-title{min-width:140px}.toolbar-title h2{white-space:nowrap}.app-shell.inspector-open .period-select{display:none}.toolbar-title h2 span{font-size:10px}.toolbar-title p{font-size:10.5px}.search-control input,.select-control select,.btn{font-size:11.5px}.tab-buttons button{font-size:12px}.tab-buttons button span{font-size:10.5px}.columns-trigger{font-size:11.5px}.columns-trigger>span{font-size:10px}.columns-popover-head strong{font-size:13px}.columns-popover-head span{font-size:11px}.columns-list label{font-size:12px}.columns-list small,.columns-popover-footer span{font-size:10px}.columns-popover-footer button{font-size:11px}th{font-size:11.5px}td{height:66px;font-size:12.5px}.order-number{font-size:12px}.cell-stack strong{font-size:12.5px}.cell-stack span{font-size:11px}.badge{height:25px;font-size:11px}.table-footer{font-size:10.5px}.pagination button{font-size:11px}.eyebrow,.section-label{font-size:10.5px}.order-title-row h2{font-size:18px}.section-head h3{font-size:12.5px}.text-btn{font-size:10.5px}.client-card strong{font-size:11.5px}.client-card span,.product-copy strong{font-size:10.5px}.product-copy span{font-size:9.5px}.product-row>b{font-size:10.5px}.totals>span{font-size:10.5px}.totals .grand-total{font-size:11.5px}.grand-total b{font-size:14px}.delivery-grid dt,.delivery-grid dd{font-size:10.5px}.timeline-row time{font-size:9.5px}.timeline-row p{font-size:10.5px}.modal h2{font-size:18px}.modal p{font-size:11.5px}.field>span{font-size:10.5px}.field>input{font-size:12px}.toast{font-size:11px}.operations-workspace{padding-bottom:18px;display:flex;flex-direction:column}.operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.operations-metrics article{min-height:82px;padding:13px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;gap:11px}.operations-metrics article>span{width:36px;height:36px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center}.operations-metrics article>div{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px}.operations-metrics small{color:var(--text-secondary);font-size:10px;font-weight:600}.operations-metrics strong{grid-row:1 / 3;grid-column:2;color:var(--text);font-size:22px;line-height:1}.operations-metrics em{grid-column:1;color:var(--text-muted);font-size:9px;font-style:normal}.operations-card{flex:1;min-height:0;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column}.operations-card-head{min-height:72px;padding:12px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.operations-card-head h2,.analytics-card h2{margin:0;color:var(--text);font-size:14px}.operations-card-head h2 span{margin-left:5px;color:var(--primary);font-size:11px}.operations-card-head p,.analytics-card header p{margin:3px 0 0;color:var(--text-muted);font-size:9.5px}.operations-filters{display:flex;align-items:center;gap:7px}.operations-filters .search-control{width:230px;height:34px}.operations-filters .select-control{width:145px;height:34px}.operations-filters .select-control select{height:34px;font-size:10px}.operations-table-wrap{min-height:0;flex:1;overflow:auto}.operations-table{width:100%;min-width:1050px;border-collapse:collapse;table-layout:fixed}.operations-table th{height:41px;padding:0 12px;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-subtle);text-align:left;font-size:9px;font-weight:600}.operations-table td{height:66px;padding:7px 12px;border-bottom:1px solid var(--border);color:var(--text-secondary);vertical-align:middle;font-size:10px}.operations-table tbody tr{cursor:pointer;transition:background .12s ease}.operations-table tbody tr:hover{background:var(--surface-hover)}.operations-table td>strong,.operations-table td>span{display:block}.operations-table td>strong{overflow:hidden;color:var(--text);font-size:10.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.operations-table td>span{margin-top:3px;overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.delivery-table th:nth-child(1){width:88px}.delivery-table th:nth-child(2){width:155px}.delivery-table th:nth-child(3){width:185px}.delivery-table th:nth-child(4){width:155px}.delivery-table th:nth-child(5){width:148px}.delivery-table th:nth-child(6){width:105px}.delivery-table th:nth-child(7){width:115px}.delivery-table th:nth-child(8){width:112px}.tracking-number{padding:0;border:0;background:transparent;color:var(--primary);display:inline-flex;align-items:center;gap:5px;font:600 9.5px ui-monospace,SFMono-Regular,Menlo,monospace}.tracking-number:hover{text-decoration:underline}.tracking-empty{color:#bd7621!important;font-weight:600}.delivery-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.delivery-row-actions .btn{height:29px;padding:0 8px;font-size:9px}.delivery-row-actions .icon-btn{width:29px;height:29px}.operations-footer{min-height:43px;padding:0 14px;border-top:1px solid var(--border);color:var(--text-muted);display:flex;align-items:center;justify-content:space-between;font-size:9px}.operations-empty{min-height:250px;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.operations-empty strong{color:var(--text);font-size:12px}.operations-empty span{font-size:10px}.delivery-center-workspace{gap:0}.delivery-center-workspace .topbar h1{font-size:27px}.delivery-center-workspace .topbar p{font-size:12px}.delivery-sync-state{max-width:190px;display:flex;flex-direction:column;align-items:flex-end;gap:2px;color:var(--text-muted);font-size:10px}.delivery-sync-state small{max-width:190px;overflow:hidden;color:var(--danger);text-overflow:ellipsis;white-space:nowrap}.delivery-center-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.delivery-center-metrics>button{min-height:92px;padding:14px;border:1px solid var(--border);border-radius:11px;color:inherit;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.delivery-center-metrics>button:hover{transform:translateY(-1px);box-shadow:0 10px 24px #141f3814}.delivery-center-metrics>button.active{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.delivery-center-metrics>button>span{width:40px;height:40px;flex:0 0 auto;border-radius:10px;display:grid;place-items:center}.delivery-center-metrics>button>div{min-width:0;flex:1;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 8px}.delivery-center-metrics small{color:var(--text-secondary);font-size:11px;font-weight:700}.delivery-center-metrics strong{grid-column:2;grid-row:1 / 3;color:var(--text);font-size:24px;line-height:1}.delivery-center-metrics em{grid-column:1;color:var(--text-muted);font-size:9.5px;font-style:normal;line-height:1.35}.delivery-center-card .operations-card-head{min-height:82px}.delivery-center-card .operations-card-head h2{font-size:16px}.delivery-center-card .operations-card-head h2 span{font-size:12px}.delivery-center-card .operations-card-head p{font-size:10.5px}.delivery-center-card .operations-filters .search-control{width:245px;height:37px}.delivery-center-card .operations-filters .select-control{width:136px;height:37px}.delivery-center-card .operations-filters .select-control select{height:37px;font-size:10.5px}.delivery-center-card .columns-trigger.icon-only{width:37px;height:37px}.delivery-center-table{min-width:1120px}.delivery-center-table th{height:44px;padding-inline:12px;font-size:10.5px}.delivery-center-table td{height:74px;padding-inline:12px;font-size:11px}.delivery-center-table td>strong{font-size:12px}.delivery-center-table td>span{font-size:10px;line-height:1.35}.delivery-center-table .order-number{font-size:12px}.delivery-center-table .tracking-number{font-size:10.5px}.delivery-center-table .badge{font-size:10px}.delivery-center-table td:last-child{padding-inline:5px;text-align:center}.delivery-status-detail{margin-top:5px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}.delivery-center-card .operations-footer{min-height:48px;font-size:10.5px}@media(max-width:1280px){.delivery-center-metrics{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto}.delivery-center-card .operations-card-head{align-items:flex-start;flex-direction:column}.delivery-center-card .operations-filters{width:100%;flex-wrap:wrap}}.analytics-filter-row{min-height:44px;margin-bottom:10px;padding:5px 7px;border:1px solid var(--border);border-radius:9px;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:12px}.analytics-filter-row>span{padding-right:6px;color:var(--text-muted);font-size:9px}.analytics-source-tabs{display:flex;align-items:center;gap:4px}.analytics-source-tabs button{height:30px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:var(--text-secondary);display:inline-flex;align-items:center;gap:5px;font-size:9.5px;font-weight:600}.analytics-source-tabs button:hover{background:var(--surface-hover)}.analytics-source-tabs button.active{color:var(--primary);background:var(--primary-soft)}.analytics-period{width:135px;height:34px}.analytics-period select{height:34px;font-size:10px}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(310px,.92fr);gap:10px}.analytics-card{min-height:245px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.analytics-card>header{min-height:58px;padding:11px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.analytics-card header .text-btn{display:inline-flex;align-items:center;gap:3px}.channel-analytics-list{padding:5px 12px 10px}.channel-analytics-list>button{width:100%;min-height:57px;padding:7px 0;border:0;border-bottom:1px solid var(--border);background:transparent;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;text-align:left}.channel-analytics-list>button:last-child{border-bottom:0}.channel-analytics-list>button:hover strong{color:var(--primary)}.analytics-channel-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center}.analytics-channel-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.analytics-channel-copy strong{color:var(--text);font-size:10.5px}.analytics-channel-copy small{color:var(--text-muted);font-size:8.5px}.analytics-channel-copy i{width:100%;height:4px;overflow:hidden;border-radius:3px;background:var(--surface-hover)}.analytics-channel-copy i span{height:100%;border-radius:inherit;background:var(--primary);display:block}.channel-analytics-list>button>b{color:var(--text);font-size:10px}.analytics-status-list{padding:5px 12px 10px}.analytics-status-list button{width:100%;min-height:39px;padding:5px 0;border:0;border-bottom:1px solid var(--border);background:transparent;display:grid;grid-template-columns:minmax(0,1fr) auto 24px 12px;align-items:center;gap:7px;text-align:left}.analytics-status-list button:last-child{border-bottom:0}.analytics-status-list button:hover{color:var(--primary)}.analytics-status-list button>span:not(.badge){color:var(--text-muted);font-size:8.5px}.analytics-status-list button>strong{color:var(--text);font-size:10px;text-align:center}.analytics-products-list,.manager-analytics-list{padding:5px 12px 10px}.analytics-products-list>div,.manager-analytics-list>div{min-height:42px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px}.analytics-products-list>div:last-child,.manager-analytics-list>div:last-child{border-bottom:0}.analytics-products-list>div>span{width:20px;height:20px;border-radius:6px;color:var(--primary);background:var(--primary-soft);display:grid;place-items:center;font-size:9px;font-weight:700}.analytics-products-list div>div,.manager-analytics-list div>div{min-width:0;display:flex;flex-direction:column;gap:2px}.analytics-products-list strong,.manager-analytics-list strong{overflow:hidden;color:var(--text);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.analytics-products-list small,.manager-analytics-list small{color:var(--text-muted);font-size:8.5px}.analytics-products-list b,.manager-analytics-list b{color:var(--text);font-size:9.5px}.manager-analytics-list>div{grid-template-columns:30px 1fr auto;min-height:51px}.manager-analytics-list .avatar{width:28px;height:28px}@media(max-width:1180px){.operations-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-card-head{align-items:flex-start;flex-direction:column}.operations-filters{width:100%;flex-wrap:wrap}.operations-filters .search-control{flex:1}.analytics-grid{grid-template-columns:1fr}}textarea{font:inherit}.app-shell.messages-mode{grid-template-columns:216px minmax(0,1fr)}.messages-workspace{height:100dvh;min-height:0;padding:0 16px 16px;overflow:hidden;display:flex;flex-direction:column}.messages-topbar{height:88px;flex:0 0 auto}.messages-new-chat{height:36px}.messages-layout{min-height:0;flex:1 1 0;display:grid;grid-template-columns:minmax(250px,326px) minmax(360px,1fr) minmax(300px,360px);overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}.inbox-pane,.dialog-pane,.draft-pane{min-width:0;min-height:0;background:var(--surface)}.inbox-pane{display:flex;flex-direction:column;border-right:1px solid var(--border)}.inbox-head{height:56px;padding:0 14px 0 16px;display:flex;align-items:center;justify-content:space-between}.inbox-head>div{display:flex;align-items:center;gap:8px}.inbox-head h2,.draft-head h2{margin:0;font-size:16px;letter-spacing:-.25px}.inbox-head>div>span{min-width:24px;height:22px;padding:0 7px;border-radius:11px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:11px;font-weight:700}.inbox-head-actions{display:inline-flex;align-items:center;gap:2px}.inbox-head-actions .square-quiet:disabled{opacity:.36;cursor:default}.square-quiet{width:30px;height:30px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;color:var(--text-secondary);background:transparent}.square-quiet:hover{color:var(--text);background:var(--surface-hover)}.message-search{height:34px;margin:0 12px 9px;padding:0 9px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:7px;color:var(--text-muted);background:var(--surface-subtle)}.message-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #4f63ed17}.message-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:12px}.message-search input::placeholder{color:var(--text-muted)}.message-search button{width:18px;height:18px;padding:0;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.dialog-state-filters{min-height:40px;padding:0 11px 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-bottom:1px solid var(--border)}.dialog-state-filters button{min-width:0;height:30px;padding:0;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:var(--surface-subtle);display:grid;place-items:center}.dialog-state-filters button:hover{color:var(--text);border-color:var(--border)}.dialog-state-filters button.active{border-color:color-mix(in srgb,var(--primary) 25%,var(--border));color:var(--primary);background:var(--primary-soft)}.message-filters{min-height:42px;padding:0 11px 8px;display:flex;align-items:center;gap:5px;overflow-x:auto;border-bottom:1px solid var(--border);scrollbar-width:none}.message-filters::-webkit-scrollbar{display:none}.message-filters button{height:28px;padding:0 8px;border:1px solid var(--border);border-radius:14px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--text-secondary);background:var(--surface);font-size:10.5px}.message-filters button:hover{border-color:var(--border-strong);color:var(--text)}.message-filters button.active{border-color:#d8defe;color:var(--primary);background:var(--primary-soft);font-weight:600}.message-filters span{min-width:16px;height:16px;padding:0 4px;border-radius:8px;display:grid;place-items:center;background:var(--surface-subtle);color:var(--text-muted);font-size:9px}.message-filters .active span{background:var(--surface);color:var(--primary)}.message-filters>button>svg{flex:0 0 auto}.message-filters .message-tabs-settings{width:28px;flex:0 0 28px;padding:0;justify-content:center;border-style:dashed}.message-channel-editor-backdrop{position:fixed;z-index:7200;top:0;right:0;bottom:0;left:0;padding:18px;display:grid;place-items:center;background:#1f263761;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.message-channel-editor{width:min(680px,calc(100vw - 36px));max-height:min(720px,calc(100vh - 36px));overflow:hidden;border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 24px 70px #181f343b}.message-channel-editor>header{min-height:68px;padding:14px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.message-channel-editor>header h3{margin:0;font-size:15px}.message-channel-editor>header p{margin:3px 0 0;color:var(--text-muted);font-size:10.5px}.message-channel-editor>header button{width:30px;height:30px;padding:0;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;background:var(--surface)}.message-pinned-display-setting{margin:10px 16px 2px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--primary-soft)}.message-pinned-display-setting>span{display:flex;flex-direction:column;gap:3px}.message-pinned-display-setting strong{font-size:11px}.message-pinned-display-setting small{color:var(--text-muted);font-size:9.5px;line-height:1.35}.message-pinned-display-setting>button{width:34px;height:19px;padding:2px;flex:0 0 auto;border:0;border-radius:999px;display:flex;align-items:center;background:#cbd1db}.message-pinned-display-setting>button i{width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #141c2b40;transition:transform .16s ease}.message-pinned-display-setting>button.active{background:var(--primary)}.message-pinned-display-setting>button.active i{transform:translate(15px)}.message-channel-editor-list{padding:8px 16px;overflow-y:auto}.message-channel-editor-row{padding:10px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(160px,1fr) 42px auto auto auto;align-items:end;gap:10px}.message-channel-editor-row:last-child{border-bottom:0}.message-channel-editor-row label{display:flex;flex-direction:column;gap:6px}.message-channel-editor-row label>span{display:flex;align-items:center;gap:5px;color:var(--text-secondary);font-size:10px;font-weight:700}.message-channel-editor-row input{height:36px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font-size:12px}.message-channel-editor-row input:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.message-channel-editor-row .message-channel-color{gap:6px}.message-channel-editor-row .message-channel-color>span{font-size:10px}.message-channel-editor-row .message-channel-color input{width:42px;height:36px;padding:4px;cursor:pointer}.message-channel-editor-row .message-channel-icon-only{min-height:36px;padding:0 8px;border:1px solid var(--border);border-radius:8px;flex-direction:row;align-items:center;gap:5px;white-space:nowrap;background:var(--surface-subtle);cursor:pointer}.message-channel-editor-row .message-channel-icon-only input{width:14px;height:14px;padding:0;accent-color:var(--primary)}.message-channel-editor-row .message-channel-icon-only span{font-size:9px}.message-channel-editor-row .message-channel-icon-only.saving{opacity:.68;cursor:wait}.message-channel-icon-list{display:flex;gap:5px}.message-channel-icon-list button{width:32px;height:32px;padding:0;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;color:var(--text-secondary);background:var(--surface)}.message-channel-icon-list button.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.message-channel-remove{width:32px;height:32px;margin-bottom:1px;padding:0;border:1px solid color-mix(in srgb,var(--danger) 24%,var(--border));border-radius:8px;display:grid;place-items:center;color:var(--danger);background:color-mix(in srgb,var(--danger) 5%,var(--surface))}.message-channel-remove:hover{border-color:var(--danger);background:color-mix(in srgb,var(--danger) 10%,var(--surface))}.message-channel-protected{min-width:54px;height:32px;margin-bottom:1px;border-radius:8px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9px;font-weight:700}.message-channel-editor>footer{padding:10px 16px;border-top:1px solid var(--border);display:flex;justify-content:flex-end}.message-quick-status-editor{width:min(520px,calc(100vw - 36px))}.message-quick-status-list{padding:10px 16px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.message-quick-status-list label{min-width:0;min-height:38px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:8px;color:var(--text-secondary);background:var(--surface);font-size:10px;font-weight:650;cursor:pointer}.message-quick-status-list label.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.message-quick-status-list input{width:14px;height:14px;accent-color:var(--primary)}.message-quick-status-editor>footer{align-items:center;justify-content:space-between}.message-quick-status-editor>footer>span{color:var(--text-muted);font-size:9.5px}.conversation-list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.conversation-group{display:flex;flex-direction:column}.conversation-group-label{min-height:28px;padding:0 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9.5px;font-weight:700;letter-spacing:.42px;text-transform:uppercase}.conversation-item{width:100%;min-height:0;padding:8px 12px;position:relative;border:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:10px;text-align:left;background:transparent}.conversation-item:hover{background:var(--surface-hover)}.conversation-item:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.conversation-item.selected{background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}.conversation-item>:is(img,.conversation-avatar-fallback){width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--surface-subtle)}.conversation-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.conversation-title{min-width:0;padding-right:21px;display:flex;align-items:baseline;justify-content:space-between;gap:6px}.conversation-title strong{overflow:hidden;display:flex;align-items:center;gap:5px;text-overflow:ellipsis;color:var(--text);font-size:12.5px;white-space:nowrap}.conversation-name-channel-icon{width:18px;height:18px;flex:0 0 18px;border-radius:5px;display:inline-grid;place-items:center;color:var(--channel-color, var(--primary));background:color-mix(in srgb,var(--channel-color, var(--primary)) 12%,var(--surface))}.conversation-title time{color:var(--text-muted);font-size:10px;white-space:nowrap}.conversation-source{width:fit-content;display:inline-flex;align-items:center;gap:4px;color:#3978df;font-size:10px;line-height:1}.conversation-source.source-opencart{color:#3771d4}.conversation-source.source-telegramBot{color:#27a765}.conversation-source.source-viber{color:#7c58c8}.conversation-preview{overflow:hidden;color:var(--text-secondary);font-size:11px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.conversation-item>em{width:19px;height:19px;position:absolute;right:12px;bottom:12px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--primary);font-size:10px;font-style:normal;font-weight:700}.conversation-pin{width:22px;height:22px;padding:0;position:absolute;top:7px;right:8px;border:0;border-radius:6px;display:grid;place-items:center;color:var(--text-muted);background:transparent;opacity:0;transition:opacity .14s ease,color .14s ease,background .14s ease}.conversation-item:hover .conversation-pin,.conversation-pin:focus-visible,.conversation-pin.active{opacity:1}.conversation-pin:hover{color:var(--primary);background:var(--primary-soft)}.conversation-pin.active{color:var(--primary)}.conversation-item.status-closed{opacity:.78}.conversation-item.status-blocked{background:color-mix(in srgb,#c43f55 5%,var(--surface))}.conversation-limit-note{min-height:41px;padding:7px 12px;border-top:1px solid var(--border);display:flex;flex-direction:column;justify-content:center;gap:2px;color:var(--text-muted);background:var(--surface-subtle)}.conversation-limit-note span{font-size:10px;font-weight:650}.conversation-limit-note small{font-size:9.5px}.messages-empty{padding:46px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--text-muted);font-size:12px}.dialog-pane{display:flex;flex-direction:column;background:var(--surface-subtle);border-right:1px solid var(--border)}.dialog-head{height:56px;padding:0 12px 0 15px;flex:0 0 auto;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:9px;background:var(--surface)}.dialog-person{min-width:0;flex:1;display:flex;align-items:center;gap:9px}.dialog-person>:is(img,.conversation-avatar-fallback){width:32px;height:32px;border-radius:50%;object-fit:cover}.dialog-person>div{min-width:0;display:flex;flex-direction:column;gap:2px}.dialog-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;display:flex;align-items:center;gap:6px}.dialog-channel-icon{width:20px;height:20px;flex:0 0 auto;border-radius:6px;display:inline-grid;place-items:center;color:#3294e0;background:#eaf5ff;font-style:normal}.dialog-channel-icon.source-viber{color:#7653cf;background:#f3eafb}.dialog-channel-icon.source-telegramBot{color:#23854d;background:#e8f7ed}.dialog-person span{overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px}.dialog-head .source-badge{height:24px}.dialog-actions-menu{position:relative}.dialog-actions-popover{width:190px;padding:5px;position:absolute;z-index:30;right:0;top:35px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 16px 38px #141b2e29;display:flex;flex-direction:column}.dialog-actions-popover button{min-height:34px;padding:0 9px;border:0;border-radius:6px;color:var(--text-secondary);background:transparent;display:flex;align-items:center;gap:8px;font-size:10px;text-align:left}.dialog-actions-popover button:hover{color:var(--text);background:var(--surface-hover)}.dialog-actions-popover button.danger{color:var(--danger)}.messages-feed{flex:1;min-height:0;padding:12px 20px 8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.day-marker{margin:0 0 12px;display:flex;align-items:center;justify-content:center}.day-marker span{height:24px;padding:0 10px;border:1px solid var(--border);border-radius:12px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface);font-size:10px}.message-row{margin-bottom:12px;display:flex;align-items:flex-end;gap:7px}.message-row.incoming{padding-right:16%}.message-row.outgoing{justify-content:flex-end;padding-left:9%}.message-row>:is(img,.conversation-avatar-fallback){width:27px;height:27px;border-radius:50%;object-fit:cover}.message-stack{min-width:0;max-width:430px}.message-stack.with-products{width:min(455px,100%);max-width:455px}.message-bubble{padding:10px 12px 7px;border:1px solid var(--border);border-radius:11px 11px 11px 3px;background:var(--surface);box-shadow:0 1px 2px #19223706}.message-row.outgoing .message-bubble{border-color:#d8e5ff;border-radius:11px 11px 3px;background:#eaf2ff}:root[data-theme=dark] .message-row.outgoing .message-bubble{border-color:#34456c;background:#243354}.message-bubble p{margin:0;color:var(--text);font-size:11.5px;line-height:17px;white-space:pre-line}.message-bubble time{margin-top:3px;display:flex;align-items:center;justify-content:flex-end;gap:3px;color:var(--text-muted);font-size:9.5px}.message-row.outgoing .message-bubble time{color:#6283bd}.recommendations{margin-top:6px;padding:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border:1px solid #d8e5ff;border-radius:9px;background:#eaf2ff}:root[data-theme=dark] .recommendations{border-color:#34456c;background:#243354}.recommendations article{min-width:0;padding:7px;border:1px solid rgba(205,218,240,.85);border-radius:7px;display:flex;flex-direction:column;background:var(--surface)}.recommendation-image{height:96px;margin-bottom:7px;display:grid;place-items:center}.recommendation-image img{width:78px;height:94px;object-fit:contain}.recommendations strong{min-height:28px;overflow:hidden;color:var(--text);font-size:11px;line-height:14px}.recommendations span{margin-top:2px;min-height:26px;overflow:hidden;color:var(--text-muted);font-size:9px;line-height:13px}.recommendations b{margin-top:6px;color:var(--text);font-size:11px}.recommendations small{margin-top:3px;color:#28a65f;font-size:9px}.dialog-order-actions{padding:8px 12px;flex:0 0 auto;border-top:1px solid var(--border);display:flex;justify-content:center;gap:7px;background:var(--surface)}.dialog-order-actions .btn{height:35px}.dialog-order-actions .admin-note-toggle{padding-inline:9px}.dialog-order-actions .admin-note-toggle.has-note{border-color:#d8c7f3;color:#7653cf;background:#f5effd}.message-composer{min-height:52px;padding:7px 9px;flex:0 0 auto;border-top:1px solid var(--border);display:flex;align-items:flex-end;gap:4px;background:var(--surface)}.message-composer>button{width:34px;height:34px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;color:var(--text-muted);background:transparent}.message-composer>button:hover{color:var(--text);background:var(--surface-hover)}.message-composer textarea{min-width:0;flex:1;min-height:36px;max-height:144px;padding:8px 6px;border:0;outline:0;resize:none;overflow-y:auto;field-sizing:content;color:var(--text);background:transparent;font:inherit;font-size:12px;line-height:20px}.message-composer textarea::placeholder{color:var(--text-muted)}.message-composer .send-message{color:#fff;background:var(--primary)}.message-composer .send-message:hover{color:#fff;background:var(--primary-hover)}.message-composer .send-message:disabled{opacity:.48;cursor:not-allowed}.message-template-picker{position:relative}.message-template-picker>button{width:34px;height:34px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;color:var(--text-muted);background:transparent}.message-template-picker>button.active{color:var(--primary);background:var(--primary-soft)}.message-template-picker>div{width:275px;max-height:250px;padding:6px;position:absolute;z-index:25;bottom:41px;right:-42px;overflow-y:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 18px 44px #141b2e2e}.message-template-picker>div>button{width:100%;min-height:54px;padding:7px 8px;border:0;border-radius:7px;background:transparent;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}.message-template-picker>div>button:hover{background:var(--surface-hover)}.message-template-picker strong{font-size:10.5px}.message-template-picker span{max-width:100%;overflow:hidden;color:var(--text-muted);font-size:9.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.admin-note-panel{padding:9px 12px;flex:0 0 auto;border-top:1px solid #e5d9f7;background:color-mix(in srgb,#f3eafb 55%,var(--surface))}.admin-note-panel>div{margin-bottom:6px;display:flex;align-items:center;gap:7px;color:#7653cf}.admin-note-panel>div>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.admin-note-panel strong{font-size:10px}.admin-note-panel small{color:var(--text-muted);font-size:8.5px}.admin-note-panel>div>button{width:22px;height:22px;border:0;border-radius:5px;color:var(--text-muted);background:transparent;display:grid;place-items:center}.admin-note-panel textarea{width:100%;min-height:58px;padding:8px 9px;border:1px solid #ddd0f0;border-radius:7px;outline:0;resize:vertical;color:var(--text);background:var(--surface);font-size:10.5px;line-height:1.4}.admin-note-panel textarea:focus{border-color:#7653cf;box-shadow:0 0 0 2px #7653cf17}.message-blocked-notice{min-height:56px;padding:8px 13px;flex:0 0 auto;border-top:1px solid rgba(196,63,85,.18);color:var(--danger);background:color-mix(in srgb,#fdecef 65%,var(--surface));display:flex;align-items:center;gap:9px}.message-blocked-notice>div{display:flex;flex-direction:column;gap:3px}.message-blocked-notice strong{font-size:10.5px}.message-blocked-notice small{color:var(--text-muted);font-size:9px}.message-receive-only{min-height:58px;padding:8px 13px;flex:0 0 auto;border-top:1px solid var(--border);background:var(--surface);display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px}.message-receive-only>span{width:34px;height:34px;border-radius:9px;color:#23854d;background:#e8f7ed;display:grid;place-items:center}.message-receive-only>div{display:flex;flex-direction:column;gap:3px}.message-receive-only strong{font-size:11px}.message-receive-only small{color:var(--text-muted);font-size:9.5px;line-height:1.35}.dialog-order-actions .linked-order-button{border-color:#bfe6cd;color:#23854d;background:#edf9f1}:root[data-theme=dark] .dialog-order-actions .linked-order-button{border-color:#315e43;color:#6bd395;background:#1c3025}.draft-pane{display:flex;flex-direction:column}.draft-head{height:56px;padding:0 12px 0 14px;flex:0 0 auto;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.draft-head>div{display:flex;flex-direction:column;gap:1px}.draft-head>div>span{color:var(--text-muted);font-size:9.5px;text-transform:uppercase;letter-spacing:.65px}.draft-head h2{font-size:15px}.draft-head .btn{height:34px}.draft-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.draft-section{padding:12px 13px;border-bottom:1px solid var(--border)}.draft-section-head{min-height:22px;margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.draft-section-head h3{margin:0;font-size:12.5px}.draft-section-head h3 span{min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:9px;display:inline-grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.draft-section-head button{padding:0;border:0;display:inline-flex;align-items:center;gap:4px;color:var(--primary);background:transparent;font-size:10.5px;font-weight:600}.draft-products{display:flex;flex-direction:column;gap:4px}.draft-product{min-height:50px;padding:5px 0;display:grid;grid-template-columns:36px minmax(0,1fr) 71px 53px;align-items:center;gap:7px}.draft-product>img{width:36px;height:40px;padding:2px;object-fit:contain;border:1px solid var(--border);border-radius:7px;background:var(--surface-subtle)}.draft-product>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.draft-product>div:nth-child(2) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}.draft-product>div:nth-child(2) span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:8.5px}.quantity-control{height:27px;border:1px solid var(--border);border-radius:6px;display:grid;grid-template-columns:22px 25px 22px;align-items:center;overflow:hidden}.quantity-control button{height:100%;padding:0;border:0;color:var(--text-secondary);background:var(--surface-subtle);font-size:14px}.quantity-control button:hover{color:var(--primary);background:var(--primary-soft)}.quantity-control b{text-align:center;font-size:10px}.draft-price{text-align:right;white-space:nowrap;font-size:10.5px}.draft-totals{margin-top:9px;padding-top:9px;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:6px}.draft-totals span{display:flex;justify-content:space-between;color:var(--text-muted);font-size:10.5px}.draft-totals b{color:var(--text);font-weight:600}.draft-totals .draft-grand{margin-top:2px;padding-top:8px;border-top:1px solid var(--border);color:var(--text);font-size:12px}.draft-totals .draft-grand b{color:var(--primary);font-size:15px}.draft-client{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:9px}.draft-client>img{width:38px;height:38px;border-radius:50%;object-fit:cover}.draft-client>div{min-width:0;display:flex;flex-direction:column;gap:2px}.draft-client strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.draft-client span{color:var(--text-muted);font-size:10px}.draft-client>button{width:30px;height:30px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;color:#3294e0;background:#eaf5ff}.draft-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.draft-two-columns label,.draft-field{min-width:0;display:flex;flex-direction:column;gap:5px}.draft-two-columns label>span,.draft-field>span{color:var(--text-muted);font-size:10px}.draft-two-columns .select-control,.draft-field .select-control{width:100%;min-width:0}.draft-delivery{margin:9px 0 0;display:flex;flex-direction:column;gap:7px}.draft-delivery>div{display:grid;grid-template-columns:82px 1fr;gap:8px}.draft-delivery dt{color:var(--text-muted);font-size:10px}.draft-delivery dd{margin:0;text-align:right;color:var(--text);font-size:10px;font-weight:500}.draft-delivery dd.muted{color:var(--text-muted);font-weight:400}.draft-section textarea{width:100%;height:64px;padding:9px 10px;resize:vertical;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface-subtle);font-size:11px;line-height:16px}.draft-section textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #4f63ed17}.linked-order-banner{min-height:58px;padding:9px 12px;border-bottom:1px solid #cce9d6;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;color:#23854d;background:#edf9f1}.linked-order-banner>div{min-width:0;display:flex;flex-direction:column;gap:2px}.linked-order-banner strong{font-size:10.5px}.linked-order-banner span{overflow:hidden;color:#558267;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.linked-order-banner button{padding:4px;border:0;color:#23854d;background:transparent;font-size:9.5px;font-weight:600}:root[data-theme=dark] .linked-order-banner{border-color:#315e43;color:#6bd395;background:#1c3025}:root[data-theme=dark] .linked-order-banner span{color:#82ae93}:root[data-theme=dark] .linked-order-banner button{color:#6bd395}.attach-backdrop{padding:24px}.attach-order-modal{width:min(680px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 26px 80px #0c121f3d;animation:attach-modal-in .18s ease both}@keyframes attach-modal-in{0%{opacity:0;transform:translateY(8px) scale(.99)}}.attach-modal-head{min-height:88px;padding:16px 17px 13px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.attach-modal-head h2{margin:5px 0 0;font-size:18px;letter-spacing:-.3px}.attach-modal-head p{margin:5px 0 0;color:var(--text-muted);font-size:11.5px}.attach-client-strip{min-height:58px;padding:9px 17px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;background:var(--surface-subtle)}.attach-client-strip>:is(img,.conversation-avatar-fallback){width:38px;height:38px;border-radius:50%;object-fit:cover}.attach-client-strip>div{min-width:0;display:flex;flex-direction:column;gap:3px}.attach-client-strip strong{font-size:12px}.attach-client-strip span{overflow:hidden;color:var(--text-muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.attach-search{height:38px;margin:12px 17px 9px;padding:0 10px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:8px;color:var(--text-muted);background:var(--surface)}.attach-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #4f63ed17}.attach-search input{min-width:0;flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:12px}.attach-search input::placeholder{color:var(--text-muted)}.attach-search button{width:20px;height:20px;padding:0;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.attach-orders-list{min-height:180px;max-height:390px;padding:0 10px 9px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.attach-order-row{width:100%;min-height:64px;padding:8px 9px;border:1px solid transparent;border-bottom-color:var(--border);display:grid;grid-template-columns:20px minmax(155px,1.4fr) 105px 105px 116px;align-items:center;gap:9px;text-align:left;background:transparent}.attach-order-row:hover{border-radius:8px;background:var(--surface-hover)}.attach-order-row.selected{border-color:#d6dcff;border-radius:8px;background:var(--primary-soft)}.attach-radio{width:17px;height:17px;border:1.5px solid var(--border-strong);border-radius:50%;display:grid;place-items:center;color:#fff}.attach-order-row.selected .attach-radio{border-color:var(--primary);background:var(--primary)}.attach-order-main{min-width:0;display:flex;flex-direction:column;gap:5px}.attach-order-main>span:first-child{display:flex;align-items:center;gap:6px}.attach-order-main strong{color:var(--text);font-size:12px}.attach-order-main em{height:18px;padding:0 6px;border-radius:9px;display:inline-grid;place-items:center;color:#23854d;background:#e3f5e9;font-size:8.5px;font-style:normal;font-weight:700}.attach-order-main>span:last-child{overflow:hidden;color:var(--text-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.attach-order-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.attach-order-meta strong{font-size:11.5px;white-space:nowrap}.attach-order-meta small{color:var(--text-muted);font-size:9px;white-space:nowrap}.attach-order-row>.badge{justify-self:end}.attach-empty{height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text-muted)}.attach-empty strong{color:var(--text);font-size:12px}.attach-empty span{font-size:10.5px}.attach-search-error{color:var(--danger)}.attach-search-error span{max-width:360px;color:var(--text-muted);text-align:center}.attach-modal-footer{min-height:62px;padding:10px 17px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface-subtle)}.attach-modal-footer>span{color:var(--text-muted);font-size:10.5px}.attach-modal-footer>div{display:flex;gap:7px}.attach-modal-footer .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.message-template-head-actions{display:flex;align-items:center;gap:7px}.message-template-settings-list{display:flex;flex-direction:column;gap:6px}.message-template-settings-list details{border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle);overflow:clip}.message-template-settings-list summary{min-height:48px;padding:8px 10px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none}.message-template-settings-list summary::-webkit-details-marker{display:none}.message-template-settings-list summary>span{min-width:0;display:grid;gap:2px}.message-template-settings-list summary strong{color:var(--text);font-size:11px;line-height:1.15}.message-template-settings-list summary small{color:var(--text-muted);font-size:9.5px}.message-template-settings-list summary>svg{color:var(--text-muted);transition:transform .16s ease;flex:0 0 auto}.message-template-settings-list details[open] summary{border-bottom:1px solid var(--border);background:var(--surface)}.message-template-settings-list details[open] summary>svg{transform:rotate(180deg)}.message-template-editor{padding:8px 10px 10px}.message-template-editor>div{margin-bottom:7px;display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:7px}.message-template-settings-list input,.message-template-settings-list textarea{width:100%;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit}.message-template-settings-list input{min-height:32px;padding:0 9px;font-size:10.5px;font-weight:650}.message-template-settings-list textarea{min-height:64px;padding:8px 9px;resize:vertical;font-size:10px;line-height:1.4}.message-template-settings-list input:focus,.message-template-settings-list textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.message-template-editor>div>button{width:30px;height:32px;border:1px solid transparent;border-radius:7px;color:var(--danger);background:transparent;display:grid;place-items:center}.message-template-editor>div>button:hover{border-color:#c43f552e;background:#c43f550f}.settings-empty-list{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted)}.settings-empty-list strong{color:var(--text);font-size:11px}.settings-empty-list span{font-size:9px}.notification-destinations{align-items:end;margin-bottom:12px}.notification-coming-soon{min-height:58px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.notification-coming-soon strong{width:100%;font-size:10px;color:var(--text-muted)}.notification-coming-soon span{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 8px;border:1px dashed var(--border-strong);border-radius:7px;color:var(--text-muted);font-size:9.5px}.delivery-sender-summary{min-height:54px;padding:9px 0 13px;display:flex;align-items:center;gap:9px}.delivery-sender-summary>span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px}.delivery-sender-summary>div{display:grid;gap:2px;flex:1}.delivery-sender-summary strong{font-size:11px}.delivery-sender-summary small{color:var(--text-muted);font-size:9.5px}@media(max-width:1500px){.messages-layout{grid-template-columns:minmax(250px,290px) minmax(360px,1fr) minmax(300px,330px)}.messages-feed{padding-inline:13px}.dialog-order-actions{padding-inline:8px;gap:5px}.dialog-order-actions .btn{min-width:0;padding-inline:8px;font-size:10px}.draft-product{grid-template-columns:34px minmax(0,1fr) 68px 50px;gap:5px}}@media(max-height:760px){.messages-topbar{height:70px}.messages-layout{border-radius:10px}.messages-feed{padding-top:8px;padding-bottom:5px}.dialog-order-actions{padding-block:6px}}.page-workspace{height:100dvh;min-height:0;padding:0 16px 16px}.page-topbar{height:88px}.page-topbar .select-control{min-width:112px;background:var(--surface)}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}.overview-metric{min-height:82px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;gap:11px;background:var(--surface);box-shadow:var(--shadow)}.overview-metric .metric-icon{width:34px;height:34px}.overview-metric>div{min-width:0;display:flex;flex-direction:column}.overview-metric>div>span{color:var(--text-secondary);font-size:11.5px}.overview-metric strong{margin-top:3px;overflow:hidden;color:var(--text);font-size:20px;letter-spacing:-.45px;text-overflow:ellipsis;white-space:nowrap}.overview-metric small{margin-top:3px;color:var(--text-muted);font-size:10px}.dashboard-grid{height:calc(100vh - 196px);min-height:620px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);grid-template-rows:250px minmax(350px,1fr);gap:10px}.dashboard-card{min-width:0;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;display:flex;flex-direction:column;background:var(--surface);box-shadow:var(--shadow)}.dashboard-card-head{min-height:58px;padding:11px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-card-head>div{min-width:0}.dashboard-card-head h2{margin:0;font-size:14px;letter-spacing:-.2px}.dashboard-card-head h2 span{min-width:20px;height:19px;margin-left:4px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:10px}.dashboard-card-head p{margin:4px 0 0;color:var(--text-muted);font-size:10px}.dashboard-card-head>button{padding:4px 0;border:0;display:inline-flex;align-items:center;gap:4px;color:var(--primary);background:transparent;font-size:10.5px;font-weight:600;white-space:nowrap}.channel-summary-list{flex:1;padding:4px 7px;display:flex;flex-direction:column}.channel-summary-list>button{flex:1;min-height:48px;padding:5px 7px;border:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:32px minmax(0,1fr) auto 14px;align-items:center;gap:9px;text-align:left;background:transparent}.channel-summary-list>button:last-child{border-bottom:0}.channel-summary-list>button:hover{border-radius:7px;background:var(--surface-hover)}.dashboard-channel-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.channel-summary-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.channel-summary-copy strong{font-size:11.5px}.channel-summary-copy small{color:var(--text-muted);font-size:9.5px}.channel-summary-list>button>b{font-size:11.5px}.channel-summary-list>button>svg{color:var(--text-muted)}.channel-summary-total{height:40px;padding:0 13px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;background:var(--surface-subtle)}.channel-summary-total span{color:var(--text-muted);font-size:10px}.channel-summary-total strong,.channel-summary-total b{font-size:11px}.channel-summary-total b{color:var(--primary)}.dashboard-message-list{flex:1;min-height:0;padding:3px 7px;display:flex;flex-direction:column}.dashboard-message-list>button{flex:1;min-height:44px;padding:5px 6px;position:relative;border:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;background:transparent}.dashboard-message-list>button:last-child{border-bottom:0}.dashboard-message-list>button:hover{border-radius:7px;background:var(--surface-hover)}.dashboard-message-list img{width:34px;height:34px;border-radius:50%;object-fit:cover}.dashboard-message-list>button>span{min-width:0;display:flex;flex-direction:column;gap:3px}.dashboard-message-list strong{font-size:11px}.dashboard-message-list small{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-message-list time{align-self:start;margin-top:4px;color:var(--text-muted);font-size:9px}.dashboard-message-list em{width:17px;height:17px;position:absolute;right:5px;bottom:5px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--primary);font-size:8.5px;font-style:normal;font-weight:700}.recent-orders-card{min-width:0}.dashboard-table-wrap{flex:1;min-height:0;overflow:auto}.dashboard-table-wrap table{min-width:730px}.dashboard-table-wrap th{height:34px;font-size:10px}.dashboard-table-wrap td{height:54px;padding-block:6px;font-size:11px}.dashboard-table-wrap .cell-stack strong{font-size:11px}.dashboard-table-wrap .cell-stack span{font-size:9.5px}.dashboard-table-wrap .badge{height:23px;font-size:9.5px}.stock-alert-list{padding:4px 8px;display:flex;flex-direction:column}.stock-alert-list>button{min-height:52px;padding:5px 4px;border:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;background:transparent}.stock-alert-list>button:hover{background:var(--surface-hover)}.stock-alert-list img{width:38px;height:40px;padding:3px;border:1px solid var(--border);border-radius:7px;object-fit:contain;background:var(--surface-subtle)}.stock-alert-list>button>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.stock-alert-list strong{overflow:hidden;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.stock-alert-list small{color:var(--text-muted);font-size:9px}.dashboard-task{min-height:58px;margin:7px 10px 10px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;background:var(--surface-subtle)}.dashboard-task>span{width:30px;height:30px;border-radius:7px;display:grid;place-items:center}.dashboard-task>div{min-width:0;display:flex;flex-direction:column;gap:3px}.dashboard-task strong{font-size:10.5px}.dashboard-task small{color:var(--text-muted);font-size:9px}.dashboard-task button{border:0;color:var(--primary);background:transparent;font-size:9.5px;font-weight:600}.dashboard-activity-list{margin-top:auto;border-top:1px solid var(--border);padding:7px 10px 9px}.dashboard-activity-title{min-height:27px;display:flex;align-items:center;justify-content:space-between}.dashboard-activity-title strong{font-size:10.5px}.dashboard-activity-title span{color:var(--text-muted);font-size:8.5px}.dashboard-activity-list>button{width:100%;min-height:34px;padding:3px 2px;border:0;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:7px;text-align:left;background:transparent}.dashboard-activity-list>button:hover{border-radius:6px;background:var(--surface-hover)}.dashboard-activity-list>button>span{width:23px;height:23px;border-radius:6px;display:grid;place-items:center}.dashboard-activity-list>button>div{display:flex;flex-direction:column;gap:2px}.dashboard-activity-list>button strong{font-size:9.5px}.dashboard-activity-list>button small{color:var(--text-muted);font-size:8.5px}.entity-workspace{display:flex;flex-direction:column}.entity-metrics{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.entity-metrics article{min-height:72px;padding:11px 13px;border:1px solid var(--border);border-radius:10px;display:flex;align-items:flex-start;gap:10px;color:var(--primary);background:var(--surface);box-shadow:var(--shadow)}.entity-metrics article>div{display:flex;flex-direction:column}.entity-metrics span{color:var(--text-secondary);font-size:10.5px}.entity-metrics strong{margin-top:3px;color:var(--text);font-size:18px}.entity-metrics small{margin-top:2px;color:var(--text-muted);font-size:9.5px}.products-metrics article:nth-child(2){color:#2ea35f}.products-metrics article:nth-child(3){color:#db8d19}.products-metrics article:nth-child(4){color:#d3485a}.clients-metrics article:nth-child(2){color:#199dc0}.clients-metrics article:nth-child(3){color:#7e59d9}.clients-metrics article:nth-child(4){color:#2ea35f}.entity-card{flex:1;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:minmax(0,1fr) 326px;background:var(--surface);box-shadow:var(--shadow)}.entity-main{min-width:0;min-height:0;display:flex;flex-direction:column}.entity-toolbar{min-height:66px;padding:11px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px}.entity-toolbar>div:first-child{min-width:155px}.entity-toolbar h2{margin:0;font-size:15px}.entity-toolbar h2 span{min-width:20px;height:19px;margin-left:4px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.entity-toolbar p{margin:4px 0 0;color:var(--text-muted);font-size:9.5px}.entity-toolbar-controls{min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;gap:6px}.entity-toolbar-controls .search-control{max-width:280px}.clients-primary-search{width:min(560px,55%);min-height:38px}.clients-card .entity-toolbar>.clients-primary-search+.entity-toolbar-controls{flex:1}.entity-segments{height:41px;flex:0 0 41px;padding:0 13px;border-bottom:1px solid var(--border);display:flex;align-items:flex-end;gap:20px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.entity-segments::-webkit-scrollbar{display:none}.entity-segments button{height:41px;padding:0;position:relative;border:0;color:var(--text-muted);background:transparent;font-size:11px;white-space:nowrap}.entity-segments button.active{color:var(--primary);font-weight:600}.entity-segments button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:var(--primary)}.entity-segments button span{margin-left:5px;padding:2px 5px;border-radius:7px;background:var(--surface-subtle);font-size:9px}.entity-table-wrap{flex:1;min-height:0;overflow:auto}.clients-table{width:100%;min-width:760px}.products-table{min-width:850px}.entity-table-wrap th{height:36px;font-size:11px}.entity-table-wrap td{height:60px;padding-block:6px;font-size:11.5px}.entity-table-wrap .cell-stack strong{font-size:11.5px}.entity-table-wrap .cell-stack span{font-size:10px}.entity-person,.product-table-name{min-width:0;display:flex;align-items:center;gap:8px}.entity-person img{width:34px;height:34px;border-radius:50%;object-fit:cover}.entity-avatar-fallback{width:34px;height:34px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.entity-avatar-fallback.vip{color:#9a6800;background:#fff2c7;box-shadow:inset 0 0 0 1px #cd910f3d}.clients-table .vip-client-row{background:color-mix(in srgb,#f4b832 8%,var(--surface))}.clients-table .vip-client-row:hover{background:color-mix(in srgb,#f4b832 13%,var(--surface))}.clients-table .vip-client-row.selected{background:color-mix(in srgb,#f4b832 17%,var(--primary-soft))}.client-vip-crown{flex:0 0 auto;margin-left:5px;color:#d39a16;vertical-align:-2px}.entity-person strong,.client-inspector>header h2{display:flex;align-items:center}.entity-person strong,.entity-inspector>header h2{align-items:center}.entity-person strong{display:flex}.entity-person>div,.product-table-name>div{min-width:0;display:flex;flex-direction:column;gap:3px}.entity-person strong,.product-table-name strong{overflow:hidden;color:var(--text);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.entity-person span,.product-table-name span{color:var(--text-muted);font-size:10px}.product-table-name img{width:36px;height:40px;padding:2px;border:1px solid var(--border);border-radius:7px;object-fit:contain;background:var(--surface-subtle)}.low-stock{color:#c3780a}.mini-channel-stack{display:flex}.mini-channel-stack span{width:21px;height:21px;margin-right:-3px;border:2px solid var(--surface);border-radius:50%;display:grid;place-items:center}.entity-inspector{min-width:0;min-height:0;border-left:1px solid var(--border);display:flex;flex-direction:column;background:var(--surface)}.entity-inspector>header{min-height:75px;padding:12px 13px;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:6px 8px}.entity-inspector>header .eyebrow{width:100%}.entity-inspector>header h2{min-width:0;flex:1;margin:0;overflow:hidden;font-size:15px;letter-spacing:-.2px;text-overflow:ellipsis;white-space:nowrap}.entity-inspector-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.entity-inspector>footer{padding:9px 11px 11px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:6px}.client-profile-hero,.product-profile-hero{padding:14px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;align-items:center}.client-profile-hero>img{width:58px;height:58px;border-radius:50%;object-fit:cover}.client-avatar-fallback{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.client-profile-hero>strong{margin-top:8px;font-size:13px}.client-profile-hero>span{margin:3px 0 7px;color:var(--text-muted);font-size:10px}.client-profile-hero.vip{background:linear-gradient(180deg,rgba(255,244,207,.62),transparent)}.entity-detail-section{padding:12px 13px;border-bottom:1px solid var(--border)}.entity-detail-section h3{margin:0 0 9px;font-size:11.5px}.entity-detail-section dl{margin:0;display:flex;flex-direction:column;gap:7px}.entity-detail-section dl>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px}.entity-detail-section dt{color:var(--text-muted);font-size:10px}.entity-detail-section dd{margin:0;overflow:hidden;text-align:right;font-size:10px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.client-value-grid{padding:10px 13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:7px}.client-value-grid>div{min-height:55px;padding:8px;border:1px solid var(--border);border-radius:7px;display:flex;flex-direction:column;gap:4px;background:var(--surface-subtle)}.client-value-grid span{color:var(--text-muted);font-size:9px}.client-value-grid strong{font-size:11.5px}.compact-activity{min-height:37px;display:grid;grid-template-columns:25px 1fr;align-items:center;gap:7px}.compact-activity>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.compact-activity>div{display:flex;flex-direction:column;gap:2px}.compact-activity strong{font-size:10px}.compact-activity small{color:var(--text-muted);font-size:9px}.product-profile-hero>div{width:92px;height:100px;display:grid;place-items:center}.product-profile-hero img{width:86px;height:96px;object-fit:contain}.product-profile-hero>strong{margin-top:5px;font-size:12.5px}.product-profile-hero>span{margin-top:3px;color:var(--text-muted);font-size:10px}.product-profile-hero>small{margin-top:4px;color:var(--text-secondary);font-size:9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.product-price-grid{padding:10px 13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.product-price-grid>div{min-height:48px;padding:7px;border:1px solid var(--border);border-radius:7px;display:flex;flex-direction:column;gap:4px;background:var(--surface-subtle)}.product-price-grid span{color:var(--text-muted);font-size:8.5px}.product-price-grid strong{font-size:11px}.stock-control{height:48px;margin-bottom:9px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:40px 1fr 40px;overflow:hidden}.stock-control>button{border:0;color:var(--primary);background:var(--primary-soft);font-size:19px}.stock-control>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.stock-control strong{font-size:14px}.stock-control span{color:var(--text-muted);font-size:8.5px}.product-channel-list{display:flex;flex-direction:column;gap:5px}.product-channel-list button{min-height:37px;padding:5px 7px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:7px;text-align:left;background:var(--surface)}.product-channel-list button.active{border-color:#cce9d6;background:#edf9f1}.product-channel-list button>span{width:24px;height:24px;border-radius:6px;display:grid;place-items:center}.product-channel-list strong{font-size:10px}.product-channel-list i{color:var(--text-muted);font-size:8.5px;font-style:normal}.product-channel-list button.active i{color:#23854d}.entity-create-modal{width:430px}.compact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}@media(max-width:1260px){.entity-card{grid-template-columns:minmax(0,1fr) 310px}.entity-toolbar-controls .select-control:nth-last-child(1){display:none}.dashboard-grid{grid-template-columns:minmax(0,1fr) 330px}}.integration-metrics{margin-bottom:10px}.integrations-shell{height:calc(100vh - 190px);min-height:650px;overflow:hidden;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:minmax(0,1fr) 344px;background:var(--surface);box-shadow:var(--shadow)}.integrations-main{min-width:0;min-height:0;border-right:1px solid var(--border);display:flex;flex-direction:column}.integration-toolbar{min-height:66px;padding:11px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.integration-toolbar>div{min-width:190px}.integration-toolbar h2{margin:0;font-size:15px;letter-spacing:-.25px}.integration-toolbar h2 span{min-width:20px;height:19px;margin-left:4px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.integration-toolbar p{margin:4px 0 0;color:var(--text-muted);font-size:10px}.integration-toolbar .search-control{flex:0 1 275px;max-width:275px}.integration-tabs{height:42px;padding:0 13px;border-bottom:1px solid var(--border);display:flex;align-items:flex-end;gap:22px}.integration-tabs button{height:42px;padding:0;position:relative;border:0;color:var(--text-muted);background:transparent;font-size:11px;white-space:nowrap}.integration-tabs button.active{color:var(--primary);font-weight:600}.integration-tabs button.active:after{content:"";height:2px;position:absolute;right:0;bottom:-1px;left:0;border-radius:2px;background:var(--primary)}.integration-tabs button span{margin-left:5px;padding:2px 5px;border-radius:7px;background:var(--surface-subtle);font-size:9.5px}.integration-card-grid{min-height:0;padding:11px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));grid-auto-rows:minmax(150px,auto);align-content:start;gap:9px;background:var(--surface-subtle)}.integration-card{min-width:0;min-height:150px;padding:12px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 29px;gap:0 10px;text-align:left;background:var(--surface);box-shadow:0 1px 2px #10182805;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.integration-card:hover{border-color:var(--border-strong);box-shadow:0 7px 18px #232c460f;transform:translateY(-1px)}.integration-card.selected{border-color:#4f63ed80;box-shadow:0 0 0 2px var(--primary-soft)}.integration-logo{width:38px;height:38px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center}.integration-card-copy{min-width:0;display:flex;flex-direction:column}.integration-card-title{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.integration-card-title strong{min-width:0;overflow:hidden;color:var(--text);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.integration-card-title .badge{height:21px;flex:0 0 auto;padding-inline:6px;font-size:9.5px}.integration-card-copy>b{margin-top:4px;color:var(--text-secondary);font-size:10px;font-weight:500}.integration-card-copy>small{margin-top:8px;color:var(--text-muted);font-size:9.5px;line-height:1.45}.integration-card-footer{min-width:0;grid-column:1 / -1;margin-top:7px;padding-top:8px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px}.integration-card-footer>span:first-child{min-width:0;overflow:hidden;color:var(--text-secondary);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.integration-activity,.connect-link{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;font-size:9.5px;font-weight:600}.integration-activity{color:#23854d}.integration-activity i{width:6px;height:6px;border-radius:50%;background:#36b869;box-shadow:0 0 0 3px #e8f7ed}.connect-link{color:var(--primary)}.add-integration-card{place-items:center;align-content:center;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:6px;border-style:dashed;text-align:center;color:var(--text-muted);background:transparent;box-shadow:none}.add-integration-card>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.add-integration-card strong{color:var(--text);font-size:11px}.add-integration-card small{max-width:230px;font-size:9.5px;line-height:1.4}.integration-inspector{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.integration-inspector>header{min-height:85px;padding:13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px}.integration-inspector>header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.integration-inspector>header h2{margin:0;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.integration-inspector>header small{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.integration-inspector>header .badge{height:21px;padding-inline:6px;font-size:9.5px}.integration-inspector-scroll{min-height:0;flex:1;overflow-y:auto}.integration-health{padding:11px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#f1faf4}:root[data-theme=dark] .integration-health{background:#2ea35f14}.integration-health>div{display:flex;align-items:center;gap:8px}.integration-health>div>span{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;color:#2e9d5d;background:#ddf3e5}.integration-health>div>div{display:flex;flex-direction:column;gap:2px}.integration-health strong{font-size:10.5px}.integration-health small{color:var(--text-muted);font-size:9.5px}.integration-health>button{width:29px;height:29px;padding:0;border:1px solid #cbe8d5;border-radius:7px;display:grid;place-items:center;color:#2e9d5d;background:var(--surface)}.integration-health.warning{background:#fff8e9}.integration-health.warning>div>span{color:#bd7810;background:#ffedc8}.integration-health.warning>button{border-color:#ead6aa;color:#bd7810}:root[data-theme=dark] .integration-health.warning{background:#db8d1917}.integration-detail-section{padding:13px;border-bottom:1px solid var(--border)}.integration-section-head h3{margin:0;font-size:11px}.integration-section-head p{margin:3px 0 10px;color:var(--text-muted);font-size:9.5px}.capability-list{display:flex;flex-direction:column;gap:5px}.capability-list button{min-height:36px;padding:5px 7px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:25px 1fr 29px;align-items:center;gap:7px;text-align:left;background:var(--surface)}.capability-list button>span{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle)}.capability-list button strong{font-size:10px}.capability-list button>i{width:27px;height:16px;padding:2px;border-radius:8px;display:flex;align-items:center;background:var(--border-strong);transition:background .15s ease}.capability-list button>i span{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000001f;transition:transform .15s ease}.capability-list button.active{border-color:#4f63ed38;background:var(--primary-soft)}.capability-list button.active>span{color:var(--primary);background:var(--surface)}.capability-list button.active>i{background:var(--primary)}.capability-list button.active>i span{transform:translate(11px)}.integration-rules{margin:0;display:flex;flex-direction:column;gap:8px}.integration-rules>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;align-items:center}.integration-rules dt{color:var(--text-muted);font-size:9.5px}.integration-rules dd{min-width:0;margin:0;overflow:hidden;text-align:right;color:var(--text-secondary);font-size:9.5px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.integration-rules dd.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.integration-inline-action{width:100%;min-height:32px;margin-top:11px;padding:0 8px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:6px;color:var(--primary);background:var(--surface);font-size:9.5px;font-weight:600}.integration-inline-action svg:last-child{margin-left:auto}.integration-empty-inspector{height:100%;min-height:420px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.integration-empty-inspector>span{width:50px;height:50px;border-radius:13px;display:grid;place-items:center}.integration-empty-inspector strong{margin-top:14px;font-size:12px}.integration-empty-inspector p{margin:7px 0 15px;color:var(--text-muted);font-size:9.5px;line-height:1.5}.integration-inspector>footer{padding:9px 11px 11px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:6px}.integration-inspector>footer .wide{height:28px;grid-column:1 / -1}.integration-connect-modal{width:455px}.integration-connect-modal .eyebrow{display:block;margin-bottom:4px}.integration-connect-modal .select-control{width:100%}.bot-automation-modal{width:min(880px,calc(100vw - 36px));max-height:min(860px,calc(100vh - 36px));padding:0;overflow:hidden;display:flex;flex-direction:column}.bot-automation-modal>.modal-head{padding:17px 19px 14px;border-bottom:1px solid var(--border)}.bot-automation-modal>.modal-head h2{margin-bottom:3px}.bot-ownership-note{margin:12px 18px 0;padding:10px 12px;border:1px solid rgba(46,163,95,.22);border-radius:9px;display:flex;align-items:center;gap:9px;color:var(--success);background:#2ea35f12}.bot-ownership-note>div{min-width:0;display:flex;flex-direction:column;gap:2px}.bot-ownership-note strong{color:var(--text);font-size:11.5px}.bot-ownership-note span{color:var(--text-muted);font-size:10px;line-height:1.4}.bot-automation-tabs{height:43px;margin-top:8px;padding:0 18px;border-bottom:1px solid var(--border);display:flex;gap:17px}.bot-automation-tabs button{position:relative;height:43px;border:0;color:var(--text-muted);background:transparent;font-size:11px;font-weight:650}.bot-automation-tabs button:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px 2px 0 0;background:transparent;content:""}.bot-automation-tabs button.active{color:var(--primary)}.bot-automation-tabs button.active:after{background:var(--primary)}.bot-automation-tabs button span{min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:8px;display:inline-grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:9px}.bot-automation-body{min-height:330px;padding:14px 18px 18px;overflow:auto;background:var(--surface-subtle)}.bot-automation-loading{min-height:260px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:11px}.bot-automation-section{margin-bottom:10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.bot-automation-section:last-child{margin-bottom:0}.bot-automation-section-head{margin-bottom:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bot-automation-section-head h3{margin:0 0 2px;font-size:12px}.bot-automation-section-head p{margin:0;color:var(--text-muted);font-size:9.5px;line-height:1.35}.bot-automation-section-head>.settings-toggle-row{width:190px;padding:0;border:0}.bot-automation-grid{display:grid;gap:9px;align-items:end}.bot-automation-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-automation-grid.three{grid-template-columns:1fr 1.2fr 1.2fr}.bot-automation-grid textarea{min-height:88px;resize:vertical}.bot-automation-modal .field>input,.bot-automation-modal .field>textarea{font:inherit;font-size:11px;line-height:1.45}.bot-automation-modal .field>textarea{padding:8px 10px}.bot-welcome-field textarea{min-height:116px;resize:vertical}.bot-buttons-toolbar{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.bot-buttons-toolbar>div:first-child{display:flex;flex-direction:column;gap:2px}.bot-buttons-toolbar strong{font-size:12px}.bot-buttons-toolbar span{color:var(--text-muted);font-size:9.5px}.bot-buttons-toolbar>div:last-child{display:flex;gap:7px}.bot-button-list{display:flex;flex-direction:column;gap:9px}.bot-button-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.bot-button-card>header{height:39px;padding:0 10px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:22px minmax(0,1fr) auto 28px;align-items:center;gap:7px;background:var(--surface-subtle)}.bot-button-card>header>span{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:750}.bot-button-card>header strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.bot-button-active{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:9.5px;font-weight:600}.bot-button-active input{accent-color:var(--primary)}.bot-button-card .icon-btn.danger{color:var(--danger)}.bot-button-fields{padding:12px;display:flex;flex-direction:column;gap:10px}.bot-button-primary-fields{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px}.bot-button-response textarea{min-height:94px;resize:vertical}.bot-button-notify{min-height:46px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:9px;background:var(--surface-subtle);cursor:pointer}.bot-button-notify>input{width:15px;height:15px;margin:0;flex:0 0 auto;accent-color:var(--primary)}.bot-button-notify>span{display:flex;flex-direction:column;gap:2px}.bot-button-notify strong{color:var(--text);font-size:10px}.bot-button-notify small{color:var(--text-muted);font-size:9px;line-height:1.35}.bot-buttons-empty{min-height:270px;border:1px dashed var(--border-strong);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:var(--text-muted);background:var(--surface);text-align:center}.bot-buttons-empty strong{color:var(--text);font-size:12px}.bot-buttons-empty span{max-width:390px;font-size:10px;line-height:1.45}.bot-buttons-empty .btn{margin-top:5px}.bot-automation-error{margin:0 18px 10px;padding:8px 10px;border:1px solid rgba(221,67,83,.24);border-radius:8px;display:flex;align-items:center;gap:7px;color:var(--danger);background:#dd435312;font-size:10px}.bot-automation-modal>footer{padding:11px 18px 14px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:7px;background:var(--surface)}.bot-module-summary .bot-module-action{width:100%;margin-top:10px}.bot-module-flow{padding:9px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:flex-start;gap:8px;background:var(--surface-subtle)}.bot-module-flow>span{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.bot-module-flow>div{min-width:0;display:flex;flex-direction:column;gap:2px}.bot-module-flow strong{font-size:10.5px}.bot-module-flow small{color:var(--text-muted);font-size:9px;line-height:1.4}@media(max-width:780px){.bot-automation-grid.two,.bot-automation-grid.three,.bot-button-primary-fields{grid-template-columns:1fr}.bot-buttons-toolbar{align-items:flex-start;flex-direction:column}}.integration-connect-modal .field input[readonly]{color:var(--text-muted);background:var(--surface-subtle);cursor:default}.integration-verification-result{min-height:58px;padding:9px 10px;border:1px solid;border-radius:8px;display:flex;align-items:flex-start;gap:8px}.integration-verification-result>div{min-width:0;display:flex;flex-direction:column;gap:3px}.integration-verification-result strong{font-size:10.5px}.integration-verification-result span,.integration-verification-result small{font-size:9.5px;line-height:1.35}.integration-verification-result.success{border-color:#c9e8d4;color:#258650;background:#f1faf4}.integration-verification-result.success span{color:#4d705a}.integration-verification-result.success small{color:#70917b}.integration-verification-result.error{border-color:#f0cbd1;color:#bd4054;background:#fff3f5}.integration-verification-result.error span{color:#8d5962}:root[data-theme=dark] .integration-verification-result.success{border-color:#36b8693d;background:#2ea35f17}.integration-verification-result.error{border-color:#d3485a3d;background:#d3485a17}.integration-safety-note{min-height:52px;padding:9px 10px;border:1px solid #cfe7d8;border-radius:8px;display:flex;align-items:flex-start;gap:8px;color:#258650;background:#f1faf4}.integration-safety-note>div{display:flex;flex-direction:column;gap:3px}.integration-safety-note strong{font-size:10px}.integration-safety-note span{color:#5e7a68;font-size:9.5px;line-height:1.35}:root[data-theme=dark] .integration-safety-note{border-color:#36b86938;background:#2ea35f14}.integration-connect-modal .btn:disabled{opacity:.55;cursor:not-allowed}.opencart-automation-summary .integration-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.opencart-automation-summary .integration-section-head p{margin-bottom:10px}.opencart-summary-actions{margin-top:11px;display:grid;grid-template-columns:1fr 1.25fr;gap:6px}.opencart-summary-actions .btn{min-width:0;padding-inline:7px;font-size:9px}.opencart-last-run{min-height:42px;margin-top:10px;padding:7px 8px;border:1px solid #cfe7d8;border-radius:7px;display:flex;align-items:center;gap:7px;color:#258650;background:#f1faf4}.opencart-last-run>span{min-width:0;display:flex;flex-direction:column;gap:2px}.opencart-last-run strong{font-size:9.5px}.opencart-last-run small{color:#5e7a68;font-size:8.5px}:root[data-theme=dark] .opencart-last-run{border-color:#36b86938;background:#2ea35f14}.opencart-settings-modal{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;gap:0;overflow:hidden}.opencart-settings-modal>.modal-head{padding:17px 18px 14px;border-bottom:1px solid var(--border)}.opencart-settings-modal>.modal-head>div{min-width:0;padding-right:8px}.opencart-settings-modal>.modal-head p{overflow:visible;white-space:normal}.opencart-settings-modal>.modal-actions{min-height:58px;margin:0;padding:10px 18px;border-top:1px solid var(--border);background:var(--surface-subtle)}.opencart-settings-scroll{min-height:0;padding:15px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.opencart-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.opencart-settings-grid .wide{grid-column:1 / -1}.opencart-settings-grid .field>span{font-size:9.5px}.opencart-settings-grid .field input,.opencart-settings-grid .select-control,.opencart-settings-grid .select-control select{height:38px;font-size:10.5px}.opencart-direction-section{padding:12px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.opencart-direction-section>header h3{margin:0;font-size:11.5px}.opencart-direction-section>header p{margin:3px 0 10px;color:var(--text-muted);font-size:9.5px;line-height:1.4}.opencart-direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.opencart-direction-grid button{min-height:38px;padding:6px 8px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:25px minmax(0,1fr) 29px;align-items:center;gap:7px;text-align:left;color:var(--text-secondary);background:var(--surface)}.opencart-direction-grid button>span{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle)}.opencart-direction-grid button strong{font-size:9.5px}.opencart-direction-grid button>i{width:27px;height:16px;padding:2px;border-radius:8px;display:flex;align-items:center;background:var(--border-strong)}.opencart-direction-grid button>i span{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000001f;transition:transform .15s ease}.opencart-direction-grid button.active{border-color:#4f63ed40;color:var(--text);background:var(--primary-soft)}.opencart-direction-grid button.active>span{color:var(--primary);background:var(--surface)}.opencart-direction-grid button.active>i{background:var(--primary)}.opencart-direction-grid button.active>i span{transform:translate(11px)}@media(max-width:720px){.opencart-settings-grid,.opencart-direction-grid{grid-template-columns:1fr}.opencart-settings-grid .wide{grid-column:auto}}.opencart-wizard{width:min(900px,calc(100vw - 32px));height:min(720px,calc(100vh - 32px));padding:0;gap:0;overflow:hidden}.opencart-wizard>.modal-head{min-height:88px;padding:16px 20px;border-bottom:1px solid var(--border)}.opencart-wizard-title{min-width:0;display:flex;align-items:center;gap:12px}.opencart-wizard-title>span{width:44px;height:44px;flex:0 0 44px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#4168ee,#2545bd);box-shadow:0 8px 20px #3150c938}.opencart-wizard-title h2{margin:1px 0 0;font-size:19px}.opencart-wizard-title p{margin:2px 0 0;color:var(--text-muted);font-size:10.5px}.opencart-wizard-steps{min-height:54px;padding:8px 20px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface-subtle)}.opencart-wizard-steps button{min-width:0;padding:0 12px;border:0;border-bottom:2px solid transparent;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);background:transparent;font-size:10.5px;font-weight:750}.opencart-wizard-steps button i{width:22px;height:22px;flex:0 0 22px;border-radius:50%;display:grid;place-items:center;background:var(--surface-muted);font-size:9px;font-style:normal}.opencart-wizard-steps button.active{border-bottom-color:var(--primary);color:var(--primary)}.opencart-wizard-steps button.active i,.opencart-wizard-steps button.done i{color:#fff;background:var(--primary)}.opencart-wizard-body{min-height:0;flex:1;padding:18px 20px;overflow-y:auto}.opencart-wizard-pane{display:flex;flex-direction:column;gap:14px}.opencart-install-card{min-height:170px;padding:20px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--border));border-radius:13px;display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;background:color-mix(in srgb,var(--primary-soft) 45%,var(--surface))}.opencart-install-icon{width:58px;height:58px;border-radius:15px;display:grid;place-items:center;color:var(--primary);background:var(--surface);box-shadow:var(--shadow-sm)}.opencart-install-card h3{margin:4px 0;font-size:15px}.opencart-install-card p{max-width:650px;margin:0 0 13px;color:var(--text-secondary);font-size:10.5px;line-height:1.55}.opencart-install-card .btn{width:fit-content;text-decoration:none}.opencart-install-list{margin:0;padding:0;counter-reset:install;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;list-style:none}.opencart-install-list li{min-height:92px;padding:12px;border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;gap:5px;background:var(--surface-subtle);counter-increment:install}.opencart-install-list li:before{content:counter(install);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:800}.opencart-install-list strong{font-size:10.5px}.opencart-install-list span{color:var(--text-muted);font-size:9.5px;line-height:1.45}.opencart-wizard .opencart-settings-grid{max-width:720px;margin:0 auto;width:100%}.opencart-wizard .opencart-settings-grid .field input,.opencart-wizard .opencart-settings-grid .field select{width:100%;height:40px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:none;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px}.opencart-wizard .opencart-settings-grid .field select:focus,.opencart-wizard .opencart-settings-grid .field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent)}.opencart-interval-recommendation{max-width:720px;width:100%;min-height:54px;margin:0 auto;padding:9px 11px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border));border-radius:9px;display:flex;align-items:flex-start;gap:9px;color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 45%,var(--surface))}.opencart-interval-recommendation>div{display:flex;flex-direction:column;gap:3px}.opencart-interval-recommendation strong{color:var(--text);font-size:10.5px}.opencart-interval-recommendation span{color:var(--text-secondary);font-size:9.5px;line-height:1.45}.opencart-check-state{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--primary);text-align:center}.opencart-check-state>svg{width:52px;height:52px;padding:11px;border-radius:15px;background:var(--primary-soft)}.opencart-check-state.success{color:#22985a}.opencart-check-state.success>svg{background:#22985a1a}.opencart-check-state h3{margin:4px 0 0;color:var(--text);font-size:16px}.opencart-check-state p{max-width:560px;margin:0;color:var(--text-muted);font-size:10.5px;line-height:1.5}.opencart-manifest-summary{margin-top:13px;display:flex;gap:8px}.opencart-manifest-summary span{min-width:120px;padding:9px 12px;border:1px solid var(--border);border-radius:9px;display:flex;flex-direction:column;gap:2px;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.opencart-manifest-summary strong{color:var(--text);font-size:14px}.opencart-option-sku-card{max-width:720px;width:100%;margin:-4px auto 0;padding:12px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border));border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:var(--surface-subtle)}.opencart-option-sku-card>div{min-width:0;display:flex;flex-direction:column;gap:4px}.opencart-option-sku-card strong{font-size:11px}.opencart-option-sku-card span{color:var(--text-muted);font-size:9.5px;line-height:1.45}.opencart-option-sku-card code{padding:1px 4px;border-radius:4px;color:var(--primary);background:var(--primary-soft);font-family:var(--font-mono)}.opencart-option-sku-card small{grid-column:1 / -1;font-size:9.5px}.opencart-option-sku-card small.success{color:#228d58}.opencart-option-sku-card small.error{color:var(--danger)}.opencart-wizard>.modal-actions{min-height:62px;margin:0;padding:11px 20px;border-top:1px solid var(--border);background:var(--surface-subtle)}@media(max-width:720px){.opencart-wizard{height:calc(100vh - 20px)}.opencart-wizard-steps button{padding:0 4px}.opencart-wizard-steps button span{display:none}.opencart-install-card,.opencart-install-list{grid-template-columns:1fr}}@media(max-width:1260px){.integrations-shell{grid-template-columns:minmax(0,1fr) 318px}.integration-card-grid{grid-template-columns:1fr}}.settings-workspace{overflow:hidden}.settings-status-strip{margin-bottom:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.settings-status-strip>div{min-width:0;min-height:55px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 8px;background:var(--surface);box-shadow:0 1px 2px #10182805}.settings-status-strip>div>span{width:27px;height:27px;grid-row:1 / 3;border-radius:7px;display:grid;place-items:center}.settings-status-strip strong{overflow:hidden;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.settings-status-strip small{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.settings-shell{height:calc(100vh - 190px);min-height:520px;overflow:hidden;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:280px minmax(0,1fr);background:var(--surface);box-shadow:var(--shadow)}.settings-nav{min-height:0;padding:11px;border-right:1px solid var(--border);display:flex;flex-direction:column;background:var(--surface-subtle)}.settings-search{height:34px;padding:0 8px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:6px;color:var(--text-muted);background:var(--surface)}.settings-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.settings-search input{min-width:0;flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:10.5px}.settings-search button{width:21px;height:21px;padding:0;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.settings-nav nav{min-height:0;margin-top:9px;display:flex;flex-direction:column;gap:3px;overflow-y:auto}.settings-nav nav>button{min-height:48px;padding:6px 7px;border:1px solid transparent;border-radius:8px;display:grid;grid-template-columns:29px minmax(0,1fr) 13px;align-items:center;gap:7px;text-align:left;color:var(--text-secondary);background:transparent}.settings-nav nav>button:hover{border-color:var(--border);background:var(--surface)}.settings-nav nav>button.active{border-color:#4f63ed33;color:var(--primary);background:var(--primary-soft)}.settings-nav nav>button>span{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:inherit;background:var(--surface)}.settings-nav nav>button>div{min-width:0;display:flex;flex-direction:column;gap:2px}.settings-nav nav strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.settings-nav nav small{overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.settings-nav nav>button.active strong{color:var(--primary)}.settings-nav-empty{padding:28px 8px;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--text-muted);font-size:9.5px}.settings-nav-footer{margin-top:auto;padding:10px;border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:4px;background:var(--surface)}.settings-nav-footer strong{font-size:10px}.settings-nav-footer span{color:var(--text-muted);font-size:9px;line-height:1.4}.settings-content{min-width:0;min-height:0;overflow-y:auto;background:var(--surface-subtle)}.settings-content-head{height:65px;padding:10px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:var(--surface)}.settings-content-head h2{margin:2px 0 0;font-size:15px;letter-spacing:-.2px}.settings-content-head .badge{height:21px;padding-inline:7px;font-size:9.5px}.settings-content>.settings-card{margin:11px 12px 0}.settings-content>.settings-card:last-child{margin-bottom:12px}.settings-card{overflow:hidden;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 1px 2px #10182805}.settings-card>header{min-height:61px;padding:10px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-card>header>div{min-width:0}.settings-card>header h3{margin:0;font-size:13px}.settings-card>header p{margin:4px 0 0;color:var(--text-muted);font-size:11px;line-height:1.4}.settings-card>header>svg{flex:0 0 auto;color:var(--primary)}.settings-fields-grid{padding:12px 13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-fields-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-field{min-width:0;display:flex;flex-direction:column;gap:5px}.settings-field>span{color:var(--text-secondary);font-size:11px;font-weight:600}.settings-field input,.settings-field select{width:100%;height:35px;min-width:0;padding:0 9px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px}.settings-field input:focus,.settings-field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.settings-field small{color:var(--text-muted);font-size:8.8px}.settings-toggle-list{border-top:1px solid var(--border);display:grid;grid-template-columns:1fr}.settings-toggle-list.two-columns{grid-template-columns:1fr 1fr}.settings-toggle-list.two-columns .settings-toggle-row:nth-child(odd){border-right:1px solid var(--border)}.settings-toggle-row{min-height:54px;padding:8px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-toggle-row:last-child{border-bottom:0}.settings-toggle-list.two-columns .settings-toggle-row:nth-last-child(-n+2){border-bottom:0}.settings-toggle-row>div{min-width:0;display:flex;flex-direction:column;gap:3px}.settings-toggle-row strong{font-size:13px}.settings-toggle-row>div span{color:var(--text-muted);font-size:12px;line-height:1.35}.settings-toggle-row>button{width:32px;height:18px;flex:0 0 auto;padding:2px;border:0;border-radius:10px;display:flex;align-items:center;background:var(--border-strong);transition:background .15s ease}.settings-toggle-row>button span{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000029;transition:transform .15s ease}.settings-toggle-row>button.active{background:var(--primary)}.settings-toggle-row>button.active span{transform:translate(14px)}.settings-toggle-row.disabled{opacity:.65}.settings-toggle-row.disabled>button{cursor:not-allowed}.settings-team-list{display:flex;flex-direction:column}.settings-team-list>div{min-height:66px;padding:8px 13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:30px minmax(0,1fr) 100px 88px 62px;align-items:center;gap:9px}.settings-team-list>div:last-child{border-bottom:0}.settings-team-list>div>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:700}.settings-team-list>div>div{display:flex;flex-direction:column;gap:3px;min-width:0}.settings-team-list strong{font-size:12px}.settings-team-list small{overflow:hidden;color:var(--text-muted);font-size:10.5px;text-overflow:ellipsis}.settings-team-list>div>b{color:var(--text-secondary);font-size:10.5px;font-weight:500}.settings-team-list .badge{justify-self:start}.settings-team-list>div>button,.settings-team-list .team-member-actions button{width:26px;height:26px;padding:0;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.compact-info-card{min-height:74px;padding:13px;display:flex;align-items:flex-start;gap:10px}.compact-info-card>span{width:34px;height:34px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center}.compact-info-card>div{display:flex;flex-direction:column;gap:4px}.compact-info-card strong{font-size:10.5px}.compact-info-card p{margin:0;color:var(--text-muted);font-size:9.5px;line-height:1.45}.settings-theme-picker{padding:12px 13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:9px}.settings-theme-picker>button{min-height:96px;padding:8px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:1fr auto;gap:1px 10px;text-align:left;background:var(--surface)}.settings-theme-picker>button.active{border-color:#4f63ed8c;box-shadow:0 0 0 2px var(--primary-soft)}.theme-preview{width:104px;height:72px;grid-row:1 / 3;overflow:hidden;border:1px solid #dfe3ec;border-radius:6px;display:grid;grid-template-columns:25px 1fr;grid-template-rows:18px 1fr;gap:4px;padding:4px;background:#f6f7fa}.theme-preview:before{content:"";grid-row:1 / 3;border-radius:3px;background:#e8ebf2}.theme-preview i{border-radius:3px;background:#fff}.theme-preview i:first-of-type{grid-column:2}.theme-preview i:nth-of-type(2),.theme-preview i:nth-of-type(3){height:18px}.theme-preview.dark{border-color:#313849;background:#171b24}.theme-preview.dark:before{background:#222937}.theme-preview.dark i{background:#272e3d}.settings-theme-picker strong{align-self:end;font-size:10.5px}.settings-theme-picker small{color:var(--text-muted);font-size:9px}.settings-data-actions>div{padding:12px 13px;display:flex;align-items:center;gap:7px}.settings-data-actions .armed{border-color:#e9a9b3;background:#fff1f3}:root[data-theme=dark] .settings-data-actions .armed{background:#d3485a1a}@media(max-width:1260px){.settings-status-strip{grid-template-columns:1fr 1fr}.settings-status-strip>div:nth-child(n+3){display:none}.settings-shell{grid-template-columns:205px minmax(0,1fr)}.settings-fields-grid.three{grid-template-columns:1fr 1fr}}.warehouse-workspace{display:flex;flex-direction:column;overflow:hidden}.warehouse-import-button{background:var(--surface)}.warehouse-metrics{flex:0 0 auto;margin-bottom:9px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.warehouse-metrics article{min-width:0;min-height:64px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:9px;background:var(--surface);box-shadow:var(--shadow)}.warehouse-metrics article>span{width:31px;height:31px;border-radius:8px;display:grid;place-items:center}.warehouse-metrics article>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr)}.warehouse-metrics small{color:var(--text-secondary);font-size:10px}.warehouse-metrics strong{margin-top:2px;overflow:hidden;font-size:17px;letter-spacing:-.3px;text-overflow:ellipsis;white-space:nowrap}.warehouse-metrics em{margin-top:1px;overflow:hidden;color:var(--text-muted);font-size:8.8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.warehouse-shell{flex:1;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;display:flex;flex-direction:column;background:var(--surface);box-shadow:var(--shadow)}.warehouse-tabs{height:48px;flex:0 0 48px;padding:0 13px;border-bottom:1px solid var(--border);display:flex;align-items:flex-end;gap:24px;overflow-x:auto;overflow-y:hidden;background:var(--surface);scrollbar-width:none}.warehouse-tabs::-webkit-scrollbar{display:none}.warehouse-tabs button{height:48px;padding:0;position:relative;border:0;display:flex;align-items:center;gap:6px;color:var(--text-muted);background:transparent;font-size:11px;white-space:nowrap}.warehouse-tabs button:hover{color:var(--text)}.warehouse-tabs button.active{color:var(--primary);font-weight:600}.warehouse-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:var(--primary)}.warehouse-tabs button span{min-width:18px;height:18px;padding:0 5px;border-radius:9px;display:grid;place-items:center;background:var(--surface-subtle);font-size:8.5px}.warehouse-content{flex:1;min-height:0;overflow:hidden}.warehouse-pane,.warehouse-list-pane{height:100%;min-height:0}.warehouse-stock-pane{display:grid;grid-template-columns:minmax(0,1fr) 326px}.warehouse-main-list{min-width:0;min-height:0;border-right:1px solid var(--border);display:flex;flex-direction:column}.warehouse-list-pane{display:flex;flex-direction:column}.warehouse-toolbar{min-height:66px;padding:10px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.warehouse-toolbar>div:first-child{min-width:175px}.warehouse-toolbar h2{margin:0;font-size:15px;letter-spacing:-.2px}.warehouse-toolbar h2 span{min-width:20px;height:19px;margin-left:4px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.warehouse-toolbar p{margin:4px 0 0;color:var(--text-muted);font-size:9.5px}.warehouse-toolbar-controls{min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;gap:6px}.warehouse-toolbar-controls .search-control{max-width:300px}.warehouse-toolbar-controls .warehouse-select{min-width:128px}.warehouse-table-wrap{flex:1;min-height:0;overflow:auto}.warehouse-table{min-width:890px}.warehouse-table th{height:37px;padding-inline:6px;font-size:10.5px}.warehouse-table td{height:55px;padding:5px 6px;font-size:11px}.warehouse-table tr{cursor:default}.warehouse-table tbody tr:hover td{background:var(--surface-hover)}.warehouse-table tbody tr.selected td{background:var(--primary-soft)}.stock-table th:nth-child(1),.stock-table td:nth-child(1){width:230px}.stock-table th:nth-child(2),.stock-table td:nth-child(2){width:105px}.stock-table th:nth-child(3),.stock-table td:nth-child(3){width:110px}.stock-table th:nth-child(4),.stock-table td:nth-child(4),.stock-table th:nth-child(5),.stock-table td:nth-child(5){width:90px}.stock-table th:nth-child(n+6),.stock-table td:nth-child(n+6){width:82px}.warehouse-product-cell{min-width:0;display:flex;align-items:center;gap:8px}.warehouse-product-cell img{width:34px;height:38px;flex:0 0 auto;padding:2px;border:1px solid var(--border);border-radius:7px;object-fit:contain;background:var(--surface-subtle)}.warehouse-product-cell>div{min-width:0;display:flex;flex-direction:column;gap:3px}.warehouse-product-cell strong{overflow:hidden;color:var(--text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.warehouse-product-cell span{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.warehouse-product-cell.compact img{width:30px;height:32px}.warehouse-product-cell.compact strong{font-size:10.5px}.warehouse-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.warehouse-low,.warehouse-negative{color:#cf4d5f!important}.warehouse-positive{color:#258953!important}.warehouse-link{color:var(--primary)}.warehouse-row-subtitle{margin-top:3px;display:block;color:var(--text-muted);font-size:8.5px}.warehouse-list-footer{min-height:40px;padding:0 13px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:var(--text-muted);font-size:9px}.warehouse-empty{height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--text-muted)}.warehouse-empty strong{color:var(--text);font-size:11px}.warehouse-empty span{font-size:9.5px}.warehouse-inspector{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.warehouse-inspector>header{width:100%;min-height:71px;padding:10px 12px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:8px;overflow:hidden}.warehouse-inspector>header>div:first-child{min-width:0;flex:1 1 0}.warehouse-inspector>header h2{max-width:none;margin:4px 0 0;overflow-wrap:anywhere;font-size:13px;line-height:1.3;white-space:normal}.warehouse-inspector>header .badge{height:21px;flex:0 0 auto;padding-inline:7px;font-size:8.5px}.warehouse-inspector-head-actions{min-width:0;max-width:145px;flex:0 0 auto;align-items:flex-start}.warehouse-inspector-head-actions .badge{min-width:0;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-inspector-scroll{flex:1;min-height:0;overflow-y:auto}.warehouse-product-profile{padding:12px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:11px}.warehouse-product-profile>img{width:64px;height:70px;object-fit:contain}.warehouse-product-profile>div{min-width:0;display:flex;flex-direction:column;gap:4px}.warehouse-product-profile strong{font-size:11px;line-height:1.35}.warehouse-product-profile span{color:var(--text-muted);font-size:9px}.warehouse-product-profile code{width:fit-content;padding:3px 5px;border-radius:4px;color:var(--text-secondary);background:var(--surface-subtle);font-size:8.5px}.warehouse-stock-summary{padding:9px 11px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.cashback-total-row{color:#24845b}.cashback-total-row small{margin-left:auto;color:var(--text-muted);font-size:9.5px;font-weight:500}.warehouse-stock-summary>div{min-height:52px;padding:7px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:auto 1fr;align-content:center;background:var(--surface-subtle)}.warehouse-stock-summary span{grid-column:1 / 3;color:var(--text-muted);font-size:8.5px}.warehouse-stock-summary strong{font-size:15px}.warehouse-stock-summary small{align-self:end;margin:0 0 2px 3px;color:var(--text-muted);font-size:8px}.warehouse-inspector-section{padding:11px 12px;border-bottom:1px solid var(--border)}.warehouse-inspector-section h3{margin:0 0 9px;font-size:11px}.warehouse-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.warehouse-section-title span{color:var(--text-muted);font-size:8.5px}.warehouse-stepper{height:43px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:38px 1fr 38px;overflow:hidden}.warehouse-stepper button{border:0;color:var(--primary);background:var(--primary-soft);font-size:17px}.warehouse-stepper>div{display:flex;flex-direction:column;align-items:center;justify-content:center}.warehouse-stepper strong{font-size:13px}.warehouse-stepper span{color:var(--text-muted);font-size:8px}.warehouse-hint{margin:6px 0 0;color:var(--text-muted);font-size:8.3px;line-height:1.4}.warehouse-inspector-section dl{margin:0;display:flex;flex-direction:column;gap:7px}.warehouse-inspector-section dl>div{display:flex;justify-content:space-between;gap:8px}.warehouse-inspector-section dt{color:var(--text-muted);font-size:9px}.warehouse-inspector-section dd{margin:0;font-size:9px;font-weight:600}.warehouse-mini-movements{display:flex;flex-direction:column;gap:4px}.warehouse-mini-movements>div{min-height:35px;display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:7px}.warehouse-mini-movements>p{margin:0;color:var(--text-muted);font-size:9px}.movement-icon{width:24px;height:24px;border-radius:6px;display:grid;place-items:center}.movement-icon.positive{color:#258953;background:#eaf8ef}.movement-icon.negative{color:#cf4d5f;background:#fff0f2}:root[data-theme=dark] .movement-icon.positive{background:#2589531f}:root[data-theme=dark] .movement-icon.negative{background:#cf4d5f1f}.warehouse-mini-movements>div>div{min-width:0;display:flex;flex-direction:column;gap:2px}.warehouse-mini-movements strong{overflow:hidden;font-size:8.8px;text-overflow:ellipsis;white-space:nowrap}.warehouse-mini-movements small{color:var(--text-muted);font-size:7.8px}.warehouse-mini-movements b{font-size:9px}.warehouse-inspector>footer{padding:9px 11px;border-top:1px solid var(--border)}.warehouse-inspector>footer .btn{width:100%}.movements-table{min-width:1180px}.movements-table th:nth-child(1),.movements-table td:nth-child(1){width:120px}.movements-table th:nth-child(2),.movements-table td:nth-child(2){width:180px}.movements-table th:nth-child(3),.movements-table td:nth-child(3){width:230px}.movements-table th:last-child,.movements-table td:last-child{width:42px;text-align:center}.movements-table .badge{font-size:9px}.warehouse-doc-cards{padding:10px 12px;display:flex;flex-direction:column;gap:7px;overflow-y:auto}.warehouse-doc-cards article{min-height:70px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:34px minmax(190px,1.5fr) repeat(3,minmax(90px,.65fr)) minmax(110px,.75fr);align-items:center;gap:10px;background:var(--surface)}.warehouse-doc-cards article:hover{border-color:var(--border-strong);box-shadow:0 5px 18px #202b4b0d}.warehouse-doc-icon{width:33px;height:33px;border-radius:8px;display:grid;place-items:center}.warehouse-doc-main{min-width:0;display:flex;flex-direction:column;gap:3px}.warehouse-doc-main>div{display:flex;align-items:center;gap:7px}.warehouse-doc-main>div>strong{font-size:11px}.warehouse-doc-main .badge{height:20px;font-size:8px}.warehouse-doc-main>span{overflow:hidden;color:var(--text-secondary);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.warehouse-doc-main small{color:var(--text-muted);font-size:8px}.warehouse-doc-stat,.warehouse-doc-total{display:flex;flex-direction:column;gap:4px}.warehouse-doc-stat span,.warehouse-doc-total span{color:var(--text-muted);font-size:8.5px}.warehouse-doc-stat strong{overflow:hidden;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.warehouse-doc-total{align-items:flex-end}.warehouse-doc-total strong{font-size:12px}.inventory-cards article{grid-template-columns:34px minmax(190px,1.5fr) repeat(3,minmax(100px,.7fr))}.warehouse-info-strip{margin:auto 12px 12px;min-height:55px;padding:9px 11px;border:1px solid rgba(37,137,83,.18);border-radius:8px;display:grid;grid-template-columns:26px 1fr;align-items:center;gap:8px;color:#258953;background:#effaf3}.warehouse-info-strip.violet{border-color:#7e59d92e;color:#7351cc;background:#f5f1ff}:root[data-theme=dark] .warehouse-info-strip{background:#25895314}:root[data-theme=dark] .warehouse-info-strip.violet{background:#7e59d914}.warehouse-info-strip>div{display:flex;flex-direction:column;gap:3px}.warehouse-info-strip strong{color:var(--text);font-size:9.5px}.warehouse-info-strip span{color:var(--text-muted);font-size:8.5px}.suppliers-table{min-width:1180px}.suppliers-table th:nth-child(1),.suppliers-table td:nth-child(1){width:210px}.suppliers-table th:nth-child(2),.suppliers-table td:nth-child(2){width:130px}.suppliers-table th:nth-child(3),.suppliers-table td:nth-child(3){width:145px}.suppliers-table th:nth-child(4),.suppliers-table td:nth-child(4){width:190px}.suppliers-table th:nth-child(6),.suppliers-table td:nth-child(6){width:210px}.supplier-name{display:flex;align-items:center;gap:8px}.supplier-name>span{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.supplier-name strong{font-size:10.5px}.warehouses-pane{background:var(--surface-subtle)}.warehouses-pane .warehouse-toolbar{background:var(--surface)}.warehouse-location-grid{padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow-y:auto}.warehouse-location-grid>article,.warehouse-add-location{min-height:225px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 1px 2px #10182805}.warehouse-location-grid article>header{min-height:64px;padding:10px 11px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px}.warehouse-location-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.warehouse-location-grid header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.warehouse-location-grid header strong{font-size:11px}.warehouse-location-grid header small{color:var(--text-muted);font-size:8.5px}.warehouse-location-grid header .badge{font-size:8px}.warehouse-location-grid article dl{margin:0;padding:10px 11px;display:flex;flex-direction:column;gap:7px}.warehouse-location-grid article dl>div{display:flex;justify-content:space-between;gap:8px}.warehouse-location-grid dt{color:var(--text-muted);font-size:8.5px}.warehouse-location-grid dd{margin:0;max-width:65%;overflow:hidden;font-size:8.8px;text-overflow:ellipsis;white-space:nowrap}.warehouse-location-stats{padding:0 11px 10px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.warehouse-location-stats>div{padding:7px;border:1px solid var(--border);border-radius:6px;display:flex;flex-direction:column;gap:4px;background:var(--surface-subtle)}.warehouse-location-stats span{color:var(--text-muted);font-size:7.8px}.warehouse-location-stats strong{font-size:9.5px}.warehouse-location-grid article>footer{height:39px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 40px}.warehouse-location-grid article>footer button{border:0;color:var(--primary);background:transparent;font-size:9px;font-weight:600}.warehouse-location-grid article>footer button:last-child{border-left:1px solid var(--border)}.warehouse-add-location{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);border-style:dashed}.warehouse-add-location:hover{border-color:var(--primary);color:var(--primary)}.warehouse-add-location strong{font-size:10.5px}.warehouse-add-location span{font-size:8.8px}.warehouse-create-menu{width:520px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 24px 70px #0c121f38}.warehouse-create-menu>header,.warehouse-document-modal>header,.warehouse-import-modal>header{padding:15px 16px 13px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.warehouse-create-menu h2,.warehouse-document-modal h2,.warehouse-import-modal h2{margin:4px 0 0;font-size:17px}.warehouse-create-menu p,.warehouse-document-modal p,.warehouse-import-modal p{margin:4px 0 0;color:var(--text-muted);font-size:10px}.warehouse-create-menu>div{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.warehouse-create-menu>div>button{min-height:92px;padding:12px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:10px;text-align:left;background:var(--surface)}.warehouse-create-menu>div>button:hover{border-color:#4f63ed59;background:var(--surface-hover)}.warehouse-create-menu>div>button>span{width:38px;height:38px;border-radius:9px;display:grid;place-items:center}.warehouse-create-menu>div>button>div{display:flex;flex-direction:column;gap:4px}.warehouse-create-menu strong{font-size:11.5px}.warehouse-create-menu small{color:var(--text-muted);font-size:9px;line-height:1.35}.warehouse-document-modal{width:min(930px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 24px 70px #0c121f38}.warehouse-document-body{min-height:0;padding:12px 14px;overflow-y:auto}.warehouse-document-fields{margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.warehouse-document-fields.single{grid-template-columns:240px minmax(0,1fr);align-items:end}.warehouse-document-fields>label:not(.search-control){display:flex;flex-direction:column;gap:5px}.warehouse-document-fields>label>span{color:var(--text-secondary);font-size:9px;font-weight:600}.warehouse-document-fields .warehouse-select{width:100%}.warehouse-document-lines{border:1px solid var(--border);border-radius:9px;overflow:hidden}.warehouse-line-head{min-height:42px;padding:0 10px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:var(--surface-subtle)}.warehouse-line-head strong{font-size:10.5px}.warehouse-line-head button{border:0;display:flex;align-items:center;gap:5px;color:var(--primary);background:transparent;font-size:9px;font-weight:600}.warehouse-document-line{min-height:64px;padding:7px 9px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(300px,1.7fr) 90px 110px 105px 28px;align-items:end;gap:8px}.warehouse-document-line:last-child{border-bottom:0}.warehouse-line-product{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:7px}.warehouse-line-product img{width:36px;height:40px;object-fit:contain}.warehouse-line-product .warehouse-select{width:100%}.warehouse-document-line>label{display:flex;flex-direction:column;gap:4px}.warehouse-document-line>label span{color:var(--text-muted);font-size:8px}.warehouse-document-line input{width:100%;height:34px;padding:0 8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.warehouse-document-line>strong{height:34px;display:flex;align-items:center;justify-content:flex-end;font-size:10px}.warehouse-remove-line{width:28px;height:34px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.warehouse-remove-line:disabled{opacity:.3}.warehouse-document-total{min-height:59px;padding:10px 2px 0;display:flex;align-items:center;justify-content:space-between}.warehouse-document-total>span{color:var(--text-muted);font-size:9px}.warehouse-document-total>div{display:flex;align-items:baseline;gap:12px}.warehouse-document-total>div span{color:var(--text-secondary);font-size:10px}.warehouse-document-total>div strong{font-size:17px}.warehouse-document-modal>footer,.warehouse-import-modal>footer{padding:10px 14px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:7px;background:var(--surface-subtle)}.inventory-modal{width:min(860px,calc(100vw - 48px))}.inventory-count-table{max-height:430px;overflow-y:auto;border:1px solid var(--border);border-radius:9px}.inventory-count-head,.inventory-count-row{display:grid;grid-template-columns:minmax(300px,1fr) 90px 110px 100px;align-items:center;gap:8px}.inventory-count-head{height:36px;padding:0 10px;position:sticky;top:0;z-index:1;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-subtle);font-size:9px;font-weight:600}.inventory-count-row{min-height:52px;padding:5px 10px;border-bottom:1px solid var(--border)}.inventory-count-row:last-child{border-bottom:0}.inventory-count-row>strong{font-size:10px}.inventory-count-row input{width:80px;height:33px;padding:0 8px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.warehouse-supplier-modal{width:500px}.warehouse-import-modal{width:600px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 24px 70px #0c121f38}.warehouse-import-body{padding:13px 15px}.warehouse-dropzone{width:100%;min-height:125px;border:1px dashed var(--border-strong);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:var(--surface-subtle)}.warehouse-dropzone:hover{border-color:var(--primary)}.warehouse-dropzone>span{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.warehouse-dropzone strong{margin-top:3px;font-size:11px}.warehouse-dropzone small{color:var(--text-muted);font-size:9px}.warehouse-template-button{margin:8px auto 0;border:0;display:flex;align-items:center;gap:5px;color:var(--primary);background:transparent;font-size:9px;font-weight:600}.warehouse-import-error,.warehouse-import-note{margin-top:10px;padding:9px 10px;border:1px solid rgba(207,77,95,.18);border-radius:7px;display:flex;align-items:center;gap:7px;color:#cf4d5f;background:#fff3f5;font-size:9px}.warehouse-import-note{border-color:#2589532e;color:#258953;background:#effaf3}.warehouse-import-note span{color:var(--text-secondary)}:root[data-theme=dark] .warehouse-import-error{background:#cf4d5f14}:root[data-theme=dark] .warehouse-import-note{background:#25895314}.warehouse-import-preview{margin-top:10px;border:1px solid var(--border);border-radius:7px;overflow:hidden}.warehouse-import-preview>header,.warehouse-import-preview>div{min-height:35px;padding:0 9px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr 100px 65px;align-items:center;gap:7px}.warehouse-import-preview>header{grid-template-columns:1fr auto;background:var(--surface-subtle)}.warehouse-import-preview>header strong{font-size:9.5px}.warehouse-import-preview>header span,.warehouse-import-preview small{color:var(--text-muted);font-size:8px}.warehouse-import-preview>div span{overflow:hidden;font-size:8.8px;text-overflow:ellipsis;white-space:nowrap}.warehouse-import-preview code{color:var(--text-muted);font-size:8px}.warehouse-import-preview>div strong{text-align:right;font-size:8.8px}.warehouse-import-preview>small{padding:7px 9px;display:block}.warehouse-import-modal>footer .btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1340px){.warehouse-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.warehouse-metrics article:last-child{display:none}.warehouse-stock-pane{grid-template-columns:minmax(0,1fr) 310px}.warehouse-toolbar-controls .warehouse-select:last-child{display:none}.warehouse-location-grid{grid-template-columns:1fr 1fr}}.purchase-workspace-backdrop{padding:14px}.purchase-workspace-modal{width:min(1220px,calc(100vw - 32px));height:min(790px,calc(100vh - 28px));overflow:hidden;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 26px 80px #0c121f3d}.purchase-workspace-header{min-height:73px;padding:11px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.purchase-workspace-header h2{margin:3px 0 0;font-size:18px;letter-spacing:-.3px}.purchase-workspace-header p{margin:3px 0 0;color:var(--text-muted);font-size:9.5px}.purchase-workspace-header>div:last-child{display:flex;align-items:center;gap:8px}.purchase-workspace-header .badge{height:22px;font-size:8.5px}.purchase-workspace-body{flex:1;min-height:0;display:grid;grid-template-columns:320px minmax(0,1fr)}.purchase-catalog{min-width:0;min-height:0;border-right:1px solid var(--border);display:flex;flex-direction:column;background:var(--surface-subtle)}.purchase-catalog-search{padding:9px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:6px;background:var(--surface)}.purchase-catalog-search .warehouse-select{min-width:0;width:100%}.purchase-catalog-search .select-control select{padding-left:8px;font-size:9.5px}.purchase-create-product{min-height:54px;margin:8px 9px 7px;padding:7px 9px;border:1px solid rgba(79,99,237,.24);border-radius:8px;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;text-align:left;color:var(--primary);background:var(--primary-soft)}.purchase-create-product:hover{border-color:var(--primary)}.purchase-create-product>span{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;color:#fff;background:var(--primary)}.purchase-create-product>div{display:flex;flex-direction:column;gap:2px}.purchase-create-product strong{font-size:10px}.purchase-create-product small{color:var(--text-muted);font-size:8.5px}.purchase-catalog-list{flex:1;min-height:0;padding:0 6px 5px;overflow-y:auto}.purchase-catalog-list>button{width:100%;min-height:63px;padding:5px 7px;border:1px solid transparent;border-radius:7px;display:grid;grid-template-columns:38px minmax(0,1fr) 25px;align-items:center;gap:8px;text-align:left;background:transparent}.purchase-catalog-list>button:hover{border-color:var(--border);background:var(--surface)}.purchase-catalog-list>button.selected{border-color:#4f63ed33;background:var(--primary-soft)}.purchase-catalog-list img{width:36px;height:42px;padding:2px;border:1px solid var(--border);border-radius:6px;object-fit:contain;background:var(--surface)}.purchase-catalog-list button>div{min-width:0;display:flex;flex-direction:column;gap:2px}.purchase-catalog-list strong{overflow:hidden;color:var(--text);font-size:9.8px;text-overflow:ellipsis;white-space:nowrap}.purchase-catalog-list span{overflow:hidden;color:var(--text-muted);font-size:8.4px;text-overflow:ellipsis;white-space:nowrap}.purchase-catalog-list small{color:var(--text-secondary);font-size:8px}.purchase-catalog-list em{width:23px;height:23px;border-radius:6px;display:grid;place-items:center;color:var(--primary);background:var(--surface);font-size:8.5px;font-style:normal;font-weight:700}.purchase-catalog-list button.selected em{color:#fff;background:var(--primary)}.purchase-catalog-empty{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted)}.purchase-catalog-empty strong{font-size:9.5px}.purchase-catalog>footer{min-height:36px;padding:0 10px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:var(--text-muted);background:var(--surface);font-size:8.5px}.purchase-document{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.purchase-document-meta{min-height:67px;padding:9px 11px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 105px;gap:8px;background:var(--surface-subtle)}.purchase-document-meta>label,.purchase-document-meta>div{min-width:0;display:flex;flex-direction:column;gap:4px}.purchase-document-meta>label>span,.purchase-document-meta>div>span{color:var(--text-muted);font-size:8.5px;font-weight:600}.purchase-document-meta .warehouse-select{width:100%}.purchase-document-meta>div>strong{height:34px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;color:var(--text-secondary);background:var(--surface);font-size:9.5px}.purchase-document-heading{min-height:48px;padding:0 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.purchase-document-heading>div{display:flex;align-items:baseline;gap:7px}.purchase-document-heading h3{margin:0;font-size:12px}.purchase-document-heading span{color:var(--text-muted);font-size:8.5px}.purchase-document-heading button{border:0;color:#cf4d5f;background:transparent;font-size:8.5px}.purchase-selected-list{flex:1;min-height:0;overflow-y:auto}.purchase-selected-list article{min-height:67px;padding:6px 10px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:40px minmax(150px,1.6fr) 104px 110px 90px 27px;align-items:center;gap:8px}.purchase-selected-list article>img{width:38px;height:43px;padding:2px;border:1px solid var(--border);border-radius:6px;object-fit:contain;background:var(--surface-subtle)}.purchase-selected-name{min-width:0;display:flex;flex-direction:column;gap:3px}.purchase-selected-name strong{overflow:hidden;font-size:9.8px;text-overflow:ellipsis;white-space:nowrap}.purchase-selected-name span{overflow:hidden;color:var(--text-muted);font-size:8.2px;text-overflow:ellipsis;white-space:nowrap}.purchase-quantity-stepper{height:33px;border:1px solid var(--border);border-radius:6px;display:grid;grid-template-columns:28px 1fr 28px;overflow:hidden}.purchase-quantity-stepper button{padding:0;border:0;color:var(--primary);background:var(--primary-soft)}.purchase-quantity-stepper input{width:100%;padding:0;border:0;outline:0;text-align:center;color:var(--text);background:var(--surface);font-size:9px}.purchase-selected-list article>label{display:flex;flex-direction:column;gap:3px}.purchase-selected-list article>label span{color:var(--text-muted);font-size:7.5px}.purchase-selected-list article>label input{width:100%;height:32px;padding:0 7px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text);background:var(--surface);font-size:9px}.purchase-line-total{text-align:right;font-size:10px}.purchase-remove-product{width:27px;height:31px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.purchase-document-empty{flex:1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted)}.purchase-document-empty>span{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.purchase-document-empty strong{margin-top:3px;color:var(--text);font-size:11px}.purchase-document-empty p{max-width:320px;margin:0;text-align:center;font-size:9px;line-height:1.45}.purchase-document-summary{min-height:66px;padding:9px 12px;border-top:1px solid var(--border);display:grid;grid-template-columns:95px 120px 1fr;align-items:center;gap:10px;background:var(--surface-subtle)}.purchase-document-summary>div{display:flex;flex-direction:column;gap:3px}.purchase-document-summary span{color:var(--text-muted);font-size:8px}.purchase-document-summary strong{font-size:10px}.purchase-summary-total{align-items:flex-end}.purchase-summary-total strong{color:var(--primary);font-size:17px}.purchase-workspace-footer{min-height:58px;padding:9px 13px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface)}.purchase-workspace-footer>span{color:var(--text-muted);font-size:8.5px}.purchase-workspace-footer>div{display:flex;gap:7px}.purchase-workspace-footer .btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.warehouse-product-builder-backdrop{z-index:130;padding:13px;background:#0a0f1b7a}.warehouse-product-builder{width:min(1040px,calc(100vw - 30px));height:min(800px,calc(100vh - 26px));overflow:hidden;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column;background:var(--surface-subtle);box-shadow:0 28px 90px #0a0f1b4d}.warehouse-product-builder>header{min-height:75px;padding:12px 15px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--surface)}.warehouse-product-builder h2{margin:3px 0 0;font-size:18px;letter-spacing:-.3px}.warehouse-product-builder header p{margin:3px 0 0;color:var(--text-muted);font-size:9.5px}.warehouse-product-builder-body{flex:1;min-height:0;padding:10px;overflow-y:auto}.product-builder-card{margin-bottom:9px;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.product-builder-card:last-child{margin-bottom:0}.product-builder-section-head{min-height:52px;padding:8px 11px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px}.product-builder-section-head>span{width:29px;height:29px;border-radius:7px;display:grid;place-items:center}.product-builder-section-head h3{margin:0;font-size:11.5px}.product-builder-section-head p{margin:3px 0 0;color:var(--text-muted);font-size:9.5px}.product-builder-grid{padding:10px 11px;display:grid;gap:9px}.product-builder-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.product-builder-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.product-builder-grid .span-two{grid-column:span 2}.product-builder-grid label,.product-builder-fields-stack label,.product-property-row label{min-width:0;display:flex;flex-direction:column;gap:4px}.product-builder-grid label>span,.product-builder-fields-stack label>span,.product-property-row label>span{color:var(--text-secondary);font-size:9.5px;font-weight:600}.product-builder-grid input,.product-builder-grid select,.product-builder-fields-stack input,.product-builder-fields-stack select,.product-property-row input{width:100%;height:34px;padding:0 8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.product-builder-grid input:focus,.product-builder-grid select:focus,.product-builder-fields-stack input:focus,.product-builder-fields-stack select:focus,.product-property-row input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.product-photo-row{padding:0 11px 11px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:10px}.product-photo-dropzone{min-height:108px;border:1px dashed var(--border-strong);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:hidden;background:var(--surface-subtle)}.product-photo-dropzone:hover{border-color:var(--primary)}.product-photo-dropzone>span{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.product-photo-dropzone strong{font-size:10px}.product-photo-dropzone small{color:var(--text-muted);font-size:9px}.product-photo-dropzone>img{width:100%;height:108px;object-fit:contain;background:var(--surface)}.product-builder-fields-stack{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:9px}.variants-heading{grid-template-columns:30px minmax(0,1fr) 34px}.variants-heading>button{width:34px;height:19px;padding:2px;border:0;border-radius:10px;display:flex;align-items:center;background:var(--border-strong)}.variants-heading>button span{width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000002e;transition:transform .15s ease}.variants-heading>button.active{background:var(--primary)}.variants-heading>button.active span{transform:translate(15px)}.product-property-list{padding:9px 11px 0;display:flex;flex-direction:column;gap:7px}.product-property-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(260px,2fr) 30px;align-items:end;gap:8px}.product-property-row>button{width:30px;height:34px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.product-property-row>button:disabled{opacity:.3}.product-variant-mode{padding:9px 11px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.product-variant-mode>button{min-height:50px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:7px;text-align:left;color:var(--text);background:var(--surface-subtle)}.product-variant-mode>button>svg{color:var(--text-muted)}.product-variant-mode>button>span{display:flex;flex-direction:column;gap:2px}.product-variant-mode strong{font-size:9.8px}.product-variant-mode small{color:var(--text-muted);font-size:8.5px;line-height:1.35}.product-variant-mode>button.active{border-color:#4f63ed73;background:var(--primary-soft);box-shadow:0 0 0 2px #4f63ed12}.product-variant-mode>button.active>svg,.product-variant-mode>button.active strong{color:var(--primary)}.product-variant-actions{min-height:46px;padding:7px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.product-variant-actions>button{height:30px;padding:0 9px;border:1px solid var(--border);border-radius:6px;display:flex;align-items:center;gap:5px;color:var(--primary);background:var(--surface);font-size:9.5px;font-weight:600}.product-variant-actions>span{color:var(--text-muted);font-size:9.5px}.product-variant-actions strong{color:var(--primary)}.product-variant-preview{padding:0 11px 10px;display:flex;flex-wrap:wrap;gap:5px}.product-variant-preview span{min-height:23px;padding:4px 7px;border:1px solid rgba(79,99,237,.16);border-radius:6px;color:var(--primary);background:var(--primary-soft);font-size:9.5px}.product-variants-off{min-height:72px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:9.5px}.options-editor-heading{grid-template-columns:30px minmax(0,1fr) auto}.options-editor-heading>button{height:30px;padding:0 9px;border:1px solid rgba(79,99,237,.22);border-radius:6px;display:flex;align-items:center;gap:5px;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:700}.product-options-editor-list{padding:9px 11px 11px;display:flex;flex-direction:column;gap:8px}.product-option-editor{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.product-option-editor>header{min-height:48px;padding:7px 8px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(180px,1fr) auto 28px;align-items:end;gap:8px}.product-option-editor label{display:flex;flex-direction:column;gap:3px}.product-option-editor label>span{color:var(--text-secondary);font-size:8.5px;font-weight:600}.product-option-editor input{min-width:0;height:30px;padding:0 7px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text);background:var(--surface);font-size:9.5px}.product-option-editor input:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.option-required-check{height:30px;flex-direction:row!important;align-items:center;gap:5px!important;white-space:nowrap}.option-required-check input{width:14px;height:14px}.option-required-check span{font-size:9px!important}.product-option-editor .option-delete{width:28px;height:30px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.product-option-value-head,.product-option-value-row{display:grid;grid-template-columns:minmax(160px,1fr) 90px 105px 28px;align-items:center;gap:6px}.product-option-value-head{padding:6px 8px 3px;color:var(--text-muted);font-size:8px}.product-option-value-list{padding:0 8px;display:flex;flex-direction:column;gap:5px}.product-option-value-name{min-width:0;display:flex;align-items:center;gap:6px}.product-option-value-name input{min-width:0;flex:1 1 auto}.option-value-sku{max-width:152px;height:21px;padding:0 6px;border:1px solid rgba(79,99,237,.18);border-radius:5px;display:inline-flex;align-items:center;color:var(--primary);background:var(--primary-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:8.5px;font-weight:700;letter-spacing:.1px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-option-value-row>button{width:28px;height:30px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.product-option-editor>footer{min-height:38px;padding:5px 8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.product-option-editor>footer button{height:27px;padding:0 7px;border:1px solid var(--border);border-radius:5px;display:flex;align-items:center;gap:4px;color:var(--primary);background:var(--surface);font-size:8.5px;font-weight:600}.product-option-editor>footer span{color:var(--text-muted);font-size:8.5px}.product-options-empty{min-height:130px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text-muted)}.product-options-empty>svg{color:var(--primary)}.product-options-empty strong{color:var(--text);font-size:10.5px}.product-options-empty span{font-size:9px}.product-options-empty button{margin-top:4px;height:29px;padding:0 8px;border:1px solid rgba(79,99,237,.22);border-radius:6px;display:flex;align-items:center;gap:4px;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:700}.warehouse-product-builder>footer{min-height:59px;padding:9px 13px;border-top:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;background:var(--surface)}.warehouse-product-builder>footer>div{display:flex;align-items:baseline;gap:6px}.warehouse-product-builder>footer>div strong{color:var(--primary);font-size:15px}.warehouse-product-builder>footer>div span{color:var(--text-muted);font-size:9.5px}.warehouse-product-builder>footer .btn:disabled{opacity:.45;cursor:not-allowed}.warehouse-stock-pane.inspector-closed,.entity-card.inspector-closed{grid-template-columns:minmax(0,1fr)}.warehouse-inspector-head-actions,.product-inspector-head-actions{display:flex;align-items:center;gap:6px}.warehouse-inspector-head-actions .icon-btn,.product-inspector-head-actions .icon-btn{width:27px;height:27px;flex:0 0 auto}.product-inspector>header>div:first-child{min-width:0}.product-inspector>header>div:first-child h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imported-options-section{display:flex;flex-direction:column;gap:8px}.imported-options-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.imported-options-title h3{margin:0}.imported-options-title>span{padding:3px 6px;border-radius:5px;color:var(--primary);background:var(--primary-soft);font-size:9px;font-weight:700;white-space:nowrap}.imported-option-group{display:flex;flex-direction:column;gap:6px}.imported-option-group>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.imported-option-group>div:first-child strong{font-size:10px}.imported-option-group>div:first-child small{color:var(--text-muted);font-size:8.5px}.imported-option-values{max-height:220px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.imported-option-values>span{min-height:31px;padding:5px 7px;border:1px solid var(--border);border-radius:6px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;background:var(--surface-subtle)}.imported-option-values b{min-width:0;overflow:hidden;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.imported-option-values em{color:#258953;font-size:8.5px;font-style:normal;white-space:nowrap}.imported-option-values strong{font-size:9px;white-space:nowrap}.imported-option-values>span.out em{color:var(--text-muted)}.imported-option-values>span.needs-review{border-color:#cf4d5f47;background:#cf4d5f0d}.imported-option-values>span.needs-review em{color:#cf4d5f}.compact-action{height:34px;white-space:nowrap}.compact-columns-picker{position:relative;flex:0 0 auto}.compact-columns-picker .columns-trigger{height:34px}.compact-columns-picker .columns-popover{top:calc(100% + 6px);right:0;left:auto;z-index:80}.product-category-control{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.product-category-control>button{height:34px;padding:0;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.product-category-composer{margin:-2px 11px 10px;padding:8px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;background:var(--surface-subtle)}.product-category-composer input{min-width:0;height:34px;padding:0 9px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:9.5px}.warehouse-doc-cards article[role=button]{cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.warehouse-doc-cards article[role=button]:hover{border-color:#4f63ed59;background:var(--surface-hover);transform:translateY(-1px)}.warehouse-doc-open{width:fit-content;min-height:21px;margin-top:3px;padding:0 7px;border:1px solid rgba(79,99,237,.16);border-radius:5px;display:inline-flex;align-items:center;gap:4px;color:var(--primary);background:var(--primary-soft);font-size:8.5px;font-weight:600;line-height:1;white-space:nowrap}.warehouse-doc-stat .warehouse-doc-open{align-self:flex-start}.warehouse-doc-total .warehouse-doc-open{align-self:flex-end}.warehouse-row-actions{display:flex;align-items:center;gap:4px}.warehouse-row-actions button{width:28px;height:28px;padding:0;border:1px solid var(--border);border-radius:6px;display:grid;place-items:center;color:var(--primary);background:var(--surface)}.warehouse-row-actions button.danger{color:#cf4d5f}.suppliers-table tbody tr{cursor:pointer}.modal-actions.spread{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center}.btn.danger-outline{color:#cf4d5f;border-color:#cf4d5f59;background:transparent}.btn.danger-outline:hover{background:#cf4d5f12}.warehouse-default-check{margin-top:10px;padding:9px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:flex-start;gap:8px;background:var(--surface-subtle)}.warehouse-default-check input{margin-top:2px}.warehouse-default-check>span{display:flex;flex-direction:column;gap:3px}.warehouse-default-check strong{font-size:10px}.warehouse-default-check small{color:var(--text-muted);font-size:8.5px}.warehouse-location-grid article>footer button.danger{color:#cf4d5f}.warehouse-location-grid article>footer button:disabled{opacity:.35;cursor:not-allowed}.warehouse-supplier-modal .field .warehouse-select{width:100%;height:36px;padding-inline:10px;color:var(--text);background:var(--surface);font-size:10px}.warehouse-supplier-modal .field .warehouse-select select{font-size:10px}.warehouse-category-modal{width:min(520px,calc(100vw - 32px));max-height:min(610px,calc(100vh - 40px));padding:0;gap:0;overflow:hidden}.warehouse-category-modal .modal-head{min-height:69px;padding:13px 14px 12px;border-bottom:1px solid var(--border);align-items:center}.warehouse-category-modal .modal-head>div{min-width:0}.warehouse-category-modal .modal-head h2{font-size:15px;letter-spacing:-.2px}.warehouse-category-modal .modal-head p{margin-top:3px;font-size:9.5px}.warehouse-category-modal .modal-head .icon-btn{flex:0 0 auto}.category-create-row{padding:11px 14px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;background:var(--surface-subtle)}.category-create-row input{min-width:0;height:35px;padding:0 10px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.category-create-row input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.category-manager-list{flex:1;min-height:0;max-height:330px;padding:5px 14px;overflow-y:auto}.category-manager-list>div{min-height:46px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) 92px 30px;align-items:center;gap:8px}.category-manager-list>div:last-child{border-bottom:0}.category-manager-list>div>span{display:flex;align-items:center;gap:8px}.category-manager-list strong{font-size:10.5px}.category-manager-list em{color:var(--text-muted);font-size:9.5px;font-style:normal}.category-manager-list button{width:28px;height:28px;padding:0;border:0;display:grid;place-items:center;color:#cf4d5f;background:transparent}.category-manager-list button:disabled{color:var(--text-muted);opacity:.35}.warehouse-category-modal>.modal-actions{min-height:56px;margin:0;padding:10px 14px;border-top:1px solid var(--border);align-items:center;background:var(--surface-subtle)}.category-help{margin-right:auto;color:var(--text-muted);font-size:9.5px}.category-import-entry{padding:11px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.category-import-entry>div{min-width:0;display:flex;align-items:center;gap:9px}.category-import-entry>div>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.category-import-entry strong{font-size:10.5px}.category-import-entry small{color:var(--text-muted);font-size:9px}.opencart-mark{width:31px;height:31px;flex:0 0 31px;border-radius:8px;display:grid;place-items:center;color:#fff;background:#2397d4;font-size:9px;font-weight:800;letter-spacing:.3px}.category-import-last{margin:8px 14px 0;padding:7px 9px;border:1px solid rgba(37,137,83,.18);border-radius:7px;display:flex;align-items:center;gap:6px;color:#258953;background:#effaf3;font-size:9px}:root[data-theme=dark] .category-import-last{background:#25895314}.category-manager-list>div>span>span{min-width:0;display:flex;flex-direction:column;gap:2px}.category-manager-list>div>span>span small{overflow:hidden;color:#2397d4;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.opencart-category-import-modal{width:min(720px,calc(100vw - 32px))}.opencart-category-import-modal .warehouse-dropzone.compact{min-height:108px}.category-import-stats{margin-top:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.category-import-stats>div{padding:9px 10px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:baseline;gap:6px;background:var(--surface-subtle)}.category-import-stats strong{font-size:15px}.category-import-stats span{color:var(--text-muted);font-size:9px}.warehouse-import-warning{margin-top:8px;padding:8px 9px;border:1px solid rgba(205,128,19,.2);border-radius:7px;display:flex;align-items:center;gap:7px;color:#b76d07;background:#fff8e9;font-size:9px}:root[data-theme=dark] .warehouse-import-warning{background:#cd801314}.opencart-category-preview{margin-top:10px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.opencart-category-preview>header,.opencart-category-preview>div{min-height:35px;padding:0 9px;display:grid;grid-template-columns:62px 74px minmax(0,1fr) 76px;align-items:center;gap:7px;border-bottom:1px solid var(--border)}.opencart-category-preview>header{min-height:30px;color:var(--text-muted);background:var(--surface-subtle);font-size:8.5px;font-weight:700}.opencart-category-preview>div:last-of-type{border-bottom:0}.opencart-category-preview code{color:var(--text-secondary);font-size:9px}.opencart-category-preview strong{overflow:hidden;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.opencart-category-preview>small{padding:7px 9px;display:block;border-top:1px solid var(--border);color:var(--text-muted);background:var(--surface-subtle);font-size:8.5px}.category-import-action{width:max-content;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:700}.category-import-action.create{color:#258953;background:#eaf8f0}.category-import-action.link{color:#87631c;background:#fff5da}.category-import-action.update{color:var(--primary);background:var(--primary-soft)}:root[data-theme=dark] .category-import-action.create{background:#2589531f}:root[data-theme=dark] .category-import-action.link{background:#cd80131f}@media(max-width:640px){.category-import-entry{align-items:stretch;flex-direction:column}.category-import-entry .btn{justify-content:center}.opencart-category-preview>header,.opencart-category-preview>div{grid-template-columns:52px minmax(0,1fr) 70px}.opencart-category-preview>header>:nth-child(2),.opencart-category-preview>div>:nth-child(2){display:none}}.selectable-products-table .selection-column{width:48px;min-width:48px;padding:0;text-align:center}.product-selection-checkbox{width:100%;height:100%;min-height:34px;display:grid;place-items:center;cursor:pointer}.product-selection-checkbox input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.product-selection-checkbox>span{width:22px;height:22px;border:2px solid #85898d;border-radius:7px;display:grid;place-items:center;color:transparent;background:var(--surface);transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}.product-selection-checkbox:hover>span{border-color:var(--primary)}.product-selection-checkbox input:focus-visible+span{outline:2px solid var(--primary);outline-offset:2px}.product-selection-checkbox input:checked+span,.product-selection-checkbox input:indeterminate+span{border-color:var(--primary);color:#fff;background:var(--primary);box-shadow:0 2px 6px #4f63ed40}.product-selection-checkbox input:indeterminate+span svg{display:none}.product-selection-checkbox input:indeterminate+span:after{content:"";width:9px;height:2px;border-radius:2px;background:#fff}.selectable-products-table tbody tr.bulk-selected{background:#4f63ed13}.selectable-products-table tbody tr.bulk-selected:hover{background:#4f63ed1d}.product-bulk-bar{min-height:48px;flex:0 0 auto;padding:6px 10px 6px 13px;border-bottom:1px solid rgba(79,99,237,.2);display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(90deg,var(--primary-soft),var(--surface));animation:bulk-bar-in .16s ease}@keyframes bulk-bar-in{0%{opacity:0;transform:translateY(-3px)}}.product-bulk-count{display:flex;align-items:center;gap:6px;white-space:nowrap}.product-bulk-count strong{min-width:25px;height:25px;padding:0 6px;border-radius:7px;display:grid;place-items:center;color:#fff;background:var(--primary);font-size:10.5px}.product-bulk-count span{color:var(--text-secondary);font-size:10px;font-weight:600}.product-bulk-count button{width:25px;height:25px;padding:0;border:0;border-radius:6px;display:grid;place-items:center;color:var(--text-muted);background:transparent}.product-bulk-count button:hover{color:var(--text);background:var(--surface-hover)}.product-bulk-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:5px}.product-bulk-actions>span{width:1px;height:22px;margin:0 2px;background:var(--border)}.product-bulk-actions button{height:31px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:5px;color:var(--text-secondary);background:var(--surface);font-size:9.5px;font-weight:600;white-space:nowrap}.product-bulk-actions button:hover{border-color:#4f63ed59;color:var(--primary)}.product-bulk-actions button.primary{border-color:var(--primary);color:#fff;background:var(--primary)}.product-bulk-actions button.danger{width:31px;padding:0;justify-content:center;color:#cf4d5f}.product-bulk-actions button.danger:hover{border-color:#cf4d5f66;background:#cf4d5f12}.product-bulk-modal{width:min(430px,calc(100vw - 32px));gap:13px}.bulk-price-mode{padding:3px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;background:var(--surface-subtle)}.bulk-price-mode button{height:31px;padding:0 6px;border:0;border-radius:6px;color:var(--text-muted);background:transparent;font-size:9.5px}.bulk-price-mode button.active{color:var(--primary);background:var(--surface);box-shadow:var(--shadow);font-weight:600}.product-bulk-modal .field select{width:100%;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.bulk-delete-warning{padding:11px;border:1px solid rgba(207,77,95,.25);border-radius:8px;display:grid;grid-template-columns:24px 1fr;gap:8px;color:#cf4d5f;background:#cf4d5f11}.bulk-delete-warning>div{display:flex;flex-direction:column;gap:3px}.bulk-delete-warning strong{font-size:10.5px}.bulk-delete-warning span{color:var(--text-muted);font-size:9.5px;line-height:1.4}@media(max-width:1180px){.product-bulk-actions button{width:31px;padding:0;justify-content:center;font-size:0}.product-bulk-actions button svg{width:14px;height:14px}}.product-header-actions{display:flex;align-items:center;gap:10px}.product-header-actions>span{color:var(--text-muted);font-size:10.5px;white-space:nowrap}.catalog-filter-toolbar,.stock-filter-toolbar{min-height:58px;justify-content:space-between;gap:10px}.catalog-filter-toolbar>.search-control,.stock-filter-toolbar>.search-control{width:min(340px,42%);max-width:340px;flex:0 1 340px}.toolbar-right-controls{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:6px}.toolbar-right-controls .columns-picker{margin-left:0}.stock-contour-switch{flex:0 0 auto;display:inline-flex;padding:2px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.stock-contour-switch button{min-height:29px;padding:0 10px;border:0;border-radius:6px;color:var(--text-muted);background:transparent;font-size:9.5px;font-weight:700;white-space:nowrap}.stock-contour-switch button.active{color:var(--primary);background:var(--surface);box-shadow:0 1px 3px #25345f1f}.storefront-stock-readonly{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);display:flex;flex-direction:column;gap:4px}.storefront-stock-readonly strong{font-size:18px}.storefront-stock-readonly span{color:var(--text-muted);font-size:9.5px;line-height:1.45}.warehouse-contour-note{margin:0 11px 9px;padding:7px 8px;border-radius:7px;color:var(--text-muted);background:var(--surface-soft);font-size:8.5px;line-height:1.45}.warehouse-uninitialized{color:var(--text-muted);font-size:9.5px;font-weight:700;white-space:nowrap}.warehouse-location-grid>article.protected-contour{border-color:color-mix(in srgb,var(--primary) 25%,var(--border))}.inventory-policy-card>.settings-toggle-list{border-top:1px solid var(--border)}.inventory-policy-state{margin:12px 13px 0;padding:10px 11px;border:1px solid #cfe9dc;border-radius:8px;display:flex;align-items:center;gap:9px;color:#218254;background:#f1faf6}.inventory-policy-state.active{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 25%,var(--border));background:var(--primary-soft)}.inventory-policy-state>span{flex:0 0 auto}.inventory-policy-state>div{display:flex;flex-direction:column;gap:3px}.inventory-policy-state strong{font-size:11px}.inventory-policy-state small{color:var(--text-muted);font-size:9.5px;line-height:1.4}.inventory-contour-grid{padding:10px 13px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.inventory-contour-grid article{padding:10px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);display:flex;flex-direction:column;gap:3px}.inventory-contour-grid article>span{color:var(--primary);font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.inventory-contour-grid article strong{font-size:11px}.inventory-contour-grid article small{color:var(--text-muted);font-size:9.5px;line-height:1.4}.inventory-policy-note{margin:0;padding:10px 13px;border-top:1px solid var(--border);display:flex;align-items:flex-start;gap:7px;color:var(--text-muted);font-size:9.5px;line-height:1.45}.inventory-policy-note svg{flex:0 0 auto;color:#218254}.settings-inline-warning,.settings-inline-loading{margin:10px 13px 0;padding:9px 10px;border-radius:8px;display:flex;align-items:center;gap:7px;font-size:10px}.settings-inline-warning{color:#b72f43;background:#fff1f3}.settings-inline-loading{color:var(--text-muted);background:var(--surface-soft)}.aligned-toolbar .warehouse-toolbar-controls{flex:0 1 auto;margin-left:auto}.suppliers-toolbar .warehouse-toolbar-controls{justify-content:flex-end}.suppliers-toolbar .search-control{margin-left:auto}.columns-trigger.icon-only{width:34px;min-width:34px;height:34px;padding:0;justify-content:center;gap:0}.selectable-products-table .selection-column{width:30px;min-width:30px;max-width:30px}.product-selection-checkbox{min-height:28px}.product-selection-checkbox>span{width:14px;height:14px;border-width:1.5px;border-radius:4px}.product-selection-checkbox>span svg{width:9px;height:9px}.product-selection-checkbox input:indeterminate+span:after{width:6px;height:1.5px}.stock-table th.selection-column,.stock-table td.selection-column{width:36px;min-width:36px;max-width:36px;padding-inline:0}.stock-table th:nth-child(2),.stock-table td:nth-child(2){width:250px;min-width:250px}.stock-table th:nth-child(3),.stock-table td:nth-child(3){width:105px}.stock-table th:nth-child(4),.stock-table td:nth-child(4){width:110px}.stock-table th:nth-child(5),.stock-table td:nth-child(5),.stock-table th:nth-child(6),.stock-table td:nth-child(6){width:90px}.stock-table th:nth-child(n+7),.stock-table td:nth-child(n+7){width:82px}.stock-table .warehouse-product-cell>div{min-width:0}.stock-table .warehouse-product-cell strong{overflow:visible;text-overflow:clip;white-space:normal;line-height:1.25}.document-delete-action{margin-right:auto}@media(max-width:1120px){.product-header-actions>span{max-width:180px;overflow:hidden;text-overflow:ellipsis}.catalog-filter-toolbar>.search-control,.stock-filter-toolbar>.search-control{width:min(280px,38%)}}.order-status-row.row-tone-blue{background:#4f63ed12}.order-status-row.row-tone-violet,.order-status-row.row-tone-purple,.order-status-row.row-tone-indigo{background:#7653cf12}.order-status-row.row-tone-cyan{background:#1a87a512}.order-status-row.row-tone-amber{background:#e69a2516}.order-status-row.row-tone-green{background:#23854d13}.order-status-row.row-tone-red{background:#c43f5512}.order-status-row.row-tone-gray{background:#6e788a0d}.order-status-row.row-tone-blue:hover{background:#4f63ed1c}.order-status-row.row-tone-violet:hover,.order-status-row.row-tone-purple:hover,.order-status-row.row-tone-indigo:hover{background:#7653cf1d}.order-status-row.row-tone-cyan:hover{background:#1a87a51d}.order-status-row.row-tone-amber:hover{background:#e69a2520}.order-status-row.row-tone-green:hover{background:#23854d1d}.order-status-row.row-tone-red:hover{background:#c43f551c}.order-status-row.row-tone-gray:hover{background:#6e788a16}.order-status-row.selected{box-shadow:inset 3px 0 0 var(--primary)}:root[data-theme=dark] .order-status-row.row-tone-blue{background:#667bff13}:root[data-theme=dark] .order-status-row.row-tone-violet,:root[data-theme=dark] .order-status-row.row-tone-purple,:root[data-theme=dark] .order-status-row.row-tone-indigo{background:#9470eb13}:root[data-theme=dark] .order-status-row.row-tone-cyan{background:#2e9ebc12}:root[data-theme=dark] .order-status-row.row-tone-amber{background:#e69a2513}:root[data-theme=dark] .order-status-row.row-tone-green{background:#2fa35e12}:root[data-theme=dark] .order-status-row.row-tone-red{background:#d8526812}.dashboard-card-period{padding:4px 8px;border-radius:6px;color:var(--text-secondary);background:var(--surface-subtle);font-size:9.5px;font-weight:600}.dashboard-activity-list.standalone{flex:1;margin:0;padding:5px 8px;border-top:0;display:flex;flex-direction:column}.dashboard-activity-list.standalone>button{flex:1;min-height:36px;grid-template-columns:28px minmax(0,1fr) 13px;padding:5px 6px;border-bottom:1px solid var(--border)}.dashboard-activity-list.standalone>button:last-child{border-bottom:0}.dashboard-activity-list.standalone>button>span{width:27px;height:27px}.dashboard-activity-list.standalone>button>div{min-width:0}.dashboard-activity-list.standalone strong{overflow:hidden;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-activity-list.standalone small{font-size:9px}.dashboard-activity-list.standalone>button>svg{color:var(--text-muted)}.settings-team-list>div>div select{width:fit-content;max-width:150px;margin-left:-3px;padding:0 2px;border:0;outline:0;color:var(--text-muted);background:transparent;font-size:10.5px}.settings-team-list>div>.team-access-switch{width:86px;height:26px;padding:0;display:grid;grid-template-columns:29px 1fr;align-items:center;justify-items:start;color:var(--text-muted)}.team-access-switch>span{width:27px;height:16px;padding:2px;border-radius:9px;background:var(--border-strong)}.team-access-switch>span:after{content:"";width:12px;height:12px;border-radius:50%;display:block;background:#fff;box-shadow:0 1px 3px #00000029;transition:transform .15s ease}.team-access-switch.active>span{background:var(--primary)}.team-access-switch.active>span:after{transform:translate(11px)}.team-access-switch em{font-size:10px;font-style:normal}.settings-team-list .team-member-actions{display:flex;flex-direction:row;justify-content:flex-end;gap:4px}.settings-team-list .team-edit-member{color:var(--primary)}.settings-team-list .team-edit-member:hover{border-radius:6px;background:var(--primary-soft)}.settings-team-list .team-delete-member{color:#c43f55}.settings-team-list .team-delete-member:hover{border-radius:6px;background:#fff0f2}.settings-team-empty{min-height:90px!important;grid-template-columns:1fr!important;place-items:center;align-content:center;color:var(--text-muted)}.settings-team-empty>span{width:auto!important;height:auto!important;border-radius:0!important;color:var(--text-muted)!important;background:transparent!important;font-weight:500!important}.team-member-modal{width:min(980px,calc(100vw - 32px));max-height:min(90vh,860px);overflow:hidden;display:flex;flex-direction:column}.team-member-modal .modal-head{flex:0 0 auto;padding:18px 22px}.team-member-modal .modal-head h2{font-size:19px}.team-member-modal .modal-head p{margin-top:4px;font-size:12px}.team-member-modal-body{min-height:0;padding:18px 22px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:14px;background:var(--surface-subtle)}.team-member-identity-card,.team-permissions-card{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 1px 2px #18233a08}.team-member-identity-card>header,.team-permissions-card>header{min-height:58px;padding:13px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.team-member-identity-card>header{align-items:flex-start;flex-direction:column;justify-content:center;gap:3px}.team-member-identity-card>header strong,.team-permissions-card>header strong{color:var(--text);font-size:13px}.team-member-identity-card>header span,.team-permissions-card>header span{color:var(--text-muted);font-size:11px;line-height:1.4}.team-member-fields{padding:15px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.team-member-fields .field{margin:0}.team-member-fields .field>span{margin-bottom:7px;color:var(--text-secondary);font-size:11.5px;font-weight:700}.team-member-fields .field input{height:40px;padding:0 12px;font-size:12.5px}.team-member-fields .field small{margin-top:6px;font-size:10.5px;line-height:1.35}.team-member-modal .team-member-select{width:100%;height:40px;padding:0 11px;color:var(--text);background:var(--surface)}.team-member-modal .team-member-select select,.team-member-modal .team-member-select option{height:40px;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12.5px;font-weight:500}.team-member-modal .team-member-select svg{color:var(--text-secondary)}.team-member-active{min-height:58px;margin:0 16px 15px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:minmax(0,1fr) 30px auto;align-items:center;gap:9px;background:var(--surface-subtle);cursor:pointer}.team-member-active>span{display:flex;flex-direction:column;gap:3px}.team-member-active strong{font-size:12px}.team-member-active small{color:var(--text-muted);font-size:10.5px}.team-member-active input{position:absolute;opacity:0;pointer-events:none}.team-member-active>i{width:30px;height:18px;padding:2px;border-radius:10px;background:var(--border-strong)}.team-member-active>i:after{content:"";width:14px;height:14px;border-radius:50%;display:block;background:#fff;box-shadow:0 1px 3px #0000002e;transition:transform .15s ease}.team-member-active input:checked+i{background:var(--primary)}.team-member-active input:checked+i:after{transform:translate(12px)}.team-member-active em{min-width:66px;color:var(--text-secondary);font-size:11px;font-style:normal;font-weight:650}.team-permissions-card>header>div{display:flex;flex-direction:column;gap:3px}.team-permissions-card>header button{min-height:32px;padding:0 10px;border:1px solid var(--border);border-radius:7px;color:var(--primary);background:var(--surface);font-size:10.5px;font-weight:700;white-space:nowrap}.team-permissions-card>header button:hover{border-color:var(--primary);background:var(--primary-soft)}.team-permission-matrix{overflow-x:auto}.team-permission-matrix-head,.team-permission-row{min-width:720px;display:grid;grid-template-columns:minmax(260px,1fr) repeat(4,102px);align-items:stretch}.team-permission-matrix-head{min-height:38px;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-subtle)}.team-permission-matrix-head>span,.team-permission-matrix-head>b{padding:0 13px;display:flex;align-items:center;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.025em}.team-permission-matrix-head>b{justify-content:center;border-left:1px solid var(--border)}.team-permission-row{min-height:54px;border-bottom:1px solid var(--border)}.team-permission-row:last-child{border-bottom:0}.team-permission-row>span{min-width:0;padding:9px 13px;display:flex;flex-direction:column;justify-content:center;gap:3px}.team-permission-row>span strong{font-size:12px}.team-permission-row>span small{color:var(--text-muted);font-size:10.5px}.team-permission-row>label{border-left:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer}.team-permission-row>label input{position:absolute;opacity:0;pointer-events:none}.team-permission-row>label i,.team-permission-extras label i{width:18px;height:18px;border:1.5px solid var(--border-strong);border-radius:5px;display:grid;place-items:center;background:var(--surface)}.team-permission-row>label input:checked+i,.team-permission-extras label input:checked+i{border-color:var(--primary);background:var(--primary)}.team-permission-row>label input:checked+i:after,.team-permission-extras label input:checked+i:after{content:"";width:8px;height:4px;margin-top:-2px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg)}.team-permission-row>label em{display:none}.team-permission-row>label.unavailable{cursor:default;background:var(--surface-subtle)}.team-permission-row>label.unavailable i{border-color:transparent;background:transparent}.team-permission-extras{padding:14px 16px 16px;border-top:1px solid var(--border)}.team-permission-extras>strong{display:block;margin-bottom:10px;font-size:12px}.team-permission-extras>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.team-permission-extras label{min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:9px;color:var(--text-secondary);background:var(--surface);font-size:11px;font-weight:650;cursor:pointer}.team-permission-extras label input{position:absolute;opacity:0;pointer-events:none}.team-permission-extras label i{flex:0 0 auto}.team-member-note,.team-member-error{margin:0;padding:11px 12px;border-radius:9px;display:flex;align-items:flex-start;gap:8px;font-size:11.5px;line-height:1.5}.team-member-note{color:var(--text-secondary);background:var(--surface-soft)}.team-member-error{color:#bd3048;background:#fff0f2}.team-member-modal>.modal-actions{flex:0 0 auto;padding:13px 22px;border-top:1px solid var(--border);background:var(--surface)}@media(max-width:760px){.team-member-fields,.team-permission-extras>div{grid-template-columns:1fr}.team-member-modal{max-height:calc(100vh - 20px)}.team-member-modal-body{padding:12px}.team-member-modal .modal-head,.team-member-modal>.modal-actions{padding-inline:15px}}.workspace-trash-list{display:flex;flex-direction:column}.workspace-trash-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0 13px 10px;border-bottom:1px solid var(--border)}.workspace-trash-tabs button{height:28px;padding:0 9px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:var(--surface);font-size:10px;display:inline-flex;gap:6px;align-items:center}.workspace-trash-tabs button.active{color:var(--primary);border-color:var(--primary);background:var(--primary-soft)}.workspace-trash-tabs button span{min-width:15px;height:15px;display:grid;place-items:center;border-radius:5px;background:var(--surface-subtle);font-size:8.5px}.workspace-trash-footer{min-height:46px;padding:8px 13px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text-muted);font-size:9.5px}.workspace-trash-list>div:not(.workspace-trash-empty){min-height:58px;padding:9px 13px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:30px minmax(0,1fr) auto 30px;align-items:center;gap:9px}.workspace-trash-list>div:last-child{border-bottom:0}.workspace-trash-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#c43f55;background:#fff0f2}.workspace-trash-list>div>div{min-width:0;display:flex;flex-direction:column;gap:3px}.workspace-trash-list strong{font-size:11px}.workspace-trash-list small{color:var(--text-muted);font-size:9.5px}.workspace-trash-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:11px}.workspace-trash-empty.error{color:#c43f55}.message-templates-settings>header{min-height:66px;padding:12px 16px}.message-template-head-actions{gap:8px;flex:0 0 auto}.message-template-head-actions .btn{min-height:34px;padding-inline:11px;font-size:10.5px;box-shadow:none}.message-template-settings-list.compact{padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:linear-gradient(180deg,rgba(79,99,237,.028),transparent 72%)}.message-template-settings-list.compact details{border-color:#9da9c257;border-radius:10px;background:var(--surface);box-shadow:0 1px 2px #121a2f06;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.message-template-settings-list.compact details:hover{border-color:#4f63ed57;box-shadow:0 5px 14px #28365f0f;transform:translateY(-1px)}.message-template-settings-list.compact summary{min-height:42px;padding:7px 8px 7px 11px}.message-template-settings-list.compact summary>span{gap:1px}.message-template-settings-list.compact summary strong{font-size:11.5px;letter-spacing:-.01em}.message-template-settings-list.compact summary small{font-size:9.5px}.message-template-settings-list.compact summary>svg{width:23px;height:23px;padding:5px;border-radius:7px;color:var(--primary);background:var(--primary-soft)}.message-template-settings-list.compact details[open]{grid-column:1 / -1;border-color:#4f63ed6b;box-shadow:0 8px 22px #36468214}.message-template-settings-list.compact details[open] summary{min-height:43px;background:linear-gradient(90deg,var(--primary-soft),var(--surface))}.message-template-settings-list.compact .message-template-editor{padding:10px 11px 11px;background:var(--surface)}.message-template-settings-list.compact .message-template-editor textarea{min-height:72px}.trash-settings-card>header{min-height:65px;padding-inline:16px}.trash-header-actions{display:inline-flex;align-items:center;gap:10px}.trash-clear-button{min-height:31px;padding-inline:10px;font-size:10px}.trash-clear-button:disabled{opacity:.48;cursor:default}.workspace-trash-tabs{margin:10px 12px;padding:4px;gap:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle)}.workspace-trash-tabs button{height:30px;padding:0 10px;border:0;border-radius:7px;color:var(--text-secondary);background:transparent;font-size:10.5px;font-weight:650;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.workspace-trash-tabs button:hover{color:var(--text);background:var(--surface)}.workspace-trash-tabs button.active{color:var(--primary);border:0;background:var(--surface);box-shadow:0 1px 4px #1f2a4b1a,inset 0 0 0 1px #4f63ed38}.workspace-trash-tabs button span{min-width:17px;height:17px;border-radius:6px;color:var(--text-muted);background:var(--surface-soft);font-size:9px}.workspace-trash-tabs button.active span{color:var(--primary);background:var(--primary-soft)}.workspace-trash-list>div:not(.workspace-trash-empty){min-height:60px;padding:9px 16px;grid-template-columns:34px minmax(0,1fr) auto 30px;gap:10px}.workspace-trash-list>div:not(.workspace-trash-empty):hover{background:#4f63ed05}.workspace-trash-icon{width:34px;height:34px;border-radius:10px;box-shadow:inset 0 0 0 1px #c43f550a}.workspace-trash-list strong{font-size:11.5px;letter-spacing:-.01em}.workspace-trash-list small{font-size:9.7px}.workspace-trash-footer{min-height:44px;padding-inline:16px;background:var(--surface-subtle)}.team-settings-card>header{min-height:66px;padding-inline:16px}.team-settings-card>header .btn{min-height:34px;padding-inline:12px;font-size:10.5px}.settings-team-list{padding:5px 8px 8px;gap:4px;background:linear-gradient(180deg,rgba(79,99,237,.025),transparent 85%)}.settings-team-list>div{min-height:58px;padding:8px 9px;border:1px solid transparent;border-radius:10px;grid-template-columns:34px minmax(180px,1fr) 108px 92px 58px;gap:10px;background:transparent;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.settings-team-list>div:hover{border-color:#9da9c257;background:var(--surface);box-shadow:0 3px 12px #1b27480a}.settings-team-list>div>span{width:34px;height:34px;border-radius:11px;font-size:10px;box-shadow:inset 0 0 0 1px #4f63ed0f}.settings-team-list>div>div{gap:2px}.settings-team-list strong{font-size:11.5px}.settings-team-list small{font-size:9.8px}.settings-team-list>div>div select{max-width:150px;padding:1px 14px 1px 0;color:var(--primary);font-size:9.5px;font-weight:650}.settings-team-list>div>b{padding-left:9px;border-left:1px solid var(--border);font-size:9.5px;white-space:nowrap}.settings-team-list>div>.team-access-switch{width:92px;height:28px;padding:2px 7px 2px 2px;border-radius:15px;grid-template-columns:28px 1fr;gap:5px;color:var(--text-secondary);background:var(--surface-subtle)}.settings-team-list>div>.team-access-switch.active{color:var(--primary);background:var(--primary-soft)}.team-access-switch>span{width:27px;height:16px}.team-access-switch em{font-size:9.5px;font-weight:650}.settings-team-list .team-member-actions{min-width:58px;padding-left:6px;border-left:1px solid var(--border)}.settings-team-list>div>button,.settings-team-list .team-member-actions button{width:28px;height:28px;border-radius:8px}.delivery-sender-summary{min-height:64px;margin:10px 12px 12px;padding:9px 10px;border:1px solid rgba(79,99,237,.17);border-radius:11px;background:linear-gradient(100deg,var(--primary-soft),var(--surface) 56%);gap:10px}.delivery-sender-summary>span{width:36px;height:36px;border-radius:10px;color:var(--primary);background:var(--surface);box-shadow:0 3px 10px #4f63ed1c}.delivery-sender-summary>div{gap:3px}.delivery-sender-summary strong{font-size:11.5px}.delivery-sender-summary small{font-size:9.8px}.delivery-sender-summary .btn{min-height:32px;padding-inline:10px;border-color:#4f63ed47;color:var(--primary);background:var(--surface);font-size:10px;font-weight:700}.notification-destinations{margin:12px;padding:10px;border:1px solid var(--border);border-radius:11px;align-items:start;background:linear-gradient(100deg,rgba(79,99,237,.035),transparent 64%)}.notification-destinations .settings-field>span{color:var(--text);font-size:10.5px}.notification-destinations .settings-field input{height:34px;border-radius:8px;font-size:10.5px;background:var(--surface)}.notification-destinations .settings-field small{font-size:9.3px}.notification-coming-soon{min-height:55px;gap:5px;align-content:start}.notification-coming-soon strong{margin-bottom:1px;color:var(--text-secondary);font-size:10px}.notification-coming-soon span{min-height:28px;padding:0 8px;border-style:solid;border-color:#9da9c261;border-radius:8px;color:var(--text-muted);background:var(--surface);font-size:9.5px}.notification-coming-soon span svg{color:var(--primary);opacity:.8}@media(max-width:980px){.message-template-settings-list.compact{grid-template-columns:1fr}.settings-team-list>div{grid-template-columns:34px minmax(0,1fr) 92px 42px}.settings-team-list>div>b{display:none}.settings-team-list .team-member-actions{min-width:42px}}@media(max-width:680px){.message-templates-settings>header{align-items:flex-start;flex-direction:column}.message-template-head-actions{width:100%}.message-template-head-actions .btn{flex:1}.workspace-trash-list>div:not(.workspace-trash-empty){grid-template-columns:34px minmax(0,1fr) 28px}.workspace-trash-list>div:not(.workspace-trash-empty) .btn{display:none}.settings-team-list>div{grid-template-columns:34px minmax(0,1fr) 38px}.settings-team-list>div>.team-access-switch{display:none}.notification-destinations{grid-template-columns:1fr}.delivery-sender-summary{align-items:flex-start;flex-wrap:wrap}.delivery-sender-summary .btn{width:100%}}.status-color-grid{padding:11px 13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.status-color-grid>label{min-width:0;min-height:42px;padding:5px 7px;border:1px solid var(--border);border-radius:7px;display:grid;grid-template-columns:28px minmax(0,1fr) 78px;align-items:center;gap:7px;background:var(--surface)}.status-color-grid input[type=color]{width:27px;height:27px;padding:2px;border:1px solid var(--border);border-radius:6px;background:transparent;cursor:pointer}.status-color-grid label>span{min-width:0;overflow:hidden;display:flex;align-items:center;gap:6px;font-size:9.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.status-color-grid label>span i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--status-preview-color)}.status-hex-input{width:78px;height:28px;padding:0 7px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text-secondary);background:var(--surface-subtle);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;text-transform:uppercase}.status-hex-input:focus{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px #4f63ed14}.custom-status-badge{color:var(--text-secondary);background:color-mix(in srgb,var(--status-color) 13%,var(--surface))}.custom-status-badge i{border-color:var(--status-color);background:var(--status-color)}.custom-status-badge.status-colors-disabled,.custom-status-choice.status-colors-disabled{color:var(--text-secondary);background:var(--surface-subtle)}.custom-status-badge.status-colors-disabled i,.custom-status-choice.status-colors-disabled i{border-color:var(--text-muted);background:var(--text-muted)}.order-status-row.custom-row-tone{background:color-mix(in srgb,var(--order-status-color) 7%,var(--surface))}.order-status-row.custom-row-tone:hover{background:color-mix(in srgb,var(--order-status-color) 11%,var(--surface))}.product-movement-list{display:flex;flex-direction:column;gap:3px}.product-movement-list>button{width:100%;min-height:38px;padding:3px 2px;border:0;border-radius:6px;display:grid;grid-template-columns:25px minmax(0,1fr) auto 12px;align-items:center;gap:7px;text-align:left;color:var(--text);background:transparent}.product-movement-list>button:not(:disabled):hover{background:var(--surface-hover)}.product-movement-list>button:disabled{cursor:default}.product-movement-list>button>div{min-width:0;display:flex;flex-direction:column;gap:2px}.product-movement-list strong{overflow:hidden;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.product-movement-list small{color:var(--text-muted);font-size:8.5px}.product-movement-list b{font-size:9.5px}.product-movement-list>button>svg{color:var(--text-muted)}.product-movement-list>p{margin:0;color:var(--text-muted);font-size:9.5px}.products-table th:nth-child(2),.products-table td:nth-child(2),.stock-table th:nth-child(2),.stock-table td:nth-child(2){width:clamp(300px,38%,380px);min-width:300px;max-width:380px;white-space:normal}.products-table,.stock-table{width:100%;min-width:0;table-layout:fixed}.products-table .product-name-col,.stock-table .product-name-col{width:380px}.products-card:not(.inspector-closed) .products-table .product-name-col{width:300px}.products-table col.product-column-status{width:140px}.products-table th{overflow:hidden;text-overflow:ellipsis}.products-table th.product-column-status,.products-table td.product-column-status{padding-right:14px;overflow:visible}.stock-table th:nth-child(n+3),.stock-table td:nth-child(n+3){width:auto;min-width:0}.products-table-wrap,.warehouse-stock-pane .warehouse-table-wrap{overflow-x:hidden;overflow-y:auto}.product-table-name>div,.stock-table .warehouse-product-cell>div{min-width:150px}.movements-table td:has(.warehouse-product-cell),.orders-table td:has(.products-cell),.table-wrap td:has(.products-cell){min-width:170px;white-space:normal}.product-table-name>div,.warehouse-product-cell>div,.cell-stack,.product-copy,.purchase-selected-name,.purchase-catalog-list button>div{overflow:visible}.product-table-name strong,.entity-person strong,.products-cell strong,.product-copy strong,.analytics-products-list strong,.manager-analytics-list strong,.stock-alert-list strong,.draft-product>div:nth-child(2) strong,.draft-client strong,.conversation-title strong,.dialog-person strong,.integration-card-title strong,.integration-inspector>header h2,.warehouse-product-cell strong,.warehouse-product-profile strong,.warehouse-inspector>header h2,.warehouse-mini-movements strong,.warehouse-doc-main>span,.warehouse-location-grid header strong,.purchase-catalog-list strong,.purchase-selected-name strong,.product-inspector>header h2,.product-profile-hero>strong,.product-movement-list strong,.dashboard-activity-list.standalone strong{overflow:visible;max-width:none;text-overflow:clip;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.3}.dashboard-reference-grid{height:calc(100vh - 196px);min-height:520px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:300px minmax(205px,1fr);gap:10px}.dashboard-revenue-card{grid-column:1 / 8;grid-row:1}.dashboard-operations-slider{grid-column:8 / 13;grid-row:1}.dashboard-reference-grid .recent-orders-card{grid-column:1 / 10;grid-row:2}.dashboard-reference-grid .dashboard-messages-card{grid-column:10 / 13;grid-row:2}.revenue-card-head{min-height:72px;padding-block:9px}.revenue-card-head>div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:8px}.revenue-card-head h2{grid-column:1 / -1;font-size:11px}.revenue-card-head strong{margin-top:4px;color:var(--text);font-size:19px;letter-spacing:-.35px}.revenue-card-head small{color:#2b9b59;font-size:8.5px;font-weight:600}.revenue-card-head .select-control{min-width:92px;height:30px}.dashboard-revenue-chart{flex:1;min-height:0;padding:6px 12px 9px;position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 18px}.revenue-axis{padding:1px 6px 0 0;display:flex;flex-direction:column;justify-content:space-between;color:var(--text-muted);font-size:7.5px;text-align:right}.revenue-bars{min-width:0;min-height:0;padding:8px 0 2px;display:flex;align-items:flex-end;gap:2px;border-bottom:1px solid var(--border)}.revenue-bars i{min-width:2px;flex:1;border-radius:3px 3px 1px 1px;background:var(--primary);box-shadow:0 1px 3px color-mix(in srgb,var(--primary) 22%,transparent);animation:revenue-bar-in .36s ease both;transform-origin:bottom}.revenue-bars i:nth-child(3n){background:#7869f2}.revenue-bars i:nth-child(4n){background:#6790f4}.revenue-times{grid-column:2;display:flex;align-items:end;justify-content:space-between;color:var(--text-muted);font-size:7.5px}@keyframes revenue-bar-in{0%{transform:scaleY(.15);opacity:.15}}.dashboard-slider-head{min-height:48px;padding:0 10px 0 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px}.dashboard-slider-tabs{min-width:0;display:flex;align-items:stretch;gap:14px;align-self:stretch}.dashboard-slider-tabs button{height:100%;padding:0;position:relative;border:0;color:var(--text-muted);background:transparent;font-size:11.5px;font-weight:600;white-space:nowrap}.dashboard-slider-tabs button.active{color:var(--text)}.dashboard-slider-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:1px;background:var(--primary)}.dashboard-slider-tabs button span{min-width:17px;height:17px;margin-left:4px;padding:0 5px;border-radius:9px;display:inline-grid;place-items:center;color:#b86e08;background:#fff2d9;font-size:8px}.dashboard-slider-arrows{display:flex;gap:4px}.dashboard-slider-arrows button{width:25px;height:25px;padding:0;border:1px solid var(--border);border-radius:6px;display:grid;place-items:center;color:var(--text-secondary);background:var(--surface)}.dashboard-slider-arrows button:hover{border-color:var(--border-strong);color:var(--primary);background:var(--surface-hover)}.dashboard-slider-window{flex:1;min-height:0;overflow:hidden}.dashboard-slide{height:100%;animation:dashboard-slide-in .18s ease both}@keyframes dashboard-slide-in{0%{opacity:.45;transform:translate(8px)}}.dashboard-operations-slider .dashboard-activity-list.standalone{height:100%;padding:3px 8px}.dashboard-operations-slider .dashboard-activity-list.standalone>button{min-height:31px;padding:3px 5px}.dashboard-operations-slider .dashboard-activity-list.standalone>button>span{width:24px;height:24px}.dashboard-operations-slider .dashboard-activity-list.standalone strong{overflow:hidden;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.dashboard-operations-slider .dashboard-activity-list.standalone small{font-size:9px;line-height:1.2}.dashboard-attention-slide{padding:4px 9px;display:flex;flex-direction:column}.dashboard-attention-slide>button{flex:1;min-height:38px;padding:4px 6px;border:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:33px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;background:transparent}.dashboard-attention-slide>button:last-child{border-bottom:0}.dashboard-attention-slide>button:hover{border-radius:6px;background:var(--surface-hover)}.dashboard-attention-slide img{width:32px;height:33px;padding:2px;border:1px solid var(--border);border-radius:7px;object-fit:contain;background:var(--surface-subtle)}.dashboard-attention-slide>button>span{min-width:0;display:flex;flex-direction:column;gap:2px}.dashboard-attention-slide strong{overflow:hidden;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.dashboard-attention-slide small{overflow:hidden;color:var(--text-muted);font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.dashboard-attention-slide .badge{height:22px;padding-inline:7px;font-size:9px}.dashboard-attention-slide .dashboard-manager-alert{grid-template-columns:33px minmax(0,1fr) auto}.dashboard-attention-slide .dashboard-manager-alert>span{width:32px;height:32px;border-radius:7px;display:grid;place-items:center}.dashboard-attention-slide .dashboard-manager-alert>div{min-width:0;display:flex;flex-direction:column;gap:2px}.dashboard-slider-footer{min-height:31px;padding:0 10px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;color:var(--text-muted);background:var(--surface-subtle);font-size:8px}.dashboard-slider-footer>div{display:flex;gap:4px}.dashboard-slider-footer i{width:5px;height:5px;border-radius:50%;background:var(--border-strong)}.dashboard-slider-footer i.active{width:13px;border-radius:3px;background:var(--primary)}.dashboard-slider-footer button{justify-self:end;padding:0;border:0;color:var(--primary);background:transparent;font-size:8.5px;font-weight:600}.dashboard-reference-grid .recent-orders-card .dashboard-card-head,.dashboard-reference-grid .dashboard-messages-card .dashboard-card-head{min-height:49px;padding-block:8px}.dashboard-reference-grid .dashboard-table-wrap th{height:30px;font-size:10px}.dashboard-reference-grid .dashboard-table-wrap td{height:44px;padding-block:4px;font-size:11px}.dashboard-reference-grid .dashboard-table-wrap .order-number{font-size:11px}.dashboard-reference-grid .dashboard-table-wrap th:first-child,.dashboard-reference-grid .dashboard-table-wrap td:first-child{text-align:center}.dashboard-reference-grid .dashboard-table-wrap .cell-stack strong{font-size:12px}.dashboard-reference-grid .dashboard-table-wrap .cell-stack span{font-size:8px}.dashboard-reference-grid .dashboard-table-wrap .badge{height:23px;font-size:11px}.dashboard-reference-grid .recent-orders-card tbody tr:not(.dashboard-orders-empty){cursor:pointer;transition:background .14s ease}.dashboard-reference-grid .recent-orders-card tbody tr:not(.dashboard-orders-empty):hover,.dashboard-reference-grid .recent-orders-card tbody tr:not(.dashboard-orders-empty):focus{outline:0;background:var(--surface-hover)}.dashboard-reference-grid .dashboard-orders-empty td{height:92px;color:var(--text-muted);font-size:11px;text-align:center}.dashboard-reference-grid .dashboard-messages-card .dashboard-card-head>button{display:none}.dashboard-reference-grid .dashboard-messages-card .dashboard-card-head h2{font-size:13px}.dashboard-reference-grid .dashboard-messages-card .dashboard-card-head p{font-size:9.5px}.dashboard-reference-grid .dashboard-message-list{padding:2px 6px}.dashboard-reference-grid .dashboard-message-list>button{min-height:44px;grid-template-columns:31px minmax(0,1fr) auto;gap:7px}.channel-kicker{font-size:10px}.channel-card button{font-size:11px}.user-card strong{font-size:12px}.user-card span{font-size:11px}.metric span:not(.metric-icon){font-size:11px}.metric small,.toolbar-title p{font-size:10px}.search-control input,.select-control select{font-size:11px}.btn{font-size:10.5px}.badge,.table-footer,.warehouse-list-footer{font-size:11px;font-weight:600}.pagination button,.empty-state span{font-size:10.5px}.eyebrow,.section-label,.dashboard-slider-footer,.dashboard-slider-footer button,.settings-field small,.warehouse-row-subtitle,.warehouse-product-profile span,.warehouse-doc-main small{font-size:10px}.dashboard-reference-grid .dashboard-message-list img{width:31px;height:31px}.dashboard-reference-grid .dashboard-message-list strong{font-size:11px}.dashboard-reference-grid .dashboard-message-list small{font-size:9.5px}.dashboard-reference-grid .dashboard-message-list time{font-size:8.5px}@media(max-width:1260px){.dashboard-revenue-card{grid-column:1 / 8}.dashboard-operations-slider{grid-column:8 / 13}.dashboard-reference-grid .recent-orders-card{grid-column:1 / 9}.dashboard-reference-grid .dashboard-messages-card{grid-column:9 / 13}}.product-table-name span,.warehouse-product-cell span,.purchase-catalog-list span,.purchase-selected-name span{white-space:normal;overflow-wrap:anywhere}.sortable-heading{padding:0!important}.sortable-heading>button{width:100%;min-height:inherit;height:100%;padding:0 10px;border:0;display:flex;align-items:center;justify-content:flex-start;gap:5px;color:inherit;background:transparent;font:inherit;font-weight:inherit;text-align:left}.sortable-heading>button:hover{color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 45%,transparent)}.sortable-heading>button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.sortable-heading i{width:12px;flex:0 0 12px;color:var(--text-muted);font-size:10px;font-style:normal;text-align:center}.sortable-heading.active{color:var(--text)}.sortable-heading.active i{color:var(--primary);font-weight:800}.order-id-heading>button,.dashboard-table-wrap th:first-child>button{justify-content:center}.order-table-date,.order-modified-date,.order-phone-cell{color:var(--text-secondary);font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap}.order-amount-cell{display:block;text-align:center;white-space:nowrap}.client-profile-modal-backdrop{z-index:185;padding:22px;background:#0c121f85;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.client-profile-modal{width:min(980px,calc(100vw - 44px));max-height:calc(100vh - 44px);padding:0;overflow:hidden;border:1px solid var(--border-strong);border-radius:16px;display:flex;flex-direction:column;background:var(--surface-subtle);box-shadow:0 28px 90px #0c121f4d}.client-profile-modal-head{min-height:88px;padding:16px 19px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--surface)}.client-profile-modal-person{display:flex;align-items:center;gap:12px}.client-profile-modal-avatar{width:46px;height:46px;flex:0 0 auto;border-radius:13px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft)}.client-profile-modal-head h2{margin:3px 0 0;display:flex;align-items:center;font-size:20px;letter-spacing:-.35px}.client-profile-modal-head p{margin:3px 0 0;color:var(--text-muted);font-size:10.5px}.client-profile-modal-body{min-height:0;padding:12px;overflow-y:auto;display:grid;grid-template-columns:1.05fr .95fr;align-content:start;gap:10px}.client-profile-stale-warning{grid-column:1 / -1;min-height:38px;padding:7px 9px;border:1px solid rgba(202,126,17,.22);border-radius:8px;display:flex;align-items:center;gap:7px;color:#b67412;background:#ca7e1112;font-size:9.5px}.client-profile-summary-card{grid-column:1 / -1;padding:12px;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:1.25fr 1fr;gap:12px;background:var(--surface)}.client-profile-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.client-profile-contact-list>*{min-width:0;min-height:51px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:8px;color:var(--text-secondary);background:var(--surface-subtle);text-decoration:none}.client-profile-contact-list>*>svg{flex:0 0 auto;color:var(--primary)}.client-profile-contact-list span{min-width:0;display:flex;flex-direction:column;gap:2px}.client-profile-contact-list small{color:var(--text-muted);font-size:9px}.client-profile-contact-list strong{overflow-wrap:anywhere;color:var(--text);font-size:11.5px}.client-profile-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.client-profile-stat-grid>div{min-height:51px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:3px;background:var(--surface-subtle)}.client-profile-stat-grid span{color:var(--text-muted);font-size:9px}.client-profile-stat-grid strong{font-size:13px}.client-profile-stat-grid .cashback{grid-column:1 / -1;min-height:64px;padding-right:82px;position:relative;border-color:#4f63ed38;background:var(--primary-soft)}.client-profile-stat-grid .cashback strong{color:var(--primary)}.client-profile-stat-grid .cashback small{color:var(--text-muted);font-size:9.5px;line-height:1.35;white-space:nowrap}.client-profile-stat-grid .cashback>div{position:absolute;right:9px;bottom:9px;display:flex;gap:6px}.client-profile-stat-grid button{width:29px;height:29px;padding:0;border:1px solid rgba(79,99,237,.2);border-radius:7px;display:grid;place-items:center;color:var(--primary);background:var(--surface)}.client-profile-block-alert{grid-column:1 / -1;min-height:48px;padding:8px 10px;border:1px solid rgba(196,63,85,.25);border-radius:8px;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;color:var(--danger);background:#c43f5512}.client-profile-block-alert div{display:flex;flex-direction:column;gap:2px}.client-profile-block-alert strong{font-size:10.5px}.client-profile-block-alert span{color:var(--text-secondary);font-size:9px}.client-profile-block-alert button,.client-profile-block-button{border:0;color:var(--danger);background:transparent;font-size:9.5px;font-weight:700}.client-profile-block-button{grid-column:1 / -1;width:fit-content;margin-left:auto;display:flex;align-items:center;gap:5px}.client-profile-modal-card{min-width:0;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.client-profile-modal-card.wallet{grid-row:span 2}.client-profile-modal-card-head{min-height:39px;margin:-2px 0 7px;display:flex;align-items:center;justify-content:space-between;gap:8px}.client-profile-modal-card-head h3{margin:0;font-size:12px}.client-profile-modal-card-head p{margin:3px 0 0;color:var(--text-muted);font-size:9px}.client-profile-wallet-list{max-height:310px;overflow-y:auto}.client-profile-wallet-list .client-wallet-transaction,.cashback-modal-history-list .client-wallet-transaction{min-height:42px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:7px}.client-profile-wallet-list .client-wallet-transaction:last-child{border-bottom:0}.client-wallet-transaction>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center}.client-wallet-transaction>span.credit{color:var(--success);background:#23854d1a}.client-wallet-transaction>span.debit{color:var(--danger);background:#c43f551a}.client-wallet-transaction>div{display:flex;flex-direction:column;gap:2px}.client-wallet-transaction strong{font-size:10px}.client-wallet-transaction small{color:var(--text-muted);font-size:9px}.client-wallet-transaction>b{font-size:10.5px;white-space:nowrap}.client-wallet-transaction.inactive{opacity:.58}.client-profile-addresses summary{min-height:32px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;color:var(--primary);font-size:10px;font-weight:650}.client-profile-addresses summary::-webkit-details-marker{display:none}.client-profile-addresses>div{display:flex;flex-direction:column;gap:5px}.client-profile-addresses p{margin:0;padding:7px 8px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:flex-start;gap:7px;color:var(--text-secondary);background:var(--surface-subtle);font-size:9.5px;line-height:1.4}.client-address-dot{width:7px;height:7px;flex:0 0 auto;margin-top:3px;border-radius:50%;background:var(--primary)}.client-profile-order-list{max-height:255px;display:flex;flex-direction:column;gap:5px;overflow-y:auto}.client-profile-order-list>button{width:100%;min-height:48px;padding:7px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);color:var(--text);display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:8px;text-align:left}.client-profile-order-list>button:hover{border-color:color-mix(in srgb,var(--primary) 40%,var(--border));background:var(--surface-hover)}.client-profile-order-list>button>span{min-width:0;display:flex;flex-direction:column;gap:3px}.client-profile-order-list>button>span:nth-child(2){align-items:flex-end}.client-profile-order-list strong,.client-profile-order-list b{font-size:10px;white-space:nowrap}.client-profile-order-list small{color:var(--text-muted);font-size:8.5px}.client-profile-order-list>button>svg{color:var(--primary)}.client-profile-modal-loading{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--text-muted)}.client-profile-modal-loading svg{animation:spin .8s linear infinite}.client-profile-modal-footer{min-height:64px;padding:10px 13px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:7px;background:var(--surface)}.cashback-adjust-modal{width:min(520px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow-y:auto}.cashback-modal-history{margin-top:10px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.cashback-modal-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cashback-modal-history-head>div{display:flex;flex-direction:column;gap:2px}.cashback-modal-history-head strong{font-size:10.5px}.cashback-modal-history-head span{color:var(--text-muted);font-size:9px}.cashback-modal-history-list{max-height:250px;margin-top:6px;overflow-y:auto}.cashback-modal-history-list details summary{padding:7px 0;cursor:pointer;color:var(--primary);font-size:9.5px;font-weight:650}.order-editor-modal{width:min(1180px,calc(100vw - 36px));height:min(900px,calc(100vh - 36px));border-radius:18px;background:#f7f8fc}[data-theme=dark] .order-editor-modal{background:var(--surface-subtle)}.order-editor-modal>header{min-height:78px;padding:14px 19px}.order-editor-modal h2{font-size:20px}.order-editor-modal header p{font-size:11px}.order-editor-body{padding:13px;gap:12px}.order-editor-card{border-radius:12px;box-shadow:0 1px 2px #11182706}.order-editor-card-head{min-height:56px;padding:9px 12px;grid-template-columns:30px minmax(0,1fr) auto}.order-editor-card-head>svg{width:29px;height:29px;padding:6px;border-radius:8px;background:var(--primary-soft)}.order-editor-card-head h3{font-size:12.5px}.order-editor-card-head p{font-size:10px}.order-editor-card-head>button{height:33px;padding:0 10px;font-size:10px}.order-editor-grid{padding:12px;gap:10px}.order-editor-grid label>span,.order-editor-comment-grid label>span{font-size:10px}.order-editor-grid input,.order-editor-grid .select-control{height:39px}.order-editor-grid input{padding:0 10px;border-radius:8px;font-size:11px}.order-editor-grid .select-control select{font-size:11px}.order-editor-items{max-height:292px;overflow:auto}.order-editor-item-head,.order-editor-item{min-width:0;width:100%;grid-template-columns:minmax(260px,1.8fr) minmax(105px,.7fr) 82px 105px 105px 32px;gap:9px}.order-editor-item-head{min-height:34px;padding:0 12px;position:sticky;top:0;z-index:1;font-size:9.5px}.order-editor-item{min-height:53px;padding:7px 12px}.order-editor-item input{height:37px;padding:0 9px;border-radius:7px;font-size:10.5px}.order-editor-item>strong{font-size:11px}.order-editor-comment-grid{padding:12px;gap:10px}.order-editor-comment-grid textarea{min-height:82px;padding:9px 10px;border-radius:8px;font-size:10.5px}.order-editor-modal>footer{min-height:72px;padding:10px 15px;position:relative;z-index:2}.order-editor-totals{gap:8px}.order-editor-totals label{width:96px}.order-editor-totals span{font-size:9px}.order-editor-totals input{height:34px;font-size:10.5px}.order-editor-totals>div strong{font-size:19px}.dashboard-reference-grid .recent-orders-card{grid-column:1 / 8}.dashboard-reference-grid .dashboard-messages-card{grid-column:8 / 13}.dashboard-reference-grid .dashboard-messages-card .dashboard-card-head>button{display:inline-flex}.dashboard-reference-grid .dashboard-message-list{padding:4px 8px}.dashboard-reference-grid .dashboard-message-list>button{min-height:46px;grid-template-columns:34px minmax(0,1fr) auto;gap:9px}.dashboard-reference-grid .dashboard-message-list img{width:34px;height:34px}.dashboard-reference-grid .dashboard-message-list strong{font-size:12px}.dashboard-reference-grid .dashboard-message-list small{font-size:10.5px;line-height:1.3}.dashboard-reference-grid .dashboard-message-list time{font-size:9.5px}.dashboard-attention-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--success);text-align:center}.dashboard-attention-empty span{color:var(--text-muted);font-size:10px}@media(max-width:900px){.client-profile-modal-body,.client-profile-summary-card{grid-template-columns:1fr}.client-profile-modal-card.wallet{grid-row:auto}.order-editor-item-head,.order-editor-item{min-width:760px}}.entity-inspector>header,.warehouse-inspector>header{height:auto;min-height:58px}.entity-inspector>header h2,.warehouse-inspector>header h2{padding-block:2px}.purchase-catalog-list button,.purchase-selected-list article{min-height:58px}.orders-table{border-collapse:separate;border-spacing:0}.orders-table th,.orders-table td{border-right:1px solid color-mix(in srgb,var(--border-strong) 46%,transparent)}.orders-table th:last-child,.orders-table td:last-child{border-right:0}.orders-table thead th{border-bottom:1px solid color-mix(in srgb,var(--border-strong) 78%,transparent);background:color-mix(in srgb,var(--surface-subtle) 94%,var(--surface));box-shadow:inset 0 -1px color-mix(in srgb,var(--surface) 65%,transparent)}.orders-table tbody td{border-bottom:1px solid color-mix(in srgb,var(--border-strong) 58%,transparent)}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table tbody tr:hover td{border-right-color:color-mix(in srgb,var(--border-strong) 62%,transparent)}@media(max-width:1080px){.purchase-workspace-body{grid-template-columns:285px minmax(0,1fr)}.purchase-selected-list article{grid-template-columns:36px minmax(130px,1.4fr) 98px 100px 80px 25px}.product-builder-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}}.opencart-migration-card>header .opencart-mark{width:30px;height:30px;border-radius:9px;display:inline-grid;place-items:center;background:#eaf0ff;color:#4360e8;font-size:10px;font-weight:800;flex:0 0 auto}.migration-stage-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:11px 12px 0}.migration-stage-track>div{min-width:0;min-height:63px;padding:8px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:23px minmax(0,1fr);align-content:start;gap:7px;background:var(--surface-subtle)}.migration-stage-track>div.active{border-color:#9aa9ff;background:color-mix(in srgb,#eef1ff 68%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,#5b6ff0 12%,transparent)}.migration-stage-track>div.done{border-color:color-mix(in srgb,#258650 26%,var(--border));background:color-mix(in srgb,#eaf8ef 60%,var(--surface))}.migration-stage-track>div.locked{opacity:.58}.migration-stage-track>div>span{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;color:#4f63ed;background:#e9edff;font-size:10px;font-weight:800}.migration-stage-track>div.done>span{color:#fff;background:#2a9158}.migration-stage-track strong,.migration-stage-track small{display:block}.migration-stage-track strong{color:var(--text);font-size:10px;line-height:1.25}.migration-stage-track small{margin-top:3px;color:var(--muted);font-size:9.5px;line-height:1.3}.migration-current-step{margin:10px 12px 0;padding:11px 12px;border:1px solid #b5c0ff;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:color-mix(in srgb,#f3f5ff 74%,var(--surface))}.migration-current-copy{min-width:0}.migration-current-copy .eyebrow{color:#5265e9;font-size:9.5px}.migration-current-copy h4{margin:3px 0;color:var(--text);font-size:12px}.migration-current-copy p{max-width:730px;margin:0;color:var(--muted);font-size:10px;line-height:1.45}.migration-current-copy>small{display:block;margin-top:6px;color:var(--text-secondary);font-size:9.5px}.migration-current-step>.btn{flex:0 0 auto;min-width:180px}.migration-range-note{margin:8px 12px 0;padding:7px 9px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:7px;color:var(--text-secondary);background:var(--surface-subtle);font-size:9.5px;line-height:1.4}.migration-import-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 12px 0}.migration-import-progress>div{min-width:0;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:5px 8px;background:var(--surface-subtle)}.migration-import-progress>div.completed{border-color:color-mix(in srgb,#258650 24%,var(--border))}.migration-import-progress>div.running{border-color:#aebafb}.migration-import-progress span strong,.migration-import-progress span small{display:block}.migration-import-progress span strong{color:var(--text);font-size:10px}.migration-import-progress span small{margin-top:2px;color:var(--muted);font-size:9.5px}.migration-import-progress>div>i{grid-column:1;height:4px;border-radius:4px;overflow:hidden;background:color-mix(in srgb,var(--border) 70%,transparent)}.migration-import-progress>div>i b{display:block;height:100%;border-radius:inherit;background:#586bed;transition:width .25s ease}.migration-import-progress>div.completed>i b{background:#2a9158}.migration-import-progress>div>em{grid-column:2;grid-row:1 / span 2;color:var(--muted);font-size:9.5px;font-style:normal;text-align:right}.migration-import-progress>div.completed>em{color:#2a9158}.migration-reconciliation{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:8px 12px 0}.migration-reconciliation>div{min-width:0;padding:7px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface-subtle)}.migration-reconciliation.passed>div{border-color:color-mix(in srgb,#258650 24%,var(--border))}.migration-reconciliation span,.migration-reconciliation strong,.migration-reconciliation small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.migration-reconciliation span{color:var(--muted);font-size:9.5px}.migration-reconciliation strong{margin-top:3px;color:var(--text);font-size:10.5px}.migration-reconciliation small{margin-top:2px;color:var(--muted);font-size:9px}.migration-fallback{margin:9px 12px 0;border-top:1px solid var(--border)}.migration-fallback>summary{padding:9px 0 1px;color:var(--muted);cursor:pointer;font-size:9.5px;font-weight:650}.migration-fallback .migration-steps,.migration-fallback .migration-preview{margin-inline:0}.manifest-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.migration-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 12px 0}.migration-steps>div{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:55px;padding:8px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.migration-steps>div>span{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#edf0ff;color:#4f63ed;font-size:10px;font-weight:800}.migration-steps strong,.migration-steps small{display:block}.migration-steps strong{color:var(--text);font-size:10.5px;line-height:1.25}.migration-steps small{margin-top:2px;color:var(--muted);font-size:8.5px;line-height:1.3}.migration-steps .btn{height:30px;padding-inline:9px;font-size:8.5px;white-space:nowrap;max-width:170px;overflow:hidden;text-overflow:ellipsis}.migration-message{display:flex;align-items:center;gap:8px;margin:8px 12px 0;padding:8px 9px;border-radius:8px;font-size:9px;font-weight:600}.migration-message.error{color:#b83247;border:1px solid #e8a8b2;background:#fff4f6}.migration-message.warning{color:#9a6200;border:1px solid #e8c67f;background:#fff9eb}.migration-preview{margin:8px 12px 0;padding:9px;border:1px solid #aebafb;border-radius:9px;background:#f5f7ff}.migration-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.migration-preview>header strong,.migration-preview>header small{display:block}.migration-preview>header small{margin-top:3px;color:var(--muted);font-size:8px}.migration-preview>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.migration-preview>div span{display:inline-flex;align-items:center;gap:5px;padding:4px 6px;border-radius:6px;background:var(--surface, #fff);border:1px solid var(--border);color:var(--muted);white-space:nowrap;font-size:8px}.migration-preview>div b{color:var(--text)}.migration-reference-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:10px 12px 0}.migration-reference-grid>div{position:relative;min-width:0;min-height:49px;padding:7px 27px 7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.migration-reference-grid>div.ready{border-color:color-mix(in srgb,#23854d 20%,var(--border));background:color-mix(in srgb,#e8f7ed 55%,var(--surface))}.migration-reference-grid strong,.migration-reference-grid span{display:block}.migration-reference-grid strong{font-size:13px;line-height:1.15;color:var(--text)}.migration-reference-grid span{margin-top:3px;color:var(--muted);font-size:8.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.migration-reference-grid svg,.migration-reference-grid i{position:absolute;top:8px;right:8px}.migration-reference-grid svg{color:#23854d}.migration-reference-grid i{width:6px;height:6px;border-radius:50%;background:#c8cede}.opencart-migration-card>footer{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding:8px 12px;border-top:1px solid var(--border);color:var(--muted);background:var(--surface-subtle);font-size:8.5px;line-height:1.3}.opencart-migration-card>footer>span,.opencart-migration-card>footer>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opencart-migration-card>footer small{flex:1;max-width:none;text-align:right;font-size:inherit}@media(max-width:1100px){.migration-stage-track{grid-template-columns:repeat(3,minmax(0,1fr))}.migration-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.migration-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.migration-stage-track{grid-template-columns:1fr}.migration-current-step{align-items:stretch;flex-direction:column}.migration-current-step>.btn{width:100%}.migration-import-progress{grid-template-columns:1fr}.migration-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}.migration-steps,.migration-reference-grid{grid-template-columns:1fr}.migration-steps>div{grid-template-columns:25px minmax(0,1fr)}.migration-steps .btn{grid-column:2;justify-self:start}.opencart-migration-card>footer{display:block}.opencart-migration-card>footer small{display:block;max-width:none;margin-top:5px;text-align:left}.opencart-migration-card>footer>span,.opencart-migration-card>footer>small{white-space:normal}}@media(max-width:760px){.customer-order-row{grid-template-columns:86px minmax(0,1fr) 18px}.customer-order-row .badge,.customer-order-row>b{display:none}.customer-orders-backdrop{padding:12px}.customer-orders-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}}.payment-cards-list.is-saved{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));align-content:start;gap:12px}.payment-cards-list .saved-payment-card{min-height:230px;padding:16px;border:0;border-radius:16px;overflow:hidden;position:relative;color:#fff;background:linear-gradient(135deg,#3949d7,#6e63f2 55%,#8a70f5);box-shadow:0 14px 34px #4642be38}.payment-cards-list .saved-payment-card.tone-1{background:linear-gradient(135deg,#116b70,#20a28d)}.payment-cards-list .saved-payment-card.tone-2{background:linear-gradient(135deg,#252b3f,#4b526a)}.saved-payment-card:after{content:"";width:150px;height:150px;border:1px solid rgba(255,255,255,.2);border-radius:50%;position:absolute;right:-48px;top:-62px}.saved-payment-card-top{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;position:relative;z-index:1}.saved-payment-card-top>span{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#ffffff29}.saved-payment-card-top strong{font-size:12px}.saved-payment-card-top small{color:#ffffffbf;font-size:9px}.saved-payment-number{margin:25px 0 18px;font:600 18px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:1.2px;position:relative;z-index:1}.saved-payment-total{display:flex;justify-content:space-between;align-items:flex-end}.saved-payment-total span{color:#ffffffb3;font-size:9px}.saved-payment-total strong{font-size:17px}.saved-payment-card>p{min-height:34px;margin:12px 0;color:#fffc;font-size:9px;line-height:1.45}.saved-payment-actions{display:flex;gap:7px;position:relative;z-index:1}.saved-payment-actions .btn{flex:1;border-color:#ffffff4d;color:#fff;background:#ffffff24}.saved-payment-actions .btn.primary{color:#353bb4;background:#fff}.linked-order-actions{display:flex;align-items:center;gap:3px}.linked-order-actions .unlink{display:inline-flex;align-items:center;gap:3px;color:#b04b55}.message-bubble p a{color:inherit;font-weight:650;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.message-image-thumb{width:min(220px,100%);margin:0 0 6px;padding:0;border:0;border-radius:9px;overflow:hidden;position:relative;display:block;background:#e8ebf3}.message-image-thumb img{width:100%;max-height:180px;display:block;object-fit:cover}.message-image-thumb span{padding:4px 6px;border-radius:5px;position:absolute;right:6px;bottom:6px;display:inline-flex;align-items:center;gap:3px;color:#fff;background:#141826b8;font-size:9px}.message-file-link{display:inline-flex;align-items:center;gap:5px;color:inherit;font-weight:650;text-decoration:underline}.message-image-modal{z-index:280;padding:24px;position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0d111dc7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.message-image-modal>div{max-width:min(1000px,92vw);max-height:90vh;padding:12px;border-radius:14px;position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--surface);box-shadow:var(--shadow-xl)}.message-image-modal .icon-btn{position:absolute;right:18px;top:18px;color:#fff;background:#00000080}.message-image-modal img{max-width:100%;max-height:calc(90vh - 60px);border-radius:9px;object-fit:contain}.message-image-modal a{color:var(--primary);font-size:10px;font-weight:650}.dashboard-messages-empty{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:10px}.localization-card{background:transparent;box-shadow:none}.localization-card>header{background:var(--surface)}.localization-accordion{padding:10px;display:flex;flex-direction:column;gap:8px;background:var(--surface-subtle)}.localization-accordion details{overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease}.localization-accordion details[open]{border-color:color-mix(in srgb,var(--primary) 24%,var(--border));box-shadow:0 5px 18px #1e31540d}.localization-accordion summary{min-height:62px;padding:9px 12px;cursor:pointer;list-style:none;display:grid;grid-template-columns:34px minmax(0,1fr) auto 16px;align-items:center;gap:10px;-webkit-user-select:none;user-select:none}.localization-accordion summary::-webkit-details-marker{display:none}.localization-accordion summary:hover{background:var(--surface-hover)}.localization-accordion summary>div{min-width:0;display:flex;flex-direction:column;gap:3px}.localization-accordion summary strong{color:var(--text);font-size:13px}.localization-accordion summary small{color:var(--text-muted);font-size:12px;line-height:1.35}.localization-accordion summary em{min-width:23px;height:21px;padding:0 6px;border-radius:7px;color:var(--text-secondary);background:var(--surface-subtle);display:grid;place-items:center;font-size:9.5px;font-style:normal;font-weight:750}.localization-accordion summary>svg{color:var(--text-muted);transition:transform .16s ease}.localization-accordion details[open] summary>svg{transform:rotate(180deg)}.localization-group-icon{width:34px;height:34px;border-radius:9px;color:var(--primary);background:var(--primary-soft);display:grid;place-items:center}.localization-panel{padding:10px;border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface-subtle) 65%,var(--surface))}.localization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.localization-entry{min-width:0;min-height:82px;padding:9px;border:1px solid var(--border);border-radius:9px;background:var(--surface);display:flex;flex-direction:column;gap:7px}.localization-entry>span{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.localization-entry strong{min-width:0;overflow:hidden;color:var(--text);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.localization-entry small{flex:0 0 auto;color:var(--text-muted);font-size:9.5px;white-space:nowrap}.localization-entry input,.review-ai-key-row input,.settings-prompt-textarea{width:100%;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font:inherit}.localization-entry input{min-height:36px;padding:0 10px;font-size:10.5px}.localization-entry input:focus,.review-ai-key-row input:focus,.settings-prompt-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.localization-help{margin:9px 1px 0;color:var(--text-muted);display:flex;align-items:center;gap:6px;font-size:9.5px;line-height:1.4}.localization-help svg{flex:0 0 auto;color:#23854d}.review-ai-status{min-height:56px;margin-bottom:12px;padding:10px 12px;border:1px solid rgba(230,154,37,.28);border-radius:10px;background:#e69a2512;display:flex;align-items:center;gap:10px}.review-ai-status.connected{border-color:#23854d3d;background:#23854d12}.review-ai-status>span{color:#c47d15}.review-ai-status.connected>span{color:#23854d}.review-ai-status>div{display:flex;flex-direction:column;gap:3px}.review-ai-status strong{font-size:11px}.review-ai-status small{color:var(--text-muted);font-size:9.5px}.review-ai-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.review-ai-key-row .btn{min-height:36px;margin-bottom:1px}.settings-prompt-textarea{min-height:122px;padding:10px 11px;resize:vertical;font-size:10.5px;line-height:1.45}.ai-integration-settings{min-height:100%;background:var(--surface-subtle)}.ai-integration-settings .review-ai-status{margin:12px}.ai-integration-settings .integration-detail-section{margin:0 12px 10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.ai-integration-settings .integration-section-head>svg{color:var(--primary)}.ai-connection-fields>.field,.ai-behavior-fields>.field{margin-top:10px}.ai-integration-settings .field>span{font-size:9.5px}.ai-integration-settings .field input,.ai-integration-settings .select-control select{min-height:36px;font-size:10.5px}.ai-integration-settings .settings-prompt-textarea{min-height:150px}.ai-integration-settings .settings-toggle-list{margin-top:10px;border:1px solid var(--border);border-radius:9px;overflow:hidden}.ai-settings-save{width:100%;min-height:36px;margin-top:10px}@media(max-width:1050px){.localization-grid{grid-template-columns:1fr}.localization-entry>span{align-items:flex-start;flex-direction:column;gap:2px}.localization-entry strong,.localization-entry small{white-space:normal}}.reviews-load-more{min-height:62px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text-muted);background:var(--surface-subtle);font-size:9px}.reviews-load-more button{min-height:31px;padding:0 10px;border:1px solid var(--border);border-radius:8px;color:var(--primary);background:var(--surface);display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:750}.reviews-load-more button:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.reviews-load-more button:disabled{opacity:.6}.inbox-actions-menu{position:relative}.inbox-actions-menu>.square-quiet{width:30px;height:30px;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;color:var(--text-secondary);background:var(--surface)}.inbox-actions-popover{width:154px;padding:5px;position:absolute;top:calc(100% + 6px);right:0;z-index:40;border:1px solid var(--border);border-radius:9px;box-shadow:var(--shadow-lg);background:var(--surface)}.inbox-actions-popover button{width:100%;min-height:32px;padding:0 8px;border:0;border-radius:6px;display:flex;align-items:center;gap:7px;color:var(--text);background:transparent;font-size:10px;font-weight:650;text-align:left}.inbox-actions-popover button:hover:not(:disabled){color:var(--primary);background:var(--surface-hover)}.inbox-actions-popover button:disabled{opacity:.45}.selectable-orders-table .selection-column{width:30px;min-width:30px;max-width:30px;padding:0 7px;text-align:center}.selectable-orders-table tr:has(.product-selection-checkbox input:checked){box-shadow:inset 3px 0 0 var(--primary)}.order-bulk-bar{min-height:42px;padding:6px 10px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;background:color-mix(in srgb,var(--primary) 7%,var(--surface))}.order-bulk-bar>div{display:flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:10px}.order-bulk-bar>div strong{min-width:24px;height:24px;border-radius:7px;display:grid;place-items:center;color:#fff;background:var(--primary);font-size:11px}.order-bulk-bar>div button{width:24px;height:24px;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.order-bulk-bar nav{display:flex;align-items:center;gap:5px}.order-bulk-bar nav button{min-height:29px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:inline-flex;align-items:center;gap:5px;color:var(--text-secondary);background:var(--surface);font-size:10px;font-weight:650}.order-bulk-bar nav button:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}.order-bulk-bar nav button:disabled{opacity:.42;cursor:not-allowed}.order-bulk-bar nav button.danger{color:var(--danger)}.messages-loading-thread,.messages-empty-workspace,.draft-empty,.draft-empty-products{min-height:92px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:10px}.messages-empty-workspace{height:100%;flex-direction:column}.messages-empty-workspace strong{color:var(--text);font-size:13px}.messages-empty-workspace span{max-width:260px;text-align:center}.draft-empty{height:100%;padding:18px;flex-direction:column;text-align:center}.message-row.internal{justify-content:center;padding:4px 12%}.message-row.internal .message-stack{max-width:82%}.message-row.internal .message-bubble{padding:6px 11px;border:0;border-radius:8px;background:color-mix(in srgb,var(--text-muted) 9%,var(--surface));box-shadow:none;text-align:center}.message-row.internal .message-bubble p{color:var(--text-muted);font-size:10.5px;line-height:1.4}.message-row.internal .message-bubble time{display:none}.quick-notes-trigger{color:#6758d8;background:color-mix(in srgb,#6758d8 8%,var(--surface))}.quick-notes-trigger:hover{border-color:color-mix(in srgb,#6758d8 35%,var(--border));color:#5545cf}.quick-notes-backdrop{z-index:2460;align-items:flex-start;justify-items:end;padding:64px 18px 18px}.quick-notes-modal{width:min(760px,calc(100vw - 36px));max-height:calc(100vh - 82px);padding:0;gap:0;overflow:hidden;border-radius:16px}.quick-notes-modal>header{min-height:64px;padding:12px 17px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-notes-modal>header h2{margin:0 0 2px;font-size:18px}.quick-notes-modal>header p{margin:0;color:var(--text-muted);font-size:11px}.quick-notes-head-actions{display:flex;align-items:center;gap:7px}.quick-notes-new{min-height:34px;padding:0 11px;font-size:11px}.quick-notes-tabs{min-height:46px;padding:8px 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:5px;overflow-x:auto;background:var(--surface-subtle)}.quick-notes-tabs button{height:28px;padding:0 8px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--text-secondary);background:transparent;font-size:10.5px;font-weight:700}.quick-notes-tabs button span{min-width:16px;height:16px;padding:0 4px;border-radius:99px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface);font-size:9px}.quick-notes-tabs button:hover{color:var(--text);background:var(--surface)}.quick-notes-tabs button.active{border-color:color-mix(in srgb,var(--primary) 20%,var(--border));color:var(--primary);background:var(--primary-soft)}.quick-notes-tabs button.active span{color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--surface))}.quick-notes-sync-error{margin:8px 13px 0;padding:7px 9px;border:1px solid color-mix(in srgb,var(--danger) 26%,var(--border));border-radius:8px;color:var(--danger);background:color-mix(in srgb,var(--danger) 7%,var(--surface));font-size:10px}.quick-notes-workspace{min-height:420px;max-height:calc(100vh - 215px);display:grid;grid-template-columns:255px minmax(0,1fr)}.quick-notes-list{min-width:0;padding:9px;border-right:1px solid var(--border);overflow-y:auto;display:grid;align-content:start;gap:5px;background:var(--surface-subtle)}.quick-note-list-item{width:100%;padding:10px;border:1px solid transparent;border-radius:9px;display:grid;gap:4px;text-align:left;color:var(--text);background:transparent}.quick-note-list-item:hover{background:var(--surface)}.quick-note-list-item.active{border-color:color-mix(in srgb,var(--primary) 25%,var(--border));background:var(--surface);box-shadow:0 2px 8px color-mix(in srgb,var(--text) 6%,transparent)}.quick-note-list-item>span{min-width:0;display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:750}.quick-note-list-item>span svg{flex:0 0 auto;color:var(--primary)}.quick-note-list-item small{overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px}.quick-note-list-item time{color:var(--text-muted);font-size:9.5px}.quick-notes-empty{min-height:150px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text-muted);text-align:center}.quick-notes-empty strong{color:var(--text);font-size:12.5px}.quick-notes-empty span{font-size:10.5px}.quick-note-editor{min-width:0;padding:15px;display:grid;grid-template-rows:auto auto minmax(170px,1fr) auto;gap:10px;overflow-y:auto;background:var(--surface)}.quick-note-editor label{min-width:0;display:grid;gap:4px}.quick-note-editor label>span,.quick-note-category-field>span{color:var(--text-muted);font-size:9px;font-weight:700}.quick-note-editor input,.quick-note-editor textarea{width:100%;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font:500 10.5px/1.45 inherit}.quick-note-editor input{height:32px;padding:0 9px}.quick-note-editor textarea{min-height:190px;height:100%;padding:9px;resize:vertical}.quick-note-message{min-height:0;grid-template-rows:auto minmax(170px,1fr);align-content:stretch}.quick-note-editor input:focus,.quick-note-editor textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.quick-note-editor-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.quick-note-category-field{min-width:0;display:grid;gap:5px}.quick-note-category-chips{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.quick-note-category-chips>span{min-height:28px;padding-left:7px;border:1px solid var(--border);border-radius:7px;display:inline-flex;align-items:center;background:var(--surface-subtle)}.quick-note-category-chips>span.active{border-color:color-mix(in srgb,var(--primary) 28%,var(--border));color:var(--primary);background:var(--primary-soft)}.quick-note-category-chips button{border:0;color:inherit;background:transparent;font-size:9.5px;font-weight:700}.quick-note-category-chips>span>button:first-child{min-height:26px;padding:0 3px 0 0}.quick-note-category-delete{width:23px;height:26px;display:grid;place-items:center;color:var(--text-muted)!important}.quick-note-category-delete:hover{color:var(--danger)!important}.quick-note-category-add{height:28px;padding:0 8px;border:1px dashed var(--border)!important;border-radius:7px;display:inline-flex;align-items:center;gap:4px;color:var(--primary)!important}.quick-note-category-create{height:28px;display:flex}.quick-note-category-create input{width:112px;height:28px;border-radius:7px 0 0 7px}.quick-note-category-create button{width:28px;border:1px solid var(--primary);border-left:0;border-radius:0 7px 7px 0;display:grid;place-items:center;color:#fff;background:var(--primary)}.quick-note-pin,.quick-note-copy{height:30px;padding:0 9px;border:1px solid var(--border);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--text-secondary);background:var(--surface-subtle);font-size:9.5px;font-weight:700}.quick-note-pin{flex:0 0 auto}.quick-note-pin.active{border-color:color-mix(in srgb,var(--primary) 26%,var(--border));color:var(--primary);background:var(--primary-soft)}.quick-note-copy:hover{border-color:color-mix(in srgb,var(--primary) 28%,var(--border));color:var(--primary)}.quick-note-copy:disabled{opacity:.45;cursor:not-allowed}.quick-note-editor footer{padding-top:9px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px}.quick-note-editor footer>div{display:flex;align-items:center;gap:6px}.quick-note-editor footer time{color:var(--text-muted);font-size:9px}.quick-note-editor .danger-text{padding:0 5px;font-size:10px}@media(max-width:700px){.quick-notes-backdrop{padding:20px 10px 10px;align-items:end;justify-items:stretch}.quick-notes-modal{width:100%;max-height:calc(100vh - 20px)}.quick-notes-workspace{min-height:480px;grid-template-columns:155px minmax(0,1fr)}.quick-note-editor{padding:11px}.quick-note-editor footer{align-items:flex-end;flex-direction:column}.quick-note-editor footer>div{width:100%;justify-content:flex-end}.quick-note-editor footer>div:first-child{justify-content:space-between}.quick-note-editor-tools{align-items:center;flex-wrap:wrap}.quick-note-editor-tools label{width:100%}.quick-note-list-item{padding:8px}.quick-note-list-item small{display:none}.quick-notes-tabs{padding-inline:9px}}.admin-note-persistent{margin:0 12px 8px;padding:8px 9px;border:1px solid color-mix(in srgb,#e4a62b 38%,var(--border));border-radius:8px;display:grid;grid-template-columns:auto minmax(0,1fr) 26px 26px;align-items:start;gap:7px;color:#a56d00;background:color-mix(in srgb,#ffca55 10%,var(--surface))}.admin-note-persistent div{min-width:0}.admin-note-persistent strong{display:block;color:var(--text);font-size:10px}.admin-note-persistent p{margin:2px 0 0;color:var(--text-secondary);font-size:10px;line-height:1.4;white-space:pre-wrap}.admin-note-persistent button{width:26px;height:26px;border:0;display:grid;place-items:center;color:var(--text-muted);background:transparent}.admin-note-persistent button:last-child{color:var(--danger)}.admin-note-panel{margin-bottom:8px}.admin-note-panel footer{display:flex;justify-content:flex-end;gap:6px}.admin-note-panel footer .danger-text{margin-right:auto}.emoji-picker{position:relative}.emoji-picker>button{border:0;background:transparent}.emoji-picker>div{width:170px;padding:7px;position:absolute;right:0;bottom:calc(100% + 8px);z-index:20;border:1px solid var(--border);border-radius:9px;box-shadow:var(--shadow-lg);display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:var(--surface)}.emoji-picker>div button{height:32px;border:0;border-radius:6px;background:transparent;font-size:18px}.emoji-picker>div button:hover{background:var(--surface-hover)}.message-product-picker{margin-bottom:8px;padding:7px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.message-product-picker>label{height:32px;padding:0 8px;border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;gap:6px;background:var(--surface)}.message-product-picker input{width:100%;border:0;outline:0;color:var(--text);background:transparent;font-size:10px}.message-product-picker>div{max-height:210px;margin-top:6px;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.message-product-picker>div>button{width:100%;min-height:45px;padding:5px;border:0;border-radius:7px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px;text-align:left;color:var(--text);background:var(--surface)}.message-product-picker img{width:34px;height:34px;border-radius:6px;object-fit:cover}.message-product-picker span{display:flex;flex-direction:column;gap:2px}.message-product-picker strong{font-size:10px}.message-product-picker small{color:var(--text-muted);font-size:9px}.draft-product.editable{grid-template-columns:38px minmax(100px,1fr) auto 72px 24px}.draft-item-price{height:28px;padding:0 5px;border:1px solid var(--border);border-radius:6px;display:flex;align-items:center;gap:2px}.draft-item-price input{width:48px;border:0;outline:0;color:var(--text);background:transparent;font-size:10px;text-align:right}.draft-item-price span{color:var(--text-muted);font-size:9px}.draft-remove-product{width:24px;height:24px;border:0;display:grid;place-items:center;color:var(--danger);background:transparent}.draft-client-fields{padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.draft-client-fields label:first-child,.draft-client-fields label:last-child{grid-column:1 / -1}.draft-client-fields label{display:flex;flex-direction:column;gap:4px}.draft-client-fields span{color:var(--text-muted);font-size:9px}.draft-client-fields input{width:100%;height:32px;padding:0 8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.draft-client-fields input:focus{border-color:var(--primary)}.draft-client-spoiler{padding:0}.draft-client-spoiler>summary{min-height:54px;padding:9px 13px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer}.draft-client-spoiler>summary::-webkit-details-marker{display:none}.draft-client-spoiler>summary>span{min-width:0;display:flex;align-items:center;gap:8px}.draft-client-spoiler>summary>span:first-child>svg{color:var(--primary)}.draft-client-spoiler>summary>span:first-child>span{min-width:0;display:flex;flex-direction:column;gap:2px}.draft-client-spoiler summary strong{font-size:11px}.draft-client-spoiler summary small{overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.draft-client-spoiler summary>span:last-child>svg{color:var(--text-muted);transition:transform .18s ease}.draft-client-spoiler[open] summary>span:last-child>svg{transform:rotate(180deg)}.draft-client-spoiler>.draft-client-fields,.draft-client-spoiler>.message-recipient-fields{margin:0 13px 12px;border-top:1px solid var(--border)}.message-order-status{position:relative;display:flex;flex-direction:column;gap:8px}.message-status-heading{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-secondary);font-size:10px;font-weight:750}.message-status-heading button{width:26px;height:26px;padding:0;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface);cursor:pointer}.message-status-heading button:hover{border-color:var(--primary);color:var(--primary)}.message-quick-status-grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.message-quick-status-grid button{min-width:0;min-height:38px;padding:5px 6px;border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);background:var(--surface);font-size:9px;font-weight:750;line-height:1.15;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.message-quick-status-grid button.has-status-color{border-color:color-mix(in srgb,var(--status-color) 34%,var(--border));color:#111827;background:color-mix(in srgb,var(--status-color) 7%,var(--surface));font-size:11px;font-weight:500}.message-quick-status-grid button.has-status-color:hover:not(:disabled){border-color:color-mix(in srgb,var(--status-color) 52%,var(--border));background:color-mix(in srgb,var(--status-color) 14%,var(--surface))}.message-quick-status-grid button.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 8%,transparent)}.message-quick-status-grid button.active.has-status-color{border-color:var(--status-color);color:#111827;background:color-mix(in srgb,var(--status-color) 18%,var(--surface));box-shadow:0 0 0 2px color-mix(in srgb,var(--status-color) 10%,transparent)}.message-quick-status-grid button:disabled{opacity:.58;cursor:wait}.message-other-status{min-width:0;display:flex;flex-direction:column;gap:4px}.message-other-status>span{color:var(--text-muted);font-size:9px}.message-other-status .select-control{width:100%;min-width:0}.message-order-status>.message-status-saving{display:flex;align-items:center;gap:5px;color:var(--primary);font-size:9px}.message-payment-action{padding:8px}.message-payment-action>button{width:100%;min-height:44px;padding:7px 11px;border:0;border-radius:9px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:8px;color:#fff;background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 78%,#714cff));box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 22%,transparent);text-align:left;cursor:pointer}.message-payment-action>button>svg{grid-row:1 / 3}.message-payment-action>button span{font-size:11px;font-weight:800}.message-payment-action>button small{color:#ffffffc7;font-size:8.5px}.message-payment-action>button:disabled{opacity:.55;cursor:wait}.message-delivery-section,.message-recipient-section{position:relative;z-index:2;padding:0;background:color-mix(in srgb,var(--primary-soft) 20%,var(--surface))}.message-delivery-section>summary>span:first-child>svg,.message-recipient-section>summary>span:first-child>svg{width:30px;height:30px;padding:7px;flex:0 0 30px;border-radius:8px;color:var(--primary);background:var(--primary-soft)}.message-delivery-body{margin:0 13px 12px;padding-top:10px;border-top:1px solid var(--border)}.message-delivery-actions{margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.message-delivery-actions>span{max-width:50%;color:var(--text-muted);font-size:8.5px;line-height:1.35}.message-delivery-actions>div{display:flex;align-items:center;gap:5px}.message-delivery-actions .btn{min-height:30px;height:30px;padding:0 9px;font-size:9px}.message-delivery-readonly{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.message-delivery-readonly>span{min-width:0;min-height:52px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:4px;background:var(--surface)}.message-delivery-readonly small{color:var(--text-muted);font-size:8.5px}.message-delivery-readonly strong{color:var(--text);font-size:10px;line-height:1.3;overflow-wrap:anywhere}.message-shipping-price input,.message-manual-address input,.message-recipient-fields input,.message-adjustments-section input{width:100%;height:34px;padding:0 8px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.message-shipping-price input:focus,.message-manual-address input:focus,.message-recipient-fields input:focus,.message-adjustments-section input:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.message-draft-np-address{z-index:5;grid-template-columns:repeat(2,minmax(0,1fr))}.message-draft-np-address .np-shared-types{grid-column:1 / -1}.message-draft-np-address .np-shared-field{grid-column:auto}.message-draft-np-address .np-shared-house{grid-column:1 / -1}.message-draft-np-address .np-shared-types button{min-width:0;padding-inline:4px;white-space:nowrap}.message-draft-np-address .np-shared-field ul{width:100%;max-width:100%;right:auto;left:0}.message-recipient-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.message-recipient-fields label,.message-adjustments-section label{min-width:0;display:flex;flex-direction:column;gap:4px}.message-recipient-fields span,.message-adjustments-section span{color:var(--text-muted);font-size:9px}.message-adjustments-section{padding-block:9px}.payment-cards-backdrop{z-index:220}.payment-cards-modal{width:min(760px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xl);display:flex;flex-direction:column;overflow:hidden;background:var(--surface)}.payment-cards-modal>header{padding:16px 18px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:16px}.payment-cards-modal h2{margin:2px 0 3px;color:var(--text);font-size:18px}.payment-cards-modal header p{margin:0;color:var(--text-muted);font-size:10px}.payment-token-hint{padding:8px 18px;border-bottom:1px solid var(--border);display:flex;gap:5px;background:var(--surface-subtle)}.payment-token-hint code{padding:3px 6px;border:1px solid var(--border);border-radius:5px;color:var(--primary);background:var(--surface);font-size:9px}.payment-cards-list{min-height:180px;padding:12px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:9px}.payment-cards-list article{padding:9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.payment-card-row{display:grid;grid-template-columns:26px 120px minmax(160px,1fr) 30px 30px 30px;align-items:center;gap:5px}.payment-card-row>span{color:var(--primary)}.payment-card-row input{height:30px;min-width:0;padding:0 7px;border:1px solid var(--border);border-radius:6px;color:var(--text);background:var(--surface);font-size:10px}.payment-card-number{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.4px}.payment-card-row button{width:30px;height:30px;border:1px solid var(--border);border-radius:6px;display:grid;place-items:center;color:var(--primary);background:var(--surface)}.payment-card-row button.danger{color:var(--danger)}.payment-cards-list textarea{width:100%;min-height:64px;margin-top:7px;padding:7px;border:1px solid var(--border);border-radius:7px;resize:vertical;color:var(--text);background:var(--surface);font-size:10px;line-height:1.4}.payment-cards-list article>small{display:block;margin-top:5px;color:var(--text-muted);font-size:9px}.payment-cards-empty{min-height:160px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:10px}.payment-cards-modal>footer{padding:10px 18px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:8px}.payment-cards-modal>footer>div{display:flex;gap:6px}.reviews-load-more{min-height:48px;margin:3px 7px 7px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}@media(max-width:900px){.clients-primary-search{width:100%}}.pending-deletion-chip{min-height:23px;max-width:100%;padding:0 7px;border:1px solid color-mix(in srgb,#7b8290 24%,var(--border));border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:4px;color:#69717f;background:color-mix(in srgb,#aeb4bf 13%,var(--surface));font-size:9px;font-weight:700;line-height:1.15;white-space:nowrap}.pending-deletion-row td{color:var(--text-muted)!important;background:color-mix(in srgb,#aeb4bf 13%,var(--surface))!important}.pending-deletion-row td>:not(.pending-deletion-chip){filter:grayscale(1);opacity:.55}.pending-deletion-row:hover td{background:color-mix(in srgb,#9ba2ae 18%,var(--surface))!important}.inbox-pane{background:linear-gradient(180deg,#fff,#fbfcff)}.inbox-head{height:68px;padding:0 13px 0 16px}.inbox-head h2{font-size:18px;letter-spacing:-.45px}.inbox-head-actions{gap:7px}.inbox-head-actions .square-quiet{width:36px;height:36px;border:1px solid rgba(157,169,194,.38);border-radius:9px;background:var(--surface);box-shadow:0 2px 6px #1f2a4b09}.message-search{height:42px;margin:0 12px 10px;padding-inline:11px;border-radius:10px;background:#f8f9fd}.message-search input{font-size:11.5px}.message-search>button:last-child{width:25px;height:25px;border-radius:7px}.message-search>button:last-child:hover{color:var(--primary);background:var(--primary-soft)}.dialog-state-filters{min-height:67px;padding:0 12px 11px;gap:7px;border-bottom:0}.dialog-state-filters button{height:56px;padding:5px 3px;gap:3px;border:1px solid rgba(157,169,194,.26);border-radius:10px;align-content:center}.dialog-state-filters button span{display:block;overflow:hidden;font-size:8.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.message-filters{min-height:48px;padding:0 12px 10px;gap:6px;border-bottom-color:#9da9c24d}.message-filters button{height:30px;padding:0 10px;border-radius:16px;font-size:10px}.conversation-group-label{min-height:34px;padding-inline:14px;background:#fafbfe;font-size:9px;letter-spacing:.75px}.conversation-item{min-height:84px;padding:11px 12px;grid-template-columns:42px minmax(0,1fr);gap:11px}.conversation-item>:is(img,.conversation-avatar-fallback){width:42px;height:42px}.conversation-title strong{font-size:13px}.conversation-source{font-size:10.5px;font-weight:650}.conversation-preview{font-size:11.5px}.conversation-item>em{width:20px;height:20px;right:12px;bottom:13px;border-radius:6px}.conversation-limit-note{min-height:48px;padding-left:15px}.pinned-stories-group{padding-bottom:8px;border-bottom:1px solid var(--border)}.pinned-stories-group .conversation-group-label{border-bottom:0}.pinned-stories{padding:1px 12px 4px;display:flex;align-items:flex-start;gap:9px;overflow-x:auto;scrollbar-width:none}.pinned-stories::-webkit-scrollbar{display:none}.pinned-story{width:49px;min-width:49px;position:relative;color:var(--text-secondary)}.pinned-story-select{width:100%;padding:0;border:0;display:flex;flex-direction:column;align-items:center;gap:4px;color:inherit;background:transparent;cursor:pointer}.pinned-story-select>:is(img,.conversation-avatar-fallback){width:42px;height:42px;padding:2px;border:2px solid color-mix(in srgb,var(--primary) 66%,#e5e8f1);border-radius:50%;object-fit:cover;background:var(--surface)}.pinned-story.selected .pinned-story-select>:is(img,.conversation-avatar-fallback){border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.pinned-story-select>span{width:100%;overflow:hidden;color:var(--text-secondary);font-size:8.5px;font-weight:650;text-align:center;text-overflow:ellipsis;white-space:nowrap}.pinned-story>em{width:16px;height:16px;position:absolute;top:-1px;left:1px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--primary);font-size:8px;font-style:normal;font-weight:800}.messages-layout{grid-template-columns:minmax(240px,296px) minmax(360px,1fr) minmax(300px,360px)}.dialog-state-filters{min-height:49px;padding:0 10px 8px;gap:5px}.dialog-state-filters button{height:39px;padding:3px 2px;gap:2px;border-radius:8px}.dialog-state-filters button span{font-size:7.5px}.message-filters{min-height:38px;padding:0 8px;gap:0;border-bottom-color:#9da9c24d;background:var(--surface)}.message-filters button{height:38px;padding:0 9px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--text-muted);background:transparent;font-size:10px;font-weight:650}.message-filters button:hover{color:var(--text);border-color:transparent;background:transparent}.message-filters button.active{border-color:var(--channel-color, var(--primary));color:var(--channel-color, var(--primary));background:transparent;box-shadow:none}.conversation-list .conversation-source{color:var(--channel-color, #3978df)!important}.conversation-item{min-height:0;padding:8px 10px;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:9px}.conversation-item.icon-only-channel{padding-block:7px}.conversation-item.with-channel-label{padding-block:9px}.conversation-item>:is(img,.conversation-avatar-fallback){width:38px;height:38px}.conversation-title strong{font-size:12px}.conversation-source{font-size:9.5px}.conversation-preview{font-size:10.5px}.conversation-avatar-fallback{display:inline-grid;flex:0 0 auto;place-items:center;color:#fff;font-size:14px;font-weight:750;line-height:1;text-transform:uppercase}.conversation-avatar-fallback.tone-0{background:linear-gradient(145deg,#ff8b62,#e85447)}.conversation-avatar-fallback.tone-1{background:linear-gradient(145deg,#ef88b5,#d9517b)}.conversation-avatar-fallback.tone-2{background:linear-gradient(145deg,#62bfcc,#317eaa)}.conversation-avatar-fallback.tone-3{background:linear-gradient(145deg,#9582ec,#6558c9)}.conversation-avatar-fallback.tone-4{background:linear-gradient(145deg,#e2ad62,#ba7b30)}.conversation-avatar-fallback.tone-5{background:linear-gradient(145deg,#71bf8a,#2f8b67)}@media(max-width:1180px){.messages-layout{grid-template-columns:minmax(236px,278px) minmax(340px,1fr) minmax(280px,320px)}}.pending-deletion-panel{background:color-mix(in srgb,#aeb4bf 9%,var(--surface))!important}.pending-deletion-panel>:not(header){filter:grayscale(1);opacity:.58;pointer-events:none}.order-pending-deletion>.inspector-scroll,.order-pending-deletion>.inspector-actions,.order-pending-deletion>.modal-status-footer{filter:grayscale(1);opacity:.58;pointer-events:none}.warehouse-inspector-head-actions .pending-deletion-chip{max-width:108px;white-space:normal;text-align:center}@media(max-width:1180px){.movements-toolbar>div:first-child{min-width:190px;flex-basis:230px}.movements-toolbar>div:first-child p{display:none}.movements-toolbar .warehouse-toolbar-controls .search-control{min-width:150px}.movements-toolbar .warehouse-toolbar-controls .warehouse-select{min-width:106px}}.calculated-price-field>span{display:flex;align-items:center;justify-content:space-between;gap:5px}.calculated-price-field>span small{color:#23854d;font-size:7.5px;font-weight:700}.product-builder-grid .calculated-price-field input{border-color:#23854d38;background:#23854d12;color:#23854d;font-weight:800;cursor:default}.product-price-result{min-height:39px;margin:-2px 11px 11px;padding:7px 10px;border:1px solid rgba(35,133,77,.18);border-radius:8px;background:#23854d0e;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px}.product-price-result span{color:var(--text-muted);font-size:8.5px}.product-price-result strong{grid-row:1 / 3;grid-column:2;color:#23854d;font-size:13px}.product-price-result em{color:#23854d;font-size:8.5px;font-style:normal;font-weight:650}.product-price-result.negative{border-color:#c43f5533;background:#c43f550e}.product-price-result.negative strong,.product-price-result.negative em{color:var(--danger)}.purchase-selected-list article.purchase-line-with-options{min-height:96px;align-items:start;padding-block:9px}.purchase-option-selects{margin-top:4px;display:flex;align-items:flex-end;flex-wrap:wrap;gap:5px}.purchase-option-selects label{min-width:94px;max-width:150px;display:flex;flex-direction:column;gap:2px}.purchase-option-selects label>span{color:var(--text-muted);font-size:7.5px}.purchase-option-selects select{width:100%;height:27px;padding:0 23px 0 6px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text);background:var(--surface);font-size:8px}.purchase-option-selects select:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.purchase-add-option-line{width:fit-content;margin-top:5px;padding:0;border:0;background:transparent;color:var(--primary);display:inline-flex;align-items:center;gap:4px;font-size:8px;font-weight:700}.order-modified-date{color:var(--text-secondary);font-size:11px;white-space:nowrap}.order-editor-backdrop{z-index:175;padding:20px;background:#0c121f80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.order-editor-modal{width:min(1120px,calc(100vw - 40px));height:min(880px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--border-strong);border-radius:16px;background:var(--surface-subtle);box-shadow:0 28px 90px #0c121f57;display:flex;flex-direction:column}.order-editor-modal>header{min-height:92px;padding:18px 22px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:18px}.order-editor-modal h2{margin:3px 0 0;font-size:21px;letter-spacing:-.35px}.order-editor-modal header p{margin:4px 0 0;color:var(--text-muted);font-size:10.5px}.order-editor-body{flex:1;min-height:0;padding:12px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px}.order-editor-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.order-editor-card-head{min-height:52px;padding:8px 11px;border-bottom:1px solid var(--border);background:var(--surface-subtle);display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px}.order-editor-card-head>svg{color:var(--primary)}.order-editor-card-head h3{margin:0;font-size:11.5px}.order-editor-card-head p{margin:2px 0 0;color:var(--text-muted);font-size:8.5px}.order-editor-card-head>button{height:29px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--primary);display:inline-flex;align-items:center;gap:4px;font-size:8.5px;font-weight:700}.order-editor-grid{padding:10px 11px;display:grid;gap:8px}.order-editor-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.order-editor-grid .span-two{grid-column:span 2}.order-editor-grid label,.order-editor-comment-grid label{min-width:0;display:flex;flex-direction:column;gap:4px}.order-editor-grid label>span,.order-editor-comment-grid label>span{color:var(--text-secondary);font-size:8.5px;font-weight:650}.order-editor-grid input,.order-editor-grid .select-control{width:100%;height:34px}.order-editor-grid input{padding:0 8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font-size:10px}.order-editor-grid input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.order-editor-items-card,.order-editor-comments-card{grid-column:1 / -1}.order-editor-items{overflow-x:auto}.order-editor-item-head,.order-editor-item{min-width:900px;display:grid;grid-template-columns:minmax(250px,1.7fr) 150px 82px 110px 110px 30px;align-items:center;gap:8px}.order-editor-item-head{min-height:31px;padding:0 10px;color:var(--text-muted);background:var(--surface-subtle);font-size:8px}.order-editor-item{min-height:48px;padding:6px 10px;border-top:1px solid var(--border)}.order-editor-item input{width:100%;height:33px;padding:0 7px;border:1px solid var(--border);border-radius:6px;outline:0;color:var(--text);background:var(--surface);font-size:9.5px}.order-editor-item input:focus{border-color:var(--primary)}.order-editor-item>strong{text-align:right;font-size:10px}.order-editor-item>button{width:29px;height:31px;padding:0;border:0;background:transparent;color:var(--danger);display:grid;place-items:center}.order-editor-item>button:disabled{opacity:.25}.order-editor-comment-grid{padding:10px 11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-editor-comment-grid textarea{min-height:76px;padding:8px;resize:vertical;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:9.5px;line-height:1.4}.order-editor-comment-grid textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.order-editor-modal>footer{min-height:76px;padding:10px 14px;border-top:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:flex-end;gap:8px}.order-editor-totals{margin-right:auto;display:flex;align-items:center;gap:7px}.order-editor-totals label{width:90px;display:flex;flex-direction:column;gap:3px}.order-editor-totals span{color:var(--text-muted);font-size:7.5px}.order-editor-totals input{width:100%;height:30px;padding:0 7px;border:1px solid var(--border);border-radius:6px;color:var(--text);background:var(--surface);font-size:9px}.order-editor-totals>div{min-width:130px;padding-left:9px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:2px}.order-editor-totals>div strong{color:var(--primary);font-size:17px}.client-profile-facts{margin-top:8px;display:grid;grid-template-columns:115px minmax(0,1fr);gap:7px}.client-profile-facts>div,.client-profile-facts details{min-height:42px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.client-profile-facts>div{display:flex;flex-direction:column;justify-content:center;gap:2px}.client-profile-facts span{color:var(--text-muted);font-size:8px}.client-profile-facts strong{color:var(--text);font-size:10.5px}.client-profile-facts summary{min-height:26px;cursor:pointer;list-style:none;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px}.client-profile-facts summary::-webkit-details-marker{display:none}.client-profile-facts details[open] summary svg{transform:rotate(180deg)}.client-profile-facts details>div{padding-top:5px;border-top:1px solid var(--border)}.client-profile-facts p{margin:5px 0 0;color:var(--text-secondary);font-size:8.5px;line-height:1.35}.blocked-customer-alert{min-height:48px;margin-top:8px;padding:8px 9px;border:1px solid rgba(196,63,85,.28);border-radius:8px;background:#c43f5512;color:var(--danger);display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px}.blocked-customer-alert>div{display:flex;flex-direction:column;gap:2px}.blocked-customer-alert strong{font-size:9px}.blocked-customer-alert span{color:#a63b4c;font-size:8px;line-height:1.35}.blocked-customer-alert button{height:27px;padding:0 7px;border:1px solid rgba(196,63,85,.25);border-radius:6px;background:var(--surface);color:var(--danger);font-size:8px;font-weight:700}.block-customer-action{width:fit-content;margin:7px 0 0 auto;padding:0;border:0;background:transparent;color:var(--danger);display:flex;align-items:center;gap:4px;font-size:8px;font-weight:650}.client-block-backdrop{z-index:190}.client-block-modal{width:min(540px,calc(100vw - 32px))}.client-block-warning{margin:12px 0;padding:10px;border:1px solid rgba(196,63,85,.25);border-radius:8px;background:#c43f5512;color:var(--danger);display:flex;gap:9px}.client-block-warning>div{display:flex;flex-direction:column;gap:3px}.client-block-warning strong{font-size:10.5px}.client-block-warning span{color:var(--text-secondary);font-size:9px;line-height:1.4}.client-block-identities{margin-bottom:11px;display:flex;flex-wrap:wrap;gap:5px}.client-block-identities span{padding:5px 7px;border:1px solid var(--border);border-radius:6px;background:var(--surface-subtle);color:var(--text-secondary);font-size:8px}.client-block-modal .field textarea{min-height:82px;padding:8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:10px;resize:vertical}.client-block-modal .btn.danger{background:var(--danger);color:#fff}.client-editor-modal{width:min(650px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow-y:auto}.client-editor-modal .field textarea{min-height:72px;padding:8px;border:1px solid var(--border);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:10px;line-height:1.4;resize:vertical}.client-editor-modal .field>span small{color:var(--text-muted);font-size:8px;font-weight:500}.client-editor-block-control{margin-top:10px;padding:9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.client-editor-block-control.active{border-color:#c43f5547;background:#c43f550f}.client-editor-block-control>label{display:flex;align-items:center;gap:8px}.client-editor-block-control>label>span{display:flex;flex-direction:column;gap:2px}.client-editor-block-control strong{font-size:9.5px}.client-editor-block-control small{color:var(--text-muted);font-size:8px}.client-editor-block-control textarea{width:100%;min-height:58px;margin-top:8px;padding:7px;border:1px solid rgba(196,63,85,.24);border-radius:7px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:9px;resize:vertical}.blocked-client-row td{background:color-mix(in srgb,rgba(196,63,85,.08) 72%,var(--surface))}.client-inspector-badges{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.entity-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.entity-detail-heading h3{margin:0}.client-address-history>div:last-child{display:flex;flex-direction:column;gap:5px}.client-address-history p{margin:0;padding:6px 7px;border:1px solid var(--border);border-radius:6px;background:var(--surface-subtle);color:var(--text-secondary);font-size:8.5px;line-height:1.35}.entity-empty-copy{color:var(--text-muted);font-size:9px}.client-orders-open-action{width:100%;min-height:47px;padding:6px 7px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);display:grid;grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:7px;text-align:left}.client-orders-open-action>span{width:32px;height:32px;border-radius:8px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.client-orders-open-action>div{display:flex;flex-direction:column;gap:2px}.client-orders-open-action small{color:var(--text-muted);font-size:8px}.client-orders-open-action strong{font-size:9.5px}.client-orders-open-action b{color:var(--text-secondary);font-size:9.5px}.client-orders-open-action>svg{color:var(--primary)}.client-orders-open-action:hover{border-color:color-mix(in srgb,var(--primary) 40%,var(--border));background:var(--surface-hover)}.client-blocked-panel{margin:10px 12px;padding:9px;border:1px solid rgba(196,63,85,.26);border-radius:8px;background:#c43f5512;color:var(--danger);display:grid;grid-template-columns:22px minmax(0,1fr);gap:7px}.client-blocked-panel>div{display:flex;flex-direction:column;gap:2px}.client-blocked-panel strong{font-size:9.5px}.client-blocked-panel span{color:#a63b4c;font-size:8.5px;line-height:1.35}.client-blocked-panel button{grid-column:2;width:fit-content;padding:0;border:0;background:transparent;color:var(--danger);font-size:8px;font-weight:700}.client-block-profile-action{width:100%;min-height:31px;border:1px solid rgba(196,63,85,.22);border-radius:7px;background:#c43f550b;color:var(--danger);display:flex;align-items:center;justify-content:center;gap:5px;font-size:8.5px;font-weight:700}@media(max-width:850px){.order-editor-body{grid-template-columns:1fr}.order-editor-items-card{grid-column:auto}.order-editor-grid.three{grid-template-columns:1fr 1fr}.order-editor-grid .span-two{grid-column:span 2}.order-editor-modal>footer{align-items:stretch;flex-wrap:wrap}.order-editor-totals{width:100%}.client-profile-facts{grid-template-columns:1fr}}.order-modal-window .inspector-head{min-height:78px;padding:14px 24px;align-items:center;gap:18px}.order-head-summary{min-width:0;flex:1}.order-modal-window .order-title-row{min-height:36px;flex-wrap:nowrap;gap:8px}.order-modal-window .order-title-row h2{margin-right:2px;font-size:20px;white-space:nowrap}.order-modal-window .order-title-row .badge{min-height:24px;padding:4px 7px;font-size:9.5px}.order-modal-window .order-title-meta{margin-left:auto;padding-left:8px;border-left:1px solid var(--border);white-space:nowrap;font-size:10px}.order-modal-window .order-modal-head-actions{flex:0 0 auto}.order-modal-window .order-modal-head-actions .icon-btn{width:31px;height:31px}.order-head-menu{position:relative}.order-head-menu>.order-head-action.active{border-color:color-mix(in srgb,var(--primary) 38%,var(--border));color:var(--primary);background:var(--primary-soft)}.order-head-actions-popover{z-index:30;position:absolute;right:0;top:calc(100% + 7px);width:188px;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 16px 38px #0f172a2e;display:flex;flex-direction:column;gap:2px}.order-head-actions-popover button{width:100%;min-height:34px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--text);display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;text-align:left}.order-head-actions-popover button:hover{background:var(--surface-hover)}.order-head-actions-popover button.danger{color:var(--danger)}.order-head-actions-popover button.danger:hover{background:color-mix(in srgb,var(--danger) 8%,var(--surface))}.order-modal-window .order-head-action{transition:color .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}.order-modal-window .order-head-action:hover{transform:translateY(-1px)}.order-modal-window .order-head-action.edit{border-color:color-mix(in srgb,var(--primary) 24%,var(--border));color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 64%,var(--surface))}.order-modal-window .order-head-action.edit:hover{border-color:color-mix(in srgb,var(--primary) 48%,var(--border));background:var(--primary-soft);box-shadow:0 5px 12px color-mix(in srgb,var(--primary) 16%,transparent)}.order-modal-window .order-head-action.danger{border-color:color-mix(in srgb,var(--danger) 22%,var(--border));color:var(--danger);background:color-mix(in srgb,var(--danger) 6%,var(--surface))}.order-modal-window .order-head-action.danger:hover{border-color:color-mix(in srgb,var(--danger) 44%,var(--border));background:color-mix(in srgb,var(--danger) 10%,var(--surface));box-shadow:0 5px 12px color-mix(in srgb,var(--danger) 13%,transparent)}.order-modal-window .client-card{grid-template-columns:44px minmax(0,1fr) auto}.client-cashback-wallet{min-width:128px;padding-left:12px;border-left:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:9px}.client-cashback-wallet>div:first-child{display:flex;flex-direction:column;align-items:flex-end;gap:1px}.client-cashback-wallet strong{color:var(--text);font-size:12px;white-space:nowrap}.client-cashback-wallet span{color:var(--text-muted);font-size:9px}.client-cashback-actions{display:flex;gap:4px}.client-cashback-actions button,.client-wallet-head button{width:25px;height:25px;padding:0;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;color:var(--primary);background:var(--surface)}.client-cashback-actions button:first-child,.client-wallet-head button:first-child{color:var(--danger)}.client-cashback-actions button:disabled,.client-wallet-head button:disabled{opacity:.35;cursor:default}.customer-first-order.disabled{min-height:48px;margin-top:8px;padding:7px 10px;border:1px dashed var(--border);border-radius:8px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;color:var(--text-muted);background:var(--surface-subtle)}.customer-first-order.disabled>span{display:flex;flex-direction:column;gap:2px}.customer-first-order.disabled small{font-size:8.5px}.customer-first-order.disabled b{color:var(--text-secondary);font-size:10px}.customer-first-order.disabled em{font-style:normal;font-size:8.5px}.product-copy .product-selected-option{color:var(--primary);font-size:10px;font-weight:650;line-height:1.35}.product-copy .product-selected-option small{color:var(--text-secondary);font:inherit;font-weight:650}.product-copy .product-selected-option b{color:var(--primary);font:inherit;font-weight:750}.product-copy .product-selected-option i{color:var(--text-muted);font-style:normal}.messages-layout{position:relative}.messages-refresh-button{z-index:8;position:absolute;left:194px;top:10px}.message-file-link{width:min(260px,100%);padding:8px 10px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:9px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;color:inherit;background:color-mix(in srgb,var(--surface) 36%,transparent);text-align:left;text-decoration:none}.message-file-link span{overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.message-file-link small{opacity:.7;font-size:9px}.integration-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.integration-wizard-steps span{min-height:34px;padding:0 8px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:9.5px;font-weight:650}.integration-wizard-steps span b{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:var(--surface-muted);font-size:9px}.integration-wizard-steps span.active{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));color:var(--primary);background:var(--primary-soft)}.integration-wizard-steps span.active b{color:#fff;background:var(--primary)}.product-copy>small{color:var(--text-muted);font-size:9.5px}.delivery-card-actions{margin-top:9px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px}.delivery-card-actions button{height:40px;border-radius:9px}.delivery-edit-icon,.delivery-assign-ttn-icon{padding:0;border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);display:grid;place-items:center}.delivery-assign-ttn-icon{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 28%,var(--border));background:color-mix(in srgb,var(--primary-soft) 42%,var(--surface))}.delivery-assign-ttn-icon:hover,.delivery-assign-ttn-icon.active{border-color:var(--primary);background:var(--primary-soft)}.delivery-edit-icon.danger{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 25%,var(--border));background:color-mix(in srgb,var(--danger) 5%,var(--surface))}.delivery-create-ttn{border:1px solid var(--primary);color:#fff;background:var(--primary);display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:700}.delivery-create-ttn.print{border-color:#18844d;background:#18844d}.delivery-create-ttn:hover{filter:brightness(.98)}.delivery-printed-at{margin-top:5px;display:block;color:var(--text-muted);font-size:9px;text-align:right}.assign-ttn-button{width:100%;min-height:32px;margin-top:6px;border:1px dashed color-mix(in srgb,var(--primary) 34%,var(--border));border-radius:8px;color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 35%,var(--surface));font-size:10px;font-weight:700;cursor:pointer}.assign-ttn-form{margin-top:8px;padding:10px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border));border-radius:9px;background:color-mix(in srgb,var(--primary-soft) 34%,var(--surface));display:flex;flex-direction:column;gap:8px}.assign-ttn-copy{display:flex;flex-direction:column;gap:2px}.assign-ttn-copy strong{color:var(--text);font-size:10.5px}.assign-ttn-copy span{color:var(--text-muted);font-size:9px;line-height:1.35}.assign-ttn-controls{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:6px}.assign-ttn-form input{width:100%;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px}.assign-ttn-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.assign-ttn-form>small{color:var(--danger);font-size:9px}.np-modal-backdrop{z-index:210;padding:18px;background:#0c121f8a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.np-settings-modal,.np-ttn-modal{width:min(1040px,calc(100vw - 36px));max-height:calc(100vh - 36px);padding:0;gap:0;overflow:hidden;border-radius:16px}.np-ttn-modal{width:min(920px,calc(100vw - 36px))}.np-modal-head{min-height:82px;padding:16px 20px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:42px minmax(0,1fr) 34px;align-items:center;gap:12px}.np-modal-head>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}.np-modal-head span{color:var(--primary);font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.np-modal-head h2{margin:0;font-size:19px;line-height:1.2}.np-modal-head p{margin:0;color:var(--text-muted);font-size:10.5px;line-height:1.4}.np-brand-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#ef394c,#c7182a);box-shadow:0 7px 18px #dc1f3140}.np-tabs{min-height:48px;padding:7px 20px 0;border-bottom:1px solid var(--border);display:flex;gap:3px;background:var(--surface-subtle)}.np-tabs button{min-width:0;min-height:40px;padding:0 10px;flex:1 1 0;border:0;border-bottom:2px solid transparent;color:var(--text-muted);background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:750;white-space:nowrap;cursor:pointer}.np-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.np-tabs button:disabled{opacity:.45;cursor:not-allowed}.np-tabs em{min-width:25px;padding:2px 5px;border-radius:9px;color:inherit;background:var(--surface-muted);font-size:9px;font-style:normal;text-align:center}.np-settings-body,.np-ttn-body{min-height:420px;max-height:calc(100vh - 228px);padding:18px 20px;overflow:auto;background:var(--surface)}.np-ttn-body{min-height:430px;max-height:calc(100vh - 176px)}.np-loading,.np-empty-config{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--text-muted);font-size:11px;text-align:center}.np-empty-config strong{color:var(--text);font-size:14px}.np-empty-config p{margin:0 0 5px;max-width:340px;line-height:1.5}.np-accounts-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:16px;align-items:start}.np-section-card,.np-add-account{padding:15px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:12px}.np-add-account{position:sticky;top:0}.np-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.np-section-title h3{margin:0;color:var(--text);font-size:12.5px}.np-section-title p{margin:3px 0 0;color:var(--text-muted);font-size:9.5px;line-height:1.45}.np-account-list{margin-top:11px;display:flex;flex-direction:column;gap:7px}.np-account-list article{min-height:58px;border:1px solid var(--border);border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:stretch;overflow:hidden;background:var(--surface)}.np-account-list article.active{border-color:color-mix(in srgb,var(--primary) 42%,var(--border));box-shadow:inset 3px 0 var(--primary)}.np-account-main{padding:9px 11px;border:0;color:inherit;background:transparent;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.np-account-main>div{min-width:0;display:flex;flex-direction:column;gap:3px}.np-account-main strong{font-size:11px}.np-account-main small{color:var(--text-muted);font-size:9.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-account-check{width:20px;height:20px;flex:0 0 20px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center}.np-account-list article.active .np-account-check{border-color:var(--primary);color:#fff;background:var(--primary)}.np-account-delete{border:0;border-left:1px solid var(--border);color:var(--text-muted);background:transparent;cursor:pointer}.np-account-delete:hover{color:#d32f45;background:#d32f450f}.np-empty-card{min-height:150px;border:1px dashed var(--border);border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text-muted)}.np-empty-card strong{color:var(--text);font-size:11px}.np-empty-card span{font-size:9.5px}.np-field{min-width:0;display:flex;flex-direction:column;gap:5px;color:var(--text-muted);font-size:9.5px;font-weight:700}.np-field input,.np-field select,.np-field textarea{width:100%;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:none;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px;font-weight:550}.np-field textarea{height:58px;padding-block:9px;line-height:1.4;resize:vertical}.np-field input:focus,.np-field select:focus,.np-field textarea:focus{border-color:color-mix(in srgb,var(--primary) 54%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent)}.np-ttn-comment-field small{color:var(--text-muted);font-size:8.5px;font-weight:500;line-height:1.4}.np-field input:disabled,.np-field select:disabled{opacity:.55;cursor:not-allowed}.np-sender-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.7fr);gap:16px;align-items:start}.np-readiness{min-height:190px;padding:20px;border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;background:var(--surface-subtle)}.np-readiness>span{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;color:var(--text-muted);background:var(--surface-muted)}.np-readiness.ready{border-color:#23a45e4d;background:#23a45e0f}.np-readiness.ready>span{color:#fff;background:#23a45e}.np-readiness strong{font-size:12px}.np-readiness p{margin:0;color:var(--text-muted);font-size:10px;line-height:1.5}.np-readiness small{color:var(--text-muted);font-size:9.5px}.np-defaults-grid,.np-ttn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.np-shipment-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(230px,.55fr);gap:16px;align-items:start}.np-shipment-card{min-width:0}.np-shipment-summary{min-height:174px;padding:17px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle);display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px}.np-shipment-summary>span{width:38px;height:38px;border-radius:10px;color:var(--primary);background:var(--primary-soft);display:grid;place-items:center}.np-shipment-summary>div{min-width:0;display:flex;flex-direction:column;gap:4px}.np-shipment-summary small{color:var(--text-muted);font-size:9px}.np-shipment-summary strong{font-size:11px;line-height:1.35}.np-shipment-summary p{margin:0;color:var(--text-secondary);font-size:10px}.np-shipment-summary em{grid-column:1 / -1;margin-top:8px;padding-top:10px;border-top:1px solid var(--border);color:var(--text-muted);font-size:9px;font-style:normal;line-height:1.45}.np-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.np-wide{grid-column:1 / -1}.np-toggle{min-height:48px;padding:8px 0;border:0;border-top:1px solid var(--border);color:inherit;background:transparent;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.np-toggle>i{width:34px;height:19px;padding:2px;border-radius:10px;display:flex;align-items:center;background:var(--surface-muted);transition:.15s ease}.np-toggle>i span{width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0e162640;transition:.15s ease}.np-toggle.active>i{background:#23a45e}.np-toggle.active>i span{transform:translate(15px)}.np-toggle strong{display:flex;flex-direction:column;gap:2px;font-size:10.5px}.np-toggle small{color:var(--text-muted);font-size:9px;font-weight:500}.np-delivery-settings-card{width:min(820px,100%);margin:0 auto;gap:15px}.np-delivery-primary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.np-payer-settings-stack{padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:flex;flex-direction:column;gap:9px}.np-payer-settings-stack .np-section-title h4{margin:0;color:var(--text);font-size:10.5px}.np-payer-settings-stack .np-section-title p{max-width:650px}.np-payer-setting{min-width:0;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle);display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);align-items:center;gap:14px}.np-payer-setting>div:first-child{display:flex;flex-direction:column;gap:3px}.np-payer-setting strong{font-size:10px;line-height:1.35}.np-payer-setting small{color:var(--text-muted);font-size:8.8px;line-height:1.35}.np-payer-setting-options{padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.np-payer-setting-options button{min-width:0;min-height:32px;padding:0 6px;border:1px solid transparent;border-radius:6px;color:var(--text-muted);background:transparent;font-size:9px;font-weight:720;white-space:nowrap;cursor:pointer}.np-payer-setting-options button.active{border-color:color-mix(in srgb,var(--primary) 70%,#fff);color:#fff;background:var(--primary);box-shadow:0 2px 7px color-mix(in srgb,var(--primary) 18%,transparent)}.np-payer-setting-options button:disabled:not(.active){opacity:.42;cursor:not-allowed}.np-payer-setting.locked{background:var(--surface-subtle)}.np-payer-setting.locked .np-payer-setting-options button.active{border-color:color-mix(in srgb,var(--primary) 70%,#fff);background:var(--primary)}.np-payment-control-row{padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.np-payment-control-row .np-toggle{border-top:0}.np-rule-note{padding:11px;border-radius:9px;color:#694d00;background:#fff8dc;display:flex;gap:9px}.np-rule-note svg{flex:0 0 auto}.np-rule-note p{margin:0;font-size:9.5px;line-height:1.55}[data-theme=dark] .np-rule-note{color:#f1d98d;background:#c799141f}.np-rule-note-neutral{border:1px solid color-mix(in srgb,var(--primary) 13%,var(--border));color:var(--text-secondary);background:color-mix(in srgb,var(--primary-soft) 42%,var(--surface))}[data-theme=dark] .np-rule-note-neutral{color:var(--text-secondary);background:color-mix(in srgb,var(--primary-soft) 22%,var(--surface))}.np-payment-rules-card{gap:14px}.np-payment-rules-warning{padding:10px 12px;border:1px solid color-mix(in srgb,var(--primary) 14%,var(--border));border-radius:9px;color:var(--text-secondary);background:color-mix(in srgb,var(--primary-soft) 34%,var(--surface));display:flex;align-items:flex-start;gap:8px}.np-payment-rules-warning svg{flex:0 0 auto}.np-payment-rules-warning p{margin:0;font-size:9.5px;line-height:1.5}.np-payment-rules-list{display:flex;flex-direction:column;gap:7px}.np-payment-rules-list article{min-height:58px;padding:9px 10px 9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);display:grid;grid-template-columns:minmax(190px,.9fr) minmax(440px,1.45fr);align-items:center;gap:12px}.np-payment-rules-list article.configured{border-color:color-mix(in srgb,var(--primary) 22%,var(--border))}.np-payment-rules-list article>div:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}.np-payment-rules-list strong{font-size:10.5px;line-height:1.35}.np-payment-rules-list code{width:max-content;max-width:100%;color:var(--text-muted);background:transparent;font:8.5px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.np-payment-rule-choice{padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);display:grid;grid-template-columns:1.25fr 1.25fr .8fr;gap:3px}.np-payment-rule-choice button{min-height:32px;padding:0 7px;border:1px solid transparent;border-radius:6px;color:var(--text-muted);background:transparent;font-size:9px;font-weight:720;cursor:pointer}.np-payment-rule-choice button.active{color:#fff;background:var(--primary);box-shadow:0 2px 7px color-mix(in srgb,var(--primary) 18%,transparent)}.np-payment-rule-choice button.active.unset{color:var(--text-secondary);background:var(--surface);border-color:color-mix(in srgb,var(--primary) 18%,var(--border));box-shadow:none}.np-error{margin-top:14px;padding:10px 12px;border:1px solid rgba(210,49,70,.25);border-radius:9px;color:#a92036;background:#d231460f;display:flex;gap:9px}.np-error>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#d23146}.np-error strong{font-size:10.5px}.np-error p{margin:2px 0 0;font-size:9.5px}.np-modal-actions{min-height:60px;padding:10px 20px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:8px;background:var(--surface-subtle)}.np-modal-actions>div{margin-right:auto;color:var(--text-muted);display:flex;align-items:center;gap:6px;font-size:9px}.nova-poshta-integration-summary{display:flex;flex-direction:column;gap:12px}.nova-poshta-integration-summary>.bot-module-action{width:calc(100% - 26px);max-width:calc(100% - 26px);margin:0 13px 13px;flex:0 0 auto}.nova-poshta-inspector-actions{display:grid;gap:8px;padding:0 14px 14px}.nova-poshta-inspector-actions .btn{width:100%;justify-content:center}.np-ttn-summary{margin-bottom:12px;padding:11px 13px;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--surface-subtle)}.np-ttn-summary>div{min-width:0;display:flex;flex-direction:column;gap:3px}.np-ttn-summary span{color:var(--text-muted);font-size:9px}.np-ttn-summary strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-ttn-summary small{color:var(--text-muted);font-size:9px}.np-payment-decision{margin-bottom:14px;padding:10px 12px;border-radius:10px;display:flex;align-items:center;gap:10px}.np-payment-decision>div{display:flex;flex-direction:column;gap:2px}.np-payment-decision strong{font-size:10.5px}.np-payment-decision span{font-size:9.5px}.np-payment-decision.green{color:#157345;background:#23a45e17}.np-payment-decision.amber{color:#8b6000;background:#e2a5181f}.np-payment-decision.blue{color:#3152b6;background:#4460d817}.np-payment-decision.red{border:1px solid rgba(210,49,70,.22);color:#a92036;background:#d2314612}.np-payment-decision>button{margin-left:auto;min-height:30px;padding:0 10px;border:1px solid currentColor;border-radius:7px;color:inherit;background:transparent;font-size:9px;font-weight:750;cursor:pointer}.np-ttn-payment-controls{margin:-5px 0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.np-ttn-payment-controls>div{min-width:0;display:flex;flex-direction:column;gap:5px}.np-ttn-payment-controls>div>span{color:var(--text-secondary);font-size:9.5px;font-weight:750}.np-segmented-control{padding:3px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;background:var(--surface-muted)}.np-segmented-control button{min-height:32px;padding:0 8px;border:1px solid transparent;border-radius:6px;color:var(--text-muted);background:transparent;font-size:9.5px;font-weight:700;cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.np-segmented-control button:hover:not(.active){color:var(--text-secondary);background:color-mix(in srgb,var(--surface) 72%,transparent)}.np-segmented-control button.active{border-color:color-mix(in srgb,var(--primary) 78%,#fff);color:#fff;background:var(--primary);box-shadow:0 4px 11px color-mix(in srgb,var(--primary) 28%,transparent),inset 0 1px #ffffff38;transform:translateY(-1px)}.np-address-types{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.np-address-types button{height:34px;border:1px solid var(--border);border-radius:8px;color:var(--text-muted);background:var(--surface);font-size:9.5px;font-weight:700;cursor:pointer}.np-address-types button.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.np-autocomplete{position:relative;z-index:5}.np-autocomplete:focus-within{z-index:50}.np-autocomplete>div{position:relative}.np-autocomplete>div svg{position:absolute;top:12px;right:10px;color:var(--text-muted)}.np-autocomplete ul{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;max-height:210px;margin:0;padding:5px;border:1px solid var(--border);border-radius:9px;list-style:none;overflow:auto;background:var(--surface);box-shadow:0 12px 28px #121a2a29}.np-autocomplete li button{width:100%;min-height:42px;padding:7px 8px;border:0;border-radius:7px;color:var(--text);background:transparent;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer}.np-autocomplete li button:hover{background:var(--surface-muted)}.np-autocomplete li span{min-width:0;display:flex;flex-direction:column;gap:2px}.np-autocomplete li strong{font-size:10px;line-height:1.35}.np-autocomplete li small{color:var(--text-muted);font-size:8.5px}.np-sender-layout .np-autocomplete ul{position:relative;top:auto;z-index:auto;max-height:220px;margin-top:4px;box-shadow:0 8px 20px #121a2a1a}.np-shared-address{position:relative;z-index:1;width:100%;min-width:0;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.np-shared-address:focus-within{z-index:90}.np-shared-types{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.np-shared-types button{height:34px;border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);background:var(--surface);font-size:10px;font-weight:700;cursor:pointer}.np-shared-types button.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.np-shared-field{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;gap:4px}.np-shared-field:focus-within{z-index:100}.np-shared-field>span,.np-shared-house label>span{color:var(--text-secondary);font-size:9.5px;font-weight:700}.np-shared-field>div{position:relative}.np-shared-field input,.np-shared-house input,.np-shared-fallback input{width:100%;height:36px;padding:0 32px 0 9px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px}.np-shared-field input:focus,.np-shared-house input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.np-shared-field input:disabled{color:var(--text-muted);background:var(--surface-muted)}.np-shared-field>div svg{position:absolute;top:11px;right:10px;color:var(--text-muted)}.np-shared-field ul{position:absolute;top:calc(100% + 5px);left:0;right:auto;z-index:110;width:100%;max-width:100%;max-height:240px;box-sizing:border-box;margin:0;padding:4px;border:1px solid var(--border);border-radius:8px;list-style:none;overflow:auto;background:var(--surface);box-shadow:0 16px 36px #121a2a2e;isolation:isolate}.np-shared-address>.np-shared-field:last-of-type ul{right:auto;left:0}.np-shared-field li button{width:100%;min-height:40px;padding:6px 7px;border:0;border-radius:7px;color:var(--text);background:transparent;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer}.np-shared-field li button:hover{background:var(--surface-muted)}.np-shared-field li span{min-width:0;display:flex;flex-direction:column;gap:2px}.np-shared-field li strong{font-size:10.5px;line-height:1.35}.np-shared-field li small{color:var(--text-muted);font-size:9px}.np-shared-house{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.np-shared-house label{display:flex;flex-direction:column;gap:4px}.np-shared-error{grid-column:1 / -1;color:var(--danger);font-size:9px}.np-shared-loading,.np-shared-fallback{grid-column:1 / -1;color:var(--text-muted);font-size:10px}.np-shared-loading{min-height:36px;display:flex;align-items:center;gap:7px}.np-shared-fallback{display:grid;grid-template-columns:1fr 1fr;gap:7px}.np-shared-fallback>span{grid-column:1 / -1}.order-editor-np-address{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr))}.message-draft-np-address{grid-column:1 / -1}.client-editor-np-address{width:100%;margin-top:10px}.settings-np-address{padding:0 13px 12px}.np-ttn-shared-address{margin-top:2px;grid-template-columns:minmax(0,1fr)}.np-ttn-shared-address .np-shared-types,.np-ttn-shared-address .np-shared-house,.np-ttn-shared-address .np-shared-field{grid-column:1}.np-ttn-shared-address .np-shared-field ul{position:absolute;top:calc(100% + 5px);left:0;right:auto;z-index:120;width:100%;max-width:100%;box-sizing:border-box}.np-ttn-shared-address .np-shared-field input{height:44px;font-size:12px}.np-ttn-shared-address .np-shared-types button{height:42px;font-size:11px}.np-ttn-shared-address .np-shared-field>span,.np-ttn-shared-address .np-shared-house label>span{font-size:10.5px}.np-ttn-shared-address .np-shared-field li strong{font-size:11.5px}.np-house-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.np-declared-cost,.np-sender-preview{padding:11px;border:1px solid var(--border);border-radius:9px;display:flex;flex-direction:column;gap:3px;background:var(--surface)}.np-declared-cost span,.np-sender-preview span{color:var(--text-muted);font-size:9px}.np-declared-cost strong{color:var(--primary);font-size:16px}.np-declared-cost input,.np-declared-cost-value{width:100%;height:40px;box-sizing:border-box;padding:0 10px;border:1px solid color-mix(in srgb,var(--primary) 30%,var(--border));border-radius:8px;color:var(--primary);background:var(--surface);font:inherit;font-size:16px;font-weight:800;outline:none}.np-declared-cost input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.np-declared-cost input::-webkit-inner-spin-button,.np-declared-cost input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.np-declared-cost-value{border-color:var(--border);color:var(--text-muted);background:var(--surface-muted);display:flex;align-items:center}.np-declared-cost input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.np-declared-cost small,.np-sender-preview small{color:var(--text-muted);font-size:9px;line-height:1.4}.np-sender-preview{flex-direction:row;align-items:flex-start;gap:8px}.np-sender-preview>div{min-width:0;display:flex;flex-direction:column;gap:2px}.np-sender-preview strong{font-size:10.5px}.np-ttn-created{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.np-ttn-created-icon{width:62px;height:62px;margin-bottom:6px;border-radius:18px;display:grid;place-items:center;color:#fff;background:#23a45e;box-shadow:0 12px 28px #23a45e38}.np-ttn-created>span:not(.np-ttn-created-icon){color:#18844d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.np-ttn-created h3{margin:0;color:var(--text);font-size:28px;letter-spacing:.025em}.np-ttn-created>p{max-width:460px;margin:0;color:var(--text-muted);font-size:11px;line-height:1.5}.np-ttn-created-meta{width:min(620px,100%);margin-top:14px;padding:13px;border:1px solid var(--border);border-radius:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--surface-subtle);text-align:left}.np-ttn-created-meta div{min-width:0;display:flex;flex-direction:column;gap:3px}.np-ttn-created-meta span{color:var(--text-muted);font-size:9px}.np-ttn-created-meta strong{font-size:10.5px;line-height:1.35}.np-ttn-printed-note{margin-top:8px;color:#18844d;font-size:9.5px}.np-print-created{min-width:240px;justify-content:center}.np-delete-created{color:var(--danger)}.np-footer-error{max-width:58%;color:var(--danger)!important}.np-footer-error span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-print-preview-backdrop{z-index:290}.np-print-preview-modal{width:min(620px,calc(100vw - 36px));max-height:calc(100vh - 32px);overflow:hidden}.np-print-preview-head{min-height:70px;padding:11px 16px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:10px}.np-print-preview-head>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.np-print-preview-head span{color:var(--primary);font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.np-print-preview-head h2{margin:0;font-size:17px}.np-print-preview-head p{margin:0;color:var(--text-muted);font-size:10px}.np-print-preview-canvas{height:min(500px,calc(100vh - 190px));min-height:300px;padding:14px;display:grid;place-items:center;background:#20242b}.np-print-preview-canvas iframe{width:min(410px,100%);height:100%;border:0;border-radius:8px;background:#fff;box-shadow:0 18px 46px #0000004d}.np-print-preview-actions{position:relative;flex-wrap:wrap}.np-print-preview-actions>div{min-width:180px;flex:1 1 180px}.np-print-preview-actions .btn{min-height:36px;padding:0 12px;font-size:10px}.np-print-preview-actions .btn.primary{min-width:168px;justify-content:center}.np-print-preview-error{max-width:190px;color:var(--danger);font-size:9px}@media(max-width:800px){.np-accounts-layout,.np-sender-layout,.np-defaults-grid,.np-shipment-layout,.np-ttn-grid{grid-template-columns:1fr}.np-tabs{overflow-x:auto}.np-tabs button{flex:0 0 auto}.np-payment-rules-list article{grid-template-columns:1fr}.np-payment-rule-choice,.np-payer-setting,.np-delivery-primary-grid{grid-template-columns:1fr}.np-add-account{position:static}.np-ttn-summary{grid-template-columns:1fr}.np-modal-actions>div{display:none}.np-ttn-payment-controls,.np-ttn-created-meta{grid-template-columns:1fr}}.order-modal-window .timeline{gap:3px}.order-modal-window .timeline-row{min-height:29px;grid-template-columns:14px 126px minmax(0,1fr);align-items:center;gap:8px}.order-modal-window .timeline-row:not(:last-child):before{top:17px;bottom:-8px}.order-modal-window .timeline-row time{font-size:10px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.order-modal-window .timeline-row p{min-width:0;margin:0;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-status-footer .status-choice{min-height:38px;padding:5px 9px;font-size:12px;font-weight:600}.blocked-customer-list-icon{margin-left:5px;color:var(--danger);vertical-align:-2px}.client-order-cell>span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blocked-order-row td{box-shadow:inset 0 1px #c43f5521,inset 0 -1px #c43f5521}.cashback-adjust-modal{width:min(430px,calc(100vw - 28px))}.cashback-mode-switch{margin-bottom:12px;padding:4px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--surface-subtle)}.cashback-mode-switch button{height:34px;border:0;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);background:transparent;font-size:10px;font-weight:650}.cashback-mode-switch button.active{background:var(--surface);box-shadow:var(--shadow-sm)}.cashback-mode-switch button.active.credit{color:var(--success)}.cashback-mode-switch button.active.debit{color:var(--danger)}.cashback-next-balance{margin-top:10px;padding:10px 11px;border:1px solid rgba(79,99,237,.18);border-radius:8px;display:flex;align-items:center;justify-content:space-between;background:var(--primary-soft)}.cashback-next-balance span{color:var(--text-secondary);font-size:9.5px}.cashback-next-balance strong{color:var(--primary);font-size:13px}.client-value-grid{grid-template-columns:repeat(3,1fr)}.client-wallet-section{display:flex;flex-direction:column;gap:8px}.client-wallet-head{padding:9px 10px;border:1px solid rgba(79,99,237,.18);border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--primary-soft)}.client-wallet-head>div:first-child{display:flex;flex-direction:column;gap:2px}.client-wallet-head span{color:var(--text-muted);font-size:8.5px}.client-wallet-head strong{color:var(--primary);font-size:14px}.client-wallet-head small{color:var(--text-muted);font-size:8.5px}.client-wallet-head>div:last-child{display:flex;gap:5px}.client-wallet-history{display:flex;flex-direction:column;gap:4px}.client-wallet-history>div{min-height:34px;display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:7px}.client-wallet-history>div>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.client-wallet-history .credit{color:var(--success);background:#23854d1a}.client-wallet-history .debit{color:var(--danger);background:#c43f551a}.client-wallet-history>div>div{display:flex;flex-direction:column;gap:1px}.client-wallet-history strong{font-size:9px}.client-wallet-history small{color:var(--text-muted);font-size:8px}.client-wallet-history b{font-size:9.5px;white-space:nowrap}.client-orders-open-action.disabled{opacity:.65;cursor:default;background:var(--surface-subtle)}.client-orders-open-action.disabled:hover{border-color:var(--border);background:var(--surface-subtle)}.client-activity-section{display:flex;flex-direction:column;gap:3px}.client-activity-section .compact-activity{border-bottom:1px solid var(--border)}.client-activity-section .compact-activity:last-child{border-bottom:0}@media(max-width:850px){.order-modal-window .inspector-head{padding:12px 15px}.order-modal-window .order-title-row{flex-wrap:wrap}.order-modal-window .order-title-meta{margin-left:0;border-left:0}.order-modal-window .client-card{grid-template-columns:40px minmax(0,1fr)}.client-cashback-wallet{grid-column:1 / -1;padding:8px 0 0;border-top:1px solid var(--border);border-left:0;justify-content:space-between}}.client-wallet-history>.client-wallet-history-title{min-height:25px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-secondary);font-size:9px;font-weight:700}.client-wallet-history-title>span:first-child{width:auto;height:auto;border-radius:0;display:block}.client-wallet-history>.client-wallet-transaction,.client-wallet-history-more .client-wallet-transaction{min-height:36px;display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:7px}.client-wallet-transaction>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.client-wallet-transaction>div{min-width:0;display:flex;flex-direction:column;gap:1px}.client-wallet-transaction.inactive{opacity:.5}.client-wallet-history-more{border-top:1px solid var(--border)}.client-wallet-history-more>summary{min-height:28px;cursor:pointer;list-style:none;display:grid;place-items:center;color:var(--primary);font-size:8.5px;font-weight:700}.client-wallet-history-more>summary::-webkit-details-marker{display:none}.client-wallet-history-more>div{display:flex;flex-direction:column;gap:4px}.client-address-history details{width:100%}.client-address-history summary{min-height:26px;cursor:pointer;list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:7px}.client-address-history summary::-webkit-details-marker{display:none}.client-address-history summary>span:first-child{color:var(--text);font-size:10px;font-weight:700}.client-address-history summary>svg{color:var(--text-muted);transition:transform .16s ease}.client-address-history details[open] summary>svg{transform:rotate(180deg)}.client-address-history details>div{margin-top:7px;padding-top:7px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:5px}.client-address-history p{padding:7px 8px;border-radius:7px;font-size:9px;line-height:1.4}.purchase-workspace-modal{width:min(1380px,calc(100vw - 30px));height:min(840px,calc(100vh - 24px))}.purchase-workspace-header{min-height:76px;padding:13px 16px}.purchase-workspace-header h2{font-size:20px}.purchase-workspace-header p{font-size:10.5px}.purchase-workspace-body{grid-template-columns:350px minmax(0,1fr)}.purchase-catalog-search{padding:10px;grid-template-columns:minmax(0,1fr) 126px;gap:8px}.purchase-catalog-search .search-control,.purchase-catalog-search .select-control{min-height:38px}.purchase-catalog-search .search-control input,.purchase-catalog-search .select-control select{font-size:11px}.purchase-create-product{min-height:57px;margin:10px}.purchase-create-product strong{font-size:11.5px}.purchase-create-product small{font-size:9.5px}.purchase-catalog-list{padding:1px 8px 9px}.purchase-catalog-list>button:not(.purchase-catalog-more){min-height:72px;padding:7px 8px;grid-template-columns:44px minmax(0,1fr) 29px;gap:9px}.purchase-catalog-list img{width:42px;height:49px}.purchase-catalog-list strong{font-size:11px;line-height:1.25;white-space:normal}.purchase-catalog-list span{font-size:9.5px;line-height:1.3}.purchase-catalog-list small{font-size:9px;line-height:1.3}.purchase-catalog-list em{width:27px;height:27px;font-size:10px}.purchase-catalog-list>.purchase-catalog-more{width:calc(100% - 8px);min-height:50px;margin:7px 4px 2px;padding:7px 11px;border:1px dashed color-mix(in srgb,var(--primary) 35%,var(--border));border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;color:var(--primary);background:var(--surface);text-align:left}.purchase-catalog-more>span{color:var(--primary);font-size:10.5px;font-weight:700}.purchase-catalog-more>small{grid-column:1;color:var(--text-muted);font-size:8.5px}.purchase-catalog-more>svg{grid-column:2;grid-row:1 / 3}.purchase-catalog>footer{min-height:40px;font-size:9.5px}.purchase-catalog-empty span{font-size:9.5px}.purchase-document-meta{min-height:72px;padding:10px 13px}.purchase-document-meta>label>span,.purchase-document-meta>div>span{font-size:9.5px}.purchase-document-meta .select-control,.purchase-document-meta>div>strong{min-height:36px;font-size:10.5px}.purchase-document-heading{min-height:48px;padding-inline:14px}.purchase-document-heading h3{font-size:12px}.purchase-document-heading span,.purchase-document-heading button{font-size:9.5px}.purchase-selected-list article,.purchase-selected-list article.purchase-line-with-options{min-height:94px;padding:10px 12px;display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(145px,1.1fr) 132px 132px 94px 30px;align-items:center;gap:12px}.purchase-line-product{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px}.purchase-line-product>img{width:48px;height:56px;padding:3px;border:1px solid var(--border);border-radius:8px;object-fit:contain;background:var(--surface-subtle)}.purchase-line-product>div{min-width:0;display:flex;flex-direction:column;gap:4px}.purchase-line-product strong{font-size:11.5px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.purchase-line-product span{color:var(--text-muted);font-size:9.5px}.purchase-line-options{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.purchase-option-selects{width:100%;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:5px}.purchase-option-selects label{min-width:0;max-width:none;width:100%;gap:4px}.purchase-option-selects label>span{font-size:9px;font-weight:650}.purchase-option-selects select{width:100%;height:34px;padding:0 28px 0 8px;font-size:10px}.purchase-no-options{min-height:27px;padding:6px 8px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:var(--surface-subtle);font-size:9px;display:inline-flex;align-items:center}.purchase-add-option-line{margin:0;min-height:26px;font-size:9px}.purchase-line-quantity-control,.purchase-line-cost,.purchase-line-sum{min-width:0;display:flex;flex-direction:column;gap:5px}.purchase-line-quantity-control>span,.purchase-line-cost>span,.purchase-line-sum>span{color:var(--text-muted);font-size:9px;font-weight:650}.purchase-quantity-stepper{width:100%;height:38px;grid-template-columns:34px minmax(42px,1fr) 34px;border-radius:8px}.purchase-quantity-stepper button{font-size:16px;font-weight:600}.purchase-quantity-stepper input{font-size:11px;font-weight:650}.purchase-line-cost input{width:100%;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font-size:11px;font-weight:650;text-align:right}.purchase-line-cost input:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.purchase-line-sum{align-items:flex-end}.purchase-line-sum strong{font-size:11.5px;white-space:nowrap}.purchase-remove-product{width:30px;height:36px;border:1px solid transparent;border-radius:7px}.purchase-remove-product:hover{border-color:#c43f552e;background:#c43f550f}.purchase-document-summary{min-height:72px}.purchase-document-summary span{font-size:9px}.purchase-document-summary strong{font-size:11px}.purchase-summary-total strong{font-size:20px}.purchase-workspace-footer{min-height:64px;padding:10px 15px}.purchase-workspace-footer>span{font-size:9.5px}.purchase-workspace-footer .btn{min-height:38px;font-size:10.5px}.purchase-form-error{color:var(--danger)!important;font-weight:650}.inventory-workspace-modal .purchase-catalog-list>button:not(.purchase-catalog-more){min-height:72px}.inventory-document-meta{grid-template-columns:minmax(250px,1fr) 105px}.inventory-selected-list{flex:1;min-height:0;overflow:auto}.inventory-selected-head,.inventory-selected-list>article{display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(100px,.62fr) 62px 112px 148px 108px 36px;align-items:center;column-gap:12px}.inventory-selected-head{min-height:38px;padding:0 14px;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-subtle);font-size:9px;font-weight:700}.inventory-selected-list>article{min-height:76px;padding:8px 14px;border-bottom:1px solid var(--border);background:var(--surface)}.inventory-selected-list>article:hover{background:var(--surface-hover)}.inventory-selected-list>article>span{min-width:0;color:var(--text-secondary);font-size:10px;overflow-wrap:anywhere}.inventory-selected-list>article>strong{font-size:11px}.inventory-selected-list .purchase-line-product{grid-template-columns:42px minmax(0,1fr);gap:9px}.inventory-selected-list .purchase-line-product>img{width:42px;height:48px;border-radius:8px}.inventory-selected-list .purchase-line-product>strong{min-width:0;font-size:11px;line-height:1.32;overflow-wrap:anywhere}.inventory-selected-list input{width:100%;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:var(--surface);font-size:11px;font-weight:650}.inventory-selected-list input:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.inventory-document-summary{grid-template-columns:110px 130px 1fr}.inventory-document-summary>div:last-child{justify-self:end}@media(max-width:1180px){.inventory-selected-head,.inventory-selected-list>article{grid-template-columns:minmax(220px,1.5fr) 82px 48px 88px 112px 78px 30px;column-gap:8px}}@media(max-width:1180px){.purchase-workspace-body{grid-template-columns:315px minmax(0,1fr)}.purchase-selected-list article,.purchase-selected-list article.purchase-line-with-options{grid-template-columns:minmax(180px,1.35fr) minmax(130px,1fr) 116px 116px 82px 28px;gap:8px}}.product-inspector-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-profile-modal-backdrop,.direct-checkout-backdrop{z-index:150}.product-profile-modal{width:min(980px,calc(100vw - 36px));max-height:calc(100dvh - 36px);padding:0;gap:0;overflow:hidden}.product-profile-modal-head{min-height:74px;padding:15px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.product-profile-modal-head>div:first-child{min-width:0}.product-profile-modal-head h2{margin-top:3px;font-size:19px;line-height:1.25}.product-profile-modal-head p{font-size:10.5px}.product-profile-modal-head>div:last-child{display:flex;align-items:center;gap:9px}.product-profile-modal-body{padding:16px 18px 18px;overflow-y:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.product-profile-modal-hero{grid-column:1 / -1;min-height:150px;padding:14px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 60%,var(--surface)),var(--surface));display:grid;grid-template-columns:122px minmax(0,1fr);align-items:center;gap:18px}.product-profile-modal-image{width:122px;height:122px;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);display:grid;place-items:center}.product-profile-modal-image img{width:100%;height:100%;object-fit:contain}.product-profile-modal-title{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.product-profile-modal-title h3{margin:0;font-size:21px;line-height:1.25}.product-profile-modal-title>p{margin:0;color:var(--text-secondary);font-size:12px}.product-profile-channel-row{display:flex;flex-wrap:wrap;gap:6px}.product-profile-channel-row>span{min-height:26px;padding:0 8px;border-radius:7px;display:inline-flex;align-items:center;gap:5px;background:var(--surface);color:var(--text-secondary);font-size:10px;font-weight:700}.product-profile-modal-metrics{grid-column:1 / -1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.product-profile-modal-metrics>div{min-height:68px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle);display:flex;flex-direction:column;justify-content:center;gap:5px}.product-profile-modal-metrics span{color:var(--text-muted);font-size:9.5px;font-weight:650}.product-profile-modal-metrics strong{font-size:14px}.product-profile-modal-metrics .positive{color:#23854d}.product-profile-modal-metrics .negative{color:var(--danger)}.product-profile-modal-card{min-width:0;padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.product-profile-modal-card-head{min-height:36px;margin-bottom:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-profile-modal-card-head h3{margin:0;font-size:13px}.product-profile-modal-card-head p{font-size:9.5px}.product-profile-identifiers dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:7px}.product-profile-identifiers dl>div{min-height:43px;padding:7px 9px;border-radius:8px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:3px}.product-profile-identifiers dt{color:var(--text-muted);font-size:9px}.product-profile-identifiers dd{margin:0;color:var(--text);font-size:11px;font-weight:700;overflow-wrap:anywhere}.product-profile-variants{grid-row:span 2}.product-profile-variant-groups{display:flex;flex-direction:column;gap:10px}.product-profile-variant-groups>div{padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle)}.product-profile-variant-groups header{margin-bottom:8px;display:flex;justify-content:space-between;gap:8px}.product-profile-variant-groups header strong{font-size:11.5px}.product-profile-variant-groups header span{color:var(--text-muted);font-size:9px}.product-profile-variant-groups>div>div{display:flex;flex-wrap:wrap;gap:6px}.product-profile-variant-groups>div>div>span{min-width:112px;padding:7px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);display:grid;grid-template-columns:1fr auto;gap:3px 8px}.product-profile-variant-groups span b{grid-column:1 / -1;font-size:10px}.product-profile-variant-groups span small{color:var(--text-muted);font-size:9px}.product-profile-variant-groups span strong{font-size:9px}.product-profile-variant-groups span.out{opacity:.55}.product-profile-variant-groups span.warning{border-color:#e29b2673;background:#e29b2614}.product-profile-movements>div:last-child{display:flex;flex-direction:column}.product-profile-movements button{min-height:42px;padding:6px 4px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);display:grid;grid-template-columns:25px minmax(0,1fr) auto 14px;align-items:center;gap:8px;text-align:left}.product-profile-movements button:last-child{border-bottom:0}.product-profile-movements button:disabled{cursor:default}.product-profile-movements button>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center}.product-profile-movements button>span.positive{color:#23854d;background:#e8f7ed}.product-profile-movements button>span.negative{color:#c43f55;background:#fdecef}.product-profile-movements button>div{min-width:0;display:flex;flex-direction:column;gap:2px}.product-profile-movements button strong{font-size:10.5px}.product-profile-movements button small{color:var(--text-muted);font-size:9px}.product-profile-movements button b{font-size:10px;white-space:nowrap}.product-profile-empty{min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:10px;text-align:center}.product-profile-modal>footer{min-height:64px;padding:11px 18px;border-top:1px solid var(--border);background:var(--surface);display:flex;justify-content:flex-end;align-items:center;gap:8px}.client-card .avatar.vip{color:#9a6800;background:linear-gradient(145deg,#fff7da,#ffe38e);border:1px solid rgba(205,145,15,.28);box-shadow:0 5px 16px #cd910f21}.profile-open-button.vip{color:#8b6000;border-color:#cd910f47;background:#fff7da}.profile-open-button.vip:hover{background:#ffefbd}.order-client-vip-crown{margin-left:5px;color:#d39a16;vertical-align:-2px}.order-client-vip-label{min-height:20px;padding:0 7px;border-radius:6px;color:#8b6000!important;background:#fff2c7;display:inline-flex;align-items:center;font-size:9px!important;font-weight:800}.checkout-complete-chip{cursor:pointer;font-family:inherit}.checkout-complete-chip:hover{border-color:#23854d61;background:#ddf3e5}.new-order-backdrop{z-index:140;padding:22px}.new-order-workspace{width:min(1180px,calc(100vw - 44px));max-width:1180px;max-height:calc(100vh - 44px);padding:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}.new-order-workspace>header{min-height:76px;padding:14px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.new-order-workspace>header>div{display:flex;align-items:center;gap:12px}.new-order-workspace>header h2{margin:1px 0 2px;font-size:20px}.new-order-workspace>header p{margin:0;color:var(--text-muted);font-size:10px}.new-order-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:var(--primary);box-shadow:0 9px 22px color-mix(in srgb,var(--primary) 28%,transparent)}.new-order-body{min-height:0;padding:14px;overflow-y:auto;background:var(--surface-subtle);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:12px;align-items:start}.new-order-left,.new-order-right{min-width:0;display:grid;gap:12px}.new-order-card{position:relative;padding:13px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.new-order-card:has(.new-order-np-address:focus-within){z-index:80}.new-order-card>header{margin-bottom:11px;display:flex;align-items:center;gap:8px}.new-order-card>header>svg{color:var(--primary)}.new-order-card h3{margin:0;font-size:12px}.new-order-card header p{margin:2px 0 0;color:var(--text-muted);font-size:9px}.new-order-card>header>div{min-width:0;flex:1}.new-order-add-product{min-height:32px;padding:0 9px;border:1px solid var(--border);border-radius:7px;display:inline-flex;align-items:center;gap:5px;color:var(--primary);background:var(--surface);font-size:9.5px;font-weight:700;white-space:nowrap}.new-order-add-product:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));background:var(--primary-soft)}.new-order-fields{display:grid;gap:9px}.new-order-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-fields label,.new-order-field,.new-order-money-fields label,.new-order-selected-items label{min-width:0;display:grid;gap:5px}.new-order-fields label>span,.new-order-field>span,.new-order-money-fields label>span,.new-order-selected-items label>span{color:var(--text-muted);font-size:8.5px;font-weight:700}.new-order-fields input,.new-order-fields select,.new-order-field select,.new-order-money-fields input,.new-order-selected-items input{width:100%;height:36px;min-height:36px;box-sizing:border-box;padding:0 9px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px}.new-order-field textarea{width:100%;min-height:72px;box-sizing:border-box;padding:8px 9px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface);font:inherit;font-size:10.5px;resize:vertical}.new-order-product-search{min-height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:7px;color:var(--text-muted);background:var(--surface-subtle)}.new-order-product-search input{min-width:0;flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:10.5px}.new-order-product-results{max-height:184px;margin-top:7px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.new-order-product-results button{min-width:0;min-height:54px;padding:6px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface);display:grid;grid-template-columns:38px minmax(0,1fr) auto 14px;align-items:center;gap:7px;text-align:left}.new-order-product-results img,.new-order-product-results button>span{width:38px;height:38px;border-radius:7px;object-fit:cover;background:var(--surface-subtle);display:grid;place-items:center}.new-order-product-results div{min-width:0;display:grid;gap:2px}.new-order-product-results strong{font-size:9.5px;line-height:1.25}.new-order-product-results small{color:var(--text-muted);font-size:8px}.new-order-product-results b{color:var(--primary);font-size:9px;white-space:nowrap}.new-order-selected-items{margin-top:9px;border-top:1px solid var(--border)}.new-order-selected-items>div{min-height:57px;padding:7px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:40px minmax(120px,1fr) 82px 94px 72px 26px;align-items:center;gap:7px}.new-order-selected-items img,.new-order-selected-items>div>span{width:40px;height:40px;border-radius:7px;object-fit:cover;background:var(--surface-subtle);display:grid;place-items:center}.new-order-selected-items>div>div:nth-child(2){min-width:0;display:grid;gap:3px}.new-order-selected-items strong{font-size:9.5px;line-height:1.25}.new-order-selected-items small{color:var(--text-muted);font-size:8px}.new-order-selected-items>div>button{width:26px;height:26px;padding:0;border:0;border-radius:6px;color:var(--danger);background:var(--surface-subtle);display:grid;place-items:center}.new-order-qty{height:31px;padding:0 4px;border:1px solid var(--border);border-radius:8px;display:grid!important;grid-template-columns:25px 28px 25px;align-items:center}.new-order-qty button{width:25px;height:25px;padding:0;border:0;color:var(--text-secondary);background:transparent;display:grid;place-items:center}.new-order-qty b{text-align:center;font-size:10px}.new-order-empty{margin:14px 0 3px;color:var(--text-muted);text-align:center;font-size:9px}.new-order-np-address{position:relative;z-index:1;margin-top:9px;overflow:visible}.new-order-np-address:focus-within{z-index:90}.new-order-np-address .np-shared-field{position:relative}.new-order-np-address .np-shared-field:focus-within{z-index:100}.new-order-np-address .np-shared-field ul{position:absolute;top:calc(100% + 5px);left:0;z-index:110;width:min(420px,calc(100% + 64px));max-width:calc(100vw - 48px);box-sizing:border-box;margin:0;max-height:240px;box-shadow:0 16px 36px #121a2a2e}.new-order-np-address>.np-shared-field:last-of-type ul{right:0;left:auto}.new-order-money-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.new-order-totals dl{margin:12px 0;display:grid;gap:6px}.new-order-totals dl>div{display:flex;align-items:center;justify-content:space-between;color:var(--text-secondary);font-size:9.5px}.new-order-totals dl .total{margin-top:3px;padding-top:9px;border-top:1px solid var(--border);color:var(--text);font-size:13px;font-weight:800}.new-order-totals dl .total dd{color:var(--primary);font-size:17px}.new-order-error{padding:8px 16px;border-top:1px solid rgba(207,77,95,.18);color:var(--danger);background:#cf4d5f12;font-size:10px;font-weight:700}.new-order-workspace>footer{min-height:60px;padding:10px 16px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.new-order-workspace>footer>span{color:var(--text-muted);font-size:9.5px}.new-order-workspace>footer>div{display:flex;gap:7px}@media(max-width:900px){.new-order-body,.new-order-product-results{grid-template-columns:1fr}.new-order-selected-items>div{grid-template-columns:36px minmax(110px,1fr) 76px 88px 65px 26px}.new-order-workspace{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.new-order-backdrop{padding:9px}}.direct-checkout-modal{width:min(510px,calc(100vw - 28px));padding:0;gap:0;overflow:hidden}.direct-checkout-head{padding:18px 20px 15px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.direct-checkout-head h2{margin-top:3px;font-size:19px}.direct-checkout-head p{font-size:10.5px}.direct-checkout-summary{margin:15px 20px 10px;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-subtle);display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px}.direct-checkout-summary>span{min-width:0;padding:2px 8px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:3px}.direct-checkout-summary>span:last-child{border-right:0}.direct-checkout-summary strong{font-size:15px}.direct-checkout-summary small{color:var(--text-muted);font-size:9px}.direct-checkout-summary .total strong{color:var(--primary);font-size:17px}.direct-checkout-client{margin:0 20px 13px;min-height:52px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px}.direct-checkout-client>span:first-child{width:34px;height:34px;border-radius:9px;color:var(--primary);background:var(--primary-soft);display:grid;place-items:center}.direct-checkout-client>span.vip{color:#9a6800;background:#fff2c7}.direct-checkout-client>div{min-width:0;display:flex;flex-direction:column;gap:3px}.direct-checkout-client strong{font-size:12px}.direct-checkout-client small{color:var(--text-muted);font-size:10px}.direct-checkout-methods{padding:0 20px 17px;display:flex;flex-direction:column;gap:7px}.direct-checkout-methods>button{min-height:58px;padding:8px 11px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);display:grid;grid-template-columns:36px minmax(0,1fr) 20px;align-items:center;gap:10px;text-align:left}.direct-checkout-methods>button:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border))}.direct-checkout-methods>button.active{border-color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 55%,var(--surface));box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 9%,transparent)}.direct-checkout-methods>button>span{width:36px;height:36px;border-radius:9px;color:var(--primary);background:var(--primary-soft);display:grid;place-items:center}.direct-checkout-methods>button>div{display:flex;flex-direction:column;gap:3px}.direct-checkout-methods strong{font-size:11.5px}.direct-checkout-methods small{color:var(--text-muted);font-size:9.5px}.direct-checkout-methods>button>svg{color:var(--text-muted)}.direct-checkout-methods>button.active>svg{color:var(--primary)}.direct-checkout-modal>footer{min-height:64px;padding:11px 20px;border-top:1px solid var(--border);background:var(--surface-subtle);display:grid;grid-template-columns:120px minmax(0,1fr);gap:9px}.direct-checkout-submit{justify-content:center}.shipment-details-backdrop{z-index:2300}.shipment-details-modal{width:min(920px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;border-radius:20px}.shipment-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--border)}.shipment-details-head>div{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.shipment-details-head>div>span{flex-basis:100%;color:var(--muted);font-size:10px}.shipment-details-head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:25px;letter-spacing:.02em}.shipment-details-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:14px;padding:18px;background:var(--surface-subtle)}.shipment-details-body>section{border:1px solid var(--border);border-radius:14px;background:var(--panel);padding:16px}.shipment-details-body h3{margin:0 0 14px;font-size:13px}.shipment-route-card{grid-row:span 2}.shipment-route-point{display:flex;align-items:flex-start;gap:11px}.shipment-route-point i{width:11px;height:11px;margin-top:4px;border:2px solid var(--primary);border-radius:50%;background:var(--panel)}.shipment-route-point div{display:grid;gap:3px}.shipment-route-point small,.shipment-finance-card small,.shipment-comment-card small{color:var(--muted);font-size:9px}.shipment-route-point strong{font-size:12px}.shipment-route-point span{max-width:420px;color:var(--text-soft);font-size:11px;line-height:1.45}.shipment-route-line{width:1px;height:34px;margin:4px 0 4px 5px;border-left:2px dotted #e54055}.shipment-route-card>p{margin:16px 0 0;padding:10px 11px;border-radius:9px;background:var(--surface-subtle);color:var(--text-soft);font-size:11px;line-height:1.45}.shipment-recipient-card{display:grid;gap:6px}.shipment-recipient-card>strong{font-size:14px}.shipment-recipient-card>a{color:var(--primary);font-size:12px;font-weight:700}.shipment-recipient-card dl{display:grid;gap:7px;margin:9px 0 0}.shipment-recipient-card dl div{display:flex;justify-content:space-between;gap:14px}.shipment-recipient-card dt{color:var(--muted);font-size:10px}.shipment-recipient-card dd{margin:0;text-align:right;font-size:10px;font-weight:700}.shipment-finance-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.shipment-finance-card>div{display:grid;gap:5px;padding:10px;border-radius:9px;background:var(--surface-subtle)}.shipment-finance-card strong{font-size:12px}.shipment-comment-card{grid-column:1/-1}.shipment-comment-card p{margin:5px 0 0;font-size:11px}.delivery-center-table tbody tr{cursor:pointer}@media(max-width:760px){.shipment-details-modal{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.shipment-details-body{grid-template-columns:1fr}.shipment-route-card{grid-row:auto}.shipment-finance-card{grid-template-columns:1fr 1fr}.shipment-details-head h2{font-size:18px}}.customer-first-order.disabled em{font-size:10px}.order-modal-window .timeline-row p{font-size:12px}.warehouse-tabs button{font-size:12px;color:#000;font-weight:500}.entity-segments button{font-size:12px;color:#000;font-weight:600}@media(max-width:760px){.product-profile-modal-body{grid-template-columns:1fr}.product-profile-modal-hero,.product-profile-modal-metrics{grid-column:1}.product-profile-modal-metrics{grid-template-columns:repeat(2,1fr)}.product-profile-variants{grid-row:auto}}.sms-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2400;display:grid;place-items:center;padding:24px;background:#151b287a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.sms-modal{width:min(1120px,calc(100vw - 40px));height:min(790px,calc(100vh - 40px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line,#dfe4ef);border-radius:22px;background:var(--panel,#fff);box-shadow:0 28px 90px #141e3747}.sms-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 15px;border-bottom:1px solid var(--line,#e3e7f0)}.sms-modal-header>div{display:flex;align-items:center;gap:12px}.sms-modal-header h2{margin:0;font-size:20px;line-height:1.2}.sms-modal-header p{margin:3px 0 0;color:var(--muted,#8b95aa);font-size:11px}.sms-provider-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:linear-gradient(145deg,#5269f3,#7c58dd);box-shadow:0 8px 20px #5269f33d}.sms-tabs{display:flex;gap:4px;padding:8px 22px 0;border-bottom:1px solid var(--line,#e3e7f0)}.sms-tabs button{border:0;border-bottom:2px solid transparent;padding:10px 13px;background:none;color:var(--muted,#7e899e);font:600 12px inherit;cursor:pointer}.sms-tabs button.active{color:var(--primary,#5269f3);border-bottom-color:currentColor}.sms-alert{margin:10px 22px 0;padding:9px 11px;display:flex;align-items:center;gap:8px;border-radius:9px;font-size:11px}.sms-alert.error{color:#b63b4d;background:#fff0f2;border:1px solid #f5ced5}.sms-modal-body{flex:1;min-height:0;overflow:auto;padding:16px 22px 20px;background:var(--surface-muted,#f7f8fb)}.sms-loading{height:100%;display:grid;place-content:center;grid-auto-flow:column;gap:8px;color:var(--muted,#7e899e);font-size:12px}.sms-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.sms-panel{border:1px solid var(--line,#e0e5ef);border-radius:14px;background:var(--panel,#fff);overflow:hidden}.sms-panel>header{min-height:63px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 15px;border-bottom:1px solid var(--line,#e6e9f0)}.sms-panel>header h3{margin:0;font-size:13px}.sms-panel>header p{margin:4px 0 0;color:var(--muted,#8c96aa);font-size:11px;line-height:1.4}.sms-state{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 8px;border-radius:7px;background:#f1f3f7;color:#7d8799;font-size:10px;font-weight:700}.sms-state.ok{color:#1d865e;background:#e8f7f0}.sms-fields{display:grid;gap:11px;padding:14px 15px 0}.sms-fields.two{grid-template-columns:1fr 1fr}.sms-fields label,.sms-wide-field{display:grid;gap:6px}.sms-fields label>span,.sms-wide-field>span{font-size:10px;font-weight:700;color:var(--text-soft,#5f697e)}.sms-fields input,.sms-fields select,.sms-wide-field input,.sms-wide-field select,.sms-wide-field textarea,.sms-route-row select,.sms-template-row textarea{width:100%;box-sizing:border-box;border:1px solid var(--line-strong,#d9deea);border-radius:9px;background:var(--panel,#fff);color:var(--text,#191e29);font:500 11px/1.4 inherit;outline:none}.sms-fields input,.sms-fields select,.sms-wide-field input,.sms-wide-field select,.sms-route-row select{height:36px;padding:0 10px}.sms-wide-field{margin:14px 15px 0}.sms-wide-field textarea{min-height:64px;resize:vertical;padding:9px 10px}.sms-wide-field textarea.message{min-height:112px}.sms-field-with-help small{color:var(--muted,#8791a4);font-size:9px;line-height:1.4}.sms-fields input:focus,.sms-fields select:focus,.sms-wide-field input:focus,.sms-wide-field select:focus,.sms-wide-field textarea:focus,.sms-template-row textarea:focus{border-color:#6378f4;box-shadow:0 0 0 3px #5269f31a}.sms-inline-actions{display:flex;align-items:center;gap:11px;padding:13px 15px 15px}.sms-balance{font-size:11px;font-weight:700;color:#23825f}.sms-switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 15px;border-top:1px solid var(--line,#e7eaf1)}.sms-switch-row>span{display:grid;gap:3px}.sms-switch-row strong{font-size:12px}.sms-switch-row small{color:var(--muted,#8791a4);font-size:10px;line-height:1.35}.sms-switch-row .switch{position:relative;flex:0 0 36px;width:36px;height:20px;border:0;border-radius:20px;background:#d7dce7;cursor:pointer}.sms-switch-row .switch i{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0000002e;transition:.18s}.sms-switch-row .switch.on{background:#5269f3}.sms-switch-row .switch.on i{transform:translate(16px)}.sms-modal input,.sms-modal select,.sms-modal textarea{font-family:inherit!important;font-size:10px!important;font-weight:500;line-height:1.35}.sms-modal input::placeholder,.sms-modal textarea::placeholder{font-size:10px!important}.sms-wide-field select{height:34px!important;font-size:10px!important;line-height:1.25!important;padding:0 9px!important}.sms-wide-field select option{font-family:inherit;font-size:10px}.sms-automation-note{display:grid;gap:3px;margin:11px 15px 0;padding:9px 10px;border:1px solid #e1e6f0;border-radius:9px;background:#f7f8fb}.sms-automation-note strong{font-size:10px}.sms-automation-note span{color:var(--muted,#8791a4);font-size:9px;line-height:1.4}.sms-route-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border-top:1px solid var(--line,#e7eaf1)}.sms-route-row:first-of-type{border-top:0}.sms-route-row>span{display:grid;gap:3px}.sms-route-row strong{font-size:12px}.sms-route-row small{font-size:10px;color:var(--muted,#8993a7);line-height:1.35}.sms-route-row select{width:158px;flex:0 0 158px;font-size:11px}.sms-route-row select option,.sms-wide-field select option{font-size:11px}.sms-templates>header{align-items:center}.sms-language-tabs{display:flex;padding:2px;border-radius:8px;background:#f0f2f7}.sms-language-tabs button{border:0;padding:5px 9px;border-radius:6px;background:none;color:#7d8798;font-size:10px;font-weight:800;cursor:pointer}.sms-language-tabs button.active{background:#fff;color:#5269f3;box-shadow:0 1px 5px #1b23371f}.sms-variable-list{display:flex;flex-wrap:wrap;gap:6px;padding:11px 15px;border-bottom:1px solid var(--line,#e7eaf1)}.sms-variable-list code{padding:4px 6px;border-radius:5px;color:#5269f3;background:#eef1ff;font-size:10px}.sms-template-row{display:grid;grid-template-columns:165px minmax(0,1fr);gap:14px;align-items:start;padding:11px 15px;border-top:1px solid var(--line,#e7eaf1)}.sms-template-row:first-of-type{border-top:0}.sms-template-row>span{display:grid;gap:4px;font-size:11px;font-weight:700}.sms-template-row small{font-size:9px;color:var(--muted,#8e97a8)}.sms-template-row textarea{min-height:56px;padding:9px 10px;resize:vertical}.sms-send-grid{grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr)}.sms-confirm{display:flex;align-items:center;gap:8px;margin:11px 15px 0;color:#596479;font-size:11px}.sms-send-button{margin:13px 15px 15px;width:calc(100% - 30px);justify-content:center}.sms-log-panel{height:100%}.sms-log-list{max-height:520px;overflow:auto}.sms-log-list article{padding:11px 14px;border-top:1px solid var(--line,#e7eaf1)}.sms-log-list article:first-child{border-top:0}.sms-log-list article>div{display:flex;justify-content:space-between;gap:10px}.sms-log-list article strong{font-size:11px}.sms-log-list article p{margin:5px 0;color:var(--text-soft,#566176);font-size:10px;line-height:1.45}.sms-log-list article small{color:var(--muted,#919bad);font-size:9px}.sms-log-list article em{display:block;margin-top:4px;color:#c04454;font-size:9px;font-style:normal}.sms-log-status{padding:3px 6px;border-radius:5px;background:#f0f2f6;color:#727d91;font-size:9px;font-weight:700}.sms-log-status.delivered{color:#177855;background:#e6f7ef}.sms-log-status.failed{color:#b63b4d;background:#fff0f2}.sms-log-status.accepted{color:#4962db;background:#eef1ff}.sms-empty-log{padding:48px 20px;text-align:center;color:var(--muted,#929bad);font-size:11px}.sms-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 22px;border-top:1px solid var(--line,#e1e5ee);background:var(--panel,#fff)}.sms-modal-footer>span{display:flex;align-items:center;gap:6px;color:#6c778b;font-size:10px}.sms-modal-footer>div{display:flex;gap:8px}.sms-automation-workspace{display:grid;gap:14px}.sms-automation-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sms-automation-events .sms-route-row{min-height:116px;align-items:flex-start;flex-direction:column}.sms-automation-events .sms-route-row select{width:100%;flex-basis:auto}.sms-status-rules>header{align-items:center}.sms-status-rules-list{display:grid;gap:0}.sms-status-rule{padding:13px 15px;border-top:1px solid var(--line,#e7eaf1);display:grid;gap:9px}.sms-status-rule:first-child{border-top:0}.sms-status-rule>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.sms-status-rule>div>span{display:grid;gap:3px}.sms-status-rule strong{font-size:12px}.sms-status-rule small{color:var(--muted,#8993a7);font-size:9px}.sms-status-rule select{width:165px;height:34px;padding:0 9px;flex:0 0 165px;border:1px solid var(--line-strong,#d9deea);border-radius:8px;color:var(--text,#191e29);background:var(--panel,#fff);font:500 10px inherit}.sms-status-rule label{display:grid;gap:5px}.sms-status-rule label>span{color:var(--text-soft,#5f697e);font-size:9px;font-weight:700}.sms-status-rule textarea{width:100%;min-height:58px;padding:8px 9px;box-sizing:border-box;resize:vertical;border:1px solid var(--line-strong,#d9deea);border-radius:8px;color:var(--text,#191e29);background:var(--panel,#fff);font:500 10px/1.4 inherit;outline:none}.sms-status-rule textarea:focus{border-color:#6378f4;box-shadow:0 0 0 3px #5269f31a}.sms-status-template-heading{padding:14px 15px;border-top:1px solid var(--line,#e7eaf1);display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fafbfe}.sms-status-template-heading h3{margin:0;font-size:13px}.sms-status-template-heading p{margin:4px 0 0;color:var(--muted,#8c96aa);font-size:10px}.sms-status-template-heading .sms-switch-row{min-width:188px;padding:0;border:0}.sms-status-template-heading .sms-switch-row small{display:none}.sms-status-template-row>span{align-content:start}.sms-status-template-row>span strong{font-size:11px}.sms-status-template-row>span select{width:100%;height:32px;margin-top:4px;padding:0 8px;border:1px solid var(--line-strong,#d9deea);border-radius:7px;color:var(--text,#191e29);background:var(--panel,#fff);font:500 10px inherit}@media(max-width:820px){.sms-modal-backdrop{padding:0}.sms-modal{width:100vw;height:100vh;border:0;border-radius:0}.sms-settings-grid,.sms-send-grid,.sms-fields.two{grid-template-columns:1fr}.sms-tabs{overflow:auto}.sms-tabs button{white-space:nowrap}.sms-modal-footer>span{display:none}.sms-modal-footer{justify-content:flex-end}.sms-template-row{grid-template-columns:1fr}.sms-route-row{align-items:flex-start;flex-direction:column}.sms-route-row select{width:100%;flex-basis:auto}}.telegram-user-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2410;display:grid;place-items:center;padding:24px;background:#131a2880;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.telegram-user-modal{width:min(620px,calc(100vw - 40px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line,#dfe4ee);border-radius:20px;background:var(--panel,#fff);box-shadow:0 28px 85px #121c344d}.telegram-user-modal>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line,#e2e6ee)}.telegram-user-modal>header>div{display:flex;align-items:center;gap:11px}.telegram-user-modal>header>div>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#2aabee}.telegram-user-modal h2{margin:0;font-size:18px}.telegram-user-modal header p{margin:3px 0 0;color:var(--muted,#8993a5);font-size:10px}.telegram-user-body{overflow:auto;padding:16px 20px;background:var(--surface-muted,#f7f8fb)}.telegram-user-state{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #dbe3f0;border-radius:11px;color:#597085;background:#f5f8fc}.telegram-user-state>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#e7eef7}.telegram-user-state>div{display:grid;gap:3px}.telegram-user-state strong{font-size:12px}.telegram-user-state small{font-size:10px;color:#7b8799}.telegram-user-state.connected{border-color:#cce9da;color:#247957;background:#eefaf4}.telegram-user-state.error{border-color:#f0cdd3;color:#ad3e4f;background:#fff2f4}.telegram-user-error{display:flex;align-items:center;gap:7px;margin-top:10px;padding:9px 10px;border-radius:8px;color:#b13f50;background:#fff0f2;font-size:10px}.telegram-user-form{display:grid;gap:12px;margin-top:14px;padding:15px;border:1px solid var(--line,#e0e5ee);border-radius:12px;background:var(--panel,#fff)}.telegram-user-form label{display:grid;gap:6px}.telegram-user-form label>span{font-size:10px;font-weight:700;color:#59657a}.telegram-user-form input{height:39px;box-sizing:border-box;border:1px solid var(--line-strong,#d6dce8);border-radius:9px;padding:0 10px;background:var(--panel,#fff);color:var(--text,#1b202b);font:500 12px inherit;outline:none}.telegram-user-form input:focus{border-color:#2aabee;box-shadow:0 0 0 3px #2aabee1c}.telegram-user-form>.btn{justify-content:center}.telegram-user-fields{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px}.telegram-api-help{padding:10px 11px;border-radius:9px;background:#edf7fd}.telegram-api-help strong{font-size:11px}.telegram-api-help p{margin:4px 0 0;color:#627488;font-size:10px;line-height:1.45}.telegram-api-help a{color:#178bc8;font-weight:700}.telegram-api-help code{font-size:9px}.telegram-user-consent{display:flex!important;align-items:flex-start;grid-template-columns:auto 1fr!important;gap:8px!important}.telegram-user-consent input{width:14px!important;height:14px!important;margin-top:1px}.telegram-user-consent span{font-weight:500!important;line-height:1.4}.telegram-user-security{display:flex;gap:9px;margin-top:12px;padding:11px;border-radius:10px;color:#69768a;background:#eef1f6}.telegram-user-security strong{font-size:10px}.telegram-user-security p{margin:3px 0 0;font-size:9px;line-height:1.45}.telegram-account-card{display:flex;align-items:center;gap:12px;margin-top:14px;padding:15px;border:1px solid #d8e6f0;border-radius:12px;background:var(--panel,#fff)}.telegram-account-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#2aabee}.telegram-account-card>div{flex:1;display:grid;gap:2px}.telegram-account-card strong{font-size:13px}.telegram-account-card small{font-size:10px;color:#748094}.telegram-account-card em{font-size:9px;color:#2b855f;font-style:normal}.telegram-user-modal>footer{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid var(--line,#e1e5ed)}@media(max-width:620px){.telegram-user-backdrop{padding:0}.telegram-user-modal{width:100vw;max-height:100vh;height:100vh;border:0;border-radius:0}.telegram-user-fields{grid-template-columns:1fr}}.workspace-loader{--loader-blue: #5568ee;color:var(--text, #202633);display:grid;justify-items:center;align-content:center;gap:10px;text-align:center}.workspace-loader.page{min-height:100vh;padding:32px;background:radial-gradient(circle at 50% 42%,rgba(85,104,238,.1),transparent 28%),linear-gradient(180deg,#fbfcff,#f3f6fc)}.workspace-loader.compact{min-height:260px;width:100%;padding:34px 24px;background:color-mix(in srgb,var(--surface, #fff) 96%,var(--loader-blue));border-top:1px solid var(--border, #e3e7ef)}.workspace-loader-mark{position:relative;width:54px;height:54px;display:grid;place-items:center;margin-bottom:2px}.workspace-loader-mark>span{position:relative;z-index:2;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#6678ff,#4859db);font-size:19px;font-weight:900;box-shadow:0 13px 30px #4758d747}.workspace-loader-mark>i{position:absolute;top:3px;right:3px;bottom:3px;left:3px;border:1.5px solid rgba(85,104,238,.24);border-radius:18px;animation:workspace-loader-orbit 1.8s ease-out infinite}.workspace-loader-mark>i:nth-of-type(2){animation-delay:.42s}.workspace-loader-mark>i:nth-of-type(3){animation-delay:.84s}.workspace-loader-copy{display:grid;gap:4px}.workspace-loader-copy strong{font-size:14px;letter-spacing:-.01em}.workspace-loader-copy span{color:var(--text-muted, #8791a4);font-size:10.5px;font-weight:550}.workspace-loader-progress{width:min(280px,70vw);height:6px;padding:1px;overflow:hidden;border-radius:99px;background:#dfe4f0;box-shadow:inset 0 1px 2px #232b4714}.workspace-loader-progress>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f62eb,#8996ff);box-shadow:0 0 10px #4f62eb61}.workspace-loader-progress.indeterminate>i{animation:workspace-loader-progress 1.35s ease-in-out infinite}.workspace-loader>small{color:var(--text-muted, #8791a4);font-size:9.5px;font-weight:700}@keyframes workspace-loader-orbit{0%{transform:scale(.68);opacity:0}28%{opacity:1}to{transform:scale(1.18);opacity:0}}@keyframes workspace-loader-progress{0%{transform:translate(-125%)}55%{transform:translate(105%)}to{transform:translate(230%)}}@media(prefers-reduced-motion:reduce){.workspace-loader-mark>i,.workspace-loader-progress.indeterminate>i{animation-duration:3s}}.workspace-backup-card{overflow:hidden;border-color:#dfe5f2;box-shadow:0 10px 28px #2431540e}.workspace-backup-card>header{min-height:86px;padding:17px 18px;border-bottom:1px solid var(--border);background:linear-gradient(112deg,color-mix(in srgb,var(--primary-soft) 64%,var(--surface)) 0%,var(--surface) 62%)}.workspace-backup-card>header h3{margin-top:3px;font-size:16px;letter-spacing:-.18px}.workspace-backup-card>header p{max-width:820px;line-height:1.45}.workspace-backup-head-icon{width:39px;height:39px;flex:0 0 auto;border:1px solid rgba(79,99,237,.18);border-radius:11px;display:grid;place-items:center;color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 72%,var(--surface))}.workspace-backup-actions{padding:13px 17px 11px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px;flex-wrap:wrap}.workspace-backup-actions .btn{min-height:34px}.workspace-backup-note{min-height:39px;margin:11px 17px 0;padding:8px 10px;border:1px solid #dbe6f7;border-radius:8px;display:flex;align-items:center;gap:7px;color:#5f718b;background:#f7faff;font-size:10.5px;line-height:1.35}.workspace-backup-note svg{flex:0 0 auto;color:#2d9467}.workspace-backup-loading{min-height:80px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:11px}.workspace-backup-list{margin:11px 17px 17px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.workspace-backup-row{min-height:61px;padding:9px 10px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:19px minmax(0,1fr) auto auto;align-items:center;gap:9px}.workspace-backup-row:last-child{border-bottom:0}.workspace-backup-row>span{display:grid;place-items:center}.workspace-backup-row>div{min-width:0;display:grid;gap:3px}.workspace-backup-row strong{font-size:11.5px}.workspace-backup-row small{overflow:hidden;color:var(--text-muted);font-size:9.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.workspace-backup-row .btn.compact{min-height:29px;padding:0 8px;font-size:10px}.workspace-backup-row .icon-btn{width:29px;height:29px}.workspace-backup-row.status-failed{background:#e24c5f09}.backup-composer-backdrop{z-index:2500;padding:22px}.backup-composer-modal{width:min(850px,calc(100vw - 44px));max-height:min(760px,calc(100vh - 44px));overflow:hidden;border:1px solid #dbe1ee;border-radius:15px;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 26px 80px #111a3047;animation:attach-modal-in .18s ease both}.backup-composer-modal>header{padding:17px 19px 14px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:linear-gradient(110deg,color-mix(in srgb,var(--primary-soft) 50%,var(--surface)) 0%,var(--surface) 65%)}.backup-composer-modal h2{margin:4px 0 0;font-size:18px;letter-spacing:-.25px}.backup-composer-modal header p{margin:5px 0 0;color:var(--text-muted);font-size:11px;line-height:1.4}.backup-preset-grid{padding:14px 19px 11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.backup-preset-grid>button{min-height:104px;padding:11px;border:1px solid var(--border);border-radius:10px;position:relative;display:grid;grid-template-columns:29px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;gap:4px 8px;text-align:left;color:var(--text);background:var(--surface-subtle);transition:border-color .16s ease,background .16s ease,transform .16s ease}.backup-preset-grid>button:hover{border-color:#4f63ed7a;transform:translateY(-1px)}.backup-preset-grid>button.active{border-color:#4f63ed9e;background:color-mix(in srgb,var(--primary-soft) 67%,var(--surface));box-shadow:0 0 0 2px #4f63ed14}.backup-preset-grid>button>span{width:29px;height:29px;grid-row:1 / 3;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--surface)}.backup-preset-grid strong{font-size:11px;line-height:1.25}.backup-preset-grid small{color:var(--text-muted);font-size:9.5px;line-height:1.35}.backup-preset-grid em{width:17px;height:17px;border-radius:50%;position:absolute;right:8px;top:8px;display:grid;place-items:center;color:#fff;background:var(--primary);font-style:normal}.backup-scope-section{min-height:0;padding:0 19px 13px;overflow:auto}.backup-scope-head{padding:10px 0 8px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.backup-scope-head h3{margin:0;font-size:12.5px}.backup-scope-head p{margin:2px 0 0;color:var(--text-muted);font-size:10px}.backup-scope-head>span{min-width:48px;min-height:22px;padding:0 7px;border-radius:12px;display:inline-grid;place-items:center;color:var(--primary);background:var(--primary-soft);font-size:9.5px;font-weight:750}.backup-scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.backup-scope-grid label{min-height:58px;padding:8px 9px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:17px minmax(0,1fr);align-items:start;gap:8px;cursor:pointer;background:var(--surface-subtle)}.backup-scope-grid label.checked{border-color:#4f63ed73;background:color-mix(in srgb,var(--primary-soft) 55%,var(--surface))}.backup-scope-grid input{width:1px;height:1px;position:absolute;opacity:0;pointer-events:none}.backup-scope-check{width:16px;height:16px;margin-top:1px;border:1px solid var(--border-strong);border-radius:5px;display:grid;place-items:center;color:transparent;background:var(--surface)}.backup-scope-grid label.checked .backup-scope-check{border-color:var(--primary);color:#fff;background:var(--primary)}.backup-scope-grid label>span:last-child{min-width:0;display:grid;gap:2px}.backup-scope-grid strong{font-size:10.5px}.backup-scope-grid small{color:var(--text-muted);font-size:9px;line-height:1.27}.backup-composer-modal>footer{min-height:58px;padding:10px 19px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:7px;background:var(--surface-subtle)}.backup-composer-modal>footer>div{margin-right:auto;display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:9.5px}.backup-composer-modal>footer>div svg{color:#2d9467}@media(max-width:720px){.backup-composer-backdrop{padding:0}.backup-composer-modal{width:100vw;max-height:100vh;height:100vh;border:0;border-radius:0}.backup-preset-grid{grid-template-columns:1fr}.backup-preset-grid>button{min-height:66px}.backup-scope-grid{grid-template-columns:1fr}.backup-composer-modal>footer>div{display:none}.backup-composer-modal>footer{justify-content:flex-end}}@media(max-width:600px){.workspace-backup-actions{align-items:stretch}.workspace-backup-actions .btn{flex:1 1 auto;justify-content:center}.workspace-backup-row{grid-template-columns:18px minmax(0,1fr) auto}.workspace-backup-row .btn.compact{grid-column:2;justify-self:start}.workspace-backup-row .icon-btn{grid-column:3;grid-row:1 / 3}}.quick-note-editor input,.quick-note-editor textarea{font-family:inherit;font-weight:500;line-height:1.45}.quick-note-editor input{font-size:11px}.quick-note-editor textarea{font-size:12px}.quick-note-save-state{min-width:104px;display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);font-size:9.5px}.quick-note-save-state.saving,.quick-note-save-state.pending{color:var(--primary)}.quick-note-save-state.error{color:var(--danger)}.quick-notes-modal{height:min(650px,calc(100vh - 82px));display:flex;flex-direction:column}.quick-notes-modal>header,.quick-notes-tabs,.quick-notes-sync-error{flex:0 0 auto}.quick-notes-workspace{min-height:0;max-height:none;flex:1 1 auto;overflow:hidden}.quick-notes-list,.quick-note-editor{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.quick-note-editor input,.quick-note-editor textarea{font-size:12px}.pinned-story-select>.conversation-avatar-fallback{width:42px;overflow:visible;color:#fff;font-size:14px;text-overflow:clip;white-space:normal}


.channel-card{display:none!important}
/* Stock is server-paginated; do not render a second incremental loader. */
.warehouse-stock-pane .warehouse-footer-actions > .btn.secondary.compact { display: none; }
.warehouse-stock-pane .stock-contour-switch { display: none; }

/* Shared Products/Warehouse pricing editor. This is the single canonical visual implementation. */
.product-pricing-section{overflow:hidden!important;border-color:color-mix(in srgb,var(--primary,#4f63ed) 18%,var(--border,#dfe5ef))!important;border-radius:12px!important;background:linear-gradient(180deg,color-mix(in srgb,var(--primary-soft,#eef1ff) 28%,var(--surface,#fff)) 0,var(--surface,#fff) 74px)!important;box-shadow:0 8px 24px rgba(29,42,82,.045)}
.product-pricing-section .product-pricing-heading{display:grid!important;min-height:68px!important;padding:12px 14px!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:center!important;column-gap:11px!important;row-gap:0!important;border-bottom:1px solid color-mix(in srgb,var(--primary,#4f63ed) 10%,var(--border,#dfe5ef))!important}
.product-pricing-section .product-pricing-heading>span{width:36px!important;height:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important;box-shadow:inset 0 0 0 1px rgba(79,99,237,.06)}
.product-pricing-section .product-pricing-heading>div{min-width:0}
.product-pricing-section .product-pricing-heading h3{margin:0!important;color:var(--text,#1f2633)!important;font-size:13.5px!important;font-weight:780!important;line-height:1.25!important;letter-spacing:-.12px}
.product-pricing-section .product-pricing-heading p{max-width:760px;margin:4px 0 0!important;color:var(--text-muted,#8793aa)!important;font-size:10.5px!important;line-height:1.35!important}
.product-pricing-section .product-pricing-heading>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;justify-self:end!important;gap:6px!important;width:auto!important;min-width:108px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 13px!important;position:static!important;border:1px solid color-mix(in srgb,var(--primary,#4f63ed) 30%,var(--border,#dfe5ef))!important;border-radius:9px!important;background:color-mix(in srgb,var(--primary-soft,#eef1ff) 82%,var(--surface,#fff))!important;color:var(--primary,#4f63ed)!important;box-shadow:0 4px 12px rgba(79,99,237,.08)!important;font:inherit!important;font-size:11.5px!important;font-weight:750!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;cursor:pointer!important;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.product-pricing-section .product-pricing-heading>button:hover:not(:disabled){transform:translateY(-1px);border-color:var(--primary,#4f63ed)!important;background:color-mix(in srgb,var(--primary-soft,#eef1ff) 92%,var(--surface,#fff))!important;box-shadow:0 7px 16px rgba(79,99,237,.14)!important}
.product-pricing-section .product-pricing-heading>button:disabled,.product-pricing-rule-row :disabled{cursor:not-allowed!important;opacity:.55}
.product-pricing-rule-head,.product-pricing-rule-row{display:grid;grid-template-columns:minmax(180px,1.45fr) 84px 92px 120px 145px 145px 76px 42px;align-items:center;gap:10px;min-width:1000px}
.product-pricing-rule-head{padding:12px 20px 7px;color:var(--text-muted,#8793aa);font-size:10.5px;font-weight:750;letter-spacing:.02em}
.product-pricing-rule-list{display:grid;gap:8px;overflow-x:auto;padding:0 14px 14px;scrollbar-gutter:stable}
.product-pricing-rule-row{padding:10px;border:1px solid var(--border,#dfe5ef);border-radius:11px;background:var(--surface,#fff);box-shadow:0 3px 12px rgba(29,42,82,.035)}
.product-pricing-rule-row>input,.product-pricing-rule-row>select{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid var(--border-strong,var(--border,#dfe5ef));border-radius:8px;background:var(--surface,#fff);color:var(--text,#1f2633);font:inherit;font-size:11px;outline:0}
.product-pricing-rule-row>input:focus,.product-pricing-rule-row>select:focus{border-color:var(--primary,#4f63ed);box-shadow:0 0 0 3px rgba(79,99,237,.11)}
.product-pricing-active{display:grid;place-items:center}
.product-pricing-active input{width:18px;height:18px;accent-color:var(--primary,#4f63ed)}
.product-pricing-remove{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #f1c9d0;border-radius:8px;background:#fff5f6;color:#c43e53;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.product-pricing-remove:hover:not(:disabled){border-color:#dc8796;background:#ffeaed}
.product-pricing-empty{min-height:56px;margin:12px 14px 14px!important;padding:14px!important;border:1px dashed color-mix(in srgb,var(--primary,#4f63ed) 22%,var(--border,#dfe5ef))!important;border-radius:10px!important;display:grid!important;place-items:center!important;color:var(--text-muted,#8793aa)!important;background:color-mix(in srgb,var(--surface-subtle,#f8f9fc) 86%,var(--primary-soft,#eef1ff))!important;text-align:center!important;font-size:11px!important;font-weight:600!important;line-height:1.35!important}
.product-pricing-message{min-height:52px;margin:0 1px 10px;padding:11px 14px;border:1px solid #bfe5cc;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(100deg,#f0fbf4,#f8fcfa);color:#247a42;font-size:11px;line-height:1.35;box-shadow:0 5px 18px rgba(36,122,66,.045)}
.product-pricing-message strong{font-size:11.5px;white-space:nowrap}
.product-pricing-message span{max-width:720px;color:#5d6d65;text-align:right}
.product-pricing-message.pending,.product-pricing-message.failed,.product-pricing-message.conflict,.product-pricing-message.error{border-color:#f1c9d0;background:linear-gradient(100deg,#fff4f6,#fffafa);color:#b43449}
:root[data-theme=dark] .product-pricing-remove{background:#341e25;color:#f18496;border-color:#6a3340}
:root[data-theme=dark] .product-pricing-message{background:color-mix(in srgb,#173d29 70%,var(--surface));color:#69d391}
@media(max-width:1100px){.product-pricing-rule-head{display:none}.product-pricing-rule-list{padding-top:12px}.product-pricing-message{align-items:flex-start;flex-direction:column;gap:4px}.product-pricing-message strong{white-space:normal}.product-pricing-message span{text-align:left}}
.order-pos-amount{position:relative;width:100%;min-width:0;min-height:25px;display:flex;align-items:center;justify-content:center}.order-pos-amount>strong{white-space:nowrap;text-align:center}.order-pos-state{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:7px;height:25px}.order-pos-state.processed{position:absolute;right:0;width:auto;background:none;border:none;color:#21844a}:root[data-theme=dark] .order-pos-state.processed{background:none;border:none;color:#68d493}
.order-pick-count-attention{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-width:64px;height:31px;padding:0 12px!important;border:1.5px solid transparent!important;border-radius:9px!important;color:#cf2945!important;background:linear-gradient(#fff3f5,#fff3f5) padding-box,linear-gradient(100deg,#e83250 0%,#ffc3cd 28%,#e83250 50%,#ffc3cd 72%,#e83250 100%) border-box!important;background-size:100% 100%,220% 100%!important;box-shadow:0 3px 10px rgba(207,41,69,.12);font-size:13px;font-weight:800;line-height:1;letter-spacing:.01em;animation:order-pick-border-run 2.4s linear infinite}.order-pick-count-attention:before,.order-pick-count-attention:after{content:none!important}@keyframes order-pick-border-run{0%{background-position:0 0,100% 0}100%{background-position:0 0,-100% 0}}@media(prefers-reduced-motion:reduce){.order-pick-count-attention{animation:none;background:linear-gradient(#fff3f5,#fff3f5) padding-box,linear-gradient(#e83250,#e83250) border-box!important}}:root[data-theme=dark] .order-pick-count-attention{color:#ff8da0!important;background:linear-gradient(#341c23,#341c23) padding-box,linear-gradient(100deg,#ff6e86 0%,#6c2e3a 28%,#ff6e86 50%,#6c2e3a 72%,#ff6e86 100%) border-box!important;box-shadow:0 3px 12px rgba(232,50,80,.18)}/* Readability pass: keep the dense admin layout without micro-sized working text. *//* Order → POS and grouped cashier documents *//* Delivery and analytics: dense operational views built from the shared order data. *//* Messages: compact three-pane omnichannel workspace. *//* Messages must inherit the active palette on every nested surface. Explicit
   backgrounds also avoid transparent chat layers being composited as white. *//* Shared operational pages: dashboard, clients and products. *//* Integrations center. *//* Settings center. *//* Warehouse operations center. *//* Purchase workspace: catalog on the left, current document on the right. *//* Product builder with photo and generated variants. *//* Unified catalog, document and directory editors *//* Product selection and shared bulk actions. *//* Compact list controls requested for Products and Warehouse directories. *//* Quiet order-row tints by unified status. *//* Operational home activity, team controls, custom order status colors and product movement links. *//* Entity names stay readable across dense workspaces instead of collapsing to ellipses. *//* Home composition based on the compact operational dashboard reference. *//* Readability follow-up: raise recurring microcopy without loosening the compact layout. *//* Shared sortable table headings. *//* Full customer profile modal. *//* Cashback journal inside the adjust popup. *//* Cleaner order editor: readable fields, stable columns and one scrolling body. *//* Home: messages use the same width as the operations card and stay readable. *//* A quiet grid keeps tinted order rows visually separated without overpowering status colors. *//* Localization, review AI and review inbox. */

.inbox-actions-menu { position: relative; }
.inbox-actions-menu > .square-quiet { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; display: grid; place-items: center; color: var(--text-secondary); background: var(--surface); }
.inbox-actions-popover { width: 154px; padding: 5px; position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow-lg); background: var(--surface); }
.inbox-actions-popover button { width: 100%; min-height: 32px; padding: 0 8px; border: 0; border-radius: 6px; display: flex; align-items: center; gap: 7px; color: var(--text); background: transparent; font-size: 10px; font-weight: 650; text-align: left; }
.inbox-actions-popover button:hover:not(:disabled) { color: var(--primary); background: var(--surface-hover); }
.inbox-actions-popover button:disabled { opacity: .45; }

/* Launch-ready orders and messages */
.selectable-orders-table .selection-column { width: 30px; min-width: 30px; max-width: 30px; padding: 0 7px; text-align: center; }
.selectable-orders-table tr:has(.product-selection-checkbox input:checked) { box-shadow: inset 3px 0 0 var(--primary); }
.order-bulk-bar { min-height: 42px; padding: 6px 10px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.order-bulk-bar > div { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 10px; }.order-bulk-bar > div strong { min-width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: white; background: var(--primary); font-size: 11px; }.order-bulk-bar > div button { width: 24px; height: 24px; border: 0; display: grid; place-items: center; color: var(--text-muted); background: transparent; }
.order-bulk-bar nav { display: flex; align-items: center; gap: 5px; }.order-bulk-bar nav button { min-height: 29px; padding: 0 9px; border: 1px solid var(--border); border-radius: 7px; display: inline-flex; align-items: center; gap: 5px; color: var(--text-secondary); background: var(--surface); font-size: 10px; font-weight: 650; }.order-bulk-bar nav button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }.order-bulk-bar nav button:disabled { opacity: .42; cursor: not-allowed; }.order-bulk-bar nav button.danger { color: var(--danger); }

.messages-loading-thread, .messages-empty-workspace, .draft-empty, .draft-empty-products { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); font-size: 10px; }.messages-empty-workspace { height: 100%; flex-direction: column; }.messages-empty-workspace strong { color: var(--text); font-size: 13px; }.messages-empty-workspace span { max-width: 260px; text-align: center; }
.draft-empty { height: 100%; padding: 18px; flex-direction: column; text-align: center; }
.message-row.internal .message-bubble { border: 1px dashed #d8a63b; background: color-mix(in srgb, #f4bd42 10%, var(--surface)); }
.admin-note-persistent { margin: 0 12px 8px; padding: 8px 9px; border: 1px solid color-mix(in srgb, #e4a62b 38%, var(--border)); border-radius: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr) 26px 26px; align-items: start; gap: 7px; color: #a56d00; background: color-mix(in srgb, #ffca55 10%, var(--surface)); }.admin-note-persistent div { min-width: 0; }.admin-note-persistent strong { display: block; color: var(--text); font-size: 10px; }.admin-note-persistent p { margin: 2px 0 0; color: var(--text-secondary); font-size: 10px; line-height: 1.4; white-space: pre-wrap; }.admin-note-persistent button { width: 26px; height: 26px; border: 0; display: grid; place-items: center; color: var(--text-muted); background: transparent; }.admin-note-persistent button:last-child { color: var(--danger); }
.admin-note-panel { margin-bottom: 8px; }.admin-note-panel footer { display: flex; justify-content: flex-end; gap: 6px; }.admin-note-panel footer .danger-text { margin-right: auto; }
.emoji-picker { position: relative; }.emoji-picker > button { border: 0; background: transparent; }.emoji-picker > div { width: 170px; padding: 7px; position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: var(--surface); }.emoji-picker > div button { height: 32px; border: 0; border-radius: 6px; background: transparent; font-size: 18px; }.emoji-picker > div button:hover { background: var(--surface-hover); }
.message-product-picker { margin-bottom: 8px; padding: 7px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-subtle); }.message-product-picker > label { height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 7px; display: flex; align-items: center; gap: 6px; background: var(--surface); }.message-product-picker input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; }.message-product-picker > div { max-height: 210px; margin-top: 6px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; }.message-product-picker > div > button { width: 100%; min-height: 45px; padding: 5px; border: 0; border-radius: 7px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 7px; text-align: left; color: var(--text); background: var(--surface); }.message-product-picker img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; }.message-product-picker span { display: flex; flex-direction: column; gap: 2px; }.message-product-picker strong { font-size: 10px; }.message-product-picker small { color: var(--text-muted); font-size: 9px; }
.draft-product.editable { grid-template-columns: 38px minmax(100px, 1fr) auto 72px 24px; }.draft-item-price { height: 28px; padding: 0 5px; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; gap: 2px; }.draft-item-price input { width: 48px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; text-align: right; }.draft-item-price span { color: var(--text-muted); font-size: 9px; }.draft-remove-product { width: 24px; height: 24px; border: 0; display: grid; place-items: center; color: var(--danger); background: transparent; }
.draft-client-fields { padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.draft-client-fields label:first-child, .draft-client-fields label:last-child { grid-column: 1 / -1; }.draft-client-fields label { display: flex; flex-direction: column; gap: 4px; }.draft-client-fields span { color: var(--text-muted); font-size: 9px; }.draft-client-fields input { width: 100%; height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 7px; outline: 0; color: var(--text); background: var(--surface); font-size: 10px; }.draft-client-fields input:focus { border-color: var(--primary); }
.draft-client-spoiler { padding: 0; }
.draft-client-spoiler > summary { min-height: 54px; padding: 9px 13px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
.draft-client-spoiler > summary::-webkit-details-marker { display: none; }
.draft-client-spoiler > summary > span { min-width: 0; display: flex; align-items: center; gap: 8px; }
.draft-client-spoiler > summary > span:first-child > svg { color: var(--primary); }
.draft-client-spoiler > summary > span:first-child > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.draft-client-spoiler summary strong { font-size: 11px; }
.draft-client-spoiler summary small { overflow: hidden; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.draft-client-spoiler summary > span:last-child > svg { color: var(--text-muted); transition: transform .18s ease; }
.draft-client-spoiler[open] summary > span:last-child > svg { transform: rotate(180deg); }
.draft-client-spoiler > .draft-client-fields { margin: 0 13px 12px; border-top: 1px solid var(--border); }
.message-order-status { position: relative; display: flex; flex-direction: column; gap: 8px; }
.message-status-heading { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-secondary); font-size: 10px; font-weight: 750; }
.message-status-heading-actions { display: inline-flex; align-items: center; gap: 10px; }
.message-status-heading .status-notify-toggle { font-size: 11px; }
.message-status-heading button { width: 26px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 7px; display: grid; place-items: center; color: var(--text-muted); background: var(--surface); cursor: pointer; }
.message-status-heading button:hover { border-color: var(--primary); color: var(--primary); }
.message-quick-status-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.message-quick-status-grid button { min-width: 0; min-height: 38px; padding: 5px 6px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-secondary); background: var(--surface); font-size: 9px; font-weight: 750; line-height: 1.15; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.message-quick-status-grid button.active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 8%, transparent); }
.message-quick-status-grid button:disabled { opacity: .58; cursor: wait; }
.message-other-status { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.message-other-status > span { color: var(--text-muted); font-size: 9px; }
.message-other-status .select-control { width: 100%; min-width: 0; }
.message-order-status > .message-status-saving { display: flex; align-items: center; gap: 5px; color: var(--primary); font-size: 9px; }
.message-payment-action { padding: 8px; }
.message-payment-action > button { width: 100%; min-height: 44px; padding: 7px 11px; border: 0; border-radius: 9px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; column-gap: 8px; color: white; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 78%, #714cff)); box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 22%, transparent); text-align: left; cursor: pointer; }
.message-payment-action > button > svg { grid-row: 1 / 3; }
.message-payment-action > button span { font-size: 11px; font-weight: 800; }
.message-payment-action > button small { color: rgba(255,255,255,.78); font-size: 8.5px; }
.message-payment-action > button:disabled { opacity: .55; cursor: wait; }
.message-delivery-section { position: relative; z-index: 2; padding: 0; background: color-mix(in srgb, var(--primary-soft) 20%, var(--surface)); }
.message-delivery-section > summary > span:first-child > svg { width: 30px; height: 30px; padding: 7px; flex: 0 0 30px; border-radius: 8px; color: var(--primary); background: var(--primary-soft); }
.message-delivery-body { margin: 0 13px 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.message-delivery-actions { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.message-delivery-actions > span { max-width: 50%; color: var(--text-muted); font-size: 8.5px; line-height: 1.35; }
.message-delivery-actions > div { display: flex; align-items: center; gap: 5px; }
.message-delivery-actions .btn { min-height: 30px; height: 30px; padding: 0 9px; font-size: 9px; }
.message-delivery-readonly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px; }
.message-delivery-readonly > span { min-width: 0; min-height: 52px; padding: 8px 9px; border: 1px solid var(--border); border-radius: 8px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.message-delivery-readonly small { color: var(--text-muted); font-size: 8.5px; }
.message-delivery-readonly strong { color: var(--text); font-size: 10px; line-height: 1.3; overflow-wrap: anywhere; }
.message-shipping-price input, .message-manual-address input, .message-recipient-fields input, .message-adjustments-section input { width: 100%; height: 34px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--text); background: var(--surface); font-size: 10px; }
.message-shipping-price input:focus, .message-manual-address input:focus, .message-recipient-fields input:focus, .message-adjustments-section input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.message-draft-np-address { z-index: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.message-draft-np-address .np-shared-types { grid-column: 1 / -1; }
.message-draft-np-address .np-shared-field { grid-column: auto; }
.message-draft-np-address .np-shared-house { grid-column: 1 / -1; }
.message-draft-np-address .np-shared-types button { min-width: 0; padding-inline: 4px; white-space: nowrap; }
.message-draft-np-address .np-shared-field ul { width: 100%; max-width: 100%; right: auto; left: 0; }
.message-recipient-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.message-recipient-fields label, .message-adjustments-section label { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.message-recipient-fields span, .message-adjustments-section span { color: var(--text-muted); font-size: 9px; }
.message-adjustments-section { padding-block: 9px; }

.payment-cards-backdrop { z-index: 220; }.payment-cards-modal { width: min(760px, calc(100vw - 32px)); max-height: min(820px, calc(100vh - 32px)); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }.payment-cards-modal > header { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; }.payment-cards-modal h2 { margin: 2px 0 3px; color: var(--text); font-size: 18px; }.payment-cards-modal header p { margin: 0; color: var(--text-muted); font-size: 10px; }.payment-token-hint { padding: 8px 18px; border-bottom: 1px solid var(--border); display: flex; gap: 5px; background: var(--surface-subtle); }.payment-token-hint code { padding: 3px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--primary); background: var(--surface); font-size: 9px; }.payment-cards-list { min-height: 180px; padding: 12px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; }.payment-cards-list article { padding: 9px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-subtle); }.payment-card-row { display: grid; grid-template-columns: 26px 120px minmax(160px, 1fr) 30px 30px 30px; align-items: center; gap: 5px; }.payment-card-row > span { color: var(--primary); }.payment-card-row input { height: 30px; min-width: 0; padding: 0 7px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); font-size: 10px; }.payment-card-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .4px; }.payment-card-row button { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 6px; display: grid; place-items: center; color: var(--primary); background: var(--surface); }.payment-card-row button.danger { color: var(--danger); }.payment-cards-list textarea { width: 100%; min-height: 64px; margin-top: 7px; padding: 7px; border: 1px solid var(--border); border-radius: 7px; resize: vertical; color: var(--text); background: var(--surface); font-size: 10px; line-height: 1.4; }.payment-cards-list article > small { display: block; margin-top: 5px; color: var(--text-muted); font-size: 9px; }.payment-cards-empty { min-height: 160px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--text-muted); font-size: 10px; }.payment-cards-modal > footer { padding: 10px 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 8px; }.payment-cards-modal > footer > div { display: flex; gap: 6px; }
.review-expanded-top { min-width: 0; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; }.review-composer-tools { margin-bottom: 8px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.review-reply-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
@media (max-width: 720px) {.review-expanded-top { grid-template-columns: 1fr; } }

/* Pending remote deletions stay visible until the next confirmed refresh. *//* Price calculation and option-aware purchase lines. *//* Unified order editor and extended customer profile. *//* Compact order header, operational delivery actions and richer customer wallet. *//* Nova Poshta — secure account setup and one-click TTN workspace *//* Customer wallet history and collapsible address list. *//* Purchase workspace: progressive catalog and readable operational rows. *//* Inventory uses the purchase two-pane anatomy with counting-specific fields. *//* Inventory rows fit the document pane without horizontal scrolling. *//* Purchase document rows: aligned identity, options and compact numeric inputs. *//* Keep both stock contours visually atomic: the order opens once with the
   final SITE/CRM pair instead of painting placeholders and replacing them. *//* Paint a modal order only once its CRM and storefront balances are complete. *//* Keep the quantity badge before SITE/CRM without painting a background over
   the complete vertical column. *//* Full product profile, VIP customer emphasis and direct checkout. *//* Full manual order workspace *//* Production order editor: searchable catalog select, aligned lines and editable address. *//* Order editing: catalog options are operational data, while Nova Poshta
   delivery remains visible but is never manually editable. *//* Settings must stay dense and usable when the workspace becomes narrow. *//* Account-scoped SMS gateway workspace *//* Telegram user-account MTProto connection *//* Readability pass: keep the dense admin layout without micro-sized working text. *//* Order → POS and grouped cashier documents *//* Delivery and analytics: dense operational views built from the shared order data. *//* Messages: compact three-pane omnichannel workspace. *//* Messages must inherit the active palette on every nested surface. Explicit
   backgrounds also avoid transparent chat layers being composited as white. *//* Shared operational pages: dashboard, clients and products. *//* Integrations center. *//* Settings center. *//* Warehouse operations center. *//* Purchase workspace: catalog on the left, current document on the right. *//* Product builder with photo and generated variants. *//* Unified catalog, document and directory editors *//* Product selection and shared bulk actions. *//* Compact list controls requested for Products and Warehouse directories. *//* Quiet order-row tints by unified status. *//* Operational home activity, team controls, custom order status colors and product movement links. *//* Entity names stay readable across dense workspaces instead of collapsing to ellipses. *//* Home composition based on the compact operational dashboard reference. *//* Readability follow-up: raise recurring microcopy without loosening the compact layout. *//* Shared sortable table headings. *//* Full customer profile modal. *//* Cashback journal inside the adjust popup. *//* Cleaner order editor: readable fields, stable columns and one scrolling body. *//* Home: messages use the same width as the operations card and stay readable. *//* A quiet grid keeps tinted order rows visually separated without overpowering status colors. *//* Localization, review AI and review inbox. *//* Launch-ready orders and messages *//* Pending remote deletions stay visible until the next confirmed refresh. *//* Price calculation and option-aware purchase lines. *//* Unified order editor and extended customer profile. *//* Compact order header, operational delivery actions and richer customer wallet. *//* Nova Poshta — secure account setup and one-click TTN workspace *//* Customer wallet history and collapsible address list. *//* Purchase workspace: progressive catalog and readable operational rows. *//* Inventory uses the purchase two-pane anatomy with counting-specific fields. *//* Inventory rows fit the document pane without horizontal scrolling. *//* Purchase document rows: aligned identity, options and compact numeric inputs. *//* Keep both stock contours visually atomic: the order opens once with the
   final SITE/CRM pair instead of painting placeholders and replacing them. *//* Paint a modal order only once its CRM and storefront balances are complete. *//* Keep the quantity badge before SITE/CRM without painting a background over
   the complete vertical column. *//* Full product profile, VIP customer emphasis and direct checkout. *//* Full manual order workspace *//* Production order editor: searchable catalog select, aligned lines and editable address. *//* Order editing: catalog options are operational data, while Nova Poshta
   delivery remains visible but is never manually editable. *//* Settings must stay dense and usable when the workspace becomes narrow. *//* Account-scoped SMS gateway workspace *//* Telegram user-account MTProto connection *//* Readability pass: keep the dense admin layout without micro-sized working text. *//* Order → POS and grouped cashier documents *//* Delivery and analytics: dense operational views built from the shared order data. *//* Messages: compact three-pane omnichannel workspace. *//* Messages must inherit the active palette on every nested surface. Explicit
   backgrounds also avoid transparent chat layers being composited as white. *//* Shared operational pages: dashboard, clients and products. *//* Integrations center. *//* Settings center. *//* Warehouse operations center. *//* Purchase workspace: catalog on the left, current document on the right. *//* Product builder with photo and generated variants. *//* Unified catalog, document and directory editors *//* Product selection and shared bulk actions. *//* Compact list controls requested for Products and Warehouse directories. *//* Quiet order-row tints by unified status. *//* Operational home activity, team controls, custom order status colors and product movement links. *//* Entity names stay readable across dense workspaces instead of collapsing to ellipses. *//* Home composition based on the compact operational dashboard reference. *//* Readability follow-up: raise recurring microcopy without loosening the compact layout. *//* Shared sortable table headings. *//* Full customer profile modal. *//* Cashback journal inside the adjust popup. *//* Cleaner order editor: readable fields, stable columns and one scrolling body. *//* Home: messages use the same width as the operations card and stay readable. *//* A quiet grid keeps tinted order rows visually separated without overpowering status colors. *//* Localization, review AI and review inbox. *//* Launch-ready orders and messages *//* Pending remote deletions stay visible until the next confirmed refresh. *//* Price calculation and option-aware purchase lines. *//* Unified order editor and extended customer profile. *//* Compact order header, operational delivery actions and richer customer wallet. *//* Nova Poshta — secure account setup and one-click TTN workspace *//* Customer wallet history and collapsible address list. *//* Purchase workspace: progressive catalog and readable operational rows. *//* Inventory uses the purchase two-pane anatomy with counting-specific fields. *//* Inventory rows fit the document pane without horizontal scrolling. *//* Purchase document rows: aligned identity, options and compact numeric inputs. *//* Keep both stock contours visually atomic: the order opens once with the
   final SITE/CRM pair instead of painting placeholders and replacing them. *//* Paint a modal order only once its CRM and storefront balances are complete. *//* Keep the quantity badge before SITE/CRM without painting a background over
   the complete vertical column. *//* Full product profile, VIP customer emphasis and direct checkout. *//* Full manual order workspace *//* Production order editor: searchable catalog select, aligned lines and editable address. *//* Order editing: catalog options are operational data, while Nova Poshta
   delivery remains visible but is never manually editable. *//* Settings must stay dense and usable when the workspace becomes narrow. *//* Account-scoped SMS gateway workspace *//* Telegram user-account MTProto connection *//* Readability pass: keep the dense admin layout without micro-sized working text. *//* Order → POS and grouped cashier documents *//* Delivery and analytics: dense operational views built from the shared order data. *//* Messages: compact three-pane omnichannel workspace. *//* Messages must inherit the active palette on every nested surface. Explicit
   backgrounds also avoid transparent chat layers being composited as white. *//* Shared operational pages: dashboard, clients and products. *//* Integrations center. *//* Settings center. *//* Warehouse operations center. *//* Purchase workspace: catalog on the left, current document on the right. *//* Product builder with photo and generated variants. *//* Unified catalog, document and directory editors *//* Product selection and shared bulk actions. *//* Compact list controls requested for Products and Warehouse directories. *//* Quiet order-row tints by unified status. *//* Operational home activity, team controls, custom order status colors and product movement links. *//* Entity names stay readable across dense workspaces instead of collapsing to ellipses. *//* Home composition based on the compact operational dashboard reference. *//* Readability follow-up: raise recurring microcopy without loosening the compact layout. *//* Shared sortable table headings. *//* Full customer profile modal. *//* Cashback journal inside the adjust popup. *//* Cleaner order editor: readable fields, stable columns and one scrolling body. *//* Home: messages use the same width as the operations card and stay readable. *//* A quiet grid keeps tinted order rows visually separated without overpowering status colors. *//* Localization, review AI and review inbox. */.reviews-workspace { min-width: 0; overflow: hidden !important; display: flex; flex-direction: column; }.reviews-workspace > .page-topbar { height: 88px; flex: 0 0 88px; }.reviews-shell { min-width: 0; min-height: 0 !important; height: auto !important; flex: 1 1 auto !important; margin: 0; overflow: hidden !important; border: 1px solid var(--border) !important; border-radius: 11px !important; display: grid; grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; gap: 0; background: var(--surface) !important; box-shadow: var(--shadow) !important; }.reviews-list-panel { min-width: 0; min-height: 0 !important; height: 100%; max-height: none !important; overflow: hidden !important; border: 0 !important; border-radius: 0; display: flex; flex-direction: column; background: var(--surface) !important; box-shadow: none; }.reviews-workspace .reviews-toolbar { min-height: 66px; height: 66px; padding: 11px 13px; flex: 0 0 66px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; background: transparent; }.reviews-workspace .reviews-toolbar .search-control { width: min(560px, 55%); min-height: 38px; height: 38px; padding: 0 9px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }.reviews-toolbar input[type="search"]::-webkit-search-cancel-button { display: none; }.reviews-rating-filter { width: 190px; height: 38px; margin-left: auto; padding: 0 11px; position: relative; flex: 0 0 190px; border: 1px solid var(--border); border-radius: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; background: var(--surface); transition: border-color .14s ease, box-shadow .14s ease; }.reviews-rating-filter:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }.reviews-rating-filter > span { color: var(--text-muted); font-size: 9.5px; font-weight: 700; }.reviews-rating-filter select { width: 100%; border: 0; outline: 0; appearance: none; color: var(--text); background: transparent; font: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer; }.reviews-rating-filter > svg { color: var(--text-muted); pointer-events: none; }.reviews-workspace .reviews-overview { height: 41px; min-height: 41px; padding: 0 13px; flex: 0 0 41px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; overflow: hidden; background: transparent; }.reviews-import-summary { display: flex; align-items: center; gap: 13px; color: var(--text-muted); font-size: 9.5px; }.reviews-import-summary span { min-width: 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }.reviews-import-summary span:nth-child(2) { color: #b47818; }.reviews-import-summary strong { color: var(--text); font-size: 10px; }.reviews-workspace .reviews-tabs { width: auto; height: 41px; min-height: 41px; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 20px; overflow-x: auto; overflow-y: hidden; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; scrollbar-width: none; }.reviews-tabs::-webkit-scrollbar { display: none; }.reviews-workspace .reviews-tabs button { min-height: 0; height: 41px; padding: 0; position: relative; border: 0; border-radius: 0; display: inline-flex; align-items: center; gap: 5px; color: var(--text); background: transparent; box-shadow: none; font-size: 12px; font-weight: 600; white-space: nowrap; }.reviews-workspace .reviews-tabs button:hover { color: var(--primary); background: transparent; }.reviews-workspace .reviews-tabs button.active { color: var(--primary); background: transparent; box-shadow: none; }.reviews-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--primary); }.reviews-tabs button b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 7px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); font-size: 9px; }.reviews-table-scroll { min-width: 0; min-height: 0; flex: 1; overflow: auto; background: var(--surface); }.reviews-table { width: 100%; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }.reviews-table col:nth-child(1) { width: 15%; }.reviews-table col:nth-child(2) { width: 27%; }.reviews-table col:nth-child(3) { width: 10%; }.reviews-table col:nth-child(4) { width: 20%; }.reviews-table col:nth-child(5) { width: 12%; }.reviews-table col:nth-child(6) { width: 8%; }.reviews-table col:nth-child(7) { width: 8%; }.reviews-table thead { display: none; }.reviews-table thead th { height: 36px; padding: 0 11px; border-bottom: 1px solid var(--border); color: var(--text-muted); background: var(--surface-subtle); font-size: 11px; font-weight: 750; text-align: left; }.reviews-table thead th:nth-child(1) { width: 17%; }.reviews-table thead th:nth-child(2) { width: 23%; }.reviews-table thead th:nth-child(3) { width: 11%; }.reviews-table thead th:nth-child(4) { width: 20%; }.reviews-table thead th:nth-child(5) { width: 13%; }.reviews-table thead th:nth-child(6) { width: 9%; }.reviews-table thead th:nth-child(7) { width: 54px; }.reviews-table tbody tr:not(.reviews-group-row) { cursor: pointer; outline: 0; }.reviews-table tbody tr:not(.reviews-group-row) td { height: 64px; padding: 7px 11px; border-bottom: 1px solid var(--border); color: var(--text); background: var(--surface); vertical-align: middle; transition: background .14s ease, box-shadow .14s ease; }.reviews-table tbody tr:not(.reviews-group-row):not(.review-inline-detail-row) td:last-child { padding-left: 12px; padding-right: 12px; }.reviews-table tbody tr:not(.reviews-group-row):hover td { background: var(--surface-hover); }.reviews-table tbody tr:not(.reviews-group-row):focus-visible td { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 42%, transparent); }.reviews-table tbody tr.active td { background: color-mix(in srgb, var(--primary-soft) 54%, var(--surface)); }.reviews-table tbody tr.active td:first-child { box-shadow: inset 3px 0 var(--primary); }.reviews-table tbody tr.active td { border-bottom-color: transparent; }.reviews-table tbody tr.is-new td { background: color-mix(in srgb, var(--primary-soft) 30%, var(--surface)); }.reviews-table tbody tr.is-new:hover td, .reviews-table tbody tr.is-new.active td { background: color-mix(in srgb, var(--primary-soft) 62%, var(--surface)); }.reviews-table tbody tr.review-inline-detail-row > td { height: auto !important; padding: 0 11px 11px !important; cursor: default; background: color-mix(in srgb, var(--surface) 74%, var(--primary-soft)) !important; box-shadow: inset 3px 0 var(--primary); }.reviews-table tbody tr.review-inline-detail-row:hover > td { background: color-mix(in srgb, var(--surface-subtle) 86%, var(--primary-soft)) !important; }.review-inline-detail-row .review-detail-panel { box-shadow: none; }.review-inline-detail-row .review-detail-panel > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }.reviews-group-row th { height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border); color: var(--text-secondary); background: color-mix(in srgb, var(--surface-subtle) 88%, var(--primary-soft)); font-size: 9.5px; text-align: left; }.reviews-group-row th span { text-transform: uppercase; letter-spacing: .055em; }.reviews-group-row th b { min-width: 20px; height: 19px; margin-left: 7px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--text-muted); background: var(--surface); font-size: 8.5px; }.reviews-group-row.new th { color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 65%, var(--surface)); }.reviews-group-row.new th b { color: white; background: var(--primary); }.review-customer-cell, .review-subject-cell { min-width: 0; display: flex; align-items: center; gap: 8px; }.review-customer-cell { gap: 12px; }.review-customer-cell > span { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }.review-customer-cell > div, .review-subject-cell > div { min-width: 0; display: grid; gap: 3px; }.review-customer-cell strong, .review-subject-cell strong { overflow: hidden; display: block; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }.review-subject-cell strong { font-weight: 600; }.review-customer-cell small, .review-subject-cell small { overflow: hidden; color: var(--text-muted); font-size: 9.25px; text-overflow: ellipsis; white-space: nowrap; }.review-subject-cell small { display: none; }.review-new-chip { min-width: 37px; height: 20px; margin-left: auto; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; color: white; background: var(--primary); font-size: 7.5px; font-style: normal; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }.review-copy-cell p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text-secondary); font-size: 11px; line-height: 1.42; }.review-table-rating { display: grid; gap: 4px; }.review-table-rating > span { display: flex; color: #e6a223; }.review-table-rating > strong { color: var(--text-secondary); font-size: 9.5px; }.review-type-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }.review-type-icon.store { color: #8c55c8; background: color-mix(in srgb, #8c55c8 11%, var(--surface)); }.review-type-icon.has-image { overflow: hidden; border: 1px solid var(--border); background: white; }.review-type-icon.has-image img { width: 100%; height: 100%; display: block; object-fit: cover; }.review-table-status { min-height: 25px; max-width: 136px; padding: 4px 8px; border-radius: 7px; display: inline-flex; align-items: center; font-size: 9.25px; font-style: normal; font-weight: 500; line-height: 1.2; }.review-table-status.answered { color: #23854d; background: color-mix(in srgb, #36b86a 12%, var(--surface)); }.review-table-status.waiting { color: #a76a10; background: color-mix(in srgb, #e6a223 14%, var(--surface)); }.review-table-status.disabled, .review-table-status.pending { color: var(--text-muted); background: var(--surface-muted); }.review-date-cell { color: var(--text-muted) !important; font-size: 9.75px; white-space: nowrap; }.review-row-open { width: 28px; height: 28px; padding: 0; border: 1px solid var(--border); border-radius: 8px; display: grid; place-items: center; color: var(--text-muted); background: var(--surface); }.reviews-table tr:hover .review-row-open, .reviews-table tr.active .review-row-open { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); color: var(--primary); }.review-row-open svg { transition: transform .18s ease; }.reviews-table tr.active .review-row-open svg { transform: rotate(90deg); }.review-row-status-toggle { min-width: 56px; height: 28px; padding: 0 6px; border: 1px solid var(--border); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--text-muted); background: var(--surface); font-size: 9px; font-weight: 750; white-space: nowrap; }.review-row-status-toggle i { width: 24px; height: 14px; padding: 2px; border-radius: 999px; display: flex; align-items: center; background: #cbd1db; }.review-row-status-toggle i b { width: 10px; height: 10px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(20,28,43,.22); transition: transform .16s ease; }.review-row-status-toggle.active { border-color: rgba(35,133,77,.28); color: #23854d; background: rgba(35,133,77,.07); }.review-row-status-toggle.active i { background: #23854d; }.review-row-status-toggle.active i b { transform: translateX(10px); }.review-row-status-toggle:disabled { opacity: .52; cursor: wait; }.reviews-table tr.review-disabled:not(.active) td { color: var(--text-muted); background: color-mix(in srgb, var(--surface-muted) 28%, var(--surface)); }.reviews-table tr.review-disabled:not(.active) .review-type-icon { filter: grayscale(.7); opacity: .68; }.reviews-table tr.review-pending-deletion td { color: var(--text-muted); background: color-mix(in srgb, #aeb4bf 13%, var(--surface)); }.reviews-empty { min-height: 220px; }.reviews-pagination { min-height: 47px; padding: 0 13px; flex: 0 0 47px; border-top: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 8px; }.reviews-pagination > span { color: var(--text-muted); font-size: 9px; white-space: nowrap; }.reviews-pagination .pagination { margin: 0; padding: 0; border: 0; background: transparent; }/* Launch-ready orders and messages */.reviews-empty, .reviews-detail-empty { min-height: 240px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); text-align: center; }.reviews-empty strong, .reviews-detail-empty strong { color: var(--text); font-size: 12px; }.reviews-empty span, .reviews-detail-empty span { max-width: 310px; font-size: 9.5px; line-height: 1.45; }.review-detail-panel { min-width: 0; min-height: 0 !important; grid-column: 1 / -1 !important; padding: 11px; position: relative; overflow: visible !important; scroll-margin-top: 64px; border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--border)); border-radius: 0 0 11px 11px; background: var(--surface) !important; box-shadow: none; }.review-detail-panel > header { min-height: 30px; margin: 0; position: absolute; right: 159px; bottom: 21px; z-index: 2; display: flex; align-items: center; justify-content: flex-end !important; }.review-detail-panel > header .review-product-heading, .review-detail-panel > header .review-detail-close, .review-detail-panel > .review-author-card { display: none !important; }.review-publication-control { display: flex; align-items: center; }.review-publication-control > span { display: none; }.review-publication-control > button { min-height: 30px; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; gap: 6px; color: #6d7482; background: var(--surface); font-size: 9.5px; font-weight: 750; white-space: nowrap; }.review-publication-control > button.active { border-color: rgba(35,133,77,.28); color: #23854d; background: rgba(35,133,77,.07); }.review-publication-control > button:disabled { opacity: .65; }.review-publication-control i { width: 27px; height: 15px; padding: 2px; border-radius: 999px; display: flex; align-items: center; background: #cbd1db; }.review-publication-control i b { width: 11px; height: 11px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(20,28,43,.25); transition: transform .16s ease; }.review-publication-control > button.active i { background: #23854d; }.review-publication-control > button.active i b { transform: translateX(12px); }.review-detail-actions { display: flex; align-items: center; gap: 7px; }.review-delete-button { min-height: 31px; padding: 0 9px; border: 1px solid color-mix(in srgb, var(--danger) 25%, var(--border)); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--danger); background: color-mix(in srgb, var(--danger) 5%, var(--surface)); font-size: 9.5px; font-weight: 700; }.reviews-workspace .review-delete-button { width: 31px; min-width: 31px; padding: 0; }.review-delete-button:hover:not(:disabled) { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }.review-delete-button:disabled { opacity: .6; }.review-text-card { min-width: 0; min-height: 30px; padding: 4px 2px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; color: var(--primary); }.review-text-card p { margin: 0; color: var(--text); font-size: 12px; font-weight: 560; line-height: 1.55; white-space: pre-wrap; }.review-criteria-card { margin-top: 10px; overflow: hidden; border: 0; border-radius: 9px; background: var(--surface-subtle); }.review-criteria-card > div { padding: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }.review-criteria-card > div > span { min-height: 42px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 3px; }.review-criteria-card span small { overflow: hidden; color: var(--text-muted); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }.review-criteria-card span b { color: #b47818; font-size: 10.5px; }.review-pros-cons { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.review-pros-cons > div { min-height: 60px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 7px; }.review-pros-cons .positive { border-color: rgba(35,133,77,.2); color: #23854d; }.review-pros-cons .negative { border-color: rgba(196,63,85,.2); color: var(--danger); }.review-pros-cons span { min-width: 0; }.review-pros-cons small { font-size: 8.5px; font-weight: 750; }.review-pros-cons p { margin: 3px 0 0; color: var(--text-secondary); font-size: 9.5px; line-height: 1.4; white-space: pre-wrap; }.review-reply-editor { margin-top: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-subtle); }.reviews-workspace .ai-draft-button { min-height: 29px; padding: 0 9px; border: 1px solid rgba(118,83,207,.22); border-radius: 8px; color: #7653cf; background: color-mix(in srgb, #f3eafb 72%, var(--surface)); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 750; white-space: nowrap; }.review-reply-editor textarea { width: 100%; min-height: 104px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; outline: 0; resize: vertical; color: var(--text); background: var(--surface); font: inherit; font-size: 11px; line-height: 1.5; }.review-reply-editor textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }.review-reply-editor > div:last-child { min-height: 31px; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }.review-reply-editor > div:last-child small { min-width: 0; color: var(--text-muted); font-size: 9px; }.reviews-workspace .review-reply-actions { min-width: 0; position: static; display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }.reviews-workspace .review-reply-actions > * { flex: 0 0 auto; margin: 0; position: static; }.review-reply-editor:has(> .review-reply-head) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }.review-reply-editor:has(> .review-reply-head) > .review-reply-head { grid-column: 2; grid-row: 1; }.review-reply-editor:has(> .review-reply-head) > .review-quick-replies { grid-column: 1; grid-row: 1; }.review-reply-editor:has(> .review-reply-head) > textarea, .review-reply-editor:has(> .review-reply-head) > div:last-child { grid-column: 1 / -1; }.review-reply-head { margin-bottom: 8px; display: flex; justify-content: flex-end; }.review-reply-head > div { display: none; }.review-quick-replies { min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }.review-quick-replies > strong { display: none; }.review-quick-replies > div { display: flex; flex-wrap: wrap; gap: 6px; }.reviews-workspace .review-quick-replies > div button { min-height: 28px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border)); border-radius: 999px; color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 42%, var(--surface)); font-size: 11px; font-weight: 650; }.reviews-workspace .review-quick-replies > div .review-quick-reply-chip button { font-size: 11px; }.review-quick-replies > div button.add { width: 28px; padding: 0; display: grid; place-items: center; }.review-quick-replies > label { max-width: 460px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }.review-quick-replies > label input { height: 31px; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--text); background: var(--surface); font-size: 10px; }.review-quick-replies > label button { padding: 0 10px; border: 0; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; color: white; background: var(--primary); font-size: 9.5px; font-weight: 700; }@media (max-width: 1050px) { .reviews-import-summary { display: none; }.reviews-tabs { width: 100%; }.reviews-table { min-width: 1000px; } }@media (max-width: 720px) { .reviews-toolbar { min-height: 112px; flex: 0 0 112px; flex-wrap: wrap; }.reviews-toolbar .search-control { width: 100%; }.reviews-rating-filter { width: 100%; flex-basis: 100%; }.reviews-import-summary { display: none; }.review-detail-panel > header { position: static; margin-top: 8px; }.review-detail-actions, .review-reply-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }.review-pros-cons { grid-template-columns: 1fr; }.review-composer-tools, .review-reply-editor:has(> .review-reply-head) { display: flex; flex-direction: column-reverse; }.ai-draft-button { align-self: stretch; justify-content: center; } }/* Pending remote deletions stay visible until the next confirmed refresh. */.review-detail-panel.pending-deletion-panel > :not(header) { background-color: color-mix(in srgb, #aeb4bf 9%, var(--surface)); }/* Price calculation and option-aware purchase lines. *//* Unified order editor and extended customer profile. *//* Compact order header, operational delivery actions and richer customer wallet. */.review-quick-reply-chip { display: inline-flex; align-items: stretch; border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border)); border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--primary-soft) 42%, var(--surface)); }.review-quick-replies > div .review-quick-reply-chip button { border: 0; border-radius: 0; background: transparent; }.review-quick-replies > div .review-quick-reply-chip .remove { min-width: 25px; padding: 0 7px 0 3px; color: var(--text-muted); }.review-quick-replies > div .review-quick-reply-chip .remove:hover { color: var(--danger); }/* Nova Poshta — secure account setup and one-click TTN workspace *//* Customer wallet history and collapsible address list. *//* Purchase workspace: progressive catalog and readable operational rows. *//* Inventory uses the purchase two-pane anatomy with counting-specific fields. *//* Inventory rows fit the document pane without horizontal scrolling. *//* Purchase document rows: aligned identity, options and compact numeric inputs. *//* Keep both stock contours visually atomic: the order opens once with the
   final SITE/CRM pair instead of painting placeholders and replacing them. *//* Paint a modal order only once its CRM and storefront balances are complete. *//* Keep the quantity badge before SITE/CRM without painting a background over
   the complete vertical column. *//* Full product profile, VIP customer emphasis and direct checkout. *//* Full manual order workspace *//* Production order editor: searchable catalog select, aligned lines and editable address. *//* Order editing: catalog options are operational data, while Nova Poshta
   delivery remains visible but is never manually editable. *//* Settings must stay dense and usable when the workspace becomes narrow. *//* Account-scoped SMS gateway workspace *//* Telegram user-account MTProto connection */

/* Order editor cashback balance — v392 */
.new-order-cashback-field > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.new-order-cashback-field > span small { color: var(--primary); font-size: 9px; font-weight: 600; white-space: nowrap; }

