:root {
  color-scheme: light; 
  --red: #d4242a;
  --red-dark: #be1f25;
  --red-50: #fdf3f3;
  --red-100: #fbe3e4;
  --red-200: #f5c4c6;
  --navy: #1e2a4a;
  --basic: #0f766e;
  --navy-dark: #161f36;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-gray: #f8fafc;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(15,23,42,.04);
  --sh-2: 0 6px 20px rgba(15,23,42,.06);
  --bar-h: 56px;
}
.skip { position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-size: .9rem; font-weight: 700; text-decoration: none; }
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
      overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: clip; 
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.center { text-align: center; }
.accent { color: var(--red); }
.topbar {
  background: var(--red); color: #fff; text-align: center;
  font-size: .82rem; padding: 8px 16px;
}
.topbar a { display: inline-block; padding: 6px 10px; margin: -5px 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.3rem; font-weight: 800; color: var(--red); letter-spacing: -.5px; }
.brand span { font-size: .7rem; color: #6b7280; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; font-weight: 600; font-size: .92rem; color: var(--body); border-radius: 8px; }
.nav a:hover { color: var(--red); }
.nav .nav-cta { background: var(--navy); color: #fff; }
.nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
@media (min-width: 769px) { .nav-toggle { display: none; } }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; padding: 13px 26px; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; font-size: 1rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-text { color: var(--red); font-weight: 700; padding: 13px 8px; }
.btn-sm { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.block { display: block; width: 100%; }
.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }
.eyebrow { color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 10px; }
.rule { width: 56px; height: 4px; background: var(--red); margin: 16px 0; border-radius: 2px; }
.center-rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.12rem; color: var(--body); line-height: 1.8; }
.hero { background: #fff; border-bottom: 1px solid var(--line); padding: 64px 0; }
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: 2.6rem; letter-spacing: -1px; margin: 18px 0; }
.badge { display: inline-block; background: var(--red-50); border: 1px solid var(--red-200); color: var(--red-dark); font-weight: 700; font-size: .8rem; border-radius: 6px; padding: 6px 15px; }
.ico { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.16em; flex: none; }
.benefit .bf-ic .ico { width: 26px; height: 26px; color: var(--navy); }
.contact-emoji .ico { width: 38px; height: 38px; color: var(--navy); }
.dl-ic .ico { width: 24px; height: 24px; color: var(--red); }
.dash-icon .ico { width: 30px; height: 30px; color: var(--navy); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.center-row { justify-content: center; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-head h2, .section h2 { font-size: 1.8rem; margin: 0; }
.see-all { color: var(--red); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .15s, box-shadow .15s; height: 100%; }
.card:hover { border-color: var(--red-200); box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 14px; }
.card-date { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.card-meta .card-date::before { content: "·"; margin-right: 8px; color: #cbd5e1; }
.chip { font-size: .72rem; font-weight: 700; color: var(--red-dark); background: var(--red-50); border-radius: 5px; padding: 4px 12px; }
.card > .chip { align-self: flex-start; } 
.card-title { font-size: 1.12rem; margin: 0 0 10px; }
.card-desc { font-size: .9rem; color: var(--muted); margin: 0 0 18px; flex: 1; }
.card-link { color: var(--red); font-weight: 700; font-size: .9rem; }
.topics { margin-top: 8px; }
.topic { display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.topic:hover { border-color: var(--red-200); box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.topic h3 { margin: 0 0 6px; }
.topic p { margin: 0; color: var(--muted); font-size: .9rem; }
.topic .arrow { color: var(--red-200); font-size: 1.3rem; }
.topic:hover .arrow { color: var(--red); }
.big-num { font-size: 4rem; font-weight: 900; color: var(--red-100); line-height: 1; }
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.page-head h1 { font-size: 2.2rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { font-size: .85rem; font-weight: 600; color: var(--body); background: #f1f5f9; border: 1px solid var(--line); border-radius: 5px; padding: 6px 16px; }
.chips a:hover { background: var(--navy); color: #fff; }
.cat-block { margin-bottom: 56px; scroll-margin-top: 90px; }
.cat-block h2 { font-size: 1.5rem; margin: 0 0 4px; }
.badge-new {
  display: inline-flex; align-items: center; gap: 5px;
  vertical-align: 2px; margin-right: 6px;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  color: var(--red-dark); background: var(--red-50);
  border: 1px solid var(--red-200); border-radius: 999px;
  padding: 2px 8px 2px 7px; line-height: 1.5; white-space: nowrap;
}
.badge-new::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); animation: newPulse 2.4s ease-in-out infinite;
}
@keyframes newPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.nav-new {
  display: inline-block; vertical-align: 3px; margin-left: 5px;
  font-size: .55rem; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--red); border-radius: 999px;
  padding: 2px 6px; line-height: 1.4;
}
.pinned-sec { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.pinned-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section h2.eyebrow { font-size: .78rem; margin: 0 0 10px; }
.pinned-head .eyebrow, .section .pinned-head h2.eyebrow { margin: 0; }
.pinned-head .eyebrow::before { content: "★ "; letter-spacing: 0; }
.pinned-head p { margin: 0; }
.pinned-sec .card { border-color: var(--red-200); box-shadow: 0 6px 18px rgba(212,36,42,.05); }
.popular-sec { background: #fff; padding: 36px 0 44px; }
.popular-sec .eyebrow { color: var(--navy); }
.popular-sec .eyebrow::before { content: "▲ "; letter-spacing: 0; font-size: .8em; }
.gfilter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 20px; flex-wrap: wrap; margin: 0 0 34px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.gfilter-tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.tagbtn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--body);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.tagbtn:hover { border-color: var(--red-200); color: var(--red-dark); }
.tagbtn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tagbtn-n { font-size: .72rem; font-weight: 700; color: var(--muted); }
.tagbtn.on .tagbtn-n { color: rgba(255,255,255,.62); }
.gsort { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gsort-lbl { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.gsort select {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--body);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.gfilter-none { color: var(--muted); padding: 24px 0 48px; margin: 0; }
.gfilter-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.gview { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.gview-btn {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--muted);
  background: none; border: 0; border-radius: 999px; padding: 5px 14px; cursor: pointer;
  transition: background .15s, color .15s;
}
.gview-btn:hover { color: var(--body); }
.gview-btn.on { background: var(--navy); color: #fff; }
.glist { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 48px; }
.glist .card {
  flex-direction: row; align-items: baseline; gap: 8px 16px; flex-wrap: wrap;
  height: auto; padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: none; box-shadow: none;
}
.glist .card:hover { background: #fff; border-color: var(--line); box-shadow: none; }
.glist .card:hover .card-title { color: var(--red-dark); }
.glist .card-desc, .glist .card-tags, .glist .card-link { display: none; }
.glist .card-title { font-size: .98rem; line-height: 1.45; margin: 0; flex: 1 1 260px; min-width: 0; }
.glist .card-meta { order: 2; flex: 0 0 auto; margin: 0; gap: 6px; font-size: .78rem; }
.glist .card-meta .chip { font-size: .68rem; padding: 3px 9px; }
@media (max-width: 560px) {
  .glist .card { padding: 12px 4px; }
  .glist .card-title { flex: 1 1 100%; }
  .glist .card-meta { order: 3; flex: 1 1 100%; }
}
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 16px; }
.card-tags .tag {
  font-size: .68rem; font-weight: 600; color: var(--muted);
  background: var(--bg-gray, #f8fafc); border: 1px solid var(--line);
  border-radius: 4px; padding: 2px 7px; line-height: 1.6; white-space: nowrap;
}
.article { padding: 48px 0; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--red); }
.article-head h1 { font-size: 2.3rem; letter-spacing: -.5px; margin: 14px 0; }
.cover { width: 100%; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 32px; }
.toc { border: 1px solid var(--line); background: var(--bg-gray); border-radius: 12px; padding: 20px 24px; margin: 32px 0; }
.toc-h { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; }
.toc a { font-size: .92rem; color: var(--body); }
.toc a:hover { color: var(--red); }
.md { color: var(--body); font-size: 1.05rem; line-height: 1.85; overflow-wrap: anywhere; word-break: keep-all; }
.md > * + * { margin-top: 1.25rem; }
.md h2 { font-size: 1.5rem; padding-top: 1.5rem; scroll-margin-top: 90px; }
.md h3 { font-size: 1.15rem; color: var(--red-dark); padding-top: .5rem; }
.md strong { color: var(--ink); font-weight: 600; }
.md a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.md ul, .md ol { padding-left: 1.5rem; }
.md ul { list-style: disc; }
.md ol { list-style: decimal; }
.md li + li { margin-top: .5rem; }
.md blockquote { border-left: 4px solid var(--red); background: var(--red-50); padding: 16px 22px; border-radius: 0 8px 8px 0; margin: 0; }
.md code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }
.md pre.md-block { background: #f8fafc; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0; padding: 14px 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.md pre.md-block code { background: none; padding: 0; font-size: .92em; line-height: 1.7;
  white-space: pre; overflow-wrap: normal; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  background:
    linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(255,255,255,0), #fff 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(15,23,42,.12), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(15,23,42,.12), transparent) 100% 0;
  background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll; }
.md table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.md th, .md td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.md th { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--red); }
.md td:first-child { color: var(--ink); font-weight: 500; }
.article .faq { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq .plus { color: var(--red); font-size: 1.5rem; font-weight: 300; transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { padding: 0 40px 24px 0; font-size: .92rem; color: var(--muted); margin: 0; }
.soft-cta { margin-top: 56px; border: 1px solid var(--line); background: var(--bg-gray); border-radius: 16px; padding: 28px; text-align: center; }
.soft-cta .cta-title { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 0 0 8px; }
.soft-cta p { color: var(--muted); font-size: .92rem; max-width: 460px; margin: 0 auto; }
.soft-cta .btn { margin-top: 18px; }
.related-h { font-size: 1.25rem; margin: 0 0 24px; }
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; margin-top: 24px; }
.about-grid article p { line-height: 1.85; }
.about-grid .sub, .sub { font-size: 1.1rem; color: var(--red-dark); margin-top: 36px; }
.big-stat { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.big-stat .big-num { font-size: 7rem; }
.big-stat-title { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin: 0; }
.cred { background: var(--bg-gray); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cred-h { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 18px 24px; margin: 0; border-bottom: 1px solid var(--line); }
.cred ul { list-style: none; margin: 0; padding: 0; }
.cred li { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.cred li:last-child { border-bottom: none; }
.cred li strong { display: block; color: var(--ink); font-size: .92rem; }
.cred li span { font-size: .8rem; color: var(--muted); }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote-mark { font-size: 3rem; color: var(--red-100); line-height: 0; height: 24px; font-weight: 900; }
.quote-card blockquote { margin: 0; font-size: .9rem; color: var(--body); flex: 1; }
.quote-card footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.t-name { font-weight: 700; color: var(--ink); font-size: .9rem; margin: 0; }
.t-right { text-align: right; }
.t-result { color: var(--red); font-weight: 900; font-size: 1.05rem; margin: 0; }
.contact-card { background: var(--bg-gray); border: 1px solid var(--line); border-radius: 16px; padding: 36px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-emoji { font-size: 2.4rem; }
.contact-card h3 { margin: 0; }
.contact-card p { margin: 0; color: var(--muted); max-width: 420px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; align-items: stretch; }
.contact-grid .contact-card { margin-top: 0; padding: 32px 28px; }
.contact-qr { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.band9-pill { display: flex; width: fit-content; align-items: center; gap: 9px; text-decoration: none; margin: 6px 0 14px;
  padding: 6px 14px 6px 7px; border-radius: 9px; background: linear-gradient(135deg, #1e2a4a, #2c3e6b);
  box-shadow: 0 2px 10px rgba(30,42,74,.18); transition: box-shadow .15s; }
.band9-pill:hover { box-shadow: 0 4px 14px rgba(30,42,74,.3); }
.band9-pill .b9-num { flex: none; font-weight: 800; font-size: 1rem; color: #1e2a4a; background: #f5c451;
  border-radius: 5px; padding: 2px 11px; letter-spacing: -0.5px; }
.band9-pill .b9-label { color: #fff; font-weight: 600; font-size: 0.85rem; }
.band9-pill .b9-go { color: #aebbd6; font-size: 0.78rem; }
.band9-pill:hover .b9-go { color: #fff; }
.hero .band9-pill { margin: 16px auto 4px; }
.pagoda-verify { display: flex; width: fit-content; align-items: center; gap: 12px; text-decoration: none; margin: 4px 0 20px;
  padding: 11px 16px; border: 1px solid #cdd6e6; border-radius: 12px; background: var(--bg-gray); transition: border-color .15s, box-shadow .15s; }
.pagoda-verify:hover { border-color: var(--navy); box-shadow: 0 2px 10px rgba(30,42,74,.1); }
.pagoda-verify .pv-check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #0a7d2c; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.pagoda-verify .pv-text { display: flex; flex-direction: column; line-height: 1.35; }
.pagoda-verify .pv-text strong { color: var(--navy); font-size: 0.95rem; }
.pagoda-verify .pv-sub { color: var(--muted); font-size: 0.82rem; }
.pagoda-verify .pv-arrow { margin-left: auto; color: var(--navy); font-weight: 700; }
.pagoda-verify-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.pagoda-verify-link:hover { border-bottom-color: var(--navy); }
.pagoda-verify-link .pv-check { width: 20px; height: 20px; border-radius: 50%; background: #0a7d2c; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; }
.svc-grid { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; margin-top: 26px; }
.price-card { background: linear-gradient(160deg, #1e2a4a, #2c3e6b); color: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(30,42,74,.22); }
.pc-plan { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #aebbd6; margin: 0 0 8px; }
.pc-price { font-size: 2.4rem; font-weight: 900; margin: 0; letter-spacing: -1.5px; }
.pc-unit { font-size: 1rem; font-weight: 600; color: #c5cde0; letter-spacing: 0; }
.pc-basis { color: #c5cde0; font-size: .92rem; margin: 4px 0 18px; }
.pc-deal { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 16px; }
.pc-badge { display: inline-block; background: #f5c451; color: #1e2a4a; font-weight: 800; font-size: .8rem; border-radius: 5px; padding: 4px 12px; }
.pc-month { font-size: 1.5rem; font-weight: 800; margin: 10px 0 0; }
.pc-permo { font-size: .82rem; font-weight: 600; color: #c5cde0; }
.pc-was { font-size: .82rem; color: #aebbd6; margin: 2px 0 0; }
.pc-guarantee { background: #fff; color: #0a7d2c; font-weight: 700; border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin: 18px 0; text-align: center; }
.pc-headline { font-size: 1.3rem; font-weight: 800; line-height: 1.4; margin: 6px 0 18px; }
.pc-points { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.pc-points li { font-size: .98rem; font-weight: 600; color: var(--body); display: flex; gap: 8px; }
.pc-points li::before { content: "\2713"; color: var(--red); font-weight: 900; flex: none; }
.price-card .pc-points li { color: #eaf0fb; }
.price-card .pc-points li::before { color: #f5c451; }
.pc-alt { margin: 14px 0 0; font-size: .85rem; color: #c5cde0; text-align: center; }
.pc-alt a { color: #fff; font-weight: 700; text-decoration: underline; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.benefit .bf-ic { font-size: 1.5rem; flex: none; line-height: 1.2; }
.benefit strong { display: block; color: var(--ink); margin-bottom: 3px; font-size: .98rem; }
.benefit p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.benefit-wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.proof-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 34px; }
.ps-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ps-head .eyebrow { margin: 0; }
.ps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.ps-card { border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 12px; padding: 16px 18px; }
.ps-result { margin: 0; font-weight: 900; font-size: 1.05rem; color: var(--red); }
.ps-purpose { margin: 2px 0 10px; font-size: .8rem; color: var(--muted); }
.ps-quote { margin: 0 0 10px; font-size: .88rem; color: var(--body); line-height: 1.6; }
.ps-name { margin: 0; font-size: .8rem; font-weight: 700; color: var(--ink); }
.soft-cta .cta-proof { max-width: 460px; margin: 20px auto 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.soft-cta .cp-result { margin: 0; font-weight: 900; font-size: 1rem; color: var(--red); max-width: none; }
.soft-cta .cp-quote { margin: 6px 0 0; font-size: .9rem; color: var(--body); max-width: none; }
.soft-cta .cp-who { margin: 6px 0 0; font-size: .8rem; max-width: none; }
.soft-cta .cta-sub { margin: 14px 0 0; font-size: .85rem; }
.soft-cta .cta-sub a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--line); }
.msg-help { max-width: 460px; margin: 14px auto 0; text-align: left; }
.msg-help > summary { list-style: none; cursor: pointer; padding: 7px 0; text-align: center;
  font-size: .85rem; font-weight: 700; color: var(--navy); border-bottom: 1px dashed var(--line); }
.msg-help > summary::-webkit-details-marker { display: none; }
.msg-help > summary::before { content: "\FF0B\A0"; color: var(--muted); }
.msg-help[open] > summary::before { content: "\FF0D\A0"; }
.msg-tpl { margin: 12px 0 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-family: inherit; font-size: .86rem; color: var(--body);
  line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-help .btn { margin-top: 0; }
.lp-hero .msg-help { margin-left: 0; }
.lp-hero .msg-help > summary { text-align: left; }
.kakao-bar { display: none; }
.cta-left { justify-content: flex-start; }
.lp-cta { justify-content: flex-start; margin-top: 24px; }
.lp-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.lp-trust .band9-pill { margin: 0; }
.lp-fits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.lp-fit { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.lp-fit h3 { margin: 0 0 8px; font-size: 1.02rem; }
.lp-fit p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.lp-fit-link { display: inline-block; margin-top: 12px; font-size: .84rem; font-weight: 700; color: var(--red); }
.lp-steps { counter-reset: st; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lp-steps li { counter-increment: st; position: relative; padding: 18px 20px 18px 62px;
  background: var(--bg-gray); border: 1px solid var(--line); border-radius: 14px; }
.lp-steps li::before { content: counter(st); position: absolute; left: 20px; top: 18px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.lp-steps h3 { margin: 0 0 6px; font-size: 1.02rem; }
.lp-steps p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.lp-more { margin: 22px 0 0; text-align: center; }
.lp-more a { color: var(--red); font-weight: 700; font-size: .9rem; }
.lp-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.lp-skill { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 14px; padding: 20px; }
.lp-skill h3 { margin: 0 0 8px; font-size: 1rem; }
.lp-skill p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.65; }
.lp-wr, .lp-sp { border-top-color: var(--red); }
.section h2.lp-perks-h { margin-top: 56px; }
.lp-qr { display: block; margin: 22px auto 8px; }
@media (max-width: 860px) {
  .ps-grid { grid-template-columns: 1fr; }
  .kakao-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15,23,42,.10); }
  .kakao-bar[hidden] { display: none; }
  .kb-mark { flex: none; padding: 3px 7px; border-radius: 6px; background: #f5c451;
    color: #1e2a4a; font-weight: 800; font-size: .82rem; }
  .kb-text { flex: 1; font-size: .86rem; font-weight: 700; color: var(--ink); }
  .kakao-bar .btn { flex: none; width: auto; }
  .kb-x { flex: none; padding: 4px 6px; border: 0; background: none; cursor: pointer;
    color: var(--muted); font-size: 1.3rem; line-height: 1; }
  body.has-kakao-bar { padding-bottom: 68px; }
}
@media (max-width: 700px) { .lp-fits, .lp-skills { grid-template-columns: 1fr; } }
.lp-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.about-face { width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  margin: 0 0 22px; border: 3px solid #fff; box-shadow: 0 6px 24px rgba(15,23,42,.12); }
.pf-note { margin: -4px 0 22px; font-size: .84rem; color: var(--muted); }
.pf-wrap { margin-top: 8px; }
.pf-essay { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; }
.pf-essay > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink); list-style: none; }
.pf-essay > summary::-webkit-details-marker { display: none; }
.pf-essay-in { padding: 0 18px 18px; }
.pf-prompt { margin: 0 0 12px; font-size: .86rem; font-style: italic; color: var(--muted); line-height: 1.6; }
.pf-text { margin: 0; font-size: .9rem; line-height: 1.85; color: var(--body); }
.pf-report { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; box-shadow: var(--sh-2); }
.pf-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pf-badge { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--red-50);
  color: var(--red); border: 1px solid var(--red-100); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.pf-head h3 { margin: 0; font-size: 1.05rem; }
.pf-sec { margin-bottom: 20px; }
.pf-sec:last-child { margin-bottom: 0; }
.pf-sec h4 { margin: 0 0 7px; font-size: .95rem; color: var(--navy); }
.pf-sub { font-weight: 500; font-size: .78rem; color: var(--muted); }
.pf-sec p { margin: 0; font-size: .9rem; line-height: 1.8; color: var(--body); }
.pf-rw { margin: 0; padding: 0 0 0 20px; display: grid; gap: 14px; }
.pf-rw li { font-size: .88rem; line-height: 1.65; }
.pf-said, .pf-nat, .pf-why { display: block; }
.pf-said { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red-200); }
.pf-nat { color: var(--ink); font-weight: 600; margin-top: 3px; }
.pf-why { margin-top: 4px; font-size: .84rem; color: var(--body); }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px;
  padding-top: 20px; border-top: 1px solid var(--line); }
.pf-list { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.pf-list li { font-size: .87rem; line-height: 1.65; color: var(--body); }
.pf-links { margin: 18px 0 0; font-size: .85rem; line-height: 1.9; }
.pf-links a { color: var(--red); font-weight: 700; }
.pf-dot { margin: 0 8px; color: var(--muted); }
.pf-shot { margin: 26px 0 0; }
.pf-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-2); }
.pf-shot figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); text-align: center; }
@media (max-width: 700px) {
  .pf-report { padding: 20px 18px; }
  .pf-two { grid-template-columns: 1fr; gap: 18px; }
}
.portal-gate { padding: 72px 0; }
.gate-card { max-width: 400px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 34px; text-align: center; box-shadow: 0 14px 40px rgba(15,23,42,.06); }
.gate-mark { display: inline-block; font-weight: 800; color: var(--red); font-size: 1.05rem; letter-spacing: -.3px; margin-bottom: 18px; }
.gate-card h1 { font-size: 1.5rem; margin: 0 0 8px; }
.gate-card .muted { font-size: .92rem; }
.gate-input { margin-top: 18px; text-align: center; letter-spacing: .15em; }
.gate-card .btn { margin-top: 12px; }
.gate-quote { margin: 22px 0 0; font-size: .82rem; color: #6b7280; }
.portal-gate-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0 30px; }
.portal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.portal-top > form { margin-left: auto; }
.portal-hi { color: var(--red); font-weight: 700; font-size: .85rem; margin: 0 0 4px; }
.portal-gate-hero h1 { font-size: 1.95rem; margin: 0; letter-spacing: -.5px; }
.portal-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.portal-quote { margin: 20px 0 0; color: var(--body); font-size: .98rem; border-left: 3px solid var(--red-200); padding-left: 14px; font-style: italic; }
.quote-ko { display: block; margin-top: 6px; color: #64748b; font-size: .82rem; font-style: normal; }
.quote-by { display: block; margin-top: 8px; font-size: .78rem; color: #6b7280; font-style: normal; font-weight: 600; }
.portal-body { background: var(--bg-gray); padding: 26px 0 72px; }
.portal-login { max-width: 420px; margin: 20px auto; }
.portal-login .contact-emoji { font-size: 2.2rem; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.portal-block { margin-bottom: 48px; scroll-margin-top: 80px; }
.portal-block > h2 { font-size: 1.5rem; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.portal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; }
.portal-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.portal-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.portal-card .md { font-size: 1rem; }
.portal-card .btn { margin-top: 14px; }
.due-chip { font-size: .78rem; font-weight: 700; color: var(--red-dark); background: var(--red-50); border: 1px solid var(--red-200); border-radius: 5px; padding: 4px 12px; white-space: nowrap; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; margin: 6px 0 4px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.track-block { margin-bottom: 40px; }
.track-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.track-tag { font-weight: 800; font-size: 1.05rem; color: #fff; padding: 6px 14px; border-radius: 8px; letter-spacing: .5px; }
.track-lcrc .track-tag { background: var(--navy); }
.track-wrsp .track-tag { background: var(--red); }
.track-tag.alt { background: #475569; }
.track-sub { color: var(--muted); font-size: .9rem; font-weight: 600; }
.day-list { display: flex; flex-direction: column; gap: 10px; }
.day-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.day-card:not(.empty):hover { border-color: #cdd6e6; box-shadow: 0 4px 16px rgba(15,23,42,.05); }
.day-card.empty { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-style: dashed; background: transparent; }
.day-card summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.day-card summary::-webkit-details-marker { display: none; }
.day-card summary:hover { background: var(--bg-gray); }
.day-badge { flex: none; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; color: #fff; background: var(--red); }
.track-lc .day-badge, .track-rc .day-badge { background: var(--navy); }
.track-basic .day-badge { background: var(--basic); }
.track-basic .track-tag { background: var(--basic); }
.day-badge.ghost { background: transparent; color: #b4bccb; border: 2px dashed #d7dde7; }
.day-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.day-title { font-weight: 700; color: var(--ink); }
.day-meta { font-size: .8rem; color: var(--red-dark); font-weight: 600; }
.day-up { color: #6b7280; font-size: .9rem; }
.day-caret { color: #cbd5e1; font-size: 1.5rem; font-weight: 700; line-height: 1; transition: transform .2s; }
.day-card[open] .day-caret { transform: rotate(90deg); }
.day-body { padding: 4px 20px 22px 20px; }
.day-body h4 { margin: 18px 0 6px; font-size: .88rem; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.day-body .hw-h { color: var(--red-dark); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.day-empty-note { color: var(--muted); text-align: center; padding: 8px 0 16px; }
.day-avail { display: inline-flex; gap: 6px; margin-top: 4px; }
.day-avail .av { display: inline-flex; color: #b4bccb; }
.day-avail .av .ico { width: 15px; height: 15px; }
.day-avail .av.on { color: var(--navy); }
.day-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 4px; }
.day-keys .key { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 16px 8px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; min-height: 108px; transition: transform .12s, box-shadow .12s, border-color .12s; }
a.key:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.day-keys .key-ico { line-height: 1; }
.day-keys .key-ico .ico { width: 26px; height: 26px; }
.key-video .key-ico { color: var(--red); }
.key-handout .key-ico { color: var(--navy); }
.key-hw .key-ico { color: #b5761a; }
.key-off .key-ico { color: #94a3b8; }
.day-keys .key-lbl { font-weight: 800; font-size: .95rem; color: var(--ink); }
.day-keys .key-cta { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 5px; }
.key-video { border-color: var(--red-200); background: var(--red-50); }
.key-video .key-cta { color: #fff; background: var(--red); }
.key-handout { border-color: #c9d3e8; background: #f2f6fd; }
.key-handout .key-cta { color: #fff; background: var(--navy); }
.key-hw { border-color: #f5d9a8; background: #fff9ee; }
.key-hw .key-cta { color: #7a4a00; background: #ffe6b8; }
.key-off { opacity: .6; }
.key-off .key-lbl { color: var(--muted); }
.key-off .key-cta { color: var(--muted); background: var(--bg-gray); border: 1px solid var(--line); }
.vid-toggle { display: none; }
.key-video { cursor: pointer; }
.key-video .cta-close { display: none; }
.day-video-wrap { display: none; margin: 12px 0 4px; }
.vid-toggle:checked ~ .day-video-wrap { display: block; }
.vid-toggle:checked ~ .day-keys .key-video { box-shadow: 0 0 0 2px var(--red) inset; }
.vid-toggle:checked ~ .day-keys .key-video .cta-play { display: none; }
.vid-toggle:checked ~ .day-keys .key-video .cta-close { display: inline; }
.key-n { display: inline-block; min-width: 17px; margin-left: 5px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; line-height: 17px; text-align: center; vertical-align: middle; }
.day-video-wrap .video-embed + .vid-n { margin-top: 16px; }
.vid-n { margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.hw-box { background: #fff9ee; border: 1px solid #f5d9a8; border-radius: 12px; padding: 14px 18px; scroll-margin-top: 150px; }
.day-body .hw-h { scroll-margin-top: 150px; }
@media (max-width: 420px) {
  .day-keys .key { min-height: 96px; padding: 13px 4px 11px; border-radius: 12px; }
  .day-keys .key-ico .ico { width: 23px; height: 23px; }
  .day-keys .key-lbl { font-size: .82rem; }
  .day-keys .key-cta { font-size: .68rem; padding: 2px 8px; }
}
.month-chips a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cohort-line { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cohort-badge { background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 5px; padding: 5px 14px; }
.cohort-name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.portal-kakao,
.portal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.btn-kakao { background: #fee500; color: #191919; border-color: #fee500; font-weight: 700; }
.btn-kakao:hover { background: #f2d900; border-color: #f2d900; color: #191919; }
.consult-intro { margin: 14px 0 0; color: var(--body); }
.consult-form { max-width: 620px; }
.slot-pickers { border: 0; padding: 0; margin: 0 0 22px; }
.slot-pickers legend { padding: 0; }
.slot-day { margin-bottom: 18px; }
.slot-day h3 { font-size: .95rem; margin: 0 0 8px; color: var(--ink); }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot-pick { flex: 0 1 calc(33.333% - 6px); min-width: 116px; min-height: 50px; display: flex;
  align-items: center; justify-content: center; cursor: pointer; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-weight: 700; font-size: .92rem; color: var(--body);
  transition: background .15s, border-color .15s, color .15s; }
.slot-pick { flex-direction: column; gap: 2px; }
.slot-time { line-height: 1.2; }
.slot-by { font-size: .68rem; font-weight: 600; color: var(--muted); }
.slot-pick.is-taken { background: var(--bg-gray); border-style: dashed; color: var(--muted); cursor: default; }
.slot-pick:not(.is-taken):hover { border-color: var(--navy); }
.slot-radio:checked + .slot-pick { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot-radio:focus-visible + .slot-pick { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-100); }
.consult-privacy { margin-top: 12px; }
.consult-empty { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.consult-empty p { margin: 0 0 14px; }
.consult-empty p:last-child { margin: 14px 0 0; }
.consult-mine { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.consult-mine h2 { font-size: 1.02rem; margin: 0 0 10px; }
.consult-mine-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.consult-mine-row:first-of-type { border-top: 0; }
.consult-wait { margin: 12px 0 0; }
.consult-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  background: var(--red-100); color: var(--red-dark); font-size: .72rem; font-weight: 700; }
.consult-tag.ok { background: var(--navy); color: #fff; }
.consult-tag.off { background: #e2e8f0; color: var(--muted); }
@media (max-width: 420px) { .slot-pick { flex: 0 1 calc(50% - 4px); min-width: 0; } }
.consult-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.consult-add > span { flex: 1 1 200px; }
.consult-slots { padding: 0 18px; }
.consult-day-head { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 0 6px; }
.consult-day-slots { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); }
.consult-day:last-child .consult-day-slots { border-bottom: 0; }
.consult-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px;
  border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; font-weight: 700; }
.consult-chip.is-taken { background: var(--bg-gray); color: var(--muted); }
.consult-chip em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--muted); }
.consult-req.is-done { background: var(--bg-gray); }
.consult-move { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.consult-move label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.consult-move .fld { width: auto; font-size: .85rem; padding: 6px 10px; }
.consult-add select.fld { width: 100%; }
.consult-who { margin: 6px 0 0; font-size: .9rem; }
.consult-note { margin: 6px 0 0; font-size: .88rem; color: var(--body); }
.ptabs { position: relative; }
.pt-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tabbar { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 62px; z-index: 20; background: var(--bg-gray); padding: 12px 0; margin-bottom: 22px; }
.tabbar label { cursor: pointer; display: flex; flex-direction: column; line-height: 1.15; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; color: var(--body); transition: background .15s, color .15s, border-color .15s; }
.tabbar label .t-main .ico { width: 20px; height: 20px; }
.tabbar label .t-sub { font-size: .68rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.tabbar label .t-count { font-size: .64rem; font-weight: 800; opacity: .6; margin-top: 3px; letter-spacing: .02em; }
.tabbar label .t-countrow { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; }
.tabbar label .t-countrow .t-count { margin-top: 0; }
.t-new { background: var(--red); color: #fff; font-size: .55rem; font-weight: 800; letter-spacing: .04em; border-radius: 5px; padding: 1px 6px; line-height: 1.4; }
.tabbar label:hover { border-color: var(--navy); }
.tab-panel { display: none; }
#pt-lc:checked ~ .p-lc, #pt-rc:checked ~ .p-rc, #pt-wr:checked ~ .p-wr, #pt-sp:checked ~ .p-sp, #pt-basic:checked ~ .p-basic, #pt-handouts:checked ~ .p-handouts, #pt-videos:checked ~ .p-videos, #pt-materials:checked ~ .p-materials, #pt-speaking:checked ~ .p-speaking, #pt-feedback:checked ~ .p-feedback, #pt-board:checked ~ .p-board { display: block; }
#pt-lc:checked ~ .tabbar .tab-lc, #pt-rc:checked ~ .tabbar .tab-rc { background: var(--navy); border-color: var(--navy); }
#pt-wr:checked ~ .tabbar .tab-wr, #pt-sp:checked ~ .tabbar .tab-sp { background: var(--red); border-color: var(--red); }
#pt-basic:checked ~ .tabbar .tab-basic { background: var(--basic); border-color: var(--basic); }
#pt-handouts:checked ~ .tabbar label[for="pt-handouts"], #pt-videos:checked ~ .tabbar label[for="pt-videos"], #pt-materials:checked ~ .tabbar label[for="pt-materials"], #pt-feedback:checked ~ .tabbar label[for="pt-feedback"], #pt-board:checked ~ .tabbar label[for="pt-board"] { background: #475569; border-color: #475569; }
#pt-lc:checked ~ .tabbar .tab-lc, #pt-lc:checked ~ .tabbar .tab-lc .t-sub,
#pt-rc:checked ~ .tabbar .tab-rc, #pt-rc:checked ~ .tabbar .tab-rc .t-sub,
#pt-wr:checked ~ .tabbar .tab-wr, #pt-wr:checked ~ .tabbar .tab-wr .t-sub,
#pt-sp:checked ~ .tabbar .tab-sp, #pt-sp:checked ~ .tabbar .tab-sp .t-sub,
#pt-basic:checked ~ .tabbar .tab-basic, #pt-basic:checked ~ .tabbar .tab-basic .t-sub,
#pt-videos:checked ~ .tabbar label[for="pt-videos"], #pt-videos:checked ~ .tabbar label[for="pt-videos"] .t-sub,
#pt-handouts:checked ~ .tabbar label[for="pt-handouts"], #pt-handouts:checked ~ .tabbar label[for="pt-handouts"] .t-sub,
#pt-materials:checked ~ .tabbar label[for="pt-materials"], #pt-materials:checked ~ .tabbar label[for="pt-materials"] .t-sub,
#pt-feedback:checked ~ .tabbar label[for="pt-feedback"], #pt-feedback:checked ~ .tabbar label[for="pt-feedback"] .t-sub,
#pt-board:checked ~ .tabbar label[for="pt-board"], #pt-board:checked ~ .tabbar label[for="pt-board"] .t-sub { color: #fff; }
.ho-h { display: flex; align-items: baseline; gap: 8px; font-size: 1.05rem; margin: 22px 0 10px; }
.ho-h:first-child { margin-top: 4px; }
.ho-h span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ho-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ho-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.ho-row:last-child { border-bottom: none; }
.ho-info { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ho-day { font-weight: 800; color: var(--navy); white-space: nowrap; }
.ho-title { color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .tabbar { gap: 6px; top: 60px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain; scrollbar-width: none; padding: 10px 0; margin-bottom: 16px; }
  .tabbar::-webkit-scrollbar { display: none; }
  .tabbar label { flex: 0 0 auto; padding: 8px 13px; align-items: center; text-align: center; min-height: 44px; justify-content: center; }
  .tabbar label .t-count { display: none; }
}
.portal-flash { margin: 0 0 16px; }
.fb-list { display: flex; flex-direction: column; gap: 12px; }
.fb-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, box-shadow .15s; }
.fb-item:hover { border-color: var(--navy); box-shadow: 0 3px 10px rgba(15,23,42,.08); }
.fb-item-info { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.fb-item-t { font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fb-item-cta { color: var(--navy); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.fb-general-link { margin: 16px 2px 0; font-size: .9rem; }
.fb-general-link a { color: var(--muted); font-weight: 600; }
.fb-general-link a:hover { color: var(--navy); }
.fb-back { display: inline-block; margin-bottom: 14px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.hwd-head { margin-bottom: 6px; }
.hwd-title { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hwd-h { margin: 0 0 8px; font-size: .82rem; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.hwd-submit-btn { margin-top: 18px; }
.fb-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04); margin-top: 12px; }
.fb-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-title { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fb-desc { white-space: pre-line; color: var(--body); font-size: .92rem; line-height: 1.7; margin: 0 0 4px; }
.fb-dl { margin-top: 14px; white-space: normal; overflow-wrap: anywhere; text-align: left; max-width: 100%; align-self: flex-start; }
.due-chip.due-past { color: var(--muted); background: #f1f5f9; border-color: var(--line); }
.fb-form { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; margin-top: 10px; }
.fb-form .lbl { margin: 14px 0 6px; }
.fb-form .lbl:first-of-type { margin-top: 0; }
.fb-opt { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 14px; }
.fb-opt .lbl { margin-top: 0; }
.fb-opt-help { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.fb-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 2px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.fb-or::before, .fb-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fb-wc { margin: 6px 2px 0; font-size: .82rem; color: var(--muted); text-align: right; }
.fb-submit-btn { margin-top: 18px; align-self: flex-start; }
.mock-score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.mock-score-grid label { display: flex; flex-direction: column; gap: 6px; }
.mock-score-grid .lbl { margin: 0; }
.hw-score-row { display: flex; align-items: center; gap: 10px; }
.hw-score-row .fld { width: 8.5rem; flex: none; }
.hw-score-max { font-weight: 800; color: var(--muted); font-size: 1rem; }
.hw-parts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; align-items: center; margin-top: 4px; }
.hw-part-l { font-weight: 700; font-size: .95rem; color: var(--ink); }
.hw-parts .hw-score-row .fld { width: 6.5rem; }
.hw-parts-sum { margin: 10px 0 4px; font-size: .95rem; color: var(--muted); }
.hw-parts-sum strong { color: var(--ink); font-size: 1.1rem; }
.fb-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.hw-need { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.mock-files { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-closed { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff1f2; color: #9f1239; font-weight: 700; font-size: .9rem; }
@media (max-width: 560px) { .mock-score-grid { grid-template-columns: 1fr; } }
.sub-row { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.sub-row > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px; cursor: pointer; list-style: none; }
.sub-row > summary::-webkit-details-marker { display: none; }
.sub-row .sub-when { margin-left: auto; white-space: nowrap; }
.sub-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); }
.sub-text { overscroll-behavior: contain; white-space: pre-wrap; overflow-wrap: break-word; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: .9rem; margin-top: 8px; max-height: 420px; overflow-y: auto; }
.sub-wrong { margin-top: 10px; padding: 11px 13px; border: 1px solid #f5d9a8; background: #fffdf7; border-radius: 10px; }
.sub-memo { margin: 0; font-size: .9rem; color: var(--ink); white-space: pre-wrap; overflow-wrap: break-word; }
.sub-pics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.sub-pics a { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.sub-pics img { display: block; width: 132px; height: 132px; object-fit: cover; }
.sub-pic-doc { display: inline-block; padding: 10px 12px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.chip-wrong { background: #fff9ee; border-color: #f5d9a8; color: #7a4a00; white-space: nowrap; }
.hw-extra { margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 13px; }
.hw-extra > summary { cursor: pointer; list-style: none; padding: 12px 0; font-size: .9rem; font-weight: 700; color: var(--navy); user-select: none; }
.hw-extra > summary::-webkit-details-marker { display: none; }
.hw-extra > summary::before { content: '＋ '; color: var(--muted); }
.hw-extra[open] > summary::before { content: '－ '; }
.hw-extra[open] { padding-bottom: 13px; }
.sub-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin: 18px 0 8px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-gray); }
.sub-filters label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sub-filters label > span { color: var(--muted); font-size: .74rem; font-weight: 800; }
.sub-filters .fld { width: 100%; margin: 0; min-width: 0; }
.sub-filters .btn { margin: 0; }
.sub-filter-actions { display: flex; gap: 8px; align-items: center; }
.sub-filter-actions .disabled { opacity: .45; pointer-events: none; }
.sub-filter-count { margin: 10px 2px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.sub-filter-empty { padding: 18px 0; text-align: center; }
@media (max-width: 760px) { .sub-filters { grid-template-columns: 1fr; } .sub-filters .btn { justify-self: start; } }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; line-height: 0; border-radius: 8px; opacity: .45; transition: opacity .15s; }
.lang-switch a:hover { opacity: .85; }
.lang-switch a.on { opacity: 1; outline: 2px solid var(--navy); outline-offset: 2px; }
.lang-switch img { width: 24px; height: 16px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.site-footer { background: var(--navy-dark); border-top: 4px solid var(--red); padding: 56px 0 36px; color: #94a3b8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 12px; }
.footer-text { font-size: .85rem; line-height: 1.7; max-width: 360px; }
.footer-text a { color: #fff; text-decoration: underline; }
.footer-h { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer li a { font-size: .88rem; color: #94a3b8; }
.site-footer li a:hover { color: var(--red-200); }
.footer-bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { font-size: .75rem; color: #94a3b8; line-height: 1.7; }
#faq .faq { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-caret { width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq-item[open] summary .faq-caret { transform: rotate(-135deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); color: var(--red); }
.faq-a { padding: 16px 20px 20px; color: var(--body); line-height: 1.8; }
.guide-outro { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.guide-outro a { color: var(--red); font-weight: 700; white-space: nowrap; }
.vocab-dl { padding-bottom: 8px; }
.vocab-dl h2 { margin: 0 0 6px; }
.dl-list { display: grid; gap: 12px; margin-top: 18px; }
.dl-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dl-item:hover { border-color: var(--red-200); box-shadow: 0 8px 24px rgba(15,23,42,.07); transform: translateY(-2px); }
.dl-ic { font-size: 1.5rem; flex: none; }
.dl-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dl-info strong { color: var(--ink); font-size: 1.02rem; }
.dl-go { flex: none; font-weight: 800; color: var(--red); font-size: 1.1rem; }
.voc { position: relative; }
.voc-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.voc-tabbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.voc-tab { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 800; color: var(--body); transition: background .15s, color .15s, border-color .15s; }
.voc-tab:hover { border-color: var(--navy); }
.voc-tc { font-size: .72rem; font-weight: 800; background: var(--bg-gray); color: var(--muted); border-radius: 5px; padding: 2px 9px; }
#lv-beginner:checked ~ .voc-tabbar .tab-beginner,
#lv-intermediate:checked ~ .voc-tabbar .tab-intermediate,
#lv-advanced:checked ~ .voc-tabbar .tab-advanced { background: var(--navy); border-color: var(--navy); color: #fff; }
#lv-beginner:checked ~ .voc-tabbar .tab-beginner .voc-tc,
#lv-intermediate:checked ~ .voc-tabbar .tab-intermediate .voc-tc,
#lv-advanced:checked ~ .voc-tabbar .tab-advanced .voc-tc { background: rgba(255,255,255,.22); color: #fff; }
.voc-panel { display: none; }
#lv-beginner:checked ~ .p-beginner,
#lv-intermediate:checked ~ .p-intermediate,
#lv-advanced:checked ~ .p-advanced { display: block; }
.voc-block { margin-bottom: 34px; }
.voc-h { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin: 0 0 4px; }
.voc-ico { font-size: 1.1rem; }
.voc-blurb { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.voc-list { display: grid; gap: 12px; }
.voc-list.is-para { grid-template-columns: repeat(2, 1fr); }
.voc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.voc-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.voc-word { font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.voc-arrow { color: var(--red); font-weight: 800; }
.voc-syn { color: var(--navy); font-weight: 700; font-size: .95rem; }
.voc-gloss { color: var(--body); font-size: .9rem; margin-top: 5px; }
.voc-eg { color: var(--muted); font-size: .85rem; font-style: italic; margin-top: 6px; }
.voc-cta-note { margin-top: 8px; padding: 16px 18px; background: var(--red-50); border: 1px solid var(--red-200); border-radius: 12px; font-size: .92rem; }
.voc-cta-note a { color: var(--red); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .voc-list.is-para { grid-template-columns: 1fr; } .voc-tab { flex: 1; justify-content: center; padding: 11px 12px; } }
.admin { background: var(--bg-gray); }
.container.admin-wrap { padding: 32px 18px 72px; max-width: 880px; }
.container.admin-wrap.has-bar { padding-top: 0; }
.container.admin-wrap.is-wide { max-width: 1180px; }
@media (min-width: 601px) { .container.admin-wrap { padding: 40px 24px 80px; }
  .container.admin-wrap.has-bar { padding-top: 0; } }
.login-box { max-width: 380px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: center; }
.login-box form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.login-box .fld { margin: 0; text-align: center; letter-spacing: .12em; }
.login-box .btn { margin: 0; }
.login-box .flash, .login-box .error, .login-box .notice { margin: 0 0 4px; text-align: left; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.admin-head h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.admin-nav { margin-bottom: 24px; color: var(--muted); }
.admin-nav a { color: var(--red); font-weight: 600; }
.dash-month { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.dash-month select { font: inherit; font-size: .92rem; font-weight: 700; color: var(--ink); background-color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 34px 9px 13px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; transition: border-color .15s, box-shadow .15s; }
.dash-month select:hover { border-color: var(--red-200); }
.dash-month select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dash-stats > div { background: #fff; padding: 15px 18px; }
.dash-stats b { display: block; font-size: 1.55rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.dash-stats span { display: block; margin-top: 3px; font-size: .76rem; color: var(--muted); }
.dash-top { margin: 10px 2px 0; font-size: .8rem; color: var(--muted); }
.dash-top strong { color: var(--ink); font-weight: 700; }
.dash-h { margin: 28px 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dcard { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dcard:hover, .dcard:focus-visible { border-color: var(--red-200); box-shadow: 0 6px 20px rgba(15,23,42,.06); outline: none; }
.dcard-ico { grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-gray); color: var(--navy); }
.dcard-ico .ico { width: 20px; height: 20px; }
.dcard-name { grid-column: 2; display: flex; align-items: center; gap: 7px; font-size: .98rem; font-weight: 800; color: var(--ink); }
.dcard-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.dcard-meta { grid-column: 2; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.dcard-none { color: var(--muted); font-weight: 500; }
.dcard-desc { grid-column: 2; margin-top: 2px; font-size: .76rem; color: var(--muted); }
.dcard.is-empty .dcard-ico { opacity: .45; }
.dcard.is-empty .dcard-name { color: var(--muted); }
.dash-grid.is-minor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.dash-grid.is-minor .dcard { grid-template-columns: 30px 1fr; column-gap: 11px; padding: 12px 13px; border-radius: 12px; }
.dash-grid.is-minor .dcard-ico { width: 30px; height: 30px; border-radius: 8px; }
.dash-grid.is-minor .dcard-ico .ico { width: 17px; height: 17px; }
.dash-grid.is-minor .dcard-name { font-size: .87rem; }
.dash-grid.is-minor .dcard-meta { font-size: .74rem; }
.dash-grid.is-minor .dcard-desc { display: none; }
@media (min-width: 700px) {
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid.is-minor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.admin-sec { margin-bottom: 24px; }
.admin-sec, .cls-acc[id], .admin-sec [id] { scroll-margin-top: calc(var(--bar-h) + 12px); }
.admin-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-row > div:first-child { min-width: 0; }
.admin-row:last-child { border-bottom: none; }
.admin-row .muted { display: block; }
.admin-list.compact .admin-row { padding: 7px 14px; gap: 10px; }
.admin-list.compact .admin-row > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.admin-list.compact .admin-row strong { font-size: .92rem; font-weight: 650; }
.admin-list.compact .admin-row .muted { display: inline; font-size: .76rem; }
.admin-list.compact .admin-row-actions { gap: 6px; flex-wrap: wrap; }
.admin-list.compact .admin-row-actions form { flex-shrink: 0; }
.admin-list.compact .admin-row-actions .link-btn,
.admin-list.compact .admin-row-actions a { font-size: .76rem; padding: 4px 9px; white-space: nowrap; flex-shrink: 0; }
.admin-list.compact .g-badge { font-size: 10px; border-radius: 5px; padding: 1px 6px; line-height: 1.6; white-space: nowrap; }
.admin-list.compact .g-views { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.g-sort { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; font-size: .82rem; }
.g-sort span { color: var(--muted); font-weight: 700; margin-right: 2px; }
.g-sort a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--body); font-weight: 600; }
.g-sort a:hover { border-color: var(--navy); }
.g-sort a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.admin-row-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-row-actions a { max-width: 100%; overflow-wrap: anywhere; }
.cohort-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cohort-info { flex: 1 1 200px; min-width: 0; }
.cohort-kakao { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; flex: 1 1 380px; }
.cohort-kakao .fld { font-size: .85rem; padding: 8px 12px; }
.cohort-kakao > .fld { flex: 1 1 150px; width: auto; min-width: 0; }
.cohort-kakao .btn-outline { border-width: 1px; border-color: var(--line); color: var(--body); font-weight: 600; font-size: .82rem; padding: 8px 16px; border-radius: 8px; }
.cohort-kakao .btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.cohort-exp { display: flex; gap: 7px; align-items: center; flex: 0 0 auto; }
.cohort-exp .lbl { margin: 0; white-space: nowrap; font-size: .78rem; color: var(--muted); }
.cohort-exp .fld { flex: 0 0 auto; width: 150px; }
.cohort-row.is-expired { background: #fef8f8; }
.cohort-row.is-expired .cohort-info > strong { color: #94a3b8; text-decoration: line-through; }
.cohort-note { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.cohort-row .admin-row-actions { margin-left: auto; }
@media (max-width: 900px) {
  .cohort-info { flex: 1 1 100%; }
  .cohort-kakao > .fld { flex: 1 1 100%; }
  .cohort-kakao > .btn-outline { margin-right: auto; }
}
.admin-row-actions a { color: var(--navy); font-weight: 600; font-size: .9rem; }
.editor { display: flex; flex-direction: column; }
.lbl { display: block; font-weight: 600; font-size: .8rem; color: #475569; letter-spacing: .01em; margin: 16px 0 6px; }
.fld { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: .93rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.fld:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.fld.short { width: 120px; }
.fld.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.editor .btn { margin-top: 22px; align-self: flex-start; }
.tagpick { display: flex; flex-wrap: wrap; gap: 8px; }
.tagpick-item { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cbd5e1; border-radius: 999px; padding: 6px 13px; font-size: .85rem; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.tagpick-item:hover { border-color: var(--navy); }
.tagpick-item input { margin: 0; cursor: pointer; }
.tagpick-item:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.dropzone { position: relative; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 22px 16px; text-align: center; cursor: pointer; background: #f8fafc; transition: border-color .15s, background .15s; }
.dropzone.dragging { border-color: var(--navy); background: #eef2ff; }
.dropzone.has-files { text-align: left; }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone .dz-hint { margin: 0; color: var(--muted); font-size: .9rem; }
.dz-link { color: var(--navy); font-weight: 700; text-decoration: underline; }
.dz-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.dz-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: .88rem; }
.dz-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-list li em { font-style: normal; color: var(--muted); font-size: .8rem; flex-shrink: 0; }
.dz-rm { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .85rem; padding: 2px 4px; flex-shrink: 0; }
.dz-rm:hover { color: var(--red); }
.tpl-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 8px 10px; margin: 4px 0 8px; }
.tpl-bar .fld { width: auto; padding: 7px 10px; font-size: .85rem; }
.tpl-bar .tpl-select { flex: 0 1 190px; }
.tpl-bar .tpl-name { flex: 0 1 150px; }
.tpl-bar .tpl-status { flex: 1 1 100%; }
.tpl-bar .tpl-status:empty { display: none; }
.t-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; display: grid; gap: 8px; }
.link-btn { background: none; border: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--red); }
.link-btn.danger:hover { color: var(--red); }
.flash { background: var(--red-50); border: 1px solid var(--red-200); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-size: .9rem; }
.flash.is-ok  { background: #eefbf3; border-color: #a7dfbf; color: #14683a; }
.flash.is-bad { background: var(--red-50); border-color: var(--red-200); color: var(--ink); }
.meta-count-n { display: block; margin: -6px 0 10px; font-size: .78rem; color: var(--muted); text-align: right; }
.meta-count-n.is-over { color: var(--red-dark); font-weight: 700; }
.lang-note { margin: 0 0 18px; padding: 10px 14px; background: var(--bg-gray); border: 1px solid var(--line);
  border-left: 3px solid var(--navy); border-radius: var(--r-sm); font-size: .88rem; color: var(--body); }
.lang-note a { color: var(--navy); font-weight: 600; }
.draft-note { margin: 0 0 12px; padding: 10px 12px; background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; font-size: .86rem; color: #713f12; }
.draft-note .link-btn { font-size: .86rem; color: #713f12; text-decoration: underline; }
.admin-wrap > .flash, .admin-wrap > .error { position: sticky; top: calc(var(--bar-h) + 8px); z-index: 30; box-shadow: 0 2px 10px rgba(15,23,42,.10); }
.form-bad { margin: 0 0 12px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 10px 14px; border-radius: 10px; font-size: .86rem; font-weight: 700; }
.fld-bad { border-color: var(--red); background: var(--red-50); }
.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px 16px; border-radius: 10px; font-size: .9rem; }
.notice { background: var(--bg-gray); border: 1px solid var(--line); padding: 16px; border-radius: 10px; font-size: .88rem; color: var(--body); }
.admin code, .flash code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: .85em; }
.btn-danger { border-color: var(--red); color: var(--red); background: #fff; }
.btn-danger:hover { background: var(--red); color: #fff; }
.cls-lead { font-size: .86rem; color: var(--muted); margin: 0; }
.cls-hint { font-size: .82rem; color: var(--muted); line-height: 1.75; margin: 0 0 18px; }
.cls-form { margin: 0; }
.dz { position: relative; border: 2px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; padding: 18px 14px; text-align: center; transition: border-color .15s, background .15s; }
.dz input[type=file] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz.drag { border-color: var(--red); background: var(--red-50); }
.dz.has-files { border-style: solid; border-color: #94a3b8; background: #fff; }
.dz .dz-hint { margin: 0; font-size: .88rem; color: var(--muted); }
.dz-files { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--navy); word-break: break-all; }
.dz-files:empty { display: none; }
.admin-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap; min-height: var(--bar-h);
  margin: 0 -18px 12px; padding: 6px 18px;
  background: rgba(248,250,252,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
@media (min-width: 601px) { .admin-bar { margin: 0 -24px 12px; padding: 6px 24px; } }
.ab-back { flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; min-height: 34px; color: var(--red); font-weight: 700; font-size: .9rem; }
.ab-back:hover { color: var(--red-dark); }
.ab-back-t { margin-left: 4px; }
.ab-sec { flex: 1 1 140px; min-width: 0; display: flex; }
.ab-tag { flex: none; padding: 6px 11px; border-radius: 999px;
  background: var(--red-50); color: var(--red-dark);
  font-size: .8rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.admin-bar select { font: inherit; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--ink); background-color: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 8px 34px 8px 13px; cursor: pointer; appearance: none; width: 100%; min-width: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; transition: border-color .15s, box-shadow .15s; }
.admin-bar select:hover { border-color: var(--red-200); }
.admin-bar select:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.admin-bar .sec-month { flex: none; margin: 0; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.admin-bar .sec-month select { font-size: .88rem; font-weight: 700; max-width: 190px; }
.ab-end { flex: none; margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sec-desc { margin: 0 0 18px; font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) {
  .ab-back-t, .admin-bar .sec-month label { display: none; }
  .admin-bar { gap: 8px; }
  .admin-bar .sec-month select { max-width: 118px; }
  .ab-end { gap: 4px; }
}
.sec-month { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.sec-month select { font: inherit; font-size: .92rem; font-weight: 700; color: var(--ink); background-color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 34px 9px 13px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; transition: border-color .15s, box-shadow .15s; }
.sec-month select:hover { border-color: var(--red-200); }
.sec-month select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.cls-acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cls-acc[open] { box-shadow: 0 6px 22px rgba(15,23,42,.06); }
.cls-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 800; font-size: 1rem; color: var(--ink); user-select: none; }
.cls-acc > summary::-webkit-details-marker { display: none; }
.cls-acc > summary:hover { background: var(--bg-gray); }
.cls-acc[open] > summary { border-bottom: 1px solid var(--line); }
.cls-ico { font-size: 1.15rem; line-height: 1; }
.cls-num { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 800; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.cls-tag { flex: none; min-width: 32px; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.tag-wr, .tag-sp { background: var(--red); }
.cls-acc-t { flex: 1; letter-spacing: -.01em; }
.cls-count { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--bg-gray); border: 1px solid var(--line); border-radius: 5px; min-width: 26px; text-align: center; padding: 2px 8px; }
.cls-caret { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-left: 2px; }
.cls-acc[open] > summary .cls-caret { transform: rotate(-135deg); }
.cls-acc-body { padding: 4px 20px 22px; }
.cls-acc-body .cls-hint { margin-top: 14px; }
.cls-acc-body .admin-list { margin-top: 20px; margin-bottom: 0; }
.sh-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 16px; }
.sh-tab { flex: 1 1 120px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; font-size: .84rem; color: var(--body); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.sh-tab:hover { border-color: var(--navy); }
.sh-n { font-size: .72rem; font-weight: 800; color: var(--muted); background: var(--bg-gray); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.sh-tab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sh-tab.tab-wr.is-on, .sh-tab.tab-sp.is-on { background: var(--red); border-color: var(--red); }
.dp-tabs { margin-top: 0; }
.dp-chips { display: flex; gap: 6px; margin: 4px 0 18px; }
.dp-chip { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center;
  gap: 5px; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; }
.dp-chip:hover { border-color: #cdd6e6; }
.dp-chip .day-badge { width: 30px; height: 30px; font-size: .9rem; }
.dp-chip .day-avail { margin: 0; }
.dp-chip:not(.is-filled) { background: transparent; border-style: dashed; }
.dp-chip:not(.is-filled) .day-avail { opacity: .5; }
.dp-panel { display: none; }
.dp-r:checked + .dp-panel { display: block; }
.dp-r { position: fixed; top: 0; left: 0; pointer-events: none; }
.dp-head { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.dp-head span { font-weight: 700; color: var(--muted); }
.dp-hint { margin: 0 0 6px; }
.dp-wrap:has(#dp1:checked)  .dp-chip[for="dp1"],  .dp-wrap:has(#dp2:checked)  .dp-chip[for="dp2"],
.dp-wrap:has(#dp3:checked)  .dp-chip[for="dp3"],  .dp-wrap:has(#dp4:checked)  .dp-chip[for="dp4"],
.dp-wrap:has(#dp5:checked)  .dp-chip[for="dp5"],  .dp-wrap:has(#dp6:checked)  .dp-chip[for="dp6"],
.dp-wrap:has(#dp7:checked)  .dp-chip[for="dp7"],  .dp-wrap:has(#dp8:checked)  .dp-chip[for="dp8"],
.dp-wrap:has(#dp9:checked)  .dp-chip[for="dp9"],  .dp-wrap:has(#dp10:checked) .dp-chip[for="dp10"] {
  border-color: var(--red); border-style: solid; background: #fff;
  box-shadow: 0 0 0 3px var(--red-50), var(--sh-2); transform: translateY(-1px); }
.dp-wrap:has(#dp1:focus-visible)  .dp-chip[for="dp1"],  .dp-wrap:has(#dp2:focus-visible)  .dp-chip[for="dp2"],
.dp-wrap:has(#dp3:focus-visible)  .dp-chip[for="dp3"],  .dp-wrap:has(#dp4:focus-visible)  .dp-chip[for="dp4"],
.dp-wrap:has(#dp5:focus-visible)  .dp-chip[for="dp5"],  .dp-wrap:has(#dp6:focus-visible)  .dp-chip[for="dp6"],
.dp-wrap:has(#dp7:focus-visible)  .dp-chip[for="dp7"],  .dp-wrap:has(#dp8:focus-visible)  .dp-chip[for="dp8"],
.dp-wrap:has(#dp9:focus-visible)  .dp-chip[for="dp9"],  .dp-wrap:has(#dp10:focus-visible) .dp-chip[for="dp10"] {
  outline: 2px solid var(--navy); outline-offset: 2px; }
.dk-rows { display: flex; flex-direction: column; margin: 0;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.dk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 14px; }
.dk-row + .dk-row { border-top: 1px solid var(--line); }
.dk-k { flex: none; min-width: 92px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: .82rem; color: var(--navy); white-space: nowrap; }
.dk-k .ico { width: 16px; height: 16px; }
.dk-n { flex: 1 1 120px; min-width: 0; font-size: .84rem; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.dk-n:hover { text-decoration: underline; }
.dk-n.is-off { color: var(--muted); }
.dk-st { flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; color: var(--muted); }
.dk-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.dk-st.is-live { color: #0a7d2c; }
.dk-st.is-live::before { background: #0a7d2c; }
.dk-btn { flex: none; font-size: .75rem; font-weight: 700; color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.dk-btn:hover { border-color: var(--navy); }
.dk-row .link-btn { flex: none; font-size: .75rem; font-weight: 700; padding: 6px 10px;
  border-radius: var(--r-sm); transition: background .15s, color .15s; }
.dk-row .link-btn:hover { background: var(--red-50); color: var(--red); }
.dk-row .live-btn { padding: 6px 12px; }
.dk-row form { margin: 0; }
.dk-fold { display: contents; }
.dk-t { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dk-t:checked + .dk-btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.dk-t:focus-visible + .dk-btn { outline: 2px solid var(--red); outline-offset: 2px; }
.dk-btn.is-set { border-color: #cdd6e6; }
.dk-btn.is-set::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy); margin-left: 6px; vertical-align: middle; }
.dk-t:checked + .dk-btn.is-set::after { background: #fff; }
.dk-panel { display: none; flex-basis: 100%; order: 9; margin-top: 4px; }
.da-form .cls-stack { margin: 0 0 14px; }
.dk-t:checked ~ .dk-panel { display: block; }
.dk-panel .lbl.first { margin-top: 6px; }
.dk-panel .fld { margin-bottom: 0; }
.dk-panel .da-due { width: auto; }
.dk-pick { position: relative; overflow: hidden; }
.dk-pick input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dk-pick-t { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-pick.has-file { color: var(--red); border-color: var(--red); background: var(--red-50); }
@media (max-width: 600px) {
  .dk-row { padding: 10px; gap: 7px; }
  .dk-k { min-width: 0; }
  .dk-n { flex: 1 1 100%; }
  .dk-btn { padding: 8px 10px; }
  .dk-pick-t { max-width: 130px; }
}
.admin-help { display: inline-block; margin-left: 6px; }
.admin-help > summary { cursor: pointer; color: var(--navy); font-weight: 700; list-style: none; }
.admin-help > summary::-webkit-details-marker { display: none; }
.admin-help > summary::after { content: ' ▾'; }
.admin-help[open] > summary::after { content: ' ▴'; }
.admin-help p { margin: 8px 0 0; }
@media (max-width: 600px) {
  .dp-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    scroll-snap-type: x proximity; scroll-padding-inline: 12px; }
  .dp-chips::-webkit-scrollbar { display: none; }
  .dp-chip { flex: 0 0 auto; min-width: 56px; scroll-snap-align: center; }
  .dp-tabs .sh-tab-ko { display: none; }
  .dp-tabs .sh-tab { flex: 1 1 0; min-width: 0; padding: 10px 8px; gap: 6px; }
}
.sh-tab.is-on .sh-n { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.share-row { flex-wrap: wrap; padding: 7px 14px; gap: 6px 10px; }
.sh-info { display: flex; align-items: baseline; gap: 8px; flex: 1 1 200px; min-width: 0; }
.sh-info strong { font-size: .88rem; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sh-kind { font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.sh-file { font-size: .72rem; color: #6b7280; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.sh-form { margin: 0; }
.sh-btn { cursor: pointer; font: inherit; font-size: .74rem; font-weight: 800; line-height: 1.2; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.sh-btn:hover { border-color: #0a7d2c; color: #0a7d2c; }
.sh-btn.is-on { background: #0a7d2c; border-color: #0a7d2c; color: #fff; }
.sh-btn.is-on:hover { background: #fff; color: var(--red); border-color: var(--red-200); }
.sh-btn.is-busy { opacity: .55; cursor: default; }
.sh-none { font-size: .72rem; color: #6b7280; }
.sh-view { font-size: .76rem; font-weight: 600; color: var(--navy); }
.sh-doc { font-size: .74rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid #cbd5e1; white-space: nowrap; }
.sh-doc:hover { border-bottom-color: var(--navy); }
.sh-doc.is-off { color: #94a3b8; font-weight: 600; border: 0; }
.mat-cat-h { display: flex; align-items: baseline; gap: 8px; font-size: .92rem; margin: 22px 0 8px; }
.mat-cat-h span { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg-gray); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.mat-bulk { background: var(--bg-gray); }
.mat-bulk .sh-info strong { color: var(--navy); }
.mat-cat-f { margin: 0; flex: 0 0 auto; }
.mat-cat-f select { font: inherit; font-size: .72rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 5px; }
#matlist .sh-info strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#matlist .sh-doc, #matlist .chip { flex: 0 0 auto; }
.sh-btn.is-exp { opacity: .55; }
.sh-btn.is-exp:hover { opacity: 1; }
.sh-who { font-size: .78rem; color: var(--body); margin: 0 0 10px; }
.sh-who strong { color: var(--navy); }
.sh-who-off { color: var(--muted); }
.sh-warn { font-size: .78rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 9px; padding: 9px 13px; margin: 0 0 12px; }
.sh-warn strong { color: #78350f; }
.cohort-kakao .cohort-mo { width: 128px; }
.cls-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: stretch; }
.cls-row .f { display: flex; flex-direction: column; gap: 6px; flex: 1 1 150px; min-width: 130px; }
.cls-row .f[hidden], [data-hwsub][hidden], [data-gsub][hidden] { display: none !important; }
.cls-form-rows .cls-row + .cls-row { margin-top: 20px; }
.hw-sub { margin-top: 14px; }
.hw-sub .cam-n small { font-weight: 500; color: var(--muted); margin-left: 2px; }
.cls-row .f .lbl { margin: 0; }
.cls-row .f .fld { width: 100%; }
.cls-row .f > .fld,
.cls-row .f > .cam-tests { margin-top: auto; }
.cls-row .f > .fld:not(textarea) { height: calc(1.5em + 24px); line-height: 1.5; }
.cls-row > .btn { margin: 0; flex: 0 0 auto; align-self: flex-end; }
.fld-check { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.fld-check input { width: 16px; height: 16px; flex: none; margin: 0; accent-color: var(--red); }
.fld-check > span { font-size: .9rem; color: var(--body); white-space: nowrap; }
.fld-check:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.fld-check:has(input:checked) > span { color: var(--ink); font-weight: 600; }
.cls-stack { display: flex; flex-direction: column; }
.cls-stack > .lbl { margin: 16px 0 6px; }
.cls-stack > .lbl.first { margin-top: 0; }
.cls-go { margin-top: 20px; align-self: flex-start; }
.vid-rows { display: flex; flex-direction: column; gap: 8px; }
.vid-row { display: flex; align-items: center; gap: 8px; }
.vid-row .fld { flex: 1 1 auto; min-width: 0; margin: 0; }
.vid-rm { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); font-size: .85rem; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.vid-rm:hover { border-color: var(--red-200); background: var(--red-50); color: var(--red); }
.vid-rows .vid-row:only-child .vid-rm { visibility: hidden; }
.vid-add { align-self: flex-start; margin-top: 9px; padding: 7px 13px; border: 1px dashed var(--line); border-radius: 9px; background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.vid-add:hover { border-color: var(--red-200); background: var(--red-50); }
.cls-note { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 12px 0 16px; }
.cls-help { font-size: .8rem; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
.cls-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.lbl .opt { font-weight: 500; color: #6b7280; font-size: .76rem; margin-left: 5px; }
.cls-monthlist { margin-top: 18px; margin-bottom: 0; }
.cls-mtitle { background: var(--bg-gray); }
.cohort-info strong { display: block; font-size: .98rem; }
.admin-row .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.admin .chip, .portal-body .chip, .admin-row .chip, .sub-row .chip {
  font-size: .72rem; font-weight: 600; color: var(--body); background: var(--bg-gray);
  border: 1px solid var(--line); border-radius: 5px; padding: 3px 10px; line-height: 1.5;
  white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.chip.st-live, .chip.st-staged, .chip-kakao, .chip-expiry, .chip-expired, .chip-lock { white-space: nowrap; }
.chip-kakao { background: #fee500; border-color: #e6ce00; color: #191919; }
.chip-expiry { background: var(--bg-gray); border-color: #cbd5e1; color: #475569; }
.chip-expired { background: var(--red-50); border-color: var(--red-200); color: var(--red-dark); }
.chip.grp-all  { border-left: 3px solid var(--navy); color: var(--navy); }
.chip.grp-lcrc { border-left: 3px solid var(--muted); color: var(--body); }
.chip.grp-wrsp { border-left: 3px solid var(--red); color: var(--red-dark); }
.chip.grp-basic { border-left: 3px solid var(--basic); color: var(--basic); }
.chip-lock { color: var(--muted); }
.chip-restrict { border-left: 3px solid var(--red); color: var(--red-dark); }
.chip.st-live { color: #0a7d2c; border-left: 3px solid #0a7d2c; }
.chip.st-staged { color: var(--muted); border-left: 3px solid #cbd5e1; }
.live-btn { font-size: .76rem; font-weight: 800; letter-spacing: .04em; padding: 6px 15px; border-radius: 8px; border: 1px solid #0a7d2c; background: #0a7d2c; color: #fff; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.live-btn:hover { background: #096e27; }
.live-btn.is-live { background: #fff; color: var(--muted); border-color: var(--line); font-weight: 600; letter-spacing: 0; }
.live-btn.is-live:hover { border-color: var(--red-200); color: var(--red); background: var(--red-50); }
.df-kind-h { margin: 20px 0 8px; font-size: .92rem; font-weight: 800; color: var(--navy); display: flex; align-items: baseline; gap: 8px; }
.df-kind-h:first-child { margin-top: 4px; }
.df-kind-h span { font-size: .74rem; font-weight: 700; color: var(--muted); }
.cls-import { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-gray); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 8px; }
.cls-import form { margin: 0; }
.cls-import .cls-help { margin: 0; flex: 1 1 240px; }
.rel-board { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 6px 0 14px; background: #fff; }
.rel-head { font-size: .82rem; color: var(--muted); margin-bottom: 12px; line-height: 1.7; }
.rel-head strong { color: var(--ink); font-size: .92rem; }
.rc-legend { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; margin-left: 4px; }
.rc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin: 0 3px 0 10px; }
.rc-dot.rc-staged { background: var(--navy); } .rc-dot.rc-live { background: #0a7d2c; } .rc-dot.rc-part { background: #b45309; }
.rel-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rel-table { border-collapse: separate; border-spacing: 5px; min-width: 360px; width: 100%; }
.rel-table th { font-size: .72rem; font-weight: 800; color: var(--muted); padding: 2px 4px; text-align: center; white-space: nowrap; }
.rel-table tbody th { text-align: left; color: var(--ink); padding-right: 8px; }
.rel-table td { text-align: center; padding: 0; }
.rel-table th.rel-tot, .rel-table td.rel-tot { border-left: 2px solid var(--line); }
.rel-totrow th, .rel-totrow td { border-top: 2px solid var(--line); padding-top: 4px; }
.rel-table form { margin: 0; }
.rel-table thead th:first-child, .rel-table tbody th { position: sticky; left: -5px; z-index: 1; background: #fff; box-shadow: 5px 0 0 #fff, 6px 0 0 var(--line); }
.rc-btn { font-size: .74rem; font-weight: 800; padding: 8px 8px; border-radius: 7px; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; white-space: nowrap; width: 100%; min-width: 50px; min-height: 40px; transition: opacity .12s; }
.rc-btn:hover { opacity: .88; }
.rc-btn.rc-live { background: #0a7d2c; border-color: #0a7d2c; }
.rc-btn.rc-part { background: #b45309; border-color: #b45309; }
.rc-empty { color: #cbd5e1; font-weight: 700; }
@media (max-width: 600px) { .rc-btn { min-height: 44px; font-size: .82rem; } .rel-table tbody th { font-size: .8rem; } }
.lbl-sub { font-weight: 500; color: var(--muted); font-size: .78rem; }
.ai-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 2px; }
.ai-sum-btn:disabled { opacity: .6; cursor: default; }
.ai-sum-status { min-height: 1em; }
.aud-picker { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg-gray); }
.aud-opt { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: .9rem; color: var(--ink); cursor: pointer; border-radius: 8px; }
.aud-opt:hover { background: #fff; }
.aud-opt input { width: 17px; height: 17px; accent-color: var(--red); flex: none; margin: 0; }
.aud-opt .aud-name { font-weight: 600; }
.lib-row { margin-top: 6px; }
.lib-row select { font-size: .85rem; color: #475569; }
.lib-multi { margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-gray); }
.lib-multi summary { cursor: pointer; padding: 9px 12px; font-size: .85rem; font-weight: 600; color: #475569; list-style: none; display: flex; align-items: center; gap: 8px; }
.lib-multi summary::-webkit-details-marker { display: none; }
.lib-multi summary::before { content: '▸'; font-size: .75rem; color: var(--muted); transition: transform .15s; }
.lib-multi[open] summary::before { transform: rotate(90deg); }
.lib-count { font-weight: 700; color: var(--red); font-size: .78rem; }
.lib-opts { padding: 2px 12px 10px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.lib-g { margin: 8px 0 2px; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.lib-opt { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: .88rem; color: var(--ink); cursor: pointer; border-radius: 8px; }
.lib-opt:hover { background: #fff; }
.lib-opt input { width: 17px; height: 17px; accent-color: var(--red); flex: none; margin: 0; }
.lib-opt span { min-width: 0; overflow-wrap: anywhere; }
.admin-row-actions .fb-type { margin: 0; }
.admin-row-actions .fb-type select { font-size: .8rem; font-weight: 600; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; cursor: pointer; }
.fb-max { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.fb-max input { width: 4.2rem; font-size: .8rem; font-weight: 600; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.fb-list .admin-row { align-items: flex-start; }
.fb-list .admin-row-actions { margin-top: 2px; }
.fb-list .admin-row-actions a { font-size: .82rem; font-weight: 600; color: var(--body);
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; white-space: nowrap;
  transition: border-color .15s, color .15s; }
.fb-list .admin-row-actions a:hover { border-color: var(--navy); color: var(--navy); }
.fb-list .chips { align-items: center; }
.fb-due { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.fb-due input[type=datetime-local] { font: inherit; font-size: .8rem; font-weight: 600; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.fb-due .link-btn { font-size: .75rem; font-weight: 700; padding: 5px 9px; border-radius: 8px; transition: background .15s, color .15s; }
.fb-due .link-btn:hover { background: var(--red-50); color: var(--red); }
.fb-due.is-dirty input[type=datetime-local] { border-color: var(--red); }
.fb-due.is-dirty .link-btn { background: var(--red); color: #fff; }
.fb-st { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #0a7d2c; white-space: nowrap; }
.fb-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0a7d2c; }
.fb-st.is-closed { color: var(--muted); }
.fb-st.is-closed::before { background: #cbd5e1; }
.fb-cd { margin-top: 7px; }
.fb-cd > summary { cursor: pointer; list-style: none; font-size: .78rem; font-weight: 700; color: var(--navy); user-select: none; }
.fb-cd > summary::-webkit-details-marker { display: none; }
.fb-cd > summary::before { content: '＋ '; color: var(--muted); }
.fb-cd[open] > summary::before { content: '－ '; }
.fb-cd-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; flex-wrap: wrap; }
.fb-cd-name { font-size: .82rem; font-weight: 700; color: var(--ink); min-width: 8rem; }
.fb-cd input[type=datetime-local] { font: inherit; font-size: .8rem; font-weight: 600; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.fb-desc { margin-top: 7px; }
.fb-desc > summary { cursor: pointer; list-style: none; font-size: .78rem; font-weight: 700; color: var(--navy); user-select: none; }
.fb-desc > summary::-webkit-details-marker { display: none; }
.fb-desc > summary::after { content: ' ▾'; font-size: .72em; color: var(--muted); }
.fb-desc[open] > summary::after { content: ' ▴'; }
.fb-desc p { margin: 6px 0 0; max-width: 75ch; }
.admin-row-actions .link-btn { font-size: .82rem; padding: 6px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.admin-row-actions .link-btn:hover { border-color: var(--red-200); color: var(--red); background: var(--red-50); }
.cls-admin > .cls-acc:first-of-type { margin-top: 16px; }
@media (max-width: 520px) {
  .admin-sec { padding: 22px 16px; }
  .cls-row .f { flex-basis: 100%; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}
@media (max-width: 768px) {
  .header-inner { position: relative; height: 60px; }
  .nav-burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
    padding: 10px 16px 18px; display: none;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 13px 10px; font-size: 1rem; border-radius: 8px; }
  .nav .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lang-switch { margin: 12px 0 2px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.95rem; }
  .lead { font-size: 1.04rem; line-height: 1.7; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sec-head h2, .section h2 { font-size: 1.5rem; }
  .article { padding: 32px 0; }
  .article-head h1 { font-size: 1.7rem; }
  .md { font-size: 1rem; }
  .md h2 { font-size: 1.3rem; }
  .big-stat .big-num { font-size: 4.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .topbar { font-size: .72rem; padding: 7px 14px; line-height: 1.5; }
  .quote-card, .topic, .card { padding: 20px; }
  .gfilter { flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .gfilter-tags {
    flex-wrap: nowrap; overflow-x: auto; width: 100%;
    padding-bottom: 6px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gfilter-tags::-webkit-scrollbar { display: none; }
  .tagbtn { flex-shrink: 0; }
  .gsort { align-self: flex-end; }
  .pinned-sec { padding: 32px 0 36px; }
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .page-head { padding: 40px 0 30px; }
  .page-head h1 { font-size: 1.75rem; }
  .editor .btn, .fb-submit-btn, .hwd-submit-btn, .cls-actions .btn { align-self: stretch; width: 100%; }
  .admin-list.compact .admin-row > div:first-child,
  .admin-list.compact .admin-row-actions { flex: 1 1 100%; }
}
@media (max-width: 900px), (pointer: coarse) {
  .fld, .fld.mono, input, select, textarea,
  .gsort select, .dash-month select, .admin-bar select, .sec-month select,
  .cohort-kakao .fld, .consult-move .fld, .tpl-bar .fld, .lib-row select,
  .admin-row-actions .fb-type select, .fb-max input, .fb-due input[type=datetime-local], .mat-cat-f select, .sp-rubric { font-size: 16px; }
  .fld.short { width: 130px; }
}
@media (pointer: coarse) {
  .fb-back { padding: 10px 4px; margin: -10px 0 4px -4px; min-height: 40px; }
  .btn-sm { padding: 11px 18px; }
  .link-btn { min-height: 40px; padding: 6px 8px; }
  .admin-row-actions .link-btn { min-height: 40px; padding: 8px 13px; }
  .sh-btn { padding: 9px 12px; min-height: 40px; }
  .live-btn { padding: 10px 15px; min-height: 40px; }
  .vid-rm { width: 40px; height: 40px; }
  .dz-rm { padding: 8px; min-width: 36px; min-height: 36px; }
  .chips a { padding: 10px 16px; }
  .tagbtn { padding: 9px 14px; }
  .gview-btn { padding: 9px 14px; }
  .g-sort a { padding: 8px 12px; }
  .spb-filters label { padding: 8px 4px; }
  .aud-opt, .lib-opt { padding: 10px 6px; }
  .site-footer li a { display: inline-block; padding: 8px 0; }
  .faq summary, .faq-item summary { padding-top: 18px; padding-bottom: 18px; }
  .dz, .dropzone { min-height: 56px; }
  .consult-chip .link-btn { min-width: 34px; min-height: 34px; }
}
.sp-lead { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.sp-task { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; background: #fff; }
.sp-task.is-closed { opacity: .65; }
.sp-q { font-size: 1.05rem; margin: 0 0 6px; line-height: 1.45; }
.sp-desc { font-size: .9rem; color: var(--muted); margin: 0 0 10px; line-height: 1.6; }
.sp-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.sp-form .lbl { display: block; margin: 10px 0 4px; font-size: .8rem; font-weight: 700; }
.sp-rec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 8px;
          padding: 14px; border: 1px dashed var(--line); border-radius: 10px; }
.sp-rec-btn.is-rec { background: var(--red); border-color: var(--red); }
.sp-timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.1rem; min-width: 3.2em; }
.sp-preview { width: 100%; max-width: 380px; }
.sp-hint { flex-basis: 100%; margin: 0; }
.sp-fallback { margin: 8px 0 12px; }
.sp-fallback summary { cursor: pointer; color: var(--muted); }
.sp-fallback .fld { margin-top: 8px; }
.sp-send { width: 100%; margin-top: 6px; }
.sp-mine { border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 10px;
           padding: 16px; margin-bottom: 14px; background: #fff; }
.sp-mine h4 { margin: 0 0 10px; font-size: .98rem; }
.sp-bandrow { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; font-size: .82rem; }
.sp-sec { margin: 16px 0 5px; font-size: .88rem; font-weight: 800; }
.sp-sec span { font-weight: 500; color: var(--muted); font-size: .8rem; }
.sp-body { margin: 0; font-size: .92rem; line-height: 1.7; }
.sp-refined { margin: 6px 0 0; padding-left: 20px; }
.sp-refined li { margin-bottom: 12px; font-size: .9rem; line-height: 1.6; }
.sp-said, .sp-nat, .sp-why { display: block; }
.sp-said { color: var(--muted); }
.sp-said em, .sp-nat em { font-style: normal; font-weight: 700; margin-right: 5px; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.sp-nat { font-weight: 600; }
.sp-why { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.sp-list { margin: 6px 0 0; padding-left: 20px; }
.sp-list li { margin-bottom: 6px; font-size: .9rem; line-height: 1.6; }
.sp-status { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.sp-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.sp-metrics { margin: 4px 0 10px; }
.sp-sub { margin: 8px 0; }
.sp-sub summary { cursor: pointer; color: var(--muted); }
.sp-transcript { white-space: pre-wrap; }
.sp-notes { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; line-height: 1.6; }
.sp-notes strong { display: inline-block; min-width: 5.5em; }
.sp-report { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sp-report h4 { margin: 16px 0 4px; font-size: .85rem; }
.sp-internal { margin: 14px 0; padding: 12px 14px; background: #f7f8fa; border-radius: 8px; }
.sp-internal h4 { margin: 0 0 6px; font-size: .82rem; }
.sp-internal p { margin: 2px 0; }
.sp-publish { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 12px;
              padding-top: 12px; border-top: 1px solid var(--line); }
.sp-publish form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.sp-rubric { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; line-height: 1.55; }
.sp-actions-row { margin: 12px 0; }
.sp-pdf { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.sub-sp { display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
          margin: 10px 0 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.sub-sp .sp-actions { margin: 0; }
.spb-toolbar { position: sticky; top: calc(var(--bar-h) + 6px); z-index: 3; margin: 0 0 14px; padding: 12px 14px;
               background: #f7f8fa; border: 1px solid var(--line); border-radius: 10px; }
.spb-filters { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; }
.spb-filters label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.spb-filters-wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.spb-fgroup { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (min-width: 561px) {
  .spb-fgroup + .spb-fgroup { border-left: 1px solid var(--line); padding-left: 20px; }
}
.spb-flabel { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.spb-pick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
            margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.spb-actions { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 10px; align-items: flex-start; }
.spb-act { display: flex; flex-direction: column; gap: 5px; }
.spb-act .aud-opt { font-size: .82rem; }
.spb-bar { margin: 10px 0 0; }
.spb-group { margin: 0 0 18px; }
.spb-group-t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
               margin: 0 0 6px; font-size: .92rem; }
.spb-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; cursor: pointer;
           padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.spb-row:hover { background: #f7f8fa; }
.spb-row input[type=checkbox] { flex: none; }
.spb-main { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.spb-name { font-size: .92rem; }
.spb-state { flex: none; }
@media (max-width: 560px) {
  .sp-rec { gap: 8px; }
  .sp-publish, .sub-sp { flex-direction: column; align-items: flex-start; }
  .spb-toolbar { position: static; }
  .spb-actions { flex-direction: column; gap: 12px; }
  .spb-act { width: 100%; }
  .spb-act .btn { width: 100%; }
}
.admin-head-actions { display: flex; align-items: center; gap: 16px; }
.sc-admin { display: flex; flex-direction: column; gap: var(--sp-3, 14px); }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--muted); text-decoration: none; border: 1px solid transparent; }
.sc-tab:hover { background: var(--bg-gray, #f8f9fc); color: var(--ink); }
.sc-tab.on { background: var(--navy); color: #fff; }
.sc-tab .sc-n { font-size: .72rem; font-weight: 700; opacity: .7; }
.sc-tab.on .sc-n { opacity: .85; }
.sc-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.sc-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.sc-filters .fld { padding: 7px 10px; font-size: .84rem; min-width: 9rem; }
.sc-filters .sc-dl { margin-left: auto; }
.sc-r { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sc-switch { display: flex; align-items: center; gap: 6px; }
.sc-sw { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); background: #fff; cursor: pointer; }
.sc-meta { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 600; }
#scv1:checked ~ .sc-switch label[for=scv1],
#scv2:checked ~ .sc-switch label[for=scv2] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sc-panel { display: none; }
#scv1:checked ~ .sc-panel-grid, #scv2:checked ~ .sc-panel-list { display: block; }
.sc-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2, 12px); background: #fff; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.sc-table th, .sc-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.sc-table thead th { font-size: .74rem; font-weight: 800; color: var(--muted); background: var(--bg-gray, #f8f9fc); letter-spacing: .02em; position: sticky; top: 0; }
.sc-table tbody tr:last-child th, .sc-table tbody tr:last-child td { border-bottom: 0; }
.sc-table tbody tr:hover { background: #fafbff; }
.sc-table .sc-name { position: sticky; left: 0; background: #fff; font-weight: 700; z-index: 1; }
.sc-table tbody tr:hover .sc-name { background: #fafbff; }
.sc-table .sc-name .sc-n { font-size: .72rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.sc-pct { font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-pct.is-good { color: #047857; }
.sc-pct.is-mid  { color: #b45309; }
.sc-pct.is-low  { color: #b91c1c; }
.sc-dash { color: #cbd5e1; }
.sc-sub-n { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; margin-top: 1px; }
.sc-tr { margin-left: 5px; font-weight: 800; }
.sc-tr.is-up { color: #047857; } .sc-tr.is-down { color: #b91c1c; } .sc-tr.is-flat { color: #94a3b8; }
.sc-held-mark { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: #fff1f2; color: #9f1239; font-size: .66rem; font-weight: 800; vertical-align: middle; }
.sc-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: #eef2ff; color: #3730a3; }
.sc-chip.sc-s-rc { background: #ecfdf5; color: #065f46; }
.sc-chip.sc-s-vocab { background: #fef3c7; color: #92400e; }
.sc-chip.sc-s-wr { background: #f3e8ff; color: #6b21a8; }
.sc-chip.sc-s-sp { background: #ffe4e6; color: #9f1239; }
.sc-list .sc-date { font-variant-numeric: tabular-nums; color: var(--muted); }
.sc-list .sc-title { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; }
.sc-note { margin: 8px 2px 0; }
@media (max-width: 720px) {
  .sc-filters .sc-dl { margin-left: 0; width: 100%; text-align: center; }
  .sc-table th, .sc-table td { padding: 8px 10px; }
  .sc-list .sc-title { max-width: 11rem; }
}
.sc-col-t { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); opacity: .8; margin-top: 1px; }
body.theme-tut {
  --red: #1e2a4a;
  --red-dark: #161f36;
  --red-50: #f3f6fc;
  --red-100: #e2e9f6;
  --red-200: #c6d2e9;
}
body.theme-tut .btn-navy { background: #475569; }
body.theme-tut .btn-navy:hover { background: #334155; }
body.theme-tut .btn-outline { border-color: #475569; color: #334155; }
body.theme-tut .btn-outline:hover { background: #475569; color: #fff; }
body.theme-tut .due-chip { color: #7a4a00; background: #fff9ee; border-color: #f5d9a8; }
body.theme-tut .due-chip.due-past { color: var(--muted); background: #f1f5f9; border-color: var(--line); }
body.theme-tut .flash.is-bad { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
body.theme-tut .fld-bad { border-color: #dc2626; background: #fef2f2; }
#tt-hw:checked ~ .p-hw, #tt-log:checked ~ .p-log,
#tt-score:checked ~ .p-score, #tt-weak:checked ~ .p-weak,
#tt-class:checked ~ .p-class { display: block; }
.tut-next { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.tut-next-n { font-size: 1.32rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.tut-next-due { font-size: .82rem; font-weight: 700; color: #7a4a00; background: #fff9ee;
  border: 1px solid #f5d9a8; border-radius: 6px; padding: 5px 12px; }
.tut-next.is-clear { margin-top: 14px; font-size: .95rem; color: var(--muted); font-weight: 600; }
.tb-h { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 4px 0 10px; }
.tut-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 26px; }
@media (max-width: 560px) {
  .tut-board { gap: 8px; margin-bottom: 20px; }
  .tb-item { padding: 12px 13px; gap: 10px; }
  .tb-name { font-size: .92rem; }
}
.tb-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; min-width: 0;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.tb-item:hover { border-color: #c6d2e9; box-shadow: 0 4px 14px rgba(15,23,42,.05); }
.tb-ico { flex: none; display: flex; color: var(--navy); }
.tb-ico .ico { width: 21px; height: 21px; }
.tb-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tb-name { font-weight: 800; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.tb-sub { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.tb-item.is-off { cursor: default; background: transparent; border-style: dashed; box-shadow: none; }
.tb-item.is-off:hover { border-color: var(--line); box-shadow: none; }
.tb-item.is-off .tb-ico { color: #b4bccb; }
.tb-item.is-off .tb-name { color: var(--muted); }
.tb-wide { grid-column: 1 / -1; }
#tt-hw:checked ~ .tut-board .tb-item[for="tt-hw"],
#tt-score:checked ~ .tut-board .tb-item[for="tt-score"],
#tt-weak:checked ~ .tut-board .tb-item[for="tt-weak"],
#tt-class:checked ~ .tut-board .tb-item[for="tt-class"],
#tt-log:checked ~ .tut-board .tb-item[for="tt-log"] {
  background: var(--navy); border-color: var(--navy); box-shadow: 0 6px 18px rgba(30,42,74,.18);
}
#tt-hw:checked ~ .tut-board .tb-item[for="tt-hw"] .tb-ico,
#tt-hw:checked ~ .tut-board .tb-item[for="tt-hw"] .tb-name,
#tt-score:checked ~ .tut-board .tb-item[for="tt-score"] .tb-ico,
#tt-score:checked ~ .tut-board .tb-item[for="tt-score"] .tb-name,
#tt-weak:checked ~ .tut-board .tb-item[for="tt-weak"] .tb-ico,
#tt-weak:checked ~ .tut-board .tb-item[for="tt-weak"] .tb-name,
#tt-class:checked ~ .tut-board .tb-item[for="tt-class"] .tb-ico,
#tt-class:checked ~ .tut-board .tb-item[for="tt-class"] .tb-name,
#tt-log:checked ~ .tut-board .tb-item[for="tt-log"] .tb-ico,
#tt-log:checked ~ .tut-board .tb-item[for="tt-log"] .tb-name { color: #fff; }
#tt-hw:checked ~ .tut-board .tb-item[for="tt-hw"] .tb-sub,
#tt-score:checked ~ .tut-board .tb-item[for="tt-score"] .tb-sub,
#tt-weak:checked ~ .tut-board .tb-item[for="tt-weak"] .tb-sub,
#tt-class:checked ~ .tut-board .tb-item[for="tt-class"] .tb-sub,
#tt-log:checked ~ .tut-board .tb-item[for="tt-log"] .tb-sub { color: #c6d2e9; }
#tt-hw:focus-visible ~ .tut-board .tb-item[for="tt-hw"],
#tt-score:focus-visible ~ .tut-board .tb-item[for="tt-score"],
#tt-weak:focus-visible ~ .tut-board .tb-item[for="tt-weak"],
#tt-class:focus-visible ~ .tut-board .tb-item[for="tt-class"],
#tt-log:focus-visible ~ .tut-board .tb-item[for="tt-log"] { outline: 2px solid var(--navy); outline-offset: 2px; }
.tc-list { display: flex; flex-direction: column; gap: 8px; }
.tc-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tc-row.is-next { border-color: var(--navy); box-shadow: 0 4px 14px rgba(30,42,74,.08); }
.tc-when { display: flex; flex-direction: column; gap: 2px; flex: none; min-width: 118px; }
.tc-day { font-weight: 800; font-size: .95rem; color: var(--ink); letter-spacing: -.01em; }
.tc-time { font-size: .82rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 190px; }
.tc-title { font-weight: 700; font-size: .92rem; color: var(--ink); }
.tc-meta { font-size: .78rem; font-weight: 600; color: var(--muted); }
.tc-chip { flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: var(--navy); border-radius: 999px; padding: 4px 11px; }
@media (max-width: 560px) {
  .tc-row { gap: 4px 12px; padding: 11px 13px; }
  .tc-when { min-width: 104px; }
}
@media (prefers-reduced-motion: reduce) { .tb-item { transition: none; } }
.th-list { display: flex; flex-direction: column; gap: 8px; }
.th-item { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; text-decoration: none;
  border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; }
.th-item:hover { box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.th-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.th-title { font-weight: 800; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.th-go { flex: none; font-size: .82rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.th-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.th-need { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--bg-gray);
  border-radius: 5px; padding: 3px 9px; }
.th-state { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700;
  border-radius: 5px; padding: 3px 9px; }
.th-state .ico { width: 14px; height: 14px; }
.th-due { color: var(--navy); background: #eef2fa; }
.th-item.is-soon { border-left-color: #b45309; }
.th-item.is-soon .th-due { color: #7a4a00; background: #fff9ee; }
.th-open { color: var(--muted); background: var(--bg-gray); }
.th-item.is-done, .th-item.is-missed { border-left-color: var(--line); background: #fcfdfe; }
.th-item.is-done .th-title, .th-item.is-missed .th-title { font-weight: 700; color: var(--body); }
.th-item.is-done .th-go, .th-item.is-missed .th-go { color: var(--muted); font-weight: 600; }
.th-done { color: #14683a; background: #eefbf3; }
.th-missed { color: var(--muted); background: var(--bg-gray); }
@media (max-width: 480px) {
  .th-item { padding: 12px 13px; }
  .th-title { font-size: .94rem; }
}
.tp-log-date { flex: 0 0 auto; font-size: .78rem; font-weight: 800; color: var(--navy); background: #eef1f6; border-radius: 7px; padding: 5px 9px; letter-spacing: -.01em; }
.cam-box { border: 1px solid var(--line); border-radius: var(--r-md, 12px); background: #fff; padding: 0; margin-bottom: 14px; }
.cam-box[open] { padding-bottom: 14px; }
.cam-sum { cursor: pointer; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 13px 16px; list-style: none; }
.cam-sum::-webkit-details-marker { display: none; }
.cam-sum::before { content: '▸'; color: var(--muted); font-weight: 700; }
.cam-box[open] .cam-sum::before { content: '▾'; }
.cam-hint { font-size: .78rem; color: var(--muted); font-weight: 600; }
.cam-box .cls-row, .cam-box .cls-actions { padding: 0 16px; }
.cam-tests { display: flex; flex-wrap: wrap; gap: 6px; }
.cam-t { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--body); }
.cam-t:hover { border-color: var(--navy); }
.cam-t:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.cam-t input { accent-color: var(--navy); }
.cam-t:has(input:checked) input { accent-color: #fff; }
.cam-mark { font-size: .68rem; font-weight: 700; color: var(--muted); }
.cam-t.is-had { border-style: dashed; }
.cam-t.is-had .cam-n { opacity: .75; }
.cam-t:has(input:checked) .cam-mark { color: #c6d2e9; }
.cam-sum-n { font-size: .8rem; font-weight: 700; color: var(--muted); align-self: center; }
.cg { margin: 0 0 18px; }
.cg-head { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cg-h { margin: 0; font-size: .96rem; }
.cg-count { gap: 6px; align-items: center; }
.cg-legend { display: inline-flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); margin-left: auto; }
.cg-legend .cg-b { vertical-align: -1px; }
.cg-grid { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 8px 8px; }
.cg-row { position: relative; display: grid; grid-template-columns: minmax(6rem, auto) repeat(4, minmax(0, 1fr)); align-items: center; gap: 4px; }
.cg-row + .cg-row { border-top: 1px solid #f1f5f9; }
.cg-headrow { border-bottom: 1px solid var(--line); }
.cg-th, .cg-book { font-size: .72rem; font-weight: 800; color: var(--muted); padding: 6px 4px; letter-spacing: .02em; white-space: nowrap; }
.cg-th { text-align: center; }
.cg-cell { min-width: 0; margin: 0; }
.cg-cell.is-empty { padding: 5px 4px; }
.cg-sum { list-style: none; cursor: pointer; display: block; padding: 5px 4px; border-radius: 8px; }
.cg-sum::-webkit-details-marker { display: none; }
.cg-cell:hover > .cg-sum, .cg-cell[open] > .cg-sum { background: #eef2f8; }
.cg-boxes { display: flex; flex-direction: column; gap: 3px; }
.cg-line { display: flex; gap: 2px; }
.cg-b { display: inline-block; width: 11px; height: 11px; border-radius: 2px; box-sizing: border-box; background: #edf0f5; border: 1px solid #e2e8f0; }
.cg-b.is-assigned { background: #fff; border: 1.5px solid var(--navy); }
.cg-b.is-done { background: var(--navy); border-color: var(--navy); }
.cg-tip { display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); z-index: 3; background: var(--navy); color: #fff; font-size: .8rem; line-height: 1.45; padding: 8px 12px; border-radius: 8px; box-shadow: 0 6px 18px rgba(15,23,42,.18); pointer-events: none; }
.cg-tip strong { display: block; font-size: .72rem; letter-spacing: .02em; opacity: .75; margin-bottom: 2px; }
.cg-tip > span { display: block; }
.cg-cell:hover .cg-tip, .cg-cell[open] .cg-tip, .cg-sum:focus-visible .cg-tip { display: block; }
@media (max-width: 480px) {
  .cg-long { display: none; }
  .cg-row { grid-template-columns: minmax(3.6rem, auto) repeat(4, minmax(0, 1fr)); }
  .cg-legend { margin-left: 0; }
}
@media (max-width: 400px) {
  .cg-b { width: 10px; height: 10px; }
  .cg-sum, .cg-cell.is-empty { padding: 4px 3px; }
  .cg-line { gap: 1px; }
}
.tut-row.is-off { opacity: .6; }
.tut-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tut-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.tut-name:hover { color: var(--red-dark); text-decoration: underline; }
.tut-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.tut-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.tut-tracks { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 6px; }
.tut-tk { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 600; cursor: pointer; }
.tut-pw { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tut-pw .fld { max-width: 260px; }
.tut-danger { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-gray); }
.tut-danger form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.tut-del .fld { max-width: 260px; }
.tut-lessons { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tut-lesson + .tut-lesson { border-top: 1px solid var(--line); }
.tut-lesson > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 700; flex-wrap: wrap; }
.tut-lesson > summary::-webkit-details-marker { display: none; }
.tut-lesson > summary:hover { background: var(--bg-gray); }
.tut-lesson[open] > summary { border-bottom: 1px solid var(--line); background: var(--bg-gray); }
.tut-l-date { font-size: .8rem; font-weight: 800; color: var(--navy); background: #eef1f6; border-radius: 7px; padding: 4px 9px; }
.tut-l-t { flex: 1; min-width: 8rem; letter-spacing: -.01em; }
.tut-l-body { padding: 16px; }
.tut-l-acts { gap: 14px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tut-l-h { margin: 20px 0 0; font-size: .95rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.chip-soon { background: #fff9ee; border-color: #f5d9a8; color: #7a4a00; white-space: nowrap; }
.tut-lesson.is-soon .tut-l-date { color: #7a4a00; background: #fff9ee; }
@media (max-width: 640px) {
  .tut-lesson > summary { padding: 12px; gap: 8px; }
  .tut-l-body { padding: 12px; }
}
.tut-hw-list { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.tut-hw { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.tut-hw-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; background: var(--bg-gray); border-bottom: 1px solid var(--line); }
.tut-hw-t { flex: 1; min-width: 8rem; font-size: .98rem; letter-spacing: -.01em; }
.tut-hw-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; }
.tut-hw-acts form { display: flex; align-items: center; gap: 6px; margin: 0; }
.tut-hw-acts .lbl { margin: 0; font-size: .72rem; color: var(--muted); }
.tut-hw-acts .fld { width: auto; padding: 5px 8px; font-size: .82rem; }
.tut-hw-subs { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .tut-hw-head, .tut-hw-acts { padding: 10px 12px; }
  .tut-hw-acts { gap: 10px; }
  .tut-hw-acts form { width: 100%; }
  .tut-hw-acts .fld { flex: 1; min-width: 0; }
}
.tut-charts, .tp-charts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.tut-chart, .tp-chart { flex: 1 1 280px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.tut-chart-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.tp-chart h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: .96rem; }
.tut-spark { display: block; width: 100%; max-width: 480px; height: 118px; margin: 4px 0 6px; overflow: visible; }
.tp-chart .sc-scroll { margin-top: 10px; }
.tut-qt { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tut-qt-row { display: grid; grid-template-columns: minmax(7rem, 1.4fr) minmax(70px, 2fr) auto; align-items: center; gap: 12px; }
.tut-qt-l { font-size: .88rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.tut-qt-bar { display: block; height: 9px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.tut-qt-bar i { display: block; height: 100%; border-radius: 99px; background: #94a3b8; }
.tut-qt-bar i.is-good { background: #16a34a; }
.tut-qt-bar i.is-mid { background: #d97706; }
.tut-qt-bar i.is-low { background: #dc2626; }
.tut-qt-n { font-size: .8rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tut-qb { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; }
.tut-qb > summary { cursor: pointer; padding: 10px 14px; font-size: .86rem; font-weight: 700; }
.tut-qb[open] > summary { border-bottom: 1px solid var(--line); }
.tut-qb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 18px; padding: 12px 14px; }
.tut-qb-row { display: grid; grid-template-columns: 1fr 62px auto 62px; align-items: center; gap: 6px; font-size: .84rem; }
.tut-qb-row .fld { padding: 5px 7px; font-size: .82rem; text-align: center; }
.tut-qb-l { overflow-wrap: anywhere; }
.tut-qb-sep { color: var(--muted); }
.tut-grade-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tut-grade { border: 1px solid var(--line); border-radius: 10px; }
.tut-grade > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; font-weight: 700; font-size: .9rem; }
.tut-grade > summary::-webkit-details-marker { display: none; }
.tut-grade > summary:hover { background: var(--bg-gray); }
.tut-grade[open] > summary { border-bottom: 1px solid var(--line); background: var(--bg-gray); }
.tut-dict { margin-top: 18px; }
.tut-dict-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tut-dict-add .fld { width: auto; flex: 1 1 180px; }
.tut-dict-add select.fld { flex: 0 1 140px; }
.tut-dict-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; flex: 1; margin: 0; }
.tut-dict-row .fld { width: auto; flex: 1 1 160px; }
.tut-dict-row select.fld { flex: 0 1 130px; }
@media (max-width: 640px) {
  .tut-qt-row { grid-template-columns: 1fr auto; }
  .tut-qt-bar { grid-column: 1 / -1; }
  .tut-qb-grid { padding: 10px; }
}
.bd-new { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bd-new .bd-name { max-width: 220px; }
.bd-new-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bd-pick { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.bd-pick input[type=file] { max-width: 190px; font-size: .78rem; }
.bd-list { display: flex; flex-direction: column; gap: 12px; }
.bd-post { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; }
.bd-post.is-pinned { border-color: #f5d9a8; background: #fffdf7; }
.bd-post.is-teacher { border-color: var(--navy); }
.bd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.bd-who { font-size: .88rem; font-weight: 800; color: var(--ink); }
.bd-who.is-teacher { color: var(--navy); }
.bd-when { margin-left: auto; font-size: .76rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.bd-tag { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--bg-gray); color: var(--muted); border: 1px solid var(--line); }
.bd-tag.bd-open { background: #fff9ee; border-color: #f5d9a8; color: #7a4a00; }
.bd-body { font-size: .92rem; line-height: 1.55; color: var(--ink); overflow-wrap: break-word; }
.bd-pics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bd-pics a { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.bd-pics img { display: block; width: 128px; height: 128px; object-fit: cover; }
.bd-pic-doc { display: inline-block; padding: 10px 12px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.bd-replies { margin: 12px 0 0; padding-left: 12px; border-left: 3px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bd-reply.is-teacher { border-left: 3px solid var(--navy); margin-left: -15px; padding-left: 12px; }
.bd-reply .bd-head, .bd-reply { display: block; }
.bd-reply .bd-who { font-size: .82rem; }
.bd-reply .bd-when { margin-left: 8px; }
.bd-reply .bd-body { font-size: .88rem; margin-top: 3px; }
.bd-reply-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.bd-reply-form .fld { flex: 1 1 200px; font-size: .88rem; padding: 8px 11px; }
.bd-reply-form .bd-name { flex: 0 1 130px; }
.bd-acts { gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
@media (max-width: 560px) {
  .bd-post { padding: 12px 13px; }
  .bd-new .bd-name { max-width: none; }
}
.bd-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.bd-room { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.bd-room.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.bd-room-n { font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--red); color: #fff; }
.bd-room.is-on .bd-room-n { background: #fff; color: var(--navy); }
.bd-pin { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.nv-set { margin: 4px 0 18px; }
.nv-h { margin: 30px 0 10px; font-size: 1rem; color: var(--navy); }
.nv-n { margin-left: 6px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.nv-cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; margin: 10px 0 14px; }
.nv-cand { display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .88rem; cursor: pointer; }
.nv-cand:hover { border-color: var(--line-2, #cbd5e1); }
.nv-cand-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-rank { flex: none; padding: 1px 7px; border-radius: 999px; background: var(--red-50);
  color: var(--red); font-size: .72rem; font-weight: 800; }
.nv-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; }
.nv-item > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  padding: 12px 14px; cursor: pointer; list-style: none; }
.nv-item > summary::-webkit-details-marker { display: none; }
.nv-when { flex: none; font-size: .8rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.nv-when.is-late { color: var(--red); }
.nv-title { flex: 1; min-width: 200px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.nv-late { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--red-50); color: var(--red);
  font-size: .74rem; font-weight: 800; }
.nv-done { flex: none; font-size: .76rem; color: var(--muted); }
.nv-item.is-done { opacity: .72; }
.nv-item.is-done .nv-title { font-weight: 500; }
.nv-body { padding: 0 14px 14px; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tagchip { padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px;
  font-size: .74rem; color: var(--muted); }
.nv-text { margin: 0 0 10px; padding: 14px 16px; background: var(--bg-gray);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: .88rem; line-height: 1.8; color: var(--body);
  white-space: pre-wrap; word-break: break-word; max-height: 380px; overflow-y: auto; }
.nv-acts { margin: 0 0 6px; }
.nv-edit { display: grid; gap: 4px; margin: 10px 0; }
.nv-edit .lbl { margin-top: 6px; }
.nv-uniq { flex: none; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nv-len { flex: none; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nv-len.is-thin { color: var(--red); font-weight: 700; }
.nv-warn { margin: 0 0 10px; color: var(--red); }
.btn.is-busy { opacity: .75; cursor: progress; position: relative; }
.btn.is-busy::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: nvsweep 1.1s linear infinite;
}
@keyframes nvsweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::after { animation: none; background-position: 50% 0; } }
.nv-busy-note { display: block; margin-top: 6px; }
.key-lbl { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.key-dot { flex: none; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
  border: 1.5px solid var(--line-2, #cbd5e1); background: #fff; color: transparent; }
.key-dot.is-on { border-color: #0f766e; background: #0f766e; color: #fff; }
.key-name { font-weight: 700; }
.key-ck { flex: none; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.key-ck.is-ok  { background: #e6f6ec; color: #05a34a; }
.key-ck.is-bad { background: var(--red-50); color: var(--red); }
.nv-seed { margin: 8px 0 18px; padding: 14px 16px; background: var(--red-50); border-radius: var(--r-sm); }
.nv-seed .cls-help { margin-top: 0; }
.nv-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nv-acts form { display: inline; }
.dash-todo { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  margin: 0 0 18px; padding: 12px 14px;
  background: var(--red-50); border: 1px solid var(--red-100); border-radius: var(--r-md); }
.dash-todo-h { flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .02em;
  color: var(--red); text-transform: none; }
.dash-todo-i { display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px; background: #fff;
  border: 1px solid var(--red-100); color: var(--ink);
  font-size: .86rem; line-height: 1.3; text-decoration: none; }
.dash-todo-i b { color: var(--red); font-weight: 800; }
.dash-todo-i:hover { border-color: var(--red); }
.dash-clear { margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) {
  .dash-todo { gap: 6px 8px; padding: 10px 12px; }
  .dash-todo-i { font-size: .82rem; padding: 4px 9px; }
}
