/* ==========================================================================
   Campus Lost & Found — Design System v2 (Brainfish Neo-Brutalist)
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --ink: #111111;
  --muted: #64748b;
  --muted-light: #94a3b8;

  /* Brand Palette */
  --lime: #a3e636;
  --lime-hover: #8ec92f;
  --lime-light: #bef264;
  --mint: #afead4;
  --sky-100: #e0f8fb;
  --sky-200: #b6eff6;
  --sky-300: #8ee6f0;
  --ocean-400: #64b0ea;
  --ocean-600: #326bec;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --page: #f8fafc;
  --white: #ffffff;
  --red: #dc2626;
  --red-bg: #fee2e2;

  /* Pastel Chips */
  --c-blue: #dbeafe;
  --c-pink: #fce7f6;
  --c-red: #fee2e2;
  --c-green: #d1fae8;
  --c-lime: #ecfccb;
  --c-violet: #ede9fe;
  --c-orange: #ffedd5;
  --c-yellow: #fefbec;

  /* Shadows (hard offset neo-brutalist) */
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow-md: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --shadow-xl: 8px 8px 0 var(--ink);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Navbar height for content offset */
  --nav-height: 96px;
  --nav-wrapper-height: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--page);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   NAVBAR — Floating Pill with Hamburger Mobile
   ========================================================================== */

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 24px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 1024px) {
  :root { --nav-wrapper-height: 84px; }
}

@media (max-width: 768px) {
  :root { --nav-wrapper-height: 72px; }
}

.home-page {
  --nav-wrapper-height: 88px;
}

.home-page .home-hero {
  margin-top: calc(-1 * var(--nav-wrapper-height));
  padding-top: calc(82px + var(--nav-wrapper-height));
}

.catalog-page {
  --nav-wrapper-height: 88px;
}

.catalog-page .hero {
  margin-top: calc(-1 * var(--nav-wrapper-height));
  padding-top: calc(64px + var(--nav-wrapper-height));
}

body:not(.home-page) main {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-wrapper-height));
  padding-top: var(--nav-wrapper-height);
}

body:not(.home-page) main::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 440px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 440' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238ee6f0'/%3E%3Cstop offset='.46' stop-color='%23b6eff0'/%3E%3Cstop offset='.82' stop-color='%23c9efdf'/%3E%3Cstop offset='1' stop-color='%23f8fafc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 0H1440V340C1310 372 1220 354 1090 338S850 322 720 352 460 380 330 350 110 326 0 360Z'/%3E%3C/svg%3E") top center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1560px;
  margin: 0 auto;
  height: 60px;
  padding: 0 8px 0 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  gap: 12px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.brand__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand:hover .brand__logo-img {
  transform: scale(1.06);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand__name span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Desktop Nav Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  color: #334155;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav__link:hover {
  background: #f1f5f9;
  color: var(--ink);
  border-color: #cbd5e1;
}

.nav__link.is-active {
  background: var(--lime-light);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.nav__dropdown {
  position: relative;
  flex-shrink: 0;
}

.nav__dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
}

.nav__dropdown > summary::-webkit-details-marker { display: none; }
.nav__dropdown[open] > summary svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  width: 220px;
  gap: 3px;
  padding: 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.nav__dropdown-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.nav__dropdown-link:hover,
.nav__dropdown-link.is-active {
  background: var(--lime-light);
  color: var(--ink);
}

.nav__link--admin {
  background: #dcfce7;
  color: #166534;
  border-color: #22c55e;
}

.nav__link--admin.is-active,
.nav__link--admin:hover {
  background: #bbf7d0;
  border-color: var(--ink);
  color: var(--ink);
}

