:root {
  --red: #a5222b;
  --red-dark: #831b23;
  --ink: #17201f;
  --muted: #66716d;
  --line: #dcded8;
  --paper: #f4f3ee;
  --surface: #fffefa;
  --navy: #172a27;
  --navy-soft: #213b36;
  --green: #286a57;
  --blue: #2e6072;
  --amber: #a46a12;
  --shadow: 0 12px 32px rgba(23, 32, 31, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
a { color: inherit; }
::selection { background: #f2c5c8; color: var(--ink); }
:focus-visible { outline: 3px solid #d9787e; outline-offset: 2px; }
.hidden { display: none !important; }

/* Shared identity */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.brand h1 { margin: 0; font-size: 15px; line-height: 1.1; letter-spacing: .01em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; }

/* Login */
.login-wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: var(--navy);
}
.login-wrap::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .28;
  background-image: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.06) 50%, transparent 51%), linear-gradient(0deg, transparent 49%, rgba(255,255,255,.06) 50%, transparent 51%);
  background-size: 48px 48px;
}
.login-card {
  position: relative;
  width: min(450px, 100%);
  padding: 38px;
  border: 1px solid #cfd4ce;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.login-card .brand { margin-bottom: 38px; }
.login-card h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.login-card p { margin: 0 0 26px; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 7px; margin: 15px 0; }
.field label { color: #4d5a56; font-size: 12px; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfd4ce;
  border-radius: 4px;
  padding: 11px 12px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa29e; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(165,34,43,.12);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--red); }
