:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202326; background: #f5f6f7; font-size: 14px; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1280px; margin: 0 auto; }
header { padding: 28px 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #d9dde0; }
header > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0; font-weight: 650; }
.subtitle { color: #747a80; font-size: 13px; }
.build-version { color: #397360; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
[data-app-version][data-verified=false] { color: #ad3d37; white-space: normal; overflow-wrap: anywhere; }
.shot-meta { display: grid; gap: 4px; text-align: right; flex-shrink: 0; }
.camera-version { display: none; }
.status { color: #397360; font-size: 12px; text-align: right; }
main { display: grid; grid-template-columns: minmax(0, 1fr) 292px; padding: 0 28px; }
.workspace { padding: 22px 24px 22px 0; min-width: 0; }
aside { border-left: 1px solid #d9dde0; padding: 16px 0 22px 24px; min-width: 0; }
.toolbar, .commands, .transport, .processing { display: flex; align-items: center; gap: 8px; }
.toolbar { justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
button, select { font: inherit; color: inherit; border: 1px solid #d9dde0; background: #fff; border-radius: 5px; height: 36px; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; padding: 0 10px; white-space: nowrap; flex-shrink: 0; }
button:hover:not(:disabled) { background: #edf2ef; border-color: #a2b7aa; }
button:disabled { opacity: .38; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #278061; outline-offset: 3px; }
button svg { width: 16px; height: 16px; }
button.icon { width: 36px; padding: 0; }
select { padding: 0 8px; max-width: 100%; }
.viewer { position: relative; --media-ratio: 1.777778; width: min(100%, calc(65svh * var(--media-ratio))); margin-inline: auto; aspect-ratio: var(--media-ratio); overflow: hidden; background: #16181a; }
.viewer video, .viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.viewer canvas { object-fit: contain; }
[hidden] { display: none !important; }
.source-label { position: absolute; top: 12px; left: 12px; font-size: 12px; color: #fff; background: #16181ad9; padding: 5px 8px; border-radius: 3px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-state { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: #fff; font-size: 14px; background: #16181a; padding: 16px; text-align: center; }
.collection { padding-bottom: 18px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.collection-heading h2 { font-size: 18px; }
#collection-progress { font-size: 12px; color: #397360; }
.product-label { display: flex; align-items: center; gap: 12px; font-size: 12px; }
input[type=text] { font: inherit; color: inherit; background: #fff; border: 1px solid #d9dde0; border-radius: 4px; height: 34px; padding: 0 10px; min-width: 0; width: 260px; max-width: 100%; }
.preparation { display: flex; gap: 8px 18px; flex-wrap: wrap; padding: 14px 0; }
.preparation label, .review-confirm { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.5; }
input[type=checkbox] { accent-color: #29785b; width: 16px; height: 16px; flex-shrink: 0; margin: 0; }
.shot-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shot-step { display: grid; grid-template-columns: 18px minmax(0, 1fr) 14px; gap: 6px; text-align: left; height: 50px; white-space: normal; padding: 6px 8px; font-size: 12px; line-height: 1.4; }
.shot-step svg { width: 14px; height: 14px; }
.shot-number { font-variant-numeric: tabular-nums; color: #747a80; }
.shot-step[aria-pressed=true] { border-color: #29785b; background: #edf4f0; }
.shot-brief { padding-top: 18px; }
.shot-brief h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.shot-brief p { margin: 6px 0; line-height: 1.5; }
#detail-reference { margin: 12px 0 0; }
#detail-reference img { display: block; width: 180px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#detail-reference figcaption { color: #747a80; font-size: 11px; margin-top: 4px; }
.framing-guide { position: absolute; pointer-events: none; inset: 20% 25%; border: 1px dashed #ffffffd9; }
.framing-guide[data-frame=wide] { inset: 15% 10%; }
.framing-guide[data-frame=detail] { inset: 27% 20%; }
.capture-cue { position: absolute; pointer-events: none; bottom: 12px; left: 12px; right: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px; text-align: center; color: #fff; background: #16181ad9; font-size: 14px; line-height: 1.4; }
.capture-cue svg { flex-shrink: 0; width: 20px; }
#shot-timing { display: block; width: 100%; height: 6px; accent-color: #29785b; }
.guided-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.guided-actions .status { margin-left: auto; }
#guided-record { color: #fff; background: #29785b; border-color: #29785b; }
#guided-record.recording { background: #ad3d37; border-color: #ad3d37; }
.shot-review { padding: 0 0 14px; border-bottom: 1px solid #d9dde0; }
.shot-review .section-heading { flex-wrap: wrap; }
#review-video { width: 100%; max-height: 400px; aspect-ratio: 16 / 9; object-fit: contain; background: #16181a; }
#review-warning { font-size: 12px; color: #747a80; line-height: 1.5; }
.review-confirm { align-items: flex-start; }
.review-confirm input { margin-top: 1px; }
.collection-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid #d9dde0; }
.collection-summary .status { text-align: left; }
.transport { margin: 10px 0; }
input[type=range] { accent-color: #29785b; min-width: 0; cursor: pointer; height: 28px; }
#seek { flex: 1; width: 100%; }
#time { font-variant-numeric: tabular-nums; font-size: 12px; white-space: nowrap; width: 94px; flex-shrink: 0; }
.processing { border-top: 1px solid #d9dde0; border-bottom: 1px solid #d9dde0; padding: 12px 0; flex-wrap: wrap; }
.segmented { display: flex; }
.segmented button { border-radius: 0; font-size: 12px; width: 64px; }
.segmented button:first-child { border-radius: 5px 0 0 5px; }
.segmented button:last-child { border-radius: 0 5px 5px 0; margin-left: -1px; }
.segmented [aria-pressed=true] { color: #fff; background: #263c32; border-color: #263c32; }
.exposure { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 12px; min-width: 190px; }
.exposure input { width: 100%; }
.exposure output { width: 52px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; margin-top: 8px; }
h2 { font-size: 14px; font-weight: 600; margin: 0; }
.section-heading button { background: transparent; border-color: transparent; }
.captures { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; min-height: 58px; }
.empty { color: #858b90; font-size: 12px; padding-top: 8px; }
.capture { min-width: 0; background: #fff; border: 1px solid #d9dde0; border-radius: 4px; overflow: hidden; }
.capture img, .capture video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #16181a; display: block; }
.capture a { display: flex; justify-content: space-between; gap: 8px; padding: 10px; font-size: 12px; color: #29785b; text-decoration: none; }
.capture a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capture a svg { width: 14px; height: 14px; flex-shrink: 0; }
.recording { position: relative; }
.recording .recording-media { position: relative; aspect-ratio: 16 / 9; background: #16181a; }
.recording-media img, .recording-media video { position: absolute; inset: 0; height: 100%; }
.recording-media .load-recording { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #ffffffed; }
.recording-details { padding: 8px 10px; font-size: 11px; color: #747a80; line-height: 1.5; overflow-wrap: anywhere; }
.recording-actions { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 8px; gap: 4px; }
.recording-actions span { min-width: 0; flex: 1; font-size: 12px; overflow-wrap: anywhere; }
.recording-actions button { background: transparent; border-color: transparent; }
#record.recording { position: static; }
.capabilities { margin: 0; font-size: 12px; }
.capabilities > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e5e7; }
dt { color: #777d82; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; line-height: 1.4; }
.compact > div { padding: 8px 0; }
.status-line { font-size: 12px; color: #777d82; margin: 0 0 12px; }
.readings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d9dde0; border-bottom: 1px solid #d9dde0; }
.readings > div { padding: 12px 8px; min-width: 0; border-right: 1px solid #d9dde0; }
.readings > div:last-child { border: 0; }
.readings span { font-size: 11px; color: #777d82; display: block; margin-bottom: 6px; }
.readings output { font-size: 16px; font-variant-numeric: tabular-nums; }
#activity { padding: 0; list-style: none; margin: 0; font-size: 12px; max-height: 188px; overflow: auto; }
#activity li { padding: 8px 0; line-height: 1.5; border-bottom: 1px solid #e2e5e7; overflow-wrap: anywhere; }
#activity time { color: #858b90; margin-right: 8px; font-variant-numeric: tabular-nums; }
#activity .error { color: #a4443c; }
footer { padding: 16px 28px 24px; border-top: 1px solid #d9dde0; display: flex; justify-content: space-between; gap: 16px; color: #777d82; font-size: 12px; }
footer span { overflow-wrap: anywhere; }
#record.recording { color: #ba413b; background: #fff0ee; border-color: #dfb4ad; }
@media (max-width: 760px) {
  header { padding: 20px 16px; align-items: flex-start; }
  header > div { display: block; }
  .subtitle { display: block; margin-top: 6px; }
  main { display: block; padding: 0 16px; }
  .workspace { padding: 18px 0; }
  aside { border-left: 0; border-top: 1px solid #d9dde0; padding: 10px 0 20px; }
  .capabilities > div { grid-template-columns: 100px minmax(0, 1fr); }
  .shot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exposure { flex-basis: calc(100% - 88px); order: 2; }
  .processing > button { margin-left: auto; }
  .processing > button + button { margin-left: 0; }
  footer { padding: 16px; }
}
@media (max-width: 360px) { .toolbar select { width: 100%; } .transport { gap: 4px; } }

header, main, footer { max-width: 1080px; }
header { padding-block: 16px; }
main { display: block; }
.workspace { padding: 12px 0 20px; }
.header-tools { display: flex; gap: 5px; }
.header-tools button { background: transparent; border-color: transparent; }
.current-shot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; min-height: 40px; }
.shot-brief { padding: 0; display: flex; align-items: baseline; gap: 12px; }
.shot-brief h3 { font-size: 15px; }
#shot-duration { margin: 0; white-space: nowrap; }
#collection-progress { white-space: nowrap; font-variant-numeric: tabular-nums; }
.toolbar { margin-bottom: 8px; }
.viewer { --media-ratio: 1.333333; width: min(100%, calc((100svh - 335px) * var(--media-ratio))); touch-action: manipulation; }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#orientation-canvas { pointer-events: none; z-index: 1; }
.source-label, .tracking-status { top: 10px; padding: 5px 7px; font-size: 11px; max-width: 44%; z-index: 2; border-radius: 3px; background: #101719ce; color: #fff; }
.source-label { left: 10px; }
.tracking-status { position: absolute; right: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer[data-centered=true] .tracking-status { color: #b8f093; }
#center-guide { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; z-index: 2; color: #fff; }
#center-guide span { position: absolute; inset: 0; border: 1px solid #ffffffab; border-radius: 50%; }
#center-guide svg { width: 12px; height: 12px; filter: drop-shadow(0 1px 2px #111); }
.viewer[data-centered=true] #center-guide { color: #b8f093; }
.viewer[data-centered=true] #center-guide span { border-color: #b8f093; }
#subject-box { position: absolute; border: 1px solid #f9c76c; transform: translate(-50%, -50%); color: #f9c76c; pointer-events: none; z-index: 2; }
#subject-box-label { position: absolute; top: 100%; left: 0; font-size: 10px; padding-top: 4px; text-shadow: 0 1px 3px #111; white-space: nowrap; }
.viewer[data-centered=true] #subject-box { border-color: #b8f093; color: #b8f093; }
#centering-line { position: absolute; left: 50%; top: 50%; height: 1px; background: #f9c76c; transform-origin: left; pointer-events: none; opacity: .8; z-index: 1; }
#correction-arrow { position: absolute; left: 50%; top: 66%; color: #f9c76c; transform: translate(-50%, -50%) rotate(var(--correction, 0deg)); pointer-events: none; z-index: 2; }
#correction-arrow svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 3px #111); }
#horizon-line { position: absolute; left: 50%; top: 50%; width: 72%; height: 1px; transform: translate(-50%, -50%) rotate(var(--roll, 0deg)); background: #ffffff82; pointer-events: none; z-index: 1; }
#horizon-line::before, #horizon-line::after { content: ''; position: absolute; top: -4px; width: 1px; height: 9px; background: #fff; }
#horizon-line::before { left: 0; } #horizon-line::after { right: 0; }
#horizon-line span { position: absolute; inset: -1px calc(50% - 24px); background: #ffffffbf; }
#angle-goal { position: absolute; width: 28px; height: 28px; border: 1px dashed #77deee; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; color: #77deee; }
#angle-goal-label { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; text-shadow: 0 1px 3px #111; white-space: nowrap; }
#orientation-hud { display: none; }
.viewer-tools { position: absolute; bottom: 10px; right: 10px; display: flex; gap: 6px; z-index: 3; }
.viewer-tools button { color: #fff; background: #101719ce; border-color: #ffffff42; }
.capture-cue { left: 10px; right: 96px; bottom: 10px; padding: 6px 8px; font-size: 12px; z-index: 2; }
.framing-guide { display: none !important; }
.live-telemetry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; min-height: 65px; border-bottom: 1px solid #d9dde0; }
.live-telemetry > div { padding: 2px 8px 10px; border-right: 1px solid #d9dde0; min-width: 0; }
.live-telemetry > div:first-child { padding-left: 0; } .live-telemetry > div:last-child { border-right: 0; }
.live-telemetry span { display: block; font-size: 11px; color: #777d82; margin-bottom: 5px; }
.live-telemetry output { display: block; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-telemetry small { display: block; font-size: 10px; color: #777d82; margin-top: 3px; overflow-wrap: anywhere; }
.director-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 0; }
#director-cue { font-size: 13px; color: #245e4b; font-weight: 550; line-height: 1.4; }
#gesture-reading { font-size: 11px; color: #777d82; text-align: right; }
.capture-actions { margin: 0; padding: 4px 0 10px; }
.capture-actions button { font-size: 12px; padding-inline: 8px; }
#guided-state { font-size: 11px; height: 30px; padding: 0 8px; }
.orientation-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 10px; }
#spatial-calibrate { height: 32px; font-size: 12px; }
#spatial-sensors { height: 32px; width: 32px; }
#spatial-sensor-state { font-size: 11px; color: #747a80; flex: 1; min-width: 120px; line-height: 1.4; }
details { border-top: 1px solid #d9dde0; padding: 0 0 2px; }
summary { cursor: pointer; padding: 12px 0; font-size: 12px; color: #556269; }
.collection { padding: 0; }
#shot-instruction { font-size: 12px; line-height: 1.5; }
.capture-settings { padding-bottom: 4px; }
.shot-controls, .spatial-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; align-items: start; }
.shot-controls label, .spatial-settings label { display: grid; gap: 6px; font-size: 11px; color: #556269; min-width: 0; }
.shot-controls select, .shot-controls input, .spatial-settings input { width: 100%; }
input[type=number] { height: 36px; border: 1px solid #d9dde0; border-radius: 4px; font: inherit; padding: 0 8px; color: #202326; background: #fff; min-width: 0; }
#arc-value { font-size: 10px; }
.move-brief { padding: 0 0 10px; }
#move-instruction { margin: 0 0 8px; font-size: 12px; line-height: 1.5; }
.move-facts { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 11px; color: #747a80; }
.move-facts strong { color: #202326; }
#move-settings { margin-top: 12px; }
.spatial-settings { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; align-items: end; }
#distance-note { line-height: 1.4; }
.collection-heading { margin-top: 5px; }
.diagnostics aside { border: 0; padding: 0 0 12px; }
.diagnostics summary { display: flex; justify-content: space-between; gap: 12px; }
.capture-working #capture-settings, .capture-working #collection-controls, .capture-working #media-tools, .capture-working #library { display: none !important; }
.capture-working #camera-toolbar #import, .capture-working #camera-toolbar #reference, .capture-working #camera-toolbar #camera, .capture-working #camera-toolbar #flip { display: none; }
.capture-working .capture-actions { position: sticky; bottom: 0; background: #f5f6f7; z-index: 4; }
@media (max-width: 760px) {
  header { padding: 12px 16px; }
  header > div:first-child { display: flex; align-items: baseline; gap: 8px; }
  h1 { font-size: 22px; } .subtitle { margin: 0; font-size: 11px; }
  .header-tools { gap: 0; } .header-tools button { width: 30px; }
  .workspace { padding-top: 8px; }
  .current-shot { min-height: 36px; gap: 8px; }
  .shot-brief { gap: 6px; flex-wrap: wrap; }
  .shot-brief h3 { font-size: 13px; }
  #collection-progress { font-size: 11px; }
  .viewer { width: min(100%, calc((100svh - 370px) * var(--media-ratio))); }
  .live-telemetry output { font-size: 14px; }
  .orientation-tools { gap: 6px; }
}
@media (max-width: 360px) {
  .subtitle { display: none; }
  .shot-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-controls label:last-child { grid-column: 1 / -1; }
}
@media (max-height: 500px) and (min-width: 600px) {
  header { padding-block: 10px; }
  .workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr); column-gap: 16px; }
  .workspace > * { grid-column: 1 / -1; }
  .current-shot { grid-row: 1; margin-bottom: 6px; }
  #camera-toolbar { grid-column: 2; grid-row: 2; margin: 0; }
  #camera-surface { grid-column: 1; grid-row: 2 / 7; align-self: center; width: min(100%, calc((100svh - 140px) * var(--media-ratio))); }
  .live-telemetry { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .live-telemetry > div { padding-inline: 4px; }
  .live-telemetry output { font-size: 12px; }
  .director-strip { grid-column: 2; grid-row: 4; gap: 6px; }
  .capture-actions { grid-column: 2; grid-row: 5; gap: 6px; }
  #rehearse { width: 36px; padding: 0; font-size: 0; }
  #guided-state { margin-left: 0; flex: 1; min-width: 0; white-space: normal; line-height: 1.2; }
  .orientation-tools { grid-column: 2; grid-row: 6; }
  #spatial-calibrate { width: 32px; padding: 0; font-size: 0; }
  #spatial-sensor-state { min-width: 0; }
  #shot-timing { grid-column: 1; grid-row: 7; }
}

/* Keep the camera DOM alive while navigating collections and take review. */
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body[data-view=details] { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
footer { display: none; }
#app-notice { max-width: 1024px; margin: 12px auto; padding: 12px 16px; color: #9b433d; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
header { padding-top: max(16px, env(safe-area-inset-top)); }
button, input, select { touch-action: manipulation; }
input, select { font-size: 16px; }
.task-queue { padding: 28px 0; min-height: 55vh; }
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.queue-heading h2 { font-size: 22px; }
.queue-heading p { color: #747a80; font-size: 12px; margin: 8px 0; }
#import-status { font-size: 12px; line-height: 1.5; color: #9b433d; overflow-wrap: anywhere; }
#import-status:empty { display: none; }
.queue-filters { display: flex; gap: 12px; margin: 24px 0 14px; }
.queue-filters label { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.queue-filters svg { width: 18px; color: #747a80; flex-shrink: 0; }
.queue-filters input { border: 0; border-bottom: 1px solid #d9dde0; height: 40px; background: transparent; width: 100%; min-width: 0; font: inherit; border-radius: 0; }
.task-list { border-top: 1px solid #d9dde0; }
.collection-row { width: 100%; display: grid; grid-template-columns: 68px minmax(0, 1fr) 48px; gap: 16px;
  height: auto; min-height: 116px; padding: 18px 0; border: 0; border-bottom: 1px solid #d9dde0; border-radius: 0; background: transparent; text-align: left; white-space: normal; }
.collection-row img, .plan-mark { width: 68px; height: 76px; object-fit: cover; border-radius: 4px; }
.plan-mark { display: grid; place-items: center; background: #e7eeec; color: #386f62; }
.plan-mark svg { width: 28px; height: 28px; }
.collection-copy { display: grid; gap: 9px; min-width: 0; }
.collection-copy strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.collection-copy > span { color: #747a80; font-size: 12px; line-height: 1.5; }
.collection-copy progress { height: 4px; width: 100%; max-width: 240px; accent-color: #29785b; }
.collection-count { font-size: 14px; color: #29785b; text-align: right; font-variant-numeric: tabular-nums; }
.app-nav { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px max(16px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)); background: #f5f6f7;
  border-top: 1px solid #d9dde0; z-index: 8; }
.app-nav button { height: 48px; display: grid; justify-items: center; gap: 5px; border: 0; background: transparent; font-size: 11px; color: #747a80; }
.app-nav svg { width: 21px; height: 21px; }
body[data-view=tasks] #show-tasks, body[data-view=details] #show-collection { color: #29785b; }
body[data-view=tasks] .workspace, body[data-view=tasks] .diagnostics, body[data-view=tasks] .header-tools,
body:not([data-view=tasks]) .task-queue { display: none; }
.collection-overview { padding: 12px 0 20px; border-bottom: 1px solid #d9dde0; margin-bottom: 18px; }
.collection-overview h2 { font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.collection-overview p { font-size: 13px; line-height: 1.6; margin: 10px 0; }
#collection-format { font-size: 11px; color: #747a80; }
.segment-details { border-top: 1px solid #d9dde0; margin-top: 16px; }
.segment-details h3 { font-size: 14px; font-weight: 600; margin: 20px 0 10px; }
.segment-details li { font-size: 13px; line-height: 1.6; margin-bottom: 8px; overflow-wrap: anywhere; }
.segment-details ol, .segment-details ul { padding-left: 22px; }
.segment-details dl { margin: 20px 0; border-block: 1px solid #d9dde0; }
.segment-details dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.segment-details dd { text-align: left; font-size: 12px; }
.segment-details dt { font-size: 12px; }
.segment-budget { color: #386f62; font-size: 12px; line-height: 1.5; }
.segment-commands { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
body[data-view=details] .segment-commands { position: fixed; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right));
  bottom: calc(66px + env(safe-area-inset-bottom)); padding: 12px 0; justify-content: center; background: #f5f6f7; z-index: 7; }
#open-capture { background: #29785b; color: white; border-color: #29785b; height: 44px; }
.plan-approval { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; padding: 12px 0 20px; }
.plan-approval input { margin-top: 2px; }
#exit-capture { display: none; }
body[data-view=details] #camera-toolbar, body[data-view=details] #camera-surface,
body[data-view=details] .live-telemetry, body[data-view=details] .director-strip,
body[data-view=details] .capture-actions, body[data-view=details] .orientation-tools { display: none; }
body[data-view=details] .current-shot { padding-block: 8px; }
.shot-step { min-height: 56px; height: auto; overflow-wrap: anywhere; }

body[data-view=capture] { background: #080a09; color: white; padding: 0; overflow: hidden; }
body[data-view=capture] header, body[data-view=capture] footer, body[data-view=capture] .app-nav,
body[data-view=capture] .diagnostics { display: none; }
body[data-view=capture] #app-notice { position: fixed; top: calc(80px + env(safe-area-inset-top)); left: 16px; right: 16px;
  background: #080a09e8; color: #ffb7aa; z-index: 20; margin: 0; }
body[data-view=capture] main { margin: 0; padding: 0; max-width: none; }
body[data-view=capture] .workspace { position: fixed; inset: 0; width: 100%; height: 100dvh; display: block; padding: 0; background: #080a09; z-index: 10; }
body[data-view=capture] .workspace > * { display: none; }
body[data-view=capture] .workspace > #camera-surface { display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(100vw, calc(100dvh * var(--media-ratio))); height: auto; aspect-ratio: var(--media-ratio); margin: 0; }
body[data-view=capture] .workspace > .current-shot { display: flex; position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: calc(12px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
  background: #080a09c9; margin: 0; min-height: 64px; }
body[data-view=capture] #exit-capture { display: inline-flex; color: white; background: transparent; border: 0; flex-shrink: 0; }
body[data-view=capture] .shot-brief { flex: 1; min-width: 0; }
body[data-view=capture] .shot-brief h3 { font-size: 14px; overflow-wrap: anywhere; }
body[data-view=capture] #collection-progress, body[data-view=capture] #shot-duration { color: #ffffffb0; }
body[data-view=capture] .camera-version { display: block; color: #ffffffa6; font-size: 9px; white-space: nowrap; }
body[data-view=capture] .source-label, body[data-view=capture] .tracking-status { top: 78px; }
body[data-view=capture] .workspace > .live-telemetry { display: grid; position: absolute; bottom: calc(192px + env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); margin: 0; padding: 8px 0;
  background: #080a09c9; border: 0; border-radius: 4px; min-height: 66px; }
body[data-view=capture] .live-telemetry > div { padding: 0 8px; border-color: #ffffff25; }
body[data-view=capture] .live-telemetry span, body[data-view=capture] .live-telemetry small { color: #ffffffa6; }
body[data-view=capture] .live-telemetry output { font-size: 15px; }
body[data-view=capture] .workspace > .director-strip { display: flex; position: absolute; bottom: calc(144px + env(safe-area-inset-bottom));
  left: 16px; right: 16px; background: #080a09c9; padding: 10px; border-radius: 4px; }
body[data-view=capture] #director-cue { color: #b8f093; font-size: 14px; }
body[data-view=capture] #gesture-reading { color: #ffffffa6; }
body[data-view=capture] .workspace > .capture-actions { display: flex; justify-content: center; position: absolute;
  bottom: calc(32px + env(safe-area-inset-bottom)); left: 16px; right: 16px; margin: 0; padding: 0; background: transparent; gap: 24px; z-index: 6; }
body[data-view=capture] #guided-record { width: 72px; height: 72px; border-radius: 50%; border: 4px solid white; background: #f5f6f7; padding: 0; }
body[data-view=capture] #guided-record svg { width: 54px; height: 54px; fill: #df473f; stroke: #df473f; }
body[data-view=capture] #guided-record.recording svg { width: 30px; height: 30px; }
body[data-view=capture] #guided-record span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body[data-view=capture] #rehearse { width: 44px; height: 44px; border-radius: 50%; background: #080a09c9; color: white; border: 1px solid #ffffff50; font-size: 0; padding: 0; }
body[data-view=capture] #rehearse svg { width: 20px; height: 20px; }
body[data-view=capture] #guided-state { position: absolute; bottom: -25px; left: 0; right: 0; height: 20px; margin: 0;
  background: transparent; border: 0; color: #ffffffb0; font-size: 11px; pointer-events: none; }
body[data-view=capture] .workspace > .orientation-tools { display: flex; position: absolute; right: 20px; top: calc(90px + env(safe-area-inset-top)); z-index: 6; padding: 0; }
body[data-view=capture] .orientation-tools button { color: white; background: #080a09c9; border-color: #ffffff50; }
body[data-view=capture] #spatial-calibrate, body[data-view=capture] #spatial-sensor-state { display: none; }
body[data-view=capture] .workspace > #shot-timing { display: block; position: absolute; top: calc(65px + env(safe-area-inset-top)); left: 0; margin: 0; z-index: 6; height: 3px; }
body[data-view=capture] .capture-cue { bottom: auto; top: 120px; left: 20px; right: 20px; font-size: 16px; background: #080a09c9; }
body[data-view=capture] .viewer-tools { bottom: 285px; }
body[data-view=review] .workspace > * { display: none; }
body[data-view=review] .workspace > .current-shot, body[data-view=review] .workspace > .shot-review { display: block; }
body[data-view=review] .diagnostics, body[data-view=review] .header-tools, body[data-view=review] .app-nav { display: none; }
body[data-view=review] #review-video { display: block; max-height: 55dvh; aspect-ratio: auto; min-height: 220px; margin-top: 16px; }
body[data-view=review] .shot-review { border: 0; }
body[data-view=review] { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
body[data-view=review] .guided-actions { position: fixed; bottom: 0; left: 0; right: 0; justify-content: center;
  margin: 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: #f5f6f7; border-top: 1px solid #d9dde0; z-index: 8; }
body[data-view=review] .guided-actions button { height: 44px; }
body[data-view=review] #review-play { width: 44px; padding: 0; font-size: 0; }
#keep-take { background: #29785b; color: white; border-color: #29785b; }
@media (max-width: 760px) {
  .task-queue { padding-top: 20px; }
  .collection-row { grid-template-columns: 54px minmax(0, 1fr) 38px; gap: 12px; }
  .collection-row img, .plan-mark { width: 54px; height: 64px; }
  .collection-copy strong { font-size: 14px; }
  .queue-heading h2, .collection-overview h2 { font-size: 20px; }
  .queue-heading { gap: 10px; }
  #import-plan { font-size: 12px; }
  .segment-details dl > div { grid-template-columns: 90px minmax(0, 1fr); }
}
@media (max-height: 500px) and (orientation: landscape) {
  body[data-view=capture] .workspace > .live-telemetry { left: auto; right: 16px; width: 220px; bottom: 150px; min-height: 54px; }
  body[data-view=capture] .workspace > .director-strip { left: auto; right: 16px; width: 220px; bottom: 102px; }
  body[data-view=capture] .workspace > .capture-actions { left: auto; right: 16px; width: 220px; bottom: max(16px, env(safe-area-inset-bottom)); }
  body[data-view=capture] .live-telemetry output { font-size: 12px; }
  body[data-view=capture] .live-telemetry small { font-size: 9px; }
  body[data-view=capture] .workspace > .orientation-tools { top: auto; bottom: 30px; left: 16px; right: auto; }
  body[data-view=capture] #guided-state { display: none; }
  body[data-view=capture] .viewer-tools { bottom: 12px; }
}

/* Filming flow: task, shot preview, preparation, camera, review. */
:root { background: #f7f8f5; color: #203b30; }
header, main { max-width: 760px; }
header { border: 0; padding: max(20px, env(safe-area-inset-top)) 20px 14px; }
header > div:first-child { display: grid; grid-template-columns: 1fr auto; width: 100%; gap: 4px 12px; align-items: center; }
header h1 { font-size: 20px; letter-spacing: -.5px; }
header .subtitle { grid-row: 2; font-size: 11px; color: #6e8177; }
header .build-version { grid-column: 2; grid-row: 1 / 3; font-size: 10px; color: #718579; }
.header-tools { display: none !important; }
main { padding: 0 20px; }
button { min-height: 44px; border-radius: 12px; font-weight: 550; }
summary { min-height: 44px; padding-block: 12px; cursor: pointer; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #607e6b; }
.task-queue { padding: 22px 0; }
.queue-heading { display: block; }
.queue-heading h2 { font-size: clamp(25px, 6.6vw, 34px); line-height: 1.15; letter-spacing: -.8px; max-width: 360px; }
.queue-heading p:not(.eyebrow) { max-width: 380px; font-size: 15px; line-height: 1.55; color: #60736a; margin: 12px 0 22px; }
.queue-heading .eyebrow { margin: 0 0 12px; }
.welcome-steps { display: flex; gap: 12px; padding: 0; margin: 0 0 30px; list-style: none; }
.welcome-steps li { flex: 1; min-width: 0; font-size: 11px; line-height: 1.45; color: #486557; }
.welcome-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e6eee6; color: #2d6b4e; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.queue-count { font-size: 12px; color: #6a8072; margin: 0 0 12px; }
.task-list { border: 0; display: grid; gap: 14px; }
.collection-row { position: relative; grid-template-columns: minmax(0, 1fr) 76px; padding: 20px; border: 1px solid #dee8dd; border-radius: 20px; background: white; gap: 12px; box-shadow: 0 6px 22px #203b3005; }
.collection-row img, .collection-row .plan-mark { grid-column: 2; grid-row: 1; align-self: start; width: 76px; height: 86px; border-radius: 13px; }
.collection-copy { grid-column: 1; grid-row: 1; gap: 8px; }
.task-kind { color: #687f6c; font-size: 9px; letter-spacing: 1px; font-weight: 700; }
.collection-copy strong { font-size: 19px; line-height: 1.25; font-weight: 650; letter-spacing: -.3px; }
.collection-copy > .task-brief { font-size: 13px; line-height: 1.5; color: #586d5f; }
.collection-copy > span { font-weight: 400; }
.collection-copy > .task-cta { color: #216246; font-size: 14px; font-weight: 650; padding-top: 6px; }
.collection-copy progress { height: 4px; max-width: none; }
.collection-count { position: absolute; right: 20px; bottom: 22px; font-size: 12px; }
.task-import { margin-top: 20px; font-size: 12px; color: #637b6b; }
.task-import summary { font-size: 12px; }
.task-import p { line-height: 1.5; }
.local-note { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; font-size: 11px; color: #7b8d80; }
.local-note svg { width: 14px; height: 14px; }
.queue-filters { margin: 12px 0; }
.app-nav { background: #f7f8f5f5; backdrop-filter: blur(16px); border-color: #e2e8de; }
.app-nav button { min-width: 0; }
.text-button { background: transparent; border: 0; padding: 0; color: #54705d; font-size: 12px; }
.collection-overview { padding: 0 0 18px; margin: 0; border: 0; }
.collection-overview { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 8px; }
.collection-overview #back-to-tasks { font-size: 0; min-height: 36px; justify-content: start; }
.collection-overview h2 { align-self: center; }
.collection-overview p { grid-column: 1 / -1; }
.collection-overview h2 { margin: 4px 0; font-size: 21px; letter-spacing: -.4px; }
.collection-overview p { margin: 6px 0 0; color: #667a6b; font-size: 13px; }
#collection-format { display: none; }
body[data-view=details] .workspace { display: block; padding: 0 0 18px; }
body[data-view=details] .current-shot, body[data-view=details] #capture-settings,
body[data-view=details] #media-tools, body[data-view=details] #detail-reference,
body[data-view=details] .diagnostics { display: none; }
#collection-controls { margin: 0; padding: 0; border: 0; }
#collection-controls > summary { display: none; }
.shot-list-heading { display: flex; justify-content: space-between; color: #6c806f; font-size: 11px; margin-bottom: 10px; }
.shot-list { display: flex; gap: 8px; margin: 0 -20px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: thin; }
.shot-step { flex: 0 0 112px; width: 112px; height: 60px; min-height: 60px; display: grid; grid-template-columns: 18px 1fr 14px; align-content: center; gap: 5px; padding: 8px 10px; border-color: #dfe6dc; border-radius: 12px; background: transparent; font-size: 11px; line-height: 1.3; text-align: left; white-space: normal; }
.shot-step > span:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
.shot-step svg { grid-column: 3; width: 12px; height: 12px; }
.shot-step[aria-pressed=true] { background: #e8f0e6; border-color: #679777; color: #254e37; }
.segment-details { margin: 8px 0 0; border: 0; padding: 18px; border-radius: 20px; background: white; box-shadow: 0 0 0 1px #e2e9df; }
.shot-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.duration-pill { color: #4a7155; background: #edf3e9; padding: 5px 9px; border-radius: 20px; font-size: 11px; }
#detail-shot-title { font-size: 22px; line-height: 1.2; letter-spacing: -.5px; }
#shot-instruction { font-size: 14px; color: #5c7062; line-height: 1.5; margin: 10px 0 16px; }
.shot-demo { margin: 0; border-radius: 13px; background: #f2f5ed; overflow: hidden; }
.demo-labels { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px 0; font-size: 10px; color: #647d68; }
#demo-angle { color: #376746; font-weight: 650; }
#shot-diagram { width: 100%; height: 146px; display: block; }
#shot-diagram text { font-family: inherit; font-size: 10px; fill: #627d66; }
.shot-demo figcaption { display: flex; align-items: center; gap: 10px; border-top: 1px solid #e1e8d9; padding: 10px 12px; }
#demo-cue { flex: 1; font-size: 11px; line-height: 1.45; color: #55705b; }
#preview-move { min-height: 40px; height: auto; max-width: 110px; padding: 8px 10px; font-size: 11px; white-space: normal; border-color: #ccdac9; background: #ffffff9e; }
.segment-details h3 { font-size: 13px; margin-top: 20px; }
.segment-details li { color: #526a59; font-size: 13px; line-height: 1.55; }
.extra-shot-info { border-top: 1px solid #e6ece2; margin-top: 16px; color: #69816e; font-size: 12px; }
.segment-commands { position: fixed; left: 0; right: 0; bottom: calc(65px + env(safe-area-inset-bottom)); padding: 10px 20px 12px; background: #f7f8f5f5; backdrop-filter: blur(16px); border-top: 1px solid #e5ebdf; display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; z-index: 7; }
#start-shot-hint { flex-basis: 100%; text-align: center; font-size: 10px; color: #718773; }
#start-shot { background: #285f43; color: white; border: 0; min-height: 48px; flex: 1; max-width: 520px; font-size: 15px; }
#review-saved { font-size: 11px; }
#review-saved:disabled { display: none; }
.collection-summary { border: 0; padding: 18px 2px; }
.collection-summary .status { font-size: 11px; }
#export-collection { font-size: 11px; }
#export-collection:disabled { display: none; }
#library { margin-top: 16px; }
body[data-view=details] { padding-bottom: calc(175px + env(safe-area-inset-bottom)); }
#prepare-dialog { border: 0; border-radius: 24px; padding: 26px; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 28px); background: #fafbf7; color: #284332; box-shadow: 0 24px 80px #10231840; }
#prepare-dialog::backdrop { background: #0c261c80; backdrop-filter: blur(4px); }
#close-preparation { position: absolute; right: 14px; top: 14px; border: 0; background: transparent; }
#prepare-dialog h2 { font-size: 27px; letter-spacing: -.6px; margin: 8px 0; }
#prepare-dialog > p:not(.eyebrow) { font-size: 13px; color: #6b7f6c; line-height: 1.5; }
#prepare-dialog .product-label { display: grid; gap: 7px; margin: 22px 0 14px; font-size: 12px; color: #607860; }
#prepare-dialog .product-label input { width: 100%; height: 44px; border: 1px solid #d4dfce; border-radius: 10px; padding: 0 12px; font-size: 16px; }
#prepare-dialog .preparation { display: grid; gap: 0; padding: 0; }
#prepare-dialog .preparation label { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e4eadf; font-size: 14px; }
#prepare-dialog input[type=checkbox] { width: 21px; height: 21px; flex-shrink: 0; accent-color: #347052; margin: 1px 0; }
#prepare-dialog .preparation strong { display: block; font-weight: 550; }
#prepare-dialog .preparation small { display: block; color: #7b8b78; font-size: 11px; line-height: 1.5; margin-top: 4px; }
#prepare-dialog .plan-approval { font-size: 12px; padding: 16px 0 0; }
#prepare-dialog #open-capture { width: 100%; min-height: 48px; border-radius: 12px; background: #285f43; }
#prepare-dialog .permission-note { text-align: center; font-size: 10px !important; margin-bottom: 0; }
#preparation-hint { min-height: 20px; font-size: 11px !important; }
body[data-view=capture] .source-label, body[data-view=capture] .tracking-status { display: none; }
body[data-view=capture] #framing-guide:not([hidden]) { display: block !important; border: 1px dashed #ffffff65; border-radius: 18px; }
body[data-view=capture] .workspace > .live-telemetry { grid-template-columns: 1fr 1fr; bottom: calc(276px + env(safe-area-inset-bottom)); padding: 10px 0; min-height: 54px; border-radius: 12px; background: #0b1b15b8; }
body[data-view=capture] .live-telemetry > div:nth-child(n+3) { display: none; }
body[data-view=capture] .live-telemetry output { font-size: 14px; font-weight: 550; }
body[data-view=capture] .live-telemetry small { font-size: 10px; }
body[data-view=capture] .workspace > .director-strip { display: grid; gap: 6px; bottom: calc(158px + env(safe-area-inset-bottom)); min-height: 98px; align-content: center; padding: 16px 18px; border-radius: 16px; background: #0b1b15de; border: 1px solid #ffffff18; }
body[data-view=capture] #director-cue { font-size: 21px; line-height: 1.2; color: #eeffdd; font-weight: 650; letter-spacing: -.3px; }
body[data-view=capture] #director-help { font-size: 12px; line-height: 1.45; color: #e1eadac4; }
body[data-view=capture] #gesture-reading { display: none; }
body[data-view=capture] .capture-cue { top: 30%; background: transparent; padding: 0; }
body[data-view=capture][data-phase=countdown] #cue-text { font-size: 76px; font-weight: 550; text-shadow: 0 2px 25px #0008; }
body[data-view=capture]:not([data-phase=countdown]) .capture-cue { display: none; }
body[data-view=capture] .workspace > .capture-actions { bottom: calc(49px + env(safe-area-inset-bottom)); }
body[data-view=capture] #guided-record span { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); width: auto; height: auto; overflow: visible; clip-path: none; color: white; font-size: 12px; }
body[data-view=capture] #rehearse { position: absolute; left: calc(50% - 130px); width: 60px; height: 60px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 0; background: #0b1b1599; }
body[data-view=capture] #rehearse span { font-size: 10px; }
body[data-view=capture] #guided-state { display: none; }
body[data-view=capture] .workspace > .orientation-tools { top: calc(82px + env(safe-area-inset-top)); right: 16px; }
body[data-view=capture] #spatial-sensors { font-size: 10px; width: auto; border: 0; padding: 8px 10px; min-height: 38px; border-radius: 20px; }
body[data-view=capture] .viewer-tools { left: 14px; right: auto; top: 12px; bottom: auto; }
body[data-view=capture] .viewer-tools button { font-size: 10px; min-height: 38px; border: 0; border-radius: 20px; }
body[data-view=capture] .viewer-tools button:hover { background: #13291fdd; color: white; }
body[data-view=capture] #spatial-sensors:hover { background: #13291fdd; color: white; }
body[data-view=capture] #clear-target { display: none; }
body[data-view=capture] .current-shot { background: linear-gradient(#071109ed, #0711097d); }
body[data-view=capture] .camera-version { font-size: 8px; opacity: .8; }
body[data-view=review] .workspace > .current-shot { display: none; }
body[data-view=review] .workspace { display: block; }
body[data-view=review] .shot-review h2 { font-size: 25px; letter-spacing: -.5px; }
body[data-view=review] #review-video { border-radius: 16px; max-height: 49dvh; min-height: 180px; }
body[data-view=review] .review-confirm { display: flex; gap: 10px; margin: 20px 0; padding: 15px; border-radius: 12px; background: #eaf1e5; font-size: 13px; line-height: 1.5; }
body[data-view=review] .review-confirm input { width: 21px; height: 21px; flex-shrink: 0; accent-color: #347052; }
body[data-view=review] .guided-actions { background: #f7f8f5f5; }
body[data-view=review] #keep-take { flex: 1; max-width: 300px; }
body[data-view=review] .guided-actions button { font-size: 12px; }
body[data-view=clips] .workspace { display: block; }
body[data-view=clips] .workspace > *, body[data-view=clips] .diagnostics { display: none; }
body[data-view=clips] .workspace > #library { display: block; border: 0; }
body[data-view=clips] #library > summary, body[data-view=clips] #captures,
body[data-view=clips] #library > .section-heading:first-of-type, body[data-view=clips] #storage-state { display: none; }
body[data-view=clips] #library h2 { font-size: 25px; letter-spacing: -.5px; }
body[data-view=clips] #show-clips { color: #29785b; }
body.developer-mode[data-view=details] #capture-settings,
body.developer-mode[data-view=details] #media-tools,
body.developer-mode[data-view=details] .diagnostics { display: block; }
body.developer-mode[data-view=details] .header-tools { display: flex !important; }
@media (max-width: 360px) {
  main { padding-inline: 16px; } header { padding-inline: 16px; }
  .collection-row { padding: 16px; grid-template-columns: minmax(0, 1fr) 62px; }
  .collection-row img, .collection-row .plan-mark { width: 62px; height: 76px; }
  .segment-details { padding: 14px; }
  .shot-list { margin-inline: -16px; padding-inline: 16px; }
  body[data-view=capture] #director-cue { font-size: 18px; }
  #prepare-dialog { padding: 22px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  body[data-view=capture] .workspace > .live-telemetry { bottom: 210px; right: 16px; left: auto; width: 240px; min-height: 45px; padding-block: 6px; }
  body[data-view=capture] .workspace > .director-strip { bottom: 115px; right: 16px; left: auto; width: 240px; min-height: 85px; padding: 12px; }
  body[data-view=capture] #director-cue { font-size: 17px; }
  body[data-view=capture] #director-help { font-size: 10px; }
  body[data-view=capture] .workspace > .capture-actions { right: 16px; left: auto; width: 240px; bottom: 30px; }
  body[data-view=capture] #guided-record { width: 60px; height: 60px; }
  body[data-view=capture] #guided-record svg { width: 44px; height: 44px; }
  body[data-view=capture] #rehearse { left: 10px; }
  body[data-view=capture] .workspace > .orientation-tools { top: 80px; bottom: auto; left: 16px; right: auto; }
  body[data-view=capture] .viewer-tools { top: auto; bottom: 16px; }
}
