/* Scoped shared-site styles; reading controls keep their existing styling. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1; display: flex; flex-direction: column; }
.brand-header, .brand-footer { flex-shrink: 0; }
.access-screen { min-height: 0; flex: 1; padding: 24px 0; }
.access-layout { gap: 18px; }
.access-card { padding: 24px; }
.access-card h1 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.access-logo { width: 72px; height: 72px; }
.access-card .message:empty { display: none; }
.access-form { margin-top: 18px; }
.brand-header, .brand-footer, .brand-dialog {
  --brand-ink: #17352f;
  --brand-muted: #62716d;
  --brand-green: #1f6454;
  --brand-line: #dfe4dd;
  color: var(--brand-ink);
}
.brand-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header.brand-header { display: block; padding: 0; z-index: 50; background: rgba(251,250,245,.88); border-color: rgba(23,53,47,.08); backdrop-filter: blur(18px); }
.brand-nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-header .brand { gap: 11px; color: var(--brand-ink); }
.brand-header .brand-logo { border-radius: 13px; box-shadow: 0 7px 20px rgba(31,100,84,.18); }
.brand-header .brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: -.2px; }
.brand-header .brand small { margin-top: 4px; color: var(--brand-muted); font-size: 11px; letter-spacing: .18em; }
.brand-navigation { display: flex; align-items: center; gap: 7px; }
.brand-navigation a { display: inline-flex; align-items: center; gap: 3px; padding: 9px 13px; border-radius: 999px; color: #53635f; text-decoration: none; font-size: 14px; font-weight: 650; }
.brand-navigation a:hover, .brand-navigation .active { color: var(--brand-green); background: #e9f1ec; }
.brand-navigation .active::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #f39a78; }
.brand-menu-button { width: 42px; height: 42px; border: 0; padding: 10px; border-radius: 12px; background: #edf2ed; color: var(--brand-ink); }
.brand-menu-button svg { width: 22px; height: 22px; }
[hidden] { display: none !important; }
.public-intro { padding: 0; }
.public-intro-details summary { padding: 18px 24px; cursor: pointer; color: #17352f; }
.public-intro-details summary h2 { display: inline; margin: 0; font-size: clamp(18px, 2vw, 24px); }
.public-intro-body { padding: 0 24px 24px; }
.public-intro-body > p { color: var(--muted); line-height: 1.7; }
.brand-footer { margin-top: 0; border-top: 1px solid var(--brand-line); background: #fff; }
.brand-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.brand-footer-identity { display: flex; align-items: center; gap: 11px; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.brand-footer-identity > a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.brand-footer-identity img { border-radius: 10px; }
.brand-footer-identity span { color: var(--brand-green); }
.brand-social-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.brand-social-links button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--brand-muted); font-size: 14px; font-weight: 500; }
.brand-social-links svg { width: 22px; height: 22px; }
.brand-social-links button:hover { color: var(--brand-green); }
.brand-footer-meta { text-align: right; }
.brand-footer-meta nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 17px; }
.brand-footer-meta a { color: var(--brand-muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.brand-footer-meta a:hover { color: var(--brand-green); }
.brand-copyright { padding-top: 8px; color: #89948f; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.brand-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 36px; border: 1px solid var(--brand-line); border-radius: 26px; background: #fbfaf5; box-shadow: 0 18px 50px rgba(30,64,55,.18); }
.brand-dialog::backdrop { background: rgba(23,53,47,.45); }
.brand-dialog h2 { margin: 12px 0; font-family: Georgia, serif; font-size: 29px; }
.brand-dialog p { color: var(--brand-muted); line-height: 1.6; }
.brand-dialog .brand-eyebrow { color: var(--brand-green); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.brand-dialog-close { position: absolute; right: 14px; top: 12px; min-width: 44px; min-height: 44px; background: #edf2ed; color: var(--brand-ink); border: 0; border-radius: 12px; font-size: 24px; }
.brand-channel-options { display: grid; gap: 12px; margin-top: 24px; }
.brand-channel-options a { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--brand-line); border-radius: 14px; padding: 16px; color: var(--brand-ink); text-decoration: none; }
#brandQrPanel { text-align: center; }
#brandQrImage { display: block; width: min(240px, 100%); height: auto; margin: 18px auto; background: #fff; }
.brand-tiktok-link { display: inline-flex; justify-content: center; width: 100%; padding: 12px; border-radius: 12px; background: var(--brand-green); color: white; text-decoration: none; }
.brand-header a:focus-visible, .brand-header button:focus-visible, .brand-footer a:focus-visible, .brand-footer button:focus-visible, .brand-dialog a:focus-visible, .brand-dialog button:focus-visible, .public-intro-details summary:focus-visible { outline: 2px solid #1f6454; outline-offset: 4px; }
@media (max-width: 1050px) {
  .brand-footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .brand-footer-meta { text-align: center; }
  .brand-footer-meta nav { justify-content: center; }
}
@media (max-width: 900px) {
  .brand-nav-shell { flex-wrap: wrap; gap: 0 12px; padding: 14px 0; }
  .brand-navigation { flex-basis: 100%; flex-wrap: wrap; padding-top: 12px; }
  .brand-navigation a { min-height: 44px; }
}
@media (max-width: 650px) {
  .brand-shell { width: calc(100% - 26px); }
  .brand-nav-shell { min-height: 68px; padding: 13px 0; }
  .brand-header .brand-logo { width: 38px; height: 38px; }
  .brand-header .brand strong { font-size: 15px; }
  .brand-footer-inner { flex-direction: column; gap: 10px; padding: 14px 0; }
  .brand-dialog { padding: 28px 22px 22px; border-radius: 23px; }
  .brand-dialog h2 { font-size: 26px; }
}

/* Accepted shared brand sample; only chrome and brand-information modal. */
.site-header .brand img { object-fit: contain; border-radius: 7px; box-shadow: none; }
.site-header .brand-copy strong, .site-header .brand-copy small { display: block; }
.site-header .brand-copy strong { font: 700 17px/1.1 Georgia, serif; }
.site-header .brand-copy small { font-size: 11px; letter-spacing: normal; }
.site-header .nav-link { font: 500 14px/21px Inter, ui-sans-serif, system-ui, sans-serif; }
.site-footer .footer-inner { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 0; text-align: left; }
.site-footer .copyright { margin: 0; padding: 0; color: #62716d; font-size: 13px; line-height: 1.5; letter-spacing: normal; text-transform: none; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 18px; max-width: 100%; }
.site-footer .footer-links a, .site-footer .footer-links button { display: inline-flex; align-items: center; min-height: 44px; border: 0; border-radius: 0; padding: 0; background: transparent; color: #62716d; font: 500 14px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
.site-footer .footer-links a:hover, .site-footer .footer-links button:hover { color: #1f6454; }
.site-footer a:focus-visible, .site-footer button:focus-visible, #brandAboutDialog a:focus-visible, #brandAboutDialog button:focus-visible { outline: 2px solid #1f6454; outline-offset: 3px; }
#brandAboutDialog { position: fixed; width: min(680px, calc(100% - 36px)); max-height: calc(100dvh - 36px); overflow: auto; padding: 32px; border: 0; border-radius: 16px; background: #fffefa; color: #17352f; font: 15px/1.7 Inter, ui-sans-serif, system-ui, sans-serif; }
#brandAboutDialog::backdrop { background: rgba(15,35,30,.6); }
#brandAboutDialog h2 { margin: 0 38px 20px 0; font: 500 28px/1.3 Georgia, serif; }
#brandAboutDialog h2 span { display: block; font: 14px/1.5 system-ui,sans-serif; }
#brandAboutDialog h3 { font: 500 21px/1.4 Georgia,serif; }
#brandAboutDialog section + section { border-top: 1px solid #dfe4dd; margin-top: 20px; padding-top: 12px; }
#brandAboutDialog .footer-social-links { justify-content: flex-start; }
#brandAboutDialog .modal-close { min-height: 44px; width: 44px; height: 44px; }
@media (max-width: 760px) { .site-footer .footer-inner { flex-direction: column; align-items: flex-start; } .site-footer .footer-links { justify-content: flex-start; } }
@media (max-width: 650px) { .site-header .brand img { width: 38px; height: 38px; } .site-header .brand-copy strong { font-size: 17px; } #brandAboutDialog { padding: 24px 18px; } }

.site-header.brand-header { background: #fff; backdrop-filter: none; }
.brand-header .brand-logo { width: 42px; height: 42px; }
.brand-navigation a { border-radius: 0; background: transparent; font: 500 14px/21px Inter,ui-sans-serif,system-ui,sans-serif; }
.brand-navigation a:hover, .brand-navigation .active { background: transparent; }
.brand-navigation .active { text-decoration: underline; text-decoration-color: #ffe15a; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.brand-navigation .active::before { display: none; }
#brandAboutDialog .brand-social-links { justify-content: flex-start; }
@media(max-width:650px) { .brand-header .brand-logo { width:38px; height:38px; } }

/* Match the accepted modal controls and link treatment explicitly. */
#brandAboutDialog .modal-close { position:absolute; top:15px; right:15px; display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:10px; border:0; border-radius:50%; background:#eef1ed; color:#17352f; }
#brandAboutDialog .modal-close svg { width:24px; height:24px; }
#brandAboutDialog a { color:#1f6454; text-underline-offset:3px; }
.site-footer .footer-links a { text-decoration:none; }
.site-footer .footer-links a:hover { text-decoration:underline; }

.brand-header .brand small { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }

.brand-header .brand-navigation .external-mini { display:block; width:13px; height:13px; flex:0 0 13px; }