/* Nav Account Actions */
.nav__account {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__user-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hamburger Button (mobile only) */
.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.nav__hamburger:hover {
  background: var(--lime-light);
}

.nav__hamburger svg {
  display: block;
}

/* Mobile Drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-wrapper-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.nav__drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.16);
}

.nav__drawer-panel {
  position: absolute;
  top: 10px;
  right: 16px;
  width: min(300px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--nav-wrapper-height) - 20px);
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 1px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav__drawer.is-open {
  display: block;
}

.nav__drawer-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
  padding: 0 2px 8px;
  border-bottom: 1px solid #eef2f7;
}

.nav__drawer-close strong {
  font-size: 14px;
  font-weight: 800;
}

.nav__drawer-close button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.nav__drawer-close button:hover {
  background: #f1f5f9;
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 6px 9px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  color: #334155;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__drawer-link:hover,
.nav__drawer-link.is-active {
  background: #f3f9e8;
  color: #1f2937;
}

.nav__drawer-link.is-active {
  box-shadow: inset 2px 0 0 var(--lime-hover);
}

.nav__drawer-link--admin {
  background: #f0fdf4;
  color: #166534;
}

.nav__drawer-divider {
  height: 1px;
  background: #eef2f7;
  margin: 4px 0;
}

.nav__drawer-actions {
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nav__drawer-actions .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-width: 1px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 13px;
}

.nav__drawer-actions .btn:hover {
  transform: none;
  box-shadow: none;
}

.nav__drawer-link > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.admin-nav {
  display: flex;
  gap: 6px;
  margin: 0 0 24px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  scrollbar-width: thin;
}

.admin-nav__link {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-nav__link:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.admin-nav__link.is-active {
  background: var(--lime);
  color: var(--ink);
}

.admin-dashboard {
  width: min(1040px, calc(100% - 32px));
  margin: 36px auto 56px;
}

.admin-dashboard__header {
  margin-bottom: 20px;
}

.admin-dashboard__badge {
  display: flex;
  margin-bottom: 8px;
}

.admin-dashboard__header h1 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-dashboard__header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-dashboard__notice {
  margin-bottom: 20px;
  padding: 14px 16px;
}

.admin-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.admin-stat {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.admin-stat__label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-stat__value {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.admin-stat--lost .admin-stat__value { color: #dc2626; }
.admin-stat--found .admin-stat__value { color: #16a34a; }
.admin-stat--pending { background: #fffbeb; }
.admin-stat--pending .admin-stat__value { color: #b45309; }
.admin-stat--returned { background: #f7fee7; }

.admin-dashboard__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.admin-dashboard__panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.admin-dashboard__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-dashboard__panel-header h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.admin-dashboard__panel-header a {
  flex: 0 0 auto;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.admin-dashboard__panel-header a:hover {
  color: #111827;
}

.admin-dashboard__list {
  display: grid;
  gap: 8px;
}

.admin-dashboard__list-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #edf0f4;
  border-radius: 11px;
  background: #fcfcfd;
}

.admin-dashboard__item-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-dashboard__item-copy strong,
.admin-dashboard__item-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard__item-copy strong {
  color: #1f2937;
  font-size: 13px;
}

.admin-dashboard__item-copy span {
  color: #64748b;
  font-size: 11px;
}

.admin-dashboard__item-action {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 9px;
  background: #f3f9e8;
  color: #365314;
  font-size: 12px;
  font-weight: 700;
}

.admin-dashboard__empty {
  margin: 0;
  padding: 16px 12px;
  border-radius: 11px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.campus-directory {
  width: min(760px, calc(100% - 32px));
  min-height: 65vh;
  margin: 42px auto 64px;
}

.campus-directory__header { margin-bottom: 24px; }

.campus-directory__eyebrow {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campus-directory__header h1 {
  margin: 6px 0 5px;
  color: #111827;
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.campus-directory__header p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.campus-directory__list { display: grid; gap: 12px; }

.campus-directory__card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid #dbe4ec;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.045);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.campus-directory__card:hover {
  transform: translateY(-2px);
  border-color: #a8c0cc;
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.08);
}

.campus-directory__mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #d8f1eb;
  border-radius: 12px;
  background: #effaf6;
  color: #16785d;
}

.campus-directory__copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.campus-directory__copy strong,
.campus-directory__copy small { display: block; }

.campus-directory__copy strong {
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.campus-directory__copy small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.campus-directory__arrow {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 18px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.campus-directory__card:hover .campus-directory__arrow {
  transform: translate(2px, -2px);
  color: #16785d;
}

.campus-directory__empty {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: 14px;
}

.campus-management {
  width: min(900px, calc(100% - 32px));
  margin: 34px auto 56px;
}

.campus-management__header { margin-bottom: 20px; }

.campus-management__back {
  display: inline-block;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.campus-management__header h1 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  font-weight: 900;
}

.campus-management__header p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
}

.campus-management__panel {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.campus-management__panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.campus-management__panel h2 span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
}

.campus-management__help {
  margin: 5px 0 16px;
  color: #64748b;
  font-size: 12px;
}

.campus-management__help code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #334155;
}

.campus-management__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.campus-management__field { min-width: 0; }

.campus-management__field label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.campus-management__field .input { min-height: 42px; font-size: 13px; }

.campus-management__slug {
  display: flex;
  align-items: center;
  gap: 5px;
}

.campus-management__slug > span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 12px;
}

.campus-management__slug .input { min-width: 0; }

.campus-management__error {
  display: block;
  margin-top: 4px;
  color: #b91c1c;
  font-size: 11px;
}

.campus-management__notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.campus-management__notice--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.campus-management__notice--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.campus-management__list { margin-top: 12px; }

.campus-management__campus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #eef2f7;
}

.campus-management__campus-info {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 10px;
}

.campus-management__campus-info strong {
  min-width: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.campus-management__campus-info > a {
  grid-column: 1;
  color: #64748b;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.campus-management__status {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.campus-management__status.is-active { background: #dcfce7; color: #166534; }
.campus-management__status.is-inactive { background: #f1f5f9; color: #64748b; }
.campus-management__toggle { padding: 7px 10px; font-size: 11px; }
.campus-management__default { color: #64748b; font-size: 11px; font-weight: 600; }

.nav__link--campus {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page {
  width: min(1040px, calc(100% - 32px));
  margin: 36px auto 56px;
}

.admin-page--narrow {
  max-width: 900px;
}

.admin-page__header {
  margin-bottom: 20px;
}

.admin-page__back {
  display: inline-block;
  margin-bottom: 5px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.admin-page__back:hover { color: var(--ink); }

.admin-page__title {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.admin-page__description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.admin-page__notice {
  margin-bottom: 18px;
  padding: 14px 16px;
}

.admin-page__notice--error { background: #fee2e2; }

.admin-page__pagination { margin-top: 18px; }

.admin-page__empty {
  padding: 28px 18px;
  text-align: center;
}

.admin-page__empty p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.admin-surface {
  min-width: 0;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  padding: 11px 9px;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 9px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-reports .admin-table { min-width: 820px; }
.admin-table--handovers { min-width: 560px; }

.admin-report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.admin-report-actions__reason {
  width: 170px;
  padding: 7px 8px;
  font-size: 12px;
}

.admin-report-actions__reject,
.admin-report-actions__approve {
  padding: 7px 10px;
  font-size: 12px;
}

.admin-report-actions__reject { color: #dc2626; }

.admin-claim-list {
  display: grid;
  gap: 16px;
}

.admin-claim-card { padding: 22px; }

.admin-claim-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f7;
}

.admin-claim-card__number {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-claim-card__title {
  margin: 3px 0;
  color: #111827;
  font-size: 19px;
  font-weight: 800;
}

.admin-claim-card__claimant {
  color: #64748b;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-claim-card__status { flex: 0 0 auto; }

.admin-claim-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-claim-detail {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e8edf2;
  border-radius: 11px;
  background: #f8fafc;
}

.admin-claim-detail--answer {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-claim-detail__label {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.admin-claim-detail p {
  margin: 0 0 5px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-claim-proof {
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-claim-proof--empty { color: #94a3b8; font-weight: 500; }

.admin-claim-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.admin-claim-actions__note {
  flex: 1 1 220px;
  max-width: 400px;
  padding: 9px 11px;
  font-size: 13px;
}

.admin-handover-search { margin-bottom: 18px; }

.admin-handover-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-handover-search__input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-handover-search__button {
  min-height: 44px;
  padding: 10px 18px;
}

.admin-handover-result { margin-bottom: 18px; }

.admin-handover-result__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-handover-result__header h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.admin-handover-result__header span {
  color: #166534;
  font-size: 12px;
}

.admin-handover-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  background: #f8fafc;
}

.admin-handover-details__item {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-handover-details__item span {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-handover-details__item strong {
  color: #111827;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-handover-details__item small {
  color: #64748b;
  font-size: 11px;
}

.admin-handover-notes {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.admin-handover-notes label {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.admin-handover-confirm { width: 100%; min-height: 46px; }

.admin-handover-expired,
.admin-handover-not-found {
  padding: 14px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 700;
}

.admin-handover-not-found {
  margin-bottom: 18px;
  text-align: center;
}

.admin-handover-not-found strong { display: block; margin-bottom: 4px; }
.admin-handover-not-found p { margin: 0; font-weight: 500; }

.admin-handover-history h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s;
  line-height: 1;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: none;
}

.btn:focus-visible {
  outline: 3px solid var(--ocean-600);
  outline-offset: 2px;
}

.btn--primary { background: var(--lime); }
.btn--primary:hover { background: var(--lime-hover); }

.btn--sky { background: var(--sky-200); }
.btn--sky:hover { background: var(--sky-300); }

.btn--danger { background: var(--red-bg); color: var(--red); border-color: var(--red); }
.btn--danger:hover { background: #fecaca; }

.btn--ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn--ghost:hover {
  background: #f1f5f9;
  transform: none;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
}
.btn--outline:hover { background: #f1f5f9; }

.btn--block { width: 100%; }

.btn--sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  line-height: 1.3;
  white-space: nowrap;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card--hover:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

/* Page container: for form & detail pages */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}

