body.study-tools-body{background:#F0F4F8;color:var(--text-dark,#2D3436);min-height:100vh;overflow:hidden;}
body.study-tools-body #app-wrapper{display:flex;height:100vh;width:100vw;}
body.study-tools-body .main-content{gap:22px;padding:40px 50px 28px;}
body.study-tools-body .main-content>*{position:relative;z-index:1;}
.study-tabbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:4px;}
.study-tabbar a{height:42px;padding:0 16px;border:1px solid #E7E9F2;border-radius:14px;background:#fff;color:#596171;font-weight:900;display:inline-flex;align-items:center;text-decoration:none;box-shadow:0 6px 16px rgba(34,38,60,.04);}
.study-tabbar a.active{background:var(--primary,#6C5CE7);border-color:var(--primary,#6C5CE7);color:#fff;box-shadow:0 12px 22px rgba(108,92,231,.22);}
.study-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.study-stat{background:#fff;border:1px solid #EEF0F6;border-radius:22px;padding:18px 20px;box-shadow:var(--shadow-card,0 4px 20px rgba(0,0,0,.03));}
.study-stat span{display:block;color:#7b8190;font-size:.82rem;font-weight:900;margin-bottom:8px;}
.study-stat b{display:block;font-size:1.55rem;letter-spacing:-.04em;color:#22283a;}
.study-page-grid{display:grid;gap:18px;}
.study-page-grid.main{grid-template-columns:1.18fr .82fr;}
.study-page-grid.triple{grid-template-columns:repeat(3,1fr);}
.study-panel{background:#fff;border:1px solid rgba(108,92,231,.08);border-radius:24px;padding:24px;box-shadow:var(--shadow-card,0 4px 20px rgba(0,0,0,.03));min-width:0;}
.study-panel.wide{min-height:300px;}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #EEF0F6;}
.panel-head h2{margin:0;font-size:1.18rem;font-weight:950;letter-spacing:-.04em;color:#252b3a;}
.panel-head p{margin:6px 0 0;color:#68707f;font-size:.9rem;font-weight:600;line-height:1.5;}
.panel-head button,.tool-actions button,.assignment-add button,.quick-record button,.segment-form button,.teacher-brief-card button{border:0;border-radius:12px;background:var(--primary,#6C5CE7);color:#fff;font-weight:950;height:38px;padding:0 13px;cursor:pointer;white-space:nowrap;}
button.ghost,.tool-actions .ghost,.segment-form .ghost{background:#F4F5FA!important;color:#525A68!important;border:1px solid #E7E9F2!important;}
.training-list{display:flex;flex-direction:column;gap:10px;}
.training-item{display:grid;grid-template-columns:32px 1fr auto;gap:12px;align-items:center;border:1px solid #EEF0F6;background:#FBFCFF;border-radius:16px;padding:13px;}
.training-item>span{width:32px;height:32px;border-radius:12px;background:#F0EDFF;color:var(--primary,#6C5CE7);display:flex;align-items:center;justify-content:center;font-weight:950;}
.training-item b,.assignment-row b,.weak-item b,.retry-item b,.teacher-brief-grid b{display:block;color:#2B3140;font-size:.94rem;line-height:1.35;word-break:keep-all;}
.training-item em,.assignment-row span,.weak-item span,.retry-item span{display:block;font-style:normal;color:#777F8F;font-size:.8rem;line-height:1.45;margin-top:3px;word-break:keep-all;}
.training-item button,.assignment-row button,.weak-item button{height:32px;border:1px solid #E2E5EF;border-radius:10px;background:#fff;color:#4D5565;font-weight:900;padding:0 10px;cursor:pointer;}
.assignment-add{display:flex;gap:8px;margin-bottom:12px;}
.assignment-add input{flex:1;height:40px;border:1px solid #DFE3EC;border-radius:12px;padding:0 12px;font-weight:700;}
.assignment-list,.weak-list,.retry-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow:auto;padding-right:2px;}
.assignment-row,.weak-item,.retry-item{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;border:1px solid #EEF0F6;background:#fff;border-radius:15px;padding:12px;}
.assignment-row.done{background:#F3FBF7;border-color:#D7F0E4;}
.assignment-row.done b{text-decoration:line-through;color:#85918D;}
.weak-item.due{border-color:#FFD8D8;background:#FFF8F8;}
.weak-item strong,.retry-item strong{font-size:1rem;color:#2B3140;white-space:nowrap;}
.retry-item strong.good{color:#008A68}.retry-item strong.bad{color:#CF3E45}.weak-item em,.retry-item em{font-style:normal;color:#68707f;font-size:.8rem;white-space:nowrap;}
.empty-box{border:1px dashed #CBD1DE;background:#FAFBFE;border-radius:16px;padding:18px;color:#68707f;font-weight:700;line-height:1.55;}
.empty-box.error{border-color:#FFD0D0;background:#FFF7F7;color:#C0392B;}
.segment-trainer input[type=file]{width:100%;border:1px solid #DFE3EC;border-radius:13px;background:#FAFBFE;padding:10px;margin-bottom:10px;}
.segment-trainer audio{width:100%;margin-bottom:12px;}
.segment-form{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:end;}
.segment-form button{grid-column:auto;}
.segment-form label,.quick-record label,.dday-form label{font-size:.78rem;font-weight:900;color:#667085;}
.segment-form input,.quick-record input,.number-drill textarea{width:100%;border:1px solid #DFE3EC;border-radius:12px;background:#fff;height:38px;padding:0 10px;font-weight:800;margin-top:5px;}
.segment-status,.drill-result{margin-top:12px;border-radius:14px;background:#F8F9FD;border:1px solid #EEF0F6;padding:12px;color:#68707f;font-size:.86rem;font-weight:700;line-height:1.45;}
.ladder-box{display:flex;flex-direction:column;gap:14px;}
.ladder-current{border-radius:18px;background:linear-gradient(135deg,#6C5CE7,#A29BFE);color:#fff;padding:18px;}
.ladder-current span{display:block;font-size:.8rem;font-weight:900;opacity:.85}.ladder-current b{display:block;font-size:2rem;letter-spacing:-.05em}.ladder-current em{display:block;font-style:normal;font-weight:900;}
.ladder-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.ladder-steps div{border:1px solid #EEF0F6;border-radius:14px;padding:12px;text-align:center;background:#FBFCFF;}
.ladder-steps div.active{background:#F0EDFF;border-color:#DCD5FF;}.ladder-steps div.muted{opacity:.45;}
.ladder-steps span{display:block;color:#8A90A0;font-size:.75rem;font-weight:900}.ladder-steps b{display:block;margin-top:4px;color:#2B3140;}
.ladder-box p{margin:0;color:#404756;font-weight:800;line-height:1.5;}.ladder-box small{color:#7E8490;font-weight:700;}
.number-drill .drill-phrases{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:10px;}
.number-drill .drill-phrases span{border:1px solid #EEF0F6;background:#FBFCFF;border-radius:12px;padding:8px 10px;font-size:.84rem;font-weight:850;color:#3E4553;}
.number-drill textarea{height:112px;resize:vertical;padding:12px;line-height:1.5;}
.tool-actions{display:flex;gap:8px;margin-top:10px;}.drill-result b{display:block;color:#2B3140;margin-bottom:4px;}.drill-result span{display:block;}
.quick-record{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}.quick-record button{grid-column:1/-1;height:42px;}
.cause-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}.cause-buttons button{border:1px solid #E2E5EF;background:#fff;color:#4D5565;border-radius:999px;height:34px;padding:0 12px;font-weight:900;cursor:pointer;}
.cause-summary{border:1px solid #EEF0F6;background:#FBFCFF;border-radius:16px;padding:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}.cause-summary>b{width:100%;color:#2B3140}.cause-summary span{background:#fff;border:1px solid #E8EAF2;border-radius:999px;padding:6px 10px;font-size:.82rem;font-weight:850;color:#545C6B;}
.teacher-brief-card{margin-bottom:18px;}.teacher-brief-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}.teacher-brief-grid div{border:1px solid #EEF0F6;background:#FBFCFF;border-radius:18px;padding:16px;}.teacher-brief-grid p{margin:8px 0 0;color:#5E6675;font-size:.9rem;font-weight:700;line-height:1.55;word-break:keep-all;}

.panel-link-btn{
  height:38px;
  padding:0 14px;
  border-radius:12px;
  background:var(--primary,#6C5CE7);
  color:#fff;
  font-weight:950;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 10px 18px rgba(108,92,231,.18);
  white-space:nowrap;
}
.intermediate-panel{scroll-margin-top:90px;}
.intermediate-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:14px;
}
.intermediate-summary-card{
  border:1px solid #EEF0F6;
  background:#FBFCFF;
  border-radius:16px;
  padding:14px;
  min-width:0;
}
.intermediate-summary-card.wide{grid-column:span 1;}
.intermediate-summary-card span{
  display:block;
  color:#7B8393;
  font-size:.76rem;
  font-weight:950;
  margin-bottom:6px;
}
.intermediate-summary-card b{
  display:block;
  color:#252B3A;
  font-size:1.08rem;
  line-height:1.35;
  letter-spacing:-.03em;
  word-break:keep-all;
}
.intermediate-level-board{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.intermediate-level-row{
  border:1px solid #EEF0F6;
  background:#fff;
  border-radius:16px;
  padding:12px;
}
.intermediate-level-row.passed{
  background:#F3FFF9;
  border-color:#CCF0DF;
}
.intermediate-level-row.locked{
  background:#F6F7FA;
  opacity:.72;
}
.level-row-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.level-row-head b{
  color:#252B3A;
  font-size:.98rem;
  font-weight:950;
}
.level-row-head span{
  color:#697386;
  font-size:.82rem;
  font-weight:900;
}
.level-file-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.level-file-list em{
  color:#9AA2B2;
  font-style:normal;
  font-size:.82rem;
  font-weight:800;
}
.intermediate-file-chip{
  min-height:34px;
  padding:6px 10px;
  border:1px solid #E4E8F2;
  border-radius:999px;
  background:#FBFCFF;
  color:#4C5566;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:.82rem;
  font-weight:900;
}
.intermediate-file-chip span{
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.intermediate-file-chip b{
  color:#6C5CE7;
  font-size:.78rem;
}
.intermediate-file-chip.passed{
  background:#ECFFF7;
  border-color:#BFECDD;
  color:#007A63;
}
.intermediate-file-chip.passed b{color:#008E72;}
.intermediate-file-chip.locked{
  pointer-events:none;
  background:#EEF1F6;
  color:#9AA2B2;
}
.intermediate-recent-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:420px;
  overflow:auto;
}
.intermediate-recent-item{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:10px;
  align-items:center;
  border:1px solid #EEF0F6;
  background:#FBFCFF;
  border-radius:15px;
  padding:12px;
}
.intermediate-recent-item b{
  display:block;
  color:#2B3140;
  font-size:.92rem;
  line-height:1.35;
}
.intermediate-recent-item span{
  display:block;
  margin-top:3px;
  color:#777F8F;
  font-size:.8rem;
  font-weight:800;
}
.intermediate-recent-item strong{
  color:#2B3140;
  font-weight:950;
  white-space:nowrap;
}
.intermediate-recent-item em{
  color:#68707f;
  font-style:normal;
  font-size:.8rem;
  font-weight:850;
  white-space:nowrap;
}

@media (max-width:1200px){.study-page-grid.main,.study-page-grid.triple{grid-template-columns:1fr}.teacher-brief-grid,.study-stat-grid{grid-template-columns:repeat(2,1fr)}.intermediate-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){body.study-tools-body{overflow:auto}body.study-tools-body .main-content{padding:70px 20px 24px}.study-stat-grid,.teacher-brief-grid,.intermediate-summary-grid{grid-template-columns:1fr}.training-item,.assignment-row,.weak-item,.retry-item,.intermediate-recent-item{grid-template-columns:1fr}.training-item>span{display:none}.segment-form,.quick-record{grid-template-columns:1fr}.number-drill .drill-phrases{grid-template-columns:1fr}.panel-head{flex-direction:column}.panel-link-btn{width:100%}.study-tabbar a{flex:1;justify-content:center}}

.study-time-room-stat{background:linear-gradient(135deg,#fff 0%,#F5F8FF 100%);border-color:#DDE7FF;}

/* study-1to6-safe-20260502: 기존 공부시간/메뉴 보존형 학습 기능 1~6 추가 */
.study-prescription-panel{margin:4px 0 18px;}
.prescription-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.prescription-card{border:1px solid #E7EAF3;background:linear-gradient(135deg,#FFFFFF 0%,#F7F9FF 100%);border-radius:18px;padding:16px;min-height:96px;}
.prescription-card span{display:block;color:#6C5CE7;font-size:.78rem;font-weight:950;margin-bottom:8px;}
.prescription-card b{display:block;color:#252B3A;font-size:1rem;line-height:1.45;letter-spacing:-.03em;word-break:keep-all;}
.abbr-wrong-vault{display:flex;flex-direction:column;gap:12px;}
.abbr-wrong-summary{display:flex;flex-wrap:wrap;gap:8px;}
.abbr-wrong-summary span{background:#F3F0FF;border:1px solid #DED7FF;color:#5D4AD8;border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:950;}
.abbr-wrong-actions a{height:38px;padding:0 14px;border-radius:12px;background:#6C5CE7;color:#fff;font-weight:950;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 10px 18px rgba(108,92,231,.16);}
.abbr-wrong-list{display:flex;flex-direction:column;gap:9px;max-height:360px;overflow:auto;padding-right:2px;}
.abbr-wrong-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid #EEF0F6;background:#FBFCFF;border-radius:15px;padding:12px;}
.abbr-wrong-item b{display:block;color:#252B3A;font-size:.96rem;line-height:1.35;}
.abbr-wrong-item span{display:block;margin-top:3px;color:#747D8C;font-size:.8rem;font-weight:800;line-height:1.45;}
.abbr-wrong-item button{height:32px;border:1px solid #E2E5EF;border-radius:10px;background:#fff;color:#4D5565;font-weight:900;padding:0 10px;cursor:pointer;}
.promotion-card{border:1px solid #E7EAF3;border-radius:18px;background:#FBFCFF;padding:16px;display:flex;flex-direction:column;gap:14px;}
.promotion-card.good{background:#F3FFF9;border-color:#CFEFDF;}.promotion-card.bad{background:#FFF8F8;border-color:#FFD7D7;}.promotion-card.hold{background:#FFFDF2;border-color:#F1E7B8;}.promotion-card.new{background:#F7F9FF;border-color:#DDE7FF;}
.promotion-main span{display:block;color:#7B8393;font-size:.78rem;font-weight:950;margin-bottom:6px;}
.promotion-main b{display:block;color:#252B3A;font-size:1.16rem;letter-spacing:-.04em;line-height:1.35;}
.promotion-main p{margin:8px 0 0;color:#4C5566;font-size:.9rem;font-weight:800;line-height:1.55;word-break:keep-all;}
.promotion-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}
.promotion-metrics div{border:1px solid rgba(0,0,0,.05);border-radius:13px;background:#fff;padding:10px;}
.promotion-metrics span{display:block;color:#828A98;font-size:.74rem;font-weight:950;}
.promotion-metrics b{display:block;margin-top:4px;color:#252B3A;font-size:.98rem;}
.graduation-board{display:flex;flex-direction:column;gap:9px;max-height:420px;overflow:auto;padding-right:2px;}
.graduation-chip{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid #EEF0F6;background:#fff;border-radius:15px;padding:12px;}
.graduation-chip b{display:block;color:#252B3A;font-size:.92rem;line-height:1.35;}
.graduation-chip span{display:block;margin-top:3px;color:#747D8C;font-size:.78rem;font-weight:800;}
.graduation-chip strong{border-radius:999px;padding:6px 9px;font-size:.78rem;font-weight:950;background:#EEF1F6;color:#4D5565;white-space:nowrap;}
.graduation-chip em{font-style:normal;color:#68707f;font-size:.78rem;font-weight:850;white-space:nowrap;}
.graduation-chip.graduated strong{background:#DFF8EC;color:#007A63;}.graduation-chip.stable strong{background:#E9F0FF;color:#315BC7;}.graduation-chip.retry strong{background:#FFE8E8;color:#C63D45;}.graduation-chip.progress strong{background:#FFF4D5;color:#956B00;}
.exam-sim-box{display:flex;flex-direction:column;gap:12px;}
.exam-sim-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;}
.exam-sim-grid label{font-size:.78rem;font-weight:950;color:#667085;}
.exam-sim-grid input,.exam-sim-grid select{width:100%;height:38px;margin-top:5px;border:1px solid #DFE3EC;border-radius:12px;background:#fff;padding:0 10px;font-weight:850;color:#252B3A;}
.exam-sim-box>button,.end-report-box button{height:40px;border:0;border-radius:12px;background:#6C5CE7;color:#fff;font-weight:950;cursor:pointer;}
.exam-sim-box p{margin:0;color:#68707f;font-size:.84rem;font-weight:800;line-height:1.5;}
.end-report-box{display:flex;flex-direction:column;gap:10px;}
.end-report-box pre{margin:0;white-space:pre-wrap;word-break:keep-all;border:1px solid #EEF0F6;background:#FBFCFF;border-radius:15px;padding:14px;color:#3E4553;font-family:inherit;font-size:.86rem;font-weight:800;line-height:1.55;max-height:330px;overflow:auto;}
@media (max-width:1200px){.prescription-grid{grid-template-columns:repeat(2,1fr)}.graduation-chip{grid-template-columns:1fr}.exam-sim-grid{grid-template-columns:1fr}}
@media (max-width:768px){.prescription-grid,.promotion-metrics{grid-template-columns:1fr}.abbr-wrong-item{grid-template-columns:1fr}.abbr-wrong-actions a,.abbr-wrong-item button{width:100%;}.graduation-chip{grid-template-columns:1fr}}

/* study-room-ui-rework-20260502: 공부방 정보 위계 정리 */
.study-focus-board{
  display:grid;
  grid-template-columns:1.35fr .9fr .62fr;
  gap:16px;
  margin:4px 0 18px;
}
.study-focus-card{
  border:1px solid #E3E7F0;
  border-radius:24px;
  padding:22px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,38,64,.05);
  min-width:0;
}
.study-focus-card.primary{
  background:linear-gradient(135deg,#F7F4EF 0%,#FFFFFF 58%,#F6F8FF 100%);
  border-color:#E5D8C8;
}
.focus-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#EFE8DD;
  color:#6B4F35;
  font-size:.76rem;
  font-weight:950;
  letter-spacing:-.02em;
  margin-bottom:12px;
}
.study-focus-card h2,.study-focus-card h3{
  margin:0;
  color:#22283A;
  letter-spacing:-.05em;
  word-break:keep-all;
}
.study-focus-card h2{font-size:1.48rem;line-height:1.22;}
.study-focus-card h3{font-size:1.16rem;line-height:1.32;}
.study-focus-card p{
  margin:10px 0 0;
  color:#55606F;
  font-size:.9rem;
  font-weight:800;
  line-height:1.55;
  word-break:keep-all;
}
.focus-main-task{
  margin-top:18px;
  border:1px solid rgba(107,79,53,.16);
  background:#fff;
  border-radius:18px;
  padding:16px;
}
.focus-main-task span,.focus-task span{
  display:block;
  color:#7A6A59;
  font-size:.78rem;
  font-weight:950;
  margin-bottom:5px;
}
.focus-main-task b{
  display:block;
  color:#22283A;
  font-size:1.1rem;
  line-height:1.42;
  word-break:keep-all;
}
.focus-task-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
}
.focus-task{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  align-items:start;
  border:1px solid #ECE8E1;
  background:rgba(255,255,255,.72);
  border-radius:16px;
  padding:12px;
}
.focus-task em{
  width:28px;
  height:28px;
  border-radius:10px;
  background:#EFE8DD;
  color:#6B4F35;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-weight:950;
  font-size:.78rem;
}
.focus-task b{
  display:block;
  color:#303647;
  font-size:.88rem;
  line-height:1.42;
  word-break:keep-all;
}
.study-focus-card.decision{background:#F8FAFD;}
.study-focus-card.decision.good{background:#F2FFF7;border-color:#CDEDDC;}
.study-focus-card.decision.hold{background:#FFFDF1;border-color:#EFE4B4;}
.study-focus-card.decision.bad{background:#FFF7F7;border-color:#FFD2D2;}
.study-focus-card.decision.new{background:#F6F8FF;border-color:#DCE5FF;}
.focus-metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:14px;
}
.focus-metrics span{
  border:1px solid rgba(0,0,0,.05);
  background:rgba(255,255,255,.76);
  border-radius:13px;
  padding:10px;
  color:#697386;
  font-size:.76rem;
  font-weight:950;
}
.focus-metrics b{display:block;margin-top:4px;color:#22283A;font-size:1rem;}
.study-focus-card.shortcuts{
  display:flex;
  flex-direction:column;
  gap:9px;
  background:#F7F8FA;
}
.study-focus-card.shortcuts .focus-eyebrow{margin-bottom:2px;background:#E8EDF4;color:#455266;}
.study-focus-card.shortcuts a,.study-focus-card.shortcuts button{
  min-height:39px;
  border:1px solid #DEE4EE;
  border-radius:13px;
  background:#fff;
  color:#394253;
  font-weight:950;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  cursor:pointer;
}
.study-focus-card.shortcuts button{font-family:inherit;}
.study-focus-card.shortcuts a:hover,.study-focus-card.shortcuts button:hover{border-color:#BFC8D8;background:#FDFDFE;}
.study-fold-stack{display:flex;flex-direction:column;gap:14px;}
.study-fold{
  border:1px solid #DDE3EE;
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 22px rgba(31,38,64,.04);
  overflow:hidden;
}
.study-fold summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:66px;
  padding:18px 22px;
  cursor:pointer;
  background:#F7F8FB;
}
.study-fold summary::-webkit-details-marker{display:none;}
.study-fold summary span{
  display:flex;
  align-items:center;
  gap:10px;
  color:#22283A;
  font-size:1.05rem;
  font-weight:950;
  letter-spacing:-.04em;
}
.study-fold summary span::before{
  content:'';
  width:10px;
  height:10px;
  border-radius:99px;
  background:#8C97AA;
  box-shadow:0 0 0 5px rgba(140,151,170,.12);
}
.study-fold.required summary span::before{background:#7A5D3B;box-shadow:0 0 0 5px rgba(122,93,59,.14);}
.study-fold.progress summary span::before{background:#4F70C8;box-shadow:0 0 0 5px rgba(79,112,200,.13);}
.study-fold.tools summary span::before{background:#2F8C70;box-shadow:0 0 0 5px rgba(47,140,112,.13);}
.study-fold.report summary span::before{background:#8C5AB8;box-shadow:0 0 0 5px rgba(140,90,184,.13);}
.study-fold summary b{
  color:#737D8E;
  font-size:.86rem;
  font-weight:850;
  line-height:1.4;
  text-align:right;
}
.study-fold[open] summary{border-bottom:1px solid #E8ECF3;}
.study-fold[open] summary::after{content:'접기';color:#8A93A3;font-size:.78rem;font-weight:950;}
.study-fold:not([open]) summary::after{content:'열기';color:#6C5CE7;font-size:.78rem;font-weight:950;}
.study-fold .study-page-grid{padding:18px;}
.study-fold .study-page-grid+ .study-page-grid{padding-top:0;}
.study-page-grid.compact{gap:14px;}
.study-panel-priority{border-color:#E4D7C8;background:#FFFDF9;}
.study-panel-task{border-color:#DDE6F6;background:#FBFCFF;}
.study-panel-history{border-color:#E6E9EF;}
.study-panel-graduation{border-color:#DDEAF8;background:#FCFDFF;}
.study-panel-analysis{border-color:#EAE3F3;background:#FEFCFF;}
.study-panel-tool{border-color:#DCEFE8;background:#FCFFFE;}
.study-panel-exam{border-color:#F0E2C8;background:#FFFDF8;}
.study-panel-record{border-color:#E6E9EF;}
.study-panel-decision{border-color:#E8E0F2;background:#FEFCFF;}
.study-panel-report{border-color:#DFE6F1;background:#FCFDFF;}
.study-fold .study-panel{box-shadow:none;}
.study-fold .study-panel .panel-head{margin-bottom:14px;}
@media (max-width:1200px){
  .study-focus-board{grid-template-columns:1fr;}
  .focus-task-list{grid-template-columns:1fr;}
  .study-fold summary{align-items:flex-start;flex-direction:column;}
  .study-fold summary b{text-align:left;}
}
@media (max-width:768px){
  .study-focus-card{padding:18px;}
  .study-focus-card h2{font-size:1.26rem;}
  .focus-metrics{grid-template-columns:1fr;}
  .study-fold .study-page-grid{padding:14px;}
}


/* study-room-radical-command-20260502: 공부방 본문 전면 재구성 */
body.study-tools-body .main-content{
  background:
    radial-gradient(circle at 12% 8%, rgba(120,96,58,.13), transparent 30%),
    radial-gradient(circle at 86% 2%, rgba(76,111,197,.12), transparent 28%),
    #EEF2F6;
}
.study-command-hero{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr);
  gap:18px;
  margin:6px 0 18px;
}
.command-hero-main{
  position:relative;
  overflow:hidden;
  min-height:254px;
  border:1px solid #D8C9B8;
  border-radius:30px;
  padding:30px;
  background:
    linear-gradient(135deg, rgba(47,39,31,.96), rgba(71,55,38,.92) 54%, rgba(115,91,58,.88)),
    linear-gradient(135deg,#3C322A,#766047);
  color:#fff;
  box-shadow:0 18px 42px rgba(51,43,35,.18);
}
.command-hero-main::after{
  content:'';
  position:absolute;
  right:-80px;
  top:-120px;
  width:320px;
  height:320px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
}
.command-kicker{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:#F5E9D7;
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.08em;
}
.command-hero-main h2{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:18px 0 0;
  font-size:2.05rem;
  line-height:1.16;
  letter-spacing:-.07em;
  color:#fff;
  word-break:keep-all;
}
.command-hero-main p{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:12px 0 0;
  color:rgba(255,255,255,.78);
  font-size:1rem;
  font-weight:750;
  line-height:1.65;
  word-break:keep-all;
}
.command-primary-mission{
  position:relative;
  z-index:1;
  margin-top:22px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:22px;
  background:rgba(255,255,255,.12);
  padding:18px;
  backdrop-filter:blur(6px);
}
.command-primary-mission span,.command-primary-mission em{
  display:block;
  color:#F4E8D6;
  font-size:.82rem;
  font-weight:950;
  font-style:normal;
}
.command-primary-mission strong{
  display:block;
  margin:7px 0 6px;
  color:#fff;
  font-size:1.22rem;
  line-height:1.42;
  letter-spacing:-.04em;
  word-break:keep-all;
}
.command-hero-side{
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:12px;
}
.command-timer-card,.command-decision-card,.command-mini-alert{
  border:1px solid #DDE4EF;
  border-radius:24px;
  background:#fff;
  padding:20px;
  box-shadow:0 12px 28px rgba(31,38,64,.07);
}
.command-timer-card{
  background:linear-gradient(135deg,#FFFFFF,#F4F8FF);
  border-color:#D7E2F5;
}
.command-timer-card span,.command-decision-card span,.command-mini-alert span{
  display:block;
  color:#707A8B;
  font-size:.78rem;
  font-weight:950;
  margin-bottom:8px;
}
.command-timer-card b{
  display:block;
  color:#1E293B;
  font-size:2rem;
  letter-spacing:-.06em;
}
.command-timer-card em,.command-mini-alert b{
  display:block;
  margin-top:6px;
  color:#697386;
  font-style:normal;
  font-size:.82rem;
  font-weight:850;
  line-height:1.45;
  word-break:keep-all;
}
.command-decision-card.good{border-color:#C9EEDB;background:#F4FFF8;}
.command-decision-card.hold{border-color:#F0E2B2;background:#FFFDF2;}
.command-decision-card.bad{border-color:#FFD0D0;background:#FFF7F7;}
.command-decision-card.new{border-color:#D9E3FF;background:#F7F9FF;}
.command-decision-card b{
  display:block;
  color:#22283A;
  font-size:1.14rem;
  line-height:1.35;
  letter-spacing:-.04em;
  word-break:keep-all;
}
.command-decision-card p{
  margin:9px 0 0;
  color:#596171;
  font-size:.9rem;
  font-weight:800;
  line-height:1.55;
  word-break:keep-all;
}
.command-mini-alert{
  background:#FAFBFD;
}
.study-command-layout{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.study-command-menu{
  position:sticky;
  top:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.study-command-menu button{
  position:relative;
  display:grid;
  grid-template-columns:42px 1fr auto;
  grid-template-areas:"num title badge" "num desc badge";
  column-gap:12px;
  align-items:center;
  min-height:82px;
  border:1px solid #DDE3ED;
  border-radius:22px;
  background:#fff;
  padding:14px;
  cursor:pointer;
  text-align:left;
  box-shadow:0 8px 22px rgba(31,38,64,.04);
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.study-command-menu button:hover{
  transform:translateY(-1px);
  border-color:#C8D0DD;
  box-shadow:0 12px 28px rgba(31,38,64,.08);
}
.study-command-menu button.active{
  background:#2F352F;
  border-color:#2F352F;
  box-shadow:0 16px 32px rgba(47,53,47,.18);
}
.study-command-menu em{
  grid-area:num;
  width:42px;
  height:42px;
  border-radius:15px;
  background:#EEF2F6;
  color:#596171;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-size:.8rem;
  font-weight:950;
}
.study-command-menu strong{
  grid-area:title;
  color:#22283A;
  font-size:1.02rem;
  font-weight:950;
  letter-spacing:-.04em;
}
.study-command-menu span{
  grid-area:desc;
  color:#7A8393;
  font-size:.78rem;
  font-weight:850;
}
.study-command-menu i{
  grid-area:badge;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  background:#F5F7FA;
  color:#576071;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-size:.78rem;
  font-weight:950;
}
.study-command-menu button.active em{background:rgba(255,255,255,.16);color:#fff;}
.study-command-menu button.active strong{color:#fff;}
.study-command-menu button.active span{color:rgba(255,255,255,.72);}
.study-command-menu button.active i{background:#D8B674;color:#2F352F;}
.study-zone-stage{
  min-width:0;
}
.study-zone-panel{
  display:none;
  border:1px solid #DDE3ED;
  border-radius:30px;
  background:#fff;
  padding:22px;
  box-shadow:0 14px 36px rgba(31,38,64,.07);
}
.study-zone-panel.active{
  display:block;
  animation:studyZoneIn .18s ease both;
}
@keyframes studyZoneIn{
  from{opacity:0;transform:translateY(6px);}
  to{opacity:1;transform:translateY(0);}
}
.study-zone-head{
  margin-bottom:18px;
  padding:20px 22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.18);
  background:#F7F8FB;
}
.study-zone-head span{
  display:inline-flex;
  min-height:26px;
  padding:0 10px;
  align-items:center;
  border-radius:999px;
  background:#fff;
  color:#596171;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.06em;
}
.study-zone-head h2{
  margin:12px 0 0;
  color:#22283A;
  font-size:1.55rem;
  line-height:1.22;
  letter-spacing:-.06em;
  word-break:keep-all;
}
.study-zone-head p{
  margin:8px 0 0;
  color:#626B7B;
  font-size:.95rem;
  line-height:1.55;
  font-weight:800;
  word-break:keep-all;
}
.zone-today .study-zone-head{background:linear-gradient(135deg,#FFF7EA,#FAFBFF);border-color:#EAD8B7;}
.zone-weak .study-zone-head{background:linear-gradient(135deg,#FFF1F1,#FFFFFF);border-color:#F2CFCF;}
.zone-progress .study-zone-head{background:linear-gradient(135deg,#EFF5FF,#FFFFFF);border-color:#CCDDF4;}
.zone-lab .study-zone-head{background:linear-gradient(135deg,#F3F0FF,#FFFFFF);border-color:#DAD2F4;}
.study-zone-grid{
  display:grid;
  gap:16px;
  margin-top:16px;
}
.study-zone-grid.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.study-zone-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.study-zone-card,
.study-zone-card.study-panel,
.study-panel.intermediate-panel{
  border-radius:24px;
  border:1px solid #E0E6EF;
  background:#fff;
  padding:22px;
  box-shadow:none;
  min-width:0;
}
.study-zone-card .panel-head,
.study-zone-panel .study-prescription-panel .panel-head{
  border-bottom:1px solid rgba(0,0,0,.07);
}
.study-zone-panel .study-prescription-panel{
  border-radius:24px;
  border:1px solid #EAD8B7;
  background:#FFFDF8;
  box-shadow:none;
  margin:0;
}
.study-zone-panel .prescription-card{
  border-color:#EADCC3;
  background:#fff;
}
.mission-card{background:#FFFDF8;border-color:#EAD8B7;}
.task-card{background:#FBFCFF;border-color:#D8E3F4;}
.weak-card{background:#FFF9F9;border-color:#F0D2D2;}
.abbr-card{background:#FFFBF3;border-color:#EEDCB9;}
.cause-card{background:#FCFCFE;border-color:#E0E6EF;}
.history-card{background:#FBFCFF;border-color:#D9E4F4;}
.stamp-card{background:#F7FBFF;border-color:#CCDDF4;}
.retry-card{background:#FEFCFF;border-color:#E5D9F2;}
.exam-card{background:#FFFCF6;border-color:#EDDDBB;}
.record-card{background:#FAFBFD;border-color:#DEE5EF;}
.decision-card{background:#FEFCFF;border-color:#E2D7F1;}
.report-card{background:#F7FAFF;border-color:#DCE6F5;}
.tool-card{background:#F8FFFC;border-color:#D7EEE5;}
.study-tool-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.study-zone-panel .training-item{
  border-radius:18px;
  min-height:64px;
}
.study-zone-panel .training-item>span{
  background:#2F352F;
  color:#fff;
}
.study-zone-panel .assignment-row,
.study-zone-panel .weak-item,
.study-zone-panel .retry-item,
.study-zone-panel .abbr-wrong-item,
.study-zone-panel .graduation-chip{
  border-radius:17px;
}
.study-zone-panel .assignment-list,
.study-zone-panel .weak-list,
.study-zone-panel .retry-list,
.study-zone-panel .abbr-wrong-list,
.study-zone-panel .graduation-board,
.study-zone-panel .intermediate-recent-list{
  max-height:300px;
}
.study-zone-panel .intermediate-panel{
  min-height:0;
}
.study-zone-panel .intermediate-summary-grid{
  grid-template-columns:repeat(2,1fr);
}
.study-zone-panel .intermediate-summary-card.wide{
  grid-column:1 / -1;
}
@media (max-width:1280px){
  .study-command-hero{grid-template-columns:1fr;}
  .command-hero-side{grid-template-columns:repeat(3,1fr);grid-template-rows:auto;}
  .study-command-layout{grid-template-columns:1fr;}
  .study-command-menu{position:relative;top:auto;display:grid;grid-template-columns:repeat(4,1fr);}
  .study-command-menu button{grid-template-columns:1fr auto;grid-template-areas:"num badge" "title title" "desc desc";min-height:118px;}
  .study-zone-grid.three{grid-template-columns:1fr;}
}
@media (max-width:900px){
  .command-hero-side,.study-command-menu,.study-zone-grid.two,.study-zone-grid.three,.study-tool-split{grid-template-columns:1fr;}
  .command-hero-main{padding:24px;min-height:0;}
  .command-hero-main h2{font-size:1.55rem;}
  .study-zone-panel{padding:16px;border-radius:24px;}
  .study-zone-head{padding:18px;}
}


/* 오답노트 간소화: 약어랜덤형 오답 연습 */
.wrong-random-shell {
  max-width: 980px;
  margin: 0 auto 36px;
}
.wrong-random-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.wrong-random-head h2 {
  margin: 0 0 6px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.wrong-random-head p {
  margin: 0;
  color: #6b7280;
  font-weight: 700;
}
.wrong-random-badge {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #dbe3ef;
  color: #334155;
  font-weight: 900;
}
.wrong-random-card {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 30px;
  text-align: center;
}
.wrong-random-card .abbr-display {
  min-height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc, #eef6ff);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 950;
  color: #2563eb;
  letter-spacing: -0.04em;
  margin: 18px 0;
}
.wrong-random-card.ready p,
.wrong-random-card.empty p {
  margin: 0 auto 20px;
  max-width: 620px;
  color: #64748b;
  line-height: 1.65;
  font-weight: 700;
}
.wrong-random-counts,
.wrong-random-status {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.wrong-random-counts span,
.wrong-random-status span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 900;
}
.wrong-random-status b { color: #2563eb; }
.wrong-random-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.wrong-random-meta b { color: #0f172a; }
.wrong-random-meta em {
  font-style: normal;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
}
.wrong-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
}
.wrong-type.wrong { background: #fff1f2; color: #e11d48; }
.wrong-type.missing { background: #eff6ff; color: #2563eb; }
.wrong-type.added { background: #fff7ed; color: #ea580c; }
.wrong-random-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.wrong-random-compare div {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 14px;
  text-align: left;
}
.wrong-random-compare span,
.wrong-random-context span {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}
.wrong-random-compare strong {
  color: #111827;
  font-size: 1.12rem;
  line-height: 1.55;
  word-break: keep-all;
}
.wrong-random-compare .muted { color: #94a3b8; }
.wrong-random-context {
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  background: #fbfdff;
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
}
.wrong-random-context p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
  font-weight: 800;
}
.wrong-random-input {
  width: 100%;
  height: 58px;
  border-radius: 18px;
  border: 2px solid #dbe3ef;
  outline: none;
  padding: 0 18px;
  font-size: 1.18rem;
  font-weight: 850;
  text-align: center;
  transition: 0.18s ease;
}
.wrong-random-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.wrong-random-feedback {
  min-height: 24px;
  margin: 12px 0 16px;
  color: #94a3b8;
  font-weight: 850;
}
.wrong-random-feedback.show { color: #e11d48; }
.wrong-random-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.wrong-random-primary,
.wrong-random-secondary {
  border: 0;
  border-radius: 16px;
  padding: 13px 20px;
  font-weight: 950;
  cursor: pointer;
}
.wrong-random-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}
.wrong-random-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #dbe3ef;
}
.wrong-random-score {
  font-size: 1.2rem;
  font-weight: 950;
  color: #0f172a;
  margin-bottom: 18px;
}
.wrong-random-details {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 14px 18px;
}
.wrong-random-details summary {
  cursor: pointer;
  font-weight: 950;
  color: #334155;
}
.wrong-mini-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.wrong-mini-item {
  display: grid;
  grid-template-columns: 54px 1fr minmax(120px, 220px);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.wrong-mini-item span {
  color: #2563eb;
  font-weight: 950;
}
.wrong-mini-item b {
  color: #111827;
  word-break: keep-all;
}
.wrong-mini-item em {
  color: #94a3b8;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
}
@media (max-width: 720px) {
  .wrong-random-head,
  .wrong-random-compare { grid-template-columns: 1fr; display: grid; }
  .wrong-random-card { padding: 20px; border-radius: 22px; }
  .wrong-random-card .abbr-display { font-size: 2.4rem; min-height: 92px; }
  .wrong-mini-item { grid-template-columns: 48px 1fr; }
  .wrong-mini-item em { grid-column: 2; }
}

/* wrong-note-visual-voice-20260601: 오답 랜덤 보고치기/듣고치기 선택 */
.wrong-random-mode-choice {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.wrong-random-listen-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 12px 0 4px;
}
.wrong-random-listen-box .abbr-display.blind {
  width: 100%;
  filter: blur(13px);
  opacity: 0.52;
  color: #6c5ce7;
}
.wrong-random-listen-box p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
  line-height: 1.5;
}
.wrong-random-meta.compact {
  width: 100%;
  margin-top: 4px;
}
.wrong-random-card.voice-mode .wrong-random-feedback {
  text-align: center;
}
@media (max-width: 768px) {
  .wrong-random-mode-choice {
    flex-direction: column;
  }
  .wrong-random-mode-choice button {
    width: 100%;
  }
}


/* 20260601 오답노트 문제 단독 표시 */
.wrong-random-question {
  border-radius: 20px;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #f8fbff, #eff6ff);
  padding: 18px 20px;
  margin: 10px 0 18px;
  text-align: left;
}
.wrong-random-question span {
  display: block;
  color: #2563eb;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.wrong-random-question strong {
  display: block;
  color: #111827;
  font-size: 1.2rem;
  line-height: 1.7;
  word-break: keep-all;
}
.wrong-random-question small {
  display: block;
  color: #64748b;
  font-weight: 800;
  margin-top: 8px;
}
