@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/static/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2')}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;font-synthesis:none;color:#172033;background:#fff;--blue:#3157ff;--blue-soft:#edf1ff;--muted:#647086;--line:#e6eaf1;--white:#fff;--amber:#8a5b10;--amber-soft:#fff7e5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue)}[hidden]{display:none!important}a{color:var(--blue)}.icon{width:20px;height:20px;fill:currentColor;stroke:none;flex-shrink:0;display:inline-block;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:23px;line-height:1.35;font-weight:650;letter-spacing:-.5px}h2{font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.25px}h3{font-size:14px;line-height:1.5;font-weight:600}strong{font-weight:600}small,.small{font-size:12px}.muted{color:var(--muted)}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.subline{font-size:13px;color:var(--muted);line-height:1.6;margin-top:5px}.stack{display:grid;gap:12px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.gap-6{gap:6px}.space-top{margin-top:18px}.eyebrow{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:600}.boot-state{padding:60px;color:var(--muted)}
.app-shell{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:100dvh}.sidebar{background:#f7f8fc;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 12px 20px;gap:29px;position:sticky;top:0;height:100dvh}.brand{padding:0 10px;font-size:25px;font-weight:800;letter-spacing:.8px;line-height:1.1;color:#172033}.brand span{display:block;font-size:10px;font-weight:600;letter-spacing:1.6px;color:#677289;margin-top:8px}.nav-group{display:grid;gap:6px}.nav-button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:7px;padding:11px 10px;min-height:43px;text-align:left;font-size:12px;line-height:1.4;white-space:nowrap;color:#465166}.nav-button .icon{width:18px;height:18px}.nav-button:hover{background:#edf0f7}.nav-button[aria-current=page]{background:#e7ecff;color:#2548df;font-weight:600}.nav-count{margin-left:auto;font-size:11px;font-weight:600;background:#eef0f6;min-width:18px;padding:1px 4px;border-radius:4px;text-align:center;color:#465166}.nav-button[aria-current=page] .nav-count{background:#d9e2ff;color:#2548df}.sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:10px;padding:8px 3px;font-size:12px}.sidebar-footer>div{display:grid;gap:4px}.sidebar-footer>div span{font-size:11px;color:var(--muted)}.sidebar-footer>.muted{margin-left:auto}.sidebar-footer .icon{width:14px;height:14px}.avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;flex-shrink:0;background:#e8efff;color:#2c60be;font-size:12px;font-weight:650}.avatar.staff{width:34px;height:34px}.page-shell{min-width:0}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:#344157}.breadcrumb>span{color:#a4adbd}.topbar-controls{display:flex;align-items:center;gap:16px;font-size:12px;color:#59657c}.demo-label{font-size:11px}.header-date{padding-left:16px;border-left:1px solid var(--line);white-space:nowrap}#demo-user{max-width:160px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#344157;padding:6px 9px;font-size:12px}.reset-button{border:0;background:transparent;color:#59657c;font-size:11px;padding:6px 0}.reset-button:hover{color:var(--blue)}.content{padding:28px;max-width:1800px;margin:0 auto}.focus-content{padding:0;max-width:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:40px;border:1px solid #dce2ed;border-radius:7px;background:#fff;font-size:13px;font-weight:550;line-height:1.4}.btn:hover:not(:disabled){background:#f7f8fc;border-color:#c8d2e5}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover:not(:disabled){background:#2547e5;border-color:#2547e5}.btn-block{width:100%}.btn-icon{padding:8px}.btn-soft{background:var(--blue-soft);color:#3157df;border-color:#dde4ff}.link-button{border:0;background:transparent;padding:0;color:var(--blue);text-align:left;line-height:1.5}.link-button:hover{text-decoration:underline;text-underline-offset:3px}.link-button .icon{width:16px;height:16px}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e9ff;border-radius:20px;padding:4px 9px;font-size:11px;line-height:1.3;font-weight:550;white-space:nowrap;background:#edf3ff;color:#3264c4}.pill.amber{color:var(--amber);background:var(--amber-soft);border-color:#faebc8}.pill.success{color:#23744d;background:#edf8f1;border-color:#dcefe3}.pill.neutral{background:#f5f6f9;color:#647086;border-color:var(--line)}.field{display:grid;gap:7px;font-size:12px;font-weight:500;color:#465268}.input,.select,.textarea{border:1px solid #dce2ed;border-radius:7px;padding:10px 11px;background:#fff;color:#25314a;width:100%;min-width:0;line-height:1.5}.input::placeholder,.textarea::placeholder{color:#647086}.textarea{resize:vertical;min-height:92px}.search-wrap{position:relative}.search-wrap .icon{position:absolute;top:10px;left:10px;width:17px;height:17px;color:#7d879c}.search-wrap .input{padding:9px 10px 9px 34px;font-size:12px;line-height:1.4}.empty-state{text-align:center;padding:40px 20px;line-height:1.7;color:var(--muted);font-size:13px}
.inbox-grid{display:grid;grid-template-columns:300px minmax(0,1fr) 380px;height:calc(100dvh - 64px);min-height:650px}.conversation-panel{border-right:1px solid var(--line);min-width:0;display:flex;flex-direction:column;overflow:hidden}.list-toolbar{padding:20px 16px 12px;display:grid;gap:14px;border-bottom:1px solid var(--line)}.queue-heading{display:flex;gap:8px;align-items:center}.queue-heading h1{font-size:21px;letter-spacing:-.45px}.queue-heading>span{font-size:12px;color:var(--muted)}.filters{display:flex;gap:10px}.filter-button{display:flex;align-items:center;gap:4px;background:transparent;border:0;border-bottom:2px solid transparent;padding:0 0 7px;font-size:10px;color:#677289;white-space:nowrap}.filter-button[aria-pressed=true]{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}.filter-button>span{font-size:9px}.channel-select{width:100%;border:0;background:#fff;padding:0;color:#647086;font-size:11px}.conversation-list{overflow-y:auto;flex:1}.conversation{display:block;width:100%;border:0;border-bottom:1px solid var(--line);border-left:3px solid transparent;text-align:left;background:#fff;padding:15px 14px 14px 13px;min-height:112px}.conversation:hover{background:#f8faff}.conversation[aria-pressed=true]{background:#edf1ff;border-left-color:var(--blue)}.conversation-top{display:flex;align-items:center;gap:9px;min-width:0}.conversation-top strong{font-size:12px;line-height:1.5;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-top time{margin-left:auto;font-size:10px;color:#647086;font-variant-numeric:tabular-nums}.channel-mark{width:19px;height:19px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#7b4bb7}.channel-mark .icon{width:19px;height:19px}.channel-mark.vk{color:#087bff}.channel-mark.telegram{color:#179fc8}.channel-mark.instagram{color:#d1498a}.channel-mark.whatsapp{color:#2c9d69}.channel-mark.email{color:#687a9b}.conversation-preview{margin:5px 0 6px 28px;font-size:12px;line-height:1.45;color:#4e5c75;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.conversation-bottom{display:flex;align-items:center;gap:6px;margin-left:28px;font-size:10px;color:#6a768c}.conversation-bottom .icon{width:12px;height:12px}.tiny-status{margin-left:auto;color:#287454;font-size:9px}.tiny-status.waiting{color:#8a5b10}.chat-panel{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;min-height:96px;border-bottom:1px solid var(--line)}.chat-person{display:flex;gap:11px;align-items:center;min-width:0}.chat-person h2{font-size:16px;white-space:nowrap}.chat-person p{font-size:11px;color:#657188;margin-top:5px}.assignee{font-size:11px;color:#677289;flex-shrink:0}.assignee>span{display:block;margin-bottom:5px}.assignee-button,.assignee-value{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:5px;font-size:11px;color:#344157;padding:5px 7px;min-width:100px;justify-content:flex-start}.assignee-value{border-color:transparent;padding-left:0}.assignee .icon{width:14px;height:14px}.assignee-button .icon:last-child{margin-left:auto;width:11px;height:11px}.chat-messages{padding:19px 20px 26px;flex:1;min-height:220px;overflow:auto}.day-divider{text-align:center;font-size:11px;color:#647086;margin:3px 0 30px}.message-row{display:flex;gap:10px;margin-bottom:26px;align-items:flex-start}.message-avatar{width:30px;height:30px;font-size:10px;margin-top:2px}.message-group{max-width:calc(100% - 40px);min-width:0}.message-author{font-size:11px;font-weight:550;display:block;margin-bottom:5px}.message{background:#f2f4f8;border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.55;color:#26324a;min-width:100px;overflow-wrap:anywhere}.message p{white-space:pre-wrap}.message time{display:block;text-align:right;font-size:10px;color:#5d6980;margin-top:4px}.outbound{flex-direction:row-reverse}.outbound .message{background:#e9eeff}.outbound .message-author{text-align:left}.message-note{background:#fff8e6;border:1px solid #f4e7c8;border-radius:8px;padding:12px 14px;margin:20px 0;color:#66502b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.note-title{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:600;color:#8a681f}.note-title .icon{width:13px;height:13px}.note-author{font-size:11px;font-weight:600;margin:6px 0 3px}.message-note time{display:block;text-align:right;font-size:10px;color:#8a743e}.message-event{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;text-align:center;margin:18px 5px;color:#6c7891;font-size:10px;line-height:1.6}.message-event .icon{width:13px;height:13px}.message-event time{font-size:9px}.composer{border-top:1px solid var(--line);padding:0 16px 16px;background:#fff}.compose-tabs{display:flex;align-items:center;gap:19px;margin-bottom:10px}.compose-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:13px 3px 10px;font-size:11px;color:#6d7890;line-height:1.3}.compose-tab[aria-pressed=true]{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}.composer .textarea{font-size:12px;min-height:96px;resize:none}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:11px}.composer-actions>.small{font-size:10px;color:#647086;max-width:65%;line-height:1.5}.composer-actions .btn{min-height:34px;font-size:12px;padding:7px 12px}.composer-actions .icon{width:16px;height:16px}.composer-locked{font-size:11px;line-height:1.5;color:#6c7890;margin:0 0 10px}.detail-panel{min-width:0;border-left:1px solid var(--line);padding:24px 20px;overflow:auto}.context-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.context-heading h2{font-size:17px;white-space:nowrap}.context-action{margin:22px 0 25px}.context-action .btn{min-height:44px}.context-section{border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:21px}.context-section summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:600;cursor:pointer}.context-section summary::-webkit-details-marker{display:none}.context-section summary .icon{width:13px;height:13px;color:#647086;transition:transform .1s}.context-section[open] summary .icon{transform:rotate(180deg)}.context-product{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-top:20px;font-size:12px}.context-product.has-photo{grid-template-columns:80px minmax(0,1fr) auto}.product-photo{width:80px;height:95px;border-radius:6px;object-fit:cover;background:#f3f4f5}.context-product>div{min-width:0}.context-product>div strong{display:block;font-size:12px;line-height:1.45}.context-product>div span{display:block;font-size:11px;color:#647086;margin-top:7px}.context-product>.money{font-size:12px}.contact-line{display:flex;gap:10px;align-items:center;font-size:12px;color:#47536b;line-height:1.6;margin-top:15px;overflow-wrap:anywhere}.contact-line .icon{width:17px;height:17px;color:#6b7891}.context-section .detail-value{margin-top:16px}.context-footnote{display:flex;gap:10px;align-items:flex-start;color:#69758d;font-size:12px;line-height:1.6;margin-top:24px}.context-footnote .icon{width:17px;height:17px;margin-top:2px}.ownership-note{display:flex;gap:9px;align-items:flex-start;background:#f4f6fc;border:1px solid var(--line);border-radius:7px;padding:12px;font-size:12px;color:#5e6d88;line-height:1.6}.ownership-note .icon{width:16px;height:16px;margin-top:2px}.info-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-top:16px;color:#657188}.info-line strong{font-size:11px;color:#344157}.detail-value{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.detail-label{font-size:12px;color:#647086;margin-bottom:8px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.heading-line{display:flex;gap:10px;align-items:center}.heading-count{font-size:12px;padding:2px 7px;border:1px solid var(--line);border-radius:6px;color:#647086}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 18px}.table-toolbar .search-wrap{width:320px;max-width:100%}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.data-table th{background:#f8f9fc;font-weight:500;color:#647086;padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--line);font-size:11px}.data-table td{padding:19px 16px;vertical-align:middle;border-bottom:1px solid var(--line);line-height:1.6}.data-table tr:last-child td{border-bottom:0}.data-table .subline{font-size:11px}.data-table td:nth-child(2){min-width:165px}.data-table .pill{font-size:10px}.order-number{white-space:nowrap;font-weight:600}.thread-link .icon{width:19px;height:19px}.table-foot{color:#647086;font-size:11px;line-height:1.7;margin:15px 0}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:24px}.order-main,.order-side{padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{font-size:16px}.section-divider{border:0;border-top:1px solid var(--line);margin:24px 0}.order-statuses{display:flex;gap:9px;flex-wrap:wrap}.totals{margin:25px 0 0 auto;max-width:320px;display:grid;gap:12px;font-size:13px}.total-line{display:flex;align-items:center;justify-content:space-between;gap:15px}.total-line.total{border-top:1px solid var(--line);padding-top:14px;font-size:16px;font-weight:600}.customer-heading{display:flex;align-items:center;gap:10px;margin:18px 0}.integration-note{background:#f5f7fc;border-radius:7px;padding:12px;font-size:11px;color:#67748b;line-height:1.7;margin-top:24px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.integration-card{padding:24px}.integration-card h2{font-size:17px}.integration-card p{margin-top:18px}.back-button{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-bottom:18px}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(600px,calc(100% - 32px));background:#243149;color:#fff;padding:13px 18px;border-radius:8px;font-size:13px;line-height:1.6;box-shadow:0 6px 24px #17203320;z-index:1000}dialog{border:1px solid var(--line);border-radius:12px;padding:0;width:min(640px,calc(100% - 32px));color:#172033;box-shadow:0 20px 80px #17203326;max-height:90dvh}dialog::backdrop{background:#14213d66}.dialog-header{padding:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:21px}.dialog-header .subline{font-size:12px}.dialog-content{padding:22px 24px;display:grid;gap:18px;max-height:62dvh;overflow:auto}.dialog-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbfe}.fields-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.order-line{display:grid;grid-template-columns:minmax(0,1fr) 70px 35px;gap:9px;align-items:end}.order-line .btn{padding:10px 6px}.form-label-note{font-size:11px;line-height:1.65;color:#67748b}.dialog-note{padding:12px 14px;background:#f1f4ff;border:1px solid #e3e9ff;border-radius:7px;font-size:12px;line-height:1.6;color:#53678d}.dialog-totals{display:grid;gap:9px;padding-top:16px;border-top:1px solid var(--line);font-size:13px}.error-box{padding:12px;border:1px solid #f4c7cc;background:#fff3f4;color:#a92a3b;border-radius:7px;font-size:12px;line-height:1.5}.warning-label{font-size:11px;color:#8a5b10}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1320px){.app-shell{grid-template-columns:176px minmax(0,1fr)}.sidebar{padding-left:8px;padding-right:8px}.nav-button{font-size:11px;gap:8px}.inbox-grid{grid-template-columns:270px minmax(0,1fr) 310px}.detail-panel{padding:22px 16px}.context-product.has-photo{grid-template-columns:65px minmax(0,1fr);gap:10px}.product-photo{width:65px;height:80px;grid-row:span 2}.context-product>.money{grid-column:2}.context-heading{flex-wrap:wrap}.chat-heading{padding:18px 16px}.chat-person h2{font-size:14px}.chat-person .avatar{width:32px;height:32px}.assignee-button,.assignee-value{min-width:75px}.chat-messages{padding:18px 16px}.topbar{padding:0 20px}.demo-label{display:none}}
@media(max-width:1120px){.inbox-grid{height:auto;min-height:calc(100dvh - 64px);grid-template-columns:270px minmax(0,1fr)}.conversation-panel{grid-row:span 2;max-height:calc(100dvh - 64px);position:sticky;top:0}.chat-panel{min-height:calc(100dvh - 64px);height:850px;max-height:calc(100dvh - 64px)}.detail-panel{grid-column:2;border-top:1px solid var(--line);border-left:0;overflow:visible}.context-product.has-photo{grid-template-columns:80px minmax(0,1fr) auto}.product-photo{width:80px;height:95px;grid-row:auto}.context-product>.money{grid-column:auto}.context-heading{flex-wrap:nowrap}.context-section{max-width:600px}.order-layout{grid-template-columns:1fr}.topbar{padding:0 16px}.topbar-controls{gap:12px}.breadcrumb{font-size:11px}.header-date{display:none}.content:not(.focus-content){padding:24px}.integration-grid{grid-template-columns:1fr}}
@media(max-width:780px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:16px 14px 10px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;justify-content:space-between;font-size:21px;padding:0 2px}.brand span{margin:0;font-size:9px;letter-spacing:1.5px}.nav-group{display:flex;gap:5px;overflow-x:auto;padding-bottom:3px}.nav-button{width:auto;flex-shrink:0;font-size:11px;padding:10px 9px;min-height:40px;gap:7px}.nav-button .icon{width:17px;height:17px}.nav-count{display:none}.sidebar-footer{display:none}.topbar{height:54px;padding:0 15px;gap:8px}.breadcrumb{display:none}.topbar-controls{width:100%;justify-content:space-between;gap:9px}.demo-label{display:block;font-size:9px;max-width:85px;line-height:1.5}#demo-user{font-size:11px;max-width:145px;padding:7px}.reset-button{font-size:10px}.inbox-grid{display:block;height:auto;min-height:0}.conversation-panel{position:static;max-height:360px;border-right:0;border-bottom:1px solid var(--line)}.list-toolbar{padding:16px 16px 12px;gap:11px}.queue-heading h1{font-size:20px}.filters{gap:20px}.filter-button{font-size:11px}.channel-select{font-size:12px}.conversation-list{min-height:150px}.conversation{min-height:87px;padding:12px 16px}.conversation-top strong{font-size:13px}.conversation-preview{font-size:12px;-webkit-line-clamp:1}.conversation-bottom{font-size:10px}.chat-panel{height:680px;max-height:none;min-height:650px}.chat-heading{padding:17px 16px;min-height:88px}.chat-person{gap:8px}.chat-person h2{font-size:14px;white-space:normal}.chat-person p{font-size:11px}.assignee{font-size:10px}.assignee-button{font-size:11px;min-width:76px}.chat-messages{padding:20px 14px}.message{font-size:13px}.message-row{gap:8px;margin-bottom:24px}.message-group{max-width:calc(100% - 38px)}.message-author{font-size:11px}.composer{padding:0 14px 14px}.composer .textarea{font-size:16px}.composer-actions>.small{font-size:9px;max-width:57%}.composer-actions .btn{font-size:12px}.detail-panel{padding:22px 18px}.context-product.has-photo{grid-template-columns:80px minmax(0,1fr) auto}.context-heading h2{font-size:17px}.context-section{padding-bottom:20px}.contact-line{font-size:13px}.content:not(.focus-content){padding:22px 16px}.page-heading h1{font-size:23px}.table-toolbar{flex-wrap:wrap;margin-top:20px}.table-toolbar .search-wrap{width:100%}.data-table th,.data-table td{padding:14px}.order-main,.order-side{padding:18px}.fields-two{grid-template-columns:1fr}.dialog-header{padding:20px}.dialog-content{padding:20px;max-height:58dvh}.dialog-footer{padding:15px 20px;flex-wrap:wrap}.dialog-header h2{font-size:19px}.order-line{grid-template-columns:minmax(0,1fr) 57px 30px;gap:7px}.order-line .select{font-size:12px;padding-left:8px}.input,.select,.textarea{font-size:16px}.toast{font-size:12px;bottom:16px}}
@media(prefers-reduced-motion:no-preference){.btn,.nav-button,.conversation{transition:background .12s,border-color .12s}}
/* Readable working density, aligned with the chosen inbox reference. */
@media(min-width:1321px){.nav-button{font-size:13px}.conversation-top strong{font-size:13px}.conversation-preview{font-size:13px}.conversation-bottom{font-size:11px}.filter-button{font-size:11px}.chat-person h2{font-size:17px}.message{font-size:14px}.message-author{font-size:12px}.context-section summary{font-size:14px}.context-product>div strong,.context-product>.money{font-size:13px}.contact-line{font-size:13px}.context-footnote{font-size:13px}}
.message-note{font-size:13px}.note-title,.note-author{font-size:12px}
@media(min-width:1321px){.context-heading h2{font-size:19px}.context-action .btn{font-size:15px}.context-section summary{font-size:15px}.context-product>div strong,.context-product>.money,.contact-line{font-size:14px}}
/* Stage 2: conversation lifecycle and optional product interest. */
.new-incoming{margin-left:auto;display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:#647086}.new-incoming:hover{color:var(--blue);background:var(--blue-soft)}.new-incoming .icon{width:16px;height:16px}.queue-heading h1{min-width:0}.chat-heading-tools{display:grid;gap:7px;justify-items:end;flex-shrink:0}.demo-incoming-button{border:0;background:transparent;color:#647086;font-size:10px;padding:0;line-height:1.5}.demo-incoming-button:hover{color:var(--blue)}.finish-button{margin-top:9px;font-size:12px!important;min-height:36px!important;background:#fff;color:#536178}.finish-button .icon{width:16px;height:16px}.no-product{padding:18px 0 4px;color:#647086;font-size:13px;line-height:1.6}.context-edit{display:inline-block;margin-top:16px;font-size:12px}.request-note{font-size:13px;line-height:1.65;color:#465268;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.product-choices{padding:0;border:0;min-width:0}.product-choices legend{padding:0;margin-bottom:12px;font-size:12px;font-weight:600;color:#465268}.product-choice{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}.product-choice input{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}.product-choice strong{display:block;font-size:13px}.product-choice small{display:block;margin-top:5px;font-size:12px;color:#647086}.source-context{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#f8f9fc;color:#647086;font-size:11px;line-height:1.6;margin:0 0 23px}.source-context .icon{width:15px;height:15px;margin-top:1px}.message-context{font-size:10px;color:#5d6980;line-height:1.5;margin-bottom:5px}.context-product+.context-product{padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:780px){.demo-incoming-button{font-size:9px}.chat-heading-tools{gap:5px}.product-choice{min-height:54px}.new-incoming{width:32px;height:32px}}
/* Keep longer workspace labels inside the fixed navigation rail. */
.sidebar,.nav-group,.nav-button{min-width:0}.nav-button{font-size:12px;gap:8px}.nav-button>span:not(.nav-count){min-width:0;white-space:normal}.nav-count{flex-shrink:0}.data-table .order-number+.subline{white-space:nowrap}
@media(max-width:780px){.nav-button{font-size:11px}.nav-button>span:not(.nav-count){white-space:nowrap}}
/* Employees and sign-in reuse the selected CRM palette and form controls. */
.auth-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;background:#f7f8fc}.auth-card{width:100%;max-width:440px;padding:36px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px #17203306}.auth-brand{padding:0;margin-bottom:36px}.auth-brand span{font-size:9px}.auth-card h1{font-size:25px;line-height:1.35}.auth-description{font-size:13px;line-height:1.7;color:#647086;margin:12px 0 26px}.auth-form{display:grid;gap:18px}.auth-form .field{font-size:12px}.auth-form .input{min-height:44px}.auth-form>.btn{margin-top:5px;min-height:44px}.auth-footer{margin-top:26px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;color:#647086;line-height:1.7}.auth-local-label{margin-top:20px;font-size:11px;color:#647086}.auth-secondary{display:block;margin:22px auto 0;font-size:12px}.account-button{border:0;background:transparent;color:#536178;padding:7px 0;font-size:12px;white-space:nowrap}.account-button:hover{color:var(--blue)}.account-name{font-size:12px;color:#344157;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-actions{display:grid;gap:8px;justify-items:start;font-size:12px;white-space:nowrap}.employees-table td:first-child{min-width:230px}.roles-guide{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}.roles-guide h2{font-size:14px}.roles-guide p{font-size:12px;line-height:1.75;color:#647086;margin-top:9px}.access-checkbox{display:flex;align-items:center;gap:10px;font-size:13px;cursor:pointer;min-height:38px}.access-checkbox input{width:17px;height:17px;accent-color:var(--blue)}.audit-time{white-space:nowrap}.sidebar-footer>div strong{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer>div span{font-size:10px;line-height:1.4}
@media(max-width:1120px){.roles-guide{grid-template-columns:1fr}.account-name{max-width:120px}.auth-card{padding:30px}}
@media(max-width:780px){.auth-shell{justify-content:flex-start;padding:24px 16px}.auth-card{padding:26px 22px}.auth-card h1{font-size:23px}.auth-brand{margin-bottom:30px}.auth-form .input{font-size:16px}.auth-local-label{font-size:10px}.account-name{font-size:11px;max-width:135px}.account-button{font-size:11px}.topbar-controls .demo-label{display:none}.roles-guide{gap:20px}.employee-actions{font-size:12px}}
/* Catalog follows the existing white surfaces and cobalt actions. */
.photo-placeholder{display:flex!important;align-items:center;justify-content:center;text-align:center;background:#f2f4f8;color:#7b8496;font-size:9px;line-height:1.4;flex-shrink:0}.catalog-summary{display:flex;gap:42px;align-items:center;padding:22px 24px;margin-bottom:20px}.catalog-summary>div>strong{display:block;font-size:27px;font-weight:600;letter-spacing:-.6px;margin-top:8px;font-variant-numeric:tabular-nums}.catalog-sync-info{margin-left:auto;text-align:right}.catalog-sync-info p{font-size:12px;color:#47546b;margin-top:8px}.catalog-sync-info small{display:block;font-size:11px;color:#647086;margin-top:5px}.catalog-toolbar{display:flex;align-items:center;gap:18px;padding:18px 22px;border-bottom:1px solid var(--line)}.catalog-toolbar .search-wrap{flex:1;max-width:430px}.catalog-toolbar .select{width:170px}.catalog-stock-filter{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#536178;font-size:12px}.catalog-stock-filter input{accent-color:var(--blue);width:16px;height:16px}.catalog-table{min-width:890px}.catalog-table th:first-child{width:33%}.catalog-table td{vertical-align:middle}.catalog-product-button{display:flex;align-items:center;gap:14px;border:0;background:transparent;color:inherit;text-align:left;padding:0;max-width:360px}.catalog-product-button:hover strong{color:var(--blue)}.catalog-product-button strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.catalog-product-button small{display:block;font-size:11px;color:#647086;margin-top:5px;overflow-wrap:anywhere}.catalog-photo{width:56px!important;height:70px!important;object-fit:contain!important;background:#f6f7fa;border-radius:6px;flex-shrink:0}.catalog-category{font-size:12px;color:#3e4c64}.catalog-sizes{display:flex;flex-wrap:wrap;gap:6px;max-width:320px}.size-stock{display:flex;gap:6px;align-items:center;border:1px solid #e3e7ee;border-radius:4px;padding:5px 7px;font-size:10px;color:#8791a2;background:#fafbfc;white-space:nowrap;font-variant-numeric:tabular-nums}.size-stock b{font-weight:550}.size-stock.available{background:#f2f8f5;border-color:#d9e9df;color:#27734f}.size-stock>span{border-left:1px solid #dfe5e7;padding-left:6px;min-width:15px;text-align:center}.catalog-quantity{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.catalog-quantity small{font-weight:400;font-size:10px;color:#7b8496;margin-left:4px}.catalog-notice{padding:12px 15px;background:#fff9eb;color:#815e26;border:1px solid #f0e4c9;border-radius:6px;font-size:12px;line-height:1.6;margin-bottom:16px}.catalog-empty{padding:40px!important;text-align:center;color:#647086}.catalog-detail{display:flex;align-items:center;gap:24px;margin-bottom:24px}.catalog-detail-photo{width:146px!important;height:178px!important;object-fit:contain!important;background:#f6f7fa;border-radius:8px;flex-shrink:0}.catalog-detail>div{min-width:0;font-size:13px;line-height:1.7}.catalog-detail .detail-label{margin-bottom:5px}.stock-positive{color:#27734f}.product-choice[hidden]{display:none}.product-choices .field{margin-top:16px}.context-product.has-photo>div{min-width:0}.context-product.has-photo>div strong{overflow-wrap:anywhere}
@media(max-width:800px){.catalog-summary{gap:20px;flex-wrap:wrap;padding:18px}.catalog-summary>div>strong{font-size:23px}.catalog-sync-info{flex-basis:100%;text-align:left;margin:0;padding-top:15px;border-top:1px solid var(--line)}.catalog-toolbar{flex-wrap:wrap;gap:12px;padding:16px}.catalog-toolbar .search-wrap{flex-basis:100%;max-width:none}.catalog-toolbar .select{flex:1;width:140px}.catalog-detail{gap:16px;align-items:flex-start}.catalog-detail-photo{width:100px!important;height:132px!important}.catalog-detail>div{font-size:12px}}

@media(max-width:600px){.data-table.catalog-detail-table{min-width:0;width:100%;table-layout:fixed}.data-table.catalog-detail-table th,.data-table.catalog-detail-table td{padding:12px 4px;font-size:11px}.data-table.catalog-detail-table th{white-space:normal;line-height:1.5}.data-table.catalog-detail-table th:first-child{width:16%}.data-table.catalog-detail-table th:last-child{width:24%}}
/* Category navigation mirrors the complete MoySklad folder hierarchy. */
.catalog-layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:20px;align-items:start}.catalog-category-panel{position:sticky;top:20px;min-width:0;overflow:hidden}.catalog-category-heading{padding:19px 16px 14px;border-bottom:1px solid var(--line)}.catalog-category-heading h2{font-size:14px;font-weight:600}.category-mobile-picker{display:none}.catalog-category-panel nav{padding:10px 8px 12px;max-height:calc(100dvh - 165px);overflow-y:auto}.category-roots,.category-children{list-style:none;margin:0;padding:0}.category-children{margin-left:15px;border-left:1px solid #e9edf4;padding-left:2px}.category-children[hidden]{display:none}.category-node{display:flex;align-items:center;border-radius:5px;margin-top:2px;min-width:0}.category-node:hover,.category-all:hover{background:#f5f7fb}.category-node.is-selected,.category-all.is-selected{background:var(--blue-soft);color:var(--blue)}.category-toggle,.category-spacer{display:flex;align-items:center;justify-content:center;width:26px;height:36px;flex-shrink:0}.category-toggle{border:0;background:transparent;color:#6a768a;border-radius:4px;padding:0}.category-toggle .icon{width:12px;height:12px;transition:transform .15s}.category-toggle[aria-expanded=false] .icon{transform:rotate(-90deg)}.category-choice,.category-all{display:flex;align-items:center;gap:8px;justify-content:space-between;flex:1;min-width:0;border:0;background:transparent;padding:10px 8px 10px 0;font-size:12px;line-height:1.45;color:inherit;text-align:left;border-radius:5px}.category-choice>span{overflow-wrap:anywhere}.category-choice small,.category-all small{font-size:10px;color:#7b879b;font-variant-numeric:tabular-nums;flex-shrink:0}.category-choice[aria-pressed=true]{font-weight:600}.category-choice[aria-pressed=true] small,.category-all[aria-pressed=true] small{color:var(--blue)}.category-all{width:100%;padding:11px 10px;margin-bottom:4px}.category-all.is-selected{font-weight:600}.catalog-results{min-width:0;overflow:hidden}.catalog-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 21px;border-bottom:1px solid var(--line)}.catalog-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;font-size:12px}.catalog-breadcrumbs button{border:0;background:transparent;color:#6a768a;padding:0;font:inherit;line-height:1.6;text-align:left;overflow-wrap:anywhere}.catalog-breadcrumbs button:hover{color:var(--blue)}.catalog-breadcrumbs button[aria-current]{color:#26334b;font-weight:600}.catalog-breadcrumbs>span{color:#bdc4d1}.catalog-result-count{font-size:11px;color:#748097;white-space:nowrap}.catalog-results .catalog-toolbar{justify-content:space-between}.catalog-results .catalog-table{min-width:840px}.category-choice:focus-visible,.category-toggle:focus-visible,.category-all:focus-visible,.catalog-breadcrumbs button:focus-visible,.category-mobile-picker:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:1000px){.catalog-layout{grid-template-columns:minmax(0,1fr);gap:14px}.catalog-category-panel{position:static}.catalog-category-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:0}.category-mobile-picker{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 10px;font-size:13px;color:#334158;max-width:75%;text-align:left}.category-mobile-picker .icon{width:12px;height:12px;flex-shrink:0}.category-mobile-picker span{overflow-wrap:anywhere}.catalog-category-panel nav{display:none;max-height:350px;border-top:1px solid var(--line);padding:10px 12px}.catalog-category-panel.mobile-open nav{display:block}.catalog-category-panel.mobile-open .category-mobile-picker .icon{transform:rotate(180deg)}.catalog-selection{padding:15px 16px;gap:10px}.category-choice,.category-all{font-size:13px}.category-toggle,.category-spacer{width:30px;height:40px}.category-children{margin-left:21px}.catalog-breadcrumbs{font-size:11px}.catalog-result-count{font-size:10px}}
.orders-sync-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin-bottom:20px}.orders-sync-panel>.btn{white-space:nowrap;flex-shrink:0}.orders-sync-panel .subline{margin:8px 0 5px}.orders-sync-panel .small{line-height:1.6}.orders-sync-issues{margin-top:12px;font-size:12px;line-height:1.6;color:#825b23}.orders-sync-issues summary{cursor:pointer}.orders-sync-issues p{margin-top:7px;max-width:750px}.sync-error{color:#9c463b;font-size:12px;line-height:1.6;margin-top:8px}.work-toolbar{justify-content:space-between;gap:20px;flex-wrap:wrap}.work-toolbar .search-wrap{flex:1;max-width:420px;min-width:220px}.work-scopes{display:flex;gap:6px}.work-scopes button{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px;font-size:12px;white-space:nowrap;color:#617087}.work-scopes button[aria-pressed=true]{color:var(--blue);background:var(--blue-soft);border-color:#dce3ff}.work-scopes span{font-size:10px;font-variant-numeric:tabular-nums}.order-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-source-comment{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.orders-sync-panel{flex-direction:column;align-items:stretch;padding:16px}.orders-sync-panel .row{flex-wrap:wrap}.orders-sync-panel .pill{font-size:10px}.work-toolbar{gap:12px}.work-toolbar .search-wrap{flex-basis:100%;max-width:none}.order-heading-actions{width:100%}.order-heading-actions .btn{flex:1;font-size:12px;white-space:normal;text-align:center}}

/* Order workplace: source-backed editing, product and buyer navigation. */
.order-product-link{display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit;width:100%;min-width:220px}
.order-product-link .product-photo{width:52px;height:64px;flex:0 0 52px;object-fit:cover;border-radius:6px}
.order-product-link small,.customer-card-link small{display:block;color:var(--muted,#647086);font-size:11px;margin-top:5px;line-height:1.5}
.order-product-link:hover strong,.customer-card-link:hover strong{text-decoration:underline;color:#3157ff}
.order-items-table th:first-child{width:55%}.order-items-table td:first-child{min-width:260px}
.customer-card-link{display:flex;gap:12px;align-items:center;text-align:left;background:none;border:0;padding:8px 0 16px;cursor:pointer;color:inherit;max-width:100%}
.customer-card-link strong{font-size:14px;overflow-wrap:anywhere}.customer-card-link span{min-width:0}
.payment-balance{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f7f8fc;padding:16px;border-radius:8px;margin-top:16px}
.payment-balance span,.payment-balance strong{display:block}.payment-balance span{font-size:12px;color:#647086;margin-bottom:7px}.payment-balance strong{font-size:17px}
.expected-payment{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eceef4}.expected-payment span{display:block;font-size:12px;color:#647086;margin-top:5px}.expected-payment button{flex-shrink:0}
.site-details summary{cursor:pointer;font-size:13px;font-weight:600}.site-details dl{font-size:12px;line-height:1.6;margin-top:14px}.site-details dt{color:#647086}.site-details dd{margin:0 0 10px}
.customer-overview{display:grid;gap:20px}.customer-overview>.panel{padding:24px}.customer-overview h2{margin-bottom:16px}.customer-order-row{display:flex;gap:20px;align-items:center;width:100%;border:0;border-bottom:1px solid #eceef4;background:none;padding:16px 0;text-align:left;cursor:pointer;color:inherit}.customer-order-row strong{color:#3157ff}.customer-order-row span:last-child{margin-left:auto;color:#647086}
.order-edit-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px}.edit-item-row{display:grid;grid-template-columns:46px minmax(150px,1fr) 70px 110px 90px 36px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #eceef4}.edit-item-row .product-photo{width:46px;height:58px}.edit-item-row .field{margin:0}.edit-item-name{font-size:13px;overflow-wrap:anywhere}.edit-item-name small{display:block;font-size:11px;color:#647086;margin-top:5px}.edit-item-row input{padding:9px}.edit-add-product{margin-top:24px;background:#f7f8fc;padding:18px;border-radius:8px}.edit-discount-all{display:flex;align-items:end;gap:12px;margin:20px 0}.edit-discount-all .field{margin:0;max-width:240px}.editor-total{display:flex;justify-content:space-between;gap:16px;background:#f7f8fc;padding:16px;margin-top:20px;border-radius:8px}.editor-total span{font-size:12px;color:#647086}
.delivery-results{display:grid;gap:6px;margin:12px 0}.delivery-results button{display:block;width:100%;padding:12px;border:1px solid #e4e7ef;border-radius:7px;background:white;text-align:left;color:inherit;cursor:pointer}.delivery-results button:hover{border-color:#3157ff;background:#f4f6ff}.delivery-results button span{display:block;color:#647086;font-size:12px;margin-top:5px}.point-results{max-height:240px;overflow:auto}.delivery-selected{padding:12px;background:#eef3ff;border:1px solid #d8e1ff;border-radius:8px;font-size:13px}
@media(max-width:680px){.edit-item-row{grid-template-columns:40px 1fr 36px;gap:10px}.edit-item-row .product-photo{grid-row:1;width:40px;height:50px}.edit-item-name{grid-column:2}.edit-item-row>.btn{grid-column:3;grid-row:1}.edit-item-row>.field{grid-row:2}.edit-item-row>.field:nth-of-type(1){grid-column:1}.edit-item-row>.field:nth-of-type(2){grid-column:2}.edit-item-row>.field:nth-of-type(3){grid-column:1/-1;grid-row:3}.editor-total,.expected-payment{align-items:flex-start;flex-direction:column}.payment-balance strong{font-size:15px}.customer-order-row{flex-wrap:wrap}.customer-order-row span:last-child{margin-left:0}}
.edit-add-product .field{margin-bottom:12px}
@media(max-width:680px){.edit-item-row{grid-template-columns:64px minmax(0,1fr) 36px}}
.manual-section{padding:8px 0 24px;margin-bottom:16px;border-bottom:1px solid #eceef4}.manual-section h3{font-size:17px;margin-bottom:18px}.manual-section .field{margin-bottom:14px}.manual-section .edit-item-row .field{margin-bottom:0}.manual-pending{padding:18px 22px;margin-bottom:20px;background:#fffaf1}.manual-pending h3{font-size:14px;margin-bottom:10px}.manual-pending>div{display:flex;align-items:center;gap:14px;padding:8px 0;font-size:12px}.manual-pending>div>span{flex:1}.manual-section input[readonly]{background:#f7f8fc;color:#647086}
@media(max-width:680px){.manual-pending>div{align-items:flex-start;flex-wrap:wrap}.manual-section h3{font-size:16px}}
.manual-buyer-grid{display:grid;grid-template-columns:1.2fr .9fr 1.2fr;gap:16px}@media(max-width:680px){.manual-buyer-grid{grid-template-columns:1fr}}

.catalog-path { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.catalog-path .catalog-selection { flex: 1; min-width: 0; border-bottom: 0; }
.catalog-tree-button { margin-left: 16px; min-height: 30px; padding: 5px 9px; font-size: 11px; white-space: nowrap; }
.catalog-layout.catalog-tree-collapsed { grid-template-columns: minmax(0, 1fr); }
.catalog-tree-collapsed .catalog-category-panel { display: none; }
.catalog-market-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 10px 22px; border-bottom: 1px solid var(--line); }
.catalog-market-filters .select { width: auto; min-height: 32px; padding: 5px 10px; font-size: 12px; }
.catalog-market-filters .link-button { margin-left: auto; }
.catalog-sales-status { padding: 10px 22px; background: #f7f8fc; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.catalog-results .catalog-sales-table { min-width: 740px; }
.catalog-sales-table th:first-child { width: 31%; }
.catalog-sales-table th, .catalog-sales-table td { padding-left: 12px; padding-right: 12px; }
.catalog-sales-table .catalog-photo { width: 43px !important; height: 53px !important; }
.catalog-sales-table .catalog-product-button { gap: 10px; }
.catalog-sales-table .catalog-quantity { white-space: nowrap; }
.catalog-sales-table .catalog-quantity p { font-size: 11px; font-weight: 400; margin-top: 3px; }
.catalog-sale-toggle { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; white-space: nowrap; cursor: pointer; }
.catalog-sale-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); cursor: inherit; }
.catalog-sale-toggle:has(input:disabled) { cursor: default; }
.catalog-sale-toggle:has(input:checked) { color: #216449; }
.catalog-sale-toggle.catalog-sale-pending { color: var(--amber); }
.catalog-sales-cell small, .catalog-sales-unlinked { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
@media (max-width: 1000px) {
  .catalog-tree-button { display: none; }
  .catalog-layout.catalog-tree-collapsed .catalog-category-panel { display: block; }
}
@media (max-width: 780px) {
  .catalog-market-filters { padding: 10px 16px; gap: 8px; }
  .catalog-market-filters .link-button { margin-left: 0; }
  .catalog-results .catalog-sales-table { min-width: 700px; }
}

.brand-name{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:0}
.brand-name img{display:block;flex:none}
.auth-brand .brand-name{font-size:32px;gap:11px}
.auth-brand .brand-name img{width:36px;height:36px}
.auth-brand span{font-size:12px;letter-spacing:.15px}
@media(max-width:780px){.auth-brand{align-items:flex-start;flex-direction:column;gap:8px}}
