/* Shared customer navigation and complete Glass report layouts.
   Header values mirror the approved dashboard; its existing adapter remains in place. */
:where(.falke-customer) .dashboard-topbar { min-height: 76px; display: flex; align-items: center; gap: 48px; padding: 16px max(40px, calc((100vw - 1424px) / 2)); border-bottom: 1px solid #e6d6bd; background: rgba(255,254,250,.78); backdrop-filter: blur(18px); }
:where(.falke-customer) .dashboard-wordmark { color: #212320; text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.07em; white-space: nowrap; line-height: 1; }
:where(.falke-customer) .dashboard-wordmark::after { display: none; }
:where(.falke-customer) .dashboard-wordmark span { font-weight: 400; display: block; font-size: 10px; letter-spacing: .015em; margin-top: 6px; color: #646860; }
.falke-customer .dashboard-wordmark img { display: block; width: 80px; height: 27px; object-fit: contain; object-position: left center; }
:where(.falke-customer) .dashboard-topbar nav { display: flex; align-items: center; gap: 6px; }
:where(.falke-customer) .dashboard-topbar nav a { padding: 8px 16px; border-radius: 10px; color: #646860; text-decoration: none; font-size: 13px; font-weight: 600; }
:where(.falke-customer) .dashboard-topbar nav a[aria-current] { color: #9a4d00; background: #fff0d7; border: 1px solid #e6c697; }
:where(.falke-customer) .dashboard-edit-link { margin-left: auto; color: #4b5148; font-weight: 600; font-size: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 18px; padding: 9px 14px; border: 1px solid #ddd8cc; border-radius: 10px; background: rgba(255,254,250,.7); }
:where(.falke-customer) .dashboard-edit-link:hover { border-color: #9a4d00; }
.falke-customer .dashboard-logout { margin: 0 0 0 auto; }
.falke-customer .dashboard-edit-link + .dashboard-logout { margin-left: -28px; }
.falke-customer .dashboard-logout button { background: none; border: 0; padding: 8px 0 8px 10px; font: inherit; font-size: 11px; color: #74796b; cursor: pointer; }

/* Report content is opaque; customer color identifies the report's owner. */
.falke-app.falke-report-page { --brand: var(--falke-customer-ink); --brand-soft: var(--falke-customer-soft); }
.falke-app.falke-report-page > main { width: 100%; max-width: 1120px; margin: 0 auto; padding: 30px 24px 64px; }
.falke-app.falke-report-page :where(h1, h2, p) { margin: 0; }
.falke-app.falke-report-page :where(.report-hero, .archive-hero) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; margin-bottom: 16px; padding: 22px; border: 1px solid var(--falke-border); border-left: 4px solid var(--falke-customer-color); border-radius: var(--falke-radius-card); background: var(--falke-surface); box-shadow: none; }
.falke-app.falke-report-page :where(.report-brand, .archive-brand) { min-width: 0; padding: 0; border-radius: 0; background: transparent; color: var(--falke-ink); }
.falke-app.falke-report-page :where(.report-brand-top, .archive-brand-top) { display: flex; align-items: center; gap: 14px; min-width: 0; }
.falke-app.falke-report-page :where(.report-brand-top, .archive-brand-top) > div { min-width: 0; }
.falke-app.falke-report-page :where(.report-brand img, .archive-brand img) { width: 54px; height: 54px; flex: 0 0 54px; object-fit: contain; padding: 6px; border: 1px solid var(--falke-border); border-radius: 12px; background: #fff; }
.falke-app.falke-report-page .eyebrow { margin: 0 0 8px; color: var(--falke-customer-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.falke-app.falke-report-page h1 { font-family: var(--falke-font-ui); font-size: clamp(25px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.falke-app.falke-report-page .count-chip { display: inline-flex; align-items: center; justify-content: center; justify-self: start; padding: 8px 12px; border-radius: var(--falke-radius-pill); background: var(--falke-customer-soft); color: var(--falke-customer-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.falke-app.falke-report-page .report-summary { display: grid; gap: 9px; min-width: 240px; }
.falke-app.falke-report-page .summary-chip { display: grid; gap: 3px; min-width: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; background: var(--falke-soft); }
.falke-app.falke-report-page .summary-chip span { color: var(--falke-muted); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.falke-app.falke-report-page .summary-chip strong { color: var(--falke-ink); font-size: 13px; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.falke-app.falke-report-page :where(.report-toolbar, .archive-toolbar) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--falke-chrome-border); border-radius: 16px; background: var(--falke-glass); box-shadow: var(--falke-chrome-shadow); -webkit-backdrop-filter: blur(var(--falke-glass-blur)); backdrop-filter: blur(var(--falke-glass-blur)); }
.falke-app.falke-report-page .muted { color: var(--falke-muted); font-size: 13px; line-height: 1.6; }
.falke-app.falke-report-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 10px 14px; border: 1px solid var(--falke-customer-border); border-radius: var(--falke-radius-control); background: var(--falke-customer-soft); color: var(--falke-customer-ink); font: 600 14px/1.4 var(--falke-font-ui); text-align: center; text-decoration: none; white-space: normal; }
.falke-app.falke-report-page .button:hover { box-shadow: inset 0 0 0 1px var(--falke-customer-border); }
.falke-app.falke-report-page :where(.report-content, .archive-list) { min-width: 0; border: 1px solid var(--falke-border); border-radius: var(--falke-radius-card); background: var(--falke-surface); box-shadow: none; }
.falke-app.falke-report-page .report-content { padding: clamp(22px, 4vw, 42px); border-top: 3px solid var(--falke-customer-border); }
.falke-app.falke-report-page .report-content::before { content: none; }
.falke-app.falke-report-page .report-text { max-width: 78ch; margin: 0 auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--falke-ink); font-size: 16px; line-height: 1.8; }
.falke-app.falke-report-page .archive-list { display: grid; gap: 0; padding: 8px 20px; }
.falke-app.falke-report-page .archive-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--falke-border); border-radius: 0; background: var(--falke-surface); }
.falke-app.falke-report-page .archive-row:last-child { border-bottom: 0; }
.falke-app.falke-report-page .archive-row-main { display: grid; gap: 5px; min-width: 0; }
.falke-app.falke-report-page .archive-title { color: var(--falke-ink); font-size: 16px; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.falke-app.falke-report-page .archive-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--falke-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.falke-app.falke-report-page .empty { padding: 26px 0; color: var(--falke-muted); text-align: left; line-height: 1.6; }

@media (max-width: 1100px) {
  :where(.falke-customer) .dashboard-topbar { padding: 16px 24px; gap: 24px; }
}
@media (max-width: 900px) {
  .falke-app.falke-report-page .report-hero { grid-template-columns: minmax(0, 1fr); }
  .falke-app.falke-report-page .report-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
}
@media (max-width: 800px) {
  .falke-customer .dashboard-edit-link + .dashboard-logout { margin-left: 0; }
}
@media (max-width: 700px) {
  :where(.falke-customer) .dashboard-topbar { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  :where(.falke-customer) .dashboard-wordmark { font-size: 20px; }
  :where(.falke-customer) .dashboard-wordmark span { display: none; }
  :where(.falke-customer) .dashboard-topbar nav { margin-left: auto; }
  :where(.falke-customer) .dashboard-topbar nav a { padding: 7px 12px; }
  :where(.falke-customer) .dashboard-edit-link { width: 100%; justify-content: space-between; }
}
@media (max-width: 600px) {
  .falke-app.falke-report-page > main { padding: 16px 12px 40px; }
  .falke-app.falke-report-page :where(.report-hero, .archive-hero) { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 18px; }
  .falke-app.falke-report-page .report-summary { grid-template-columns: minmax(0, 1fr); }
  .falke-app.falke-report-page :where(.report-brand-top, .archive-brand-top) { gap: 12px; }
  .falke-app.falke-report-page :where(.report-toolbar, .archive-toolbar) { align-items: flex-start; flex-direction: column; }
  .falke-app.falke-report-page .report-content { padding: 20px 16px; }
  .falke-app.falke-report-page .report-text { font-size: 15px; }
  .falke-app.falke-report-page .archive-list { padding: 4px 16px; }
  .falke-app.falke-report-page .archive-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .falke-app.falke-report-page .archive-row .button { justify-self: start; }
}
@media (prefers-reduced-transparency: reduce) {
  :where(.falke-customer) .dashboard-topbar { background: #fffefa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .falke-app.falke-report-page :where(.report-toolbar, .archive-toolbar) { background: var(--falke-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  :where(.falke-customer) .dashboard-topbar { display: none; }
  .falke-app.falke-report-page { background: white; color: black; }
  .falke-app.falke-report-page > main { max-width: none; padding: 0; }
  .falke-app.falke-report-page :where(.report-toolbar, .archive-toolbar) { display: none; }
  .falke-app.falke-report-page :where(.report-hero, .archive-hero, .report-content, .archive-list) { border: 0; box-shadow: none; }
  .falke-app.falke-report-page .report-text { white-space: pre-wrap; }
}
