/* Screen surfaces for operations, case review, site checks and statistics. */
.tool-short {display:none}
#analytics #localStatsTitle {margin:.55rem 0 .15rem}
#analytics #anScope {margin:.1rem 0 .65rem;font-size:.875rem;color:#4d6372}
#overview .hero h1 .wide-title {display:inline;font:inherit;color:inherit;letter-spacing:inherit;margin:0}
#overview .hero .mine-scene a span {font:inherit;color:inherit;letter-spacing:inherit;margin:0}
#overview .hero .mine-scene a .tool-full {display:inline}
#overview .hero .mine-scene a .tool-short {display:none}
@media screen {
  #equipment .detector-value {display:flex; flex-wrap:wrap; align-items:baseline; gap:.15em .85em}
  #equipment #pickDetector {margin:-.5rem 0; padding:.45rem .1rem; min-height:44px; font-size:.88rem; font-weight:600; color:#126480}
  #caseSearchTools {padding:0;margin:.32rem 0;border:0}
  #caseSearchTools>summary {cursor:pointer;color:#22536c;min-height:44px;align-content:center;font-size:.91rem;font-weight:600}
  #cases #casePages {border-top:1px solid #d8e1e7;margin-top:.65rem;padding-top:.5rem}
  #overview .gallery-entry {background:#edf4f8;border-color:#ccdde7}
  #overview .gallery-entry strong {color:#233f55}
}
@media screen and (min-width:701px) {
  #caseSearchTools[open]>summary {display:none}
}
@media screen {
  :is(#overview, #cases, #map, #analytics) {
    --field-text: #172e42;
    --field-subtle: #4d6372;
    --field-rule: #cedae1;
    --field-paper: #fff;
    --field-wash: #f3f6f8;
    --field-tint: #e8f2f6;
    --field-action: #126480;
    --field-radius: .65rem;
    --field-pad: clamp(1rem, 1.65vw, 1.55rem);
    color: var(--field-text);
    font-family: "Segoe UI", "Microsoft YaHei UI", "Noto Sans CJK SC", "Droid Sans Fallback", system-ui, sans-serif;
    line-height: 1.55;
  }
  :is(#cases, #map, #analytics) :is(.page, .an-heading) { margin-block: .2rem 1.35rem; }
  :is(#cases, #map, #analytics) :is(.page, .an-heading) h1 {
    color: var(--field-text); font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    line-height: 1.22; letter-spacing: -.025em; font-weight: 720;
  }
  :is(#cases, #map, #analytics) :is(.page, .an-heading) p {
    color: var(--field-subtle); margin-block: .4rem 0; line-height: 1.6;
  }
  :is(#cases, #map) .page::before { display: none; }
  :is(#cases, #map, #analytics) :is(input:not([type=checkbox]), select, textarea) {
    background: white; color: var(--field-text); border-color: #a9bbc7; border-radius: .38rem;
  }
  :is(#cases, #map, #analytics) :is(button, select, input, textarea, summary, a):focus-visible,
  #overview :is(.hero, .chart-card, #latest) :focus-visible {
    outline: 3px solid #007fa5; outline-offset: 2px;
  }
  #overview .hero { background: #172e42; border-radius: var(--field-radius); }
  #overview .hero h1 { font-weight: 720; line-height: 1.2; letter-spacing: -.025em; }
  #overview .hero #scopeTag { color: #c6e6ee; font-size: .8rem; letter-spacing: .06em; }
  #overview .hero p { color: #e6eff3; font-size: .97rem; margin-block: .55rem 1.1rem; }
  #overview .hero .bright { background: white; color: #164b61; border-color: white; }
  #overview .hero .ghost { background: #203e53; color: white; border-color: #7596aa; }
  #overview .hero .actions button { font-size: .94rem; padding-inline: 1.05rem; }
  #overview .hero .actions :focus-visible { outline-color: #b1edff; }
  #overview .hero .mine-scene::after {
    background: linear-gradient(90deg,#172e42 0%,rgb(23 46 66 / 88%) 12%,rgb(23 46 66 / 18%) 47%,transparent 72%);
  }
  #overview .hero .mine-scene a { background: #102332e6; color: white; }

  #overview #kpis {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0;
    border: 1px solid var(--field-rule); border-radius: var(--field-radius); overflow: hidden;
    background: white; margin-block: .95rem 1.05rem; padding: .9rem .25rem;
  }
  #overview #kpis .kpi {
    border: 0; border-inline-start: 1px solid var(--field-rule); border-radius: 0;
    padding: .15rem clamp(.66rem,2vw,1.75rem); background: transparent; min-width: 0;
  }
  #overview #kpis .kpi:first-child { border-inline-start: 0; }
  #overview #kpis span { font-size: .86rem; font-weight: 550; color: var(--field-subtle); }
  #overview #kpis strong {
    color: var(--field-text); font-size: clamp(1.65rem,2.45vw,2.25rem); font-weight: 680;
    margin-top: .16rem; line-height: 1.18; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  }
  #overview .dashboard-charts { gap: 1rem; }
  #overview .chart-card, #overview > article:has(#latest),
  #cases :is(#caseQueue,#detail), #map :is(#riskManual,#riskLookup),
  #analytics :is(.an-panel, .an-range, .mg-section) {
    box-shadow: none; border: 1px solid var(--field-rule); border-radius: var(--field-radius);
    background: var(--field-paper); padding: var(--field-pad);
  }
  #overview .chart-head h2, #overview > article:has(#latest) h2,
  #cases #caseQueueTitle, #analytics :is(.an-panel, .mg-section) h2 {
    font-size: clamp(1.045rem,1.55vw,1.24rem); font-weight: 690; letter-spacing: -.012em;
    line-height: 1.45; color: var(--field-text);
  }
  #overview .chart-head p, #overview .chart-foot { color: var(--field-subtle); }
  #overview .cue-column { fill: #15728a; }
  #overview .plot-grid { stroke: #dbe4ea; }
  #overview .plot-base { stroke: #a7bac6; }
  #overview .axis-label, #overview .bar-number { fill: var(--field-text); }
  #overview .axis-tick { fill: var(--field-subtle); }
  #overview .chart-total, #overview .cue-empty strong { color: var(--field-text); }
  #overview .cue-empty small, #overview .cue-empty-labels span { color: var(--field-subtle); }
  #overview .dashboard-charts .stage-card { color: white; background: #213b50; border-color: #213b50; }
  #overview .stage-card h2, #overview .stage-count, #overview .stage-center b { color: white; }
  #overview .stage-card :is(.chart-head p,.chart-foot,.stage-ratio,.stage-center small) { color: #cbdde8; }
  #overview .stage-card :is(.chart-foot,.stage-key) { border-color: #465f70; }
  #overview .stage-track { stroke: #658191; }
  #overview #latest .entry { color: var(--field-text); border-color: var(--field-rule); }
  #overview #latest .entry:hover { background: var(--field-wash); }

  #cases #caseLedger, #cases #caseCount, #cases .case-detail-heading small { color: var(--field-subtle); }
  #cases .work-scopes { border-color: var(--field-rule); background: var(--field-wash); }
  #cases .work-scopes button { border-color: var(--field-rule); color: var(--field-subtle); background: transparent; }
  #cases .work-scopes [aria-pressed=true] { background: var(--field-action); color: white; }
  #cases .case-filter-fields { margin-block: .85rem .2rem; }
  #cases .case-filter-fields label { color: var(--field-text); font-weight: 600; }
  #cases #caseList .entry { color: var(--field-text); border-bottom-color: var(--field-rule); padding-block: .74rem; }
  #cases #caseList .entry:hover { background: var(--field-wash); }
  #cases #caseList .entry.selected { background: var(--field-tint); border-inline-start-color: var(--field-action); }
  #cases #detail :is(.case-decision,.case-history,.case-tools) { border-color: var(--field-rule); }
  #cases #detail .context { background: var(--field-wash); color: var(--field-text); }
  #cases .case-shortcuts button, #cases .case-back { color: var(--field-action); }
  #cases .case-decision > button:not(.secondary),
  #analytics .mg-panel button:not(.secondary,.link,[aria-pressed]) {
    background: var(--field-action); color: white; border-color: var(--field-action);
  }
  #cases :is(.case-paging,.case-decision) .secondary, #analytics .secondary {
    color: #285267; background: white; border-color: #b0c2ce;
  }
  #cases .case-history li { border-inline-start-color: #9ab9c7; }
  #cases .case-empty { color: var(--field-subtle); }
  #cases .case-empty :is(h3,strong) { color: var(--field-text); }

  #map .risk-views { border-color: var(--field-rule); }
  #map .risk-views button { color: var(--field-subtle); }
  #map .risk-views [aria-pressed=true] { color: var(--field-action); border-bottom-color: var(--field-action); }
  #map .fr-panel {
    --fr-wire: #8ea7b4; background: white; color: var(--field-text);
    border-color: var(--field-rule); border-radius: var(--field-radius);
  }
  #map .fr-panel h3, #map .fr-node-check strong, #map .fr-inline-check strong { color: var(--field-text); }
  #map .fr-map-head { background: #eaf1f5; border-color: var(--field-rule); }
  #map .fr-map-head h4, #map .fr-map-head label { color: var(--field-text); }
  #map .fr-map-head :is(.fr-stage, small) { color: var(--field-subtle); }
  #map .fr-mindmap { background: #f7fafb; border-color: var(--field-rule); }
  #map .fr-map-node[data-layer=A] { --node-bg:#e2eef6; --node-edge:#84aabc; --node-ink:#234b64; }
  #map .fr-map-node[data-layer=P] { --node-bg:#e6ebf8; --node-edge:#a7b6d3; --node-ink:#394e73; }
  #map .fr-map-node[data-layer=S] { --node-bg:#e3f0ed; --node-edge:#8db7ae; --node-ink:#285a50; }
  #map .fr-map-node[data-layer=O] { --node-bg:#eee9f5; --node-edge:#b8a8cd; --node-ink:#574470; }
  #map .fr-inspection { background: #f1f5f8; border-color: var(--field-rule); }
  #map .fr-inspection :is(.fr-node-check, .fr-guidance) { background: transparent; border-color: var(--field-rule); }
  #map .fr-guidance :is(summary,dt), #map .fr-directory > summary { color: #244c63; }
  #map .fr-guidance dd, #map .fr-node-check p, #map .fr-inline-check p { color: #354d5e; line-height: 1.68; }
  #map .fr-inline-check, #map .fr-route { border-color: var(--field-rule); }
  #map .fr-body, #map .rt-frame, #map .rt-root-group { background: var(--field-wash); border-color: var(--field-rule); }
  #map .rt-tree { background: #eaf1f5; }
  #map .rt-root-group > summary, #map .fr-card-head strong { color: var(--field-text); }
  #map .rt-tree > .rt-disclosure > .rt-summary, #map #allRiskRoots[aria-pressed=true] {
    background: #234b63; color: white; border-color: #234b63;
  }
  #map .rt-tree > .rt-disclosure > .rt-summary .rt-code { color: #d4e6ef; }
  #map .rt-path.path { background: var(--field-tint); border-inline-start-color: #448099; }
  #map .rt-path :is(.rt-path-label,.rt-forward) { color: #395b70; }

  #analytics { --an-ink:var(--field-text); --an-muted:var(--field-subtle); --an-edge:var(--field-rule); }
  #analytics #analysisLedger { color: var(--field-action); font-weight: 650; font-size: .82rem; }
  #analytics #analyticsReport { background: var(--field-action); color: white; border-color: var(--field-action); }
  #analytics .mg-panel { --mg-deep:#213b50; --mg-muted:var(--field-subtle); --mg-rule:var(--field-rule); --mg-tint:var(--field-tint); }
  #analytics .mg-ledger { background: #213b50; border-color: #213b50; }
  #analytics :is(.mg-figure-note, .mg-ledger-footer) { color: #d3e4ed; }
  #analytics > h2 { color: var(--field-text); margin-block: 1.65rem .8rem; }
  #analytics .an-kpis > div { background: white; border-color: var(--field-rule); padding: .9rem 1rem; }
  #analytics .an-kpis strong { color: #234c65; font-weight: 670; }
  #analytics #anCaseHeaders, #analytics .an-case-status { background: var(--field-wash); color: #3c596c; }
  #analytics .an-case, #analytics .an-metric { color: var(--field-text); }
  #analytics #anStateList .an-metric { background: var(--field-wash); border-color: var(--field-rule); }
  #analytics :is(#anStateList,#anClassList) .an-metric[aria-pressed=true] {
    background: var(--field-tint); box-shadow: inset 3px 0 var(--field-action);
  }
  #analytics :is(#anCases .an-case,#anClassList .an-metric,#anStateList .an-metric):hover {
    background: var(--field-tint);
  }
}
@media screen and (min-width: 950px) and (forced-colors: none) {
  #map .fr-canvas {
    background-color: #f7fafb;
    background-image: radial-gradient(circle at 1px 1px, #bacbd559 .7px, transparent .9px);
    background-size: 1.15rem 1.15rem;
  }
}
@media screen and (max-width: 710px) {
  #overview .hero > div:first-child { padding: 1.18rem 1.05rem .98rem; }
  #overview .hero .mine-scene::after { background: linear-gradient(180deg,#172e4266,transparent 30%); }
  #overview #kpis { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
  #overview #kpis .kpi { padding: .65rem 1rem; }
  #overview #kpis .kpi:nth-child(odd) { border-inline-start: 0; }
  #overview #kpis .kpi:nth-child(n+3) { border-block-start: 1px solid var(--field-rule); }
  :is(#cases,#map,#analytics) :is(.page,.an-heading) { margin-block: .15rem 1rem; }
  #map #riskDiagram .fr-panel { padding-block: .5rem; }
  #analytics .an-heading { gap: .65rem; }
  #analytics .an-title { row-gap: .5rem; }
}
@media screen and (max-width:700px) {
  #overview .hero {display:block;position:relative;isolation:isolate;padding:0;min-height:auto}
  #overview .hero h1 .wide-title {display:none}
  #overview .hero .mine-scene {position:absolute;inset:0;width:100%;height:auto;z-index:-1}
  #overview .hero .mine-scene img {object-position:62% 57%}
  #overview .hero .mine-scene::after {background:linear-gradient(90deg,#102639f7 5%,#102639da 47%,#10263963 100%)}
  #overview .hero>div:first-child {z-index:auto;pointer-events:none;padding:1rem 1.05rem 2.15rem}
  #overview .hero .actions {gap:.35rem .7rem;pointer-events:auto;width:fit-content}
  #overview .hero h1 {font-size:clamp(1.45rem,5.8vw,1.9rem);margin:.2rem 0}
  #overview .hero p {margin:.25rem 0 .7rem}
  #overview .hero .actions button {flex:0 1 auto;width:auto;min-height:44px;padding:.38rem .72rem}
  #overview .hero .mine-scene figcaption {bottom:.16rem;right:.5rem}
  #overview .hero .mine-scene a {min-height:24px;background:#102639b8}
  #map #riskDiagram .fr-panel {padding:.8rem clamp(12px,3.5vw,16px);border:1px solid #d8e1e7}
  #cases #caseList {margin-top:.2rem}
}
@media screen and (max-width:410px) {
  :is(.top,.mine-scene) .tool-full {display:none}
  :is(.top,.mine-scene) .tool-short {display:inline}
  #overview .hero .mine-scene a .tool-full {display:none}
  #overview .hero .mine-scene a .tool-short {display:inline}
  .top .tools a {min-width:44px;justify-content:center}
}
@media screen {
  .fr-map-head label:has(.selected-full:not([hidden])) {grid-template-rows:auto minmax(44px,auto)}
  #map .fr-map-head label:has(.selected-full:not([hidden])) select {
    grid-area:2/1;align-self:stretch;height:100%;color:transparent;appearance:none;
  }
  #map .fr-map-head select option {color:#172e42;background:white}
  #map .fr-map-head .selected-full:not([hidden]) {
    grid-area:2/1;align-self:center;position:relative;pointer-events:none;margin:0;
    padding:.45rem 2rem .45rem .65rem;color:#233f55;font-size:.92rem;font-weight:550;line-height:1.45;
  }
  #map .fr-map-head .selected-full::after {
    content:"";position:absolute;right:.85rem;top:calc(50% - .25rem);width:.4rem;height:.4rem;
    border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);
  }
}
@media screen and (max-width:360px) {
  #overview .hero p {font-size:.88rem}
  #overview .hero #primary {background:#18394dbe;border-color:#9aafba}
  #map .fr-filters {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  #map .fr-filters label:last-child {grid-column:auto}
  #analytics .an-range label {flex:1 1 100%;width:100%}
  #analytics .an-range input[type=date] {width:100%;min-width:0;font-size:1rem}
}
@media screen and (forced-colors: active) {
  #overview .hero .actions button, #cases .work-scopes [aria-pressed=true],
  #map .risk-views [aria-pressed=true], #analytics .an-metric[aria-pressed=true] {
    border: 2px solid Highlight;
  }
  #overview .cue-column { fill: Highlight; }
  #overview :is(.axis-label,.bar-number,.axis-tick) { fill: CanvasText; }
  #overview :is(.plot-grid,.plot-base,.stage-track) { stroke: CanvasText; }
}

