@font-face{font-family:Mariupol;src:url(/fonts/Mariupol-Regular.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Mariupol;src:url(/fonts/Mariupol-Medium.woff2)format("woff2");font-style:normal;font-weight:500;font-display:swap}:root{--bg:#efede8;--surface:#f8f6f1;--surface-strong:#f2efe8;--surface-contrast:#ece8df;--surface-accent:#e7ddd1;--surface-danger:#efdfdb;--ink:#141414;--ink-soft:#5f5a52;--ink-muted:#7f796f;--line:#d9d3c7;--line-strong:#c8c0b3;--brand:#4d3d30;--brand-strong:#251e19;--danger:#8d4d44;--warning:#8b6431;--success:#7b5a46;--on-brand:#f2f5f2;--radius-xl:22px;--radius-lg:16px;--radius-md:12px;--sidebar-width:220px;--font-sans:"Mariupol";--heading-tracking:-.02em;--heading-tracking-tight:-.01em}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-width:320px;color:var(--ink);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:14px;font-weight:400;line-height:1.45}button,input{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0}a{color:inherit;text-decoration:none}p,h1,h2,h3{margin:0}#app{min-height:100svh}.crm-shell{grid-template-columns:var(--sidebar-width) 1fr;align-items:stretch;min-height:100svh;display:grid}.crm-sidebar{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:0;height:100svh;min-height:100svh;padding:0 10px 12px;display:flex;position:sticky;top:0}.brand-block{border-bottom:1px solid var(--line);align-items:center;gap:8px;min-height:60px;padding:0 2px 10px;display:flex}.brand-mark{border:1px solid var(--line-strong);background:var(--surface-accent);letter-spacing:.06em;border-radius:10px;place-items:center;width:36px;height:36px;font-size:10px;font-weight:500;display:grid}.brand-stack{gap:4px;min-width:0;display:grid}.brand-title{letter-spacing:-.04em;font-size:15px;font-weight:500}.workspace-card,.sidebar-status,.metric-card,.hero-action-card,.hero-side-card,.stage-card,.check-item,.feed-item,.team-load-item{border:1px solid var(--line);background:var(--surface-strong)}.workspace-card{border-radius:var(--radius-md);align-items:center;gap:10px;padding:10px;display:flex}.workspace-icon,.hero-side-icon,.check-item-icon{background:var(--surface-accent);width:30px;height:30px;color:var(--brand-strong);border-radius:10px;place-items:center;display:grid}.workspace-name,.nav-link-title,.hero-side-value,.feed-title{font-weight:500}.sidebar-nav{flex-direction:column;flex:1;gap:10px;min-height:0;padding-top:10px;display:flex}.nav-group{gap:4px;display:grid}.nav-link{border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;padding:7px 8px;transition:background-color .18s,border-color .18s,transform .18s;display:flex}.nav-link:hover{border-color:var(--line);background:var(--surface-strong);transform:translate(2px)}.nav-link.is-active{border-color:var(--brand);background:var(--surface-accent)}.nav-link-bottom{width:100%}.sidebar-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:10px}.nav-link-icon{background:var(--surface);width:26px;height:26px;color:var(--brand-strong);border-radius:8px;place-items:center;display:grid}.nav-link-caption,.page-description,.metric-label,.metric-detail,.section-description,.hero-description,.hero-side-label,.hero-side-subvalue,.stage-note,.feed-description,.team-load-copy,.sidebar-status-copy,.page-date{color:var(--ink-soft)}.metric-detail,.stage-note{font-size:11px;line-height:1.4}.nav-link-caption{margin-top:2px;font-size:11px;display:block}.sidebar-status{border-radius:var(--radius-md);padding:10px}.sidebar-status-row,.status-pill,.user-chip-role,.hero-action-card,.channel-row-head,.team-load-head{align-items:center;gap:8px;display:flex}.sidebar-status-row{font-weight:500}.sidebar-status-copy{margin-top:4px;font-size:12px;line-height:1.5}.crm-main{flex-direction:column;min-width:0;display:flex}.topbar{z-index:20;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:0 12px;display:flex;position:sticky;top:0}.topbar-heading{align-items:center;min-width:0;display:flex}.page-title-row{justify-content:flex-start;align-items:center;gap:10px;min-width:0;display:flex}.page-title{letter-spacing:var(--heading-tracking);font-size:17px;font-weight:500}.page-description{max-width:720px;margin-top:6px;font-size:13px;line-height:1.5}.page-date{white-space:nowrap;font-size:11px}.topbar-tools{flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.search-field{border:1px solid var(--line);background:var(--surface);max-width:280px;height:34px;color:var(--ink-soft);border-radius:10px;flex:1;align-items:center;gap:6px;padding:0 10px;display:flex}.search-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0}.search-field input::placeholder{color:var(--ink-muted)}.topbar-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.status-pill,.icon-button,.primary-button,.user-chip{border:1px solid var(--line);background:var(--surface);border-radius:10px;height:34px}.status-pill{color:var(--brand-strong);background:var(--surface-accent);border-color:var(--line);justify-content:center;align-items:center;padding:0 10px;font-size:12px;line-height:1;display:inline-flex}.icon-button{place-items:center;width:34px;display:grid}.primary-button{color:var(--on-brand);background:var(--brand);border-color:var(--brand);justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;line-height:1;transition:background-color .18s,transform .18s;display:inline-flex}.primary-button:hover{background:var(--brand-strong);transform:translateY(-1px)}.user-chip{justify-content:center;align-items:center;gap:6px;padding:0 7px 0 6px;line-height:1;display:inline-flex}.user-chip-avatar{background:var(--surface-contrast);border-radius:7px;place-items:center;width:22px;height:22px;font-size:9px;font-weight:500;display:grid}.user-chip-name{font-size:11px;font-weight:500}.page-shell{gap:10px;padding:12px;display:grid}.hero-panel,.section-card{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);animation:.42s both panel-enter}.hero-panel{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:12px;padding:14px;display:grid}.dashboard-overview{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr) minmax(240px,.75fr);gap:10px;display:grid}.overview-panel{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface-strong);gap:8px;padding:12px;animation:.42s both panel-enter;display:grid}.overview-panel-list,.overview-panel-summary{align-content:start}.overview-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.overview-list-item{border-bottom:1px solid var(--line);grid-template-columns:24px minmax(0,1fr);gap:10px;padding:10px 0;display:grid}.overview-list-item:last-child{border-bottom:0;padding-bottom:0}.overview-list-index{background:var(--surface-accent);width:24px;height:24px;color:var(--brand-strong);border-radius:8px;place-items:center;font-size:11px;font-weight:500;display:grid}.overview-list-copy{gap:2px;min-width:0;display:grid}.overview-list-title{font-size:13px;font-weight:500;line-height:1.35}.overview-list-note{color:var(--ink-soft);font-size:11px;line-height:1.4}.overview-chart{gap:10px;display:grid}.overview-chart-row{gap:6px;display:grid}.overview-chart-head{color:var(--ink-soft);justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.3;display:flex}.overview-chart-track{background:var(--surface-contrast);border-radius:999px;height:8px;overflow:hidden}.overview-chart-fill{border-radius:inherit;background:var(--brand);height:100%;display:block}.overview-summary{gap:0;display:grid}.overview-summary-item{border-bottom:1px solid var(--line);gap:3px;padding:10px 0;display:grid}.overview-summary-item:last-child{border-bottom:0;padding-bottom:0}.overview-summary-label{color:var(--ink-soft);font-size:12px;line-height:1.3}.overview-summary-value{letter-spacing:-.04em;font-size:18px;font-weight:500;line-height:1}.overview-summary-note{color:var(--ink-soft);font-size:11px;line-height:1.4}.hero-panel-compact{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)}.hero-copy{gap:10px;display:grid}.hero-title{letter-spacing:var(--heading-tracking);font-size:22px;line-height:1.08}.hero-description{max-width:760px;font-size:13px;line-height:1.6}.hero-actions,.hero-side,.team-load-list,.channel-list,.feed-list,.check-list{gap:8px;display:grid}.hero-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-side{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-action-card{color:var(--ink-soft);border-radius:14px;padding:9px 10px;font-size:12px;line-height:1.5}.hero-action-icon{background:var(--surface-accent);width:22px;height:22px;color:var(--brand-strong);border-radius:8px;flex:none;place-items:center;display:grid}.hero-side{align-content:start}.hero-side-tight{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-side-tight>:last-child{grid-column:1/-1}.hero-side-card{border-radius:14px;align-items:flex-start;gap:10px;padding:10px;display:flex}.hero-side-value{margin-top:3px;font-size:13px;line-height:1.45}.hero-side-subvalue{margin-top:2px;font-size:11px}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.metric-card{border-radius:16px;gap:8px;padding:11px;animation:.42s both panel-enter;display:grid}.metric-card[data-tone=negative]{background:var(--surface-danger)}.metric-label{font-size:12px}.metric-value{letter-spacing:-.05em;font-size:18px;font-weight:500}.metric-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.metric-delta{color:var(--brand-strong);align-items:center;gap:6px;font-weight:500;display:inline-flex}.metric-card[data-tone=negative] .metric-delta{color:var(--danger)}.content-grid{gap:10px;display:grid}.content-grid-primary{grid-template-columns:minmax(0,1fr)}.content-grid-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.catalog-summary-card{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);gap:4px;padding:12px;animation:.42s both panel-enter;display:grid}.catalog-summary-label{color:var(--ink-soft);font-size:11px;line-height:1.2}.catalog-summary-value{letter-spacing:-.04em;font-size:18px;font-weight:500;line-height:1}.catalog-summary-note{color:var(--ink-soft);font-size:11px;line-height:1.4}.products-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start}.products-toolbar{gap:8px;margin-bottom:10px;display:grid}.products-toolbar-main{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.products-toolbar-actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:end;gap:8px;margin-left:auto;display:flex}.products-search{flex:280px;min-width:240px;max-width:none}.products-filter-row{width:100%;min-width:0}.products-toolbar .table-subtext{flex:260px;margin:0}.catalog-sort-field{min-width:136px;color:var(--ink-soft);gap:4px;font-size:11px;line-height:1.2;display:grid}.catalog-sort-field select{border:1px solid var(--line);background:var(--surface);width:100%;height:34px;color:var(--ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%234D3D30' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;background-size:10px 6px;border-radius:10px;padding:0 30px 0 10px;font-family:inherit;font-size:12px}.catalog-sort-field select:focus{border-color:var(--brand);outline:0}.catalog-filter-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.catalog-view-status{color:var(--ink-muted);margin-top:10px;font-size:12px;line-height:1.3}.catalog-filter-chip{border:1px solid var(--line);background:var(--surface-strong);height:30px;color:var(--ink-soft);white-space:nowrap;box-sizing:border-box;appearance:none;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-family:inherit;font-size:11px;font-weight:500;line-height:1;transition:background-color .18s,border-color .18s,color .18s;display:inline-flex}.catalog-filter-chip:hover{border-color:var(--line-strong);color:var(--brand-strong)}.catalog-filter-chip.is-active{border-color:var(--brand);background:var(--surface-accent);color:var(--brand-strong)}.products-list{gap:8px;display:grid}.product-row{border:1px solid var(--line);background:var(--surface-strong);text-align:left;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;padding:10px 11px;transition:border-color .18s,background-color .18s,transform .18s;display:grid}.product-row:hover{border-color:var(--line-strong);transform:translateY(-1px)}.product-row.is-selected{border-color:var(--brand);background:var(--surface-accent)}.product-row-copy{gap:4px;min-width:0;display:grid}.product-row-title-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.product-row-title{font-size:13px;font-weight:500;line-height:1.35}.product-row-subtitle{color:var(--ink-soft);font-size:11px;line-height:1.4}.product-row-meta{align-content:center;justify-items:end;gap:3px;min-width:120px;display:grid}.product-row-meta-label{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.08em;font-size:10px;line-height:1.2}.product-row-meta-value{font-size:12px;font-weight:500;line-height:1.2}.products-empty{border:1px dashed var(--line);background:var(--surface);color:var(--ink-soft);border-radius:14px;padding:12px;font-size:12px}.product-editor{gap:10px;display:grid}.product-editor-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.product-editor-sku{color:var(--ink-muted);font-size:11px;line-height:1.2}.product-editor-title{margin-top:3px;font-size:16px;font-weight:500;line-height:1.2}.product-editor-subtitle{color:var(--ink-soft);margin-top:3px;font-size:11px;line-height:1.4}.product-editor-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.product-editor-summary-item{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;gap:3px;padding:10px;font-size:11px;display:grid}.product-editor-summary-item span{color:var(--ink-muted)}.product-editor-summary-item strong{font-size:13px;font-weight:500;line-height:1.2}.product-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.editor-field{color:var(--ink-soft);gap:4px;font-size:11px;line-height:1.2;display:grid}.editor-field input,.editor-field select{border:1px solid var(--line);background:var(--surface);width:100%;height:34px;color:var(--ink);border-radius:10px;outline:0;padding:0 10px}.editor-field input:focus,.editor-field select:focus{border-color:var(--brand)}.editor-field input:disabled{background:var(--surface-strong);color:var(--ink-muted)}.product-editor-note{color:var(--ink-muted);font-size:11px;line-height:1.4}.product-editor-actions{flex-wrap:wrap;gap:8px;display:flex}.table-subtext{color:var(--ink-muted);margin-top:2px;font-size:10px;line-height:1.2}.catalog-table{table-layout:fixed}.catalog-table tbody tr{cursor:pointer}.catalog-table tbody tr td{transition:background-color .14s}.catalog-table th,.catalog-table td{vertical-align:middle}.catalog-table th:first-child,.catalog-table td:first-child{width:25%}.catalog-table th:nth-child(2),.catalog-table td:nth-child(2){width:12%}.catalog-table th:nth-child(3),.catalog-table td:nth-child(3){width:15%}.catalog-table th:nth-child(4),.catalog-table td:nth-child(4){width:18%}.catalog-table th:nth-child(5),.catalog-table td:nth-child(5){width:12%}.catalog-table th:nth-child(6),.catalog-table td:nth-child(6){width:18%}.catalog-table tbody tr.is-selected td{background:0 0}.catalog-table tbody tr:hover td{background:var(--surface-strong)}.catalog-table-input{border:1px solid var(--line);background:var(--surface);width:100%;height:34px;color:var(--ink);text-align:center;appearance:textfield;-webkit-appearance:none;-moz-appearance:textfield;border-radius:10px;outline:0;padding:0 8px}.catalog-table-input:focus{border-color:var(--brand)}.catalog-table-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.catalog-table-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.catalog-inline-field{justify-content:center;align-items:center;min-height:34px;display:flex}.catalog-inline-narrow{width:fit-content;max-width:100%;margin:0 auto}.catalog-inline-narrow:not(.catalog-discount-field)>.catalog-table-input:not(.catalog-discount-select){flex:0 0 88px;width:88px;min-width:88px}.catalog-discount-field{gap:0}.catalog-discount-input{text-align:center;flex:0 0 92px;width:92px;min-width:92px}.catalog-product-name{font-size:13px;font-weight:500;line-height:1.35}.catalog-sku-cell{color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;line-height:1.25}.catalog-category-cell{gap:3px;min-width:0;display:grid}.catalog-category-title{font-size:12px;line-height:1.3}.catalog-category-subtitle{color:var(--ink-soft);font-size:11px;line-height:1.4}.catalog-empty-row td{color:var(--ink-soft);text-align:center;padding:12px 7px}.secondary-button{border:1px solid var(--line-strong);background:var(--surface);min-height:34px;color:var(--brand-strong);border-radius:10px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:500;line-height:1;transition:background-color .18s,border-color .18s,color .18s;display:inline-flex}.secondary-button:hover{border-color:var(--brand);background:var(--surface-strong);color:var(--brand)}.products-section-tabs{margin-bottom:12px}.category-admin-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:start;gap:12px;display:grid}.category-row-actions{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.category-table th:first-child,.category-table td:first-child{width:26%}.category-table th:nth-child(2),.category-table td:nth-child(2){width:18%}.category-table th:nth-child(3),.category-table td:nth-child(3){width:42%}.category-table th:nth-child(4),.category-table td:nth-child(4){text-align:center;width:14%}.category-table tbody tr{cursor:pointer}.category-table tbody tr td{transition:background-color .14s}.category-table tbody tr:hover td{background:var(--surface-strong)}.category-admin-side{gap:10px;display:grid}.category-editor-card{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;gap:10px;padding:12px;display:grid}.category-editor-card.is-danger{border-color:#a4544a4d}.category-editor-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.category-editor-head h3{letter-spacing:var(--heading-tracking-tight);font-size:14px;font-weight:500}.category-form-grid{grid-template-columns:1fr}.category-editor-actions{flex-wrap:wrap;gap:8px;display:flex}.category-delete-copy{font-size:12px;line-height:1.5}.catalog-modal-overlay{z-index:60;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#f4f0ebf2;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.catalog-modal{border:1px solid var(--line-strong);border-radius:var(--radius-xl);background:var(--surface);gap:12px;width:min(760px,100%);max-height:min(88svh,840px);padding:14px;display:grid;overflow:auto}.catalog-modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:10px;display:flex}.catalog-modal-kicker{color:var(--ink-muted);font-size:11px;line-height:1.2}.catalog-modal-title{letter-spacing:var(--heading-tracking);margin-top:3px;font-size:18px;font-weight:500;line-height:1.15}.catalog-modal-subtitle{color:var(--ink-soft);margin-top:3px;font-size:11px;line-height:1.4}.catalog-modal-close{border-color:var(--danger);background:var(--danger);width:34px;height:34px;color:var(--on-brand);flex:none}.catalog-modal-close:hover{background:#7f433c;border-color:#7f433c}.catalog-modal-danger{border:1px solid var(--danger);background:var(--danger);min-height:34px;color:var(--on-brand);border-radius:10px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:500;line-height:1;display:inline-flex}.catalog-modal-danger:hover{background:#7f433c;border-color:#7f433c}.catalog-modal-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.catalog-modal-summary-item{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;gap:3px;padding:10px;display:grid}.catalog-modal-summary-item span{color:var(--ink-muted);font-size:11px;line-height:1.2}.catalog-modal-summary-item strong{font-size:13px;font-weight:500;line-height:1.2}.catalog-modal-form{gap:12px;display:grid}.catalog-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.catalog-modal-field{color:var(--ink-soft);gap:4px;font-size:11px;line-height:1.2;display:grid}.catalog-modal-field input,.catalog-modal-field select{border:1px solid var(--line);background:var(--surface);width:100%;height:34px;color:var(--ink);border-radius:10px;outline:0;padding:0 10px}.catalog-modal-field input:focus,.catalog-modal-field select:focus{border-color:var(--brand)}.catalog-modal-field input:disabled{background:var(--surface-strong);color:var(--ink-muted)}.catalog-modal-field-span-2{grid-column:1/-1}.catalog-modal-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding-top:10px;display:flex}.catalog-modal-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.catalog-modal-actions .primary-button,.catalog-modal-actions .catalog-modal-danger{min-width:110px}.category-modal-error{color:#9e4f45;font-size:12px;line-height:1.4}.section-card{padding:12px}.section-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.section-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.section-title{letter-spacing:var(--heading-tracking-tight);margin-top:4px;font-size:15px;font-weight:500}.section-description{margin-top:4px;font-size:12px;line-height:1.5}.text-button{border:1px solid var(--brand);color:var(--brand);background:var(--surface-strong);letter-spacing:.01em;border-radius:10px;justify-content:center;align-items:center;padding:7px 10px;font-size:12px;font-weight:500;line-height:1;transition:background-color .18s,border-color .18s,color .18s;display:inline-flex}.text-button:hover{background:var(--surface);border-color:var(--brand-strong);color:var(--brand-strong)}.stage-grid{grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;display:grid}.stage-card{border-radius:14px;gap:4px;padding:9px;animation:.42s both panel-enter;display:grid}.stage-dot{color:var(--brand-strong)}.stage-label,.stage-count{font-weight:500}.stage-label{font-size:12px}.stage-count{letter-spacing:-.05em;font-size:16px}.table-wrap{overflow:visible}.data-table{border-collapse:collapse;table-layout:fixed;width:100%}.data-table th,.data-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:8px 7px;font-size:12px}.data-table td:last-child{vertical-align:middle}.data-table th{text-transform:uppercase;letter-spacing:.12em;color:var(--ink-muted);font-size:10px}.catalog-table.data-table th,.catalog-table.data-table td{vertical-align:middle}.catalog-table.data-table th{padding-top:10px;padding-bottom:10px;line-height:1.15}.catalog-table.data-table td{padding-top:8px;padding-bottom:8px}.catalog-table.data-table th:nth-child(2),.catalog-table.data-table th:nth-child(3),.catalog-table.data-table th:nth-child(4),.catalog-table.data-table th:nth-child(5),.catalog-table.data-table td:nth-child(2),.catalog-table.data-table td:nth-child(3),.catalog-table.data-table td:nth-child(4),.catalog-table.data-table td:nth-child(5){text-align:center;padding-left:4px;padding-right:4px}.settings-page{align-content:start}.settings-tabs{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:6px;width:fit-content;max-width:100%;padding:4px;display:inline-flex}.settings-tab{height:34px;color:var(--ink-soft);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:10px;padding:0 12px;font-family:inherit;font-size:12px;font-weight:500;line-height:1;transition:background-color .18s,color .18s,border-color .18s}.settings-tab:hover{color:var(--brand-strong)}.settings-tab.is-active{border-color:var(--line);background:var(--surface-accent);color:var(--brand-strong)}.settings-grid{align-items:start}.settings-memory-layout{display:grid}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.settings-field{color:var(--ink-soft);gap:4px;font-size:11px;line-height:1.2;display:grid}.settings-field input,.settings-field select,.settings-memory-edit select,.settings-memory-edit textarea,.settings-memory-create select,.settings-memory-create textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:10px;outline:0;font-family:inherit;font-size:12px}.settings-field input,.settings-field select,.settings-memory-edit select,.settings-memory-create select{height:34px;padding:0 10px}.settings-memory-edit textarea,.settings-memory-create textarea{resize:vertical;min-height:76px;padding:10px;line-height:1.5}.settings-field input:focus,.settings-field select:focus,.settings-memory-edit select:focus,.settings-memory-edit textarea:focus,.settings-memory-create select:focus,.settings-memory-create textarea:focus{border-color:var(--brand)}.settings-toggle-list{gap:8px;display:grid}.settings-toggle{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px;display:flex}.settings-toggle input{width:16px;height:16px;accent-color:var(--brand);margin-top:1px}.settings-toggle-title{font-size:12px;font-weight:500;line-height:1.3}.settings-toggle-note{color:var(--ink-soft);margin-top:3px;font-size:11px;line-height:1.45}.settings-memory-summary,.settings-empty-state{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;padding:10px;font-size:12px;line-height:1.5}.settings-empty-state{color:var(--ink-soft)}.settings-memory-list{gap:8px;margin-top:10px;display:grid}.settings-memory-card{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;gap:8px;padding:10px;display:grid}.settings-memory-meta{color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.settings-memory-edit{grid-template-columns:132px minmax(0,1fr);align-items:start;gap:8px;display:grid}.settings-memory-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.settings-memory-create{gap:8px;display:grid}.settings-memory-modal{width:min(560px,100%)}.status-chip{background:var(--surface-accent);min-height:24px;color:var(--brand-strong);border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:11px;font-weight:500;line-height:1;display:inline-flex}.status-chip-danger{background:var(--surface-danger);color:var(--danger)}.status-chip-neutral{background:var(--surface-contrast);color:var(--warning)}.channel-row,.team-load-item{gap:8px;display:grid}.channel-row-head,.team-load-head{justify-content:space-between;font-size:12px}.progress-track{background:var(--surface-contrast);border-radius:999px;height:8px;position:relative;overflow:hidden}.progress-track-muted{height:7px}.progress-fill{background:var(--brand);border-radius:999px;position:absolute;inset:0 auto 0 0}.progress-fill-dark{background:var(--brand-strong)}.feed-item,.check-item,.team-load-item{border-radius:14px;padding:11px}.feed-item{grid-template-columns:48px 1fr;gap:10px;display:grid}.feed-time{color:var(--ink-muted);font-size:11px}.feed-description{margin-top:3px;font-size:12px;line-height:1.5}.check-item{align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;display:flex}.assistant-widget{z-index:40;position:fixed;bottom:14px;right:14px}.assistant-fab{border:1px solid var(--line-strong);background:var(--brand);width:44px;height:44px;color:var(--on-brand);border-radius:999px;justify-content:center;align-items:center;padding:0;transition:background-color .18s,border-color .18s,transform .18s;display:inline-flex;position:relative}.assistant-fab svg{width:18px;height:18px}.assistant-fab-badge{border:1px solid var(--surface);background:var(--brand-strong);min-width:16px;height:16px;color:var(--on-brand);pointer-events:none;border-radius:999px;justify-content:center;align-items:center;padding:0 4px;font-size:10px;font-weight:500;line-height:1;display:inline-flex;position:absolute;top:-4px;right:-4px}.assistant-fab:hover{background:var(--brand-strong);transform:translateY(-1px)}.assistant-panel{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);flex-direction:column;width:min(380px,100vw - 28px);height:auto;min-height:min(420px,100svh - 140px);max-height:min(620px,100svh - 100px);display:flex;position:absolute;bottom:48px;right:0;overflow:hidden}.assistant-panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.assistant-panel-title-wrap{gap:2px;min-width:0;display:grid}.assistant-panel-title{letter-spacing:var(--heading-tracking-tight);font-size:13px;font-weight:500}.assistant-panel-model{color:var(--ink-soft);font-size:11px;line-height:1.2}.assistant-status{border:1px solid var(--line);background:var(--surface-strong);min-width:0;height:28px;color:var(--brand-strong);border-radius:999px;align-items:center;gap:6px;padding:0 9px;font-size:11px;line-height:1;display:inline-flex}.assistant-status-dot{background:var(--brand);border-radius:999px;flex:none;width:6px;height:6px}.assistant-status.is-offline{background:var(--surface-danger);color:var(--danger)}.assistant-status.is-offline .assistant-status-dot{background:var(--danger)}.assistant-status.is-online{background:var(--surface-accent);color:var(--brand-strong)}.assistant-status.is-checking{color:var(--ink-soft)}.assistant-messages{flex:auto;grid-auto-rows:min-content;align-content:start;gap:8px;min-height:0;padding:10px 12px;display:grid;overflow-y:auto}.assistant-message{border:1px solid var(--line);background:var(--surface-strong);border-radius:14px;align-self:start;max-width:92%;padding:7px 10px 5px;font-size:13px;line-height:1.38}.assistant-message.is-user{background:var(--surface-accent);border-color:var(--line-strong);justify-self:end}.assistant-message.is-assistant{justify-self:start}.assistant-message.is-welcome{padding:7px 10px 5px}.assistant-message p{white-space:pre-wrap;word-break:break-word;margin:0}.assistant-message time{color:var(--ink-muted);text-align:right;margin-top:2px;font-size:10px;line-height:1;display:block}.assistant-action-row{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.assistant-suggestion-block{gap:6px;margin-top:6px;display:grid}.assistant-action-button{border:1px solid var(--line);background:var(--surface-strong);min-height:28px;color:var(--ink);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:11px;font-weight:500;line-height:1;transition:background-color .18s,border-color .18s,color .18s,transform .18s;display:inline-flex}.assistant-action-button:hover{transform:translateY(-1px)}.assistant-action-button:focus-visible{outline:2px solid var(--brand-strong);outline-offset:2px}.assistant-action-button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}.assistant-action-button.is-primary:hover{background:var(--brand-strong);border-color:var(--brand-strong)}.assistant-action-button.is-danger{border-color:var(--danger);background:var(--danger);color:var(--on-brand)}.assistant-action-button.is-danger:hover{background:#7f433c;border-color:#7f433c}.assistant-action-button.is-ghost{border-color:var(--line-strong);background:var(--surface);color:var(--brand-strong)}.assistant-action-button.is-ghost:hover{background:var(--surface-strong);color:var(--brand)}.assistant-action-button.is-suggestion{border-color:var(--line-strong);background:var(--surface);min-height:0;color:var(--ink);text-align:left;align-items:flex-start;padding:7px 10px 8px}.assistant-action-button.is-suggestion:hover{background:var(--surface-strong);border-color:var(--brand)}.assistant-action-button-title,.assistant-action-button-subtitle{width:100%;display:block}.assistant-action-button-title{font-size:11px;line-height:1.2}.assistant-action-button-subtitle{color:var(--ink-muted);margin-top:3px;font-size:10px;line-height:1.2}.assistant-message.is-streaming p{display:inline}.assistant-message.is-live{color:var(--ink-soft);gap:4px;display:grid}.assistant-message-stage{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.assistant-message-stage-label{border:1px solid var(--line);background:var(--surface-strong);min-height:20px;color:var(--ink-soft);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;align-items:center;padding:0 8px;font-size:10px;line-height:1;display:inline-flex}.assistant-message-stage.is-processing .assistant-message-stage-label{background:var(--surface-contrast)}.assistant-message-stage.is-generating .assistant-message-stage-label{border-color:var(--line-strong);background:var(--surface-accent);color:var(--brand-strong)}.assistant-message-stage.is-streaming .assistant-message-stage-label{border-color:var(--brand);background:var(--surface-accent);color:var(--brand-strong)}.assistant-stream-cursor{background:var(--brand-strong);vertical-align:-.15em;width:1px;height:1em;margin-left:2px;animation:1s step-end infinite caret-blink;display:inline-block}.assistant-typing-label{font-size:12px;line-height:1}.assistant-typing-dots{align-items:center;gap:4px;display:inline-flex}.assistant-typing-dots span{background:var(--brand-strong);border-radius:999px;width:6px;height:6px;animation:1s ease-in-out infinite typing-pulse}.assistant-typing-dots span:nth-child(2){animation-delay:.15s}.assistant-typing-dots span:nth-child(3){animation-delay:.3s}.assistant-send:disabled{opacity:.65;cursor:not-allowed}.assistant-composer{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 40px 40px;align-items:center;gap:6px;padding:12px;display:grid}.assistant-input-wrap{min-width:0}.assistant-input{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:100%;height:40px;min-height:40px;color:var(--ink);font-family:var(--font-sans);resize:none;border-radius:12px;padding:10px 11px;font-size:13px;line-height:1.35;overflow:hidden}.assistant-input::placeholder{color:var(--ink-muted);opacity:1;font:inherit}.assistant-voice-button{width:40px;height:40px;color:var(--brand-strong);background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;padding:0;transition:background-color .18s,border-color .18s,color .18s,transform .18s;display:inline-flex}.assistant-voice-button:hover:not(:disabled){color:var(--brand);background:0 0}.assistant-voice-button.is-listening{color:var(--brand-strong)}.assistant-voice-button:disabled{opacity:.45;cursor:not-allowed}.assistant-voice-button:focus-visible,.assistant-send:focus-visible{outline:2px solid var(--brand-strong);outline-offset:2px}.assistant-voice-note{color:var(--ink-muted);grid-column:1/-1;margin:-2px 0 0;font-size:10px;line-height:1.2}.assistant-voice-note.is-listening{color:var(--brand-strong)}.assistant-voice-note.is-unsupported{color:var(--danger)}.assistant-send{border:1px solid var(--brand);background:var(--brand);width:40px;height:40px;min-height:40px;color:var(--on-brand);border-radius:12px;justify-content:center;align-items:center;padding:0;line-height:1;transition:background-color .18s,border-color .18s,transform .18s;display:inline-flex}.assistant-send:hover:not(:disabled){background:var(--brand-strong);transform:translateY(-1px)}.assistant-voice-button svg,.assistant-send svg{display:block}.assistant-voice-dots{align-items:center;gap:3px;display:inline-flex}.assistant-voice-dots span{background:currentColor;border-radius:999px;width:4px;height:4px;animation:1s ease-in-out infinite typing-pulse}.assistant-voice-dots span:nth-child(2){animation-delay:.15s}.assistant-voice-dots span:nth-child(3){animation-delay:.3s}@keyframes panel-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes caret-blink{50%{opacity:0}}@keyframes typing-pulse{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@media (width<=1240px){.crm-shell{grid-template-columns:208px 1fr}.metrics-grid,.catalog-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid-secondary{grid-template-columns:1fr 1fr}.dashboard-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-panel-summary{grid-column:1/-1}.hero-actions,.hero-side,.catalog-modal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.crm-shell{grid-template-columns:1fr}.crm-sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;min-height:auto;position:static}.sidebar-nav{overflow-x:auto}.nav-group{min-width:max-content}.topbar,.page-shell{padding-left:12px;padding-right:12px}.hero-panel,.hero-panel-compact,.content-grid-secondary,.products-grid{grid-template-columns:1fr}.catalog-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-overview{grid-template-columns:1fr}.overview-panel-summary{grid-column:auto}}@media (width<=720px){.assistant-widget{bottom:12px;left:12px;right:12px}.assistant-panel{width:auto;height:auto;min-height:min(420px,100svh - 92px);max-height:min(78svh,620px);bottom:48px;left:0;right:0}.assistant-composer{grid-template-columns:minmax(0,1fr) 40px 40px}.assistant-send{min-height:40px}.dashboard-overview{grid-template-columns:1fr}.section-card-header{flex-direction:column;align-items:stretch}.page-title{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.search-field{max-width:none}.metrics-grid{grid-template-columns:1fr}.topbar-actions{justify-content:stretch}.hero-title{font-size:18px}.feed-item,.hero-actions,.hero-side,.hero-side-tight{grid-template-columns:1fr}.catalog-modal{padding:12px}.catalog-modal-summary,.catalog-modal-grid,.product-row{grid-template-columns:1fr}.product-row-meta{justify-items:start;min-width:0}.product-editor-summary,.product-editor-grid,.metrics-grid,.content-grid-secondary,.catalog-summary-grid{grid-template-columns:1fr}.catalog-modal-overlay{padding:8px}}.action-log-wrap{overflow-x:auto}.action-log-table th:first-child,.action-log-table td:first-child{width:104px}.action-log-table th:nth-child(3),.action-log-table td:nth-child(3){width:110px}.action-log-table th:nth-child(4),.action-log-table td:nth-child(4){width:92px}.action-log-cell{gap:3px;display:grid}.action-log-summary{font-size:13px;line-height:1.35}.action-log-entity,.action-log-source-text,.action-log-affected,.action-log-time{color:var(--ink-muted);font-size:12px;line-height:1.3}.action-log-ai-badge{background:var(--surface-accent);min-height:24px;color:var(--brand);border-color:var(--line-strong);justify-content:center;align-items:center;padding-inline:10px;display:inline-flex}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