.page-wrap--narrow {
  max-width: 640px;
}

.page-wrap--medium {
  max-width: 820px;
}

.page-wrap--wide {
  max-width: 1100px;
}

/* Page header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-header__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.page-header__sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Alert panels */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.alert--success {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}

.alert--error {
  background: var(--red-bg);
  border-color: var(--red);
  color: #991b1b;
}

.alert--info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.alert--warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

/* Panel (info card inside page) */
.panel {
  padding: 20px 24px;
}

.panel--mint {
  background: #f0fdf4;
  border-color: #22c55e;
}

.panel--sky {
  background: #eff6ff;
  border-color: #93c5fd;
}

.panel--amber {
  background: #fffbeb;
  border-color: #fcd34d;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.label--required::after {
  content: ' *';
  color: var(--red);
}

.input {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #d1d5db;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.4;
}

.input:focus {
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

textarea.input {
  resize: vertical;
  min-height: 100px;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

input[type="file"].input {
  padding: 8px 12px;
  cursor: pointer;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   Hero Section — Brainfish Sky-to-Mint with Grid
   ========================================================================== */

.hero {
  position: relative;
  padding: 64px 32px 80px;
  background: linear-gradient(170deg, #8ee6f0 0%, #b6eff6 40%, #afead4 75%, #d1fae8 100%);
  overflow: hidden;
}

/* Dot-grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0 48 C130 14 205 20 330 48 S510 78 660 48 S900 14 1040 46 S1260 78 1440 34 V80 H0 Z'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(17,17,17,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,0.06) 1px, transparent 1px);
  background-position: bottom center, 0 0, 0 0;
  background-size: 100% 58px, 36px 36px, 36px 36px;
  background-repeat: no-repeat, repeat, repeat;
  pointer-events: none;
}

.home-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0 48 C130 14 205 20 330 48 S510 78 660 48 S900 14 1040 46 S1260 78 1440 34 V80 H0 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

/* Animated glow circle */
.hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(190,242,100,0.5) 0%, rgba(175,234,212,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0%   { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(-24px, 24px); opacity: 0.9; }
}

.hero__container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 10;
}

.hero__top {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.hero__copy {
  flex: 1;
  max-width: 660px;
}

.hero__title {
  margin: 16px 0 14px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--ink);
}

.hero__lead {
  font-size: 17px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.65;
}

.hero__stats {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.hero__stat-num {
  font-weight: 800;
  font-size: 17px;
  color: #166534;
}

.hero__stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

/* CTA Card (Lapor Cepat) */
.cta-card {
  width: 300px;
  flex-shrink: 0;
  padding: 24px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cta-card h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.cta-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cta-card__btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 20px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
}

.search-box svg {
  flex-shrink: 0;
  color: var(--muted);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}

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

/* ==========================================================================
   Catalog Layout
   ========================================================================== */

.catalog {
  display: flex;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar .card {
  padding: 20px;
}

.sidebar h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

/* Filter toggle for mobile */
.filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-bottom: 8px;
}

.filter-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-reset {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
}

.link-reset:hover { color: var(--ink); }

/* ==========================================================================
   Results Area — Tabs & Grid
   ========================================================================== */

.results {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #f1f5f9;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
}

.tab {
  flex: 1;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  color: #475569;
  transition: all 0.15s ease;
  white-space: nowrap;
  padding: 0 12px;
}

.tab:hover { color: var(--ink); background: rgba(255,255,255,0.6); }

.tab.is-active {
  background: var(--lime);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Sort bar */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.sort-bar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-link { font-size: 13px; font-weight: 500; }
.sort-link.is-active { font-weight: 800; text-decoration: underline; }

/* Item Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Item Card */
.item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.item__photo {
  position: relative;
  height: 190px;
  background: #f1f5f9;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.item:hover .item__photo img {
  transform: scale(1.03);
}

.item__type {
  position: absolute;
  top: 10px;
  left: 10px;
}

.item__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  flex: 1;
}

.item__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.item__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px;
  gap: 12px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-xl);
  background: var(--white);
}

.empty-state svg {
  color: var(--muted-light);
  margin-bottom: 4px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.empty-state p {
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}

/* ==========================================================================
   Detail Page
   ========================================================================== */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.detail-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1.25;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.detail-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.detail-meta-row svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-desc {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  white-space: pre-line;
}

.detail-action {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}

/* ==========================================================================
   Auth Pages (Login / Register)
   ========================================================================== */

.auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 32px 16px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
}

.auth-card__icon {
  display: inline-flex;
  padding: 12px;
  background: var(--lime-light);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.auth-card__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.auth-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-card__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-card__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.auth-card__footer a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
}

/* ==========================================================================
   Admin Panel
   ========================================================================== */

.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Stat Cards Grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 20px;
}

.stat-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card__value {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-top: 6px;
}

/* Admin panels side by side */
.admin-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-panel__title {
  font-size: 17px;
  font-weight: 800;
}

.admin-panel__see-all {
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

/* Table (admin) */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: var(--white);
  min-width: 600px;
}

.table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}