@media screen and (max-width:700px) {
  :root {
    --phone-gutter:clamp(8px,2.4vw,14px);
    --phone-inset:clamp(10px,2.9vw,16px);
    --phone-title:1.56rem; --phone-section:1.125rem;
    --phone-body:1rem; --phone-secondary:.875rem; --phone-caption:.8125rem;
  }
  body>main {padding-inline:var(--phone-gutter)}
  #overview,#cases,#map,#analytics {--field-pad:var(--phone-inset)}
  #overview article,#reports article,#capture :is(#chooseImage,#cameraPanel) {padding-inline:var(--phone-inset)}
  #overview .device-card {padding:0}
  #map #riskDiagram .fr-panel {padding-inline:var(--phone-inset)}
  #map .fr-map-head,#map .fr-guidance {padding-inline:var(--phone-inset)}
  .device-card .device-sections,.device-card>details>summary,.device-card #deadlineState {padding-inline:var(--phone-inset)}
  main :is(.page,.an-heading) h1,#cases .page h1,#map .page h1,#analytics .an-heading h1 {
    font-size:var(--phone-title);line-height:1.28;letter-spacing:0
  }
  #overview .hero h1 {font-size:1.65rem}
  #overview #kpis strong {font-size:1.8rem}
  #overview article h2,#cases #caseQueueTitle,#capture article h2,#map .fr-panel h3,#analytics .an-panel h2,#reports article h2 {
    font-size:var(--phone-section);line-height:1.42;letter-spacing:0
  }
  #cases #caseList .entry b,#cases .case-title-line h2 {font-size:1.06rem;font-weight:650;line-height:1.4}
  #cases #caseList .pill {font-size:var(--phone-secondary);font-weight:600;line-height:1.4}
  #cases #caseList .entry small,#cases .case-detail-heading small,#analytics .case-meta,#cameraTiming,#overview .chart-foot {
    font-size:var(--phone-caption);line-height:1.5;color:#4b6375
  }
  #overview .stage-card .chart-foot {color:#d8e5ee}
  #equipment dt,#capture .camera-feed figcaption span,#cases #caseCount,.device-card #deadlineState {font-size:var(--phone-secondary)}
  #equipment dd,#capture #candidateResults li,#map .fr-guidance dd {font-size:var(--phone-body);line-height:1.55}
  #overview .chart-head p,.page>p,#capture .camera-heading p,.offline-prepare p {font-size:var(--phone-secondary);line-height:1.55}
  #overview .hero .actions button,#capture .camera-command button,.offline-prepare #offline {font-size:var(--phone-body);min-height:44px}
  .device-card #equipment #pickDetector {margin:0;padding:.25rem .1rem}
  #equipment>div:has(.detector-value) {align-items:center;padding-block:.12rem}
  body>nav[aria-label="功能"] button {font-size:var(--phone-caption)}
}

