.action-item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--stroke); }.action-item-row span { flex: 1; }.action-item-row b, .action-item-row small { display: block; }.action-item-row b { color: var(--text); font-size: 12px; }.action-item-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }.btn-primary.compact { height: 32px; padding: 0 10px; font-size: 10px; }
/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --primary: #004b5b;
  --primary-hover: #003e4c;
  --primary-light: #e6edef;
  --primary-soft: #548691;
  --primary-bold: #003541;
  --gold: #e5a80e;
  --gold-light: #fcf6e7;
  --gold-bold: #a3770a;
  --emerald: #1f6b4a;
  --emerald-light: #e8f5ee;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --error: #8c2319;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --slate: #64748b;
  --text: #091015;
  --text-secondary: #515a62;
  --muted: #919191;
  --placeholder: #b7bdc2;
  --stroke: #e6e8eb;
  --row-stroke: #f1f5f9;
  --bg: #ffffff;
  --surface: #ffffff;
  --font: "Plus Jakarta Sans", sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
}

button { cursor: pointer; }

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.hidden { display: none !important; }

/* ===========================
   APP SHELL
   =========================== */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===========================
   ICONS
   =========================== */
.icon {
  display: inline-flex;
  overflow: clip;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ===========================
   TOP BAR
   =========================== */
.topbar {
  height: 90px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 11px;
  color: #fff;
  box-shadow: none;
  position: absolute; /* Changed from sticky for Figma capture */
  top: 0;
  width: 100%;
  z-index: 50;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.brand span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.1px;
}

.nav {
  display: flex;
  gap: 10px;
  height: 100%;
  align-items: center;
}

.nav-link {
  height: 100%;
  min-width: 120px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--primary-light);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.nav-link.active {
  background: transparent;
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===========================
   PAGE LAYOUT
   =========================== */
.page {
  padding: 16px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.page-head h1 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text);
}

.page-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.28px;
}

/* ===========================
   KANBAN WORKBOARD
   =========================== */
.kanban-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kanban-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 12px;
}

.kanban-total strong {
  color: var(--text);
  font-size: 24px;
  line-height: 26px;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

.kanban-column {
  min-height: 360px;
  background: #f8fafc;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}

.kanban-column > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--stroke);
  background: var(--surface);
}

.kanban-column > header h2 {
  flex: 1;
  margin: 0;
  font-size: 13px;
}

.kanban-column > header b {
  color: var(--muted);
  font-size: 12px;
}

.kanban-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.kanban-column-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.kanban-card {
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm, 6px);
  box-shadow: var(--shadow-sm);
}

