:root {
  color-scheme: light;
  --ink: #17201f;
  --ink-soft: #41504d;
  --muted: #71717a;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: #dce3de;
  --line-strong: #d4d4d8;
  --teal: #0f766e;
  --teal-deep: #0f5f59;
  --amber: #d99021;
  --mint: #dff4ef;
  --charcoal: #111716;
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-lg: 0 12px 30px rgba(23, 32, 31, 0.08);
  --focus-ring: #0f5f59;
  --radius: 8px;
  --radius-md: 6px;
  --max: 1124px;
  --font-sans:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  --font-mono:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    "Liberation Mono",
    monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.section-inner {
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  margin: 0 auto;
  padding: 44px 28px;
}

.section-kicker {
  margin: 0 0 12px;
  color: #72e4d5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(228, 228, 231, 0.9);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-width: 176px;
  height: 40px;
  flex-shrink: 0;
}

.brand-logo-frame {
  display: block;
  width: 100%;
  height: 34px;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: rgba(15, 95, 89, 0.22);
  background: var(--mint);
  color: var(--teal-deep);
}

.site-nav .nav-cta {
  margin-left: 4px;
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: #fff;
}

.site-nav .language-link:hover,
.site-nav .language-link[aria-current="true"],
.site-nav .blog-link[aria-current="page"] {
  border-color: var(--teal-deep);
  background: var(--mint);
  color: var(--teal-deep);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: currentColor;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.language-trigger:hover,
.language-switcher.is-open .language-trigger {
  border-color: var(--teal-deep);
  background: var(--mint);
  color: var(--teal-deep);
}

.language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  font-size: 17px;
  line-height: 1;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  min-width: 184px;
  max-height: min(380px, calc(100vh - 96px));
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.language-options[hidden] {
  display: none;
}

.site-nav .language-options .language-link {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  gap: 10px;
  padding: 0 10px;
  border-color: transparent;
  color: var(--ink);
  font-size: 14px;
}

.site-nav .language-options .language-link:hover,
.site-nav .language-options .language-link[aria-current="true"] {
  border-color: transparent;
  background: var(--mint);
  color: var(--teal-deep);
}

.language-name {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-90deg);
}

.blog-page {
  background: var(--paper);
}

.blog-hero,
.blog-post-hero {
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  color: #fff;
}

.blog-hero-inner {
  padding-top: 36px;
  padding-bottom: 28px;
}

.blog-post-hero-inner {
  padding-top: 34px;
  padding-bottom: 30px;
}

.blog-hero h1,
.blog-post-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-hero p:not(.section-kicker),
.blog-post-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.blog-back-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.blog-back-link:hover {
  color: #fff;
}

.latest-meta,
.blog-board-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.latest-meta span,
.latest-meta time,
.blog-board-meta-row span,
.blog-board-meta-row time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  background: #fafafa;
  color: #52525b;
  font-size: 12px;
  font-weight: 650;
}

