/* Shared ERP presentation for business subpages, expanded details and dialogs.
   Forms, routing, permission gates, data and photo/annotation geometry are unchanged. */
#app { --erp-muted: #596b7f; }
#app .surface { border-radius: 4px; box-shadow: none; }
#app .section-head { gap: 12px; min-height: 50px; }
#app .section-head h2 { font-size: 14px; line-height: 22px; }
#app .section-head p { color: var(--erp-muted); font-size: 12px; line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }
#app .page-head-copy p { max-width: 80ch; font-size: 13px; line-height: 1.7; }
#app :is(.button, .input, .select, .textarea) { border-radius: 4px; }
#app .button { box-shadow: none; }
#app .button.primary { background: #1671c8; }
#app :is(.site-detail-body, .after-sales-project-workspace, .ledger-page, .process-rule-content, .process-rule-detail-body) { min-width: 0; max-width: 100%; }
#app .site-detail-head { padding: 14px 20px; gap: 12px; flex-wrap: wrap; }
#app .site-detail-title h1 { font-size: 18px; line-height: 28px; white-space: normal; overflow-wrap: anywhere; }
#app .site-detail-updated, #app .site-facts { font-size: 12px; }
#app .project-delivery-options { gap: 0; margin: 0; padding: 0 20px; border-bottom: 1px solid var(--line); background: #fff; }
#app .project-delivery-option { min-height: 68px; gap: 12px; padding: 10px 16px 10px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#app .project-delivery-option + .project-delivery-option { padding-left: 20px; border-left: 1px solid var(--line); }
#app .project-delivery-copy h2 { font-size: 14px; line-height: 22px; }
#app .project-delivery-copy p, #app .project-delivery-audience { font-size: 12px; line-height: 18px; }
#app .project-archive-tabs { width: 100%; max-width: none; margin: 0; padding: 0 20px; gap: 20px; border-radius: 0; background: #fff; border-bottom: 1px solid var(--line); }
#app .project-archive-tabs button { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; box-shadow: none; font-size: 13px; }
#app .project-archive-tabs button.active { color: #135fa9; border-bottom-color: #1675cf; background: transparent; }
#app .site-detail-body { padding: 16px 20px 28px; }
#app .archive-summary-band { gap: 0; border-radius: 4px; }
#app .archive-summary-band > button { min-height: 64px; padding: 12px 16px; }
#app .archive-summary-band > button > span { font-size: 12px; }
#app .archive-summary-band > button > strong { font-size: 20px; }
#app .archive-overview-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: start; gap: 16px; }
#app .archive-process-card .archive-process-cloud, #app .archive-health-panel { height: 360px; min-height: 0; background: #fff; border-radius: 4px; box-shadow: none; backdrop-filter: none; }
#app .archive-process-card, #app .archive-health-card { padding: 12px; }
#app .archive-section { min-height: 0; }
#app .archive-health-panel-heading, #app .archive-process-cloud-heading { font-size: 14px; }
#app .project-rule-row { gap: 12px; }
#app .project-rule-sites { flex-wrap: wrap; white-space: normal; }
#app .project-rule-sites > span { font-size: 12px; }
#app .project-rule-name strong { font-size: 14px; }
#app .problem-record-toolbar { flex-wrap: wrap; gap: 12px; }
#app .problem-record { border-radius: 4px; }
#app .problem-record-content { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
#app .problem-record-meta, #app .problem-record-next { font-size: 12px; line-height: 1.7; }
#app .problem-record-history { max-height: none; }
#app .problem-reply-item { overflow-wrap: anywhere; }
/* Ledger depth: detail groups and editors use the actual host width. */
#app .ledger-page { container: ledger-workspace / inline-size; }
#app .ledger-page h2 { font-size: 18px; }
#app .ledger-page h3 { font-size: 15px; margin-bottom: 12px; }
#app :is(.ledger-query, .ledger-columns, .ledger-section, .ledger-editor, .ledger-warnings) { padding: 16px 20px; }
#app .ledger-page .page-head { gap: 12px; margin-bottom: 16px; }
#app .ledger-page .page-head p { font-size: 13px; line-height: 1.7; }
#app .ledger-information dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 24px; }
#app .ledger-information dl > div { padding: 12px 0; }
#app .ledger-information dd { min-width: 0; font-size: 14px; line-height: 1.7; }
#app .ledger-edit-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 20px; }
#app .ledger-edit-grid > label:has(textarea) { grid-column: 1 / -1; }
#app .ledger-edit-group { margin: 12px 0; }
#app .ledger-edit-group legend { padding: 10px 0; font-size: 14px; }
#app .ledger-editor-actions { bottom: 0; margin-top: 16px; padding: 12px; border-radius: 4px; background: #fff; }
#app .ledger-source code, #app .ledger-preview-diff { white-space: pre-wrap; overflow-wrap: anywhere; }
#app .ledger-candidates { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
#app .ledger-candidates article { padding: 14px; border-radius: 4px; }
#app .ledger-events { padding-left: 20px; }
#app .ledger-events li { padding: 8px 0; line-height: 1.7; }
#app form[data-ledger-link-search] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
#app form[data-ledger-import-form] { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
#app form[data-ledger-import-form] > :is(p, .inline-actions) { grid-column: 1 / -1; margin: 0; }
#app .ledger-import-confirm { position: sticky; bottom: 0; padding: 12px 0; background: var(--canvas); }
/* Project delivery subpanels no longer leave a fixed unused right-hand strip. */
#app .doc-basics-editor { max-width: none; }
#app .doc-basics-fields { min-width: 0; }
#app .doc-section-head { gap: 12px; }
#app .doc-section-head h3, #app .doc-panel-head h2 { font-size: 15px; }
#app .doc-panel-head p, #app .doc-section-head p { font-size: 12px; line-height: 1.7; }
#app .doc-field-grid { gap: 16px 20px; }
#app .doc-download-help { background: transparent; border-radius: 0; }
#app .doc-download-help p { max-width: 85ch; }
#app .doc-delivery { border-radius: 4px; }
/* After-sales keeps its original scroll owner and photo controls. */
#app .after-sales-project-page { min-height: 0; }
#app .after-sales-project-header { padding: 12px 16px 0; box-shadow: none; }
#app .after-sales-project-title-row { flex-wrap: wrap; gap: 12px; }
#app .after-sales-project-title-row h1 { font-size: 18px; white-space: normal; overflow-wrap: anywhere; }
#app .after-sales-project-title-row small, #app .after-sales-occurrence-summary { font-size: 12px; line-height: 1.7; }
#app .after-sales-view-tabs button { min-height: 44px; border-radius: 0; font-size: 13px; box-shadow: none; }
#app .after-sales-ledger-problem strong { font-size: 14px; line-height: 1.7; white-space: normal; }
#app .after-sales-ledger-problem p, #app .after-sales-issue-history { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
#app .after-sales-ledger-actions { flex-wrap: wrap; }
#app .after-sales-rule-section h2 { font-size: 15px; }
#app .after-sales-rule-section :is(p, li) { font-size: 13px; line-height: 1.8; }
/* Expanded rules, follow-up facts and analytical drill-down remain full text. */
#app .process-rule-title strong { font-size: 14px; }
#app .process-rule-meta { flex-wrap: wrap; gap: 8px 16px; font-size: 12px; }
#app .process-rule-detail-body { padding: 14px 16px; }
#app .process-rule-step-groups { gap: 16px; }
#app .process-rule-step-group { min-width: 0; border-radius: 4px; }
#app .followup-risk-details { border-radius: 4px; }
#app .followup-risk-detail-scroll { max-height: calc(100dvh - 250px); }
#app .followup-risk-detail-list p, #app .followup-risk-material-group p { font-size: 13px; line-height: 1.8; }
#app .dashboard-section-lead { min-height: 0; padding: 12px 16px; border-radius: 4px; }
#app .dashboard-section-lead h2 { font-size: 15px; }
#app .dashboard-section-lead p { font-size: 12px; line-height: 1.7; }
#app .dashboard-section-lead { background: #fff; box-shadow: none; }
/* One dialog language across all nesting levels; photo viewers use their own stage. */
#overlay-root .modal { min-height: 0; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; overflow: hidden; width: min(760px, calc(100vw - 40px)); border-radius: 6px; background: #fff; }
#overlay-root .modal.compact { width: min(600px, calc(100vw - 40px)); }
#overlay-root :is(.modal.wide, .project-plan-modal, .rule-backup-modal, .project-log-export-modal) { width: min(1040px, calc(100vw - 40px)); }
#overlay-root .after-sales-issue-modal { width: min(840px, calc(100vw - 40px)); }
#overlay-root :is(.modal-head, .modal-foot, .drawer-head, .drawer-foot) { flex-shrink: 0; gap: 12px; padding: 14px 20px; background: #fff; }
#overlay-root :is(.modal-head h2, .drawer-head h2) { font-size: 16px; line-height: 24px; }
#overlay-root :is(.modal-head p, .drawer-head p) { max-width: 85ch; margin-top: 4px; font-size: 12px; line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }
#overlay-root .modal-body { min-height: 0; padding: 20px; overflow: auto; }
#overlay-root :is(.modal, .drawer) .form-grid { gap: 16px 20px; }
#overlay-root :is(.modal, .drawer) .form-field { min-width: 0; }
#overlay-root :is(.modal, .drawer) .form-field > label { font-size: 13px; line-height: 20px; }
#overlay-root :is(.modal, .drawer) :is(.form-field > small, .form-field label small) { font-size: 12px; line-height: 1.7; }
#overlay-root :is(.modal, .drawer) :is(.input, .select, .textarea) { min-width: 0; min-height: 38px; border-radius: 4px; font-size: 14px; }
#overlay-root :is(.modal, .drawer) .button { min-height: 38px; border-radius: 4px; box-shadow: none; font-size: 13px; }
#overlay-root :is(.modal, .drawer) .button.primary { background: #1671c8; }
#overlay-root .danger-note { font-size: 13px; line-height: 1.8; }
#overlay-root .drawer { width: min(720px, 100vw); max-width: 100vw; }
#overlay-root .drawer-body { min-height: 0; padding: 20px; }
#overlay-root .rule-config-drawer.has-document-fields { width: min(1180px, calc(100vw - 24px)); }
#overlay-root .has-document-fields .doc-basics-editor { max-width: none; }
#overlay-root .has-document-fields .project-classification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
#overlay-root .has-document-fields .project-classification-grid > .form-field,
#overlay-root .has-document-fields #project-type-field { max-width: none; }
#overlay-root .sensor-type-panel, #overlay-root .project-rule-reason-panel, #overlay-root .rule-admin-auth { border-radius: 4px; }
#overlay-root .project-rule-config-row { border-radius: 4px; }
#overlay-root .project-rule-config-row small { font-size: 12px; line-height: 1.7; }
#overlay-root :is(button, a, summary, select):focus-visible { outline: 2px solid #1873cc; outline-offset: 2px; }
@container ledger-workspace (min-width: 1100px) {
  #app .ledger-information dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #app .ledger-edit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  #app .site-detail-head .button, #app .project-delivery-option .button,
  #overlay-root :is(.modal, .drawer) :is(.button, .input, .select, .password-toggle) { min-height: 44px; }
  #app .archive-overview-grid { grid-template-columns: minmax(0, 1fr); }
  #app .archive-health-card { max-width: none; }
}
@media (max-width: 767px) {
  #app .site-detail-head, #app .site-detail-body { padding: 12px; }
  #app .project-delivery-options { padding: 0 12px; grid-template-columns: minmax(0, 1fr); }
  #app .project-delivery-option { padding: 12px 0; }
  #app .project-delivery-option + .project-delivery-option { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  #app .project-archive-tabs { padding: 0 12px; gap: 16px; flex-wrap: nowrap; overflow-x: auto; }
  #app .project-archive-tabs button { flex-shrink: 0; white-space: nowrap; }
  #app .ledger-page .input, #app .ledger-page .select, #app .ledger-page .textarea { font-size: 16px; }
  #app .ledger-page .button { min-height: 44px; }
  #app .ledger-edit-grid, #app .ledger-information dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app form[data-ledger-import-form] { grid-template-columns: minmax(0, 1fr); }
  #app .after-sales-project-title-row > .inline-actions { width: 100%; flex-wrap: wrap; }
  #app .followup-risk-detail-scroll { max-height: none; }
  #overlay-root .modal, #overlay-root .modal.compact,
  #overlay-root :is(.modal.wide, .project-plan-modal, .rule-backup-modal, .project-log-export-modal, .after-sales-issue-modal) { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  #overlay-root :is(.modal-head, .modal-foot, .modal-body, .drawer-head, .drawer-foot, .drawer-body) { padding: 12px; }
  #overlay-root :is(.modal, .drawer) :is(.input, .select, .textarea) { font-size: 16px; }
  #overlay-root :is(.modal, .drawer) .form-grid { grid-template-columns: minmax(0, 1fr); }
  #overlay-root .has-document-fields .project-classification-grid { grid-template-columns: minmax(0, 1fr); }
  #overlay-root .rule-config-drawer.has-document-fields { width: 100vw; }
}
@media (max-width: 480px) {
  #app .ledger-edit-grid, #app .ledger-information dl { grid-template-columns: minmax(0, 1fr); }
  #app .ledger-page :is(.ledger-query, .ledger-columns, .ledger-section, .ledger-editor, .ledger-warnings) { padding: 14px 12px; }
  #app .project-delivery-option { flex-wrap: wrap; }
  #app .project-delivery-option .button { width: 100%; }
}

