/* Regional reading surfaces extend the existing v11 palette and type. */
.region-reading{max-width:74ch;margin:0 auto;font-size:18px;line-height:1.85;color:#172943}
.region-heading{padding:26px 0 20px;border-bottom:1px solid #ccd7e4;margin-bottom:28px}
.region-heading h1,.region-hub h1{font-size:clamp(28px,4vw,40px);line-height:1.3;letter-spacing:-.03em;text-wrap:balance}
.region-heading p,.region-reading caption{font-size:14px;color:#4c617a}
.region-reading section{margin:36px 0}.region-reading h2{font-size:24px;line-height:1.4;margin:0 0 16px;letter-spacing:-.02em}
.region-reading p{margin:0 0 20px;overflow-wrap:anywhere}.region-reading a,.region-hub a{text-underline-offset:4px}
.region-numbers{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 20px;padding:24px;background:#edf3fa}
.region-numbers dt{font-size:15px;line-height:1.6}.region-numbers dd{font-size:32px;font-weight:750;line-height:1.3;margin:12px 0 0;font-variant-numeric:tabular-nums}
.region-numbers small{display:block;font-size:14px;font-weight:400;margin-top:8px}.region-reading td{font-variant-numeric:tabular-nums;text-align:right}
.region-directory{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:32px 0;gap:0 28px}
.region-directory li{border-bottom:1px solid #ccd7e4}.region-directory a{display:flex;flex-direction:column;gap:9px;padding:24px 0;color:#172943;text-decoration:none}
.region-directory strong{font-size:24px}.region-directory span{font-size:15px}.region-directory span:last-child{color:#124d91}
.region-directory a:hover strong{text-decoration:underline;text-underline-offset:5px}.region-reading :focus-visible,.region-hub :focus-visible{outline:3px solid #124d91;outline-offset:4px}
.region-link{display:block;margin:24px 0;padding:16px 0;border-block:1px solid #ccd7e4;font-weight:650;color:#124d91}
@media(max-width:600px){.region-directory{grid-template-columns:1fr 1fr;gap:0 18px}.region-reading{font-size:17px;line-height:1.8}.region-reading h2{font-size:22px}.region-numbers{grid-template-columns:1fr;padding:20px;gap:22px}.region-numbers dd{font-size:30px}.region-directory span{font-size:14px}}

/* V12.2 uses the support reading components and their existing palette. */
.region-layout{gap:32px;grid-template-columns:minmax(0,720px) 300px}
.region-layout>.region-reading{width:100%;max-width:720px;margin:0;font-size:17px}
.region-layout .region-heading{padding:12px 0 8px;margin-bottom:12px}
.region-layout .region-heading h1{font-size:clamp(27px,3vw,34px);margin:0 0 8px}
.region-layout .region-heading p{font-size:13px;line-height:1.6;margin:0}
.region-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.region-layout .region-kpi.key-summary{margin:0;padding:12px;min-width:0}
.region-kpi>span{display:block;font-size:13px;color:var(--muted);line-height:1.5}
.region-kpi>strong{display:block;font-size:28px;line-height:1.4;font-variant-numeric:tabular-nums}
.region-kpi>small{display:block;font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.region-layout .region-reading>section{margin:28px 0}
.region-layout .region-numbers{gap:16px;padding:18px;border-radius:8px;background:var(--reading-soft)}
.region-layout .region-numbers dt{font-size:13px}
.region-layout .region-numbers dd{font-size:28px;margin-top:6px}
.region-layout .region-numbers small{font-size:13px;margin-top:4px}
.region-layout .region-derived{margin:16px}
.region-layout .region-derived p{font-size:14px;line-height:1.8}
.region-layout .reading-aside{align-self:stretch}
.region-layout .reading-note{border:1px solid var(--reading-line);border-radius:8px;padding:20px;background:var(--reading-soft)}
.region-layout .reading-note h2{font-size:18px}
.region-layout .reading-note ul{padding:0;list-style:none;margin:0}
.region-layout .reading-note li{padding:12px 0;border-bottom:1px solid var(--reading-line);line-height:1.6}
.region-layout .reading-note li:last-child{border:0;padding-bottom:0}
.region-layout .reading-note small{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.region-hub .region-directory{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 24px}
.region-directory li{border:0;min-width:0}
.region-directory a{position:relative;gap:4px;min-height:88px;height:100%;padding:12px 32px 12px 14px;border:1px solid var(--reading-line);border-radius:8px;background:var(--reading-soft)}
.region-directory a:hover,.region-directory a:focus-visible{background:var(--surface);border-color:var(--accent)}
.region-directory strong{font-size:20px;line-height:1.4}
.region-directory span{font-size:13px;line-height:1.5}
.region-directory a>span:first-of-type{align-self:flex-start;color:var(--accent);font-variant-numeric:tabular-nums;background:var(--surface);border-radius:3px;padding:1px 4px}
.region-directory .region-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--accent)}
.region-hub .evidence-disclosure>section{padding:8px 0}
body:has(.region-hub) .inner-search,body:has(.region-layout) .inner-search{padding:12px 20px;margin-bottom:8px}
body:has(.region-hub) .subnav,body:has(.region-layout) .subnav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;max-width:100%;padding:0 10px;margin-bottom:12px;gap:20px}
body:has(.region-hub) .subnav a,body:has(.region-layout) .subnav a{flex-shrink:0;min-height:44px;display:flex;align-items:center;padding:0}
body:has(.region-hub) .edition-line,body:has(.region-layout) .edition-line{padding:4px 0;font-size:13px}
body:has(.region-hub) .breadcrumbs,body:has(.region-layout) .breadcrumbs{padding:8px 0;margin:0}
@media(min-width:1024px){.region-layout.v11-reading{grid-template-columns:minmax(0,720px) 300px}.region-layout.v11-reading>.reading-aside{display:block}}
@media(min-width:701px){.region-hub .region-directory{gap:8px}.region-directory a{min-height:80px;height:80px;padding:8px 28px 8px 12px;gap:2px}.region-directory strong{font-size:18px;line-height:1.4}.region-directory span{font-size:13px;line-height:1.4}}
@media(min-width:701px) and (max-width:1079px){.region-hub .region-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1023px){.region-layout.v11-reading{grid-template-columns:minmax(0,720px);gap:0}.region-layout.v11-reading>.reading-aside{display:block}.region-layout .sidebar-sticky{position:static}.region-layout .reading-note{margin-top:24px}}
@media(max-width:700px){
 body:has(.region-hub) .portal-brand{padding:14px 0 8px}
 body:has(.region-hub) .inner-search,body:has(.region-layout) .inner-search{padding:10px 12px;margin-bottom:8px}
 body:has(.region-hub) .inner-search>div,body:has(.region-hub) .inner-search .note{display:none}
 body:has(.region-layout) .inner-search .note{margin:4px 0 0}
 .region-hub h1{font-size:27px;margin:12px 0}
 .region-hub .region-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}
 .region-directory a{min-height:92px;padding:10px 24px 10px 10px}
 .region-directory span{font-size:13px}
 .region-directory strong{font-size:18px}
 .region-directory .region-arrow{right:8px;font-size:22px}
 .region-kpis{gap:8px}
 .region-layout .region-kpi.key-summary{padding:10px 8px}
 .region-kpi>span{font-size:13px}
 .region-kpi>strong{font-size:24px}
 .region-kpi>small{font-size:13px}
 .region-layout .region-numbers{grid-template-columns:1fr 1fr;gap:12px;padding:14px}
 .region-layout .region-numbers dd{font-size:25px}
}
@media print{.region-layout.v11-reading{display:block}.region-layout .reading-aside{display:block}.region-hub details>*{display:block!important}}
.region-directory a>span:first-of-type{word-break:keep-all}
/* v12.3: regional destinations wrap instead of requiring horizontal scrolling. */
body:has(.region-hub) .subnav,body:has(.region-layout) .subnav{flex-wrap:wrap;overflow:visible;white-space:normal;max-height:none;gap:0 18px}
.region-layout .region-heading .region-seo-summary{font-size:15px;line-height:1.75;margin:8px 0 10px;color:var(--ink)}

/* Keep body data tables and metadata legible without reducing any larger
   authored/table-specific size. Navigation and footer labels are outside
   this main-scoped floor. */
body main table,body main table th,body main table td,body main table caption{font-size:max(15px,1em)!important}
body main#main p.edition-line{font-size:15px!important}
body main .sources small{font-size:max(15px,1em)!important}

/* v12.7 licensed aggregate-data surfaces.  Tables stay readable at the
   narrow preview width and every generated source line remains body-sized. */
.v127-closure-trend,.v127-rent,.v127-franchise,.v127-gyeonggi,.v127-national-summary,.refresh-cards-v127{margin:30px 0;padding:22px;border:1px solid var(--reading-line);border-radius:10px;background:var(--surface)}
.v127-closure-trend h2,.v127-rent h2,.v127-franchise h2,.v127-gyeonggi h2,.v127-national-summary h2,.v127-refresh-card h2{margin-top:0;font-size:22px;line-height:1.45}
.v127-closure-trend p,.v127-rent p,.v127-franchise p,.v127-gyeonggi p,.v127-national-summary p,.v127-refresh-card p{font-size:15px;line-height:1.75}
.v127-table{margin:16px 0;overflow-x:auto}
.v127-table table{min-width:560px;width:100%;border-collapse:collapse;font-size:15px;line-height:1.6}
.v127-table th,.v127-table td{padding:9px 10px;border-bottom:1px solid var(--reading-line);text-align:right;white-space:nowrap}
.v127-table th:first-child,.v127-table td:first-child,.v127-table th:nth-child(2),.v127-table td:nth-child(2){text-align:left}
.v127-table caption{text-align:left;font-size:15px;font-weight:650;margin:0 0 8px}
.v127-table td small{display:block;font-size:15px;line-height:1.6}
.v127-table[aria-label="시군구 폐업 상위 표"] table{min-width:0}
.v127-table[aria-label="개업·폐업 집계 표"] td{white-space:normal;vertical-align:top}
.v127-source{font-size:15px!important;line-height:1.75!important;margin:12px 0!important}
.v127-source a,.v127-next-actions a{color:var(--accent);text-underline-offset:3px}
.v127-privacy-note,.v127-caution{color:var(--muted)}
.v127-next-actions{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:0!important}
.summary-cards-v127{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.summary-cards-v127 div,.v127-refresh-card,.notice-source-card{padding:12px;border:1px solid var(--reading-line);border-radius:8px;background:var(--reading-soft)}
.summary-cards-v127 strong,.summary-cards-v127 span{display:block}
.summary-cards-v127 strong{font-size:15px;color:var(--muted)}
.summary-cards-v127 span{margin-top:4px;font-size:20px;font-weight:700}
.refresh-cards-v127{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;border:0;background:transparent}
.notice-refresh-combined{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:1/-1}
.notice-refresh-combined .v127-next-actions{grid-column:1/-1}
.refresh-card-with-source{min-width:0}
.v127-refresh-card strong,.notice-source-card strong{display:block;font-size:28px;line-height:1.3;margin:4px 0 8px}
.v127-refresh-card a,.notice-source-card a{color:var(--accent);font-size:15px;text-underline-offset:3px}
@media(max-width:600px){.v127-closure-trend,.v127-rent,.v127-franchise,.v127-gyeonggi,.v127-national-summary{padding:16px}.summary-cards-v127,.notice-refresh-combined{grid-template-columns:1fr}.refresh-cards-v127{grid-template-columns:1fr}.v127-table table{font-size:15px}.v127-table th,.v127-table td{padding:8px}}

/* v12.7.1: readable source and related-notice text at both preview widths. */
body main .sources a,body main .sources li,body main .sources p,body main .related li,body main .related a,body main .related small,body main .related .state,body main .related .note{font-size:15px!important}

/* Data ranks, units and moved guide lists are body information too. */
body main .region-kpi>span,body main .region-kpi>small,body main .region-numbers dt,body main .region-numbers small,body main .region-reading .faq-source,
body main .region-layout .reading-note li,body main .region-layout .reading-note a,body main .region-layout .reading-note small,
body main .region-hub .region-directory li,body main .region-hub .region-directory span:not(.region-arrow){font-size:15px!important}
body main .region-hub .region-directory a{height:auto;min-height:112px}

/* v12.10: readable metadata and source lines on existing light surfaces. */
:where(.note,.eyebrow,.edition-line,.article-meta,.meta-chips span,.source-status,.sources,.sources li,.sources p,.card-bottom,.field-hint,.question-description,.menu-role,.footer-note,.status-badge,.data-source,.reading-order-position,.page-role,.step-badge,.ad-label,.b-counter small,.official-source,.v127-source,.region-table-source,.region-source,.faq-source,.notice-row small){font-size:13px;color:#34485f;opacity:1}
:where(small,time,figcaption,caption,dt,dd,summary){font-size:max(13px,1em)}
.strategy-answer{margin:24px 0;padding:20px 0;border-top:1px solid #b8c6d5;border-bottom:1px solid #b8c6d5;max-width:72ch;color:#172943}
.strategy-answer h2{font-size:20px;margin-bottom:12px}.strategy-answer p+p{margin-top:12px}
#previous-results{margin:24px 0}#previous-results>summary{font-size:16px;font-weight:650;color:#172943;cursor:pointer}
#wizard-quick,#wizard-full{margin:12px 12px 20px 0}
#search-fallback{padding:24px 0}#search-fallback li{margin:12px 0}
.preserved-faqs{margin:24px 0}.term-definition{color:#172943}

/* Measured table guidance stays adjacent to its own scrolling container. */
.table-scroll-hint{font-size:13px;color:var(--muted);margin:12px 0 4px}
.table-scroll-hint[hidden]{display:none}
.statistics-hub{margin:36px 0}
.statistics-refresh p{margin:8px 0}
.v1214-industry-links{line-height:2;overflow-wrap:anywhere;margin:20px 0}
.industry-context{margin:24px 0 16px}
