@import"https://fonts.googleapis.com/css2?family=Rubik:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";*{box-sizing:border-box}:root{--cream: #F8F5F0;--warm: #EDE8E0;--sand: #D4C9B8;--wood: #A68B6B;--bark: #5C4033;--ink: #2D2019;--terra: #D4654A;--terra-dark: #C25A42;--terra-light: rgba(212, 101, 74, .08);--terra-border: rgba(212, 101, 74, .15);--white: #FFFDF9;--red: #E84B2B;--yellow: #FFB830;--green: #4CAF6A;--purple: #8856A7;--ozon-blue: #005BFF;--border: rgba(93, 64, 51, .1);--shadow-sm: 0 2px 8px rgba(93, 64, 51, .06);--shadow-md: 0 8px 32px rgba(93, 64, 51, .12);--header-bg: rgba(248, 245, 240, .95);color:var(--ink);background:var(--cream);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=dark]{--cream: #1A1410;--warm: #231C17;--sand: #3A2E26;--wood: #C4A882;--bark: #D4B896;--ink: #F0E8DF;--white: #2A2018;--border: rgba(212, 180, 150, .12);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .2);--shadow-md: 0 8px 32px rgba(0, 0, 0, .3);--header-bg: rgba(26, 20, 16, .96)}body{min-width:320px;min-height:100vh;margin:0;background:var(--cream);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-page,.full-loader{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--cream)}.login-card{width:min(100%,400px);padding:48px 44px 44px;background:var(--white);border:1px solid var(--border);border-radius:20px;box-shadow:0 8px 40px #5d40331a}.login-logo{margin-bottom:32px;text-align:center}.brand-mark{display:inline-grid;width:56px;height:56px;place-items:center;border-radius:16px;background:linear-gradient(135deg,var(--terra),var(--terra-dark));color:#fff;font-family:Rubik,sans-serif;font-weight:800;letter-spacing:-.5px;box-shadow:0 4px 16px #d4654a4d}.login-logo h1{margin:16px 0 4px;color:var(--ink);font-family:Rubik,sans-serif;font-size:22px;font-weight:700;line-height:1.2}.login-logo p{margin:0;color:var(--wood);font-size:13px}.login-form{display:grid;gap:16px}.field{display:grid;gap:6px;color:var(--bark);font-size:13px;font-weight:500}.field input{width:100%;padding:12px 14px;border:1.5px solid var(--border);border-radius:10px;outline:none;background:var(--white);color:var(--ink);font-size:15px;transition:border-color .2s,box-shadow .2s}.field input:focus,.filters-toolbar input:focus,.filters-toolbar select:focus,.inline-form input:focus,.inline-form select:focus,.task-card select:focus{border-color:var(--terra);box-shadow:0 0 0 3px #d4654a1f}.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;z-index:300;width:64px;display:flex;flex-direction:column;overflow:hidden;background:var(--white);border-right:1px solid var(--border);box-shadow:2px 0 12px #5d40330f;transition:width .25s cubic-bezier(.4,0,.2,1)}.sidebar:hover{width:220px}.sidebar-brand{height:64px;display:flex;align-items:center;gap:12px;flex-shrink:0;width:100%;padding:0 18px;overflow:hidden;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--ink);text-align:left;white-space:nowrap}.sidebar .brand-mark{width:28px;height:28px;flex:0 0 auto;border-radius:8px;background:var(--terra);box-shadow:none;font-size:13px}#sidebar-logo-text{color:var(--ink);font-family:Rubik,sans-serif;font-size:14px;font-weight:700;opacity:0;transition:opacity .2s .05s}.sidebar:hover #sidebar-logo-text{opacity:1}.sidebar-nav{flex:1;display:block;overflow:hidden;padding:8px 0}.nav-link,.sidebar-footer-item{position:relative;width:100%;height:48px;display:flex;align-items:center;gap:12px;overflow:hidden;padding:0 18px;border:0;border-radius:0;background:transparent;color:var(--wood);text-align:left;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}.nav-link:hover,.sidebar-footer-item:hover{background:var(--warm);color:var(--bark)}.nav-link.active,.sidebar-footer-item.active{background:var(--terra-light);color:var(--terra)}.nav-link.active:before,.sidebar-footer-item.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--terra)}.nav-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.nav-label{opacity:0;color:inherit;font-size:13px;font-weight:500;transition:opacity .15s}.sidebar:hover .nav-label{opacity:1}.sidebar-footer{flex-shrink:0;overflow:hidden;padding:12px 0 8px;border-top:1px solid var(--border)}.sidebar-footer-item{height:44px}.main-column{min-width:0;padding-left:64px}.topbar{position:sticky;top:0;z-index:100;height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:0 24px;border-bottom:1px solid var(--border);background:var(--header-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.header-left{min-width:0;display:flex;align-items:center;gap:12px;justify-self:start}.header-center{justify-self:center;min-width:0}.header-title{color:var(--ink);font-family:Rubik,sans-serif;font-size:17px;font-weight:700;text-align:center}.header-page-title{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ink);font-family:Rubik,sans-serif;font-size:18px;font-weight:700}.header-page-title span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-logo{width:32px;height:32px;flex:0 0 auto;border-radius:8px;background:linear-gradient(135deg,var(--terra),#F07C3E,var(--green),var(--purple))}.header-nav,.view-tabs{display:flex;gap:6px;padding:4px;border-radius:50px;background:var(--warm)}.view-tabs{gap:4px;border-radius:10px;padding:3px}.header-nav-link{display:flex;align-items:center;gap:6px;padding:8px 18px;border:0;border-radius:50px;background:transparent;color:var(--bark);font-family:Rubik,sans-serif;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s;white-space:nowrap}.view-tabs .header-nav-link{padding:6px 14px;border-radius:8px;color:var(--wood);font-family:Inter,sans-serif;font-size:12px}.header-nav-link:hover:not(.active){background:var(--terra-light);color:var(--terra)}.view-tabs .header-nav-link:hover:not(.active){background:transparent;color:var(--bark)}.header-nav-link.active{background:var(--terra);color:#fff}.view-tabs .header-nav-link.active{background:var(--white);color:var(--ink);box-shadow:var(--shadow-sm);font-weight:600}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.user-chip{max-width:220px;overflow:hidden;padding:4px 12px;border:0;border-radius:20px;background:var(--warm);color:var(--wood);font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.theme-label{color:var(--wood);font-size:14px;line-height:1}.theme-toggle{position:relative;width:48px;height:26px;flex-shrink:0;border:0;border-radius:26px;background:var(--sand);transition:background .3s}.theme-toggle:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .3s}[data-theme=dark] .theme-toggle{background:var(--terra)}[data-theme=dark] .theme-toggle:after{transform:translate(22px)}.content-area{width:100%;padding:20px 24px 40px}.route-ceo,.route-home{max-width:1280px;margin:0 auto;padding-top:28px;padding-bottom:48px}.route-tasks{overflow-x:auto;padding:16px 24px 32px}.route-products,.route-content{padding:16px 24px 40px}.route-ozon,.route-fresh,.route-wb,.route-ozon-ads,.route-wb-ads,.route-warehouses,.route-wb-warehouses,.route-supplies,.route-wb-supplies,.route-promotion,.route-wb-promotion,.route-funnel,.route-wb-funnel,.route-anomalies,.route-wb-anomalies,.route-bloggers{padding:20px 24px 24px}.section-page{display:grid;gap:20px}.intro-panel{display:flex;align-items:flex-start;justify-content:flex-end;gap:16px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.kpi-card,.panel,.table-wrap,.inline-form,.kanban-column,.content-card,.login-card{background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.kpi-card{min-height:118px;padding:20px;border-radius:20px;transition:box-shadow .2s,transform .2s}.kpi-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.kpi-card span{display:block;margin-bottom:8px;color:var(--wood);font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.kpi-card strong{display:block;color:var(--ink);font-family:Rubik,sans-serif;font-size:28px;font-weight:700;line-height:1}.kpi-card small{display:block;margin-top:8px;padding-top:8px;border-top:1px solid var(--border);color:var(--wood);font-size:11px}.panel{padding:20px;border-radius:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-head h3{margin:0;color:var(--ink);font-family:Rubik,sans-serif;font-size:15px;font-weight:700}.panel-head span{color:var(--wood);font-size:12px}.alert{padding:10px 12px;border:1px solid rgba(255,184,48,.18);border-radius:10px;background:#ffb8301a;color:var(--bark);font-size:12px;line-height:1.4}.alert-danger{margin-bottom:16px;border-color:#e84b2b33;background:#e84b2b14;color:var(--red)}.alert-warning{border-color:#ffb83033}.primary-button,.ghost-button{border:0;border-radius:8px;font-size:13px;font-weight:600}.primary-button{padding:8px 16px;border-radius:10px;background:var(--terra);color:#fff;font-size:13px;transition:background .2s,opacity .2s}.primary-button:hover:not(:disabled){background:var(--terra-dark)}.primary-button:disabled{cursor:wait;opacity:.7}.ghost-button{padding:8px 16px;border-radius:10px;border:1px solid var(--border);background:transparent;color:var(--wood);transition:all .2s}.ghost-button:hover:not(:disabled){color:var(--bark);border-color:var(--sand)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.filters-toolbar{align-items:stretch;justify-content:flex-start}.filters-toolbar input,.filters-toolbar select,.search-wrap input,.stats-bar select,.inline-form input,.inline-form select,.quick-task-strip input,.quick-task-strip select,.task-card select{min-height:36px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;outline:none;background:var(--white);color:var(--ink);font-size:13px}.search-input{width:min(100%,360px)}.search-wrap{max-width:440px}.search-wrap .search-input{width:100%;padding:10px 16px;border-radius:12px;background:var(--white);font-size:14px}.stats-bar{display:flex;align-items:center;flex-wrap:wrap;gap:16px;color:var(--wood);font-size:13px}.stats-bar .stat-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;background:var(--warm);color:var(--bark);font-size:12px}.stats-bar .stat-chip.active{background:#4caf6a1f;color:#3a8a52}.stats-bar .stat-chip.inactive{background:#e84b2b1a;color:var(--red)}.filters-inline{display:inline-flex;gap:8px;flex-wrap:wrap}.tabs{display:flex;flex-wrap:wrap;overflow:hidden;width:fit-content;max-width:100%;gap:4px;padding:3px;border:0;border-radius:10px;background:var(--warm)}.tab{padding:6px 14px;border:0;border-radius:8px;background:transparent;color:var(--wood);font-size:12px;font-weight:500;transition:all .2s}.tab:hover:not(.active){color:var(--bark)}.tab.active{background:var(--white);color:var(--ink);box-shadow:var(--shadow-sm);font-weight:600}.loader,.empty-state{padding:28px;border:1px dashed var(--border);border-radius:16px;background:var(--white);color:var(--wood);font-size:13px;text-align:center}.empty-state.compact{padding:14px;border-radius:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.8fr);gap:16px}.bar-chart{height:260px;display:flex;align-items:flex-end;gap:8px}.bar-item{min-width:24px;flex:1;display:grid;align-items:end;gap:6px;text-align:center}.bar-stack{height:220px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border-radius:8px;background:var(--warm)}.bar{display:block;min-height:0}.bar.ozon{background:var(--ozon-blue)}.bar.wb{background:var(--purple)}.bar-item small,.task-row small,.task-card small,.product-cell small{color:var(--wood)}.task-list,.event-list,.kanban-cards{display:grid;gap:8px}.task-row,.event-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 14px;border:0;border-radius:10px;background:var(--warm);transition:background .15s}.task-row:hover,.event-row:hover{background:var(--sand)}.event-row{grid-template-columns:auto minmax(0,1fr) auto}.event-row p{margin:2px 0 0;color:var(--wood);font-size:12px}.event-row time{color:var(--wood);font-size:11px;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 8px;border-radius:6px;background:#5d403314;color:var(--wood);font-size:11px;font-weight:600;white-space:nowrap}.status-ozon{background:#005bff1a;color:var(--ozon-blue)}.status-wb{background:#8856a71a;color:var(--purple)}.status-done,.status-ok{background:#4caf6a1a;color:var(--green)}.status-warning,.status-review,.status-high,.status-urgent{background:#ffb8301f;color:#a56c00}.status-error{background:#e84b2b1a;color:var(--red)}.status-in_progress,.status-delegated{background:#005bff14;color:var(--ozon-blue)}.table-wrap{overflow:auto;border-radius:16px}table{width:100%;min-width:760px;border-collapse:collapse}th,td{padding:10px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;font-size:13px}th{position:sticky;top:0;z-index:1;background:var(--warm);color:var(--bark);font-family:Rubik,sans-serif;font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}td{max-width:260px;overflow:hidden;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}tr:hover td{background:var(--cream)}.product-cell{display:flex;align-items:center;gap:10px}.product-cell img,.image-placeholder{width:44px;height:44px;flex:0 0 auto;border-radius:10px;object-fit:cover}.image-placeholder,.content-placeholder{display:grid;place-items:center;background:var(--warm);color:var(--wood);font-family:Rubik,sans-serif;font-weight:800}.table-action{white-space:nowrap}.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.content-card{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border-radius:16px}.content-card img,.content-placeholder{width:72px;height:72px;border-radius:12px;object-fit:cover}.content-card strong,.content-card small{display:block}.content-card small{margin-top:6px;color:var(--wood)}.inline-form{display:grid;grid-template-columns:minmax(220px,1fr) 140px 150px 150px auto;gap:10px;padding:14px;border-radius:14px}.quick-task-strip{display:grid;grid-template-columns:minmax(220px,1fr) 140px 150px 150px auto;gap:10px;max-width:920px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--white);box-shadow:var(--shadow-sm)}.kanban-board{display:flex;align-items:flex-start;gap:16px;overflow-x:auto;min-width:max-content;min-height:calc(100vh - 160px);padding-bottom:4px}.kanban-board::-webkit-scrollbar{height:6px}.bloggers-board{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.kanban-column{width:300px;min-width:300px;flex-shrink:0;padding:12px;border-radius:16px;border:0;box-shadow:none;background:var(--warm)}.kanban-column header{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:0;padding:4px 4px 12px}.kanban-column h3{flex:1;margin:0;color:var(--ink);font-family:Rubik,sans-serif;font-size:15px;font-weight:700}.kanban-column header span{padding:3px 10px;border-radius:20px;background:var(--warm);color:var(--wood);font-size:11px;font-weight:600}.kanban-column header span{background:var(--white)}.task-card{display:grid;gap:9px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--white);color:inherit;text-decoration:none;box-shadow:none;cursor:pointer;transition:transform .15s,box-shadow .15s}.task-card:hover{border-color:var(--terra-border);box-shadow:var(--shadow-md);transform:translateY(-2px)}.task-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.plain-list{margin:0;padding-left:18px;color:var(--bark);font-size:13px}.plain-list li+li{margin-top:8px}@media(max-width:900px){.kpi-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.inline-form{grid-template-columns:1fr 1fr}}@media(max-width:768px){.sidebar{display:none}.main-column{padding-left:0}.topbar{height:auto;min-height:56px;grid-template-columns:minmax(0,1fr) auto;padding:10px 16px}.header-center{display:none}.header-left{display:flex}.content-area{padding:16px 14px 40px}}@media(max-width:600px){.login-card{padding:40px 28px 34px;border-radius:18px}.kpi-grid{grid-template-columns:1fr}.topbar-actions{gap:8px}.user-chip{display:none}.filters-toolbar,.inline-form{flex-direction:column;grid-template-columns:1fr}.search-input{width:100%}.event-row,.task-row{grid-template-columns:1fr}}
