/* 오늘은 · 공통 테마 — 메인/예술과기술랩과 같은 톤을 하위 페이지에 입힌다.
   각 페이지 <head>의 자체 <style> 뒤에 링크하고, <html data-olo="페이지키">로 페이지별 변수를 덮어쓴다. */
@import url("https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap");

:root{
  --olo-tile:#f5f2ea; --olo-tile-2:#ece7da; --olo-grout:#d9d2c2; --olo-paper:#fffdf7;
  --olo-ink:#16232b; --olo-ink-2:#3b4a54; --olo-muted:#6f7c85;
  --olo-pool:#2b3cb5; --olo-pool-2:#3d4fd0; --olo-deep:#1a2260; --olo-lime:#c6ec3c;
  --olo-font:"Noto Sans KR",system-ui,sans-serif; --olo-display:"Black Han Sans","Noto Sans KR",sans-serif; --olo-mono:"JetBrains Mono",ui-monospace,monospace;
}

/* 공통 상단: 파란 차양 + 간판 바 (각 페이지의 자체 내비는 그 아래에 그대로 둔다) */
.olo-awning,.olo-bar{width:100%;box-sizing:border-box;justify-self:stretch;align-self:start;flex:none}
.olo-awning{height:12px;background:repeating-linear-gradient(90deg,var(--olo-pool) 0 36px,#fff 36px 48px);border-bottom:2px solid var(--olo-deep)}
.olo-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px clamp(16px,3vw,44px);background:var(--olo-paper);border-bottom:2px solid var(--olo-pool);font-family:var(--olo-font)}
.olo-bar a{text-decoration:none;color:inherit}
.olo-logo{display:flex;align-items:center;gap:12px}
.olo-logo img{width:54px;height:36px;object-fit:contain;display:block}
.olo-logo span{font-family:var(--olo-display);font-size:19px;letter-spacing:.14em;color:var(--olo-pool);line-height:1}
.olo-crumbs{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--olo-muted);flex-wrap:wrap;justify-content:flex-end}
.olo-crumbs a{color:var(--olo-ink-2);font-weight:500}
.olo-crumbs a:hover{color:var(--olo-pool)}
.olo-crumbs b{color:var(--olo-ink);font-weight:700}
@media(max-width:600px){.olo-crumbs{display:none}.olo-logo span{font-size:17px}}

/* ---------- 페이지별 변수 덮어쓰기 ---------- */

/* 디지털 미술문화와 조각 (/lecture/) */
html[data-olo="lecture"]{--paper:var(--olo-tile);--ink:var(--olo-ink);--muted:var(--olo-muted);--line:var(--olo-grout);--card:var(--olo-paper);--matter:var(--olo-pool);--latent:var(--olo-deep);--wk:var(--olo-pool);--tc:var(--olo-pool);--serif:var(--olo-font);--sans:var(--olo-font);--mono:var(--olo-mono)}
html[data-olo="lecture"] nav{background:rgba(255,253,247,.94)}
html[data-olo="lecture"] .hero h1{font-family:var(--olo-display);font-weight:400;letter-spacing:0;line-height:1.15}
html[data-olo="lecture"] .hero h1 .grad,html[data-olo="lecture"] nav .brand .grad{background:none;-webkit-text-fill-color:initial;color:var(--olo-pool)}
html[data-olo="lecture"] nav .brand{font-family:var(--olo-font);font-weight:700}

