/* ELK e-Book Library — page-specific styles */

/* ===== 01 home ===== */
.hero-slide.hero-image { position: relative; display: block; min-height: 0; aspect-ratio: 1920 / 450; max-height: 450px; width: 100%; background: #f3e3cf; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { display: none; }
.hero { position: relative; overflow: hidden; }
.hero-slide { min-height: 420px; display: flex; align-items: center; color: #fff; }
.hero-slide[hidden] { display: none; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 104px; }
.hero-text h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; }
.hero-text p { margin: 16px 0 28px; font-size: 18px; opacity: .85; }
.hero-text .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hero-covers { position: relative; height: 320px; }
.hero-covers img { position: absolute; top: 50%; left: 50%; width: 200px; aspect-ratio: 240 / 310; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hero-covers img:nth-child(1) { translate: -50% -50%; z-index: 3; }
.hero-covers img:nth-child(2) { translate: -110% -46%; rotate: -8deg; z-index: 2; width: 180px; }
.hero-covers img:nth-child(3) { translate: 10% -46%; rotate: 8deg; z-index: 1; width: 180px; }
.hero-covers img:only-child { width: 230px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 52px; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 34px; height: 34px; border-radius: 50%; background: rgba(46, 43, 87, .45); color: #fff; font-size: 18px; line-height: 1; }
.hero-arrow:hover { background: var(--brand); }
#heroPause { font-size: 11px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(46, 43, 87, .25); transition: width .2s; }
.hero-dots button[aria-selected="true"] { width: 26px; background: var(--accent-logo); }

.home-search { margin-top: -36px; position: relative; z-index: 2; }
.big-search { display: flex; gap: 8px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 860px; margin: 0 auto; }
.big-search input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 0; font-size: 17px; background: transparent; }
.big-search input:focus { outline: none; }
.keyword-chips { justify-content: center; align-items: center; margin-top: 18px; }
.keyword-chips > .muted { font-size: 14px; margin-right: 4px; }
.home-tabs { border-bottom: 0; }
.home-tabs button { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }




.logo-wall { --per: 6; --cols: var(--per); --gap: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.logo-wall > li { flex: none; width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.logo-tile.name-tile { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); text-align: left; }
.logo-tile.name-tile b { font-weight: 700; line-height: 1.3; }
.logo-tile { position: relative; display: grid; place-items: center; height: 92px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.logo-tile img { max-width: 100%; max-height: 52px; object-fit: contain; }
.logo-tile:hover, .logo-tile:focus-visible { border-color: var(--brand-logo); box-shadow: var(--shadow); transform: translateY(-2px); }
.home-bottom { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.notice-box, .cs-box { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.notice-box .section-head { margin-bottom: 12px; }
.notice-box .section-head h2, .cs-box h2 { font-size: 20px; font-weight: 800; }
.notice-box li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.notice-box li a:hover { text-decoration: underline; }
.notice-box time { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.cs-box .tel { font-size: 32px; font-weight: 800; margin-top: 10px; letter-spacing: -.02em; }
.cs-btns { display: flex; gap: 8px; margin-top: 18px; }

@media (max-width: 1100px) {
  .logo-wall { --cols: min(var(--per), 4); }
}
@media (max-width: 760px) {
  .hero-slide { min-height: 0; }
  .hero-slide.hero-image { aspect-ratio: auto; height: 240px; }
  .hero-caption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 12px 16px 88px; background: rgba(46, 43, 87, .82); color: #fff; font-size: 13px; }
  .hero-caption b { font-size: 19px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 32px; padding-bottom: 100px; }
  .hero-ctrl { bottom: 44px; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 15px; margin: 10px 0 18px; }
  .hero-covers { display: none; }
  .home-search { margin-top: -28px; }
  .big-search { border-radius: 12px; padding: 6px; }
  .big-search input { height: 44px; font-size: 15px; padding: 0 10px; }
  .big-search .btn { height: 44px; padding: 0 16px; }
  .keyword-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .home-tabs { gap: 18px; }
  .home-tabs button { font-size: 18px; }
                      .home-bottom { grid-template-columns: 1fr; }
  .logo-wall { --cols: min(var(--per), 3); --gap: 10px; }
  .logo-tile { height: 68px; padding: 10px 12px; }
  .logo-tile img { max-height: 38px; }
    .notice-box, .cs-box { padding: 20px; }
  .notice-box li { flex-direction: column; gap: 2px; }
}

/* ===== 03 library ===== */
.lib { padding-top: 28px; }
.sub-chips { margin-top: 18px; }
.sub-chips:empty { display: none; }
.org-chips { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.org-chips .chip { height: 30px; font-size: 13px; }
.lib-search { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.lib-keywords { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lib-keywords > span { font-size: 14px; font-weight: 700; white-space: nowrap; }
.lib-keywords .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lib-keywords .chip { height: 30px; font-size: 13px; }
.lib-search-form { display: flex; gap: 8px; flex: none; width: 360px; }
.lib-search-form .input { height: 40px; }
.lib-search-form .btn { height: 40px; }
.lib-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 20px; }
.lib-bar p { font-size: 16px; }
.lib-filters { display: flex; gap: 8px; }
.lib-filters .select { height: 38px; width: auto; padding: 0 30px 0 12px; font-size: 14px; }
.lib-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 760px) {
  .lib { padding-top: 12px; }
  .lib-search { flex-direction: column; align-items: stretch; padding: 12px; }
  .lib-search-form { width: auto; }
  .lib-bar { flex-direction: column; align-items: flex-start; margin: 20px 0 14px; }
  .lib-filters { width: 100%; }
  .lib-filters .select { flex: 1; min-width: 0; padding: 0 8px; }
  #typeTabs { gap: 20px; }
  #typeTabs button { font-size: 15px; }
  .sub-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
}

/* ===== shared bits for detail-type pages ===== */
.eyebrow { font-size: 14px; font-weight: 700; color: var(--brand-2); margin-bottom: 6px; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.org-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ===== 04 organisation library ===== */
.org-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.org-hero-inner { display: grid; grid-template-columns: 140px 1fr; gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.org-logo { display: grid; place-items: center; width: 140px; height: 140px; padding: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.gate-or { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.gate-or::before, .gate-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.org-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.org-intro { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 760px; }
.org-meta { margin-top: 8px; font-size: 14px; }
.org-actions .btn svg { width: 18px; height: 18px; }
.org-body { padding-top: 36px; }

/* 04-1 private gate */
.gate { display: grid; place-items: center; min-height: 60vh; padding-top: 60px; }
.gate-card { width: 100%; max-width: 440px; display: grid; gap: 14px; padding: 40px 36px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); text-align: center; }
.gate-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 4px; border-radius: 50%; background: var(--bg-2); }
.gate-icon svg { width: 28px; height: 28px; }
.gate-card h1 { font-size: 22px; font-weight: 800; }
.gate-card .input { text-align: center; letter-spacing: .1em; }
.gate-hint { font-size: 13px; color: var(--ink-3); }
.gate-hint code { padding: 2px 6px; border-radius: 4px; background: var(--bg-3); }
.gate-login { font-size: 14px; }

.lnb a .muted { font-size: 13px; }

/* ===== 05 book detail ===== */
.detail { padding-top: 28px; }
.detail-top { display: grid; grid-template-columns: 380px 1fr; gap: 56px; margin-top: 8px; }
.detail-cover img { width: 100%; aspect-ratio: 240 / 310; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 50px rgba(16, 24, 40, .2); }
.detail-info h1 { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.detail-org img { max-width: 140px; }
.detail-org { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--ink-2); }
.detail-org:hover { color: var(--ink); }
.detail-meta { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 26px 0 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.detail-meta dt { color: var(--ink-3); }
.detail-meta dd { margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legacy-note { margin-top: 10px; font-size: 13px; }
/* 목차: section name on the left, its articles on the right (page · title · one-line description) */
.detail-toc { margin-top: 56px; }
.toc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.toc-head h2 { font-size: 22px; font-weight: 800; }
.toc-head h2 .muted { margin-left: 8px; font-size: 14px; font-weight: 500; }
.toc-issue { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.toc-issue select { width: auto; min-width: 190px; height: 40px; padding: 0 12px; }
.toc-sec { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--line-2); }
.toc-sec h3 { display: flex; align-items: center; padding: 18px 24px; font-size: 16px; font-weight: 700; background: var(--bg-2); }
.toc-sec ol { grid-column: 2; padding: 6px 0; }
.toc-row { display: grid; grid-template-columns: 44px minmax(0, auto) minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 11px 24px; }
.toc-row b { font-size: 15px; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.toc-title { font-weight: 600; }
.toc-desc { font-size: 14px; color: var(--ink-3); }
a.toc-row:hover { background: var(--brand-soft); }
a.toc-row:hover .toc-title { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.detail-toc.flat .toc-sec { grid-template-columns: 1fr; }
.detail-toc.flat .toc-sec ol { grid-column: 1; display: grid; grid-template-columns: repeat(2, 1fr); }
.toc-note { margin-top: 12px; font-size: 13px; }

/* ===== 04 periodicals by year (year on the left, that year's issues on the right) ===== */
.issues { margin-top: 36px; }
.issues-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.issues-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.issues-head p { font-size: 14px; }
.issues-head.rest { margin-top: 64px; }
.issue-year { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 32px 0 40px; border-bottom: 1px solid var(--line-2); }
.issue-year h3 { font-size: 22px; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.issue-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.issue-label b { font-size: 16px; font-weight: 700; }
.issue-label span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .issue-grid { grid-template-columns: repeat(3, 1fr); }
  .toc-sec { grid-template-columns: 180px 1fr; }
}
@media (max-width: 760px) {
  .issue-year { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 28px; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .issues-head { flex-wrap: wrap; gap: 4px 12px; }
  .toc-head { flex-direction: column; align-items: stretch; }
  .toc-issue select { flex: 1; min-width: 0; }
  .toc-sec { grid-template-columns: 1fr; }
  .toc-sec h3 { padding: 10px 16px; font-size: 15px; }
  .toc-sec ol { grid-column: 1; }
  .toc-row { grid-template-columns: 34px 1fr; padding: 10px 16px; }
  .toc-desc { grid-column: 2; }
  .detail-toc.flat .toc-sec ol { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .detail-top { grid-template-columns: 300px 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .org-hero-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; padding-bottom: 28px; }
  .org-logo { width: 88px; height: 88px; }
  .org-logo { padding: 10px; }
  .org-logo .org-dot { width: 68px !important; height: 68px !important; font-size: 24px !important; }
  .org-hero h1 { font-size: 26px; }
  .org-intro { font-size: 15px; }
  .org-actions .btn { flex: 1; height: 42px; padding: 0 10px; font-size: 14px; }
  .detail-top { grid-template-columns: 1fr; gap: 24px; }
  .detail-cover { max-width: 240px; margin: 0 auto; }
  .detail-info h1 { font-size: 26px; }
  .detail-actions .btn { flex: 1 1 calc(50% - 10px); height: 48px; padding: 0 10px; }
  .detail-actions .btn.primary { flex-basis: 100%; }
  .detail-toc { margin-top: 36px; }
  .section-head { flex-wrap: wrap; }
  .section-head:has(.home-tabs) { flex-wrap: nowrap; align-items: center; }
  .section-head:has(.home-tabs) .tabs { min-width: 0; }
}

/* ===== 06-1 text view (accessibility / search engines) ===== */
:root { --tv-size: 17px; }
.textview { padding-bottom: 0; }
.tv-skip a { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--brand-deep); color: #fff; border-radius: 8px; }
.tv-skip a:focus { top: 12px; }
.tv-bar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.tv-bar-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.tv-title { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-tools { display: flex; gap: 6px; margin-left: auto; }
.tv-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 32px; padding-bottom: 80px; }
.tv-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding: 16px; border-radius: 12px; background: var(--bg-2); }
.tv-toc h2 { font-size: 15px; margin-bottom: 8px; }
.tv-toc a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; }
.tv-toc a b { min-width: 22px; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.tv-toc a:hover, .tv-toc a.active { background: #fff; }
.tv-toc a.active { font-weight: 700; }
.tv-article { max-width: 760px; font-size: var(--tv-size); line-height: 1.85; }
.tv-article:focus { outline: none; }
.tv-article > h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.tv-article > .muted { margin: 8px 0 32px; font-size: 14px; }
.tv-article section { padding-top: 28px; scroll-margin-top: 84px; }
.tv-article h2 { font-size: 1.55em; font-weight: 800; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 2px solid var(--brand); margin-bottom: 8px; }
.tv-article h3 { font-size: 1.15em; font-weight: 700; margin: 18px 0 6px; line-height: 1.5; }
.tv-article p { margin: 0 0 12px; }
.tv-page { padding: 16px 0 20px; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.tv-pnum { font-size: 13px !important; color: var(--ink-3); margin-bottom: 4px !important; }
.tv-fig { padding: 10px 14px; border-left: 3px solid var(--brand-logo); background: var(--brand-soft); font-size: .92em; }
.tv-open { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--brand-2); }
.tv-open:hover { text-decoration: underline; }
body.hc { background: #000; color: #fff; }
body.hc .tv-bar, body.hc .tv-toc { background: #000; border-color: #fff; }
body.hc .tv-toc a:hover, body.hc .tv-toc a.active { background: #222; }
body.hc .btn { background: #000; color: #fff; border-color: #fff; }
body.hc .muted, body.hc .tv-pnum { color: #ddd; }
body.hc .tv-open, body.hc .tv-toc a b { color: #ffd43b; }
body.hc .tv-article h2 { border-color: #fff; }
body.hc .tv-page { border-color: #555; }
@media (max-width: 760px) {
  .tv-bar-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .tv-title { order: 3; width: 100%; font-size: 15px; }
  .tv-tools { margin-left: auto; }
  .tv-tools .btn { padding: 0 10px; }
  .tv-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .tv-toc { position: static; max-height: none; }
  .tv-toc ol { display: flex; overflow-x: auto; gap: 4px; }
  .tv-toc a { white-space: nowrap; }
  .tv-article > h1 { font-size: 24px; }
}

/* ===== shared content blocks ===== */
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 32px 22px; }
.sub-title { font-size: 18px; font-weight: 800; margin: 40px 0 14px; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.table thead th { background: var(--bg-2); font-weight: 700; border-top: 2px solid var(--brand); }
.table tbody th { text-align: left; font-weight: 500; }
.board { border-top: 2px solid var(--brand); }
.board li { border-bottom: 1px solid var(--line); }
.board summary { display: flex; align-items: center; gap: 14px; padding: 18px 8px; cursor: pointer; list-style: none; }
.board summary::-webkit-details-marker { display: none; }
.board summary:hover .board-title { text-decoration: underline; }
.board-no { flex: none; width: 36px; text-align: center; color: var(--ink-3); font-size: 14px; }
.board-title { flex: 1; font-size: 16px; }
.board time { color: var(--ink-3); font-size: 14px; }
.board .state { font-size: 13px; padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.board-body .answer { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--brand-soft); color: var(--ink); }
.board-body .answer b { display: block; color: var(--brand); margin-bottom: 4px; }
.board-body { padding: 4px 8px 24px 58px; color: var(--ink-2); white-space: pre-line; }

/* ===== 07 about ===== */
.about-sec { padding-bottom: 64px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose p { color: var(--ink-2); margin-bottom: 12px; }
.prose .lead { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.prose code { padding: 2px 6px; border-radius: 4px; background: var(--bg-3); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 0 24px; border-left: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats span { font-size: 14px; color: var(--ink-3); }
.stats b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--brand); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.feature-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.feature-grid b { display: block; font-size: 17px; margin-bottom: 8px; }
.feature-grid p { font-size: 14px; margin: 0; }
.guide-steps { display: grid; gap: 12px; }
.guide-steps > li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; }
.guide-steps > li > b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 18px; }
.guide-steps h3 { font-size: 18px; font-weight: 800; }
.guide-steps p { margin: 2px 0 0; font-size: 15px; }

.about-split { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
.about-art { width: 100%; height: auto; }
.dots, .dashes { display: grid; gap: 4px; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.dots li::before { content: "· "; color: var(--brand-2); font-weight: 800; }
.dashes li { position: relative; padding-left: 18px; }
.dashes li::before { content: "–"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.perm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perm article { padding: 24px; border-radius: 14px; background: var(--bg-2); }
.perm h3 { display: inline-block; padding: 4px 14px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 15px; margin-bottom: 10px; }

/* location */
.map { position: relative; aspect-ratio: 16 / 7; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.map #map { position: absolute; inset: 0; z-index: 0; }
.kmap-label { padding: 8px 12px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.map + .loc-info { margin-top: 24px; }
.loc-info { display: grid; grid-template-columns: 110px 1fr; gap: 14px 20px; padding: 22px 0; border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); font-size: 15px; }
.loc-info dt { font-weight: 700; }
.loc-info dd { margin: 0; color: var(--ink-2); line-height: 2; }
.line { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-right: 8px; border-radius: 99px; color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; line-height: 1; }
.line.l2 { background: #00a84d; }   /* 서울 지하철 2호선 색 */
.line.lb { background: #f5a200; }   /* 수인분당선 색 */
.line.lx { background: var(--brand-2); }

/* ===== 08 support ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--brand); }
.faq summary { display: flex; gap: 12px; padding: 18px 8px; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq summary b, .faq p b { color: var(--brand-2); }
.faq p { display: flex; gap: 12px; padding: 0 8px 22px; color: var(--ink-2); white-space: pre-line; }
.legal .legal-in { padding-left: 18px; color: var(--ink-3); }
.legal h4 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.qna-form, .profile-form { display: grid; gap: 16px; max-width: 640px; }
.qna-form { max-width: none; }
.board .state.done { background: #e6f4ee; color: var(--ok); }
.qna-form .btn, .profile-form .btn { justify-self: start; }
.login-need { padding: 32px; border-radius: 14px; background: var(--bg-2); }
.login-need p { margin-bottom: 16px; }
.legal h3 { font-size: 17px; font-weight: 800; margin: 22px 0 6px; }
.legal p { color: var(--ink-2); }

/* ===== 09 inquiry ===== */
.inq { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding-top: 32px; }
.inq-form { display: grid; gap: 20px; margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.grid-2.tight { gap: 12px; }
.inq-form fieldset { border: 0; padding: 0; margin: 0; }
/* 원하는 형태: the three choices share the form's full width, edge to edge */
.kind-set .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kind-set .chip { justify-content: center; height: 46px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.inq-form legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.inq-form > .btn { justify-self: center; min-width: 200px; }
.drop { padding: 28px; border: 2px dashed var(--line-2); border-radius: 14px; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: var(--brand-soft); border-color: var(--brand); }
.drop .muted { font-size: 13px; margin-top: 4px; }
.drop ul { margin-top: 12px; display: grid; gap: 6px; text-align: left; }
.drop li { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.drop li button { margin-left: auto; font-size: 18px; color: var(--ink-3); }
.inq-side { display: grid; gap: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { padding: 24px; border-radius: 14px; background: var(--bg-2); }
.side-box h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.side-box .tel { font-size: 28px; font-weight: 800; }
.side-box .muted { font-size: 14px; }
.mini-steps { counter-reset: s; display: grid; gap: 8px; margin-bottom: 14px; }
.mini-steps li { counter-increment: s; display: flex; gap: 10px; align-items: center; font-size: 15px; }
.mini-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.kakao { margin-top: 14px; background: #fee500; border-color: #fee500; color: #191919; }
.inq-done { padding: 64px 24px; text-align: center; }
.consent { padding: 14px 16px; border-radius: 10px; background: var(--bg-2); font-size: 14px; }
.consent summary { cursor: pointer; font-weight: 600; }
.consent dl { margin: 10px 0 0; display: grid; gap: 6px; color: var(--ink-2); }
.consent dt { font-weight: 700; color: var(--ink); margin-top: 6px; }
.consent dd { margin: 0; }
.done-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 34px; }
.inq-done h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }

/* ===== 10 auth ===== */
.auth { display: grid; place-items: center; padding-top: 56px; }
.auth-card { width: 100%; max-width: 460px; padding: 32px 36px 36px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.auth-card .tabs { margin-bottom: 26px; }
.auth-card .tabs button { flex: 1; text-align: center; font-size: 18px; }
.auth-form { display: grid; gap: 16px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.sns { display: grid; gap: 8px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.sns > span { font-size: 13px; color: var(--ink-3); text-align: center; }
.sns-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.sns-naver { background: #03c75a; border-color: #03c75a; color: #fff; }
.demo-box { padding: 16px; border-radius: 12px; background: var(--brand-soft); font-size: 14px; }
.demo-box p { margin-bottom: 10px; }
.demo-box .btn { margin: 2px 4px 2px 0; }
.join-type { display: flex; gap: 8px; border: 0; padding: 0; margin: 0; }
.join-type legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.join-type .chip { cursor: pointer; }
.id-row { display: flex; gap: 8px; }
.id-row .input { flex: 1; min-width: 0; }
.agree .consent { background: #fff; }
.agree { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: var(--bg-2); }
.agree .check:first-child { padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ===== 11 my page ===== */
.inq-list { display: grid; gap: 14px; }
.inq-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; }
.inq-head { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.inq-head .muted { margin-left: auto; font-size: 14px; }
.inq-name { margin: 6px 0 16px; font-size: 17px; font-weight: 600; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.progress li { position: relative; padding-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--bg-3); }
.progress li.on::before { background: var(--brand); }
.progress li.now::before { background: var(--accent); }
.progress li.now { color: var(--brand); font-weight: 700; }
.ml-sec { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.ml-sec:last-child { border-bottom: 0; }
.ml-sec h3 { font-size: 18px; font-weight: 800; }
.ml-sec > .muted { font-size: 14px; margin-bottom: 14px; }
.skin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.skin-card { display: grid; gap: 10px; padding: 12px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; }
.skin-card.on { border-color: var(--accent); background: var(--accent-soft); }
.skin-card em { font-style: normal; font-size: 13px; color: var(--accent); }
.mini-viewer { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg) ; }
.mv-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: var(--bar); color: #fff; font-size: 11px; }
.mv-bar img { height: 16px; width: auto; }
.mv-bar i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.mv-bar i:first-of-type { margin-left: auto; }
.mv-stage { display: flex; justify-content: center; padding: 14px; background: var(--bg) var(--bgimg, none) center / cover; }
.mv-stage img { width: 34%; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.mini-viewer.big { max-width: 640px; }
.mini-viewer.big .mv-bar { height: 44px; font-size: 15px; padding: 0 16px; gap: 10px; }
.mini-viewer.big .mv-bar img { height: 28px; }
.mini-viewer.big .mv-bar i { width: 18px; height: 18px; }
.mini-viewer.big .mv-stage { padding: 28px; }
.logo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.logo-prev { display: grid; place-items: center; width: 220px; height: 56px; border-radius: 10px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.logo-prev img { max-height: 36px; max-width: 200px; }
.palette { display: flex; gap: 12px; }
.palette button { width: 44px; height: 44px; border-radius: 10px; border: 3px solid transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.palette button[aria-checked="true"] { border-color: var(--accent); }

@media (max-width: 1100px) {
  .card-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .inq { grid-template-columns: 1fr; }
  .inq-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div { padding: 0 10px; }
  .stats b { font-size: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-art { max-width: 260px; justify-self: center; }
  .perm { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .loc-info { grid-template-columns: 1fr; gap: 4px; }
  .loc-info dd { margin-bottom: 10px; }
  .guide-steps li { grid-template-columns: 40px 1fr; }
  .guide-steps > li > b { width: 40px; height: 40px; }
  .guide-steps li .btn { grid-column: 2; justify-self: start; }
  .board-body { padding-left: 8px; }
  .board summary { flex-wrap: wrap; gap: 6px 10px; }
  .board-title { flex-basis: 100%; order: -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.tight { grid-template-columns: 1fr 1fr; }
  .kind-set .chips { grid-template-columns: 1fr; gap: 8px; }
  .inq-side { grid-template-columns: 1fr; }
  .inq-form > .btn { width: 100%; }
  .auth { padding-top: 20px; }
  .auth-card { padding: 22px 18px 26px; border: 0; box-shadow: none; }
  .progress li { font-size: 11px; }
}

/* ===== 07-2 user guide (images from the current site) ===== */
.guide-sec { padding-bottom: 64px; scroll-margin-top: calc(var(--header-h) + 24px); }
.guide-img { width: 100%; max-width: 748px; height: auto; }
