/* LISC website-inspired palette and typography; all assets remain local.
   Reference: https://www.lisc.org/ (reviewed November 17, 2026).
   Georgia and Arial provide local alternatives to the site's licensed fonts. */
:root,
.option-2,
.option-3 {
  --navy: #061a2c;
  --teal: #007899;
  --aqua: #d2ebec;
  --yellow: #f4c946;
  --ink: #061a2c;
  --muted: #536675;
  --green: #007899;
  --light: #d2ebec;
  --line: #d7e1e5;
  --bg: #f5f7f8;
  --orange: #f4c946;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--navy);
}
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.6px;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-weight: 700; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
input:focus-visible, select:focus-visible { outline-offset: 1px; }
input, select { border-color: #a7bbc6; border-radius: 0; }

.topbar {
  height: 101px;
  border-top: 9px solid var(--navy);
  border-bottom: 1px solid var(--line);
  padding: 18px 4%;
}
.brand { color: var(--navy); font-size: 18px; letter-spacing: -.3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 94px; height: 48px; }
.subbrand { text-transform: uppercase; font-size: 10px; letter-spacing: 1.5px; margin-top: 4px; }
.preview-tag { color: var(--navy); background: #fff5d6; border: 0; border-radius: 0; padding: 5px 9px; }
.topbar nav { font-size: 12px; font-weight: 700; }
.topbar nav a, .topbar nav button { color: var(--navy); }
.topbar nav a:hover, .topbar nav button:hover { color: var(--teal); }
.eyebrow { color: var(--teal); font-size: 11px; letter-spacing: 1.8px; font-weight: 700; }

.primary, .button { border-radius: 0; font-weight: 700; letter-spacing: .2px; }
.primary { background: var(--teal); border: 1px solid var(--teal); }
.primary:hover { background: var(--navy); border-color: var(--navy); text-decoration: none; }
.secondary { color: var(--navy); border-color: #b9cbd3; }
.secondary:hover { background: #edf6f7; border-color: var(--teal); }
.danger:hover { background: #ffe8e3; border-color: #b34c42; }
.full { padding: 15px 18px; }
.notice, .identity, .credential { border-radius: 0; }
.identity, .seed { color: var(--navy); background: var(--aqua); }
.credential { background: #fff8e4; border-color: #d8b344; border-left: 4px solid var(--yellow); }

.login-layout {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin: 56px auto;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  min-height: 570px;
}
.login-story { background: var(--aqua); color: var(--navy); padding: 64px 48px 86px; }
.login-story .eyebrow { color: var(--navy); }
.login-story h1 { font-family: Georgia, "Times New Roman", serif; font-size: 53px; font-weight: 400; letter-spacing: -1.7px; line-height: 1.12; }
.login-story p { color: #254556; font-size: 17px; line-height: 1.65; }
.login-story .small { color: #355363; }
.story-rule { width: 52px; height: 4px; background: var(--yellow); margin: 35px 0 26px; }
.login-story:after {
  width: 20px;
  height: 20px;
  background: #22aabd;
  border: 0;
  border-radius: 0;
  bottom: 34px;
  right: 54px;
  box-shadow: 20px 0 var(--yellow), 0 -20px var(--navy);
}
.auth-card { padding: 48px 54px; border-left: 1px solid var(--line); }
.auth-card h2 { font-size: 34px; margin-bottom: 12px; }
.auth-form { margin-top: 28px; }
#qrcode { border-color: #b9cbd3; }
.footer { margin-top: auto; background: var(--navy); color: #d2e4ec; padding: 26px 4%; font-size: 12px; }
.footer:before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--yellow); margin-right: 12px; }

.admin-shell { flex: 1; width: 100%; }
.admin-content { padding-top: 32px; }
.sidebar { background: var(--navy); color: white; border-right: 0; }
.sidebar .eyebrow { color: var(--aqua); }
.sidebar > a { border-radius: 0; color: #e0edf2; }
.sidebar > a:hover { background: #16364b; text-decoration: none; }
.sidebar > a.selected { color: var(--navy); background: var(--aqua); border-left: 4px solid var(--yellow); padding-left: 8px; }
.sidebar-foot span { color: #b8d2de; }
.view-switch a { border-radius: 0; padding: 7px 13px; }
.view-switch a.selected { background: var(--navy); border-color: var(--navy); box-shadow: inset 0 -3px var(--yellow); }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { font-size: 38px; }
.create-panel[open], .table-wrap, .person-card, .split-directory, .report-card, .entity-list { border-radius: 0; }
.stats > div, .option-2 .stats > div, .option-3 .stats > div {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 0;
  padding: 18px 22px;
}
.stats > div:nth-child(2) { border-top-color: var(--teal); }
.stats > div:nth-child(3) { border-top-color: var(--yellow); }
.stats > div:nth-child(4) { border-top-color: #8cc7cc; }
.stats strong { color: var(--navy); font-size: 34px; font-weight: 700; letter-spacing: -1px; }
.directory-toolbar h2 { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
.search input { border-radius: 0; }
.users th { background: #e7f2f3; color: var(--navy); }
.users tbody tr:hover { background: #f7fbfc; }
.badge { border-radius: 2px; }
.badge.neutral { background: #e7f2f5; color: #315a6b; }
.person-card { border-top: 4px solid var(--teal); }
.person-card h3 { font-size: 18px; }
.avatar { color: var(--navy); background: var(--aqua); border-radius: 0; font-family: Georgia, serif; font-size: 23px; }
.option-2 .people-grid { gap: 20px; }
.option-2 .card-top > .small { color: var(--teal); font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.option-3 .stats { border: 0; border-radius: 0; gap: 12px; overflow: visible; }
.person-row { border-radius: 0; border-left: 4px solid transparent; }
.person-row:hover { background: #f0f7f8; text-decoration: none; }
.person-row.selected { background: var(--aqua); border-left-color: var(--yellow); }
.detail-panel { border-top: 4px solid var(--teal); }
.detail-panel .large { border-radius: 0; background: var(--navy); color: white; }
.detail-panel h2 { font-size: 31px; }
.detail-panel h3 { font-size: 15px; }
.recovery summary:hover, .audit summary:hover { color: var(--teal); }

@media (max-width: 1100px) {
  .login-layout { width: calc(100% - 40px); margin: 30px auto; }
  .login-story { padding: 46px 32px 80px; }
  .auth-card { padding: 40px 32px; }
  .login-story h1 { font-size: 45px; }
}
@media (max-width: 720px) {
  .topbar { height: auto; padding: 16px 24px; }
  .brand { font-size: 16px; gap: 16px; }
  .brand img { width: 76px; height: 44px; }
  .subbrand { font-size: 9px; }
  .login-layout { width: calc(100% - 32px); margin: 24px auto; }
  .login-story { padding: 30px 28px; }
  .login-story h1 { font-size: 39px; margin: 16px 0; }
  .login-story p { font-size: 15px; padding-right: 28px; margin-bottom: 8px; }
  .login-story:after { width: 12px; height: 12px; bottom: 30px; right: 28px; box-shadow: 12px 0 var(--yellow), 0 -12px var(--navy); }
  .auth-card { padding: 32px 28px; border-left: 0; border-top: 1px solid var(--line); }
  .auth-card h2 { font-size: 30px; }
  .page-heading h1 { font-size: 33px; }
  .stats > div, .option-2 .stats > div, .option-3 .stats > div { padding: 15px; }
  .option-3 .stats { gap: 10px; }
  .detail-panel { padding: 28px; }
  .footer { padding: 23px 24px; line-height: 1.8; }
}
