@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --canvas: #EEF1EF;
  --surface: #FFFFFF;
  --border: #DCE2DF;
  --navy: #101C2C;
  --ink: #15212B;
  --muted: #5C6B72;
  --amber: #C97A2B;
  --red: #B8503D;
  --green: #3F7F5C;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.muted { color: var(--muted); }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: var(--navy); color: #C7D0D8; padding: 20px 14px; flex-shrink: 0; display: flex; flex-direction: column; }
.brand { color: #fff; font-weight: 700; font-size: 17px; padding: 0 8px; }
.tagline { font-size: 11.5px; color: #7C8A96; padding: 2px 8px 20px 8px; }
.nav-item { display: block; padding: 9px 10px; border-radius: 6px; text-decoration: none; font-size: 13.5px; font-weight: 500; color: #C7D0D8; }
.nav-item.active { background: rgba(255,255,255,0.08); color: #fff; font-weight: 600; }
.nav-soon { color: #57646E; display: flex; justify-content: space-between; align-items: center; }
.soon-badge { font-size: 9.5px; border: 1px solid #2A3744; border-radius: 4px; padding: 1px 5px; }
.sidebar-footer { margin-top: auto; padding: 12px 10px; border-top: 1px solid #223040; font-size: 11.5px; color: #6E7C87; }
.main { flex: 1; padding: 26px 32px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab { padding: 8px 14px; border: none; background: transparent; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; display: inline-block; }
.tab.active { color: var(--navy); border-bottom: 2px solid var(--amber); }

.agenda-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.agenda-row:last-child { border-bottom: none; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex-shrink: 0; }
.dot-hijau { background: var(--green); }
.dot-kuning { background: #B8862B; }
.dot-merah { background: var(--red); }

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel-grid .full { grid-column: 1 / -1; }
.panel ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; }
.panel-title { font-weight: 600; font-size: 13px; margin-bottom: 10px; }

.score-badge { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 16px; border-radius: 6px; padding: 4px 12px; min-width: 40px; text-align: center; background: var(--canvas); }
.score-row-track { flex: 1; height: 5px; background: var(--border); border-radius: 3px; }
.score-row-fill { height: 5px; border-radius: 3px; }
.page-title { font-size: 20px; font-weight: 700; margin: 0; }
.page-subtitle { font-size: 13px; color: var(--muted); margin-top: 2px; margin-bottom: 22px; }

.btn { background: var(--navy); color: #fff; border: none; border-radius: 6px; padding: 10px 14px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-outline { background: transparent; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; font-size: 11.5px; cursor: pointer; color: var(--ink); text-decoration: none; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.metric-row { display: flex; gap: 12px; margin-bottom: 24px; }
.metric-card { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.metric-value { font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 600; }
.metric-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

table { width: 100%; border-collapse: collapse; font-size: 12px; }
thead tr { background: var(--navy); color: #fff; }
th, td { padding: 8px 10px; text-align: left; }
tbody tr { border-bottom: 1px solid var(--border); }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kanban-col-title { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.kanban-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.tag { font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--canvas); color: var(--muted); margin-right: 4px; }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 8px; }
.progress-fill { height: 4px; background: var(--navy); border-radius: 2px; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; text-align: center; }
.login-card input { width: 100%; padding: 9px 10px; border-radius: 6px; border: 1px solid var(--border); margin-bottom: 10px; font-family: inherit; }
.error { color: var(--red); font-size: 12.5px; margin-bottom: 12px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
