/* Report surface inherits the product's existing white/blue/navy tokens. */
.report-navigation,.report-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 24px}
.report-version-nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px;max-width:100%}
.report-version-nav .button{white-space:normal;min-height:44px;line-height:1.5;text-align:left}
.report-version-nav [aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.report-detail-page .report-detail-head{margin-bottom:12px;padding-bottom:0}
.report-navigation [aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.report-meta,.report-notice,.report-empty{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.report-meta{color:var(--muted);margin:14px 0}
.report-notice{padding:16px;border:1px solid var(--line);background:var(--accent-soft);margin:18px 0}
.report-empty{padding:28px 0}
/* Approved library cards. Scoped typography avoids display-font/date overrides. */
.report-grid{gap:16px;align-items:stretch}
.report-row.report-library-card{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);font-family:"Pretendard Variable","Apple SD Gothic Neo",sans-serif;font-weight:400;text-align:center}
.report-library-card .report-row-head{padding:12px 16px 0}
.report-library-card .report-status{min-height:24px;padding:2px 9px;font-size:12px;font-weight:400;line-height:1.5}
.report-library-card .report-card-arrow{font:400 22px/1 sans-serif;color:var(--muted)}
.report-card-cover{display:flex;flex:1;flex-direction:column;align-items:center;gap:6px;padding:10px 12px 18px;min-width:0}
.report-card-icon{display:block;flex:none;margin:0 0 8px;color:var(--accent)}
.report-library-card .report-card-period{font-family:"Pretendard Variable","Apple SD Gothic Neo",sans-serif;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
.report-card-caption{font-size:12px;font-weight:400;line-height:1.5;color:var(--muted)}
.report-card-metrics{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 8px;margin:0;padding:10px 12px;border-top:1px solid var(--line);background:var(--accent-soft);font-size:13px;font-weight:400;line-height:1.5}
.report-card-metrics>span{white-space:nowrap}
.report-card-metrics>span+span::before{content:'·';padding-right:8px;color:var(--muted)}
.report-library-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.undated-reports .report-library-card{margin-top:12px}
/* Restore the actual Monday-first calendar, not a month-filtered card list. */
.report-calendar-restored{grid-template-columns:minmax(0,1fr);grid-template-areas:"calendar" "preview";gap:16px}
.report-calendar-restored .calendar-surface{grid-area:calendar;padding:16px 12px;background:var(--panel);border:1px solid var(--line);border-radius:16px}
.report-calendar-restored .calendar-preview{grid-area:preview;position:static;padding:0}
.report-calendar-restored .calendar-preview .report-library-card{width:100%}
.report-calendar-restored .reports-month-head{flex-wrap:wrap;gap:8px;margin-bottom:12px}
.report-calendar-restored .reports-month-head h2{font:600 20px/1.4 "Pretendard Variable",sans-serif;color:var(--ink)}
.report-calendar-restored .reports-month-head button{min-width:44px;min-height:44px;color:var(--accent)}
.report-calendar-restored .calendar-this-month{font-size:14px}
.report-calendar-restored .report-weekdays span{font-size:13px;color:var(--muted)}
.report-calendar-restored .report-calendar-week{padding:5px 0;border-top:1px solid var(--line)}
.report-calendar-restored .report-week-range{margin:0 0 2px;color:var(--muted);font-size:12px;line-height:1.5}
.report-calendar-restored .report-days{gap:0}
.report-calendar-restored .report-day{min-height:44px;font-size:14px;color:var(--ink)}
.report-calendar-restored .report-day.outside{color:var(--muted);opacity:.7}
.report-calendar-restored .report-day.is-today{text-decoration-color:var(--accent)}
.report-calendar-restored .report-day.is-selected{color:#fff;background:var(--accent);opacity:1;text-decoration-color:#fff}
.report-calendar-restored .report-day:hover:not(.is-selected){background:var(--accent-soft)}
.report-calendar-restored .calendar-report-band{min-height:44px;padding:6px 8px;border:1px solid var(--line);color:var(--accent);background:var(--accent-soft)}
.report-calendar-restored .calendar-report-band span{font-size:13px;font-weight:400}
.report-calendar-restored .calendar-report-band.final{color:var(--ink);background:var(--panel)}
.report-calendar-restored .calendar-report-band.selected{box-shadow:inset 3px 0 0 var(--accent)}
.report-calendar-restored .calendar-report-band.compact span{font-size:0}
.report-calendar-restored .calendar-legend{font-size:13px;margin-top:10px}
.report-calendar-restored .legend-draft{background:var(--accent)}
.report-calendar-restored .legend-final{background:var(--ink)}
.report-calendar-restored .preview-date{font-size:14px;margin:0 0 10px}
.report-calendar-restored .preview-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.report-calendar-restored .preview-tabs button{min-height:44px;font-size:14px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);white-space:normal}
.report-calendar-restored .preview-tabs [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}
.report-calendar-restored .calendar-empty{min-height:120px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.report-calendar-restored .calendar-empty h3{margin:0 0 8px;font-size:16px}
.report-calendar-restored .calendar-empty p{font-size:14px;line-height:1.5}
.report-calendar-restored button:focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px}
.report-analysis .report-restored-chart{display:grid;gap:12px}
.report-restored-chart .report-chart-row{min-width:0}
.report-restored-chart .report-chart-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font-size:14px;line-height:1.5;margin-bottom:6px}
.report-restored-chart .bar-track{height:8px;border-radius:4px;background:var(--accent-soft)}
.report-restored-chart .bar-fill{background:var(--accent)}
.report-restored-chart p{margin:4px 0 8px}
@media(min-width:1000px){.report-calendar-restored{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);grid-template-areas:"calendar preview";align-items:start}}
.report-detail-page .report-narrative{display:block;margin-bottom:24px}
.report-detail-page .weekly-item-group li{display:flex;align-items:flex-start;flex-direction:column;gap:8px;overflow-wrap:anywhere}
.report-detail-page .weekly-item-group li strong{font-weight:500}
.report-detail-page .report-source-link{min-height:44px;text-align:left;padding:8px 0;border:0;background:none;color:var(--accent);font-size:14px;text-decoration:underline;text-underline-offset:4px}
.report-detail-page .report-story p{font-size:15px;white-space:pre-wrap}
.report-detail-page .report-story small{font-size:12px}
.report-detail-page .report-evidence{grid-template-columns:minmax(60px,max-content) minmax(0,1fr)}
.report-detail-page .report-evidence strong{font-size:14px;overflow-wrap:anywhere}
.report-detail-page .report-evidence small{display:block;margin:8px 0;color:var(--muted);font-size:12px;line-height:1.6}
.report-detail-page .report-evidence span{font-size:11px;align-self:start}
.report-project-summary{margin:18px 0;overflow-wrap:anywhere}
.report-project-summary p{font-size:14px;line-height:1.6}
.report-project-summary small{font-size:12px;line-height:1.6;color:var(--muted)}
.report-detail-page .report-panel p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.report-detail-page .report-analysis{margin:20px 0}
.report-detail-page .report-kpi span{font-size:12px;line-height:1.5}
.report-detail-page .report-analysis summary{min-height:44px;display:flex;align-items:center;font-size:16px}
.sheet:has(#report-learning) .sheet-footer,.sheet:has(#report-save-error) .sheet-footer{position:sticky;bottom:0;display:flex;flex-wrap:wrap;background:var(--panel);padding-block:16px;z-index:1}
.sheet #report-learning{font-size:16px;min-height:180px}
#report-save-error{color:var(--accent);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){.report-detail-page .report-detail-head{grid-template-columns:minmax(0,1fr);gap:18px}.report-detail-page .report-detail-title h1{font-size:28px;line-height:1.4;overflow-wrap:anywhere}.report-detail-page .report-edit{width:max-content;min-height:44px;font-size:14px}.report-detail-page .weekly-item-groups{grid-template-columns:minmax(0,1fr)}.report-calendar-secondary .reports-month-head{display:flex;flex-wrap:wrap;gap:12px}.report-grid{grid-template-columns:minmax(0,1fr)}.report-detail-page .report-dashboard{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.report-version-nav{gap:6px;margin:8px 0 12px}.report-meta{margin:8px 0}.report-detail-page .report-detail-head{gap:10px}.report-detail-page .report-detail-title h1{font-size:24px}.report-detail-page .report-back{min-height:44px;font-size:14px}.report-actions{gap:8px;margin:12px 0}.report-detail-page .report-story{padding:16px}}
