.report-builder{max-width:1000px;margin:0 auto;padding:24px;background:#fff;border:1px solid #d4dfe6;border-radius:14px;color:#193343}
.report-builder-title small{font-weight:700;color:#35647b}.report-builder h3{font-size:23px;margin:6px 0 10px}.report-builder p{line-height:1.65}
.report-builder-summary{display:flex;flex-direction:column;gap:7px;padding:16px;background:#edf4f8;border-radius:8px;margin:20px 0}.report-builder-summary span{font-size:13px;color:#536978}
.report-builder-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.report-builder label{display:flex;flex-direction:column;gap:8px;font-weight:700}.report-builder select,.report-builder textarea{width:100%;box-sizing:border-box;font:400 16px/1.6 sans-serif}.report-builder textarea{resize:vertical;min-height:130px}
.report-builder-notice{padding:12px 15px;background:#f4f7fa;border-left:3px solid #46809d;font-size:14px}.report-builder-help{font-size:13px;color:#526777}.report-builder-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.report-builder-actions button{min-height:48px}.report-builder-actions span{font-size:12px;color:#526777;max-width:400px}.report-build-error{color:#a52020;font-weight:700}
dialog.report-pdf-dialog{position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border:0!important;border-radius:0!important;background:#e8edf1!important;color:#193343;overflow:hidden!important}
dialog.report-pdf-dialog[open]{display:flex!important;flex-direction:column!important}dialog.report-pdf-dialog::backdrop{background:#102331e6}
.report-pdf-header{position:static!important;display:flex!important;align-items:center!important;gap:14px!important;flex:none!important;min-height:56px;padding:max(8px,env(safe-area-inset-top)) 12px 8px!important;background:#15394b!important;color:#fff!important;box-shadow:none!important}
.report-pdf-header b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.report-pdf-header button{flex:none;color:#fff;background:#315566;border:1px solid #72909f;min-height:40px;padding:8px 15px}
.report-pdf-toolbar{flex:none;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#fff;border-bottom:1px solid #ced9df}.report-pdf-toolbar button{min-height:40px;padding:7px 12px}.report-pdf-toolbar span{white-space:nowrap;font-size:13px}.report-pdf-toolbar [hidden]{display:none!important}
.report-pdf-hint{flex:none;margin:0;padding:8px 12px;color:#526777;font-size:12px;text-align:center}.report-pdf-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 12px max(16px,env(safe-area-inset-bottom));text-align:center}.report-pdf-content canvas{display:block;margin:0 auto 12px;background:white;box-shadow:0 2px 10px #1234;max-width:none!important}.report-pdf-content p:empty{display:none}.report-pdf-content p{margin:12px;line-height:1.6}
@media(max-width:600px){.report-builder{padding:16px}.report-builder-fields{grid-template-columns:1fr}.report-builder h3{font-size:20px}.report-builder-actions button{width:100%}.report-pdf-toolbar{gap:6px;padding:8px}.report-pdf-toolbar button{font-size:12px;padding:6px 8px}.report-pdf-header{gap:8px!important}.report-pdf-hint{font-size:11px}}
@media print{.report-builder,.report-pdf-header,.report-pdf-toolbar,.report-pdf-hint{display:none!important}}
