:root {
  /* 흰 바탕 + 파랑 + 노랑 형광펜 (모임 PPT·홍보물과 같은 색) */
  --bg: #f7f9fc;
  --card: #ffffff;
  --ink: #1f2a44;
  --ink-2: #4a5568;
  --ink-3: #7b8597;
  --line: #e3e8f0;
  --green: #1a73e8;        /* 이름은 예전 그대로 두고 값만 파랑으로 */
  --green-ink: #174ea6;
  --green-soft: #e8f0fe;
  --sun: #fbcd46;
  --sun-soft: #fff6d6;
  --sun-ink: #7a5a00;
  --sky-soft: #e4f4f7;
  --sky-ink: #0b5d73;
  --plum-soft: #f1ebfa;
  --plum-ink: #5b3a8c;
  --warn-soft: #fdecea;
  --warn-ink: #a1281c;
  --shadow: 0 1px 2px rgba(31,42,68,.04), 0 4px 16px rgba(31,42,68,.06);
  --radius: 16px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--green); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 .75rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.tiny { font-size: .8rem; color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 머리말 */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.brand b { font-size: 1.08rem; font-weight: 800; }
.brand span { font-size: .8rem; color: var(--ink-3); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; font-size: .95rem; font-weight: 600; }
.nav a:hover { background: var(--green-soft); color: var(--green-ink); }
.nav a[aria-current="page"] { color: var(--green-ink); background: var(--green-soft); }
.nav a.cta { background: var(--green); color: #fff; }
.nav a.cta:hover { background: var(--green-ink); }

main { padding: 32px 0 64px; }
section { margin: 0 0 48px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--sun-soft); color: var(--sun-ink); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.flat { background: transparent; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; font-size: .96rem; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--green); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-ink); }
.btn.small { padding: 7px 12px; font-size: .88rem; border-radius: 10px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* 단계 표시: 색 + 글자 + 아이콘을 같이 쓴다 */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.s-level1 { background: var(--green-soft); color: var(--green-ink); }
.s-level2 { background: var(--sky-soft); color: var(--sky-ink); }
.s-trainer { background: var(--plum-soft); color: var(--plum-ink); }
.t-sun { background: var(--sun-soft); color: var(--sun-ink); }

/* 첫 화면 */
.hero { padding: 24px 0 8px; }
.hero h1 em { font-style: normal; color: var(--green); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 22px; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.facts li::before { content: '·'; margin-right: 8px; color: var(--ink-3); }
.facts li:first-child::before { content: ''; margin: 0; }

.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; position: relative; }
.step { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.step:hover { border-color: var(--green); }
.step .who { font-size: .9rem; color: var(--ink-3); }
.step ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .93rem; }
.step .goal { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9rem; font-weight: 700; }
.step.mine { outline: 2px solid var(--green); }
.note { background: var(--sun-soft); color: var(--sun-ink); border-radius: 12px; padding: 12px 16px; font-size: .93rem; }
.note.green { background: var(--green-soft); color: var(--green-ink); }
.note.warn { background: var(--warn-soft); color: var(--warn-ink); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .when { font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }

.person { display: flex; gap: 16px; align-items: flex-start; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.chips li { font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--card); }

details.faq { border-top: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: '+'; color: var(--ink-3); font-weight: 400; }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* 오늘 카드 */
.today { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.today .card h3 a { color: inherit; text-decoration: none; }
.today .card h3 a:hover { color: var(--green); }

/* 과정 페이지 */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.tabs a { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; background: var(--card); }
.tabs a[aria-current="true"] { border-color: var(--green); color: var(--green-ink); background: var(--green-soft); }
.week { margin-bottom: 14px; }
.week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.week-head .date { font-size: .85rem; color: var(--ink-3); }
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li { border-top: 1px solid var(--line); }
.mlist li:first-child { border-top: 0; }
.mlist a { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 2px; text-decoration: none; color: var(--ink); }
.mlist a:hover .t { color: var(--green); }
.mlist .d { font-size: .8rem; font-weight: 800; color: var(--ink-3); text-align: center; }
.mlist .fri .d { color: var(--sun-ink); }
.mlist .m { font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.mlist .ok { color: var(--green); font-weight: 800; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.is-now { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }

/* 미션 페이지 */
.m-head { margin-bottom: 20px; }
.m-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.block { margin-bottom: 14px; }
.block h2 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
ol.steps, ul.checks { margin: 0; padding-left: 22px; }
ol.steps li, ul.checks li { margin: 4px 0; }
code { background: var(--sun-soft); color: var(--sun-ink); padding: 1px 6px; border-radius: 6px; font-family: inherit; font-size: .95em; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.quiz-opt { display: block; width: 100%; text-align: left; margin: 8px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: inherit; cursor: pointer; }
.quiz-opt:hover:not(:disabled) { border-color: var(--green); }
.quiz-opt:disabled { cursor: default; color: var(--ink); }
.quiz-opt.right { border-color: var(--green); background: var(--green-soft); }
.quiz-opt.wrong { border-color: #d77b6e; background: var(--warn-soft); }
textarea, input[type="text"] { width: 100%; font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
textarea { min-height: 84px; resize: vertical; }
.pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* 양식 */
.tpl { white-space: pre-wrap; background: #fffdf7; border: 1px dashed var(--line); border-radius: 12px; padding: 14px 16px; font-size: .93rem; color: var(--ink-2); margin: 10px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .9rem; background: var(--card); }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: .85rem; }
.foot a { color: var(--ink-2); }

@media (max-width: 640px) {
  .top .wrap { padding-top: 8px; padding-bottom: 8px; }
  .nav { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .nav a { padding: 7px 8px; font-size: .9rem; white-space: nowrap; }
  .nav a[href="index.html"] { display: none; } /* 휴대폰에서는 로고가 홈 버튼 */
  main { padding-top: 20px; }
  .card { padding: 18px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media print { .top, .foot, .btns, .pager { display: none; } body { background: #fff; } }

/* ── 앱 화면 (v3) ───────────────────────────── */
.brand { align-items: center; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .95rem; }
.brand .sub { font-size: .8rem; color: var(--ink-3); }
.tabbar { display: none; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: #d9534f; color: #fff; font-size: .7rem; font-style: normal; line-height: 18px; text-align: center; }

.dash-hero { background: linear-gradient(135deg, #1a73e8 0%, #4c8df6 100%); color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: center; }
.dash-hero h1 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 4px 0 6px; }
.dash-hero p { margin: 0; opacity: .9; }
.dash-hero .btn { background: #fff; color: var(--green-ink); border-color: #fff; }
.dash-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--sun) calc(var(--p) * 1%), rgba(255,255,255,.22) 0); display: grid; place-items: center; }
.ring b { width: 86px; height: 86px; border-radius: 50%; background: #1a5fc4; display: grid; place-items: center; font-size: 1.35rem; line-height: 1.1; text-align: center; }
.ring b small { display: block; font-size: .7rem; font-weight: 600; opacity: .85; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: inherit; display: block; }
a.tile:hover { border-color: var(--green); }
.tile .k { font-size: .82rem; color: var(--ink-3); font-weight: 700; }
.tile .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.tile .v small { font-size: .85rem; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.tile .s { font-size: .82rem; color: var(--ink-2); margin-top: 2px; }
.next-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.hbar { display: grid; grid-template-columns: 74px 1fr 46px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.hbar .bar { height: 10px; }
.hbar .bar i { background: var(--green); }
.hbar .bar i.low { background: #e08a3c; }
.weekdots { display: grid; grid-template-columns: 54px repeat(5, 1fr); gap: 6px; align-items: center; font-size: .8rem; }
.weekdots a { display: block; height: 28px; border-radius: 8px; background: var(--line); text-decoration: none; }
.weekdots a.done { background: var(--green); }
.weekdots a.now { outline: 2px solid var(--sun); outline-offset: 1px; }
.chiplist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chiplist li a, .chiplist li span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink); font-size: .88rem; font-weight: 700; text-decoration: none; }

/* 미션 연습실: 단계 진행 */
.stepper { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; overflow-x: auto; }
.stepper li { flex: 1; min-width: 64px; }
.stepper button { width: 100%; border: 0; background: var(--line); color: var(--ink-2); border-radius: 10px; padding: 8px 4px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.stepper button[aria-current="step"] { background: var(--green); color: #fff; }
.stepper button.ok { background: var(--green-soft); color: var(--green-ink); }
.panel[hidden] { display: none; }
.panel-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.material pre { white-space: pre-wrap; background: #fffdf7; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 8px 0; max-height: 280px; overflow: auto; font-family: inherit; }
.material table { border-collapse: collapse; font-size: .85rem; margin: 8px 0; width: 100%; }
.material th, .material td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; }
.material .scroll { max-height: 280px; overflow: auto; }
.qcard .qnum { font-size: .8rem; font-weight: 800; color: var(--ink-3); }
.qcard .skill { float: right; }
.result-big { text-align: center; padding: 10px 0 4px; }
.result-big .score { font-size: 2.6rem; font-weight: 900; color: var(--green); line-height: 1; }
.fb-good, .fb-again { border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: .93rem; }
.fb-good { background: var(--green-soft); color: var(--green-ink); }
.fb-again { background: var(--sun-soft); color: var(--sun-ink); }

/* 모의고사 */
.exam-bar { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.exam-bar .time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.1rem; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; }
.qgrid button { height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: .85rem; cursor: pointer; }
.qgrid button.ans { background: var(--green-soft); border-color: var(--green); }
.qgrid button.cur { outline: 2px solid var(--green); }
.qgrid button.right { background: var(--green-soft); }
.qgrid button.wrong { background: var(--warn-soft); }
.quiz-opt.picked { border-color: var(--green); background: var(--green-soft); }

@media (max-width: 640px) {
  .top .wrap { flex-wrap: nowrap; }
  .top .nav { width: auto !important; }
  .top .nav a:not(.cta) { display: none !important; }
  .top .wrap { min-height: 56px; }
  .brand .sub { display: none; }
  body { padding-bottom: 72px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-decoration: none; padding: 4px 0; border-radius: 10px; position: relative; }
  .tabbar a span { font-size: 1.15rem; }
  .tabbar a[aria-current="page"] { color: var(--green-ink); background: var(--green-soft); }
  .tabbar .badge { position: absolute; top: 0; right: 14%; }
  .dash-hero { grid-template-columns: 1fr; }
  .ring { width: 92px; height: 92px; } .ring b { width: 70px; height: 70px; font-size: 1.1rem; }
  .exam-bar { top: 56px; }
}

/* ── 2026-11 새 디자인: 깔끔한 카드, 둥근 버튼, 반투명 머리말 ── */
.top { background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.brand .logo { background: var(--green); border-radius: 10px; }
.nav a { border-radius: 999px; }
.nav a.cta { padding: 8px 16px; }
.card, .tile { border-color: transparent; box-shadow: var(--shadow); }
a.card:hover, a.tile:hover, .step:hover { border-color: transparent; box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.card.flat { box-shadow: none; }
.btn { border-radius: 999px; padding: 11px 20px; transition: background .15s, box-shadow .15s, border-color .15s; }
.btn.small { border-radius: 999px; padding: 7px 14px; }
.btn.primary { box-shadow: 0 2px 8px rgba(26,115,232,.28); }
.eyebrow { background: var(--green-soft); color: var(--green-ink); }
.hero { padding: 40px 0 12px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -0.03em; }
.hero h1 em { color: var(--ink); background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 2px; }
h2 { letter-spacing: -0.02em; }
.note { border-radius: 14px; }
.timeline li { border-top-color: #eef1f6; }
.quiz-opt, .check, textarea, input[type="text"] { border-radius: 14px; }
.stepper button { border-radius: 999px; }
.dash-hero { border-radius: 24px; box-shadow: 0 8px 28px rgba(26,115,232,.25); }
.step.mine { outline: 0; box-shadow: 0 0 0 2px var(--green), var(--shadow); }
:focus-visible { outline: 3px solid rgba(26,115,232,.45); outline-offset: 2px; }

/* 토요일 모임 */
.meet { display: grid; gap: 16px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.meet-next { background: var(--card); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--sun); }
.meet-next h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 10px 0 4px; }
.meet-when { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.dday { background: var(--green); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.meet-flow { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: f; }
.meet-flow li { counter-increment: f; background: var(--green-soft); color: var(--green-ink); font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.meet-flow li::before { content: counter(f) '. '; }
.meet-past { background: var(--card); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.meet-past h3 { font-size: 1rem; color: var(--ink-2); }
.meet-past ol { list-style: none; margin: 0; padding: 0; }
.meet-past li { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid #eef1f6; font-size: .93rem; }
.meet-past li:first-child { border-top: 0; }
.meet-past .when { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .meet { grid-template-columns: 1fr; } .meet-next { padding: 20px; } }

/* ── 메인 페이지 뉴모피즘 (index.html의 body.neu) ──
   같은 색 바탕에 밝은 빛(왼쪽 위)과 그림자(오른쪽 아래)로 볼록·오목하게. 글자 대비는 그대로 유지 */
.neu { --bg: #eaeff6; --card: #eaeff6; --line: #d5dce8;
  --raise: 10px 10px 24px #b6c0d1, -10px -10px 24px #ffffff;
  --raise-sm: 5px 5px 12px #b6c0d1, -5px -5px 12px #ffffff;
  --press: inset 5px 5px 12px #b6c0d1, inset -5px -5px 12px #ffffff; }
.neu .top { background: rgba(234,239,246,.9); border-bottom: 0; box-shadow: 0 6px 18px rgba(182,192,209,.5); }
.neu .card, .neu .tile, .neu .meet-next, .neu .meet-past { background: var(--bg); border: 0; box-shadow: var(--raise); border-radius: 22px; }
.neu .meet-next { border-top: 0; position: relative; }
.neu .meet-next::before { content: ''; position: absolute; left: 24px; top: 0; width: 56px; height: 5px; border-radius: 0 0 6px 6px; background: var(--sun); }
.neu a.card:hover, .neu a.tile:hover, .neu .step:hover { box-shadow: var(--press); }
.neu .step.mine { box-shadow: var(--press), 0 0 0 2px var(--green); }
.neu .btn { background: var(--bg); border: 0; box-shadow: var(--raise-sm); color: var(--ink); }
.neu .btn:hover { box-shadow: var(--press); }
.neu .btn.primary { background: var(--green); color: #fff; box-shadow: 4px 4px 12px rgba(26,115,232,.35), -4px -4px 10px #ffffff; }
.neu .btn.primary:hover { background: var(--green-ink); }
.neu .nav a:hover, .neu .nav a[aria-current="page"] { background: var(--bg); box-shadow: var(--press); color: var(--green-ink); }
.neu .nav a.cta { background: var(--green); color: #fff; box-shadow: var(--raise-sm); }
.neu .eyebrow { background: var(--bg); box-shadow: var(--press); color: var(--green-ink); }
.neu .tag, .neu .meet-flow li, .neu .chips li { box-shadow: var(--raise-sm); border: 0; }
.neu .note { background: var(--bg); box-shadow: var(--press); color: var(--ink-2); }
.neu .bar { background: var(--bg); box-shadow: inset 2px 2px 5px #b6c0d1, inset -2px -2px 5px #ffffff; }
.neu .avatar { background: var(--bg); box-shadow: var(--raise-sm); color: var(--green-ink); }
.neu .timeline li, .neu .meet-past li, .neu details.faq { border-top-color: #d9e0ea; }
.neu .step .goal { border-top-color: #d3dae6; }
.neu .dash-hero { box-shadow: 12px 12px 28px #aeb9cc, -12px -12px 28px #ffffff; }
.neu .tabbar { background: rgba(234,239,246,.95); border-top: 0; box-shadow: 0 -6px 16px rgba(201,209,222,.5); }
.neu .tabbar a[aria-current="page"] { background: var(--bg); box-shadow: var(--press); }

/* 오픈채팅방 안내 */
.ask { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 16px; }
.ask h3 { margin-bottom: 4px; }
.ask .btn { flex: none; }
@media (max-width: 640px) { .ask { flex-direction: column; align-items: flex-start; } }

/* ── 메인 페이지 바우하우스 (index.html의 body.bau) ──
   빨강·파랑·노랑 + 검정, 동그라미·네모·세모, 그림자 없는 평평한 면과 굵은 선 */
.bau-shapes { display: none; }
.bau { --bg: #f5f2ea; --card: #ffffff; --ink: #141414; --ink-2: #3a3a3a; --ink-3: #6b6b6b; --line: #141414;
  --red: #e23d28; --blue: #1f5fd1; --yellow: #f6c21c; --green: var(--blue); --green-ink: #163f8c; --green-soft: #fdf0c2; --sky-soft: #efeadf; --sky-ink: #141414; --plum-soft: #efeadf; --plum-ink: #141414; --sun-soft: #fdf0c2; --sun-ink: #141414; --radius: 0px; }
.bau .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 3px solid var(--ink); box-shadow: none; }
.bau .brand .logo { background: var(--blue); border-radius: 50%; }
.bau .nav a { border-radius: 0; font-weight: 700; }
.bau .nav a:hover, .bau .nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); box-shadow: none; }
.bau .nav a.cta { background: var(--ink); color: #fff; }
.bau .nav a.cta:hover { background: var(--blue); }
.bau h1, .bau h2 { font-weight: 900; letter-spacing: -0.03em; }
.bau main > section > h2 { display: flex; align-items: center; gap: 10px; }
.bau main > section > h2::before { content: ''; width: 14px; height: 14px; background: var(--blue); flex: none; }
.bau main > section:nth-of-type(3n) > h2::before { background: var(--blue); border-radius: 50%; }
.bau main > section:nth-of-type(3n+1) > h2::before { background: var(--yellow); }
.bau .hero { position: relative; padding: 48px 0 24px; overflow: hidden; }
.bau .hero > *:not(.bau-shapes) { position: relative; z-index: 1; }
.bau .hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.12; }
.bau .hero h1 em { color: var(--ink); background: none; padding: 0; box-shadow: inset 0 -0.32em 0 var(--yellow); }
.bau .lead { color: var(--ink-2); max-width: 560px; }
.bau .eyebrow { background: var(--ink); color: #fff; border-radius: 0; box-shadow: none; }
.bau-shapes { position: absolute; right: 0; top: 24px; width: 300px; height: 300px; z-index: 0; }
.bau .bau-shapes { display: block; }
.bau-shapes i { position: absolute; display: block; }
.bau-shapes .c { width: 190px; height: 190px; border-radius: 50%; background: var(--yellow); right: 40px; top: 0; }
.bau-shapes .q { width: 120px; height: 120px; background: var(--red); right: 0; top: 140px; }
.bau-shapes .t { width: 0; height: 0; border-left: 80px solid transparent; border-right: 80px solid transparent; border-bottom: 138px solid var(--blue); right: 150px; top: 120px; }
.bau .card, .bau .tile, .bau .meet-next, .bau .meet-past { background: var(--card); border: 3px solid var(--ink); border-radius: 0; box-shadow: none; }
.bau .meet-next { position: relative; padding-top: 30px; }
.bau .meet-next::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--blue); border-bottom: 3px solid var(--ink); }
.bau .meet-next h3 { font-size: 1.8rem; font-weight: 900; }
.bau .meet-past { border-left: 14px solid var(--blue); }
.bau a.card:hover, .bau a.tile:hover, .bau .step:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.bau .step { transition: transform .12s, box-shadow .12s; }
.bau .step.mine { box-shadow: 6px 6px 0 var(--yellow); }
.bau .btn { border-radius: 0; border: 3px solid var(--ink); background: #fff; color: var(--ink); box-shadow: none; font-weight: 800; }
.bau .btn:hover { background: var(--yellow); box-shadow: none; }
.bau .btn.primary { background: var(--blue); color: #fff; border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.bau .btn.primary:hover { background: var(--green-ink); }
.bau .tag, .bau .meet-flow li, .bau .chips li, .bau .dday { border-radius: 0; box-shadow: none; }
.bau .dday { background: var(--red); }
.bau .meet-flow li { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.bau .meet-flow li:nth-child(1) { background: var(--yellow); }
.bau .meet-flow li:nth-child(3) { background: var(--blue); color: #fff; }
.bau .note { background: var(--yellow); color: var(--ink); border-radius: 0; box-shadow: none; border: 3px solid var(--ink); }
.bau .bar { background: #e7e3d8; box-shadow: none; border-radius: 0; }
.bau .bar i { border-radius: 0; background: var(--blue); }
.bau .avatar { background: var(--blue); color: #fff; box-shadow: none; }
.bau .timeline .when { color: var(--blue); }
.bau .timeline li, .bau .meet-past li, .bau details.faq { border-top: 2px solid var(--ink); }
.bau .timeline li:first-child, .bau .meet-past li:first-child { border-top: 0; }
.bau details.faq summary::after { color: var(--blue); font-weight: 900; }
.bau .step .goal { border-top: 2px solid var(--ink); }
.bau .dash-hero { background: var(--blue); border: 3px solid var(--ink); border-radius: 0; box-shadow: 8px 8px 0 var(--ink); }
.bau .dash-hero .btn { background: #fff; color: var(--ink); }
.bau .dash-hero .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.bau .ring { background: conic-gradient(var(--yellow) calc(var(--p) * 1%), rgba(255,255,255,.25) 0); }
.bau .ring b { background: var(--ink); }
.bau .ask { border-left: 14px solid var(--yellow); }
.bau .tabbar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 3px solid var(--ink); box-shadow: none; }
.bau .tabbar a { border-radius: 0; }
.bau .tabbar a[aria-current="page"] { background: var(--yellow); color: var(--ink); box-shadow: none; }
.bau .foot { border-top: 3px solid var(--ink); }
@media (max-width: 760px) {
  .bau-shapes { width: 150px; height: 150px; top: 8px; right: -20px; }
  .bau-shapes .c { width: 96px; height: 96px; right: 20px; }
  .bau-shapes .q { width: 60px; height: 60px; top: 70px; }
  .bau-shapes .t { border-left-width: 40px; border-right-width: 40px; border-bottom-width: 69px; right: 76px; top: 60px; }
  .bau .hero { padding-top: 130px; }
}
.ask[hidden], .bau-shapes[hidden] { display: none; }

/* 업데이트 안내 */
.update-toast { width: max-content; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: min(92vw, 520px);
  background: #141414; color: #fff; padding: 12px 44px 12px 16px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: .92rem; transition: opacity .5s; }
.update-toast span { opacity: .85; }
.update-toast button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 4px 8px; }
.update-toast.out { opacity: 0; }
@media (max-width: 640px) { .update-toast { bottom: 84px; } }

/* 바우하우스: 공부 페이지(미션·과정·모의고사·복습·자료)에도 같은 모양 */
.bau .stepper button { border-radius: 0; background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.bau .stepper button[aria-current="step"] { background: var(--blue); color: #fff; }
.bau .stepper button.ok { background: var(--yellow); color: var(--ink); }
.bau .quiz-opt, .bau .check, .bau textarea, .bau input[type="text"] { border-radius: 0; border: 2px solid var(--ink); }
.bau .quiz-opt:hover:not(:disabled) { background: #fdf0c2; border-color: var(--ink); }
.bau .quiz-opt.right, .bau .quiz-opt.picked { background: #dfe8fb; border-color: var(--blue); }
.bau .quiz-opt.wrong { background: #fde3df; border-color: var(--red); }
.bau .material pre, .bau .tpl { border-radius: 0; border: 2px dashed var(--ink); background: #fffdf6; }
.bau .tabs a, .bau .toc a { border-radius: 0; border: 2px solid var(--ink); color: var(--ink); background: #fff; }
.bau .tabs a[aria-current="true"] { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.bau .is-now { box-shadow: 6px 6px 0 var(--yellow); border-color: var(--ink); }
.bau .exam-bar { background: var(--bg); border-bottom: 3px solid var(--ink); }
.bau .qgrid button { border-radius: 0; border: 2px solid var(--ink); }
.bau .qgrid button.ans { background: var(--yellow); }
.bau .fb-good { background: #dfe8fb; color: var(--ink); border-radius: 0; border-left: 6px solid var(--blue); }
.bau .fb-again { background: #fdf0c2; color: var(--ink); border-radius: 0; border-left: 6px solid var(--yellow); }
.bau .weekdots a { border-radius: 0; }
.bau .weekdots a.done { background: var(--blue); }
.bau .chiplist li a, .bau .chiplist li span { border-radius: 0; }
.bau .panel-nav .btn, .bau .pager .btn { border-radius: 0; }
.bau .hbar .bar i { background: var(--blue); }
.bau .result-big .score { color: var(--blue); }
.bau a { color: var(--blue); }
.bau .nav a, .bau .tabbar a, .bau a.btn, .bau a.card, .bau a.tile { color: inherit; }
.bau .nav a.cta, .bau .btn.primary { color: #fff; }
.bau .note { background: #fdf3cf; border-width: 2px; }
