.chart-labels{direction:ltr}
.product-card{display:flex;flex-direction:column}
.product-card .product-details{display:flex;flex-direction:column;flex:1}
.product-card .product-details>.inline:first-child{position:relative;display:block;padding-inline-end:32px;min-height:32px}
.product-card .product-details>.inline:first-child .icon-btn{position:absolute;inset-inline-end:0;top:-4px;width:29px;height:32px}
.product-card .row-actions{margin-top:auto;padding-top:14px}
.product-art img{width:100%;height:100%;object-fit:cover;display:block}
.product-thumb img{width:46px;height:46px;object-fit:cover}
#qr-image svg{width:min(300px,100%);height:auto}
.modal-foot{flex-wrap:wrap}
.toast{max-width:420px}
@media(max-width:760px){
 .product-card .product-details>.inline:first-child{padding-inline-end:25px;min-height:49px}
 .product-card h3{line-height:1.75}
 .product-card .product-details>p{min-height:44px}
 .product-card .product-details>.inline.mt-sm{min-height:65px;align-content:flex-start}
 .product-card .row-actions{padding-top:10px;gap:5px}
 .product-card .row-actions .badge{font-size:.68rem;padding:3px 5px}
 .modal-foot .btn{padding:8px 11px;font-size:.8125rem}
 .toast{max-width:calc(100vw - 28px)}
}
/* CRM review: shared navigation, explicit filter tabs and contact workspace. */
:root{--sidebar:278px}
.sidebar{padding:22px 18px 12px}
.nav-scroll{padding-inline-end:5px}
.nav-item{min-height:46px;padding:10px 14px;gap:13px}
.nav-item>span:not(.count){flex:1}
.nav-group{font-size:.8125rem;color:#657976;margin-top:22px}
.workspace-picker{min-height:60px;margin-bottom:15px}
.profile>.avatar{flex:0 0 38px;width:38px;height:38px}
.avatar{line-height:1;letter-spacing:0;white-space:nowrap;text-align:center;align-self:center}
.person>.avatar,.profile>.avatar{display:inline-grid;place-items:center}
.search-field{position:relative;display:flex;align-items:center}
.search-field>.icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);pointer-events:none;width:18px;height:18px;color:#657976}
.search-field input:not([type=checkbox]):not([type=radio]){padding-inline:43px 14px;min-height:44px;width:100%}
.search-trigger{min-height:44px;gap:12px}
.search-trigger .icon{width:18px;height:18px}
.icon-btn{min-width:40px;min-height:40px}
.account-ring{--credit:100%;--credit-color:#218351;width:43px;height:43px;flex:0 0 43px;border:0;border-radius:50%;padding:4px;display:grid;place-items:center;background:conic-gradient(var(--credit-color) var(--credit),#e8ecec 0);position:relative;color:#294a43}
.account-ring:before{content:'';position:absolute;inset:3px;border-radius:50%;background:white}
.account-ring .icon{z-index:1;width:22px;height:22px}
.account-ring:hover:before{background:#f0f7f4}
.tabs{gap:8px;padding-inline:16px;align-items:stretch}
.tab-pair{display:inline-flex;align-items:center;flex-shrink:0;gap:0;position:relative}
.tab-pair .tab{display:inline-flex;align-items:center;gap:7px;padding-inline:8px;font-size:.875rem}
.tab-count{background:#f0f3f4;color:#536c65;padding:1px 7px;min-width:25px;border-radius:6px;font-size:.8125rem;font-weight:400;line-height:1.5}
.tab.active .tab-count{background:#d8eee5;color:#056252}
.tab-settings.icon-btn{min-width:30px;min-height:36px;width:30px;height:36px;color:#7c8f88}
.tab-settings .icon{width:15px;height:15px}
.tab-settings:hover{color:var(--primary);background:var(--primary-soft)}
.metric-link{font:inherit;text-align:start;color:inherit;width:100%;display:flex;flex-direction:column;transition:border-color .15s,box-shadow .15s}
.metric-link:hover{border-color:#96c6b8;box-shadow:0 4px 16px #12583a0d}
.metric-link .stat-top{width:100%;gap:8px}
.metric-link .stat-value{display:block}
.metric-link .stat-bottom{width:100%;margin-top:auto;justify-content:space-between;line-height:1.8}
.metric-link .stat-bottom>.icon{width:14px;height:14px;transform:rotate(180deg)}
.dashboard-stats{row-gap:16px}
.quick-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 20px}
.quick-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}
.last-action{background:#f6f9f8;border:1px solid var(--border);border-radius:10px;padding:18px;margin-top:16px}
.last-action h3{font-size:.9375rem;margin-bottom:8px}
.last-action p{font-size:.875rem;overflow-wrap:anywhere}
.quick-grid>.last-action{margin-top:0}
.quick-grid .phone-preview{min-height:180px;width:100%;max-width:310px;margin:0 auto}
.template-toolbar{margin-bottom:16px}
.template-toolbar .field{margin-bottom:3px}
.sms-cost{line-height:1.9;gap:10px;flex-wrap:wrap}
.seat-consent{display:flex;gap:9px;align-items:start;font-size:.875rem;margin-top:18px;line-height:1.8}
.seat-consent input{flex:0 0 18px;margin-top:4px}
.pagination{gap:10px;white-space:nowrap}
.inbox-list .card-foot{flex-wrap:wrap}
@media(min-width:761px) and (max-width:1200px){:root{--sidebar:258px}.content{padding-inline:22px}.topbar{padding-inline:22px}.search-trigger{min-width:44px}.search-trigger span,.search-trigger kbd{display:none}}
@media(max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{width:282px;max-width:88vw}.topbar .top-actions{gap:3px}.topbar .demo-tag{display:none}.topbar .search-trigger{min-width:38px;width:38px;padding:8px;border-color:transparent}.account-ring{width:39px;height:39px;flex-basis:39px}.tabs{padding-inline:12px;gap:8px}.tab-pair .tab{padding-inline:4px;font-size:.875rem}.tab-settings.icon-btn{min-width:34px;min-height:40px;width:34px;height:40px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-link .stat-top{font-size:.8125rem;line-height:1.8}.metric-link .stat-value{font-size:1.35rem;overflow-wrap:anywhere}.metric-link .stat-bottom{font-size:.75rem;min-height:40px}.metric-link .stat-icon{display:none}.quick-grid{grid-template-columns:1fr;gap:16px}.quick-grid>.last-action{order:-1}.quick-grid .phone-preview{min-height:140px}.card-foot{flex-wrap:wrap;gap:14px}.search-field input:not([type=checkbox]):not([type=radio]){font-size:16px}.quick-person{padding-bottom:16px}}

.account-ring{outline:1px solid var(--credit-color);outline-offset:-1px}
.stats-overflow{display:none}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.catalog-card{padding:22px;display:flex;flex-direction:column;position:relative}
.catalog-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.catalog-card-top h2{font-size:1.08rem;overflow-wrap:anywhere}
.catalog-card-top>div{min-width:0}
.catalog-cover{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:22px;min-height:100px;align-items:center}
.catalog-cover .product-art{height:105px;border-radius:9px;width:100%;min-width:0}
.catalog-cover .product-art svg{width:95%;height:95%}
.catalog-description{color:var(--muted);font-size:.875rem;margin:17px 0 12px;line-height:1.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:52px;overflow-wrap:anywhere}
.catalog-address{font-size:.8125rem;background:#f5f8f7;border-radius:8px;padding:10px 12px;overflow-wrap:anywhere;color:#435f56}
.catalog-card-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.75rem;padding:17px 0}
.catalog-card-foot{border-top:1px solid var(--border);padding-top:16px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.overflow-menu{position:relative;flex-shrink:0}
.overflow-menu>summary{list-style:none;cursor:pointer;border:1px solid var(--border);border-radius:8px}
.overflow-menu>summary::-webkit-details-marker{display:none}
.overflow-options{position:absolute;inset-inline-end:0;top:calc(100% + 6px);width:220px;max-width:75vw;background:white;border:1px solid var(--border);border-radius:11px;padding:6px;box-shadow:0 8px 28px #17382b20;z-index:15;display:flex;flex-direction:column;gap:2px}
.overflow-options .btn{justify-content:flex-start;width:100%;min-height:42px}
.catalog-picker{padding:18px;background:#f8faf9;border:1px solid var(--border);border-radius:10px}
.catalog-picker-list{max-height:285px;overflow:auto;scrollbar-width:thin}
.catalog-product-option{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid var(--border);cursor:pointer}
.catalog-product-option>input{flex-shrink:0}
.catalog-product-option strong{font-size:.875rem;display:block}
.catalog-product-option small{font-size:.75rem;display:block;margin-top:4px}
.catalog-product-option .product-thumb{width:44px;height:44px;flex-shrink:0}
.catalog-order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:8px 0;font-size:.875rem}
.loyalty-explanation{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}
.loyalty-explanation>span{background:var(--primary-soft);color:var(--primary-dark);padding:10px 14px;border-radius:9px;font-size:.875rem}
.loyalty-explanation>.icon{width:17px;color:var(--muted)}
.loyalty-result{text-align:end;max-width:155px}
.loyalty-result p{margin-top:6px}
.nav-scroll{overflow-anchor:none;scroll-behavior:auto}
@media(max-width:1200px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.stats:not(.stats-expanded)>.stat:nth-child(n+3){display:none}.stats-overflow{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:100%;margin:-8px 0 20px;background:transparent;border:1px solid var(--border);border-radius:9px;color:var(--primary);font-size:.8125rem}.stats-overflow[aria-expanded=true]>.icon{transform:rotate(180deg)}.stats-overflow>.icon{width:16px;height:16px}.catalog-grid{grid-template-columns:1fr;gap:16px}.catalog-card{padding:18px}.catalog-card-meta{font-size:.8125rem}.catalog-cover .product-art{height:95px}.catalog-order-row{flex-wrap:wrap;gap:4px}.catalog-picker{padding:12px}.catalog-product-option{gap:8px}.loyalty-explanation{gap:8px}.loyalty-explanation>span{padding:8px 10px;font-size:.8125rem}.loyalty-explanation>.icon{width:14px}}
.nav-section+.nav-section{margin-top:5px}
.nav-parent{display:flex;align-items:center;gap:2px;border-radius:9px;margin:3px 0}
.nav-parent>.nav-item{flex:1;min-width:0;margin:0}
.nav-parent>.nav-expand{flex:0 0 36px;width:36px;min-width:36px;min-height:44px;height:44px;color:var(--muted)}
.nav-expand .icon{width:16px;height:16px;transition:transform .15s}
.nav-expand[aria-expanded=true] .icon{transform:rotate(180deg)}
.branch-active>.nav-parent{background:var(--primary-soft)}
.branch-active>.nav-parent>.nav-item.active{background:transparent}
.branch-active>.nav-parent>.nav-expand{color:var(--primary)}
.nav-children{margin:5px 25px 9px 3px;padding-inline-start:10px;border-inline-start:1px solid #dfe9e5}
.nav-children[hidden]{display:none}
.nav-children .nav-subitem{min-height:42px;padding:8px 10px;gap:9px;font-size:.875rem}
.nav-subitem>.icon{width:17px;height:17px}
.followup-sections{display:inline-flex;align-items:stretch;gap:5px;max-width:100%;padding:5px;background:white;border:1px solid var(--border);border-radius:11px;margin-bottom:22px}
.followup-sections>a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 14px;border-radius:7px;font-size:.875rem;color:var(--muted)}
.followup-sections>a:hover{background:var(--bg)}
.followup-sections>a.active{background:var(--primary-soft);color:var(--primary);font-weight:700}
.followup-sections .icon{width:18px;height:18px}
@media(max-width:760px){.followup-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-bottom:18px;gap:3px}.followup-sections>a{font-size:.8125rem;padding:8px 7px;gap:5px;min-height:46px}.followup-sections .icon{width:16px;height:16px}.followup-sections .tab-count{min-width:21px;padding-inline:5px}.nav-children .nav-subitem{min-height:44px}.mobile-nav a{min-width:56px}}