.table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: none; }

.table tr:hover td { background: #fafafa; }

.table__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.table__sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Admin mini list items */
.mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-md);
  transition: border-color 0.15s;
}

.mini-item:hover { border-color: var(--ink); }

.mini-item__info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.mini-item__info span {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  max-width: 1280px;
  margin: 32px auto 24px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid var(--ink);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   Pagination
   ========================================================================== */

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 0;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-weight: 700;
  font-size: 13px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  color: var(--ink);
  transition: all 0.1s;
}

.pager a:hover {
  background: var(--lime-light);
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.pager span.active {
  background: var(--lime);
  border-color: var(--ink);
}

.pager span.disabled {
  color: var(--muted-light);
  border-color: #e5e7eb;
  box-shadow: none;
  cursor: not-allowed;
}

/* ==========================================================================
   History Page
   ========================================================================== */

.history-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.history-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-info {
  flex: 1;
  min-width: 200px;
}

.history-info h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.history-info h3 a { color: var(--ink); }
.history-info h3 a:hover { text-decoration: underline; }

.history-info__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Handover code block */
.handover-code-box {
  padding: 20px;
  background: #f7fee7;
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  text-align: center;
}

.handover-code-box__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #365314;
  display: block;
  margin-bottom: 8px;
}

.handover-code {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 4px;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  color: var(--ink);
  background: var(--white);
  padding: 10px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  word-break: break-all;
}

