.wind-report-options { margin:12px 4px; }
.wind-report-fields { display:flex; flex-wrap:wrap; gap:16px; padding:12px 0; }
.wind-report-fields label { display:grid; gap:4px; font-weight:600; }
.wind-report-fields input { padding:7px; width:250px; max-width:100%; border:1px solid #c3ced8; border-radius:4px; }
#windReportMessage { color:#667785; margin:8px 4px; }
.wind-report-dialog { width:1100px; max-width:96vw; max-height:92vh; padding:0; border:1px solid #c3ced8; border-radius:10px; color:#1f2933; }
.wind-report-dialog::backdrop { background:rgba(15,30,45,.6); }
.wind-report-toolbar { position:sticky; top:0; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:12px 20px; background:#eef3f7; z-index:1; }
.wind-report-toolbar h2 { margin:0; font-size:18px; }
#windReport { padding:24px; font:13px/1.5 Arial,sans-serif; background:white; }
.wind-report-header { display:flex; align-items:center; gap:20px; border-bottom:3px solid var(--report-primary); padding-bottom:18px; }
.wind-report-header > div { flex:1; }
.wind-report-header > p { max-width:160px; }
.wind-report-header p { margin:3px 0; }
.wind-report-logo { width:85px; height:85px; object-fit:contain; }
.wind-report-brand { color:var(--report-primary); font-weight:bold; font-size:18px; }
#windReport h1 { font-size:25px; color:var(--report-secondary); margin:5px 0; }
.wind-report-section { margin:20px 0; }
#windReport h2 { font-size:16px; background:var(--report-primary); color:white; padding:9px 12px; border-radius:4px; }
#windReport h3 { font-size:15px; color:var(--report-secondary); margin:18px 0 8px; }
#windReport h4 { font-size:13px; margin:14px 0 5px; color:var(--report-secondary); }
#windReport table { width:100%; border-collapse:collapse; margin-bottom:14px; table-layout:fixed; font-size:12px; }
#windReport th,#windReport td { border:1px solid #d9e1e8; padding:6px 8px; overflow-wrap:anywhere; }
#windReport th { background:#eef3f7; color:var(--report-secondary); }
#windReport tr:nth-child(even) td { background:#f8fafc; }
#windReport figure { margin:15px 0; text-align:center; break-inside:avoid; }
#windReport figure img { max-width:100%; max-height:230mm; object-fit:contain; }
#windReport figcaption { color:#667785; font-size:12px; }
.wind-report-notes { white-space:pre-line; padding:12px; border-left:4px solid #c58a16; background:#fff8e8; }
.wind-report-footer { border-top:1px solid #c3ced8; padding-top:10px; color:#667785; }
.wind-report-project { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(0, 1fr); gap:18px; align-items:start; break-inside:avoid; }
#windReport .wind-report-project td:first-child { width:65%; }
#windReport .wind-report-building { margin:0; padding:8px; border:1px solid #d9e1e8; border-radius:6px; background:#f8fbfc; }
#windReport .wind-report-building img { width:100%; max-height:430px; }
#windReport .wind-report-building figcaption { white-space:pre-line; }
@media screen and (max-width:650px) { .wind-report-project { grid-template-columns:1fr; } }
@media print {
    @page { size:A4 portrait; margin:14mm 12mm; }
    body.wind-report-printing *:not([data-wind-print-path]):not(#windReport):not(#windReport *) { display:none !important; }
    body.wind-report-printing [data-wind-print-path] { display:block !important; position:static !important; float:none !important; width:auto !important; max-width:none !important; min-height:0 !important; height:auto !important; max-height:none !important; margin:0 !important; padding:0 !important; border:0 !important; box-shadow:none !important; overflow:visible !important; background:white !important; }
    body.wind-report-printing { margin:0 !important; padding:0 !important; }
    #windReport { display:block !important; padding:0; font-size:11px; }
    #windReport * { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
    #windReport h2 { color:white !important; background:var(--report-primary) !important; break-after:avoid; }
    #windReport h3,#windReport h4 { break-after:avoid; }
    #windReport table { font-size:9px; }
    #windReport thead { display:table-header-group; }
    #windReport tr,.wind-report-header,.wind-report-footer { break-inside:avoid; }
    .wind-report-load-case { break-before:page; }
    .wind-report-dialog::backdrop { display:none; }
}
