.entry-grid{grid-template-columns:1fr}
.bottom-grid{grid-template-columns:minmax(0,1.06fr) minmax(0,1.4fr)}
.report-actions{grid-template-columns:1fr}
.manual-bg,.stage-row{margin:12px 0 4px}
.manual-bg textarea,.stage-row select{width:100%;margin-top:6px;background:#07182e;color:inherit;border:1px solid #24527e;border-radius:10px;padding:10px 12px}
.status-line{min-height:1.4em;color:#9fd8ff;margin:8px 0}
.empty-note{color:#a9c3e4;padding:12px 0}
.auth-card{max-width:460px;margin:48px auto;padding:28px}
.auth-card h1{font-size:32px;margin:0 0 8px}
.auth-card label{display:block;margin:14px 0 6px}
.auth-card input{width:100%;height:44px;border-radius:10px;border:1px solid #24527e;background:#07182e;color:inherit;padding:0 12px}
.me-list{display:flex;flex-direction:column;gap:10px}
.me-list a,.me-list div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #17385a}
body[data-page="interview"][data-mode="formal"] .intent-panel,
body[data-page="interview"][data-mode="formal"] .structure-panel,
body[data-page="interview"][data-mode="formal"] .issues-panel{display:none}
.recording-panel.paused .waveform{opacity:.35}
.upload-zone{position:relative}
.upload-zone .upload-input{position:absolute;inset:0;z-index:2;width:100%;height:100%;opacity:0;cursor:pointer}
.example-banner{margin:0 0 12px;padding:10px 14px;border:1px solid #8a6a22;border-radius:10px;color:#f3d48a;background:#3a2a08cc}
#draft-status{margin-left:8px;color:#9fd8ff;font-size:12px}
#effective-time{display:block;color:#9fb6d2;font-size:12px;font-weight:500}

.answer-score-receipt{padding:8px 12px;border:1px solid #23527b;border-radius:10px;background:#09243b;color:#8ddaff;font-size:13px;margin:8px 0}.report-progress{padding:22px;margin:18px auto;max-width:1280px}.report-progress h2{font-size:20px;margin:0 0 12px}.report-progress p{color:#9fbedb}.report-progress-track{height:9px;background:#142b46;border-radius:20px;overflow:hidden;margin:18px 0}.report-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#25d6ff,#4773ff);transition:width .5s}.report-progress.failed{border-color:#bf8a44}.report-progress[hidden]{display:none}

.report-loading .metrics-grid,.report-loading .report-grid,.report-loading .report-actions{display:none}

.records-panel{height:auto;min-height:295px}
.records .record{min-height:64px;height:auto;padding:10px 11px;overflow:hidden;box-sizing:border-box}
.records .record-copy{min-width:0;flex:1;overflow:hidden}
.records .record-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.records .record-copy p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0}

/* Personal Center (me.html) */
body[data-page="me"] .workspace{max-width:1100px;padding-bottom:48px}
.me-layout{display:flex;flex-direction:column;gap:20px}
.me-profile-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;background:linear-gradient(135deg,#092342ee,#05182ecc);border:1px solid #1a4975}
.me-profile-main{display:flex;align-items:center;gap:16px;min-width:240px}
.me-avatar{width:58px;height:58px;border-radius:50%;border:2px solid #238cff;box-shadow:0 0 12px #0088ff44}
.me-profile-info h2{font-size:24px;margin:0;color:#f0f6ff;font-weight:700}
.me-profile-name-row{display:flex;align-items:center;gap:10px}
.me-user-badge{font-size:11px;padding:2px 9px;border-radius:12px;background:linear-gradient(135deg,#103c6e,#0a2548);border:1px solid #2772c7;color:#79c5ff}
.me-user-meta{margin:6px 0 0;color:#8bb1db;font-size:13px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.me-invite-tag{color:#62c3ff;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;background:#0b2d52;padding:1px 7px;border-radius:6px;border:1px solid #1a4f80}
.me-quota-grid{display:flex;gap:14px;flex-wrap:wrap}
.me-quota-box{background:linear-gradient(135deg,#08213b,#041629);border:1px solid #18446e;border-radius:12px;padding:12px 18px;min-width:170px}
.me-quota-label{display:block;font-size:12px;color:#8faecf;margin-bottom:4px}
.me-quota-val{display:flex;align-items:baseline;gap:6px}
.me-quota-val strong{font-size:26px;color:#2cd5ff;font-weight:800;line-height:1}
.me-quota-val small{font-size:12px;color:#9cbade}
.me-account-actions{display:flex;gap:12px;align-items:center}
.me-btn-danger-outline{border:1px solid #6b2839;background:#260e1599;color:#ff889d;border-radius:10px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:.2s}
.me-btn-danger-outline:hover{border-color:#ff4769;background:#3d1420;color:#ffaec0}
.me-tabs-bar{display:flex;gap:10px;border-bottom:1px solid #163b63;padding-bottom:10px;margin-top:4px}
.me-tab{background:none;border:1px solid transparent;border-radius:20px;padding:7px 18px;color:#9ab8de;font-size:14px;cursor:pointer;transition:all .2s}
.me-tab:hover{color:#d8e8fc;background:#0c2644}
.me-tab.active{background:linear-gradient(135deg,#093766,#0e4c8c);color:#4fd1ff;border-color:#277dd6;font-weight:600;box-shadow:0 0 10px #0950a044}
.me-section{padding:22px 24px;border-radius:16px}
.me-card-list{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.me-item-card{border:1px solid #18416d;border-radius:14px;background:linear-gradient(130deg,#0a213e,#06172e);padding:18px 20px;transition:transform .2s,border-color .2s,box-shadow .2s}
.me-item-card:hover{border-color:#2b77bf;transform:translateY(-1px);box-shadow:0 4px 18px rgba(0,100,220,.12)}
.me-item-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}
.me-item-title-box{min-width:0;flex:1}
.me-item-role{margin:0 0 8px;font-size:18px;font-weight:600;color:#f0f6ff;line-height:1.4}
.me-item-chips{display:flex;flex-wrap:wrap;gap:6px}
.me-chip{font-size:12px;color:#9dc3e9;background:#0c2b4c;border:1px solid #184673;border-radius:6px;padding:3px 9px;white-space:nowrap}
.me-chip.chip-mint{color:#38efc6;background:#053b3b;border-color:#0b6863}
.me-chip.chip-amber{color:#ffc86b;background:#3b2a0c;border-color:#6b4d16}
.me-item-time{font-size:12px;color:#7899be;white-space:nowrap}
.me-item-body{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:14px;border-top:1px solid #112f51}
.me-item-status-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.me-score-badge{display:inline-flex;align-items:baseline;gap:4px;padding:4px 12px;border-radius:10px;background:linear-gradient(135deg,#093766,#0e4e94);border:1px solid #2f83db}
.me-score-badge .score-num{font-size:22px;font-weight:800;color:#4cd3ff;line-height:1}
.me-score-badge .score-unit{font-size:12px;color:#a6d8ff}
.me-score-badge .score-tag{font-size:11px;color:#7ebbf0;margin-left:4px}
.me-badge{font-size:12px;padding:4px 11px;border-radius:8px;display:inline-flex;align-items:center;gap:5px;font-weight:500;white-space:nowrap}
.me-badge.status-ready{background:#09392c;color:#3be4b5;border:1px solid #146e55}
.me-badge.status-active{background:#392b0c;color:#ffc457;border:1px solid #735418}
.me-badge.status-pending{background:#0c2b48;color:#58c0ff;border:1px solid #1a568b}
.me-badge.status-expired,.me-badge.status-insufficient{background:#172638;color:#8faec9;border:1px solid #243c57}
.me-badge.status-failed{background:#3b141d;color:#ff758c;border:1px solid #7a2839}
.me-summary-text{font-size:13px;color:#adc5e2;line-height:1.6;margin:0;max-width:620px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.me-item-feedback{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex:1;min-width:0}
.me-action-btn{font-size:13px;padding:7px 18px;min-height:38px;border-radius:9px;white-space:nowrap}
.me-empty-state{text-align:center;padding:44px 20px}
.me-empty-state p{font-size:17px;font-weight:600;color:#cfe0f5;margin:0 0 6px}
.me-empty-state small{font-size:13px;color:#82a3c7;display:block}
.me-empty-btn{display:inline-flex;margin-top:14px;padding:8px 22px;font-size:14px}
@media(max-width:768px){
  .me-profile-card{flex-direction:column;align-items:flex-start;padding:20px 18px}
  .me-quota-grid{width:100%}
  .me-quota-box{flex:1;min-width:140px}
  .me-account-actions{width:100%;justify-content:flex-start}
  .me-item-body{flex-direction:column;align-items:flex-start;gap:14px}
  .me-item-action{width:100%}
  .me-tabs-bar{overflow-x:auto;white-space:nowrap;padding-bottom:6px}
}

.me-entitlements-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; margin: 18px 0 10px;
}
.me-entitlement-box {
  background: linear-gradient(135deg, #07223e, #04162a);
  border: 1px solid #17426b; border-radius: 12px; padding: 12px 16px; min-width: 0;
}
.me-entitlement-k { display: block; font-size: 12px; color: #8ba8cd; margin-bottom: 4px; }
.me-entitlement-v { display: flex; align-items: baseline; gap: 6px; }
.me-entitlement-v strong { font-size: 24px; color: #5ad8ff; font-weight: 800; line-height: 1; }
.me-entitlement-v strong.mint { color: #2bf1c7; }
.me-entitlement-v strong.gold { color: #f5cb74; }
.me-entitlement-v small { font-size: 12px; color: #8faecf; }
.me-entitlement-cta-row { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.me-entitlement-btn { font-size: 13px; padding: 7px 18px; border-radius: 8px; font-weight: 600; min-height: 36px; }
.me-event-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid #143d65; border-radius: 10px;
  background: #061e38; font-size: 13px; color: #c4dcf8;
}
.me-event-info { display: flex; align-items: center; gap: 10px; }
.me-event-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.me-event-tag.tag-redeem { background: #0c3d31; color: #34d399; border: 1px solid #13775a; }
.me-event-tag.tag-consume { background: #123359; color: #60a5fa; border: 1px solid #1f5791; }
.me-event-tag.tag-rollback { background: #3b2a0c; color: #f59e0b; border: 1px solid #784c0f; }
.me-event-time { font-size: 12px; color: #7697bd; }
@media(max-width: 800px) {
  .me-entitlements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 500px) {
  .me-entitlements-grid { grid-template-columns: 1fr; }
}

.coach-exhausted-banner {
  margin: 16px 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(234, 179, 8, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.coach-exhausted-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coach-exhausted-badge {
  font-size: 13px;
  font-weight: 700;
  color: #fde047;
  display: flex;
  align-items: center;
  gap: 6px;
}
.coach-exhausted-info p {
  margin: 0;
  font-size: 13px;
  color: #cad9eb;
  line-height: 1.5;
}
.coach-exhausted-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
@media(max-width: 600px) {
  .coach-exhausted-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .coach-exhausted-actions {
    width: 100%;
    margin-top: 8px;
  }
  .coach-exhausted-actions > * {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

