/* Copyright (c) Microsoft Corporation.
Licensed under the MIT license. */
* { box-sizing: border-box; }
body {
    margin: 0;
    color: #17354a;
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
}
.site-header {
    padding: 14px 24px;
    color: #fff;
    background: #005581;
    border-bottom: 4px solid #c90052;
}
.site-header h1 { margin: 0; font-size: 1.5rem; font-weight: 700; }
.site-header p { margin: 4px 0 0; font-size: 0.9rem; }
main { width: 100%; margin: 0 auto; padding: 0 12px 12px; }
/* The existing JavaScript inserts the export toolbar before the report. */
main > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
main > div .btn { flex-shrink: 0; }
#report-container {
    width: 100%;
    height: calc(100vh - 160px);
    min-height: 480px;
}
#report-container iframe { display: block; width: 100%; height: 100%; border: 0; }
.error-container { margin: 16px; color: #8d1432; white-space: pre-wrap; overflow-wrap: anywhere; }
.error-container:empty { display: none; }
@media (max-width: 574px) {
    .site-header { padding: 12px 16px; }
    .site-header h1 { font-size: 1.25rem; }
    main { padding: 0 4px 8px; }
    #report-container { height: calc(100vh - 170px); min-height: 420px; }
}
