/* 학습 플래너 결과 영역(.pl-res) 공용 스타일 — planner.html · mypage.html */
.pl-res .sample-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold); background: rgba(246,201,14,.1); border: 1px solid rgba(246,201,14,.3); border-radius: 100px; padding: 3px 10px; margin-left: 10px; vertical-align: middle; }
.pl-res .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 8px; }
.pl-res .stat { background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; padding: 14px 16px; }
.pl-res .stat .sv { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-family: 'Inter', sans-serif; }
.pl-res .stat .sl { font-size: 11.5px; color: var(--text2); margin-top: 2px; }
.pl-res .today { background: linear-gradient(135deg, rgba(99,179,237,.12), rgba(167,139,250,.08)); border: 1px solid rgba(99,179,237,.35); border-radius: 14px; padding: 18px 20px; margin: 18px 0 6px; }
.pl-res .today .tl { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 6px; }
.pl-res .today .tt { font-size: 16px; font-weight: 700; line-height: 1.5; }
.pl-res .today .ts { font-size: 12.5px; color: var(--text2); margin-top: 4px; }
.pl-res .today a.go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent2); border-radius: 100px; padding: 7px 16px; text-decoration: none; }
.pl-res .bar { height: 8px; background: var(--bg2); border-radius: 100px; overflow: hidden; margin-top: 16px; }
.pl-res .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent2), var(--purple)); width: 0; transition: width .3s; }
.pl-res .bar-cap { font-size: 12px; color: var(--text2); margin-top: 6px; }
.pl-res .tag { font-size: 10.5px; font-weight: 700; padding: 3px 0; border-radius: 100px; text-align: center; }
.pl-res .tag.new { background: rgba(99,179,237,.12); color: var(--accent); }
.pl-res .tag.rev { background: rgba(167,139,250,.14); color: var(--purple); }
.pl-res .tag.fin { background: rgba(246,201,14,.14); color: var(--gold); }
.pl-res .resched { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(252,129,129,.08); border: 1px solid rgba(252,129,129,.35); border-radius: 14px; padding: 16px 18px; margin-top: 18px; font-size: 13.5px; line-height: 1.6; }
.pl-res .resched .pl-btn { flex-shrink: 0; font-size: 13.5px; padding: 10px 18px; }
@media (max-width: 768px) { .pl-res .resched { flex-direction: column; align-items: stretch; } }
.pl-res .cal { margin-top: 26px; }
.pl-res .cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pl-res .cal-h { font-size: 20px; font-weight: 800; text-align: center; }
.pl-res .cal-h small { display: block; font-size: 11px; font-weight: 500; color: var(--text3); margin-top: 2px; }
.pl-res .cal-btn { font: 400 26px/1 'Inter', sans-serif; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg2); color: var(--text); cursor: pointer; }
.pl-res .cal-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pl-res .cal-btn:disabled { opacity: .25; cursor: default; }
.pl-res .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pl-res .cal-w { font-size: 14px; font-weight: 700; color: var(--text); text-align: center; padding: 6px 0; }
.pl-res .cal-w:nth-child(6) { color: var(--accent); }
.pl-res .cal-w:nth-child(7) { color: var(--red); }
.pl-res .cal-c { position: relative; min-height: 100px; background: var(--bg2); border: 1px solid var(--border2); border-left-width: 3px; border-radius: 10px; padding: 8px 8px 8px 9px; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.pl-res .cal-c.off { background: none; border: 0; cursor: default; }
.pl-res .cal-c.empty { cursor: default; }
.pl-res .cal-c.empty .cn { color: var(--text2); font-weight: 600; }
.pl-res .cal-c.new { border-left-color: var(--accent2); }
.pl-res .cal-c.rev { border-left-color: var(--purple); background: rgba(167,139,250,.06); }
.pl-res .cal-c.fin { border-left-color: var(--gold); background: rgba(246,201,14,.06); }
.pl-res .cal-c:not(.empty):not(.off):hover, .pl-res .cal-c.sel { border-color: var(--accent); }
.pl-res .cal-c.isToday { box-shadow: 0 0 0 2px var(--accent) inset; }
.pl-res .cal-c.done { opacity: .45; }
.pl-res .cal-c.late .cn { color: var(--red); }
.pl-res .cal-c .cn { font: 800 16px 'Inter', sans-serif; color: var(--text); }
.pl-res .cal-c input { position: absolute; top: 7px; right: 7px; width: 15px; height: 15px; accent-color: var(--accent2); cursor: pointer; }
.pl-res .cal-c .ci { font-size: 13px; font-weight: 600; line-height: 1.4; margin-top: 4px; color: var(--text); }
.pl-res .cal-c .cc { font-size: 12px; color: var(--text2); margin-top: 3px; }
.pl-res .cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; color: var(--text3); }
.pl-res .cal-legend .tag { padding: 3px 12px; }
@media (max-width: 768px) { .pl-res .cal-grid { gap: 3px; } .pl-res .cal-c { min-height: 62px; padding: 5px 4px 4px 6px; } .pl-res .cal-c .ci { font-size: 10.5px; } .pl-res .cal-c .cn { font-size: 14px; } .pl-res .cal-w { font-size: 12px; } .pl-res .cal-h { font-size: 17px; } .pl-res .cal-c .cc { display: none; } .pl-res .cal-c input { width: 12px; height: 12px; top: 4px; right: 3px; } }
.pl-res .pl-btn { font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: var(--accent2); border: 0; border-radius: 12px; padding: 13px 26px; cursor: pointer; margin-top: 24px; transition: filter .15s; }
.pl-res .pl-btn:hover { filter: brightness(1.12); }
.pl-res .pl-btn:disabled { opacity: .4; cursor: not-allowed; }
.pl-res .pl-note { font-size: 12px; color: var(--text3); margin-top: 10px; line-height: 1.6; }
.pl-res .pl-card h2, .pl-res .pl-res h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.pl-res .pl-res .pl-hint { font-size: 12.5px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.pl-res .pl-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.pl-res .pl-ghost { font: inherit; font-size: 13px; color: var(--text2); background: none; border: 1px solid var(--border2); border-radius: 100px; padding: 8px 16px; cursor: pointer; }
.pl-res .pl-ghost:hover { color: var(--text); border-color: var(--border); }
.pl-res a.pl-ghost { text-decoration: none; display: inline-block; }
.pl-res .pin-note { font-size: 12px; color: var(--accent); }
@media (max-width: 768px) { .pl-res .stats { grid-template-columns: 1fr 1fr; } }
