/* Public templates share geometry and accessibility, keeping --brand/--accent,
   per-company images, preset layout, and published content unchanged. */
body.site-home, body.finets-platform-public {
  --ds-font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --ds-space-1: 4px; --ds-space-2: 8px; --ds-space-3: 12px;
  --ds-space-4: 16px; --ds-space-6: 24px; --ds-space-8: 32px;
  --ds-radius-sm: 8px; --ds-radius: 12px;
  font-family: var(--ds-font);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.site-home *, body.finets-platform-public * { box-sizing: border-box; }
body.site-home :focus-visible, body.finets-platform-public :focus-visible {
  outline: 3px solid currentColor; outline-offset: 4px;
}
body.site-home :is(button, input, select, textarea),
body.site-home :is(.home-button, .menu-toggle) {
  font-family: inherit; border-radius: var(--ds-radius-sm); min-height: 40px;
}
body.site-home :is(.home-button, .menu-toggle) { padding: 8px 16px; }
body.site-home :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) {
  max-width: 100%; min-width: 0; font-size: 16px; padding: 8px 12px;
}
body.site-home textarea { min-height: 112px; resize: vertical; }
body.site-home :is(button, input, select, textarea):disabled { opacity: .6; cursor: not-allowed; }
body.site-home :is(p, li) { overflow-wrap: anywhere; }
body.site-home .home-actions { gap: var(--ds-space-3); }
body.site-home .brand-header nav a { min-height: 40px; display: inline-flex; align-items: center; }
body.site-home :is(.summary-grid article, .hq-slot) { border-radius: var(--ds-radius); }
body.site-home [aria-busy=true] { cursor: progress; }
body.site-home [hidden] { display: none !important; }
/* Keep the legacy board search and count controls inside the content column. */
body.finets-platform-public :is(.board-list-head, .download-board-list-head) {
  flex-wrap: wrap;
}
body.finets-platform-public :is(.board-search-area, .download-board-search-area) {
  flex-wrap: wrap;
  max-width: 100%;
}
body.finets-platform-public :is(.board-search-box, .download-board-search-box) {
  min-width: 0;
  flex: 1 1 240px;
}
@media (max-width: 800px) {
  body.site-home :is(button, .home-button, .menu-toggle, .brand-header nav a) { min-height: 44px; }
  body.site-home .home-container { max-width: calc(100% - 32px); }
  body.site-home :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select) { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  body.site-home *, body.finets-platform-public * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
