﻿@charset "utf-8";
/* === Theme Variables === */
:root {
  /* Light Theme */
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-primary: #0c488e;
  --color-secondary: #148A2F;
  --color-border: #ccc;
  --color-footer-bg: #4e79ad;
  --color-footer-text: #ffffff;

  --font-family-base: Verdana, Arial, Helvetica, sans-serif;
  --font-size-base: clamp(0.5rem, 2vw, 1.125rem);
}
/* Dark Theme */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121212;
    --color-text: #e0e0e0;
    --color-primary: #90caf9;
    --color-secondary: #81c784;
    --color-border: #444;
    --color-footer-bg: #1f1f1f;
    --color-footer-text: #e0e0e0;
  }
}
/* === Global Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: 1.5;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
}
/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: var(--color-primary);
}
p, li {
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--color-secondary);
  outline: none;
}
/* === Navigation === */
nav ul {
  list-style: none;
}
.CO_menu_blue,
.CO_menu_green {
  height: 1.667em;
  text-align: right;
  border-bottom: 0.083em solid var(--color-footer-text);
}
.CO_menu_blue { background-color: var(--color-footer-bg); }
.CO_menu_green { background-color: var(--color-secondary); }
/* === Details & Summary === */
details {
  font-weight: 200;
  padding-top: 1em;
}
details[open] {
  margin-bottom: 1.25rem;
}
summary {
  cursor: pointer;
  font-weight: bold;
  border: 1px solid transparent;
}
summary:hover,
details[open] summary {
  border: 1px solid var(--color-border);
}
summary::-webkit-details-marker {
  display: none;
}
/* === Tables === */
table {
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: inherit;
}
caption {
  caption-side: top;
}
/* === Footer === */
.page_footer {
  height: 2.5em;
  text-align: center;
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.833em;
  margin-top: auto;
  padding: 1rem;
}
/* === Utilities === */
.align-right { text-align: right; }
.align-center { text-align: center; }
.align-left { text-align: left; }
.float_right { float: right; }
.nowrap { white-space: nowrap; }
.readonly { background-color: #eee; }
