:root {
  color-scheme: light;
  --canvas: #f5f6f8;
  --panel: #fff;
  --ink: #142437;
  --muted: #74808e;
  --quiet: #98a0aa;
  --line: #e8ecf0;
  --line-strong: #dbe1e7;
  --orange: #ee6b35;
  --orange-dark: #c94d1a;
  --orange-tint: #fff5ee;
  --green: #3d785c;
  --green-tint: #edf5ef;
  --amber: #9b6f24;
  --amber-tint: #fbf3e3;
  --red: #b35c4e;
  --red-tint: #fcf0ec;
  --blue: #54738f;
  --blue-tint: #eef3f8;
  --radius: 13px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 13px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; }
button { text-align: inherit; }
svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ee6b3580; outline-offset: 3px; }
::selection { color: #662e17; background: #ffe0ce; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { height: 68px; padding: 0 30px; display: flex; align-items: center; gap: 38px; color: #fff; background: #142437; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 33px; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; font-size: 23px; line-height: 1; letter-spacing: -.9px; font-style: italic; padding-right: 3px; }
.brand-copy { font-size: 13px; line-height: 1.35; font-weight: 600; }
.brand-copy small { display: block; color: #9cabbc; font-size: 10px; font-weight: 450; letter-spacing: .25px; margin-top: 2px; }
.topbar-center { align-self: stretch; display: flex; align-items: center; gap: 27px; margin-left: 17px; color: #aebac8; font-size: 12px; }
.topbar-center a, .topbar-center button, .topbar-center > span { height: 100%; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.topbar-center button { border: 0; background: transparent; color: inherit; padding: 0; }
.topbar-center .active { color: #fff; font-weight: 600; }
.topbar-center .active::after { content: ''; height: 3px; position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; background: var(--orange); }
.topbar-actions { display: flex; gap: 17px; align-items: center; margin-left: auto; }
.topbar .icon-btn { color: #c0cad5; background: transparent; border-color: #344255; }
.topbar .icon-btn:hover { background: #26364a; color: #fff; }
.avatar { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #516172; color: #fff; background: #35465a; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #526071; border-radius: 5px; color: #c5ced8; font-size: 10px; line-height: 1.25; white-space: nowrap; font-weight: 500; }
.demo-pill svg { width: 12px; height: 12px; }
.demo-pill::before { content: ''; width: 5px; height: 5px; background: #eea37f; border-radius: 50%; }
.contextbar { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 30px; background: #fff; border-bottom: 1px solid var(--line); gap: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.breadcrumb svg { width: 14px; height: 14px; color: #9ba4ae; }
.breadcrumb strong, .breadcrumb .current, .breadcrumb span:last-child { color: #3e4b5b; font-weight: 550; }
.date-select { display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; border: 0; background: none; font-size: 11px; color: #596675; }
.date-select svg { width: 14px; height: 14px; color: #85909c; }
.page { max-width: 1680px; margin: 0 auto; padding: 29px 30px 20px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
h1 { font-size: 27px; line-height: 1.25; font-weight: 600; letter-spacing: -.85px; }
.subtitle { color: #7c8692; font-size: 12px; margin-top: 7px; line-height: 1.6; }
.heading-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 36px; padding: 8px 13px; border-radius: 6px; font-size: 11px; line-height: 1.3; font-weight: 600; border: 1px solid transparent; transition: background .16s, box-shadow .16s, border-color .16s; white-space: nowrap; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { color: #fff; border-color: var(--orange); background: var(--orange); box-shadow: 0 2px 3px #b74b1710; }
.btn-primary:hover { background: #e05d27; border-color: #e05d27; box-shadow: 0 3px 8px #b74b1722; }
.btn-secondary { background: #fff; color: #485567; border-color: #dfe4e9; box-shadow: 0 1px 2px #14243703; }
.btn-secondary:hover { border-color: #bfc9d2; background: #fafbfc; }
.btn-ghost { background: transparent; color: #74808e; }
.btn-ghost:hover { color: #344257; background: #eff2f5; }
.btn-small { min-height: 28px; padding: 5px 9px; font-size: 10px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: #7f8a96; background: #fff; }
.icon-btn:hover { color: var(--ink); background: #f6f8fa; }
.icon-btn svg { width: 15px; height: 15px; }

.overview-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; padding: 21px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 3px #14243702; }
.overview-item { display: flex; align-items: center; gap: 14px; padding: 0 23px; min-width: 0; border-right: 1px solid var(--line); }
.overview-item:last-child { border-right: 0; }
.overview-icon { display: flex; align-items: center; justify-content: center; height: 39px; width: 39px; border-radius: 10px; background: #f2f5f8; color: #687d91; flex-shrink: 0; }
.overview-icon svg { width: 20px; height: 20px; }
.overview-item:nth-child(2) .overview-icon { color: #c97b40; background: #fdf3e9; }
.overview-item:nth-child(3) .overview-icon { color: #63866f; background: #eff5ef; }
.overview-item:nth-child(4) .overview-icon { color: #938d7e; background: #f4f3f0; }
.overview-number { font-size: 25px; line-height: 1.1; font-weight: 600; letter-spacing: -.8px; display: flex; align-items: baseline; gap: 6px; }
.overview-number small { font-size: 11px; font-weight: 450; letter-spacing: 0; color: var(--muted); }
.overview-label { margin-top: 5px; color: #7c8793; font-size: 10px; line-height: 1.4; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 20px; align-items: start; }
.operations-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 3px #14243702; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 21px 22px 18px; gap: 12px; }
.panel-title { display: flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: -.2px; font-weight: 600; }
.panel-title svg { color: #8191a2; width: 17px; height: 17px; }
.panel-subtitle { font-size: 10px; margin-top: 4px; color: #8b949f; line-height: 1.5; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px 18px; }
.search-wrap { position: relative; display: flex; align-items: center; min-width: 0; flex: 1; max-width: 244px; }
.search-wrap svg { position: absolute; left: 10px; color: #97a0aa; width: 14px; height: 14px; pointer-events: none; }
.search-wrap input { width: 100%; height: 33px; padding: 7px 10px 7px 32px; border: 1px solid #e4e8ec; border-radius: 6px; background: #fcfdfe; font-size: 10px; outline: none; transition: border-color .15s; }
.search-wrap input::placeholder { color: #929ba5; }
.search-wrap input:focus { border-color: #edb496; }
.filter-chips { display: flex; gap: 5px; flex-shrink: 0; }
.chip { border: 1px solid transparent; background: transparent; color: #89929d; padding: 6px 9px; border-radius: 5px; font-size: 10px; font-weight: 500; white-space: nowrap; min-height: 29px; }
.chip:hover { background: #f5f7f9; color: #4f5f6f; }
.chip.active { background: #fff4ed; color: #cf683a; border-color: #fbe1d2; }
.chip span { margin-left: 3px; font-size: 9px; opacity: .75; }
.table-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d1d9e0 transparent; }
.shipment-table { width: 100%; border-collapse: collapse; font-size: 11px; white-space: nowrap; }
.shipment-table thead { background: #fafbfd; }
.shipment-table th { color: #919aa4; text-align: left; font-size: 9px; line-height: 1.35; font-weight: 500; letter-spacing: .2px; padding: 11px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shipment-table th:first-child, .shipment-table td:first-child { padding-left: 22px; }
.shipment-table th:last-child, .shipment-table td:last-child { padding-right: 20px; }
.shipment-table td { height: 69px; padding: 12px; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
.shipment-table tbody tr { cursor: pointer; transition: background .15s; outline-offset: -3px; }
.shipment-table tbody tr:hover { background: #fafbfd; }
.shipment-table tbody tr.is-selected { background: #fff8f3; }
.shipment-table tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 var(--orange); }
.shipment-table tbody tr.is-done .attention-dot { background: #82ad91; box-shadow: 0 0 0 3px #edf5ef; }
.shipment-table tbody tr:last-child td { border-bottom: 0; }
.order-id { font-size: 10px; font-weight: 600; letter-spacing: .1px; color: #42566d; }
.client-name { font-size: 11px; font-weight: 550; letter-spacing: -.1px; }
.cell-secondary { display: block; font-size: 9px; color: #9aa2ac; margin-top: 3px; font-weight: 400; }
.route-label { color: #738090; font-size: 10px; display: inline-flex; align-items: center; gap: 5px; }
.route-label svg { width: 11px; height: 11px; color: #a9b1ba; }
.status-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 500; padding: 4px 7px; border-radius: 4px; line-height: 1.15; white-space: nowrap; }
.status-pill svg { width: 10px; height: 10px; }
.status-pill.success { color: var(--green); background: var(--green-tint); }
.status-pill.warning { color: var(--amber); background: var(--amber-tint); }
.status-pill.danger { color: var(--red); background: var(--red-tint); }
.status-pill.neutral { color: #7e8a96; background: #f0f3f5; }
.status-pill.info { color: var(--blue); background: var(--blue-tint); }
.attention-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ed9b6f; box-shadow: 0 0 0 3px #fff0e6; margin-right: 6px; vertical-align: middle; }
.row-arrow { color: #b0b8c0; width: 14px; height: 14px; }
.is-selected .row-arrow { color: var(--orange); }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #97a0aa; font-size: 9px; padding: 13px 22px; border-top: 1px solid var(--line); }
.table-footer button { border: 0; background: none; color: #6d7b8a; font-size: 9px; padding: 3px; }
.operations-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 22px 22px; background: #fafbfc; border-top: 1px solid var(--line); }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 15px; min-width: 0; }
.mini-title { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; margin-bottom: 13px; }
.mini-title > svg { width: 14px; height: 14px; color: #98a1ab; }
.mini-title .status-pill { margin-left: auto; font-size: 8px; }
.mini-lines { display: grid; gap: 10px; }
.mini-line { display: flex; align-items: center; gap: 7px; font-size: 9px; color: #85909c; }
.mini-line strong, .mini-line > span:last-child { margin-left: auto; color: #596a7c; font-size: 9px; font-weight: 500; }
.dot, .source-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #80a88d; flex-shrink: 0; }
.dot.warning, .source-dot.warning { background: #d9a85f; }
.dot.neutral, .source-dot.neutral { background: #a7b2bd; }
.dot.info, .source-dot.info { background: #85a0b9; }

.assistant-panel { border: 1px solid #e5e8ed; border-radius: var(--radius); background: #fff; overflow: hidden; min-width: 0; box-shadow: 0 5px 14px #25364b04; position: sticky; top: 20px; }
.assistant-header { display: flex; align-items: center; gap: 11px; padding: 19px 20px 17px; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, #fffcf9, #fff); }
.assistant-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: #fdf0e5; color: #df793e; border: 1px solid #f7e0ce; }
.assistant-mark svg { width: 19px; height: 19px; }
.assistant-title { font-size: 13px; font-weight: 600; letter-spacing: -.2px; }
.assistant-subtitle { font-size: 9px; color: #939ba4; margin-top: 3px; }
.assistant-count { margin-left: auto; min-width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; font-size: 10px; color: #cb7048; background: #fcebdd; font-weight: 600; }
.assistant-context { padding: 13px 20px; font-size: 10px; color: #9099a3; border-bottom: 1px solid #eff1f4; display: flex; align-items: center; gap: 7px; line-height: 1.5; }
.assistant-context svg { width: 13px; height: 13px; color: #9aa6b2; }
.assistant-context strong { color: #5c6d7d; font-weight: 550; }
.case-list { display: grid; gap: 7px; padding: 13px; }
.case-card { position: relative; width: 100%; display: flex; align-items: flex-start; gap: 11px; padding: 13px 11px; border-radius: 8px; background: #fff; border: 1px solid #e9edf1; transition: border-color .15s, background .15s, transform .15s; }
.case-card:hover { background: #fdfcfb; border-color: #e1c3ad; }
.case-card.active { background: #fffbf7; border-color: #edc7ac; box-shadow: 0 0 0 1px #fbe9dc; }
.case-card.resolved { background: #fbfdfb; border-color: #e4ede6; }
.case-card.resolved .case-icon { color: #699274; background: #edf5ee; }
.case-card.resolved .case-title { color: #6a7d70; }
.case-card > svg:last-child { width: 13px; height: 13px; margin-left: auto; margin-top: 8px; color: #b6bdc5; }
.case-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #f4f6f8; border-radius: 7px; color: #7b8a9b; flex-shrink: 0; margin-top: 1px; }
.case-icon svg { width: 15px; height: 15px; }
.case-card.active .case-icon { background: #fbeedf; color: #bf7a43; }
.case-info { flex: 1; min-width: 0; }
.case-title { font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: -.1px; }
.case-summary { color: #8c96a1; font-size: 9px; line-height: 1.55; margin-top: 4px; }
.case-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 8px; line-height: 1.5; margin-top: 7px; color: #9aa2ac; }
.case-meta .status-pill { font-size: 8px; padding: 2px 5px; }
.priority-dot { display: inline-block; width: 4px; height: 4px; background: #dfa173; border-radius: 50%; margin-right: 1px; }
.case-detail { padding: 17px 20px 20px; animation: detail-enter .18s ease-out; }
@keyframes detail-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.back-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #909aa5; font-size: 10px; }
.back-link:hover { color: var(--orange); }
.back-link svg { width: 12px; height: 12px; }
.detail-eyebrow { color: #c17c50; font-size: 8px; line-height: 1.5; letter-spacing: 1.2px; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.case-detail h2 { font-size: 19px; line-height: 1.35; letter-spacing: -.55px; font-weight: 600; margin-bottom: 8px; }
.detail-description { font-size: 11px; color: #8a949f; line-height: 1.7; }
.source-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 13px 0 18px; font-size: 9px; color: #99a1ab; }
.source-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; font-size: 8px; line-height: 1.3; background: #f5f7f9; color: #8995a2; border: 1px solid #ecf0f3; border-radius: 4px; }
.source-tag svg { width: 10px; height: 10px; }
.evidence-card { border: 1px solid #e8edf1; border-radius: 8px; padding: 14px; margin: 15px 0; background: #fcfdfe; }
.evidence-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; font-size: 10px; font-weight: 600; color: #657589; }
.evidence-head svg { width: 14px; height: 14px; color: #a0aab4; }
.data-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid #edf0f4; font-size: 10px; line-height: 1.5; }
.data-row:first-child { border-top: 0; }
.data-label { color: #99a2ac; }
.data-value { text-align: right; color: #546477; font-weight: 500; }
.data-value.highlight, .highlight { color: #b57544; }
.delta { color: #b4763f; font-weight: 600; background: #fdf0df; border-radius: 4px; padding: 2px 5px; font-size: 9px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.comparison-column { border: 1px solid #e6ebef; border-radius: 7px; padding: 12px; font-size: 11px; line-height: 1.7; }
.comparison-column > :first-child { font-size: 8px; text-transform: uppercase; letter-spacing: .7px; color: #98a2ad; font-weight: 600; margin-bottom: 6px; }
.comparison-column.before { color: #84909c; background: #fafbfc; }
.comparison-column.after { color: #547563; border-color: #dbe9df; background: #f5f9f5; }
.comparison-column.after > :first-child { color: #80a08a; }
.message-card { border: 1px solid #e5eaf0; border-radius: 8px; margin: 16px 0; background: #fff; overflow: hidden; }
.message-label { padding: 10px 13px; border-bottom: 1px solid #edf1f4; color: #8b98a5; font-size: 9px; background: #fafbfd; display: flex; align-items: center; gap: 6px; }
.message-label svg { width: 13px; height: 13px; }
.message-to { color: #97a1ac; font-size: 9px; padding: 10px 13px 0; }
.message-to strong { color: #66788c; font-weight: 500; }
.message-body { padding: 12px 13px 15px; color: #6a7889; font-size: 10px; line-height: 1.85; white-space: pre-line; }
.message-body p + p { margin-top: 9px; }
.message-body textarea, .message-card > textarea { width: 100%; display: block; border: 0; resize: vertical; background: transparent; font-size: 10px; line-height: 1.85; color: #6a7889; min-height: 150px; padding: 0; }
.message-card > textarea { padding: 13px; }
.step-list { display: grid; gap: 14px; padding: 16px 0; }
.step { display: flex; align-items: flex-start; gap: 10px; color: #7c8998; font-size: 10px; line-height: 1.6; }
.step strong { display: block; color: #53677c; font-size: 11px; font-weight: 550; margin-bottom: 2px; }
.step-num { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #f4f6f8; border: 1px solid #e8edf1; color: #8f9aa7; font-size: 9px; flex-shrink: 0; }
.checklist { border: 1px solid #e7edf0; border-radius: 8px; padding: 2px 12px; margin: 15px 0; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid #edf0f4; color: #708092; font-size: 10px; }
.check-row:last-child { border-bottom: 0; }
.check-row > :last-child:not(:first-child) { margin-left: auto; }
.check-icon { color: #7ca188; display: inline-flex; }
.check-icon svg { width: 14px; height: 14px; }
.check-row.warning .check-icon { color: #c39259; }
.actions-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 17px; margin-top: 17px; border-top: 1px solid #ebeff3; }
.actions-footer .btn-primary { flex: 1; }
.actions-footer + p { color: #a0a8b1; font-size: 8px; text-align: center; margin-top: 9px; line-height: 1.6; }
.result-state { padding: 27px 5px 18px; text-align: center; }
.result-icon { width: 53px; height: 53px; margin: 0 auto 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #72a17f; background: #eff6ef; border: 1px solid #deebdf; box-shadow: 0 0 0 7px #f8fbf8; }
.result-icon svg { width: 24px; height: 24px; }
.result-title { font-size: 17px; font-weight: 600; letter-spacing: -.35px; margin-bottom: 9px; }
.result-description { color: #8e99a5; font-size: 11px; line-height: 1.75; max-width: 285px; margin: 0 auto 20px; }
.activity-list { display: grid; gap: 0; margin: 15px 0 8px; text-align: left; }
.activity-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-top: 1px solid #edf1f4; color: #8e9aa6; font-size: 10px; line-height: 1.6; }
.activity-item svg { width: 13px; height: 13px; color: #7ca38a; margin-top: 2px; }
.activity-item strong { color: #66798b; font-weight: 500; }
.activity-item small { display: block; color: #a4adb7; font-size: 9px; }
.bottom-note { color: #a1a9b3; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 9px; margin-top: 19px; line-height: 1.6; }
.bottom-note svg { width: 12px; height: 12px; color: #abb3bc; }
.assistant-panel > .bottom-note { border-top: 1px solid #edf1f4; padding: 12px 15px; margin-top: 0; font-size: 8px; background: #fcfdfe; }
.empty-state { text-align: center; color: #97a2ae; padding: 35px 20px; font-size: 11px; }
.empty-state svg { width: 30px; height: 30px; color: #bbc5cf; display: block; margin: 0 auto 13px; }
.empty-state strong { display: block; margin-bottom: 5px; color: #63768a; }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 120; transform: translate(-50%, 15px); background: #1e354a; color: #fff; display: flex; align-items: center; gap: 9px; border-radius: 8px; padding: 12px 18px; font-size: 11px; box-shadow: 0 8px 30px #14243724; opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: #9bc4a8; width: 16px; height: 16px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 28px; background: #14243780; backdrop-filter: blur(4px); }
.modal-backdrop[hidden], .modal-backdrop.hidden, [hidden] { display: none !important; }
.modal { width: 100%; max-width: 760px; max-height: calc(100vh - 56px); overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e7ebf0; box-shadow: 0 20px 100px #0d1b3b35; animation: detail-enter .2s ease-out; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 27px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 21px; letter-spacing: -.5px; font-weight: 600; }
.modal-header p { margin-top: 6px; font-size: 11px; color: var(--muted); }
.modal-close { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: #f5f7f9; color: #87929e; flex-shrink: 0; padding: 0; }
.modal-close:hover { background: #e9edf2; color: #43576d; }
.modal-close svg { width: 15px; height: 15px; }
.modal-body { padding: 24px 27px; }
.modal-body p { color: #7e8c9a; font-size: 12px; line-height: 1.8; }
.modal-body h3 { margin: 19px 0 10px; font-size: 13px; font-weight: 600; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body .evidence-card { margin-top: 0; }
.modal-body .data-row { font-size: 11px; padding: 10px 0; }
.modal-footer { padding: 17px 27px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fcfdfe; }
.tour-banner { display: flex; align-items: center; gap: 15px; border: 1px solid #e1e6ed; border-radius: 9px; padding: 13px 16px; margin-bottom: 20px; background: #fff; box-shadow: 0 3px 8px #18344d03; }
.tour-banner > svg { color: #cc865b; background: #fff3ea; box-sizing: content-box; padding: 8px; width: 17px; height: 17px; border-radius: 8px; }
.tour-copy { flex: 1; color: #6a7b8e; font-size: 11px; line-height: 1.5; }
.tour-copy strong { font-weight: 600; color: #385068; display: block; margin-bottom: 3px; }
.tour-copy p { color: #8995a2; font-size: 10px; }
.tour-step { font-size: 9px; color: #99a2ad; white-space: nowrap; }
.tour-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mobile-only { display: none; }

/* The work context and assistant share one continuous workspace. */
.brand-mark { width: 68px; height: 34px; gap: 5px; padding-right: 0; background: none; font-size: 27px; letter-spacing: -1.1px; }
.brand-mark > span { display: block; width: 6px; height: 25px; margin-left: 1px; background: var(--orange); transform: skew(-15deg); border-radius: 1px; }
.topbar-center { font-size: 10px; gap: 7px; color: #8f9eaf; }
.topbar-center > .source-dot { display: inline-block; width: 5px; height: 5px; background: #7c9c8b; border-radius: 50%; }
button.demo-pill { background: transparent; }
button.demo-pill:hover { background: #233449; border-color: #6b7c8e; }
.breadcrumb-separator { color: #c1c8cf !important; margin: 0 1px; }
.page-heading h1 > span { color: var(--orange); }
.context-label { display: inline-flex; align-items: center; gap: 5px; color: #a0a9b3; font-size: 8px; white-space: nowrap; }
.context-label svg { width: 12px; height: 12px; }
.small-count { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 20px; padding: 0 5px; margin-left: 2px; border-radius: 5px; font-size: 9px; color: #8795a4; background: #f2f5f8; font-weight: 500; }
.overview-action { border: 0; border-right: 1px solid var(--line); background: #fff; }
.overview-action:hover .overview-label { color: #a66b46; }
.overview-action:hover .overview-icon { box-shadow: 0 0 0 4px #f9f6f2; }
.overview-number { display: inline-block; }
.overview-label { display: block; }
.overview-label svg { width: 11px; height: 11px; vertical-align: -2px; margin-left: 3px; color: #b7bec5; }
.overview-promise { justify-content: space-between; gap: 12px; }
.overview-quote { color: #9aa1aa; font-size: 15px; font-weight: 450; letter-spacing: -.4px; line-height: 1.45; }
.overview-quote strong { color: #42566b; font-weight: 550; }
.overview-decoration { color: #e8d3bf; display: flex; align-items: center; padding-right: 3px; }
.overview-decoration svg { width: 40px; height: 40px; stroke-width: 1; }
.table-sort { border: 0; background: transparent; font-size: inherit; color: inherit; padding: 0; display: inline-flex; align-items: center; gap: 7px; }
.table-sort svg { width: 10px; height: 10px; color: #abb5c0; }
.table-sort:hover { color: #4d6680; }
button.order-id { padding: 0; border: 0; background: transparent; }
button.order-id:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.time-window { font-size: 10px; color: #748395; }
.attention-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; color: #8d7968; font-size: 9px; white-space: nowrap; }
.attention-link .attention-dot { width: 4px; height: 4px; margin: 0 2px 0 0; box-shadow: none; background: #dca276; }
.attention-link:hover { color: var(--orange-dark); }
.attention-link.done { color: #7a9984; }
.attention-link svg { width: 11px; height: 11px; }
button.row-arrow { display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; border: 0; padding: 0; background: none; border-radius: 4px; }
button.row-arrow:hover { background: #f4eadd; }
button.row-arrow svg { width: 13px; height: 13px; }
.mini-card { display: flex; align-items: center; gap: 10px; text-align: left; }
button.mini-card:hover, .mini-card.selected { border-color: #dcc6b5; background: #fffdf9; }
.mini-card > span:nth-child(2) { min-width: 0; }
.mini-card .mini-title { display: block; margin: 0 0 4px; font-size: 10px; white-space: nowrap; }
.mini-subtitle { display: block; font-size: 8px; line-height: 1.5; color: #97a1ac; }
.mini-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #9aa6b1; }
.mini-icon svg { width: 19px; height: 19px; }
.mini-badge { display: flex; align-items: center; justify-content: center; margin-left: auto; width: 19px; height: 19px; border-radius: 5px; background: #faf0e4; color: #b58a5c; font-size: 9px; flex-shrink: 0; }
.mini-badge.green { background: #eef4ee; }
.mini-badge svg { width: 11px; height: 11px; }
.mini-card > svg:last-child { margin-left: auto; width: 12px; height: 12px; color: #b1bac4; flex-shrink: 0; }
.mini-badge + svg { margin-left: 0 !important; }
.workflow-note { padding: 17px 22px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); background: #fff; }
.workflow-note > svg { color: #a6b1bb; width: 15px; height: 15px; }
.workflow-note strong { display: block; font-size: 9px; color: #8693a1; font-weight: 500; }
.workflow-note > div > span { display: block; margin-top: 2px; color: #a1aab4; font-size: 8px; }
.workflow-note .btn { margin-left: auto; font-size: 8px; }
.assistant-count { border: 0; }
.assistant-count:hover { background: #f9ddc5; }
.assistant-context { flex-wrap: wrap; }
.assistant-context > span { margin-left: auto; font-size: 8px; }
.case-title, .case-summary { display: block; }
.order-context { display: flex; gap: 9px; align-items: center; padding: 11px 12px; background: #f8fafc; border: 1px solid #edf1f5; border-radius: 7px; margin: 15px 0 0; color: #65768a; font-size: 10px; font-weight: 500; }
.order-context > svg { width: 17px; height: 17px; color: #9daab8; }
.order-context small { display: block; font-size: 9px; font-weight: 400; color: #9aa5b1; margin-top: 2px; }
.sample-tag { font-size: 7px; line-height: 1.3; text-transform: uppercase; letter-spacing: .5px; color: #b2bbc4; border: 1px solid #edf0f3; border-radius: 3px; padding: 3px 4px; font-weight: 400; margin-left: auto; }
.evidence-head > svg + span:not(.sample-tag) { margin-right: auto; }
.data-row.highlight .data-value { color: #b37a45; }
.data-row.highlight { background: #fff9ef; margin: 0 -7px; padding-left: 7px; padding-right: 7px; border-radius: 3px; }
.message-label > span { margin-left: auto; font-size: 8px; color: #aab4bf; }
.message-to { display: flex; align-items: baseline; gap: 9px; line-height: 1.5; }
.message-to > span { min-width: 47px; color: #a1abb6; font-size: 8px; }
.message-to > strong { font-size: 9px; font-weight: 450; }
.message-card > textarea.message-body { padding: 13px; min-height: 135px; width: 100%; max-width: 100%; background: #fff; font-size: 10px; line-height: 1.85; }
.message-card > textarea.message-body:focus { outline-offset: -3px; }
.incoming-mail { margin: 15px 0; border: 1px solid #e8edf1; border-radius: 8px; background: #fbfcfd; overflow: hidden; }
.incoming-mail .message-label { font-size: 9px; }
.incoming-mail p { padding: 12px 13px; font-size: 10px; line-height: 1.8; color: #7e8b99; }
.comparison { grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); gap: 7px; align-items: stretch; }
.comparison-column { padding: 12px 10px; }
.comparison-column > span, .comparison-column > strong, .comparison-column > small { display: block; }
.comparison-column > strong { font-size: 17px; letter-spacing: -.5px; font-weight: 600; }
.comparison-column > small { font-size: 8px; font-weight: 400; line-height: 1.6; margin-top: 3px; }
.comparison-column > span:first-child { font-size: 7px; letter-spacing: .5px; }
.comparison-arrow { display: flex; align-items: center; justify-content: center; color: #b8c0c9; }
.comparison-arrow svg { width: 13px; height: 13px; }
.inline-note { display: flex; gap: 7px; align-items: flex-start; font-size: 9px; line-height: 1.75; color: #939eaa; background: #f8fafc; border: 1px solid #edf1f5; border-radius: 6px; padding: 11px 12px; margin: 14px 0; }
.inline-note > svg { width: 13px; height: 13px; margin-top: 2px; color: #9aabbc; }
.attachment { display: flex; align-items: center; gap: 8px; padding: 11px 10px; border: 1px solid #e5ebf0; border-radius: 7px; background: #fcfdff; margin: 13px 0; }
.attachment > svg { width: 17px; height: 17px; color: #8c9fb2; }
.attachment > span { min-width: 0; }
.attachment strong { display: block; font-size: 9px; font-weight: 500; color: #6b7e92; }
.attachment small { display: block; font-size: 7px; color: #a2aeb9; line-height: 1.6; margin-top: 2px; }
.attachment .btn { margin-left: auto; font-size: 8px; padding-left: 5px; padding-right: 5px; }
.check-row > span:last-child { margin-left: 0; flex: 1; }
.check-row > svg { width: 14px; height: 14px; align-self: flex-start; margin-top: 2px; }
.check-row small { display: block; color: #a0aab5; font-size: 8px; margin-top: 3px; line-height: 1.6; }
.check-row.warning > svg { color: #bd9662; }
.check-row.warning > span { color: #a5845d; }
.green { color: #7ba185 !important; }
.choice-group { margin: 17px 0 0; padding: 0; border: 0; display: grid; gap: 7px; min-width: 0; }
.choice-group legend { font-size: 10px; color: #798b9e; font-weight: 550; padding: 0; margin-bottom: 10px; }
.choice-option { display: flex; align-items: flex-start; gap: 8px; padding: 11px 10px; border: 1px solid #e8edf1; border-radius: 7px; cursor: pointer; }
.choice-option:hover { background: #fffcf8; border-color: #e7d1bc; }
.choice-option:has(input:checked) { background: #fffaf4; border-color: #e6c0a0; box-shadow: 0 0 0 1px #f9eddf; }
.choice-option input { accent-color: var(--orange); margin: 3px 1px 0 0; width: 12px; height: 12px; flex-shrink: 0; }
.choice-option strong { display: block; color: #687b8e; font-size: 10px; line-height: 1.5; font-weight: 500; }
.choice-option small { display: block; font-size: 8px; line-height: 1.6; color: #9ba6b2; margin-top: 3px; }
.handover-list { margin: 14px 0 0; border: 1px solid #e7edf2; border-radius: 8px; overflow: hidden; }
.handover-row { display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid #edf1f4; width: 100%; padding: 12px 10px; background: #fff; }
.handover-row:last-child { border-bottom: 0; }
.handover-row:hover { background: #fffcf8; }
.handover-row .case-icon { width: 27px; height: 27px; }
.handover-row strong { display: block; font-size: 10px; font-weight: 500; color: #6a7b8d; }
.handover-row small { display: block; font-size: 8px; color: #a1acb7; line-height: 1.7; }
.handover-row > svg:last-child { width: 12px; height: 12px; margin-left: auto; color: #b3bec8; }
.actions-footer > p { font-size: 8px; line-height: 1.5; text-align: center; width: 100%; color: #a7afb8; margin-top: 2px; }
.activity-list > h3 { font-size: 9px; color: #94a0ad; font-weight: 500; margin: 4px 0 8px; }
.activity-item > span:first-child { color: #aab5c0; font-variant-numeric: tabular-nums; flex-shrink: 0; font-size: 9px; margin-top: 1px; }
.activity-item p { font-size: 9px; color: #93a0ae; line-height: 1.7; }
.bottom-note > button { padding: 0; background: transparent; border: 0; color: #8e9ba9; text-decoration: underline; text-decoration-color: #d0d7de; text-underline-offset: 3px; font-size: inherit; }
.bottom-note > button:hover { color: #b8754e; }
.made-by { margin-left: auto; display: inline-flex; align-items: baseline; gap: 6px; font-size: 8px; white-space: nowrap; }
.made-by strong { font-size: 12px; letter-spacing: -.55px; font-weight: 700; color: #7f8b99; }
.made-by strong > span { font-size: 6px; letter-spacing: 0; margin-left: 1px; vertical-align: super; }
.tour-step { display: flex; align-items: baseline; justify-content: center; gap: 3px; color: #ba855d; width: 43px; flex-shrink: 0; font-size: 19px; letter-spacing: -.6px; }
.tour-step small { font-size: 10px; color: #bbad9e; letter-spacing: 0; }
body.modal-open { overflow: hidden; }
.modal-body .modal-lead { color: #5e7389; font-size: 14px; line-height: 1.75; }
.modal-body .fine-print { font-size: 10px; color: #a0acb8; line-height: 1.85; margin-top: 18px; }
.modal .step strong { font-size: 12px; }
.modal .step p { font-size: 11px; line-height: 1.8; }
.pod-document { position: relative; overflow: hidden; border: 1px solid #e4e8ed; padding: 26px; background: #fff; border-radius: 4px; }
.pod-document > *:not(.document-watermark) { position: relative; z-index: 1; }
.document-letterhead { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 2px solid #eacfb9; padding-bottom: 21px; margin-bottom: 22px; }
.document-letterhead > strong { color: #243f58; font-size: 30px; font-weight: 750; font-style: italic; letter-spacing: -1.4px; }
.document-letterhead > span { color: #a3aeb8; font-size: 9px; letter-spacing: 2px; }
.document-watermark { position: absolute; z-index: 0; top: 48%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 61px; font-weight: 700; letter-spacing: 4px; color: #f0f2f4; white-space: nowrap; pointer-events: none; }
.pod-document h3 { margin-bottom: 21px; color: #60748a; }
.pod-document .data-row { border-color: #edf0f2; }
.document-signature { margin: 26px 0 14px; padding: 23px 13px; text-align: center; font-size: 16px; font-style: italic; font-family: Georgia, serif; color: #a1adba; border: 1px dashed #dfe5eb; border-radius: 4px; background: #fcfdfe80; }
.pod-document > p { font-size: 9px; line-height: 1.75; color: #b0b9c2; }

/* Readable working text; small type is reserved for supplementary labels. */
.shipment-table th { font-size: 10px; }
.shipment-table .order-id { font-size: 11px; }
.shipment-table .client-name { font-size: 12px; }
.shipment-table .cell-secondary { font-size: 10px; }
.shipment-table .time-window { font-size: 11px; }
.shipment-table .status-pill { font-size: 10px; }
.shipment-table .attention-link { font-size: 10px; }
.table-footer { font-size: 10px; }
.panel-subtitle { font-size: 11px; }
.search-wrap input { font-size: 11px; }
.chip { font-size: 11px; }
.case-title { font-size: 12px; }
.case-summary { font-size: 11px; }
.case-meta { font-size: 9px; }
.detail-description { font-size: 12px; line-height: 1.65; }
.order-context { font-size: 11px; }
.order-context small { font-size: 10px; }
.source-tag { font-size: 9px; }
.evidence-head { font-size: 11px; }
.data-row { font-size: 11px; }
.sample-tag { font-size: 8px; }
.message-label { font-size: 10px; }
.message-to > strong { font-size: 10px; }
.message-to > span { font-size: 9px; }
.message-card > textarea.message-body { font-size: 12px; line-height: 1.75; min-height: 160px; }
.incoming-mail p { font-size: 12px; line-height: 1.7; }
.incoming-mail .message-label { font-size: 10px; }
.inline-note { font-size: 11px; line-height: 1.65; }
.attachment strong { font-size: 11px; }
.attachment small { font-size: 9px; }
.check-row { font-size: 11px; }
.check-row small { font-size: 10px; }
.choice-group legend { font-size: 11px; }
.choice-option strong { font-size: 11px; }
.choice-option small { font-size: 10px; }
.handover-row strong { font-size: 11px; }
.handover-row small { font-size: 9px; }
.comparison-column > small { font-size: 10px; }
.comparison-column > span:first-child { font-size: 8px; }
.mini-card .mini-title { font-size: 11px; }
.mini-card .mini-subtitle { font-size: 9px; }
.actions-footer > p { font-size: 9px; }
.result-description { font-size: 12px; }
.activity-list > h3, .activity-item p { font-size: 10px; }

@media (min-width: 1600px) {
  .page { padding-top: 35px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; }
  .shipment-table td { height: 73px; }
  .case-list { padding: 15px; }
  .case-card { padding: 15px 13px; }
}

@media (max-width: 1200px) {
  .topbar { gap: 24px; }
  .topbar-center { gap: 20px; margin-left: 0; }
  .overview-item { padding: 0 18px; gap: 11px; }
  .toolbar { flex-wrap: wrap; }
  .search-wrap { max-width: none; min-width: 140px; }
  .filter-chips { gap: 2px; }
  .shipment-table { min-width: 615px; }
  .shipment-table th, .shipment-table td { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 1100px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; }
  .page { padding-left: 24px; padding-right: 24px; }
  .topbar, .contextbar { padding-left: 24px; padding-right: 24px; }
  .topbar-center { gap: 16px; font-size: 11px; }
  .brand-copy { font-size: 12px; }
  .topbar-actions { gap: 12px; }
  .overview-item { padding: 0 14px; gap: 10px; }
  .overview-icon { width: 34px; height: 34px; }
  .overview-label { font-size: 9px; }
  .overview-number { font-size: 23px; }
  .operations-bottom { padding: 16px; gap: 9px; }
  .mini-card { padding: 12px; }
  .panel-head, .toolbar { padding-left: 18px; padding-right: 18px; }
  .assistant-header { padding-left: 17px; padding-right: 17px; }
  .case-detail { padding-left: 17px; padding-right: 17px; }
  .assistant-context { padding-left: 17px; padding-right: 17px; }
  .context-label { display: none; }
  .mini-card { gap: 8px; }
  .mini-icon svg { width: 16px; height: 16px; }
  .mini-card .mini-title { font-size: 9px; }
  .mini-subtitle { font-size: 7px; }
  .mini-badge { display: none; }
  .workflow-note { padding-left: 17px; padding-right: 17px; }
  .workflow-note .btn { padding-right: 0; padding-left: 5px; }
  .overview-quote { font-size: 13px; }
  .overview-decoration svg { width: 30px; height: 30px; }
}

@media (max-width: 900px) {
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .assistant-panel { position: static; }
  .topbar-center { display: none; }
  .page-heading { align-items: flex-start; }
  .overview-strip { margin-bottom: 20px; }
  .overview-item { padding: 0 18px; }
  .overview-icon { width: 30px; height: 30px; }
  .overview-label { font-size: 9px; }
  .assistant-panel .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 17px; }
  .case-detail { max-width: 640px; margin: auto; padding: 22px; }
  .case-detail h2 { font-size: 22px; }
  .detail-description { font-size: 12px; }
  .message-body, .message-body textarea { font-size: 12px; }
  .shipment-table { min-width: 610px; }
  .mobile-only { display: inline-flex; }
  .context-label { display: inline-flex; }
  .mini-card .mini-title { font-size: 11px; }
  .mini-subtitle { font-size: 9px; }
  .mini-badge { display: flex; }
  .bottom-note { flex-wrap: wrap; }
  .made-by { flex-basis: 100%; justify-content: center; margin-top: 4px; }
}

@media (max-width: 640px) {
  .topbar { height: 61px; padding: 0 16px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 49px; height: 29px; font-size: 20px; }
  .brand-mark > span { width: 5px; height: 19px; margin-left: 0; }
  .brand-copy { font-size: 11px; }
  .brand-copy small { font-size: 8px; }
  .topbar-actions { gap: 10px; }
  .topbar-actions > .icon-btn { display: none; }
  .demo-pill { font-size: 8px; padding: 4px 6px; gap: 4px; }
  .avatar { width: 28px; height: 28px; font-size: 9px; }
  .contextbar { height: 44px; padding: 0 16px; gap: 8px; }
  .breadcrumb { font-size: 9px; gap: 5px; }
  .breadcrumb svg { width: 11px; height: 11px; }
  .date-select { font-size: 9px; gap: 5px; }
  .date-select svg { width: 12px; height: 12px; }
  .page { padding: 23px 16px 18px; }
  .page-heading { display: block; margin-bottom: 19px; }
  h1 { font-size: 25px; }
  .eyebrow { font-size: 9px; margin-bottom: 5px; }
  .subtitle { font-size: 11px; }
  .heading-actions { margin-top: 15px; }
  .btn { min-height: 35px; }
  .overview-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 0; border-radius: 10px; }
  .overview-item { padding: 16px 14px; gap: 10px; }
  .overview-item:nth-child(2) { border-right: 0; }
  .overview-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .overview-icon { width: 31px; height: 31px; border-radius: 8px; }
  .overview-icon svg { width: 17px; height: 17px; }
  .overview-number { font-size: 23px; }
  .overview-label { font-size: 9px; }
  .operations-panel, .assistant-panel { border-radius: 10px; }
  .panel-head { padding: 17px 15px 15px; }
  .panel-title { font-size: 13px; }
  .toolbar { padding: 0 15px 15px; gap: 10px; }
  .search-wrap { min-width: 100%; max-width: none; }
  .search-wrap input { font-size: 11px; height: 36px; }
  .filter-chips { gap: 6px; }
  .chip { font-size: 10px; }
  .shipment-table { min-width: 630px; }
  .shipment-table td { height: 65px; }
  .table-footer { padding-left: 15px; padding-right: 15px; font-size: 8px; }
  .operations-bottom { padding: 15px; grid-template-columns: 1fr; gap: 10px; }
  .mini-card { padding: 14px; }
  .mini-lines { gap: 9px; }
  .mini-line { font-size: 10px; }
  .assistant-header { padding: 17px; }
  .assistant-panel .case-list { grid-template-columns: 1fr; padding: 12px; gap: 7px; }
  .case-card { padding: 13px; }
  .case-title { font-size: 12px; }
  .case-summary { font-size: 10px; }
  .case-meta { font-size: 9px; }
  .case-detail { padding: 17px; }
  .case-detail h2 { font-size: 21px; }
  .actions-footer { gap: 8px; }
  .actions-footer .btn { font-size: 10px; }
  .bottom-note { text-align: center; align-items: flex-start; font-size: 8px; }
  .bottom-note svg { margin-top: 2px; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: calc(100dvh - 24px); border-radius: 11px; }
  .modal-header { padding: 19px; }
  .modal-header h2 { font-size: 19px; }
  .modal-body { padding: 19px; }
  .modal-footer { padding: 15px 19px; }
  .tour-banner { padding: 12px; flex-wrap: wrap; gap: 10px; }
  .tour-banner > svg { display: none; }
  .tour-copy { flex-basis: calc(100% - 60px); }
  .tour-controls { margin-left: auto; }
  .toast { bottom: 16px; width: max-content; font-size: 10px; padding: 12px 14px; }
  .context-label { display: none; }
  .overview-promise { padding-right: 18px; }
  .overview-quote { font-size: 13px; }
  .overview-decoration svg { width: 29px; height: 29px; }
  .workflow-note { padding: 15px; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .workflow-note > svg { margin-top: 2px; }
  .workflow-note > div { flex: 1; }
  .workflow-note .btn { margin-left: 23px; padding: 1px 0; min-height: 20px; }
  .mini-card .mini-title { font-size: 11px; }
  .mini-subtitle { font-size: 9px; }
  .case-detail .message-card > textarea.message-body { font-size: 11px; min-height: 170px; }
  .tour-step { width: 35px; font-size: 17px; }
  .tour-copy { flex-basis: calc(100% - 55px); }
  .pod-document { padding: 17px; }
  .document-watermark { font-size: 36px; }
  .document-letterhead > span { font-size: 7px; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Readability for a shared-screen demonstration. */
.detail-description, .subtitle, .panel-subtitle, .case-summary,
.data-label, .message-to, .cell-secondary, .mini-subtitle,
.assistant-subtitle, .result-description, .overview-label { color: #667485; }
.source-tag { color: #607083; }
.shipment-table th { color: #657487; font-size: 10px; }
.data-value, .message-card > textarea.message-body { color: #40536a; }
.data-row.highlight .data-value { color: #976222; }
.actions-footer p, .fine-print { color: #697787; }
.case-summary, .case-title { display: block; }
textarea[readonly] { background: #fafbfc; }
.table-wrap { position: relative; }
@media (max-width: 640px) {
  .topbar { justify-content: space-between; }
  .brand-copy small { display: none; }
  .topbar-actions { margin-left: 0; gap: 8px; }
  .avatar { display: none; }
  .table-wrap { width: 100%; max-width: 100%; }
  .operations-panel { width: 100%; }
  .overview-label svg { display: none; }
}
