:root { --ink:#0b332b; --muted:#61746f; --green:#087f68; --soft:#e9f6f1; --line:#d3e3de; --danger:#a52c24; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; padding-bottom:34px; background:#f5faf8; color:var(--ink); font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,select,textarea { font:inherit; }
.topbar { position:sticky; top:0; z-index:5; display:flex; justify-content:space-between; align-items:center; min-height:58px; padding:10px 16px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.96); }
.topbar a { color:var(--green); font-weight:800; text-decoration:none; }
.brand span { display:inline-grid; place-items:center; width:34px; height:34px; margin-right:6px; border-radius:11px; background:var(--green); color:white; }
.shell { width:min(920px,100%); margin:auto; padding:24px 14px; }
.state-card { padding:44px 20px; border:1px solid var(--line); border-radius:24px; background:white; text-align:center; }
.state-icon { font-size:3rem; color:var(--green); }
.spinner { width:40px; height:40px; margin:auto; border:4px solid #dcece7; border-top-color:var(--green); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.eyebrow { margin:0 0 4px; color:var(--green); font-size:.68rem; font-weight:850; letter-spacing:.09em; text-transform:uppercase; }
h1,h2 { margin:0 0 10px; }
.muted { color:var(--muted); }
.button { display:inline-grid; place-items:center; min-height:44px; padding:10px 15px; border:0; border-radius:12px; background:var(--green); color:white; font-weight:800; text-decoration:none; cursor:pointer; }
.home-list,.list { display:grid; gap:10px; margin-top:16px; }
.home-card,.list-card { width:100%; padding:15px; border:1px solid var(--line); border-radius:16px; background:white; color:var(--ink); text-align:left; }
.home-card { display:flex; justify-content:space-between; align-items:center; cursor:pointer; }
.home-card small,.list-card p { display:block; margin:5px 0 0; color:var(--muted); }
.back { margin-bottom:12px; border:0; background:transparent; color:var(--green); font-weight:800; }
.heading { margin-bottom:16px; }
.metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:16px; }
.metric { min-height:92px; padding:14px; border:1px solid var(--line); border-radius:16px; background:white; }
.metric strong { display:block; font-size:1.25rem; overflow-wrap:anywhere; }
.metric span { color:var(--muted); font-size:.73rem; }
.panel { margin-top:14px; padding:16px; border:1px solid var(--line); border-radius:20px; background:white; }
.panel-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.month-nav { display:grid; grid-template-columns:34px minmax(100px,1fr) 34px; align-items:center; text-align:center; }
.month-nav button { height:34px; border:1px solid var(--line); border-radius:10px; background:white; }
.resource-filter { display:flex; gap:7px; overflow:auto; margin:10px 0; }
.resource-filter button { flex:0 0 auto; padding:7px 10px; border:1px solid var(--line); border-radius:10px; background:white; }
.resource-filter button.active { background:var(--ink); color:white; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.weekday,.day { display:grid; place-items:center; min-width:0; text-align:center; }
.weekday { padding:5px; color:var(--muted); font-size:.65rem; font-weight:800; }
.day { min-height:52px; padding:4px 1px; border:0; border-radius:10px; background:#e8f8f1; color:#07654f; }
.day[data-status="HOLD"] { background:#fff3d5; color:#875500; }
.day[data-status="UNAVAILABLE"] { background:#edf0ef; color:#596762; }
.day small { display:block; max-width:100%; overflow:hidden; font-size:.53rem; text-overflow:ellipsis; white-space:nowrap; }
form { display:grid; gap:12px; }
label { display:grid; gap:6px; color:#31554d; font-size:.82rem; font-weight:750; }
input,select,textarea { width:100%; min-width:0; padding:11px; border:1px solid #bed3cc; border-radius:11px; background:white; }
.two-columns { display:grid; gap:10px; }
.form-status { min-height:1.4em; margin:0; color:var(--green); font-weight:750; text-align:center; }
.list-card > div { display:flex; justify-content:space-between; gap:8px; }
.badge { flex:0 0 auto; padding:4px 7px; border-radius:999px; background:var(--soft); color:var(--green); font-size:.65rem; font-weight:850; }
.list-card button { margin-top:9px; padding:7px 10px; border:1px solid #efc5c1; border-radius:9px; background:white; color:var(--danger); font-weight:750; }
.boundary { margin:18px 0 0; padding:13px; border-radius:14px; background:#fff7df; color:#76520c; font-size:.78rem; }
@media (min-width:680px) { .shell{padding:38px 20px}.metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.two-columns{grid-template-columns:1fr 1fr}.calendar-grid{gap:7px}.day{min-height:70px}.panel{padding:22px} }