/* Wide basic-information forms reflow their fields rather than capping the editor. */
#app .acceptance-documents { container: project-documents / inline-size; }
#overlay-root .rule-config-drawer { container: project-editor / inline-size; }
#app .doc-field-group, #overlay-root .doc-field-group { padding: 12px 0; }
#app .doc-field-group .doc-group-help, #overlay-root .doc-field-group .doc-group-help { margin: 2px 0 12px; }
#overlay-root .acceptance-onboarding { margin: 12px 0; padding: 12px 0; }
#overlay-root .doc-onboard-intro { margin: 8px 0 12px; font-size: 12px; }
#overlay-root .project-classification-grid:has(> .form-field[hidden]) { grid-template-columns: minmax(0, 1fr); }
#overlay-root .doc-onboard-context label { max-width: none; }
@container project-documents (min-width: 900px) {
  #app .doc-basics-editor .doc-field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #app .doc-basics-editor .doc-field-wide { grid-column: 1 / -1; }
}
@container project-editor (min-width: 900px) {
  #overlay-root .acceptance-onboarding .doc-field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #overlay-root .acceptance-onboarding .doc-field-wide { grid-column: 1 / -1; }
}

/* Business headers are toolbars, not scene banners. */
#app .page:not(.flush) > .page-head { min-height: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; background-image: none; box-shadow: none; }
#app .page-head::before, #app .page-head::after { display: none; }
#app .page:not(.flush) > .page-head p, #app .page-head .page-head-copy > p { color: #596b7f; font-size: 13px; line-height: 1.7; }
#app .page-head .button:not(.primary) { border-color: var(--line); background: #fff; color: #40546c; }
#app .page-head .badge.neutral { border-color: #d3dde8; background: #edf2f7; color: #40546c; }
#app .after-sales-insight-filterbar { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
#app .after-sales-insight-filterbar > label { min-width: 0; }
#app .after-sales-insight-filterbar .select { min-width: 0; width: 100%; }
#app .excellent-case-filter-panel { width: 100%; max-width: 100%; margin-right: 0; margin-left: 0; }
@media (max-width: 767px) {
  #app .excellent-case-filter-panel { padding-left: 0; padding-right: 0; }
  #app .excellent-case-filter-row { grid-template-columns: 74px minmax(0, 1fr); }
  #app .after-sales-insight-filterbar .select { min-height: 44px; font-size: 16px; }
}
#app .page-head :is(h1, h2) { color: var(--ink-strong, #172437); }
#app .ledger-page:has(> .ledger-summary) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#app .ledger-page:has(> .ledger-summary) > :is(.page-head, .ledger-summary) { margin: 0; }
#app .ledger-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
#app .ledger-links > .section-head { flex: 0 1 auto; min-height: 38px; gap: 16px; padding: 0; border: 0; background: transparent; }
#app .ledger-links > p { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.7; }
#app .ledger-profile-compare .ledger-diffs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 20px; }
#app .ledger-activity .ledger-candidates { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
#app .ledger-section > .section-head { background: transparent; padding: 0 0 10px; min-height: 40px; }
@media (max-width: 767px) {
  #app .ledger-links > .section-head { flex-basis: 100%; justify-content: space-between; }
}

