:root {
  --navy: #152238;
  --navy-2: #1e3356;
  --pink: #c45c86;
  --pink-2: #d97aa0;
  --blush: #f7eef2;
  --cream: #fbf8f9;
  --gold: #c4a35a;
  --text: #1c2434;
  --muted: #6b7285;
  --sidebar: 268px;
}
html, body { height: 100%; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
}
.app-shell { min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  background: linear-gradient(180deg, var(--navy) 0%, #0f1a2e 100%);
  color: #e8eef8;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
}
.brand {
  padding: 1.35rem 1.4rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), #8b3d63);
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
.brand h1 { font-size: 1.05rem; margin: 0; letter-spacing: -.02em; }
.brand h1 span { color: var(--pink-2); }
.brand small { color: #9aa7bd; }
.side-nav { padding: .4rem .8rem 1.2rem; overflow: auto; flex: 1; }
.side-nav a {
  display: flex; align-items: center; gap: .7rem;
  color: #c9d3e3; text-decoration: none;
  padding: .62rem .85rem; border-radius: 12px; font-weight: 560; font-size: .93rem;
}
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: rgba(196,92,134,.22); color: #fff; }
.side-nav .section-label {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #7d8ba3; padding: .9rem .85rem .35rem;
}
.main {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.topbar {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eadfe4;
  padding: .85rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: sticky; top: 0; z-index: 20;
}
.page { padding: 1.4rem 1.5rem 2.5rem; }
.stat-card {
  background: #fff; border: 0; border-radius: 1.1rem;
  box-shadow: 0 10px 30px rgba(21,34,56,.05);
  padding: 1.1rem 1.2rem; height: 100%;
}
.stat-card .label { color: var(--muted); font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.stat-card .value { font-size: 1.7rem; font-weight: 750; letter-spacing: -.03em; }
.panel {
  background: #fff; border-radius: 1.15rem; border: 1px solid #efe4e9;
  box-shadow: 0 12px 32px rgba(21,34,56,.04);
}
.panel .panel-h {
  padding: 1rem 1.2rem; border-bottom: 1px solid #f0e6ea;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.panel .panel-b { padding: 1.15rem; }
.btn-pink { background: var(--pink); color: #fff; border: 0; }
.btn-pink:hover { background: #a84870; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.table > :not(caption) > * > * { background: transparent; }
.table thead th { color: #6a7386; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  background: var(--blush); color: var(--pink); display: grid; place-items: center; font-weight: 700;
}
.clock-box { background: linear-gradient(135deg, var(--navy), #2a3f66); color: #fff; border-radius: 1.2rem; padding: 1.4rem; }
.progress { height: .65rem; border-radius: 99px; }
.badge-soft { background: var(--blush); color: var(--pink); }
.offcanvas-nav { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-110%); transition: .2s ease; }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .offcanvas-nav { display: inline-flex; }
}
.toast-wrap { position: fixed; right: 1rem; bottom: 1rem; z-index: 1080; }
.form-control, .form-select { border-radius: .7rem; }
.nav-pills .nav-link.active { background: var(--navy); }
.rota-table .rota-cell { min-width: 168px; }
.rota-table .rota-time { width: 80px; font-size: .8rem; padding: .25rem .35rem; border-radius: .5rem; }
.rota-table th { white-space: nowrap; }
