/* S24 · Owner actions only operate on a public copy; reports only address the visible public item. */
body[data-page="report-content-actions"] { overflow-x: clip; }
.report-page { min-height: calc(100svh - 76px); padding-block: var(--space-7) var(--space-10); }
.report-heading { max-width: 940px; }
.report-heading h1 { margin-top: var(--space-2); color: var(--forest); font-size: clamp(31px, 3.25vw, 42px); }
.report-heading > p:not(.eyebrow) { max-width: 852px; margin-top: var(--space-4); color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.report-mobile-header, .report-mobile-actions, .report-tablet-actions { display: none; }
.report-status { min-height: 22px; margin-top: var(--space-4); color: var(--moss-strong); font-size: 11px; font-weight: 750; line-height: 1.55; }

.report-workbench { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(300px, .86fr); align-items: start; gap: clamp(18px, 3vw, 34px); margin-top: var(--space-4); padding: clamp(18px, 2.8vw, 30px); border-radius: var(--radius-md); }
.report-workbench::after { position: absolute; right: 42%; bottom: -38px; width: 98px; height: 98px; border: 1px solid rgba(111, 139, 116, .12); border-radius: 50%; content: ""; pointer-events: none; }
.report-primary, .report-context { min-width: 0; }
.report-primary { display: grid; align-content: start; gap: 14px; }
.report-primary > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.report-primary > header > div { min-width: 0; display: grid; gap: 5px; }
.report-primary > header .eyebrow { margin-bottom: 0; }
.report-primary > header h2, .report-context-card h2 { color: var(--forest); font-size: clamp(23px, 2.35vw, 30px); }
.report-primary > header p:not(.eyebrow) { max-width: 590px; color: var(--ink-soft); font-size: 12px; line-height: 1.62; }
.report-badge { min-height: 28px; display: inline-flex; flex: 0 0 auto; align-items: center; padding: 0 9px; color: var(--moss-strong); background: var(--glass-a-bg); border: 1px solid var(--glass-a-border-subtle); border-top-color: var(--glass-a-border-top); border-radius: 999px; box-shadow: var(--glass-a-highlight); font-size: 10px; font-weight: 800; white-space: nowrap; }

.report-target { min-width: 0; display: grid; grid-template-columns: minmax(118px, 31%) minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; background: var(--glass-b-bg); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-radius: var(--radius-xs); box-shadow: var(--glass-b-highlight); }
.report-target img { width: 100%; height: 116px; object-fit: cover; border: 1px solid var(--glass-a-border-subtle); border-radius: 10px; }
.report-target > div { min-width: 0; display: grid; gap: 5px; }
.report-target .eyebrow { margin-bottom: 0; }
.report-target h3 { color: var(--forest); font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.report-target p { color: var(--ink-soft); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.report-target span { color: var(--moss-strong); font-size: 9px; font-weight: 800; }

.report-panel { min-height: 272px; display: grid; align-content: start; gap: 10px; padding: clamp(18px, 2.35vw, 26px); background: var(--glass-c-bg); border: 1px solid var(--glass-c-border-subtle); border-top-color: var(--glass-c-border-top); border-left-color: var(--glass-c-border-left); border-radius: var(--radius-sm); box-shadow: var(--glass-c-shadow), var(--glass-c-highlight); }
.report-panel .eyebrow { margin-bottom: 0; }
.report-panel h3 { color: var(--forest); font-size: clamp(20px, 2.15vw, 27px); }
.report-panel > p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.report-panel--owner { min-height: 252px; }
.report-panel--quiet { background: var(--glass-b-bg); border-color: var(--glass-b-border-subtle); }
.report-panel--warning { background: rgba(249, 239, 231, .78); border-color: rgba(188, 111, 60, .42); }
.report-panel--warning .eyebrow, .report-panel--warning h3, .report-panel--warning > p:not(.eyebrow) { color: #824419; }
.report-panel--confirmed { background: var(--glass-c-bg); border-color: rgba(47, 179, 84, .44); }
.report-panel--owner .button { justify-self: start; min-height: 44px; margin-top: 2px; padding-inline: 15px; font-size: 11px; }
.report-retention { display: grid; gap: 4px; margin-top: 5px; padding: 13px; color: var(--forest); background: var(--glass-b-bg); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-radius: var(--radius-xs); }
.report-retention strong { color: var(--forest); font-size: 11px; }
.report-retention span { color: var(--ink-soft); font-size: 10px; line-height: 1.58; overflow-wrap: anywhere; }
.report-panel--warning .report-retention { background: rgba(255, 248, 241, .72); border-color: rgba(188, 111, 60, .28); }
.report-panel--warning .report-retention strong, .report-panel--warning .report-retention span { color: #824419; }

.report-reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.report-reason-grid button { min-height: 46px; min-width: 0; padding: 7px 11px; color: var(--forest); background: var(--glass-b-bg); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-radius: 11px; box-shadow: var(--glass-b-highlight); font-size: 11px; font-weight: 800; line-height: 1.35; text-align: left; overflow-wrap: anywhere; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.report-reason-grid button:hover { transform: translateY(-1px); border-color: rgba(47, 179, 84, .48); }
.report-reason-grid button[aria-pressed="true"] { color: var(--forest); background: var(--glass-c-bg); border-color: var(--moss-strong); box-shadow: inset 0 0 0 1px rgba(34, 134, 62, .14), var(--glass-c-highlight); }
.report-reason-grid button[aria-pressed="true"]::before { display: inline-grid; width: 14px; height: 14px; place-items: center; margin-right: 6px; color: #f8fbf7; background: var(--btn-primary-bg); border-radius: 50%; content: "✓"; font-size: 8px; vertical-align: -1px; }
.report-note { display: grid; gap: 6px; margin-top: 2px; }
.report-note > span { color: var(--forest); font-size: 10px; font-weight: 800; }
.report-note textarea { width: 100%; min-height: 86px; resize: vertical; padding: 10px 11px; color: var(--ink); background: rgba(255, 255, 255, .74); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-radius: 11px; box-shadow: inset 0 1px 2px rgba(15, 42, 24, .05); font-size: 16px; line-height: 1.5; }
.report-note textarea::placeholder { color: var(--ink-faint); opacity: 1; }
.report-note textarea:focus { border-color: var(--moss-strong); outline: 0; box-shadow: 0 0 0 3px rgba(47, 179, 84, .18); }

.report-context { position: sticky; top: 96px; display: grid; gap: 10px; }
.report-context-card { display: grid; gap: 9px; min-width: 0; padding: clamp(18px, 2.2vw, 25px); background: var(--glass-c-bg); border: 1px solid var(--glass-c-border-subtle); border-top-color: var(--glass-c-border-top); border-left-color: var(--glass-c-border-left); border-radius: var(--radius-sm); box-shadow: var(--glass-c-shadow), var(--glass-c-highlight); backdrop-filter: var(--glass-c-Filter); -webkit-backdrop-filter: var(--glass-c-Filter); }
.report-context-card .eyebrow { margin-bottom: 0; }
.report-context-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: 12px; line-height: 1.68; overflow-wrap: anywhere; }
.report-context-facts { display: grid; gap: 7px; margin: 1px 0 0; }
.report-context-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px; background: var(--glass-b-bg); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-radius: 10px; }
.report-context-facts dt { color: var(--ink-faint); font-size: 10px; font-weight: 800; }
.report-context-facts dd { margin: 0; color: var(--forest); font-size: 10px; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.report-context-card--public { background: var(--glass-b-bg); border-color: var(--glass-b-border-subtle); }
.report-context-card--public h2, .report-context-card--receipt h2 { font-size: 17px; }
.report-context-card--receipt { background: var(--glass-c-bg); border-color: rgba(47, 179, 84, .44); }
.report-actions { z-index: 1; grid-column: 1 / -1; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding-top: 2px; }
.report-actions .button, .report-tablet-actions .button { min-width: 152px; min-height: 48px; font-size: 12px; }
.button--danger { color: #fff8f1; background: #8e4d1d; box-shadow: 0 9px 20px rgba(142, 77, 29, .18); }
.button--danger:hover { background: #773b17; box-shadow: 0 13px 25px rgba(142, 77, 29, .22); }

.report-f24 { display: grid; gap: 15px; margin-top: var(--space-7); padding: clamp(18px, 2.6vw, 28px); border: 1px solid var(--glass-b-border-subtle); border-top-color: var(--glass-b-border-top); border-left-color: var(--glass-b-border-left); border-radius: var(--radius-md); background: var(--glass-b-bg); box-shadow: var(--glass-b-shadow), var(--glass-b-highlight); backdrop-filter: var(--glass-b-Filter); -webkit-backdrop-filter: var(--glass-b-Filter); }
.report-f24 > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.report-f24 h2 { max-width: 780px; color: var(--forest); font-size: clamp(19px, 2.1vw, 26px); }
.report-f24 header > p { max-width: 360px; color: var(--ink-soft); font-size: 11px; line-height: 1.58; text-align: right; }
.report-f24-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.report-f24-grid article { min-width: 0; min-height: 164px; display: grid; align-content: start; gap: 6px; padding: 13px; background: var(--glass-c-bg); border: 1px solid var(--glass-c-border-subtle); border-top-color: var(--glass-c-border-top); border-radius: var(--radius-xs); box-shadow: var(--glass-c-highlight); }
.report-f24-grid article > span { color: var(--moss-strong); font-size: 10px; font-weight: 800; }
.report-f24-grid h3 { color: var(--forest); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.report-f24-grid p { color: var(--ink-soft); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.report-f24-grid__warning { background: rgba(249, 239, 231, .76) !important; border-color: rgba(188, 111, 60, .34) !important; }
.report-f24-grid__warning > span, .report-f24-grid__warning h3, .report-f24-grid__warning p { color: #824419 !important; }

@media (max-width: 980px) {
  .report-workbench { grid-template-columns: minmax(0, 1fr) minmax(270px, .76fr); }
  .report-f24-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .report-page { padding-bottom: calc(var(--space-10) + 74px); }
  .report-workbench { grid-template-columns: minmax(0, 1fr); }
  .report-context { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .report-context-card--receipt { grid-column: 1 / -1; }
  .report-actions { display: none; }
  .report-tablet-actions { position: fixed; z-index: 50; right: 50%; bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: min(calc(100% - 48px), 720px); display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding: 10px; transform: translateX(50%); background: var(--glass-c-bg); border: 1px solid var(--glass-c-border-subtle); border-top-color: var(--glass-c-border-top); border-radius: 15px; box-shadow: var(--glass-c-shadow), var(--glass-c-highlight); backdrop-filter: var(--glass-b-blur); -webkit-backdrop-filter: var(--glass-b-blur); }
}

@media (max-width: 640px) {
  .site-header { display: none; }
  .report-page.page-shell { width: 100%; min-height: 100svh; margin: 0; padding: 0 12px calc(104px + env(safe-area-inset-bottom, 0px)); }
  .report-heading { display: none; }
  .report-mobile-header { min-height: 58px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: max(8px, env(safe-area-inset-top, 0px)) 2px 8px; border-bottom: 1px solid var(--glass-a-border-subtle); }
  .report-mobile-header a { width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--forest); font-size: 23px; font-weight: 800; }
  .report-mobile-header strong { min-width: 0; color: var(--forest); font-size: 16px; text-align: center; overflow-wrap: anywhere; }
  .report-mobile-header span { min-width: 44px; max-width: 78px; color: var(--moss-strong); font-size: 9px; font-weight: 800; line-height: 1.25; text-align: right; overflow-wrap: anywhere; }
  .report-status { min-height: 18px; margin-top: 2px; font-size: 10px; }
  .report-workbench { gap: 12px; margin-top: 10px; padding: 13px; border-radius: 18px; }
  .report-workbench::after { display: none; }
  .report-primary { gap: 12px; }
  .report-primary > header h2, .report-context-card h2 { font-size: 21px; }
  .report-primary > header p:not(.eyebrow) { font-size: 10px; }
  .report-badge { min-height: 26px; padding-inline: 7px; font-size: 9px; }
  .report-target { grid-template-columns: minmax(94px, 35%) minmax(0, 1fr); gap: 10px; padding: 10px; }
  .report-target img { height: 78px; }
  .report-target h3 { font-size: 13px; }
  .report-target p { font-size: 9px; line-height: 1.45; }
  .report-target span { font-size: 8px; }
  .report-panel { min-height: 0; gap: 8px; padding: 14px; border-radius: var(--radius-xs); }
  .report-panel h3 { font-size: 18px; }
  .report-panel > p:not(.eyebrow) { font-size: 10px; line-height: 1.6; }
  .report-panel--owner .button { width: 100%; min-height: 44px; justify-self: stretch; }
  .report-retention { padding: 10px; }
  .report-retention strong { font-size: 10px; }
  .report-retention span { font-size: 9px; }
  .report-reason-grid { gap: 7px; }
  .report-reason-grid button { min-height: 44px; padding: 6px 8px; font-size: 9px; }
  .report-reason-grid button[aria-pressed="true"]::before { width: 12px; height: 12px; margin-right: 4px; font-size: 7px; }
  .report-note > span { font-size: 9px; }
  .report-note textarea { min-height: 78px; padding: 9px; font-size: 16px; }
  .report-context { grid-template-columns: 1fr; gap: 9px; }
  .report-context-card, .report-context-card--receipt { grid-column: auto; gap: 8px; padding: 13px; border-radius: var(--radius-xs); }
  .report-context-card > p:not(.eyebrow) { font-size: 10px; line-height: 1.58; }
  .report-context-facts { gap: 6px; }
  .report-context-facts > div { padding: 8px; }
  .report-context-facts dt, .report-context-facts dd { font-size: 9px; }
  .report-context-card--public h2, .report-context-card--receipt h2 { font-size: 15px; }
  .report-actions, .report-tablet-actions, .report-f24 { display: none; }
  .report-mobile-actions { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; align-items: center; padding: 10px 12px max(10px, env(safe-area-inset-bottom, 0px)); background: var(--glass-c-bg); border-top: 1px solid var(--glass-c-border-top); box-shadow: var(--glass-c-shadow), var(--glass-c-highlight); backdrop-filter: var(--glass-b-blur); -webkit-backdrop-filter: var(--glass-b-blur); }
  .report-mobile-actions[data-action-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .report-mobile-actions .button { min-width: 0; min-height: 44px; padding-inline: 9px; font-size: 11px; white-space: nowrap; }
}

@media (max-width: 380px) {
  .report-page.page-shell { padding-inline: 10px; }
  .report-mobile-actions { gap: 6px; padding-inline: 10px; }
  .report-mobile-actions .button { padding-inline: 6px; font-size: 10px; }
  .report-mobile-header { gap: 4px; }
  .report-mobile-header span { max-width: 62px; font-size: 8px; }
  .report-primary > header { gap: 8px; }
  .report-target { grid-template-columns: 88px minmax(0, 1fr); }
}

/* Mutually exclusive route panels and action variants remain unavailable to layout and assistive focus. */
.report-page [hidden], .report-tablet-actions [hidden], .report-mobile-actions [hidden] { display: none !important; }
