
:root{--primary:#6C5CE7;--primary2:#8E7CFF;--text:#222;--muted:#777;--line:#E8EAF0;--bg:#F6F7FB;--white:#fff;--danger:#FF7675;--success:#00B894;}
*{box-sizing:border-box} body{margin:0;font-family:'Pretendard',sans-serif;background:linear-gradient(135deg,#F6F7FB,#ECEBFF);color:var(--text);min-height:100vh;}
a{color:inherit}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px}.auth-card{width:min(520px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(108,92,231,.14);border-radius:28px;padding:34px;box-shadow:0 24px 80px rgba(54,44,120,.12)}.auth-logo{font-size:.85rem;font-weight:900;color:var(--primary);letter-spacing:.08em;margin-bottom:16px}.auth-title{font-size:2rem;font-weight:900;line-height:1.2;margin:0 0 8px}.auth-sub{color:var(--muted);line-height:1.6;margin-bottom:24px}.field{margin-bottom:14px}.field label{display:block;font-size:.85rem;font-weight:800;color:#555;margin-bottom:7px}.field input{width:100%;height:48px;border:1px solid var(--line);border-radius:14px;padding:0 14px;font-size:1rem;outline:none;background:#fff}.field input:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(108,92,231,.10)}.btn-main{width:100%;height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:white;font-weight:900;font-size:1rem;cursor:pointer;box-shadow:0 12px 26px rgba(108,92,231,.22)}.btn-sub{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;border:1px solid var(--line);border-radius:12px;background:white;padding:0 14px;text-decoration:none;font-weight:800;color:#555}.auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.notice-box{border:1px solid #FFE0B2;background:#FFF8E8;border-radius:16px;padding:16px;line-height:1.6;color:#6b4b00;margin:18px 0}.success-box{border:1px solid #c8f4e8;background:#effdf8;border-radius:16px;padding:16px;line-height:1.6;color:#006b50;margin:18px 0}.error-text{color:var(--danger);font-weight:800;font-size:.9rem;min-height:22px;margin-top:8px}#loading-overlay{display:none;position:fixed;inset:0;background:rgba(255,255,255,.7);z-index:1000;align-items:center;justify-content:center}.spinner{width:42px;height:42px;border:4px solid #ddd;border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:white}.simple-table{width:100%;border-collapse:collapse;min-width:720px}.simple-table th,.simple-table td{border-bottom:1px solid var(--line);padding:13px 14px;text-align:left;font-size:.92rem}.simple-table th{background:#FAFAFC;color:#555;font-size:.8rem;text-transform:uppercase}.pill{display:inline-flex;align-items:center;border-radius:99px;padding:4px 9px;font-weight:900;font-size:.78rem}.pill.pending{background:#FFF3CD;color:#946200}.pill.approved{background:#DFF8EF;color:#00775A}.pill.rejected,.pill.blocked{background:#FFE0E0;color:#C0392B}.mini-btn{border:0;border-radius:10px;padding:7px 10px;font-weight:900;cursor:pointer;margin-right:5px}.mini-btn.ok{background:#DFF8EF;color:#00775A}.mini-btn.no{background:#FFE0E0;color:#C0392B}.mini-btn.gray{background:#ECEFF4;color:#555}

/* --- 마이페이지 학습 분석 리포트 --- */
.study-insight{margin:18px 0 22px;}
.insight-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px;}
.insight-head h2{margin:0 0 6px;font-size:1.35rem;font-weight:950;color:#1f2430;}
.insight-head p{margin:0;color:#6f7480;line-height:1.5;font-size:.94rem;}
.copy-report-btn{height:42px;border:0;border-radius:13px;background:#1f2430;color:#fff;font-weight:900;padding:0 16px;cursor:pointer;white-space:nowrap;box-shadow:0 10px 20px rgba(31,36,48,.12);}
.copy-report-btn:hover{transform:translateY(-1px);box-shadow:0 14px 24px rgba(31,36,48,.16);}
.insight-empty{border:1px dashed #cfd3dd;background:#fbfcff;border-radius:18px;padding:22px;line-height:1.7;color:#555;}
.insight-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px;}
.insight-card{border:1px solid #e8eaf2;background:#fff;border-radius:18px;padding:18px;min-height:150px;box-shadow:0 12px 30px rgba(34,38,60,.05);}
.card-label{display:block;font-size:.78rem;font-weight:950;color:#7b8190;margin-bottom:10px;letter-spacing:-.01em;}
.card-main{font-size:1.25rem;font-weight:950;color:#22283a;line-height:1.25;margin-bottom:10px;word-break:keep-all;}
.card-main.good{color:#008a68}.card-main.bad{color:#cf3e45}.card-main.new{color:#5c4ad8}.card-main.hold{color:#424957}
.insight-card p{margin:0;color:#6f7480;font-size:.88rem;line-height:1.55;word-break:keep-all;}
.risk-badge{display:inline-flex;margin-top:12px;padding:5px 9px;border-radius:999px;background:#fff1f1;color:#c0392b;font-size:.76rem;font-weight:950;}
.insight-bottom{display:grid;grid-template-columns:1fr 1.15fr 1.2fr;gap:14px;}
.insight-panel{border:1px solid #e8eaf2;background:#fff;border-radius:18px;padding:18px;box-shadow:0 12px 30px rgba(34,38,60,.05);min-height:190px;}
.panel-title{font-size:.98rem;font-weight:950;color:#242938;margin-bottom:14px;}
.error-row{display:grid;grid-template-columns:76px 1fr 48px;align-items:center;gap:10px;margin:10px 0;}
.error-label{font-size:.84rem;font-weight:900;color:#575d69;}
.error-track{height:10px;background:#f0f2f7;border-radius:999px;overflow:hidden;}
.error-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#6C5CE7,#9d90ff);min-width:0;}
.error-count{text-align:right;font-size:.82rem;font-weight:900;color:#555b66;}
.recommend-list{margin:0;padding-left:20px;color:#3e4451;line-height:1.65;font-size:.9rem;}
.recommend-list li{margin-bottom:7px;word-break:keep-all;}
.report-panel pre{white-space:pre-wrap;margin:0;background:#f8f9fd;border:1px solid #eef0f6;border-radius:14px;padding:14px;line-height:1.55;font-family:'Pretendard',sans-serif;font-size:.86rem;color:#3d4350;max-height:230px;overflow:auto;}
.best-record{margin-top:10px;font-size:.86rem;font-weight:900;color:#5c4ad8;}
@media (max-width: 980px){.insight-grid{grid-template-columns:repeat(2,1fr)}.insight-bottom{grid-template-columns:1fr}.insight-head{align-items:flex-start;flex-direction:column}.copy-report-btn{width:100%;}}
@media (max-width: 640px){.auth-shell{padding:18px}.auth-card{padding:22px;border-radius:22px}.insight-grid{grid-template-columns:1fr}.error-row{grid-template-columns:68px 1fr 42px}.card-main{font-size:1.12rem}}


/* --- 속기 학습 고도화: 진도/승급/코멘트 --- */
.card-detail{display:block;margin-top:10px;color:#858b98;font-size:.8rem;line-height:1.45;word-break:keep-all;}
.advisor-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:14px;}
.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.copy-mini-btn{border:1px solid #dfe2ea;background:#fff;border-radius:10px;height:32px;padding:0 10px;font-size:.78rem;font-weight:950;color:#3d4350;cursor:pointer;white-space:nowrap;}
.copy-mini-btn:hover{background:#f7f8fc;}
.teacher-comment-box{white-space:pre-wrap;margin:0;background:#f8f9fd;border:1px solid #eef0f6;border-radius:14px;padding:14px;line-height:1.65;font-family:'Pretendard',sans-serif;font-size:.9rem;color:#303645;min-height:126px;}
.signal-list{display:flex;flex-direction:column;gap:10px;}
.signal-item{display:grid;grid-template-columns:12px 96px 1fr;gap:9px;align-items:flex-start;border:1px solid #eef0f6;background:#fbfcff;border-radius:13px;padding:11px 12px;}
.signal-dot{width:9px;height:9px;border-radius:99px;margin-top:5px;background:#8a909d;}
.signal-dot.good{background:#00a77b}.signal-dot.bad{background:#e0525b}.signal-dot.new{background:#6C5CE7}.signal-dot.hold,.signal-dot.flat{background:#8a909d}
.signal-item b{font-size:.86rem;color:#2d3342;word-break:keep-all;}
.signal-item em{font-style:normal;font-size:.8rem;color:#717784;line-height:1.45;word-break:keep-all;}
@media (max-width: 980px){.advisor-grid{grid-template-columns:1fr}.signal-item{grid-template-columns:12px 90px 1fr}}
@media (max-width: 640px){.signal-item{grid-template-columns:12px 1fr}.signal-item em{grid-column:2}.panel-title-row{align-items:flex-start;flex-direction:column}.copy-mini-btn{width:100%;}}


/* --- 마이페이지 통일감 개선: 대시보드형 공통 레이아웃 --- */
body.mypage-body{
  background:#F0F4F8;
  color:var(--text-dark, #2D3436);
  min-height:100vh;
  overflow:hidden;
}
body.mypage-body #app-wrapper.mypage-app-wrapper{
  display:flex !important;
  height:100vh;
  width:100vw;
}
body.mypage-body .main-content.mypage-main{
  gap:24px;
  padding:40px 50px 28px;
}
body.mypage-body .main-content.mypage-main::before{
  z-index:0;
}
body.mypage-body .mypage-main > *{
  position:relative;
  z-index:1;
}
.mypage-header .welcome h1{
  letter-spacing:-.04em;
}
.mypage-header .welcome p{
  font-weight:600;
}
.mypage-stats{
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  animation-delay:.2s;
}
.mypage-stat-card{
  min-height:118px;
  padding:24px;
}
.mypage-stat-card .stat-info h3{
  font-size:1.85rem;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.bg-green{
  background:#E7F8EF;
  color:#00A86B;
}
.study-insight.dashboard-card{
  margin:0;
  padding:28px;
  border:1px solid rgba(108,92,231,.08);
  box-shadow:var(--shadow-card, 0 4px 20px rgba(0,0,0,.03));
}
.study-insight.dashboard-card:hover{
  transform:none;
  box-shadow:var(--shadow-card, 0 4px 20px rgba(0,0,0,.03));
}
.study-insight .insight-head{
  padding-bottom:18px;
  margin-bottom:20px;
  border-bottom:1px solid #EEF0F6;
}
.study-insight .insight-head h2{
  font-size:1.25rem;
  color:var(--text-dark, #2D3436);
}
.study-insight .copy-report-btn{
  background:var(--primary, #6C5CE7);
  box-shadow:0 10px 20px rgba(108,92,231,.22);
}
.study-insight .insight-grid{
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:16px;
}
.study-insight .insight-card,
.study-insight .insight-panel{
  border:1px solid #EEF0F6;
  border-radius:20px;
  box-shadow:none;
  background:#FFFFFF;
}
.study-insight .insight-card{
  padding:18px 18px 17px;
}
.study-insight .card-label{
  color:#8A90A0;
}
.study-insight .card-main{
  color:#2D3436;
}
.study-insight .insight-bottom{
  grid-template-columns:1fr 1.05fr 1.15fr;
  gap:16px;
}
.study-insight .advisor-grid{
  gap:16px;
}
.study-insight .error-fill{
  background:linear-gradient(90deg,var(--primary, #6C5CE7),var(--primary-light, #A29BFE));
}
.study-insight .report-panel pre,
.study-insight .teacher-comment-box{
  background:#F8F9FA;
  border-color:#EEF0F6;
}
.mypage-record-card{
  border:1px solid rgba(108,92,231,.08);
}
.mypage-record-card:hover{
  transform:none;
}
.mypage-record-head{
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
  padding-bottom:18px;
  border-bottom:1px solid #EEF0F6;
}
.mypage-record-head h4{
  margin:0 0 6px;
  font-size:1.18rem;
  font-weight:900;
  color:var(--text-dark, #2D3436);
}
.mypage-record-head p{
  margin:0;
  color:var(--text-grey, #636E72);
  font-size:.9rem;
  font-weight:600;
}
.mypage-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.mypage-actions .btn-sub{
  height:38px;
  border-color:#E9ECF3;
  border-radius:12px;
  background:#FFFFFF;
  color:#555C66;
  transition:.2s;
}
.mypage-actions .btn-sub:hover{
  border-color:var(--primary-light, #A29BFE);
  color:var(--primary, #6C5CE7);
  transform:translateY(-1px);
}
.mypage-table-wrap{
  border-color:#EEF0F6;
  border-radius:18px;
  box-shadow:none;
}
.mypage-table{
  min-width:860px;
}
.mypage-table th{
  background:#F8F9FA;
  color:#636E72;
  font-weight:900;
  text-transform:none;
  letter-spacing:-.01em;
}
.mypage-table td{
  color:#343A40;
  vertical-align:middle;
}
.mypage-table tbody tr:hover{
  background:#FAFAFF;
}
.mypage-footer{
  text-align:center;
  color:#B2BEC3;
  font-size:.85rem;
  padding:4px 0 8px;
}
@media (max-width:1180px){
  .mypage-stats{grid-template-columns:repeat(2,1fr);}
  .study-insight .insight-grid{grid-template-columns:repeat(2,1fr);}
  .study-insight .insight-bottom{grid-template-columns:1fr;}
}
@media (max-width:768px){
  body.mypage-body{overflow:auto;}
  body.mypage-body .main-content.mypage-main{padding:70px 20px 24px;}
  .mypage-stats{grid-template-columns:1fr;}
  .study-insight.dashboard-card{padding:22px;}
  .study-insight .insight-grid{grid-template-columns:1fr;}
  .mypage-record-head{flex-direction:column;}
  .mypage-actions{width:100%;justify-content:flex-start;}
  .mypage-actions .btn-sub{flex:1;min-width:100px;}
}

/* --- 학습 코치 확장 기능: 공부 실행형 카드 --- */
.study-coach.dashboard-card{
  margin:0;
  padding:28px;
  border:1px solid rgba(108,92,231,.08);
  box-shadow:var(--shadow-card, 0 4px 20px rgba(0,0,0,.03));
}
.study-coach.dashboard-card:hover{transform:none;box-shadow:var(--shadow-card, 0 4px 20px rgba(0,0,0,.03));}
.coach-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #EEF0F6;}
.coach-head h2{margin:0 0 6px;font-size:1.25rem;font-weight:900;color:var(--text-dark,#2D3436);letter-spacing:-.04em;}
.coach-head p{margin:0;color:#68707f;font-size:.9rem;font-weight:600;line-height:1.5;word-break:keep-all;}
.coach-summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;}
.coach-summary-strip>div{padding:16px 18px;border:1px solid #EEF0F6;border-radius:18px;background:#FAFBFF;}
.coach-summary-strip span{display:block;margin-bottom:6px;color:#8A90A0;font-size:.78rem;font-weight:800;}
.coach-summary-strip b{display:block;color:#2D3436;font-size:1.25rem;font-weight:950;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.coach-grid{display:grid;gap:16px;margin-top:16px;}
.coach-grid.top{grid-template-columns:1.05fr 1fr 1fr;}
.coach-grid.mid{grid-template-columns:1fr 1fr 1fr;}
.coach-panel{padding:18px;border:1px solid #EEF0F6;border-radius:20px;background:#fff;box-shadow:none;min-width:0;}
.coach-panel-title{margin-bottom:14px;color:#2D3436;font-size:1rem;font-weight:950;letter-spacing:-.035em;}
.coach-empty{padding:18px;border-radius:16px;background:#F8F9FA;color:#8A90A0;font-size:.88rem;font-weight:700;line-height:1.5;word-break:keep-all;}
.check-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;border-radius:16px;background:#F8F7FF;color:#5B4FD4;}
.check-progress b{font-size:.92rem;}
.check-progress span{font-size:.8rem;font-weight:800;color:#7B72D9;}
.coach-check-item{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #F0F2F7;cursor:pointer;}
.coach-check-item:last-child{border-bottom:0;}
.coach-check-item input{margin-top:3px;accent-color:var(--primary,#6C5CE7);}
.coach-check-item b{display:block;color:#303642;font-size:.9rem;font-weight:850;line-height:1.35;word-break:keep-all;}
.coach-check-item em{display:block;margin-top:4px;color:#7A8190;font-style:normal;font-size:.8rem;line-height:1.45;word-break:keep-all;}
.coach-check-item.done b{text-decoration:line-through;color:#98A0AD;}
.coach-check-item.done em{color:#B0B6C2;}
.weak-file-row,.retry-row{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:13px 0;border-bottom:1px solid #F0F2F7;}
.weak-file-row:last-child,.retry-row:last-child{border-bottom:0;}
.weak-file-row b,.retry-row b{display:block;color:#303642;font-size:.9rem;font-weight:900;line-height:1.35;word-break:keep-all;}
.weak-file-row span,.retry-row span{display:block;margin-top:4px;color:#7A8190;font-size:.78rem;font-weight:650;line-height:1.4;word-break:keep-all;}
.weak-file-row strong,.retry-row strong{color:#2D3436;font-size:1.05rem;font-weight:950;}
.weak-file-row em,.retry-row em{grid-column:2;color:#8A90A0;font-size:.76rem;font-style:normal;text-align:right;}
.retry-row strong.good{color:#00A77B;}.retry-row strong.bad{color:#E0525B;}
.cause-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.cause-buttons button,.dday-form button,.timer-box button,.memo-input button,.memo-row button,.exam-form button{border:0;border-radius:12px;background:#F3F1FF;color:#5B4FD4;font-size:.8rem;font-weight:850;cursor:pointer;transition:.2s;}
.cause-buttons button{padding:9px 10px;}
.cause-buttons button:hover,.dday-form button:hover,.timer-box button:hover,.memo-input button:hover,.exam-form button:hover{background:var(--primary,#6C5CE7);color:#fff;transform:translateY(-1px);}
.cause-summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border-radius:16px;background:#F8F9FA;}
.cause-summary>b{width:100%;color:#303642;font-size:.85rem;font-weight:900;}
.cause-summary span{display:inline-flex;gap:4px;align-items:center;padding:6px 8px;border-radius:999px;background:#fff;color:#68707f;font-size:.78rem;font-weight:800;border:1px solid #EEF0F6;}
.coach-hint{margin:12px 0 0;color:#68707f;font-size:.84rem;font-weight:650;line-height:1.5;}
.upgrade-main{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px;}
.upgrade-main div{padding:12px 10px;border-radius:14px;background:#FAFBFF;text-align:center;border:1px solid #EEF0F6;}
.upgrade-main span{display:block;margin-bottom:6px;color:#8A90A0;font-size:.72rem;font-weight:850;}
.upgrade-main b{display:block;color:#303642;font-size:1rem;font-weight:950;}
.criteria-list{display:grid;gap:8px;}
.criteria-item{display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;padding:10px 12px;border-radius:14px;background:#F8F9FA;}
.criteria-item span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-weight:950;font-size:.75rem;}
.criteria-item.pass span{background:#E7F8EF;color:#00A77B;}.criteria-item.wait span{background:#FFF5E6;color:#F39C12;}
.criteria-item b{color:#303642;font-size:.82rem;font-weight:850;}.criteria-item em{color:#7A8190;font-size:.78rem;font-style:normal;font-weight:800;}
.dday-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
.dday-form label,.exam-form label,.timer-minute{display:grid;gap:6px;color:#7A8190;font-size:.76rem;font-weight:850;}
.dday-form select,.dday-form input,.exam-form select,.exam-form input,.timer-minute input,.memo-input textarea{width:100%;min-width:0;border:1px solid #E8EBF2;border-radius:12px;background:#fff;color:#303642;font-size:.86rem;font-weight:700;outline:none;}
.dday-form select,.dday-form input,.exam-form select,.exam-form input,.timer-minute input{height:38px;padding:0 10px;}
.dday-form button{height:38px;align-self:end;}
.dday-result{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:#F8F7FF;margin-bottom:12px;}
.dday-result strong{font-size:1.2rem;color:#5B4FD4;font-weight:950;}.dday-result span{font-size:.82rem;color:#68707f;font-weight:750;line-height:1.45;}
.coach-ordered{margin:0;padding-left:20px;color:#3D4452;font-size:.86rem;font-weight:700;line-height:1.65;word-break:keep-all;}
.teacher-card-grid{display:grid;gap:10px;}
.teacher-card{padding:13px 14px;border:1px solid #EEF0F6;border-radius:16px;background:#FAFBFF;}
.teacher-card b{display:block;margin-bottom:6px;color:#303642;font-size:.88rem;font-weight:950;}
.teacher-card p{margin:0;color:#68707f;font-size:.82rem;font-weight:700;line-height:1.5;word-break:keep-all;}
.timer-box{display:grid;gap:12px;padding:18px;border-radius:18px;background:#111827;color:#fff;text-align:center;margin-bottom:12px;}
.timer-box strong{font-size:2.2rem;font-weight:950;letter-spacing:.04em;font-variant-numeric:tabular-nums;}
.timer-box div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;}
.timer-box button{padding:8px 10px;background:rgba(255,255,255,.14);color:#fff;}
.timer-minute{grid-template-columns:1fr 80px;align-items:center;margin-bottom:12px;}
.timer-log{display:flex;flex-wrap:wrap;gap:6px;}
.timer-log span{padding:6px 8px;border-radius:999px;background:#F8F9FA;color:#68707f;font-size:.76rem;font-weight:800;}
.memo-input{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px;}
.memo-input textarea{min-height:74px;padding:10px;resize:vertical;line-height:1.5;}
.memo-input button{padding:0 14px;}
.memo-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding-right:2px;}
.memo-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-radius:16px;background:#FAFBFF;border:1px solid #EEF0F6;}
.memo-row b{display:block;margin-bottom:4px;color:#5B4FD4;font-size:.78rem;font-weight:900;}.memo-row p{margin:0;color:#3D4452;font-size:.82rem;font-weight:700;line-height:1.5;white-space:pre-wrap;word-break:keep-all;}
.memo-row button{padding:8px 10px;background:#F8F9FA;color:#8A90A0;}
.exam-mode-panel{margin-top:16px;}
.exam-form{display:grid;grid-template-columns:repeat(8,1fr) auto;gap:10px;align-items:end;}
.exam-form button{height:38px;padding:0 16px;background:var(--primary,#6C5CE7);color:#fff;white-space:nowrap;}
.exam-judge{margin-top:12px;padding:13px 14px;border-radius:16px;background:#F8F7FF;color:#5B4FD4;font-size:.88rem;font-weight:850;line-height:1.5;word-break:keep-all;}
@media (max-width:1280px){.coach-grid.top,.coach-grid.mid{grid-template-columns:1fr 1fr}.exam-form{grid-template-columns:repeat(4,1fr)}.exam-form button{grid-column:span 4}.coach-summary-strip{grid-template-columns:repeat(2,1fr)}}
@media (max-width:860px){.coach-head{flex-direction:column}.coach-grid.top,.coach-grid.mid{grid-template-columns:1fr}.upgrade-main{grid-template-columns:repeat(2,1fr)}.dday-form{grid-template-columns:1fr}.exam-form{grid-template-columns:1fr}.exam-form button{grid-column:auto}.memo-input{grid-template-columns:1fr}.coach-summary-strip{grid-template-columns:1fr}}

/* --- 마이페이지 단순화 패치: 핵심만 먼저 보이게 정리 --- */
.study-insight.dashboard-card{
  padding:24px;
}
.simple-insight-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid #EEF0F6;
}
.simple-insight-head h2{
  margin:0 0 6px;
  color:var(--text-dark,#2D3436);
  font-size:1.25rem;
  font-weight:950;
  letter-spacing:-.04em;
}
.simple-insight-head p{
  margin:0;
  color:#68707f;
  font-size:.9rem;
  font-weight:650;
  line-height:1.5;
  word-break:keep-all;
}
.simple-insight-empty{
  display:grid;
  gap:6px;
  padding:24px;
  border:1px dashed #D9DDE8;
  border-radius:20px;
  background:#FAFBFF;
  color:#68707f;
}
.simple-insight-empty b{
  color:#2D3436;
  font-size:1rem;
}
.simple-insight-empty span{
  font-size:.9rem;
  line-height:1.55;
}
.simple-focus-grid{
  display:grid;
  grid-template-columns:1.05fr .85fr 1.1fr;
  gap:16px;
}
.simple-focus-card{
  min-width:0;
  min-height:178px;
  padding:18px;
  border:1px solid #EEF0F6;
  border-radius:20px;
  background:#FFFFFF;
  box-shadow:none;
}
.simple-focus-card.primary{
  background:linear-gradient(180deg,#FFFFFF 0%,#FBFAFF 100%);
  border-color:rgba(108,92,231,.18);
}
.simple-focus-card.comment{
  background:#FAFBFF;
}
.simple-card-label{
  display:block;
  margin-bottom:12px;
  color:#8A90A0;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:-.01em;
}
.simple-task-list{
  margin:0;
  padding-left:20px;
  color:#303642;
  font-size:.9rem;
  font-weight:750;
  line-height:1.65;
  word-break:keep-all;
}
.simple-task-list li{margin-bottom:7px;}
.status-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}
.status-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#F3F4F8;
  color:#5F6673;
  font-size:.8rem;
  font-weight:900;
}
.status-chip.good{background:#E7F8EF;color:#008A68;}
.status-chip.bad{background:#FFF1F1;color:#CF3E45;}
.status-chip.new{background:#F0EDFF;color:#5C4AD8;}
.status-chip.hold,.status-chip.flat{background:#F3F4F8;color:#5F6673;}
.simple-card-desc{
  margin:0;
  color:#68707f;
  font-size:.88rem;
  font-weight:650;
  line-height:1.6;
  word-break:keep-all;
}
.simple-card-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.simple-card-title-row .simple-card-label{margin-bottom:0;}
.simple-comment-box{
  margin:0;
  padding:12px;
  max-height:126px;
  overflow:auto;
  border:1px solid #EEF0F6;
  border-radius:14px;
  background:#FFFFFF;
  color:#303642;
  font-family:'Pretendard',sans-serif;
  font-size:.86rem;
  font-weight:650;
  line-height:1.6;
  white-space:pre-wrap;
  word-break:keep-all;
}
.simple-detail-box{
  margin-top:16px;
  border:1px solid #EEF0F6;
  border-radius:18px;
  background:#FFFFFF;
  overflow:hidden;
}
.simple-detail-box > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 18px;
  cursor:pointer;
  color:#303642;
  font-size:.92rem;
  font-weight:950;
  list-style:none;
}
.simple-detail-box > summary::-webkit-details-marker{display:none;}
.simple-detail-box > summary::after{
  content:'펼치기';
  color:#8A90A0;
  font-size:.78rem;
  font-weight:850;
}
.simple-detail-box[open] > summary::after{content:'접기';}
.simple-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1.15fr;
  gap:14px;
  padding:0 16px 16px;
}
.simple-detail-grid .insight-panel{
  min-height:0;
  border-color:#F0F2F7;
  background:#FAFBFF;
}
.simple-metric-list{
  display:grid;
  gap:10px;
}
.simple-metric-list div{
  display:grid;
  grid-template-columns:82px 1fr;
  gap:10px;
  align-items:start;
  padding:10px 12px;
  border:1px solid #EEF0F6;
  border-radius:14px;
  background:#FFFFFF;
}
.simple-metric-list b{
  color:#303642;
  font-size:.82rem;
  font-weight:900;
}
.simple-metric-list span{
  color:#68707f;
  font-size:.82rem;
  font-weight:750;
  line-height:1.4;
  word-break:keep-all;
}
.study-coach-shell.dashboard-card{
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(108,92,231,.08);
  box-shadow:var(--shadow-card,0 4px 20px rgba(0,0,0,.03));
}
.study-coach-shell.dashboard-card:hover{
  transform:none;
  box-shadow:var(--shadow-card,0 4px 20px rgba(0,0,0,.03));
}
.study-coach-toggle{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  padding:20px 24px;
  cursor:pointer;
  list-style:none;
}
.study-coach-toggle::-webkit-details-marker{display:none;}
.study-coach-toggle::after{
  content:'펼치기';
  justify-self:end;
  padding:6px 10px;
  border:1px solid #E4E7F0;
  border-radius:999px;
  color:#6C5CE7;
  background:#F8F7FF;
  font-size:.78rem;
  font-weight:900;
}
.study-coach-shell[open] .study-coach-toggle::after{content:'접기';}
.study-coach-toggle span{
  color:#2D3436;
  font-size:1rem;
  font-weight:950;
  letter-spacing:-.035em;
}
.study-coach-toggle em{
  color:#8A90A0;
  font-style:normal;
  font-size:.85rem;
  font-weight:650;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.study-coach-shell .study-coach{
  padding:0 24px 24px;
}
.study-coach-shell .study-coach.dashboard-card,
.study-coach-shell .study-coach{
  margin:0;
  border:0;
  box-shadow:none;
}
@media (max-width:1180px){
  .simple-focus-grid{grid-template-columns:1fr;}
  .simple-detail-grid{grid-template-columns:1fr;}
}
@media (max-width:768px){
  .simple-insight-head{flex-direction:column;}
  .simple-insight-head .copy-report-btn{width:100%;}
  .study-coach-toggle{grid-template-columns:1fr auto;align-items:start;}
  .study-coach-toggle em{grid-column:1 / -1;white-space:normal;}
}

/* --- 마이페이지는 요약만, 공부 기능은 새 메뉴로 분리 --- */
.study-shortcuts.dashboard-card{border:1px solid rgba(108,92,231,.08);box-shadow:var(--shadow-card,0 4px 20px rgba(0,0,0,.03));}
.study-shortcuts.dashboard-card:hover{transform:none;}
.study-shortcut-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.study-shortcut-grid a{display:block;text-decoration:none;border:1px solid #EEF0F6;background:#FBFCFF;border-radius:18px;padding:18px;transition:.2s;}
.study-shortcut-grid a:hover{border-color:var(--primary-light,#A29BFE);transform:translateY(-2px);box-shadow:0 12px 24px rgba(108,92,231,.10);}
.study-shortcut-grid b{display:block;color:#252B3A;font-size:1.02rem;margin-bottom:8px;}
.study-shortcut-grid span{display:block;color:#68707F;font-size:.88rem;font-weight:700;line-height:1.5;word-break:keep-all;}
@media (max-width:900px){.study-shortcut-grid{grid-template-columns:1fr;}}

/* 관리자 회원 목록: 학생별 공부방 배정 */
.mini-select{
  min-width:104px;
  height:34px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#3d4350;
  font-weight:900;
  padding:0 10px;
  outline:none;
}
.mini-select:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(108,92,231,.12);
}
.course-select{white-space:nowrap;}
