/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--navy:#173f77;--navy-dark:#102f5a;--blue:#1487e8;--ink:#172033;--muted:#6f7b8d;--line:#dce4ec;--canvas:#eef2f6;--white:#fff;--green:#20a66a}*{box-sizing:border-box}html,body{background:var(--canvas);min-height:100%;color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{background:var(--canvas);min-height:100vh;display:flex;overflow:hidden}.sidebar{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-dark) 100%);color:#fff;z-index:30;flex-direction:column;align-items:center;width:92px;min-height:100vh;padding:18px 10px;display:flex;position:sticky;top:0}.brand-mark{width:52px;height:52px;color:var(--navy);background:#fff;border-radius:15px;place-items:center;font-size:24px;font-weight:900;display:grid;box-shadow:0 8px 24px #09254b55}.sidebar nav{flex-direction:column;gap:10px;width:100%;margin-top:36px;display:flex}.nav-item{color:#cfe0f7;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-height:62px;display:flex;position:relative}.nav-item span{font-size:22px;line-height:1}.nav-item b{font-size:10px;font-weight:600}.nav-item i{color:#fff;background:#ef5b62;border-radius:10px;place-items:center;min-width:18px;height:18px;font-size:10px;font-style:normal;display:grid;position:absolute;top:8px;right:12px}.nav-item:hover,.nav-item.active{color:#fff;background:#ffffff1a}.nav-item.active:before{content:"";background:#55b9ff;border-radius:0 4px 4px 0;width:4px;height:30px;position:absolute;left:-10px}.sidebar-bottom{flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:auto;display:flex}.avatar{color:#315271;background:#dce7f1;border-radius:50%;place-items:center;width:42px;height:42px;font-size:12px;font-weight:800;display:grid}.avatar.small{width:36px;height:36px}.workspace{width:calc(100vw - 92px);min-width:0;min-height:100vh}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;gap:24px;height:84px;padding:12px 24px;display:flex;position:sticky;top:0}.create-order-button{color:#fff;white-space:nowrap;background:#173f74;border:0;border-radius:9px;padding:11px 14px;font-weight:800;box-shadow:0 7px 18px #173f7422}.create-order-button:hover{background:#0f568e}.profit-podium{background:#f8fbfd;border:1px solid #e1e9f0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:7px;min-width:430px;max-width:600px;height:54px;padding:5px 8px;display:flex;overflow:hidden}.profit-place{text-align:left;min-width:0;height:42px;font:inherit;border:0;border-radius:9px;flex:1;align-items:center;gap:6px;padding:5px 7px;display:flex}.profit-place.visible:hover{filter:brightness(.97);box-shadow:inset 0 0 0 1px #173f7726}.profit-place:disabled{cursor:default}.profit-place.gold{color:#775a00;background:#fff5c7}.profit-place.silver{color:#536170;background:#edf1f5}.profit-place.bronze{color:#85552f;background:#f7e5d7}.profit-place.hidden{opacity:.6}.profit-cup{flex:none;width:25px;height:25px;line-height:1}.profit-cup svg{fill:currentColor;width:100%;height:100%;display:block}.profit-cup text{fill:#fff;paint-order:stroke;stroke:#0003;stroke-width:.8px;font-size:9px;font-weight:900}.profit-place.gold .profit-cup{color:#d6a000}.profit-place.silver .profit-cup{color:#8493a3}.profit-place.bronze .profit-cup{color:#aa6636}.profit-place-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.profit-place-copy small{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:750;overflow:hidden}.profit-place-copy strong{white-space:nowrap;font-size:11px;line-height:1.15}.profit-loading{color:#78889a;font-size:11px;font-weight:700}.best-manager{border-left:1px solid #d8e2ea;flex:0 150px;align-items:center;gap:7px;min-width:0;height:42px;padding:5px 7px;display:flex}.best-manager>span:first-child{flex:none;font-size:21px;line-height:1}.best-manager>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.best-manager small{color:#718194;white-space:nowrap;font-size:9px;font-weight:750}.best-manager strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.15;overflow:hidden}.eyebrow{color:#8290a3;letter-spacing:.14em;margin:0 0 3px;font-size:10px;font-weight:800}.topbar h1,.chat-list-head h1,.placeholder h1{letter-spacing:-.03em;margin:0;font-size:24px}.search{color:#8190a1;background:#f3f6f8;border:1px solid #e2e8ee;border-radius:9px;align-items:center;width:min(470px,35vw);margin-left:36px;padding:0 13px;display:flex}.search input,.chat-search input{width:100%;height:42px;color:var(--ink);background:0 0;border:0;outline:0;padding:0 8px}.sync-button{color:#237a54;background:#f1fbf6;border:1px solid #cfe8dc;border-radius:18px;margin-left:auto;padding:8px 12px;font-size:12px}.sync-dot{background:#26b673;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.user{border-left:1px solid var(--line);align-items:center;gap:9px;padding-left:18px;display:flex}.user span{flex-direction:column;font-size:12px;display:flex}.user small{color:var(--muted);margin-top:2px}.dashboard-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px 24px 14px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr auto;padding:14px 17px;display:grid;box-shadow:0 2px 8px #26384b08}.metric span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700}.metric strong{letter-spacing:-.04em;grid-area:1/2/3;align-self:center;font-size:23px}.metric small{color:#8a96a5;margin-top:7px;font-size:11px}.metric.shops strong{color:var(--green)}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:0 24px 12px;display:flex}.filter-tabs{background:#e3e9ef;border-radius:9px;gap:6px;padding:4px;display:flex}.filter-tabs button{color:#607083;background:0 0;border:0;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:650}.filter-tabs button.selected{color:var(--ink);background:#fff;box-shadow:0 1px 4px #1f33431a}.toolbar-filters{align-items:end;gap:7px;display:flex}.toolbar-filter{color:#738194;text-transform:uppercase;letter-spacing:.04em;flex-direction:column;gap:3px;font-size:9px;font-weight:800;display:flex}.toolbar-filter select,.toolbar-filter input{color:#35485c;background:#fff;border:1px solid #d7e1e9;border-radius:8px;outline:0;height:34px;padding:0 9px;font-size:11px;font-weight:600}.toolbar-filter select{min-width:145px}.toolbar-filter.date input{width:126px}.toolbar-filter select:focus,.toolbar-filter input:focus{border-color:#168be3;box-shadow:0 0 0 3px #168be319}.filter-reset{color:#a5454b;background:#fff4f4;border:1px solid #efd1d3;border-radius:8px;height:34px;padding:0 10px;font-size:11px;font-weight:700}.secondary-button{border:1px solid var(--line);color:#576678;background:#fff;border-radius:8px;padding:8px 12px;font-size:12px}.toolbar>.secondary-button:first-of-type{margin-left:auto}.orders-frame{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0 24px 24px;overflow:hidden;box-shadow:0 8px 24px #26384b0a}.orders-grid{grid-template-columns:145px minmax(360px,2.4fr) 115px 100px 105px 105px 115px 135px 105px minmax(150px,1.1fr) 130px 170px 120px;align-items:center;gap:12px;display:grid}.orders-head{z-index:6;border-bottom:1px solid var(--line);color:#7a8797;text-transform:uppercase;letter-spacing:.04em;background:#f7f9fb;min-width:2000px;padding:12px 16px;font-size:10px;font-weight:750;position:sticky;top:0}.orders-scroll{max-height:calc(100vh - 295px);overflow:auto}.order-row{border-bottom:1px solid #e7edf2;min-width:2000px;padding:13px 16px;font-size:12px;transition:all .15s}.order-row:hover,.selected-row{background:#f5faff}.order-row:last-child{border-bottom:0}.orders-column-filter{width:100%;max-width:100%;min-height:22px;color:inherit;align-items:center;display:flex}.orders-column-filter.active{color:#154f86}.orders-column-filter:hover{color:#168be3}.orders-column-filter select{width:100%;min-width:0;color:inherit;cursor:pointer;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;background:0 0;border:0;outline:0;display:block}.orders-column-filter select:focus-visible{border-radius:5px;box-shadow:0 0 0 3px #168be328}.orders-column-filter option{color:#24374b;text-transform:none;background:#fff}.theme-dark .orders-column-filter.active,.theme-dark .orders-column-filter:hover{color:#5fb8ff}.theme-dark .orders-column-filter option{color:#e8eef7;background:#172338}.order-ident,.product-cell,.customer,.total,.assigned-card,.drawer-product{align-items:center;gap:9px;display:flex}.order-ident>span:last-child,.product-cell>span,.customer,.total,.drawer-product>span{flex-direction:column;min-width:0;display:flex}.order-ident a{color:var(--blue);margin-top:3px}.shop-logo{color:#fff;background:#7357a9;border-radius:7px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.product-thumb{color:#6b7d90;background:linear-gradient(145deg,#edf3f8,#dfe7ef);border-radius:8px;flex:none;place-items:center;width:38px;height:38px;font-size:20px;display:grid}.product-thumb.large{width:64px;height:64px}.product-image{object-fit:contain;background:#fff;border:1px solid #e2e8ee}.product-cell strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.product-cell small,.customer small,.total small,.drawer-product small{color:#7c8898;margin-top:4px}.product-code{color:#43566b;overflow-wrap:anywhere;font-weight:750}.manager-note{color:#1485d1;white-space:nowrap;text-align:left;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;width:100%;min-width:0;padding:4px 0;display:block;overflow:hidden}.manager-note:hover{color:#0876c2;text-decoration:underline}.manager-note:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid #168be3}.manager-note.filled{color:#44576b}.theme-dark .manager-note{color:#65baff}.theme-dark .manager-note.filled{color:#c5d1df}.muted{color:#69788a}.status{border-radius:6px;width:max-content;padding:5px 8px;font-size:10px;font-style:normal;font-weight:800;display:inline-flex}.status-new{color:#1674ae;background:#dff2ff}.status-accepted{color:#a16409;background:#fff0d7}.status-work{color:#6541a9;background:#eee6ff}.status-sent{color:#187e58;background:#dff4ec}.status-done{color:#2d8634;background:#dff6df}.manager{color:#1385da}.manager.assigned{color:#3f5166;font-weight:650}.delivery{color:#227cb9;line-height:1.35}.row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.row-actions button{border:0}.chat-badge{color:#167ed1;background:#e9f3ff;border-radius:50%;width:27px;height:27px;font-weight:800}.accept-small{color:#fff;background:#118be8;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:750}.expand-order{color:#31506d;cursor:pointer;background:0 0;flex:none;place-items:center;width:26px;height:30px;font-size:25px;line-height:1;transition:transform .18s;display:grid;border:0!important}.expand-order.expanded{transform:rotate(90deg)}.expand-order:hover{color:#168be3}.theme-dark .expand-order{color:#e8eef7;background:0 0;border:0!important}.theme-dark .expand-order:hover{color:#65baff;background:0 0}.procurement-row-badge{color:#187447;background:#dff4e7;border-radius:10px;align-items:center;width:max-content;margin-top:4px;padding:3px 6px;font-size:9px;font-style:normal;font-weight:850;line-height:1.2;display:inline-flex}.theme-dark .procurement-row-badge{color:#92dfae;background:#173f2b}.order-expanded{background:#f8fbfe;border-bottom:2px solid #b8d6ed;min-width:2000px;padding:20px 24px 24px;box-shadow:inset 0 1px #dce9f3}.order-expanded-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:16px;display:flex}.order-expanded-head h2{margin:2px 0 9px;font-size:23px}.order-expanded-head>div:first-child>span{align-items:center;gap:10px;display:flex}.order-expanded-head small{color:var(--muted)}.order-expanded-actions{align-items:center;gap:10px;display:flex}.order-expanded-actions .accept-primary{width:auto;min-width:210px}.collapse-order{color:#40566d;background:#fff;border:1px solid #cddbe6;border-radius:9px;padding:11px 14px;font-weight:750}.order-expanded-grid{grid-template-columns:1.25fr 1fr 1.15fr 1.25fr;gap:28px;display:grid}.order-expanded .drawer-section{border-bottom:0;min-width:0;padding:20px 0 8px}.order-expanded .drawer-section+.drawer-section{border-left:1px solid var(--line);padding-left:28px}.order-expanded .drawer-section dl div{gap:18px}.order-expanded .drawer-section dd{text-align:right;overflow-wrap:anywhere}.detail-link{color:var(--blue);margin-top:8px;font-weight:750;display:inline-block}.detail-manager{border-top:1px solid var(--line);padding-top:8px;margin-top:14px!important}.order-expanded .manager-comment textarea{width:100%;min-height:92px}.customer-note{background:#fff7e7;border-radius:9px;margin-top:12px!important;padding:11px!important;display:block!important}.customer-note small{color:#8b691d;margin-bottom:5px;display:block}.customer-note p{margin:0}.order-expanded-footer{border-top:1px solid var(--line);grid-template-columns:minmax(520px,1fr) 250px;align-items:start;gap:18px;margin-top:18px;padding-top:18px;display:grid}.procurement-inline .procurement-button{max-width:420px}.inline-chat{margin-top:0}.theme-dark .collapse-order,.theme-dark .customer-note{color:#e8eef7;background:#172338;border-color:#33465f}.manager-assignment-select{color:#17263a;width:min(100%,260px);min-width:190px;font:inherit;background:#fff;border:1px solid #b9cde0;border-radius:9px;padding:9px 34px 9px 10px;font-weight:750}.manager-assignment-select:disabled{cursor:wait;opacity:.65}.theme-dark .manager-assignment-select{color:#e8eef7;background:#172338;border-color:#415873}.order-expanded .order-activity-section{border-top:1px solid var(--line);grid-column:1/-1;border-left:0!important;padding:16px 0 0!important}.activity-toggle{color:#174e7d;text-align:left;background:#edf6fd;border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;font-weight:850;display:flex}.activity-toggle i{font-size:24px;font-style:normal;line-height:1;transition:transform .18s}.activity-toggle.open i{transform:rotate(90deg)}.activity-timeline{gap:0;margin:15px 0 0 10px;display:grid}.activity-timeline article{gap:16px;min-height:62px;padding:0 0 16px 24px;display:flex;position:relative}.activity-timeline article:before{content:"";background:#e3d4ff;width:2px;position:absolute;top:12px;bottom:-4px;left:4px}.activity-timeline article:last-child:before{display:none}.activity-timeline article>i{background:#7718e8;border-radius:50%;width:12px;height:12px;position:absolute;top:3px;left:-1px}.activity-timeline article>span{flex-direction:column-reverse;gap:6px;display:flex}.activity-timeline strong{font-size:13px}.activity-timeline small,.activity-empty{color:var(--muted)}.activity-empty{margin:12px 14px}.activity-empty.error{color:#c33440}.theme-dark .activity-toggle{color:#8dd0ff;background:#172f4a}.edit-manual-order{color:#1579bb;white-space:nowrap;background:#eef7fe;border:1px solid #bfd8eb;border-radius:9px;padding:11px 14px;font-weight:800}.price-adjustment-section{border-top:1px solid var(--line);border-left:0!important;grid-column:1/-1!important;padding:18px 0 0!important}.price-adjustment-form{gap:12px;display:grid}.price-adjustment-title{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.price-adjustment-title h3{margin:0 0 4px!important}.price-adjustment-title small{color:var(--muted)}.price-adjustment-fields{grid-template-columns:170px minmax(280px,1fr) minmax(390px,1.5fr) 150px;align-items:end;gap:12px;display:grid}.price-adjustment-fields label{color:#607187;flex-direction:column;gap:6px;font-size:11px;font-weight:800;display:flex}.price-adjustment-fields label b{color:#c33440}.price-adjustment-fields input{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #d3dee7;border-radius:9px;padding:11px;font-size:13px}.price-adjustment-fields input:focus{border-color:#248fdc;outline:0;box-shadow:0 0 0 3px #248fdc18}.price-adjustment-fields .field-invalid{background:#fff5f5;border-color:#d9424e;box-shadow:0 0 0 3px #d9424e1a}.price-adjustment-summary{border:1px solid var(--line);background:#f7fafc;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:8px;padding:7px 10px;display:grid}.price-adjustment-summary span{flex-direction:column;gap:3px;display:flex}.price-adjustment-summary small{color:var(--muted)}.price-adjustment-summary .discount strong{color:#168c54}.price-adjustment-summary .markup strong{color:#c34652}.price-adjustment-fields>button{background:var(--blue);color:#fff;border:0;border-radius:9px;padding:12px 14px;font-weight:850}.price-adjustment-fields>button:disabled{opacity:.5}.adjustment-hint,.adjustment-error{margin:0!important;font-size:12px!important}.adjustment-hint{color:var(--muted)}.adjustment-error{color:#c33440}.theme-dark .edit-manual-order{color:#78c7ff;background:#17395a;border-color:#355779}.theme-dark .price-adjustment-fields input,.theme-dark .price-adjustment-summary{color:#e8eef7;background:#172338;border-color:#33465f}.theme-dark .price-adjustment-fields .field-invalid{background:#2a171c;border-color:#e65a65}.drawer-backdrop{z-index:50;background:#12243b4d;justify-content:flex-end;display:flex;position:fixed;inset:0}.order-drawer{background:#fff;width:min(440px,94vw);height:100%;padding:22px;overflow:auto;box-shadow:-16px 0 38px #152c4950}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;padding-bottom:16px;display:flex}.drawer-head h2{margin:0;font-size:22px}.drawer-head button{color:#607083;background:#eff3f6;border:0;border-radius:8px;width:34px;height:34px;font-size:22px}.drawer-status{color:var(--muted);justify-content:space-between;align-items:center;padding:15px 0;font-size:12px;display:flex}.accept-primary{color:#fff;background:#158be2;border:0;border-radius:9px;width:100%;padding:13px;font-weight:800;box-shadow:0 7px 16px #168be333}.assigned-card{background:#f3f7fa;border-radius:10px;padding:12px}.assigned-card span{flex-direction:column;display:flex}.assigned-card small{color:var(--muted)}.drawer-section{border-bottom:1px solid var(--line);padding:18px 0}.drawer-section h3{text-transform:uppercase;letter-spacing:.05em;color:#69788a;margin:0 0 12px;font-size:12px}.drawer-section p{margin:0;font-size:13px;line-height:1.55}.drawer-section dl{margin:0}.drawer-section dl div{justify-content:space-between;padding:7px 0;font-size:13px;display:flex}.drawer-section dt{color:var(--muted)}.drawer-section dd{margin:0;font-weight:650}.drawer-section.note{background:#fff8e9;border:0;border-radius:9px;margin:14px -10px 0;padding:14px 10px}.open-chat{color:#147bc4;background:#f5faff;border:1px solid #cfe1ef;border-radius:9px;justify-content:space-between;width:100%;margin-top:16px;padding:12px;font-weight:750;display:flex}.chat-layout{background:#fff;grid-template-columns:350px minmax(0,1fr);height:100vh;display:grid}.chat-list-panel{border-right:1px solid var(--line);background:#f7f9fb;min-width:0}.chat-list-head{padding:20px 18px 12px}.chat-search{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;margin-top:14px;padding:0 9px;display:flex}.chat-tabs{border-bottom:1px solid var(--line);height:48px;padding:0 12px;display:flex}.chat-tabs button{color:#6f7d8e;background:0 0;border:0;padding:0 11px;position:relative}.chat-tabs button.active{color:#166eb3;font-weight:750}.chat-tabs button.active:after{content:"";background:#218ce0;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:8px;right:8px}.chat-tabs b{color:#fff;background:#28548a;border-radius:9px;padding:2px 6px;font-size:10px}.chat-list{height:calc(100vh - 142px);overflow:auto}.chat-list-item{text-align:left;background:0 0;border:0;border-bottom:1px solid #e5ebf0;grid-template-columns:40px 1fr auto;gap:10px;width:100%;min-height:77px;padding:12px 15px;display:grid;position:relative}.chat-list-item:hover,.chat-list-item.active{background:#e8f1fa}.chat-list-item>span{flex-direction:column;min-width:0;display:flex}.chat-list-item strong{font-size:13px}.chat-list-item small{white-space:nowrap;text-overflow:ellipsis;color:#718094;margin-top:5px;overflow:hidden}.chat-list-item small b{color:#367db7}.chat-list-item time{color:#8b98a8;font-size:10px}.chat-list-item i{color:#fff;background:#24538b;border-radius:10px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-style:normal;display:grid;position:absolute;bottom:12px;right:15px}.chat-avatar{color:#54708b;background:#dce6ef;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.chat-title-row{justify-content:space-between;align-items:center;display:flex}.chat-refresh{border:1px solid var(--line);color:#3677ad;background:#fff;border-radius:8px;width:34px;height:34px;font-size:18px}.chat-error{color:#8c5a13;background:#fff5e6;border-bottom:1px solid #edd8b4;padding:9px 13px;font-size:11px}.chat-empty{text-align:center;color:#8391a1;flex-direction:column;gap:8px;margin:auto;padding:30px;display:flex}.chat-empty small{color:#5d7187}.chat-welcome{place-items:center;display:grid}.chat-welcome>div{text-align:center;color:#8794a3;flex-direction:column;gap:8px;display:flex}.chat-welcome strong{color:#405267;font-size:18px}.conversation{background:#fff;grid-template-rows:68px 1fr auto;min-width:0;height:100vh;display:grid}.conversation-head{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 20px;display:flex;box-shadow:0 2px 8px #1b36500a}.conversation-head>span{flex-direction:column;display:flex}.conversation-head small{color:#7a8798;margin-top:3px}.conversation-actions{gap:8px;margin-left:auto;display:flex}.conversation-actions button{border:1px solid var(--line);color:#456079;background:#fff;border-radius:8px;padding:8px 11px}.messages{background:linear-gradient(#fbfdff,#f7fafc);flex-direction:column;padding:22px 28px;display:flex;overflow:auto}.day-separator{color:#9aa6b5;align-items:center;gap:10px;margin:4px 0 20px;font-size:11px;display:flex}.day-separator:before,.day-separator:after{content:"";background:#e3e9ef;flex:1;height:1px}.message{border-radius:13px;max-width:62%;margin-bottom:10px;padding:10px 12px 7px;box-shadow:0 1px 2px #14263c0b}.message p{margin:0;font-size:13px;line-height:1.45}.message time{text-align:right;color:#8492a2;margin-top:5px;font-size:9px;display:block}.message.incoming{background:#e9eef3;border-bottom-left-radius:4px;align-self:flex-start}.message.outgoing{background:#dff1ff;border-bottom-right-radius:4px;align-self:flex-end}.product-attachment{border:1px solid var(--line);background:#fff;border-radius:12px;align-self:flex-end;gap:10px;width:320px;margin:0 0 10px;padding:10px;display:flex}.attachment-image{color:#76889b;background:#edf2f6;border-radius:9px;place-items:center;width:72px;height:72px;font-size:30px;display:grid}.product-attachment span{flex-direction:column;justify-content:center;display:flex}.product-attachment small{color:#8a97a6}.product-attachment strong{margin:4px 0 8px;font-size:12px}.product-attachment b{color:#1e7ebf;font-size:12px}.composer{border-top:1px solid var(--line);background:#fff;grid-template-columns:36px 1fr auto;align-items:end;gap:9px;padding:12px 16px;display:grid}.composer button{color:#587088;background:#edf3f7;border:0;border-radius:9px;height:38px}.composer textarea{resize:none;border:1px solid var(--line);background:#f7fafc;border-radius:10px;outline:0;min-height:42px;max-height:110px;padding:11px 12px}.composer .send{color:#fff;background:#1d91e6;padding:0 18px;font-weight:750}.placeholder{padding:70px}.placeholder p:last-child{color:#6b7888;max-width:580px;line-height:1.7}.message-sender{color:#61758a;margin-bottom:5px;font-size:10px;display:block}.message-context-image{object-fit:contain;border-radius:8px;max-width:260px;max-height:220px;margin-bottom:7px;display:block}.message-context-card{width:min(380px,100%);color:inherit;background:#fff;border:1px solid #d8e2eb;border-radius:10px;align-items:center;gap:10px;margin:0 0 8px;padding:9px;text-decoration:none;display:flex}.message-context-card.is-clickable{cursor:pointer}.chat-context-image,.chat-context-placeholder{object-fit:contain;color:#718195;background:#f3f6f8;border-radius:8px;flex:0 0 74px;place-items:center;width:74px;height:74px;font-size:28px;display:grid}.chat-context-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-context-copy small{color:#6d5cc8;font-size:10px;font-weight:850}.chat-context-copy strong{font-size:12px;line-height:1.35}.chat-context-copy span{color:#6f7b8d;font-size:11px}.chat-context-copy b{font-size:12px}.chat-context-link{color:#167bc1;font-size:11px;font-style:normal;font-weight:850}.message-context-card:hover{background:#f8fcff;border-color:#76b9e7}.message-context-card:hover .chat-context-link{text-decoration:underline}.message-attachment{color:#167bc1;margin-top:7px;font-size:12px;text-decoration:none;display:block}.composer .send:disabled{opacity:.55;cursor:not-allowed}.manager-comment textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:92px;font:inherit;color:#2d4054;border-radius:9px;outline:none;padding:10px 11px}.manager-comment textarea:focus{border-color:#248fdc;box-shadow:0 0 0 3px #248fdc18}.manager-comment>div{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.manager-comment small{color:#8794a3}.manager-comment button{color:#fff;background:#168ce0;border:0;border-radius:8px;padding:9px 14px;font-weight:750}.manager-comment button:disabled{opacity:.5}.payment-state{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.payment-state small{color:#758395;white-space:nowrap;text-overflow:ellipsis;max-width:130px;overflow:hidden}.payment-badge{border-radius:12px;width:max-content;padding:5px 8px;font-size:10px;font-style:normal;font-weight:800;display:inline-flex}.payment-paid{color:#19822d;background:#dff4df}.payment-error{color:#c42d3a;background:#ffe2e5}.payment-pending{color:#9a6208;background:#fff0d5}.payment-refunded{color:#7544a5;background:#f1e7ff}.payment-cash{color:#5b6877;background:#e8edf2}.status-select{color:#33475b;background:#fff;border:1px solid #d8e0e8;border-radius:7px;outline:none;width:110px;padding:7px 8px;font-size:11px}.status-select:focus{border-color:#238bd4}.status-select:disabled{opacity:.55}.prosale{color:#6550a3;flex-direction:column;gap:4px;font-weight:750;display:flex}.prosale small{color:#18824a;font-weight:650}.prosale.refunded{color:#68788a}.status-select-new{color:#fff;background:#123d6b;border-color:#123d6b;font-weight:800}.status-select-new:focus{border-color:#0b2d52}.status-select-new option{color:#33475b;background:#fff}.status-select-cancelled{color:#a72f38;background:#ffe5e7;border-color:#f4bcc1;font-weight:750}.status-select-accepted{color:#87600a;background:#fff3cf;border-color:#ead492;font-weight:750}.status-select-completed{color:#257333;background:#e2f6e4;border-color:#b9dfbd;font-weight:750}.status-select-cancelled option,.status-select-accepted option,.status-select-completed option{color:#33475b;background:#fff}.status-cancelled{color:#b1353a;background:#ffe3e4}.sync-alert{color:#8a5b12;background:#fff8e8;border:1px solid #f1d5a4;border-radius:9px;margin:0 24px 12px;padding:10px 13px;font-size:12px}.orders-empty{color:#7b8999;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:220px;display:flex}.orders-empty strong{color:#38495d;font-size:15px}.sync-button:disabled,.accept-small:disabled,.accept-primary:disabled{cursor:wait;opacity:.65}@media (width<=1100px){.dashboard-strip{grid-template-columns:repeat(2,1fr)}.search{margin-left:0}.sync-button{display:none}.chat-layout{grid-template-columns:300px 1fr}}@media (width<=760px){.sidebar{width:62px;padding:12px 6px}.brand-mark{width:42px;height:42px}.nav-item b{display:none}.workspace{width:calc(100vw - 62px)}.topbar{gap:10px;padding:10px 14px}.topbar>div:first-child,.user span{display:none}.search{flex:1;width:auto}.user{padding-left:8px}.dashboard-strip{grid-template-columns:1fr 1fr;gap:8px;padding:12px}.metric{padding:11px}.metric strong{font-size:17px}.toolbar,.orders-frame{margin-left:12px;margin-right:12px}.filter-tabs{width:100%;overflow:auto}.toolbar-filters{width:100%;padding-bottom:2px;overflow:auto}.toolbar-filter select{min-width:135px}.secondary-button{display:none}.chat-layout{grid-template-columns:1fr}.chat-list-panel{display:none}.message{max-width:86%}}.login-page{background:radial-gradient(circle at 20% 10%,#eaf5ff 0,#0000 38%),#edf3f7;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:20px;flex-direction:column;gap:16px;width:min(420px,100%);padding:34px;display:flex;box-shadow:0 22px 60px #29445d1c}.login-logo{color:#fff;background:#173f74;border-radius:14px;place-items:center;width:54px;height:54px;font-size:25px;font-weight:900;display:grid}.login-card h1{margin:0;font-size:27px}.login-hint{color:var(--muted);margin:-6px 0 4px;line-height:1.5}.login-card label,.settings-card label{color:#56677a;flex-direction:column;gap:7px;font-size:12px;font-weight:750;display:flex}.login-card input,.settings-card input,.settings-card select{color:#172638;font:inherit;background:#fff;border:1px solid #d7e1e9;border-radius:9px;outline:0;padding:11px 12px}.login-card input:focus,.settings-card input:focus,.settings-card select:focus{border-color:#168be3;box-shadow:0 0 0 3px #168be319}.login-card>button,.settings-card button,.credentials-card button,.user-row>button:last-child{color:#fff;background:#168be3;border:0;border-radius:9px;padding:11px 16px;font-weight:800}.login-card button:disabled,.settings-card button:disabled{opacity:.55}.form-error{color:#b52c35;background:#fff0f0;border:1px solid #ffd5d7;border-radius:9px;padding:10px 12px}.form-success{color:#197641;background:#eaf9f0;border:1px solid #caecd7;border-radius:9px;padding:10px 12px}.settings-page{background:#edf3f7;min-height:100vh;padding:28px 34px 60px}.settings-head{justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px;display:flex}.settings-head h1{margin:4px 0 7px;font-size:28px}.settings-head p{color:var(--muted);margin:0}.settings-message{margin-bottom:14px}.password-warning{color:#815d05;background:#fff5d8;border:1px solid #f1d486;border-radius:11px;flex-direction:column;gap:4px;margin-bottom:16px;padding:15px 18px;display:flex}.password-warning span{font-size:13px}.settings-card{border:1px solid var(--line);background:#fff;border-radius:15px;margin-bottom:16px;padding:20px;box-shadow:0 4px 18px #29445d0a}.settings-card h2{margin:0 0 6px;font-size:18px}.settings-card p{color:var(--muted);margin:0;font-size:13px}.password-card{grid-template-columns:minmax(220px,1fr) minmax(520px,2fr);gap:30px;display:grid}.password-card form{grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:12px;display:grid}.settings-card-title{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.settings-card-title>strong{color:#168b60;font-size:20px}.add-user-form{grid-template-columns:1.1fr 1.2fr .7fr auto;align-items:end;gap:12px;display:grid}.credentials-card{color:#fff;background:#173f74;border-radius:15px;grid-template-columns:minmax(250px,1fr) auto auto auto;align-items:center;gap:12px;margin-bottom:16px;padding:17px 20px;display:grid}.credentials-card div{flex-direction:column;gap:4px;display:flex}.credentials-card span{color:#bdd1e5;font-size:12px}.credentials-card code{background:#0f305c;border-radius:8px;padding:10px 12px;font-size:13px}.credentials-card button{color:#173f74;background:#fff}.users-list{flex-direction:column;display:flex}.user-row{border-top:1px solid var(--line);grid-template-columns:minmax(260px,1.4fr) 150px 155px 160px auto auto;align-items:center;gap:12px;padding:13px 0;display:grid}.user-row.inactive{opacity:.58}.user-main{align-items:center;gap:10px;display:flex}.user-main>span{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.user-main input{padding:7px 9px;font-weight:750}.user-main small{color:var(--muted);text-overflow:ellipsis;overflow:hidden}.user-row>select{background:#fff;border:1px solid #d7e1e9;border-radius:8px;padding:9px}.access-toggle{align-items:center;flex-direction:row!important}.access-toggle input{width:17px;height:17px}.password-state{color:var(--muted);font-size:12px}.user-row .secondary-button{padding:9px 11px!important}.settings-empty{color:var(--muted);text-align:center;padding:22px}@media (width<=1200px){.password-card{grid-template-columns:1fr}.password-card form,.add-user-form{grid-template-columns:1fr 1fr}.user-row{grid-template-columns:1fr 140px 150px}.password-state{display:none}.credentials-card{grid-template-columns:1fr 1fr}.credentials-card div{grid-column:1/-1}}@media (width<=700px){.settings-page{padding:20px 14px}.settings-head{align-items:flex-start}.password-card form,.add-user-form,.user-row,.credentials-card{grid-template-columns:1fr}.user-row{gap:8px}.settings-card{padding:16px}}.order-expanded-footer{grid-template-columns:minmax(520px,1fr)}.customer-phone-row dd{flex-direction:column;align-items:flex-end;gap:7px;display:flex}.customer-contact-actions{display:inline-flex}.customer-contact-buttons{align-items:center;gap:5px;display:flex}.contact-button{color:#fff;width:27px;height:27px;min-height:0;font:inherit;cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:12px;font-weight:900;text-decoration:none;transition:transform .15s,filter .15s;display:inline-flex}.contact-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.contact-button:hover{transform:translateY(-1px)}.contact-prom{background:#7255a8}.contact-viber{background:#7360bd}.contact-telegram{background:#269bd7}.contact-whatsapp{background:#28a967}.contact-button:hover{filter:brightness(.92)}.contact-phone-error{color:#bd3944;font-size:11px;font-weight:750}@media (width<=1100px){.order-expanded-footer{grid-template-columns:1fr}.customer-contact-actions{max-width:620px}}.project-picker{color:#7c8998;flex-direction:column;gap:3px;min-width:130px;display:flex}.project-picker small{text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:800}.project-picker select{color:#26394e;background:#fff;border:1px solid #d9e2ea;border-radius:8px;outline:0;min-width:130px;height:34px;padding:0 30px 0 10px;font-weight:750}.project-picker select:focus{border-color:#168be3;box-shadow:0 0 0 3px #168be319}.project-admin-grid{grid-template-columns:minmax(250px,.75fr) minmax(560px,2fr);gap:24px;display:grid}.project-create-form{align-content:start;gap:12px;display:grid}.project-shop-panel{flex-direction:column;gap:14px;display:flex}.shop-list{flex-direction:column;gap:8px;min-height:40px;display:flex}.shop-site-row{color:#237a54;background:#f1fbf6;border:1px solid #cfe8dc;border-radius:11px;grid-template-columns:minmax(110px,.45fr) minmax(260px,1fr) auto;align-items:center;gap:10px;padding:8px;display:grid}.shop-site-row input{min-width:0}.shop-site-row .secondary-button{white-space:nowrap}.shop-site-row.inactive{opacity:.55;filter:grayscale()}.settings-empty.compact{text-align:left;padding:9px 0}.add-shop-form{grid-template-columns:.7fr 1fr 1.2fr auto auto;align-items:end;gap:12px;display:grid}.add-shop-form .clear-shop-form{color:#526579;background:#fff;border:1px solid #d7e1e9}.telegram-settings-form{border-top:1px solid var(--line);grid-template-columns:minmax(220px,1fr) 1.2fr 1fr .7fr auto;align-items:end;gap:12px;margin-top:4px;padding-top:16px;display:grid}.telegram-settings-form h3{margin:0 0 5px}.telegram-settings-form p{font-size:11px}.procurement-button{color:#fff;cursor:pointer;background:#173f74;border:0;border-radius:10px;width:100%;padding:12px 14px;font-weight:850}.procurement-button.sent{color:#237647;cursor:default;background:#e1f5e8}.procurement-button.sent.editable{cursor:pointer;border:1px solid #a9dec0}.procurement-button:disabled{opacity:.75}.theme-dark .telegram-settings-form{border-color:#2a3a50}.theme-dark .procurement-button{background:#24629e}.theme-dark .procurement-button.sent{color:#9ae0b5;background:#183f2c}.theme-dark .procurement-button.sent.editable{border-color:#2d7650}.procurement-form{background:#f5faff;border:1px solid #b9d7ee;border-radius:12px;flex-direction:column;gap:12px;padding:14px;display:flex}.procurement-form-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.procurement-form-head>span{flex-direction:column;gap:3px;display:flex}.procurement-form-head small{color:var(--muted)}.procurement-form-head>button{color:#64768a;background:0 0;border:0;font-size:22px}.procurement-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.procurement-fields label{color:#596b7e;flex-direction:column;gap:5px;font-size:11px;font-weight:750;display:flex}.procurement-fields input,.procurement-fields textarea{color:#172638;width:100%;font:inherit;background:#fff;border:1px solid #d3e0ea;border-radius:8px;padding:9px 10px}.procurement-fields textarea{resize:vertical;min-height:72px}.procurement-term{grid-template-columns:1fr 1fr;gap:8px;display:grid}.procurement-note{grid-column:1/-1}.procurement-form-actions{justify-content:flex-end;gap:8px;display:flex}.procurement-form-actions button{color:#42566c;background:#e6edf3;border:0;border-radius:8px;padding:9px 12px;font-weight:800}.procurement-form-actions button:last-child{color:#fff;background:#168be3}.theme-dark .procurement-form{background:#152438;border-color:#355779}.theme-dark .procurement-fields input,.theme-dark .procurement-fields textarea{color:#e8eef7;background:#0f1a2a;border-color:#35495f}.theme-dark .procurement-form-actions button{color:#e8eef7;background:#26364a}.theme-dark .procurement-form-actions button:last-child{background:#246da8}.procurement-draft-state{color:#236797;background:#e5f4ff;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:750}.theme-dark .procurement-draft-state{color:#9bd1f6;background:#173551}.procurement-locked{flex-direction:column;gap:7px;max-width:420px;display:flex}.procurement-locked .procurement-button{color:#607185;cursor:not-allowed;background:#e6edf3}.procurement-locked small{color:#b23c45;font-weight:750}.procurement-position-total{margin-top:5px;font-weight:850;display:block;color:#1f6f48!important;font-size:11px!important}.procurement-fields input.field-invalid{box-shadow:0 0 0 3px #d9424e1a;background:#fff5f5!important;border-color:#d9424e!important}.procurement-fields input.field-invalid:focus{outline:0;box-shadow:0 0 0 3px #d9424e30}.procurement-fields .field-error{font-size:10px;font-weight:750;line-height:1.3;color:#c33440!important}.theme-dark .procurement-position-total{color:#8fdbaf!important}.theme-dark .procurement-locked .procurement-button{color:#8696aa;background:#26364a}.theme-dark .procurement-locked small,.theme-dark .procurement-fields .field-error{color:#ff929a!important}.theme-dark .procurement-fields input.field-invalid{background:#2a171c!important;border-color:#e65a65!important}.procurement-items{grid-column:1/-1;gap:10px;display:grid}.procurement-item-card{background:#fff;border:1px solid #cfe0ec;border-radius:10px;padding:12px}.procurement-item-head{justify-content:space-between;margin-bottom:10px;display:flex}.procurement-item-head span{flex-direction:column;gap:4px;display:flex}.procurement-item-head small{color:var(--muted)}.procurement-item-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.theme-dark .procurement-item-card{background:#0f1a2a;border-color:#35495f}.add-user-form{grid-template-columns:1.05fr 1.15fr 1fr .65fr .85fr auto}.user-row{grid-template-columns:minmax(240px,1.4fr) 120px 150px 145px 145px auto auto 36px;gap:10px}.user-row>select{min-width:0}.all-projects{color:#53667a;font-size:12px;font-weight:700}@media (width<=1200px){.project-admin-grid{grid-template-columns:1fr}.add-shop-form,.telegram-settings-form,.add-user-form{grid-template-columns:1fr 1fr}.user-row{grid-template-columns:1fr 130px 150px 145px}}.user-row .danger-button{width:36px;height:36px;font-size:22px;line-height:1;color:#b4232f!important;background:#fff3f4!important;border:1px solid #f1b8bd!important;border-radius:8px!important;padding:0!important}.user-row .danger-button:hover{background:#ffe4e7!important}@media (width<=760px){.project-picker{min-width:100px}.project-picker select{min-width:100px;max-width:130px}.add-shop-form,.telegram-settings-form,.procurement-fields{grid-template-columns:1fr}.procurement-note{grid-column:auto}}.customer-history-link{cursor:pointer;border:0;border-radius:999px;width:max-content;margin-top:4px;padding:2px 7px;font-size:10px;font-weight:800;line-height:1.4}.customer-history-link.new{color:#1475b6;background:#e4f3ff}.customer-history-link.returning{color:#6541a9;background:#eee6ff}.customer-history-link:hover{filter:brightness(.96);text-decoration:underline}.customer-history-drawer{width:min(540px,96vw)}.customer-history-summary{background:#f1f6fb;border-radius:12px;align-items:center;gap:12px;margin:18px 0;padding:14px;display:flex}.customer-history-summary>strong{color:#17477e;font-size:30px}.customer-history-summary>span{flex-direction:column;font-weight:750;display:flex}.customer-history-summary small{color:var(--muted);margin-top:3px;font-weight:500}.history-state{text-align:center;color:var(--muted);padding:26px 12px}.history-state.error{color:#b93838;background:#fff0f0;border-radius:9px}.customer-order-list{gap:12px;display:grid}.customer-order-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px}.customer-order-top,.customer-order-place,.customer-order-meta{justify-content:space-between;gap:12px;display:flex}.customer-order-top>span,.customer-order-place>span,.customer-order-meta>span{flex-direction:column;min-width:0;display:flex}.customer-order-top small,.customer-order-place small,.customer-order-meta small{color:var(--muted);margin-top:3px}.customer-order-card h3{margin:14px 0;font-size:14px;line-height:1.4}.customer-order-meta{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 0}.customer-order-meta>span{flex:1}.customer-order-meta strong{overflow-wrap:anywhere;margin-top:4px}.customer-order-place{padding-top:11px}.customer-order-place>span:first-child{flex:1.5}.customer-order-place>span:last-child{flex:1}.customer-order-place strong{margin-top:4px;line-height:1.35}.history-sync-button{color:#176eaa;white-space:nowrap;background:#edf6ff;border:1px solid #c8dcf0;border-radius:8px;height:34px;margin-left:auto;padding:0 12px;font-size:11px;font-weight:800}.history-sync-button:disabled{opacity:.58;cursor:wait}.history-sync-button+.secondary-button{margin-left:0!important}.history-sync-notice{color:#24724a;background:#effaf3;border:1px solid #bfe3cd;border-radius:9px;margin:0 24px 12px;padding:10px 13px;font-size:12px}.pagination{border:1px solid var(--line);color:#758395;background:#fff;border-top:0;border-radius:0 0 12px 12px;justify-content:space-between;align-items:center;margin:-12px 24px 24px;padding:12px 16px;font-size:12px;display:flex}.pagination>div{align-items:center;gap:10px;display:flex}.pagination button{color:#31506d;background:#fff;border:1px solid #d7e1e9;border-radius:8px;padding:8px 11px;font-weight:700}.pagination button:disabled{opacity:.45;cursor:not-allowed}.pagination b{color:#263a4f}.customers-page{min-height:100vh}.customer-search{margin-left:24px}.customer-catalog-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 24px;display:grid}.customer-catalog-summary>div{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:5px;padding:17px;display:flex}.customer-catalog-summary strong{color:#173f74;font-size:23px}.customer-catalog-summary span{color:var(--muted);font-size:11px}.customer-catalog{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0 24px 24px;overflow:hidden;box-shadow:0 8px 24px #26384b0a}.customer-catalog-head,.customer-catalog-row{grid-template-columns:minmax(240px,1.4fr) minmax(200px,1.1fr) 90px 130px 145px 130px 130px;align-items:center;gap:16px;display:grid}.customer-catalog-head{color:#7a8797;text-transform:uppercase;letter-spacing:.04em;background:#f7f9fb;padding:13px 18px;font-size:10px;font-weight:800}.customer-catalog-row{border-top:1px solid #e7edf2;min-height:76px;padding:12px 18px;font-size:12px}.customer-catalog-row:hover{background:#f7fbff}.catalog-person{align-items:center;gap:11px;display:flex}.catalog-person>i{color:#315f89;background:#e4edf7;border-radius:50%;place-items:center;width:38px;height:38px;font-style:normal;font-weight:900;display:grid}.catalog-person>span,.catalog-contact{flex-direction:column;gap:4px;min-width:0;display:flex}.catalog-person small,.catalog-contact small{color:#7a8899;text-overflow:ellipsis;overflow:hidden}.customer-catalog-row>button{color:#176eaa;background:#edf6ff;border:1px solid #c8dcf0;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800}.customer-catalog+.pagination{margin-top:-24px}.customers-page .customer-history-drawer{z-index:2}@media (width<=1100px){.customer-catalog{overflow:auto}.customer-catalog-head,.customer-catalog-row{min-width:1100px}.customer-catalog-summary{grid-template-columns:1fr 1fr}.customer-search{margin-left:0}}@media (width<=760px){.customer-catalog-summary{grid-template-columns:1fr;padding:12px}.customer-catalog{margin:0 12px 24px}.pagination{flex-direction:column;align-items:flex-start;gap:10px;margin-left:12px;margin-right:12px}}.archive-page{min-height:100vh}.archive-search{margin-left:20px}.archive-tools{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:end;gap:16px;margin:18px 24px 12px;padding:14px 16px;display:flex}.archive-tools>div{flex-direction:column;gap:3px;margin-right:auto;display:flex}.archive-tools>div strong{color:#173f74;font-size:24px}.archive-tools>div span{color:var(--muted);font-size:11px}.archive-tools .history-sync-button{margin-left:0}.archive-table{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0 24px 24px;overflow:hidden;box-shadow:0 8px 24px #26384b0a}.archive-head,.archive-row{grid-template-columns:120px minmax(190px,1fr) minmax(280px,1.5fr) 115px 145px minmax(180px,1fr) 100px 130px;align-items:center;gap:14px;display:grid}.archive-head{color:#7a8797;text-transform:uppercase;letter-spacing:.04em;background:#f7f9fb;padding:13px 16px;font-size:10px;font-weight:800}.archive-row{border-top:1px solid #e7edf2;min-height:78px;padding:12px 16px;font-size:12px}.archive-row:hover{background:#f7fbff}.archive-row>span{flex-direction:column;gap:4px;min-width:0;display:flex}.archive-row small{color:#7c8998}.archive-row>i{font-style:normal}.archive-table+.pagination{margin-top:-24px}@media (width<=1200px){.archive-table{overflow:auto}.archive-head,.archive-row{min-width:1280px}.archive-search{margin-left:0}}@media (width<=760px){.archive-tools{flex-direction:column;align-items:stretch;margin:12px}.archive-tools>div{margin-right:0}.archive-table{margin:0 12px 24px}}.app-shell.theme-dark{--ink:#e8eef7;--muted:#96a6ba;--line:#2a3a50;--canvas:#0b1220;--white:#111b2c;color:#e8eef7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0b1220}.theme-dark .workspace,.theme-dark .orders-page,.theme-dark .customers-page,.theme-dark .archive-page,.theme-dark .stats-page,.theme-dark .settings-page,.theme-dark .chat-page{color:#e8eef7;background:#0b1220}.theme-dark .topbar,.theme-dark .metric,.theme-dark .toolbar,.theme-dark .orders-frame,.theme-dark .order-drawer,.theme-dark .customer-history-drawer,.theme-dark .customer-catalog-summary>div,.theme-dark .customer-catalog,.theme-dark .archive-tools,.theme-dark .archive-table,.theme-dark .settings-card,.theme-dark .chat-list,.theme-dark .chat-panel,.theme-dark .stats-card{color:#e8eef7;box-shadow:none;background:#111b2c;border-color:#2a3a50}.theme-dark .profit-podium{background:#0d1727;border-color:#2a3a50}.theme-dark .profit-place.gold{color:#ffe48c;background:#433a17}.theme-dark .profit-place.silver{color:#dce6ef;background:#283342}.theme-dark .profit-place.bronze{color:#f0b98f;background:#402d24}.theme-dark .best-manager{border-color:#2a3a50}.theme-dark .best-manager small{color:#9aabc0}.profit-breakdown-modal{background:#fff;border-radius:16px;width:min(1050px,96vw);max-height:90vh;overflow:auto;box-shadow:0 24px 70px #10243f55}.profit-breakdown-modal>header{z-index:2;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px;display:flex;position:sticky;top:0}.profit-breakdown-modal h2{margin:2px 0 4px;font-size:24px}.profit-breakdown-modal header small{color:var(--muted)}.profit-breakdown-modal header>button{color:#607083;background:#edf2f6;border:0;border-radius:9px;width:36px;height:36px;font-size:24px}.profit-breakdown-total{background:#f7fafc;grid-template-columns:150px 220px 1fr;align-items:center;gap:12px;padding:17px 22px;display:grid}.profit-breakdown-total>span{flex-direction:column;gap:4px;display:flex}.profit-breakdown-total small{color:var(--muted)}.profit-breakdown-total strong{font-size:20px}.profit-breakdown-total p{color:#5f7185;margin:0;font-size:12px}.profit-breakdown-table{padding:0 22px 22px}.profit-breakdown-head,.profit-breakdown-row{grid-template-columns:minmax(210px,1.35fr) repeat(5,minmax(105px,.7fr));align-items:center;gap:12px;display:grid}.profit-breakdown-head{color:#718094;text-transform:uppercase;padding:13px 12px;font-size:10px;font-weight:850}.profit-breakdown-row{border-top:1px solid var(--line);min-height:72px;padding:12px;font-size:12px}.profit-breakdown-row>span:first-child{flex-direction:column;gap:3px;display:flex}.profit-breakdown-row small{color:var(--muted)}.profit-breakdown-row.negative{background:#fff1f2}.profit-breakdown-row .negative,.profit-breakdown-total .negative{color:#c33440}.profit-breakdown-row .positive,.profit-breakdown-total .positive{color:#168c54}.profit-breakdown-empty{text-align:center;color:var(--muted);padding:36px}.theme-dark .profit-breakdown-modal,.theme-dark .profit-breakdown-modal>header{color:#e8eef7;background:#111b2c}.theme-dark .profit-breakdown-modal>header,.theme-dark .profit-breakdown-row{border-color:#2a3a50}.theme-dark .profit-breakdown-total{background:#172338}.theme-dark .profit-breakdown-row.negative{background:#2a171c}.theme-dark .profit-breakdown-total p,.theme-dark .profit-breakdown-modal header small,.theme-dark .profit-breakdown-row small{color:#9aabc0}@media (width<=850px){.profit-breakdown-total{grid-template-columns:1fr 1fr}.profit-breakdown-total p{grid-column:1/-1}.profit-breakdown-table{overflow:auto}.profit-breakdown-head,.profit-breakdown-row{min-width:850px}}.theme-dark .order-head,.theme-dark .customer-catalog-head,.theme-dark .archive-head,.theme-dark .filter-tabs,.theme-dark .chat-list-header{color:#9eafc4;background:#172338}.theme-dark .order-row,.theme-dark .customer-catalog-row,.theme-dark .archive-row,.theme-dark .chat-row{color:#e8eef7;background:#111b2c;border-color:#26364b}.theme-dark .order-row:hover,.theme-dark .customer-catalog-row:hover,.theme-dark .archive-row:hover,.theme-dark .chat-row:hover{background:#172338}.theme-dark input,.theme-dark select,.theme-dark textarea,.theme-dark .search,.theme-dark .project-picker select,.theme-dark .pagination button{color:#e8eef7!important;background:#172338!important;border-color:#33465f!important}.theme-dark input::placeholder,.theme-dark textarea::placeholder{color:#8293a8}.theme-dark h1,.theme-dark h2,.theme-dark h3,.theme-dark strong,.theme-dark b,.theme-dark .metric strong,.theme-dark .archive-tools>div strong,.theme-dark .customer-catalog-summary strong,.theme-dark .pagination b{color:#e8eef7}.theme-dark small,.theme-dark p,.theme-dark .metric span,.theme-dark .customer-catalog-summary span,.theme-dark .archive-tools>div span,.theme-dark .catalog-person small,.theme-dark .catalog-contact small,.theme-dark .archive-row small{color:#96a6ba}.theme-dark a,.theme-dark .link-button{color:#65baff}.theme-dark .filter-tabs button:not(.active),.theme-dark button.secondary{color:#b8c6d8}.theme-dark .filter-tabs button.active{color:#fff;background:#263750}.theme-dark .drawer-overlay{background:#020711b8}.theme-dark .status-new{color:#fff;background:#164b80}.theme-dark .status-cancelled,.theme-dark .status-canceled{color:#ffd7dc;background:#5d252d}.theme-dark .status-accepted{color:#ffe8a5;background:#5a481b}.theme-dark .status-completed{color:#bff1d9;background:#174a36}.sidebar-bottom{gap:4px}.sidebar-bottom .nav-item{min-height:54px}.fop-page{background:var(--canvas);min-height:100vh;color:var(--ink)}.fop-period{align-items:end;gap:10px;margin-left:auto;display:flex}.fop-period label{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.fop-period input{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:4px;padding:9px;display:block}.fop-summary{grid-template-columns:repeat(3,1fr);gap:14px;padding:18px 24px;display:grid}.fop-summary>div{border:1px solid var(--line);background:#fff;border-radius:13px;flex-direction:column;gap:7px;padding:18px;display:flex}.fop-summary span{color:var(--muted);font-size:11px}.fop-summary strong{color:#173f74;font-size:24px}.fop-summary .income strong{color:#13865a}.fop-summary .expense strong{color:#c84b55}.fop-layout{grid-template-columns:290px 1fr;gap:16px;padding:0 24px 24px;display:grid}.fop-list,.fop-main{border:1px solid var(--line);background:#fff;border-radius:13px;padding:16px}.fop-list h2,.fop-main h2{margin:0 0 12px}.fop-list>button{text-align:left;background:#f5f8fb;border:1px solid #0000;border-radius:10px;justify-content:space-between;width:100%;margin-bottom:7px;padding:11px;display:flex}.fop-list>button.active{background:#edf7ff;border-color:#2b91dc}.fop-list>button span{flex-direction:column;gap:4px;display:flex}.fop-list>button small{color:var(--muted)}.fop-list>button i,.bank-card>div button{color:#d24b55;background:0 0;border:0;font-size:20px}.fop-list form,.account-form{border-top:1px solid var(--line);gap:8px;margin-top:18px;padding-top:16px;display:grid}.fop-list input,.account-form input,.account-form select,.transactions-head select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.fop-list form button,.account-form button,.bank-card>button{background:var(--blue);color:#fff;border:0;border-radius:8px;padding:10px;font-weight:800}.account-grid{grid-template-columns:repeat(3,minmax(210px,1fr));gap:12px;display:grid}.bank-card{border:1px solid var(--line);background:#f8fafc;border-radius:12px;flex-direction:column;gap:7px;padding:14px;display:flex}.bank-card>div{justify-content:space-between;display:flex}.bank-card em{color:#5f6e80;font-style:normal;font-weight:800}.bank-card h3,.bank-card p{margin:0}.bank-card p,.bank-card small{color:var(--muted)}.bank-card strong{font-size:21px}.bank-card .bank-error{color:#c54450}.account-form{grid-template-columns:160px 1fr 1.4fr 1.4fr auto;align-items:end}.account-form h3,.account-form small{grid-column:1/-1;margin:0}.transactions{border:1px solid var(--line);border-radius:12px;margin-top:20px;overflow:hidden}.transactions-head{background:#f6f8fb;justify-content:space-between;align-items:center;padding:13px 15px;display:flex}.transactions-head h2{margin:0}.transaction-row{border-top:1px solid var(--line);justify-content:space-between;gap:20px;padding:13px 15px;display:flex}.transaction-row>span{flex-direction:column;gap:4px;display:flex}.transaction-row small{color:var(--muted)}.transaction-row .positive{color:#12855b}.transaction-row .negative{color:#c3444f}.empty-state{text-align:center;color:var(--muted);padding:24px}.theme-dark .fop-page{background:#0b1220}.theme-dark .fop-summary>div,.theme-dark .fop-list,.theme-dark .fop-main,.theme-dark .bank-card,.theme-dark .transactions{background:#111b2c;border-color:#2a3a50}.theme-dark .fop-list>button,.theme-dark .transactions-head{color:#e8eef7;background:#172338}.theme-dark .fop-list>button.active{background:#17395a;border-color:#5bb5ff}.theme-dark .fop-summary strong,.theme-dark .bank-card strong{color:#e8eef7}@media (width<=1100px){.fop-layout{grid-template-columns:1fr}.account-grid{grid-template-columns:repeat(2,1fr)}.account-form{grid-template-columns:1fr 1fr}}@media (width<=700px){.fop-summary{grid-template-columns:1fr}.fop-layout{padding:0 12px 20px}.account-grid,.account-form{grid-template-columns:1fr}.fop-period{flex-wrap:wrap}.transaction-row{align-items:flex-start}}.account-form{grid-template-columns:150px 1fr 1.25fr 1fr 1.2fr auto}.account-form label{color:var(--muted);flex-direction:column;gap:5px;font-size:11px;font-weight:800;display:flex}@media (width<=1100px){.account-form{grid-template-columns:1fr 1fr}}@media (width<=700px){.account-form{grid-template-columns:1fr}}@media (width<=1500px) and (width>=761px){.sidebar{width:72px;padding:12px 6px}.brand-mark{border-radius:12px;width:44px;height:44px;font-size:21px}.sidebar nav{gap:4px;margin-top:18px}.nav-item{border-radius:10px;min-height:52px}.nav-item span{font-size:19px}.nav-item b{font-size:9px}.nav-item i{top:5px;right:5px}.nav-item.active:before{left:-6px}.sidebar-bottom .nav-item{min-height:48px}.workspace{width:calc(100vw - 72px)}.topbar{gap:10px;height:68px;padding:8px 12px}.topbar h1{font-size:20px}.search{width:min(390px,32vw);margin-left:8px;padding:0 9px}.search input{height:38px}.create-order-button{padding:9px 11px;font-size:12px}.profit-podium{gap:4px;min-width:330px;max-width:470px;height:48px;padding:4px 5px}.profit-place{gap:4px;height:38px;padding:4px 5px}.profit-cup{width:21px;height:21px}.profit-place-copy small{font-size:8px}.profit-place-copy strong{font-size:9px}.best-manager{flex-basis:105px;gap:4px;height:38px;padding:4px}.best-manager>span:first-child{font-size:17px}.best-manager small{font-size:8px}.best-manager strong{font-size:9px}.sync-button{padding:7px 9px;font-size:10px}.user{gap:6px;padding-left:8px}.user span{display:none}.avatar.small{width:32px;height:32px}.dashboard-strip{gap:8px;padding:10px 12px 8px}.metric{padding:10px 12px}.metric span,.metric small{font-size:9px}.metric small{margin-top:4px}.metric strong{font-size:18px}.toolbar{gap:5px;margin:0 12px 8px}.filter-tabs{gap:2px;padding:3px}.filter-tabs button{padding:7px 9px;font-size:10px}.toolbar-filters{gap:4px}.toolbar-filter select,.toolbar-filter input{height:31px;padding:0 7px;font-size:10px}.toolbar-filter select{min-width:118px}.toolbar-filter.date input{width:112px}.secondary-button,.history-sync-button{padding:7px 9px;font-size:10px}.orders-frame{margin:0 12px 12px}.orders-grid{grid-template-columns:132px minmax(250px,2fr) 92px 82px 92px 94px 104px 112px 92px minmax(140px,1fr) 118px 135px 100px;gap:8px}.orders-head,.order-row{min-width:1535px;padding-left:10px;padding-right:10px}.orders-head{padding-top:10px;padding-bottom:10px;font-size:9px}.order-row{padding-top:9px;padding-bottom:9px;font-size:11px}.product-thumb{width:32px;height:32px}.shop-logo{width:25px;height:25px}.expand-order{width:22px}.accept-small{padding:6px 8px;font-size:10px}.order-expanded{width:calc(100vw - 96px);min-width:0;padding:14px 16px 18px;position:sticky;left:0}.order-expanded-head{flex-wrap:wrap;gap:10px;padding-bottom:12px}.order-expanded-head h2{font-size:19px}.order-expanded-actions{flex-wrap:wrap;width:100%}.order-expanded-actions .accept-primary{width:auto;min-width:210px}.order-expanded-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.order-expanded .drawer-section{padding:14px 0 6px}.order-expanded .drawer-section+.drawer-section{padding-left:20px}.order-expanded .drawer-section:nth-child(odd){border-left:0;padding-left:0}.price-adjustment-section,.order-expanded .order-activity-section{grid-column:1/-1}.price-adjustment-fields{grid-template-columns:130px minmax(220px,1fr)}.price-adjustment-fields>label:nth-child(3){grid-column:1/-1}.order-expanded-footer{grid-template-columns:1fr}.procurement-inline .procurement-button{max-width:none}}@media (width<=1000px) and (width>=761px){.topbar>div:first-child{display:none}.search{flex:1;width:auto;margin-left:0}.profit-podium{gap:2px;min-width:220px;max-width:270px;padding:3px}.profit-place{justify-content:center;gap:2px;padding:3px}.profit-place-copy small{display:none}.profit-cup{width:18px;height:18px}.profit-place-copy strong{font-size:8px}.best-manager{flex-basis:78px;gap:2px;padding:3px}.best-manager>span:first-child{font-size:15px}.best-manager small{display:none}.best-manager strong{font-size:8px}.dashboard-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.metric small{display:none}.toolbar{align-items:flex-end}.order-expanded-grid{grid-template-columns:1fr}.order-expanded .drawer-section+.drawer-section{border-left:0;padding-left:0}.price-adjustment-fields{grid-template-columns:1fr}.price-adjustment-fields>label:nth-child(3){grid-column:auto}}.modal-backdrop{z-index:80;background:#12243b73;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.manual-order-modal{background:#fff;border-radius:16px;width:min(920px,96vw);max-height:94vh;overflow:auto;box-shadow:0 24px 70px #10243f55}.manual-order-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:22px 24px;display:flex}.manual-order-modal h2{margin:0 0 5px;font-size:24px}.manual-order-modal header small{color:var(--muted)}.manual-order-modal>header>button{color:#627386;background:#edf2f6;border:0;border-radius:9px;width:36px;height:36px;font-size:24px}.manual-order-modal form{padding:20px 24px}.manual-order-modal fieldset{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 20px;padding:0;display:grid}.manual-order-modal legend{color:#213b58;border-bottom:1px solid var(--line);grid-column:1/-1;width:100%;margin-bottom:3px;padding-bottom:9px;font-size:14px;font-weight:850}.manual-order-modal label{color:#607187;flex-direction:column;gap:6px;font-size:11px;font-weight:800;display:flex}.manual-order-modal input,.manual-order-modal select,.manual-order-modal textarea{width:100%;min-width:0;color:var(--ink);font:inherit;background:#fff;border:1px solid #d3dee7;border-radius:9px;padding:11px;font-size:13px}.manual-order-modal textarea{resize:vertical;min-height:78px}.manual-order-modal .manual-url{grid-column:span 3}.manual-url>div{gap:8px;display:flex}.manual-url button{color:#1478bb;white-space:nowrap;background:#e8f3fc;border:0;border-radius:8px;padding:0 13px;font-weight:800}.manual-url small{color:var(--muted);font-weight:500}.manual-product-preview{background:#f5f8fb;border-radius:10px;grid-column:1/-1;align-items:center;gap:11px;padding:10px;display:flex}.manual-product-preview img{object-fit:contain;background:#fff;border-radius:8px;width:56px;height:56px}.manual-product-preview span{flex-direction:column;gap:4px;display:flex}.manual-product-preview small{color:var(--muted)}.manual-wide{grid-column:span 2}.manual-order-modal footer{border-top:1px solid var(--line);justify-content:space-between;align-items:end;gap:20px;padding-top:16px;display:flex}.manual-order-modal footer>span{flex-direction:column;gap:6px;display:flex}.manual-order-modal footer b{color:#c33440;font-size:12px}.manual-order-modal footer strong{font-size:18px}.manual-order-modal footer>div{gap:9px;display:flex}.manual-order-modal footer button{background:var(--blue);color:#fff;border:0;border-radius:9px;padding:11px 16px;font-weight:850}.manual-order-modal footer button.secondary{color:#53667a;background:#e9eef3}.manual-order-modal .field-invalid{box-shadow:0 0 0 3px #d9424e1a;background:#fff5f5!important;border-color:#d9424e!important}.theme-dark .manual-order-modal{color:#e8eef7;background:#111b2c}.theme-dark .manual-order-modal>header,.theme-dark .manual-order-modal legend,.theme-dark .manual-order-modal footer{border-color:#2a3a50}.theme-dark .manual-product-preview{background:#172338}.theme-dark .manual-url button{color:#78c7ff;background:#17395a}.theme-dark .manual-order-modal .field-invalid{background:#2a171c!important;border-color:#e65a65!important}.manual-items-head{justify-content:space-between;align-items:center;gap:12px;margin:4px 0 12px;display:flex}.manual-items-head button{color:#1579bb;background:#eef7fe;border:1px solid #bfd8eb;border-radius:8px;padding:9px 12px;font-weight:850}.manual-items-list{gap:14px;margin-bottom:20px;display:grid}.manual-order-modal fieldset.manual-item-card{background:#f8fbfd;border:1px solid #d5e2ec;border-radius:12px;margin:0;padding:14px}.manual-order-modal .manual-item-card legend{border:0;justify-content:space-between;align-items:center;margin:0 0 10px;padding:0;display:flex}.manual-item-card legend button{color:#c13b48;background:0 0;border:0;font-weight:800}.manual-item-error{color:#b8323f;background:#fff0f1;border-radius:8px;grid-column:1/-1;padding:9px 11px;font-size:12px;font-weight:750}.manual-item-total{color:#21496e;grid-column:1/-1;justify-self:end}.manual-shop-field{grid-template-columns:minmax(220px,1fr)!important}.drawer-products-list{gap:12px;display:grid}.drawer-products-list .drawer-product+.drawer-product{border-top:1px solid var(--line);padding-top:12px}.theme-dark .manual-order-modal fieldset.manual-item-card{background:#152438;border-color:#355779}.theme-dark .manual-items-head button{color:#78c7ff;background:#17395a;border-color:#355779}.theme-dark .manual-item-error{color:#ff9aa2;background:#351a20}@media (width<=900px){.manual-order-modal fieldset{grid-template-columns:1fr 1fr}.manual-order-modal .manual-url{grid-column:1/-1}.procurement-item-fields{grid-template-columns:1fr}}@media (width<=600px){.modal-backdrop{padding:8px}.manual-order-modal form,.manual-order-modal>header{padding:16px}.manual-order-modal fieldset{grid-template-columns:1fr}.manual-order-modal .manual-url,.manual-wide{grid-column:auto}.manual-url>div,.manual-order-modal footer{flex-direction:column;align-items:stretch}.manual-url button{padding:11px}.manual-order-modal footer>div{justify-content:flex-end}.manual-items-head{flex-direction:column;align-items:stretch}}.tests-page{background:var(--canvas);min-height:100vh}.test-message{margin:14px 24px 0}.test-layout{grid-template-columns:330px minmax(0,1fr);gap:16px;padding:18px 24px 24px;display:grid}.test-phones,.test-orders{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden}.test-phones{padding:17px}.test-phones h2{margin:0 0 6px}.test-phones>p{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.5}.test-phones form{gap:8px;display:grid}.test-phones input{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.test-phones form button{background:var(--blue);color:#fff;border:0;border-radius:8px;padding:10px;font-weight:800}.test-phone-list{margin-top:16px}.test-phone-list article{border-top:1px solid var(--line);justify-content:space-between;gap:10px;padding:12px 0;display:flex}.test-phone-list article>span{flex-direction:column;gap:4px;min-width:0;display:flex}.test-phone-list small{color:var(--muted);font-size:10px}.test-phone-list article>button{color:#d24b55;background:0 0;border:0;font-size:20px}.test-orders-summary{background:#f7f9fb;justify-content:space-between;gap:16px;padding:15px 17px;display:flex}.test-order-head,.test-order-row{grid-template-columns:110px minmax(180px,1fr) minmax(260px,1.5fr) 110px 130px 145px 110px;align-items:center;gap:14px;display:grid}.test-order-head{color:#7a8797;text-transform:uppercase;padding:12px 16px;font-size:10px;font-weight:800}.test-order-row{border-top:1px solid var(--line);min-height:76px;padding:12px 16px;font-size:12px}.test-order-row>span{flex-direction:column;gap:4px;min-width:0;display:flex}.test-order-row small{color:var(--muted)}.test-order-row i{font-style:normal}.theme-dark .tests-page{background:#0b1220}.theme-dark .test-phones,.theme-dark .test-orders{background:#111b2c;border-color:#2a3a50}.theme-dark .test-orders-summary{background:#172338}.theme-dark .test-order-row,.theme-dark .test-phone-list article{border-color:#2a3a50}.theme-dark .test-phones input{color:#e8eef7;background:#172338;border-color:#33465f}@media (width<=1100px){.test-layout{grid-template-columns:1fr}.test-orders{overflow:auto}.test-order-head,.test-order-row{min-width:1100px}}@media (width<=700px){.test-layout{padding:12px}.test-message{margin:12px}.test-orders-summary{flex-direction:column}}.wholesale-status-pending{color:#fff;background:#123d6b;border-color:#123d6b;font-weight:800}.wholesale-status-received{color:#87600a;background:#fff3cf;border-color:#ead492;font-weight:750}.wholesale-status-delivered,.wholesale-status-paid{color:#257333;background:#e2f6e4;border-color:#b9dfbd;font-weight:750}.wholesale-status-canceled,.wholesale-status-cancelled{color:#a72f38;background:#ffe5e7;border-color:#f4bcc1;font-weight:750}.wholesale-status option{color:#33475b;background:#fff}.theme-dark .wholesale-status{border-color:#40536b}.theme-dark .wholesale-status option{color:#e8eef7;background:#172338}.order-expanded{width:calc(100vw - 140px);min-width:0;position:sticky;left:0;container-type:inline-size}.order-expanded-head,.order-expanded-actions{flex-wrap:wrap}@media (width<=1500px) and (width>=761px){.order-expanded{width:calc(100vw - 96px)}}@media (width<=760px){.order-expanded{width:calc(100vw - 86px)}}@container (width<=1350px){.order-expanded-actions{justify-content:flex-start;width:100%}.order-expanded-actions .accept-primary{width:auto;min-width:220px}.order-expanded-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.order-expanded .drawer-section+.drawer-section{padding-left:20px}.order-expanded .drawer-section:nth-child(odd){border-left:0;padding-left:0}.price-adjustment-section,.order-expanded .order-activity-section{grid-column:1/-1}.price-adjustment-fields{grid-template-columns:150px minmax(240px,1fr)}.price-adjustment-fields>label:nth-child(3){grid-column:1/-1}.order-expanded-footer{grid-template-columns:1fr}}@container (width<=820px){.order-expanded{padding:14px}.order-expanded-actions{gap:8px}.order-expanded-actions .accept-primary{flex:1;min-width:210px}.order-expanded-grid{grid-template-columns:1fr}.order-expanded .drawer-section+.drawer-section{border-left:0;padding-left:0}.price-adjustment-fields{grid-template-columns:1fr}.price-adjustment-fields>label:nth-child(3){grid-column:auto}.price-adjustment-summary{grid-template-columns:1fr}}.catalog-page{background:var(--canvas);min-height:100vh;color:var(--ink)}.catalog-topbar{gap:18px}.catalog-search{flex:1;width:auto;max-width:720px;margin-left:0}.catalog-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 24px 14px;display:grid}.catalog-summary>div{border:1px solid var(--line);background:#fff;border-radius:13px;flex-direction:column;gap:7px;min-height:112px;padding:17px 19px;display:flex}.catalog-summary span{color:var(--muted);font-size:11px}.catalog-summary strong{color:#153f72;font-size:25px}.catalog-summary small{color:var(--muted)}.catalog-progress i{background:#e8eef3;border-radius:99px;height:8px;margin-top:auto;overflow:hidden}.catalog-progress i b{border-radius:inherit;background:#20a76e;height:100%;transition:width .25s;display:block}.catalog-progress.active i b{background:#168ee0}.catalog-notice,.catalog-alert{margin:0 24px 14px}.catalog-notice{color:#285978;background:#eff8ff;border:1px solid #bcd9ef;border-radius:10px;padding:12px 14px;font-size:12px}.catalog-tools{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:end;gap:12px;margin:0 24px 10px;padding:12px 14px;display:flex}.catalog-tools label{color:var(--muted);text-transform:uppercase;flex-direction:column;gap:5px;font-size:10px;font-weight:800;display:flex}.catalog-tools select{border:1px solid var(--line);min-width:210px;color:var(--ink);background:#fff;border-radius:8px;padding:9px 10px}.catalog-tools>span{color:var(--muted);margin-right:auto;font-size:12px}.catalog-table{border:1px solid var(--line);background:#fff;border-radius:13px;margin:0 24px;overflow:hidden}.catalog-product-head,.catalog-product-row{grid-template-columns:minmax(380px,2.5fr) minmax(170px,.9fr) minmax(170px,.9fr) 150px 100px;align-items:center;gap:16px;display:grid}.catalog-product-head{color:#778698;text-transform:uppercase;background:#f5f7fa;padding:13px 16px;font-size:10px;font-weight:850}.catalog-product-row{border-top:1px solid var(--line);min-height:78px;padding:11px 16px;font-size:12px}.catalog-product-row:hover{background:#f8fbfd}.catalog-product-row>span{min-width:0}.catalog-product-main{align-items:center;gap:12px;display:flex}.catalog-product-main>img,.catalog-product-main>i{border:1px solid var(--line);object-fit:contain;background:#fff;border-radius:9px;flex:0 0 52px;width:52px;height:52px}.catalog-product-main>i{color:#8291a1;place-items:center;font-size:21px;font-style:normal;display:grid}.catalog-product-main>span,.catalog-product-code{flex-direction:column;gap:4px;min-width:0;display:flex}.catalog-product-main strong{line-height:1.35}.catalog-product-row small{color:var(--muted)}.catalog-product-code strong,.catalog-shop-name{color:#273d56}.catalog-product-row>a{color:#1385d1;font-weight:800;text-decoration:none}.catalog-product-link{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.catalog-product-link small{text-overflow:ellipsis;max-width:150px;color:var(--muted);font-size:10px;font-weight:650;overflow:hidden}.catalog-page>.pagination{margin:12px 24px 24px}.theme-dark .catalog-page{background:#0b1220}.theme-dark .catalog-summary>div,.theme-dark .catalog-tools,.theme-dark .catalog-table{background:#111b2c;border-color:#2a3a50}.theme-dark .catalog-summary strong,.theme-dark .catalog-product-code strong,.theme-dark .catalog-shop-name{color:#e8eef7}.theme-dark .catalog-product-head{color:#9eafc4;background:#172338}.theme-dark .catalog-product-row{border-color:#2a3a50}.theme-dark .catalog-product-row:hover{background:#172338}.theme-dark .catalog-progress i{background:#25354a}.theme-dark .catalog-notice{color:#a9d8f7;background:#132b40;border-color:#285678}.shipment-section{border-left:0!important;border-bottom:1px solid var(--line)!important;border-top:0!important;grid-column:1/-1!important;margin:0!important;padding:16px 0!important}.shipment-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.shipment-title h3{margin:0 0 4px!important}.shipment-title small{color:var(--muted)}.shipment-sync-state{color:#657488;white-space:nowrap;background:#eef2f5;border-radius:99px;align-items:center;padding:5px 9px;font-size:10px;font-style:normal;font-weight:850;display:inline-flex}.shipment-sync-state.synced{color:#187447;background:#dff4e7}.shipment-fields{grid-template-columns:minmax(180px,.7fr) minmax(280px,1.4fr) max-content;align-items:end;gap:12px;margin-top:13px;display:grid}.shipment-fields label{color:#607187;flex-direction:column;gap:6px;font-size:11px;font-weight:800;display:flex}.shipment-fields input,.shipment-fields select{width:100%;min-width:0;color:var(--ink);font:inherit;background:#fff;border:1px solid #d3dee7;border-radius:9px;padding:11px;font-size:13px}.shipment-fields input:focus,.shipment-fields select:focus{border-color:#248fdc;outline:0;box-shadow:0 0 0 3px #248fdc18}.shipment-fields input.field-invalid{background:#fff5f5;border-color:#d9424e;box-shadow:0 0 0 3px #d9424e1a}.shipment-fields>button{background:var(--blue);color:#fff;white-space:nowrap;border:0;border-radius:9px;padding:12px 16px;font-weight:850}.shipment-fields>button:disabled{opacity:.5}.shipment-error{font-weight:750;color:#c33440!important;margin:8px 0 0!important;font-size:12px!important}.shipment-current{grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);gap:10px;margin-top:12px;display:grid}.shipment-current>span{border:1px solid var(--line);background:#f7fafc;border-radius:9px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.shipment-current small{color:var(--muted)}.shipment-row-badge{color:#1766a3;background:#e5f1ff;border-radius:10px;align-items:center;width:max-content;margin-top:4px;padding:3px 6px;font-size:9px;font-style:normal;font-weight:850;line-height:1.2;display:inline-flex}.theme-dark .shipment-sync-state{color:#b5c2d2;background:#26364a}.theme-dark .shipment-sync-state.synced{color:#92dfae;background:#173f2b}.theme-dark .shipment-fields input,.theme-dark .shipment-fields select,.theme-dark .shipment-current>span{color:#e8eef7;background:#172338;border-color:#33465f}.theme-dark .shipment-fields input.field-invalid{background:#2a171c;border-color:#e65a65}.theme-dark .shipment-row-badge{color:#78c7ff;background:#17395a}.theme-dark{--dark-surface:#111d2e;--dark-surface-raised:#17263a;--dark-surface-active:#1b3350;--dark-border:#344b65;--dark-border-strong:#4b6b8d}.theme-dark .orders-frame,.theme-dark .orders-scroll{background:var(--dark-surface)}.theme-dark .orders-head{color:#b9c9da;border-color:var(--dark-border);background:#18283d;box-shadow:0 1px #07101c,0 7px 18px #050a124d}.theme-dark .order-row{background:var(--dark-surface);border-color:#2d4057}.theme-dark .order-row:nth-of-type(2n){background:#132033}.theme-dark .order-row:hover{background:#192b42}.theme-dark .order-row.selected-row{background:#1b3552;box-shadow:inset 4px 0 #58b5ff,inset 0 1px #355979,inset 0 -1px #355979}.theme-dark .order-expanded{background:#0f1c2c;border-color:#3e668b;box-shadow:inset 4px 0 #58b5ff}.theme-dark .drawer-section,.theme-dark .price-adjustment,.theme-dark .history-block{border-color:#30465e}.theme-dark .filter-tabs{background:#162438;border:1px solid #2d4259}.theme-dark .filter-tabs button:not(.selected):not(.active){color:#aebfd1}.theme-dark .filter-tabs button.selected,.theme-dark .filter-tabs button.active{color:#fff;background:#2b5f91;box-shadow:0 0 0 1px #5aaeff,0 4px 12px #050a124d}.theme-dark .toolbar-filter select,.theme-dark .toolbar-filter input,.theme-dark .secondary-button,.theme-dark .filter-reset{color:#eaf2fb!important;background:#17263a!important;border-color:#3a536e!important}.theme-dark .toolbar-filter select:focus,.theme-dark .toolbar-filter input:focus,.theme-dark input:focus,.theme-dark select:focus,.theme-dark textarea:focus{outline:0;border-color:#5ab7ff!important;box-shadow:0 0 0 3px #309ee62e!important}.theme-dark .status-select{box-shadow:inset 0 0 0 1px #ffffff08;color:#e7eef7!important;background:#233249!important;border-color:#4c6179!important}.theme-dark .status-select-new{color:#f5fbff!important;background:#174b7d!important;border-color:#4aa7ee!important}.theme-dark .status-select-accepted{color:#ffebb2!important;background:#59451a!important;border-color:#c99a32!important}.theme-dark .status-select-cancelled{color:#ffdce1!important;background:#58252e!important;border-color:#d75a69!important}.theme-dark .status-select-completed{color:#d8ffe6!important;background:#1c4b32!important;border-color:#50a873!important}.theme-dark .status-select option{color:#edf4fb!important;background:#17263a!important}.theme-dark .status-select:disabled{opacity:.72}.theme-dark .status{border:1px solid #0000;box-shadow:inset 0 0 0 1px #ffffff0d}.theme-dark .status-new{color:#f5fbff;background:#174b7d;border-color:#408fc9}.theme-dark .status-accepted{color:#ffebb2;background:#59451a;border-color:#a87d27}.theme-dark .status-work{color:#eee4ff;background:#3c2f65;border-color:#8064c3}.theme-dark .status-sent{color:#d4fff6;background:#174640;border-color:#3a9688}.theme-dark .status-done,.theme-dark .status-completed{color:#d8ffe6;background:#1c4b32;border-color:#438f61}.theme-dark .status-cancelled,.theme-dark .status-canceled{color:#ffdce1;background:#58252e;border-color:#b94d5a}.theme-dark .payment-badge{border:1px solid #0000;box-shadow:inset 0 0 0 1px #ffffff0d}.theme-dark .payment-paid{color:#caffda;background:#1b4a2f;border-color:#438f5d}.theme-dark .payment-error{color:#ffd9df;background:#58242d;border-color:#bd4e5d}.theme-dark .payment-pending{color:#ffe9aa;background:#59441a;border-color:#a97c25}.theme-dark .payment-refunded{color:#eadcff;background:#3c2d5d;border-color:#795db3}.theme-dark .payment-cash{color:#dbe7f3;background:#28394e;border-color:#526a84}.theme-dark .payment-state small{color:#a8b7c8}.theme-dark .nav-item.active{color:#fff;background:#2a5d91;box-shadow:inset 3px 0 #71c3ff,0 6px 18px #06101e52}.theme-dark .chat-row.active,.theme-dark .chat-row.selected{background:#1d3a58;box-shadow:inset 4px 0 #5bb9ff}.theme-dark .metric{background:linear-gradient(145deg,#142238,#101a2a);border-color:#30465e}.theme-dark .metric:hover{border-color:#45698d}.theme-dark .customer-badge,.theme-dark .shipment-row-badge,.theme-dark .procurement-draft-state{border:1px solid #3f739c}@media (width<=1100px){.catalog-summary{grid-template-columns:1fr}.catalog-table{overflow:auto}.catalog-product-head,.catalog-product-row{min-width:1050px}}@media (width<=760px){.catalog-summary{padding:12px}.catalog-tools{flex-direction:column;align-items:stretch;margin:0 12px 10px}.catalog-tools select{width:100%}.catalog-tools>span{margin-right:0}.catalog-table{margin:0 12px}.catalog-notice,.catalog-alert{margin:0 12px 10px}}@media (width<=820px){.shipment-fields,.shipment-current{grid-template-columns:1fr}.shipment-fields>button{width:100%}}
