:root {
  --primary: #0B7B8B;
  --secondary: #1A5276;
  --accent: #17A2B8;
  --bg-light: #E8F6F8;
  --text-primary: #1A1A2E;
  --text-secondary: #555770;
  --success: #27AE60;
  --warning: #F39C12;
  --white: #FFFFFF;
  --radius: 12px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-primary); background: var(--bg-light); }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid #d9e8ef;
  backdrop-filter: blur(8px);
}

.nav-wrap, .container { width: min(var(--max), 92vw); margin: 0 auto; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.brand { font-weight: 700; color: var(--primary); }
nav ul { display: flex; flex-wrap: wrap; gap: .9rem; padding: 0; margin: 0; list-style: none; font-size: .95rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}
.badge-open { background: #e8f8ef; color: #1e7d46; }
.badge-closed { background: #fff6e9; color: #9c640c; }

main { padding: 2rem 0 3rem; }
.hero {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  border-radius: 18px;
  padding: 2.3rem;
  margin-bottom: 1.25rem;
}
.hero h1 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.hero p { margin: 0; opacity: .96; }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .72rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn.secondary { background: #fff; color: var(--secondary); }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.mr-1 { margin-right: .7rem; }
.mb-1 { margin-bottom: .7rem; }
.mt-1 { margin-top: .7rem; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.1rem; }
.mt-4 { margin-top: 2.8rem; }
.mt-5 { margin-top: 3.5rem; }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(14, 46, 71, .07);
  padding: 1rem;
}
.card h2, .card h3 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: .7rem .75rem; border-bottom: 1px solid #edf2f7; }
tr.today { background: #eaf8fb; }

form { display: grid; gap: .8rem; }
label { font-size: .9rem; color: var(--text-secondary); }
input, textarea, select {
  width: 100%;
  padding: .72rem;
  border-radius: 8px;
  border: 1px solid #cad7e1;
  font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(23,162,184,.25); border-color: var(--accent); }
.muted { color: var(--text-secondary); font-size: .9rem; }
.announcement {
  background: #fff9e8;
  border-left: 4px solid var(--warning);
  padding: .6rem .75rem;
  border-radius: 8px;
}

footer {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid #dce8f0;
  padding: 1.4rem 0;
  color: var(--text-secondary);
  font-size: .92rem;
}

@media (max-width: 760px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; }
}
