/* ============================
   RESET
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================
   BASE STYLES
============================ */
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #f2f5f9;
  color: #222;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ============================
   LAYOUT
============================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ============================
   HEADER
============================ */
.site-header {
  background: #1a3e5f;
  color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  border-bottom: 6px solid #ffdd57;
}

.header-centered-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.city-seal {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.header-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.motto {
  font-size: 1.2rem;
  color: #d8ecfa;
}

.latin {
  font-style: italic;
  color: #b5d6eb;
}

/* ============================
   NAVIGATION
============================ */
.main-nav {
  background-color: #24577a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 1rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  padding-bottom: 0.25rem;
}

.main-nav a:hover {
  color: #ffdd57;
}

.main-nav a.active {
  border-bottom: 3px solid #ffdd57;
}

/* ============================
   MAIN CONTENT
============================ */
main section {
  background-color: #fff;
  border-radius: 3px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

main p {
  margin-bottom: 1.25rem;
}

main section:not(.callout) p {
  max-width: 65ch;
}

/* ============================
   HEADINGS
============================ */
main h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a3e5f;
  border-bottom: 3px solid #24577a;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

main h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a3e5f;
  margin-top: 1.5rem;
}

/* ============================
   LISTS
============================ */
main ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

main li {
  list-style: none;
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}

main li::before {
  content: "\25AA";
  position: absolute;
  left: 0;
  color: #24577a;
}

/* ============================
   BUTTONS
============================ */
.button {
  display: inline-block;
  background: #24577a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #1a3e5f;
}

/* ============================
   CALLOUTS
============================ */
.callout {
  border: 1px solid #c8ced6;
  background: #f8f9fa;
  padding: 1.25rem 1.5rem;
}

.callout.warning {
  border-color: #b8940a;
}

.callout.warning h2 {
  color: #7a4a00;
}

.callout.danger {
  border-color: #8b1a1a;
}

.callout.danger h2 {
  color: #8b1a1a;
}

/* ============================
   STATUS PAGE  (IPIS Publication Monitor)
============================ */
main.ipis-page section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 2.25rem;
}

main.ipis-page section.ipis-header-block { margin-bottom: 2.5rem; }

.ipis-stamp-rule {
  border-top: 1px solid #1a3e5f;
  border-bottom: 1px solid #1a3e5f;
  padding: 0.55rem 0;
}

.ipis-stamp {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a3e5f;
  margin: 0;
  line-height: 1.2;
}

.ipis-note {
  font-size: 0.95rem;
  color: #3a4a5a;
  max-width: 62ch;
  margin: 1rem 0 0;
  line-height: 1.55;
}

main.ipis-page h2.ipis-section {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a3e5f;
  border: none;
  padding: 0;
  margin: 0 0 0.35rem;
}

.ipis-section-meta {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 0.4rem;
}

main.ipis-page ul.ipis-register {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #1a3e5f;
}

main.ipis-page ul.ipis-register li {
  list-style: none;
  padding: 0;
  margin: 0;
}

main.ipis-page ul.ipis-register li::before { content: none; }

.ipis-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid #c8ced6;
  line-height: 1.35;
}

.ipis-row-quiet .ipis-name { color: #6b7280; }

.ipis-row-pending {
  border-left: 2px dashed #9ca3af;
  padding-left: 0.75rem;
}

.ipis-name { font-size: 1rem; }

.ipis-name a {
  color: #1a3e5f;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 62, 95, 0.3);
}

.ipis-name a:hover,
.ipis-name a:focus {
  border-bottom-color: #1a3e5f;
  background: rgba(255, 221, 87, 0.25);
}

.ipis-status {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 0.95rem;
  position: relative;
  color: #6b7280;
}

.ipis-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.5rem;
  height: 0.5rem;
  background: #9ca3af;
}

.ipis-status.is-ok            { color: #2f5d3b; }
.ipis-status.is-ok::before    { background: #3a6b47; }
.ipis-status.is-warn          { color: #7a5a0e; }
.ipis-status.is-warn::before  { background: #8a6a1b; }
.ipis-status.is-down          { color: #7a2626; }
.ipis-status.is-down::before  { background: #8b2e2e; }
.ipis-status.is-muted         { color: #6b7280; }
.ipis-status.is-muted::before { background: #9ca3af; }

.ipis-note-inline {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: #475569;
  font-style: italic;
  margin: 0.15rem 0 0;
  max-width: none;
}

main.ipis-page section.ipis-infra-break {
  border-top: 2px solid #1a3e5f;
  padding: 0;
  margin-bottom: 2.25rem;
}

.ipis-sync-stamp {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a3e5f;
  margin: 1.5rem 0 0;
  line-height: 1.2;
}

main.ipis-page section.ipis-legend {
  border-top: 1px solid #1a3e5f;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

main.ipis-page h2.ipis-legend-heading {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a3e5f;
  border: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.ipis-legend dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.5rem;
  row-gap: 0.4rem;
  margin: 0;
  max-width: 62ch;
}

.ipis-legend dt {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a3e5f;
  padding-top: 0.15rem;
}

.ipis-legend dd {
  margin: 0;
  color: #3a4a5a;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ipis-legend-footnote {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 1rem;
  max-width: 62ch;
}

@media (max-width: 560px) {
  .ipis-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.6rem 0.25rem;
  }
  .ipis-legend dl { grid-template-columns: 1fr; row-gap: 0.1rem; }
  .ipis-legend dt { padding-top: 0.6rem; }
  .ipis-stamp { font-size: 0.68rem; }
}

/* ============================
   DATA TABLES
============================ */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.25rem;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
}

table.data-table td:first-child {
  white-space: nowrap;
}

table.data-table thead th {
  background-color: #1a3e5f;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

table.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================
   FORMS (INTENTIONALLY MUNICIPAL)
============================ */
form {
  max-width: 640px;
  margin-top: 1.5rem;
}

form label {
  display: block;
  font-weight: 600;
  margin-top: 1.25rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button {
  margin-top: 1.5rem;
  padding: 0.5rem 1.25rem;
  background-color: #1f4d6b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

form button:hover {
  background-color: #16384f;
}

form .note {
  margin-top: 0.75rem;
  font-style: italic;
  font-size: 0.95rem;
  color: #475569;
}

/* ============================
   FOOTER (DE-CRAMPED)
============================ */
.site-footer {
  background-color: #1a3e5f;
  color: #e5e7eb;
  border-top: 6px solid #ffdd57;
}

.footer-main {
  padding: 2.5rem 1rem 1.75rem;
  text-align: center;
}

.footer-title {
  font-weight: 700;
}

.footer-address,
.footer-copy {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-links {
  margin: 1.5rem 0 1.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: #ffdd57;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-quote {
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ============================
   FOOTER TICKER (INFRASTRUCTURE)
============================ */
.footer-ticker {
  background-color: #0f2b42;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #fcd34d;
  text-align: center;
  overflow: hidden;
}

.footer-ticker span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 640px) {
  .header-centered-row {
    flex-direction: column;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
  }
}
</content>
</invoke>