.latest-meta span:first-of-type,
.blog-board-source {
  border-color: rgba(15, 95, 89, 0.2);
  background: var(--mint);
  color: var(--teal-deep);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.blog-category-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.blog-category-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.blog-category-tab:hover,
.blog-category-tab[aria-pressed="true"] {
  border-color: rgba(15, 95, 89, 0.28);
  background: var(--mint);
}

.blog-category-tab span {
  min-width: 0;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.blog-category-tab strong {
  color: var(--teal-deep);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.blog-category-tab small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.blog-board-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  box-shadow: 0 18px 48px rgba(23, 32, 31, 0.08);
}

.blog-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: #f0f2ec;
}

.blog-board-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.blog-board-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.blog-board {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-board li {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px 24px;
  border-bottom: 1px solid #ecefea;
  background:
    linear-gradient(135deg, rgba(60, 183, 239, 0.05), rgba(13, 148, 136, 0.04)),
    rgba(255, 255, 255, 0.72);
}

.blog-board li:hover {
  background: #fff;
}

.blog-board li.blog-empty-row {
  grid-template-columns: 1fr;
}

.blog-board li[hidden] {
  display: none;
}

.blog-board li:last-child {
  border-bottom: 0;
}

.blog-board-main {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
}

.blog-board-title {
  display: block;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.38;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.blog-board-title:hover {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-board-excerpt {
  max-width: 760px;
  margin: 0;
  color: #3f3f46;
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-board-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-category-empty {
  margin: 0;
  padding: 18px 24px;
  border-top: 1px solid #ecefea;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.business-notices-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.business-notices-page .page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.business-notices-page .eyebrow,
.business-notices-page .generated,
.business-notices-page .source {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.business-notices-page h1 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.22;
}

.business-notices-page h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.business-notices-page .summary {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  grid-template-areas: "secondary primary";
  align-items: stretch;
  gap: 12px;
  margin-bottom: 16px;
}

.business-notices-page .summary-primary,
.business-notices-page .summary-secondary,
.business-notices-page .empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.business-notices-page .summary-primary {
  grid-area: primary;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-color: rgba(15, 118, 110, 0.24);
  background:
    linear-gradient(135deg, rgba(223, 244, 239, 0.96), rgba(255, 255, 255, 0.98) 58%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.business-notices-page .summary-kicker {
  margin: 0 0 4px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 850;
}

.business-notices-page .summary-primary h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.business-notices-page .summary-primary h2 span {
  color: var(--ink);
  font-weight: 800;
}

.business-notices-page .summary-primary h2 strong {
  color: var(--teal-deep);
  font-size: 36px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.business-notices-page .summary-deadlines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.business-notices-page .summary-deadlines span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.business-notices-page .summary-deadlines strong {
  color: var(--teal-deep);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.business-notices-page .summary-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 0 12px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.business-notices-page .summary-action:hover {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
}

.business-notices-page .summary-secondary {
  grid-area: secondary;
  display: grid;
  align-content: start;
  gap: 0;
  padding: 8px 12px;
}

.business-notices-page .summary-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #ecefea;
}

.business-notices-page .summary-row:first-child {
  border-top: 0;
}

.business-notices-page .summary-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.business-notices-page .summary-row > strong {
  margin: 0;
  color: var(--teal-deep);
  font-size: 19px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.business-notices-page .summary-count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.business-notices-page .summary-count-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid rgba(220, 227, 222, 0.9);
  border-radius: var(--radius-md);
  background: #f9fafb;
}

.business-notices-page .summary-count-item dt {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.business-notices-page .summary-count-item dd {
  justify-self: end;
  margin: 0;
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.notice-board {
  display: grid;
  gap: 12px;
}

.notice-board-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.notice-board-header h2,
.notice-board-header p {
  margin: 0;
}

.notice-board-header h2 {
  font-size: 18px;
  line-height: 1.32;
}

.notice-board-header p {
  color: var(--muted);
  font-size: 13px;
}

.notice-board-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice-board-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.notice-board-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.notice-board-table th,
.notice-board-table td {
  overflow: hidden;
  padding: 10px;
  border-bottom: 1px solid #ecefea;
  text-align: left;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-board-table thead th:nth-child(1),
.notice-board-row > td:nth-child(1) {
  width: 46px;
}

.notice-board-table thead th:nth-child(2),
.notice-board-row > td:nth-child(2) {
  width: 72px;
}

.notice-board-table thead th:nth-child(3),
.notice-board-row > td:nth-child(3) {
  width: 72px;
}

.notice-board-table thead th:nth-child(4),
.notice-board-row > td:nth-child(4) {
  width: 98px;
}

.notice-board-table thead th:nth-child(5),
.notice-board-row > td:nth-child(5) {
  width: 172px;
}

.notice-board-table thead th:nth-child(6),
.notice-board-row > td:nth-child(6) {
  width: 132px;
}

.notice-board-table thead th:nth-child(8),
.notice-board-row > td:nth-child(8) {
  width: 88px;
}

.notice-board-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f0f2ec;
  color: #52525b;
  font-size: 12px;
  font-weight: 800;
}

.notice-board-row:nth-child(4n + 1) td {
  background: rgba(255, 255, 255, 0.72);
}

.notice-board-row:hover td {
  background: #f9fafb;
}

.notice-board-number {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.notice-board-table .status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f7fa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.notice-board-table .status-open,
.notice-board-table .status-always_open {
  border-color: #99d8cd;
  background: var(--mint);
  color: var(--teal);
}

.notice-board-table .status-scheduled,
.notice-board-table .status-unknown {
  border-color: #f3d19b;
  background: #fff7ed;
  color: #b45309;
}

.notice-board-table .status-closed {
  color: #6b7280;
}

.notice-board-title button {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.notice-board-title button:hover,
.notice-board-title button[aria-expanded="true"] {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-board-links {
  display: flex;
  gap: 6px;
  overflow: visible;
  white-space: nowrap;
}

.notice-board-links a,
.notice-pagination button,
.notice-pagination-pages button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.notice-board-links a:hover,
.notice-pagination button:hover,
.notice-pagination-pages button:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.notice-board-detail td {
  padding: 16px 18px;
  background: #fbfbf8;
  white-space: normal;
}

.notice-board-detail dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.notice-board-detail dl div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
}

.notice-board-detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notice-board-detail dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.notice-board-detail-meta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.notice-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-pagination button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.notice-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.notice-pagination-pages button[aria-current="page"] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.business-notices-page .empty {
  padding: 24px;
}

.business-notices-page .empty p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.tools-page {
  background: var(--paper);
}

.tools-content {
  padding-top: 34px;
  padding-bottom: 54px;
}

.tools-layout {
  display: grid;
  gap: 28px;
}

.tools-section {
  display: grid;
  gap: 14px;
}

.tools-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.tools-section-header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.tools-section-header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: grid;
  min-width: 0;
  min-height: 174px;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.tool-card:hover {
  border-color: rgba(15, 95, 89, 0.28);
  box-shadow: 0 16px 36px rgba(23, 32, 31, 0.08);
}

.tool-card:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.tool-card.is-soon {
  background:
    linear-gradient(135deg, rgba(217, 144, 33, 0.08), rgba(15, 118, 110, 0.05)),
    #fff;
}

.tool-card-kicker,
.tool-page-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(15, 95, 89, 0.2);
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 750;
}

.tool-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.34;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.tool-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.56;
  overflow-wrap: anywhere;
}

.tool-card small {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tool-page-body {
  display: grid;
  gap: 16px;
  max-width: 780px;
  padding: 36px 0 58px;
}

.tool-page-body h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.32;
}

.tool-page-body p {
  margin: 0;
  color: var(--ink-soft);
}

.tool-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tool-page-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tool-page-actions a:first-child {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.tool-page-actions a:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.tool-page-actions a:first-child:hover {
  background: var(--teal-deep);
  color: #fff;
}

.blog-article {
  max-width: 1120px;
  padding-top: 28px;
  padding-bottom: 54px;
}

.blog-article-grid {
  display: grid;
  min-width: 0;
}

.blog-article-grid.has-toc {
  grid-template-columns: minmax(0, 720px) minmax(180px, 220px);
  gap: 44px;
  justify-content: center;
  align-items: start;
}

.blog-prose {
  min-width: 0;
  max-width: 720px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}

.article-toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-toc p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.article-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  padding: 5px 0;
  color: #52525b;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-toc .depth-3 {
  padding-left: 12px;
}

.blog-prose h2,
.blog-prose h3 {
  scroll-margin-top: 92px;
  margin: 30px 0 10px;
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: 0;
}

.blog-prose h2 {
  font-size: 23px;
}

.blog-prose h3 {
  font-size: 18px;
}

.blog-prose h2:first-child,
.blog-prose h3:first-child {
  margin-top: 0;
}

.heading-anchor {
  color: inherit;
  text-decoration: none;
}

.heading-anchor:hover {
  color: var(--teal);
}

.blog-prose p,
.blog-prose li,
.blog-prose blockquote {
  color: #3f3f46;
  font-size: 16px;
  line-height: 1.76;
  overflow-wrap: anywhere;
}

.blog-prose p {
  margin: 13px 0 0;
}

.blog-prose ul,
.blog-prose ol {
  margin: 13px 0 0;
  padding-left: 22px;
}

.blog-prose li + li {
  margin-top: 5px;
}

.blog-prose a {
  color: var(--teal);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.blog-prose blockquote {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: #f4f4f5;
}

.article-rule {
  margin: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.blog-prose pre {
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #fafafa;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.56;
}

.article-ad {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-ad {
  width: min(var(--max), calc(100% - 40px));
  margin: 32px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.article-lede {
  margin-top: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 550;
}

.article-kicker {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-summary,
.article-callout {
  margin: 22px 0 0;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #eff6ff;
}

.article-summary h2 {
  margin: 0;
  font-size: 18px;
}

.summary-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  position: relative;
  padding-left: 18px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.58;
}

.summary-list li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.flow-figure {
  margin: 24px 0 0;
}

.flow-figure-link {
  display: block;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.flow-figure-link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.flow-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 150ms ease;
}

.flow-figure-link:hover img {
  border-color: #94a3b8;
}

.flow-figure figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 31, 0.82);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1120px);
  max-height: calc(100vh - 56px);
  gap: 10px;
}

.image-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.image-lightbox-close:hover {
  background: #fff;
}

.image-lightbox-figure {
  display: grid;
  min-height: 0;
  gap: 8px;
  margin: 0;
}

.image-lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 132px);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.image-lightbox-figure figcaption {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.flow-steps {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.flow-step:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-step-number {
  color: var(--teal);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.flow-step h3 {
  margin: 0;
  font-size: 17px;
}

.flow-step p {
  margin-top: 4px;
  color: #52525b;
  font-size: 15px;
  line-height: 1.58;
}

.code-panel {
  overflow: hidden;
  margin: 18px 0 0;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.code-panel figcaption {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 700;
}

.article-callout {
  border-color: #fed7aa;
  background: #fff7ed;
}

.article-callout p:not(.article-kicker) {
  margin-top: 0;
  color: #431407;
  font-size: 15px;
  line-height: 1.6;
}

.link-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.link-card {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.link-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.link-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.link-card:hover {
  border-color: rgba(15, 95, 89, 0.24);
  background: var(--mint);
}

.article-related {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.article-related-list {
  display: grid;
  gap: 10px;
}

.article-related-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.article-related-card:hover {
  border-color: rgba(15, 95, 89, 0.24);
  background: var(--mint);
}

.article-related-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.article-related-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.article-related-card small {
  color: #52525b;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13px;
}

.footer-brand-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 140px;
  height: auto;
  flex: 0 0 140px;
}

.footer-brand-row div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    width: 148px;
    min-width: 148px;
  }

  .site-nav {
    gap: 3px;
  }

  .site-nav a {
    padding: 0 7px;
    font-size: 12px;
  }

  .language-trigger {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 980px) {
  .blog-article-grid.has-toc {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-toc {
    position: static;
    margin-top: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    width: 154px;
    min-width: 154px;
    height: 42px;
  }

  .brand-logo-frame {
    height: 32px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 64px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(23, 32, 31, 0.1);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .language-switcher {
    display: block;
    width: 100%;
  }

  .language-trigger {
    width: 100%;
    height: 42px;
    background: rgba(15, 118, 110, 0.08);
  }

  .language-options {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 250px;
    margin-top: 6px;
    box-shadow: none;
  }

  .site-nav .language-options .language-link {
    justify-content: flex-start;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .business-notices-page {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .business-notices-page .page-header,
  .notice-board-header {
    display: block;
  }

  .business-notices-page .generated {
    display: inline-block;
    margin-top: 10px;
  }

  .business-notices-page .summary {
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "secondary";
  }

  .business-notices-page .summary-primary {
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .business-notices-page .summary-primary h2 strong {
    font-size: 34px;
  }

  .business-notices-page .summary-action {
    width: 100%;
  }

  .business-notices-page .summary-secondary {
    padding: 4px 14px;
  }

  .business-notices-page .summary-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .business-notices-page .summary-count-grid {
    grid-template-columns: 1fr;
  }

  .business-notices-page .summary-count-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .business-notices-page .summary-count-item dd {
    justify-self: start;
    font-size: 14px;
  }

  .notice-board-header > p {
    margin-top: 8px;
  }

  .notice-board-title button {
    max-width: 100%;
  }

  .notice-board-detail dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .section-inner {
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
    overflow-x: clip;
  }

  .blog-hero-inner {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .blog-post-hero-inner {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .blog-hero h1,
  .blog-post-hero h1 {
    font-size: 24px;
    max-width: 100%;
  }

  .blog-category-panel {
    grid-template-columns: 1fr;
  }

  .blog-category-tab {
    min-height: 0;
  }

  .tools-content {
    padding-top: 24px;
  }

  .tools-section-header {
    display: grid;
    gap: 8px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
    padding: 18px;
  }

  .blog-board-header {
    padding: 8px 10px;
  }

  .blog-layout-board,
  .blog-board-wrap {
    width: 100%;
    max-width: 100%;
  }

  .blog-board-main,
  .blog-board-meta-row,
  .blog-board-title,
  .blog-board-excerpt,
  .blog-board-meta {
    width: 100%;
    max-width: 100%;
  }

  .blog-board li {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 14px;
  }

  .blog-board-title {
    font-size: 16px;
    word-break: normal;
  }

  .blog-board-excerpt,
  .blog-board-meta {
    word-break: normal;
  }

  .blog-prose {
    max-width: none;
    width: 100%;
  }

  .article-lede {
    font-size: 17px;
  }

  .blog-prose p,
  .blog-prose li,
  .blog-prose blockquote {
    font-size: 15px;
    line-height: 1.7;
  }

  .flow-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-panel {
    max-height: calc(100vh - 32px);
  }

  .image-lightbox-figure img {
    max-height: calc(100vh - 116px);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 136px;
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-figure-link img {
    transition: none;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 142px;
    min-width: 142px;
  }

  .blog-hero h1,
  .blog-post-hero h1 {
    font-size: 22px;
  }

  .latest-meta span,
  .latest-meta time,
  .blog-board-meta-row span,
  .blog-board-meta-row time {
    font-size: 11px;
  }
}
