/* TWJ Step 5 — compact calendar and trends */
.twj-s5-progress{margin:8px 0 18px}
.twj-s5-intro h2{font-size:28px;margin:3px 0 0}
.twj-s5-intro p{font-size:11px;color:var(--muted);line-height:1.5;margin:5px 0 11px}
.twj-s5-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 13px}
.twj-s5-summary>div{display:grid;gap:6px;background:#192333;border:1px solid #344761;border-radius:12px;padding:10px 12px;min-width:0}
.twj-s5-summary small{font-size:9px;color:#9cbcf8;letter-spacing:.06em}
.twj-s5-summary strong{font-size:clamp(18px,4vw,25px);font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.twj-s5-summary strong em{font-size:10px;color:var(--muted);font-weight:600;font-style:normal}
.twj-s5-summary span{font-size:10px;color:var(--muted)}
.twj-s5-trends{padding:10px 12px!important;margin:9px 0!important}
.twj-s5-trends>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;font-size:13px;cursor:pointer}
.twj-s5-trends>summary>span{color:var(--muted);font-size:10px}
.twj-s5-trends h4{font-size:12px;margin:12px 0 2px}
.twj-s5-trends>small{font-size:10px;color:var(--muted)}
.twj-s5-graph{display:flex;gap:2px;align-items:flex-end;height:120px;overflow:hidden}
.twj-s5-graphday{flex:1;min-width:0;height:112px;display:flex;flex-direction:column;justify-content:flex-end}
.twj-s5-graphtrack{flex:1;display:flex;align-items:flex-end;background:transparent;min-height:0}
.twj-s5-graphtrack i{display:block;width:100%;border-radius:3px 3px 0 0;background:#5289fb;min-height:1px}
.twj-s5-graphtrack i.empty{background:#333f53}
.twj-s5-graphday>span{text-align:center;height:13px;line-height:13px;color:var(--muted);font-size:8px}
.twj-s5-calendar{padding:12px!important;margin:9px 0!important}
.twj-s5-calendarhead{display:flex;align-items:center;justify-content:space-between;gap:7px}
.twj-s5-calendarhead h3{font-size:16px;margin:0}
.twj-s5-calendarhead>div{display:flex;gap:3px;align-items:center}
.twj-s5-calendarhead>div strong{min-width:104px;text-align:center;font-size:11px}
.twj-s5-calendarhead>div button{width:35px;height:35px;border:1px solid #344a68;background:#1e2b40;color:#bcd3ff;border-radius:9px;font-size:22px}
.twj-s5-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:13px 0 11px}
.twj-s5-grid .twj-s5-weekday{text-align:center;color:var(--muted);font-size:10px;padding:4px 0}
.twj-s5-grid button{position:relative;width:100%;min-height:40px;background:#202a38;border:1px solid transparent;border-radius:10px;color:#d2dcf0;display:grid;place-items:center;padding:4px 1px}
.twj-s5-grid button b{font-size:13px}
.twj-s5-grid button i{position:absolute;bottom:5px;width:5px;height:5px;border-radius:50%;background:#78a7ff}
.twj-s5-grid button.trained{color:#fff}
.twj-s5-grid button.now{border-color:#799fed}
.twj-s5-grid button.picked{background:#385ea0;border-color:#6c9fff}
.twj-s5-grid button:disabled{opacity:.75}
.twj-s5-calendarsummary{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #38465a;padding-top:11px}
.twj-s5-calendarsummary strong{font-size:12px}
.twj-s5-calendarsummary span{font-size:10px;color:var(--muted)}
.twj-s5-daydetails{background:#1d293e;border-radius:10px;margin-top:9px;padding:9px}
.twj-s5-daydetails>strong{font-size:12px}
.twj-s5-daydetails>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid #36465c;font-size:11px}
.twj-s5-daydetails small{color:#adc6fa}
@media(min-width:760px){.twj-s5-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.twj-s5-graph{height:155px}}
@media(max-width:375px){.twj-s5-grid{gap:3px}.twj-s5-grid button{min-height:37px}.twj-s5-calendarhead>div strong{min-width:94px;font-size:10px}}
