/* Roberin The New global shell — 2026-06-26g
 * Applies the approved The New/newsprint treatment to the site header and footer.
 * The existing logo assets stay untouched; this only normalizes shell layout/tokens.
 */

body {
  --tn-shell-ink: #1a1208;
  --tn-shell-muted: #5a4a30;
  --tn-shell-line: #b8a888;
  --tn-shell-line-soft: #ddd4be;
  --tn-shell-paper: #faf6ee;
  --tn-shell-wash: #f5efdf;
  --tn-shell-button: #ede6d4;
  --tn-shell-button-hover: #dfd4bb;
  --tn-shell-accent: #c44a00;
  --tn-shell-dark-bg: #201811;
  --tn-shell-dark-panel: #251b12;
  --tn-shell-dark-card: #2c2015;
  --tn-shell-dark-control: #21170f;
  --tn-shell-dark-line: #5f4a32;
  --tn-shell-dark-text: #f7ead1;
  --tn-shell-dark-muted: #ead9bd;
}

body :is(.cs-header, .cs-header *, .cs-footer, .cs-footer *, .cs-lang-dropdown, .cs-lang-dropdown *, .cs-mobile-menu-dropdown, .cs-mobile-menu-dropdown *) {
  box-sizing: border-box !important;
}

body .cs-header,
body .cs-header.cs-header-stretch {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: var(--tn-shell-paper) !important;
  background-image:
    radial-gradient(rgba(90, 74, 48, .13) .55px, transparent .7px),
    linear-gradient(rgba(184, 168, 136, .18) 1px, transparent 1px) !important;
  background-size: 12px 12px, 100% 100% !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tn-shell-line-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .cs-header__outer {
  width: 100% !important;
  margin: 0 !important;
  padding: 7px 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .cs-header.cs-header-stretch .cs-header__outer > .cs-container,
body .cs-header .cs-container,
body .cs-header__outer > .cs-container,
body footer.cs-footer .cs-container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .cs-header__inner {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .cs-header__inner-desktop .cs-header__col,
body .cs-header__inner-mobile .cs-header__col {
  min-width: 0 !important;
}

body .cs-header__main-nav,
body .cs-header__menu {
  display: flex !important;
  align-items: center !important;
}

body .cs-header__menu {
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .cs-header__menu li {
  margin: 0 !important;
  padding: 0 !important;
}

body .cs-header__menu a,
body .cs-lang-dropdown a,
body .cs-mobile-menu-dropdown a {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
}

body .cs-header__menu a {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 9px !important;
  color: var(--tn-shell-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 900 12px/1.15 "Courier New", monospace !important;
  letter-spacing: -.02em !important;
  transition: background-color 120ms ease, color 120ms ease !important;
}

body .cs-header__menu a:hover,
body .cs-header__menu a:focus-visible {
  color: var(--tn-shell-ink) !important;
  background: var(--tn-shell-button) !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 2px !important;
  transform: none !important;
  box-shadow: none !important;
}

body .cs-header__logo-outer,
body .cs-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body .cs-header__logo,
body .cs-header__logo:visited,
body .cs-header__logo:hover,
body .cs-header__logo:focus,
body .cs-logo a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline-offset: 3px !important;
}

body .cs-header__toggles {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
}

body .cs-header__toggle,
body .cs-header__scheme-toggle,
body .roberin-tool-search-toggle__button,
body .cs-lang-current,
body .cs-mobile-menu-button {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: rgba(237, 230, 212, .78) !important;
  border: 1px solid var(--tn-shell-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease !important;
}

body .cs-header__toggle:hover,
body .cs-header__scheme-toggle:hover,
body .roberin-tool-search-toggle__button:hover,
body .cs-lang-current:hover,
body .cs-mobile-menu-button:hover,
body .cs-header__toggle:focus-visible,
body .cs-header__scheme-toggle:focus-visible,
body .roberin-tool-search-toggle__button:focus-visible,
body .cs-lang-current:focus-visible,
body .cs-mobile-menu-button:focus-visible {
  color: var(--tn-shell-ink) !important;
  background: var(--tn-shell-button-hover) !important;
  border-color: var(--tn-shell-ink) !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 2px !important;
  transform: none !important;
  box-shadow: none !important;
}

body .cs-header__toggle svg,
body .cs-header__scheme-toggle svg,
body .roberin-tool-search-toggle__button svg,
body .roberin-tool-search-toggle__button i,
body .cs-lang-current svg,
body .cs-mobile-menu-button svg,
body .cs-mobile-menu-button i {
  width: 15px !important;
  height: 15px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: currentColor !important;
  stroke: currentColor !important;
  fill: none !important;
}

body .cs-lang-switcher,
body .cs-mobile-menu-toggle {
  position: relative !important;
}

body .cs-lang-dropdown,
body .cs-mobile-menu-dropdown {
  min-width: 168px !important;
  max-width: calc(100vw - 20px) !important;
  margin-top: 8px !important;
  padding: 8px !important;
  color: var(--tn-shell-ink) !important;
  background: var(--tn-shell-paper) !important;
  border: 1px solid var(--tn-shell-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .cs-lang-dropdown li,
body .cs-mobile-menu-dropdown li {
  margin: 0 !important;
  padding: 0 !important;
}

body .cs-lang-dropdown a,
body .cs-mobile-menu-dropdown a {
  display: block !important;
  padding: 8px 9px !important;
  color: var(--tn-shell-ink) !important;
  background: transparent !important;
  font: 900 12px/1.25 "Courier New", monospace !important;
}

body .cs-lang-dropdown li.active a,
body .cs-lang-dropdown a:hover,
body .cs-mobile-menu-dropdown a:hover,
body .cs-lang-dropdown a:focus-visible,
body .cs-mobile-menu-dropdown a:focus-visible {
  color: var(--tn-shell-ink) !important;
  background: var(--tn-shell-button) !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 1px !important;
}

body footer.cs-footer,
body footer.cs-footer[data-scheme] {
  width: 100% !important;
  margin: 46px 0 0 !important;
  padding: 0 0 34px !important;
  color: var(--tn-shell-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: var(--tn-shell-paper) !important;
  background-image:
    radial-gradient(rgba(90, 74, 48, .13) .55px, transparent .7px),
    linear-gradient(rgba(184, 168, 136, .18) 1px, transparent 1px) !important;
  background-size: 12px 12px, 100% 100% !important;
  border: 0 !important;
  border-top: 1px solid var(--tn-shell-line-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body footer.cs-footer .cs-footer__item,
body footer.cs-footer .cs-footer__item-bottom-bar {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer.cs-footer .cs-footer__item-inner {
  width: 100% !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 22px 0 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--tn-shell-line-soft) !important;
  box-shadow: none !important;
}

body footer.cs-footer .cs-footer__col,
body footer.cs-footer .cs-col-right,
body footer.cs-footer .cs-footer__copyright {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tn-shell-muted) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: right !important;
  font: 12px/1.55 "Courier New", monospace !important;
  letter-spacing: -.01em !important;
}

body footer.cs-footer a,
body footer.cs-footer .cs-footer__copyright a {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

body footer.cs-footer a:hover,
body footer.cs-footer a:focus-visible {
  color: var(--tn-shell-accent) !important;
  background: transparent !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 2px !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header.cs-header-stretch,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header.cs-header-stretch,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header.cs-header-stretch,
body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer,
body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer[data-scheme],
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer[data-scheme],
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer[data-scheme] {
  color: var(--tn-shell-dark-text) !important;
  background-color: var(--tn-shell-dark-bg) !important;
  background-image:
    radial-gradient(rgba(247, 234, 209, .12) .55px, transparent .7px),
    linear-gradient(rgba(247, 234, 209, .07) 1px, transparent 1px) !important;
  background-size: 12px 12px, 100% 100% !important;
  border-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header :is(.cs-header__outer, .cs-header__outer > .cs-container, .cs-header__inner),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header :is(.cs-header__outer, .cs-header__outer > .cs-container, .cs-header__inner),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header :is(.cs-header__outer, .cs-header__outer > .cs-container, .cs-header__inner),
body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer :is(.cs-container, .cs-footer__item, .cs-footer__item-bottom-bar, .cs-footer__item-inner),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer :is(.cs-container, .cs-footer__item, .cs-footer__item-bottom-bar, .cs-footer__item-inner),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer :is(.cs-container, .cs-footer__item, .cs-footer__item-bottom-bar, .cs-footer__item-inner) {
  color: inherit !important;
  background: transparent !important;
  border-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header__menu a,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header__menu a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header__menu a,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-lang-dropdown a,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-lang-dropdown a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-lang-dropdown a,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-mobile-menu-dropdown a,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-mobile-menu-dropdown a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-mobile-menu-dropdown a,
body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer a,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer a {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header__menu a:hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header__menu a:focus-visible,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header__menu a:hover,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header__menu a:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header__menu a:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header__menu a:focus-visible {
  background: var(--tn-shell-dark-card) !important;
  outline-color: var(--tn-shell-dark-text) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button) {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: var(--tn-shell-dark-control) !important;
  border-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):focus-visible,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):hover,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):hover,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button):focus-visible {
  background: var(--tn-shell-dark-card) !important;
  border-color: var(--tn-shell-dark-text) !important;
  outline-color: var(--tn-shell-dark-text) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) :is(.cs-lang-dropdown, .cs-mobile-menu-dropdown),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) :is(.cs-lang-dropdown, .cs-mobile-menu-dropdown),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) :is(.cs-lang-dropdown, .cs-mobile-menu-dropdown) {
  color: var(--tn-shell-dark-text) !important;
  background: var(--tn-shell-dark-panel) !important;
  border-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) :is(.cs-lang-dropdown li.active a, .cs-lang-dropdown a:hover, .cs-mobile-menu-dropdown a:hover),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) :is(.cs-lang-dropdown li.active a, .cs-lang-dropdown a:hover, .cs-mobile-menu-dropdown a:hover),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) :is(.cs-lang-dropdown li.active a, .cs-lang-dropdown a:hover, .cs-mobile-menu-dropdown a:hover) {
  background: var(--tn-shell-dark-card) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer :is(.cs-footer__copyright, .cs-footer__copyright p, .cs-footer__copyright span, .cs-footer__col),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer :is(.cs-footer__copyright, .cs-footer__copyright p, .cs-footer__copyright span, .cs-footer__col),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer :is(.cs-footer__copyright, .cs-footer__copyright p, .cs-footer__copyright span, .cs-footer__col) {
  color: var(--tn-shell-dark-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer .cs-footer__item-inner,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer .cs-footer__item-inner,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer .cs-footer__item-inner {
  border-top-color: var(--tn-shell-dark-line) !important;
}

/* Final shell overrides with old selector parity: these out-rank the previous
   950px/header-button/footer-badge rules without touching logo assets. */
body .cs-header.cs-header-stretch .cs-header__inner,
body .cs-header .cs-header__inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body:is([data-scheme="light"]) .cs-header[data-scheme],
body:is([data-scheme="light"]) .cs-header[data-scheme].cs-header-stretch,
body:not([data-scheme]) .cs-header[data-scheme],
body:not([data-scheme]) .cs-header[data-scheme].cs-header-stretch,
body[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) .cs-header[data-scheme],
body[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) .cs-header[data-scheme].cs-header-stretch,
body:is([data-scheme="light"]) footer.cs-footer[data-scheme],
body:not([data-scheme]) footer.cs-footer[data-scheme],
body[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) footer.cs-footer[data-scheme] {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: var(--tn-shell-paper) !important;
  background-image:
    radial-gradient(rgba(90, 74, 48, .13) .55px, transparent .7px),
    linear-gradient(rgba(184, 168, 136, .18) 1px, transparent 1px) !important;
  background-size: 12px 12px, 100% 100% !important;
  border-color: var(--tn-shell-line-soft) !important;
  box-shadow: none !important;
}

body .cs-header :is(.cs-header__toggle, .cs-header__scheme-toggle, .cs-site-scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button) {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: rgba(237, 230, 212, .78) !important;
  border: 1px solid var(--tn-shell-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header :is(.cs-header__toggle, .cs-header__scheme-toggle, .cs-site-scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button),
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header :is(.cs-header__toggle, .cs-header__scheme-toggle, .cs-site-scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button),
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .cs-header :is(.cs-header__toggle, .cs-header__scheme-toggle, .cs-site-scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button) {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: var(--tn-shell-dark-control) !important;
  border: 1px solid var(--tn-shell-dark-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 22px 0 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--tn-shell-line-soft) !important;
  box-shadow: none !important;
}

body footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner::before {
  content: none !important;
  display: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
  color: var(--tn-shell-dark-muted) !important;
  background: transparent !important;
  border-top-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer .cs-footer__copyright a,
body[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer .cs-footer__copyright a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) footer.cs-footer .cs-footer__copyright a {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Higher-specificity theme-wide overrides for page-specific home/archive shell CSS. */
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__outer > .cs-container,
body.wp-theme-intro .cs-header .cs-container,
body.wp-theme-intro .cs-header__outer > .cs-container,
body.wp-theme-intro footer.cs-footer .cs-container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__inner,
body.wp-theme-intro .cs-header .cs-header__inner,
body.wp-theme-intro .cs-header__inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.wp-theme-intro[data-scheme="light"] .cs-header,
body.wp-theme-intro[data-scheme="light"] .cs-header.cs-header-stretch,
body.wp-theme-intro[data-scheme="light"] footer.cs-footer,
body.wp-theme-intro[data-scheme="light"] footer.cs-footer[data-scheme],
body.wp-theme-intro:not([data-scheme]) .cs-header,
body.wp-theme-intro:not([data-scheme]) .cs-header.cs-header-stretch,
body.wp-theme-intro:not([data-scheme]) footer.cs-footer,
body.wp-theme-intro:not([data-scheme]) footer.cs-footer[data-scheme],
body.wp-theme-intro[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) .cs-header,
body.wp-theme-intro[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) .cs-header.cs-header-stretch,
body.wp-theme-intro[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) footer.cs-footer,
body.wp-theme-intro[data-scheme="auto"]:not([data-d="dark"]):not([data-l="dark"]) footer.cs-footer[data-scheme] {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: var(--tn-shell-paper) !important;
  background-image:
    radial-gradient(rgba(90, 74, 48, .13) .55px, transparent .7px),
    linear-gradient(rgba(184, 168, 136, .18) 1px, transparent 1px) !important;
  background-size: 12px 12px, 100% 100% !important;
  border-color: var(--tn-shell-line-soft) !important;
  box-shadow: none !important;
}

body.wp-theme-intro footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
  min-height: 72px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  padding: 22px 0 0 !important;
  color: inherit !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-top: 1px solid var(--tn-shell-line-soft) !important;
  box-shadow: none !important;
}

body.wp-theme-intro footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner::before {
  content: none !important;
  display: none !important;
}

body.wp-theme-intro footer.cs-footer .cs-footer__copyright a {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

body.wp-theme-intro .cs-header .cs-header__menu a {
  color: var(--tn-shell-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
  color: var(--tn-shell-dark-muted) !important;
  background: transparent !important;
  background-image: none !important;
  border-top-color: var(--tn-shell-dark-line) !important;
  box-shadow: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) footer.cs-footer .cs-footer__copyright a,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) footer.cs-footer .cs-footer__copyright a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) footer.cs-footer .cs-footer__copyright a {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .cs-header,
  body[data-scheme="auto"] .cs-header.cs-header-stretch,
  body[data-scheme="auto"] footer.cs-footer,
  body[data-scheme="auto"] footer.cs-footer[data-scheme] {
    color: var(--tn-shell-dark-text) !important;
    background-color: var(--tn-shell-dark-bg) !important;
    background-image:
      radial-gradient(rgba(247, 234, 209, .12) .55px, transparent .7px),
      linear-gradient(rgba(247, 234, 209, .07) 1px, transparent 1px) !important;
    background-size: 12px 12px, 100% 100% !important;
    border-color: var(--tn-shell-dark-line) !important;
  }

  body[data-scheme="auto"] .cs-header :is(.cs-header__outer, .cs-header__outer > .cs-container, .cs-header__inner),
  body[data-scheme="auto"] footer.cs-footer :is(.cs-container, .cs-footer__item, .cs-footer__item-bottom-bar, .cs-footer__item-inner) {
    color: inherit !important;
    background: transparent !important;
    border-color: var(--tn-shell-dark-line) !important;
    box-shadow: none !important;
  }

  body[data-scheme="auto"] .cs-header__menu a,
  body[data-scheme="auto"] .cs-lang-dropdown a,
  body[data-scheme="auto"] .cs-mobile-menu-dropdown a,
  body[data-scheme="auto"] footer.cs-footer a,
  body[data-scheme="auto"] footer.cs-footer :is(.cs-footer__copyright, .cs-footer__copyright p, .cs-footer__copyright span, .cs-footer__col) {
    color: var(--tn-shell-dark-text) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  body[data-scheme="auto"] :is(.cs-header__toggle, .cs-header__scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button) {
    color: var(--tn-shell-dark-text) !important;
    background: var(--tn-shell-dark-control) !important;
    border-color: var(--tn-shell-dark-line) !important;
  }

  body[data-scheme="auto"] :is(.cs-lang-dropdown, .cs-mobile-menu-dropdown) {
    color: var(--tn-shell-dark-text) !important;
    background: var(--tn-shell-dark-panel) !important;
    border-color: var(--tn-shell-dark-line) !important;
  }
}

@media (max-width: 900px) {
  body .cs-header__outer {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  body .cs-header.cs-header-stretch .cs-header__outer > .cs-container,
  body .cs-header .cs-container,
  body .cs-header__outer > .cs-container,
  body footer.cs-footer .cs-container {
    width: calc(100% - 10px) !important;
    max-width: calc(100% - 10px) !important;
  }

  body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__outer > .cs-container,
  body.wp-theme-intro .cs-header .cs-container,
  body.wp-theme-intro .cs-header__outer > .cs-container,
  body.wp-theme-intro footer.cs-footer .cs-container {
    width: calc(100% - 10px) !important;
    max-width: calc(100% - 10px) !important;
  }

  body .cs-header__inner {
    min-height: 44px !important;
  }

  body .cs-header__inner-mobile .cs-col-left,
  body .cs-header__inner-mobile .cs-col-right {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  body .cs-header__inner-mobile .cs-col-center {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  body .cs-header__toggles {
    gap: 5px !important;
  }

  body .cs-header__toggle,
  body .cs-header__scheme-toggle,
  body .roberin-tool-search-toggle__button,
  body .cs-lang-current,
  body .cs-mobile-menu-button {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  body .cs-header :is(.cs-header__toggle, .cs-header__scheme-toggle, .cs-site-scheme-toggle, .roberin-tool-search-toggle__button, .cs-lang-current, .cs-mobile-menu-button) {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  body .cs-lang-dropdown {
    right: 0 !important;
    left: auto !important;
  }

  body footer.cs-footer {
    margin-top: 34px !important;
    padding-bottom: 24px !important;
  }

  body footer.cs-footer .cs-footer__item-inner {
    min-height: 64px !important;
    justify-content: center !important;
    padding-top: 18px !important;
  }

  body footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
    min-height: 64px !important;
    justify-content: center !important;
    padding-top: 18px !important;
  }

  body.wp-theme-intro footer.cs-footer .cs-footer__item-bottom-bar .cs-footer__item-inner {
    min-height: 64px !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 18px !important;
  }

  body footer.cs-footer .cs-footer__col,
  body footer.cs-footer .cs-col-right,
  body footer.cs-footer .cs-footer__copyright {
    width: 100% !important;
    text-align: center !important;
    font-size: 11px !important;
  }
}


/* 2026-06-26e follow-up: make every page use the same home-header link hover/base treatment. */
body.wp-theme-intro .cs-header .cs-header__menu a,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a {
  color: #574838 !important;
  -webkit-text-fill-color: currentColor !important;
  background: #fff8ed !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.wp-theme-intro .cs-header .cs-header__menu a:hover,
body.wp-theme-intro .cs-header .cs-header__menu a:focus-visible,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:hover,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:focus-visible {
  color: #3e3126 !important;
  -webkit-text-fill-color: currentColor !important;
  background: #ebf0de !important;
  border: 0 !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
  transform: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: rgba(33, 23, 15, .78) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:hover,
body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:focus-visible,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:hover,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:focus-visible {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background: var(--tn-shell-dark-card) !important;
  outline-color: var(--tn-shell-dark-text) !important;
  box-shadow: none !important;
}

@media (prefers-color-scheme: dark) {
  body.wp-theme-intro[data-scheme="auto"] .cs-header .cs-header__menu a {
    color: var(--tn-shell-dark-text) !important;
    -webkit-text-fill-color: currentColor !important;
    background: rgba(33, 23, 15, .78) !important;
  }

  body.wp-theme-intro[data-scheme="auto"] .cs-header .cs-header__menu a:hover,
  body.wp-theme-intro[data-scheme="auto"] .cs-header .cs-header__menu a:focus-visible {
    background: var(--tn-shell-dark-card) !important;
    outline-color: var(--tn-shell-dark-text) !important;
  }
}

/* Home already has a header 문의 link; remove the duplicated homepage contact form block only on the main home. */
body.wp-theme-intro.home .cs-contact-form {
  display: none !important;
}


/* 2026-06-26f: visited/current menu links must keep the same hover fill as the home page. */
body.wp-theme-intro .cs-header .cs-header__menu a:hover,
body.wp-theme-intro .cs-header .cs-header__menu a:visited:hover,
body.wp-theme-intro .cs-header .cs-header__menu a:focus-visible,
body.wp-theme-intro .cs-header .cs-header__menu a:visited:focus-visible,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:hover,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:visited:hover,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:focus-visible,
body.wp-theme-intro .cs-header.cs-header-stretch .cs-header__menu a:visited:focus-visible {
  color: #3e3126 !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: #ebf0de !important;
  background-image: none !important;
  border: 0 !important;
  outline: 1px solid var(--tn-shell-ink) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:hover,
body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:visited:hover,
body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:focus-visible,
body.wp-theme-intro:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-header .cs-header__menu a:visited:focus-visible,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:hover,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:visited:hover,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:focus-visible,
body.wp-theme-intro[data-scheme="auto"]:is([data-d="dark"], [data-l="dark"]) .cs-header .cs-header__menu a:visited:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:visited:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body.wp-theme-intro:not([data-scheme="light"]) .cs-header .cs-header__menu a:visited:focus-visible {
  color: var(--tn-shell-dark-text) !important;
  -webkit-text-fill-color: currentColor !important;
  background-color: var(--tn-shell-dark-card) !important;
  background-image: none !important;
  outline-color: var(--tn-shell-dark-text) !important;
  box-shadow: none !important;
}

/* 2026-06-26 lower-flow rhythm: remove legacy site-bottom spacer and let the footer own the final gap. */
body.wp-theme-intro .cs-wrapper > .cs-site,
body.wp-theme-intro .cs-site-content {
  margin-bottom: 0 !important;
}

body.wp-theme-intro footer.cs-footer,
body.wp-theme-intro footer.cs-footer[data-scheme] {
  margin-top: 34px !important;
}

@media (max-width: 900px) {
  body.wp-theme-intro footer.cs-footer,
  body.wp-theme-intro footer.cs-footer[data-scheme] {
    margin-top: 32px !important;
  }
}
