.platform-modes {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #344038;
  border-radius: 12px;
  background: #101611;
}

.platform-modes button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #9daa9f;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.platform-modes button.active { color: #172019; background: var(--lime); }
.platform-modes button:disabled { opacity: .45; cursor: not-allowed; }
.platform-modes em { min-width: 18px; display: inline-grid; place-items: center; margin-left: 4px; padding: 2px 5px; border-radius: 999px; color: inherit; background: rgba(255,255,255,.12); font-size: 9px; font-style: normal; }
.platform-modes button.active em { background: rgba(23,32,25,.12); }

.console-view.board-mode > main { grid-template-columns: minmax(0, 1fr); }
.console-view.board-mode .customers { display: none; }
.console-view.board-mode .workspace { padding-bottom: 34px; }

.topic-delivery-view { max-width: 1180px; margin: 0 auto; }
.dispatch-head { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: end; gap: 28px; margin-bottom: 18px; }
.dispatch-head > div:first-child > span { color: #477156; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.dispatch-head h1 { max-width: 760px; margin: 8px 0 7px; font-family: "Songti SC", STSong, serif; font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.dispatch-head p { margin: 0; color: var(--muted); font-size: 12px; }
.dispatch-stamp { position: relative; padding: 16px 18px; border: 1px solid #243e2d; color: #fff; background: #1c3827; box-shadow: 7px 7px 0 #dfff38; }
.dispatch-stamp::after { content: "P-006"; position: absolute; top: 9px; right: 10px; color: rgba(255,255,255,.22); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.dispatch-stamp small, .dispatch-stamp strong, .dispatch-stamp em { display: block; }
.dispatch-stamp small, .dispatch-stamp em { color: #bbcabf; font-size: 9px; font-style: normal; }
.dispatch-stamp strong { margin: 3px 0; font-family: Georgia, serif; font-size: 32px; }

.dispatch-metrics { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 14px; border: 1px solid #d2dad3; background: #fff; }
.dispatch-metrics > div { padding: 15px 18px; border-left: 1px solid #e1e6e1; }
.dispatch-metrics > div:first-child { border-left: 0; }
.dispatch-metrics small, .dispatch-metrics strong { display: block; }
.dispatch-metrics small { color: var(--muted); font-size: 9px; }
.dispatch-metrics strong { margin-top: 4px; font-family: Georgia, serif; font-size: 22px; }

.dispatch-policy { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 15px; border: 1px dashed #91a296; background: #edf3ed; }
.dispatch-policy i { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--green); font-family: "Songti SC", STSong, serif; font-style: normal; }
.dispatch-policy span, .dispatch-policy b, .dispatch-policy small { display: block; }
.dispatch-policy b { font-size: 11px; }
.dispatch-policy small { margin-top: 3px; color: #66736a; font-size: 9px; line-height: 1.5; }

.dispatch-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 160px auto auto; gap: 8px; margin-bottom: 14px; }
.dispatch-toolbar label { display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #d2dad3; border-radius: 9px; background: #fff; }
.dispatch-toolbar input, .dispatch-toolbar select, .dispatch-toolbar button { min-height: 40px; font: inherit; }
.dispatch-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; }
.dispatch-toolbar select, .dispatch-toolbar button { padding: 0 12px; border: 1px solid #d2dad3; border-radius: 9px; color: #34433a; background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.dispatch-toolbar button:hover { border-color: #78907d; }

.dispatch-error { margin-bottom: 12px; padding: 11px 13px; border: 1px solid #e3b8b3; border-radius: 9px; color: #8b332c; background: #fff2f1; font-size: 11px; }
.dispatch-empty { padding: 48px 20px; border: 1px dashed #c8d1c9; background: #fff; text-align: center; }
.dispatch-empty b { font-size: 13px; }
.dispatch-empty p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.dispatch-ledger { display: grid; gap: 14px; }

.dispatch-client { overflow: hidden; border: 1px solid #cfd8d0; background: #fff; box-shadow: 0 12px 36px rgba(29,49,35,.05); }
.dispatch-client > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 17px; border-bottom: 1px solid #dfe5df; background: linear-gradient(90deg,#f7f9f6 0 75%,#eef3ed 75%); }
.dispatch-client h2 { margin: 0; font-size: 15px; }
.dispatch-client header span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.dispatch-client header em { padding: 5px 8px; border: 1px solid #c5d0c6; color: #536258; background: #fff; font-size: 9px; font-style: normal; font-weight: 750; }
.dispatch-client header em.suspended { border-color: #e0b8b1; color: #923c34; background: #fff2f0; }
.dispatch-client-actions { display: flex; align-items: center; gap: 7px; }
.dispatch-client-actions button { min-height: 32px; padding: 0 10px; border: 1px solid #8da093; border-radius: 7px; color: #31513e; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.dispatch-client-actions button:hover { border-color: #355e43; }
.dispatch-client-actions button:disabled { opacity: .5; cursor: default; }
.dispatch-client ol { margin: 0; padding: 0; list-style: none; }

.dispatch-topic { display: grid; grid-template-columns: 34px minmax(180px, 1.1fr) minmax(180px, .8fr) minmax(170px, .75fr) auto; align-items: center; gap: 14px; min-height: 88px; padding: 14px 17px; border-top: 1px solid #e5e9e5; }
.dispatch-topic:first-child { border-top: 0; }
.dispatch-topic:hover { background: #fbfcfa; }
.dispatch-topic > label { position: relative; width: 25px; height: 25px; }
.dispatch-topic > label input { position: absolute; opacity: 0; }
.dispatch-topic > label span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #b7c2b9; border-radius: 50%; color: transparent; background: #fff; font-size: 11px; font-weight: 900; }
.dispatch-topic > label input:checked + span { border-color: var(--green); color: #fff; background: var(--green); }
.dispatch-topic > label input:disabled + span { border-style: dashed; background: #f0f2ef; }
.topic-name strong, .topic-name small, .topic-version b, .topic-version small, .topic-share b, .topic-share small { display: block; }
.topic-name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.topic-name small, .topic-version small, .topic-share small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.topic-version b, .topic-share b { color: #405047; font-size: 10px; }
.topic-status { min-width: 108px; padding: 7px 9px; border-radius: 999px; text-align: center; font-size: 9px; font-weight: 800; }
.topic-status.ready { color: #fff; background: #2a6545; }
.topic-status.delivered { color: #315740; background: #dff0e2; }
.topic-status.received { color: #153c2b; background: #c8ebd6; box-shadow: inset 0 0 0 1px #9fcdb2; }
.topic-status.archived, .topic-status.draft_only { color: #6b6254; background: #eeeae2; }
.topic-status.asset_blocked, .topic-status.tenant_suspended { color: #8d3c34; background: #f7dfdc; }

.follow-up-board { margin-top: 20px; border: 1px solid #293a30; background: #f7f8f4; box-shadow: 8px 8px 0 #dfe6d8; }
.follow-up-board > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 18px 20px; color: #edf3ee; background: #1b2820; }
.follow-up-board header span { color: #b7c9bb; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.follow-up-board h2 { margin: 5px 0 3px; font-family: "Songti SC", STSong, serif; font-size: 19px; }
.follow-up-board header p { margin: 0; color: #98a99c; font-size: 9px; }
.follow-up-total { min-width: 82px; padding-left: 16px; border-left: 1px solid #405047; text-align: right; }
.follow-up-total small,.follow-up-total strong { display: block; }.follow-up-total small { color: #98a99c; font-size: 8px; }.follow-up-total strong { color: #dfff38; font-family: Georgia, serif; font-size: 30px; }
.follow-up-metrics { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid #d6ddd5; background: #fff; }
.follow-up-metrics > div { position: relative; padding: 13px 20px 13px 31px; border-left: 1px solid #e1e6df; }
.follow-up-metrics > div:first-child { border-left: 0; }
.follow-up-metrics > div::before { content: ""; position: absolute; left: 18px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: #b38a32; }
.follow-up-metrics > div.pending::before { background: #47777e; }.follow-up-metrics > div.received::before { background: #2f6c49; }
.follow-up-metrics small,.follow-up-metrics strong { display: block; }.follow-up-metrics small { color: #657269; font-size: 9px; }.follow-up-metrics strong { margin-top: 3px; color: #243128; font-family: Georgia, serif; font-size: 20px; }
.follow-up-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) 180px; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #dde3dc; background: #eef2ed; }
.follow-up-toolbar label { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 11px; border: 1px solid #cbd5cc; background: #fff; }
.follow-up-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; }
.follow-up-toolbar select { min-height: 38px; padding: 0 10px; border: 1px solid #cbd5cc; color: #34433a; background: #fff; font: inherit; font-size: 10px; font-weight: 750; }
.follow-up-list { margin: 0; padding: 0; list-style: none; }
.follow-up-empty { padding: 32px 20px; text-align: center; }.follow-up-empty b { font-size: 12px; }.follow-up-empty p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.follow-up-row { display: grid; grid-template-columns: minmax(175px,.8fr) minmax(390px,1.7fr) minmax(160px,.7fr); align-items: center; gap: 22px; min-height: 105px; padding: 15px 20px; border-top: 1px solid #dce2db; background: #fff; }
.follow-up-row:first-child { border-top: 0; }
.follow-up-row.inbox_unseen { box-shadow: inset 4px 0 #b38a32; }.follow-up-row.seen_unreceived { box-shadow: inset 4px 0 #47777e; }.follow-up-row.received { box-shadow: inset 4px 0 #2f6c49; }
.follow-up-client small,.follow-up-client strong { display: block; }.follow-up-client > small { color: #77837b; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; }.follow-up-client > strong { margin-top: 4px; color: #25332a; font-size: 12px; }
.follow-up-client > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }.follow-up-client div span { padding: 3px 5px; border: 1px solid #d8ded8; color: #667168; background: #f7f8f6; font-size: 8px; }.follow-up-client div span.done { border-color: #b9d4c3; color: #2e6345; background: #eff8f2; }
.follow-up-rail { display: grid; grid-template-columns: minmax(92px,1fr) minmax(18px,.25fr) minmax(92px,1fr) minmax(18px,.25fr) minmax(92px,1fr); align-items: center; }
.follow-up-rail > span { position: relative; min-width: 0; padding: 28px 4px 0; text-align: center; }.follow-up-rail i { position: absolute; top: 0; left: calc(50% - 10px); width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #8a9b8e; border-radius: 50%; color: #657269; background: #fff; font-size: 8px; font-style: normal; font-weight: 900; }.follow-up-rail span.done i { border-color: #2f6c49; color: #fff; background: #2f6c49; }.follow-up-rail span.waiting i { border-style: dashed; }
.follow-up-rail > em { height: 1px; margin-top: -24px; background: repeating-linear-gradient(90deg,#9dad9f 0 4px,transparent 4px 7px); }
.follow-up-rail b,.follow-up-rail small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.follow-up-rail b { color: #35443a; font-size: 9px; }.follow-up-rail small { margin-top: 4px; color: #7a877e; font-size: 8px; }
.follow-up-result { padding: 10px 12px; border: 1px solid #cbd5cc; background: #f8faf7; }.follow-up-result b,.follow-up-result small,.follow-up-result code { display: block; }.follow-up-result b { color: #344c3c; font-size: 11px; }.follow-up-result small { margin-top: 5px; color: #67736b; font-size: 8px; line-height: 1.45; }.follow-up-result code { overflow: hidden; margin-top: 7px; color: #79847c; font: 7px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }

.receipt-drawer { margin-top: 20px; border: 1px solid #2b392f; color: #e9f0eb; background: #19221c; }
.receipt-drawer > header { display: flex; justify-content: space-between; gap: 20px; padding: 17px 19px; border-bottom: 1px solid #344239; }
.receipt-drawer header span { color: #a9baad; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.receipt-drawer h2 { margin: 4px 0 0; font-family: "Songti SC", STSong, serif; font-size: 17px; }
.receipt-drawer header small { align-self: end; color: #91a096; font-size: 9px; }
.receipt-empty { padding: 24px 19px; color: #849087; font-size: 10px; }
.receipt-drawer ol { margin: 0; padding: 0; list-style: none; }
.receipt-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; padding: 15px 19px; border-top: 1px solid #2e3a32; }
.receipt-row:first-child { border-top: 0; }
.receipt-row strong, .receipt-row span, .receipt-row small { display: block; }
.receipt-row strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #dfff38; font-size: 10px; }
.receipt-row small { margin-top: 5px; color: #89958c; font-size: 9px; }
.receipt-row span { color: #cad5cd; font-size: 10px; }
.receipt-row em { align-self: center; color: #c0cdc3; font-size: 10px; font-style: normal; }
.receipt-row em.has-blocked { color: #f0aaa2; }

.station-ledger { position: relative; overflow: hidden; margin-top: 14px; border: 1px solid #aebfc5; background: #f2f7f8; }
.station-ledger::before { content: ""; position: absolute; inset: 0 auto 0 18px; border-left: 1px dashed #9eb2b8; pointer-events: none; }
.station-ledger > header { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 16px 19px 13px 35px; border-bottom: 1px solid #cad7da; background: #e8f1f2; }
.station-ledger > header::before { content: "邮"; position: absolute; left: 9px; top: 16px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #6f9299; border-radius: 50%; color: #486d75; background: #f8fbfb; font-family: "Songti SC", STSong, serif; font-size: 9px; }
.station-ledger header span { color: #4b747c; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.station-ledger h2 { margin: 4px 0 0; font-family: "Songti SC", STSong, serif; font-size: 17px; }
.station-ledger header small { max-width: 430px; align-self: end; color: #647b80; font-size: 9px; text-align: right; }
.station-ledger-empty { padding: 22px 19px 22px 35px; color: #718489; font-size: 10px; }
.station-ledger ol { margin: 0; padding: 0; list-style: none; }
.station-route-row { position: relative; display: grid; grid-template-columns: minmax(170px,.8fr) minmax(440px,1.8fr) auto; align-items: center; gap: 22px; min-height: 88px; padding: 13px 19px 13px 35px; border-top: 1px solid #d5dfe1; }
.station-route-row:first-child { border-top: 0; }
.station-route-row::before { content: ""; position: absolute; left: 13px; top: calc(50% - 5px); width: 9px; height: 9px; border: 2px solid #f2f7f8; border-radius: 50%; background: #5c858c; box-shadow: 0 0 0 1px #789aa0; }
.station-route-client strong,.station-route-client small,.station-route-client code { display: block; }
.station-route-client strong { color: #263e43; font-size: 11px; }.station-route-client small { margin-top: 4px; color: #74868a; font-size: 8px; }
.station-route-client code { margin-top: 7px; color: #56747a; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.station-route-track { min-width: 0; display: grid; grid-template-columns: minmax(100px,1fr) auto minmax(100px,1fr) auto minmax(120px,1fr); align-items: center; gap: 9px; }
.station-route-track > span { position: relative; min-width: 0; padding-left: 27px; }
.station-route-track i { position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #47777e; font-size: 8px; font-style: normal; font-weight: 900; }
.station-route-track span.waiting i { color: #6b5b32; background: #e4c472; }
.station-route-track b,.station-route-track small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.station-route-track b { color: #35545a; font-size: 9px; }.station-route-track small { margin-top: 4px; color: #74868a; font-size: 8px; }
.station-route-track > em { color: #95aaae; font-size: 10px; font-style: normal; }
.station-route-status { min-width: 72px; padding: 9px 10px; border: 1px solid #8ea8ad; text-align: center; background: #fff; }
.station-route-status b,.station-route-status small { display: block; }.station-route-status b { color: #355d64; font-size: 10px; }.station-route-status small { margin-top: 3px; color: #7b8d91; font-size: 8px; }
.station-route-status.seen { border-color: #83a998; background: #edf7f1; }.station-route-status.seen b { color: #315e49; }

.export-audit { margin-top: 14px; border: 1px solid #bbc6be; background: #f8faf7; }
.export-audit > header { display: flex; justify-content: space-between; gap: 20px; padding: 16px 19px 13px; border-bottom: 1px solid #d6ddd7; }
.export-audit header span { color: #477156; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.export-audit h2 { margin: 4px 0 0; font-family: "Songti SC", STSong, serif; font-size: 17px; }
.export-audit header small { align-self: end; color: #718078; font-size: 9px; }
.export-audit-empty { padding: 22px 19px; color: #78847c; font-size: 10px; }
.export-audit ol { margin: 0; padding: 0; list-style: none; }
.export-audit-row { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) minmax(190px, .9fr) auto; align-items: center; gap: 16px; min-height: 62px; padding: 10px 19px; border-top: 1px solid #e0e5e1; }
.export-audit-row:first-child { border-top: 0; }
.export-audit-row strong,.export-audit-row span,.export-audit-row small { display: block; }
.export-audit-row strong { color: #263b2e; font-size: 10px; }.export-audit-row span { color: #415148; font-size: 9px; }
.export-audit-row small { margin-top: 4px; color: #7b877f; font-size: 8px; }
.export-audit-row code { overflow: hidden; color: #315f43; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.export-audit-row button { min-height: 32px; padding: 0 10px; border: 1px solid #8ba093; border-radius: 7px; color: #31513e; background: #fff; font-size: 8px; font-weight: 800; cursor: pointer; }
.export-audit-row button:hover { border-color: #355e43; }

.dispatch-actions { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 16px; padding: 14px 16px; border: 1px solid #cfd8d0; background: rgba(255,255,255,.95); box-shadow: 0 -10px 30px rgba(31,45,35,.08); backdrop-filter: blur(12px); }
.dispatch-actions > div { margin-right: auto; }
.dispatch-actions b, .dispatch-actions small { display: block; }
.dispatch-actions b { font-size: 11px; }
.dispatch-actions small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.dispatch-actions button { min-height: 40px; padding: 0 15px; border: 1px solid #d1d8d2; border-radius: 9px; background: #fff; font-weight: 750; cursor: pointer; }
.dispatch-actions .primary { border-color: var(--green); color: #fff; background: var(--green); }
.dispatch-actions button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) {
  .topbar { height: auto; min-height: 70px; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .platform-modes { order: 3; width: 100%; }
  .platform-modes button { flex: 1; }
  .console-view > main { min-height: calc(100vh - 118px); }
  .dispatch-topic { grid-template-columns: 28px 1fr auto; }
  .topic-version, .topic-share { grid-column: 2; }
  .topic-status { grid-column: 3; grid-row: 1 / span 3; }
}

@media (max-width: 720px) {
  .console-view.board-mode .workspace { padding: 24px 14px 28px; }
  .dispatch-head { grid-template-columns: 1fr; gap: 16px; }
  .dispatch-head h1 { font-size: 29px; }
  .dispatch-stamp { width: 150px; }
  .dispatch-metrics { grid-template-columns: repeat(2,1fr); }
  .dispatch-metrics > div:nth-child(odd):not(:first-child) { border-left: 0; }
  .dispatch-metrics > div:nth-child(n+3) { border-top: 1px solid #e1e6e1; }
  .dispatch-toolbar { grid-template-columns: 1fr 1fr; }
  .dispatch-toolbar label { grid-column: 1 / -1; }
  .dispatch-client > header { align-items: flex-start; }
  .dispatch-client-actions { align-items: stretch; flex-direction: column-reverse; }
  .dispatch-client-actions button { min-height: 44px; }
  .dispatch-topic { grid-template-columns: 28px minmax(0,1fr); align-items: start; }
  .topic-version, .topic-share, .topic-status { grid-column: 2; grid-row: auto; }
  .topic-status { width: max-content; min-width: 0; }
  .receipt-row { grid-template-columns: 1fr auto; gap: 8px; }
  .receipt-row > div:nth-child(2) { grid-column: 1 / -1; }
  .station-ledger > header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .station-ledger header small { align-self: auto; text-align: left; }
  .station-route-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding-right: 14px; }
  .station-route-track { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 7px; padding-top: 9px; border-top: 1px dashed #bdcbce; }
  .station-route-track > em { display: none; }
  .station-route-track > span { min-height: 28px; }
  .station-route-track b,.station-route-track small { white-space: normal; }
  .station-route-status { grid-column: 2; grid-row: 1; }
  .follow-up-board > header { align-items: flex-start; }
  .follow-up-row { grid-template-columns: 1fr auto; gap: 13px; }
  .follow-up-rail { grid-column: 1 / -1; grid-row: 2; }
  .follow-up-result { grid-column: 2; grid-row: 1; max-width: 170px; }
  .export-audit > header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .export-audit header small { align-self: auto; }
  .export-audit-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .export-audit-row > div:nth-child(2),.export-audit-row code { grid-column: 1; }
  .export-audit-row button { min-height: 44px; grid-column: 2; grid-row: 1 / span 3; }
  .dispatch-actions { align-items: stretch; flex-wrap: wrap; }
  .dispatch-actions > div { width: 100%; margin: 0; }
  .dispatch-actions button { flex: 1; }
}

@media (max-width: 520px) {
  .follow-up-board { box-shadow: 4px 4px 0 #dfe6d8; }
  .follow-up-board > header { align-items: flex-start; padding: 16px; }
  .follow-up-board header p { max-width: 220px; line-height: 1.5; }
  .follow-up-metrics { grid-template-columns: 1fr; }
  .follow-up-metrics > div { border-top: 1px solid #e1e6df; border-left: 0; }
  .follow-up-metrics > div:first-child { border-top: 0; }
  .follow-up-toolbar { grid-template-columns: 1fr; }
  .follow-up-toolbar label,.follow-up-toolbar select { min-height: 44px; }
  .follow-up-row { grid-template-columns: 1fr; padding: 15px 14px 17px 18px; }
  .follow-up-result { max-width: none; grid-column: 1; grid-row: 2; }
  .follow-up-rail { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; gap: 7px; padding-top: 10px; border-top: 1px dashed #c1ccc2; }
  .follow-up-rail > span { min-height: 27px; padding: 0 0 0 29px; text-align: left; }
  .follow-up-rail i { left: 0; }
  .follow-up-rail > em { display: none; }
  .follow-up-rail b,.follow-up-rail small { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .dispatch-topic, .dispatch-actions { scroll-behavior: auto; }
}
