: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; 
  word-break: keep-all;
  overflow-wrap: break-word;
}
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); }
body.portal-in .site-header { position: static; }
.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: #eaf0fb; }
.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; } }
.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: 600px) {
  .day-card summary { padding: 13px 14px; gap: 12px; }
  .day-body { padding: 4px 14px 18px; }
  .fb-item { padding: 14px 14px; }
  .fb-form { padding: 16px 14px; }
}
@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); }
input[type=file]::file-selector-button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--navy); background: #f2f6fd; border: 1px solid #c9d3e8; border-radius: 999px; padding: 7px 13px; margin-right: 10px; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: #e6edfa; }
body.theme-tut input[type=file]::file-selector-button { color: #334155; background: #f1f5f9; border-color: #cbd5e1; }
.fld[type=file] { padding: 8px 10px; font-size: .86rem; color: var(--muted); }
.pf-head { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0 12px; }
.pf-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pf-who { min-width: 0; }
.pf-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 3px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.pf-eyebrow .cohort-badge { font-size: .7rem; padding: 2px 8px; border-radius: 5px; }
.pf-title { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
.pf-out { margin: 0; flex: none; }
.pf-logout { background: none; border: 0; padding: 4px 0 4px 12px; min-height: 40px; font: inherit; font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.pf-logout:hover { color: var(--red); }
.pf-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.pf-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--body); font-size: .82rem; font-weight: 700; text-decoration: none; }
.pf-links a.is-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.pf-links a.is-consult { background: #f2f6fd; border-color: #c9d3e8; color: var(--navy); }
.pf-links a:hover { filter: brightness(.97); }
.pf-quote { margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--red-200); font-size: .86rem; font-style: italic; color: var(--body); line-height: 1.5; }
.pf-quote .quote-by { display: inline; margin-left: 6px; font-size: .74rem; font-style: normal; font-weight: 600; color: var(--muted); }
.pf-quote .quote-ko { display: block; margin-top: 2px; font-size: .78rem; font-style: normal; color: var(--muted); }
body.theme-tut .pf-quote { border-left-color: #cbd5e1; }
.portal-body .pf-quote { margin: 26px 0 0; }
@media (min-width: 700px) {
  .pf-head { padding: 22px 0 18px; }
  .pf-title { font-size: 1.55rem; }
}
@media (max-width: 600px) {
  .pf-head .container, .portal-body .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .portal-body { padding: 14px 0 64px; }
}
.ptabs { position: relative; }
.pt-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tabbars { position: sticky; top: 0; z-index: 20; background: var(--bg-gray); margin: 0 0 12px; }
.tabbar { margin: 0; }
.tabbar-subj { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 8px 0 6px; }
.tabbar-subj label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; color: var(--body); line-height: 1.15; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tabbar-subj .t-main { font-size: .95rem; letter-spacing: .01em; }
.tabbar-subj .t-sub { font-size: .72rem; font-weight: 600; color: var(--muted); }
.tabbar-subj .t-count { font-size: .68rem; font-weight: 700; opacity: .55; margin-top: 1px; letter-spacing: .02em; }
.tabbar-util { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 0 10px; }
.tabbar-util::-webkit-scrollbar { display: none; }
.tabbar-util { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.tabbar-util label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 700; color: var(--body); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tabbar-util .t-main { display: inline-flex; }
.tabbar-util .t-main .ico { width: 16px; height: 16px; }
.tabbar-util .t-sub { font-size: inherit; font-weight: inherit; color: inherit; margin: 0; }
.tabbar-util .t-count { font-size: .7rem; font-weight: 800; opacity: .55; margin: 0; }
.tabbar-util .t-countrow { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.t-new { background: var(--red); color: #fff; font-size: .62rem; 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 ~ .tabbars .tab-lc, #pt-rc:checked ~ .tabbars .tab-rc { background: var(--navy); border-color: var(--navy); }
#pt-wr:checked ~ .tabbars .tab-wr, #pt-sp:checked ~ .tabbars .tab-sp { background: var(--red); border-color: var(--red); }
#pt-basic:checked ~ .tabbars .tab-basic { background: var(--basic); border-color: var(--basic); }
#pt-handouts:checked ~ .tabbars label[for="pt-handouts"], #pt-videos:checked ~ .tabbars label[for="pt-videos"], #pt-materials:checked ~ .tabbars label[for="pt-materials"], #pt-feedback:checked ~ .tabbars label[for="pt-feedback"], #pt-board:checked ~ .tabbars label[for="pt-board"] { background: #475569; border-color: #475569; }
#pt-lc:checked ~ .tabbars .tab-lc, #pt-lc:checked ~ .tabbars .tab-lc .t-sub,
#pt-rc:checked ~ .tabbars .tab-rc, #pt-rc:checked ~ .tabbars .tab-rc .t-sub,
#pt-wr:checked ~ .tabbars .tab-wr, #pt-wr:checked ~ .tabbars .tab-wr .t-sub,
#pt-sp:checked ~ .tabbars .tab-sp, #pt-sp:checked ~ .tabbars .tab-sp .t-sub,
#pt-basic:checked ~ .tabbars .tab-basic, #pt-basic:checked ~ .tabbars .tab-basic .t-sub,
#pt-videos:checked ~ .tabbars label[for="pt-videos"], #pt-videos:checked ~ .tabbars label[for="pt-videos"] .t-sub,
#pt-handouts:checked ~ .tabbars label[for="pt-handouts"], #pt-handouts:checked ~ .tabbars label[for="pt-handouts"] .t-sub,
#pt-materials:checked ~ .tabbars label[for="pt-materials"], #pt-materials:checked ~ .tabbars label[for="pt-materials"] .t-sub,
#pt-feedback:checked ~ .tabbars label[for="pt-feedback"], #pt-feedback:checked ~ .tabbars label[for="pt-feedback"] .t-sub,
#pt-board:checked ~ .tabbars label[for="pt-board"], #pt-board:checked ~ .tabbars 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; background: #fff; }
.ho-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.ho-row:last-child { border-bottom: none; }
.ho-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ho-day { font-size: .72rem; font-weight: 800; color: var(--navy); white-space: nowrap; letter-spacing: .02em; }
.ho-title { font-size: .92rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.35; }
.ho-desc { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.ho-dl { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; transition: background .15s; }
.ho-dl:hover { background: var(--navy-dark); color: #fff; }
.ho-dl .ico { width: 18px; height: 18px; }
body.theme-tut .ho-dl { background: #475569; }
@media (max-width: 600px) {
  .tabbar-subj label { min-height: 48px; border-radius: 11px; }
  .tabbar-subj .t-main { font-size: .9rem; }
}
.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: #475569; 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; }
.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; }
.when-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--bg-gray);
  color: var(--muted); font-size: .74rem; font-weight: 700; 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; }
.chip-closed { background: #eef2f7; border-color: #cbd5e1; color: #475569; }
.chip-fb { border-left: 3px solid var(--navy); color: var(--navy); }
.chip-done { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.dk-aud-chip { flex: none; border: 1px solid var(--line); background: var(--bg-gray); color: var(--muted); border-radius: 999px; padding: 3px 9px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.sub-row.is-done { background: #fbfcfd; }
.sub-row.is-done > summary { opacity: .62; }
.sub-row.is-done > summary:hover, .sub-row.is-done[open] > summary { opacity: 1; }
.sub-done-btn { flex: none; border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.sub-done-btn:hover { border-color: #34d399; color: #047857; background: #f0fdf4; }
.sub-done-btn[aria-pressed="true"] { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.sub-done-btn[disabled] { opacity: .5; cursor: default; }
.sub-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.sub-fb, .sub-close { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.sub-pin > summary { cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--navy); list-style: none; }
.sub-pin > summary::-webkit-details-marker { display: none; }
.sub-pin > summary::before { content: '＋ '; }
.sub-pin[open] > summary::before { content: '－ '; }
.sub-pin form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.sub-pin .fld { width: 8.5rem; margin: 0; }
.sub-pin p { margin: 6px 0 0; }
.sub-fb-link { font-size: .84rem; font-weight: 700; color: var(--navy); }
.sub-fb-copy { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.sub-fb-copy:hover { background: var(--bg-gray); }
.sub-fb-copy.is-done { color: #0a7d2c; background: #eaf6ee; }
.sub-fb-pick { position: relative; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--navy); border-radius: 8px; font-size: .8rem; font-weight: 700; color: var(--navy); background: #fff; cursor: pointer; overflow: hidden; }
.sub-fb-pick:hover { background: #f6f8fc; }
.sub-fb-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sub-close .small { max-width: 26ch; line-height: 1.35; }
.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(4, minmax(0, 1fr)); 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 { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sub-filter-actions .disabled { opacity: .45; pointer-events: none; }
.sub-showdone { flex-direction: row !important; align-items: center; gap: 6px !important; cursor: pointer; }
.sub-showdone > span { color: var(--ink) !important; font-size: .82rem !important; font-weight: 700 !important; }
.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;
  gap: 8px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin: 0; min-width: 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: minmax(0, 1fr) minmax(0, 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-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .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; }
.trk-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.trk-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .84rem; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.trk-opt input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.trk-opt b { font-weight: 800; color: var(--ink); }
.trk-opt em { font-style: normal; font-weight: 600; color: var(--muted); }
.trk-opt:has(input:checked) { border-color: var(--navy); background: #eef2fa; }
.trk-opt:has(input:checked) em { color: var(--body); }
.trk-opt:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.cohort-trk { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cohort-trk > .lbl { margin: 0; white-space: nowrap; font-size: .78rem; color: var(--muted); }
.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; }
.feat-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.feat-set > legend { padding: 0; }
.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; }
.tch-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tch-stats b { font-size: 1.3rem; }
.tch-inv-list { margin-top: 16px; }
.tch-inv-info { min-width: 0; flex: 1; }
.tch-inv.is-off .tch-inv-info strong { color: var(--muted); }
.inv-link { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.inv-link code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .78rem; background: var(--bg-gray); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
.teach-signup.is-invite { margin-bottom: 22px; padding: 18px 16px; border: 1px solid #c9d3e8; border-radius: 14px; background: #f2f6fd; }
.teach-signup.is-invite .teach-form-h { margin-top: 0; }
.tch-gate { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tch-radio { flex: 1 1 220px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.tch-radio input { margin-top: 3px; flex-shrink: 0; }
.tch-radio strong { display: block; font-size: .92rem; }
.tch-radio em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.tch-radio:has(input:checked) { border-color: var(--navy); background: #f8fafc; }
.tch-unlock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 10px; }
.tch-row.is-off { background: var(--bg-gray); }
.tch-row .tch-line { margin: 6px 0 0; font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.tch-row .tch-num { font-variant-numeric: tabular-nums; }
.tch-more { flex: 1 1 100%; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.tch-more > summary { cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--muted); list-style: none; }
.tch-more > summary::-webkit-details-marker { display: none; }
.tch-more > summary::before { content: '＋ '; }
.tch-more[open] > summary::before { content: '－ '; }
.tch-more-body { display: grid; gap: 14px; margin-top: 12px; }
.tch-mini { margin: 0; }
.tch-mini .lbl { margin-bottom: 4px; }
.tch-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tch-inline .fld { flex: 1 1 200px; width: auto; margin: 0; font-size: .88rem; padding: 8px 11px; }
.tch-inline .btn { flex-shrink: 0; }
.tch-danger { border: 1px solid var(--red-200); background: var(--red-50); border-radius: 12px; padding: 12px 14px; }
.tch-check { display: flex; align-items: flex-start; gap: 7px; margin-top: 9px; font-size: .82rem; }
.tch-check input { margin-top: 3px; flex-shrink: 0; }
.tch-banner { margin-bottom: 12px; }
@media (max-width: 560px) { .tch-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.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; }
.dz .dz-list { position: relative; z-index: 1; text-align: left; }
.dz.has-files .dz-hint { display: none; }
.sp-names { margin: 10px 0 0; display: grid; gap: 6px; }
.sp-names .cls-help { margin: 0 0 2px; }
.sp-name-row { display: flex; align-items: center; gap: 10px; }
.sp-name-f { flex: 1 1 40%; min-width: 0; font-size: .84rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-name-row .fld { flex: 1 1 55%; margin: 0; }
@media (max-width: 520px) {
  .sp-name-row { display: grid; grid-template-columns: 1fr; gap: 3px; }
  .sp-name-f { flex: 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: 40px; min-height: 40px; 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: 240px; }
.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 { flex-wrap: wrap; row-gap: 8px; }
  .admin-bar .sec-month select { max-width: none; }
  .admin-bar .sec-month { flex: 1 1 auto; min-width: 0; }
  .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); }
.pp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.pp-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 12px 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); text-align: center; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.pp-tile:hover, .pp-tile:focus-visible { border-color: var(--navy); outline: none; }
.pp-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-gray); color: var(--navy); }
.pp-ico .ico { width: 18px; height: 18px; }
.pp-name { font-size: .8rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.pp-n { font-size: .7rem; font-weight: 700; color: var(--muted); background: var(--bg-gray); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; min-width: 22px; white-space: nowrap; }
.pp-tile.is-alert .pp-n { color: var(--red); border-color: var(--red-200); background: var(--red-50); }
.pp-tile.is-on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.12); }
.pp-tile.is-on .pp-ico { background: rgba(255,255,255,.14); color: #fff; }
.pp-tile.is-on .pp-n, .pp-tile.is-on.is-alert .pp-n { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.pp-tile.is-out .pp-name::after { content: ' \2197'; font-weight: 600; opacity: .6; }
@media (min-width: 700px) {
  .pp-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pp-tile { padding: 14px 8px 12px; }
}
.cls-acc.is-panel { margin-top: 0; box-shadow: 0 6px 22px rgba(15,23,42,.06); }
.cls-acc.is-panel > .cls-acc-body { padding-top: 18px; }
.cls-acc.is-panel + .cls-acc.is-panel { margin-top: 12px; }
.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-st.is-live.is-wait { color: #a16207; }
.dk-st.is-live.is-wait::before { background: #d97706; }
.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; }
}
.tk-page main { max-width: 720px; }
.tk-page h1 { font-size: 1.6rem; letter-spacing: -.02em; margin: 8px 0 10px; }
.tk-page h2 { font-size: 1.05rem; margin: 0 0 12px; display: flex; align-items: center; gap: 9px; }
.tk-page section { margin: 26px 0; }
.tk-lead { color: var(--body); max-width: 62ch; }
.tk-num { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; }
.tk-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 20px; }
.tk-card.tk-paste { border-color: var(--navy); }
.tk-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.tk-steps a { font-weight: 700; color: var(--navy); }
.tk-table-wrap { overflow-x: auto; }
.tk-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tk-table th, .tk-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tk-table th { font-size: .76rem; color: var(--muted); font-weight: 700; }
.tk-faq { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px 15px; margin: 8px 0; }
.tk-faq > summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink); list-style: none; }
.tk-faq > summary::-webkit-details-marker { display: none; }
.tk-faq > summary::after { content: ' ▾'; font-size: .72em; color: var(--muted); }
.tk-faq[open] > summary::after { content: ' ▴'; }
.tk-faq p { margin: 8px 0 2px; font-size: .88rem; color: var(--body); }
.tk-back { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 10px; }
.teach-logo a { color: inherit; text-decoration: none; }
.feat-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.feat-check { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600;
  color: var(--body); border: 1px solid var(--line); border-radius: 9px; padding: 8px 13px;
  background: #fff; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.feat-check:hover { border-color: #cdd6e6; }
.feat-check input { accent-color: var(--red); margin: 0; }
.feat-check strong { font-weight: 800; color: var(--navy); }
.feat-check:has(input:checked) { border-color: var(--navy); background: #f6f8fc; }
.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: flex-end; }
.cls-row .f { display: flex; flex-direction: column; gap: 6px; flex: 1 1 150px; min-width: 130px; }
.cls-row .f .lbl { margin: 0; }
.cls-row .f .fld { width: 100%; }
.cls-row > .btn { margin: 0; flex: 0 0 auto; }
.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; }
.chip.st-live[data-pend]:not([data-pend=""]) { color: #a16207; border-left-color: #d97706; }
.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-due.is-dirty .btn { background: var(--red); border-color: var(--red); }
.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-new { margin: 0 0 16px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }
.fb-new > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; font-size: .9rem; font-weight: 700; color: var(--navy); user-select: none; border-radius: 12px; }
.fb-new > summary::-webkit-details-marker { display: none; }
.fb-new > summary:hover { background: #f8fafc; }
.fb-new-plus { font-size: 1.05rem; line-height: 1; color: var(--red); }
.fb-new[open] { border-style: solid; border-color: var(--line); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.fb-new[open] > summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.fb-new > .cls-lead, .fb-new > .cls-note, .fb-new > form { padding: 0 16px; }  
.fb-new > .cls-lead { padding-top: 14px; }
.fb-new > form { padding-bottom: 16px; }
.fb-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 12px; }
.fb-filter { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.fb-filter select { font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; max-width: 12rem; }
.fb-filter select:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.fb-count { margin: 0; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fb-bar .fb-view { margin: 0 0 0 auto; }
.fb-sep { display: flex; align-items: center; gap: 8px; margin: 6px 2px 2px;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-transform: none; }
.fb-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fb-sep span { font-variant-numeric: tabular-nums; color: var(--ink); background: #f1f5f9;
  border-radius: 999px; padding: 1px 8px; font-size: .72rem; }
.fb-sep.is-open { color: #0a7d2c; }
.fb-sep.is-open span { background: #eaf6ee; color: #0a7d2c; }
.fb-sep[hidden] { display: none; }
.fb-row { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: border-color .15s, box-shadow .15s; }
.fb-row[hidden] { display: none; }
.fb-row:hover { border-color: #cbd5e1; }
.fb-row[open] { border-color: var(--navy); box-shadow: 0 3px 12px rgba(15,23,42,.07); }
.fb-row.is-hi { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.fb-sum { cursor: pointer; list-style: none; user-select: none;
  display: grid; grid-template-columns: 3.3rem 2.7rem minmax(0, 1fr) auto 1.1rem;
  align-items: center; gap: 4px 11px; padding: 11px 14px; border-radius: 12px; }
.fb-sum::-webkit-details-marker { display: none; }
.fb-sum:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.fb-sum::after { content: '▾'; grid-column: 5; justify-self: end; color: #94a3b8; font-size: .8rem;
  transition: transform .15s; }
.fb-row[open] > .fb-sum::after { transform: rotate(180deg); color: var(--navy); }
.fb-when { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.fb-when b { font-size: .92rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fb-when i { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--muted); }
.fb-when-no { color: #cbd5e1; }
.fb-state { font-size: .68rem; font-weight: 800; color: #0a7d2c; background: #eaf6ee;
  border-radius: 999px; padding: 2px 8px; text-align: center; white-space: nowrap; }
.fb-when[hidden], .fb-state[hidden] { display: none; }
.fb-state.is-part { color: #7a4a00; background: #fff4e2; }
.fb-name { font-size: .93rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.fb-tags .chip { font-size: .68rem; padding: 2px 8px; font-weight: 700; }
.chip-hw { background: #eef2ff; color: #3730a3; }
.chip-files { background: #f1f5f9; color: var(--muted); }
.fb-row.is-closed .fb-when b { color: var(--muted); font-weight: 700; }
.fb-row.is-closed .fb-name { color: var(--body); font-weight: 600; }
.fb-row.is-closed .fb-state { color: var(--muted); background: #f1f5f9; }
.fb-body { border-top: 1px solid var(--line); padding: 4px 14px 14px; }
.fb-note { margin: 12px 0 0; font-size: .85rem; line-height: 1.65; color: var(--body); white-space: pre-line;
  border-left: 2px solid var(--line); padding-left: 11px; }
.fb-grp { margin-top: 14px; }
.fb-grp-h { margin: 0 0 7px; font-size: .74rem; font-weight: 800; color: var(--ink); }
.fb-grp-h span { font-weight: 600; color: var(--muted); margin-left: 6px; }
.fb-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.fb-links a { font-size: .8rem; font-weight: 600; color: var(--body);
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; background: #fff; }
.fb-links a:hover { border-color: var(--navy); color: var(--navy); }
.fb-del { display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.fb-del .link-btn { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; }
.fb-del .link-btn.danger:hover { background: var(--red-50); }
.fb-dup { margin: 0 auto 0 0; }                       
.fb-dup .link-btn:hover { background: var(--bg-gray); color: var(--navy); }
.fb-ld { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fb-ld-l { font-size: .78rem; font-weight: 700; color: var(--muted); }
.fb-ld-l .opt { font-weight: 600; color: #94a3b8; }
.fb-ld input[type=date] { font: inherit; font-size: .82rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.fb-filter-chk { gap: 6px; cursor: pointer; user-select: none; }
.fb-filter-chk input { width: 15px; height: 15px; accent-color: var(--navy); margin: 0; }
.fb-type { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.fb-type select { font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; }
@media (max-width: 640px) {
  .fb-sum { grid-template-columns: 3.3rem 2.7rem minmax(0, 1fr) 1.1rem; }
  .fb-name { white-space: normal; }
  .fb-tags { grid-column: 1 / -1; justify-content: flex-start; }
  .fb-sum::after { grid-column: 4; }
}
.fb-view { display: inline-flex; gap: 0; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.fb-view-b { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .8rem; font-weight: 700;
  color: var(--muted); background: none; border: none; padding: 7px 13px; cursor: pointer; transition: background .15s, color .15s; }
.fb-view-b + .fb-view-b { border-left: 1px solid var(--line); }
.fb-view-b .ico { width: 1em; height: 1em; }
.fb-view-b:hover { color: var(--ink); }
.fb-view-b.is-on { background: var(--red); color: #fff; }
.fb-list[hidden], .fb-grid-wrap[hidden] { display: none; }
.fb-grid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fb-grid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .84rem; }
.fb-grid th, .fb-grid td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: center; vertical-align: middle; }
.fb-grid thead th { position: sticky; top: 0; z-index: 2; background: var(--bg-gray); font-size: .78rem; border-bottom: 2px solid var(--line); }
.fb-grid .fb-g-a { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 600;
  min-width: 14rem; max-width: 22rem; border-right: 1px solid var(--line); }
.fb-grid thead .fb-g-a { z-index: 3; background: var(--bg-gray); }
.fb-grid .fb-g-a a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; }
.fb-grid .fb-g-a a:hover { border-bottom-color: var(--red); color: var(--red); }
.fb-grid .fb-g-a .chip { margin-left: 7px; }
.fb-g-co { display: block; font-weight: 800; color: var(--ink); }
.fb-g-n { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.fb-grid td.is-on { background: var(--red-50); }
.fb-g-due { font-size: .76rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.fb-grid td.is-closed { background: none; }
.fb-grid td.is-closed .fb-g-due { color: var(--muted); font-weight: 600; text-decoration: line-through; }
.fb-g-no { color: #cbd5e1; }
.fb-list .admin-row.is-hi { box-shadow: 0 0 0 2px var(--red); transition: box-shadow .2s; }
.fb-files { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg-gray); }
.fb-file { display: flex; align-items: center; gap: 8px; font-size: .84rem; cursor: pointer; min-width: 0; }
.fb-file input { accent-color: var(--red); margin: 0; flex: none; }
.fb-file .chip { flex: none; }
.fb-file-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--body); }
.fb-file-all { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--red); }
.fb-edit .cls-form { margin-top: 8px; }
.dp-move { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; font-size: .82rem; font-weight: 600; color: var(--body); }
.dp-move select { font: inherit; font-size: .82rem; font-weight: 700; color: var(--ink); padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.dp-move .link-btn { font-size: .82rem; }
.dp-move-help { flex-basis: 100%; font-size: .74rem; font-weight: 500; color: var(--muted); }
.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; }
  .site-footer .footer-bottom a { display: inline-block; padding: 6px 0; margin: -6px 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%; }
}
.teach-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 2px; }
.teach-logo { font-weight: 800; letter-spacing: -.02em; color: var(--navy, #1e2a4a); font-size: 1.05rem; }
.teach-logo em { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; color: #d4242a; border: 1px solid #f0b6b8; border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.teach-lang { font-size: .82rem; color: #6b7280; }
.teach-lang a { color: #6b7280; text-decoration: none; }
.teach-lang a.on { color: var(--ink, #111827); font-weight: 700; }
.teach-hero { max-width: 460px; text-align: left; }
.teach-hero h1 { font-size: 1.45rem; letter-spacing: -.02em; }
.teach-feats { list-style: none; margin: 14px 0 22px; padding: 0; }
.teach-feats li { position: relative; padding: 6px 0 6px 26px; font-size: .92rem; color: #334155; line-height: 1.45; }
.teach-feats li::before { content: '✓'; position: absolute; left: 2px; top: 6px; color: #0a7d2c; font-weight: 800; }
.teach-form-h { font-size: 1rem; font-weight: 800; margin: 4px 0 10px; }
.teach-hero .fld { margin: 0 0 12px; }
.teach-hero form .btn { margin-top: 4px; }
.teach-signup { margin-top: 18px; border-top: 1px solid var(--line, #e7e9ef); padding-top: 14px; }
.teach-signup > summary { cursor: pointer; font-weight: 700; color: var(--navy, #1e2a4a); font-size: .92rem; }
.teach-signup form { margin-top: 12px; }
.teach-wiz { max-width: 560px; margin: 18px auto 60px; }
.teach-wiz h1 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 4px; }
.step-bar { display: flex; gap: 8px; list-style: none; margin: 18px 0 22px; padding: 0; }
.step-bar li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); border-bottom: 3px solid var(--line); padding-bottom: 8px; }
.step-bar li span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #eef1f6; color: var(--body); font-size: .78rem; }
.step-bar li.on { color: var(--navy, #1e2a4a); border-color: var(--navy, #1e2a4a); }
.step-bar li.on span { background: var(--navy, #1e2a4a); color: #fff; }
.step-bar li.done { color: #0a7d2c; border-color: #bfe3c9; }
.step-bar li.done span { background: #e5f4e9; color: #0a7d2c; }
.slug-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.slug-row > span { font-size: .85rem; color: #6b7280; white-space: nowrap; }
.slug-row .fld { flex: 1 1 160px; min-width: 0; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 10px; }
.wiz-nav .btn { margin-top: 0; }
.teach-out { margin-top: 34px; text-align: center; }
.teach-hello { margin: -8px 0 18px; }
.admin-head-actions { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.admin-head-actions a, .admin-head-actions .link-btn { white-space: nowrap; }
.teach-links { border: 1px solid var(--line, #e7e9ef); border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 26px; }
.tl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef1f6; flex-wrap: wrap; }
.tl-row:last-child { border-bottom: 0; }
.tl-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-info .small { word-break: break-all; }
.tl-act { display: flex; gap: 8px; flex: none; }
.teach-check { list-style: none; margin: 0 0 26px; padding: 0; }
.teach-check li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #eef1f6; font-size: .92rem; color: #334155; line-height: 1.5; }
.teach-check li a { flex: none; font-weight: 700; white-space: nowrap; }
.teach-check .tc-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #eef1f6; color: #6b7280; font-size: .8rem; font-weight: 800; margin-top: 1px; }
.teach-check li.ok .tc-mark { background: #e5f4e9; color: #0a7d2c; }
.teach-check li.ok span:not(.tc-mark) { color: #6b7280; }
.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: #475569; 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-pair { display: flex; flex-direction: column; }
.th-pair .th-item { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.th-fb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-decoration: none;
  padding: 10px 16px; font-size: .8rem; font-weight: 700; color: var(--navy);
  background: #f5f8ff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 12px 12px; }
.th-fb + .th-fb { border-radius: 0; }
.th-pair .th-fb:last-child { border-radius: 0 0 12px 12px; }
.th-fb:hover { background: #eef3ff; }
.th-fb-n { font-weight: 600; color: var(--muted); font-size: .74rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-when { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--bg-gray);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.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; }
.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); min-width: 0; }
.bd-pick-l { flex: none; }
.bd-pick .filepick { flex: 1; min-width: 0; max-width: 260px; padding: 5px 8px; }
.bd-pick .filepick-btn { font-size: .78rem; padding: 6px 11px; }
.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; }
@media (max-width: 900px), (pointer: coarse) { .bd-reply-form .fld { font-size: 16px; } }
.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-pick { flex: 1 1 100%; }
  .bd-pick .filepick { 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); }
.dp-chip-x { border-style: dashed; border-color: #b9c4d8; background: #f7f9fc; }
.dp-chip-x .day-badge { background: #fff; color: var(--navy); border: 2px solid var(--navy); width: auto; min-width: 30px; padding: 0 6px; font-size: .8rem; letter-spacing: -.02em; }
.dp-chip-co { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; font-weight: 700; color: var(--navy); line-height: 1; }
.dp-chip.is-on { 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-xhint { margin: -6px 0 12px; }
.dp-xadd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; padding: 10px 12px; border: 1px dashed #b9c4d8; border-radius: var(--r-md); background: #f7f9fc; font-size: .82rem; font-weight: 600; color: var(--body); }
.dp-xadd-t { margin-right: 2px; }
.dp-xadd-f { display: inline; margin: 0; }
.dp-xadd-btn { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.dp-xadd-btn:hover { background: var(--navy); color: #fff; }
.dp-xadd-btn.is-have { border-color: #b9c4d8; color: var(--muted); background: transparent; }
.dp-xadd-btn.is-have:hover { color: var(--navy); border-color: var(--navy); background: #fff; }
.dp-xadd .dp-move-help { flex-basis: 100%; }
.dp-xdel { margin-top: 12px; }
.day-card.is-extra > summary .day-badge { width: auto; min-width: 36px; padding: 0 8px; font-size: .85rem; letter-spacing: -.02em; }
.up-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15, 23, 42, .1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.up-bar[hidden] { display: none; }
.up-track { height: 6px; border-radius: 999px; background: var(--bg-gray); overflow: hidden; }
.up-fill { height: 100%; width: 0; background: var(--red); border-radius: 999px; transition: width .2s linear; }
.up-txt { margin: 7px 0 0; font-size: .82rem; font-weight: 700; color: var(--ink); }
.up-bar.is-bad .up-fill { background: var(--muted); }
.up-bar.is-bad .up-txt { color: var(--red); }
.btn.is-busy { opacity: .55; cursor: default; }
@media (pointer: coarse) {
  input, select, textarea, .fld { font-size: 16px !important; }
  .admin-bar .ab-sec select { font-size: 1.02rem !important; }
  .btn, .btn-sm, .link-btn, .fb-view-b, .sc-sw, .sc-tab, .rc-btn, .live-btn,
  .dp-xadd-btn, .sh-doc, .g-sort a, .dk-n, .brand, .gview-btn, .teach-lang a,
  .admin-row-actions a, .ho-act a
    { min-height: 40px; display: inline-flex; align-items: center; }
  .teach-lang a { padding: 0 8px; }
  .fb-view-b { padding: 0 14px; }
}
.menu-switch { display: inline-flex; gap: 4px; padding: 4px; margin: -4px 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.ms-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; }
.ms-btn .ico { width: 16px; height: 16px; }
.ms-btn:hover { color: var(--ink); background: var(--bg-gray); }
.ms-btn.is-on { background: var(--red); color: #fff; }
.ms-btn.is-on:hover { background: var(--red-dark); color: #fff; }
.tm-row { text-decoration: none; color: inherit; }
.tm-row > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tm-when { display: inline-flex; gap: 8px; font-variant-numeric: tabular-nums; font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tm-row.is-today .tm-day { color: var(--red); font-weight: 800; }
.tm-name { font-size: .95rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.tm-title { font-size: .88rem; color: var(--body); }
.tm-row .chips { margin-top: 0; }
.tm-list { margin-bottom: 20px; }
.tm-sep { margin-top: 22px; }
.tm-sub { margin-bottom: 8px; }
.tm-sub .sub-row { margin-bottom: 0; }
.tm-inbox .sc-tabs { margin-bottom: 14px; }
.fb-pin-opt { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: .86rem; line-height: 1.55; }
.fb-pin-opt input { margin-top: 3px; flex: none; width: 16px; height: 16px; }
.fb-pin-opt .opt { display: block; margin-top: 2px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.fb-pin .fb-ld-l { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; cursor: pointer; }
.fb-pin input[type=checkbox] { width: 15px; height: 15px; margin: 0; }
.fb-get { margin-top: 14px; }
.fb-get-list { list-style: none; margin: 0 0 8px; padding: 0; }
.fb-get-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.fb-get-list li:first-child { border-top: 0; padding-top: 0; }
.fb-get-when { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fb-get .fb-dl { margin-top: 0; }
.fb-get-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fb-get-form .fld { flex: 1 1 130px; margin: 0; min-width: 0; }
.fb-get-form .btn { flex: none; }
.chip-wait { color: #a16207; border-left: 3px solid #d97706; }
.fb-open { flex-wrap: wrap; row-gap: 6px; }
.fb-grid td.is-wait { background: #fffbeb; }
.fb-grid td.is-wait .fb-g-due { color: #a16207; }
@media (max-width: 900px), (pointer: coarse) {
  .fld, input, select, textarea,
  input[type=text], input[type=number], input[type=password], input[type=email],
  input[type=date], input[type=time], input[type=datetime-local], input[type=search] {
    font-size: 16px !important;
  }
  .dz input[type=file], .filepick input[type=file], .sub-fb-pick input[type=file] { font-size: 0 !important; }
}
@media (max-width: 700px) {
  .tabbar-util { flex-wrap: wrap; overflow-x: visible; }
}
.xfade { position: relative; }
.xfade::before, .xfade::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none;
  opacity: 0; transition: opacity .15s; z-index: 2;
}
.xfade::before { left: 0;  background: linear-gradient(to right, var(--bg-gray), transparent); }
.xfade::after  { right: 0; background: linear-gradient(to left,  var(--bg-gray), transparent); }
.xfade.has-l::before, .xfade.has-r::after { opacity: 1; }
.filepick { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 9px 12px; background: #fff; cursor: pointer; }
.filepick input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filepick-btn { flex: none; border-radius: 8px; background: var(--navy); color: #fff;
  font-size: .86rem; font-weight: 700; padding: 8px 14px; white-space: nowrap; }
.filepick-name { flex: 1; min-width: 0; color: var(--muted); font-size: .88rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filepick.has-file { border-color: #94a3b8; }
.filepick.has-file .filepick-name { color: var(--ink); font-weight: 600; }
.filepick:hover { border-color: var(--navy); }
.filepick:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.theme-tut .filepick-btn { background: var(--navy); }
.sub-row > summary .sub-name { flex: none; max-width: 100%; }
.sub-row > summary .chips { min-width: 0; }
.sub-row > summary .chip { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) {
  .sub-row > summary { row-gap: 6px; }
  .sub-row > summary .chip { max-width: 100%; }
  .sub-row .sub-when { margin-left: 0; }
}
.sub-fold > summary { list-style: none; cursor: pointer; font-weight: 800; font-size: .9rem;
  color: var(--navy); padding: 10px 0; }
.sub-fold > summary::-webkit-details-marker { display: none; }
.sub-fold > summary::before { content: '＋ '; }
.sub-fold[open] > summary::before { content: '－ '; }
.sub-fold > summary .sub-fold-on { color: var(--red); }
@media (min-width: 761px) { .sub-fold > summary { display: none; } }
@media (max-width: 700px) {
  .mock-writing { min-height: 8.5rem; height: 8.5rem; field-sizing: content; max-height: 60vh; }
}
.day-soon { display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  border: 1px dashed var(--line); border-radius: 14px; background: transparent; color: var(--muted); font-size: .9rem; }
.day-soon .day-soon-n { font-weight: 800; color: #94a3b8; letter-spacing: .01em; }
.live-btn.is-live { color: var(--body); border-color: #cbd5e1; font-weight: 700; }
.lang-switch a.on { opacity: 1; outline: 0; background: var(--red-50); }
@media (max-width: 700px) { .site-footer { padding: 30px 0 24px; } }
.section .container > :last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .cls-row > .f { flex: 1 1 100% !important; min-width: 0; }
}
.cls-row > .f:has(input[type=month]),
.cls-row > .f:has(input[type=date]) { min-width: 11.5rem; }
.cohort-exp:has(input[type=month]) .fld,
.cohort-exp:has(input[type=date]) .fld { width: auto; min-width: 11.5rem; }
@media (max-width: 560px) {
  .fb-get-form .fld { flex: 1 1 100%; }
  .fb-get-form .btn { flex: 1 1 100%; }
}
.dp-move-fold { margin-top: 14px; }
.dp-move-fold > summary { list-style: none; cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--muted); }
.dp-move-fold > summary::-webkit-details-marker { display: none; }
.dp-move-fold > summary::before { content: '＋ '; }
.dp-move-fold[open] > summary::before { content: '－ '; }
.dp-move-fold > summary:hover { color: var(--navy); }
.dp-move-fold .dp-move { margin-top: 10px; }
.stale-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 62; display: flex; align-items: center; gap: 10px; margin: 0 auto; max-width: 620px;
  background: var(--navy, #1e2a4a); color: #fff; border-radius: 12px;
  padding: 11px 12px 11px 15px; box-shadow: 0 8px 28px rgba(15, 23, 42, .28); }
.stale-bar p { margin: 0; flex: 1 1 auto; font-size: .84rem; font-weight: 700; line-height: 1.45; }
.stale-bar .stale-go { flex: none; background: #fff; color: var(--navy, #1e2a4a); font-weight: 800; }
.stale-bar .stale-go:hover { background: #e8edf7; color: var(--navy, #1e2a4a); }
.stale-bar .stale-x { flex: none; border: 0; background: none; color: #fff; opacity: .6;
  font-size: 1rem; line-height: 1; padding: 6px; cursor: pointer; }
.stale-bar .stale-x:hover { opacity: 1; }
.up-bar:not([hidden]) ~ .stale-bar { bottom: calc(64px + env(safe-area-inset-bottom)); }
.bug-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.bug-item > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start;
  gap: 10px; padding: 11px 13px; }
.bug-item > summary::-webkit-details-marker { display: none; }
.bug-item.is-done { background: #fbfcfd; }
.bug-item.is-done > summary { opacity: .62; }
.bug-item.is-done[open] > summary, .bug-item.is-done > summary:hover { opacity: 1; }
.bug-item-head { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bug-item-t { font-size: .88rem; line-height: 1.45; word-break: break-word; }
.bug-item-body { padding: 0 13px 13px; }
.bug-item-body .md { font-size: .86rem; line-height: 1.6; margin-bottom: 10px; }
.bug-shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bug-shots img { max-width: 220px; max-height: 220px; border: 1px solid var(--line);
  border-radius: 8px; display: block; }
.bug-meta { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px;
  margin: 10px 0 0; font-size: .76rem; }
.bug-meta dt { color: var(--muted); font-weight: 700; }
.bug-meta dd { margin: 0; color: var(--ink); word-break: break-all; }
.bug-item-tools { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.bug-item-tools form { margin: 0; }
@media (max-width: 560px) {
  .bug-shots img { max-width: 100%; }
  .bug-meta { grid-template-columns: 1fr; gap: 1px; }
  .bug-meta dt { margin-top: 6px; }
}
