:root{
  --atlas-bg:#eee7d8;
  --atlas-paper:#fffdf7;
  --atlas-ink:#18140f;
  --atlas-muted:#6d655a;
  --atlas-line:#d3c5b0;
  --atlas-gold:#9c6a28;
  --atlas-deep:#17110b;
  --atlas-shadow:0 17px 52px rgba(44,33,19,.13);
  --atlas-serif:Georgia,"Times New Roman","Noto Serif KR",serif;
  --atlas-sans:Arial,"Noto Sans KR","Noto Sans",sans-serif;
}
html.atlas-v102,html.atlas-v102 body{margin:0}
html.atlas-v102 body{
  background:var(--atlas-bg)!important;
  color:var(--atlas-ink)!important;
  font-family:var(--atlas-serif)!important;
}
html.atlas-v102 *{box-sizing:border-box}
html.atlas-v102 a{color:inherit}

/* Hide the old top chrome only. Sidebars and in-page navigation remain intact. */
html.atlas-v102 body > header:not(.atlas-global-header-v102),
html.atlas-v102 body > .topbar,
html.atlas-v102 body > .site-header,
html.atlas-v102 body > .global-header,
html.atlas-v102 body > .masthead,
html.atlas-v102 body > .nav-wrap,
html.atlas-v102 body > nav.atlas-legacy-topnav-v102{
  display:none!important;
}

/* One site-wide header */
.atlas-global-header-v102{
  position:sticky;
  top:0;
  z-index:1000000;
  width:100%;
  background:rgba(255,253,247,.98);
  border-bottom:1px solid var(--atlas-line);
  color:var(--atlas-ink);
  font-family:var(--atlas-sans);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.atlas-global-header-v102 .inner{
  max-width:1500px;
  min-height:84px;
  margin:0 auto;
  padding:12px 26px;
  display:flex;
  align-items:center;
  gap:18px;
}
.atlas-global-header-v102 .brand{
  margin-right:auto;
  text-decoration:none!important;
  flex:0 0 auto;
}
.atlas-global-header-v102 .brand b{
  display:block;
  color:var(--atlas-ink)!important;
  font:700 23px/1.1 var(--atlas-serif)!important;
  letter-spacing:-.035em;
}
.atlas-global-header-v102 .brand small{
  display:block;
  margin-top:5px;
  color:var(--atlas-gold)!important;
  font:10px/1 var(--atlas-sans)!important;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.atlas-global-header-v102 .menu{
  display:flex;
  align-items:center;
  gap:18px;
}
.atlas-global-header-v102 .menu a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--atlas-muted)!important;
  font:13px/1 var(--atlas-sans)!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.atlas-global-header-v102 .menu a:hover,
.atlas-global-header-v102 .menu a.active{color:var(--atlas-gold)!important}
.atlas-global-header-v102 .language{
  min-width:42px;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px!important;
  border:1px solid #cdbb9e!important;
  border-radius:999px!important;
  background:var(--atlas-paper)!important;
  color:#6d5432!important;
  font:700 12px/1 var(--atlas-sans)!important;
  text-decoration:none!important;
  cursor:pointer;
}
.atlas-global-header-v102 .language:hover{
  border-color:var(--atlas-gold)!important;
  background:var(--atlas-gold)!important;
  color:#fff!important;
}
.atlas-global-header-v102 .hamburger{
  display:none;
  width:42px;
  height:38px;
  border:1px solid var(--atlas-line);
  border-radius:999px;
  background:var(--atlas-paper);
  color:var(--atlas-ink);
  cursor:pointer;
}
.atlas-global-header-v102 .hamburger i{
  display:block;width:16px;height:1px;background:currentColor;margin:4px auto
}

/* Document pages share the Atlas canvas, typography and spacing. */
html.atlas-v102 body.atlas-layout-document > main,
html.atlas-v102 body.atlas-layout-document > article,
html.atlas-v102 body.atlas-layout-document > .page,
html.atlas-v102 body.atlas-layout-document > .content,
html.atlas-v102 body.atlas-layout-document > #content,
html.atlas-v102 body.atlas-layout-document > .container{
  width:min(1120px,calc(100% - 44px))!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:58px!important;
  padding-bottom:80px!important;
}
html.atlas-v102 body.atlas-layout-document h1{
  color:var(--atlas-ink)!important;
  font:700 clamp(44px,6vw,82px)/.96 var(--atlas-serif)!important;
  letter-spacing:-.05em!important;
}
html.atlas-v102 body.atlas-layout-document h2{
  color:var(--atlas-ink)!important;
  font:700 clamp(29px,3.5vw,50px)/1.06 var(--atlas-serif)!important;
  letter-spacing:-.035em!important;
}
html.atlas-v102 body.atlas-layout-document h3{
  color:var(--atlas-ink)!important;
  font-family:var(--atlas-serif)!important;
}
html.atlas-v102 body.atlas-layout-document p,
html.atlas-v102 body.atlas-layout-document li{line-height:1.75}
html.atlas-v102 body.atlas-layout-document blockquote{
  border-left:4px solid var(--atlas-gold)!important;
  background:var(--atlas-paper)!important;
  border-radius:0 12px 12px 0;
  padding:18px 22px!important;
  box-shadow:var(--atlas-shadow);
}
html.atlas-v102 body.atlas-layout-document table{
  width:100%;border-collapse:collapse;background:var(--atlas-paper);
  border:1px solid var(--atlas-line)
}
html.atlas-v102 body.atlas-layout-document th,
html.atlas-v102 body.atlas-layout-document td{
  padding:12px;border-bottom:1px solid var(--atlas-line)
}

/* Rich book/apps keep their internal layout while sharing the global header and palette. */
html.atlas-v102 body.atlas-layout-app{
  background:var(--atlas-bg)!important;
}
html.atlas-v102 body.atlas-layout-app .app,
html.atlas-v102 body.atlas-layout-app .book,
html.atlas-v102 body.atlas-layout-app .reader{
  min-height:calc(100vh - 84px);
}

/* Common footer */
.atlas-global-footer-v102{
  border-top:1px solid var(--atlas-line);
  padding:35px 22px;
  color:var(--atlas-muted);
  font:12px var(--atlas-sans);
  background:var(--atlas-bg);
}
.atlas-global-footer-v102 .inner{
  max-width:1120px;margin:auto;display:flex;justify-content:space-between;gap:24px
}

@media(max-width:1050px){
  .atlas-global-header-v102 .inner{min-height:72px;padding:10px 14px}
  .atlas-global-header-v102 .hamburger{display:block}
  .atlas-global-header-v102 .menu{
    display:none;position:absolute;left:12px;right:12px;top:calc(100% + 1px);
    padding:13px;border:1px solid var(--atlas-line);border-radius:13px;
    background:var(--atlas-paper);box-shadow:var(--atlas-shadow);flex-wrap:wrap;
  }
  .atlas-global-header-v102.open .menu{display:flex}
}
@media(max-width:560px){
  .atlas-global-header-v102 .brand b{font-size:19px!important}
  .atlas-global-header-v102 .brand small{font-size:8px!important}
  .atlas-global-header-v102 .inner{gap:9px}
  html.atlas-v102 body.atlas-layout-document > main,
  html.atlas-v102 body.atlas-layout-document > article,
  html.atlas-v102 body.atlas-layout-document > .page,
  html.atlas-v102 body.atlas-layout-document > .content,
  html.atlas-v102 body.atlas-layout-document > #content,
  html.atlas-v102 body.atlas-layout-document > .container{
    width:calc(100% - 24px)!important;
  }
}