* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f0f5f9; color: #17364c; font: 16px/1.5 Arial, sans-serif; }
header { border-bottom: 4px solid #097ca0; background: white; }
.wrap { width: min(94%, 900px); margin: auto; }
.mast, .topline, nav, .month, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.mast, .topline, .month { justify-content: space-between; }
.mast { padding-block: 12px; font-weight: bold; }
.mast img { width: 150px; height: 50px; object-fit: contain; }
.topline { margin: 24px 0 14px; font-size: .92rem; }
.topline span { color: #146a7b; font-weight: bold; }
a { color: #0c5482; }
nav { margin-bottom: 16px; gap: 6px; }
.panel { padding: clamp(18px,4vw,40px); border: 1px solid #cbd9e2; border-top: 4px solid #126281; border-radius: 12px; background: white; min-height: 260px; }
h1 { font-size: clamp(1.65rem,4vw,2.3rem); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 1.22rem; margin: 0; }
p { margin: 8px 0 18px; }
label { display: grid; gap: 5px; font-weight: bold; }
.fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,165px),1fr)); gap: 14px; margin: 22px 0; }
input, select, button { font: inherit; }
input, select { min-width: 0; width: 100%; border: 1px solid #8096a5; border-radius: 6px; padding: 9px; color: #193749; background: white; }
input[readonly] { background: #f1f5f7; }
button { cursor: pointer; color: #17425b; background: #edf4f7; border: 1px solid #bacbd5; padding: 8px 14px; border-radius: 7px; }
button[aria-current="page"],button.primary { color: white; background: #095c7c; border-color: #095c7c; font-weight: 700; }
:focus-visible { outline: 3px solid #dd8000; outline-offset: 3px; }
@keyframes login-glow { 0%,100% {box-shadow:0 0 0 1px #27839e33} 50% {box-shadow:0 0 0 4px #36a9bb66,0 0 15px #298eac55} }
@media(prefers-reduced-motion:no-preference){.pulse {animation:login-glow 4s ease-in-out infinite}}
.card { border-left: 4px solid #26849a; padding: 14px 18px; margin: 14px 0; background: #f0f6f9; border-radius: 5px; }
.ref { color: #07536f; font-size: 1.4rem; }
.month { margin: 18px 0 10px; }
.month h2 { text-transform: capitalize; }
.grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; text-align:center; }
.grid small { font-weight:bold; color:#506775; }
.grid button { padding:6px 0; min-height:41px; }
.grid button[aria-pressed="true"] { color:white; background:#105e80; }
.mark { display:inline-block; width:6px; height:6px; margin-left:2px; border-radius:50%; background:#ed9312; }
#announcement { margin:12px 0; color:#165e51; }
footer { margin:28px auto; }
@media(max-width:420px){.grid {gap:2px}.mast img{width:120px}.mast{font-size:.88rem}nav button{padding:7px 9px}}