.kanban-card-top,
.kanban-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kanban-source,
.kanban-priority {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kanban-source { color: var(--muted); }
.kanban-priority { padding: 3px 6px; border-radius: 4px; }
.kanban-priority-urgent { color: #be123c; background: #ffe4e6; }
.kanban-priority-high { color: #b45309; background: #fef3c7; }
.kanban-priority-normal { color: #0369a1; background: #e0f2fe; }
.kanban-priority-low { color: #475569; background: #f1f5f9; }

.kanban-card h3 {
  margin: 12px 0 6px;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
}

.kanban-card p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kanban-card-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}

.kanban-card-meta span { display: inline-flex; align-items: center; gap: 4px; }

.kanban-move {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.kanban-move select {
  min-width: 100px;
  padding: 5px 6px;
  border: 1px solid var(--stroke);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font-size: 10px;
}

.kanban-empty {
  padding: 28px 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* ===========================
   EXECUTIVE & SMK MODULES
   =========================== */
.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.executive-page,
.module-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.executive-head { align-items: center; }
.executive-date { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.executive-date i { color: #0284c7; font-size: 20px; }

.executive-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.executive-metric { display: flex; align-items: center; justify-content: space-between; min-height: 108px; padding: 18px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.executive-metric span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
.executive-metric strong { color: var(--text); font-size: 28px; line-height: 1; }
.executive-metric > i { font-size: 28px; }
.tone-blue > i { color: #0284c7; }.tone-green > i { color: #16a34a; }.tone-red > i { color: #e11d48; }.tone-amber > i { color: #d97706; }.tone-slate > i { color: #64748b; }

.executive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.lower-grid { grid-template-columns: 1.25fr .75fr; }
.executive-panel, .disposisi-list-panel, .workspace-panel { min-width: 0; padding: 18px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-heading h2 { margin: 0; color: var(--text); font-size: 15px; }
.panel-heading > i { color: #0284c7; font-size: 23px; }
.sla-reading { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; }.sla-reading strong { color: #0284c7; font-size: 48px; line-height: 1; }.sla-reading span { color: var(--muted); font-size: 12px; }
.sla-track { height: 9px; overflow: hidden; border-radius: 99px; background: #e2e8f0; }.sla-track i { display: block; height: 100%; border-radius: inherit; background: #0284c7; }
.sla-foot { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 12px; }.sla-foot b { color: var(--text); }
.upcoming-row { display: flex; align-items: center; width: 100%; gap: 12px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--stroke); background: transparent; color: var(--text); text-align: left; cursor: pointer; }.upcoming-row:last-child { border-bottom: 0; }.upcoming-row > span:nth-child(2) { flex: 1; }.upcoming-row b, .upcoming-row small { display: block; }.upcoming-row b { font-size: 12px; }.upcoming-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }.upcoming-time { width: 42px; color: #0284c7; font-size: 12px; font-weight: 800; }.upcoming-row > i { color: var(--muted); }
.workload-table { width: 100%; border-collapse: collapse; font-size: 11px; }.workload-table th { padding: 0 8px 10px; color: var(--muted); font-size: 10px; text-align: left; text-transform: uppercase; }.workload-table td { padding: 11px 8px; border-top: 1px solid var(--stroke); color: var(--text-secondary); }.workload-table td:first-child { color: var(--text); font-weight: 700; }.workload-bar { display: block; width: 90px; height: 6px; overflow: hidden; border-radius: 99px; background: #e2e8f0; }.workload-bar i { display: block; height: 100%; border-radius: inherit; background: #0284c7; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.audit-timeline { display: flex; flex-direction: column; gap: 16px; }.audit-item { display: flex; gap: 10px; }.audit-item > span { width: 8px; height: 8px; margin-top: 4px; border: 2px solid #0284c7; border-radius: 50%; }.audit-item b, .audit-item small { display: block; }.audit-item b { color: var(--text); font-size: 11px; }.audit-item small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.cascade { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px; border: 1px solid var(--stroke); border-radius: var(--radius); background: #f8fafc; }.cascade-node { display: flex; flex-direction: column; align-items: center; min-width: 125px; gap: 5px; padding: 15px 10px; border: 1px solid var(--stroke); border-radius: 8px; background: var(--surface); text-align: center; }.cascade-node i { color: #0284c7; font-size: 24px; }.cascade-node b { color: var(--text); font-size: 12px; }.cascade-node small { color: var(--muted); font-size: 10px; }.cascade-arrow { color: #94a3b8; font-size: 20px; }.count-chip, .disp-status, .disp-pic, .room-status, .attendance { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; }.count-chip { color: #0369a1; background: #e0f2fe; }
.disposisi-hierarchy-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--stroke); }.disp-avatar, .participant-avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e0f2fe; color: #0369a1; }.disp-main { flex: 1; min-width: 0; }.disp-row-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }.disp-row-top b { color: var(--text); font-size: 12px; }.disp-role { color: var(--muted); font-size: 10px; }.disp-main p { margin: 5px 0; color: var(--text-secondary); font-size: 11px; }.disp-main small { color: var(--muted); font-size: 10px; }.disp-status.pending { color: #b45309; background: #fef3c7; }.disp-status.progress { color: #0369a1; background: #e0f2fe; }.disp-status.done { color: #15803d; background: #dcfce7; }.disp-pic { color: #0369a1; border: 1px solid #7dd3fc; background: transparent; }

.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.room-card { overflow: hidden; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }.room-visual { display: flex; align-items: center; justify-content: space-between; min-height: 130px; padding: 18px; background: linear-gradient(135deg, #e0f2fe, #f8fafc); }.room-visual > i { color: #0369a1; font-size: 44px; }.room-status.available { color: #15803d; background: #dcfce7; }.room-status.busy { color: #be123c; background: #ffe4e6; }.room-body { padding: 15px; }.room-body h2 { margin: 0 0 6px; color: var(--text); font-size: 14px; }.room-body p { margin: 0; color: var(--muted); font-size: 11px; }.room-facilities { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }.room-facilities span { padding: 4px 6px; border-radius: 4px; color: #475569; background: #f1f5f9; font-size: 10px; }.room-timeline { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }.room-timeline > div { flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: #e2e8f0; }.room-timeline i { display: block; height: 100%; background: #be123c; }

.workspace-live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 99px; color: #15803d; background: #dcfce7; font-size: 11px; font-weight: 700; }.workspace-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }.workspace-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--stroke); }.workspace-tabs button { padding: 11px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }.workspace-tabs button.active { border-bottom-color: #0284c7; color: #0369a1; font-weight: 800; }.workspace-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; }.participant-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--stroke); }.participant-row > span:nth-child(2) { flex: 1; }.participant-row b, .participant-row small { display: block; }.participant-row b { color: var(--text); font-size: 11px; }.participant-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }.attendance.present { color: #15803d; background: #dcfce7; }.attendance.permission { color: #b45309; background: #fef3c7; }.notulen-sheet { min-height: 150px; padding: 14px; border: 1px solid var(--stroke); border-radius: 6px; color: var(--text-secondary); font-size: 12px; line-height: 1.7; white-space: pre-line; }.decision-box { margin-top: 12px; padding: 13px; border-left: 3px solid #0284c7; background: #f0f9ff; }.decision-box span { color: #0369a1; font-size: 10px; font-weight: 800; letter-spacing: .08em; }.decision-box p { margin: 7px 0 0; color: var(--text-secondary); font-size: 11px; line-height: 1.6; }

.empty-state { display: flex; align-items: center; justify-content: center; min-height: 260px; gap: 8px; text-align: center; }.empty-state i { color: #0284c7; font-size: 34px; }.empty-state b, .empty-state span { display: block; }.empty-state b { color: var(--text); font-size: 14px; }.empty-state span { color: var(--muted); font-size: 11px; }

/* ===========================
   CLOCK
   =========================== */
.clock {
  text-align: right;
}

.clock strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
  line-height: 24px;
}

.clock span {
  display: block;
  font-size: 14px;
  line-height: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
  letter-spacing: -0.1px;
}


/* ===========================
   SUMMARY SECTION
   =========================== */
.summary {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
}

.cc-card, .metric {
  text-align: left;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
}

.cc-card:hover, .metric:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cc-card {
  background: linear-gradient(135deg, #881337 0%, #9f1239 100%);
  color: #fff;
  border-color: transparent;
}

.cc-card.free {
  background: linear-gradient(135deg, #1f6b4a 0%, #27ae60 100%);
  color: #fff;
}

.cc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.cc-card-top span, .metric span, .strip-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cc-card-top span {
  color: rgba(255,255,255,0.85);
}

.metric span, .strip-label {
  color: var(--muted);
  margin-bottom: 6px;
}

.cc-badge-edit {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
  transition: background 0.15s;
}

.cc-badge-edit:hover {
  background: rgba(255,255,255,0.35);
}

.cc-card-body, .metric div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-card-body b, .metric b {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.cc-card-foot {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
}

.cc-foot-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.cc-foot-time {
  font-size: 10px;
  opacity: 0.85;
  white-space: nowrap;
  flex-shrink: 0;
}

.cc-foot-avail {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
}

.metric {
  background: var(--surface);
}

/* ===========================
   AGENDA STRIP (CARDS)
   =========================== */
.agenda-strip {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.strip-col.grow {
  flex: 1;
  min-width: 0;
}

.strip-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.24px;
  color: var(--muted);
  margin-bottom: 10px;
}

.v-line {
  width: 1px;
  background: var(--stroke);
  align-self: stretch;
}

.next-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.next-row::-webkit-scrollbar { height: 4px; }
.next-row::-webkit-scrollbar-track { background: transparent; }
.next-row::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 4px; }

.card {
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  min-width: 300px;
  max-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card-now { background: var(--gold-light); border: 1px solid #fde68a; }
.card-next { background: var(--primary-light); border: 1px solid #a5d8e6; }

.empty-card {
  background: var(--row-stroke);
  color: var(--text-secondary);
  padding: 20px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--stroke);
  min-width: 260px;
}

.empty-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.card-head.gold {
  background: var(--gold);
  color: var(--text);
}

.card-head.teal {
  background: var(--primary);
  color: #fff;
}

.card-head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.card-head span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.card-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  height: fit-content;
  background: rgba(0,0,0,0.18);
  color: #fff;
  flex-shrink: 0;
}

.card > p {
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text);
}

.card > .venue {
  display: block;
  padding: 0 14px 10px;
  font-size: 11px;
  color: var(--primary-soft);
  font-weight: 500;
}

/* ===========================
   VIEW SWITCHER
   =========================== */
.view-switcher {
  display: flex;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  height: 40px;
}

.view-btn {
  padding: 0 16px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.view-btn:not(.active):hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ===========================
   TOOLBAR
   =========================== */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  width: 300px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search:focus-within {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(0,91,112,0.08);
}

.search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.search input::placeholder { color: var(--placeholder); }

.filter-btn {
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s;
}

.filter-btn:hover {
  border-color: var(--primary-soft);
  color: var(--primary);
}

.today-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-light);
}

/* ===========================
   DROPDOWN
   =========================== */
.dropdown { position: relative; }

.menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 6px);
  left: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  min-width: 170px;
  box-shadow: var(--shadow-lg);
  animation: menuIn 0.1s ease;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu button {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text);
}

.menu button:hover { background: var(--primary-light); color: var(--primary); }

/* ===========================
   BUTTONS (STANDARDIZED SIZES)
   =========================== */
/* Primary / Main Action Button: h-10 (40px), px-4 py-2, text-sm font-semibold, rounded-lg */
.btn-primary, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  transition: transform 0.1s, box-shadow 0.1s, opacity 0.1s;
  letter-spacing: -0.1px;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-danger:hover  { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0)), var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,91,112,0.25);
}

.btn-danger {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0)), var(--danger);
  color: #fff;
  box-shadow: 0 2px 6px rgba(220,38,38,0.2);
}

/* Secondary / Toolbar Button: h-10 (40px), px-3.5 py-2, text-sm font-medium, rounded-lg */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--stroke);
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.btn-secondary:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-soft); }

/* Table / Card Action Button: h-8 (32px), px-2.5 py-1, text-xs font-medium, rounded-md */
.ghost {
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: var(--radius-xs);
  height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
}
.ghost:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-soft); }

/* Icon-Only Button: w-8 h-8 (32px) or w-9 h-9 (36px) square */
.btn-icon-close {
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: background 0.15s, color 0.15s;
}
.btn-icon-close:hover { background: var(--row-stroke); color: var(--text); }

.page-btn {
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: var(--radius-xs);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.1s;
}

/* Edit CC button inside CC card */
.btn-cc-edit {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition: background 0.15s;
}
.btn-cc-edit:hover {
  background: rgba(255,255,255,0.35);
}

.btn-full { width: 100%; }

/* ===========================
   STATUS BADGES
   =========================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.badge-PLANNED    { background: #dbeafe; color: #1d4ed8; }
.badge-IN_PROGRESS{ background: var(--amber-light); color: var(--amber); }
.badge-COMPLETED  { background: var(--emerald-light); color: var(--emerald); }
.badge-OVERDUE    { background: var(--danger-light); color: var(--danger); }

/* ===========================
   TABLE
   =========================== */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  letter-spacing: -0.1px;
  border-bottom: 1px solid var(--row-stroke);
}

th {
  background: #f8fafc;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--stroke);
}

td.name { font-weight: 600; color: var(--text); }

tbody tr {
  cursor: pointer;
  transition: background 0.1s;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover { background: #f0f9ff; }

td.empty-cell {
  text-align: center;
  padding: 48px 20px;
}

.empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-illust {
  width: 120px;
  height: auto;
  opacity: 0.6;
}

.empty-wrap p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.venue-cell {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 180px;
}

.action-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fcfdfd;
  border-top: 1px solid var(--row-stroke);
  flex-wrap: wrap;
  gap: 12px;
}

.page-meta, .show, .pager {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-meta p, .show span {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.size-btn, .page-btn, .page-num {
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: var(--radius-xs);
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.1s;
}

.size-btn { color: var(--text-secondary); gap: 6px; }
.size-btn:hover { background: var(--primary-light); }

.page-num.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-btn:not(:disabled):hover { background: var(--primary-light); }

/* ===========================
   CALENDAR
   =========================== */
.cal-wrap {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cal-toolbar {
  display: flex;
  gap: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stroke);
  background: #f8fafc;
}

.seg {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}

.seg:first-child { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.seg:last-child  { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; border-left: 0; }
.seg:not(:first-child):not(:last-child) { border-left: 0; }

.seg.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stroke);
}

.cal-nav strong { font-size: 15px; font-weight: 700; }

.cal-grid.month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-head {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: #f8fafc;
  text-align: center;
  border-bottom: 1px solid var(--stroke);
}

.cal-cell {
  border: 0;
  background: none;
  text-align: left;
  padding: 8px;
  min-height: 80px;
  border-right: 1px solid var(--row-stroke);
  border-bottom: 1px solid var(--row-stroke);
  vertical-align: top;
  transition: background 0.1s;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell:hover { background: var(--primary-light); }

.cal-cell > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.cal-cell.muted > span { color: var(--placeholder); }
.cal-cell.selected { background: var(--primary-light); }
.cal-cell.selected > span { color: var(--primary); }

.cal-badge {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* week grid */
.week-grid {
  display: grid;
  grid-template-columns: 52px repeat(7, 1fr);
  overflow-x: auto;
}

.hour-label {
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--stroke);
  border-bottom: 1px solid var(--row-stroke);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.slot {
  border: 0;
  background: none;
  padding: 4px;
  min-height: 48px;
  border-right: 1px solid var(--row-stroke);
  border-bottom: 1px solid var(--row-stroke);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.1s;
}
.slot:hover { background: var(--primary-light); }

/* day grid */
.day-grid { display: flex; flex-direction: column; }
.day-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  border-bottom: 1px solid var(--row-stroke);
}
.day-row > span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px;
  border-right: 1px solid var(--stroke);
  align-self: flex-start;
}
.day-event {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 4px 8px;
  font-size: 11px;
  margin: 2px 0;
}

/* ===========================
   MINI DATE PICKER
   =========================== */
.date-drop { position: relative; }

.mini-cal {
  position: absolute;
  z-index: 200;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  width: 260px;
  animation: menuIn 0.12s ease;
}

.cal-nav.mini {
  padding: 0;
  border: 0;
  margin-bottom: 10px;
}
.cal-nav.mini strong { font-size: 13px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mini-grid > span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  padding: 4px 0;
  text-transform: uppercase;
}

.mini-day {
  border: 0;
  background: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, color 0.1s;
}

.mini-day:hover { background: var(--primary-light); color: var(--primary); }
.mini-day.muted { color: var(--placeholder); }
.mini-day.is-today { color: var(--primary); font-weight: 800; }
.mini-day.selected { background: var(--primary); color: #fff; }

.full { width: 100%; margin-top: 8px; }

/* ===========================
   OVERLAY & DIALOG
   =========================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,16,21,0.5);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dialog {
  width: min(580px, 100%);
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
  animation: slideUp 0.15s ease;
}

.dialog.dialog-wide { width: min(780px, 100%); }

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 12px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.btn-icon-close {
  background: none;
  border: 0;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}
.btn-icon-close:hover { background: var(--row-stroke); color: var(--text); }

/* Form Sections */
.form-section {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
  letter-spacing: -0.1px;
}

.form-section-title span {
  font-size: 16px;
}

/* Facility Interactive Grid Cards */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.facility-card {
  border: 1.5px solid var(--stroke);
  background: #fbfcfd;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s ease;
  position: relative;
  text-align: left;
}

.facility-card:hover {
  border-color: var(--primary-soft);
  background: #f0f7f9;
  transform: translateY(-1px);
}

.facility-card.active {
  border-color: var(--primary);
  background: #eef6f8;
  box-shadow: 0 0 0 1px var(--primary);
}

.facility-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.facility-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.facility-card-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.facility-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.facility-card.active .facility-check-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Delegate & Priority Pills */
.delegate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  border: 1px solid var(--stroke);
  background: #f8fafc;
  color: var(--text-secondary);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-soft);
  color: var(--primary);
}

.chip-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.chip-btn.active em {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.priority-selector {
  display: flex;
  gap: 10px;
}

.priority-pill {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border: 1.5px solid var(--stroke);
  border-radius: var(--radius-xs);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-secondary);
}

.priority-pill:hover {
  border-color: var(--muted);
}

.priority-pill.active.p-biasa {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1d4ed8;
}

.priority-pill.active.p-penting {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #b45309;
}

.priority-pill.active.p-segera {
  border-color: #ef4444;
  background: #fef2f2;
  color: #b91c1c;
}

/* Copy Link Button */
.btn-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  border: 1px solid #c2e2e8;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s ease;
  margin-top: 4px;
}

.btn-copy-link:hover {
  background: #d4ecf0;
  border-color: var(--primary-soft);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dialog h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.dialog-subtitle {
  margin: -8px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.dialog label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.dialog label span { color: var(--text); text-transform: none; font-size: 13px; font-weight: 600; letter-spacing: 0; }

.dialog input, .dialog select, .dialog textarea {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
}

.dialog input:focus, .dialog select:focus, .dialog textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(0,91,112,0.1);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dialog-section {
  background: var(--row-stroke);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dialog-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 0 0 2px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--primary);
  padding: 0;
  flex-shrink: 0;
}

.sub-field {
  margin-top: 6px;
  padding-left: 26px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}

/* ===========================
   META
   =========================== */
.meta {
  color: var(--text-secondary);
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-item label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

.detail-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
}

/* ===========================
   TOAST
   =========================== */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #004d60 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 360px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===========================
   MONITORING PAGE
   =========================== */
.monitoring-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.monitor-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 0 0 14px;
}

.monitor-chain {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.monitor-node {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.monitor-card {
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 160px;
  max-width: 200px;
  background: var(--row-stroke);
  border: 1px solid var(--stroke);
  transition: box-shadow 0.15s;
}

.monitor-card.level-0 {
  background: linear-gradient(135deg, var(--primary) 0%, #004d60 100%);
  color: #fff;
  border-color: transparent;
}

.monitor-card.level-1 { border-color: #a5d8e6; background: var(--primary-light); }
.monitor-card.level-2 { border-color: #bbf7d0; background: var(--emerald-light); }
.monitor-card.level-3 { border-color: #fde68a; background: var(--gold-light); }

.monitor-card .mc-name {
  font-size: 13px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.monitor-card.level-0 .mc-name { color: #fff; }

.monitor-card .mc-status {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
  display: block;
}

.monitor-card.level-0 .mc-status { color: rgba(255,255,255,0.8); }
.monitor-card:not(.level-0) .mc-status { color: var(--text-secondary); }

.monitor-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 18px;
  align-self: center;
  margin-top: -4px;
}

/* sub-chain indented */
.monitor-sub-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 24px;
  position: relative;
}

.monitor-sub-group::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--stroke);
}

/* Live agenda list */
.unit-live-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.monitor-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.unit-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--stroke);
}

.unit-live-header strong { font-size: 14px; font-weight: 700; }

.unit-live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--row-stroke);
  font-size: 13px;
}
.unit-live-row:last-child { border-bottom: 0; }
.unit-live-row .ulr-name { flex: 1; font-weight: 600; }
.unit-live-row .ulr-time { color: var(--muted); font-size: 12px; }

/* ===========================
   DISPOSISI TABLE
   =========================== */
.disposisi-section {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.disposisi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
  background: #f8fafc;
}

.disposisi-header h2 { margin: 0; font-size: 16px; font-weight: 700; }

.disposisi-row {
  display: grid;
  grid-template-columns: 1fr 120px 140px 120px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--row-stroke);
  font-size: 13px;
  transition: background 0.1s;
}

.disposisi-row:hover { background: var(--row-stroke); }
.disposisi-row:last-child { border-bottom: 0; }
.disposisi-row .dr-name { font-weight: 600; }

.disposisi-head {
  display: grid;
  grid-template-columns: 1fr 120px 140px 120px 1fr auto;
  gap: 12px;
  padding: 10px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--stroke);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* ===========================
   STATISTIK PAGE
   =========================== */
.stats-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.stat-card > .sc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  display: block;
}

