@font-face { font-family:'Paperlogy'; font-weight:400; font-style:normal; font-display:swap; src:url(../assets/fonts/paperlogy-400.woff2) format('woff2'); }
@font-face { font-family:'Paperlogy'; font-weight:500; font-style:normal; font-display:swap; src:url(../assets/fonts/paperlogy-500.woff2) format('woff2'); }
@font-face { font-family:'Paperlogy'; font-weight:600; font-style:normal; font-display:swap; src:url(../assets/fonts/paperlogy-600.woff2) format('woff2'); }
@font-face { font-family:'Paperlogy'; font-weight:700; font-style:normal; font-display:swap; src:url(../assets/fonts/paperlogy-700.woff2) format('woff2'); }
/* 수강생 영역 공통 스타일. 색·버튼·상자 규칙은 메인 홈페이지(index.html)와 같게 유지합니다. */
:root { --plum:#5B3354; --plum-d:#43243E; --gold:#C8A868; --gold-text:#7A5E22; --tint:#F4EEF3; --bg:#fff; --card:var(--tint); --text:#221A21; --sub:#6A5F69; --line:#E6DDE4; --line-d:#DCCFD9; --field:#A48DA0; --err:#B3261E; --ok:#1E6B3A; --surface:#fff; --hdr:rgba(255,255,255,.95); --fill:#5B3354; --fill-h:#43243E; --on-fill:#fff; --err-bg:#FCEBEA; --ok-bg:#E8F5EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#1A1319; --hdr:rgba(26,19,25,.94); --text:#EDE6EC; --sub:#B9ADB7; --line:#3A2D38; --line-d:#4A3B47; --tint:#251B23; --surface:#241A22; --plum:#DDB9D5; --plum-d:#DDB9D5; --gold:#7D6C45; --gold-text:#D6B97C; --fill:#DDB9D5; --fill-h:#EBD3E6; --on-fill:#1A1319; --field:#8C7389; --err:#FF9A92; --err-bg:#3A1F22; --ok:#7ED6A0; --ok-bg:#17301F; color-scheme:dark; } }
:root[data-theme="dark"] { --bg:#1A1319; --hdr:rgba(26,19,25,.94); --text:#EDE6EC; --sub:#B9ADB7; --line:#3A2D38; --line-d:#4A3B47; --tint:#251B23; --surface:#241A22; --plum:#DDB9D5; --plum-d:#DDB9D5; --gold:#7D6C45; --gold-text:#D6B97C; --fill:#DDB9D5; --fill-h:#EBD3E6; --on-fill:#1A1319; --field:#8C7389; --err:#FF9A92; --err-bg:#3A1F22; --ok:#7ED6A0; --ok-bg:#17301F; color-scheme:dark; }
.theme-btn { flex:none; width:40px; height:40px; display:grid; place-items:center; padding:0; background:none; border:1px solid var(--line); border-radius:3px; color:var(--sub); cursor:pointer; }
.theme-btn:hover { background:none; color:var(--plum); border-color:var(--plum); }
.theme-btn svg { width:20px; height:20px; }
.theme-btn .i-sun { display:none; }
:root[data-theme="dark"] .theme-btn .i-sun { display:block; } :root[data-theme="dark"] .theme-btn .i-moon { display:none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display:block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display:none; } }

* { box-sizing: border-box; }
body { margin:0; font-family:'Paperlogy',-apple-system,BlinkMacSystemFont,system-ui,sans-serif; background:var(--bg); color:var(--text); line-height:1.7; -webkit-font-smoothing:antialiased; word-break:keep-all; overflow-wrap:anywhere; }
a { color:var(--plum); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline:2px solid var(--plum); outline-offset:2px; }

/* 상단 메뉴: 홈페이지 머리글과 같은 높이·로고·글자 */
.site-header { position:sticky; top:0; background:var(--hdr); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); z-index:100; }
.nav-container { max-width:1120px; margin:0 auto; padding:0 24px; min-height:68px; display:flex; flex-wrap:wrap; gap:4px 28px; justify-content:space-between; align-items:center; }
.logo img { display:block; height:42px; width:auto; }
.site-header nav ul { display:flex; flex-wrap:wrap; gap:4px 26px; list-style:none; margin:0; padding:0; align-items:center; }
.site-header nav li { display:flex; align-items:center; gap:6px; }
.site-header nav a, .navbtn { font-size:.95rem; color:var(--sub); text-decoration:none; transition:color .2s ease; padding:6px 0; }
.site-header nav a { display:inline-flex; flex-direction:column; align-items:center; }
.site-header nav a::after { content:attr(data-text); font-weight:600; height:0; visibility:hidden; overflow:hidden; pointer-events:none; } /* 굵게 바뀌어도 폭이 흔들리지 않게 */
.site-header nav a:hover, .navbtn:hover { color:var(--plum); }
.site-header nav a.active { color:var(--plum); font-weight:600; }
button.navbtn { background:none; border:0; border-radius:0; cursor:pointer; font-family:inherit; padding:6px 0; min-height:0; font-weight:400; }
.who { color:var(--text); font-weight:500; font-size:.95rem; }
.badge { min-width:18px; padding:0 6px; border-radius:9px; background:var(--fill); color:var(--on-fill); font-size:.72rem; font-weight:600; text-align:center; line-height:18px; }
@media (max-width:640px) { .nav-container { padding:8px 16px; } .logo img { height:36px; } .logo { order:1; } .theme-btn { order:2; margin-left:auto; width:36px; height:36px; } .site-header nav { order:3; flex-basis:100%; } .site-header nav ul { gap:2px 18px; } .who { display:none; } }
@media (prefers-reduced-motion: reduce) { .site-header nav a, .navbtn { transition:none; } }

