@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.8e0177b5.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.b97b3418.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.853070df.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.c1fdd6c2.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.799d8ef8.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.dbea232f.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}
:root{--background:#f5f7fb;--foreground:#0f172a;--muted:#6b7280;--card:#fff;--border:#e5e7eb;--primary:#2563eb}html,body{max-width:100vw;overflow-x:hidden}body{color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}input,textarea,select,button{font:inherit}input,textarea,select{border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;padding:10px 12px}input:focus,textarea:focus,select:focus{border-color:#93c5fd;outline:none;box-shadow:0 0 0 3px #3b82f626}button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:8px;padding:9px 12px}button:hover{background:#f9fafb}button:disabled{opacity:.6;cursor:not-allowed}.crm-page{max-width:1440px;margin:16px auto;padding:0 16px 24px}.card{background:var(--card);border:1px solid #e7eaf3;border-radius:14px;padding:14px;box-shadow:0 8px 24px #1118270d}.crm-header{z-index:20;justify-content:space-between;align-items:center;margin-bottom:10px;padding-top:10px;padding-bottom:10px;display:flex;position:sticky;top:0}.crm-header h1{margin:0;font-size:28px;line-height:1.1}.muted{color:var(--muted)}.user-menu{position:relative}.user-menu>summary{cursor:pointer;border:1px solid var(--border);background:#fff;border-radius:10px;padding:8px 12px;font-weight:600;list-style:none}.user-menu>summary::-webkit-details-marker{display:none}.user-menu-panel{z-index:10;width:320px;position:absolute;top:calc(100% + 8px);right:0}.password-card{box-shadow:none;border:0;gap:10px;padding:0;display:grid}.password-card h3{margin:0 0 2px;font-size:14px}.workspace-block{gap:12px;display:grid}.tabs-card{padding:8px}.tabs-row{flex-wrap:wrap;gap:8px;display:flex}.tab-btn{color:#4b5563;background:#fff;border-color:#0000;border-radius:10px;padding:8px 14px}.tab-btn.active{color:#1d4ed8;background:#eef2ff;border-color:#dbeafe;font-weight:600}.metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.metrics-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{text-align:left;gap:4px;padding:10px;display:grid}.metric-card b{font-size:18px}.metric-card.active{background:#f8fbff;border-color:#bfdbfe}.toolbar h2{margin:0 0 10px}.toolbar-row{gap:8px;display:flex}.toolbar-row input{max-width:440px}.queue-filters select{max-width:220px}.workspace-grid{grid-template-columns:390px 1fr;gap:12px;display:grid}.list-panel{max-height:calc(100vh - 230px);overflow:auto}.list-search-row{z-index:2;background:#fff;gap:8px;margin-bottom:10px;padding-bottom:6px;display:grid;position:sticky;top:0}.queue-filter-row{gap:8px;display:flex}.queue-filter-row .btn{flex:1}.queue-filter-row .btn-chip.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.queue-row{text-align:left;background:#fff;border:1px solid #e7eaf3;border-radius:12px;width:100%;margin-bottom:8px;padding:10px}.queue-row.active{background:linear-gradient(90deg,#eff6ff 0%,#fff 70%);border-color:#93c5fd}.queue-main{grid-template-columns:36px 1fr;align-items:start;gap:10px;display:grid}.avatar{color:#1e3a8a;background:#eef2ff;border-radius:999px;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:inline-grid}.queue-body{gap:4px;min-width:0;display:grid}.queue-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.queue-top b{font-size:16px;line-height:1.2}.queue-phone{color:#6b7280;font-size:15px}.priority{letter-spacing:.02em;border-radius:999px;align-items:center;gap:6px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.priority-dot{background:currentColor;border-radius:999px;width:6px;height:6px;display:inline-block}.priority.hot{color:#c2410c;background:#ffedd5}.priority.warm{color:#15803d;background:#dcfce7}.queue-reason{color:#374151;font-size:12px}.queue-meta{color:var(--muted);justify-content:space-between;gap:8px;font-size:14px;display:flex}.queue-meta-date{align-items:center}.days-right{text-align:right;color:#9ca3af;min-width:72px;margin-left:auto;font-size:14px;font-weight:600}.stop-tag{color:#991b1b;align-items:center;gap:6px;margin-left:8px;font-weight:700;display:inline-flex}.stop-dot{background:#dc2626;border-radius:999px;width:6px;height:6px;display:inline-block}.queue-action{color:#1e3a8a;font-size:12px}.details-panel{gap:0;display:grid}.panel-block{border:0;border-top:1px solid #edf0f4;border-radius:0;padding:14px 4px}.panel-block:first-child{border-top:0;padding-top:4px}.customer-details-panel{gap:10px}.customer-details-panel .panel-block{border-top:0;margin-top:8px;padding:8px 4px}.customer-details-panel .panel-block:first-child{margin-top:0;padding-top:4px}.customer-details-panel .panel-block:not(.customer-summary){max-width:860px;margin-left:66px}.customer-details-panel .orders-block{margin-top:18px}.customer-details-panel .actions-row{align-items:center;margin-top:10px}.customer-details-panel .actions-history-block{margin-top:16px}.customer-details-panel .actions-row{margin-bottom:6px}.orders-block .order-history-wrap{min-height:210px}.action-history-table th,.action-history-table td{font-size:14px}.details-panel h3,.details-panel h4{margin:0 0 6px}.reason-block{color:#374151;background:0 0}.customer-summary{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-summary-main{align-items:center;gap:12px;display:flex}.customer-id-block h3{margin:0;font-size:26px}.customer-phone{color:#374151;margin:0;font-size:20px;line-height:1.2}.customer-last-order{margin:2px 0 0;font-size:16px}.customer-summary-badges{justify-items:end;gap:6px;display:grid}.priority-lg{padding:4px 10px;font-size:13px}.days-right-lg{min-width:86px;font-size:16px}.avatar-lg{width:54px;height:54px;font-size:16px}.actions-row,.primary-actions{gap:8px;display:flex}.section-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-title-row select{width:180px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #eef2f7;padding:8px;font-size:12px}th{color:#475569;background:#fff;font-weight:600;position:sticky;top:0}.order-history-table th,.order-history-table td{padding-top:10px;padding-bottom:10px;font-size:14px}.status-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:2px 8px;font-weight:700}.template-row{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.template-toolbar{z-index:2;background:#fff;margin-bottom:4px;padding-bottom:8px;position:sticky;top:0}.template-default-label{color:#374151;align-items:center;gap:8px;margin-top:10px;font-weight:500;display:inline-flex}.template-default-checkbox{accent-color:#2563eb;border-radius:4px;flex:none;height:16px;padding:0;width:16px!important}.actions-inline{flex-wrap:wrap;gap:6px;display:flex}.btn{white-space:nowrap;font-weight:500}.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn-primary:hover{background:#1d4ed8}.btn-danger{color:#be123c;background:#fff1f2;border-color:#fecdd3}.btn-chip{background:#f8fafc}.modal-backdrop{z-index:50;background:#0f172a47;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--border);background:#fff;border-radius:14px;width:min(640px,100%);padding:14px;box-shadow:0 20px 60px #02061733}.modal-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.modal-head h3{margin:0}.order-compose{white-space:pre-wrap;border:1px solid var(--border);background:#f8fafc;border-radius:10px;padding:10px;font-family:inherit;font-size:14px;line-height:1.45}a{color:inherit;text-decoration:none}@media (max-width:1200px){.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:980px){.workspace-grid{grid-template-columns:1fr}.toolbar-row{flex-wrap:wrap}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-details-panel .panel-block:not(.customer-summary){max-width:100%;margin-left:0}}