/* Photo information is readable; image stages, canvases, zoom and annotation hit areas retain their geometry. */
#overlay-root .photo-detail-head h2 { font-size: 16px; line-height: 24px; }
#overlay-root .photo-detail-byline, #overlay-root .photo-detail-origin { font-size: 12px; line-height: 1.7; }
#overlay-root .photo-detail-copy p { font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
#overlay-root .photo-detail-byline, #overlay-root .photo-detail-statuses { min-width: 0; max-width: 100%; flex-wrap: wrap; }
#overlay-root .photo-detail-statuses .status-badge { min-width: 0; max-width: 100%; align-items: flex-start; border-radius: 4px; white-space: normal; overflow-wrap: anywhere; line-height: 1.7; }
#overlay-root .photo-detail-statuses .status-badge > svg { flex-shrink: 0; }
#overlay-root :is(.modal, .drawer) .icon-button { min-width: 36px; min-height: 36px; }
#overlay-root :is(.modal, .drawer) .rule-confirm-check,
#overlay-root .modal .import-mode label { min-height: 44px; }
@media (max-width: 1100px) {
  #overlay-root :is(.modal, .drawer) .icon-button { min-width: 44px; min-height: 44px; }
  .settings-page .ai-engine-toggle { min-height: 44px; }
}

