:root { color-scheme: light; --blue:#0b4f8a; --teal:#0e7c86; --bg:#eef4f8; --card:#fff; --text:#173042; --muted:#5b7285; --warn:#fff3cd; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background:var(--bg); color:var(--text); }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem; background:linear-gradient(120deg,var(--blue),var(--teal)); color:#fff; }
.topbar h1 { margin:0; font-size:1.35rem; }
.subtitle { margin:.15rem 0 0; opacity:.9; }
main { max-width:960px; margin:0 auto; padding:1rem; display:grid; gap:1rem; }
.card { background:var(--card); border-radius:14px; padding:1rem; box-shadow:0 2px 10px rgba(10,40,60,.08); }
label { display:grid; gap:.3rem; font-weight:600; font-size:.92rem; }
input, select { padding:.55rem .65rem; border:1px solid #b9cbd8; border-radius:9px; font:inherit; width:100%; }
form { display:grid; gap:.8rem; margin-top:.8rem; }
button { font:inherit; border-radius:9px; border:1px solid #b9cbd8; background:#fff; padding:.55rem .9rem; cursor:pointer; }
button.primary { background:var(--teal); border-color:var(--teal); color:#fff; font-weight:700; }
button.ghost { background:transparent; }
.topbar button.ghost { color:#fff; border-color:rgba(255,255,255,.6); }
button.link { border:0; background:none; color:var(--blue); padding:.4rem 0; text-decoration:underline; }
.controls { display:grid; gap:.8rem; }
.actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.employee-head { display:flex; gap:.8rem; align-items:end; }
.employee-head label { flex:1; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:.8rem; margin-top:.8rem; }
.days { border:1px solid #d7e4ee; border-radius:10px; margin-top:.8rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.days label { display:flex; align-items:center; gap:.3rem; font-weight:500; }
.days input { width:auto; }
.emp-summary { color:var(--muted); margin:.7rem 0 0; }
.notice { background:#e7f3f5; border-radius:10px; padding:.8rem 1rem; }
.notice.warn { background:var(--warn); }
.issue { color:#8a3b00; }
.ok { color:#146c2e; }
#diagnosis ul { margin:.3rem 0 .9rem; padding-left:1.2rem; }
@media (max-width:560px){ .topbar{flex-direction:column; align-items:flex-start;} }