.wrap { max-width:1120px; margin:0 auto; padding:48px 24px 72px; }
h1 { font-size:clamp(1.7rem, 3.2vw, 2.3rem); font-weight:700; letter-spacing:-.03em; line-height:1.3; color:var(--plum); margin:0 0 20px; }
h2 { font-size:1.25rem; font-weight:700; letter-spacing:-.02em; line-height:1.4; margin:36px 0 12px; }
.card { background:transparent; border-top:2px solid var(--plum); border-radius:0; padding:24px 0 12px; margin-bottom:22px; }
.card > h1:first-child, .card > h2:first-child { margin-top:0; }
.card h1 { font-size:1.6rem; }
.narrow { max-width:440px; margin-left:auto; margin-right:auto; }
.wrap > .narrow:first-child { margin-top:16px; }
label { display:block; font-size:.9rem; color:var(--sub); margin:14px 0 5px; }
input[type=text], input[type=password], input[type=file], select { width:100%; padding:11px 14px; border:1px solid var(--field); border-radius:4px; font:inherit; color:var(--text); background:var(--surface); }
button, .btn { font:inherit; font-weight:600; padding:10px 22px; border:1.5px solid var(--fill); background:var(--fill); color:var(--on-fill); border-radius:3px; cursor:pointer; text-decoration:none; display:inline-block; touch-action:manipulation; }
button:hover, .btn:hover { background:var(--fill-h); border-color:var(--fill-h); }
button.ghost, .btn.ghost { background:var(--surface); color:var(--plum); border-color:var(--plum); }
button.ghost:hover, .btn.ghost:hover { background:var(--tint); border-color:var(--plum); }
button.danger { background:var(--surface); color:var(--err); border-color:var(--err); }
button.danger:hover { background:var(--err-bg); border-color:var(--err); }
button.navbtn:hover { background:none; }
button.link { background:none; border:0; padding:0; color:var(--sub); cursor:pointer; text-decoration:underline; font-weight:400; }
td button, td .btn { padding:6px 14px; font-size:.86rem; }
form.inline { display:inline; margin:0; }
.msg { padding:12px 16px; border-radius:4px; margin-bottom:16px; font-size:.94rem; }
.msg.err { background:var(--err-bg); color:var(--err); } .msg.ok { background:var(--ok-bg); color:var(--ok); }
.song { margin-bottom:22px; } .song h2 { margin-top:0; color:var(--plum); }
.item { display:grid; grid-template-columns:1fr; gap:8px; padding:16px 0; border-top:1px solid var(--line-d); }
.item:first-of-type { border-top:0; padding-top:4px; }
.item:last-child { padding-bottom:0; }
.item .t { font-weight:600; } .item .m { font-size:.84rem; color:var(--sub); }
audio, video { width:100%; max-width:640px; } video { background:#000; border-radius:0; }
table { width:100%; border-collapse:collapse; font-size:.92rem; } th, td { text-align:left; padding:10px 8px 10px 0; border-top:1px solid var(--line-d); vertical-align:middle; }
th { color:var(--sub); font-weight:500; border-top:0; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; } @media (max-width:640px){ .row2{grid-template-columns:1fr;} }
.tabs { display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; } .tabs a { padding:8px 18px; border:1.5px solid var(--plum); border-radius:3px; text-decoration:none; color:var(--plum); background:var(--surface); font-weight:600; font-size:.94rem; }
.tabs a.on { background:var(--fill); color:var(--on-fill); border-color:var(--fill); }
.pw { font-family:ui-monospace,Menlo,monospace; background:var(--surface); border:1px solid var(--gold); padding:2px 8px; border-radius:6px; }
.muted { color:var(--sub); font-size:.9rem; }

.consent { background:var(--surface); border:1px solid var(--line-d); border-radius:4px; padding:14px 18px; margin-top:18px; font-size:.92rem; }
.consent ul { margin:6px 0 8px 18px; padding:0; }
.consent label.check { display:flex; gap:10px; align-items:flex-start; color:inherit; margin:10px 0; }
.consent label.check input { margin-top:4px; flex:none; width:18px; height:18px; accent-color:var(--plum); }
.site-foot { max-width:1120px; margin:0 auto; padding:0 24px 48px; font-size:.88rem; }
.site-foot a { color:var(--sub); }
.policy { background:none; padding:0; max-width:46em; }
.policy h2 { font-size:1.15rem; margin:30px 0 8px; }
.policy p, .policy li { line-height:1.75; font-size:.96rem; }
.policy ul { padding-left:1.2em; }
.policy table { width:100%; border-collapse:collapse; margin:10px 0; font-size:.92rem; }
.policy th, .policy td { border:1px solid var(--line-d); padding:8px 10px; text-align:left; vertical-align:top; }
.policy th { background:var(--tint); color:var(--text); }
.info { width:100%; border-collapse:collapse; margin:8px 0 12px; }
.info th { width:7em; text-align:left; color:var(--sub); font-weight:500; padding:8px 0; }
.info td { padding:8px 0; }
@media (max-width:640px) { .wrap { padding:32px 16px 56px; } .card { padding:20px 0 10px; } .site-foot { padding:0 16px 40px; } }

/* 자료함 */
.crumbs { margin:0 0 16px; color:var(--sub); } .crumbs a { color:var(--plum); } .crumbs strong { color:var(--text); }
table.drive td:first-child { word-break:break-all; } table.drive .acts { font-size:.86rem; margin:4px 0; } table.drive .acts a { color:var(--plum); }
table.drive audio, table.drive video { margin-top:8px; }
details.more summary { cursor:pointer; color:var(--plum); font-size:.88rem; }
details.more form { margin:8px 0; display:flex; gap:6px; flex-wrap:wrap; } details.more input[type=text], details.more select { width:auto; min-width:140px; padding:6px 10px; }
@media (max-width:640px) { table.drive th:nth-child(n+2):not(:last-child), table.drive td:nth-child(n+2):not(:last-child) { display:none; } }
