.manual-review-filter {display:inline-flex;align-items:center;gap:4px;font-size:12px}
.manual-review-filter select,.manual-actions button,.manual-review-dialog button:where(:not(.interval-evidence button),[data-leg-edit]) {border:1px solid #d8e2ef;border-radius:7px;background:white;color:#224b81;padding:5px 8px;font:inherit;cursor:pointer}
.manual-actions {white-space:nowrap}.manual-actions button {display:block;margin:2px auto;font-size:11px;white-space:nowrap}
.manual-actions button:disabled,.manual-review-dialog button:disabled{opacity:.45;cursor:not-allowed}
.manual-audit {font-size:12px}.manual-audit small{display:block}.manual-purple {color:#7634ab}.journey-key-manual {border-color:#833bc0}
.daily-evidence .interval-row.interval-manual {border-inline-start:3px solid #833bc0;background:#f8efff}
.manual-review-dialog {color:#1d2b3f;background:#fff;padding:0;border:1px solid #dce4ef;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:hidden;margin:0}
.manual-review-dialog::backdrop{background:#192b486f}
.manual-review-dialog h3,.manual-review-dialog h4,.manual-review-dialog p{margin:0}
.manual-review-dialog p,.manual-review-dialog small{color:#52627a}
.manual-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.manual-header,.manual-footer {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px max(16px,2.5vw);background:white;border-bottom:1px solid #dbe6f0}
.manual-header strong{color:#2f5f94;font-size:12px}.manual-header h3{font-size:21px}
.manual-footer{border-bottom:0;border-top:1px solid #dbe6f0}.manual-footer-actions{display:flex;gap:8px}.manual-review-dialog .manual-primary{color:white;background:#1656a8}
.manual-review-dialog .manual-error{color:#a12841}
.manual-work{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);min-height:0;overflow:hidden;background:#eff4fb}
.manual-map-col{display:flex;min-width:0;padding:12px;overflow:auto}
.manual-map-col .journey-panel {width:100%;margin:0;padding:12px;border:1px solid #dbe6f0;border-radius:10px;background:white;display:grid;grid-template-rows:auto minmax(210px,1fr);grid-auto-rows:auto;min-height:380px}
.manual-map-col .journey-map-area{display:grid;min-height:0}.manual-map-col .journey-amap-stage{height:auto;min-height:0}.manual-map-col .journey-expand{display:none!important}
.manual-timeline {overflow:auto;padding:12px 14px;background:white;border-left:1px solid #dbe6f0}.manual-timeline ol{padding:0;margin:10px 0;list-style:none;display:grid;gap:7px}
.manual-timeline li,.manual-audit-batch{border:1px solid #dbe6f0;border-radius:8px;padding:8px 10px}.manual-timeline .manual-stop{background:#f6f9fc}.manual-timeline li small{display:block}
.manual-timeline .manual-leg{border-left:3px solid #477fc0}.manual-timeline .manual-leg.empty{background:#fff9eb;border-left-color:#bb891f}.manual-timeline .manual-leg.purple{background:#faf2ff;border-left-color:#833bc0}
.manual-timeline .manual-leg.is-staged{outline:2px solid #a97ed4;outline-offset:-2px}.manual-leg-top,.manual-leg-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}
.manual-leg-actions{margin-top:4px}.manual-review-dialog .manual-link{background:transparent;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;text-align:left}.manual-review-dialog .manual-role{font-size:11px;padding:1px 4px}
.manual-confirm{overflow:auto;padding:16px max(16px,2.5vw);background:#eff4fb}.manual-confirm>section{max-width:950px;margin:auto;background:white;border:1px solid #dbe6f0;border-radius:9px;padding:15px}
.manual-confirm h3{margin-bottom:9px}.manual-confirm textarea{display:block;width:100%;min-height:80px;border:1px solid #dbe6f0;border-radius:7px;padding:7px;margin-top:4px;resize:vertical;font:inherit}.manual-confirm label{display:block;margin-top:12px}
.manual-prior{border:1px solid #dbe6f0;background:#f9fbfd;padding:8px 10px;border-radius:7px;margin-bottom:8px}.manual-prior ol{max-height:120px;overflow:auto}.manual-prior p{white-space:pre-wrap}
.manual-changes{padding:0;list-style:none;display:grid;gap:6px}.manual-changes li{display:flex;justify-content:space-between;gap:8px;border:1px solid #dbe6f0;border-radius:7px;padding:6px 8px}.manual-changes small{display:block}
.manual-review-dialog.manual-log-dialog{position:fixed;inset:8dvh 0 auto;margin:0 auto;width:min(720px,96vw);height:auto;max-height:84dvh;border-radius:10px;overflow:auto}
.manual-log,.manual-loading{padding:14px 18px}.manual-audit-batch{margin-top:7px}.manual-audit-batch p{white-space:pre-wrap}
@media(max-width:780px){.manual-work{display:block;overflow:auto}.manual-map-col .journey-panel{min-height:320px;max-height:550px}.manual-timeline{border-left:0}}
@media(min-width:980px) and (max-width:1179px){
 html[data-manual-review-release] .daily-workspace{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
 html[data-manual-review-release] .daily-evidence{position:sticky;top:12px}
 html[data-manual-review-release] .daily-workspace:has(.is-map-expanded)>.daily-evidence{position:static}
}

/* Fixed column tracks, independent of state, row contents or viewport. */
html[data-manual-review-release] .daily-list {container-type:inline-size}
html[data-manual-review-release] .daily-list #record-rows {overflow:visible}
html[data-manual-review-release] .daily-list .manual-ledger {min-width:0}
.daily-list .manual-ledger thead th:nth-child(n) {width:auto}
.manual-col-manager {width:8%}.manual-col-identity {width:10%}.manual-col-window {width:20%}.manual-col-clerk {width:8%}
.manual-col-verdict {width:9%}.manual-col-distance {width:11%}.manual-col-audit {width:12%}.manual-col-actions {width:11%}
.daily-list .manual-ledger :is(th,td) {white-space:nowrap;padding-inline:5px;padding-block:6px}
.daily-list .manual-ledger :is(th,td):first-child {padding-inline-start:12px}
.daily-list .manual-ledger :is(th,td):last-child {padding-inline-end:12px}
.daily-list .manual-ledger .n {text-align:right;font-variant-numeric:tabular-nums}
.daily-list .manual-ledger :is(th:nth-child(8),th:last-child,.manual-audit,.manual-actions) {text-align:center}
.manual-ledger :is(.daily-manager,.daily-clerk,.daily-pick,.daily-identity small,.daily-ledger .daily-accounting,.daily-accounting){
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%
}
.manual-ledger .daily-pick {display:block}
.manual-ledger .daily-accounting:empty {display:none}
.manual-ledger .manual-actions button {font-size:12px;line-height:16px;padding:2px 5px;margin:2px auto}
@container(min-width:1030px) {
  .manual-col-manager {width:8%}.manual-col-identity {width:9%}.manual-col-window {width:18%}.manual-col-clerk {width:8%}
  .manual-col-verdict {width:8%}.manual-col-distance {width:11%}.manual-col-audit {width:12%}.manual-col-actions {width:15%}
  .manual-ledger .manual-actions button {display:inline-block;margin:0 1px}
}
@container(min-width:620px) and (max-width:699px) {
  .manual-col-manager {width:8.75%}.manual-col-identity {width:10%}.manual-col-window {width:20%}.manual-col-clerk {width:7%}
  .manual-col-verdict {width:9.5%}.manual-col-distance {width:11.5%}.manual-col-audit {width:12%}.manual-col-actions {width:9.75%}
  .daily-list .manual-ledger :is(th,td) {padding-inline:3px}
  .daily-list .manual-ledger :is(th,td):first-child {padding-inline-start:6px}
  .daily-list .manual-ledger :is(th,td):last-child {padding-inline-end:6px}
  .daily-list .manual-ledger th {font-size:12px}
  .daily-list .manual-ledger :is(.daily-window time,.daily-verdict .verdict) {font-size:12px}
  .daily-list .manual-ledger .daily-verdict .verdict {padding-inline:0}
  .manual-ledger .manual-actions button {padding-inline:3px}
}
@container(max-width:619px) {
  .daily-list .manual-ledger {display:block}
  .manual-ledger colgroup,.manual-ledger thead {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .manual-ledger tbody {display:grid;gap:8px}
  .manual-ledger tr[data-record-id] {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--report-review-bg);border-radius:8px;padding:6px;align-items:center}
  .daily-list .manual-ledger tbody td {padding:3px 6px}
  .daily-list .manual-ledger tbody tr.is-selected {background:var(--report-selection)}
  .daily-list .manual-ledger :is(.manual-audit,.manual-actions,.n) {text-align:left}
  .manual-ledger .manual-actions button {display:inline-block;margin:2px}
  .manual-ledger tr[data-record-id] td:nth-child(6)::before,
  .manual-ledger tr[data-record-id] td:nth-child(7)::before {display:block;font-size:11px;color:var(--report-muted)}
  .manual-ledger tr[data-record-id] td:nth-child(6)::before {content:'区间里程 km'}
  .manual-ledger tr[data-record-id] td:nth-child(7)::before {content:'空放里程 km'}
}

.manual-review-dialog {
 color:var(--report-ink);background:var(--report-surface);
 --manual-divider:var(--report-review-bg);
}
.manual-review-dialog [hidden] {display:none!important}
.manual-review-dialog p,.manual-review-dialog small {color:var(--report-muted)}
.manual-review-dialog .manual-primary {background:var(--report-action);color:var(--report-surface)}
.manual-header h3 {font-size:18px;line-height:24px}
.manual-review-col {min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);background:var(--report-surface);border-left:1px solid var(--manual-divider)}
.manual-timeline {border-left:0;padding:12px 16px}
.manual-timeline .manual-leg {display:grid;gap:4px;grid-template-rows:20px 20px auto;font-size:14px;line-height:20px;min-width:0}
.manual-leg-top {display:grid;grid-template-columns:minmax(0,1fr) auto;white-space:nowrap}
.manual-leg-top .manual-link {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.manual-path {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.manual-leg-actions {margin:0;min-height:28px;white-space:nowrap}
.manual-leg-actions .manual-action-state {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.manual-leg-actions button {flex:none;min-width:104px;height:28px;padding:3px 8px;line-height:20px}
.manual-timeline .manual-leg.empty {background:var(--report-empty-bg)}
.manual-confirm {padding:12px 16px;background:var(--report-surface)}
.manual-confirm>section {max-width:none;margin:0;border:0;border-radius:0;padding:0}
.manual-confirm h3 {font-size:18px;line-height:24px}
.manual-changes li {display:grid;grid-template-columns:minmax(0,1fr) auto}
.manual-changes small,.manual-changes li>div:last-child {white-space:nowrap}
.manual-changes li>div:last-child {text-align:right}
.manual-changes li>div:first-child {min-width:0}
.manual-changes li>div:first-child small {overflow:hidden;text-overflow:ellipsis}
.manual-review-dialog.manual-log-dialog {width:min(760px,calc(100vw - 24px));box-shadow:var(--report-shadow-panel)}
.manual-log-header {padding:12px 16px;border-bottom-color:var(--manual-divider)}
.manual-log-header button {flex:none}
.manual-log {padding:12px 16px 16px;display:grid;gap:12px}
.manual-log-empty,.manual-audit-zero {background:var(--report-review-bg);padding:12px;border-radius:6px}
.review-audit-batch {border:1px solid var(--manual-divider);border-radius:8px;padding:12px;display:grid;gap:12px;min-width:0}
.manual-audit-head {display:flex;justify-content:space-between;align-items:center;gap:8px}
.manual-audit-head time,.manual-delta {color:var(--report-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.manual-audit-head time {font-size:12px}
.manual-audit-legs {display:grid;gap:8px;list-style:none;margin:0;padding:0}
.manual-audit-legs li {display:grid;grid-template-columns:minmax(0,1fr) auto 76px;gap:12px;align-items:center;padding:8px;background:var(--report-review-bg);border-radius:6px}
.manual-audit-legs small {display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.manual-audit-legs li>div:nth-child(2) {white-space:nowrap}
.manual-delta {text-align:right}
.manual-audit-remark b,.manual-audit-remark span {display:block}
.manual-audit-remark b {margin-bottom:4px}
.manual-audit-remark span {white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:780px){.manual-review-col {display:block;border-left:0}}
@media(max-width:530px){.manual-audit-legs li {grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.manual-audit-legs li>div:first-child {grid-column:1/-1}}

.manual-daily-tools {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.daily-list .manual-daily-tools input[type="search"] {width:min(290px,70%);min-width:140px}
.manual-filter-menu {position:relative;z-index:4}
.manual-filter-menu summary {cursor:pointer;list-style:none;display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.manual-filter-menu summary::-webkit-details-marker {display:none}
.manual-filter-menu summary::after {content:'▾'}
.manual-filter-menu[open] summary::after {content:'▴'}
.manual-filter-count {font-size:12px;padding-inline:4px;min-width:18px;text-align:center;border-radius:4px;background:var(--report-selection)}
.manual-filter-popup {position:absolute;z-index:5;top:calc(100% + 6px);right:0;width:min(340px,calc(100vw - 30px));padding:12px;border:1px solid var(--report-review-bg);border-radius:8px;background:var(--report-surface);box-shadow:var(--report-shadow-panel)}
.manual-filter-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}
.manual-filter-grid label {display:grid;gap:4px;font-size:12px;color:var(--report-muted)}
.manual-filter-grid select {width:100%;min-width:0;padding:4px;border:1px solid var(--report-control-edge);border-radius:6px;background:var(--report-surface);color:var(--report-ink)}
.manual-filter-actions {display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.manual-filter-actions .manual-filter-apply {background:var(--report-action);color:var(--report-surface)}
.manual-filter-chips {display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
.manual-filter-chips:empty {display:none}
.manual-filter-chips button {white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;border:0;border-radius:4px;background:var(--report-selection);color:var(--report-action);padding:3px 6px;font:inherit;font-size:12px;cursor:pointer}
html[data-journey-view] .daily-evidence:not(.shared-review) .record-evidence:not(.is-map-expanded) .journey-amap-stage {width:94%;margin-inline:auto;height:clamp(236px,34vh,410px)}
html[data-manual-review-release] .daily-evidence .interval-warnings {display:grid;gap:6px;margin:4px 0 12px}
html[data-manual-review-release] .daily-evidence .interval-warnings :is(.interval-gps-summary,.interval-review-summary) {margin:0;border-radius:6px;padding:8px 10px}
html[data-manual-review-release] .daily-evidence .interval-review-summary {color:var(--report-review);background:var(--report-review-bg)}
html[data-manual-review-release] .daily-evidence .interval-review-summary p {margin:0}
.interval-review-jump {margin-inline-start:8px;padding:0;border:0;background:none;color:var(--report-action);text-decoration:underline;text-underline-offset:2px;font:inherit;cursor:pointer}

.manual-card-time,.manual-stop-top>.manual-place-name {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manual-stop-top {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;align-items:center}
.manual-stop-top>span {display:flex;gap:4px;align-items:center;white-space:nowrap}
.manual-stop-top .manual-boundary-label {font-size:12px}
.manual-leg-top strong {font-variant-numeric:tabular-nums;white-space:nowrap}

.manual-clerk-note {display:block;margin-top:6px;color:var(--report-muted)}
.manual-filter-menu summary {padding:5px 8px;border:1px solid var(--report-control-edge);border-radius:7px;background:var(--report-surface);color:var(--report-action)}

/* Only the normal right-hand daily panel pins the map; the expanded map keeps its original grid. */
.journey-sticky-core {display:contents}
@media(min-width:980px) {
  html[data-journey-view] .daily-evidence .record-evidence {overflow-anchor:none}
  html[data-journey-view] .daily-evidence:not(.shared-review) .record-evidence:not(.is-map-expanded) :is(.interval-row,.interval-row button) {
    scroll-margin-top:calc(var(--journey-sticky-size,0px) + 8px)
  }
  html[data-journey-view] .daily-evidence:not(.shared-review) .record-evidence:not(.is-map-expanded) .journey-panel {display:contents}
  html[data-journey-view] .daily-evidence:not(.shared-review) .record-evidence:not(.is-map-expanded) .journey-sticky-core:has(.journey-amap-stage:not([hidden])) {
    position:sticky;top:0;z-index:2;display:block;background:var(--report-surface);
    padding-block:4px 2px;box-shadow:0 5px 8px -8px var(--report-muted);
  }
  html[data-journey-view] .daily-evidence:not(.shared-review) .record-evidence:not(.is-map-expanded) .journey-amap-stage {
    height:clamp(150px,30dvh,380px)
  }
}


/* Daily mileage and review are one card with one date axis, not one unit. */
.report-heading:has(.daily-archive-inline) p{display:block;line-height:1.65}
.report-heading:has(.daily-archive-inline) p>strong{margin-inline-end:8px}
.daily-archive-inline{display:inline;color:var(--report-muted);font-size:12px}
.daily-archive-inline>span{margin-inline:4px}
.daily-archive-inline .date-link{font-size:inherit;padding:0 3px;white-space:nowrap}
.unified-daily-trend{--unified-axis:42px;--unified-chart-gap:12px}
.unified-daily-trend .trend-heading{flex-wrap:wrap;gap:4px 10px}
.unified-daily-trend .trend-heading>h2{white-space:nowrap}
.unified-daily-trend .trend-heading .review-progress-indicator{color:var(--report-success);white-space:nowrap}
.review-progress-number{font-size:14px;font-weight:650;line-height:20px}
.unified-trend-actions{display:flex;gap:4px;align-items:center;margin-inline-start:auto}
.unified-daily-trend .trend-heading .review-progress{margin-left:0}
.unified-daily-trend .trend-heading .trend-daily-data{margin-left:0}
.unified-daily-trend .trend-heading .review-progress-details{width:min(100%,32rem)}
.unified-daily-trend .review-progress-details table{width:100%;min-width:0;table-layout:fixed}
.unified-daily-trend .review-clerk-ledger :is(th,td){padding:6px 8px;vertical-align:middle}
.unified-daily-trend .review-clerk-ledger :is(th,td):first-child{width:38%;padding-inline-start:12px}
.unified-daily-trend .review-clerk-ledger :is(th,td):last-child{padding-inline-end:12px}
.unified-daily-trend .review-clerk-ledger tbody :is(th,td){padding-block:6px;border-top:1px solid var(--report-review-bg)}
.unified-daily-trend .review-clerk-ledger .review-clerk-name{font-weight:500;background:transparent;color:var(--report-ink);overflow-wrap:anywhere;white-space:normal}
.unified-daily-trend .review-clerk-ledger .is-unmatched,.review-count.is-zero{color:var(--report-muted)}
.review-count.is-pending{color:var(--report-review);background:var(--report-review-bg);border-radius:4px;padding:1px 5px}
.review-count.is-reviewed{color:var(--report-success)}
.review-progress-note{padding:0 12px;margin:10px 0;line-height:1.5;color:var(--report-muted);font-size:12px}
.unified-daily-trend .review-progress-details .empty-msg{padding:10px 12px;text-align:left}
.unified-daily-trend .mileage-chart{gap:var(--unified-chart-gap)}
.unified-daily-trend .mileage-axis{flex:0 0 var(--unified-axis);min-width:var(--unified-axis)}
.review-trend-rail{display:flex;align-items:center;gap:var(--unified-chart-gap);padding:5px 0 2px}
.review-trend-axis{flex:0 0 var(--unified-axis);text-align:right;color:var(--report-muted);font-size:12px}
.review-trend-entries{display:grid;flex:1;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0}
.review-trend-day{display:flex;justify-content:center;align-items:center;gap:3px;text-align:center;min-width:0;font-size:12px}
.review-trend-day .is-reviewed,.review-trend-key .is-reviewed{color:var(--report-success)}
.review-trend-day .is-pending,.review-trend-key .is-pending{color:var(--report-review)}
.review-trend-missing,.review-count-separator{color:var(--report-muted)}
.review-trend-key{display:flex;flex-wrap:wrap;gap:4px 12px;padding-inline-start:calc(var(--unified-axis) + var(--unified-chart-gap));margin:6px 0 0;color:var(--report-muted);font-size:12px}
.review-trend-key :is(.is-pending,.is-reviewed)::before{content:"";width:7px;height:7px;border-radius:2px;display:inline-block;margin-right:4px;background:currentColor}
@media(max-width:540px){
 .unified-daily-trend{--unified-axis:34px;--unified-chart-gap:6px;padding-inline:12px}
 .unified-daily-trend .trend-heading>h2{font-size:16px}
 .unified-trend-actions{flex-basis:100%;margin-inline-start:0}
 .unified-daily-trend .mileage-key{flex-wrap:wrap;gap:3px 12px}
}

/* Archive history borrows the same read-only dialog shell as the review log. */
#dialog.archive-history-dialog {min-width:0;max-width:none;max-height:84dvh}
.archive-history-dialog .manual-log {min-width:0}
.archive-history-ledger :is(th,td) {border-top:0;white-space:nowrap;padding:9px 8px}
.archive-history-ledger th {background:var(--report-surface)}
.archive-history-ledger td {border-bottom:1px solid var(--manual-divider);font-variant-numeric:tabular-nums}
.archive-history-ledger tbody tr:last-child td {border-bottom:0}
.archive-history-ledger :is(th,td):first-child {padding-inline-start:0}
.archive-history-ledger :is(th,td):last-child {padding-inline-end:0}
.archive-history-empty {padding-block:4px}
@media(max-width:430px){
 .archive-history-dialog :is(.manual-log-header,.manual-log) {padding-inline:12px}
 .archive-history-ledger :is(th,td) {padding-inline:4px;font-size:12px}
}

.manual-contacts {display:flex;align-items:center;gap:12px;margin:6px 0 0;font-size:12px;line-height:18px}
.manual-contacts div {display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.manual-contacts dt {color:var(--report-muted)}
.manual-contacts dd {margin:0;font-variant-numeric:tabular-nums;font-weight:600}
@media(max-width:430px){.manual-filter-popup{right:0;width:min(300px,calc(100vw - 24px))}.manual-contacts{gap:8px;font-size:11px}}
.manual-contact-name {min-width:0;text-overflow:ellipsis;overflow:hidden}
.manual-contacts{flex-wrap:wrap}
.manual-shell[hidden]{display:none}

html[data-manual-review-release] dialog.daily-evidence.shared-review:modal {
  position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;
  padding:0;border:0;border-radius:0;overflow:hidden;background:var(--report-surface);
  display:grid;grid-template-columns:minmax(0,3fr) minmax(320px,2fr);grid-template-rows:auto minmax(0,1fr) auto;
}
.shared-review:modal .manual-shell,
.shared-review:modal .manual-work,
.shared-review:modal #daily-evidence,
.shared-review:modal #daily-evidence>.interval-evidence {display:contents}
.shared-review:modal #daily-evidence>.interval-evidence>:not(.journey) {display:none}
.shared-review:modal .manual-header {grid-area:1/1/2/-1}
.shared-review:modal .manual-review-col {grid-area:2/2/3/3;min-height:0;overflow:auto}
.shared-review:modal .manual-footer {grid-area:3/1/4/-1}
.shared-review:modal #daily-evidence .journey-panel {
  grid-area:2/1/3/2;position:static;display:flex;flex-direction:column;
  align-self:stretch;inline-size:auto;block-size:auto;min-height:0;overflow:auto;gap:4px;padding:12px;margin:0;
}
.shared-review:modal .journey-sticky-core {display:contents}
.shared-review:modal .journey-map-area {flex:1 0 180px;display:flex;min-height:0}
.shared-review:modal .journey-amap-stage {width:100%;height:100%}

.shared-review:modal #daily-evidence.is-map-expanded .journey-panel {grid-area:2/1/-2/-1}
.shared-review:modal:has(#daily-evidence.is-map-expanded) .manual-review-col {display:none}
@media(max-width:780px){
  html[data-manual-review-release] dialog.daily-evidence.shared-review:modal {
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(180px,38dvh) minmax(0,1fr) auto;
  }
  .shared-review:modal #daily-evidence .journey-panel {grid-area:2/1/3/2}
  .shared-review:modal .manual-review-col {grid-area:3/1/4/2}
  .shared-review:modal .manual-footer {grid-area:4/1/5/2}
}

.review-intervals .manual-leg-actions {margin-top:6px}
.review-intervals .interval-row:has([data-staged]) {box-shadow:inset 3px 0 #833bc0}
.review-intervals .review-eligibility {color:var(--report-muted);font-size:12px;margin:4px 0}
.shared-review .manual-header>div {min-width:0}
.shared-review .manual-header>button {flex:none;white-space:nowrap}
.shared-review:has(.manual-confirm:not([hidden])) .journey-expand {display:none}

.manual-contacts dd > span {display:block;white-space:normal;overflow-wrap:anywhere}
