:root{color:var(--ink);background:var(--page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--page:#f4f7f8;--ink:#17242d;--ink-soft:#455860;--muted:#72808a;--line:#dce5e8;--surface:#fff;--bg-card:#fff;--surface-alt:#f5f8f8;--navy:#123b4a;--teal:#2c8d91;--red:#d65b5f;--yellow:#d09c3d;--shadow:0 8px 28px #1f424d12;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0f172a;--ink:#f8fafc;--ink-soft:#dbe4ee;--muted:#94a3b8;--line:#334155;--surface:#1e293b;--bg-card:#1e293b;--surface-alt:#172235;--navy:#0b1220;--teal:#55c5c4;--red:#f07175;--yellow:#e1b454;--shadow:0 12px 34px #0000003d}*{box-sizing:border-box}body{background:var(--page);min-width:320px;margin:0;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}#app{min-height:100svh}.app-shell{background:var(--page);min-height:100svh}.app-shell:has(.table-view){flex-direction:column;height:100svh;display:flex;overflow:hidden}.topbar{background:var(--navy);color:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:10px clamp(18px,4vw,58px);display:flex}.mobile-mode-switch,.mobile-menu-toggle{display:none}.brand-lockup,.topbar-actions,.connection-state,.mode-switch button,.pagination,.pagination-actions{align-items:center;display:flex}.brand-lockup{gap:13px}.brand-lockup h1{color:#fff;letter-spacing:-.3px;margin:1px 0 0;font-size:20px}.brand-mark{color:#103b4a;letter-spacing:-1px;background:#75c2bc;border-radius:11px;place-items:center;width:53px;height:53px;font-weight:800;display:grid}.brand-mark--small{border-radius:8px;width:40px;height:40px;font-size:13px}.eyebrow{color:var(--muted);letter-spacing:1.3px;margin:0;font-size:10px;font-weight:800;line-height:1.2}.topbar .eyebrow{color:#91b0b7}.topbar-actions{gap:18px}.connection-state{color:#c4d6d9;gap:8px;font-size:12px}.connection-state i{background:#73cf9a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #73cf9a29}.workspace{flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:12px 16px 14px;display:flex}.workspace-header{align-items:center;gap:12px;min-height:38px;margin-bottom:10px;display:flex}.workspace-header--table{margin-bottom:8px}.mode-switch{background:var(--surface-alt);border-radius:8px;flex:none;gap:2px;margin:0;padding:3px;display:inline-flex}.mode-switch button{color:#6a7a82;background:0 0;border:1px solid #0000;border-radius:7px;gap:8px;padding:8px 15px;font-size:13px;font-weight:400}.mode-switch button:not(.active){border-color:var(--line)}.mode-switch button:not(.active):hover{color:var(--ink);background:var(--surface);font-weight:700}.mode-switch button.active{color:var(--navy);background:var(--surface);font-weight:700;box-shadow:0 2px 8px #22464d17}.mode-switch button>span[aria-hidden=true]{color:var(--teal);font-size:16px}.mode-switch em{color:#97a5ab;font-size:11px;font-style:normal;font-weight:500}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px;display:flex}h1,h2,p{margin-top:0}h2{color:var(--ink);letter-spacing:-.7px;margin:5px 0 0;font-size:clamp(22px,3vw,28px)}.button{border:0;border-radius:7px;padding:10px 15px;font-size:12px;font-weight:750;transition:transform .15s,background .15s}.button:active{transform:translateY(1px)}.button--primary{background:var(--teal);color:#fff}.button--primary:hover{background:#247b7f}.button--ghost{background:var(--surface);color:var(--muted);border:1px solid var(--line)}.button--ghost:hover{background:var(--surface-alt);color:var(--ink)}.button--compact{color:#d6e3e4;background:#ffffff14;border-color:#ffffff2e;padding:7px 12px}.icon-button{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--teal);border-radius:50%;place-items:center;display:inline-grid}.icon-button:hover{background:var(--surface-alt);color:var(--navy)}.icon-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:17px;height:17px}.theme-toggle{color:#f8fafc;background:#ffffff14;border:1px solid #ffffff2e;border-radius:7px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:750;display:inline-flex}.theme-toggle:hover{background:#ffffff29}.theme-toggle span:first-child{font-size:14px;line-height:1}.button--wide{width:100%;padding:13px;font-size:14px}.metric-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.metric-card{text-align:left;border:1px solid var(--line);border-top:3px solid var(--teal);background:var(--surface);min-height:159px;box-shadow:var(--shadow);color:var(--ink);border-radius:8px;flex-direction:column;padding:19px 20px 16px;transition:transform .16s,box-shadow .16s;display:flex}.metric-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #1f424d1f}.metric-card--danger{border-top-color:var(--red)}.metric-card--warning{border-top-color:var(--yellow)}.metric-card--info{border-top-color:var(--teal)}.metric-card--neutral{border-top-color:#7896a0}.metric-label{color:var(--muted);font-size:12px;font-weight:700}.metric-value{color:var(--navy);letter-spacing:-2px;margin-top:13px;font-size:40px;line-height:1}.metric-card--danger .metric-value{color:var(--red)}.metric-card--warning .metric-value{color:#bd8b2f}.metric-action{color:#97a5aa;margin-top:auto;font-size:11px}.metric-action span{color:var(--teal);font-size:15px}.monitor-note{color:#87969b;margin-top:22px;font-size:12px}.monitor-note span{width:16px;height:16px;color:var(--teal);background:#dceceb;border-radius:50%;place-items:center;margin-right:6px;font-size:10px;font-weight:800;display:inline-grid}.workspace-header--table .quick-search{min-width:0}.filters-button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--ink-soft);border-radius:8px;flex:none;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:750;display:inline-flex}.filters-button:hover,.filters-button[aria-expanded=true]{border-color:var(--teal);color:var(--navy);background:var(--surface-alt)}.filters-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:16px;height:16px}.workspace-refresh{flex:none}.table-view{flex-direction:column;flex:1;min-height:0;display:flex}.transport-tabs{border-bottom:1px solid var(--line);scrollbar-width:thin;flex:none;gap:0;margin:0 0 6px;display:flex;overflow-x:auto}.transport-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:8px 15px 9px;font-size:12px;font-weight:600}.transport-tabs button:hover{color:var(--ink);background:var(--surface-alt);font-weight:700}.transport-tabs button.active{border-bottom-color:var(--teal);color:var(--navy);font-weight:750}.filter-panel{border:1px solid var(--line);background:var(--surface-alt);color:var(--muted);border-radius:7px;flex:none;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;padding:9px 12px;font-size:11px;display:flex}.filter-panel .button{padding:6px 10px}.table-panel{border:1px solid var(--line);background:var(--surface);height:100%;min-height:0;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.table-settings-bar{border-bottom:1px solid var(--line);background:var(--surface-alt);flex:none;justify-content:flex-end;align-items:center;min-height:34px;padding:5px 10px;display:flex}.table-settings-bar__reset{min-height:26px;padding:4px 9px;font-size:10px}.muted{color:var(--muted);font-size:11px}.quick-search{border:1px solid var(--line);background:var(--surface);min-width:min(100%,430px);color:var(--muted);border-radius:8px;flex:1;align-items:center;gap:9px;padding:9px 12px;display:flex}.quick-search:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #2c8d911f}.quick-search svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;flex:none;width:16px;height:16px}.quick-search input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.quick-search input::placeholder{color:var(--muted)}.table-scroll{flex:1;min-height:0;overflow:auto}.data-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:3300px;font-size:12px}.data-table th{z-index:5;background:var(--surface-alt);height:42px;min-height:0;color:var(--muted);text-align:left;vertical-align:middle;letter-spacing:.65px;text-transform:uppercase;white-space:normal;padding:5px 14px 5px 10px;font-size:10px;font-weight:800;line-height:1.15;position:sticky;top:0;overflow:hidden}.data-table th.column-dragging{opacity:.5}.data-table th.column-drop-target{background:color-mix(in srgb, var(--teal) 13%, var(--surface-alt))}.column-resizer{z-index:15;cursor:col-resize;touch-action:none;width:9px;display:block;position:absolute;top:0;bottom:0;right:0}.column-resizer:after{background:var(--teal);content:"";opacity:0;border-radius:1px;width:1px;height:50%;transition:opacity .12s;position:absolute;top:25%;right:3px}.data-table th:hover .column-resizer:after,.column-resizer:focus-visible:after{opacity:.8}.is-column-resizing,.is-column-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.data-table__heading{overflow-wrap:normal;word-break:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-table td{border-top:1px solid var(--line);height:58px;color:var(--ink-soft);vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;padding:8px 14px;overflow:hidden}.cell-value--empty{color:var(--muted)!important}.data-table td>a,.data-table td>span:not(.type-badge){text-overflow:ellipsis;display:block;overflow:hidden}.data-table tbody tr:hover{background:var(--surface-alt)}.data-table td:first-child{color:#76878d;font-weight:650}.crm-link{color:#2563eb;font-weight:700;text-decoration:none}.crm-link--button{cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0}.crm-link:hover,.crm-link:focus-visible{color:#2563eb;text-decoration:underline}.crm-link:visited,.crm-link:active{color:#2563eb}.deal-cell,.deal-cell__order{align-items:center;gap:5px;min-width:0;display:flex}.deal-cell .crm-link{text-overflow:ellipsis;min-width:0;overflow:hidden}.mobile-container-line,.mobile-deal-heading{display:none}.data-table td .crm-external-link{width:22px;height:22px;color:var(--muted);border-radius:4px;flex:none;place-items:center;display:inline-grid}.crm-external-link:hover,.crm-external-link:focus-visible{background:color-mix(in srgb, var(--teal) 12%, transparent);color:var(--teal)}.crm-external-link svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:14px;height:14px}.col-deal{min-width:var(--deal-column-width,104px);width:var(--deal-column-width,104px);max-width:var(--deal-column-width,104px)}.col-container{min-width:var(--container-column-width,132px);width:var(--container-column-width,132px);max-width:var(--container-column-width,132px)}.col-type{width:80px;min-width:80px}.col-client{width:190px;min-width:190px}.col-line{width:145px;min-width:145px}.col-port{width:215px;min-width:215px}.col-carrier{width:205px;min-width:205px}.col-driver{width:180px;min-width:180px}.col-truck{width:165px;min-width:165px}.col-trailer{width:150px;min-width:150px}.col-phone{width:145px;min-width:145px}.col-date{width:155px;min-width:155px}.col-number{width:150px;min-width:150px}.col-manager{width:160px;min-width:160px}.col-delivery-type{width:175px;min-width:175px}.col-direction{width:205px;min-width:205px}.col-seal{width:115px;min-width:115px}.col-comment{width:270px;min-width:270px}.col-cargo{width:180px;min-width:180px}.col-terminal,.col-loading-point{width:165px;min-width:165px}.col-status{width:220px;min-width:220px}.col-temperature{width:190px;min-width:190px}.col-boolean{text-align:center;width:100px;min-width:100px}.col-note{width:280px;min-width:280px}.col-calculated{text-align:center;width:110px;min-width:110px}.col-booking{width:145px;min-width:145px}.col-bl{width:175px;min-width:175px}.col-text{width:165px;min-width:165px}.data-table th.col-deal,.data-table td.col-deal,.data-table th.col-container,.data-table td.col-container{padding-left:6px;padding-right:6px}.data-table th.col-type,.data-table td.col-type{width:80px;min-width:80px}.type-badge{color:#277c7e;background:#edf8f7;border:1px solid #c6e0df;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-block}.status-badge{border-color:var(--status-color,#c6e0df);background:var(--status-bg,#edf8f7);color:var(--status-color,#277c7e)}.container-cell{align-items:center;gap:5px;min-width:0;display:flex}.container-cell>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.copy-button{width:23px;height:23px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex:none;place-items:center;padding:0;display:inline-grid}.copy-button:hover,.copy-button:focus-visible,.copy-button--copied{background:color-mix(in srgb, var(--teal) 12%, transparent);color:var(--teal)}.copy-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:14px;height:14px}.copy-button span{font-size:14px;line-height:1}.port-cell{align-items:center;gap:7px;min-width:0;display:flex}.port-cell>span:last-child{text-overflow:ellipsis;min-width:0;overflow:hidden}.country-flag{flex:none;font-size:16px;line-height:1}.cell-input{box-sizing:border-box;-webkit-text-fill-color:#111827;opacity:1;background:0 0;border:1px solid #0000;border-radius:6px;outline:0;width:100%;min-width:0;max-width:100%;min-height:36px;padding:7px 29px 7px 9px;color:#111827!important}.cell-editor{width:100%;min-width:0;position:relative}.cell-editor:has(.reference-open) .cell-input{padding-right:54px}.col-number .cell-input{min-width:142px}.cell-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cell-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cell-input[type=number]{appearance:textfield}.cell-input[type=date]{font-weight:400}.cell-select{cursor:pointer;text-overflow:ellipsis;min-width:0;font-size:12px;font-weight:650}.checkbox-editor{cursor:pointer;justify-content:center;align-items:center;min-width:32px;min-height:30px;display:inline-flex}.cell-checkbox{width:18px;min-width:18px;height:18px;accent-color:var(--teal);cursor:pointer;margin:0}.checkbox-mark{display:none}.cell-input::placeholder{color:#64748b;opacity:1}.data-table td:has(.cell-input){color:#111827}.data-table td:has(.cell-input) .cell-input{color:#111827!important}.data-table td:has(.cell-input) .cell-input.cell-input--empty{-webkit-text-fill-color:var(--muted);color:var(--muted)!important}.cell-input--empty::-webkit-datetime-edit{color:var(--muted);-webkit-text-fill-color:var(--muted)}.cell-input:hover,.cell-input:focus,.cell-editor--active>.cell-input{background:#f5fbfb;border-color:#add6d4}.cell-input--saving{background:#eff6ff;border-color:#3b82f6!important}.cell-input--saved{background:#22c55e1a;box-shadow:inset 0 0 0 1px #22c55e1f;border-color:#22c55e!important}.cell-input--error{background:#ef44441a;border-color:#ef4444!important}.cell-clear{color:#94a3b8;cursor:pointer;opacity:0;pointer-events:none;background:0 0;border:0;border-radius:4px;place-items:center;width:20px;height:24px;margin:0;padding:0;font-size:16px;line-height:1;display:grid;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.cell-editor:hover>.cell-clear,.cell-editor:focus-within>.cell-clear,.cell-clear:focus-visible{opacity:1;pointer-events:auto}.cell-clear:hover{color:#ef4444}.reference-open{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:20px;height:24px;margin:0;padding:0;font-size:17px;line-height:1;display:grid;position:absolute;top:50%;right:25px;transform:translateY(-50%)}.cell-editor:not(:has(.cell-clear))>.reference-open{right:6px}.reference-open:hover,.reference-open:focus-visible{color:#0f766e;background:#e6f4f3}.cell-save-indicator{margin:0;font-size:13px;line-height:1;display:inline-block;position:absolute;top:50%;right:25px;transform:translateY(-50%)}.cell-save-indicator--saving{color:#2563eb;letter-spacing:1px;animation:1s steps(3,end) infinite cell-save-dots}.cell-save-indicator--saved{color:#16a34a}.status-cell--danger .cell-select,.status-cell--danger{background:#fff0f0;border-color:#e6a3a3;color:#d64545!important}.status-cell--warning .cell-select,.status-cell--warning{background:#fff8e8;border-color:#e6c98b;color:#b7791f!important}.status-cell--success .cell-select,.status-cell--success{background:#effaf2;border-color:#9fcea9;color:#2f855a!important}.status-cell--empty .cell-select{background:var(--surface)}@keyframes cell-save-dots{0%,to{opacity:.35}50%{opacity:1}}.line-cell{align-items:center;gap:8px;min-width:0;display:flex}.line-cell>span{text-overflow:ellipsis;overflow:hidden}.line-logo{object-fit:contain;flex:0 0 24px;width:24px;height:20px}.empty-cell{text-align:center;color:var(--muted)!important;padding:44px!important}.pagination{border-top:1px solid var(--line);justify-content:space-between;gap:15px;padding:13px 17px}.pagination .muted{margin:0}.pagination-actions{gap:7px}.pagination-summary{color:var(--ink);align-items:baseline;gap:9px;font-size:12px;display:flex}.pagination-summary span{color:var(--muted);font-size:11px}.table-loading-shell{flex:1;min-height:0;position:relative}.table-loading-overlay{z-index:20;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 82%, transparent);color:var(--muted);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:8px;justify-content:center;align-items:center;gap:10px;font-size:13px;display:flex;position:absolute;inset:0}.loading-state{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:8px;justify-content:center;align-items:center;gap:11px;padding:70px 20px;font-size:13px;display:flex}.loading-spinner{border:3px solid color-mix(in srgb, var(--teal) 22%, transparent);border-top-color:var(--teal);border-radius:50%;flex:0 0 22px;width:22px;height:22px;animation:.75s linear infinite app-loader-spin}.loading-spinner--small{border-width:2px;flex-basis:14px;width:14px;height:14px}.table-loading-note{color:var(--muted);flex:none;align-items:center;gap:7px;margin:0 0 8px;font-size:11px;display:flex}@keyframes app-loader-spin{to{transform:rotate(360deg)}}.table-loading-note{color:var(--muted);margin:0 0 8px;font-size:11px}.notice{border-radius:7px;padding:11px 13px;font-size:12px}.notice--error{color:#a33c44;background:#fff0f0;border:1px solid #f2c9ca}.workspace-notice{justify-content:space-between;align-items:center;gap:16px;margin:-13px 0 21px;display:flex}.auth-layout{background:radial-gradient(circle at 50% 0, #d8eeeb, var(--page) 45%);place-items:center;min-height:100svh;padding:24px;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;width:min(100%,390px);padding:37px 34px 30px;box-shadow:0 18px 50px #1f424d1f}.auth-card .brand-mark{margin-bottom:24px}.auth-card h1{color:var(--navy);letter-spacing:-.8px;margin:8px 0 12px;font-size:28px}.auth-copy{color:var(--muted);margin-bottom:24px;font-size:13px;line-height:1.6}.auth-card .notice{margin-bottom:15px}.auth-hint{color:var(--muted);text-align:center;margin:18px 0 0;font-size:10px;line-height:1.5}.entity-popover-layer{z-index:100;position:fixed;inset:0}.save-toast{z-index:120;border-radius:8px;max-width:min(420px,100vw - 40px);padding:12px 16px;font-size:13px;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 30px #0f172a33}.save-toast--error{color:#991b1b;background:#fef2f2;border:1px solid #ef4444}.reference-picker-layer{z-index:160;width:100%;height:var(--reference-viewport-height,100dvh);background:#0f172a47;place-items:center;padding:16px;display:grid;position:fixed;inset:0 auto auto 0}.reference-picker{width:min(440px,100vw - 32px);max-height:min(540px, calc(var(--reference-viewport-height,100dvh) - 32px));border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 18px 50px #0f172a4d}.reference-picker__header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:7px 8px 7px 12px;font-size:12px;display:flex}.reference-picker__header button{background:var(--surface-alt);width:28px;height:28px;color:var(--muted);cursor:pointer;border:0;border-radius:5px;place-items:center;padding:0;font-size:20px;line-height:1;display:grid}.reference-picker__query{border-bottom:1px solid var(--line);min-height:44px;color:var(--muted);flex:none;align-items:center;gap:8px;padding:7px 12px;font-size:12px;display:flex}.reference-picker__query input{border:1px solid var(--line);min-width:0;color:var(--ink);background:var(--surface-alt);font:inherit;border-radius:6px;outline:0;flex:1;padding:7px 8px}.reference-picker__query input:focus{border-color:#5aaea9}.reference-picker__options{overscroll-behavior:contain;padding:4px;overflow-y:auto}.reference-picker__options button{width:100%;min-height:40px;color:var(--ink-soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.reference-picker__options button:hover,.reference-picker__option--active{background:var(--surface-alt)!important;color:var(--ink)!important}.reference-picker__option-content{gap:2px;min-width:0;display:grid}.reference-picker__option-content strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.reference-picker__option-content small{color:var(--muted);font-size:10px;line-height:1.2}.reference-picker__more{min-height:36px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;padding:7px 10px;font-size:10px;display:flex}.reference-picker__more button{border:1px solid var(--line);background:var(--surface-alt);width:auto;min-height:28px;color:var(--ink-soft);font:inherit;padding:5px 8px}.reference-picker__more--error{color:#b2414b}.reference-picker__state{min-height:68px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;padding:14px;font-size:11px;display:flex}.reference-picker__state--error{color:#b2414b}.reference-picker__retry{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;padding:6px 9px}.entity-popover{border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 24px);max-height:min(520px,100vh - 24px);color:var(--ink);border-radius:10px;padding:16px;position:fixed;overflow:auto;box-shadow:0 18px 50px #0f172a38}.entity-popover__header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:11px;display:flex}.entity-popover__header h3{margin:4px 0 0;font-size:16px}.entity-popover__header-actions{align-items:center;gap:7px;display:flex}.entity-popover__refreshing{color:var(--muted);font-size:10px}.entity-popover__close{background:var(--surface-alt);width:26px;height:26px;color:var(--muted);border:0;border-radius:5px;font-size:20px;line-height:1}.entity-popover__close:hover{color:var(--ink)}.entity-popover__state{color:var(--muted);padding:20px 4px 4px;font-size:12px}.entity-popover__state--error{color:#b2414b}.entity-details{gap:9px;margin:14px 0 0;display:grid}.entity-details div{grid-template-columns:105px 1fr;gap:10px;display:grid}.entity-details dt{color:var(--muted);font-size:11px}.entity-details dd{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:12px}.client-details{margin-top:14px;font-size:12px}.client-details__company{color:var(--ink);margin-bottom:12px;font-size:15px;font-weight:750}.client-details__contacts{color:var(--ink-soft);gap:5px;display:grid}.client-details__persons{margin-top:14px}.entity-popover__caption{color:var(--muted);text-transform:uppercase;letter-spacing:.7px;margin:0 0 7px;font-size:10px;font-weight:800}.client-person{border-top:1px solid var(--line);gap:3px;padding:8px 0;display:grid}.client-person span{color:var(--ink-soft);font-size:11px}.entity-popover__heading{min-width:0}.entity-popover__title-line{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.entity-popover .crm-external-link{width:22px;height:22px;color:var(--muted);border-radius:4px;flex:0 0 22px;place-items:center;display:inline-grid}.entity-popover .crm-external-link svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:14px;height:14px}.entity-popover__title-line .copy-button{width:22px;height:22px}.entity-details dd.entity-details__client{align-items:flex-start;gap:3px;display:flex}.entity-details__client>span{overflow-wrap:anywhere;flex:auto;min-width:0}.entity-details__client .crm-external-link{flex:0 0 22px}:root[data-theme=dark] .cell-input{-webkit-text-fill-color:#f8fafc;color:#f8fafc!important}:root[data-theme=dark] .data-table td:has(.cell-input) .cell-input{-webkit-text-fill-color:#f8fafc;color:#f8fafc!important}:root[data-theme=dark] .data-table td:has(.cell-input) .cell-input.cell-input--empty{-webkit-text-fill-color:var(--muted);color:var(--muted)!important}:root[data-theme=dark] .crm-link,:root[data-theme=dark] .crm-link:hover,:root[data-theme=dark] .crm-link:focus-visible,:root[data-theme=dark] .crm-link:visited,:root[data-theme=dark] .crm-link:active{color:#60a5fa}:root[data-theme=dark] .auth-card h1{color:#f8fafc}:root[data-theme=dark] .cell-input::placeholder{color:#94a3b8}:root[data-theme=dark] .type-badge{color:#8de3dd;background:#153b45;border-color:#286b70}:root[data-theme=dark] .notice--error{color:#fecaca;background:#451f2a;border-color:#7f3442}:root[data-theme=dark] .monitor-note span{background:#183d48}@media (width<=768px){.app-shell:has(.table-view){height:100svh}.topbar{gap:8px;min-height:50px;padding:8px 10px}.brand-lockup{gap:0}.brand-mark--small{border-radius:8px;width:34px;height:34px;font-size:11px}.brand-lockup>div:last-child{display:none}.mobile-mode-switch{background:#ffffff14;border:1px solid #fff3;border-radius:8px;flex:auto;gap:3px;min-width:0;max-width:230px;margin-inline:auto;padding:3px;display:inline-flex}.mobile-mode-switch button{color:#c9dcdf;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:5px;flex:1 1 0;min-width:0;min-height:30px;padding:0 7px;font-size:11px;font-weight:400}.mobile-mode-switch button.active{border-color:var(--line);background:var(--surface);color:var(--ink);font-weight:700;box-shadow:0 1px 4px #0000001f}.mobile-mode-switch button:not(.active):hover{color:#fff;background:#ffffff24;font-weight:700}.mobile-mode-switch button:focus-visible{outline-offset:2px;outline:2px solid #75c2bc}.mobile-menu-toggle{color:#fff;background:#ffffff14;border:1px solid #fff3;border-radius:7px;flex-direction:column;flex:0 0 34px;justify-content:center;align-items:center;gap:4px;width:34px;height:34px;margin-left:0;padding:0;display:inline-flex}.mobile-menu-toggle:hover,.mobile-menu-toggle:focus-visible{background:#ffffff29}.mobile-menu-toggle span{background:currentColor;border-radius:2px;width:15px;height:1.5px;display:block}.topbar-actions{z-index:80;border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;align-items:stretch;gap:6px;min-width:178px;padding:8px;display:none;position:absolute;top:44px;right:8px;box-shadow:0 12px 30px #0f172a33}.topbar-actions--open{display:flex}.topbar-actions .connection-state{color:var(--muted);padding:4px 4px 6px;font-size:10px}.topbar-actions .theme-toggle,.topbar-actions .button--compact{background:var(--surface-alt);width:100%;color:var(--ink);border-color:var(--line);justify-content:flex-start}.topbar-actions .theme-toggle:hover,.topbar-actions .button--compact:hover{background:var(--surface);color:var(--ink)}.theme-toggle__label{display:inline}.workspace{padding:7px 6px 5px}.workspace-header{gap:5px;min-height:34px;margin-bottom:5px}.workspace-header:not(.workspace-header--table){justify-content:flex-end}.workspace-header>.mode-switch{display:none}.workspace-header--table{grid-template-columns:minmax(0,1fr) 34px 30px;align-items:center;gap:6px;margin-bottom:4px;display:grid}.workspace-header--table .quick-search{border-radius:7px;grid-column:1;width:100%;min-width:0;padding:6px 8px}.workspace-header--table .filters-button{grid-column:2;justify-content:center;width:34px;min-width:34px;padding:0}.workspace-refresh{border-radius:7px;width:30px;height:30px}.workspace-refresh svg{width:15px;height:15px}.workspace-header--table .workspace-refresh{grid-column:3}.filters-button__label{display:none}.quick-search{gap:6px;min-width:0;padding:6px 8px}.quick-search svg{width:14px;height:14px}.quick-search input{min-width:0;font-size:11px}.filters-button svg{width:15px;height:15px}.transport-tabs{margin-bottom:4px}.transport-tabs button{padding:7px 11px 8px;font-size:11px}.filter-panel{gap:7px;margin-bottom:4px;padding:6px 8px;font-size:10px}.filter-panel .button{padding:5px 8px}.table-panel{border-radius:6px}.table-settings-bar{min-height:32px;padding:4px 7px}.table-settings-bar__reset{min-height:24px;padding:3px 7px}.table-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.data-table th{height:38px;min-height:0;padding:4px 12px 4px 8px;font-size:9px;line-height:1.15}.data-table td{height:60px;padding:6px 9px}.data-table th.col-deal,.data-table td.col-deal{min-width:var(--deal-column-width,112px);width:var(--deal-column-width,112px);max-width:var(--deal-column-width,112px);padding-left:5px;padding-right:5px}.data-table th.col-container,.data-table td.col-container{display:none}.data-table th.col-deal,.data-table td.col-deal{min-width:var(--deal-column-width,112px);width:var(--deal-column-width,112px);max-width:var(--deal-column-width,112px)}.data-table th.col-type,.data-table td.col-type{width:68px;min-width:68px}.data-table th.col-client,.data-table td.col-client{width:150px;min-width:150px}.data-table th.col-line,.data-table td.col-line{width:120px;min-width:120px}.data-table th.col-port,.data-table td.col-port{width:170px;min-width:170px}.data-table th.col-status,.data-table td.col-status{width:175px;min-width:175px}.data-table th.col-temperature,.data-table td.col-temperature{width:150px;min-width:150px}.data-table th.col-date,.data-table td.col-date{width:135px;min-width:135px}.mobile-deal-heading{color:var(--muted);letter-spacing:0;text-transform:none;margin-top:2px;font-size:9px;font-weight:600;display:block}.deal-cell{flex-direction:column;align-items:stretch;gap:1px}.deal-cell__order{gap:2px;min-height:20px}.deal-cell .crm-link{font-size:11px}.mobile-container-line{min-width:0;color:var(--ink-soft);justify-content:space-between;align-items:center;gap:2px;display:flex}.mobile-container-line>span{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:10px}.mobile-container-line .copy-button{width:18px;height:18px}.mobile-container-line .copy-button svg{width:12px;height:12px}.data-table td .crm-external-link{width:20px;height:20px}.data-table td .crm-external-link svg{width:13px;height:13px}.pagination{align-items:center;gap:6px;min-height:42px;padding:7px 8px}.pagination-summary{white-space:nowrap;gap:5px;min-width:0;font-size:10px;overflow:hidden}.pagination-summary strong,.pagination-summary span{text-overflow:ellipsis;overflow:hidden}.pagination-summary span{font-size:10px}.pagination-actions{white-space:nowrap;flex:none;gap:4px}.pagination-actions .muted{font-size:10px}.pagination-arrow{width:30px;height:30px;padding:0;font-size:0;line-height:1}.pagination-arrow:before{font-size:19px;font-weight:400}.pagination-arrow--prev:before{content:"‹"}.pagination-arrow--next:before{content:"›"}.empty-cell{padding:26px!important}.table-loading-note{margin-bottom:4px;font-size:10px}.table-loading-overlay{border-radius:6px}.reference-picker-layer{padding:8px}.reference-picker{width:min(100%,440px);max-height:min(calc(var(--reference-viewport-height,100dvh) - 16px), 430px);border-radius:12px}.reference-picker__header{min-height:48px;padding:8px 10px 8px 14px;font-size:14px}.reference-picker__header button{width:34px;height:34px;font-size:23px}.reference-picker__query{border-bottom:1px solid var(--line);min-height:42px;color:var(--muted);flex:none;align-items:center;gap:8px;padding:8px 13px;font-size:13px;display:flex}.reference-picker__options{padding:6px}.reference-picker__options button{min-height:48px;padding:10px 12px;font-size:14px}.reference-picker__options button small{font-size:10px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{min-height:135px;padding:15px}.metric-value{font-size:34px}.section-heading{align-items:flex-start}.auth-card{padding-inline:23px}}.dispatcher-filters[data-v-069fd14f]{border:1px solid var(--line);background:var(--surface-alt);color:var(--ink);border-radius:8px;padding:12px}.dispatcher-filters__grid[data-v-069fd14f]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dispatcher-filter-block[data-v-069fd14f]{border:1px solid var(--line);background:var(--surface);border-radius:7px;min-width:0;margin:0;padding:10px}.dispatcher-filter-block legend[data-v-069fd14f]{color:var(--muted);letter-spacing:.7px;text-transform:uppercase;padding:0 5px;font-size:10px;font-weight:800}.dispatcher-filter-block__fields[data-v-069fd14f]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.dispatcher-filter-field[data-v-069fd14f]{min-width:0;color:var(--muted);gap:4px;font-size:10px;display:grid;position:relative}.dispatcher-filter-field>span[data-v-069fd14f]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dispatcher-filter-field input[data-v-069fd14f],.dispatcher-filter-field select[data-v-069fd14f]{box-sizing:border-box;border:1px solid var(--line);background:var(--surface-alt);width:100%;min-height:32px;color:var(--ink);font:inherit;border-radius:6px;outline:0;padding:6px 8px}.dispatcher-filter-field input[data-v-069fd14f]:focus,.dispatcher-filter-field select[data-v-069fd14f]:focus{border-color:var(--teal);box-shadow:0 0 0 2px #2c8d911f}.dispatcher-filter-input[data-v-069fd14f]{min-width:0;display:flex;position:relative}.dispatcher-filter-input input[data-v-069fd14f]{padding-right:31px}.dispatcher-filter-input>button[data-v-069fd14f]{width:29px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;font-size:17px;position:absolute;top:1px;right:1px}.dispatcher-filter-input>button[data-v-069fd14f]:hover{background:var(--surface);color:var(--ink)}.dispatcher-filter-options[data-v-069fd14f]{z-index:40;border:1px solid var(--line);background:var(--surface);max-height:190px;box-shadow:var(--shadow);border-radius:7px;padding:4px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto}.dispatcher-filter-options>button[data-v-069fd14f]{width:100%;color:var(--ink-soft);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:7px 8px;display:block}.dispatcher-filter-options>button[data-v-069fd14f]:hover{background:var(--surface-alt);color:var(--ink)}.dispatcher-filter-options__state[data-v-069fd14f]{color:var(--muted);text-align:center;padding:10px 7px;font-size:10px;display:block}.dispatcher-filter-options__state--error[data-v-069fd14f]{color:#b2414b}.dispatcher-filter-options__footer[data-v-069fd14f]{background:var(--surface);color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:6px 7px;font-size:9px;display:flex;position:sticky;bottom:0}.dispatcher-filter-options__footer button[data-v-069fd14f]{border:1px solid var(--line);background:var(--surface-alt);color:var(--ink-soft);font:inherit;cursor:pointer;border-radius:5px;flex:none;padding:4px 6px}.dispatcher-filter-option-check[data-v-069fd14f]{color:var(--ink-soft);cursor:pointer;align-items:center;gap:7px;padding:7px 8px;font-size:11px;display:flex}.dispatcher-filter-option-check[data-v-069fd14f]:hover{background:var(--surface-alt);color:var(--ink);border-radius:5px}.dispatcher-filter-option-check--selected[data-v-069fd14f]{color:var(--ink)}.dispatcher-filter-option-check input[type=checkbox][data-v-069fd14f]{appearance:none;background:var(--surface);cursor:pointer;border:2px solid #87979d;border-radius:4px;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0}.dispatcher-filter-option-check input[type=checkbox][data-v-069fd14f]:checked{border-color:var(--teal);background:var(--teal)}.dispatcher-filter-option-check input[type=checkbox][data-v-069fd14f]:checked:after{color:#fff;content:"✓";place-items:center;height:14px;font-size:13px;font-weight:800;line-height:1;display:grid}.dispatcher-filters__actions[data-v-069fd14f]{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.button--primary[data-v-069fd14f]{border-color:var(--teal);background:var(--teal);color:#fff}@media (width<=760px){.dispatcher-filters[data-v-069fd14f]{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-height:calc(100svh - 112px);overflow-y:auto}.dispatcher-filters__grid[data-v-069fd14f]{grid-template-columns:1fr}}@media (width<=430px){.dispatcher-filter-block__fields[data-v-069fd14f]{grid-template-columns:1fr}.dispatcher-filters__actions[data-v-069fd14f]{flex-direction:column-reverse}.dispatcher-filters__actions button[data-v-069fd14f]{width:100%}}
