/* Layouts use the shared Records/Reporting foundation in path-theme.css. */
.wrap { width: min(1052px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: var(--navy); color: var(--white); border-bottom: 5px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-copy { display: grid; gap: 3px; }
.wordmark { font-size: 24px; line-height: 1.25; font-weight: 700; }
.wordmark sup { margin-left: 2px; }
.brand-subtitle { color: rgba(255, 255, 255, .76); font-size: 14px; }
.brand-image { max-width: 220px; max-height: 48px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; align-items: center; gap: 8px; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 12px; border: 1px solid transparent; border-radius: 6px; color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--white); }
.site-header a:focus-visible { outline-color: var(--white); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 24px; padding: 24px; margin-block: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.eyebrow { color: var(--red); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 8px; }
h1 { font-size: 32px; }
.hero-description { max-width: 720px; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-summary { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-summary strong { color: var(--text); }
.hero-note { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid #e6e0d2; border-radius: 6px; background: var(--cream); }
.note-index { color: var(--muted); font-size: 12px; }
.hero-note p { font-size: 17px; font-weight: 700; line-height: 1.5; }
.hero-note em { font-style: normal; }
.note-foot { color: var(--muted); font-size: 12px; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { width: 100%; height: 230px; border-radius: 6px; object-fit: cover; }
.hero-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero:has(.hero-photo:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(250px, 34%); }
.tools-section { margin-bottom: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; }
.section-heading h2 { font-size: 22px; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.card-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--red); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tool-card h3 { margin-top: 10px; font-size: 25px; }
.tool-card h3 a { color: inherit; text-decoration: none; }
.tool-card h3 a:hover { color: var(--red); text-decoration: underline; }
.tool-description { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.tool-card > .tool-description { margin-bottom: 20px; }
.tool-preview { overflow: hidden; margin: 0 0 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); }
.tool-preview img { width: 100%; height: auto; }
.card-action { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.card-action .app-actions { margin-top: 0; }
.detail-link { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-top: 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }
.install-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.install-link:hover { color: var(--navy); border-color: #c7d0d8; background: var(--hover); }
.access-note { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 20px 12px; color: var(--muted); font-size: 14px; }
.breadcrumbs .arrow-icon { width: 14px; height: 14px; }
.page-heading, .info-panel { margin-bottom: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.page-heading .eyebrow { margin-bottom: 8px; }
.feature-section { margin-bottom: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.feature-card h3 { font-size: 17px; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.info-panel h2 { font-size: 22px; }
.info-panel > p { max-width: 850px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.guidance-list { padding-left: 20px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.guidance-list li + li { margin-top: 8px; }
.guidance-list strong { color: var(--text); }
.app-screenshot { margin: 0 auto 24px; }
.app-screenshot figcaption { padding: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.access-section { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 24px; margin-bottom: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.access-section h2 { margin-top: 8px; font-size: 24px; }
.access-item h3 { font-size: 15px; }
.access-item p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.site-footer { border-top: 1px solid var(--border); background: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.footer-brand { color: var(--navy); font-size: 16px; font-weight: 700; text-decoration: none; }
.footer-brand:hover { color: var(--navy); text-decoration: underline; }
.footer-brand sup { margin-left: 2px; }
.footer-inner p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); font-size: 12px; }
.footer-meta a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.error-panel { padding: 28px; margin-block: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.error-panel h1 { margin-top: 8px; }
.error-panel .button { margin-top: 20px; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; gap: 14px 24px; }
  .brand { flex: 1 1 280px; }
  .hero { grid-template-columns: minmax(0, 1fr) 210px; }
  .hero:has(.hero-photo:not([hidden])) { grid-template-columns: minmax(0, 1fr) 250px; }
  h1 { font-size: 30px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { gap: 12px; padding-block: 16px; }
  .brand { flex-basis: 100%; }
  .wordmark { font-size: 24px; }
  .brand-subtitle { font-size: 13px; }
  .site-header nav { width: 100%; }
  .site-header nav a { min-height: 38px; padding: 8px 10px; font-size: 13px; }
  .hero, .hero:has(.hero-photo:not([hidden])) { grid-template-columns: 1fr; gap: 20px; padding: 20px; margin-block: 14px 20px; }
  .hero-note { display: none; }
  h1 { font-size: 28px; }
  .hero-description { font-size: 14px; }
  .hero-photo img { height: 220px; }
  .section-heading { flex-direction: column; gap: 4px; }
  .section-heading h2 { font-size: 22px; }
  .tool-grid, .feature-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 20px; }
  .tool-card h3 { font-size: 24px; }
  .page-heading, .info-panel { padding: 20px; margin-bottom: 20px; }
  .access-section { grid-template-columns: 1fr; gap: 20px; padding: 20px; margin-bottom: 20px; }
  .access-item { padding-top: 16px; border-top: 1px solid var(--border); }
  .footer-inner { align-items: flex-start; gap: 20px; padding-block: 18px; }
  .footer-inner p { max-width: 180px; }
  .footer-meta { text-align: right; }
  .error-panel { padding: 20px; margin-block: 14px; }
}
@media (max-width: 370px) {
  .app-actions { align-items: stretch; flex-direction: column; }
  .app-actions .button, .app-actions .install-link { width: 100%; }
  .footer-inner { flex-direction: column; gap: 14px; }
  .footer-meta { align-items: flex-start; text-align: left; }
}
@media print {
  body { background: var(--white); }
  .wrap { width: 100%; }
  .site-header { color: var(--text); background: var(--white); border-bottom: 2px solid var(--red); }
  .brand, .brand:hover, .brand-subtitle { color: var(--text); }
  .site-header nav, .hero-note, .hero-photo, .tool-preview { display: none !important; }
  .hero { display: block; margin-top: 16px; }
  h1 { font-size: 28px; }
  .tool-card, .feature-card, .info-panel, .access-section { break-inside: avoid; }
  .button { color: var(--navy); background: transparent; border-color: var(--border); }
}
