@font-face{font-family:Onest;src:url('../assets/fonts/Onest-Latin-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF}
@font-face{font-family:Onest;src:url('../assets/fonts/Onest-Cyrillic-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F}
:root{--ink:#17181d;--muted:#70727b;--line:#dedfe4;--paper:#f4f4f1;--white:#fff;--blue:#434865;--blue-dark:#292e4c;--success:#277a51;--danger:#a7434d}
html{overflow-y:scroll;scrollbar-gutter:stable}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Onest,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{color:inherit}.login-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#dce6ff,transparent 38%),#f4f4f1}.login-card{display:grid;width:min(430px,100%);gap:20px;padding:40px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(37,41,67,.12)}.login-card img{width:150px}.login-card h1,.page-head h1,.dialog-head h2{margin:6px 0 0;font-weight:520;letter-spacing:-.03em}.eyebrow{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}label{display:grid;gap:8px;color:#4b4d56;font-size:13px}input,select,textarea{width:100%;border:1px solid #d5d6dc;border-radius:10px;background:#fff;color:var(--ink);outline:0}input,select{height:44px;padding:0 13px}textarea{padding:12px 13px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(67,72,101,.1)}button,.secondary{border:0;cursor:pointer;text-decoration:none}.primary,.secondary{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 18px;border-radius:10px;font-size:14px;font-weight:520}.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--blue-dark)}.secondary{border:1px solid var(--line);background:#fff}.form-message{min-height:20px;margin:0;color:var(--danger);font-size:13px}.cms{display:grid;min-height:100vh;grid-template-columns:250px minmax(0,1fr)}.sidebar{position:sticky;top:0;display:flex;height:100vh;flex-direction:column;padding:28px 18px;background:#20243e;color:#fff}.cms-logo{display:block;width:100%;margin:0 0 34px;text-decoration:none}.cms-logo img{display:block;width:100%;height:auto}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;min-height:46px;align-items:center;justify-content:space-between;padding:0 14px;border-radius:10px;background:transparent;color:rgba(255,255,255,.68);text-align:left}.nav-item small{max-width:78px;font-size:9px;text-align:right}.nav-item.is-active{background:rgba(255,255,255,.11);color:#fff}.nav-item:disabled{cursor:default;opacity:.52}.sidebar-footer{display:grid;gap:8px;margin-top:auto;padding:18px 12px 0;border-top:1px solid rgba(255,255,255,.15);font-size:13px}.sidebar-footer button{width:max-content;background:none;color:rgba(255,255,255,.65);padding:0}.workspace{min-width:0;padding:48px clamp(24px,4vw,70px)}.mobile-head{display:none}.view{display:none}.view.is-active{display:block}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-head h1{font-size:38px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}.stat span{display:block;color:var(--muted);font-size:13px}.stat strong{display:block;margin-top:14px;font-size:32px;font-weight:520}.notice{margin-top:18px;padding:24px;border-radius:16px;background:#e9ecfa}.notice p{margin:8px 0 0;color:#555966}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.toolbar input{max-width:320px}.toolbar select{width:180px}.file-button{cursor:pointer}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:14px 16px;border-bottom:1px solid #ececf0;text-align:left;font-size:13px}th{background:#fafafa;color:var(--muted);font-size:11px;font-weight:520;text-transform:uppercase;letter-spacing:.04em}tbody tr{cursor:pointer}tbody tr:hover{background:#f7f7f5}.product-cell{display:flex;min-width:280px;align-items:center;gap:12px}.product-cell img{width:46px;height:46px;border-radius:8px;background:#f0f0ee;object-fit:contain}.product-cell strong,.product-cell span{display:block}.product-cell span,.subtle{margin-top:3px;color:var(--muted);font-size:12px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eceef7;color:#343955;font-size:11px}.badge.draft{background:#f5eee0;color:#806127}.badge.archived{background:#eee;color:#666}.empty-cell{padding:44px;text-align:center;color:var(--muted)}dialog{width:min(900px,calc(100% - 24px));max-height:calc(100vh - 30px);padding:0;border:0;border-radius:20px;box-shadow:0 30px 100px rgba(24,27,48,.3)}dialog::backdrop{background:rgba(20,22,35,.55)}.dialog-head{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:24px 28px;border-bottom:1px solid var(--line);background:#fff}.dialog-head button{width:38px;height:38px;border-radius:50%;background:#f0f0ee;font-size:26px}.product-form{padding:26px 28px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wide{grid-column:1/-1}.form-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.form-section h3{margin:0 0 16px;font-size:18px;font-weight:520}.section-title{display:flex;align-items:center;justify-content:space-between}.text-button{cursor:pointer;background:none;color:var(--blue);font-size:13px}.variant-row,.media-row{display:grid;grid-template-columns:1.2fr .8fr .8fr auto;gap:10px;align-items:end;margin-top:10px}.media-row{grid-template-columns:80px minmax(0,1fr) auto;align-items:center}.media-row img{width:76px;height:76px;border-radius:10px;background:#eee;object-fit:contain}.remove-row{width:40px;height:44px;border-radius:10px;background:#f5e8e9;color:var(--danger)}.check{display:flex;grid-column:1/-1;flex-direction:row;align-items:center}.check input{width:18px;height:18px}.dialog-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin:26px -28px -26px;padding:18px 28px;border-top:1px solid var(--line);background:#fff}.import-result,.import-preview{margin-bottom:18px;padding:18px;border-radius:12px;background:#e9ecfa;font-size:13px}.import-preview{margin:24px;max-height:55vh;overflow:auto}.import-preview ul{padding-left:20px;color:var(--danger)}
@media(max-width:980px){.stats{grid-template-columns:repeat(2,1fr)}.cms{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;left:0;transform:translateX(-100%);transition:.2s}.cms.menu-open .sidebar{transform:translateX(0)}.mobile-head{display:flex;align-items:center;justify-content:space-between;margin:-26px 0 30px}.mobile-head button{padding:8px 12px;border-radius:8px;background:#fff}.workspace{padding:32px 20px}}
@media(max-width:620px){.stats{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:31px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.variant-row{grid-template-columns:1fr 1fr}.variant-row .remove-row{grid-column:2;justify-self:end}.toolbar>*{width:100%!important;max-width:none!important}}
.generated-password{margin-top:22px;padding:18px;border:1px solid #c9d7cd;border-radius:12px;background:#edf7f0;color:#245d3f;white-space:pre-wrap;word-break:break-word}.preview-banner{margin:-20px 0 28px;padding:12px 16px;border-radius:10px;background:#fff0c7;color:#6e5115;font-size:13px}

/* Unified CMS typography */
body{font-size:14px;font-weight:400;line-height:1.45;letter-spacing:-.01em;font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.nav-item{font-size:16px;font-weight:400;line-height:normal}
.nav-item small{font-size:9px;font-weight:400;line-height:normal;letter-spacing:normal}
.sidebar-footer{font-size:13px;line-height:normal}
.sidebar-footer span{font-weight:400}
.sidebar-footer button{font-size:13px;line-height:normal}
.page-head h1{font-size:36px;font-weight:500;line-height:1.15;letter-spacing:-.025em}
.dialog-head h2{font-size:24px;font-weight:500;line-height:1.2;letter-spacing:-.02em}
.eyebrow{font-size:12px;font-weight:500;line-height:1.35;letter-spacing:.06em}
label{font-size:14px;line-height:1.4}
input,select,textarea{font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-.01em}
select{
  appearance:none;
  -webkit-appearance:none;
  padding-right:42px;
  padding-left:14px;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m3 5 4 4 4-4' stroke='%23434765' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px 14px;
}
select::-ms-expand{display:none}
.primary,.secondary,.text-button{font-size:14px;font-weight:500;line-height:1.3}
.stat span{font-size:14px;font-weight:400;line-height:1.4}
.stat strong{font-size:30px;font-weight:500;line-height:1.15;letter-spacing:-.02em}
th{font-size:12px;font-weight:500;line-height:1.3;letter-spacing:.04em}
td{font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-.01em}
td strong,.product-cell strong{font-size:14px;font-weight:500;line-height:1.4}
.subtle,.product-cell span{margin-top:2px;font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-.01em}
.badge{font-size:12px;font-weight:500;line-height:1.3}
.notice,.import-result,.import-preview,.preview-banner{font-size:14px;line-height:1.45}
.toolbar #catalog-type{width:210px}
.toolbar #catalog-sort{width:250px}
.toolbar input,.toolbar select,.toolbar .secondary,#staff-rows select,#staff-rows .secondary{font-weight:400}
.catalog-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 180px 210px 250px max-content max-content;align-items:stretch}
.catalog-toolbar input,.catalog-toolbar select{width:100%;max-width:none}
.catalog-table{table-layout:fixed}
.catalog-table th:nth-child(1){width:35%}
.catalog-table th:nth-child(2){width:25%}
.catalog-table th:nth-child(3){width:10%}
.catalog-table th:nth-child(4){width:8%}
.catalog-table th:nth-child(5){width:11%}
.catalog-table th:nth-child(6){width:11%}
.catalog-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis}
.media-section>h3{margin-bottom:16px}
.media-group{margin-top:12px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}
.media-group-head{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--line)}
.media-group-head h4{margin:0;font-size:15px;font-weight:500;line-height:1.35}
.media-group-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.media-group-head .text-button{flex:0 0 auto;margin-top:0}
.media-row{display:grid;min-height:184px;grid-template-columns:112px minmax(260px,1fr);gap:20px;margin:0;padding:18px;align-items:center;background:#fff}
.media-row+.media-row{border-top:1px solid var(--line)}
.media-preview{width:112px;height:112px;border-radius:12px;background:#f4f4f1;object-fit:contain}
.media-content{display:flex;min-height:112px;flex-direction:column;justify-content:space-between;gap:18px}
.media-content label:not(.media-action){font-size:13px}
.media-actions{display:flex;flex-wrap:wrap;gap:8px}
.media-action{display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue);cursor:pointer;font-size:13px;font-weight:500;line-height:1.2}
.media-action:hover{background:#f5f5f2}
.media-action:disabled{cursor:default;opacity:.35}
.media-action.is-danger{border-color:#efd5d8;background:#fff7f7;color:var(--danger)}
.media-empty{display:flex;min-height:112px;align-items:center;justify-content:space-between;gap:18px;padding:18px;color:var(--muted);font-size:13px}
.customer-dialog{width:min(760px,calc(100% - 24px))}
.customer-detail{padding:28px}
.customer-profile-head{display:flex;align-items:center;gap:18px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.customer-avatar{display:grid;width:72px;height:72px;flex:0 0 72px;place-items:center;border-radius:50%;background:#e9ecfa;color:var(--blue);font-size:22px;font-weight:500;object-fit:cover}
.customer-profile-head h3{margin:0;font-size:22px;font-weight:500;line-height:1.25}
.customer-profile-head p{margin:5px 0 0;color:var(--muted)}
.customer-section-title{margin:28px 0 14px;font-size:16px;font-weight:500}
.customer-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-detail-item{display:grid;gap:5px;padding:14px;border-radius:10px;background:#f7f7f5;min-width:0}
.customer-detail-item.is-wide{grid-column:1/-1}
.customer-detail-item span{color:var(--muted);font-size:12px;line-height:1.35}
.customer-detail-item strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.4}
.customer-providers{display:grid;gap:12px}
.customer-provider-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;border:1px solid var(--line);border-radius:14px}
.customer-provider-card>div:first-child{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px}
.customer-provider-card>div:first-child>strong{font-size:15px;font-weight:500}
.customer-provider-card>div:first-child>span{padding:5px 8px;border-radius:999px;background:#edf7f0;color:#245d3f;font-size:11px}
@media(max-width:620px){.customer-detail{padding:20px}.customer-detail-grid,.customer-provider-card{grid-template-columns:1fr}.customer-detail-item.is-wide,.customer-provider-card>div:first-child{grid-column:auto}.customer-profile-head{align-items:flex-start}.customer-avatar{width:58px;height:58px;flex-basis:58px}.media-group-head{align-items:stretch;flex-direction:column}.media-row{grid-template-columns:1fr}.media-preview{width:112px}.media-empty{align-items:flex-start;flex-direction:column}}
@media(max-width:1300px){.catalog-toolbar{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(170px,210px))}.catalog-toolbar .secondary{width:100%}}
@media(max-width:620px){.catalog-toolbar{grid-template-columns:1fr}.catalog-table{min-width:850px}}

/* Dashboard */
.dashboard-head{align-items:center;margin-bottom:22px}
.dashboard-head h1{margin-top:5px}
.dashboard-intro{margin:8px 0 0;color:var(--muted);font-size:14px}
.dashboard-head-actions{display:flex;align-items:center;gap:12px}
.dashboard-date{padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.55);color:var(--muted);font-size:13px;text-transform:capitalize;white-space:nowrap}
.dashboard-quickbar{display:flex;align-items:stretch;gap:14px;margin-bottom:12px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff}
.dashboard-quickbar-actions{display:grid;min-width:0;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dashboard-quickbar-actions button,.dashboard-quickbar-actions a{position:relative;display:grid;min-width:0;gap:2px;padding:11px 34px 11px 13px;border:0;border-radius:10px;background:#f5f5f2;text-align:left;text-decoration:none}
.dashboard-quickbar-actions button::after,.dashboard-quickbar-actions a::after{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:var(--blue);content:"→";font-size:16px}
.dashboard-quickbar-actions button:hover,.dashboard-quickbar-actions a:hover{background:#edeef4}
.dashboard-quickbar-actions button:disabled{cursor:default;opacity:.55}
.dashboard-quickbar-actions button:disabled:hover{background:#f5f5f2}
.dashboard-quickbar-actions span{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.dashboard-quickbar-actions small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-quickbar .dashboard-sync{display:grid;min-width:178px;align-content:center;justify-items:end;gap:3px;margin:0;padding:0 6px 0 18px;border-top:0;border-left:1px solid #ececf0}
.dashboard-quickbar .dashboard-sync span{text-align:right;white-space:nowrap}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.dashboard-stat{position:relative;min-height:154px;overflow:hidden;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#fff}
.dashboard-stat::after{position:absolute;right:-28px;bottom:-44px;width:112px;height:112px;border-radius:50%;background:rgba(67,72,101,.055);content:""}
.dashboard-stat.lilac{background:linear-gradient(145deg,#fff 48%,#f0f1f8)}
.dashboard-stat.sand{background:linear-gradient(145deg,#fff 48%,#f5f0e5)}
.dashboard-stat.rose{background:linear-gradient(145deg,#fff 48%,#f6ecee)}
.dashboard-stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dashboard-stat-top span{color:#545761;font-size:13px}
.dashboard-stat-top i{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#f0f1f5;color:var(--blue);font-size:10px;font-style:normal;font-weight:500}
.dashboard-stat strong{display:block;margin-top:20px;font-size:35px;font-weight:500;line-height:1;letter-spacing:-.035em}
.dashboard-stat small{display:block;margin-top:9px;color:var(--muted);font-size:12px}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:12px}
.dashboard-panel{min-width:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}
.dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.dashboard-panel-head h2{margin:4px 0 0;font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.dashboard-link{align-self:center;padding:7px 0;background:none;color:var(--blue);font-size:13px;font-weight:500}
.category-breakdown{display:grid;gap:17px}
.category-row{display:grid;width:100%;gap:8px;padding:0;background:none;text-align:left}
.category-row>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.category-row strong{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.category-row b{color:var(--muted);font-size:12px;font-weight:400}
.category-track{display:block;height:6px;overflow:hidden;border-radius:999px;background:#eff0f2}
.category-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#414663,#777d9f);transition:width .2s ease}
.category-row:hover .category-track i{background:#292e4c}
.health-overview{display:grid;grid-template-columns:142px minmax(0,1fr);align-items:center;gap:24px;padding:8px 0}
.health-ring{display:grid;width:142px;height:142px;place-content:center;border-radius:50%;background:radial-gradient(circle at center,#fff 0 54%,transparent 55%),conic-gradient(var(--blue) 0 var(--health),#eceef2 var(--health) 360deg);text-align:center}
.health-ring strong{font-size:26px;font-weight:500;line-height:1}
.health-ring span{margin-top:6px;color:var(--muted);font-size:11px}
.health-list{display:grid;gap:0}
.health-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ececf0}
.health-list>div:last-child{border-bottom:0}
.health-list span{display:flex;align-items:center;gap:9px;color:#555862;font-size:13px}
.health-list i{width:8px;height:8px;border-radius:50%;background:var(--blue)}
.health-list i.draft{background:#d7b76f}
.health-list i.media{background:#c88e97}
.health-list strong{font-size:14px;font-weight:500}
.dashboard-recent{grid-column:1/-1;min-height:0}
.dashboard-product-list{display:grid}
.dashboard-product{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;padding:11px 0;border-bottom:1px solid #ececf0;background:none;text-align:left}
.dashboard-product:first-child{padding-top:0}
.dashboard-product:last-child{padding-bottom:0;border-bottom:0}
.dashboard-product:hover strong{color:var(--blue)}
.dashboard-product img{width:48px;height:48px;border-radius:10px;background:#f2f2ef;object-fit:contain}
.dashboard-product>span:nth-child(2){min-width:0}
.dashboard-product>span:nth-child(2) strong,.dashboard-product>span:nth-child(2) small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-product>span:nth-child(2) strong{font-size:13px;font-weight:500}
.dashboard-product>span:nth-child(2) small{margin-top:4px;color:var(--muted);font-size:11px}
.dashboard-actions{display:flex;min-height:366px;flex-direction:column}
.dashboard-action-list{display:grid;gap:8px}
.dashboard-action-list button,.dashboard-action-list a{position:relative;display:grid;gap:3px;padding:14px 40px 14px 15px;border:1px solid #e3e4e8;border-radius:11px;background:#fafaf8;text-align:left;text-decoration:none}
.dashboard-action-list button::after,.dashboard-action-list a::after{position:absolute;top:50%;right:15px;transform:translateY(-50%);color:var(--blue);content:"→";font-size:17px}
.dashboard-action-list button:hover,.dashboard-action-list a:hover{border-color:#cfd1db;background:#f5f5f2}
.dashboard-action-list span{font-size:13px;font-weight:500}
.dashboard-action-list small{color:var(--muted);font-size:11px}
.dashboard-sync{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:18px;border-top:1px solid #ececf0}
.dashboard-sync strong{font-size:12px;font-weight:500}
.dashboard-sync span{color:var(--muted);font-size:12px;text-align:right}

@media(max-width:1250px){.dashboard-quickbar{align-items:stretch;flex-direction:column}.dashboard-quickbar .dashboard-sync{display:flex;min-width:0;justify-items:initial;padding:10px 4px 2px;border-top:1px solid #ececf0;border-left:0}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.dashboard-recent,.dashboard-actions{min-height:0}}
@media(max-width:720px){.dashboard-head-actions{width:100%;align-items:stretch;flex-direction:column}.dashboard-date{text-align:center}.dashboard-quickbar-actions{grid-template-columns:1fr 1fr}.dashboard-quickbar .dashboard-sync{align-items:flex-start;flex-direction:column}.dashboard-quickbar .dashboard-sync span{text-align:left}.dashboard-stats{grid-template-columns:1fr}.dashboard-stat{min-height:140px}.dashboard-layout{grid-template-columns:minmax(0,1fr)}.dashboard-panel{padding:18px}.dashboard-panel-head{align-items:flex-start}.health-overview{grid-template-columns:1fr;justify-items:center}.health-list{width:100%}.dashboard-product{grid-template-columns:46px minmax(0,1fr)}.dashboard-product>.badge{display:none}}

/* Dashboard hierarchy and type scale */
.cms-logo{width:66.6667%}
.eyebrow,.text-button,.dashboard-link,.media-action,.badge{color:var(--ink)}
.dashboard-product:hover strong{color:var(--ink)}
.dashboard-section-heading{margin:0 0 12px}
.dashboard-section-heading h2{margin:4px 0 0;font-size:21px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.dashboard-quickbar{gap:12px;padding:0;border:0;background:transparent}
.dashboard-quickbar-actions{gap:12px}
.dashboard-quickbar-actions button,.dashboard-quickbar-actions a{min-height:112px;padding:19px 44px 19px 18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.dashboard-quickbar-actions button::after,.dashboard-quickbar-actions a::after{right:18px;color:var(--ink);font-size:19px}
.dashboard-quickbar-actions button:hover,.dashboard-quickbar-actions a:hover{border-color:#bfc1ca;background:#fff}
.dashboard-quickbar-actions button:disabled:hover{background:#fff}
.dashboard-quickbar-actions span{color:var(--ink);font-size:15px}
.dashboard-quickbar-actions small{margin-top:4px;font-size:14px;line-height:1.35}
.dashboard-quickbar .dashboard-sync{min-width:194px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.dashboard-quickbar .dashboard-sync strong{color:var(--ink);font-size:14px}
.dashboard-quickbar .dashboard-sync span{font-size:12px}
.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-stat{min-height:104px;padding:16px 18px}
.dashboard-stat::after{width:82px;height:82px;right:-24px;bottom:-36px}
.dashboard-stat-top span{color:var(--ink);font-size:14px}
.dashboard-stat strong{margin-top:11px;font-size:28px}
.dashboard-stat small{margin-top:5px;font-size:12px}
.dashboard-panel-head h2{font-size:21px}
.category-row strong,.health-list span,.dashboard-product>span:nth-child(2) strong{color:var(--ink);font-size:14px}
.category-row b,.health-list strong{font-size:12px}
.dashboard-product>span:nth-child(2) small{font-size:12px}

@media(max-width:1250px){.dashboard-quickbar .dashboard-sync{display:flex;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:14px}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.cms-logo{width:66.6667%}.dashboard-quickbar-actions{grid-template-columns:1fr}.dashboard-quickbar-actions button,.dashboard-quickbar-actions a{min-height:92px}.dashboard-stats{grid-template-columns:1fr}.dashboard-stat{min-height:104px}}

/* Dashboard: compact, task-first hierarchy. */
.dashboard-head{margin-bottom:18px}
.dashboard-head h1{margin:0}
.dashboard-head-actions{margin-left:auto}
.dashboard-quickbar{margin-bottom:12px}
.dashboard-quickbar-actions button,.dashboard-quickbar-actions a{display:grid;min-height:76px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;padding:16px 18px}
.dashboard-quickbar-actions button::after,.dashboard-quickbar-actions a::after{content:none}
.dashboard-quickbar-actions span{font-size:14px;font-weight:500}
.dashboard-action-icon{width:22px;height:22px;color:var(--ink)}
.dashboard-stats{margin-bottom:12px}
.dashboard-stat{min-height:96px;padding:15px 18px}
.dashboard-stat-top span{font-size:14px}
.dashboard-stat-top i{display:none}
.dashboard-stat strong{margin-top:9px;font-size:28px}
.dashboard-stat small{margin-top:4px;font-size:12px}
.dashboard-panel{padding:20px}
.dashboard-panel-head{align-items:center;margin-bottom:18px}
.dashboard-panel-head h2{margin:0;font-size:20px}
.dashboard-link{display:inline-flex;align-items:center;gap:5px;font-size:14px}
.dashboard-link svg{width:16px;height:16px}
.category-row strong,.health-list span,.dashboard-product>span:nth-child(2) strong{font-size:14px}
.category-row b,.health-ring span,.dashboard-product>span:nth-child(2) small{font-size:12px}
.dashboard-product{grid-template-columns:48px minmax(0,1fr)}
.dashboard-product>span:nth-child(2) small{margin-top:3px}
@media(max-width:720px){.dashboard-quickbar-actions button,.dashboard-quickbar-actions a{min-height:68px}.dashboard-head{align-items:stretch}.dashboard-head-actions{margin-left:0}}

/* Dashboard: three balanced information panels on wide screens. */
@media(min-width:1251px){
  .dashboard-layout{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
  .dashboard-recent{grid-column:auto}
  .dashboard-panel{min-height:420px}
  .health-overview{grid-template-columns:1fr;justify-items:center;gap:18px;padding:6px 0}
  .health-list{width:100%}
}
.category-breakdown{gap:15px}
.category-row{gap:9px}
.category-track{height:12px}
.dashboard-recent{min-height:0}
@media(max-width:1250px) and (min-width:721px){
  .dashboard-layout{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-recent{grid-column:auto}
  .dashboard-health{grid-column:1/-1}
}

/* Dashboard secondary text: optically corrected for Onest. */
.dashboard-stat small,
.category-row b,
.dashboard-product>span:nth-child(2) small,
.health-ring span{
  color:#4f525c;
  font-size:13px;
  font-weight:450;
  line-height:18px;
  letter-spacing:0;
}

/* Orders */
.orders-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 210px 210px;align-items:stretch}
.orders-toolbar input,.orders-toolbar select{width:100%;max-width:none}
.orders-table{table-layout:fixed}
.orders-table th,.orders-table td{overflow:hidden;text-overflow:ellipsis}
.orders-table th:nth-child(1){width:16%}
.orders-table th:nth-child(2){width:30%}
.orders-table th:nth-child(3){width:20%}
.orders-table th:nth-child(4){width:12%}
.orders-table th:nth-child(5){width:10%}
.orders-table th:nth-child(6){width:12%}
.orders-table td>strong,.orders-table td>span{display:block}
.order-secondary{display:block;margin-top:3px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.4;letter-spacing:-.01em}
.order-composition{display:grid;gap:8px;min-width:0}
.order-composition-item{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-width:0}
.order-composition-item img{width:38px;height:38px;border-radius:7px;background:#f2f2ef;object-fit:contain}
.order-composition-item>span{min-width:0}
.order-composition-item strong,.order-composition-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-composition-item strong{color:var(--ink);font-size:14px;font-weight:500;line-height:1.35}
.order-composition-item small,.order-composition-more{margin-top:2px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.35}
.order-composition-more{display:block;padding-left:48px}
.order-badge{display:inline-flex!important;width:max-content;max-width:100%;align-items:center;overflow:hidden;padding:5px 9px;border-radius:999px;background:#eef0f6;color:var(--ink);font-size:12px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.order-status-new{background:#fff0c7}
.order-status-assembling,.order-status-ready{background:#e9ecfa}
.order-status-shipped{background:#e8f0f8}
.order-status-delivered,.payment-status-paid{background:#e9f4ed;color:#245d3f}
.order-status-cancelled,.order-status-refunded,.payment-status-refunded,.payment-status-failed,.payment-status-cancelled{background:#f7e9eb;color:#8b3842}
.payment-status-pending,.payment-status-unpaid{background:#f5eee0;color:#74591f}
.payment-status-partially_refunded{background:#f1eaf5;color:#684478}
.order-dialog{width:min(980px,calc(100% - 24px))}
.order-detail{padding:24px 28px 12px}
.order-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.order-overview article,.order-info-grid>article{min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.order-info-item{display:grid;min-width:0;gap:4px}
.order-info-item+.order-info-item{margin-top:14px}
.order-info-item span{color:var(--muted);font-size:13px;font-weight:400;line-height:1.4}
.order-info-item strong{overflow-wrap:anywhere;color:var(--ink);font-size:14px;font-weight:500;line-height:1.4}
.order-section{margin-top:24px}
.order-section h3,.order-info-grid h3{margin:0 0 14px;color:var(--ink);font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.order-items{border:1px solid var(--line);border-radius:12px;background:#fff}
.order-item{display:grid;grid-template-columns:56px minmax(0,1fr) 70px 110px;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid #ececf0}
.order-item:last-child{border-bottom:0}
.order-item img{width:56px;height:56px;border-radius:9px;background:#f2f2ef;object-fit:contain}
.order-item div{min-width:0}
.order-item div strong,.order-item div span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-item strong{font-size:14px;font-weight:500;line-height:1.4}
.order-item span{color:var(--muted);font-size:13px;line-height:1.4}
.order-item>span,.order-item>strong{text-align:right}
.order-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.order-info-grid.compact{margin-top:0}
.order-payment-detail .order-info-grid>article{background:#f8f8f6}
.order-payment-operation{margin-top:10px;color:var(--ink);font-size:14px;line-height:1.4}
.order-payment-note{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.order-history{border-top:1px solid var(--line)}
.order-history>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #ececf0}
.order-history strong{font-size:14px;font-weight:500}
.order-history span{color:var(--muted);font-size:13px;text-align:right}
.order-status-form{position:sticky;bottom:0;display:flex;align-items:end;justify-content:flex-end;gap:12px;padding:18px 28px;border-top:1px solid var(--line);background:#fff}
.order-status-form[hidden]{display:none}
.order-status-form label{width:230px}
@media(max-width:900px){.orders-toolbar{grid-template-columns:1fr 1fr}.orders-toolbar input{grid-column:1/-1}.orders-table{min-width:900px}}
@media(max-width:620px){.orders-toolbar{grid-template-columns:1fr}.orders-toolbar input{grid-column:auto}.order-detail{padding:20px}.order-overview,.order-info-grid{grid-template-columns:1fr}.order-item{grid-template-columns:48px minmax(0,1fr);gap:12px}.order-item img{width:48px;height:48px}.order-item>span,.order-item>strong{grid-column:2;text-align:left}.order-status-form{align-items:stretch;flex-direction:column;padding:16px 20px}.order-status-form label,.order-status-form .primary{width:100%}}

/* Analytics */
.analytics-head{align-items:center;margin-bottom:22px}
.analytics-head select{width:140px}
.analytics-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.analytics-stats article{min-height:108px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}
.analytics-stats span{display:block;color:var(--ink);font-size:14px;line-height:1.4}
.analytics-stats strong{display:block;margin-top:13px;font-size:28px;font-weight:500;line-height:1.1;letter-spacing:-.025em}
.analytics-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);gap:12px}
.analytics-panel{min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}
.analytics-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.analytics-panel h2{margin:0;font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.analytics-legend{display:flex;align-items:center;gap:16px}
.analytics-legend span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}
.analytics-legend i{width:9px;height:9px;border-radius:50%;background:var(--blue)}
.analytics-legend span:last-child i{background:#b9a46f}
#analytics-chart{min-height:270px}
#analytics-chart .analytics-chart-shell{position:relative}
#analytics-chart svg{display:block;width:100%;height:auto;max-height:290px;overflow:visible}
.analytics-grid-line{stroke:#e8e9ed;stroke-width:1}
.analytics-line{fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.analytics-line.visitors{stroke:#b9a46f;stroke-width:2.5}
.analytics-axis-label{fill:var(--muted);font-family:Onest,Arial,sans-serif;font-size:12px;text-anchor:middle}
.analytics-y-label{fill:var(--muted);font-family:Onest,Arial,sans-serif;font-size:12px;text-anchor:end}
.analytics-hover-line{opacity:0;stroke:#aeb1bb;stroke-width:1;stroke-dasharray:4 4}
.analytics-point{opacity:0;fill:#fff;stroke:var(--blue);stroke-width:3}
.analytics-point.visitors{stroke:#b9a46f}
.analytics-hit-area{fill:transparent;cursor:crosshair}
.analytics-hover-target:focus{outline:none}
.analytics-hover-target.active .analytics-hover-line,.analytics-hover-target.active .analytics-point{opacity:1}
.analytics-chart-tooltip{position:absolute;z-index:2;top:8px;display:grid;gap:4px;min-width:190px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 24px #2429451c;pointer-events:none;transform:translateX(12px)}
.analytics-chart-tooltip[hidden]{display:none}
.analytics-chart-tooltip.align-right{transform:translateX(calc(-100% - 12px))}
.analytics-chart-tooltip strong{font-size:14px;font-weight:500}
.analytics-chart-tooltip span{color:var(--muted);font-size:13px}
#analytics-funnel{display:grid;gap:18px}
.analytics-funnel-row{display:grid;gap:8px}
.analytics-funnel-row>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.analytics-funnel-row strong{font-size:14px;font-weight:500}
.analytics-funnel-row b{font-size:13px;font-weight:500}
.analytics-funnel-row>span:last-child{display:block;height:12px;overflow:hidden;border-radius:999px;background:#eff0f2}
.analytics-funnel-row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#414663,#777d9f)}
.analytics-products,.analytics-sources{min-height:280px}
.analytics-rank-row,.analytics-source-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #ececf0}
.analytics-rank-row:last-child,.analytics-source-row:last-child{border-bottom:0}
.analytics-rank-row strong{overflow:hidden;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.analytics-rank-row span{flex:0 0 auto;color:var(--muted);font-size:13px}
.analytics-source-row span{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.analytics-source-row strong{font-size:14px;font-weight:500}
.analytics-empty{display:grid;min-height:210px;place-items:center;margin:0;color:var(--muted);font-size:13px;text-align:center}
@media(max-width:1150px){.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-layout{grid-template-columns:1fr}.analytics-products,.analytics-sources{min-height:0}}
@media(max-width:620px){.analytics-head{align-items:stretch}.analytics-head select{width:100%}.analytics-stats{grid-template-columns:1fr}.analytics-panel{padding:18px}.analytics-panel-head{align-items:flex-start;flex-direction:column}.analytics-legend{gap:12px}.analytics-rank-row{align-items:flex-start;flex-direction:column;gap:4px}}
