:root {
    --primary: #1b4332;
    --primary-hover: #2d6a4f;
    --accent: #d8f3dc;
    --text-dark: #2b2d42;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

nav {
    background-color: var(--primary-hover);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}
.frequency-list {
    border-collapse: collapse;
    width: 100%;
}

.frequency-list th,
.frequency-list td {
    padding: 2px 12px;
    text-align: left;
}

.frequency-list th {
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--primary);
    color: white;
    margin-top: 3rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent);
}

/* Only target the html element when the site-wrapper body is active */
html:has(body.site-wrapper) {
    height: 100%;
    overflow: hidden;
}

/* Restricts full-screen layout constraints strictly to the beacon reports page */
body.site-wrapper {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

/* Keeps the iframe filling the remaining screen space */
.iframe-container {
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
