:root{color:#e8edf3;--bg:#0d1117;--surface:#111827;--surface-soft:#0b1220;--border:#1f2937;--text:#e8edf3;--text-muted:#94a3b8;--accent:#2563eb;--success:#4ade80;--warning:#fbbf24;--danger:#f87171;background:#0d1117;font-family:Inter,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:radial-gradient(circle at top, #2563eb2e, transparent 36%), var(--bg);color:var(--text);margin:0}code{font-family:Cascadia Code,Consolas,monospace}button,input,select,textarea{font:inherit}button{background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;border:1px solid #334155;border-radius:10px;padding:.6rem .95rem}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:#eff6ff}button.ghost{background:0 0}a{color:#93c5fd;text-decoration:none}a:hover{text-decoration:underline}input[type=text],input[type=password],select,textarea{width:100%;color:var(--text);background:#0f172a;border:1px solid #334155;border-radius:10px;padding:.7rem .85rem}.pageShell{flex-direction:column;gap:20px;width:min(1120px,100% - 32px);margin:0 auto;padding:32px 0 48px;display:flex}.panel{border:1px solid var(--border);background:#111827f0;border-radius:18px;padding:20px;box-shadow:0 20px 40px #0206172e}.heroPanel{padding:28px}.subtle{color:var(--text-muted);line-height:1.5}.eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:.8rem;font-weight:700}h1,h2,p{margin:0}h1{font-size:clamp(2rem,4vw,3.2rem)}h2{font-size:1.35rem}.lead{max-width:760px;color:var(--text-muted);margin-top:14px;line-height:1.6}.summaryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.metricCard{flex-direction:column;gap:10px;display:flex}.metricLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.85rem}.metricValue{font-size:1.3rem}.metricValueSmall{word-break:break-word;font-size:1rem}.metricHint{color:var(--text-muted);line-height:1.5}.statusCard.is-success{border-color:#4ade8066}.statusCard.is-warning{border-color:#fbbf2466}.statusCard.is-error{border-color:#f8717166}.statusCard.is-pending{border-color:#2563eb66}.sectionBlock{flex-direction:column;gap:18px;display:flex}.sectionHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.sectionNote{max-width:420px;color:var(--text-muted);line-height:1.5}.surfaceSoft{background:var(--surface-soft)}.authGatePage{justify-content:center;align-items:center;min-height:100vh;padding:32px 20px;display:flex}.authGateCard{flex-direction:column;gap:16px;width:min(960px,100%);display:flex}.authGateCardWide{width:min(1120px,100%)}.authGateBrand h1{margin:0 0 6px}.authGatePanel{flex-direction:column;gap:16px;display:flex}.authGateSteps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.authTwoColumnGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.authGateActions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.authGateActionsSecondary{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-left:auto;display:flex}.authTopGap,.authPanelGap{margin-top:16px}.authHintText,.screenshotHint,.bridgeUrlHint,.buildInfoNote{margin-top:8px}.authSectionWithTopGap{margin-top:16px}.toolbarField{flex-direction:column;gap:4px;display:flex}.toolbar{grid-template-columns:minmax(240px,1fr) minmax(300px,auto);gap:12px;margin-bottom:12px;display:grid}.toolbarSearchField{min-width:240px}.toolbarField input,.toolbarField select{min-height:40px}.toolbarGroup{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.toolbarGroup .toolbarField{min-width:128px}.toolbarGroup .toolbarField:first-child{width:180px;min-width:180px}.toolbarGroup .toolbarField input{width:128px}.toolbarGroup .toolbarContactField,.toolbarGroup .toolbarContactField .autocompleteField{min-width:260px}.toolbarGroup .toolbarContactField input,.toolbarGroup .toolbarContactField .autocompleteField input{width:100%}.toolbarActionBtn{justify-content:center;align-self:flex-end;min-width:110px;min-height:40px}.toolbarSecondaryBtn{background:var(--surface-soft)}.autocompleteField{min-width:260px;position:relative}.autocompleteField input{width:100%}.autocompleteMenu{z-index:20;border:1px solid var(--border-strong,var(--border));background:var(--surface);border-radius:10px;flex-direction:column;gap:4px;max-height:240px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 30px #0000002e}.autocompleteOption{text-align:left;background:0 0;border:0;border-radius:0;justify-content:flex-start;width:100%;padding:.55rem .7rem}.autocompleteOption:hover{background:var(--row-hover)}.cargosMetaRow{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;display:flex}.cargosMetaText{color:var(--text-muted);align-items:center;gap:4px;font-size:.92rem;display:inline-flex}.cargosMetaText strong{color:var(--text);font-weight:600}.quickFiltersBar{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.filterChips{flex-wrap:wrap;gap:8px;display:flex}.selectionBar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.selectionCount{margin-right:auto}.clickableRow{cursor:pointer}.clickableRow:hover{background:var(--row-hover)}.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.22rem .55rem;font-size:.76rem;font-weight:700;line-height:1.1;display:inline-flex}.badge.success{color:var(--success);background:#22c55e24;border-color:#4ade8052}.badge.warning{color:var(--warning);background:#f59e0b24;border-color:#fbbf244d}.badge.danger{color:var(--danger);background:#ef444424;border-color:#f871714d}.badge.info{color:#60a5fa;background:#3b82f624;border-color:#60a5fa4d}.badge.muted{color:#cbd5e1;background:#94a3b81f;border-color:#94a3b83d}.statusBadgeWithSpinner{align-items:center;gap:8px;display:inline-flex}.carTypeFilterField{min-width:210px}.carTypeFilterDetails,.rateVisibilityDetails{position:relative}.carTypeFilterSummary,.rateVisibilitySummary{border:1px solid var(--border);background:var(--surface);cursor:pointer;min-height:40px;color:var(--text);border-radius:10px;align-items:center;padding:.55rem .8rem;list-style:none;display:flex}.carTypeFilterSummary::-webkit-details-marker{display:none}.rateVisibilitySummary::-webkit-details-marker{display:none}.carTypeFilterPopover,.rateVisibilityPopover{z-index:25;border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(420px,85vw);max-height:360px;padding:12px;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 10px 30px #0000003d}.carTypeFilterActions{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.carTypeFilterTree,.carTypeFilterNode,.carTypeFilterChildren{flex-direction:column;gap:6px;display:flex}.carTypeFilterOption,.rateVisibilityOption{align-items:center;gap:8px;display:flex}.carTypeFilterOption input,.rateVisibilityOption input{width:auto}.settingsLayout{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settingsHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.settingsHeaderCopy{flex-direction:column;gap:8px;display:flex}.settingsBlock{border:1px solid var(--border);background:#0f172a5c;border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex}.settingsGrid{flex-direction:column;gap:12px;display:flex}.settingsIntro,.settingsHint{margin:0}.settingsActionRow,.settingsFieldCard{background:#0f172a85;border:1px solid #94a3b833;border-radius:14px;flex-direction:column;gap:12px;padding:14px;display:flex}.settingsActionCopy,.settingsFieldCopy{flex-direction:column;gap:6px;display:flex}.settingsActionTitleRow,.settingsFieldHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settingsActionLabel,.settingsFieldLabel{font-weight:600}.settingsActionValue,.settingsFieldValue{color:var(--text-muted);white-space:nowrap;font-size:.9rem}.settingsActionButtons,.settingsFieldControls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settingsFieldControls input{width:160px}.settingsStateBtn{min-width:116px;color:var(--text);background:#0f172a8a;border:1px solid #94a3b83d;border-radius:10px;padding:.45rem .8rem}.settingsStateBtn.active{color:#dbeafe;background:#2563eb29;border-color:#60a5fa9e}.settingsActions{margin-top:4px}.cargosToolbar{grid-template-columns:minmax(260px,1.4fr) repeat(2,auto) repeat(2,max-content);align-items:center;gap:12px;display:grid}.inlineCheckbox{border:1px solid var(--border-strong,var(--border));background:var(--bg-muted,#0f172a59);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:.5rem .75rem;font-size:.85rem;display:inline-flex}.inlineCheckbox input{width:auto}.compactLink{background:var(--surface);color:var(--text);white-space:nowrap;border:1px solid #334155;border-radius:8px;justify-content:center;align-items:center;padding:.38rem .7rem;text-decoration:none;display:inline-flex}.compactLink:hover{background:#2563eb14;text-decoration:none}.passwordFieldRow{align-items:stretch;gap:8px;display:flex}.passwordFieldRow input{flex:1}.passwordVisibilityButton{min-width:110px}.infoBanner,.errorBanner,.successBanner{border-radius:12px;align-items:center;gap:10px;padding:12px 16px;font-weight:500;display:flex}.infoBanner{color:#60a5fa;background:#3b82f629;border:1px solid #60a5fa73}.errorBanner{color:var(--danger);background:#ef444429;border:1px solid #f8717173}.successBanner{color:var(--success);background:#22c55e29;border:1px solid #4ade8066}.atiCloudSuccessBanner{justify-content:flex-start}.atiCloudSuccessIcon{background:#22c55e33;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-weight:700;display:inline-flex}.loadingIndicator{align-items:center;gap:10px;display:inline-flex}.loadingIndicator-banner{color:inherit}.loadingIndicatorSpinner{opacity:.9;border:2px solid;border-right-color:#0000;border-radius:999px;flex-shrink:0;width:16px;height:16px;animation:.8s linear infinite loadingIndicatorSpin}@keyframes loadingIndicatorSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.toastStack{z-index:20;pointer-events:none;flex-direction:column;gap:10px;width:min(420px,100vw - 32px);display:flex;position:fixed;top:20px;right:24px}.toastStackInline{pointer-events:auto;width:100%;margin-top:8px;margin-bottom:12px;position:static;top:auto;right:auto}.toastBanner{pointer-events:auto;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;font-weight:500;display:flex;box-shadow:0 20px 40px #0206173d}.toastStackInline .toastBanner{box-shadow:0 10px 24px #02061733}.toastBanner button{padding:.35rem .6rem}.toastInfo{color:#eff6ff;background:#3b82f6f0}.toastError{color:#fef2f2;background:#b91c1cf5}.toastSuccess{color:#ecfdf5;background:#15803df5}.atiCloudPreparingHero{grid-template-columns:minmax(320px,1.2fr) minmax(280px,.8fr);gap:16px;display:grid}.atiCloudPreparingCopy{flex-direction:column;gap:16px;display:flex}.bridgeScreenshot{border:1px solid var(--border);border-radius:12px;width:100%}.bridgeTextarea{margin-top:8px}.detailHeader{flex-direction:column;gap:8px;display:flex}.backLink{border:1px solid var(--border);background:#0f172ae6;border-radius:999px;width:fit-content;padding:.28rem .65rem;display:inline-flex}.detailSummary{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.detailSummary h2{margin:0}.detailGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.detailCard{flex-direction:column;gap:16px;display:flex}.detailTabs{flex-wrap:wrap;gap:10px;display:flex}.detailFilterBar{grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:12px;display:grid}.keyValueGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:0;display:grid}.keyValueGrid dt{color:var(--text-muted);margin-bottom:4px;font-size:.84rem}.keyValueGrid dd{margin:0}.settingsStack{flex-direction:column;gap:14px;display:flex}.toggleRow{justify-content:space-between;align-items:center;gap:12px;display:flex}.toggleRow input{width:auto}.timelineList{flex-direction:column;gap:12px;display:flex}.timelineItem{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;padding:14px}.timelineHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.tableSummary{margin-top:-4px}.paginationRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.paginationActions{flex-wrap:wrap;gap:10px;display:flex}.cargoDetailTopGap{margin-top:12px}.tableWrap{border:1px solid var(--border);border-radius:12px;overflow-x:auto}.tableEmptyStateCell{color:var(--text-muted);text-align:center;background:#0f172a2e;padding:18px 12px}.dataTable{border-collapse:collapse;width:100%;min-width:920px}.dataTable th,.dataTable td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:12px}.dataTable thead th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;text-align:left;background:#0f172ae6;font-size:.82rem}.dataTable tbody tr:hover{background:#2563eb0f}.cargoDetailTable{min-width:1180px}.cargoDetailTable thead th{text-transform:none;letter-spacing:0;white-space:nowrap;background:#0f172ac7;font-size:.85rem}.cargoDetailTable th,.cargoDetailTable td{padding-top:11px;padding-bottom:11px}.cargoDetailTable th:first-child,.cargoDetailTable td:first-child{width:36px}.cargoDetailTable .tableEmptyStateCell{text-align:left}.nowrapCell{white-space:nowrap}.cellTitle{font-weight:600}.alignTopCell{vertical-align:top}.cellSubtle{color:var(--text-muted);margin-top:4px;font-size:.92rem}.statusPill{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.28rem .58rem;font-size:.82rem;display:inline-flex}.statusPill-success{color:var(--success);background:#22c55e24;border-color:#4ade8052}.statusPill-warning{color:var(--warning);background:#f59e0b24;border-color:#fbbf244d}.statusPill-danger{color:var(--danger);background:#ef444424;border-color:#f871714d}.statusPill-info{color:#60a5fa;background:#3b82f624;border-color:#60a5fa4d}.statusPill-muted{color:#cbd5e1;background:#94a3b81f;border-color:#94a3b83d}.detailsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.metricTile{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:8px;padding:16px;display:flex}.metricTileLabel{color:var(--text-muted);font-size:.85rem}.metricTileValue{word-break:break-word;font-size:1rem}.stateMessage,.stateError{color:var(--text-muted);line-height:1.6}.workspaceStack{flex-direction:column;gap:16px;display:flex}.statsRow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.statCard{background:#111827c7;border:1px solid #94a3b838;border-radius:16px;flex-direction:column;gap:8px;padding:16px;display:flex}.statLabel{color:#94a3b8;font-size:.85rem}.statValue{font-size:1.5rem;font-weight:700}.vstrechkiStats{grid-template-columns:repeat(6,minmax(0,1fr))}.tabs{flex-wrap:wrap;gap:4px;display:flex}.tabsRow{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.tab{color:#cbd5e1;cursor:pointer;background:#0f172a80;border:1px solid #94a3b838;border-radius:8px 8px 0 0;padding:.48rem .95rem;font-size:.9rem}.tab.active{color:#f8fafc;background:#1e293beb;border-bottom:2px solid #38bdf8}.cellStack{flex-direction:column;gap:4px;display:flex}.rateCellStack{align-items:flex-start}.monoCell{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.85rem}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.actions.compact{gap:8px}.tabsRowActions{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.compactBtn{padding:.32rem .62rem}.modalBackdrop{z-index:40;background:#020617b8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modalCard{border:1px solid var(--border);background:#111827fa;border-radius:20px;width:min(980px,100%);max-height:calc(100vh - 48px);padding:20px;overflow-y:auto;box-shadow:0 30px 60px #00000059}.vstrechkiModalCard{flex-direction:column;gap:16px;display:flex}.vstrechkiFormGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.vstrechkiFormGrid label,.scheduleGrid label{flex-direction:column;gap:6px;display:flex}.fieldHint{color:var(--text-muted);font-size:.85rem}.vstrechkiWideField{grid-column:1/-1}.vstrechkiInfoGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.checkboxRowWrap{flex-wrap:wrap;gap:12px;display:flex}.chip{background:var(--surface-soft);border:1px solid var(--border-strong);color:inherit;font:inherit;cursor:pointer;border-radius:999px;padding:.4rem .8rem}.chip.active{border-color:var(--accent);color:var(--accent)}.scheduleGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.previewList{gap:8px;margin-top:12px;display:grid}.previewItem{border:1px solid var(--border);background:#0f172ab8;border-radius:12px;flex-direction:column;gap:4px;padding:12px;display:flex}.badgesWrap,.scheduleModeRow,.vstrechkiWeekdays{flex-wrap:wrap;gap:8px;display:flex}.firmNameRow{align-items:center;gap:6px;display:inline-flex}.restrictionMark{color:var(--warning);font-weight:700;line-height:1}.atiStars{letter-spacing:1px;font-size:.9rem;font-weight:700;line-height:1}.starsGreen{color:#22c55e}.starsOrange{color:#f59e0b}.starsRed{color:#ef4444}.runLogFilter{flex-direction:column;gap:6px;min-width:220px;display:flex}.runLogCargoCard,.runLogCandidateCard,.runLogActionItem{background:var(--surface-soft)}.runLogActionList,.runLogCandidateList{gap:8px;display:grid}.modalActions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.errorText{color:var(--danger)}@media (width<=780px){.pageShell{width:min(100% - 24px,1120px);padding-top:24px}.summaryGrid,.detailsGrid,.statsRow,.vstrechkiStats{grid-template-columns:1fr}.sectionHeader{flex-direction:column}.authGateSteps,.authTwoColumnGrid,.atiCloudPreparingHero,.settingsLayout,.detailGrid,.keyValueGrid,.vstrechkiFormGrid,.vstrechkiInfoGrid,.scheduleGrid{grid-template-columns:1fr}.cargosToolbar{grid-template-columns:1fr;align-items:stretch}.detailFilterBar{grid-template-columns:1fr}.passwordFieldRow{flex-direction:column}.settingsActionButtons,.settingsFieldControls,.settingsFieldControls input{width:100%}.toastStack{width:min(420px,100vw - 24px);top:12px;right:12px}}
