.monthly-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.monthly-cards .stat-card{min-width:0}.monthly-value{font-size:clamp(24px,2.2vw,36px);font-weight:750;margin:14px 0 8px;font-variant-numeric:tabular-nums}.monthly-label{color:var(--q-muted);font-size:14px}.monthly-muted{color:var(--q-muted)}.monthly-cards small{display:block;line-height:1.5;color:var(--q-muted)}.monthly-method{margin:20px 0}.monthly-method summary{padding:22px;cursor:pointer;font-weight:650}.monthly-method p{line-height:1.6}.monthly-result{margin-top:20px}.monthly-result p{max-width:900px;line-height:1.7}.monthly-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;line-height:1.6}.monthly-check input{margin-top:6px;flex-shrink:0}.monthly-badge{display:inline-block;border-radius:8px;padding:4px 8px;background:var(--q-soft);color:var(--q-muted);font-size:12px}.monthly-badge.warn{background:var(--q-amber-soft);color:var(--q-amber)}.monthly-delivery{padding:16px 0;border-bottom:1px solid var(--q-line);display:flex;gap:12px;justify-content:space-between;align-items:center}.monthly-delivery p{margin:6px 0;color:var(--q-muted)}.monthly-delivery button{flex-shrink:0}#review,#documentDetail{margin:20px 0}#review textarea{min-height:90px;width:100%;margin:8px 0 18px}#reviewContent li{margin:10px 0;line-height:1.5}#status:empty{display:none}#status{line-height:1.6}.monthly-error{color:var(--q-red)}.monthly-cards [data-incomplete]{border-color:var(--q-line)}.data-table td,.data-table th{font-variant-numeric:tabular-nums}.data-table td:not(:first-child){white-space:nowrap}.monthly-history{padding:16px 0;border-bottom:1px solid var(--q-line)}@media(max-width:1100px){.monthly-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.monthly-cards{grid-template-columns:1fr}.monthly-delivery{align-items:flex-start;flex-direction:column}.page-actions{flex-wrap:wrap}.monthly-value{font-size:30px}.monthly-method summary{padding:18px}}
.portal-main,.portal-content,.panel{min-width:0}.monthly-empty{white-space:normal!important;padding:28px!important;line-height:1.7}.monthly-client{max-width:280px;white-space:normal!important;overflow-wrap:anywhere}.monthly-source-list{padding-left:22px;line-height:1.7}.monthly-source-list li{margin:12px 0}.monthly-notice{padding:16px;background:var(--q-amber-soft);border-radius:12px;line-height:1.7}.monthly-detail-head{padding:0 0 12px}.monthly-history p{line-height:1.6}.monthly-badge{margin:3px 0}.monthly-check[hidden],[hidden]{display:none!important}#reviewContent,#documentDetail{overflow-wrap:anywhere}#reviewStatus{line-height:1.7}#review .page-actions{margin-top:16px}button:disabled{cursor:not-allowed;opacity:.55}@media(max-width:600px){.portal-content{padding-left:16px;padding-right:16px}.monthly-detail-head{gap:14px;flex-wrap:wrap}}

.monthly-client{min-width:180px}.data-table{min-width:760px}[data-pilotage="monthly"] .data-table{min-width:1000px}.monthly-scroll-hint{display:none;margin:0;padding:12px 20px;color:var(--q-muted);font-size:13px}@media(max-width:900px){.monthly-scroll-hint{display:block}}
.monthly-delivery-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.monthly-delivery-actions .btn{white-space:normal;text-align:center}@media(max-width:600px){.monthly-delivery-actions{justify-content:flex-start;width:100%}.monthly-delivery-actions .btn{max-width:100%}}
#review{scroll-margin-top:96px}

.monthly-cell-note{display:block;white-space:normal;max-width:160px;font-size:12px;line-height:1.5;color:var(--q-muted);margin-top:5px}.monthly-partial{background:var(--q-amber-soft)}[data-pilotage="monthly"] .data-table{min-width:1100px;table-layout:fixed;width:100%}[data-pilotage="monthly"] .data-table th,[data-pilotage="monthly"] .data-table td{padding:14px 10px}[data-pilotage="monthly"] .data-table thead th{white-space:normal}[data-pilotage="monthly"] .data-table th:first-child{width:72px}[data-pilotage="monthly"] .data-table th:last-child{width:142px}[data-pilotage="monthly"] .monthly-badge{white-space:normal}[data-pilotage="monthly"] [data-month]{padding:8px;font-size:12px}#monthlyDetail{margin-top:20px;scroll-margin-top:90px}#monthlyDetail p{line-height:1.65}#monthlyDetail .page-actions{justify-content:space-between}@media(max-width:1410px){[data-pilotage="monthly"] .monthly-scroll-hint{display:block}}