/* ==========================================================================
   Profile Page
   ========================================================================== */

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lime-light);
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive — Tablet (1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-wrapper { padding: 12px 16px; }
  .home-page { --nav-wrapper-height: 84px; }
  .catalog-page { --nav-wrapper-height: 84px; }

  .hero { padding: 48px 20px 60px; }
  .catalog-page .hero { padding-top: calc(48px + var(--nav-wrapper-height)); }
  .hero__top { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__title { font-size: 36px; }
  .cta-card { width: 100%; }
  .cta-card__btns { flex-direction: row; }

  .catalog { flex-direction: column; padding: 24px 16px 48px; }
  .sidebar { width: 100%; }

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

  .admin-panels { grid-template-columns: 1fr; }

  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 1500px) {
  .nav__menu,
  .nav__account { display: none; }
  .nav__hamburger { display: flex; }
}

/* ==========================================================================
   Responsive — Mobile (768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root { --nav-height: 72px; }
  .home-page { --nav-wrapper-height: 72px; }
  .catalog-page { --nav-wrapper-height: 72px; }

  .admin-dashboard {
    width: calc(100% - 28px);
    margin: 20px auto 40px;
  }
  .admin-dashboard__header { margin-bottom: 16px; }
  .admin-dashboard__header h1 { font-size: 23px; }
  .admin-dashboard__header p { max-width: 34ch; font-size: 13px; }
  .admin-dashboard .admin-nav {
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 12px;
  }
  .admin-dashboard .admin-nav__link {
    padding: 8px 10px;
    font-size: 12px;
  }
  .admin-dashboard__notice { margin-bottom: 16px; }
  .admin-dashboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 18px;
  }
  .admin-stat {
    padding: 13px;
    border-radius: 12px;
  }
  .admin-stat__label { font-size: 11px; }
  .admin-stat__value { margin-top: 7px; font-size: 25px; }
  .admin-dashboard__panels { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .admin-dashboard__panel { padding: 15px; border-radius: 14px; }
  .admin-dashboard__panel-header { margin-bottom: 11px; }
  .admin-dashboard__panel-header h2 { font-size: 15px; }
  .admin-dashboard__list { gap: 7px; }
  .admin-dashboard__list-item { padding: 9px; }

  .admin-page {
    width: calc(100% - 28px);
    margin: 20px auto 40px;
  }
  .campus-directory { width: calc(100% - 28px); margin: 26px auto 42px; }
  .campus-directory__header { margin-bottom: 18px; }
  .campus-directory__header h1 { font-size: 26px; }
  .campus-directory__header p { max-width: 42ch; font-size: 13px; }
  .campus-directory__card { min-height: 76px; gap: 11px; padding: 13px; }
  .campus-directory__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .campus-directory__copy strong { font-size: 14px; }
  .campus-management { width: calc(100% - 28px); margin: 22px auto 40px; }
  .campus-management__header h1 { font-size: 22px; }
  .campus-management__panel { padding: 15px; }
  .campus-management__form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .campus-management__form > .btn { width: 100%; min-height: 42px; }
  .campus-management__campus { align-items: flex-start; }
  .campus-management__campus-info { grid-template-columns: minmax(0, 1fr); }
  .campus-management__campus-info > a { grid-column: 1; }
  .campus-management__status { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 2px; }
  .campus-management__toggle { white-space: nowrap; }
  .admin-page__header { margin-bottom: 16px; }
  .admin-page__title { font-size: 22px; }
  .admin-page__description { max-width: 42ch; font-size: 13px; }
  .admin-page .admin-nav {
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 16px;
    padding: 4px;
    border-radius: 12px;
  }
  .admin-page .admin-nav__link {
    padding: 8px 10px;
    font-size: 12px;
  }
  .admin-page__notice { margin-bottom: 14px; padding: 12px; }
  .admin-surface { padding: 14px; border-radius: 14px; }
  .admin-reports { padding: 10px; }
  .admin-table { font-size: 12px; }
  .admin-table th { padding: 9px 7px; }
  .admin-table td { padding: 10px 7px; }
  .admin-report-actions { justify-content: flex-start; }
  .admin-claim-list { gap: 12px; }
  .admin-claim-card { padding: 15px; }
  .admin-claim-card__header { flex-direction: column; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; }
  .admin-claim-card__title { font-size: 17px; }
  .admin-claim-details { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 12px; }
  .admin-claim-detail { padding: 11px; }
  .admin-claim-actions { align-items: stretch; }
  .admin-claim-actions__note { flex-basis: 100%; max-width: none; }
  .admin-claim-actions .btn { flex: 1 1 calc(50% - 8px); min-height: 40px; padding: 8px 10px; white-space: normal; }
  .admin-handover-search { padding: 14px; }
  .admin-handover-search__form { align-items: stretch; flex-direction: column; }
  .admin-handover-search__input { width: 100%; min-height: 44px; font-size: 15px; }
  .admin-handover-search__button { width: 100%; }
  .admin-handover-result { padding: 15px; }
  .admin-handover-result__header { align-items: flex-start; }
  .admin-handover-result__header h2 { font-size: 15px; }
  .admin-handover-details { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 11px; }
  .admin-handover-history { padding: 14px 10px; }
  .admin-handover-history h2 { padding: 0 4px; font-size: 15px; }

  /* Navbar */
  .nav-wrapper { padding: 8px 12px; }
  .nav { height: 56px; padding: 7px 10px 7px 12px; border-radius: 18px; }
  .nav__menu { display: none; }   /* Hide desktop menu */
  .nav__account { display: none; } /* Hide desktop account */
  .nav__hamburger { display: flex; }
  .brand__logo-img { width: 40px; height: 40px; }
  .nav__hamburger { width: 38px; height: 38px; }

  /* Hero */
  .hero { padding: 36px 16px 48px; }
  .catalog-page .hero { padding-top: calc(36px + var(--nav-wrapper-height)); }
  .hero__title { font-size: 28px; letter-spacing: -0.5px; }
  .hero__lead { font-size: 15px; }
  .hero::after { width: 220px; height: 220px; }

  /* CTA Card */
  .cta-card { padding: 18px; }
  .cta-card__btns { flex-direction: column; }

  /* Search Box */
  .search-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
  }
  .search-box svg { display: none; }
  .search-box input { font-size: 14px; }
  .search-box .btn { width: 100%; }

  /* Catalog */
  .catalog { padding: 20px 12px 48px; gap: 20px; }

  /* Filter toggle */
  .filter-toggle { display: flex; }
  .filter-body { display: none; }
  .filter-body.is-open { display: flex; }

  /* Tabs */
  .tabs { flex-direction: row; overflow-x: auto; padding: 4px; gap: 4px; border-radius: 14px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { min-height: 36px; font-size: 12.5px; white-space: nowrap; flex-shrink: 0; }

  /* Grid */
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item__photo { height: 150px; }
  .item__body { padding: 14px; gap: 8px; }
  .item__title { font-size: 14px; }

  /* Page wrap */
  .page-wrap { padding: 24px 12px 48px; }
  .page-header { margin-bottom: 20px; }
  .page-header__title { font-size: 22px; }

  /* Auth */
  .auth-wrap { padding: 20px 12px; align-items: flex-start; }
  .auth-card { padding: 24px 20px; }
  .auth-card__title { font-size: 20px; }

  /* History */
  .history-card { flex-direction: column; align-items: flex-start; padding: 16px; }
  .history-thumb { width: 60px; height: 60px; }

  /* Admin table */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card__value { font-size: 28px; }

  /* Handover code */
  .handover-code { font-size: 18px; letter-spacing: 2px; }

  /* Detail */
  .detail-title { font-size: 20px; }

  /* Footer */
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px 16px;
  }

  /* Form grid back to 1 col */
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
}

/* Very small screens */
@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr; }
  .cta-card__btns { flex-direction: column; }
}

/* ==========================================================================
   Long-form Landing Page
   ========================================================================== */

.home-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #245c53;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.15px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    radial-gradient(ellipse at 74% 28%, rgba(255,255,255,.62), transparent 38%),
    linear-gradient(155deg, #a5eaf0 0%, #c1f0ee 43%, #c4efdc 78%, #e0f6dc 100%);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.24' d='M0 0 H1440 V26 C1290 46 1180 8 1030 24 S770 54 620 27 S360 8 220 32 S70 16 0 35 Z'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(17,17,17,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,.045) 1px, transparent 1px);
  background-position: top center, 0 0, 0 0;
  background-size: 100% 52px, 42px 42px, 42px 42px;
  background-repeat: no-repeat, repeat, repeat;
  content: "";
  pointer-events: none;
}

.home-hero__glow {
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.home-hero__glow--one {
  top: -190px;
  left: -90px;
  background: rgba(255,255,255,.26);
}

.home-hero__glow--two {
  right: -120px;
  bottom: -240px;
  background: rgba(163,230,54,.22);
}

.home-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr);
  gap: 64px;
  align-items: center;
}

.home-hero__copy {
  max-width: 590px;
}

.home-hero__copy > .badge {
  width: fit-content;
}

.home-hero__copy h1,
.home-section__heading h2,
.home-process__intro h2,
.home-safety__copy h2,
.home-cta h2 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -1.7px;
  line-height: 1.04;
}

.home-hero__copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 5.2vw, 68px);
}