.stat-card > .sc-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 8px 0 14px;
}

.bar {
  height: 8px;
  background: #eef2f3;
  border-radius: 99px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* chart area */
.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.chart-card h3 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.donut-svg { flex-shrink: 0; }

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-val {
  margin-left: auto;
  font-weight: 800;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.bar-row .br-label {
  width: 130px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-row .bar { flex: 1; }
.bar-row .br-val { width: 28px; text-align: right; font-weight: 700; color: var(--text); }

/* export row */
.export-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* ===========================
   SWAP MODAL ITEMS
   =========================== */
.swap-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.swap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: background 0.1s, border-color 0.1s;
}

.swap-item:hover { background: var(--primary-light); border-color: var(--primary-soft); }
.swap-item.selected { background: var(--primary-light); border-color: var(--primary); }
.swap-item .si-name { flex: 1; font-weight: 600; }
.swap-item .si-time { font-size: 11px; color: var(--muted); }

/* conflict warn */
.conflict-warn {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* ===========================
   RESPONSIVE (MOBILE, TABLET, DESKTOP)
   =========================== */
@media (max-width: 1100px) {
  .metrics, .stats-grid { grid-template-columns: 1fr 1fr; }
  .agenda-strip { flex-direction: column; }
  .v-line { width: 100%; height: 1px; }
  .charts-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar {
    height: auto;
    min-height: 60px;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  .nav-link {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0 12px;
    font-size: 13px;
    height: 32px;
  }

  .page {
    padding: 12px 14px 36px;
    gap: 14px;
  }

  .page-head {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .page-head h1 {
    font-size: 18px;
    line-height: 22px;
  }

  .clock {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .clock strong {
    font-size: 18px;
    display: inline-block;
  }

  .clock span {
    font-size: 12px;
    margin-top: 0;
    display: inline-block;
  }

  .summary {
    padding: 14px;
    gap: 16px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cc-card, .metric {
    padding: 12px;
    min-height: 90px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .toolbar-left {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .search {
    width: 100%;
  }

  .filter-btn, .today-btn {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown .menu {
    width: 100%;
  }

  .view-switcher {
    width: 100%;
  }

  .view-btn {
    flex: 1;
  }

  #btn-single-add-agenda {
    width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 680px;
  }

  .pagination {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }

  .page-meta, .show, .pager {
    justify-content: center;
    flex-wrap: wrap;
  }

  .dialog {
    width: 100% !important;
    padding: 18px 16px;
    max-height: 94vh;
  }

  .row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .priority-selector {
    flex-direction: row;
  }

  .priority-pill {
    padding: 6px 8px;
    font-size: 11px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 8px;
  }

  .dialog-actions button {
    width: 100%;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .disposisi-head {
    display: none;
  }

  .disposisi-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }

  .unit-live-card {
    margin-bottom: 10px;
  }

  .monitor-unit-grid {
    grid-template-columns: 1fr;
  }

  .monitor-chain {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .monitor-node {
    width: 100%;
    justify-content: center;
  }

  .monitor-card {
    max-width: 100%;
    width: 100%;
  }

  .monitor-arrow {
    justify-content: center;
    transform: rotate(90deg);
    margin: 2px 0;
  }
}

@media (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .next-row .card {
    min-width: 250px;
  }
}

@media (max-width: 900px) {
  .executive-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .executive-grid, .lower-grid, .workspace-grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cascade { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 600px) {
  .executive-metrics, .room-grid { grid-template-columns: 1fr; }
  .executive-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .executive-date { align-self: flex-start; }
  .disposisi-hierarchy-row { align-items: flex-start; flex-wrap: wrap; }
  .disp-pic { margin-left: 46px; }
  .workspace-tabs { overflow-x: auto; }
  .workspace-tabs button { flex: 0 0 auto; white-space: nowrap; }
}

@media (min-width: 1001px) {
  .topbar {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    gap: 18px;
  }

  .nav {
    min-width: 0;
    overflow-x: auto;
  }

  .nav-link {
    min-width: 108px;
    font-size: 13px;
  }

}

@media (max-width: 1000px) {
  .topbar {
    height: auto;
    min-height: 112px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav {
    width: 100%;
    height: 34px;
    min-width: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-link {
    min-width: auto;
    height: 32px;
    flex-shrink: 0;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }

}

@media (min-width: 1001px) {
  .topbar { grid-template-columns: minmax(0, 1fr) 190px; position: relative; /* Ensure it stays flow-friendly */ }
  .nav { position: absolute; z-index: 60; top: 84px; min-height: calc(100vh - 104px); left: 16px; display: flex; width: 184px; flex-direction: column; align-items: stretch; gap: 3px; padding: 14px 10px; overflow: visible; border-radius: 14px; background: var(--primary); box-shadow: 0 8px 24px rgba(0, 85, 102, .14); }
  .nav-link { width: 100%; justify-content: flex-start; padding: 0 12px; border-radius: 6px; color: #b8d0d2; text-align: left; }
  .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-link.active { background: #003f4c; color: #fff; box-shadow: none; }
  .page { width: calc(100% - 216px); max-width: 1224px; box-sizing: border-box; margin-left: 216px; }
  .executive-metric > i, .panel-heading > i { color: var(--primary) !important; }
}

/* Figma-aligned shell: compact header, teal rail, quiet work canvas. */
:root {
  --primary: #005566;
  --primary-hover: #004653;
  --primary-light: #d9e8e9;
  --bg: #f5f6f6;
  --surface: #ffffff;
  --stroke: #e5e9e9;
  --text: #17252b;
  --text-secondary: #5f6c71;
  --muted: #879397;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow-sm: 0 2px 8px rgba(23, 37, 43, .06);
}

html, body { background: var(--bg); }
body { font-family: Inter, "Helvetica Neue", Arial, sans-serif; color: var(--text); }
.app { min-height: 100vh; background: var(--bg); position: relative; }
.topbar { position: absolute; width: 100%; box-sizing: border-box; z-index: 50; top: 0; height: 68px; padding: 0 24px; border-bottom: 1px solid var(--stroke); background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(23, 37, 43, .04); }
.brand strong { color: var(--primary); font-size: 18px; letter-spacing: -.3px; }
.brand span { color: var(--muted); font-size: 11px; }
.nav { gap: 3px; }
.nav-link { min-width: auto; height: 36px; padding: 0 11px; border: 1px solid transparent; border-radius: 7px; color: #627176; font-size: 12px; font-weight: 600; }
.nav-link:hover { background: #f1f5f5; color: var(--primary); }
.nav-link.active { background: #e7f1f1; color: var(--primary); box-shadow: none; }
#page-root { min-height: calc(100vh - 68px); padding-top: 68px; }
.page { max-width: 1440px; padding: 28px 32px 48px; gap: 20px; }
.page-head h1 { color: var(--text); font-size: 24px; font-weight: 700; letter-spacing: -.6px; }
.page-head p { color: var(--text-secondary); font-size: 13px; letter-spacing: 0; }
.eyebrow { color: #7f8d90; font-size: 10px; letter-spacing: .1em; }
.executive-metric, .executive-panel, .disposisi-list-panel, .workspace-panel, .room-card, .kanban-column { border-color: var(--stroke); border-radius: 10px; box-shadow: var(--shadow-sm); }
.executive-metric { min-height: 92px; padding: 16px; }
.executive-metric strong { font-size: 26px; }
.executive-metric span { color: #6f7c80; font-size: 11px; }
.executive-panel, .disposisi-list-panel, .workspace-panel { padding: 20px; }
.executive-panel h2, .disposisi-list-panel h2, .workspace-panel h2 { font-size: 15px; font-weight: 700; }
.kanban-column { background: #eef2f2; box-shadow: none; }
.kanban-column > header { padding: 12px 14px; background: #fff; }
.kanban-card { border-color: var(--stroke); border-radius: 8px; box-shadow: 0 1px 4px rgba(23, 37, 43, .05); }
.cascade { justify-content: flex-start; padding: 16px; border-color: var(--stroke); border-radius: 10px; background: #fff; }
.cascade-node { min-width: 150px; padding: 12px 14px; border-color: var(--stroke); border-radius: 7px; text-align: left; }
.cascade-node b { font-size: 12px; }.cascade-node small { font-size: 10px; }
.cascade-arrow { color: #9aa8ab; }
.disp-avatar { display: none; }
.disp-pic { border-color: #b4c9cb; color: var(--primary); }
.room-visual { min-height: 112px; background: #edf3f3; }
.room-visual > i { color: var(--primary); font-size: 34px; }
.room-body h2 { font-size: 14px; }
.workspace-tabs { gap: 0; }.workspace-tabs button { font-size: 11px; }.workspace-tabs button.active { color: var(--primary); border-bottom-color: #9dbd36; }
.btn-primary { border-radius: 7px; background: var(--primary); box-shadow: none; }.btn-primary:hover { background: var(--primary-hover); }
.ghost, .icon-button { border-radius: 7px; }

@media (min-width: 1001px) {
  .topbar { grid-template-columns: 190px minmax(0, 1fr) 190px; }
  .nav { overflow-x: auto; }
}

@media (max-width: 1000px) {
  .topbar { min-height: 112px; height: auto; padding: 12px 16px; }
  .nav-link { height: 32px; padding: 0 11px; }
  .page { padding: 22px 18px 40px; }
  #page-root { padding-top: 112px; }
}

/* Ant Design-like primitives for the existing vanilla component stack. */
button, input, select, textarea { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
button { cursor: pointer; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-link i { flex: 0 0 16px; font-size: 16px; }
.btn-primary, .btn-danger, .btn-secondary { height: 40px; min-width: 96px; border-radius: 6px; padding: 0 16px; font-size: 14px; font-weight: 600; box-shadow: none; transform: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-primary:hover, .btn-danger:hover { opacity: 1; transform: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.btn-secondary, .ghost { height: 40px; min-width: 88px; border: 1px solid var(--stroke); border-radius: 6px; background: #fff; color: var(--text-secondary); box-shadow: none; }
.ghost { height: 32px; min-width: 64px; padding: 0 12px; font-size: 12px; }
.icon-button, .btn-icon-close { width: 32px; min-width: 32px; height: 32px; border: 1px solid transparent; border-radius: 6px; }
label > input:not([type="checkbox"]), label > select, label > textarea { box-sizing: border-box; width: 100%; border: 1px solid #d9dfe1; border-radius: 6px; background: #fff; color: var(--text); outline: 0; }
label > input:not([type="checkbox"]), label > select { min-height: 40px; padding: 0 11px; }
label > textarea { padding: 10px 11px; }
label > input:not([type="checkbox"]):focus, label > select:focus, label > textarea:focus { border-color: #5b9ca3; box-shadow: 0 0 0 2px rgba(91, 156, 163, .14); }
.dialog-actions { gap: 8px; }
.dialog-actions .ghost, .dialog-actions .btn-primary, .dialog-actions .btn-danger, .dialog-actions .btn-secondary { box-sizing: border-box; width: 140px; height: 40px; min-width: 140px; }
.nav-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 1001px) {
  .nav-link { justify-content: flex-start; color: #b8d0d2; text-align: left; }
  .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .nav-link.active { background: #2f737b; color: #fff; }
}

/* Figma table treatment: compact rows, quiet header, bordered actions, and a single footer. */
.table-wrap {
  border: 1px solid #e1e6e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 37, 43, .04);
  overflow-x: auto;
}
.table-wrap > table { min-width: 920px; }
.table-wrap th, .table-wrap td {
  height: 48px;
  box-sizing: border-box;
  padding: 0 16px;
  border-bottom: 1px solid #e6ebec;
  color: #253238;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.table-wrap th {
  height: 38px;
  background: #f4f6f6;
  color: #17252b;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.table-wrap tbody tr { cursor: default; }
.table-wrap tbody tr:hover { background: #fafcfc; }
.table-wrap td.name { color: #17252b; font-weight: 500; }
.table-wrap .badge { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.table-wrap .badge::before { display: none; }
.table-wrap .badge-PLANNED { background: #e7eef0; color: #246273; }
.table-wrap .badge-IN_PROGRESS { background: #fff4d9; color: #a66a00; }
.table-wrap .badge-COMPLETED { background: #eef8df; color: #62b51b; }
.table-wrap .badge-OVERDUE { background: #fdeceb; color: #b33b32; }
.table-wrap .action-row { flex-wrap: nowrap; gap: 8px; }
.table-wrap .action-row .ghost {
  height: 32px;
  min-width: 68px;
  padding: 0 10px;
  border: 1px solid #dfe5e6;
  border-radius: 6px;
  background: #fff;
  color: #075d70;
  font-size: 12px;
  font-weight: 500;
}
.table-wrap .action-row .ghost:hover { border-color: #8bb8bd; background: #f3f8f8; }
.table-wrap .action-row .btn-danger { width: 32px; min-width: 32px; height: 32px; padding: 0; border-radius: 6px; }
.table-wrap .pagination {
  min-height: 62px;
  box-sizing: border-box;
  padding: 12px 14px;
  border-top: 1px solid #e1e6e7;
  background: #fff;
}
.table-wrap .page-meta, .table-wrap .show, .table-wrap .pager { gap: 8px; }
.table-wrap .page-meta p, .table-wrap .show span { color: #253238; font-size: 12px; }
.table-wrap .size-btn, .table-wrap .page-btn, .table-wrap .page-num {
  height: 32px;
  min-width: 32px;
  border: 1px solid #e0e6e7;
  border-radius: 7px;
  background: #fff;
  color: #35444a;
  font-size: 12px;
  font-weight: 500;
}
.table-wrap .page-num.active { border-color: #005566; background: #005566; color: #fff; }
.table-wrap .page-btn:hover:not(:disabled), .table-wrap .size-btn:hover { border-color: #8bb8bd; background: #f3f8f8; }
.workload-panel .workload-table { min-width: 560px; }
.workload-panel .workload-table th { background: #f4f6f6; color: #17252b; font-weight: 600; text-transform: none; letter-spacing: 0; }
.workload-panel .workload-table td { height: 48px; padding: 0 8px; font-size: 12px; }
.workload-panel .workload-table td:first-child { font-weight: 500; }

/* Dashboard cards use the same surface treatment as Agenda and Calendar cards. */
.executive-metric,
.executive-panel {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.executive-metric {
  min-height: 100px;
  padding: 14px;
}
.executive-metric:hover,
.executive-panel:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.executive-panel {
  padding: 14px;
}
.executive-panel .panel-heading {
  margin-bottom: 14px;
}
.executive-metric span {
  margin-bottom: 6px;
}
.executive-metric strong {
  font-size: 24px;
}

/* Sizing constraints for the inline Phosphor SVG icons */
svg[class*="ph"] {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
}

