body{background:var(--ks-color-brand);color:var(--ks-color-ink)}body,button,input,select,textarea{font-family:var(--ks-font-sans)}:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--ks-color-brand-strong);outline-offset:2px}.crm-shell{grid-template-columns:260px minmax(0,1fr);gap:14px;width:min(1530px,calc(100% - 36px));min-height:calc(100vh - 56px);margin:28px auto;padding:14px;border:6px solid #eeedf2;border-radius:var(--ks-radius-shell);box-shadow:var(--ks-shadow-shell)}.crm-sidebar{top:20px;width:auto;height:calc(100vh - 68px);border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-lg);background:var(--ks-color-surface)}.crm-brand{height:auto;min-height:84px;padding:17px 17px 12px;color:var(--ks-color-ink)}.crm-brand-logo{display:block;width:151px;max-width:100%;height:30px;object-fit:contain;object-position:left center}.crm-brand small{margin-top:5px;color:var(--ks-color-text-muted);font-size:10px}.crm-nav-group{margin:0 11px 18px}.crm-nav-title{color:#8a777a;font-size:11px;letter-spacing:.08em}.crm-nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 11px;color:var(--ks-color-ink);font-size:13px;font-weight:550}.crm-nav-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;color:#826e73}.crm-nav-icon svg{display:block;width:23px;height:23px}.crm-nav-link:hover{color:var(--ks-color-brand-strong);background:var(--ks-color-brand-wash)}.crm-nav-link.active,.crm-nav-link[aria-current=page]{color:var(--ks-color-brand-strong);background:var(--ks-color-brand-soft);font-weight:750}.crm-nav-link.active .crm-nav-icon{color:var(--ks-color-brand-strong)}.crm-sidebar-account{margin:auto 11px 13px;border-color:var(--ks-color-border);color:var(--ks-color-ink)}.crm-sidebar-account.active{background:var(--ks-color-brand-soft)}.crm-sidebar-account small{color:var(--ks-color-text-muted)}.crm-avatar,.crm-topbar-avatar{background:var(--ks-color-brand-soft);color:var(--ks-color-brand-strong)}.crm-backup-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}.crm-backup-panel h2{margin:7px 0 8px;font-size:18px}.crm-backup-panel p{margin:0;color:var(--ks-color-text-muted);font-size:13px;line-height:1.5}.crm-backup-panel .crm-backup-state{margin:13px 0 5px;color:var(--ks-color-ink);font-weight:650}.crm-backup-panel small{color:var(--ks-color-text-muted)}.crm-backup-action{display:grid;justify-items:end;gap:10px;min-width:195px;text-align:right}.crm-backup-action button{border:0;cursor:pointer}.crm-backup-action button:disabled{cursor:wait;opacity:.6}.crm-backup-action .crm-backup-error{color:var(--ks-color-danger)}.crm-content{min-width:0}.crm-topbar{height:74px;margin-bottom:14px;padding:0 21px;border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-lg);background:var(--ks-color-surface)}.crm-topbar small,.crm-topbar-actions{color:var(--ks-color-text-muted)}.crm-topbar strong{color:var(--ks-color-ink);font-size:13px}.crm-online-dot{background:var(--ks-color-success)}.crm-notification-link{color:var(--ks-color-text-muted)}.crm-notification-link:hover{color:var(--ks-color-brand-strong);background:var(--ks-color-brand-soft)}.crm-main{max-width:1340px;padding:22px 8px 50px}.crm-page-head{margin-bottom:22px}.crm-eyebrow{color:var(--ks-color-brand-strong)}.crm-page-head h1{color:var(--ks-color-ink);font-size:27px;letter-spacing:-.035em}.crm-page-head p{color:var(--ks-color-text-muted)}.crm-outline-button{border-color:var(--ks-color-border);color:var(--ks-color-ink)}.crm-outline-button:hover{border-color:var(--ks-color-border-brand);background:var(--ks-color-brand-subtle)}.crm-import-panel,.crm-metric,.crm-panel,.crm-products-card,.crm-sale-create{border-color:var(--ks-color-border);border-radius:var(--ks-radius-lg);background:var(--ks-color-surface);box-shadow:none}.crm-metric small,.crm-metric-top,.crm-panel-note{color:var(--ks-color-text-muted)}.crm-dashboard-sales strong,.crm-metric strong,.crm-panel-heading h2{color:var(--ks-color-ink)}.crm-metric-icon.purple,.crm-shortcut-icon.purple{color:var(--ks-color-brand-strong);background:var(--ks-color-brand-soft)}.crm-clear-filters,.crm-panel-heading>a,.crm-products-card-head a{color:var(--ks-color-brand-strong)}.crm-dashboard-sales{border-color:var(--ks-color-border);background:var(--ks-color-border)}.crm-dashboard-sales>div{background:var(--ks-color-surface)}.crm-dashboard-sales small,.crm-dashboard-sales span{color:var(--ks-color-text-muted)}.crm-periods{border-color:var(--ks-color-border)}.crm-periods button{color:var(--ks-color-text-muted)}.crm-notification-tabs button.active,.crm-periods button.selected,.crm-primary-button{background:var(--ks-color-brand);color:var(--ks-color-ink)}.crm-primary-button{border:1px solid var(--ks-color-brand);box-shadow:0 7px 15px #f2979c27}.crm-primary-button:hover{border-color:var(--ks-color-brand-hover);background:var(--ks-color-brand-hover);color:var(--ks-color-ink)}.crm-main :is(input:not([type=checkbox]),select,textarea){border-color:var(--ks-color-border);background:var(--ks-color-surface);color:var(--ks-color-ink)}.crm-main :is(input:not([type=checkbox]),select,textarea):focus{border-color:var(--ks-color-brand-strong);outline:0;box-shadow:var(--ks-focus-ring)}.crm-main input[type=checkbox],.crm-remember input{accent-color:var(--ks-color-brand-strong)}.crm-main table thead,.crm-products-table tbody tr:hover,.crm-products-table thead,.crm-transfers-page>div.rounded.border.bg-white li:hover{background:var(--ks-color-brand-subtle)}.crm-product-thumbnail,.crm-role-pill,.crm-stock-action,.crm-store-icon,.crm-transfer-status{background:var(--ks-color-brand-soft);color:var(--ks-color-brand-strong)}.crm-role-pill,.crm-stock-action,.crm-transfer-status{border-color:var(--ks-color-border-brand)}.crm-stock-action:hover{background:var(--ks-color-brand-wash)}.crm-profile-banner{background:linear-gradient(125deg,var(--ks-color-brand),#d87079)}.crm-profile-avatar{background:var(--ks-color-brand-soft)}.crm-profile-avatar,.crm-signout{color:var(--ks-color-brand-strong)}.crm-signout{border-color:var(--ks-color-border-brand);background:var(--ks-color-brand-subtle)}.crm-signout:hover{background:var(--ks-color-brand-wash)}.crm-trend-bar,.crm-trend-legend i{background:var(--ks-color-brand-strong)}.crm-trend-bar.negative{background:#eb9259}.crm-alert{color:var(--ks-color-danger)}.crm-login-page{grid-template-columns:minmax(0,1fr) minmax(360px,430px);width:min(1080px,calc(100% - 48px));min-height:min(660px,calc(100vh - 64px));margin:32px auto;border:7px solid #eeedf2;border-radius:var(--ks-radius-shell);background:var(--ks-color-surface);box-shadow:var(--ks-shadow-shell)}.crm-login-art{padding:45px 50px;background:linear-gradient(145deg,#525252,#303030)}.crm-login-logo{width:fit-content;padding:11px 13px;border-radius:var(--ks-radius-sm);background:var(--ks-color-surface)}.crm-login-art-copy .crm-eyebrow{color:#ffc8cb}.crm-login-art-copy p{color:#f8eeee}.crm-login-art-bottom{color:#f2d6d8}.crm-login-form-wrap{background:var(--ks-color-surface)}.crm-login-form-logo{width:175px;height:29px;margin-bottom:26px;object-fit:contain;object-position:left}.crm-login-form h2{color:var(--ks-color-ink)}.crm-login-form>p,.crm-login-form>small{color:var(--ks-color-text-muted)}.crm-login-form input{border-color:var(--ks-color-border);color:var(--ks-color-ink)}.crm-login-form input:focus{border-color:var(--ks-color-brand-strong);box-shadow:var(--ks-focus-ring)}.crm-login-form button[type=submit]{background:var(--ks-color-brand);color:var(--ks-color-ink)}.crm-login-form button[type=submit]:hover:not(:disabled){background:var(--ks-color-brand-hover)}.crm-remember{color:var(--ks-color-text-muted)}@media (max-width:1080px){.crm-shell{grid-template-columns:240px minmax(0,1fr);width:calc(100% - 20px);margin:10px auto;padding:9px;gap:9px;border-width:4px}.crm-main{padding:18px 4px 40px}.crm-topbar{padding:0 15px}}@media (max-width:760px){.crm-shell{display:block;width:100%;min-height:100vh;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}.crm-sidebar{position:fixed;top:0;left:0;width:min(288px,86vw);height:100vh;border-radius:0 var(--ks-radius-lg) var(--ks-radius-lg) 0;transform:translateX(-100%)}.crm-sidebar-open{transform:translateX(0)}.crm-topbar{height:64px;margin:0;border-radius:0}.crm-main{padding:24px 17px 40px}.crm-menu-button{display:block;color:var(--ks-color-ink)}.crm-backup-panel{align-items:stretch;flex-direction:column}.crm-backup-action{justify-items:start;text-align:left}.crm-login-page{grid-template-columns:1fr;width:100%;min-height:100vh;margin:0;border:0;border-radius:0}.crm-login-art{display:flex;min-height:220px;padding:24px}.crm-login-art-copy h1{max-width:480px;margin:12px 0 5px;font-size:28px}.crm-login-art-bottom,.crm-login-art-copy p{display:none}.crm-login-form-wrap{min-height:0;padding:30px 24px 42px}}@media (max-width:530px){.crm-page-head h1{font-size:25px}.crm-login-art{min-height:180px}.crm-login-logo{display:none}.crm-login-form-logo{margin-bottom:18px}}.crm-product-detail{display:grid;gap:20px}.crm-product-back{width:fit-content;color:var(--ks-color-text-muted);font-size:12px;font-weight:650;text-decoration:none}.crm-product-back:hover{color:var(--ks-color-brand-strong)}.crm-product-detail-header{display:flex;align-items:end;justify-content:space-between;gap:20px}.crm-product-detail-header h1{margin:8px 0 4px;color:var(--ks-color-ink);font-size:clamp(24px,3vw,32px);letter-spacing:-.04em;line-height:1.1}.crm-product-detail-header p{margin:0;color:var(--ks-color-text-muted);font-size:13px}.crm-product-detail-actions{display:flex;flex-wrap:wrap;gap:9px}.crm-product-detail-actions button{min-height:40px;padding:9px 14px;border-radius:var(--ks-radius-sm);cursor:pointer;font-size:12px;font-weight:700}.crm-product-delete{border:1px solid #eecfcd;background:#fff8f7;color:var(--ks-color-danger)}.crm-product-delete:hover{background:#fff0ef}.crm-product-delete:disabled{opacity:.5;cursor:default}.crm-product-detail-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);align-items:start}.crm-product-detail-side{display:grid;gap:18px;min-width:0}.crm-product-detail .crm-panel,.crm-product-form .crm-panel{padding:24px;border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-lg);background:var(--ks-color-surface)}.crm-product-section-head{margin-bottom:19px}.crm-product-section-head h2{margin:7px 0 0;color:var(--ks-color-ink);font-size:19px;letter-spacing:-.02em}.crm-product-section-head p{margin:7px 0 0;color:var(--ks-color-text-muted);font-size:12px;line-height:1.5}.crm-product-message{padding:25px;color:var(--ks-color-text-muted)}.crm-product-attributes dl,.crm-product-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px;margin:0}.crm-product-attributes dl>div,.crm-product-facts dl>div{display:grid;gap:5px;min-width:0;padding:12px 0;border-top:1px solid var(--ks-color-border)}.crm-product-attributes dt,.crm-product-description span,.crm-product-facts dt{color:var(--ks-color-text-muted);font-size:11px}.crm-product-attributes dd,.crm-product-facts dd{margin:0;overflow-wrap:anywhere;color:var(--ks-color-ink);font-size:13px;font-weight:650}.crm-product-description{margin-top:6px;padding-top:16px;border-top:1px solid var(--ks-color-border)}.crm-product-description p{margin:6px 0 0;color:var(--ks-color-ink);font-size:13px;line-height:1.55;white-space:pre-wrap}.crm-product-attributes>p{margin:0;color:var(--ks-color-text-muted);font-size:13px}.crm-product-image-count{display:inline-flex;margin-top:10px;padding:5px 9px;border-radius:99px;background:var(--ks-color-brand-soft);color:var(--ks-color-brand-strong);font-size:11px;font-weight:750}.crm-product-image-preview{display:grid;place-items:center;aspect-ratio:1.35;overflow:hidden;border-radius:var(--ks-radius-md);background:#faf7f7}.crm-product-image-preview img{display:block;width:100%;height:100%;object-fit:contain}.crm-product-image-empty{display:grid;justify-items:center;gap:5px;padding:20px;text-align:center}.crm-product-image-empty>span{color:var(--ks-color-brand-strong);font-size:45px;line-height:1}.crm-product-image-empty strong{color:var(--ks-color-ink);font-size:13px}.crm-product-image-empty small{color:var(--ks-color-text-muted);font-size:11px}.crm-product-image-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:15px 0}.crm-product-image-toolbar p{margin:0;color:var(--ks-color-text-muted);font-size:11px}.crm-product-upload{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 11px;border:1px solid var(--ks-color-border-brand);border-radius:var(--ks-radius-sm);cursor:pointer;font-size:11px;font-weight:750}.crm-product-upload:has(input:disabled){opacity:.5;cursor:default}.crm-product-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:9px}.crm-product-image-tile{overflow:hidden;border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-sm)}.crm-product-image-tile img{width:100%;aspect-ratio:1;object-fit:cover}.crm-product-image-tile>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px;padding:7px;font-size:10px}.crm-product-image-tile span{color:var(--ks-color-text-muted)}.crm-product-image-tile button{padding:0;border:0;background:none;color:var(--ks-color-danger);cursor:pointer;font-size:10px}.crm-gallery{min-width:0}.crm-gallery-stage{position:relative;aspect-ratio:1;overflow:hidden;border-radius:var(--ks-radius-md);background:#fbf9fa;touch-action:pan-y}.crm-gallery-open{display:grid;place-items:center;width:100%;height:100%;padding:12px;border:0;background:transparent;cursor:zoom-in}.crm-gallery-open img{width:100%;height:100%;object-fit:contain}.crm-gallery-expand{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--ks-color-border);border-radius:10px;background:#fff;color:var(--ks-color-ink);box-shadow:0 3px 12px #00000010}.crm-gallery-arrow{position:absolute;top:50%;display:grid;place-items:center;width:40px;height:40px;padding:0;transform:translateY(-50%);border:1px solid var(--ks-color-border);border-radius:50%;background:#fffffff2;color:var(--ks-color-ink);box-shadow:0 4px 14px #00000014;cursor:pointer}.crm-gallery-arrow:hover,.crm-gallery-dialog-nav:hover{color:var(--ks-color-brand-strong);border-color:var(--ks-color-border-brand)}.crm-gallery-arrow-prev{left:12px}.crm-gallery-arrow-next{right:12px}.crm-gallery-counter{position:absolute;bottom:12px;left:12px;padding:6px 10px;border:1px solid var(--ks-color-border);border-radius:999px;background:#fffffff2;color:var(--ks-color-ink);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;pointer-events:none}.crm-gallery-thumbs{position:relative;display:flex;gap:9px;max-width:100%;margin-top:14px;padding:2px 2px 7px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin}.crm-gallery-thumb{position:relative;flex:0 0 82px;width:82px;height:82px;scroll-snap-align:start}.crm-gallery-thumb-select{display:grid;place-items:center;width:100%;height:100%;padding:4px;overflow:hidden;border:1px solid var(--ks-color-border);border-radius:11px;background:#fff;cursor:pointer}.crm-gallery-thumb-select img{width:100%;height:100%;object-fit:contain}.crm-gallery-thumb.active .crm-gallery-thumb-select{border:2px solid var(--ks-color-brand-strong);box-shadow:0 0 0 3px var(--ks-color-brand-soft)}.crm-gallery-new{position:absolute;bottom:4px;left:4px;padding:2px 5px;border-radius:4px;background:#fff;color:var(--ks-color-brand-strong);font-size:9px;font-weight:750;pointer-events:none}.crm-gallery-thumb-remove{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #f1c9c9;border-radius:7px;background:#fff;color:var(--ks-color-danger);cursor:pointer}.crm-gallery-thumb-remove:disabled{opacity:.45;cursor:default}.crm-gallery :is(button,dialog button):focus-visible{outline:3px solid var(--ks-color-brand-strong);outline-offset:2px}.crm-gallery-dialog{width:min(960px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100dvh - 32px));max-height:none;margin:auto;padding:0;overflow:hidden;border:0;border-radius:20px;background:#fff;box-shadow:0 24px 80px #0000004d;color:var(--ks-color-ink)}.crm-gallery-dialog::backdrop{background:#171115c9}.crm-gallery-dialog-top{display:flex;align-items:center;justify-content:space-between;height:62px;padding:0 18px 0 24px;border-bottom:1px solid var(--ks-color-border);font-size:13px;font-weight:750}.crm-gallery-dialog-top button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:#f8f5f6;color:var(--ks-color-ink);cursor:pointer}.crm-gallery-dialog-body{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center;gap:8px;height:calc(100% - 100px);padding:12px;touch-action:pan-y}.crm-gallery-dialog-body img{display:block;justify-self:center;max-width:min(100%,540px);max-height:min(100%,540px);width:100%;height:100%;object-fit:contain}.crm-gallery-dialog-nav{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--ks-color-border);border-radius:50%;background:#fff;color:var(--ks-color-ink);cursor:pointer}.crm-gallery-dialog-hint{margin:0;color:var(--ks-color-text-muted);font-size:12px;text-align:center}.crm-gallery-dialog-body:has(>img:first-child){grid-template-columns:minmax(0,1fr)}.crm-product-detail{max-width:1320px;margin-inline:auto;gap:22px}.crm-product-detail-header{align-items:start;padding:4px 2px 0}.crm-product-detail-header h1{max-width:940px;margin:12px 0 7px;font-size:clamp(26px,3vw,38px);font-weight:650;line-height:1.16;letter-spacing:-.035em}.crm-product-detail-grid{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:18px}.crm-product-detail .crm-panel,.crm-product-edit-layout .crm-panel{padding:clamp(20px,2vw,28px);border-color:#e9e5e8;border-radius:20px;box-shadow:0 7px 24px rgba(43,27,34,.025)}.crm-product-detail .crm-product-image-preview,.crm-product-edit-layout .crm-product-image-preview{aspect-ratio:1;max-height:550px;background:#fbf9fa}.crm-product-detail .crm-product-image-preview img,.crm-product-edit-layout .crm-product-image-preview img{object-fit:contain;padding:12px}.crm-product-detail .crm-product-image-grid{margin-top:16px}.crm-product-detail .crm-product-facts dl>div{padding-block:16px}.crm-product-edit-layout{display:grid;gap:18px}.crm-product-edit-price label,.crm-product-edit-section label{display:grid;gap:8px;min-width:0;color:var(--ks-color-ink);font-size:12px;font-weight:700}.crm-product-edit-section :is(input,select,textarea){width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--ks-color-border);border-radius:10px;background:#fff;color:var(--ks-color-ink);font-size:13px;font-weight:400}.crm-product-edit-section :is(input,select,textarea):focus{outline:0;border-color:var(--ks-color-brand-strong);box-shadow:var(--ks-focus-ring)}.crm-product-edit-section textarea{resize:vertical;line-height:1.5}.crm-product-edit-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crm-product-price-caption{margin:12px 0 0;color:var(--ks-color-text-muted);font-size:12px}.crm-product-edit-gallery .crm-product-image-count{margin:0 0 12px}.crm-product-edit-gallery .crm-product-image-tile{position:relative}.crm-product-edit-gallery .crm-product-image-tile>button{display:block;min-height:32px;margin:0 7px 7px;padding:0 6px}.crm-product-image-pending{border-color:var(--ks-color-border-brand);background:var(--ks-color-brand-subtle)}.crm-product-image-pending>span{position:absolute;top:5px;left:5px;padding:4px 6px;border-radius:6px;background:#fff;color:var(--ks-color-brand-strong);font-size:10px;font-weight:700}.crm-product-save-bar{position:sticky;bottom:14px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--ks-color-border-brand);border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(55,34,43,.12)}.crm-product-save-bar strong{color:var(--ks-color-ink);font-size:14px}.crm-product-save-bar p{margin:4px 0 0;color:var(--ks-color-text-muted);font-size:12px;line-height:1.4}.crm-product-save-bar>div:last-child{display:flex;flex:0 0 auto;gap:8px}.crm-product-save-bar button{min-height:42px;padding:9px 14px}.crm-product-save-bar button:disabled{opacity:.5;cursor:default}.crm-product-change-grid{display:grid;gap:0}.crm-product-change-grid>div{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1fr) 20px minmax(0,1fr);align-items:start;gap:12px;padding:12px 0;border-top:1px solid var(--ks-color-border);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.crm-product-change-grid strong{color:var(--ks-color-ink)}.crm-product-change-grid span{color:var(--ks-color-text-muted);font-weight:400}.crm-product-change-grid b{color:var(--ks-color-brand-strong);font-weight:700}.crm-image-crop-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(25,22,25,.65)}.crm-image-crop-dialog{width:min(100%,440px);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;padding:24px;border-radius:22px;background:#fff;box-shadow:0 24px 80px rgba(20,10,15,.25)}.crm-image-crop-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.crm-image-crop-heading h2{margin:5px 0 0;font-size:24px}.crm-image-crop-dialog>p{margin:12px 0 18px;color:var(--ks-color-text-muted);font-size:13px;line-height:1.5}.crm-image-crop-close{width:36px;height:36px;border:1px solid var(--ks-color-border);border-radius:10px;background:#fff;font-size:24px;cursor:pointer}.crm-image-crop-stage{position:relative;width:min(100%,300px);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:12px;background:#f6f2f3;cursor:grab;touch-action:none;user-select:none}.crm-image-crop-stage:active{cursor:grabbing}.crm-image-crop-stage img{position:absolute;top:50%;left:50%;max-width:none;max-height:none;pointer-events:none;user-select:none}.crm-image-crop-zoom{display:flex;align-items:center;gap:12px;margin-top:20px;color:var(--ks-color-ink);font-size:13px;font-weight:700}.crm-image-crop-zoom input{flex:1;accent-color:var(--ks-color-brand-strong)}.crm-image-crop-zoom span{min-width:45px;text-align:right;font-variant-numeric:tabular-nums}.crm-image-crop-actions{display:flex;justify-content:end;gap:10px;margin-top:22px}.crm-image-crop-actions button{min-height:42px;padding:9px 16px}.crm-product-price .crm-product-current-price{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px;padding:16px;border-radius:var(--ks-radius-md);background:var(--ks-color-brand-subtle)}.crm-product-current-price span{color:var(--ks-color-text-muted);font-size:12px}.crm-product-current-price strong{color:var(--ks-color-ink);font-size:20px}.crm-product-price form{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.crm-product-price form button{grid-column:1/-1;min-height:41px;cursor:pointer}.crm-product-form label,.crm-product-price label{display:grid;align-content:start;gap:7px;min-width:0;color:var(--ks-color-ink);font-size:12px;font-weight:700}.crm-product-form :is(input,select,textarea),.crm-product-price :is(input,select){width:100%;min-height:42px;padding:10px 11px;border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-sm);background:var(--ks-color-surface);color:var(--ks-color-ink);font-size:13px;font-weight:400}.crm-product-form :is(input,select,textarea):focus,.crm-product-price :is(input,select):focus{border-color:var(--ks-color-brand-strong);outline:0;box-shadow:var(--ks-focus-ring)}.crm-product-form button:disabled,.crm-product-price button:disabled{opacity:.5;cursor:default}.crm-product-notice{margin:12px 0 0;color:var(--ks-color-success);font-size:12px}.crm-product-form{display:grid;gap:18px}.crm-product-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.crm-product-form-wide{grid-column:1/-1}.crm-product-form textarea{resize:vertical;line-height:1.5}.crm-product-form-footer{display:flex;justify-content:flex-end}.crm-product-form-footer button{min-height:44px;cursor:pointer}@media (max-width:1050px){.crm-product-detail-grid{grid-template-columns:minmax(0,1fr)}.crm-product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.crm-product-detail-header{align-items:start;flex-direction:column}.crm-product-detail-actions{width:100%}.crm-product-detail-actions button{flex:1}.crm-product-detail .crm-panel,.crm-product-form .crm-panel{padding:18px}.crm-product-attributes dl,.crm-product-edit-price,.crm-product-facts dl,.crm-product-form-grid,.crm-product-price form{grid-template-columns:1fr}.crm-product-edit-layout .crm-panel{padding:18px}.crm-product-save-bar{bottom:0;flex-direction:column;align-items:stretch;border-radius:14px 14px 0 0}.crm-product-save-bar>div:last-child{display:grid;grid-template-columns:1fr 1.3fr}.crm-product-save-bar button{padding-inline:8px}.crm-product-change-grid>div{grid-template-columns:1fr 16px 1fr;gap:5px}.crm-product-change-grid strong{grid-column:1/-1}.crm-gallery-arrow{width:36px;height:36px}.crm-gallery-thumb{flex-basis:70px;width:70px;height:70px}.crm-gallery-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:14px}.crm-gallery-dialog-body{grid-template-columns:38px minmax(0,1fr) 38px;gap:3px;padding:6px}.crm-gallery-dialog-nav{width:36px;height:36px}}.crm-shell .text-violet-600,.crm-shell .text-violet-700{color:var(--ks-color-brand-strong)}.crm-shell .bg-violet-100{background-color:var(--ks-color-brand-soft)}.crm-shell .bg-violet-700{background-color:var(--ks-color-brand-strong)}.crm-shell .border-violet-100,.crm-shell .border-violet-200{border-color:var(--ks-color-border-brand)}.crm-shell .border-violet-500,.crm-shell .border-violet-600,.crm-shell .focus\:border-violet-500:focus{border-color:var(--ks-color-brand-strong)}.crm-main{color:var(--ks-color-ink);font-size:14px}.crm-main h1.text-2xl.font-semibold{color:var(--ks-color-ink);font-size:27px;font-weight:750;letter-spacing:-.035em;line-height:1.2}.crm-main h2.font-semibold,.crm-main h2.text-xl.font-semibold{color:var(--ks-color-ink);font-size:18px;font-weight:700;letter-spacing:-.02em}.crm-main h3.font-semibold{color:var(--ks-color-ink);font-size:15px}.crm-main :is(section,form,div,details).border.bg-white:is(.rounded,.rounded-lg,.rounded-xl){border-color:var(--ks-color-border);border-radius:var(--ks-radius-lg);background:var(--ks-color-surface);box-shadow:none}.crm-main label{color:var(--ks-color-ink);font-size:12px;font-weight:650;line-height:1.45}.crm-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not(.crm-products-search input){min-height:42px;border:1px solid var(--ks-color-border);border-radius:var(--ks-radius-sm);padding:9px 12px;color:var(--ks-color-ink);font-size:13px;font-weight:400}.crm-main :is(input,textarea)::placeholder{color:#a49b9d;opacity:1}.crm-main :is(button,a).bg-slate-900,.crm-main button.bg-violet-700{min-height:40px;border:1px solid var(--ks-color-brand);border-radius:var(--ks-radius-sm);background:var(--ks-color-brand);color:var(--ks-color-ink);font-size:12px;font-weight:750;text-decoration:none;cursor:pointer}.crm-main :is(button,a).bg-slate-900:hover:not(:disabled),.crm-main button.bg-violet-700:hover:not(:disabled){border-color:var(--ks-color-brand-hover);background:var(--ks-color-brand-hover)}.crm-main button.rounded-lg.border:not([class*=border-red]):not([class*=border-amber]),.crm-main button.rounded.border:not([class*=border-red]):not([class*=border-amber]){min-height:40px;border-color:var(--ks-color-border);border-radius:var(--ks-radius-sm);background:var(--ks-color-surface);color:var(--ks-color-ink);font-size:12px;font-weight:700;cursor:pointer}.crm-main button.rounded-lg.border:not([class*=border-red]):not([class*=border-amber]):hover:not(:disabled),.crm-main button.rounded.border:not([class*=border-red]):not([class*=border-amber]):hover:not(:disabled){border-color:var(--ks-color-border-brand);background:var(--ks-color-brand-subtle)}.crm-main button:disabled{cursor:default;opacity:.48}.crm-main button.text-blue-700{color:var(--ks-color-brand-strong);font-size:12px;font-weight:700}.crm-main table{border-collapse:collapse}.crm-main table thead{background:var(--ks-color-brand-subtle)}.crm-main table th{color:var(--ks-color-text-muted);font-size:11px;font-weight:750;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}.crm-main table td{color:var(--ks-color-ink);font-size:12px;line-height:1.45}.crm-main table tr.border-t{border-color:var(--ks-color-border)}.crm-main table tbody tr:hover{background:#fffafb}.crm-main table td.text-amber-700{color:var(--ks-color-warning)}.crm-main table td.text-green-700{color:var(--ks-color-success)}.crm-main table td.text-red-700{color:var(--ks-color-danger)}.crm-main .text-slate-500{color:var(--ks-color-text-muted)}.crm-main :is(p,li).bg-red-50{border-color:#f1d0cd;border-radius:var(--ks-radius-sm);background:#fff5f4;color:var(--ks-color-danger)}.crm-main details.rounded.border.bg-white>summary{display:flex;align-items:center;gap:10px;list-style:none;color:var(--ks-color-ink);font-size:15px;font-weight:700}.crm-main details.rounded.border.bg-white>summary::-webkit-details-marker{display:none}.crm-main details.rounded.border.bg-white>summary:before{content:"+";display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:var(--ks-color-brand-soft);color:var(--ks-color-brand-strong);font-size:19px;font-weight:500}.crm-main details.rounded.border.bg-white[open]>summary:before{content:"−"}.crm-workspace-page>.crm-page-head{margin-bottom:0}.crm-stock-page .crm-filter-card{padding:20px;gap:16px}.crm-stock-page .crm-filter-card label{display:grid;align-content:start;gap:7px}.crm-stock-page .crm-filter-card :is(input,select){margin-top:0;width:100%}.crm-stock-page>.overflow-x-auto{overflow-x:auto}.crm-stock-page>.overflow-x-auto table{min-width:690px}.crm-stock-page>.overflow-x-auto table td,.crm-stock-page>.overflow-x-auto table th{padding:15px 16px}.crm-stock-page .crm-stock-action{min-height:36px;padding:7px 12px;font-size:12px}.crm-customers-page .crm-list-card>.mt-3.flex.items-center.gap-3,.crm-stock-page>.flex.items-center.gap-3{flex-wrap:wrap;color:var(--ks-color-text-muted);font-size:12px}.crm-stock-page #stock-editor{padding:24px}.crm-stock-page #stock-editor form{border-color:var(--ks-color-border)}.crm-customers-page .crm-create-details,.crm-customers-page .crm-list-card{padding:22px 24px}.crm-customers-page .crm-create-details>form{border-top:1px solid var(--ks-color-border);padding-top:20px}.crm-customers-page .crm-list-toolbar{gap:14px;padding-bottom:16px;border-bottom:1px solid var(--ks-color-border)}.crm-customers-page .crm-list-toolbar>div{align-items:center}.crm-customers-page .crm-list-toolbar :is(input,select){min-width:200px}.crm-customers-page .crm-list-card ul{margin-top:0}.crm-customers-page .crm-list-card li{border-color:var(--ks-color-border)}.crm-customers-page .crm-empty-list{padding:38px 12px;color:var(--ks-color-text-muted);text-align:center}.crm-customers-page .crm-list-card>.mt-3.flex.items-center.gap-3{margin-top:14px;padding-top:14px;border-top:1px solid var(--ks-color-border)}.crm-sales-page>.flex>.crm-page-head{margin-bottom:0}.crm-login-page{grid-template-columns:minmax(0,44%) minmax(0,56%);width:min(1120px,calc(100% - 48px));min-height:min(710px,calc(100vh - 72px));margin:36px auto;overflow:hidden;border:7px solid #fff;border-radius:31px;background:#fff;box-shadow:0 28px 70px #8f52643b}.crm-login-art{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;padding:34px 40px 0;background:linear-gradient(150deg,#555,#424242 56%,#303030)}.crm-login-art:before{position:absolute;content:"";width:430px;height:430px;left:50%;bottom:-210px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle,#f2979c4a 0,#f2979c15 57%,transparent 72%);pointer-events:none}.crm-login-art:after{display:none}.crm-login-logo{position:relative;z-index:1;align-self:flex-start;padding:0;border-radius:14px;background:transparent}.crm-login-logo img{display:block;width:56px;height:56px;border-radius:14px}.crm-login-art-copy{position:relative;z-index:2;max-width:330px;margin:36px 0 0}.crm-login-art-copy .crm-eyebrow{color:#ffc4c8;font-size:11px}.crm-login-art-copy h1{margin:13px 0 10px;color:#fff;font-size:clamp(34px,3.2vw,44px);font-weight:720;line-height:1.1;letter-spacing:-.04em}.crm-login-art-copy p{max-width:280px;margin:0;color:#f5e9e9;font-size:14px;line-height:1.55}.crm-login-illustration{position:absolute;z-index:1;left:50%;bottom:-60px;width:130%;transform:translateX(-50%)}.crm-login-illustration img{display:block;width:100%;height:auto}.crm-login-form-wrap{min-width:0;padding:42px;background:#fff}.crm-login-card{width:min(100%,408px)}.crm-login-card-head{margin-bottom:26px}.crm-login-form-logo{display:block;width:171px;height:auto;margin:0 0 42px}.crm-login-welcome{display:block;color:#a44f59;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.crm-login-card-head h2{margin:11px 0 9px;color:#303034;font-size:34px;line-height:1.15;letter-spacing:-.035em}.crm-login-card-head p{max-width:360px;margin:0;color:#817b80;font-size:14px;line-height:1.55}.crm-login-form{width:100%}.crm-login-form label{margin:17px 0;color:#403b3d;font-size:13px}.crm-login-form input:not([type=checkbox]){min-height:50px;margin-top:7px;border:1px solid #e9e5e6;border-radius:12px;background:#faf8f8;font-size:14px}.crm-login-form input:not([type=checkbox]):focus{border-color:#d6828a;box-shadow:0 0 0 3px #f2979c30}.crm-login-form .crm-remember{display:flex;align-items:center;gap:10px;margin:17px 0 21px;color:#716b70;font-size:12px;font-weight:500}.crm-login-form .crm-remember input{width:17px;height:17px;margin:0;accent-color:#a44f59}.crm-login-form button.crm-login-submit,.crm-login-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:0;border:0;border-radius:13px;background:#f2979c;color:#303034;font-size:14px;font-weight:800;text-decoration:none;box-shadow:0 11px 21px #f2979c35}.crm-login-submit:hover{background:#eb838b}.crm-login-switch{margin-top:23px;color:#8b8489;font-size:13px;text-align:center}.crm-login-back,.crm-login-switch button{border:0;background:transparent;color:#a44f59;font-size:inherit;font-weight:800;cursor:pointer}.crm-login-switch button{padding:4px}.crm-login-signup-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:51px;margin-top:12px;padding:0 17px;border:1px solid #e8c5c8;border-radius:13px;background:#fff;color:#a44f59;font-size:14px;font-weight:800;cursor:pointer}.crm-login-signup-button span{color:#9b8588;font-size:11px;font-weight:600}.crm-login-signup-button:hover{border-color:#d7878e;background:#fff8f8}.crm-signup-offer{text-align:center}.crm-signup-offer-icon{margin:12px auto 17px}.crm-signup-offer-icon img{border-radius:15px}.crm-signup-offer h3{margin:0 0 10px;color:#303034;font-size:19px}.crm-signup-offer p{margin:0 0 25px;color:#817b80;font-size:13px;line-height:1.6}.crm-login-back{margin-top:15px}@media (max-width:760px){.crm-login-page{display:block;width:min(460px,calc(100% - 28px));min-height:auto;margin:22px auto;border-width:5px;border-radius:24px}.crm-login-art{display:flex;min-height:155px;padding:18px 22px}.crm-login-logo img{width:44px;height:44px}.crm-login-art-copy{margin:14px 0 0}.crm-login-art-copy .crm-eyebrow,.crm-login-art-copy p{display:none}.crm-login-art-copy h1{max-width:180px;margin:0;font-size:24px}.crm-login-illustration{left:auto;right:-28px;bottom:-55px;width:270px;transform:none}.crm-login-form-wrap{min-height:0;padding:35px 26px}.crm-login-form-logo{margin-bottom:36px}.crm-main h1.text-2xl.font-semibold{font-size:25px}.crm-customers-page .crm-create-details,.crm-customers-page .crm-list-card,.crm-stock-page .crm-filter-card{padding:18px}.crm-customers-page .crm-list-toolbar>div{width:100%}}@media (max-width:760px){.crm-customers-page .crm-list-toolbar :is(input,select){flex:1 1 180px;min-width:0}.crm-stock-page #stock-editor{padding:18px}}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}body{-webkit-tap-highlight-color:transparent}:where(button,[role=tab],[role=button],summary,.crm-nav-link,.crm-brand,.crm-sidebar-account,.crm-topbar,.crm-outline-button,.crm-primary-button,.crm-login-submit,.crm-product-upload){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}:where(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}:where(.crm-sidebar,.crm-topbar,.crm-login-art) img{-webkit-touch-callout:none;-webkit-user-drag:none;pointer-events:none}@media (hover:none){:where(button,a,summary,[role=tab]):active:not(:disabled){opacity:.7}.crm-main table tbody tr:hover,.crm-products-table tbody tr:hover,.crm-transfers-page>div.rounded.border.bg-white li:hover{background:transparent}}@media (max-width:760px),(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px!important}}input[type=date]{-webkit-appearance:none;appearance:none;min-width:0}input[type=date]::-webkit-date-and-time-value{text-align:left}.crm-offline-page,.crm-shell{min-height:100vh;min-height:100dvh}.crm-main [id],.crm-main>*>section{scroll-margin-top:90px}.crm-main{overflow-wrap:break-word}.crm-main section.crm-panel.overflow-hidden{padding:0}.crm-toast{position:fixed;z-index:50;top:calc(16px + env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));max-width:24rem}@media (max-width:760px){body:has(.crm-shell){background:var(--ks-color-canvas)}body{overflow-x:clip}body:has(.crm-sidebar-open){overflow:hidden}.crm-sidebar{height:100vh;height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom) env(safe-area-inset-left);visibility:hidden;transition:transform .2s,visibility 0s .2s}.crm-sidebar-open{visibility:visible;transition:transform .2s;box-shadow:0 0 40px #0000002e}.crm-backdrop{-webkit-tap-highlight-color:transparent}.crm-topbar{position:sticky;top:0;z-index:15;height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(15px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));gap:6px}.crm-topbar>div:nth-child(2){min-width:0}.crm-topbar>div:nth-child(2) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-menu-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border-radius:10px;cursor:pointer}.crm-notification-link{min-width:44px;height:44px}.crm-topbar-avatar{width:40px;height:40px;margin-left:4px}.crm-main{padding:20px max(16px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.crm-nav-link{min-height:48px}.crm-toast{top:calc(72px + env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));max-width:none}.crm-metric strong{font-size:clamp(19px,6vw,24px);white-space:normal;overflow-wrap:anywhere}.crm-periods{display:flex;width:100%;box-sizing:border-box}.crm-periods button{flex:1;min-height:40px}.crm-notification-tabs button{min-height:40px}.crm-notification-actions a,.crm-notification-actions button{min-height:40px;display:inline-flex;align-items:center}.crm-dashboard-archive{min-height:40px}.crm-dashboard-archive input,.crm-main input[type=checkbox]{width:20px;height:20px;flex:0 0 auto}.crm-products-footer button,.crm-stock-action{min-height:40px;padding:8px 14px}.crm-product-image-tile>div{align-items:center}.crm-product-image-tile button{min-height:36px;padding:0 4px;font-size:12px}.crm-page-head .crm-import-actions{width:100%}.crm-page-head .crm-import-actions>a{flex:1 1 auto;text-align:center}.crm-page-head>.crm-outline-button,.crm-page-head>.crm-primary-button{width:100%;box-sizing:border-box;text-align:center;min-height:44px}.crm-main button:is(.underline,[aria-label^="Закрыть"]){min-height:40px;min-width:40px;padding:0 6px}.crm-main button:is(.rounded,.rounded-lg):is(.border,.px-3,.px-4){min-height:40px}.crm-main label>:is(select,input):is(.ml-2,.ml-3){display:block;width:100%;margin:6px 0 0}.crm-main :is(form.flex-wrap,form .flex-wrap,div.flex-wrap)>label:not(:has(>input[type=checkbox])){flex:1 1 100%;min-width:0}.crm-main :is(form.flex-wrap,form .flex-wrap,div.flex-wrap)>label>:is(input:not([type=checkbox]),select,textarea){display:block;width:100%}.crm-main form .flex-wrap>button:not(.underline),.crm-main form.flex-wrap>button{flex:1 1 auto;min-height:44px}.crm-main form :is(.w-40,.w-44,.w-48){width:100%}.crm-main :is(form,.crm-sale-create)>button:is(.bg-slate-900,.bg-violet-700,.bg-amber-700),.crm-main form>.flex>button:is(.bg-slate-900,.bg-violet-700,.bg-amber-700){width:100%;min-height:46px}.crm-main [role=tablist]{max-width:100%;overflow-x:auto;scrollbar-width:none}.crm-main [role=tablist]::-webkit-scrollbar{display:none}.crm-main [role=tablist]>button{flex:0 0 auto;white-space:nowrap;min-height:40px}.crm-main table.crm-mobile-cards{display:block;width:100%;min-width:0!important}.crm-main table.crm-mobile-cards thead{display:none}.crm-main table.crm-mobile-cards tbody,.crm-main table.crm-mobile-cards tr{display:block;width:100%}.crm-main table.crm-mobile-cards tr{padding:10px 14px;border-top:1px solid var(--ks-color-border)}.crm-main table.crm-mobile-cards tbody tr:first-child{border-top:0}.crm-main table.crm-mobile-cards td{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:0;padding:6px 0!important;border:0;text-align:right;overflow-wrap:anywhere}.crm-main table.crm-mobile-cards td:before{content:attr(data-label);flex:0 0 auto;max-width:45%;color:var(--ks-color-text-muted);font-size:12px;font-weight:650;text-align:left}.crm-main table.crm-mobile-cards td:not([data-label]){display:block;text-align:left}.crm-main table.crm-mobile-cards td:not([data-label]):before{content:none}.crm-main table.crm-mobile-cards td:empty{display:none}.crm-main table.crm-mobile-cards td>:is(input,button,a){flex:0 1 auto}.crm-main table.crm-mobile-cards td>button{min-height:40px}.crm-products-table.crm-mobile-cards .crm-product-name{min-width:0}.crm-main .crm-products-table.crm-mobile-cards td.crm-product-open-cell{display:none}.crm-panel-heading>a,.crm-product-back,.crm-products-card-head a{display:inline-flex;align-items:center;min-height:40px}.crm-main details>summary{min-height:40px}.crm-stock-page>.overflow-x-auto{overflow:hidden}.crm-stock-page>.overflow-x-auto table td,.crm-stock-page>.overflow-x-auto table th{padding:6px 0}.crm-stock-page .crm-stock-action{width:100%}}.crm-shell{--cabinet-rail:218px;display:grid;grid-template-columns:var(--cabinet-rail) minmax(0,1fr);width:100%;min-height:100dvh;margin:0;padding:0;gap:0;box-shadow:none}.crm-shell,.crm-sidebar{border:0;border-radius:0;background:var(--ks-color-canvas)}.crm-sidebar{width:var(--cabinet-rail);height:100dvh;min-height:0;position:sticky;top:0;border-right:1px solid var(--ks-color-border);overscroll-behavior:contain}.crm-brand{min-height:52px;height:52px;padding:0 20px;border-bottom:1px solid var(--ks-color-border-brand);background:var(--ks-color-surface);flex-shrink:0}.crm-brand-logo{width:158px;height:27px}.crm-sidebar nav{padding:5px 5px 24px}.crm-nav-section{margin:2px 0}.crm-nav-primary,.crm-nav-section>summary{display:flex;align-items:center;gap:10px;min-height:38px;padding:9px 12px;border-radius:3px;font-size:13px;font-weight:600;color:var(--ks-color-ink);cursor:pointer;list-style:none}.crm-create-menu>summary::-webkit-details-marker,.crm-nav-section>summary::-webkit-details-marker{display:none}.crm-nav-section>summary>span{flex:1}.crm-nav-section>summary>svg:last-child{transition:transform .15s}.crm-nav-section[open]>summary>svg:last-child{transform:rotate(180deg)}.crm-nav-section>summary:hover,.crm-nav-section[open]>summary{background:var(--ks-color-brand-soft)}.crm-nav-section>div{padding:3px 0 5px}.crm-nav-section .crm-nav-link{min-height:33px;margin:0;padding:7px 10px 7px 40px;font-size:12px;font-weight:500;border-radius:3px}.crm-nav-link.active{box-shadow:inset 3px 0 var(--ks-color-brand-strong)}.crm-sidebar-account{padding:12px 5px;margin:auto 14px 6px;flex-shrink:0}.crm-sidebar-account>span:last-child{margin-left:0;font-size:inherit;color:var(--ks-color-ink)}.crm-create-menu{margin:8px 6px 3px}.crm-create-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px;list-style:none;background:var(--ks-color-brand);color:var(--ks-color-ink);border:1px solid var(--ks-color-border-brand);border-radius:3px;cursor:pointer;font-size:12px;font-weight:700}.crm-create-menu>div{padding:5px;border:1px solid var(--ks-color-border-brand);background:var(--ks-color-surface)}.crm-create-menu a{display:block;padding:9px 12px;color:var(--ks-color-ink);text-decoration:none;font-size:13px}.crm-create-menu a:hover{background:var(--ks-color-brand-soft)}.crm-topbar{position:sticky;top:0;z-index:15;height:52px;margin:0;padding:0 20px;border:0;border-bottom:1px solid var(--ks-color-border-brand);border-radius:0;background:var(--ks-color-brand)}.crm-breadcrumb{min-width:0}.crm-breadcrumb small{color:var(--ks-color-ink);font-size:12px}.crm-breadcrumb strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-topbar-actions{flex-shrink:0;gap:14px}.crm-topbar-avatar{width:32px;height:32px;margin-left:0;border-radius:50%}.crm-pos-download{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;background:var(--ks-color-surface);font-size:12px;border-radius:3px;text-decoration:none}.crm-notification-link,.crm-pos-download{color:var(--ks-color-ink)}.crm-main{max-width:none;padding:20px 20px 48px;margin:0}.crm-page-head{margin-bottom:16px;gap:16px}.crm-page-head h1{margin:0 0 5px;font-size:24px;font-weight:500;letter-spacing:-.4px}.crm-eyebrow{font-size:10px}.crm-page-head .crm-eyebrow{display:none}.crm-page-head p{font-size:12px;line-height:1.5}.crm-shell :is(.crm-panel,.crm-metric,.crm-products-card,.crm-sale-create,.crm-import-panel){border-radius:4px;box-shadow:none}.crm-shell :is(.crm-primary-button,.crm-outline-button,.crm-stock-action){border-radius:3px;box-shadow:none;padding:9px 14px;font-size:12px}.crm-shell :is(.crm-products-search,.crm-products-toolbar select,.crm-periods,.crm-periods button){border-radius:3px}.crm-products-toolbar{padding:12px;margin:0;background:var(--ks-color-surface);border:1px solid var(--ks-color-border);border-bottom:0}.crm-products-search{flex:1 1 240px;max-width:400px}.crm-products-card-head{padding:12px 16px;border-bottom:1px solid var(--ks-color-border)}.crm-products-card-head h2{font-size:14px;font-weight:600}.crm-products-card{min-height:440px}.crm-products-table th{font-size:11px;letter-spacing:.02em;font-weight:600;color:var(--ks-color-text-muted);text-transform:none}.crm-products-table :is(th,td){padding:11px 14px;border-right:1px solid var(--ks-color-border)}.crm-products-table th:first-child{min-width:280px}.crm-products-footer{padding:12px 16px}.crm-product-thumbnail{border-radius:3px}.crm-main section[id],.crm-sale-create{scroll-margin-top:70px}.crm-panel{padding:18px}.crm-panel-heading h2{font-size:18px;font-weight:500}.crm-dashboard-hero{display:grid;grid-template-columns:minmax(210px,.28fr) minmax(0,1fr);background:var(--ks-color-surface);border:1px solid var(--ks-color-border)}.crm-dashboard-hero .crm-metrics{display:flex;flex-direction:column;gap:0;border-right:1px solid var(--ks-color-border)}.crm-dashboard-hero .crm-metric{border:0;border-bottom:1px solid var(--ks-color-border);min-height:116px;padding:18px}.crm-dashboard-hero .crm-metric:last-child{border-bottom:0}.crm-dashboard-hero .crm-metric strong{font-size:25px;font-weight:500;margin:9px 0 4px}.crm-dashboard-chart{min-width:0;padding:8px 18px;display:flex;flex-direction:column;justify-content:center}.crm-dashboard-chart .crm-trend,.crm-dashboard-chart>.crm-panel{border:0}.crm-skip-link{position:fixed;left:16px;top:-80px;padding:12px;z-index:100;background:var(--ks-color-surface);color:var(--ks-color-ink);border:2px solid var(--ks-color-brand-strong)}.crm-skip-link:focus{top:8px}.crm-document-drawer{width:min(1020px,calc(100vw - 250px));max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;position:fixed;inset:0 0 0 auto;border:0;border-left:1px solid var(--ks-color-border);border-radius:0;background:var(--ks-color-surface);color:var(--ks-color-ink);box-shadow:var(--ks-shadow-shell)}.crm-document-drawer[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}.crm-document-drawer::backdrop{background:rgb(30 25 25/20%)}.crm-document-drawer-head{display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 16px;border-bottom:1px solid var(--ks-color-border)}.crm-document-drawer-head h2{margin:0;font-size:21px;font-weight:500}.crm-document-drawer-head button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--ks-color-border);border-radius:3px;background:var(--ks-color-surface);cursor:pointer;flex-shrink:0}.crm-document-drawer-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px;font-size:14px}.crm-document-drawer-body [role=tablist]{flex-wrap:wrap}.crm-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.crm-report-card{padding:28px 24px;border:1px solid var(--ks-color-border);border-radius:4px;background:var(--ks-color-surface);color:var(--ks-color-ink);text-decoration:none}.crm-report-card:hover{border-color:var(--ks-color-border-brand);background:var(--ks-color-brand-subtle)}.crm-report-card>svg{color:var(--ks-color-brand-strong);margin-bottom:18px}.crm-report-card h2{margin:0 0 10px;font-size:18px;font-weight:500}.crm-report-card p{min-height:48px;font-size:13px;line-height:1.6;color:var(--ks-color-text-muted)}.crm-report-card>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;margin-top:16px;color:var(--ks-color-brand-strong)}.crm-device-group{margin-top:24px}.crm-browser-devices>summary,.crm-device-group h4{display:flex;align-items:center;gap:9px;font-size:15px}.crm-device-group h4{font-weight:600}.crm-browser-devices>summary>span,.crm-device-group h4>span{padding:2px 8px;border-radius:12px;background:var(--ks-color-canvas);font-size:12px}.crm-browser-devices>p,.crm-device-group>p{margin:8px 0 14px;color:var(--ks-color-text-muted);font-size:13px;line-height:1.6}.crm-device-row{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-top:1px solid var(--ks-color-border)}.crm-device-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:6px;background:var(--ks-color-brand-soft);color:var(--ks-color-brand-strong)}.crm-device-icon.other,.crm-device-icon.web{background:var(--ks-color-canvas);color:var(--ks-color-text-muted)}.crm-device-info{flex:1;min-width:0;font-size:13px}.crm-device-info>strong{display:block}.crm-device-info>span{display:block;margin-top:3px}.crm-device-info p,.crm-device-info>span{color:var(--ks-color-text-muted);font-size:12px}.crm-device-info p{margin:8px 0}.crm-device-info details{font-size:12px}.crm-device-info summary{cursor:pointer;color:var(--ks-color-brand-strong)}.crm-device-info code{display:block;overflow-wrap:anywhere;margin-top:8px;padding:8px;background:var(--ks-color-canvas);font-size:11px}.crm-device-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px;font-size:12px}.crm-device-actions button{color:var(--ks-color-danger);cursor:pointer}.crm-device-actions button:disabled{opacity:.5;cursor:wait}.crm-device-status{padding:4px 8px;background:var(--ks-color-brand-soft);border-radius:4px;white-space:nowrap}.crm-device-status.disabled{background:var(--ks-color-canvas);color:var(--ks-color-text-muted)}.crm-browser-devices{border-top:1px solid var(--ks-color-border);padding-top:18px;margin-top:18px}.crm-browser-devices>summary{cursor:pointer}.crm-device-chevron{margin-left:auto;flex-shrink:0}.crm-browser-devices[open] .crm-device-chevron{transform:rotate(180deg)}.crm-device-empty{padding:14px;border:1px dashed var(--ks-color-border);border-radius:4px}.crm-device-footnote{margin-top:18px;padding-top:14px;border-top:1px solid var(--ks-color-border);font-size:12px;line-height:1.6;color:var(--ks-color-text-muted)}.crm-device-warning{margin-top:14px;padding:14px;border:1px solid var(--ks-color-border-brand);border-radius:4px;background:var(--ks-color-brand-subtle);color:var(--ks-color-ink);scroll-margin-top:70px}.crm-device-warning p{color:var(--ks-color-ink);font-size:13px;line-height:1.6}.crm-device-warning a{color:var(--ks-color-brand-strong);font-weight:600;text-decoration:underline}@media (max-width:530px){.crm-device-row{flex-wrap:wrap}.crm-device-actions{width:100%;padding-left:52px;flex-direction:row;align-items:center;justify-content:space-between}}@media (min-width:761px){.crm-main table{border-collapse:collapse}.crm-main table thead{background:var(--ks-color-canvas)}.crm-main table th{font-weight:600;color:var(--ks-color-text-muted)}.crm-main table td{font-variant-numeric:tabular-nums}}@media (max-width:1080px){.crm-shell{--cabinet-rail:200px}.crm-main{padding:16px 14px 40px}.crm-dashboard-hero{grid-template-columns:200px minmax(0,1fr)}.crm-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.crm-shell{display:block}.crm-sidebar{position:fixed;width:min(288px,86vw);height:100dvh;z-index:30}.crm-topbar{height:56px;padding:0 12px;gap:10px}.crm-menu-button{display:flex;align-items:center}.crm-breadcrumb small,.crm-pos-download span{display:none}.crm-breadcrumb strong{font-size:13px}.crm-topbar-actions{gap:8px}.crm-pos-download{padding:7px}.crm-main{padding:18px 12px 40px}.crm-dashboard-hero{display:block}.crm-dashboard-hero .crm-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-right:0}.crm-dashboard-hero .crm-metric{min-height:110px;border-bottom:1px solid var(--ks-color-border);padding:12px}.crm-dashboard-hero .crm-metric strong{font-size:20px;white-space:normal}.crm-dashboard-chart{padding:0}.crm-document-drawer{width:100vw}.crm-document-drawer-body{padding:16px}.crm-report-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.crm-nav-section>summary>svg:last-child{transition:none}}@media print{.crm-backdrop,.crm-sidebar,.crm-skip-link,.crm-topbar{display:none!important}.crm-shell{display:block}.crm-main{padding:0}}