/* Responsive inspection: keep the photo visible while its text scrolls. */
#overlay-root .photo-detail-drawer:not(.editing) .photo-detail-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(64px, 30%);
  min-height: 0;
}
#overlay-root .photo-detail-drawer:not(.editing) .photo-detail-image {
  min-height: 0;
  max-height: none;
}
#overlay-root .photo-detail-drawer:not(.editing) .photo-detail-info {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}
#overlay-root .photo-detail-drawer:not(.editing) .viewer-review-actions {
  display: block;
  flex-shrink: 0;
  gap: 6px;
  padding: 8px 10px;
}
#overlay-root .photo-detail-drawer:not(.editing) .viewer-review-actions > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
#overlay-root .photo-detail-drawer:not(.editing) .viewer-review-actions button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 6px 4px;
  gap: 4px;
}
@media (max-width: 600px) {
  #overlay-root .photo-detail-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #overlay-root .photo-detail-head > div:first-child { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px; }
  #overlay-root .photo-detail-tools { display: flex; justify-content: flex-end; flex-wrap: nowrap; }
  #overlay-root .photo-detail-tools > :is(.icon-button, label) { min-width: 44px; min-height: 44px; }
  #overlay-root .photo-detail-drawer:not(.editing) .viewer-review-actions > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 500px) and (min-width: 601px) {
  #overlay-root .photo-detail-overlay { padding: 8px; }
  #overlay-root .photo-detail-workspace { width: min(1180px, calc(100vw - 16px)); height: calc(100dvh - 16px); }
  #overlay-root .photo-detail-drawer:not(.editing) .photo-detail-body { grid-template-columns: minmax(0, 1.3fr) minmax(160px, .7fr); grid-template-rows: minmax(0, 1fr); }
  #overlay-root .photo-detail-drawer:not(.editing) .photo-detail-image { width: 100%; margin: 0; border: 0; border-radius: 0; }
  #overlay-root .photo-detail-drawer:not(.editing) .photo-detail-info { height: 100%; padding: 8px; border-left: 1px solid var(--line); }
  #overlay-root .photo-detail-drawer:not(.editing) > .photo-filmstrip { padding: 4px 8px; }
  #overlay-root .photo-detail-drawer:not(.editing) > .photo-filmstrip .photo-filmstrip-item { width: 56px; height: 40px; }
}
@media (max-height: 650px) and (max-width: 600px) {
  #overlay-root .photo-detail-workspace:has(> .photo-detail-drawer:not(.editing)) { display: block; overflow-y: auto; overscroll-behavior: contain; }
  #overlay-root .photo-detail-drawer:not(.editing) { height: max(460px, calc(100dvh - 16px)); min-height: 460px; overflow: visible; }
  #overlay-root .photo-detail-drawer:not(.editing) .photo-detail-head { position: sticky; top: 0; z-index: 5; }
  #overlay-root .photo-detail-workspace:has(> .photo-detail-drawer:not(.editing)) > :is(.photo-evidence-panel, .viewer-reject-panel) { height: 200px; max-height: calc(100dvh - 110px); }
  #overlay-root .photo-detail-drawer:not(.editing) > .photo-filmstrip { padding: 4px 8px; }
  #overlay-root .photo-detail-drawer:not(.editing) > .photo-filmstrip .photo-filmstrip-item { width: 52px; height: 40px; }
}
@media (max-width: 360px) {
  .topbar .topbar-actions { gap: 4px; }
}