.home-hero__copy h1 span {
  color: #176f61;
}

.home-hero__lead {
  max-width: 520px;
  color: #344a4e;
  font-size: 17px;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 27px;
}

.home-hero__actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
}

.home-hero__trust {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: #245c53;
  font-size: 12px;
  font-weight: 700;
}

.home-showcase {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.home-showcase__orbit {
  position: absolute;
  width: 350px;
  aspect-ratio: 1;
  border: 1.5px dashed rgba(17,17,17,.22);
  border-radius: 50%;
}

.home-showcase__orbit--two {
  width: 290px;
  border-style: solid;
  opacity: .48;
}

.home-showcase__card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 22px;
  transform: rotate(-2deg);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.home-showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.home-showcase__head h2 {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.home-showcase__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: var(--lime);
  box-shadow: var(--shadow-sm);
}

.home-showcase__items {
  display: grid;
  gap: 9px;
}

.home-showcase__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dfe6e5;
  border-radius: 13px;
  background: #fbfdfc;
  transition: transform .16s ease, border-color .16s ease;
}

.home-showcase__item:hover {
  transform: translateX(3px);
  border-color: var(--ink);
}

.home-showcase__item-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 11px;
  background: #dbeafe;
}

.home-showcase__item-icon.is-found {
  background: #ecfccb;
}

.home-showcase__item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.home-showcase__item-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-showcase__item-copy small {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-showcase__type {
  padding: 4px 8px;
  border: 1px solid #c7db77;
  border-radius: 999px;
  background: #f0f9d6;
  font-size: 10px;
  font-weight: 800;
}

.home-showcase__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d1d9d7;
  color: #176f61;
  font-size: 12px;
  font-weight: 800;
}

.home-showcase__empty {
  padding: 18px 12px;
  border: 1px dashed #aab8b3;
  border-radius: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.home-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.home-float > span:last-child {
  display: grid;
  gap: 1px;
}

.home-float strong {
  font-size: 11px;
}

.home-float small {
  color: var(--muted);
  font-size: 9px;
}

.home-float--safe {
  top: 45px;
  right: -3px;
  transform: rotate(4deg);
}

.home-float--safe > svg {
  color: #17815e;
}

.home-float--match {
  bottom: 43px;
  left: -13px;
  transform: rotate(-4deg);
}

.home-float__check {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
}

.home-spark {
  position: absolute;
  color: #388776;
}

.home-spark--one {
  top: 43px;
  left: 36px;
  font-size: 25px;
}

.home-spark--two {
  right: 12px;
  bottom: 83px;
  color: #8eb531;
  font-size: 30px;
}

.home-proof {
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, #fff 0%, #fff 35%, var(--page) 100%);
}

.home-proof__inner {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-proof__inner > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.home-proof__stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-proof__stats > div {
  display: grid;
  gap: 2px;
}

.home-proof__stats strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.home-proof__stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.home-proof__stats > i {
  width: 1px;
  height: 32px;
  background: #dce5e2;
}

.home-proof__stats .home-proof__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #176f61;
}

.home-proof__secure span {
  max-width: 115px;
  color: #176f61;
  font-size: 11px;
  font-weight: 800;
}

.home-section {
  padding: 92px 0;
}

.home-section--catalog {
  background: var(--page);
}

.home-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.home-section__heading h2,
.home-process__intro h2,
.home-safety__copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 48px);
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.home-category-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 3px 14px;
  margin-bottom: 15px;
  scrollbar-width: thin;
}

.home-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-category:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.home-category svg {
  color: #287969;
}

.home-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-item-grid .item {
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.home-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1.5px dashed #8ca49b;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
}

.home-empty__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--lime);
}

.home-empty > div {
  flex: 1;
}

.home-empty strong {
  font-size: 14px;
}

.home-empty p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.home-empty .btn {
  white-space: nowrap;
}

