:root{color:#111827;background:#f5f7fb;font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:#f5f7fb}button,input,textarea,select{font:inherit}button{cursor:pointer;color:#fff;background:#111827;border:0;border-radius:8px;padding:.5rem .72rem;font-size:.9rem}button:disabled{opacity:.7;cursor:not-allowed}input,textarea,select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:36px;padding:.5rem .66rem;line-height:1.25}select{appearance:none;white-space:nowrap;text-overflow:ellipsis;background-image:linear-gradient(45deg,#0000 50%,#475569 50%),linear-gradient(135deg,#475569 50%,#0000 50%);background-position:calc(100% - 17px),calc(100% - 12px);background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:2.25rem;overflow:hidden}select:focus,input:focus,textarea:focus{border-color:#64748b;outline:3px solid #64748b2e}select option{color:#111827;background:#fff}textarea{resize:vertical;min-height:120px}label{display:block}label span{color:#374151;margin-bottom:.28rem;font-size:.84rem;display:block}.page{min-height:100vh;padding:14px}.page-center{place-items:center;display:grid}.page-stack{gap:12px;display:grid}.card{background:#fff;border-radius:10px;padding:14px;box-shadow:0 4px 16px #1118270f}.card h1,.card h2,.card h3,.section-header h2,.results-header h2{margin-top:0;line-height:1.15}.card h2,.section-header h2,.results-header h2{font-size:1.08rem}.card h3,.list-card h3{font-size:.94rem}.card p,.list-card p{margin-top:4px;margin-bottom:0}.auth-card{width:100%;max-width:380px}.form-stack{gap:10px;margin-top:12px;display:grid}.compact-form{gap:10px}.compact-textarea{min-height:96px}.muted{color:#6b7280}.error-box{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:10px 12px}.button-secondary{color:#111827;background:#e5e7eb}.origin-options-error{justify-content:space-between;align-items:center;gap:12px;display:flex}.origin-options-error button{background:#991b1b;flex:none}.button-danger{color:#fff;background:#b91c1c}.button-danger.subtle{color:#991b1b;background:#fee2e2}.connector-display{background:#f8fafc;border:1px solid #d1d5db;border-radius:8px;min-height:36px;padding:.45rem .66rem}.connector-display span{color:#6b7280;text-transform:uppercase;margin-bottom:.16rem;font-size:.72rem;font-weight:800;display:block}.connector-display strong{color:#111827;overflow-wrap:anywhere;font-size:.9rem;line-height:1.15;display:block}.button-link{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:.5rem .72rem;font-size:.9rem;font-weight:800;text-decoration:none;display:inline-flex}.button-link-primary{color:#fff;background:#111827;border-color:#111827}.actions-row{flex-wrap:wrap;gap:8px;display:flex}.section-header{margin-bottom:12px}.section-header-tight{margin-bottom:8px}.shell{background:#f5f7fb;grid-template-columns:212px 1fr;min-height:100vh;transition:grid-template-columns .2s;display:grid}.shell.shell-collapsed{grid-template-columns:68px 1fr}.shell-main{flex-direction:column;min-width:0;display:flex}.shell-topbar{z-index:20;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex;position:sticky;top:0}.shell-topbar .muted{margin:2px 0 0;font-size:.78rem}.topbar-actions,.landing-nav-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.install-button,.logout-button{white-space:nowrap;min-height:32px}.job-status-pill{white-space:nowrap;border:1px solid #0000;min-height:32px}.job-status-pill.running{color:#92400e;background:#fef3c7;border-color:#fde68a}.job-status-pill.success{color:#166534;background:#dcfce7;border-color:#bbf7d0}.job-status-pill.error{color:#991b1b;background:#fee2e2;border-color:#fecaca}.job-status-pill.cancelled{color:#374151;background:#f3f4f6;border-color:#d1d5db}.signal-monitor{color:#374151;white-space:nowrap;background:#f9fafb;border:1px solid #d1d5db;border-radius:999px;align-items:center;gap:7px;max-width:260px;min-height:32px;padding:0 10px;font-size:.78rem;font-weight:800;display:inline-flex}.signal-dot{background:#9ca3af;border-radius:999px;flex:none;width:8px;height:8px}.signal-monitor.online .signal-dot{background:#16a34a}.signal-monitor.slow .signal-dot,.signal-monitor.checking .signal-dot{background:#f59e0b}.signal-monitor.offline .signal-dot{background:#dc2626}.signal-monitor.api-unreachable .signal-dot{background:#ef4444}.signal-region{color:#6b7280;text-overflow:ellipsis;overflow:hidden}.report-progress-box{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.report-progress-box strong{color:#111827}.report-progress-box p{margin:2px 0 0}.inline-cancel-button{margin-left:10px}.paste-bin-toggle{white-space:nowrap;min-height:32px}.paste-bin-panel{z-index:40;background:#fff;border:1px solid #dbe3ef;border-radius:10px;width:min(520px,100vw - 28px);padding:12px;position:absolute;top:calc(100% + 8px);right:14px;box-shadow:0 18px 46px #0f172a2e}.paste-bin-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.paste-bin-header strong{color:#111827;display:block}.paste-bin-textarea{min-height:220px;font-family:Consolas,Courier New,monospace;font-size:.86rem}.paste-bin-message{color:#166534;align-self:center;font-size:.82rem;font-weight:800}.topbar-profile-button,.notification-button{white-space:nowrap;min-height:32px}.topbar-icon-button{border-radius:999px;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;display:inline-grid;position:relative}.topbar-svg-icon{width:18px;height:18px;display:block}.topbar-profile-button{border-radius:999px;width:34px;padding:0;font-weight:900}.notifications-wrap{position:relative}.notification-button{color:#111827;background:#e5e7eb;position:relative}.notification-button.has-unread{color:#fff;background:#111827}.notification-button strong{color:#fff;background:#dc2626;border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:.68rem;display:inline-grid;position:absolute;top:-5px;right:-5px}.notification-panel{z-index:45;background:#fff;border:1px solid #dbe3ef;border-radius:10px;width:min(420px,100vw - 28px);padding:12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 46px #0f172a2e}.notification-panel-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.notification-panel-header p{margin:2px 0 0}.notification-list{gap:7px;max-height:420px;display:grid;overflow:auto}.notification-item{text-align:left;color:#111827;background:#fff;border:1px solid #e5e7eb;border-left-width:4px;border-radius:8px;gap:3px;width:100%;padding:9px 10px;display:grid}.notification-item.unread{background:#eff6ff;border-left-color:#2563eb}.notification-item.read{border-left-color:#d1d5db}.notification-item span{font-weight:900}.notification-item p{color:#374151;margin:0;font-size:.82rem}.notification-item small{color:#6b7280}.empty-state{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:18px}.compact-empty{padding:12px}.compact-empty p{margin:3px 0 0}.profile-hero{align-items:center;gap:14px;display:flex}.profile-hero h1{margin:0 0 4px}.profile-avatar{color:#fff;background:#111827;border-radius:16px;flex:none;place-items:center;width:58px;height:58px;font-size:1.15rem;font-weight:900;display:grid;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-actions{grid-column:1/-1}.polling-settings-grid{align-items:end}.messages-page{max-width:1400px;height:calc(100vh - 104px);min-height:680px}.messages-header{justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.messages-header h1{margin:0 0 4px}.compose-card{border:1px solid #dbeafe;padding:12px}.compose-form{gap:10px;display:grid}.compose-controls{grid-template-columns:minmax(190px,.35fr) minmax(220px,.55fr) auto;align-items:end;gap:10px;display:grid}.compose-controls button{min-width:150px}.user-picker>span{color:#374151;margin-bottom:.28rem;font-size:.84rem;display:block}.user-picker-grid{background:#fff;border:1px solid #d1d5db;border-radius:8px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:7px;max-height:210px;padding:7px;display:grid;overflow:auto}.user-picker-row{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:7px;min-width:0;padding:7px;display:flex}.user-picker-row input{width:auto;min-height:0}.user-picker-row span{margin:0}.user-picker-row strong,.user-picker-row small{display:block}.user-picker-row small{color:#6b7280}.messages-shell{grid-template-columns:minmax(300px,.34fr) minmax(0,1fr);gap:0;height:min(760px,100vh - 220px);min-height:560px;padding:0;display:grid;overflow:hidden}.messages-page.compose-open .messages-shell{height:min(620px,100vh - 360px);min-height:430px}.conversation-list{background:#fbfdff;border-right:1px solid #e5e7eb;flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex;overflow:auto}.conversation-list-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.conversation-list-header small{color:#6b7280}.conversation-card{color:#111827;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;width:100%;padding:11px;display:grid;position:relative;box-shadow:0 1px #0f172a05}.conversation-card.active{background:#eff6ff;border-color:#93c5fd;box-shadow:0 8px 22px #2563eb14}.conversation-card-main{gap:2px;min-width:0;padding-right:30px;display:grid}.conversation-card-main>span{text-overflow:ellipsis;white-space:nowrap;font-weight:900;overflow:hidden}.conversation-card-main em{color:#475569;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-style:normal;overflow:hidden}.conversation-card-main p{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.conversation-card-main p b{color:#111827}.conversation-card-main small{color:#6b7280}.conversation-card>strong{color:#fff;background:#dc2626;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:.7rem;display:grid;position:absolute;top:9px;right:9px}.chat-panel{background:linear-gradient(#fff,#f8fafc);grid-template-rows:auto auto minmax(0,1fr);min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.chat-header{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:12px;padding:14px;display:flex}.chat-header h2{margin:0 0 2px;font-size:1.12rem}.chat-people-strip{background:#f8fafc;border-bottom:1px solid #e5e7eb;align-items:center;gap:7px;padding:8px 14px;display:flex;overflow-x:auto}.chat-people-strip span,.chat-people-strip em{color:#334155;background:#fff;border:1px solid #e5e7eb;border-radius:999px;flex:none;align-items:center;gap:6px;padding:4px 8px 4px 4px;font-size:.78rem;font-style:normal;font-weight:800;display:inline-flex}.message-list{background:linear-gradient(#ffffffd1,#f8fafce6),repeating-linear-gradient(135deg,#e2e8f033 0 1px,#0000 1px 16px);flex-direction:column;gap:10px;min-height:0;max-height:none;padding:18px 16px 86px;display:flex;overflow:auto}.message-row{align-items:flex-end;gap:7px;display:flex}.message-row.mine{justify-content:flex-end}.message-bubble{background:#fff;border:1px solid #dbe3ef;border-radius:14px 14px 14px 4px;max-width:min(620px,76%);padding:9px 11px;box-shadow:0 5px 18px #0f172a0f}.chat-avatar{color:#0f172a;background:#e0f2fe;border:1px solid #dbeafe;border-radius:999px;flex:none;place-items:center;font-weight:900;line-height:1;display:inline-grid;overflow:hidden}.chat-avatar img{object-fit:cover;width:100%;height:100%}.chat-avatar.sm{width:30px;height:30px;font-size:.7rem}.chat-avatar.md{width:38px;height:38px;font-size:.78rem}.chat-avatar.lg{width:48px;height:48px;font-size:.9rem}.conversation-avatar-stack{align-items:center;min-width:42px;display:inline-flex}.conversation-avatar-stack .chat-avatar{box-shadow:0 0 0 2px #fff}.conversation-avatar-stack .chat-avatar+.chat-avatar{margin-left:-13px}.message-row.mine .message-bubble{color:#fff;background:#111827;border-color:#111827;border-radius:14px 14px 4px;box-shadow:0 8px 24px #11182724}.message-meta{justify-content:space-between;gap:14px;margin-bottom:4px;font-size:.74rem;display:flex}.message-meta span{color:#6b7280}.message-row.mine .message-meta span{color:#d1d5db}.message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-compose{z-index:2;background:#fff;border-top:1px solid #e5e7eb;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 14px;display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #0f172a0f}.chat-compose textarea{border-radius:12px;min-height:44px;max-height:120px}.chat-compose button{border-radius:12px;min-width:62px}.chat-empty{place-self:center;max-width:360px}.report-download-filters{grid-template-columns:minmax(160px,.45fr) minmax(180px,.6fr) minmax(160px,.5fr);align-items:end;gap:10px;margin-top:12px;display:grid}.report-download-table{min-width:1120px}.job-table-status{color:#374151;background:#f3f4f6;border-radius:999px;align-items:center;min-height:22px;padding:.16rem .48rem;font-size:.72rem;font-weight:900;display:inline-flex}.job-table-status.queued,.job-table-status.processing{color:#92400e;background:#fef3c7}.job-table-status.completed{color:#166534;background:#dcfce7}.job-table-status.failed{color:#991b1b;background:#fee2e2}.job-table-status.cancelled{color:#4b5563;background:#e5e7eb}.report-job-actions{flex-wrap:nowrap}.report-job-actions button{min-height:29px;padding:.34rem .5rem;font-size:.78rem}.report-job-detail-modal{gap:12px}.shell-title{margin:0;font-size:1.08rem}.mobile-menu-button{min-height:30px;margin-bottom:6px;display:none}.shell-content{padding:14px}.sidebar{color:#fff;background:#111827;flex-direction:column;gap:12px;height:100vh;padding:12px 10px;transition:width .2s,padding .2s;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.sidebar-brand h2{margin:0;font-size:1.04rem;line-height:1.1}.sidebar-brand p{color:#9ca3af;margin:4px 0 0;font-size:.78rem}.sidebar-toggle{color:#fff;background:#1f2937;border-radius:8px;min-width:30px;padding:5px 7px;line-height:1}.sidebar-nav{gap:5px;display:grid}.sidebar-group-label{color:#94a3b8;letter-spacing:0;text-transform:uppercase;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:28px;margin:8px 0 4px;padding:4px 8px;font-size:.68rem;font-weight:800;display:flex}.sidebar-group-label:hover{background:#ffffff0f}.sidebar-group-chevron{color:#e5e7eb;font-size:.9rem;line-height:1}.sidebar-group-links{gap:3px;display:grid}.sidebar-link{color:#d1d5db;border-radius:8px;align-items:center;gap:8px;min-width:0;min-height:31px;padding:6px 8px;font-size:.86rem;text-decoration:none;transition:background .15s;display:flex}.sidebar-link:hover{background:#ffffff14}.sidebar-link.active{color:#fff;background:#1f2937}.sidebar-link-icon{color:#9ca3af;justify-content:center;align-items:center;width:20px;min-width:20px;font-size:.72rem;font-weight:700;display:inline-flex}.sidebar-link-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sidebar.collapsed .sidebar-top{flex-direction:column;align-items:center}.sidebar.collapsed .sidebar-brand{text-align:center;width:100%}.sidebar.collapsed .sidebar-link{justify-content:center;padding:7px}.sidebar.collapsed .sidebar-link-icon{color:#fff;width:auto;min-width:0}.list-grid{gap:10px;display:grid}.list-card{border:1px solid #e5e7eb;border-radius:10px;padding:12px}.list-card-top{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.list-card h3{margin:0 0 4px}.meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.json-box{color:#e2e8f0;background:#0f172a;border-radius:12px;padding:12px;font-size:.85rem;overflow:auto}.bulk-track-topbar{grid-template-columns:minmax(170px,1.1fr) minmax(120px,.7fr) minmax(190px,1fr) auto auto auto;align-items:end;gap:8px;display:grid}.multi-piece-controls{grid-template-columns:minmax(160px,1fr) minmax(170px,1.1fr) minmax(110px,.7fr) minmax(190px,1fr) minmax(90px,.5fr) auto auto auto;align-items:end;gap:8px;display:grid}.checkbox-inline{align-items:center;gap:8px;min-height:32px;display:flex}.checkbox-inline input{width:auto;margin:0}.results-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.table-wrap{overflow-x:auto}.table.compact-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.78rem}.table.compact-table th,.table.compact-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:6px 8px}.table.compact-table th{background:#f9fafb;font-weight:600}.table.compact-table tr:hover{background:#f3f4f6}.driver-verification-table th:first-child,.driver-verification-table td:first-child{width:28%}.driver-verification-table th:nth-child(4),.driver-verification-table td:nth-child(4){width:100px}.driver-verification-table th:nth-child(6),.driver-verification-table td:nth-child(6){width:160px}.driver-row-profile{align-items:center;gap:8px;min-width:0;display:flex}.driver-row-profile img,.driver-row-profile span{object-fit:cover;background:#eef2ff;border:1px solid #e5e7eb;border-radius:8px;flex:none;width:30px;height:30px}.driver-row-profile span{color:#111827;place-items:center;font-weight:800;display:grid}.driver-row-profile strong{overflow-wrap:anywhere}.driver-status{border-radius:999px;align-items:center;min-height:24px;padding:.18rem .5rem;font-size:.72rem;font-weight:800;display:inline-flex}.driver-status.active{color:#166534;background:#dcfce7}.driver-status.inactive{color:#4b5563;background:#f3f4f6}.driver-row-actions{flex-wrap:wrap;gap:6px;display:flex}.driver-row-actions button{min-height:30px;padding:.38rem .56rem}.expanded-row:hover{background:0 0}.waybill-cell{white-space:nowrap;font-weight:600}.waybill-link{color:inherit;min-height:0;font:inherit;font-weight:inherit;text-align:left;background:0 0;border:0;border-radius:4px;padding:0;text-decoration:none}.waybill-link:hover{background:#eef2f7}.lifecycle-hero-card .waybill-link{color:#fff;font-size:inherit}.lifecycle-hero-card .waybill-link:hover{background:#ffffff1f}.status-cell{min-width:0}.status-main{color:#111827;word-break:break-word;font-weight:600;line-height:1.3}.status-sub{color:#6b7280;word-break:break-word;margin-top:2px;font-size:.82rem;line-height:1.25}.event-badge{color:#374151;white-space:nowrap;background:#eef2f7;border-radius:999px;align-items:center;min-height:20px;padding:2px 7px;font-size:.72rem;font-weight:800;display:inline-flex}.event-badge.success{color:#166534;background:#dcfce7}.event-badge.danger{color:#991b1b;background:#fee2e2}.row-expand-button{color:#111827;background:#e5e7eb;justify-content:center;align-items:center;min-height:24px;padding:.2rem .45rem;font-size:.78rem;font-weight:800;display:inline-flex}.multi-piece-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.multi-piece-summary-grid .metric-card{min-width:0}.multi-piece-summary-grid .metric-card strong{overflow-wrap:anywhere}.multi-piece-table th:first-child,.multi-piece-table td:first-child{width:70px}.piece-events-panel{background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:10px}.piece-events-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.piece-events-list{gap:8px;display:grid}.piece-event-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(130px,.35fr) minmax(0,1fr);gap:10px;padding:8px;display:grid}.piece-event-time{color:#6b7280;font-size:.78rem;font-weight:800}.piece-event-body{min-width:0}.piece-event-title{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;display:flex}.piece-event-body p{color:#374151;word-break:break-word;margin:0}@media (width<=1100px){.bulk-track-topbar,.multi-piece-controls{grid-template-columns:1fr 1fr}.multi-piece-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.results-header{flex-direction:column;align-items:flex-start}}@media (width<=900px){.shell,.shell.shell-collapsed{grid-template-columns:1fr}.sidebar{z-index:30;height:auto;max-height:65vh;padding:12px;position:sticky;top:0}.sidebar.collapsed{display:none}.mobile-menu-button{justify-content:center;align-items:center;display:inline-flex}.sidebar.collapsed .sidebar-top{flex-direction:row}.sidebar.collapsed .sidebar-link-icon{width:22px;min-width:22px}.shell-topbar,.shell-content{padding:16px}.home-lookup-form,.home-workflow-grid,.home-dashboard-grid,.home-main-grid,.ops-summary-grid,.ops-main-grid,.ops-mini-grid,.ops-split-grid,.ops-alert-grid{grid-template-columns:1fr}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.meta-grid{grid-template-columns:1fr}.list-card-top{flex-direction:column;align-items:stretch}.bulk-track-topbar,.multi-piece-controls,.multi-piece-summary-grid,.home-queue-summary{grid-template-columns:1fr}.piece-events-header,.details-drawer-header{flex-direction:column;align-items:flex-start}.piece-event-item,.details-grid{grid-template-columns:1fr}}.mapping-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.user-form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.field-hint{color:#6b7280;margin-top:4px;font-size:.74rem;display:block}.user-edit-table input,.user-edit-table select{min-width:120px}.user-edit-table th:nth-child(6),.user-edit-table td:nth-child(6){width:120px}.mapping-checkbox-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}@media (width<=1100px){.mapping-form-grid,.mapping-checkbox-grid,.user-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.mapping-form-grid,.mapping-checkbox-grid,.user-form-grid{grid-template-columns:1fr}}.info-box{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:10px 12px}.success-box{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:10px 12px}.home-lookup-form{grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr) auto;align-items:end;gap:8px;margin-top:12px;display:grid}.home-page{max-width:1280px}.home-ops-header,.home-lookup-card,.home-shortcuts-card{border-radius:8px}.home-updated{color:#6b7280;align-self:center;font-size:.78rem;font-weight:700}.home-quick-action{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.home-workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.home-dashboard-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.home-main-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:12px;display:grid}.home-run-list,.home-driver-list{gap:8px;display:grid}.home-run-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 10px;display:flex}.home-run-card strong{color:#111827;display:block}.home-run-card p{margin:3px 0 0}.home-run-meta{text-align:right;white-space:nowrap;justify-items:end;gap:3px;display:grid}.home-run-meta span{color:#166534;background:#dcfce7;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:800}.home-run-meta small{color:#6b7280;font-size:.74rem}.home-queue-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.home-queue-table{min-width:680px}.ops-page{max-width:1280px}.ops-status-badge,.ops-alert-pill{text-transform:uppercase;border-radius:999px;align-items:center;min-height:34px;padding:.42rem .72rem;font-size:.78rem;font-weight:900;display:inline-flex}.ops-status-badge.ok,.ops-alert-pill.ok{color:#166534;background:#dcfce7}.ops-status-badge.degraded,.ops-alert-pill.degraded{color:#92400e;background:#fef3c7}.ops-status-badge.critical,.ops-alert-pill.critical{color:#991b1b;background:#fee2e2}.ops-meta-row{color:#6b7280;flex-wrap:wrap;gap:10px;font-size:.78rem;font-weight:700;display:flex}.ops-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.ops-main-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ops-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.ops-split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.ops-list{gap:6px;display:grid}.ops-list-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;gap:8px;padding:7px 8px;display:flex}.ops-list-row span{overflow-wrap:anywhere;color:#374151;min-width:0}.ops-list-row strong{white-space:nowrap}.ops-job-list{margin-top:12px}.ops-log-panel{color:#e5e7eb;white-space:pre-wrap;background:#111827;border:1px solid #e5e7eb;border-radius:8px;max-height:260px;margin:0;padding:12px;font-size:.78rem;line-height:1.45;overflow:auto}.ops-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ops-alert{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px}.ops-alert.critical{color:#991b1b;background:#fef2f2;border-color:#fecaca}.ops-alert strong{text-transform:uppercase;font-size:.76rem;display:block}.ops-queue-table{min-width:920px}.verbals-results-table{min-width:980px}.verbals-results-table th:first-child,.verbals-results-table td:first-child,.verbals-results-table th:nth-child(2),.verbals-results-table td:nth-child(2){width:130px}.verbals-results-table th:nth-child(6),.verbals-results-table td:nth-child(6){width:105px}.verbals-results-table th:nth-child(7),.verbals-results-table td:nth-child(7){width:130px}.drawer-backdrop{z-index:120;background:#0f172a6b;justify-content:flex-end;display:flex;position:fixed;inset:0}.details-drawer{background:#fff;width:min(760px,100%);height:100%;padding:16px;overflow:auto;box-shadow:-24px 0 70px #0f172a38}.details-drawer-header{z-index:1;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;margin:-16px -16px 14px;padding:14px 16px;display:flex;position:sticky;top:0}.details-drawer-header h2{overflow-wrap:anywhere;margin:4px 0 0;font-size:1.22rem;line-height:1.1}.details-state{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;align-content:center;place-items:center;gap:6px;min-height:220px;padding:18px;display:grid}.details-sections{gap:12px;display:grid}.details-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px}.details-section h3{margin:0 0 10px;font-size:.94rem}.details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.detail-field{background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;min-width:0;padding:8px}.detail-field span{color:#6b7280;text-transform:uppercase;font-size:.72rem;font-weight:800;display:block}.detail-field strong{color:#111827;overflow-wrap:anywhere;margin-top:4px;font-size:.88rem;line-height:1.3;display:block}.details-maintenance{border-top:1px solid #e5e7eb;margin-top:12px;padding-top:12px}.details-maintenance-panel{background:#fff7ed;border:1px solid #fecaca;border-radius:10px;gap:10px;margin-top:10px;padding:12px;display:grid}.details-maintenance-panel>strong{color:#991b1b}.details-maintenance-panel p{color:#7f1d1d;margin:0}.clear-history-result{gap:10px;display:grid}.clear-history-result p{color:#166534;overflow-wrap:anywhere}.landing-page{color:#111827;background:#f8fafc;min-height:100vh}.landing-nav{justify-content:space-between;align-items:center;gap:16px;width:min(1040px,100% - 24px);margin:0 auto;padding:10px 0;display:flex}.landing-brand,.auth-home-link{color:#111827;font-weight:900;text-decoration:none}.landing-brand{font-size:1rem}.landing-login-link{color:#fff;background:#111827;border-radius:8px;padding:.42rem .66rem;font-weight:800;text-decoration:none}.landing-hero{grid-template-columns:minmax(0,.92fr) minmax(340px,1.08fr);align-items:center;gap:24px;width:min(1040px,100% - 24px);min-height:auto;margin:0 auto;padding:20px 0 26px;display:grid}.landing-copy{max-width:620px}.landing-eyebrow{color:#2563eb;text-transform:uppercase;letter-spacing:.12em;margin:0 0 8px;font-size:.68rem;font-weight:900}.landing-copy h1{color:#0f172a;letter-spacing:0;margin:0;font-size:clamp(1.7rem,3.8vw,3.15rem);line-height:1}.landing-lede{color:#475569;max-width:560px;margin:16px 0 0;font-size:.92rem}.landing-actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.landing-visual{background:#0f172a;border:1px solid #1e293b;border-radius:8px;justify-self:end;width:min(100%,430px);min-height:260px;position:relative;overflow:hidden;box-shadow:0 16px 42px #0f172a33}.landing-visual:before{content:"";opacity:.9;background-image:linear-gradient(#38bdf814 1px,#0000 1px),linear-gradient(90deg,#38bdf814 1px,#0000 1px);background-size:28px 28px;position:absolute;inset:0}.tech-panel{z-index:1;color:#e2e8f0;gap:16px;padding:18px;display:grid;position:relative}.tech-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.tech-panel-header span,.tech-grid span,.tech-events span{color:#94a3b8;text-transform:uppercase;letter-spacing:.12em;font-size:.68rem;font-weight:900}.tech-panel-header strong{color:#22c55e;font-size:1.28rem}.tech-route{grid-template-columns:18px 1fr 18px 1fr 18px;align-items:center;gap:8px;padding:16px 0 10px;display:grid}.route-dot{background:#38bdf8;border-radius:999px;width:18px;height:18px;box-shadow:0 0 0 6px #38bdf824}.route-dot.active{background:#22c55e;box-shadow:0 0 0 6px #22c55e29}.route-dot.done{background:#f8fafc;box-shadow:0 0 0 6px #f8fafc1f}.route-line{background:linear-gradient(90deg,#22c55e,#38bdf8);height:2px}.tech-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.tech-grid div{background:#0f172ac2;border:1px solid #94a3b838;border-radius:8px;padding:10px}.tech-grid strong{color:#f8fafc;margin-top:4px;font-size:1.05rem;display:block}.tech-events{background:#082f4975;border:1px solid #38bdf83d;border-radius:8px;gap:5px;padding:12px;display:grid}.tech-events strong{color:#f8fafc;font-size:.96rem}.landing-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(1040px,100% - 24px);margin:0 auto;padding:0 0 18px;display:grid}.landing-metrics div{border-top:1px solid #cbd5e1;padding-top:10px}.landing-metrics span{color:#2563eb;margin-bottom:5px;font-size:.76rem;font-weight:900;display:block}.landing-metrics strong{color:#0f172a;font-size:.94rem;display:block}.landing-metrics p{color:#64748b;margin:6px 0 0;font-size:.86rem}.landing-workflows{width:min(1040px,100% - 24px);margin:0 auto;padding:8px 0 34px}.landing-section-heading{max-width:720px;margin-bottom:14px}.landing-section-heading h2{color:#0f172a;letter-spacing:0;margin:0;font-size:clamp(1.35rem,2.4vw,1.95rem);line-height:1}.landing-workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.landing-workflow-grid div{background:#fff;border:1px solid #dbe3ef;border-radius:8px;min-height:94px;padding:12px;box-shadow:0 8px 22px #0f172a0d}.landing-workflow-grid strong{color:#0f172a;font-size:.92rem;display:block}.landing-workflow-grid p{color:#64748b;margin:6px 0 0;font-size:.84rem}.auth-home-link{margin-bottom:18px;display:inline-flex}@media (width<=900px){.landing-hero{grid-template-columns:1fr;gap:28px;min-height:auto}.landing-visual,.tech-panel{justify-self:stretch;min-height:auto}.landing-metrics,.landing-workflow-grid{grid-template-columns:1fr}}@media (width<=560px){.landing-actions{display:grid}}.input-action-row{grid-template-columns:1fr auto;gap:8px;display:grid}.tab-row{flex-wrap:wrap;gap:8px;display:flex}.tab-button{color:#111827;background:#e5e7eb}.tab-button.active{color:#fff;background:#111827}.undelivered-controls{grid-template-columns:minmax(190px,1fr) minmax(130px,.55fr) minmax(190px,.9fr) auto;align-items:end;gap:8px;display:grid}.pod-generate-grid{grid-template-columns:minmax(180px,.65fr) minmax(220px,1fr) auto;align-items:end;gap:8px;display:grid}.pod-filter-grid{grid-template-columns:minmax(170px,1fr) minmax(150px,.8fr) minmax(145px,.7fr) minmax(145px,.7fr) auto;align-items:end;gap:8px;margin:10px 0;display:grid}.pod-filter-grid-compact{grid-template-columns:minmax(170px,1fr) minmax(120px,.65fr) auto;margin-bottom:0}.pod-page{gap:10px}.pod-page .card{border-radius:8px;padding:12px}.pod-page .section-header,.pod-page .results-header{margin-bottom:6px}.pod-page h2{font-size:1rem}.pod-page .muted{font-size:.86rem}.pod-hero-card .connector-display,.pod-monitor-header .connector-display{min-height:0;padding:.4rem .6rem}.pod-generate-form{margin-top:8px}.pod-runs-filter-grid{max-width:900px}.pod-runs-table th:nth-child(4),.pod-runs-table td:nth-child(4){width:70px}.pod-runs-table th:nth-child(6),.pod-runs-table td:nth-child(6){width:110px}.pod-runs-table th:nth-child(7),.pod-runs-table td:nth-child(7){width:160px}.pod-manifest-cell{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.pod-upload-form-grid{grid-template-columns:minmax(180px,.8fr) minmax(120px,.5fr) minmax(190px,.8fr) auto;align-items:end;gap:8px;display:grid}.pod-upload-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.pod-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.pod-preview-card{background:#fff;border:1px solid #dbe3ef;border-radius:8px;min-width:0;overflow:hidden}.pod-preview-image,.pod-image-loading,.pod-image-missing{aspect-ratio:1.45;object-fit:contain;background:#f8fafc;width:100%;display:block}.pod-image-loading,.pod-image-missing{color:#64748b;place-items:center;font-size:.82rem;font-weight:800;display:grid}.pod-preview-meta{color:#475569;gap:4px;padding:8px;font-size:.82rem;display:grid}.pod-preview-meta strong{color:#0f172a;overflow-wrap:anywhere}.pod-upload-table{min-width:1180px}.pod-thumb-image{object-fit:contain;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;width:96px;height:68px}.pod-waybill-input{min-width:150px}.pod-upload-row-warning{background:#fff7ed}.pod-warning-list{color:#92400e;margin:0;padding-left:16px;font-size:.78rem}.cage-top-grid{grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);gap:12px;display:grid}.cage-upload-grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.cage-scan-launch{margin-left:auto}.cage-page-header{box-shadow:none;border:1px solid #dfe3e7;border-radius:5px;padding:0;overflow:hidden}.cage-page-header .section-header{justify-content:space-between;align-items:center;gap:18px;margin:0;padding:14px 18px 12px;display:flex}.cage-page-header .section-header h2{margin-bottom:3px}.cage-page-header .section-header>button{color:#374151;background:#fff;border:1px solid #d4d9df;flex:none;min-height:30px}.cage-page-header .tab-row{background:#f8f9fa;border-top:1px solid #e5e7eb;align-items:stretch;gap:0;padding:0 10px}.cage-page-header .tab-button{color:#59616b;background:0 0;border-bottom:3px solid #0000;border-radius:0;min-height:42px;padding:0 14px;font-weight:600}.cage-page-header .tab-button.active{color:#111827;background:#fff;border-bottom-color:#111827}.cage-page-header .cage-scan-launch{background:#fff;border:1px solid #cfd5dc;align-self:center;min-height:30px;margin-top:5px;margin-bottom:5px}.cage-upload-fields,.cage-report-filter-grid{grid-template-columns:repeat(5,minmax(130px,1fr));align-items:end;gap:10px;display:grid}.cage-clear-filters{min-height:36px}.cage-report-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.cage-report-actions span{color:#64748b;text-align:right;flex-basis:100%;font-size:.76rem;font-weight:700}.cage-reporting-dashboard{--report-ink:#20262e;--report-muted:#68717d;--report-line:#dfe3e7;--report-paper:#fff;gap:18px}.cage-reporting-dashboard>.card,.cage-reporting-dashboard .cage-chart-card{border:1px solid var(--report-line);box-shadow:none;border-radius:4px}.cage-report-toolbar{padding:20px 22px;border-top:3px solid #283746!important}.cage-report-kicker{color:#7a5535;letter-spacing:.09em;text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-weight:700;display:block}.cage-report-toolbar .results-header{border-bottom:1px solid var(--report-line);align-items:flex-start;padding-bottom:16px}.cage-report-toolbar .results-header h2{color:var(--report-ink);letter-spacing:-.02em;margin-bottom:5px;font-size:1.35rem}.cage-report-toolbar .cage-report-filter-grid{flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px;display:flex}.cage-report-toolbar .cage-report-filter-grid label{flex:0 210px}.cage-report-toolbar .cage-report-filter-grid label:nth-child(3){flex-basis:280px}.cage-report-toolbar label span{color:#59616b;font-size:.76rem;font-weight:650}.cage-report-toolbar input,.cage-report-toolbar select{background-color:#fbfbfa;border-radius:3px}.cage-report-actions span{font-weight:400}.cage-reporting-dashboard .cage-report-kpis{border:1px solid var(--report-line);background:var(--report-paper);border-radius:4px;grid-template-columns:.8fr .8fr .8fr 1.45fr .9fr;gap:0;overflow:hidden}.cage-reporting-dashboard .cage-report-kpis .metric-card{border:0;border-right:1px solid var(--report-line);min-height:112px;box-shadow:none;background:0 0;border-radius:0;padding:18px 16px}.cage-reporting-dashboard .cage-report-kpis .metric-card:last-child{border-right:0}.cage-reporting-dashboard .metric-card span{color:var(--report-muted);font-size:.74rem;font-weight:600}.cage-reporting-dashboard .metric-card strong{color:var(--report-ink);letter-spacing:-.03em;margin-top:9px;font-size:1.65rem;font-weight:650}.cage-reporting-dashboard .metric-card-feature strong{letter-spacing:-.015em;max-width:280px;font-size:1.15rem;line-height:1.25}.cage-reporting-dashboard .metric-card small{color:var(--report-muted);font-weight:400}.cage-reporting-dashboard .metric-card.rts{box-shadow:inset 0 3px #e53935}.cage-reporting-dashboard .metric-card.redeliver{box-shadow:inset 0 3px #18a558}.cage-reporting-dashboard .metric-card.closed{box-shadow:inset 0 3px #87909d}.cage-reporting-dashboard .cage-report-charts{gap:14px;display:grid}.cage-reporting-dashboard .cage-pie-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.cage-reporting-dashboard .cage-chart-card{min-height:240px;padding:18px 20px}.cage-reporting-dashboard .cage-report-charts>.cage-chart-card{min-height:260px}.cage-reporting-dashboard .cage-chart-card h2,.cage-report-section h2{color:var(--report-ink);font-size:.98rem;font-weight:650}.cage-reporting-dashboard .cage-pie{width:126px;box-shadow:none}.cage-reporting-dashboard .cage-pie:after{box-shadow:none;inset:32px}.cage-reporting-dashboard .cage-pie span{color:var(--report-ink);font-size:1.15rem;font-weight:650}.cage-reporting-dashboard .cage-pie-legend-row{font-weight:500}.cage-reporting-dashboard .cage-pie-legend-row i{border-radius:50%}.cage-reporting-dashboard .cage-line-chart{background:repeating-linear-gradient(#0000 0 39px,#e8eaed 40px);border:0;border-radius:0;padding:14px 4px 0}.cage-reporting-dashboard .cage-line-chart polyline{stroke:#e53935;stroke-width:2px}.cage-reporting-dashboard .cage-line-chart circle{fill:#fff;stroke:#e53935;stroke-width:.7px;vector-effect:non-scaling-stroke}.cage-report-section{padding:20px 22px}.cage-reporting-dashboard .table.compact-table th{color:#59616b;letter-spacing:.02em;text-transform:none;background:#f5f5f3;font-size:.72rem;font-weight:650}.cage-reporting-dashboard .table.compact-table td{color:#29313a}.cage-reporting-dashboard .reason-variant-list span,.cage-reporting-dashboard .trend-pill{border-radius:3px;font-weight:650}.cage-reporting-dashboard .info-box{color:#4c5964;background:#f4f6f7;border-color:#d9dfe3;border-radius:3px}@media (width<=1100px){.cage-reporting-dashboard .cage-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cage-reporting-dashboard .cage-report-kpis .metric-card{border-bottom:1px solid var(--report-line)}.cage-reporting-dashboard .cage-pie-grid{grid-template-columns:1fr}}@media (width<=700px){.cage-page-header .section-header{align-items:flex-start}.cage-page-header .tab-row{grid-template-columns:1fr 1fr;padding:6px;display:grid}.cage-page-header .cage-scan-launch{grid-column:1/-1;margin-left:0}.cage-reporting-dashboard .cage-report-kpis{grid-template-columns:1fr}.cage-report-toolbar .cage-report-filter-grid label,.cage-report-toolbar .cage-report-filter-grid label:nth-child(3){flex:100%}}.cage-utility-card{flex-direction:column;justify-content:center;gap:12px;display:flex}.cage-scan-card{border:2px solid #111827}.cage-scan-modal{width:min(760px,100vw - 28px);max-height:calc(100vh - 36px);overflow:auto}.cage-scan-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.cage-scan-form input{text-transform:uppercase;min-height:54px;font-size:1.35rem;font-weight:900}.cage-scan-form button{min-height:54px}.cage-result-card{border:2px solid #d1d5db}.cage-result-card.rts{background:#fff7f7;border-color:#ef4444}.cage-result-card.redeliver{background:#f0fdf4;border-color:#22c55e}.cage-result-card.closed{background:#f8fafc;border-color:#94a3b8}.cage-result-card.neutral{background:#fffbeb;border-color:#f59e0b}.cage-instruction-banner{text-align:center;letter-spacing:0;color:#fff;background:#111827;border-radius:8px;margin-bottom:12px;padding:16px;font-size:clamp(2rem,5vw,4.4rem);font-weight:950;line-height:1}.cage-result-card.rts .cage-instruction-banner{background:#b91c1c}.cage-result-card.redeliver .cage-instruction-banner{background:#15803d}.cage-result-card.closed .cage-instruction-banner{background:#475569}.cage-instruction-banner.neutral{background:#92400e}.cage-hold-message{color:#9a3412;background:#fff7ed;border-color:#fed7aa;margin-bottom:10px;font-weight:800}.cage-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.cage-result-grid .wide{grid-column:1/-1}.cage-result-waybill .waybill-link{vertical-align:baseline;width:auto;padding:.1rem .3rem;display:inline-flex}.cage-print-note{margin:10px 0 0}.cage-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.cage-report-kpis .metric-card{min-height:104px}.cage-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.cage-chart-card{min-height:260px}.cage-bar-list{gap:10px;display:grid}.cage-bar-row{gap:5px;display:grid}.cage-bar-label{justify-content:space-between;gap:8px;font-size:.82rem;font-weight:800;display:flex}.cage-bar-label span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.cage-bar-track{background:#eef2f7;border-radius:999px;height:10px;overflow:hidden}.cage-bar-fill{border-radius:inherit;background:#111827;height:100%}.cage-pie-layout{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:16px;min-height:170px;display:grid}.cage-pie{aspect-ratio:1;border-radius:50%;width:150px;position:relative;box-shadow:inset 0 0 0 1px #e5e7eb}.cage-pie:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:36px;box-shadow:0 0 0 1px #e5e7eb}.cage-pie span{z-index:1;place-items:center;font-weight:950;display:grid;position:absolute;inset:0}.cage-pie-legend{gap:8px;min-width:0;display:grid}.cage-pie-legend-row{grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:grid}.cage-pie-legend-row i{border-radius:50%;width:10px;height:10px}.cage-pie-legend-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.cage-line-chart{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;min-height:180px;padding:10px}.cage-line-chart svg{width:100%;height:120px;display:block;overflow:visible}.cage-line-chart polyline{fill:none;stroke:#991b1b;stroke-width:3px;vector-effect:non-scaling-stroke}.cage-line-axis{justify-content:space-between;gap:6px;margin-top:8px;display:flex}.cage-line-axis span{color:#64748b;justify-items:center;gap:2px;min-width:0;font-size:.72rem;font-weight:800;display:grid}.cage-line-axis strong{color:#111827}.cage-history-search{grid-template-columns:minmax(180px,1fr) auto;gap:10px;margin-top:12px;display:grid}.cage-history-card.conflict{background:#fff7f7;border-color:#fca5a5}.cage-duplicate-reasons{margin-top:14px}.cage-duplicate-reasons h3{margin:0;font-size:.96rem}.reason-variant-list{flex-wrap:wrap;gap:6px;display:flex}.reason-variant-list span{background:#eef2f7;border-radius:999px;padding:.22rem .52rem;font-size:.76rem;font-weight:800}.upload-metadata-editor{margin-top:14px}.upload-metadata-editor h3{margin:0;font-size:.96rem}.upload-metadata-table{min-width:1120px}.reason-alias-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(130px,.5fr) auto auto;align-items:end;gap:8px;margin-bottom:12px;padding:10px;display:grid}.alias-suggestion-strip{background:#f8fafc;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;display:flex}.alias-suggestion-strip span{background:#eef2f7;border-radius:999px;padding:.22rem .55rem;font-size:.76rem;font-weight:800}.reason-alias-table{min-width:880px}.reason-month-trend{margin-top:14px}.reason-month-trend h3{margin:0;font-size:.96rem}.trend-pill{color:#334155;background:#eef2f7;border-radius:999px;justify-content:center;min-width:54px;padding:.22rem .52rem;font-size:.76rem;font-weight:900;display:inline-flex}.trend-pill.bad{color:#991b1b;background:#fee2e2}.trend-pill.good{color:#166534;background:#dcfce7}.metric-card.rts{background:#fff7f7;border-color:#fecaca}.metric-card.redeliver{background:#f0fdf4;border-color:#bbf7d0}.metric-card.closed{background:#f8fafc;border-color:#cbd5e1}.instruction-badge{text-transform:uppercase;color:#111827;background:#e5e7eb;border-radius:999px;align-items:center;min-height:24px;padding:.2rem .55rem;font-size:.75rem;font-weight:900;display:inline-flex}.instruction-badge.rts{color:#991b1b;background:#fee2e2}.instruction-badge.redeliver{color:#166534;background:#dcfce7}.instruction-badge.conflict{color:#991b1b;background:#fee2e2}.cage-uploads-table,.cage-instructions-table,.cage-feedback-table{min-width:980px}.cage-feedback-table{min-width:1120px}.closure-rule-group{margin-top:14px}.closure-rule-group h3{margin:0 0 8px;font-size:.96rem}.closure-rules-table{min-width:900px}.closure-rule-form{grid-template-columns:minmax(130px,.55fr) minmax(150px,.7fr) minmax(190px,1fr) minmax(240px,1.4fr) auto auto;align-items:end;gap:8px;display:grid}.closure-rule-form.clean{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(120px,.6fr) minmax(150px,.8fr) minmax(130px,.6fr) minmax(190px,1fr) minmax(130px,.6fr) minmax(220px,1.2fr) auto auto;padding:10px}.closure-rule-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.closure-rule-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:10px;padding:10px;display:grid}.closure-rule-card-head,.closure-rule-edit-grid{align-items:center;gap:8px;display:flex}.closure-rule-card-head{justify-content:space-between}.closure-rule-edit-grid label{flex:1}.closure-rule-match-summary{background:#f8fafc;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;padding:8px;display:grid}.closure-rule-match-summary span{color:#64748b;text-transform:uppercase;font-size:.72rem;font-weight:900}.closure-rule-match-summary strong{overflow-wrap:anywhere;min-width:0}.closure-rule-active{min-height:36px}@media (width<=1100px){.pod-upload-form-grid,.pod-upload-stats,.pod-preview-grid,.cage-summary-grid,.cage-report-grid,.cage-report-filter-grid,.cage-upload-fields,.cage-result-grid,.closure-rule-form{grid-template-columns:1fr 1fr}.closure-rule-form.clean,.closure-rule-card-grid,.reason-alias-form,.cage-top-grid{grid-template-columns:1fr}}@media (width<=700px){.pod-upload-form-grid,.pod-upload-stats,.pod-preview-grid,.cage-summary-grid,.cage-report-grid,.cage-report-filter-grid,.cage-upload-fields,.cage-result-grid,.cage-history-search,.cage-scan-form,.closure-rule-form{grid-template-columns:1fr}.closure-rule-card-head,.closure-rule-edit-grid{flex-direction:column;align-items:stretch}.cage-report-actions{justify-content:stretch}.cage-report-actions button{flex:100%}.cage-report-actions span{text-align:left}.cage-pie-layout{grid-template-columns:1fr;justify-items:center}}.pod-table-actions{flex-wrap:nowrap}.pod-table-actions .button-link,.pod-table-actions button{white-space:nowrap;min-height:30px;padding:.38rem .58rem;font-size:.84rem}.pod-monitor-grid{grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr);align-items:start;gap:10px;display:grid}.pod-monitor-header .results-header{align-items:flex-start}.pod-run-action-bar{justify-content:flex-end}.pod-run-action-bar button{min-height:32px;padding:.42rem .62rem}.pod-waybill-table{min-width:980px}.pod-waybill-table th:first-child,.pod-waybill-table td:first-child{width:120px}.pod-waybill-table th:nth-child(2),.pod-waybill-table td:nth-child(2){width:130px}.pod-waybill-table th:nth-child(3),.pod-waybill-table td:nth-child(3){width:120px}.pod-waybill-table th:nth-child(5),.pod-waybill-table td:nth-child(5){width:90px}.pod-waybill-table th:nth-child(7),.pod-waybill-table td:nth-child(7){width:110px}.timeline-filter-grid{grid-template-columns:minmax(140px,.55fr) minmax(160px,.7fr) minmax(170px,.75fr) minmax(240px,1.1fr) auto;align-items:end;gap:8px;margin-top:10px;display:grid}.timeline-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.timeline-legend{color:#6b7280;flex-wrap:wrap;gap:10px;font-size:.78rem;font-weight:800;display:flex}.timeline-legend span{align-items:center;gap:5px;display:inline-flex}.timeline-legend i{border-radius:999px;width:4px;height:18px;display:inline-block}.legend-start{background:#2563eb}.legend-delivered{background:#86efac}.legend-failed{background:#7f1d1d}.legend-current{background:#ef4444}.timeline-session-stack{gap:14px;display:grid}.timeline-session{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px}.timeline-session-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px;display:flex}.timeline-session-header h3{margin:0 0 3px;font-size:.98rem}.timeline-session-stats{color:#374151;flex-wrap:wrap;justify-content:flex-end;gap:6px;font-size:.78rem;display:flex}.timeline-session-stats span,.timeline-session-stats strong{background:#f3f4f6;border-radius:999px;padding:4px 8px}.timeline-session-stats strong{color:#166534;background:#dcfce7}.timeline-axis-wrap{padding:8px 0 2px;overflow-x:auto}.timeline-axis{background:linear-gradient(#fff,#fff 70%,#f8fafc 70%);border:1px solid #d1d5db;min-width:920px;height:122px;position:relative}.timeline-axis:before{content:"";background:#d1d5db;height:1px;position:absolute;top:72px;left:0;right:0}.timeline-hour-line{background:#e5e7eb;width:1px;position:absolute;top:0;bottom:0}.timeline-hour-line span{color:#6b7280;white-space:nowrap;font-size:.78rem;position:absolute;top:82px;left:5px}.timeline-marker{color:#0000;border:0;border-radius:999px;width:5px;min-width:5px;height:34px;padding:0;position:absolute;top:38px;transform:translate(-50%)}.timeline-marker span{width:1px;height:1px;position:absolute;overflow:hidden}.timeline-marker.delivered{background:#86efac;box-shadow:0 0 0 2px #86efac3d}.timeline-marker.failed{background:#7f1d1d;box-shadow:0 0 0 2px #7f1d1d2e}.timeline-marker.start{background:#2563eb;height:44px;top:28px}.timeline-marker.current{background:#ef4444;border-radius:0;width:3px;min-width:3px;height:122px;top:0;bottom:0}.timeline-marker.neutral{background:#6b7280}.hourly-counts{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.hourly-count{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;grid-template-columns:auto auto auto;align-items:center;gap:6px;padding:4px 8px;font-size:.76rem;display:grid}.hourly-count span{color:#6b7280}.hourly-count strong{color:#166534}.hourly-count em{color:#991b1b;font-style:normal}.marker-detail-card .details-grid{grid-template-columns:1fr .5fr .8fr 2fr}.run-list{gap:6px;display:grid}.run-list-item{text-align:left;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:1fr auto auto;gap:6px 10px;width:100%;min-height:0;padding:.56rem .66rem;display:grid}.run-list-item.active{background:#f8fafc;border-color:#111827}.run-list-item span,.run-list-item small{color:#6b7280}.run-list-item small{grid-column:1/-1}.file-picker{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:12px}.file-picker input{margin-top:8px}.file-picker strong{color:#111827;overflow-wrap:anywhere;margin-top:8px;display:block}.mapping-connector-select{max-width:420px;margin-bottom:12px}.mapping-edit-table input{min-width:120px}.mapping-edit-table th:nth-child(6),.mapping-edit-table td:nth-child(6){width:88px}.mapping-edit-table th:nth-child(7),.mapping-edit-table td:nth-child(7),.mapping-edit-table th:nth-child(8),.mapping-edit-table td:nth-child(8){width:98px}.table-checkbox{white-space:nowrap;min-height:0}.run-log{gap:8px;display:grid}.countdown-card{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;gap:4px;margin-bottom:10px;padding:12px;display:grid}.countdown-card span{color:#1d4ed8;text-transform:uppercase;font-size:.72rem;font-weight:900}.countdown-card strong{color:#111827;font-size:1.42rem;line-height:1}.run-log-row{background:#fff;border:1px solid #e5e7eb;border-left-width:4px;border-radius:8px;grid-template-columns:72px 72px 1fr;align-items:start;gap:8px;padding:8px 10px;display:grid}.run-log-row.info{border-left-color:#2563eb}.run-log-row.success{border-left-color:#16a34a}.run-log-row.error{border-left-color:#dc2626}.run-log-row span{color:#6b7280;font-variant-numeric:tabular-nums;font-size:.76rem}.run-log-row strong{color:#111827;text-transform:uppercase;font-size:.72rem}.run-log-row p{color:#374151;overflow-wrap:anywhere;margin:0}.last-run-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}@media (width<=900px){.undelivered-controls,.pod-generate-grid,.pod-filter-grid,.pod-filter-grid-compact,.timeline-filter-grid,.timeline-summary-grid,.pod-monitor-grid{grid-template-columns:1fr}.pod-run-action-bar,.pod-table-actions{flex-wrap:wrap;justify-content:flex-start}.timeline-session-header{flex-direction:column}.timeline-session-stats{justify-content:flex-start}.marker-detail-card .details-grid,.run-log-row{grid-template-columns:1fr}.last-run-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.driver-card-preview{background:#fff;border:1px solid #e5e7eb;border-radius:22px;width:360px;max-width:100%;overflow:hidden;box-shadow:0 16px 40px #0f172a29}.driver-card-header{color:#fff;background:#111827;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px;display:flex}.driver-card-header p{color:#d1d5db;margin:4px 0 0;font-size:.85rem}.status-pill{border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.status-pill.active{color:#166534;background:#dcfce7}.status-pill.inactive{color:#991b1b;background:#fee2e2}.driver-card-body{align-items:center;gap:16px;padding:20px;display:flex}.driver-card-photo,.driver-card-photo-placeholder{object-fit:cover;background:#f9fafb;border:1px solid #e5e7eb;border-radius:18px;width:96px;height:96px}.driver-card-photo-placeholder{color:#111827;place-items:center;font-size:2rem;font-weight:900;display:grid}.driver-card-info h3{color:#111827;margin:0 0 6px}.driver-card-info p{color:#6b7280;margin:3px 0;font-weight:700}.driver-card-qr{border-top:1px solid #e5e7eb;align-items:center;gap:16px;padding:18px;display:flex}.driver-card-qr p{color:#6b7280;word-break:break-word;margin:4px 0 0;font-size:.82rem}.modal-backdrop{z-index:100;background:#0f172ab8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:20px;width:min(920px,100%);max-height:92vh;padding:22px;overflow:auto;box-shadow:0 30px 90px #00000059}.confirm-modal{gap:16px;width:min(420px,100%);display:grid}.confirm-modal h2{margin:0;font-size:1.1rem}.delete-driver-summary{background:#fff7ed;border:1px solid #fecaca;border-radius:12px;gap:2px;padding:12px;display:grid}.delete-driver-summary span,.delete-driver-summary small{color:#6b7280}.access-card-modal{gap:18px;display:grid}.access-card-landscape{background:#fff;border:1px solid #dbe3ef;border-radius:24px;grid-template-columns:1fr 220px;width:760px;max-width:100%;height:300px;display:grid;overflow:hidden;box-shadow:0 18px 50px #0f172a2e}.access-card-left{flex-direction:column;display:flex}.access-card-brand{color:#fff;background:linear-gradient(135deg,#0f172a,#1e293b);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 22px;display:flex}.access-card-brand h3{margin:0;font-size:1.15rem}.access-card-brand p{color:#cbd5e1;margin:4px 0 0;font-size:.85rem}.access-card-profile{flex:1;align-items:center;gap:22px;padding:24px;display:flex}.access-card-profile img,.access-card-placeholder{object-fit:cover;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;width:142px;height:142px}.access-card-placeholder{color:#0f172a;place-items:center;font-size:3rem;font-weight:900;display:grid}.access-card-profile h2{color:#0f172a;margin:0 0 12px;font-size:1.65rem}.access-card-profile p{color:#334155;margin:5px 0;font-size:.95rem}.access-card-right{text-align:center;background:#f8fafc;border-left:1px solid #e2e8f0;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:22px;display:flex}.access-card-right strong{color:#0f172a;font-size:.95rem}.access-card-right p{color:#64748b;margin:0;font-size:.75rem;line-height:1.35}@media print{body *{visibility:hidden}.access-card-print-area,.access-card-print-area *{visibility:visible}.access-card-print-area{position:absolute;top:0;left:0}.access-card-landscape{box-shadow:none}.no-print{display:none!important}}.return-group-stack{gap:16px;display:grid}.return-group-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.return-group-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:14px 16px}.return-group-header h3{margin:0 0 4px}.verbals-stack{gap:16px;display:grid}.verbal-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.verbal-card-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;display:flex}.verbal-card-header h3{margin:0 0 4px}.verbal-main{grid-template-columns:1.2fr 1fr 1fr;gap:16px;padding:16px;display:grid}.verbal-main p{margin:6px 0 0}@media (width<=900px){.verbal-main{grid-template-columns:1fr}.verbal-card-header{flex-direction:column}}.lifecycle-search-grid{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(120px,.6fr) minmax(190px,1fr) auto;align-items:end;gap:8px;display:grid}.lifecycle-hero-card{color:#fff;background:linear-gradient(135deg,#111827,#1f2937);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex;box-shadow:0 10px 30px #0f172a2e}.lifecycle-hero-card h1{margin:4px 0;font-size:1.42rem}.lifecycle-hero-card p{color:#cbd5e1;margin:0}.eyebrow{color:#93c5fd;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:900}.lifecycle-status{text-transform:uppercase;border-radius:999px;padding:7px 10px;font-size:.68rem;font-weight:900}.lifecycle-status.delivered{color:#166534;background:#dcfce7}.lifecycle-status.open{color:#92400e;background:#fef3c7}.lifecycle-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.metric-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px;box-shadow:0 4px 16px #1118270f}.metric-card span{color:#6b7280;font-size:.74rem;font-weight:700;display:block}.metric-card strong{color:#111827;margin-top:5px;font-size:1.28rem;line-height:1;display:block}.metric-card small{color:#6b7280;margin-top:4px;display:block}.lifecycle-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:10px;display:grid}.lifecycle-map{background:#f3f4f6;border:0;border-radius:16px;width:100%;min-height:260px}.map-link{color:#111827;margin-top:12px;font-weight:800;display:inline-flex}.empty-map-state{text-align:center;background:#f9fafb;border:1px dashed #d1d5db;border-radius:16px;place-items:center;min-height:260px;padding:24px;display:grid}.lifecycle-current-card{align-content:start;gap:12px;display:grid}.snapshot-row{border:1px solid #e5e7eb;border-radius:10px;gap:4px;padding:9px 10px;display:grid}.snapshot-row span{color:#6b7280;text-transform:uppercase;font-size:.78rem;font-weight:800}.snapshot-row strong{color:#111827;font-size:.95rem}.premium-timeline{gap:8px;padding:16px 0;display:grid;position:relative}.premium-timeline:before{content:"";background:linear-gradient(#111827,#d1d5db);width:2px;position:absolute;top:18px;bottom:18px;left:50%;transform:translate(-50%)}.premium-timeline-item{grid-template-columns:1fr 52px 1fr;min-height:110px;display:grid;position:relative}.premium-timeline-item.left .premium-timeline-card{grid-column:1;margin-right:18px}.premium-timeline-item.right .premium-timeline-card{grid-column:3;margin-left:18px}.premium-timeline-dot{z-index:2;background:#111827;border:4px solid #fff;border-radius:999px;grid-column:2;place-self:start center;width:18px;height:18px;margin-top:18px;box-shadow:0 0 0 2px #d1d5db}.premium-timeline-dot.success{background:#16a34a}.premium-timeline-dot.danger{background:#dc2626}.premium-timeline-dot.route{background:#2563eb}.premium-timeline-dot.map{background:#9333ea}.premium-timeline-dot.warehouse{background:#f59e0b}.premium-timeline-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;box-shadow:0 6px 18px #0f172a0f}.premium-timeline-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.premium-timeline-top strong{color:#6b7280;white-space:nowrap;font-size:.8rem}.premium-timeline-card h3{color:#111827;margin:0 0 10px;font-size:.95rem;line-height:1.35}.event-chip{color:#374151;background:#f3f4f6;border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:900}.event-chip.success{color:#166534;background:#dcfce7}.event-chip.danger{color:#991b1b;background:#fee2e2}.event-chip.route{color:#1d4ed8;background:#dbeafe}.event-chip.map{color:#7e22ce;background:#f3e8ff}.event-chip.warehouse{color:#92400e;background:#fef3c7}.lifecycle-meta{flex-wrap:wrap;gap:8px;display:flex}.lifecycle-meta span{color:#374151;background:#f3f4f6;border-radius:999px;padding:4px 8px;font-size:.78rem;font-weight:700}@media (width<=1100px){.lifecycle-grid{grid-template-columns:1fr}.premium-timeline:before{left:11px}.premium-timeline-item{grid-template-columns:24px 1fr}.premium-timeline-dot{grid-column:1}.premium-timeline-item.left .premium-timeline-card,.premium-timeline-item.right .premium-timeline-card{grid-column:2;margin-left:14px;margin-right:0}}@media (width<=900px){.lifecycle-search-grid{grid-template-columns:1fr}.lifecycle-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lifecycle-hero-card{flex-direction:column;align-items:flex-start}}@media (width<=600px){.lifecycle-summary-grid{grid-template-columns:1fr}.premium-timeline-top{flex-direction:column;align-items:flex-start}}@media (width<=900px){.profile-form,.compose-controls,.messages-shell{grid-template-columns:1fr}.messages-page{height:auto;min-height:0}.messages-header,.profile-hero{flex-direction:column;align-items:flex-start}.messages-shell{height:auto;min-height:0}.conversation-list{border-bottom:1px solid #e5e7eb;border-right:0;max-height:260px;padding:12px;overflow:auto}.message-list{min-height:360px;max-height:54vh}.chat-compose{grid-template-columns:1fr;position:static}.message-list{padding-bottom:14px}.notification-panel{right:-120px}}@media (width<=600px){.notification-panel{right:-80px}.message-bubble{max-width:86%}.message-list{padding:14px 10px}.chat-header{padding:12px}}
