/*
 * Market Note for Tistory 1.6.0
 * Responsive finance-magazine skin
 */

@property --skin-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #2f78b7;
}

@property --skin-reading-width {
  syntax: "<length>";
  inherits: true;
  initial-value: 780px;
}

:root {
  --navy-950: #0c2238;
  --navy-900: #132f4c;
  --navy-800: #1a4268;
  --blue-600: var(--skin-accent, #2f78b7);
  --blue-100: #e9f3fb;
  --blue-50: #f4f9ff;
  --accent-06: rgba(47,120,183,.06);
  --accent-08: rgba(47,120,183,.08);
  --accent-11: rgba(47,120,183,.11);
  --accent-12: rgba(47,120,183,.12);
  --accent-13: rgba(47,120,183,.13);
  --accent-24: rgba(47,120,183,.24);
  --accent-35: rgba(47,120,183,.35);
  --accent-45: rgba(47,120,183,.45);
  --ink: #172536;
  --ink-soft: #243547;
  --slate: #607187;
  --line: #dce5ed;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --red: #c64135;
  --red-soft: #fceceb;
  --gold: #a8740a;
  --gold-soft: #fff5dc;
  --green: #18724a;
  --radius-xl: 24px;
  --radius-lg: 17px;
  --radius-md: 12px;
  --shadow: 0 14px 34px rgba(19, 47, 76, .08);
  --shadow-strong: 0 20px 44px rgba(10, 31, 51, .12);
  --content-width: var(--skin-reading-width, 780px);
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
  :root {
    --accent-06: color-mix(in srgb, var(--blue-600) 6%, transparent);
    --accent-08: color-mix(in srgb, var(--blue-600) 8%, transparent);
    --accent-11: color-mix(in srgb, var(--blue-600) 11%, transparent);
    --accent-12: color-mix(in srgb, var(--blue-600) 12%, transparent);
    --accent-13: color-mix(in srgb, var(--blue-600) 13%, transparent);
    --accent-24: color-mix(in srgb, var(--blue-600) 24%, transparent);
    --accent-35: color-mix(in srgb, var(--blue-600) 35%, transparent);
    --accent-45: color-mix(in srgb, var(--blue-600) 45%, transparent);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, var(--accent-08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--canvas) 100%);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.72;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.search-open { overflow: hidden; }
::selection { background: var(--accent-24); color: var(--navy-950); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.reading-progress { position: fixed; z-index: 1100; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--blue-600), #74c7f4); box-shadow: 0 0 10px var(--accent-45); transform: scaleX(0); transform-origin: left center; }
.reading-progress:not(.is-active) { opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 12px; transform: translateY(-160%); padding: 10px 15px; border-radius: 8px; color: #fff; background: var(--navy-950); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(220,229,237,.92); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(19,47,76,.07); }
.site-header__inner { display: flex; width: min(1180px, calc(100% - 40px)); min-height: 76px; margin-inline: auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; }
.brand__mark { display: flex; width: 42px; height: 42px; padding: 10px 9px; align-items: end; justify-content: center; gap: 3px; border-radius: 13px; background: linear-gradient(145deg, var(--navy-900), var(--blue-600)); box-shadow: 0 7px 16px rgba(19,47,76,.18); }
.brand__mark i { width: 5px; border-radius: 3px 3px 1px 1px; background: #fff; }
.brand__mark i:nth-child(1) { height: 9px; opacity: .7; }
.brand__mark i:nth-child(2) { height: 16px; opacity: .85; }
.brand__mark i:nth-child(3) { height: 22px; }
.brand__copy { display: grid; line-height: 1.12; }
.brand__copy strong { overflow: hidden; max-width: 230px; color: var(--navy-950); font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.brand__copy small { margin-top: 5px; color: var(--blue-600); font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.top-nav { display: flex; margin-left: auto; align-items: center; gap: 26px; color: #45586d; font-size: .91rem; font-weight: 700; }
.top-nav ul { display: contents; margin: 0; padding: 0; list-style: none; }
.top-nav a { transition: color .2s ease; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-button { display: inline-grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.search-icon { position: relative; display: block; width: 16px; height: 16px; border: 2px solid var(--navy-800); border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; transform: rotate(45deg); border-radius: 2px; background: var(--navy-800); content: ""; }
.menu-button { display: none; align-content: center; gap: 4px; }
.menu-button > span:not(.sr-only) { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: .2s ease; }
.mobile-menu { position: fixed; inset: 76px 0 auto; max-height: calc(100vh - 76px); padding: 22px 24px 30px; overflow: auto; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mobile-menu ul { display: contents; list-style: none; }
.mobile-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid #edf1f4; color: var(--navy-900); font-weight: 750; }

/* Search */
.search-panel { position: fixed; z-index: 500; inset: 0; display: grid; place-items: start center; padding: 12vh 20px 20px; }
.search-panel[hidden], .mobile-menu[hidden] { display: none; }
.search-panel__backdrop { position: absolute; inset: 0; background: rgba(7,20,33,.66); backdrop-filter: blur(4px); }
.search-panel__dialog { position: relative; width: min(620px, 100%); padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.search-panel__top { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; }
.search-panel__top strong { color: var(--navy-950); font-size: 1.16rem; }
.search-panel__top button { border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-form input { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.search-form input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--accent-13); }
.search-form button, .primary-button { display: inline-flex; padding: 13px 18px; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; color: #fff; background: var(--blue-600); font-weight: 800; cursor: pointer; }

/* Home cover */
.cover-stack:not(:has(> *)) { display: none; }
.cover-stack:has(> *) + .page-shell { display: none; }
.market-hero { display: grid; min-height: 440px; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 88% 16%, rgba(100,181,235,.35), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-800) 60%, #276898); }
.market-hero__copy { width: min(590px, calc(100% - 56px)); margin-left: max(28px, calc((100vw - 1180px) / 2)); padding: 64px 0; }
.eyebrow { margin: 0 0 10px; color: var(--blue-600); font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
.market-hero .eyebrow { color: #a8d5f4; }
.market-hero h1 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.18; letter-spacing: -.052em; }
.market-hero__copy > p:not(.eyebrow) { max-width: 560px; margin: 16px 0 22px; color: #d6e8f5; font-size: 1rem; }
.market-hero .primary-button { color: var(--navy-950); background: #fff; }
.market-hero__visual { position: relative; width: min(620px, 100%); height: 100%; min-height: 360px; align-self: stretch; }
.market-hero__visual svg { position: absolute; right: 0; bottom: 55px; width: min(640px, 108%); overflow: visible; }
.market-hero__visual .area { fill: url(#areaFill); }
.market-hero__visual .line { fill: none; stroke: #8fd0ff; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 6px 8px rgba(63,160,225,.3)); }
.market-hero__visual circle { fill: #fff; stroke: #6fc1fa; stroke-width: 4; }
.chart-grid { position: absolute; inset: 50px 0 45px; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 60px 46px; }
.home-section { padding-block: 56px 14px; }
.cover-stack > .home-section:last-child { padding-bottom: 72px; }
.section-heading { display: flex; margin-bottom: 18px; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.6rem,3vw,2.1rem); letter-spacing: -.035em; }
.section-heading > a { color: var(--blue-600); font-size: .9rem; font-weight: 800; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured-grid > .featured-card:only-child { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); }
.featured-grid > .featured-card:only-child .featured-card__thumb { min-height: 300px; aspect-ratio: auto; }
.featured-grid > .featured-card:only-child .featured-card__body { display: flex; padding: 34px 38px; flex-direction: column; justify-content: center; }
.featured-grid > .featured-card:only-child h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.featured-grid > .featured-card:only-child p { -webkit-line-clamp: 3; }
.featured-card, .post-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 8px 24px rgba(19,47,76,.055); transition: transform .22s ease, box-shadow .22s ease; }
.featured-card::before, .post-card::before { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, var(--accent-06), transparent 55%); opacity: 0; transition: opacity .22s ease; content: ""; }
.featured-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.featured-card:hover::before, .post-card:hover::before { opacity: 1; }
.featured-card__thumb, .post-card__thumb { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.featured-card__thumb { aspect-ratio: 16/10; }
.featured-card__thumb img, .post-card__thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.featured-card:hover img, .post-card:hover img { transform: scale(1.035); }
.thumb-fallback { position: absolute; inset: 0; background: radial-gradient(circle at 72% 26%, rgba(255,255,255,.22), transparent 24%), repeating-linear-gradient(0deg, transparent 0 32px, rgba(255,255,255,.08) 33px), linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.thumb-fallback::after { position: absolute; right: 20px; bottom: 15px; color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 800; letter-spacing: .12em; content: "MARKET NOTE"; }
.featured-card__body { padding: 21px 22px 23px; }
.featured-card h3 { margin: 9px 0 10px; color: var(--navy-950); font-size: 1.17rem; line-height: 1.48; letter-spacing: -.025em; }
.featured-card p { display: -webkit-box; margin: 0 0 14px; overflow: hidden; color: var(--slate); font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-card time { color: #8491a0; font-size: .78rem; }
.category { color: var(--blue-600); font-size: .78rem; font-weight: 850; }

/* Main layout */
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 34px; padding-block: 46px 72px; align-items: start; }
.content-column { min-width: 0; }
.list-header { position: relative; overflow: hidden; margin-bottom: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%); box-shadow: 0 10px 24px rgba(19,47,76,.04); }
.list-header::before { position: absolute; right: -20px; top: -24px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent-12), transparent 70%); content: ""; }
.list-header h1 { position: relative; margin: 0; color: var(--navy-950); font-size: clamp(1.55rem,3.2vw,2.1rem); line-height: 1.25; letter-spacing: -.045em; }
.list-header p:not(.eyebrow) { position: relative; margin: 8px 0 4px; color: var(--slate); }
.list-header > span { position: relative; color: #8190a0; font-size: .8rem; }
.post-card { display: grid; min-height: 202px; grid-template-columns: 260px minmax(0,1fr); }
.content-column > .post-card + .post-card { margin-top: 20px; }
.post-card__thumb { min-height: 200px; }
.post-card__body { display: flex; min-width: 0; padding: 20px 22px; flex-direction: column; justify-content: center; }
.post-card h2 { margin: 6px 0 8px; color: var(--navy-950); font-size: 1.18rem; line-height: 1.4; letter-spacing: -.03em; }
.post-card h2 a { display: block; }
.post-card p { display: -webkit-box; margin: 0 0 12px; overflow: hidden; color: var(--slate); font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-meta { display: flex; margin-top: auto; gap: 14px; color: #8491a0; font-size: .76rem; }
.empty-state { padding: 72px 28px; border: 1px dashed #c8d4df; border-radius: var(--radius-lg); color: var(--slate); background: #fff; text-align: center; }
.post-card.compact { min-height: 154px; grid-template-columns: 190px minmax(0,1fr); }
.post-card.compact .post-card__thumb { min-height: 154px; }
.post-card.compact .post-card__body { padding-block: 20px; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.profile-card, .side-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.profile-card { text-align: center; }
.profile-card__image { width: 74px; height: 74px; margin: 0 auto 13px; overflow: hidden; border: 4px solid var(--blue-100); border-radius: 50%; background: var(--blue-100); }
.profile-card__image img { width: 100%; height: 100%; object-fit: cover; }
.profile-card strong { display: block; color: var(--navy-950); }
.profile-card p { margin: 7px 0; color: var(--slate); font-size: .83rem; }
.profile-card span { color: #95a0ad; font-size: .74rem; }
.side-card h2 { margin: 0 0 16px; color: var(--navy-950); font-size: 1rem; }
.category-card ul { margin: 0; padding: 0; list-style: none; }
.category-card li { margin: 0; }
.category-card a { display: inline-flex; padding: 4px 0; align-items: center; gap: 6px; color: #506276; font-size: .86rem; line-height: 1.35; }
.category-card a:hover { color: var(--blue-600); }
.category-card .c_cnt { margin-left: 2px; color: #8a98a7; font-size: .76rem; }
.category-card .link_add { display: none; }
.category-card .sub_category_list { margin-left: 13px; padding-left: 12px; border-left: 1px solid var(--line); }
.toc-card { padding: 20px 21px 18px; }
.toc-card .eyebrow { margin-bottom: 5px; font-size: .65rem; }
.toc-card h2 { margin-bottom: 11px; }
.toc-card nav { display: grid; gap: 2px; }
.toc-card a { position: relative; display: block; padding: 7px 8px 7px 15px; border-radius: 8px; color: #657589; font-size: .78rem; line-height: 1.42; transition: color .18s ease, background .18s ease; }
.toc-card a::before { position: absolute; top: 13px; left: 2px; width: 5px; height: 5px; border-radius: 50%; background: #c4d1dc; content: ""; }
.toc-card a[data-level="3"] { padding-left: 25px; font-size: .73rem; }
.toc-card a[data-level="3"]::before { left: 13px; }
.toc-card a:hover, .toc-card a.is-active { color: var(--navy-900); background: var(--blue-100); }
.toc-card a.is-active { font-weight: 750; }
.toc-card a.is-active::before { background: var(--blue-600); box-shadow: 0 0 0 3px var(--accent-12); }
.recent-list { display: grid; margin: 0; padding: 0; gap: 12px; list-style: none; }
.recent-list a { display: -webkit-box; overflow: hidden; color: #44566b; font-size: .84rem; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.recent-list time { display: block; margin-top: 2px; color: #95a0ad; font-size: .7rem; }
.visitor-card > strong { color: var(--navy-950); font-size: 1.7rem; }
.visitor-card > div { display: flex; margin-top: 6px; justify-content: space-between; color: #8391a0; font-size: .75rem; }

/* Article */
.article-view { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: 0 10px 30px rgba(19,47,76,.055); }
.article-header { padding: 44px max(28px, calc((100% - var(--content-width)) / 2)) 32px; border-bottom: 1px solid #e9eef2; background: linear-gradient(180deg, #f8fbfe, #fff); text-align: center; }
.article-header h1 { max-width: 820px; margin: 10px auto 12px; color: var(--navy-950); font-size: clamp(1.8rem,4.2vw,2.9rem); line-height: 1.25; letter-spacing: -.05em; }
.article-meta { display: flex; justify-content: center; gap: 14px; color: #8190a0; font-size: .78rem; }
.article-meta > * + *::before { margin-right: 14px; color: #c3cdd6; content: "·"; }
.admin-bar { display: flex; padding: 10px 24px; justify-content: end; gap: 10px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.admin-bar a, .admin-bar button { padding: 4px 9px; border: 0; color: var(--slate); background: transparent; font-size: .76rem; cursor: pointer; }
.entry-content { width: min(var(--content-width), calc(100% - 40px)); margin: 0 auto; padding: 40px 0 48px; color: #243346; font-size: 1rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--navy-950); line-height: 1.4; letter-spacing: -.03em; }
.entry-content h2 { margin: 2.7em 0 .75em; padding-bottom: .55em; border-bottom: 2px solid var(--navy-900); font-size: 1.65rem; }
.entry-content h3 { margin: 2.2em 0 .65em; font-size: 1.28rem; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 28px 0; padding: 20px 24px; border-left: 5px solid var(--blue-600); border-radius: 0 12px 12px 0; color: var(--navy-800); background: linear-gradient(90deg, var(--blue-100) 0%, #f6fbff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { display: table; width: 100%; margin: 28px 0; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 12px; font-size: .88rem; box-shadow: 0 8px 24px rgba(19,47,76,.03); }
.entry-content .table-scroll { width: 100%; margin: 28px 0; overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.entry-content .table-scroll table { margin: 0; min-width: 580px; }
.entry-content th, .entry-content td { padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: right; }
.entry-content th:first-child, .entry-content td:first-child { text-align: left; }
.entry-content th:last-child, .entry-content td:last-child { border-right: 0; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content thead th { color: #fff; background: var(--navy-900); }
.entry-content tbody tr:nth-child(even) { background: #f8fafc; }
.entry-content figure, .entry-content .imageblock, .entry-content .figure { margin: 34px auto; }
.entry-content figcaption, .entry-content .cap1 { margin-top: 8px; color: #8391a0; font-size: .78rem; text-align: center; }
.entry-content pre { overflow-x: auto; padding: 20px; border-radius: 12px; color: #e9f2fa; background: #10263b; }
.entry-content hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em; padding-left: 1.45em; }
.entry-content li { margin: .4em 0; }
.entry-content .market-summary, .entry-content .lead-box { margin: 26px 0; padding: 22px 24px; border: 1px solid #d5e6f5; border-radius: 16px; background: linear-gradient(135deg, #f5fbff 0%, var(--blue-100) 100%); box-shadow: 0 10px 24px rgba(19,47,76,.04); }
.entry-content .warning-box { margin: 26px 0; padding: 22px 24px; border: 1px solid #efd59c; border-radius: 16px; background: linear-gradient(135deg, var(--gold-soft) 0%, #fffdf7 100%); box-shadow: 0 10px 24px rgba(19,47,76,.04); }
.entry-content .negative { color: var(--red); font-weight: 800; }
.entry-content .positive { color: var(--green); font-weight: 800; }
.entry-content .chart-card, .entry-content [role="img"] { max-width: 100%; }
.entry-content .toc-anchor { display: block; width: 1px; height: 1px; margin-bottom: -1px; opacity: 0; pointer-events: none; scroll-margin-top: 104px; }
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 104px; }

/* Portable article components
 * Use these content-* classes for reusable, topic-independent post markup.
 * The named report selectors below are retained only for older posts.
 */
:where(.entry-content) .content-document {
  --content-primary: var(--blue-600);
  --content-heading: var(--navy-900);
  --content-border: var(--line);
  --content-muted: var(--slate);
  max-width: 100%;
  color: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
.entry-content .content-document *, .entry-content .content-document *::before, .entry-content .content-document *::after { box-sizing: border-box; }
.entry-content .content-document > :first-child { margin-top: 0; }
.entry-content .content-hero { margin: 0 0 30px; padding: 38px 34px; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--navy-950) 0%, var(--blue-600) 100%); box-shadow: 0 16px 38px rgba(15,42,68,.16); }
.entry-content .content-hero h1 { margin: 0 0 14px; padding: 0; border: 0; color: #fff; background: none; font-size: clamp(1.65rem,4vw,2.25rem); line-height: 1.35; }
.entry-content .content-hero p { max-width: 720px; margin: 0; color: #e8f2fb; line-height: 1.72; }
.entry-content .content-badge, .entry-content .content-label { display: inline-block; margin: 0 0 10px; color: var(--content-primary); font-size: .82em; font-weight: 700; letter-spacing: .04em; }
.entry-content .content-hero .content-badge, .entry-content .content-hero .content-label { padding: 4px 10px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; color: #fff; }
.entry-content .content-meta { margin: 0 0 14px; color: var(--content-muted); font-size: .86em; }
.entry-content .content-hero .content-meta { color: rgba(255,255,255,.75); }
.entry-content .content-lead { font-size: 1.04em; line-height: 1.75; }
.entry-content .content-summary, .entry-content .content-panel { margin: 24px 0; padding: 20px 23px; border: 1px solid var(--content-border); border-radius: 13px; background: #f8fafc; }
.entry-content .content-summary > :last-child, .entry-content .content-panel > :last-child { margin-bottom: 0; }
.entry-content .content-toc { margin: 0 0 38px; padding: 20px 22px; border: 1px solid var(--content-border); border-left: 4px solid var(--content-primary); border-radius: 13px; background: #f8fafc; }
.entry-content .content-toc > strong { display: block; margin: 0 0 9px; color: var(--content-heading); }
.entry-content .content-toc ol { margin: 0; padding-left: 22px; }
.entry-content .content-toc li { margin: 5px 0; }
.entry-content .content-toc a { color: var(--content-primary); text-decoration-thickness: 1px; }
.entry-content .content-section { margin: 0 0 38px; scroll-margin-top: 104px; }
.entry-content .content-section > h2 { margin-top: 0; }
.entry-content .content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 24px 0; }
.entry-content .content-card, .entry-content .content-step { padding: 20px 22px; border: 1px solid var(--content-border); border-radius: 13px; background: #fff; box-shadow: 0 7px 22px rgba(19,47,76,.05); }
.entry-content .content-step { margin: 20px 0; }
.entry-content .content-card > :first-child, .entry-content .content-step > :first-child { margin-top: 0; }
.entry-content .content-card > :last-child, .entry-content .content-step > :last-child { margin-bottom: 0; }
.entry-content .content-callout { margin: 23px 0; padding: 19px 21px; border: 0; border-left: 4px solid var(--content-primary); border-radius: 10px; background: var(--blue-100); }
.entry-content .content-callout--warning { border-left-color: var(--gold); background: var(--gold-soft); }
.entry-content .content-callout--danger { border-left-color: var(--red); color: #7f1d1d; background: #fef2f2; }
.entry-content .content-callout--success { border-left-color: var(--green); background: #eef9f3; }
.entry-content .content-callout > :last-child { margin-bottom: 0; }
.entry-content .content-table-wrap, .entry-content .content-chart { width: 100%; max-width: 100%; margin: 28px 0; overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.entry-content .content-table-wrap table { display: table; width: 100%; min-width: 680px; margin: 0; overflow: visible; white-space: normal; }
.entry-content .content-table-wrap th, .entry-content .content-table-wrap td { text-align: left; }
.entry-content .content-chart > * { min-width: 360px; }
.entry-content .content-chart-row { display: grid; grid-template-columns: 105px minmax(90px,1fr) 88px; gap: 8px; align-items: center; margin: 9px 0; }
.entry-content .content-chart-row > strong { text-align: right; }
.entry-content .content-chart-bar { width: 100%; height: 15px; overflow: hidden; border: 0; border-radius: 8px; background: #e7edf4; accent-color: var(--content-primary); }
.entry-content .content-chart-bar.positive { accent-color: var(--green); }
.entry-content .content-chart-bar.negative { accent-color: var(--red); }
.entry-content .content-chart-bar::-webkit-progress-bar { border-radius: 8px; background: #e7edf4; }
.entry-content .content-chart-bar::-webkit-progress-value { border-radius: 8px; background: var(--content-primary); }
.entry-content .content-chart-bar.positive::-webkit-progress-value { background: var(--green); }
.entry-content .content-chart-bar.negative::-webkit-progress-value { background: var(--red); }
.entry-content .content-chart-bar::-moz-progress-bar { border-radius: 8px; background: var(--content-primary); }
.entry-content .content-chart-bar.positive::-moz-progress-bar { background: var(--green); }
.entry-content .content-chart-bar.negative::-moz-progress-bar { background: var(--red); }
.entry-content .content-code { max-width: 100%; margin: 18px 0 24px; padding: 18px 20px; overflow-x: auto; border-radius: 10px; color: #e5edf5; background: #10263b; white-space: pre; }
.entry-content .content-code code { display: block; min-width: max-content; margin: 0; padding: 0; border: 0; color: inherit; background: transparent; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
.entry-content .content-timeline { display: grid; gap: 11px; margin: 24px 0; }
.entry-content .content-timeline > div { display: grid; padding: 16px 18px; grid-template-columns: 72px minmax(0,1fr); gap: 16px; border: 1px solid var(--content-border); border-radius: 11px; background: #fff; }
.entry-content .content-timeline p { margin: 0; }
.entry-content .content-steps { margin: 24px 0; padding: 0; list-style: none; counter-reset: content-step; }
.entry-content .content-steps > li { position: relative; margin: 0 0 11px; padding: 16px 18px 16px 58px; border: 1px solid var(--content-border); border-radius: 11px; background: #f9fbfe; list-style: none; counter-increment: content-step; }
.entry-content .content-steps > li::before { position: absolute; top: 16px; left: 18px; display: flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: var(--content-primary); font-size: .78em; font-weight: 800; content: counter(content-step); }
.entry-content kbd, .entry-content .content-key { display: inline-flex; min-width: 1.8em; padding: .12em .5em; align-items: center; justify-content: center; border: 1px solid #b8c3d1; border-bottom: 3px solid #8d9bab; border-radius: 6px; color: var(--navy-950); background: linear-gradient(180deg,#fff 0%,#eef2f6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(15,23,42,.14); font: 700 .86em/1.35 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: -.01em; vertical-align: .08em; white-space: nowrap; }
.entry-content .content-closing { margin-top: 32px; padding: 23px 24px; border-radius: 14px; color: #eef5ff; background: var(--navy-900); }
.entry-content .content-closing h2, .entry-content .content-closing p { color: inherit; }
.entry-content .content-closing > :last-child { margin-bottom: 0; }
.entry-content .content-sources { margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--content-border); }
.entry-content ul.content-sources, .entry-content ol.content-sources { padding-left: 1.45em; }
.entry-content .content-sources a { font-size: .88em; word-break: break-all; }

/* Extended portable article contract
 * Supports the semantic class set emitted by current JCOS master documents.
 */
.entry-content .content-cover { margin: 0 0 34px; padding: 38px 34px; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg,var(--navy-950) 0%,var(--navy-800) 55%,var(--blue-600) 100%); box-shadow: 0 16px 38px rgba(15,42,68,.16); }
.entry-content .content-cover > :last-child { margin-bottom: 0; }
.entry-content .content-cover .content-eyebrow { display: inline-block; margin: 0 0 13px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-size: .8em; font-weight: 800; letter-spacing: .055em; }
.entry-content .content-cover .content-title { margin: 0 0 15px; padding: 0; border: 0; color: #fff; background: none; font-size: clamp(1.7rem,4vw,2.3rem); line-height: 1.34; letter-spacing: -.045em; }
.entry-content .content-cover .content-lead { max-width: 720px; margin: 0 0 13px; color: #e8f2fb; font-size: 1.04em; line-height: 1.75; }
.entry-content .content-cover .content-meta { margin: 0; color: rgba(255,255,255,.74); }
.entry-content .content-kicker { display: block; margin: 0 0 7px; color: var(--content-primary); font-size: .78em; font-weight: 800; letter-spacing: .075em; }
.entry-content .content-section-title { margin: 0 0 18px; padding: 0 0 11px; border: 0; border-bottom: 2px solid var(--content-heading); color: var(--content-heading); font-size: 1.48rem; line-height: 1.42; }
.entry-content .content-subtitle { margin: 26px 0 10px; color: var(--content-heading); font-size: 1.12rem; line-height: 1.5; }
.entry-content .content-paragraph { margin: 0 0 16px; }
.entry-content .content-list { margin: 14px 0 22px; padding-left: 1.45em; }
.entry-content .content-list > li { margin: 7px 0; }
.entry-content .content-summary-list { display: grid; margin: 0 0 24px; padding: 0; gap: 12px; list-style: none; counter-reset: content-summary-item; }
.entry-content .content-summary-item { position: relative; margin: 0; padding: 17px 18px 17px 55px; border: 1px solid var(--content-border); border-radius: 12px; background: #f8fafc; list-style: none; counter-increment: content-summary-item; }
.entry-content .content-summary-item::before { position: absolute; top: 17px; left: 17px; display: inline-flex; width: 25px; height: 25px; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: var(--content-primary); font-size: .75em; font-weight: 800; content: counter(content-summary-item); }
.entry-content .content-summary-item > strong:first-child { color: var(--content-heading); }
.entry-content .content-table { width: 100%; min-width: 680px; margin: 0; white-space: normal; }
.entry-content .content-source-list { margin: 0; padding-left: 1.45em; }
.entry-content .content-source-list > li { margin: 7px 0; }
.entry-content .content-source-list a { font-size: .88em; word-break: break-all; }
.entry-content .content-footer { margin-top: 42px; padding: 22px 24px; border: 1px solid var(--content-border); border-radius: 14px; color: var(--content-muted); background: #f8fafc; }
.entry-content .content-footer .content-section-title { color: var(--content-heading); font-size: 1.18rem; }
.entry-content .content-footer > :last-child { margin-bottom: 0; }

/* Legacy: JCOS AI Daily reports
 * Source: MASTER_AI_DAILY_v1.0.1 (LOCKED)
 * Report markup stays portable; the skin owns the shared presentation layer.
 */
.entry-content .ai-daily-post {
  --adr-primary: #174b9b;
  --adr-border: #dfe7f1;
  --adr-soft: #52647b;
  color: inherit;
  line-height: inherit;
  word-break: keep-all;
}
.entry-content .ai-daily-post *, .entry-content .ai-daily-post *::before, .entry-content .ai-daily-post *::after { box-sizing: border-box; }
.entry-content .ai-daily-post .adr-hero { margin: 0 0 28px; padding: 32px 30px; border: 0; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0a214d 0%, #165bc1 100%); }
.entry-content .ai-daily-post .adr-series { display: inline-block; margin: 0 0 10px; color: rgba(255,255,255,.82); font-size: .82em; font-weight: 700; letter-spacing: .06em; }
.entry-content .ai-daily-post .adr-hero > h1 { margin: 0 0 12px; padding: 0; border: 0; color: #fff; background: none; font-size: clamp(1.55rem,4vw,2rem); line-height: 1.38; }
.entry-content .ai-daily-post .adr-date { margin: 0 0 16px; color: rgba(255,255,255,.75); font-size: .86em; }
.entry-content .ai-daily-post .adr-lead { margin: 0; color: #eaf2ff; line-height: 1.72; }
.entry-content .ai-daily-post .adr-toc { margin: 0 0 34px; padding: 20px 22px; border: 1px solid #eadfca; border-radius: 14px; background: #fffaf1; }
.entry-content .ai-daily-post .adr-toc > strong { display: block; margin: 0 0 8px; color: #755323; }
.entry-content .ai-daily-post .adr-toc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.entry-content .ai-daily-post .adr-toc-grid > ol { margin: 0; padding: 0 0 0 20px; }
.entry-content .ai-daily-post .adr-toc li { margin: 4px 0; }
.entry-content .ai-daily-post .adr-toc a { color: #5f4b31; text-decoration: none; }
.entry-content .ai-daily-post .adr-toc a:hover { color: var(--adr-primary); text-decoration: underline; }
.entry-content .ai-daily-post .adr-section { margin: 0 0 38px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.entry-content .ai-daily-post .adr-section > h2 { margin: 0 0 20px; padding: 0 0 10px; border: 0; border-bottom: 2px solid #e7eef8; color: #173f78; background: none; font-size: 1.42em; line-height: 1.42; }
.entry-content .ai-daily-post .adr-section > h3, .entry-content .ai-daily-post .adr-section div > h3 { margin: 25px 0 10px; padding: 0; border: 0; color: #294d78; background: none; font-size: 1.08em; }
.entry-content .ai-daily-post .adr-section > p { margin: 0 0 15px; }
.entry-content .ai-daily-post .adr-label { display: inline-block; margin: 0 0 7px; color: var(--adr-primary); font-size: .82em; font-weight: 700; }
.entry-content .ai-daily-post .adr-inline-label { color: #174b9b; }
.entry-content .ai-daily-post .adr-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.entry-content .ai-daily-post .adr-summary-card { padding: 20px; border: 1px solid var(--adr-border); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(28,63,108,.05); }
.entry-content .ai-daily-post .adr-summary-card > span { display: inline-flex; width: 32px; height: 32px; margin: 0 0 12px; align-items: center; justify-content: center; border-radius: 50%; color: var(--adr-primary); background: #eaf2ff; font-size: .78em; font-weight: 800; }
.entry-content .ai-daily-post .adr-summary-card > h3 { margin: 0 0 9px; color: #23466f; font-size: 1em; line-height: 1.5; }
.entry-content .ai-daily-post .adr-summary-card > p { margin: 0; color: var(--adr-soft); font-size: .92em; line-height: 1.7; }
.entry-content .ai-daily-post .adr-highlight, .entry-content .ai-daily-post .adr-note { margin: 23px 0; padding: 19px 21px; border: 0; border-left: 4px solid #2d68c4; border-radius: 10px; background: #eef5ff; }
.entry-content .ai-daily-post .adr-highlight-warm { border-left-color: #d39a34; background: #fff8ea; }
.entry-content .ai-daily-post .adr-highlight-green { border-left-color: #3d9568; background: #eef9f3; }
.entry-content .ai-daily-post .adr-highlight > strong, .entry-content .ai-daily-post .adr-note > strong { display: block; margin: 0 0 6px; color: #173f78; }
.entry-content .ai-daily-post .adr-highlight > p, .entry-content .ai-daily-post .adr-note > p { margin: 0; }
.entry-content .ai-daily-post .adr-glossary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.entry-content .ai-daily-post .adr-glossary-grid > div { padding: 16px 18px; border: 1px solid var(--adr-border); border-radius: 11px; background: #f9fbfe; }
.entry-content .ai-daily-post .adr-glossary-grid strong { display: block; margin-bottom: 5px; color: #294d78; }
.entry-content .ai-daily-post .adr-glossary-grid p { margin: 0; color: var(--adr-soft); font-size: .92em; }
.entry-content .ai-daily-post .adr-role-grid, .entry-content .ai-daily-post .adr-tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.entry-content .ai-daily-post .adr-role-card, .entry-content .ai-daily-post .adr-tool-grid > div { padding: 19px 20px; border: 1px solid var(--adr-border); border-radius: 12px; background: #fff; }
.entry-content .ai-daily-post .adr-role-card > h3, .entry-content .ai-daily-post .adr-tool-grid h3 { margin: 0 0 8px; color: #294d78; font-size: 1em; }
.entry-content .ai-daily-post .adr-role-card > p, .entry-content .ai-daily-post .adr-tool-grid p { margin: 0; color: var(--adr-soft); font-size: .92em; }
.entry-content .ai-daily-post .adr-table-wrap { width: 100%; margin: 0 0 22px; overflow-x: auto; border-radius: 0; -webkit-overflow-scrolling: touch; }
.entry-content .ai-daily-post .adr-table { display: table; width: 100%; min-width: 680px; margin: 0; overflow: visible; border: 0; border-collapse: collapse; border-spacing: 0; border-radius: 0; font-size: .88em; box-shadow: none; white-space: normal; }
.entry-content .ai-daily-post .adr-table th { padding: 11px 12px; border: 1px solid #fff; color: #fff; background: #102e61; text-align: left; }
.entry-content .ai-daily-post .adr-table td { padding: 11px 12px; border: 1px solid var(--adr-border); vertical-align: top; text-align: left; }
.entry-content .ai-daily-post .adr-table tbody tr:nth-child(even) { background: #f8fafc; }
.entry-content .ai-daily-post .adr-code, .entry-content .ai-daily-post .adr-prompt { margin: 18px 0 24px; padding: 18px 20px; overflow: auto; border: 1px solid #d5dce5; border-radius: 11px; color: inherit; background: #f2f4f7; font-size: .87em; line-height: 1.55; white-space: pre; }
.entry-content .ai-daily-post .adr-code code, .entry-content .ai-daily-post .adr-prompt code { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
.entry-content .ai-daily-post .adr-builder { padding: 20px 22px; border: 1px solid var(--adr-border); border-radius: 13px; background: #f9fbfe; }
.entry-content .ai-daily-post .adr-builder p { margin: 0 0 10px; }
.entry-content .ai-daily-post .adr-builder p:last-child { margin-bottom: 0; }
.entry-content .ai-daily-post .adr-timeline { display: grid; gap: 11px; }
.entry-content .ai-daily-post .adr-timeline > div { display: grid; padding: 16px 18px; grid-template-columns: 72px minmax(0,1fr); gap: 16px; border: 1px solid var(--adr-border); border-radius: 11px; background: #fff; }
.entry-content .ai-daily-post .adr-timeline strong { color: var(--adr-primary); }
.entry-content .ai-daily-post .adr-timeline p { margin: 0; }
.entry-content .ai-daily-post .adr-action-list { margin: 0; padding: 0; list-style: none; counter-reset: adr-action; }
.entry-content .ai-daily-post .adr-action-list > li { position: relative; margin: 0 0 11px; padding: 16px 18px 16px 58px; border: 1px solid var(--adr-border); border-radius: 11px; background: #f9fbfe; list-style: none; counter-increment: adr-action; }
.entry-content .ai-daily-post .adr-action-list > li::before { position: absolute; top: 16px; left: 18px; display: flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: var(--adr-primary); font-size: .78em; font-weight: 800; content: counter(adr-action); }
.entry-content .ai-daily-post .adr-action-list strong, .entry-content .ai-daily-post .adr-action-list span { display: block; }
.entry-content .ai-daily-post .adr-action-list span { margin-top: 3px; color: #617086; font-size: .92em; }
.entry-content .ai-daily-post .adr-editor { padding: 23px 24px; border: 1px solid #dce6f3; border-radius: 14px; background: #f8fbff; }
.entry-content .ai-daily-post .adr-closing { padding: 23px 24px; border-radius: 14px; color: #eef5ff; background: #102e61; }
.entry-content .ai-daily-post .adr-closing > h2 { border: 0; color: #fff; }
.entry-content .ai-daily-post .adr-closing > p { color: #eef5ff; }
.entry-content .ai-daily-post .adr-sources { margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--adr-border); }
.entry-content .ai-daily-post .adr-sources > h2 { margin: 0 0 12px; padding: 0; border: 0; color: #42546b; background: none; font-size: 1.05em; }
.entry-content .ai-daily-post .adr-sources > ul { margin: 0; padding: 0 0 0 20px; }
.entry-content .ai-daily-post .adr-sources li { margin: 6px 0; }
.entry-content .ai-daily-post .adr-sources a { color: #536d91; font-size: .88em; word-break: break-all; }

/* Legacy: JCOS VS Code beginner guides
 * Shared presentation owner for styleless Tistory body fragments.
 * Contract: MASTER_VSCODE_BEGINNER_GUIDE_v2.3.6 (LOCKED)
 */
.entry-content .jcos-vscode-guide { width: 100%; margin: 0 auto; padding: 32px 0 64px; color: #243346; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; word-break: keep-all; }
.entry-content .jcos-vscode-guide * { box-sizing: border-box; }
.entry-content .jcos-vscode-guide h2 { margin: 52px 0 18px; padding: 0 0 .55em; border: 0; border-bottom: 2px solid var(--navy-900); color: #0f172a; font-size: 27px; line-height: 1.4; }
.entry-content .jcos-vscode-guide h3 { margin: 30px 0 12px; color: #1e293b; font-size: 20px; line-height: 1.5; }
.entry-content .jcos-vscode-guide p { margin: 0 0 18px; }
.entry-content .jcos-vscode-guide li { margin: 7px 0; }
.entry-content .jcos-vscode-guide code { padding: .12em .35em; border-radius: 5px; color: #be123c; background: #f1f5f9; font-family: Consolas, "SFMono-Regular", monospace; }
.entry-content .jcos-vscode-guide section { scroll-margin-top: 24px; }
.entry-content .jcos-vscode-guide .vscode-hero { margin: 0 0 30px; padding: 48px 42px 46px; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #2563eb 100%); box-shadow: 0 16px 38px rgba(15,23,42,.18); }
.entry-content .jcos-vscode-guide .vscode-hero h1 { margin: 0 0 18px; padding: 0; border: 0; color: #fff; font-size: 36px; font-weight: 800; line-height: 1.34; letter-spacing: -.035em; }
.entry-content .jcos-vscode-guide .vscode-hero p { max-width: 720px; margin: 0; color: #dbeafe; font-size: 18px; line-height: 1.72; }
.entry-content .jcos-vscode-guide .vscode-hero-badge { display: inline-block; margin: 0 0 17px; padding: 5px 11px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .035em; }
.entry-content .jcos-vscode-guide .vscode-summary { margin: 0 0 24px; padding: 20px 23px; border: 1px solid #dbe3ec; border-radius: 12px; background: #f8fafc; box-shadow: none; }
.entry-content .jcos-vscode-guide .vscode-summary p { margin: 0 0 8px; }
.entry-content .jcos-vscode-guide .vscode-summary p:last-child { margin-bottom: 0; }
.entry-content .jcos-vscode-guide .vscode-summary-title { color: #0f172a; font-weight: 800; }
.entry-content .jcos-vscode-guide .lead-box { display: block; margin: 24px 0 26px; padding: 20px 24px; border: 0; border-left: 4px solid #2563eb; border-radius: 12px; background: #eff6ff; box-shadow: none; }
.entry-content .jcos-vscode-guide .vscode-toc { margin: 0 0 42px; padding: 20px 22px 18px; border: 1px solid #e2e8f0; border-left: 4px solid #64748b; border-radius: 12px; color: #334155; background: #f8fafc; box-shadow: none; }
.entry-content .jcos-vscode-guide .vscode-toc > b { display: block; margin: 0 0 10px; color: #0f172a; font-size: 16px; line-height: 1.5; }
.entry-content .jcos-vscode-guide .vscode-toc ol { margin: 0; padding-left: 22px; }
.entry-content .jcos-vscode-guide .vscode-toc li { margin: 5px 0; }
.entry-content .jcos-vscode-guide .vscode-toc a { color: #2563eb; text-decoration-color: #93c5fd; text-underline-offset: 3px; }
.entry-content .jcos-vscode-guide .vscode-section-title { color: #0f172a; }
.entry-content .jcos-vscode-guide .procedure-step { margin: 24px 0; padding: 22px 24px; border: 1px solid #dbe3ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.055); }
.entry-content .jcos-vscode-guide .procedure-step > h3:first-child { margin-top: 0; }
.entry-content .jcos-vscode-guide .procedure-step blockquote { margin: 18px 0; border-left-color: #2563eb; background: #eff6ff; }
.entry-content .jcos-vscode-guide .vscode-safety { border-left-color: #f59e0b; }
.entry-content .jcos-vscode-guide .warning-box { margin: 22px 0; padding: 18px 20px; border: 0; border-left: 4px solid #dc2626; border-radius: 10px; color: #7f1d1d; background: #fef2f2; box-shadow: none; }
.entry-content .jcos-vscode-guide blockquote { margin: 22px 0; padding: 18px 20px; border: 1px solid #bfdbfe; border-left: 4px solid #2563eb; border-radius: 10px; color: #1e3a8a; background: #eff6ff; }
.entry-content .jcos-vscode-guide pre { max-width: 100%; margin: 18px 0 24px; padding: 18px 20px; overflow-x: auto; border-radius: 10px; color: #e5edf5; background: #0f172a; scrollbar-color: #64748b #0f172a; }
.entry-content .jcos-vscode-guide pre code { display: block; min-width: max-content; margin: 0; padding: 0; border: 0; border-radius: 0; color: #e5edf5; background: transparent; box-shadow: none; }
.entry-content .jcos-vscode-guide .vscode-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .jcos-vscode-guide .vscode-table-scroll table { min-width: 680px; }
.entry-content .jcos-vscode-guide .vscode-table-scroll th, .entry-content .jcos-vscode-guide .vscode-table-scroll td { text-align: left; }
.entry-content .jcos-vscode-guide .official-links li { margin-bottom: .65em; }
.entry-content .jcos-vscode-guide a:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.entry-content .jcos-vscode-guide .master-note { margin-top: 48px; padding-top: 18px; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 13px; }

/* Legacy: JCOS Stock Daily briefs
 * Source: MASTER_STOCK_DAILY_v1.0.0_TISTORY_BODY (LOCKED, MARKET_NOTE)
 */
.entry-content .mn-report { max-width: 100%; color: #243346; overflow-wrap: anywhere; }
.entry-content .mn-report > :first-child { margin-top: 0; }
.entry-content .mn-report .market-summary { border-color: #d5e6f5; background: linear-gradient(135deg,#f5fbff 0%,#e9f3fb 100%); }
.entry-content .mn-report .warning-box { border-color: #efd59c; background: linear-gradient(135deg,#fff5dc 0%,#fffdf7 100%); }
.entry-content .mn-report .mn-table-wrap { width: 100%; max-width: 100%; margin: 28px 0; overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.entry-content .mn-report .mn-table-wrap table { display: table; width: 100%; min-width: 680px; margin: 0; overflow: visible; white-space: normal; }
.entry-content .mn-report .mn-table-wrap th, .entry-content .mn-report .mn-table-wrap td { text-align: left; }
.entry-content .mn-report .mn-chart { width: 100%; max-width: 100%; margin: 28px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .mn-report .mn-chart > div { min-width: 360px; }
.tag-trail { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--slate); font-size: .82rem; }
.tag-trail strong { margin-right: 12px; color: var(--navy-950); }
.tag-trail a { display: inline-flex; margin: 4px 4px; padding: 5px 10px; border-radius: 99px; color: var(--blue-600); background: var(--blue-100); }
.article-share { display: flex; width: min(var(--content-width), calc(100% - 40px)); margin: 0 auto 36px; padding: 14px 16px; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--slate); background: #fafbfd; font-size: .82rem; }
.article-share button { padding: 8px 13px; border: 0; border-radius: 9px; color: #fff; background: var(--navy-900); cursor: pointer; white-space: nowrap; }
.article-share button.is-copy-error { background: var(--red); }
.related-posts { padding: 28px max(24px, calc((100% - var(--content-width)) / 2)); border-top: 1px solid var(--line); background: #f8fafc; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.related-card { display: grid; gap: 7px; }
.related-card__thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: 9px; background: #e9eef3; }
.related-card__thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.related-card strong { display: -webkit-box; overflow: hidden; color: var(--navy-950); font-size: .82rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.related-card time { color: #8b98a6; font-size: .7rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.article-nav a { display: grid; min-width: 0; padding: 24px 28px; gap: 4px; }
.article-nav a + a { border-left: 1px solid var(--line); text-align: right; }
.article-nav span { color: #8a98a6; font-size: .72rem; }
.article-nav strong { overflow: hidden; color: var(--navy-950); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.comments { padding: 42px max(24px, calc((100% - var(--content-width)) / 2)); border-top: 1px solid var(--line); }
.comments .tt-box-total { color: var(--navy-950); }
.comments .tt-btn_register { background: var(--blue-600) !important; }
.comments [data-tistory-react-app="Comment"] { color: var(--ink-soft); font-size: .88rem; }
.comments .tt-box-total { padding-bottom: 16px !important; border-bottom: 1px solid var(--line); font-weight: 800; }
.comments .tt-area-write { padding-top: 20px; gap: 16px; }
.comments .tt_wrap_write { width: 100%; min-width: 0; }
.comments .tt-box-textarea { overflow: hidden; margin-bottom: 10px !important; border: 1px solid var(--line) !important; border-radius: 13px; background: #fff; }
.comments .tt-box-textarea:focus-within { border-color: var(--blue-600) !important; box-shadow: 0 0 0 3px var(--accent-11); }
.comments .tt-box-textarea .tt-inner-g { border: 0 !important; }
.comments textarea, .comments .tt-cmt { width: 100%; min-height: 120px; padding: 15px 17px !important; border: 0 !important; outline: 0; color: var(--ink-soft); background: transparent; line-height: 1.6; }
.comments .tt-btn_register { min-width: 72px; height: 38px; padding: 0 18px !important; justify-content: center; border: 0 !important; border-radius: 10px; color: #fff !important; font-weight: 800; }
.comments .tt-btn_register:disabled { color: #8997a5 !important; background: #e8edf2 !important; opacity: 1; }
.container_postbtn { width: min(var(--content-width), calc(100% - 40px)); margin-right: auto !important; margin-left: auto !important; }
.protected-box { width: min(520px, calc(100% - 48px)); margin: 50px auto; padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #f8fafc; text-align: center; }
.protected-box strong { color: var(--navy-950); font-size: 1.15rem; }
.protected-box p { margin: 6px 0 20px; color: var(--slate); font-size: .9rem; }
.protected-box label { display: block; margin-bottom: 7px; color: var(--slate); font-size: .78rem; text-align: left; }
.protected-box > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.protected-box input { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; }
.protected-box input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--accent-12); }
.protected-box button { padding: 0 18px; border: 0; border-radius: 10px; color: #fff; background: var(--blue-600); font-weight: 800; cursor: pointer; }

/* Tags, guestbook, pagination */
.tag-page { padding: 0 0 40px; }
.tag-cloud { display: flex; padding: 24px; flex-wrap: wrap; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.tag-cloud a { padding: 8px 13px; border-radius: 99px; color: var(--blue-600); background: var(--blue-100); font-size: .85rem; transition: transform .2s ease, box-shadow .2s ease; }
.tag-cloud a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(19,47,76,.09); }
.tag-cloud .cloud1 { color: #fff; background: var(--navy-900); font-weight: 800; }
.guestbook .article-header p:last-child { color: var(--slate); }
#tt-body-guestbook .guestbook .article-header { padding-block: 38px 30px; }
#tt-body-guestbook .guestbook [data-tistory-react-app="Comment"] { padding: 26px 30px 30px; }
#tt-body-guestbook .guestbook .tt-comment-cont { color: var(--ink-soft); font-size: .88rem; }
#tt-body-guestbook .guestbook .tt-box-total { display: flex; padding: 0 0 16px !important; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
#tt-body-guestbook .guestbook .tt-box-total .tt_txt_g { color: var(--navy-950); font-weight: 800; }
#tt-body-guestbook .guestbook .tt-box-total .tt_num_g { display: inline-grid; min-width: 24px; height: 24px; padding: 0 7px; place-items: center; border-radius: 99px; color: var(--blue-600); background: var(--blue-100); font-size: .74rem; font-weight: 800; }
#tt-body-guestbook .guestbook .tt-area-reply:empty { margin: 0 !important; }
#tt-body-guestbook .guestbook .tt-area-write { padding-top: 20px; align-items: flex-start; gap: 16px; }
#tt-body-guestbook .guestbook .tt-box-thumb { margin: 0 !important; flex: 0 0 44px; }
#tt-body-guestbook .guestbook .tt-thumbnail { border: 3px solid var(--blue-100); background-color: #f7fafc; }
#tt-body-guestbook .guestbook .tt_wrap_write { width: 100%; min-width: 0; }
#tt-body-guestbook .guestbook .tt-box-account, .comments .tt-box-account { display: grid; margin-bottom: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#tt-body-guestbook .guestbook .tt-box-account input, .comments .tt-box-account input { width: 100%; min-width: 0; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink-soft); background: #fff; }
#tt-body-guestbook .guestbook .tt-box-account input:focus, .comments .tt-box-account input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--accent-11); }
#tt-body-guestbook .guestbook .tt-box-account input::placeholder, .comments .tt-box-account input::placeholder { color: #9aa7b4; }
#tt-body-guestbook .guestbook .tt-box-textarea { overflow: hidden; margin-bottom: 10px !important; border: 1px solid var(--line) !important; border-radius: 13px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
#tt-body-guestbook .guestbook .tt-box-textarea:focus-within { border-color: var(--blue-600) !important; box-shadow: 0 0 0 3px var(--accent-11); }
#tt-body-guestbook .guestbook .tt-box-textarea .tt-inner-g { border: 0 !important; }
#tt-body-guestbook .guestbook textarea { display: block; width: 100%; min-height: 120px; padding: 15px 17px !important; border: 0 !important; outline: 0; color: var(--ink-soft); background: transparent; line-height: 1.6; resize: vertical; }
#tt-body-guestbook .guestbook .tt-cmt { width: 100%; min-height: 120px; padding: 15px 17px !important; outline: 0; color: var(--ink-soft); line-height: 1.6; }
#tt-body-guestbook .guestbook textarea::placeholder { color: #9aa7b4; }
#tt-body-guestbook .guestbook .tt-box-write { min-height: 38px; align-items: center; gap: 12px; }
#tt-body-guestbook .guestbook .tt-xe-label { display: inline-flex; margin-right: auto; align-items: center; gap: 6px; color: var(--slate); font-size: .78rem; }
#tt-body-guestbook .guestbook .tt-btn_register { min-width: 72px; height: 38px; padding: 0 18px !important; justify-content: center; border: 0 !important; border-radius: 10px; color: #fff !important; background: var(--blue-600) !important; font-weight: 800; }
#tt-body-guestbook .guestbook .tt-btn_register:disabled { color: #8997a5 !important; background: #e8edf2 !important; opacity: 1; }
.pagination { display: flex; margin-top: 36px; align-items: center; justify-content: center; gap: 8px; }
.pagination > span { display: flex; gap: 5px; }
.page-number, .page-arrow { display: inline-grid; min-width: 38px; height: 38px; padding: 0 10px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--slate); background: #fff; font-size: .82rem; cursor: pointer; }
.page-number:hover, .page-arrow:hover, .page-number:has(> .selected) { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.page-number:has(> .selected) { cursor: default; }
.page-arrow.no-more-prev, .page-arrow.no-more-next { opacity: .35; pointer-events: none; }

/* Footer */
.site-footer { color: #bdccda; background: var(--navy-950); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; padding-block: 48px; gap: 30px; }
.site-footer strong { color: #fff; font-size: 1.05rem; }
.site-footer p { max-width: 560px; margin: 6px 0 0; font-size: .8rem; }
.footer-links { display: flex; align-items: start; gap: 20px; font-size: .82rem; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1/-1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }

/* Interaction and accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent-35); outline-offset: 3px; }
.top-nav a[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--blue-600); }

/* Responsive */
@media (max-width: 1020px) {
  .top-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: grid; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(3,1fr); }
  .profile-card { display: none; }
  .featured-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .shell, .site-header__inner { width: calc(100% - 28px); max-width: 1180px; }
  .site-header__inner { min-height: 68px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__copy strong { max-width: 165px; font-size: .96rem; }
  .brand__copy small { display: none; }
  .mobile-menu { top: 68px; max-height: calc(100vh - 68px); }
  .market-hero { grid-template-columns: 1fr; min-height: auto; }
  .market-hero__copy { width: calc(100% - 40px); margin: 0 auto; padding: 42px 0 16px; }
  .market-hero__visual { min-height: 170px; }
  .market-hero__visual svg { bottom: 10px; width: 108%; }
  .home-section { padding-top: 50px; }
  .cover-stack > .home-section:last-child { padding-bottom: 54px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid > .featured-card:only-child { display: block; grid-column: auto; }
  .featured-grid > .featured-card:only-child .featured-card__thumb { min-height: 0; aspect-ratio: 16/10; }
  .featured-grid > .featured-card:only-child .featured-card__body { display: block; padding: 21px 22px 23px; }
  .featured-grid > .featured-card:only-child h3 { font-size: 1.17rem; }
  .page-shell { padding-block: 34px 64px; }
  .post-card { grid-template-columns: 120px minmax(0,1fr); min-height: 170px; }
  .post-card__thumb { min-height: 170px; }
  .post-card__body { padding: 18px; }
  .post-card h2 { font-size: 1.05rem; }
  .post-card p { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .article-view { margin-inline: -14px; border-right: 0; border-left: 0; border-radius: 0; }
  .article-header { padding: 42px 23px 34px; }
  .article-header h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .article-meta { flex-wrap: wrap; gap: 6px 10px; }
  .article-meta > * + *::before { margin-right: 10px; }
  .entry-content { width: calc(100% - 38px); padding-block: 38px 48px; font-size: .96rem; }
  .entry-content h2 { font-size: 1.42rem; }
  .entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .entry-content .table-scroll table { display: table; overflow: visible; white-space: normal; }
  .entry-content .content-hero, .entry-content .content-cover { padding: 30px 23px; border-radius: 15px; }
  .entry-content .content-grid { grid-template-columns: 1fr; }
  .entry-content .content-section-title { font-size: 1.35rem; }
  .entry-content .content-summary-item { padding: 16px 16px 16px 51px; }
  .entry-content .content-summary-item::before { top: 16px; left: 15px; }
  .entry-content .content-footer { padding: 19px 18px; }
  .entry-content .content-timeline > div { grid-template-columns: 1fr; gap: 3px; }
  .entry-content .content-table-wrap table { display: table; overflow: visible; white-space: normal; }
  .entry-content .ai-daily-post { overflow-wrap: anywhere; word-break: normal; }
  .entry-content .ai-daily-post .adr-hero { padding: 26px 21px; border-radius: 15px; }
  .entry-content .ai-daily-post .adr-toc-grid { grid-template-columns: 1fr; gap: 0; }
  .entry-content .ai-daily-post .adr-summary-grid, .entry-content .ai-daily-post .adr-role-grid, .entry-content .ai-daily-post .adr-tool-grid, .entry-content .ai-daily-post .adr-glossary-grid { grid-template-columns: 1fr; }
  .entry-content .ai-daily-post .adr-section { margin-bottom: 32px; }
  .entry-content .ai-daily-post .adr-timeline > div { grid-template-columns: 1fr; gap: 3px; }
  .entry-content .ai-daily-post .adr-code, .entry-content .ai-daily-post .adr-prompt { padding: 15px; font-size: .78em; }
  .entry-content .ai-daily-post .adr-table { display: table; overflow: visible; white-space: normal; }
  .entry-content .jcos-vscode-guide { padding-top: 18px; word-break: normal; }
  .entry-content .jcos-vscode-guide .vscode-table-scroll table { display: table; overflow: visible; white-space: normal; }
  .entry-content .jcos-vscode-guide .vscode-hero { margin-bottom: 22px; padding: 34px 24px 32px; border-radius: 16px; }
  .entry-content .jcos-vscode-guide .vscode-hero h1 { font-size: 29px; }
  .entry-content .jcos-vscode-guide .vscode-hero p { font-size: 16px; }
  .entry-content .jcos-vscode-guide h2 { margin-top: 42px; font-size: 23px; }
  .entry-content .jcos-vscode-guide .vscode-summary, .entry-content .jcos-vscode-guide .vscode-toc { padding: 17px 18px; }
  .entry-content .jcos-vscode-guide .procedure-step { margin: 20px 0; padding: 19px 18px; border-radius: 12px; box-shadow: none; }
  .entry-content .mn-report .mn-table-wrap table { display: table; overflow: visible; white-space: normal; }
  .tag-trail, .article-share { width: calc(100% - 38px); }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a + a { border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  #tt-body-guestbook .guestbook [data-tistory-react-app="Comment"] { padding: 22px 18px 24px; }
  #tt-body-guestbook .guestbook .tt-box-thumb { display: none; }
  #tt-body-guestbook .guestbook .tt-area-write { display: block; padding-top: 16px; }
  #tt-body-guestbook .guestbook textarea { min-height: 138px; }
  #tt-body-guestbook .guestbook .tt-box-account, .comments .tt-box-account { grid-template-columns: 1fr; }
  .comments .tt-box-thumb { display: none; }
  .comments .tt-area-write { display: block; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .brand__copy strong { max-width: 125px; }
  .icon-button, .menu-button { width: 38px; height: 38px; }
  .market-hero h1 { font-size: clamp(1.9rem, 9vw, 2.2rem); }
  .market-hero__copy { padding-top: 36px; }
  .market-hero__visual { min-height: 155px; }
  .post-card { grid-template-columns: 96px minmax(0,1fr); }
  .post-card__body { padding: 15px; }
  .post-card h2 { font-size: .98rem; }
  .post-meta span { display: none; }
  .article-share { align-items: stretch; flex-direction: column; }
  .related-posts { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  body { background: #fff; }
  .site-header, .sidebar, .site-footer, .reading-progress, .article-share, .comments, .article-nav, .related-posts { display: none !important; }
  .shell, .page-shell, .content-column, .article-view, .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .article-view { overflow: visible; }
  .article-header { padding: 20px 0 30px; }
  a { text-decoration: none !important; }
  .table-scroll, .content-table-wrap, .mn-table-wrap, .adr-table-wrap, .vscode-table-scroll { overflow: visible !important; }
  .entry-content table { width: 100% !important; min-width: 0 !important; overflow: visible !important; white-space: normal !important; font-size: .8rem; }
  .entry-content table, .entry-content figure { break-inside: avoid; }
}