/* 기술예술 구술 연구실 */
html[data-olo="oral"]{--paper:var(--olo-tile);--paper-2:var(--olo-tile-2);--ink:var(--olo-ink);--muted:var(--olo-muted);--line:var(--olo-grout);--acid:var(--olo-lime);--acid-2:#eef5cf;--coral:var(--olo-lime);--coral-2:#eef5cf;--blue:var(--olo-pool);--blue-2:#e6e9f7;--violet:var(--olo-pool-2);--violet-2:#e6e9f7;--white:var(--olo-paper);--sans:var(--olo-font);--mono:var(--olo-mono);--radius:14px}
html[data-olo="oral"] .topbar{background:rgba(255,253,247,.94)}
html[data-olo="oral"] .hero{background:var(--olo-deep);border-color:var(--olo-deep);border-radius:14px}
html[data-olo="oral"] .hero h1{font-family:var(--olo-display);font-weight:400;letter-spacing:0;line-height:1.1}
html[data-olo="oral"] .orbit.c{background:var(--olo-pool-2)}
html[data-olo="oral"] .nav button.active{background:var(--olo-pool)}
html[data-olo="oral"] .brand-mark{border-color:var(--olo-pool);color:var(--olo-pool)}
html[data-olo="oral"] .brand-mark:after{background:var(--olo-lime)}

/* HSK 1–6 단어장 */
html[data-olo="hsk"]{--paper:var(--olo-tile);--card:var(--olo-paper);--ink:var(--olo-ink);--sub:var(--olo-muted);--line:var(--olo-grout);--blue:var(--olo-pool);--purple:var(--olo-deep)}
html[data-olo="hsk"] header{background:rgba(255,253,247,.95)}

/* AI 미장센 16주 */
html[data-olo="mise"]{--paper:var(--olo-tile);--paper-2:var(--olo-tile-2);--ink:var(--olo-ink);--muted:var(--olo-muted);--line:var(--olo-grout);--acid:var(--olo-lime);--red:var(--olo-pool);--blue:var(--olo-pool-2);--dark:var(--olo-deep);--white:var(--olo-paper);--radius:14px}
html[data-olo="mise"] .topbar{background:rgba(255,253,247,.94)}
html[data-olo="mise"] .brand{color:var(--olo-pool)}

/* PORTRAIT 언어 스튜디오 */
html[data-olo="portrait"]{--bg:var(--olo-tile);--card:var(--olo-paper);--ink:var(--olo-ink);--muted:var(--olo-muted);--line:var(--olo-grout);--blue:var(--olo-pool);--blue2:#e6e9f7;--purple:var(--olo-deep);--shadow:0 10px 30px rgba(22,35,43,.06)}
html[data-olo="portrait"] body{background:var(--olo-tile);font-family:var(--olo-font)}
html[data-olo="portrait"] .shell{margin-top:0}
html[data-olo="portrait"] .shell>header{background:var(--olo-deep);border-radius:14px;margin-top:20px}
html[data-olo="portrait"] .shell>header h1{font-family:var(--olo-display);font-weight:400;letter-spacing:.02em}
html[data-olo="portrait"] .shell>header>div>div:first-child{color:var(--olo-lime)!important}
html[data-olo="portrait"] .card,html[data-olo="portrait"] .tab,html[data-olo="portrait"] .btn,html[data-olo="portrait"] .day,html[data-olo="portrait"] .step,html[data-olo="portrait"] .box,html[data-olo="portrait"] .langcard,html[data-olo="portrait"] .promptbox,html[data-olo="portrait"] .quote,html[data-olo="portrait"] select,html[data-olo="portrait"] input,html[data-olo="portrait"] textarea{border-radius:8px}
html[data-olo="portrait"] .quote{background:var(--olo-deep)}

/* 몽타주 스튜디오 — 작업 도구라 다크 유지, 강조색만 맞춘다 */
html[data-olo="montage"]{--accent:var(--olo-lime);--bg:#161a2e;--surface:#1f2440;--raised:#293052;--line:#3a4270}

/* TD 아카이브 게이트 */
html[data-olo="td"] body{background:var(--olo-deep);font-family:var(--olo-font)}
html[data-olo="td"] .mark,html[data-olo="td"] small{color:var(--olo-lime);border-color:var(--olo-lime)}
html[data-olo="td"] button{background:var(--olo-lime);border-color:var(--olo-lime);color:var(--olo-deep)}
html[data-olo="td"] input{background:#121740;border-color:#3a4270}
html[data-olo="td"] h1{font-family:var(--olo-display);font-weight:400}