.home-process {
  position: relative;
  overflow: hidden;
  padding: 91px 0 100px;
  background:
    linear-gradient(to bottom, transparent 72%, #183d7d 100%),
    linear-gradient(165deg, #b6eff6 0%, #afead4 55%, #a1e5c7 100%);
}

.home-process::before {
  position: absolute;
  inset: 0 0 auto;
  height: 240px;
  background: linear-gradient(to bottom, var(--page), rgba(248, 250, 252, 0));
  content: "";
  pointer-events: none;
}

.home-process > .home-shell {
  position: relative;
  z-index: 1;
}

.home-process::after {
  position: absolute;
  right: -130px;
  bottom: -260px;
  width: 480px;
  aspect-ratio: 1;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.08), 0 0 0 58px rgba(255,255,255,.07);
  content: "";
}

.home-process__intro {
  max-width: 620px;
  margin-bottom: 38px;
}

.home-process__intro > p {
  max-width: 500px;
  margin-top: 16px;
  color: #3e5b55;
  font-size: 14px;
  line-height: 1.7;
}

.home-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-step {
  position: relative;
  min-height: 270px;
  padding: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-step:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.home-step--mint { background: #f6fffb; }
.home-step--lime { background: #effacb; }
.home-step--blue { background: #e7f2ff; }

.home-step__number {
  position: absolute;
  top: 17px;
  right: 19px;
  color: rgba(17,17,17,.25);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-step__icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.home-step h3 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.home-step p {
  min-height: 63px;
  margin-top: 9px;
  color: #455750;
  font-size: 12px;
  line-height: 1.65;
}

.home-step > a,
.home-step__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #185f53;
  font-size: 11px;
  font-weight: 900;
}

.home-step__note {
  color: #526647;
}

.home-safety {
  position: relative;
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(to bottom, transparent 72%, #f8f6df 100%),
    radial-gradient(circle at 17% 50%, rgba(100,176,234,.45), transparent 35%),
    linear-gradient(130deg, #183d7d 0%, #326bec 52%, #204fbc 100%);
}

.home-safety::before {
  position: absolute;
  inset: 0 0 auto;
  height: 240px;
  background: linear-gradient(to bottom, #183d7d, rgba(24,61,125,0));
  content: "";
  pointer-events: none;
}

.home-safety__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.home-safety__visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.home-safety__ring {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}

.home-safety__ring--outer {
  width: 280px;
  box-shadow: 0 0 0 25px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025);
}

.home-safety__ring--inner {
  width: 205px;
  border-style: dashed;
}

.home-safety__shield {
  position: relative;
  z-index: 1;
  width: 126px;
  height: 144px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 94% 16%, 89% 66%, 75% 85%, 50% 100%, 25% 85%, 11% 66%, 6% 16%);
  color: var(--ink);
  background: var(--lime);
  filter: drop-shadow(7px 7px 0 rgba(17,17,17,.65));
}

.home-safety__tag {
  position: absolute;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.home-safety__tag--top {
  top: 48px;
  left: 3px;
  transform: rotate(-6deg);
}

.home-safety__tag--bottom {
  right: 0;
  bottom: 55px;
  transform: rotate(5deg);
}

.home-safety__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.home-safety__dot--one {
  top: 41px;
  right: 61px;
}

.home-safety__dot--two {
  bottom: 51px;
  left: 56px;
  width: 6px;
  height: 6px;
  background: #b6eff6;
}

.home-safety__copy .home-eyebrow {
  color: #c8ee89;
}

.home-safety__copy h2 {
  color: var(--white);
}

.home-safety__copy h2 span {
  color: #c8ee89;
}

.home-safety__copy > p {
  max-width: 540px;
  margin-top: 17px;
  color: #e2ecff;
  font-size: 14px;
  line-height: 1.75;
}

.home-safety__copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 23px 0 27px;
  list-style: none;
}

.home-safety__copy li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f6f9ff;
  font-size: 12px;
  font-weight: 700;
}

.home-safety__copy li svg {
  flex-shrink: 0;
  color: #c8ee89;
}

.home-safety__copy .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}

.home-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    linear-gradient(to bottom, transparent 70%, #eef4f5 100%),
    linear-gradient(160deg, #f8f6df 0%, #f5e8d1 53%, #f8d7ce 100%);
  text-align: center;
}

.home-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.home-cta h2 {
  margin-top: 13px;
  font-size: clamp(42px, 5vw, 62px);
}

.home-cta h2 span {
  color: #277566;
}

.home-cta__inner > p {
  max-width: 510px;
  margin: 15px auto 0;
  color: #55554a;
  font-size: 14px;
  line-height: 1.7;
}

.home-page .footer--site {
  margin-top: 0;
  border-top: 0;
}

.home-cta .home-hero__actions {
  justify-content: center;
}

.home-cta__decoration {
  position: absolute;
  color: rgba(39,117,102,.28);
}

.home-cta__decoration--one {
  top: 27px;
  left: 12%;
  font-size: 52px;
}

.home-cta__decoration--two {
  right: 13%;
  bottom: 27px;
  font-size: 66px;
}

@media (max-width: 1024px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 28px;
  }

  .home-showcase {
    min-height: 390px;
  }

  .home-showcase__orbit--one { width: 300px; }
  .home-showcase__orbit--two { width: 245px; }
  .home-safety__layout { gap: 36px; }
}

@media (max-width: 768px) {
  .home-shell { width: min(100% - 32px, 560px); }

  .home-hero {
    padding: 54px 0 62px;
  }

  .home-page .home-hero {
    padding-top: calc(54px + var(--nav-wrapper-height));
  }

  .home-hero::after {
    height: 42px;
  }

  .home-hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero__copy h1 {
    margin-top: 18px;
    font-size: clamp(40px, 10vw, 58px);
    letter-spacing: -1.3px;
  }

  .home-hero__lead {
    font-size: 15px;
  }

  .home-showcase {
    min-height: 365px;
  }

  .home-showcase__card {
    width: min(100% - 22px, 430px);
    padding: 18px;
  }

  .home-float--safe { right: 0; }
  .home-float--match { left: 0; }
  .home-spark--one { left: 15px; }
  .home-spark--two { right: 8px; }
  .home-proof__inner {
    min-height: auto;
    display: block;
    padding-top: 21px;
    padding-bottom: 21px;
  }

  .home-proof__inner > p {
    margin-bottom: 16px;
  }

  .home-proof__stats {
    justify-content: space-between;
    gap: 12px;
  }

  .home-proof__stats > i { height: 28px; }
  .home-proof__stats strong { font-size: 19px; }
  .home-proof__stats span { font-size: 9px; }

  .home-section,
  .home-safety {
    padding: 66px 0;
  }

  .home-section__heading {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }

  .home-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .home-empty {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .home-empty > div { min-width: calc(100% - 70px); }
  .home-empty .btn { margin-left: 64px; }

  .home-process {
    padding: 66px 0 74px;
  }

  .home-process__intro { margin-bottom: 27px; }

  .home-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-step {
    min-height: 0;
    padding: 20px;
  }

  .home-step__icon { margin-bottom: 16px; }
  .home-step p { min-height: 0; }

  .home-safety__layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-safety__visual {
    min-height: 270px;
    order: 2;
  }

  .home-safety__ring--outer { width: 225px; }
  .home-safety__ring--inner { width: 165px; }
  .home-safety__tag--top { left: 7%; }
  .home-safety__tag--bottom { right: 5%; }

  .home-cta { padding: 70px 0 76px; }
  .home-cta__decoration--one { left: 4%; font-size: 36px; }
  .home-cta__decoration--two { right: 4%; font-size: 45px; }
}

@media (max-width: 480px) {
  .admin-page { width: calc(100% - 24px); margin-top: 16px; }
  .admin-page__title { font-size: 20px; }
  .admin-page__description { font-size: 12px; }
  .admin-page .admin-nav__link { padding: 8px 9px; font-size: 11px; }
  .admin-surface { padding: 12px; }
  .admin-claim-card { padding: 13px; }
  .admin-claim-actions { flex-direction: column; }
  .admin-claim-actions .btn { width: 100%; flex-basis: auto; }
  .admin-handover-result__header > div:first-child { flex: 0 0 auto; }

  .admin-dashboard {
    width: calc(100% - 24px);
    margin-top: 16px;
  }
  .admin-dashboard__header h1 { font-size: 21px; }
  .admin-dashboard__stats { gap: 8px; }
  .admin-stat { padding: 11px; }
  .admin-stat__value { font-size: 23px; }
  .admin-dashboard__panel { padding: 13px; }
  .admin-dashboard__item-action { padding: 7px 8px; }

  .home-shell { width: calc(100% - 28px); }
  .home-hero { padding-top: 42px; }
  .home-page .home-hero {
    padding-top: calc(42px + var(--nav-wrapper-height));
  }
  .home-hero__actions { display: grid; grid-template-columns: 1fr; }
  .home-hero__actions .btn { width: 100%; }
  .home-showcase { min-height: 335px; }
  .home-showcase__orbit--one { width: 255px; }
  .home-showcase__orbit--two { width: 210px; }
  .home-showcase__card { padding: 14px; border-radius: 18px; }
  .home-showcase__item { gap: 7px; padding: 8px; }
  .home-showcase__item-icon { width: 32px; height: 32px; }
  .home-showcase__type { padding: 4px 6px; font-size: 9px; }
  .home-float { padding: 8px 10px; }
  .home-float--safe { top: 17px; }
  .home-float--match { bottom: 18px; }

  .home-proof__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
  }

  .home-proof__stats > i { display: none; }
  .home-proof__secure { grid-column: 1 / -1; }

  .home-item-grid { grid-template-columns: 1fr; }
  .home-item-grid .item__photo { height: 190px; }
  .home-empty { gap: 12px; padding: 17px; }
  .home-empty .btn { width: 100%; margin-left: 0; }
  .home-section__heading h2,
  .home-process__intro h2,
  .home-safety__copy h2 { font-size: 36px; }
  .home-cta h2 { font-size: 42px; }
  .home-cta .home-hero__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-showcase__item,
  .home-category,
  .home-step { transition: none; }
}

/* ==========================================================================
   Public Information Pages
   ========================================================================== */

.info-page {
  min-height: 65vh;
  padding: 48px 0 76px;
  background: transparent;
}

.info-page__shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.info-page__header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.info-page__title {
  margin-top: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.08;
}

.info-page__intro {
  max-width: 650px;
  margin: 14px auto 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.info-page__grid,
.info-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.info-card {
  min-width: 0;
  padding: 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.info-card + .info-card { margin-top: 16px; }
.info-page__grid .info-card + .info-card,
.info-steps .info-card + .info-card { margin-top: 0; }
.info-card--plain { margin-bottom: 18px; }
.info-card--mint { background: #e7f8f2; }
.info-card--lime { background: #f0f9d6; }
.info-card--blue { background: var(--ocean-600); color: var(--white); }
.info-card--blue .info-contact-link { color: var(--white); }
.info-card--blue .info-contact-link:hover { color: #e0f2fe; }

.info-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.info-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.25;
}

.info-card p,
.info-card li {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.info-card p + p { margin-top: 12px; }
.info-card--blue p { color: #eff6ff; }

.info-list {
  display: grid;
  gap: 10px;
  padding-left: 21px;
}

.info-list li::marker { color: #326bec; }

.info-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.info-link,
.info-contact-link {
  color: #245caa;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-link:hover,
.info-contact-link:hover { color: #173f7e; }

.info-steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.info-steps__number {
  display: inline-block;
  margin-bottom: 12px;
  color: #326bec;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.info-steps .info-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
}

.info-faq details {
  padding: 17px 0;
  border-top: 1px solid #dbe1e8;
}

.info-faq details:first-of-type { margin-top: 10px; }

.info-faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.info-faq details p { margin-top: 10px; }

.info-notice {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-notice--warning { background: #fff4d6; }
.info-notice strong { display: block; margin-bottom: 6px; font-size: 14px; }
.info-notice p { color: #475569; font-size: 13px; line-height: 1.7; }

.info-contact-link {
  display: inline-block;
  margin-top: 9px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.info-contact-hours {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.info-page__updated {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Institutional footer */
.footer--site {
  display: block;
  width: 100%;
  max-width: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  background: #eef4f5;
  text-align: left;
}

.footer__top {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin: 0 auto;
  padding: 40px 0 32px;
}

.footer__identity { max-width: 390px; }
.footer__brand { font-size: 19px; font-weight: 900; letter-spacing: -.5px; }
.footer__identity p { margin-top: 10px; color: #475569; font-size: 13px; line-height: 1.7; }

.footer__column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__column h2 { margin-bottom: 2px; font-size: 13px; font-weight: 900; }

.footer__column a,
.footer__bottom a {
  width: fit-content;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.footer__column a:hover,
.footer__bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  padding: 16px 0 20px;
  border-top: 1px solid #cbd5e1;
}

.footer__bottom p { color: #64748b; font-size: 12px; }

@media (max-width: 768px) {
  .info-page { padding: 34px 0 58px; }
  .info-page__shell { width: min(100% - 32px, 600px); }
  .info-page__header { margin-bottom: 24px; text-align: left; }
  .info-page__title { font-size: clamp(30px, 8vw, 40px); }
  .info-page__intro { margin-left: 0; font-size: 15px; }
  .info-page__grid,
  .info-steps { grid-template-columns: 1fr; }
  .info-card { padding: 20px; }
  .footer__top {
    width: min(100% - 32px, 600px);
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 32px 0 26px;
  }
  .footer__identity { grid-column: 1 / -1; }
  .footer__bottom {
    width: min(100% - 32px, 600px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .info-page__grid--contact { grid-template-columns: 1fr; }
  .info-page__actions { flex-direction: column; }
  .info-page__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__identity { grid-column: auto; }
}
