/* AI分析用月次レポート：確認・コピー・ファイル出力を一画面で完結する */
.ai-report-intro{margin-bottom:16px;background:linear-gradient(120deg,#F1FBFB,#FFFFFF)}
.ai-report-intro h2,.ai-report-card h2{font-size:18px;color:var(--deep);margin:0}
.ai-report-intro p{margin:8px 0;color:var(--muted);font-size:12px;line-height:1.7}
.report-private-toggle{display:flex!important;align-items:flex-start;gap:8px;margin:12px 0 0!important;padding:9px 11px;background:#FFFBEB;border:1px solid #FDE68A;border-radius:8px;color:#92400E;font-size:12px;font-weight:600!important;cursor:pointer}
.report-private-toggle input{margin:3px 0 0;flex:0 0 auto}
.report-title-row{align-items:center}
.report-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ai-report-preview{margin:15px 0 0;padding:16px;max-height:620px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#F7FBFB;border:1px solid var(--line);border-radius:9px;color:#244444;font:12px/1.75 "Noto Sans JP",system-ui,sans-serif}
@media(max-width:760px){
  .report-page-head .date-select{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .report-page-head .date-select .btn{grid-column:1/-1;width:100%}
  .ai-report-intro,.ai-report-card{padding:14px}
  .report-title-row{display:block}
  .report-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .report-actions .btn{width:100%;padding:10px 7px;font-size:12px}
  .ai-report-preview{margin-top:12px;padding:12px;max-height:480px;font-size:11px;line-height:1.7}
}
