/* v13 design layer (owner-picked draft 9: toss/daangn UI principles, one blue accent).
   Loaded last on every page; changes look only, never text, links or structure. */
:root,body,.portal-header,main,footer,.v11-reading,.reading-layout{
  --ink:#191f28;--muted:#6b7684;--accent:#3b5bdb;--green:#3b5bdb;--deep:#2f4ac0;
  --pale:#f2f4f6;--surface:#f2f4f6;--line:#e5e8eb;--paper:#fff;--white:#fff;--radius:20px;
  --soft-accent:#eef2ff;--reading-ink:#191f28;--reading-soft:#f6f7f9;--reading-line:#e5e8eb;
  accent-color:#3b5bdb;color:var(--ink);
  font-family:Pretendard,"Pretendard Variable","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  scrollbar-color:#b0b8c1 #f2f4f6
}
body{background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased;letter-spacing:-.01em}
a{color:var(--accent)}
h1,h2,h3{letter-spacing:-.03em;color:var(--ink)}

/* header: one clean row */
.portal-header{border-bottom:0!important;padding-top:14px;padding-bottom:14px}
.portal-header .header-line{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.portal-header .logo{color:var(--ink)!important;font-weight:800;font-size:1.35rem;letter-spacing:-.03em;text-decoration:none}
.portal-header .logo svg{color:#3b5bdb!important;fill:#3b5bdb!important}
.portal-header .header-line{border-bottom:0!important}
.portal-header .menu-groups{display:flex;align-items:center;gap:28px;flex-wrap:wrap;border:0!important;margin:0;padding:0}
.portal-header .portal-nav{display:flex;align-items:center;gap:22px;border:0!important;padding:0!important;margin:0!important;background:none!important}
.portal-header .portal-nav a{color:#4e5968!important;font-weight:600;font-size:1rem;text-decoration:none;border:0!important;padding:6px 0!important}
.portal-header .portal-nav a:hover,.portal-header .portal-nav a[aria-current]{color:var(--ink)!important}
.portal-header .menu-role{display:none}
.header-search summary{border-radius:999px;background:var(--pale);border:0}

/* home hero: centered title, grey rounded search, blue pill button */
.home-search{background:none!important;border:0!important;text-align:center;padding:64px 0 24px!important;display:block!important}
.home-search h1{word-break:keep-all;font-size:clamp(2rem,4.6vw,3.4rem)!important;line-height:1.25;font-weight:800;letter-spacing:-.045em;margin:0 0 14px;text-wrap:balance}
.home-search p{color:var(--muted);font-size:1.2rem;margin:0 0 30px}
.search-box{display:flex;align-items:center;max-width:860px;margin:0 auto;background:var(--pale)!important;border:0!important;border-radius:999px!important;padding:8px 8px 8px 28px;box-shadow:none!important}
html body .search-box input,html body #home-query,html body #site-query{border:0 none!important;border-width:0!important;outline:0!important}
.search-box input{flex:1;min-width:0;border:0!important;background:transparent!important;font-size:1.1rem;padding:14px 0!important;outline:0;box-shadow:none!important;color:var(--ink)}
html body .search-box button,html body #site-search button{background:#3b5bdb!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:800;padding:14px 28px!important;font-size:1.05rem}
.edition-line{text-align:center;color:#8b95a1!important;font-size:.85rem;border:0!important;background:none!important}

/* journey steps: outlined rounded cards with icon circle */
.home-journey .journey-heading{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;margin-bottom:28px}
.home-journey h2{font-size:clamp(1.6rem,3vw,2.2rem)!important;font-weight:800}
.home-journey ol{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;padding:0;margin:0;list-style:none}
.journey-step{border:0!important;padding:0!important;margin:0!important}
.journey-step a{display:flex!important;flex-direction:column;gap:8px;height:100%;border:1px solid var(--line)!important;border-top:1px solid var(--line)!important;border-radius:28px!important;padding:28px!important;background:#fff;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.journey-step a:hover{border-color:#c7d2fe!important;box-shadow:0 10px 30px -18px rgba(59,91,219,.45)}
.step-number{width:52px;height:52px;border-radius:50%!important;background:var(--soft-accent)!important;color:var(--accent)!important;border:0!important;display:flex!important;align-items:center;justify-content:center;font-weight:800;font-size:1.15rem;margin-bottom:6px}
.step-stage{color:var(--muted)!important;font-weight:700;font-size:.95rem}
.journey-step h3{font-size:1.35rem!important;margin:0!important}
.journey-step p{color:var(--muted)!important;margin:0!important;line-height:1.65}
.step-action{margin-top:auto;color:var(--accent)!important;font-weight:800}
.text-link{color:var(--accent)!important;font-weight:700;text-decoration:none}

/* section headings */
.section-head h2,main section>h2,.home-tools h2{font-weight:800;letter-spacing:-.035em}

/* cards everywhere: soft outline, big radius, no heavy rules */
.tool-cards a,.evergreen-card,.guide-card,.hub-card,.refresh-card-with-source,.v127-refresh-card,.region-kpi,.notice-row,.related li,.article-links li,.next-step,
[class*="-card"]:not(.journey-step):not(svg){border-radius:24px!important;border-color:var(--line)!important}
.tool-cards a{padding:24px!important;transition:border-color .15s}
.tool-cards a:hover{border-color:#c7d2fe!important}
.tool-cards strong{color:var(--ink)!important}
.guide-icon,.quick-icon{border-radius:50%!important;background:var(--soft-accent)!important;color:var(--accent)!important}

/* big-number panels */
.key-summary,.notice,.audit-status,.region-kpis .region-kpi,.calc-result,.result,.summary-box{background:#f0f3ff!important;border:0!important;border-radius:28px!important}
.key-summary{padding:28px!important}
.key-summary h2{color:var(--accent)!important;font-size:1.05rem!important}
.key-value{color:var(--ink)!important;font-weight:800}

/* article reading */
.page-intro h1,.prose h1{font-weight:800;letter-spacing:-.045em}
.meta-chips span,.article-meta span{background:var(--pale)!important;border:0!important;border-radius:999px!important;padding:6px 14px!important;color:#4e5968!important}
.breadcrumbs{color:var(--muted)}
.subnav{background:none!important;border:0!important;display:flex;flex-wrap:wrap;gap:8px;padding:0!important}
.subnav-item,.subnav a{border:1px solid var(--line)!important;border-radius:999px!important;padding:8px 16px!important;background:#fff!important;color:#333d4b!important;text-decoration:none;font-weight:600}
.body-section h2{font-weight:800}
.step-badge{background:var(--soft-accent)!important;color:var(--accent)!important;border:0!important;border-radius:999px!important}
.caution{background:#fff8eb!important;border:0!important;border-radius:20px!important}
.fact-check,.sources,.evidence-disclosure,.mobile-toc,details.preserved-faqs{border-radius:20px!important;border-color:var(--line)!important}
.faq details{border:1px solid var(--line)!important;border-radius:18px!important;padding:4px 18px;margin-bottom:10px;background:#fff}
.faq summary{font-weight:700;padding:14px 0}

/* tables */
table{border-collapse:collapse}
th{color:var(--muted);font-weight:600}
td,th{border-color:#e9edf1!important}
.table-scroll{border-radius:18px}

/* buttons */
.button,a.button,.next-step .button{background:var(--accent)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:14px 26px!important;font-weight:800;text-decoration:none}

/* footer */
footer{background:#f9fafb!important;border-top:0!important;color:#6b7684}
footer a{color:#4e5968!important}
footer .brand{color:var(--ink)!important;font-weight:800}

@media (max-width:1060px){
  .home-journey ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .portal-header .menu-groups{flex-wrap:nowrap;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .portal-header .portal-nav{flex-wrap:nowrap;white-space:nowrap}
  .portal-header .menu-groups{gap:14px}
  .portal-header .portal-nav{gap:14px}
}
@media (max-width:520px){
  .home-journey ol{grid-template-columns:1fr}
  .home-search{padding-top:36px!important}
  .search-box{padding-left:20px}
  .search-box button{padding:12px 20px!important}
}
@media (max-width:820px){
  html body .portal-header .menu-groups{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:16px!important;overflow-x:auto;width:100%;grid-template-columns:none!important}
  html body .portal-header .portal-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:16px!important;grid-template-columns:none!important;white-space:nowrap}
  html body .portal-header .portal-nav a{padding:4px 0!important}
  .home-search h1{font-size:1.85rem!important}
}
@media (max-width:820px){
  html body .portal-header .portal-nav{flex:0 0 auto!important}
  html body .portal-header .portal-nav a{flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all}
}
/* v13.4–13.6 — sixteenth review fixes */
:root,body{--muted:#4e5968}
.button.button-secondary,a.button.button-secondary{background:#fff!important;color:#333d4b!important;border:1px solid #d1d6db!important}
#checklist-clear-storage,#checklist-reset{background:transparent!important;color:#6b7684!important;border:1px solid #e5e8eb!important;font-weight:600}
html body .search-box:focus-within{box-shadow:0 0 0 3px rgba(59,91,219,.35)!important}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #3b5bdb!important;outline-offset:2px}
html body .journey-step .step-number{position:static!important;margin-right:0}
@media (max-width:820px){
  html body .portal-header .menu-groups{flex-wrap:wrap!important;overflow:visible!important;row-gap:4px!important;order:3;width:100%}
  html body .portal-header .portal-nav{flex-wrap:wrap!important;white-space:normal!important;row-gap:4px!important;column-gap:16px!important}
  html body .portal-header .portal-nav a{white-space:nowrap!important}
  html body .portal-header .header-line{flex-wrap:wrap}
  html body .portal-header .header-search{order:2;margin-left:auto}
  html body .portal-header .portal-brand{order:1}
}
@media (max-width:820px){
  html body .portal-header .portal-nav{flex:1 1 100%!important;max-width:100%!important;min-width:0!important}
  html body .portal-header .menu-groups{max-width:100%!important;min-width:0!important}
}
/* v13.6 — sixteenth review, round 2 */
html body .edition-line{color:#4e5968!important}
.step-stage,.breadcrumbs,.page-role,.menu-role,footer,footer p,.note{color:#4e5968!important}
@media (min-width:821px){
  html body .portal-header .header-search .search-box{padding:4px 4px 4px 20px!important;min-height:0!important}
  html body .portal-header .header-search .search-box input{padding:8px 0!important;font-size:.95rem!important}
  html body .portal-header .header-search .search-box button{padding:9px 18px!important;font-size:.95rem!important}
}
/* v13.7 — owner request 12/03: natural Korean line breaks, region buttons as an even grid, every button-like link as a clear box */
html body{word-break:keep-all;overflow-wrap:anywhere}
html body p,html body li,html body h1,html body h2,html body h3,html body dd,html body td{text-wrap:pretty}
html body .edition-line{text-wrap:balance;line-height:1.6;padding-inline:12px;margin-inline:auto;max-width:34em}
html body .home-search h1,html body .page-intro h1,html body main h1{text-wrap:balance}
/* section and region buttons: equal boxes */
html body .subnav{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(92px,1fr))!important;gap:8px!important;max-height:none!important;overflow:visible!important;white-space:normal!important;padding:0!important;margin:12px 0 22px!important}
html body .subnav>.subnav-item,html body .subnav a{display:flex!important;align-items:center;justify-content:center;text-align:center;min-height:46px;margin:0!important;padding:10px 10px!important;border:1px solid #d1d6db!important;border-radius:12px!important;background:#fff!important;color:#333d4b!important;font-size:.95rem!important;font-weight:700!important;line-height:1.3!important;text-decoration:none!important;box-shadow:0 1px 2px rgba(25,31,40,.06)}
html body .subnav>.subnav-item:hover,html body .subnav a:hover{border-color:#3b5bdb!important;color:#3b5bdb!important;background:#f5f7ff!important}
html body .subnav>.subnav-item[aria-current],html body .subnav a[aria-current]{background:#3b5bdb!important;border-color:#3b5bdb!important;color:#fff!important;text-decoration:none!important}
/* notice board filter buttons */
html body .notice-tabs{display:flex;flex-wrap:wrap;gap:8px}
html body .notice-tab,html body .notice-tabs a{min-height:46px;padding:10px 16px!important;border:1px solid #d1d6db!important;border-radius:12px!important;background:#fff!important;color:#333d4b!important;font-weight:700!important;box-shadow:0 1px 2px rgba(25,31,40,.06);cursor:pointer}
html body .notice-tab:hover,html body .notice-tabs a:hover{border-color:#3b5bdb!important;color:#3b5bdb!important}
html body .notice-tab[aria-pressed="true"],html body .notice-tabs a[aria-current]{background:#3b5bdb!important;border-color:#3b5bdb!important;color:#fff!important}
/* link lists that act as buttons: each item is a whole clickable box */
html body .always-open-block ul,html body .empty-guides ul{list-style:none!important;padding:0!important;margin:12px 0 0!important;display:grid;gap:10px}
html body .always-open-block li,html body .empty-guides li{position:relative;margin:0!important;padding:14px 40px 14px 16px!important;border:1px solid #d1d6db;border-radius:14px;background:#fff;color:#4e5968;line-height:1.5;box-shadow:0 1px 2px rgba(25,31,40,.06)}
html body .always-open-block li::marker,html body .empty-guides li::marker{content:none}
html body .always-open-block li::after,html body .empty-guides li::after{content:"›";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#8b95a1}
html body .always-open-block li>a,html body .empty-guides li>a{display:block;font-weight:700;color:#191f28!important;text-decoration:none!important}
html body .always-open-block li>a::before,html body .empty-guides li>a::before{content:"";position:absolute;inset:0;border-radius:14px}
html body .always-open-block li:hover,html body .empty-guides li:hover{border-color:#3b5bdb;background:#f5f7ff}
html body .always-open-block li:hover>a,html body .empty-guides li:hover>a{color:#3b5bdb!important}
html body .official-links{display:flex;flex-wrap:wrap;gap:8px;font-size:0}
html body .official-links a,html body a.text-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:10px 16px!important;border:1px solid #d1d6db;border-radius:12px;background:#fff;color:#3b5bdb!important;font-size:.95rem;font-weight:700;text-decoration:none!important;box-shadow:0 1px 2px rgba(25,31,40,.06)}
html body .official-links a:hover,html body a.text-link:hover{border-color:#3b5bdb;background:#f5f7ff}
html body .edition-line .nw{white-space:nowrap}
html body #notice-board details>summary{display:flex;align-items:center;gap:8px;min-height:48px;margin:10px 0;padding:12px 16px;border:1px solid #d1d6db;border-radius:14px;background:#fff;font-weight:700;color:#191f28;cursor:pointer;list-style:none;box-shadow:0 1px 2px rgba(25,31,40,.06)}
html body #notice-board details>summary::-webkit-details-marker{display:none}
html body #notice-board details>summary::before{content:"+";flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#eef2ff;color:#3b5bdb;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
html body #notice-board details[open]>summary::before{content:"−"}
html body #notice-board details>summary:hover{border-color:#3b5bdb}
html body .empty-callout>p>a:only-child{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #d1d6db;border-radius:12px;background:#fff;font-weight:700;text-decoration:none}
/* v13.7 — breadcrumb page-role as a small badge (Pickle 16th review) */
html body .breadcrumbs .page-role{display:inline-block;margin-right:8px;padding:2px 8px;border-radius:6px;background:#f2f4f6;color:#4e5968!important;font-size:.78rem;font-weight:700;line-height:1.5;vertical-align:1px}
html body .always-open-block li>.sep{display:none}
html body .always-open-block li>.item-note{display:block;margin-top:2px;font-size:.92rem;color:#4e5968}
/* items whose link is shown elsewhere on the page are plain boxes, not buttons */
html body .always-open-block li:not(:has(>a))::after,html body .empty-guides li:not(:has(>a))::after{content:none}
html body .always-open-block li:not(:has(>a)),html body .empty-guides li:not(:has(>a)){background:#f9fafb;box-shadow:none;border-style:dashed;padding-right:16px!important}
html body .always-open-block li:not(:has(>a)):hover,html body .empty-guides li:not(:has(>a)):hover{border-color:#d1d6db;background:#f9fafb}
html body .always-open-block li>.repeated-reference,html body .empty-guides li>.repeated-reference{display:block;font-weight:700;color:#191f28}
/* ===== v13.8 — owner 12/03: menu+search buttons on every page, helpful search, stronger internal links ===== */
html body .portal-header{position:relative;z-index:40}
html body .portal-header .header-line{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:10px 24px;grid-template-columns:none!important}
html body .portal-header .portal-brand{order:1}
html body .portal-header .menu-groups{order:2}
html body .portal-header .header-actions{order:3;display:flex;align-items:center;gap:8px;margin-left:auto}
html body .portal-header .header-search,html body .portal-header .header-menu{position:static!important;display:block!important;width:auto!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
html body .portal-header .header-search>summary,html body .portal-header .header-menu>summary,html body .portal-header .header-search-link{list-style:none;display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0!important;border-radius:50%!important;background:#f2f4f6!important;color:#191f28!important;cursor:pointer;border:0}
html body .portal-header .header-search>summary::-webkit-details-marker,html body .portal-header .header-menu>summary::-webkit-details-marker{display:none}
html body .portal-header .header-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
html body .portal-header details[open]>summary{background:#3b5bdb!important;color:#fff!important}
html body .portal-header .header-search:not([open])::details-content{content-visibility:hidden!important}
html body .search-panel,html body .menu-panel{position:absolute;left:12px;right:12px;top:calc(100% + 2px);background:#fff;border:1px solid #e5e8eb;border-radius:20px;box-shadow:0 18px 48px -20px rgba(25,31,40,.35);padding:18px;z-index:60;max-height:calc(100vh - 110px);overflow:auto;text-align:left}
html body .search-panel .search-box{max-width:none;padding:6px 6px 6px 20px!important}
html body .search-panel .search-box input{width:auto!important;padding:10px 0!important;font-size:1rem!important}
html body .search-panel .search-box button{padding:10px 18px!important;font-size:.95rem!important}
html body .menu-panel-title{font-size:.8rem;font-weight:800;color:#6b7684;margin:0 0 8px;letter-spacing:0}
html body .menu-panel ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .menu-panel li{margin:0}
html body .menu-panel a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid #e5e8eb;border-radius:12px;background:#fff;color:#191f28!important;font-weight:700;font-size:.93rem;line-height:1.35;text-decoration:none}
html body .menu-panel a:hover{border-color:#3b5bdb;color:#3b5bdb!important;background:#f5f7ff}
html body .menu-panel-group+.menu-panel-group{margin-top:16px}
@media (min-width:1024px){
  html body .search-panel{left:auto;width:600px}
  html body .menu-panel{left:auto;width:880px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:24px}
  html body .menu-panel ul{grid-template-columns:1fr}
  html body .menu-panel-group+.menu-panel-group{margin-top:0}
}
/* search panel helpers + live suggestions */
html body .search-suggest ul{list-style:none;margin:10px 0 0;padding:0;border:1px solid #e5e8eb;border-radius:14px;overflow:hidden;background:#fff}
html body .search-suggest li{margin:0}
html body .search-suggest li a{display:flex;gap:8px;align-items:baseline;padding:12px 14px;color:#191f28!important;text-decoration:none;border-top:1px solid #f2f4f6;line-height:1.45;font-weight:600}
html body .search-suggest li:first-child a{border-top:0}
html body .search-suggest li a:hover{background:#f5f7ff;color:#3b5bdb!important}
html body .search-suggest-kind{flex:0 0 auto;font-size:.72rem;font-weight:800;color:#3b5bdb;background:#eef2ff;border-radius:6px;padding:2px 6px}
html body .search-suggest-more{display:block;margin-top:10px;font-weight:800;text-decoration:none}
html body .search-suggest-empty{margin:10px 0 0;color:#4e5968}
html body .search-helper-title{font-size:.85rem;font-weight:800;color:#4e5968!important;margin:16px 0 8px}
html body .search-chips,html body .search-situations{display:flex;flex-wrap:wrap;gap:8px}
html body .search-chip{padding:8px 14px;border-radius:999px;background:#f2f4f6;color:#333d4b!important;font-weight:700;font-size:.92rem;text-decoration:none}
html body .search-chip:hover{background:#eef2ff;color:#3b5bdb!important}
html body .search-situation{padding:10px 14px;border:1px solid #d1d6db;border-radius:12px;background:#fff;color:#191f28!important;font-weight:700;font-size:.92rem;text-decoration:none}
html body .search-situation:hover{border-color:#3b5bdb;color:#3b5bdb!important;background:#f5f7ff}
html body .home-search .search-suggest,html body .home-search-helpers{max-width:860px;margin:0 auto;text-align:left}
html body .home-search-helpers .search-helper-title{text-align:center}
html body .home-search-helpers .search-chips,html body .home-search-helpers .search-situations{justify-content:center}
html body .search-page-helpers{margin-top:24px;padding:20px;border:1px solid #e5e8eb;border-radius:20px;background:#f9fafb}
html body .search-page-helpers .search-helper-title:first-child{margin-top:0}
html body .search-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
html body .search-filter{min-height:40px;padding:8px 14px;border:1px solid #d1d6db;border-radius:999px;background:#fff;font-weight:700;color:#333d4b;cursor:pointer;font:inherit;font-weight:700}
html body .search-filter[aria-pressed="true"]{background:#3b5bdb;border-color:#3b5bdb;color:#fff}
html body .search-row{border:1px solid #e5e8eb;border-radius:16px;padding:16px 18px;margin-bottom:10px;background:#fff}
html body .search-row h2{font-size:1.1rem;margin:4px 0}
html body .search-row h2 a{text-decoration:none}
/* mobile: one header row (logo · search · menu) + one swipeable menu row instead of two wrapped rows */
@media (max-width:1023px){
  html body .portal-header .header-line{gap:8px 12px;padding:10px 0 6px}
  html body .portal-header .menu-groups{order:4!important;flex:1 1 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:0!important;row-gap:0!important;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding:2px 0 4px}
  html body .portal-header .menu-groups::-webkit-scrollbar{display:none}
  html body .portal-header .portal-nav{flex:0 0 auto!important;max-width:none!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:0 18px!important;column-gap:18px!important;row-gap:0!important;font-size:.98rem!important}
  html body .portal-header .information-nav{margin-left:18px!important;padding:0 24px 0 18px!important;border-left:1px solid #e5e8eb!important}
  html body .portal-header .portal-nav a{padding:8px 0!important;min-height:40px}
  html body .portal-header .header-actions{order:3}
}
/* internal links: whole hub cards clickable, next/prev as big boxes, link lists as boxes */
html body .summary-step{position:relative;transition:border-color .15s,box-shadow .15s}
html body .summary-step h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}
html body .summary-step a:not(h3 a){position:relative;z-index:2}
html body .summary-step>.repeated-reference,html body .summary-step .summary-link{display:inline-block;margin-top:6px;color:#3b5bdb!important;font-weight:800;text-decoration:none}
html body .summary-step:hover{border-color:#3b5bdb!important;box-shadow:0 10px 30px -18px rgba(59,91,219,.45)}
html body .next-step:not(:has(a)){display:none}
html body .article-links li:not(:has(a)),html body .related li:not(:has(a)){display:none}
html body .reading-order-links{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
html body .reading-order-links>a,html body .reading-order-links>span{display:flex;align-items:center;min-height:60px;padding:14px 16px;border:1px solid #d1d6db;border-radius:16px;background:#fff;color:#191f28!important;font-weight:700;line-height:1.45;text-decoration:none!important}
html body .reading-order-links>a:hover{border-color:#3b5bdb;background:#f5f7ff}
html body .reading-order-links>a.order-next{background:#3b5bdb;border-color:#3b5bdb;color:#fff!important;justify-content:flex-end;text-align:right}
html body .reading-order-links>a.order-next:hover{background:#2f4ac0}
html body .reading-order-links>.order-region-resource,html body .reading-order-links>:only-child{grid-column:1/-1}
html body .journey-overview{display:inline-block;margin-top:4px;font-weight:700}
@media (max-width:600px){
  html body .reading-order-links{grid-template-columns:1fr}
  html body .reading-order-links>a.order-next{order:-1;justify-content:flex-start;text-align:left}
}
html body .article-links ul,html body .related ul{list-style:none!important;padding:0!important;margin:12px 0 0!important;display:grid;gap:10px}
html body .article-links li,html body .related li{position:relative;margin:0!important;padding:14px 40px 14px 16px!important;border:1px solid #e5e8eb;border-radius:14px;background:#fff;line-height:1.5}
html body .article-links li::after,html body .related li::after{content:"›";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#8b95a1}
html body .article-links li>a,html body .related li>a{display:block;font-weight:700;color:#191f28!important;text-decoration:none!important}
html body .article-links li>a::before,html body .related li>a::before{content:"";position:absolute;inset:0;border-radius:14px}
html body .related li>small{display:block;margin-top:2px;color:#6b7684}
html body .article-links li:hover,html body .related li:hover{border-color:#3b5bdb;background:#f5f7ff}
html body .article-links li:hover>a,html body .related li:hover>a{color:#3b5bdb!important}
/* fewer-item sub menus stay one line; breadcrumbs one line on phones; edition line aligned with body */
html body .subnav:not(:has(>:nth-child(4))){display:flex!important;flex-wrap:wrap}
html body .subnav>.subnav-item,html body .subnav a{white-space:nowrap}
html body .edition-line{text-align:left!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
@media (max-width:820px){
  html body .breadcrumbs{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
html body .portal-header .header-actions .header-search,html body .portal-header .header-actions .header-search-link{order:1!important}
html body .portal-header .header-actions .header-menu{order:2!important}
html body .search-panel,html body .menu-panel{left:0;right:0}
@media (min-width:1024px){html body .search-panel,html body .menu-panel{left:auto}}
@media (max-width:820px){
  html body .breadcrumbs{display:block!important}
  html body .breadcrumbs>*{display:inline!important}
  html body .breadcrumbs .page-role{display:inline-block!important}
}
html body .home-search~main .edition-line{text-align:center!important}
@media (max-width:820px){html body .breadcrumbs>*+*{margin-left:6px!important}}
/* v13.9: labelled header buttons, panel close buttons, shorter mobile search panel, menu fade off at the end, page search box, result kind badges */
html body .portal-header .header-search>summary,html body .portal-header .header-menu>summary,html body .portal-header .header-search-link{width:auto!important;padding:0 14px 0 11px!important;gap:5px;border-radius:999px!important;text-decoration:none}
html body .portal-header .icon-label{font-size:.86rem;font-weight:800;line-height:1;letter-spacing:0;color:inherit}
html body .portal-header details[open]>summary .icon-label{color:#fff}
html body .panel-close{display:flex;align-items:center;gap:4px;margin:0 0 10px auto;padding:7px 12px;min-height:36px;border:1px solid #e5e8eb;border-radius:999px;background:#fff;color:#4e5968;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
html body .panel-close:hover{border-color:#3b5bdb;color:#3b5bdb}
@media (min-width:1024px){html body .menu-panel>.panel-close{position:absolute;top:14px;right:16px;margin:0}html body .menu-panel{padding-top:30px!important}}
@media (max-width:600px){
  html body .search-panel .search-chip:nth-child(n+9){display:none}
}
@media (max-width:1023px){html body .portal-header .menu-groups.at-end{-webkit-mask-image:none!important;mask-image:none!important}}
html body .page-search-wrap{position:relative;margin:0 0 18px}
html body .page-search .search-box{display:flex;align-items:center;gap:8px;max-width:none;padding:6px 6px 6px 18px;border:2px solid #3b5bdb;border-radius:999px;background:#fff}
html body .page-search .search-box input{flex:1 1 auto;min-width:0;border:0;outline:0;background:transparent;padding:10px 0;font-size:1rem}
html body .page-search .search-box button{flex:0 0 auto;padding:10px 18px;border:0;border-radius:999px;background:#3b5bdb;color:#fff;font-weight:800;font-size:.95rem;cursor:pointer}
html body .page-search-wrap .search-suggest{margin-top:8px}
html body .search-suggest-kind[data-kind="tool"]{color:#0b7a4b;background:#e8f7ef}
html body .search-suggest-kind[data-kind="region"]{color:#6b7684;background:#f2f4f6}
html body .search-suggest-kind[data-kind="notice"]{color:#b35c00;background:#fff4e5}
/* v13.10: a second close button at the bottom of long panels (phones/tablets only) */
html body .panel-close-bottom{display:flex;justify-content:center;width:100%;margin:16px 0 0;min-height:44px;font-size:.92rem}
@media (min-width:1024px){html body .panel-close-bottom{display:none!important}}
/* v13.11: fallback panel height uses the dynamic viewport (header.mjs sets the exact value on open) */
html body .search-panel,html body .menu-panel{max-height:calc(100dvh - 190px)}
/* v13.12: calculator box, related search chips, continue box, answer labels, criteria line (Instinct 22nd growth review) */
html body .tool-cta,html body .tool-next-guides{margin:28px 0;padding:20px;border:1px solid #c5d0fa;border-radius:20px;background:#f5f7ff}
html body .tool-cta h2,html body .tool-next-guides h2{margin:0 0 12px!important;font-size:1.12rem!important}
html body .tool-cta ul,html body .tool-next-guides ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:10px}
html body .tool-cta li,html body .tool-next-guides li{margin:0!important;padding:0!important}
html body .tool-cta li a,html body .tool-next-guides li a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:12px 16px;border-radius:14px;background:#3b5bdb;color:#fff!important;font-weight:800;text-decoration:none}
html body .tool-next-guides li a{background:#fff;color:#191f28!important;border:1px solid #d1d6db;font-weight:700}
html body .tool-cta li a::after,html body .tool-next-guides li a::after{content:"›";font-size:1.3rem;line-height:1}
html body .tool-cta li a:hover{background:#2f4ac0}
html body .tool-next-guides li a:hover{border-color:#3b5bdb;color:#3b5bdb!important}
html body .tool-cta li span{display:block;margin:6px 4px 0;color:#4e5968;font-size:.9rem}
html body .tool-cta-all{margin:12px 0 0!important;font-size:.92rem}
html body .related-searches{margin:24px 0}
html body .related-searches-title{margin:0 0 10px!important;font-size:.95rem;font-weight:800;color:#333d4b}
html body .continue-nav{margin:24px 0}
html body .key-label{display:inline-block;margin:0 0 8px!important;padding:3px 10px;border-radius:999px;background:#3b5bdb;color:#fff;font-size:.8rem;font-weight:800;letter-spacing:0}
html body .criteria-line{margin:28px 0 0!important;padding-top:14px;border-top:1px solid #e5e8eb;color:#6b7684;font-size:.88rem}
/* v13.13: one merged "이 글 다음에" box instead of several stacked boxes (Instinct 23rd review) */
html body .next-actions{margin:32px 0;padding:22px 20px;border:1px solid #c5d0fa;border-radius:20px;background:#f5f7ff}
html body .next-actions>h2{margin:0 0 14px!important;font-size:1.15rem!important}
html body .next-actions .tool-cta{margin:0;padding:0;border:0;background:transparent}
html body .next-actions>div+div,html body .next-actions>div+nav,html body .next-actions>nav+nav{margin-top:18px}
html body .next-actions-label{margin:0 0 8px!important;font-size:.88rem;font-weight:800;color:#4e5968}
html body .more-topic ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:8px}
html body .more-topic li{margin:0!important}
html body .more-topic li a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #d1d6db;border-radius:14px;background:#fff;color:#191f28!important;font-weight:700;text-decoration:none}
html body .more-topic li a::after{content:"›";font-size:1.3rem;line-height:1}
html body .more-topic li a:hover{border-color:#3b5bdb;color:#3b5bdb!important}
html body .next-actions .related-searches,html body .next-actions .continue-nav{margin:18px 0 0}
html body .next-actions .related-searches-title{font-size:.88rem;color:#4e5968}
html body .next-actions .continue-nav{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