.btn-primary:hover { background: var(--red-dark); }
.btn-soft { color: var(--ink); background: #eceee9; }
.btn-soft:hover { background: #e0e4de; }
.btn-danger { color: #fff; background: #8c242b; }
.demo-note { margin-top: 20px; padding: 12px 14px; border: 1px solid #edc9cb; background: #f8ecea; color: #69343a; font-size: 11px; line-height: 1.7; }

/* Internal application shell */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side {
  display: flex;
  flex-direction: column;
  padding: 25px 14px 16px;
  border-right: 1px solid #0d1c19;
  background: var(--navy);
  color: #fff;
}
.side .brand { margin: 0 10px 38px; }
.side .brand-mark { background: var(--red); }
.side .brand small { color: #aab8b3; }
.nav { display: grid; gap: 3px; }
.nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  border-radius: 3px;
  text-align: left;
  color: #b7c4bf;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}
.nav button:hover { background: var(--navy-soft); color: #fff; }
.nav button.active { border-left-color: #e2666e; background: var(--navy-soft); color: #fff; }
.nav button span { width: 25px; color: #e2666e; font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.side-bottom { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid rgba(255,255,255,.12); color: #9eb0aa; font-size: 10px; line-height: 1.7; }
.side-bottom .btn { width: 100%; margin-top: 13px; font-size: 11px; }
.main { min-width: 0; }
.top {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.top h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.user-chip { display: flex; align-items: center; gap: 10px; text-align: right; font-size: 12px; }
.user-chip b { font-size: 12px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e3b4b7; border-radius: 4px; background: #f8e1df; color: var(--red-dark); font-size: 11px; font-weight: 850; }
.content { width: min(1400px, 100%); padding: 32px 34px 48px; }
.eyebrow { color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.title-row h1 { margin: 5px 0 0; font-size: 28px; letter-spacing: -.045em; }

/* Dashboard */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.card:nth-child(2) .stat-icon { color: var(--blue); background: #f0f7fa; }
.card:nth-child(3) .stat-icon { color: var(--amber); background: #fff8e8; }
.card:nth-child(4) .stat-icon { color: var(--red); background: #fff4f3; }
.stat-icon { float: right; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #dce5df; border-radius: 3px; color: var(--green); background: #eff5f0; font-size: 13px; }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 750; }
.stat-value { margin: 12px 0 5px; font-size: 30px; font-weight: 820; letter-spacing: -.04em; }
.stat-meta { color: var(--muted); font-size: 10px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; }
.panel { padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.panel > b { font-size: 13px; }
.section-label { margin: 26px 0 10px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.notice { padding: 12px 14px; border: 1px solid #ecd6a9; border-radius: 2px; background: #fcf4df; color: #76531a; font-size: 11px; }

/* Tables and filters */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.toolbar input, .toolbar select { min-width: 170px; border: 1px solid #cfd4ce; border-radius: 4px; padding: 10px 11px; outline: none; background: var(--surface); color: var(--ink); font-size: 12px; }
.toolbar input { flex: 1 1 240px; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(165,34,43,.1); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { padding: 11px 10px; border-bottom: 2px solid #cfd4ce; color: #67716d; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { padding: 14px 10px; border-bottom: 1px solid #e9ebe6; vertical-align: top; }
.table tbody tr:hover td { background: #fbfaf5; }
.table td .btn + .btn { margin-left: 5px; }
.muted { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid transparent; border-radius: 3px; font-size: 10px; font-weight: 780; white-space: nowrap; }
.badge-in { border-color: #edc9cb; color: #8d2028; background: #fff4f3; }
.badge-out { border-color: #c8dce5; color: #2f5b6e; background: #f0f7fa; }
.badge-neutral { border-color: #d7dce3; color: #5b6574; background: #f3f5f7; }
.badge-pending { border-color: #ecd6a9; color: #89600f; background: #fff8e8; }
.badge-progress { border-color: #eed0b0; color: #8a4d18; background: #fff5e9; }
.badge-done { border-color: #c3e2d4; color: #1f6b51; background: #effaf4; }
.empty { padding: 42px 20px; color: var(--muted); text-align: center; font-size: 12px; }

/* Forms and overlays */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.full { grid-column: 1 / -1; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.modal-back { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(15, 25, 23, .66); }
.modal { width: min(650px, 100%); max-height: 90vh; overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: 0 24px 64px rgba(0,0,0,.22); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-head h3 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.icon-btn { border-radius: 3px; padding: 6px 10px; color: var(--muted); background: #eceee9; font-size: 18px; line-height: 1; }
.icon-btn:hover { color: var(--ink); background: #e1e5df; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: min(360px, calc(100vw - 32px)); padding: 12px 15px; border: 1px solid #49655d; border-radius: 3px; color: #fff; background: #202d2a; box-shadow: var(--shadow); font-size: 12px; }

/* Public landing page */
.public { min-height: 100vh; padding: 30px; color: var(--ink); background: var(--paper); }
.public-inner { width: min(1060px, 100%); margin: auto; }
.public .brand { padding-bottom: 24px; border-bottom: 1px solid #d3d5ce; }
.public .brand-mark { background: var(--red); }
.public .brand h1 { margin: 0; font-size: 15px; line-height: 1.1; letter-spacing: .01em; }
.public-inner > h1 { max-width: 700px; margin: 12px 0 14px; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.06em; }
.public p { max-width: 610px; margin: 0; color: var(--muted); line-height: 1.75; }
.public .eyebrow { margin-top: 74px; }
.public-year-wrap { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 11px; font-weight: 750; }
.public-year { border: 1px solid #cfd4ce; border-radius: 4px; padding: 9px 12px; background: var(--surface); color: var(--ink); }
.public-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 24px; }
.public-card { min-height: 140px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.public-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.public-card b { display: block; margin-top: 28px; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.public-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.public .back-login { margin-top: 12px; border: 1px solid var(--red); border-radius: 4px; padding: 10px 13px; color: #fff; background: var(--red); font-weight: 780; }
.public .back-login { display: inline-flex; align-items: center; gap: 8px; }
.public .back-login .icon { width: 15px; height: 15px; }
.public .back-login:hover { background: var(--red-dark); }

@media (max-width: 900px) {
  .shell { display: block; }
  .side { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 14px 18px; border-right: 0; border-bottom: 1px solid #0d1c19; }
  .side .brand { margin: 0; }
  .nav { display: flex; min-width: 0; overflow-x: auto; gap: 4px; }
  .nav button { width: auto; flex: 0 0 auto; white-space: nowrap; }
  .side-bottom { display: none; }
  .top { padding: 0 22px; }
  .content { padding: 24px 22px 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .login-wrap { padding: 16px; }
  .login-card { padding: 28px 22px; }
  .top { min-height: 68px; padding: 0 16px; }
  .top h2 { font-size: 16px; }
  .user-chip > div:first-child { display: none; }
  .content { padding: 22px 16px 34px; }
  .title-row { align-items: flex-start; flex-direction: column; }
  .title-row > div:last-child { width: 100%; }
  .title-row > div:last-child .btn { width: 100%; }
  .cards, .public-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .toolbar input, .toolbar select { width: 100%; min-width: 0; }
  .public { padding: 20px 16px 32px; }
  .public .eyebrow { margin-top: 52px; }
  .public-inner > h1 { font-size: 38px; }
  .public-year-wrap { justify-content: space-between; }
  .public-year { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Penpot master design: dashboard shell */
:root {
  --design-ink: #1e293b;
  --design-muted: #64748b;
  --design-line: #e2e8f0;
  --design-sidebar: #121316;
  --design-red: #a5222b;
  --design-blue: #2563eb;
  --design-amber: #d97706;
}

body { font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: #f8fafc; color: var(--design-ink); }
.design-shell { grid-template-columns: 260px minmax(0, 1fr); background: #f8fafc; }
.design-shell .side { position: sticky; top: 0; height: 100vh; padding: 28px 16px 20px; border-right: 0; background: var(--design-sidebar); }
.design-brand { align-items: flex-start; gap: 10px; margin: 0 8px 14px !important; }
.design-brand .brand-mark { width: 42px; height: 42px; border: 2px solid #ffc107; border-radius: 10px; background: #e32f27; font-size: 0; }
.design-brand .brand-mark::after { content: ""; width: 14px; height: 18px; border: 2px solid #fff; border-radius: 2px; }
.design-brand h1 { color: #fff; font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.design-brand small { margin-top: 3px; color: #94a3b8; font-size: 9px; letter-spacing: .03em; }
.system-badge { width: max-content; max-width: 100%; margin: 0 8px; border: 1px solid #ffc107; border-radius: 999px; padding: 4px 10px; color: #ffc107; background: #1e1f24; font-size: 9px; letter-spacing: .01em; white-space: nowrap; }
.side-rule { height: 1px; margin: 17px 8px 16px; background: #1e293b; }
.nav-heading { margin: 0 8px 8px; color: #64748b; font-size: 9px; letter-spacing: .03em; }
.design-shell .nav { gap: 3px; }
.design-shell .nav button { position: relative; min-height: 42px; padding: 0 16px; border: 0; border-radius: 8px; color: #cbd5e1; background: transparent; font-size: 12px; font-weight: 500; }
.design-shell .nav button:hover { color: #fff; background: #1e1f24; }
.design-shell .nav button.active { color: #fff; background: var(--design-red); }
.design-shell .nav-icon { width: 18px; display: inline-grid; place-items: center; color: currentColor; }
.design-shell .nav-icon .icon { width: 15px; height: 15px; stroke-width: 1.7; }
.design-shell .nav-label { flex: 1; text-align: left; }
.nav-badge { margin-left: auto; border-radius: 999px; padding: 4px 9px; color: #dbeafe; background: #1e3a8a; font-size: 10px; font-weight: 500; line-height: 1.2; }
.nav-badge.urgent { color: #fff; background: #dc2626; }
.profile-card { display: flex; align-items: center; gap: 10px; min-height: 72px; margin-top: auto; padding: 12px; border-radius: 10px; background: #121316; }
.profile-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #fff; background: var(--design-amber); font-size: 12px; }
.profile-copy { min-width: 0; display: grid; gap: 3px; }
.profile-copy b { overflow: hidden; color: #f8fafc; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { color: #94a3b8; font-size: 10px; }
.profile-menu { margin-left: auto; padding: 3px 5px; color: #94a3b8; background: transparent; font-size: 18px; line-height: 1; }
.design-top { min-height: 72px; padding: 0 28px; border-color: var(--design-line); }
.breadcrumb { min-width: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; color: #475569; font-size: 12px; white-space: nowrap; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 20px; }
.top-search { width: 330px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f1f5f9; color: #94a3b8; }
.top-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--design-ink); font-size: 11px; }
.top-search input::placeholder { color: #94a3b8; }
.top-new { width: 170px; height: 40px; border-radius: 8px; background: var(--design-red); font-size: 12px; font-weight: 500; }
.notification-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--design-line); border-radius: 8px; color: #64748b; background: #f8fafc; font-size: 20px; }
.notification-btn i { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #ef4444; }
.design-content { width: 100%; max-width: 1440px; padding: 22px 28px 28px; }
.hero-banner { min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 18px; padding: 20px 28px 10px; border-radius: 12px; color: #fff; background: var(--design-red); }
.hero-banner h1 { margin: 0 0 5px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.hero-banner p { margin: 0; color: #1e1f24; font-size: 12px; }
.hero-badges { display: flex; align-items: center; gap: 0; }
.hero-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 18px; border-radius: 999px; color: #cbd5e1; background: #1e293b; font-size: 10px; white-space: nowrap; }
.hero-badge.urgent { color: #fff; background: #b45309; }
.design-stats { gap: 18px; margin-bottom: 18px; }
.design-stat { min-height: 108px; padding: 18px; border-color: var(--design-line); border-radius: 10px; }
.design-stat .stat-icon { width: 44px; height: 44px; border: 0; border-radius: 10px; color: #64748b; background: #f1f5f9; }
.design-stat .stat-icon .icon { width: 18px; height: 18px; }
.design-stat .incoming-icon { color: #2563eb; background: #dbeafe; }
.design-stat .outgoing-icon, .design-stat .pending-icon { color: #b45309; background: #fef3c7; }
.design-stat .stat-label { display: block; margin-left: 54px; color: #64748b; font-size: 10px; font-weight: 500; letter-spacing: .02em; }
.design-stat .stat-value { margin: 8px 0 3px 54px; color: #0f172a; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.design-stat .stat-meta { display: block; margin-left: 54px; color: #1e293b; font-size: 10px; }
.design-panels { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .87fr); gap: 18px; }
.design-shell .panel { border-color: var(--design-line); border-radius: 10px; box-shadow: none; }
.follow-up-panel, .distribution-panel { min-height: 253px; padding: 20px 16px 14px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-heading h2 { margin: 0; color: #0f172a; font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.panel-heading p { margin: 4px 0 0; color: #64748b; font-size: 10px; }
.follow-up-list { display: grid; gap: 7px; margin-top: 16px; }
.follow-up-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 7px 12px; border-radius: 8px; background: #f8fafc; }
.follow-up-item > div { min-width: 0; display: grid; gap: 3px; }
.item-number { color: #dc2626; font-size: 9px; }
.follow-up-item b { overflow: hidden; color: #1e293b; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.item-unit { display: flex; align-items: center; gap: 6px; color: #475569; font-size: 9px; white-space: nowrap; }
.item-unit em { padding: 4px 9px; border: 1px solid transparent; border-radius: 999px; font-style: normal; }
.text-link { display: block; margin: 16px 0 0 auto; padding: 0; color: #dc2626; background: transparent; font-size: 10px; }
.text-link:hover { text-decoration: underline; }
.distribution-list { display: grid; gap: 14px; margin-top: 16px; }
.distribution-row > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #1e293b; font-size: 10px; }
.distribution-row small { color: #64748b; font-size: 10px; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: #a5222b; }
.distribution-row:nth-child(2) .progress-track i { background: #2563eb; }
.distribution-row:nth-child(3) .progress-track i { background: #d97706; }
.distribution-row:nth-child(4) .progress-track i { background: #d97706; }
.archive-panel { margin-top: 18px; padding: 18px 16px 14px; }
.archive-heading { align-items: center; margin-bottom: 12px; }
.panel-actions { display: flex; align-items: center; gap: 10px; }
.panel-actions .btn { min-width: 140px; height: 34px; border-radius: 8px; font-size: 11px; font-weight: 500; }
.panel-actions .btn-soft { border: 1px solid #cbd5e1; color: #334155; background: #f1f5f9; }
.dashboard-table { table-layout: fixed; font-size: 10px; }
.dashboard-table th { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; color: #64748b; font-size: 9px; font-weight: 500; }
.dashboard-table td { padding: 9px 10px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.dashboard-table th:nth-child(1) { width: 80px; }.dashboard-table th:nth-child(2) { width: 150px; }.dashboard-table th:nth-child(3) { width: 90px; }.dashboard-table th:nth-child(4) { width: 150px; }.dashboard-table th:nth-child(6) { width: 140px; }.dashboard-table th:nth-child(7) { width: 55px; }
.type-chip, .status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 9px; font-weight: 500; white-space: nowrap; }
.type-chip.incoming { color: #64748b; background: #dbeafe; }.type-chip.outgoing { color: #b45309; background: #fef3c7; }
.status-chip { border: 1px solid #cbd5e1; color: #334155; background: #f8fafc; }.status-chip.badge-pending { border-color: #fecaca; color: #dc2626; background: #fee2e2; }.status-chip.badge-progress { border-color: #fed7aa; color: #b45309; background: #fff7ed; }.status-chip.badge-done { border-color: #cbd5e1; color: #334155; background: #f8fafc; }
.number-link, .table-link { color: #dc2626; }.table-link { padding: 0; border: 0; background: transparent; font-size: 10px; }.table-link:hover { text-decoration: underline; }
.compact-empty { padding: 30px 10px; }

/* Penpot master design: portal and authentication */
.login-design { display: grid; grid-template-columns: minmax(360px, 40.3%) minmax(0, 1fr); place-items: stretch; padding: 0; background: #fff; }
.login-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; padding: 120px 80px 44px; color: #fff; background: #121316; }
.login-orb { position: absolute; top: 120px; left: 80px; width: 420px; height: 420px; border-radius: 50%; background: #a5222b; }
.login-orb::before { position: absolute; top: 40px; left: -1px; width: 68px; height: 68px; content: ""; border-radius: 14px; background: #d97706; }
.login-identity { position: relative; z-index: 1; max-width: 380px; }
.login-identity .brand-mark { width: 68px; height: 68px; margin-bottom: 26px; border: 0; border-radius: 14px; color: transparent; background: transparent; }
.login-identity h1 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: -.03em; }
.login-identity > p { margin: 3px 0 22px; color: #94a3b8; font-size: 14px; }
.login-identity > span { display: inline-flex; padding: 3px 10px; border-radius: 999px; color: #cbd5e1; background: #1e1f24; font-size: 10px; }
.login-identity h2 { margin: 40px 0 12px; font-size: 19px; font-weight: 400; line-height: 1.45; }.login-identity h2 em { color: #ffc107; font-style: normal; }
.login-intro { max-width: 330px; margin: 0 !important; color: #cbd5e1 !important; font-size: 12px !important; line-height: 1.8; }
.login-security { display: grid; gap: 3px; margin-top: 38px; padding: 11px 18px; border-radius: 8px; color: #fff; background: #b4232e; font-size: 10px; }.login-security small { color: #fecaca; font-size: 9px; }
.login-points { display: grid; gap: 20px; margin-top: 20px; color: #f8fafc; font-size: 11px; }.login-points small { display: block; margin-top: 4px; color: #94a3b8; font-size: 9px; }
.login-copyright { position: absolute; bottom: 42px; left: 80px; color: #64748b; font-size: 9px; }
.login-form-card { align-self: center; width: min(560px, calc(100% - 48px)); padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.login-form-card h1 { margin: 0 0 5px; color: #0f172a; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }.login-form-card > p { margin: 0 0 25px; color: #64748b; font-size: 12px; }
.role-label { display: block; margin-bottom: 8px; color: #1e293b; font-size: 10px; font-weight: 650; }.role-pills { display: flex; margin-bottom: 23px; }.role-pills button { flex: 1; min-height: 34px; border: 1px solid #cbd5e1; color: #64748b; background: #f1f5f9; font-size: 10px; }.role-pills button:first-child { border-radius: 999px 0 0 999px; }.role-pills button:last-child { border-radius: 0 999px 999px 0; }.role-pills button.active { border-color: #a5222b; color: #fff; background: #a5222b; }
.login-form-card .field { gap: 6px; margin: 0 0 17px; }.login-form-card .field label { color: #1e293b; font-size: 10px; }.login-form-card .field input, .login-form-card .field select { min-height: 44px; border-color: #cbd5e1; border-radius: 8px; background: #f8fafc; font-size: 12px; }.login-form-card .field input:focus, .login-form-card .field select:focus { border-color: #a5222b; box-shadow: 0 0 0 3px rgba(165,34,43,.1); }
.login-options { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 20px; color: #475569; font-size: 10px; }.login-options label { display: inline-flex; align-items: center; gap: 5px; }.login-options input { accent-color: #a5222b; }.login-options a { color: #475569; text-decoration: none; }.login-options a:hover { color: #a5222b; }
.login-submit { width: 100%; min-height: 48px; border-radius: 8px; font-size: 12px; font-weight: 500; }.login-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: #94a3b8; font-size: 10px; }.login-divider::before, .login-divider::after { flex: 1; height: 1px; content: ""; background: #e2e8f0; }.login-sso { width: 100%; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 8px; color: #475569; background: #f8fafc; font-size: 11px; font-weight: 500; }
.security-warning { display: grid; gap: 6px; margin-top: 24px; padding: 13px 16px; border: 1px solid #fca5a5; border-radius: 8px; color: #dc2626; background: #fff1f2; font-size: 10px; }.security-warning small { line-height: 1.6; }
.login-demo { margin-top: 14px; padding: 8px 10px; border: 0; color: #64748b; background: #f8fafc; font-size: 9px; }

.public-design { padding: 0; background: #fff; }
.public-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 48px; border-bottom: 1px solid #e2e8f0; background: #fff; }.public-brand { display: flex; align-items: center; gap: 12px; color: #94a3b8; }.public-brand .brand-mark { width: 44px; height: 44px; border: 2px solid #ffc107; border-radius: 10px; background: #e32f27; font-size: 0; }.public-brand .brand-mark::after { content: ""; width: 14px; height: 18px; border: 2px solid #fff; border-radius: 2px; }.public-brand b { display: block; font-size: 14px; font-weight: 500; }.public-brand small { display: block; margin-top: 4px; font-size: 10px; }.public-nav nav { display: flex; align-items: center; gap: 36px; }.public-nav nav a { color: #475569; font-size: 12px; text-decoration: none; }.public-nav nav a:hover { color: #a5222b; }.public-login { min-width: 122px; min-height: 40px; border-radius: 8px; color: #fff; background: #a5222b; font-size: 11px; }
.public-hero { padding: 14px 0 0; color: #fff; background: #121316; }.public-hero-inner { width: min(1040px, calc(100% - 48px)); min-height: 406px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; padding: 30px; border-radius: 24px; background: #a5222b; text-align: center; }.public-kicker { display: inline-flex; margin-bottom: 22px; padding: 5px 32px; border-radius: 999px; color: #cbd5e1; background: #1e1f24; font-size: 9px; }.public-hero h1 { margin: 0; font-size: 36px; font-weight: 400; letter-spacing: -.04em; }.public-hero h2 { margin: 6px 0 14px; color: #ffc107; font-size: 30px; font-weight: 400; }.public-hero p { max-width: 700px; margin: 0 auto 26px; color: #fee2e2; font-size: 13px; line-height: 1.7; }.public-search { width: min(720px, 100%); height: 58px; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 22px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; }.public-search span { color: #94a3b8; font-size: 18px; }.public-search input { flex: 1; min-width: 0; border: 0; outline: 0; color: #334155; font-size: 11px; }.public-search input::placeholder { color: #94a3b8; }.public-search button { width: 126px; height: 42px; border-radius: 999px; color: #fff; background: #a5222b; font-size: 11px; }.public-stats-inline { display: flex; gap: 70px; margin-top: 35px; color: #1e293b; font-size: 11px; }.public-stats-inline .public-card { min-height: auto; padding: 0; border: 0; background: transparent; }.public-stats-inline .public-card b { margin: 0; font-size: 17px; }.public-stats-inline .public-card span, .public-stats-inline .public-card small { color: #1e293b; }

.public-section { padding: 34px 48px 20px; }.public-section-heading { position: relative; width: min(1344px, 100%); margin: 0 auto 18px; }.public-section-heading h2 { margin: 0 0 5px; color: #cbd5e1; font-size: 18px; font-weight: 600; }.public-section-heading p { margin: 0; color: #475569; font-size: 11px; }.public-section-heading label { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 10px; }.public-cards { width: min(1344px, 100%); margin: 0 auto; gap: 30px; }.public-info-card { min-height: 210px; padding: 22px; border: 1px solid #dbe4ef; border-radius: 10px; background: #fff; }.public-info-card h3 { margin: 0 0 5px; color: #1e293b; font-size: 14px; font-weight: 500; }.public-info-card p { margin: 0 0 18px; color: #64748b; font-size: 10px; }.quarter-bars { display: grid; gap: 15px; }.quarter-bars > div { position: relative; display: grid; gap: 6px; color: #94a3b8; font-size: 9px; }.quarter-bars b { position: absolute; right: 0; color: #dc2626; font-size: 9px; font-weight: 500; }.quarter-bars i { display: block; height: 6px; border-radius: 999px; background: #a5222b; }.public-info-card ul { display: grid; gap: 12px; margin: 0; padding-left: 16px; color: #1e293b; font-size: 10px; }.public-info-card li small { display: block; margin-top: 3px; color: #64748b; font-size: 9px; }.public-flow { width: min(1344px, 100%); margin: 24px auto 0; padding: 17px 24px; border: 1px solid #dbe4ef; border-radius: 10px; background: #f1f5f9; color: #cbd5e1; font-size: 11px; }.public-flow > div { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 13px; }.public-flow b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #a5222b; font-size: 12px; font-weight: 500; }.public-flow p { margin: 0; color: #1e293b; font-size: 10px; }.public-flow small { display: block; margin-top: 3px; color: #64748b; font-size: 9px; }.public-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 22px 48px; color: #fff; background: #121316; font-size: 11px; }.public-footer small { color: #64748b; font-size: 9px; line-height: 1.8; }
@media (max-width: 1100px) {
  .design-top { padding: 0 20px; }
  .design-content { padding: 20px; }
  .top-search { width: 260px; }
  .top-new { width: auto; }
  .design-panels { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .design-shell .side { position: static; height: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 18px; }
  .design-shell .design-brand { margin: 0 !important; }
  .design-shell .system-badge, .design-shell .side-rule, .design-shell .nav-heading, .design-shell .profile-card { display: none; }
  .design-shell .nav { display: flex; min-width: 0; overflow-x: auto; }
  .design-shell .nav button { flex: 0 0 auto; width: auto; }
  .login-design { display: block; }.login-visual { min-height: 360px; padding: 50px 28px 36px; }.login-orb { top: 40px; left: 30px; width: 300px; height: 300px; }.login-copyright { position: static; margin-top: 30px; }.login-form-card { width: min(560px, calc(100% - 40px)); margin: 46px auto; }
  .public-nav { align-items: flex-start; flex-direction: column; padding: 16px 20px; }.public-nav nav { width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; }.public-nav nav a { flex: 0 0 auto; }.public-hero-inner { width: calc(100% - 24px); min-height: 360px; padding: 24px 16px; }.public-hero h1 { font-size: 28px; }.public-hero h2 { font-size: 23px; }.public-stats-inline { gap: 22px; }.public-section { padding: 28px 20px 14px; }.public-section-heading label { position: static; margin-top: 12px; }.public-footer { flex-direction: column; padding: 22px 20px; }
  .design-top { flex-wrap: wrap; height: auto; min-height: 72px; padding: 12px 18px; }
  .breadcrumb { flex: 1 1 280px; }.top-actions { flex: 1 1 100%; }.top-search { flex: 1; width: auto; }
}
@media (max-width: 620px) {
  .design-content { padding: 14px; }
  .hero-banner { padding: 16px; }.hero-banner h1 { font-size: 15px; }.hero-badges { flex-wrap: wrap; gap: 4px; }.hero-badge { padding: 4px 9px; }
  .design-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.design-stat { padding: 12px; }.design-stat .stat-label, .design-stat .stat-value, .design-stat .stat-meta { margin-left: 0; }.design-stat .stat-icon { float: none; margin-bottom: 10px; }
  .follow-up-item { align-items: flex-start; flex-direction: column; gap: 4px; }.item-unit { width: 100%; justify-content: space-between; }
  .archive-heading { align-items: flex-start; flex-direction: column; }.panel-actions { width: 100%; }.panel-actions .btn { flex: 1; min-width: 0; }
  .top-actions { gap: 8px; }.top-search { min-width: 0; }.top-new { padding: 9px 10px; font-size: 10px; }.notification-btn { flex: 0 0 40px; }
  .login-form-card { width: calc(100% - 28px); margin: 32px auto; }.login-visual { min-height: 420px; padding: 42px 20px 30px; }.login-orb { top: 30px; left: 20px; width: 270px; height: 270px; }.login-identity h2 { margin-top: 26px; font-size: 17px; }.role-pills { overflow-x: auto; }.role-pills button { min-width: 108px; }.login-options { align-items: flex-start; flex-direction: column; gap: 8px; }.public-hero h1 { font-size: 24px; }.public-hero h2 { font-size: 20px; }.public-search { height: auto; flex-wrap: wrap; padding: 12px; border-radius: 16px; }.public-search input { flex-basis: calc(100% - 30px); height: 28px; }.public-search button { width: 100%; }.public-stats-inline { flex-wrap: wrap; justify-content: center; margin-top: 24px; }.public-cards { grid-template-columns: 1fr; gap: 12px; }.public-flow > div { grid-template-columns: auto 1fr; }.public-flow > div p { margin-bottom: 6px; }
}

/* Public portal — modern Bawaslu palette, scoped to landing. */
@font-face { font-family: Manrope; src: url('/assets/fonts/manrope-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url('/assets/fonts/manrope-bold.ttf') format('truetype'); font-weight: 600 800; font-style: normal; font-display: swap; }
.landing { --lp-red: #bd241f; --lp-ink: #17181b; --lp-muted: #5a6069; --lp-paper: #fff; --lp-gold: #ffc107; color: var(--lp-ink); background: var(--lp-paper); font-family: Manrope, sans-serif; }
.landing a { text-underline-offset: 5px; }
.landing button { font-family: inherit; }
.landing :focus-visible { outline: 3px solid #a44b58; outline-offset: 5px; }
.landing ::selection { color: #fff; background: var(--lp-red); }
.lp-skip { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 12px; background: #fff; color: var(--lp-red); }.lp-skip:focus { top: 16px; }
.lp-header { max-width: 1440px; margin: auto; padding: 22px 6%; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid #e5e7eb; }
.lp-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.lp-monogram { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: #e32f27; border-bottom: 3px solid #ffc107; font-family: Manrope, sans-serif; font-size: 22px; font-weight: bold; letter-spacing: -.04em; color: #fff; }.lp-monogram span { display: none; }
.lp-brand strong { display: block; font-size: 14px; letter-spacing: .1em; }.lp-brand small { display: block; margin-top: 4px; font-size: 11px; color: var(--lp-muted); }
.lp-header nav { display: flex; align-items: center; gap: 30px; }.lp-header nav > a { font-size: 13px; text-decoration: none; }.lp-header nav > a:hover { color: var(--lp-red); text-decoration: underline; }
.lp-login { display: inline-flex; align-items: center; gap: 20px; padding: 12px 18px; border: 1px solid #dddfe3; border-radius: 8px; background: #fff; color: var(--lp-ink); font-size: 13px; }.lp-login:hover { background: #f4f5f7; }
.lp-hero { max-width: none; margin: auto; display: grid; grid-template-columns: 1.12fr 1fr; padding: 68px max(6%, calc((100% - 1268px)/2)) 70px; gap: 6%; align-items: center; background: #17181b; color: #fff; }
.lp-hero h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(44px, 4.5vw, 68px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }.lp-hero h1 em { color: var(--lp-gold); font-weight: 800; font-style: normal; }
.lp-hero-copy > p { max-width: 460px; margin: 26px 0 30px; font-size: 15px; line-height: 1.8; color: #c7c9ce; }
.lp-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }.lp-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 15px 22px; color: #fff; background: var(--lp-red); font-size: 13px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; transition: background .2s; }.lp-button:hover { background: #a91f1b; }.lp-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }.lp-link:hover { color: var(--lp-red); }.lp-hero .lp-link:hover { color: var(--lp-gold); }
.lp-access-note { display: flex; gap: 12px; align-items: center; margin-top: 38px; color: #c7c9ce; font-size: 11px; line-height: 1.7; }.lp-access-note .icon { width: 22px; height: 22px; color: var(--lp-gold); }
.lp-hero-image { position: relative; margin: 0; min-height: 490px; background: #292b30; overflow: hidden; border-radius: 18px; }.lp-hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8); }.lp-hero-image figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px 28px; color: #fff; background: #24262b; display: flex; justify-content: space-between; align-items: end; gap: 16px; }.lp-hero-image figcaption span { font-family: Manrope, sans-serif; font-size: 19px; line-height: 1.5; }.lp-hero-image figcaption b { color: #ffc107; font-weight: 700; }.lp-hero-image figcaption small { color: #c7c9ce; font-size: 10px; }
.lp-stats { padding: 55px max(6%, calc((100% - 1268px)/2)); background: #f4f5f7; scroll-margin-top: 24px; }.lp-section-intro { display: flex; align-items: start; justify-content: space-between; gap: 24px; }.landing h2 { margin: 0; font-family: Manrope, sans-serif; font-weight: 700; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.18; letter-spacing: -.025em; }.lp-section-intro p { font-size: 13px; color: var(--lp-muted); line-height: 1.7; margin: 14px 0 0; }.lp-year { display: grid; gap: 7px; color: var(--lp-muted); font-size: 11px; }.lp-year select { min-width: 155px; padding: 11px 14px; border: 1px solid #c7cbd2; border-radius: 8px; color: var(--lp-ink); background: transparent; font-size: 13px; }
.lp-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border: 1px solid #e1e3e8; border-radius: 14px; overflow: hidden; background: #fff; min-height: 174px; }.lp-stat { padding: 24px 32px; border-right: 1px solid #e1e3e8; }.lp-stat:first-child { padding-left: 32px; }.lp-stat:last-child { border: 0; }.lp-stat h3 { font-size: 13px; margin: 0; font-weight: 500; }.lp-stat b { display: block; font-family: Manrope, sans-serif; color: var(--lp-red); font-size: 54px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; margin: 8px 0; }.lp-stat p, .lp-stats-footnote { font-size: 11px; color: var(--lp-muted); margin: 0; }.lp-stats-footnote { margin-top: 17px; }.lp-stat-error { padding: 30px 0; grid-column: 1/-1; }.lp-stat-error button { color: var(--lp-red); text-decoration: underline; background: transparent; padding: 10px; }
.lp-workflow { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 12%; padding: 90px 6%; }.lp-workflow-intro > p { max-width: 350px; font-size: 14px; line-height: 1.8; color: var(--lp-muted); margin: 22px 0; }.lp-steps { list-style: none; margin: 0; padding: 0; }.lp-steps li { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid #e5e7eb; }.lp-steps li:first-child { padding-top: 0; }.lp-steps li > span { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #fff3c4; color: #17181b; font-weight: 700; font-size: 14px; }.lp-steps h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }.lp-steps p { margin: 0; color: var(--lp-muted); font-size: 13px; line-height: 1.8; }
.lp-access { background: #bd241f; color: #fff; padding: 60px max(6%, calc((100% - 1268px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 60px; }.lp-access p { max-width: 570px; color: #f2dfe2; font-size: 14px; line-height: 1.8; margin: 20px 0 0; }.lp-access-action { flex-shrink: 0; display: grid; gap: 14px; }.lp-access-action > span { max-width: 255px; color: #f2dfe2; font-size: 11px; }.lp-button-light { background: #ffc107; color: #17181b; }.lp-button-light:hover { background: #ffcf3f; }
.lp-footer { max-width: 1440px; padding: 45px 6% 22px; margin: auto; }.lp-footer-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 30px; }.lp-footer b { font-size: 12px; font-weight: 600; }.lp-footer p { margin: 12px 0 0; color: var(--lp-muted); font-size: 12px; line-height: 1.8; }.lp-footer-top > a { font-size: 12px; }.lp-footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #deded6; padding-top: 20px; font-size: 10px; color: var(--lp-muted); }
@media (max-width: 1050px) { .lp-header nav { gap: 18px; }.lp-hero { gap: 4%; }.lp-hero-image { min-height: 460px; }.lp-hero-image figcaption { display: block; }.lp-hero-image figcaption small { display: block; margin-top: 10px; }.lp-access { gap: 30px; } }
@media (max-width: 760px) { .lp-header { padding: 18px 6%; }.lp-header nav > a { display: none; }.lp-brand small { font-size: 9px; }.lp-monogram { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: #e32f27; border-bottom: 3px solid #ffc107; font-size: 32px; }.lp-login { padding: 10px; gap: 8px; }.lp-hero { grid-template-columns: 1fr; padding-top: 38px; gap: 36px; }.lp-hero h1 { font-size: clamp(46px, 9vw, 66px); }.lp-hero-copy > p { max-width: 100%; }.lp-access-note { margin-top: 26px; }.lp-hero-image { min-height: 360px; }.lp-hero-image figcaption { display: flex; }.lp-stats { padding-top: 38px; padding-bottom: 38px; }.lp-section-intro { flex-direction: column; }.lp-year { display: flex; align-items: center; gap: 12px; }.lp-stat { padding: 20px 14px; }.lp-stat:first-child { padding-left: 14px; }.lp-stat b { font-size: 44px; }.lp-stat p { line-height: 1.5; }.lp-workflow { grid-template-columns: 1fr; padding-top: 55px; padding-bottom: 55px; gap: 38px; }.lp-workflow-intro > p { max-width: 100%; }.lp-access { flex-direction: column; align-items: start; padding-top: 42px; padding-bottom: 42px; }.lp-footer-top { flex-wrap: wrap; }.lp-footer-top > a { width: 100%; }.lp-footer-bottom { gap: 16px; } }
@media (prefers-reduced-motion: no-preference) { .lp-hero-image img { animation: lp-reveal .85s cubic-bezier(.16,1,.3,1); } @keyframes lp-reveal { from { clip-path: inset(0 0 8% 0); } to { clip-path: inset(0); } } }

/* Shared Bawaslu brand: red masthead, dark footer. */
.lp-header { max-width: none; padding-left: max(6%, calc((100% - 1268px)/2)); padding-right: max(6%, calc((100% - 1268px)/2)); background: #bd241f; color: #fff; border-bottom-color: #a91e1a; }
.lp-brand small { color: #ffe4e1; }.lp-header nav > a:hover { color: #ffc107; }.lp-header .lp-monogram { background: #fff; color: #bd241f; }.lp-header .lp-login { background: #ffc107; border-color: #ffc107; color: #17181b; font-weight: 700; }.lp-header .lp-login:hover { background: #ffd24a; }
.lp-footer { max-width: none; padding-left: max(6%, calc((100% - 1268px)/2)); padding-right: max(6%, calc((100% - 1268px)/2)); background: #17181b; color: #fff; }.lp-footer p, .lp-footer-bottom { color: #bfc3cb; }.lp-footer-bottom { border-top-color: #383b42; }
/* Authentication uses the portal's local Manrope font and brand palette. */
.auth-page { min-height: 100svh; display: grid; grid-template-columns: 46% 54%; background: #fff; color: #17181b; font-family: Manrope, sans-serif; }
.auth-page button, .auth-page input { font-family: inherit; }.auth-page :focus-visible { outline: 3px solid #bc8200; outline-offset: 4px; }.auth-page [hidden] { display: none; }
.auth-story { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-height: 100svh; padding: 45px 12%; background-color: #17181b; background-image: linear-gradient(rgba(12, 14, 18, .83), rgba(12, 14, 18, .88)), url('/assets/images/login-abstract.jpg'); background-position: center; background-size: cover; color: #fff; border-top: 6px solid #e32f27; }
.auth-brand { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; }.auth-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #fff; background: #bd241f; border-bottom: 3px solid #ffc107; font-size: 22px; font-weight: 700; }.auth-mark > span { display: none; }.auth-brand b { font-size: 14px; letter-spacing: .07em; }.auth-brand small { display: block; margin-top: 5px; font-size: 10px; color: #c7c9ce; }
.auth-message h1 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.2; letter-spacing: -.035em; margin: 0; font-weight: 700; }.auth-message h1 > span { color: #ffc107; }.auth-message > p { color: #c7c9ce; font-size: 15px; line-height: 1.9; margin: 24px 0 35px; }.auth-capabilities { display: grid; gap: 18px; }.auth-capabilities > span { display: flex; gap: 12px; align-items: center; font-size: 13px; }.auth-capabilities .icon { color: #ffc107; width: 19px; height: 19px; }
.auth-story-foot { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid #3a3c41; font-size: 12px; color: #c7c9ce; }.auth-story-foot small { font-size: 10px; }
.auth-main { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 42px 9%; gap: 40px; }.auth-back { align-self: start; display: flex; gap: 10px; align-items: center; padding: 4px 0; background: transparent; color: #5a6069; font-size: 12px; }.auth-back .icon { transform: rotate(180deg); }.auth-back:hover { color: #bd241f; }
.auth-form-wrap { width: 100%; max-width: 420px; }.auth-form-wrap h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: -.035em; }.auth-form-wrap > p { margin: 14px 0 30px; font-size: 14px; line-height: 1.8; color: #5a6069; }.auth-field { display: grid; gap: 9px; margin-bottom: 23px; }.auth-field > label { font-size: 13px; font-weight: 700; }.auth-field input { width: 100%; min-width: 0; min-height: 52px; padding: 13px 15px; border: 1px solid #c9cdd4; border-radius: 8px; color: #17181b; background: #fff; font-size: 14px; }.auth-field input::placeholder { color: #6b717b; }.auth-field input:focus { outline: 2px solid #bd241f; outline-offset: 2px; }.auth-password { position: relative; }.auth-password input { padding-right: 112px; }.auth-password button { position: absolute; top: 4px; right: 5px; min-height: 44px; padding: 0 10px; border-radius: 5px; color: #5a6069; background: #fff; font-size: 11px; font-weight: 700; }.auth-password button:hover { background: #f4f5f7; }
.auth-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 15px 18px; border-radius: 8px; color: #fff; background: #bd241f; font-size: 14px; font-weight: 700; }.auth-submit:hover { background: #a91f1a; }.auth-submit:disabled { background: #777; cursor: wait; }.auth-error { padding: 12px 14px; border: 1px solid #efb7b3; border-radius: 8px; color: #a31d18; background: #fff2f0; font-size: 13px; }
.auth-error:focus, .auth-error:focus-visible { outline: 2px solid #bd241f; outline-offset: 2px; }
.auth-form-wrap .auth-help { font-size: 12px; margin: 20px 0 24px; }.auth-demo { border-top: 1px solid #e1e3e8; border-bottom: 1px solid #e1e3e8; padding: 16px 0; font-size: 12px; }.auth-demo summary { cursor: pointer; font-weight: 700; color: #5a6069; }.auth-demo p { color: #5a6069; }.auth-demo dl { margin-bottom: 0; }.auth-demo dl > div { margin: 10px 0; }.auth-demo dt { font-weight: 700; }.auth-demo dd { margin: 3px 0 0; color: #5a6069; overflow-wrap: anywhere; }.auth-privacy { display: flex; align-items: start; gap: 10px; margin-top: 24px; color: #5a6069; }.auth-privacy p { margin: 0; font-size: 11px; line-height: 1.7; }.auth-privacy .icon { margin-top: 2px; flex-shrink: 0; }.auth-institution { color: #5a6069; font-size: 9px; letter-spacing: .06em; }
@media (max-width: 850px) { .auth-page { grid-template-columns: 38% 62%; }.auth-story { padding: 32px 9%; }.auth-main { padding: 32px 8%; }.auth-message h1 { font-size: 32px; }.auth-brand small { max-width: 130px; } }
@media (max-width: 620px) { .auth-page { display: block; }.auth-story { min-height: auto; padding: 24px 6%; gap: 28px; }.auth-brand small { max-width: none; }.auth-message h1 { font-size: 28px; }.auth-message > p { font-size: 13px; margin: 14px 0 0; }.auth-capabilities, .auth-story-foot { display: none; }.auth-main { padding: 24px 6% 32px; gap: 30px; }.auth-form-wrap h2 { font-size: 27px; }.auth-institution { margin-top: 5px; } }
