:root {
  --paper: #f7f7f2;
  --ink: #202e2a;
  --muted: #5b675f;
  --green: #354e43;
  --green-deep: #263b32;
  --line: #d7dcd3;
  --soft: #e9ede4;
  --white: #fcfcf9;
  --grid: rgba(53, 78, 67, 0.07);
  --error: #9b2c1f;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 5.4vw, 2.25rem);
  --step-4: clamp(2.125rem, 7.4vw, 3.125rem);
  --step-5: clamp(2.625rem, 11.2vw, 4.625rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
p { margin: 0; }
button { font: inherit; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 900px) { .wrap { padding-inline: 2.5rem; } }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.draft-banner { background: var(--ink); color: #dfe5dd; font-size: 0.8125rem; line-height: 1.5; text-align: center; padding: 0.45rem 1rem; }

/* 머리 */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 0.75rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand svg { width: 62px; height: auto; color: var(--green); }
.brand-text { font-size: 0.75rem; line-height: 1.35; color: var(--muted); font-weight: 500; border-left: 1px solid var(--line); padding-left: 0.7rem; }
.nav-desktop { display: none; }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; background: var(--white); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { border-color: var(--ink); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 30; display: flex; flex-direction: column; min-width: 15.5rem; padding: 0.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 16px 32px -18px rgba(32, 46, 42, 0.45); }
.nav-mobile nav a { padding: 0.65rem 0.8rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); }
.nav-mobile nav a:hover, .nav-mobile nav a[aria-current] { background: var(--soft); }
.nav-mobile nav a:last-child { margin-top: 0.3rem; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-s) var(--radius-s); color: var(--green); font-weight: 650; }
@media (min-width: 960px) {
  .brand { margin-right: 0; }
  .nav-desktop { display: flex; gap: 1.6rem; margin-left: auto; margin-right: 1.25rem; }
  .nav-desktop a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9688rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
  .nav-desktop a:hover, .nav-desktop a[aria-current] { border-bottom-color: var(--green); }
  .nav-mobile { display: none; }
}

/* 버튼 */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 48px; padding: 0.7rem 1.25rem; border: 1.5px solid transparent; border-radius: var(--radius-s); font-weight: 650; font-size: 1rem; line-height: 1.25; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.button.primary { background: var(--green); color: var(--paper); }
.button.primary:hover { background: var(--green-deep); }
.button.line { border-color: var(--ink); color: var(--ink); background: transparent; }
.button.line:hover { background: var(--ink); color: var(--paper); }
.button.paper { background: var(--paper); color: var(--ink); }
.button.paper:hover { background: #fff; }
.button.small { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.9375rem; }
.button.block { width: 100%; }
.button[disabled] { opacity: 0.55; cursor: progress; }
.header-cta.small { min-height: 38px; padding: 0.4rem 0.8rem; }
.text-button { background: none; border: 0; padding: 0.25rem 0; font-size: 0.875rem; color: var(--green); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* 첫 화면 */
.hero { padding: 2.5rem 0 3.25rem; }
.hero h1 { font-size: var(--step-5); line-height: 1.13; letter-spacing: -0.045em; font-weight: 760; }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--muted); margin-top: 1.25rem; max-width: 36em; }
.ledger { margin-top: 2.75rem; padding: 1.2rem 1.1rem 0.4rem; background-color: var(--white); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.ledger-title { font-size: 0.9688rem; font-weight: 650; color: var(--muted); letter-spacing: 0; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }
.ledger-list { list-style: none; margin: 0; padding: 0; }
.ledger-list li + li { border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.7rem 1rem; padding: 1.15rem 0 1.2rem; color: var(--ink); text-decoration: none; }
.ledger-q { grid-column: 1 / -1; font-size: 1.3125rem; font-weight: 650; line-height: 1.42; letter-spacing: -0.03em; quotes: "\201C" "\201D"; }
.ledger-q::before { content: open-quote; color: var(--green); margin-right: 0.05em; }
.ledger-q::after { content: close-quote; color: var(--green); margin-left: 0.05em; }
.ledger-a { display: flex; flex-direction: column; gap: 0.15rem; }
.ledger-name { font-weight: 650; color: var(--green); font-size: 1rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; transition: text-decoration-color 0.15s; }
.ledger-scope { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.ledger-price { align-self: end; text-align: right; font-size: 0.875rem; color: var(--muted); white-space: nowrap; line-height: 1.4; }
.ledger-price b { display: block; font-size: 1.5rem; font-weight: 760; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ledger-row:hover .ledger-name, .ledger-row:focus-visible .ledger-name { text-decoration-color: currentColor; }
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .ledger { margin-top: 0.4rem; padding: 1.5rem 1.75rem 0.6rem; }
  .ledger-q { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .ledger-list li { animation: settle 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .ledger-list li:nth-child(2) { animation-delay: 0.12s; }
  .ledger-list li:nth-child(3) { animation-delay: 0.24s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 구역 */
.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.band-soft { background: var(--soft); border-top-color: transparent; }
.section-title { font-size: var(--step-3); letter-spacing: -0.03em; }
.split-head { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.split-head p { color: var(--muted); max-width: 34em; }
.more { margin-top: 1.75rem; font-weight: 650; }
@media (min-width: 900px) {
  .band { padding: 5rem 0; }
  .split-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
}

.principles { display: grid; gap: 1.75rem; margin-top: 2rem; }
.principle { border-top: 2px solid var(--ink); padding-top: 1rem; }
.principle h3 { font-size: var(--step-1); }
.principle p { color: var(--muted); margin-top: 0.5rem; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; } }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -0.05rem; width: 2rem; height: 2rem; border: 1.5px solid var(--green); border-radius: 50%; background: var(--paper); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; font-variant-numeric: tabular-nums; line-height: 1; z-index: 1; }
.band-soft .steps li::before { background: var(--soft); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: -1.3rem; width: 1px; background: var(--line); }
.band-soft .steps li:not(:last-child)::after { background: #c6cec3; }
.steps h3 { font-size: 1.0625rem; }
.steps p { color: var(--muted); margin-top: 0.25rem; font-size: 0.98rem; }
@media (min-width: 900px) {
  .steps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .steps-row li { padding-left: 0; padding-top: 3rem; }
  .steps-row li:not(:last-child)::after { left: 2.5rem; right: -1rem; top: 1rem; bottom: auto; width: auto; height: 1px; }
}

.case-list { list-style: none; margin: 0; padding: 0; }
.case-list li { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.case-list li:last-child { border-bottom: 1px solid var(--line); }
.case-label { display: inline-block; font-size: 0.8125rem; font-weight: 650; line-height: 1.5; color: var(--green); background: var(--soft); padding: 0.1rem 0.5rem; border-radius: 4px; }
.case-list h2, .case-list h3 { font-size: 1.125rem; line-height: 1.5; margin-top: 0.55rem; }
.case-list p { color: var(--muted); margin-top: 0.5rem; }
.case-list li > a { display: inline-block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9688rem; }
.case-list-full h2 { font-size: var(--step-1); }
@media (min-width: 900px) {
  .case-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .case-grid li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

.closing { background: var(--ink); color: var(--paper); padding: 3.5rem 0; }
.closing h2 { color: var(--paper); font-size: var(--step-3); letter-spacing: -0.03em; }
.closing p { color: #c4ccc4; margin-top: 0.6rem; }
.closing .button { margin-top: 1.5rem; }

/* 하위 페이지 머리 */
.page-head { padding-top: 1.75rem; padding-bottom: 2rem; }
.page-head h1 { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.2; margin-top: 0.9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #b4bcb2; }
.crumbs a { color: var(--muted); }
.meta-line { color: var(--muted); font-size: 0.9375rem; margin-top: 0.5rem; }

/* 서비스 페이지 */
.service-layout { display: grid; gap: 2.25rem; padding-bottom: 4rem; }
.price-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-m); padding: 1.2rem 1.25rem 1.1rem; }
.price-title { font-size: 0.9375rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-num { font-size: 1rem; color: var(--muted); margin-top: 0.1rem; }
.price-num b { font-size: 2.5rem; font-weight: 760; color: var(--ink); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin-right: 0.15rem; }
.price-scope { font-weight: 650; margin: 0.15rem 0 1.1rem; line-height: 1.5; }
.price-foot { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.55; }
.service-body > section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.service-body > section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.service-body h2, .prose-wrap section > h2 { font-size: var(--step-2); letter-spacing: -0.025em; margin-bottom: 1.1rem; }
.can-groups { display: grid; gap: 1.5rem; }
.can-group h3 { font-size: 1.0625rem; color: var(--green); }
.can-group ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.can-group li { margin-top: 0.3rem; }
li::marker { color: var(--green); }
.note { color: var(--muted); font-size: 0.9688rem; margin-top: 1.1rem; }
@media (min-width: 960px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; align-items: start; }
  .price-card { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; }
  .service-body { grid-column: 1; grid-row: 1; max-width: 44rem; }
  .can-groups { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.price-table { margin: 0; border-top: 2px solid var(--ink); }
.price-table > div { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.price-table dt { font-weight: 650; font-size: 0.9688rem; }
.price-table dd { margin: 0; color: var(--muted); }
.price-table dd b { color: var(--ink); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.dd-sub { display: block; font-size: 0.9375rem; }
@media (min-width: 700px) { .price-table > div { grid-template-columns: 12rem minmax(0, 1fr); gap: 1.5rem; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.38em; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--green); border-radius: 3px; background: var(--white); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 1rem 2.25rem 1rem 0; font-weight: 650; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.45rem; top: 1.3rem; width: 0.55rem; height: 0.55rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
.faq details p { padding: 0 0 1.15rem; color: var(--muted); }

/* 글 페이지 */
.prose-wrap { padding-bottom: 4rem; }
.prose-wrap > * { max-width: 46rem; }
.prose-wrap section + section { margin-top: 3rem; }
.prose-wrap ul:not([class]), .prose-wrap ol:not([class]), .prose ul, .prose ol { padding-left: 1.2rem; margin: 0.75rem 0 0; }
.prose-wrap ul:not([class]) li, .prose li { margin-top: 0.35rem; }
.prose-wrap section > p { margin-top: 1rem; }
.legal h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; }
.legal h2:first-of-type { margin-top: 2rem; }
.legal p { margin-top: 0.75rem; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: var(--step-1); margin: 1.75rem 0 0.5rem; }
.prose p { margin-top: 1rem; }
.prose blockquote { margin: 1.25rem 0; padding-left: 1rem; border-left: 3px solid var(--green); color: var(--muted); }
.recipient { margin-top: 1.5rem; }
.recipient h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.recipient .price-table dd { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; line-height: 1.6; }
.table-scroll.wide table { min-width: 36rem; }
@media (max-width: 480px) { th, td { padding: 0.6rem 0.65rem; font-size: 0.875rem; } }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
.empty { color: var(--muted); padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post { padding-top: 1.75rem; padding-bottom: 4rem; }
.post > * { max-width: 44rem; }
.post h1 { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.25; margin-top: 0.9rem; }
.post-cta { margin-top: 3rem; padding: 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-m); background: var(--white); }
.post-cta h2 { font-size: var(--step-1); }
.post-cta p { color: var(--muted); margin: 0.35rem 0 1rem; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 1.25rem 0; color: var(--ink); text-decoration: none; }
.post-list h2 { font-size: var(--step-1); }
.post-list p { color: var(--muted); margin-top: 0.35rem; }
.post-list time { font-size: 0.875rem; color: var(--muted); }

/* 바닥 */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: 0.9375rem; color: var(--muted); }
.footer-top { display: grid; gap: 1rem; }
.footer-brand svg { width: 70px; color: var(--green); }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.5rem; }
.footer-nav a, .footer-legal a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-legal { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.biz { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin-top: 1rem; font-size: 0.8438rem; line-height: 1.6; }
.biz b { font-weight: 600; color: var(--ink); margin-right: 0.2rem; }
.ai-note { margin-top: 0.75rem; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.copy { margin-top: 1rem; font-size: 0.8125rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto 1fr; gap: 2rem; align-items: center; } }

/* 채팅 */
.chat-app { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field-label { font-weight: 650; font-size: 0.9688rem; }
.field-label small { font-weight: 500; color: var(--muted); font-size: 0.8125rem; margin-left: 0.25rem; }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 0.7rem 0.8rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(53, 78, 67, 0.18); }
textarea { resize: vertical; min-height: 6rem; line-height: 1.6; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.file-field { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-button:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.file-name { font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9688rem; font-weight: 600; cursor: pointer; }
.consent input { width: 1.15rem; height: 1.15rem; margin: 0.32rem 0 0; flex: none; accent-color: var(--green); }
.consent-detail { margin: 0.5rem 0 1rem 1.75rem; font-size: 0.875rem; color: var(--muted); }
.consent-detail summary { cursor: pointer; color: var(--green); }
.consent-detail p { margin-top: 0.5rem; line-height: 1.6; }
.form-error { color: var(--error); font-size: 0.9375rem; margin: 0.5rem 0; }
.form-error:empty { display: none; }

.link-row { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.link-row input { font-size: 0.875rem; padding: 0.5rem 0.6rem; background: var(--white); min-width: 0; }
.messages { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-direction: column; gap: 0.75rem; min-height: 12rem; max-height: min(62vh, 34rem); overflow-y: auto; }
.msg { max-width: 86%; padding: 0.7rem 0.9rem; border-radius: 12px; line-height: 1.6; font-size: 0.9875rem; overflow-wrap: anywhere; }
.msg-text { white-space: pre-wrap; }
.msg.customer { align-self: flex-end; background: var(--green); color: var(--paper); border-bottom-right-radius: 4px; }
.msg.admin { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-who { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--green); margin-bottom: 0.15rem; }
.msg-meta { display: block; font-size: 0.75rem; margin-top: 0.35rem; opacity: 0.75; }
.msg.customer .msg-meta { text-align: right; }
.file-link { display: inline-block; margin-top: 0.2rem; padding: 0; border: 0; background: none; color: inherit; font-size: 0.9375rem; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; overflow-wrap: anywhere; }
.file-gone { font-size: 0.9375rem; opacity: 0.8; }
.msg-note { align-self: center; max-width: 92%; font-size: 0.8438rem; color: var(--muted); text-align: center; line-height: 1.55; }
.composer { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.composer textarea { min-height: 3.4rem; }
.composer-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem; flex-wrap: wrap; }
.composer-row .file-name { flex: 1; min-width: 5rem; }
.composer-row button[type="submit"] { margin-left: auto; }
.poll-status { font-size: 0.8125rem; color: var(--muted); margin-top: 0.6rem; }
.poll-status .text-button { font-size: 0.8125rem; }

/* 관리 */
.admin-page { padding-top: 2rem; padding-bottom: 4rem; }
.admin-page h1 { font-size: var(--step-3); }
.key-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; max-width: 34rem; margin-top: 1.25rem; }
.key-form .field { flex: 1; min-width: 14rem; margin: 0; }
.key-form .remember { flex-basis: 100%; font-weight: 500; font-size: 0.9375rem; }
.key-form .remember small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.key-form .form-error { flex-basis: 100%; margin: 0; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 1.25rem 0; }
.admin-bar .poll-status { margin: 0; }
.admin-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 21rem minmax(0, 1fr); align-items: start; } }
.conv-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); max-height: 72vh; overflow: auto; }
.conv-list li + li { border-top: 1px solid var(--line); }
.conv-item { display: block; width: 100%; padding: 0.8rem 1rem; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; line-height: 1.5; }
.conv-item:hover, .conv-item[aria-current="true"] { background: var(--soft); }
.conv-item b { font-weight: 650; }
.conv-item small { display: block; color: var(--muted); font-size: 0.8125rem; }
.conv-item .preview { display: block; font-size: 0.875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; margin-left: 0.4rem; padding: 0 0.4rem; border-radius: 4px; background: var(--green); color: var(--paper); font-size: 0.75rem; font-weight: 650; vertical-align: 0.1em; }
.badge-line { background: transparent; color: var(--green); border: 1px solid var(--green); }
.conv-view { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; min-height: 20rem; }
.conv-info { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.875rem; color: var(--muted); padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.conv-info b { color: var(--ink); font-weight: 600; }
.conv-view .messages { max-height: 55vh; }
.conv-view .msg.admin { align-self: flex-end; background: var(--green); color: var(--paper); border: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 12px; }
.conv-view .msg.admin .msg-who { color: #cfe0d3; }
.conv-view .msg.customer { align-self: flex-start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; border-bottom-right-radius: 12px; }
.conv-view .msg.customer .msg-meta { text-align: left; }
.conv-view .msg .msg-redact { display: block; font-size: 0.8125rem; color: inherit; opacity: 0.8; }
.danger { color: var(--error); }

/* 채팅 앱 화면 */
@media (max-width: 430px) { .brand-text { display: none; } }
.page-chat { overflow: hidden; }
.chat-shell { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; max-width: 46rem; margin: 0 auto; display: flex; flex-direction: column; background: var(--white); border-inline: 1px solid var(--line); }
@media (max-width: 46rem) { .chat-shell { border-inline: 0; } }
.chat-shell .draft-banner { flex: none; padding: 0.3rem 1rem; font-size: 0.75rem; }
.chat-top { position: relative; flex: none; display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.9rem; padding-top: calc(0.55rem + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-home { display: block; color: var(--green); }
.chat-home svg { width: 46px; height: auto; }
.chat-title { flex: 1; min-width: 0; line-height: 1.3; }
.chat-title h1 { font-size: 1rem; letter-spacing: -0.01em; }
.chat-title span { display: block; font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-menu-btn { flex: none; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.chat-menu-btn[aria-expanded="true"] { border-color: var(--ink); }
.chat-menu { position: absolute; top: calc(100% + 0.35rem); right: 0.75rem; z-index: 30; width: min(18rem, calc(100% - 1.5rem)); max-height: 70vh; overflow-y: auto; padding: 0.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 16px 32px -18px rgba(32, 46, 42, 0.45); }
.chat-menu nav, .chat-menu-conv { display: grid; }
.chat-menu-conv { padding-bottom: 0.3rem; margin-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
.chat-menu button, .chat-menu a { display: block; width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: var(--radius-s); background: none; color: var(--ink); font-size: 0.9375rem; text-align: left; text-decoration: none; cursor: pointer; }
.chat-menu button:hover, .chat-menu a:hover { background: var(--soft); }
.chat-menu #forget { color: var(--error); }
.chat-menu-account { display: grid; padding-bottom: 0.3rem; margin-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
.chat-menu button small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.1rem; }
.menu-who { padding: 0.5rem 0.75rem 0.3rem; font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; }
.panel-result { margin: 0.4rem 0 0; padding: 0.6rem 0.75rem; border-radius: var(--radius-s); background: var(--soft); color: var(--ink); font-size: 0.875rem; line-height: 1.55; }
.mine { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
.mine li { min-width: 0; }
.mine-item { display: block; width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.mine-item:hover, .mine-item[aria-current="true"] { border-color: var(--green); }
.mine-preview { display: block; font-size: 0.9375rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-meta { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.mine-empty { font-size: 0.875rem; color: var(--muted); }
.page-chat .chat-app { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; background: transparent; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 1rem 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.greeting { display: flex; flex-direction: column; gap: 0.5rem; }
.page-chat .messages { min-height: 0; max-height: none; overflow: visible; padding: 0; }
.chips { margin: 0.25rem 0 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 0.45rem; font-size: 0.8125rem; color: var(--muted); }
.chips legend small { font-size: 0.75rem; }
.chip { position: relative; display: inline-flex; margin: 0 0.35rem 0.45rem 0; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-block; padding: 0.38rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 0.875rem; line-height: 1.4; cursor: pointer; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.chat-panel { flex: none; max-height: 55%; overflow-y: auto; padding: 0.9rem 1rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat-panel h2 { font-size: 1rem; }
.chat-panel p { margin: 0.25rem 0 0.6rem; font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.chat-panel .field { margin-bottom: 0.6rem; }
.chat-panel .link-row { display: flex; gap: 0.5rem; }
.chat-panel .link-row input { min-width: 0; padding: 0.5rem 0.6rem; font-size: 0.875rem; background: var(--white); }
.panel-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.page-chat .composer { flex: none; padding: 0.6rem 0.75rem; padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.page-chat .composer-row { display: flex; align-items: flex-end; gap: 0.45rem; margin: 0; flex-wrap: nowrap; }
.page-chat .composer textarea { flex: 1; min-width: 0; min-height: 2.75rem; max-height: 150px; padding: 0.6rem 0.8rem; border-radius: 1.25rem; line-height: 1.45; resize: none; }
.attach { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; padding: 0 0.8rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); color: var(--green); font-size: 0.875rem; font-weight: 650; cursor: pointer; }
.attach input { position: absolute; inset: 0; opacity: 0; font-size: 0; cursor: pointer; }
.attach:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.send { flex: none; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 1.25rem; background: var(--green); color: var(--paper); font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.send:hover { background: var(--green-deep); }
.send[disabled] { opacity: 0.6; cursor: progress; }
.composer-file { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; }
.composer-file .text-button { font-size: 0.8125rem; }
.composer-note { margin-top: 0.3rem; font-size: 0.6875rem; line-height: 1.4; color: var(--muted); }
.composer-note a { color: var(--muted); }
.composer-note .poll-status { margin: 0; font-size: 0.75rem; }
.page-chat .form-error { margin: 0.4rem 0 0; font-size: 0.8125rem; }
.msg-note .text-button { font-size: 0.8125rem; }
/* 채팅 첫 화면 막힌 곳 고르기(2026-11-29). 새 대화에서만 보이고 대화가 시작되면 숨긴다 */
.start-picks { display: flex; flex-wrap: wrap; gap: 0.45rem; max-width: 30rem; }
.start-pick { padding: 0.55rem 0.9rem; border: 1px solid var(--green); border-radius: 999px; background: var(--white); color: var(--green); font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; text-align: left; word-break: keep-all; cursor: pointer; }
.start-pick:hover { background: var(--soft); }
.start-pick:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.start-pick[disabled] { opacity: 0.6; cursor: progress; }
.composer-hint { margin: 0 0 0.45rem; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); word-break: keep-all; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 무료 안내 글 */
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); }
.guide-wrap { width: 100%; max-width: 51rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 900px) { .guide-wrap { padding-inline: 2.5rem; } }
.guide-crumb { margin: 0; padding-top: 2.25rem; font-size: 0.8125rem; color: var(--muted); }
.guide-crumb a { color: var(--muted); }
.guide-crumb a:hover { color: var(--ink); }
.guide-intro { padding-bottom: 1.5rem; }
.guide-intro .eyebrow { margin-top: 1.5rem; }
.guide-intro h1 { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.25; margin: 1rem 0 1.25rem; }
.guide-intro > p { max-width: 46em; line-height: 1.9; }
.guide-index-note { font-size: 0.875rem; line-height: 1.9; color: var(--muted); margin: 0.75rem 0 0; }
.guide-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 2.25rem 0 0.5rem; }
@media (min-width: 700px) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.guide-card { display: block; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 0.2s; }
.guide-card:hover { border-color: #637b66; }
.guide-card span { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.guide-card h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.5; margin: 0.75rem 0 0.5rem; }
.guide-card p { font-size: 0.875rem; line-height: 1.85; color: var(--muted); margin: 0; }
.guide-card b { display: inline-block; font-size: 0.8125rem; font-weight: 500; margin-top: 1rem; border-bottom: 1px solid #b7c5ae; padding-bottom: 0.25rem; color: var(--green); }
.guide-head { padding: 1.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.guide-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.38; margin: 1rem 0 1.4rem; }
.guide-lead { font-size: 1.0625rem; line-height: 1.95; margin: 0; }
.guide-meta { font-size: 0.8125rem; color: var(--muted); margin: 1.4rem 0 0; line-height: 1.8; }
.guide-toc { margin: 2.25rem 0 0; padding: 1.5rem 1.75rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-m); }
.guide-toc b { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-bottom: 0.6rem; }
.guide-toc ol { margin: 0; padding-left: 1.25rem; font-size: 0.9375rem; line-height: 2; }
.guide-toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.guide-toc a:hover { border-bottom-color: var(--ink); }
.guide-body { padding-bottom: 2rem; }
.guide-body section { padding-top: 3.25rem; scroll-margin-top: 1.25rem; }
.guide-body h2 { font-size: 1.75rem; line-height: 1.45; letter-spacing: -0.03em; margin: 0 0 1.25rem; }
.guide-body h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.55; margin: 2.1rem 0 0.6rem; }
.guide-body p, .guide-body li { font-size: 1rem; line-height: 1.95; }
.guide-body p { margin: 0 0 1rem; }
.guide-body ul, .guide-body ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.guide-body li { margin-bottom: 0.4rem; }
.guide-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9aa79c; }
.guide-body a:hover { text-decoration-color: var(--ink); }
.guide-steps { list-style: none; padding: 0 !important; margin: 0.5rem 0 0; counter-reset: step; }
.guide-steps > li { position: relative; padding: 1.25rem 0 1.1rem 3.6rem; border-top: 1px solid var(--line); margin: 0; counter-increment: step; }
.guide-steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--green); border: 1px solid #b9c6b4; border-radius: var(--radius-s); width: 2.4rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; }
.guide-steps > li b { display: block; font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.25rem; }
.guide-steps > li p { margin: 0; }
.guide-note { background: #eef2ea; border-left: 3px solid #7d9472; border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 1rem 1.25rem; margin: 1.1rem 0 1.4rem; }
.guide-note p { margin: 0; font-size: 0.9375rem; line-height: 1.9; }
.guide-note p + p { margin-top: 0.5rem; }
.guide-case { border: 1px solid #c9d3c3; border-radius: var(--radius-m); background: var(--white); padding: 1.5rem 1.6rem; margin: 1.25rem 0 0.4rem; }
.guide-case > span { display: block; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.6rem; }
.guide-case p:last-child { margin-bottom: 0; }
.guide-case blockquote { margin: 0.75rem 0 1rem; padding: 0.75rem 1rem; background: var(--paper); border-left: 2px solid #9aab95; font-size: 0.9375rem; line-height: 1.85; }
.guide-table { overflow-x: auto; margin: 0.75rem 0 1.4rem; }
.guide-table table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; line-height: 1.75; min-width: 520px; }
.guide-table caption { text-align: left; font-size: 0.8125rem; color: var(--muted); padding-bottom: 0.6rem; }
.guide-table th, .guide-table td { border: 0; border-top: 1px solid var(--line); padding: 0.75rem 0.6rem; text-align: left; vertical-align: top; background: none; }
.guide-table thead th { font-size: 0.8125rem; font-weight: 500; color: var(--muted); border-top: 0; }
.guide-table td:first-child { font-weight: 500; white-space: nowrap; }
.guide-faq { margin-top: 0.25rem; }
.guide-faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.guide-faq details:last-child { border-bottom: 1px solid var(--line); }
.guide-faq summary { font-size: 1.0625rem; line-height: 1.7; cursor: pointer; }
.guide-faq details p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.95; }
.guide-sources { padding-top: 3.25rem; }
.guide-sources h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }
.guide-sources p { font-size: 0.9375rem; color: var(--muted); }
.guide-sources ol { font-size: 0.875rem; line-height: 1.85; padding-left: 1.4rem; }
.guide-sources li { font-size: 0.875rem; line-height: 1.85; margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.guide-sources small { display: block; color: var(--muted); font-size: 0.75rem; }
.guide-ui-note { font-size: 0.875rem !important; color: var(--muted); }
.guide-ask { margin: 3.5rem 0 0; padding: 2rem 2.1rem; background: var(--green); color: #f4f5eb; border-radius: var(--radius-m); scroll-margin-top: 1.25rem; }
.guide-ask .eyebrow { color: #c7d2c5; }
.guide-ask h2 { color: #fff; font-size: 1.5rem; margin: 0.85rem 0; }
.guide-ask > p { font-size: 1rem; line-height: 1.95; margin: 0; color: #e3e9dc; }
.guide-ask ul.guide-ask-ways { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.75rem; }
.guide-ask .guide-ask-ways li { margin: 0; }
.guide-ask a.button { text-decoration: none; color: var(--ink); }
.guide-ask-ways li { display: grid; gap: 0.35rem; padding: 1rem 1.1rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-s); }
.guide-ask-ways b { color: #fff; font-weight: 600; }
.guide-ask-ways span { color: #e3e9dc; font-size: 0.9375rem; line-height: 1.8; }
.guide-ask-ways .button { justify-self: start; margin-top: 0.4rem; }
.guide-ask-link { color: #fff; justify-self: start; }
.guide-more { padding: 3.5rem 0 5rem; }
.guide-more h2 { font-size: 1.375rem; margin: 0 0 1.1rem; }
.guide-more-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 700px) { .guide-more-grid { grid-template-columns: 1fr 1fr; } }
.guide-index .guide-ask, .page-guide .guide-wrap > .guide-ask:last-child { margin-bottom: 3.5rem; }
.guide-bridge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .guide-bridge-list { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.guide-bridge-list a { display: grid; gap: 0.45rem; height: 100%; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; }
.guide-bridge-list a:hover { border-color: #637b66; }
.guide-bridge-list b { font-size: 1.125rem; }
.guide-bridge-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }
.guide-bridge-list em { font-style: normal; font-weight: 600; color: var(--green); }
@media (max-width: 700px) {
  .guide-crumb { padding-top: 1.5rem; font-size: 0.75rem; }
  .guide-head { padding: 1.25rem 0 1.9rem; }
  .guide-head h1 { font-size: 1.8rem; letter-spacing: -0.03em; }
  .guide-lead { font-size: 1rem; }
  .guide-toc { padding: 1.1rem; margin-top: 1.75rem; }
  .guide-toc ol { font-size: 0.875rem; }
  .guide-body section, .guide-sources { padding-top: 2.5rem; }
  .guide-body h2 { font-size: 1.45rem; }
  .guide-body h3 { font-size: 1.0625rem; margin-top: 1.75rem; }
  .guide-body p, .guide-body li { font-size: 0.9375rem; }
  .guide-steps > li { padding-left: 3.1rem; }
  .guide-steps > li b { font-size: 1rem; }
  .guide-case { padding: 1.1rem; }
  .guide-ask { padding: 1.5rem 1.25rem; }
  .guide-ask h2 { font-size: 1.3rem; }
  .guide-ask > p { font-size: 0.9375rem; }
  .guide-faq summary { font-size: 1rem; }
  .guide-table table { min-width: 0; }
  .guide-table caption { display: block; line-height: 1.7; }
  .guide-table thead { display: none; }
  .guide-table table, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table tr { border-top: 1px solid var(--line); padding: 0.75rem 0; }
  .guide-table td { border: 0; padding: 0.15rem 0; }
  .guide-table td:first-child { white-space: normal; margin-bottom: 0.25rem; }
}

.guide-ask .guide-ask-more { margin: 1rem 0 0; font-size: 0.9375rem; color: #e3e9dc; }
.guide-ask .guide-ask-more a { color: #fff; }
.guide-bridge .split-head a { color: var(--green); }
@media (min-width: 960px) and (max-width: 1140px) { .nav-desktop { gap: 1rem; margin-right: 1rem; } .nav-desktop a { font-size: 0.9063rem; } .site-header .brand-text { display: none; } }

/* 카톡으로 시작하기 버튼 */
.button.line-light { border-color: rgba(247, 247, 242, 0.7); color: var(--paper); background: transparent; }
.button.line-light:hover { background: var(--paper); color: var(--ink); }
.closing .actions { margin-top: 1.5rem; }
.closing .actions .button { margin-top: 0; }
.price-card .button.block + .button.block { margin-top: 0.6rem; }
.hero-actions .button { flex: 0 0 auto; }

.hero-more { margin: 1rem 0 0; }
.hero-more a { color: var(--ink); font-weight: 500; }
.guide-ask a.button.line-light { color: #fff; }
.guide-ask a.button.line-light:hover { color: var(--ink); }
.guide-ask a.button.kakao-main, .guide-ask a.button.kakao-main:hover, .guide-ask a.button.kakao-main:active { color: #191919; }

/* 관리 화면 방문 통계 */
.stats-view { margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
.stats-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.stats-head h2 { font-size: 1.125rem; }
.stats-sum { margin: 0.6rem 0 1rem; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats-box h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.stats-box table { width: 100%; font-size: 0.875rem; }

/* 새로 문 연 가게 할인 이벤트(홈 칸과 이벤트 쪽 머리) */
.event-card { margin-top: 2rem; padding: 1.3rem 1.25rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-m); }
.event-kicker { font-size: 0.875rem; font-weight: 600; color: var(--green); margin: 0; }
.event-card h2 { font-size: 1.375rem; letter-spacing: -0.03em; margin-top: 0.35rem; }
.event-terms { margin: 0.85rem 0 0; display: grid; gap: 0.45rem; }
.event-terms > div { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.5rem; align-items: baseline; }
.event-terms dt { font-size: 0.875rem; font-weight: 700; color: var(--green); }
.event-terms dd { margin: 0; line-height: 1.6; color: var(--ink); word-break: keep-all; text-wrap: pretty; }
.event-note { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.6; word-break: keep-all; text-wrap: pretty; }
.event-card .actions { margin-top: 1rem; }
.event-card .hero-more { margin-top: 0.75rem; }
.page-head .event-kicker { margin-bottom: 0.25rem; }

.header-contact{display:flex;align-items:center;gap:.5rem}.button.kakao-main,.footer-nav a.kakao-main,.nav-mobile nav a.kakao-main{background:#FEE500;color:#191919;border:0;font-weight:750;text-decoration:none;min-height:46px}.button.kakao-main:hover,.button.kakao-main:active{background:#F5DC00;color:#191919}.button.chat-alt{color:#222;background:white;border:1px solid #707070;text-decoration:none}.button.kakao-main:focus-visible,.button.chat-alt:focus-visible{outline:3px solid #263b92;outline-offset:3px;box-shadow:0 0 0 3px white}.button.kakao-main.block+.chat-alt{margin-top:.5rem}@media(max-width:760px){.header-contact{display:none}.button.kakao-main{width:100%;box-sizing:border-box}.guide-ask-ways .button.kakao-main{justify-self:stretch}.footer-nav .button.kakao-main{flex-basis:100%}.actions:has(.kakao-main){display:flex;flex-direction:column;align-items:stretch}}

:root { --contact-height: 50px; --contact-gap: 12px; }
@media (max-width: 760px) { :root { --contact-height: 54px; } }
a.button:is(.kakao-main,.chat-alt) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: var(--contact-height); min-height: var(--contact-height); max-height: var(--contact-height); padding-block: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.actions:has(.kakao-main), .header-contact, .guide-ask ul.guide-ask-ways { gap: var(--contact-gap); }
.price-card .button.block + .button.block { margin-top: var(--contact-gap); }

.site-header .nav-desktop a,.site-header .header-contact a {white-space:nowrap;flex-shrink:0}
@media(min-width:960px){.site-header .header-inner{max-width:88rem}.site-header .nav-desktop{gap:clamp(12px,1.4vw,23px);margin-right:.5rem}.site-header .header-contact{flex:none}}
@media(min-width:960px) and (max-width:1359px){.site-header .brand-text{display:none}}

/* 실제 후기 칸(config reviews.show) */
.reviews-head { margin-bottom: 1.5rem; }
.reviews-source { margin-top: 0.6rem; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); max-width: 46rem; }
.reviews { display: grid; gap: 1.75rem; }
.review { margin: 0; }
.review blockquote { margin: 0; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem; }
.review-rating { display: inline-flex; align-items: center; gap: 0.4rem; }
.stars { display: inline-flex; gap: 2px; color: #b07f22; }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.score { font-size: 0.875rem; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.review-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.35rem 1.25rem 1.2rem; }
.review-main blockquote { margin-top: 1.1rem; font-size: 1.125rem; font-weight: 550; line-height: 1.75; letter-spacing: -0.015em; color: var(--ink); }
.review-main blockquote::before { content: "\201C"; display: block; height: 1.3rem; font-family: Georgia, "Times New Roman", serif; font-size: 3rem; font-weight: 700; line-height: 0.95; color: var(--green); }
.review-who { display: flex; flex-wrap: wrap; gap: 0.1rem 0.65rem; margin-top: 1rem; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.review-who b { font-weight: 650; color: var(--ink); }
.review-others h3 { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.review-others ul { list-style: none; margin: 0.55rem 0 0; padding: 0; }
.review-others li { border-top: 1px solid var(--line); padding: 1rem 0; }
.review-others li:last-child { border-bottom: 1px solid var(--line); }
.review-small .case-label { font-size: 0.75rem; }
.review-small .stars svg { width: 0.875rem; height: 0.875rem; }
.review-small .score { font-size: 0.8125rem; }
.review-small blockquote { margin-top: 0.55rem; font-size: 0.9688rem; line-height: 1.7; color: var(--ink); }
.review-small .review-who { margin-top: 0.45rem; font-size: 0.8125rem; }
.reviews-section { padding-bottom: 2.75rem; }
.reviews-section > * { max-width: 46rem; }
.reviews-section h2 { font-size: var(--step-2); letter-spacing: -0.025em; }
@media (min-width: 700px) {
  .reviews-narrow .review-others ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .reviews-narrow .review-others li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .reviews-head { margin-bottom: 2.25rem; }
  .reviews-home { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .reviews-home .review-main { padding: 2rem 2rem 1.75rem; }
  .reviews-home .review-main blockquote { font-size: 1.3125rem; }
}

/* 안내 글 그림(직접 만든 순서도·요약 그림) */
.guide-figure { margin: 1.5rem 0 1.75rem; }
.guide-figure img { display: block; width: 100%; max-width: 600px; height: auto; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
.guide-figure figcaption { max-width: 600px; margin: 0.65rem auto 0; font-size: 0.8125rem; line-height: 1.7; color: var(--muted); }
@media (max-width: 700px) { .guide-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 0.15rem; } }

/* 가격 안내 표: 자리가 넓으면 표, 좁으면(휴대폰, 서비스 쪽 좁은 본문) 상품마다 카드 */
.plan-wrap { container-type: inline-size; }
.plan-table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 2px solid var(--ink); font-size: 0.9375rem; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
.plan-table th, .plan-table td { text-align: left; vertical-align: top; padding: 0.95rem 0.8rem; border-bottom: 1px solid var(--line); background: none; }
.plan-table th:first-child { padding-left: 0; }
.plan-table td:last-child { padding-right: 0; }
.plan-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.plan-table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); padding-top: 0.7rem; padding-bottom: 0.7rem; }
.plan-table thead th:nth-child(1) { width: 8.5rem; }
.plan-table thead th:nth-child(2) { width: 7.5rem; }
.plan-table thead th:nth-child(4) { width: 8.5rem; }
.plan-table tbody th { font-weight: 700; color: var(--ink); }
.plan-group { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--green); margin-bottom: 0.1rem; }
.plan-table .plan-price { font-weight: 760; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-table .plan-scope, .plan-table .plan-period { color: var(--muted); }
.plan-link { display: inline-block; margin-top: 0.35rem; font-size: 0.875rem; font-weight: 600; }
.plan-vat { margin-top: 0.9rem; font-weight: 650; color: var(--ink); font-size: 0.9688rem; }
.plan-notes { margin: 0.9rem 0 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.9688rem; }
.plan-notes li + li { margin-top: 0.3rem; }
/* 가격 안내의 크라우드펀딩 창작자 칸: 소개 문장과 표 사이 간격(2026-11-27) */
.plan-intro { margin: 0 0 1.1rem; }
.ledger-more { border-top: 1px solid var(--line); padding: 0.85rem 0 0.75rem; font-size: 0.9375rem; font-weight: 650; }
@container (max-width: 640px) {
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td { display: block; width: auto; }
  .plan-table { border-top: 0; }
  .plan-table caption { display: none; }
  .plan-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .plan-table tbody tr { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-m); padding: 0.95rem 1rem 1rem; }
  .plan-table tbody tr + tr { margin-top: 0.85rem; }
  .plan-table tbody th, .plan-table tbody td, .plan-table tbody tr:last-child td { padding: 0; border: 0; }
  .plan-table tbody th { font-size: 1.0625rem; }
  .plan-table .plan-price { font-size: 1.25rem; margin-top: 0.15rem; }
  .plan-table .plan-scope, .plan-table .plan-period { margin-top: 0.6rem; }
  .plan-table .plan-scope::before, .plan-table .plan-period::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.1rem; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 760px) {
    .plan-table, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td { display: block; width: auto; }
    .plan-table { border-top: 0; }
    .plan-table caption { display: none; }
    .plan-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .plan-table tbody tr { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-m); padding: 0.95rem 1rem 1rem; }
    .plan-table tbody tr + tr { margin-top: 0.85rem; }
    .plan-table tbody th, .plan-table tbody td, .plan-table tbody tr:last-child td { padding: 0; border: 0; }
    .plan-table tbody th { font-size: 1.0625rem; }
    .plan-table .plan-price { font-size: 1.25rem; margin-top: 0.15rem; }
    .plan-table .plan-scope, .plan-table .plan-period { margin-top: 0.6rem; }
    .plan-table .plan-scope::before, .plan-table .plan-period::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.1rem; }
  }
}
.plan-seg { display: inline-block; }

/* 안내 글 맨 위 '짧게 답하면'과 날짜 줄 (GEO 기준 2026-11-26) */
.guide-dates { font-size: 0.8125rem; color: var(--muted); margin: 0.35rem 0 0; line-height: 1.8; }
.page-guide .guide-answer { margin-top: 2.25rem; padding: 1.35rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-m); }
.page-guide .guide-answer h2 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.5; margin: 0 0 0.5rem; color: var(--green-deep); }
.page-guide .guide-answer p { margin: 0; font-size: 1rem; line-height: 1.9; }
@media (max-width: 699px) { .page-guide .guide-answer { margin-top: 1.75rem; padding: 1.1rem 1.15rem; } .page-guide .guide-answer p { font-size: 0.9375rem; } }

/* 서비스 쪽 '짧게 답하면'과 작업 종류 표 (2026-11-26) */
.service-answer { margin: 1.5rem 0 1.25rem; padding: 1.2rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-m); max-width: 52rem; }
.service-answer h2 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.5; margin: 0 0 0.5rem; color: var(--green-deep); }
.service-answer p { margin: 0; font-size: 1rem; line-height: 1.9; }
.kinds-table td:last-child { white-space: nowrap; }
.kinds-table td:last-child a { font-weight: 500; }
@media (max-width: 699px) { .service-answer { padding: 1.05rem 1.1rem; } .service-answer p { font-size: 0.9375rem; } .kinds-table td:last-child { white-space: normal; } }

/* 채널점검 A항목(2026-11-26) */
/* 홈 첫 화면 가격 한 줄(1-4) */
.hero-price { margin: 1rem 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); font-weight: 500; word-break: keep-all; }
.hero-price b { color: var(--green-deep); font-weight: 760; }
.hero-price + .actions { margin-top: 1rem; }
/* 안내 글 '짧게 답하면' 아래 한 줄(1-6) */
.guide-answer-help { margin: 0.7rem 0 0; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.guide-answer-help a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
/* 권한 받는 방식 한 줄 표(1-5) */
.account-table { margin: 0.9rem 0 0.4rem; }
.account-table td:first-child { white-space: normal; min-width: 9em; }
.account-note { margin-top: 0.4rem; }
.account-head { margin-top: 1.75rem; }
/* 구글 서비스 쪽 '외국인 손님 받는 가게' 절(2026-11-27) */
.foreign-block > h3 { margin: 1.75rem 0 0.6rem; }
.foreign-block > .price-table { margin-bottom: 0.5rem; }
/* 카톡 버튼 아래 한 줄(2026-11-28): 오픈채팅에 들어가는 순서와 보낼 것 */
.kakao-hint { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted); word-break: keep-all; text-wrap: balance; }
.actions > .kakao-hint { flex: 0 0 100%; margin-top: -4px; }
.closing .actions > .kakao-hint { margin-top: -4px; color: #c4ccc4; }
.guide-ask .guide-ask-ways .kakao-hint { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: #e3e9dc; }
.price-card .kakao-hint { margin: 8px 0 0; font-size: 0.8125rem; }
.event-card .actions > .kakao-hint { font-size: 0.8125rem; }
.price-card .kakao-hint + .button.block { margin-top: 10px; }
@media (max-width: 760px) {
  .actions:has(.kakao-main) > .kakao-hint { flex: 0 0 auto; order: 1; }
  .actions:has(.kakao-main) > .chat-alt { order: 2; }
}

/* 홈 세 갈래와 입구 한 줄. src/assets/style.css 끝에 붙인다. 색·글꼴은 기존 변수만 쓴다. */
.tracks { padding: 1.75rem 0 0.5rem; }
.tracks-head { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.tracks-title { font-size: var(--step-2); letter-spacing: -0.025em; }
.tracks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.track-card { display: grid; gap: 0.35rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: inherit; text-decoration: none; }
.track-card:hover, .track-card:focus-visible { border-color: var(--ink); }
.track-kind { font-size: 0.8125rem; color: var(--green); font-weight: 650; }
.track-card b { font-size: var(--step-1); }
.track-card span:not(.track-kind) { color: var(--muted); font-size: 0.95rem; }
.track-card em { font-style: normal; font-weight: 650; margin-top: 0.25rem; }
@media (min-width: 900px) { .tracks-list { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.brand-name { font-weight: 800; letter-spacing: 0.02em; }
.lesson-addon a { font-weight: 650; }

/* 2026-11-29 합치기: 이름 글자 로고, 선택형 추가, 금액 칸 */
.wordmark { display: inline-block; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; line-height: 1; color: var(--green); white-space: nowrap; }
.footer-brand .wordmark { font-size: 1.5rem; }
.chat-home .wordmark { font-size: 1rem; }
.addons { margin-top: 1.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.addons h3 { margin: 0 0 0.4rem; font-size: var(--step-0); }
.addon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.addon-list li { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; align-items: baseline; }
.addon-price { font-weight: 700; }
.addon-desc { flex-basis: 100%; color: var(--muted); font-size: 0.95rem; }
.class-price { margin: 0 0 1.5rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.class-price p { margin: 0.2rem 0; }

/* 첫 화면 세 업무(2026-11-29): 회사 소개 한 줄 + 같은 크기·같은 구성의 업무 카드 3개 */
.home-intro { padding: 2.25rem 0 2.75rem; }
.home-slogan { font-size: 0.9375rem; font-weight: 650; color: var(--green); letter-spacing: 0.01em; }
.home-title { margin-top: 0.5rem; max-width: 34ch; font-size: clamp(1.625rem, 4.6vw, 2.5rem); line-height: 1.28; letter-spacing: -0.03em; }
.home-lead { margin-top: 0.85rem; max-width: 62ch; color: var(--muted); }
.home-lead a { color: var(--ink); }
.biz-cards { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
.biz-card { display: flex; flex-direction: column; padding: 1.35rem 1.35rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-s); }
.biz-name { font-size: var(--step-2); letter-spacing: -0.03em; }
.biz-name a { color: var(--ink); text-decoration: none; }
.biz-name a:hover { text-decoration: underline; }
.biz-sub { margin-top: 0.15rem; font-size: 0.9375rem; font-weight: 600; color: var(--green); }
.biz-line { margin-top: 0.7rem; font-size: 0.9688rem; line-height: 1.7; }
.biz-facts { margin: 1rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.biz-facts > div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.biz-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.biz-facts dd { margin: 0.15rem 0 0; font-size: 0.9375rem; line-height: 1.6; }
.biz-facts dd b { display: block; font-size: var(--step-1); letter-spacing: -0.02em; }
.biz-facts dd span { display: block; font-size: 0.875rem; color: var(--muted); }
.biz-more { margin-top: auto; align-self: stretch; text-align: center; }
.biz-facts + .biz-more { margin-top: 1.1rem; }
/* 네 갈래(2026-12-01): 가게 마케팅 카드 안 AI 검색 노출 작은 링크, 사례 쪽 두 번째 묶음 제목 */
.biz-facts dd .biz-sub-more { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--muted); }
.biz-sub-more a { color: var(--muted); }
.cases-line-title { margin-top: 2.5rem; font-size: var(--step-2); letter-spacing: -0.02em; }
.pricing-jump { margin-top: 0.6rem; font-size: 0.9375rem; }
@media (min-width: 900px) {
  .home-intro { padding: 2.75rem 0 3.25rem; }
  .biz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
  .biz-card { padding: 1.5rem 1.5rem 1.6rem; }
  .biz-line { min-height: 5.1em; }
  .biz-facts > div:first-child { min-height: 4.6rem; }
  .biz-facts > div:last-child { min-height: 5.6rem; }
}
.home-more-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.25rem 2rem; }
.home-more-list li { display: grid; gap: 0.1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.home-more-list a { font-weight: 650; }
.home-more-list span { font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 800px) { .home-more-list { grid-template-columns: 1fr 1fr; } }
.marketing-crumbs { padding-top: 1rem; }

/* 메뉴 '더보기'(PC 펼침, 휴대폰 메뉴 아래 묶음) */
.nav-more { position: relative; }
.nav-more summary { list-style: none; cursor: pointer; font-weight: 500; font-size: 0.9688rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--ink); }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin-left: 0.4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
.nav-more[open] summary::after { transform: translateY(0.05em) rotate(-135deg); }
.nav-more summary:hover, .nav-more summary.is-current { border-bottom-color: var(--green); }
.nav-more-list { position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 30; display: flex; flex-direction: column; min-width: 15rem; padding: 0.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 8px 24px rgba(32, 46, 42, 0.12); }
.site-header .nav-desktop .nav-more-list a { padding: 0.55rem 0.75rem; border-bottom: 0; border-radius: var(--radius-s); white-space: nowrap; }
.site-header .nav-desktop .nav-more-list a:hover, .site-header .nav-desktop .nav-more-list a[aria-current] { background: var(--soft); }
.nav-mobile-sub { display: block; margin-top: 0.35rem; padding: 0.55rem 0.8rem 0.2rem; border-top: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.nav-mobile nav a.nav-mobile-more { padding-block: 0.45rem; font-size: 0.9375rem; }
.hero-h1-sub { display: block; margin-top: 0.75rem; font-size: var(--step-1); line-height: 1.45; font-weight: 600; letter-spacing: -0.02em; color: var(--green); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .biz-cards { grid-template-rows: repeat(12, auto); row-gap: 0; }
    .biz-card:nth-child(n+3) { margin-top: 1.25rem; }
    .biz-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .biz-facts { display: contents; }
    .biz-facts > div { min-height: 0 !important; }
    .biz-facts > div:first-of-type { margin-top: 1rem; border-top: 1px solid var(--line); }
    .biz-line { min-height: 0; }
    .biz-more { margin-top: 1.1rem; align-self: end; }
  }
}
.home-title { font-size: clamp(1.875rem, 6.2vw, 3rem); max-width: none; }
/* 무료 상담 안내 한 줄(2026-11-29) */
.free-note { margin-top: 0.85rem; padding: 0.55rem 0.85rem; display: inline-block; max-width: 62ch; font-size: 0.9688rem; font-weight: 600; color: var(--green-deep); background: var(--soft); border-left: 3px solid var(--green); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.free-note a { margin-left: 0.25rem; white-space: nowrap; }
.hero-copy .free-note { margin: 1rem 0 0.25rem; }
.page-head .free-note { margin: 0.75rem 0 0.25rem; }
.closing .free-note-light { margin-top: 0.6rem; background: transparent; border-left-color: currentColor; color: inherit; font-weight: 600; padding-block: 0.2rem; }
/* 무료 안내 줄 + 채팅·카톡 버튼 한 쌍(2026-11-29) */
div.free-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; max-width: none; }
div.free-note p { margin: 0; }
.free-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.free-actions .button { margin: 0; }
@media (max-width: 520px) { .free-actions { width: 100%; } .free-actions .button { flex: 1 1 0; text-align: center; justify-content: center; } }

/* 수업방(/class/room/, 2026-11-30) */
.page-classroom { overflow: hidden; }
.cr-shell { position: fixed; inset: 0; height: 100vh; height: 100dvh; max-width: 46rem; margin: 0 auto; display: flex; flex-direction: column; background: var(--white); border-inline: 1px solid var(--line); }
@media (max-width: 46rem) { .cr-shell { border-inline: 0; } }
.cr-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 1rem; padding-top: calc(0.7rem + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--white); }
.cr-title h1 { margin: 0; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.3; }
.cr-sub { margin: 0.1rem 0 0; font-size: 0.75rem; color: var(--muted); }
.cr-top-actions { display: flex; gap: 0.25rem; flex-wrap: wrap; justify-content: flex-end; }
.cr-link { appearance: none; border: 0; background: none; padding: 0.4rem 0.5rem; font: inherit; font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: var(--radius-s); }
.cr-link:hover { color: var(--ink); background: var(--soft); }
.cr-app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cr-enter { flex: 1; overflow-y: auto; padding: 2rem 1.25rem; }
.cr-enter form { max-width: 26rem; margin: 0 auto; display: grid; gap: 0.9rem; }
.cr-enter h2 { margin: 0; font-size: var(--step-1); }
.cr-enter p { margin: 0; line-height: 1.65; }
.cr-enter input[name="code"] { font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.cr-enter .note { font-size: 0.8125rem; color: var(--muted); }
.cr-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cr-notice { flex: none; margin: 0; padding: 0.6rem 1rem; font-size: 0.875rem; line-height: 1.55; background: var(--soft); border-bottom: 1px solid var(--line); }
.cr-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem 0.9rem 0.5rem; overscroll-behavior: contain; }
.cr-empty { margin: 1.5rem auto; max-width: 22rem; text-align: center; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.cr-messages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.cr-msg { max-width: 86%; padding: 0.6rem 0.85rem 0.45rem; border-radius: 12px; line-height: 1.6; font-size: 0.96875rem; overflow-wrap: anywhere; }
.cr-msg.me { align-self: flex-end; background: var(--green); color: var(--paper); border-bottom-right-radius: 4px; }
.cr-msg.teacher { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cr-msg.system { align-self: center; max-width: 100%; padding: 0.2rem 0.6rem; font-size: 0.75rem; color: var(--muted); background: none; }
.cr-who { display: block; font-size: 0.6875rem; font-weight: 700; opacity: 0.75; margin-bottom: 0.1rem; }
.cr-msg.me .cr-who { display: none; }
.cr-text { margin: 0; white-space: pre-wrap; }
.cr-muted { opacity: 0.75; font-style: normal; }
.cr-file { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; font-size: 0.875rem; }
.cr-file-btn { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.cr-file small { opacity: 0.75; }
.cr-time { display: block; margin-top: 0.15rem; font-size: 0.6875rem; opacity: 0.7; }
.cr-msg.me .cr-time { text-align: right; }
.cr-check { flex: none; display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; padding: 0 0.9rem; min-height: 0; }
.cr-check:has(button:not([hidden])), .cr-check:has(.cr-status:not(:empty)) { padding: 0.35rem 0.9rem; }
.cr-status { font-size: 0.75rem; color: var(--muted); text-align: center; }
.cr-composer { flex: none; padding: 0.55rem 0.75rem; padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.cr-row { display: flex; align-items: flex-end; gap: 0.45rem; }
.cr-row textarea { flex: 1; min-width: 0; min-height: 2.75rem; max-height: 160px; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 1.25rem; font: inherit; font-size: 16px; line-height: 1.45; resize: none; background: var(--white); color: var(--ink); }
.cr-attach { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; padding: 0 0.85rem; border: 1px solid var(--line); border-radius: 1.25rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; background: var(--paper); }
.cr-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cr-send { flex: none; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 1.25rem; background: var(--green); color: var(--paper); font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.cr-send:disabled, .cr-composer.is-readonly .cr-attach { opacity: 0.45; cursor: not-allowed; }
.cr-file-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; }
.cr-composer .form-error { margin: 0.35rem 0 0; font-size: 0.8125rem; }
.cr-composer .form-error:empty { display: none; }
.cr-hint { margin: 0.3rem 0 0; font-size: 0.6875rem; color: var(--muted); line-height: 1.5; }
.cr-composer.is-readonly .cr-hint { display: none; }

/* 수업방 관리(/class/admin/) */
.ca-page { padding-block: 1.5rem 3rem; }
.ca-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .ca-grid { grid-template-columns: 20rem 1fr; align-items: start; } }
.ca-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; max-height: 75vh; overflow-y: auto; }
.ca-item { width: 100%; text-align: left; display: grid; gap: 0.2rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); font: inherit; color: var(--ink); cursor: pointer; }
.ca-item.is-on { border-color: var(--green); box-shadow: inset 3px 0 0 var(--green); }
.ca-item small { font-size: 0.75rem; color: var(--muted); overflow-wrap: anywhere; }
.ca-item-top { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.ca-tag { font-size: 0.6875rem; font-weight: 700; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--soft); }
.ca-tag.need { background: var(--green); color: var(--paper); }
.ca-tag.del { background: var(--error); color: #fff; }
.ca-none { color: var(--muted); font-size: 0.875rem; }
.ca-view { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); padding: 1rem; min-height: 12rem; }
.ca-head h2 { margin: 0; font-size: var(--step-1); }
.ca-meta { margin: 0.3rem 0 0; font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; }
.ca-warn { margin: 0.5rem 0 0; padding: 0.5rem 0.7rem; border-radius: var(--radius-s); background: #f6e3df; color: var(--error); font-size: 0.875rem; }
.ca-msgs { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.6rem; max-height: 55vh; overflow-y: auto; }
.ca-msg { padding: 0.55rem 0.75rem; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--paper); }
.ca-msg.owner { background: #e3ece6; border-color: #b9cbbf; }
.ca-msg.ai { background: #eef0f5; border-color: #c9cfdc; }
.ca-msg.sys { border-style: dashed; }
.ca-msg-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-size: 0.8125rem; }
.ca-msg-top time { color: var(--muted); }
.ca-redact { margin-left: auto; font-size: 0.75rem; }
.ca-text { margin: 0.3rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.ca-text.muted { color: var(--muted); }
.ca-file { margin-top: 0.35rem; appearance: none; border: 0; background: none; padding: 0; font: inherit; font-size: 0.875rem; color: var(--green); text-decoration: underline; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.ca-reply-form textarea { width: 100%; }
.ca-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.ca-reply-form .note { font-size: 0.75rem; color: var(--muted); }

.cr-msg.me.help { background: var(--green-deep); }

.cr-msg.me.help .cr-who { display: block; }


/* 2026-12-01 먼저 물어보기 칸(서비스 쪽 머리의 '시작 가격' 자리)과 /marketing/ 할인 칸을 무료 안내 아래로 옮긴 뒤의 폭 */
.ask-card .ask-title { font-size: 1.125rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.4; }
.ask-card .price-scope { margin: 0.5rem 0 1rem; }
.event-band .event-card { margin-top: 0; max-width: 40rem; }
.ledger-row .ledger-scope { text-decoration: underline; text-underline-offset: 3px; }