#overlay-root .photo-copy-menu[data-photo-copy-floating] { position: absolute; right: auto; z-index: 120; margin: 0; max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; }

/* A missing variant retains its photo card and ordering. */
.photo-variant-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: #edf2f7; color: #465b72; font-size: 13px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.photo-variant-placeholder > svg { flex-shrink: 0; width: 28px; height: 28px; }
.photo-filmstrip .photo-variant-placeholder { padding: 2px; gap: 0; font-size: 10px; }
.photo-filmstrip .photo-variant-placeholder > svg { width: 16px; height: 16px; }
.excellent-case-hero > img[hidden], .photo-frame img[hidden], .viewer-image[hidden] { display: none; }
.excellent-case-hero .photo-variant-placeholder { background: #243347; color: #fff; }
.photo-quick-preview-stage { position: relative; }
.photo-frame > .photo-variant-placeholder { z-index: 3; gap: 4px; padding: 22px 8px; font-size: 12px; line-height: 1.5; }
.photo-frame > .photo-variant-placeholder > svg { width: 20px; height: 20px; }
.photo-frame:has(> .photo-variant-placeholder) .photo-index { z-index: 4; }
.material-delivery-policy { margin: 12px 0; color: var(--text-muted, #64748b); font-size: 13px; }
.material-delivery-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.material-delivery-row > .audit-material-item { flex: 1; min-width: 0; }
.material-delivery-row > .button { flex: 0 0 auto; }
.material-reminder-toggle input { vertical-align: middle; margin-right: 6px; }
@media (max-width: 560px) {
  .material-delivery-row { flex-wrap: wrap; padding-bottom: 8px; }
  .material-delivery-row > .audit-material-item { flex-basis: 100%; }
  .material-delivery-row > .button { margin-left: auto; }
}