#videoPanel {padding:clamp(12px,2vw,28px);scroll-margin-top:5rem;container-type:inline-size}
#videoPanel :is(.replay-input,.replay-settings,.replay-event-main,label,section,details) {min-width:0}
#videoPanel :is(p,strong,span,label) {overflow-wrap:anywhere}
.replay-heading {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.55rem 1.2rem}
.replay-heading :is(h2,h3,p) {margin:0}
.replay-heading p,#videoPanel .muted,#videoRule {color:#4b6375;font-size:.875rem;line-height:1.55}
.replay-heading a {font-size:.875rem}
.replay-layout {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(.9rem,2vw,1.65rem);align-items:start;margin-block:1rem}
#videoPanel :is(select,input,progress) {min-width:0;max-width:100%;width:100%}
#videoFile {color:#17394c;background:#f4f8fa;border:1px dashed #819daa;padding:.65rem;border-radius:8px}
#videoFile::file-selector-button {margin-right:.55rem;background:#e3eff4;color:#17394c;border:0;border-radius:5px;padding:.45rem .6rem;font:inherit;font-weight:600}
#videoPlayer {display:block;width:100%;max-width:100%;height:auto;max-height:26rem;background:#102331;border-radius:8px}
#videoPanel [hidden] {display:none!important}
#videoPanel .replay-settings {border:1px solid #cddde4;background:#f6f9fa;border-radius:10px;margin:0;padding:.75rem 1rem}
.replay-settings legend {font-weight:650;padding-inline:.25rem}
#videoPanel details {border-block-start:1px solid #cddde4;padding-block:.45rem}
#videoPanel summary {padding-block:.3rem;cursor:pointer}
#videoPanel p {margin:.4rem 0}
#videoPanel #videoStatus {font-size:.95rem;font-weight:600;color:#193f52}
#videoPanel #videoRecords {border-top:1px solid #cddde4;padding-top:1rem;scroll-margin-top:5rem}
#videoRecords .replay-heading label {max-width:100%;width:min(100%,23rem)}
.replay-event {border-top:1px solid #d5e1e7;display:flex;align-items:center;gap:.75rem;padding:.75rem 0}
.replay-event figure {width:clamp(76px,16%,125px);flex:none;margin:0}
.replay-event img {width:100%;height:auto;border-radius:6px}
.replay-event figcaption {font-size:.8125rem;color:#4b6375}
.replay-event-main {display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:.35rem .85rem}
.replay-event-main strong {font-size:1.06rem}
.replay-event-main :is(button,select) {min-height:44px}
#videoEvents .replay-event-main select {width:auto;max-width:100%}
#videoPages {align-items:center}
#capture .capture-links {flex-wrap:wrap}
.replay-file-line {display:flex;align-items:center;gap:.4rem .8rem;flex-wrap:wrap;margin-bottom:.65rem}
#videoPanel .replay-file-picker {position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:.45rem .85rem;border:1px solid #7895a4;border-radius:6px;background:#f3f8fa;color:#164b61;font-weight:650;cursor:pointer}
#videoPanel .replay-file-picker:focus-within {outline:2px solid #126681;outline-offset:2px}
#videoPanel #videoFile {position:absolute;inset:0;height:100%;width:100%;opacity:0;cursor:pointer}
.replay-control-line {display:flex;flex-wrap:wrap;align-items:end;gap:.4rem .85rem}
.replay-control-line label {flex:1 1 7rem;margin:0}
.replay-control-line .actions {margin:0;align-items:center}
#videoPanel #videoStatus:empty,.replay-feedback:empty {display:none}
#videoPanel .replay-control-line select {min-height:44px}
#videoPanel #videoCounts {display:flex;align-items:center;flex-wrap:wrap;gap:.45rem 1rem;margin:.7rem 0;color:#506474}
#videoPanel #videoCounts strong {font-size:1rem}
.replay-pending {color:#785016}.replay-confirmed {color:#17604f}
.replay-event.is-playing {box-shadow:inset 3px 0 #19718a;background:#f0f7f9;padding-inline:.5rem}
.replay-event .replay-zoom {padding:0;border:0;background:none;width:100%;min-height:44px;display:block}
.replay-event .replay-zoom img {display:block}
.replay-event figcaption {line-height:1.3;margin-top:.2rem}
.replay-decision {display:grid;gap:.15rem}
#videoPanel select[data-disposition="pending"] {background-color:#fcf2dc;color:#674613;border-color:#c9ac72}
#videoPanel select[data-disposition="confirmed"] {background-color:#e4f3ed;color:#165542;border-color:#8eb6a6}
#videoPanel select[data-disposition="uncertain"] {background-color:#edf1fa;color:#334b77}
.replay-feedback {font-size:.8125rem;color:#2c6057}
#videoRecordTools {margin-top:.6rem;padding-top:.4rem;border-top:1px solid #d5e1e7}
#videoPhotoDialog {width:min(60rem,96vw);max-height:92vh;max-height:92dvh;overflow:auto;border:0;border-radius:12px;padding:clamp(.8rem,2vw,1.4rem);color:#193447}
#videoPhotoDialog::backdrop {background:rgb(16 31 44 / .74)}
#videoPhotoDialog img {display:block;width:auto;height:auto;max-width:100%;max-height:65vh;margin:.8rem auto;object-fit:contain}
#videoPhotoDialog p {overflow-wrap:anywhere}
@container (min-width:38.01rem) {
  #videoPanel[data-source="empty"] .replay-layout {background:#f5f8fa;align-items:center;border:1px solid #d9e3e8;border-radius:9px;padding:.7rem 1rem;grid-template-columns:minmax(12rem,.85fr) minmax(16rem,1.15fr)}
  #videoPanel[data-source="empty"] .replay-settings {background:transparent;border:0;padding:0}
  #videoPanel[data-source="empty"] .replay-settings legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #videoPanel[data-source="empty"] #videoModelNote {font-size:.875rem}
  .replay-event-main {display:grid;grid-template-columns:minmax(4.5rem,.8fr) minmax(6rem,1fr) minmax(10rem,1.25fr) minmax(6.5rem,1fr)}
}
@container (max-width:38rem) {
  .replay-layout {grid-template-columns:minmax(0,1fr)}
  #videoPanel .replay-settings {padding:.6rem .75rem}
  .replay-event {align-items:flex-start}
  .replay-event-main {display:grid;grid-template-columns:minmax(0,1fr)}
  #videoEvents .replay-event-main :is(button,select) {width:100%;text-align:start;white-space:normal}
}
