/* Student interface stylesheet. Customize independently from public/css/admin/admin.css. */

:root {
  --navy: #092e59;
  --navy-700: #104578;
  --navy-500: #24639b;
  --purple: #1766b1;
  --purple-2: #0b4c8c;
  --lav: #e8f2fc;
  --lav-2: #cfe2f5;
  --blue: #d4a936;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f4f8fc;
  --surface: #ffffff;
  --line: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Dark theme tokens - either the person's explicit choice
   (data-theme="dark", set by the toggle) or the OS default when
   they haven't chosen ("dark" and no data-theme="light" override). */
:root[data-theme="dark"] {
  --ink: #e5e7eb;
  --muted: #94a3b8;
  --bg: #000000;
  --surface: #000000;
  --line: #294159;
  --lav: #1a3858;
  --lav-2: #24496d;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e5e7eb;
    --muted: #94a3b8;
    --bg: #091522;
    --surface: #102238;
    --line: #294159;
    --lav: #1a3858;
    --lav-2: #24496d;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #fff;
  border-radius: 9px;
  font-weight: 700;
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
}
.main-nav a.btn {
  color: #fff;
}
.main-nav a.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.04s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-link {
  background: none;
  color: var(--purple);
  padding: 0;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

/* Pills */
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lav);
  color: var(--purple-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-sm {
  font-size: 10px;
  padding: 5px 10px;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  font-weight: 800;
}
.accent-purple {
  color: var(--purple-2);
}
.accent-blue {
  color: var(--blue);
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 34em;
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

/* Hero art */
.hero-art {
  position: relative;
  min-height: 380px;
}
.hero-card-blue {
  position: absolute;
  inset: 20px 20px 40px 20px;
  background: linear-gradient(135deg, #bae6fd, #a5b4fc);
  border-radius: 28px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.hero-chip strong {
  font-size: 14px;
}
.hero-chip span {
  color: var(--muted);
}
.hero-chip-1 {
  top: 10px;
  left: -10px;
}
.hero-chip-2 {
  bottom: 10px;
  right: -10px;
}

/* Sections */
.section {
  padding: 48px 0;
}
.page-title {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 24px;
  gap: 16px;
  flex-wrap: wrap;
}

/* Search bar */
.search-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.2fr;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.search-intro {
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-intro strong {
  display: block;
}
.search-intro span {
  color: var(--muted);
  font-size: 13px;
}
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lav);
  color: var(--purple-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-form {
  display: flex;
  gap: 10px;
}
.search-form input,
.search-form select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  min-width: 0;
}
.search-form input {
  flex: 1;
}

/* Filter pills */
.filter-pills {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pill-filter {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.pill-filter.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.count-note {
  margin-left: auto;
  font-size: 13px;
}

/* Cards */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.item-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--ink);
}
.item-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: transform 0.12s;
}
.item-thumb {
  height: 140px;
}
.item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.item-thumb-lost {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}
.item-thumb-found {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.item-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.item-body h3 {
  margin: 0;
  font-size: 16px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Tags */
.tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.tag-unclaimed {
  background: var(--lav);
  color: var(--purple-2);
}
.tag-claimed {
  background: #fef9c3;
  color: #92400e;
}
.tag-returned {
  background: #dcfce7;
  color: #166534;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.step-card h3 {
  margin: 14px 0 8px;
}
.step-card p {
  color: var(--muted);
  margin: 0;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lav);
  color: var(--purple-2);
  font-weight: 800;
}

/* Auth card */
.auth-card {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
  margin-top: 12px;
}
.auth-card label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 14px 0 6px;
}
.auth-card input,
.auth-card select,
.auth-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}
.auth-card button {
  margin-top: 20px;
}
.auth-card h2 {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.auth-card input:disabled {
  background: var(--bg);
  color: var(--muted);
  cursor: not-allowed;
}
.auth-alt {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}
.radio-row {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  gap: 20px;
}

/* Settings page */
.settings-card-spaced {
  margin-top: 20px;
}
.settings-hint {
  margin: 14px 0 0;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.switch-label strong {
  display: block;
  font-size: 14px;
}
.switch-label span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.switch-track {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.15s ease;
  pointer-events: none;
}
.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
  pointer-events: none;
}
.switch input:checked + .switch-track {
  background: var(--purple);
}
.switch input:checked + .switch-track + .switch-thumb {
  transform: translateX(20px);
}
.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.radio-row legend {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}

/* Misc */
.errors {
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 10px;
}
.flash {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.flash p {
  margin: 0;
}
.flash-error {
  background: #fef2f2;
  color: #991b1b;
}
.flash-success {
  background: #ecfdf5;
  color: #065f46;
}
.empty {
  color: var(--muted);
}
.inline-form {
  display: inline;
}
.status-form {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-top: 20px;
}
.detail-img {
  max-width: 100%;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 60px;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-copy {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.foot-links {
  display: flex;
  gap: 20px;
}
.foot-links a {
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   Report an item page (/items/new)
   ============================================================ */

.report-section {
  padding-top: 40px;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

/* Left: the form card */
.report-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 28px 28px;
}

/* Each numbered section inside the form */
.report-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.report-step:last-of-type {
  border-bottom: 0;
  padding-bottom: 8px;
}

.report-step-title {
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.report-step-title .muted {
  font-weight: 400;
  font-size: 14px;
}
.report-step-body .muted {
  margin: 0 0 14px;
}

/* Reuse the round number from how-it-works */
.report-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lav);
  color: var(--purple-2);
  font-weight: 800;
  font-size: 14px;
}

/* Fields */
.report-card label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 14px 0 6px;
}
.report-card input,
.report-card select,
.report-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
.report-card input:focus,
.report-card select:focus,
.report-card textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.report-card textarea {
  resize: vertical;
  min-height: 120px;
}

.photo-upload-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.report-card input[type="file"].photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.report-card label.photo-upload {
  display: inline-flex;
  margin: 0;
}
.photo-input:focus-visible + .photo-upload {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.photo-filename {
  overflow-wrap: anywhere;
}

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

/* Segmented "Lost / Found" control */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.segmented-option {
  position: relative;
  cursor: pointer;
}
.segmented-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segmented-face {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition:
    border-color 0.12s,
    background 0.12s,
    box-shadow 0.12s;
}
.segmented-face strong {
  font-size: 14px;
}
.segmented-face em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.segmented-option:hover .segmented-face {
  border-color: var(--lav-2);
}
.segmented-option input:checked + .segmented-face {
  border-color: var(--purple);
  background: var(--lav);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.segmented-option input:checked + .segmented-face strong {
  color: var(--purple-2);
}

/* Actions row */
.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

/* Right column — preview + tips */
.report-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 88px;
}
.aside-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
}
.aside-card .pill {
  margin-bottom: 12px;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.preview-card .item-thumb {
  height: 96px;
}
.preview-card .item-body {
  padding: 12px 14px 14px;
}
.preview-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.small {
  font-size: 12px;
}

.tips {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tips li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--ink);
}
.tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-2);
  font-weight: 700;
}
.tips strong {
  color: var(--ink);
}

.help-card p {
  margin: 0;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
  .report-aside {
    position: static;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .segmented {
    grid-template-columns: 1fr;
  }
  .report-card {
    padding: 8px 18px 20px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .search-bar {
    grid-template-columns: 1fr;
  }
  .search-form {
    flex-wrap: wrap;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}
/* public/css/style.css - add near the .empty rule */
.empty {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.empty p {
  margin: 0 0 16px;
}

/* ============================================================
   MODAL — used by "Claim this item"
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  animation: fadeIn 0.15s ease-out;
}
.modal-backdrop[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popIn {
  from {
    transform: translateY(6px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.modal {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 32px 28px;
  animation: popIn 0.18s ease-out;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--lav);
  color: var(--purple-2);
  border-color: var(--lav-2);
}

.modal-title {
  font-size: 28px;
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
}
.modal-sub {
  margin: 0 0 20px;
}

.claim-form label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 16px 0 6px;
}
.claim-form input,
.claim-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.claim-form input:focus,
.claim-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.claim-form button {
  margin-top: 22px;
}

.claim-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--lav);
  color: var(--purple-2);
  font-size: 14px;
  font-weight: 600;
}

/* Claim pending tag */
.tag-claim_pending {
  background: #e0e7ff;
  color: #3730a3;
}

/* Detail meta grid */
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-meta dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-meta dd {
  margin: 0;
  font-weight: 600;
}

/* Dark mode overrides - most of the site now flips via the --bg,
   --surface, --ink, --muted and --line tokens above. What's left
   here is contrast tuning for accents that are readable in light
   mode but too dim against a dark page (--purple-2 on --lav, --navy
   on the near-black page background), plus the claim-status chip. */
:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .tag-unclaimed,
:root[data-theme="dark"] .icon-circle,
:root[data-theme="dark"] .step-num,
:root[data-theme="dark"] .report-step .step-num,
:root[data-theme="dark"]
  .segmented-option
  input:checked
  + .segmented-face
  strong,
:root[data-theme="dark"] .accent-purple {
  color: #c7d2fe;
}
:root[data-theme="dark"] .accent-blue {
  color: #7dd3fc;
}
:root[data-theme="dark"] .pill-filter.active {
  border-color: #3b4368;
}
:root[data-theme="dark"] .claim-banner {
  background: #1a3858;
  color: #c7d2fe;
}
:root[data-theme="dark"] .tag-claim_pending {
  background: #24496d;
  color: #c7d2fe;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill,
  :root:not([data-theme="light"]) .tag-unclaimed,
  :root:not([data-theme="light"]) .icon-circle,
  :root:not([data-theme="light"]) .step-num,
  :root:not([data-theme="light"]) .report-step .step-num,
  :root:not([data-theme="light"])
    .segmented-option
    input:checked
    + .segmented-face
    strong,
  :root:not([data-theme="light"]) .accent-purple {
    color: #c7d2fe;
  }
  :root:not([data-theme="light"]) .accent-blue {
    color: #7dd3fc;
  }
  :root:not([data-theme="light"]) .pill-filter.active {
    border-color: #3b4368;
  }
  :root:not([data-theme="light"]) .claim-banner {
    background: #1a3858;
    color: #c7d2fe;
  }
  :root:not([data-theme="light"]) .tag-claim_pending {
    background: #24496d;
    color: #c7d2fe;
  }
}

@media (max-width: 600px) {
  .modal {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }
  .modal-title {
    font-size: 24px;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
}

/* CSPC campus identity */
body {
  background: var(--bg);
}
.campus-ribbon {
  background: #082b52;
  color: #e7f1fb;
  font-size: 11px;
}
.campus-ribbon-inner {
  max-width: 1480px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.campus-nav-row {
  max-width: 1480px;
  min-height: 82px;
  height: auto;
}
.campus-brand {
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  color: #0a315d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0;
}
.brand-caption {
  color: #55718d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.campus-nav {
  gap: 16px;
}
.campus-nav > a:not(.btn) {
  color: #294563;
  font-size: 13px;
}
.campus-nav > a:not(.btn):hover {
  color: var(--purple-2);
}
.campus-nav .btn {
  border-radius: 6px;
}
.nav-user-label {
  border-left: 1px solid var(--line);
  color: #294563;
  font-size: 12px;
  font-weight: 700;
  padding-left: 14px;
  white-space: nowrap;
}
.campus-nav .theme-toggle-btn {
  padding: 9px 11px;
  font-size: 12px;
}

.campus-page-hero {
  min-height: 218px;
  display: flex;
  align-items: center;
  padding: 40px 0;
  color: #fff;
  background-color: #082b52;
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 33, 65, 0.94),
      rgba(8, 43, 82, 0.76) 58%,
      rgba(8, 43, 82, 0.56)
    ),
    url("/images/cspcCampus2.jpg");
  background-size: cover;
  background-position: center 48%;
}
.campus-page-hero .container {
  width: 100%;
}
.campus-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f0ce6e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.campus-page-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6bd4f;
}
.campus-page-hero h1 {
  max-width: 760px;
  margin: 12px 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.14;
}
.campus-page-hero p {
  max-width: 680px;
  margin: 0;
  color: #e0ebf8;
  font-size: 14px;
}
.campus-interior-section {
  padding: 34px 0 46px;
}
.campus-interior-section .page-title {
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
.campus-interior-section h2 {
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
}
.campus-interior-section p {
  line-height: 1.75;
}
.campus-copy-panel,
.campus-help-content {
  color: var(--ink);
}
.campus-copy-panel {
  padding: 4px 0;
}
.campus-copy-panel p {
  max-width: 690px;
}
.campus-help-content h2 {
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}
.campus-help-content h2:first-child {
  padding-top: 0;
}
.campus-step-card,
.campus-settings-card,
.report-card,
.aside-card,
.step-card {
  border: 1px solid #dce7f1;
  border-top: 3px solid #d4a936;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(16, 54, 91, 0.07);
}
.campus-step-card {
  padding: 24px 22px;
}
.campus-step-card .step-num {
  border-radius: 6px;
  background: #e8f2fc;
  color: #0b4c8c;
}
.campus-settings-card {
  padding: 24px;
}
.campus-settings-card h2 {
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
}
.campus-interior-section .search-bar {
  border: 1px solid #dce7f1;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(16, 54, 91, 0.06);
}
.campus-interior-section .filter-pills {
  margin-top: 20px;
}
.campus-interior-section .pill-filter {
  border-radius: 5px;
}
.campus-interior-section .pill-filter.active {
  background: #0b4c8c;
  border-color: #0b4c8c;
}
.campus-interior-section .item-card {
  border: 1px solid #dce7f1;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(16, 54, 91, 0.06);
}
.campus-interior-section .item-card:hover {
  box-shadow: 0 12px 26px rgba(16, 54, 91, 0.13);
}
.campus-interior-section .detail-img {
  border-radius: 7px;
  border: 1px solid #dce7f1;
}
.campus-interior-section .btn {
  border-radius: 6px;
}
.campus-interior-section .btn-primary,
.campus-interior-section .btn-dark {
  background: #0b4c8c;
}
.campus-interior-section input:not([type="radio"]):not([type="checkbox"]),
.campus-interior-section select,
.campus-interior-section textarea {
  border-color: #cbd9e7;
  border-radius: 6px;
}
.campus-interior-section input:focus,
.campus-interior-section select:focus,
.campus-interior-section textarea:focus {
  outline: 2px solid rgba(23, 102, 177, 0.2);
  border-color: #1766b1;
}
.campus-interior-section .report-actions {
  border-color: var(--line);
}
.campus-interior-section .aside-card .pill {
  color: #0b4c8c;
}
.campus-interior-section .claim-banner {
  border-left: 3px solid #d4a936;
  border-radius: 5px;
}
.campus-interior-section .empty {
  border: 1px solid #dce7f1;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(16, 54, 91, 0.06);
}
.campus-interior-section .errors {
  border-left: 3px solid #bd3f3f;
  border-radius: 5px;
}
.campus-interior-section .detail-meta {
  border-color: var(--line);
}
.campus-interior-section .detail-meta dt {
  color: #54718c;
}
.campus-interior-section .page-title {
  letter-spacing: 0;
}
.campus-interior-section .auth-card + .auth-card {
  margin-top: 20px;
}
.campus-interior-section .switch input:checked + .switch-track {
  background: #1766b1;
}
.campus-interior-section .switch input:focus-visible + .switch-track {
  outline-color: #1766b1;
}

.campus-hero {
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #082b52;
  color: #fff;
}
.campus-hero-photo {
  position: absolute;
  inset: 0;
  background: url("/images/cspcCampus2.jpg") center 47% / cover no-repeat;
}
.campus-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 33, 65, 0.9) 0%,
      rgba(8, 43, 82, 0.78) 48%,
      rgba(8, 43, 82, 0.22) 100%
    ),
    linear-gradient(0deg, rgba(5, 31, 59, 0.28), transparent 60%);
}
.campus-hero-content {
  width: 100%;
  max-width: 1480px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.48fr);
  gap: 50px;
  align-items: end;
  padding-top: 72px;
  padding-bottom: 68px;
}
.campus-hero-copy {
  max-width: 670px;
}
.campus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.campus-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6bd4f;
  box-shadow: 0 0 0 4px rgba(230, 189, 79, 0.18);
}

.campus-greeting {
  color: #e6bd4f;
  font-size: 13px;
  font-weight: 700;
  margin: 24px 0 3px;
}
/*.campus-hero h1 { max-width: 680px; margin: 22px 0 14px; color: white; font-family: Georgia, "Times New Roman", serif; font-size: 54px; font-weight: 600; line-height: 1.08; }
*/
.campus-hero-changing-text {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.campus-hero-changing-text.is-changing {
  opacity: 0;
  transform: translateY(12px);
}
.campus-greeting + h1 {
  margin-top: 4px;
}
.campus-hero-sub {
  max-width: 550px;
  margin: 0;
  color: #e0ebf8;
  font-size: 16px;
}
.campus-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn-campus-gold,
.btn-campus-outline {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}
.btn-campus-gold {
  gap: 12px;
  color: #142c46;
  background: #e6bd4f;
}
.btn-campus-gold:hover {
  color: #142c46;
  background: #f0cb65;
  text-decoration: none;
}
.btn-campus-outline {
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: white;
  background: rgba(4, 25, 49, 0.18);
}
.btn-campus-outline:hover {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
.campus-hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 25, 49, 0.42);
  backdrop-filter: blur(8px);
}
.campus-hero-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}
.campus-hero-note strong,
.campus-hero-note span {
  display: block;
}
.campus-hero-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}
.campus-hero-note span {
  color: #d4e2f1;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 4px;
}
.campus-content {
  max-width: 1480px;
}
.campus-section {
  padding-top: 26px;
  padding-bottom: 30px;
}
.campus-content .search-bar {
  grid-template-columns: minmax(235px, 0.8fr) 2fr;
  border: 1px solid #dfe8f1;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 54, 91, 0.07);
  margin-bottom: 0;
}
.campus-content .search-intro strong {
  color: #153b62;
}
.campus-content .search-form input,
.campus-content .search-form select {
  border-radius: 6px;
}
.campus-content .search-form .btn {
  border-radius: 6px;
}
.campus-content h2 {
  color: #153b62;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  margin: 8px 0 4px;
}
.campus-content .section-head {
  align-items: end;
  margin: 14px 0 20px;
}
.campus-content .section-head .muted {
  margin: 0;
}
.campus-content .item-card {
  border: 1px solid #e0e8f0;
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(19, 49, 77, 0.06);
}
.campus-content .item-card:hover {
  box-shadow: 0 10px 22px rgba(19, 49, 77, 0.12);
}
.campus-content .item-thumb {
  height: 155px;
}
.site-footer {
  margin-top: 38px;
}
.site-footer .brand-logo {
  width: 38px;
  height: 38px;
}
.site-footer .brand-name {
  font-size: 18px;
}
.site-footer .brand-caption {
  font-size: 8px;
}

@media (max-width: 1000px) {
  .campus-nav {
    gap: 10px;
  }
  .nav-user-label {
    display: none;
  }
  .campus-nav .theme-toggle-btn {
    display: none;
  }
}
@media (max-width: 760px) {
  .campus-ribbon-inner {
    justify-content: center;
  }
  .campus-ribbon-inner span:last-child {
    display: none;
  }
  .campus-nav-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 14px;
  }
  .campus-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
  }
  .campus-nav > a:not(.btn) {
    font-size: 12px;
  }
  .campus-hero {
    min-height: 430px;
  }
  .campus-hero-content {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 54px;
    padding-bottom: 40px;
  }
  .campus-hero h1 {
    font-size: 42px;
  }
  .campus-hero-note {
    max-width: 360px;
  }
  .campus-content .search-bar {
    grid-template-columns: 1fr;
  }
  .campus-content .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .campus-content .search-form input {
    grid-column: 1 / -1;
  }
  .campus-content .section-head {
    align-items: flex-start;
  }
  .campus-page-hero {
    min-height: 196px;
    padding: 34px 0;
  }
  .campus-page-hero h1 {
    font-size: 32px;
  }
  .campus-interior-section {
    padding-top: 26px;
  }
  .campus-interior-section .report-grid {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 19px;
  }
  .campus-nav {
    gap: 8px 12px;
  }
  .campus-nav .btn {
    padding: 8px 11px;
    font-size: 12px;
  }
  .campus-hero h1 {
    font-size: 36px;
  }
  .campus-hero-sub {
    font-size: 14px;
  }
  .campus-hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }
  .campus-hero-actions .btn {
    justify-content: center;
  }
  .campus-content .search-form {
    grid-template-columns: 1fr;
  }
  .campus-content .search-form input {
    grid-column: auto;
  }
  .campus-page-hero {
    min-height: 185px;
    padding: 30px 0;
  }
  .campus-page-hero h1 {
    font-size: 28px;
  }
  .campus-page-hero p {
    font-size: 13px;
  }
  .campus-settings-card {
    padding: 19px;
  }
}

:root[data-theme="dark"] .campus-page-hero,
:root[data-theme="dark"] .campus-hero {
  background-color: #071a2d;
}
:root[data-theme="dark"] .campus-brand .brand-name,
:root[data-theme="dark"] .campus-nav > a:not(.btn),
:root[data-theme="dark"] .campus-nav .nav-user-label,
:root[data-theme="dark"] .campus-content .search-intro strong,
:root[data-theme="dark"] .campus-content h2 {
  color: #e7f1fb;
}
:root[data-theme="dark"] .campus-brand .brand-caption {
  color: #bbcede;
}
:root[data-theme="dark"] .campus-interior-section .campus-step-card,
:root[data-theme="dark"] .campus-interior-section .campus-settings-card,
:root[data-theme="dark"] .campus-interior-section .report-card,
:root[data-theme="dark"] .campus-interior-section .aside-card,
:root[data-theme="dark"] .campus-interior-section .step-card,
:root[data-theme="dark"] .campus-interior-section .item-card,
:root[data-theme="dark"] .campus-interior-section .search-bar,
:root[data-theme="dark"] .campus-interior-section .empty {
  border-color: var(--line);
  border-top-color: #d4a936;
}
:root[data-theme="dark"] .campus-interior-section .campus-step-card .step-num {
  background: #1a3858;
  color: #c8e1f8;
}
:root[data-theme="dark"] .campus-interior-section .page-title,
:root[data-theme="dark"] .campus-interior-section h2,
:root[data-theme="dark"] .campus-interior-section .campus-settings-card h2 {
  color: #d7eafa;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .campus-brand .brand-name,
  :root:not([data-theme="light"]) .campus-nav > a:not(.btn),
  :root:not([data-theme="light"]) .campus-nav .nav-user-label,
  :root:not([data-theme="light"]) .campus-content .search-intro strong,
  :root:not([data-theme="light"]) .campus-content h2 {
    color: #e7f1fb;
  }
  :root:not([data-theme="light"]) .campus-brand .brand-caption {
    color: #bbcede;
  }
  :root:not([data-theme="light"]) .campus-interior-section .campus-step-card,
  :root:not([data-theme="light"])
    .campus-interior-section
    .campus-settings-card,
  :root:not([data-theme="light"]) .campus-interior-section .report-card,
  :root:not([data-theme="light"]) .campus-interior-section .aside-card,
  :root:not([data-theme="light"]) .campus-interior-section .step-card,
  :root:not([data-theme="light"]) .campus-interior-section .item-card,
  :root:not([data-theme="light"]) .campus-interior-section .search-bar,
  :root:not([data-theme="light"]) .campus-interior-section .empty {
    border-color: var(--line);
    border-top-color: #d4a936;
  }
  :root:not([data-theme="light"])
    .campus-interior-section
    .campus-step-card
    .step-num {
    background: #1a3858;
    color: #c8e1f8;
  }
  :root:not([data-theme="light"]) .campus-interior-section .page-title,
  :root:not([data-theme="light"]) .campus-interior-section h2,
  :root:not([data-theme="light"])
    .campus-interior-section
    .campus-settings-card
    h2 {
    color: #d7eafa;
  }
}

.nav-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #294563;
}
.nav-profile-link:hover {
  text-decoration: none;
}
.nav-profile-link:focus-visible {
  outline: 2px solid #1766b1;
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-profile-link .nav-user-label {
  border: 0;
  padding-left: 0;
}
.nav-avatar,
.profile-avatar-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0b4c8c;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  object-fit: cover;
}
.nav-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.profile-page > .container {
  max-width: 960px;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}
.profile-avatar-large {
  width: 72px;
  height: 72px;
  font-size: 28px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.16);
}
.profile-identity-copy {
  min-width: 0;
  flex: 1;
}
.profile-overline {
  color: #5e7891;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.profile-identity-copy h2,
.profile-section-heading h2 {
  margin: 4px 0;
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}
.profile-identity-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.profile-identity-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-identity-actions .btn,
.profile-section-heading .btn {
  border-radius: 6px;
}
.account-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #216347;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.account-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9b69;
  box-shadow: 0 0 0 3px rgba(47, 155, 105, 0.14);
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.profile-stats > div {
  padding: 21px 18px 20px 0;
}
.profile-stats > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.profile-stats strong,
.profile-stats span {
  display: block;
}
.profile-stats strong {
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}
.profile-stats span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.profile-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.profile-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-section-heading h2 {
  margin-bottom: 0;
}
.profile-section-heading > a:not(.btn) {
  color: #0b4c8c;
  font-size: 13px;
  font-weight: 700;
}
.profile-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.profile-settings-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.profile-settings-card h3 {
  margin: 0 0 14px;
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}
.profile-settings-card form {
  display: grid;
  gap: 9px;
}
.profile-settings-card label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.profile-settings-card input:not([type="file"]) {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.profile-settings-card input[type="file"] {
  max-width: 100%;
  color: var(--ink);
  font: inherit;
}
.profile-settings-card .muted {
  margin: 0 0 6px;
}
.profile-settings-card .btn {
  justify-self: start;
  border-radius: 6px;
}
.profile-remove-picture-form {
  margin-top: 12px;
}
.profile-remove-picture-form .btn {
  color: #9b2626;
  border-color: #e7b7b7;
}
.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.profile-details > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile-details > div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.profile-details dt {
  color: var(--muted);
  font-size: 12px;
}
.profile-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.profile-status-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.profile-reports {
  border-bottom: 0;
}
.profile-report-list {
  border-top: 1px solid var(--line);
}
.profile-report-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.profile-report-row:hover {
  background: rgba(23, 102, 177, 0.04);
  text-decoration: none;
}
.profile-report-type {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e8f2fc;
  color: #0b4c8c;
  font-size: 11px;
  font-weight: 800;
}
.profile-report-type-found {
  background: #fff5d8;
  color: #775712;
}
.profile-report-main {
  min-width: 0;
}
.profile-report-main strong,
.profile-report-main span {
  display: block;
}
.profile-report-main strong {
  overflow: hidden;
  color: #12395f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-report-main span,
.profile-report-date {
  color: var(--muted);
  font-size: 11px;
}
.profile-report-date {
  white-space: nowrap;
}
.profile-empty {
  padding: 24px;
  border: 1px dashed #b9cbdc;
  border-radius: 7px;
  text-align: center;
}
.profile-empty strong {
  color: #12395f;
}
.profile-empty p {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.profile-empty a {
  font-size: 13px;
  font-weight: 700;
}

/* Staff report management */
.admin-page .container {
  max-width: 1480px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  margin-bottom: 24px;
}
.admin-stat {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
}
.admin-stat + .admin-stat {
  border-left: 1px solid var(--line);
}
.admin-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.admin-stat strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}
.admin-filters {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr) minmax(140px, 0.45fr) minmax(160px, 0.5fr)
    auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.admin-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.admin-filters input,
.admin-filters select,
.admin-status-form select {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.admin-filter-actions,
.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 12px;
}
.admin-list-heading h2 {
  margin: 0;
  font-size: 21px;
}
.admin-list-heading p {
  margin: 0;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.admin-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table th {
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-report-title,
.admin-report-meta {
  display: block;
}
.admin-report-title {
  color: var(--ink);
  font-weight: 700;
}
.admin-report-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.admin-status-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-status-form select {
  width: 132px;
  font-size: 12px;
}
.admin-actions .btn {
  padding: 8px 11px;
  font-size: 12px;
}
.admin-delete-btn {
  border: 1px solid #e7b7b7;
  background: #fff7f7;
  color: #9b2626;
}
.admin-delete-btn:hover {
  background: #feecec;
}
.admin-empty {
  margin-top: 16px;
  border: 1px solid var(--line);
}
.admin-empty h3 {
  margin: 0 0 8px;
}
.admin-empty p {
  margin-bottom: 16px;
}
.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;
}

@media (max-width: 900px) {
  .admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stat:nth-child(odd) {
    border-left: 0;
  }
  .admin-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .admin-filters {
    grid-template-columns: 1fr;
  }
  .admin-filter-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .profile-identity {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .profile-identity-actions {
    width: 100%;
    justify-content: space-between;
    padding-left: 92px;
  }
}
@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
  .profile-stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .profile-details {
    grid-template-columns: 1fr;
  }
  .profile-details > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .profile-report-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .profile-report-row .tag {
    grid-column: 2;
    grid-row: 2;
  }
  .profile-report-date {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .profile-section-heading {
    align-items: flex-start;
  }
  .profile-section-heading h2 {
    font-size: 22px;
  }
  .profile-identity-actions {
    padding-left: 0;
  }
}

:root[data-theme="dark"] .profile-identity-copy h2,
:root[data-theme="dark"] .profile-section-heading h2,
:root[data-theme="dark"] .profile-stats strong,
:root[data-theme="dark"] .profile-report-main strong,
:root[data-theme="dark"] .profile-empty strong {
  color: #d7eafa;
}
:root[data-theme="dark"] .profile-settings-card h3 {
  color: #d7eafa;
}
:root[data-theme="dark"] .account-status {
  color: #8dd7ae;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .profile-identity-copy h2,
  :root:not([data-theme="light"]) .profile-section-heading h2,
  :root:not([data-theme="light"]) .profile-stats strong,
  :root:not([data-theme="light"]) .profile-report-main strong,
  :root:not([data-theme="light"]) .profile-empty strong {
    color: #d7eafa;
  }
  :root:not([data-theme="light"]) .profile-settings-card h3 {
    color: #d7eafa;
  }
  :root:not([data-theme="light"]) .account-status {
    color: #8dd7ae;
  }
}

/* Admin workspace */
.admin-shell {
  --admin-accent: #d8b45a;
  --admin-ink: #182230;
  --admin-muted: #7c8795;
  min-height: 100vh;
  background: #f3f5f8;
  color: var(--admin-ink);
}
.admin-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: 258px;
  flex-direction: column;
  padding: 25px 17px 18px;
  background: #151d29;
  color: #e8edf3;
}
.admin-brand {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  margin: 0 7px 43px;
  color: #fff;
}
.admin-brand:hover {
  text-decoration: none;
}
.admin-brand .brand-logo {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.admin-brand > span {
  display: grid;
  gap: 2px;
}
.admin-brand strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.admin-brand small {
  color: #9aa6b5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.admin-nav-label {
  margin: 0 11px 11px;
  color: #8290a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.admin-nav {
  display: grid;
  gap: 5px;
}
.admin-nav-link {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 7px;
  color: #b6c0cc;
  font-size: 12px;
  font-weight: 600;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.admin-nav-link:hover,
.admin-nav-link.active {
  background: #263241;
  color: #fff;
  text-decoration: none;
}
.admin-nav-link.active {
  box-shadow: inset 3px 0 var(--admin-accent);
}
.admin-nav-icon {
  display: inline-flex;
  width: 22px;
  justify-content: center;
  color: #aab5c2;
  font-size: 18px;
  line-height: 1;
}
.admin-nav-link.active .admin-nav-icon {
  color: var(--admin-accent);
}
.admin-sidebar-bottom {
  margin-top: auto;
}
.admin-sidebar-bottom > .admin-nav-label {
  margin-top: 20px;
}
.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 13px 9px;
  border-top: 1px solid #303a48;
  color: inherit;
  text-decoration: none;
}
.admin-user-card:hover {
  background: #202c39;
  color: #fff;
  text-decoration: none;
}
.admin-user-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  object-fit: cover;
  background: #334557;
  color: #f5d887;
  font-size: 12px;
  font-weight: 800;
}
.admin-user-info {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.admin-user-info strong {
  overflow: hidden;
  color: #f1f4f7;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-info small {
  color: #96a2b0;
  font-size: 10px;
}
.admin-sidebar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}
.admin-sidebar-actions form {
  margin: 0;
}
.admin-theme-toggle,
.admin-logout {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #abb6c2;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.admin-theme-toggle:hover,
.admin-logout:hover {
  background: #263241;
  color: #fff;
}
.admin-logout {
  width: 34px;
  justify-content: center;
  font-size: 16px;
}
.admin-main {
  min-height: 100vh;
  margin-left: 258px;
}
.admin-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #e6e9ed;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b95a2;
  font-size: 11px;
}
.admin-breadcrumb strong {
  color: #273343;
  font-weight: 700;
}
.admin-topbar-link {
  color: #596675;
  font-size: 11px;
  font-weight: 600;
}
.admin-topbar-link:hover {
  color: #182230;
  text-decoration: none;
}
.admin-topbar-link span {
  margin-left: 4px;
  color: #a57e21;
}
.admin-menu-toggle {
  display: none;
}
.admin-main > .flash {
  max-width: 1480px;
  margin: 16px auto 0;
  border-radius: 7px;
}
.admin-page-header {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  border-bottom: 1px solid #e8ebef;
  background: #fff;
}
.admin-eyebrow {
  color: #9b7826;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.admin-page-header h1 {
  margin: 7px 0 5px;
  color: #192433;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 750;
  letter-spacing: -0.045em;
}
.admin-page-header p {
  max-width: 610px;
  margin: 0;
  color: #758190;
  font-size: 12px;
}
.admin-create-btn {
  flex: 0 0 auto;
  border-radius: 6px;
  background: #172231;
  color: #fff;
  font-size: 11px;
}
.admin-create-btn:hover {
  background: #26384d;
  color: #fff;
}
.admin-content {
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: 30px 48px 52px;
}
.admin-stats {
  gap: 1px;
  border: 0;
  border-radius: 9px;
  background: #e8ebef;
  box-shadow: 0 2px 7px rgba(22, 33, 47, 0.035);
  overflow: hidden;
}
.admin-stat {
  position: relative;
  min-height: 112px;
  gap: 1px;
  padding: 20px 22px;
  background: #fff;
}
.admin-stat + .admin-stat {
  border: 0;
}
.admin-stat > span:not(.admin-stat-icon) {
  color: #7b8693;
  font-size: 10px;
  font-weight: 600;
}
.admin-stat strong {
  color: #1c2836;
  font-size: 27px;
  letter-spacing: -0.04em;
}
.admin-stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}
.admin-stat-icon-all {
  background: #eef0f4;
  color: #596879;
}
.admin-stat-icon-lost {
  background: #fbf0e9;
  color: #b56e43;
}
.admin-stat-icon-found {
  background: #eaf2ed;
  color: #518367;
}
.admin-stat-icon-returned {
  background: #f8f2df;
  color: #a8832e;
}
.admin-filters {
  margin-top: 24px;
  border-color: #e8ebef;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(22, 33, 47, 0.025);
}
.admin-filters label {
  color: #657180;
  font-size: 10px;
}
.admin-filters input,
.admin-filters select,
.admin-status-form select {
  border-color: #e1e5e9;
  border-radius: 6px;
  font-size: 12px;
}
.admin-filters input:focus,
.admin-filters select:focus,
.admin-status-form select:focus {
  outline: 2px solid rgba(216, 180, 90, 0.35);
  border-color: #c6a44e;
}
.admin-filter-actions .btn {
  min-height: 40px;
  border-radius: 6px;
  font-size: 11px;
}
.admin-filter-actions .btn-primary {
  background: #172231;
}
.admin-list-heading {
  margin-top: 31px;
}
.admin-list-heading h2 {
  color: #202b39;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.admin-list-heading p {
  color: #87919d;
  font-size: 10px;
}
.admin-table-wrap {
  border-color: #e8ebef;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(22, 33, 47, 0.025);
}
.admin-table {
  min-width: 900px;
}
.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-color: #edf0f3;
}
.admin-table th {
  background: #fafbfc;
  color: #87919d;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.admin-table td {
  color: #556170;
  font-size: 11px;
}
.admin-table tbody tr:hover {
  background: #fcfcfd;
}
.admin-report-title {
  color: #263343;
  font-size: 11px;
}
.admin-report-meta {
  color: #8b95a1;
  font-size: 10px;
}
.admin-status-form select {
  width: 122px;
  min-height: 34px;
  font-size: 10px;
}
.admin-actions .btn {
  border-radius: 5px;
  font-size: 10px;
}
.admin-delete-btn {
  border-color: #efd6d2;
  background: #fff8f7;
  color: #a3483d;
}
.admin-delete-btn:hover {
  background: #fcece9;
}
.admin-empty {
  border-color: #e8ebef;
  border-radius: 8px;
  background: #fff;
}

:root[data-theme="dark"] .admin-shell,
:root:not([data-theme="light"]) .admin-shell {
  background: #101924;
}
:root[data-theme="dark"] .admin-topbar,
:root[data-theme="dark"] .admin-page-header,
:root[data-theme="dark"] .admin-stat,
:root[data-theme="dark"] .admin-filters,
:root[data-theme="dark"] .admin-table-wrap,
:root[data-theme="dark"] .admin-empty,
:root:not([data-theme="light"]) .admin-topbar,
:root:not([data-theme="light"]) .admin-page-header,
:root:not([data-theme="light"]) .admin-stat,
:root:not([data-theme="light"]) .admin-filters,
:root:not([data-theme="light"]) .admin-table-wrap,
:root:not([data-theme="light"]) .admin-empty {
  background-color: #172330;
}
:root[data-theme="dark"] .admin-topbar,
:root[data-theme="dark"] .admin-page-header,
:root[data-theme="dark"] .admin-table th,
:root:not([data-theme="light"]) .admin-topbar,
:root:not([data-theme="light"]) .admin-page-header,
:root:not([data-theme="light"]) .admin-table th {
  border-color: #2a3948;
}
:root[data-theme="dark"] .admin-page-header h1,
:root[data-theme="dark"] .admin-breadcrumb strong,
:root[data-theme="dark"] .admin-list-heading h2,
:root[data-theme="dark"] .admin-stat strong,
:root[data-theme="dark"] .admin-report-title,
:root:not([data-theme="light"]) .admin-page-header h1,
:root:not([data-theme="light"]) .admin-breadcrumb strong,
:root:not([data-theme="light"]) .admin-list-heading h2,
:root:not([data-theme="light"]) .admin-stat strong,
:root:not([data-theme="light"]) .admin-report-title {
  color: #e1e8ef;
}
:root[data-theme="dark"] .admin-stat,
:root:not([data-theme="light"]) .admin-stat {
  border-color: #2a3948;
}
:root[data-theme="dark"] .admin-stats,
:root[data-theme="dark"] .admin-table th,
:root:not([data-theme="light"]) .admin-stats,
:root:not([data-theme="light"]) .admin-table th {
  background-color: #202e3c;
}
:root[data-theme="dark"] .admin-table td,
:root[data-theme="dark"] .admin-table th,
:root:not([data-theme="light"]) .admin-table td,
:root:not([data-theme="light"]) .admin-table th {
  border-color: #2a3948;
}
:root[data-theme="dark"] .admin-table tbody tr:hover,
:root:not([data-theme="light"]) .admin-table tbody tr:hover {
  background: #1b2937;
}

@media (max-width: 900px) {
  .admin-topbar {
    padding-right: 25px;
    padding-left: 25px;
  }
  .admin-page-header {
    padding-right: 30px;
    padding-left: 30px;
  }
  .admin-content {
    padding-right: 30px;
    padding-left: 30px;
  }
  .admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-filter-actions {
    align-self: end;
  }
}
@media (max-width: 680px) {
  .admin-sidebar {
    width: min(280px, calc(100vw - 52px));
    box-shadow: 14px 0 40px rgba(10, 18, 28, 0.22);
    transform: translateX(-110%);
    transition: transform 0.22s ease;
  }
  .admin-sidebar.is-open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-topbar {
    height: 58px;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 17px;
  }
  .admin-menu-toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e8ec;
    border-radius: 6px;
    background: #fff;
    color: #263343;
    cursor: pointer;
  }
  .admin-breadcrumb {
    gap: 7px;
  }
  .admin-topbar-link {
    margin-left: auto;
    font-size: 10px;
  }
  .admin-page-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 27px 21px;
  }
  .admin-page-header p {
    max-width: 450px;
  }
  .admin-content {
    padding: 20px 16px 38px;
  }
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stat:nth-child(odd) {
    border-left: 0;
  }
  .admin-stat:nth-child(n + 3) {
    border-top: 1px solid #e8ebef;
  }
  .admin-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .admin-filter-actions {
    flex-wrap: wrap;
  }
  .admin-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.receipt-section {
  padding-top: 34px;
}
.claim-receipt {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid #d4a936;
  border-radius: 7px;
  background: var(--surface);
}
.receipt-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.receipt-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.receipt-heading h2 {
  margin: 4px 0 0;
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}
.receipt-meta {
  grid-template-columns: 1fr 1fr;
  margin: 22px 0;
}
.receipt-meta dd {
  overflow-wrap: anywhere;
}
.receipt-note {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid #1766b1;
  background: rgba(23, 102, 177, 0.06);
  color: var(--ink);
  font-size: 13px;
}
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
:root[data-theme="dark"] .receipt-heading h2 {
  color: #d7eafa;
}
@media (max-width: 600px) {
  .claim-receipt {
    padding: 20px 16px;
  }
  .receipt-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .receipt-meta {
    grid-template-columns: 1fr;
  }
}
@media print {
  body {
    background: #fff;
    color: #111;
  }
  .site-header,
  .site-footer,
  .receipt-hero,
  .receipt-actions {
    display: none !important;
  }
  .receipt-section {
    padding: 0;
  }
  .receipt-section .container {
    width: 100%;
    max-width: none;
  }
  .claim-receipt {
    border: 1px solid #999;
    border-top: 4px solid #777;
    box-shadow: none;
  }
  .receipt-heading h2,
  .receipt-meta dd,
  .receipt-note {
    color: #111;
  }
}

/* =========================================================
   LOST & FOUND BOARD — ITEM CARDS
   ========================================================= */
.lost-found-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.lost-found-card {
  position: relative;
  min-width: 0;
  border: 1px solid #dce7f1;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(16, 54, 91, 0.07);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.lost-found-card:hover {
  transform: translateY(-4px);
  border-color: #c7d8e8;
  box-shadow: 0 14px 30px rgba(16, 54, 91, 0.13);
}

.lost-found-card:focus-visible {
  outline: 3px solid rgba(23, 102, 177, 0.22);
  outline-offset: 3px;
}

.item-visual {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid #dce7f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f7fafc;
}

.item-thumb-lost {
  background: linear-gradient(135deg, #edf4fb, #dceaf7);
}

.item-thumb-found {
  background: linear-gradient(135deg, #f5f8f3, #e5eee2);
}

.item-no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6c8298;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.item-no-photo-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 76, 140, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #0b4c8c;
  font-size: 24px;
}

.item-type-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.item-type-badge.is-lost {
  background: #8a3d3d;
}
.item-type-badge.is-found {
  background: #356b4b;
}

.lost-found-body {
  padding: 17px 18px 16px;
  gap: 9px;
}

.item-card-topline {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.item-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-unclaimed {
  background: #edf4fb;
  color: #0b4c8c;
}

.status-claim_pending {
  background: #fff5d9;
  color: #85651a;
}

.status-claimed {
  background: #f1edf8;
  color: #624b86;
}

.status-returned {
  background: #eaf5ed;
  color: #2e6845;
}

.lost-found-body h3 {
  margin: 1px 0 2px;
  color: #12395f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-height: 20px;
  color: #58718a;
  font-size: 12px;
  line-height: 1.5;
}

.item-meta-icon {
  flex: 0 0 auto;
  color: #0b4c8c;
  font-size: 15px;
  line-height: 1.15;
}

.item-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 11px;
  margin-top: 2px;
  border-top: 1px solid #e6edf4;
  color: #7a8da0;
  font-size: 10px;
  line-height: 1.4;
}

.item-reference {
  flex: 0 0 auto;
  color: #54718c;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.item-view-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
  color: #0b4c8c;
  font-size: 12px;
  font-weight: 800;
}

.item-view-link span {
  transition: transform 0.18s ease;
}

.lost-found-card:hover .item-view-link span {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .lost-found-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

  .item-visual {
    height: 175px;
  }
}

@media (max-width: 420px) {
  .lost-found-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   STUDENT EXPERIENCE REFRESH — CSPC blue / sky-blue palette
   Scoped to student pages so admin, login and signup stay intact.
   ========================================================== */
.student-area {
  --student-blue: #0759a6;
  --student-blue-dark: #073b70;
  --student-sky: #eaf5ff;
  --student-sky-strong: #cfe8ff;
  --student-border: #d8e6f2;
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0;
}
.student-area body {
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}
.student-area .campus-ribbon {
  background: var(--student-blue-dark);
  color: #fff;
}
.student-area .site-header {
  box-shadow: 0 3px 16px rgba(7, 59, 112, 0.06);
}
.student-area .campus-nav-row {
  min-height: 76px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}
.student-area .brand-logo {
  object-fit: contain;
}
.student-area .brand-name {
  color: var(--student-blue-dark);
  letter-spacing: -0.035em;
}
.student-area .brand-caption {
  color: #59748c;
}
.student-area .main-nav {
  gap: 10px;
  flex-wrap: wrap;
}
.student-area .main-nav > a:not(.btn) {
  padding: 9px 10px;
  border-radius: 9px;
  font-weight: 650;
  color: #24445f;
}
.student-area .main-nav > a:not(.btn):hover,
.student-area .main-nav > a[aria-current="page"] {
  background: var(--student-sky);
  color: var(--student-blue);
  text-decoration: none;
}
.student-area .btn {
  border-radius: 10px;
  min-height: 40px;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.student-area .btn-primary,
.student-area .btn-dark {
  background: var(--student-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(7, 89, 166, 0.12);
}
.student-area .btn-primary:hover,
.student-area .btn-dark:hover {
  background: var(--student-blue-dark);
  box-shadow: 0 7px 16px rgba(7, 59, 112, 0.16);
}
.student-area .btn-ghost {
  border-color: var(--student-border);
}
.student-area .campus-page-hero {
  background: linear-gradient(135deg, #f0f8ff 0%, #e0f1ff 100%);
  border-bottom: 1px solid var(--student-border);
}
.student-area .campus-page-kicker {
  color: var(--student-blue);
  letter-spacing: 0.12em;
}
.student-area .campus-page-hero h1 {
  color: #092f53;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.student-area .campus-page-hero p {
  max-width: 680px;
  color: #4f6b83;
  line-height: 1.7;
}
.student-area .campus-interior-section {
  padding-top: 30px;
  padding-bottom: 54px;
}
.student-area .search-bar {
  border: 1px solid var(--student-border);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(17, 65, 105, 0.05);
  gap: 20px;
}
.student-area .search-intro {
  gap: 13px;
}
.student-area .icon-circle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--student-blue);
  background: var(--student-sky);
  font-size: 23px;
}
.student-area
  input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.student-area select,
.student-area textarea {
  border-radius: 10px;
  border-color: #cfdeeb;
}
.student-area input:focus-visible,
.student-area select:focus-visible,
.student-area textarea:focus-visible,
.student-area button:focus-visible,
.student-area a:focus-visible {
  outline: 3px solid #80c5ff;
  outline-offset: 2px;
}
.student-area .filter-pills {
  align-items: center;
  gap: 9px;
  margin: 18px 0 22px;
}
.student-area .pill-filter {
  border: 1px solid var(--student-border);
  background: #fff;
  color: #3e5a72;
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.student-area .pill-filter:hover,
.student-area .pill-filter.active {
  background: var(--student-blue);
  color: #fff;
  border-color: var(--student-blue);
  text-decoration: none;
}
.student-area .lost-found-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 20px;
}
.student-area .lost-found-card {
  overflow: hidden;
  border: 1px solid var(--student-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(19, 58, 92, 0.045);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.student-area .lost-found-card:hover {
  transform: translateY(-4px);
  border-color: #a8d2f4;
  box-shadow: 0 12px 28px rgba(19, 58, 92, 0.11);
  text-decoration: none;
}
.student-area .lost-found-card .item-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 16px;
  background: #f2f8fd;
  border-bottom: 1px solid #e5eff7;
}
.student-area .lost-found-card .item-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}
.student-area .item-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 7px rgba(8, 37, 64, 0.08);
}
.student-area .item-type-badge.is-lost {
  background: #e4f2ff;
  color: #07559a;
}
.student-area .item-type-badge.is-found {
  background: #e8f6ff;
  color: #07559a;
}
.student-area .lost-found-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 17px 17px 16px;
}
.student-area .lost-found-body h3 {
  margin: 0;
  color: #102f49;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.student-area .item-card-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.student-area .item-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.student-area .status-unclaimed {
  background: #edf6ff;
  color: #155b91;
}
.student-area .status-claim_pending {
  background: #fff5d9;
  color: #805b08;
}
.student-area .status-claimed,
.student-area .status-returned {
  background: #e7f6ed;
  color: #17633a;
}
.student-area .item-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #5b7184;
  font-size: 12px;
  line-height: 1.5;
}
.student-area .item-meta-icon {
  color: var(--student-blue);
  font-size: 16px;
  line-height: 1.1;
}
.student-area .item-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #e8eff5;
  color: #6d8294;
  font-size: 10px;
}
.student-area .item-reference {
  font-weight: 750;
  color: #54718a;
}
.student-area .item-view-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  color: var(--student-blue);
  font-size: 12px;
  font-weight: 800;
}
.student-area .item-no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6e8aa2;
  font-size: 12px;
}
.student-area .item-no-photo-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #d2e5f5;
  border-radius: 16px;
  background: #fff;
  color: var(--student-blue);
  font-size: 25px;
  box-shadow: 0 5px 12px rgba(18, 77, 126, 0.06);
}
.student-area .empty {
  border: 1px dashed #b8d2e8;
  border-radius: 16px;
  padding: 42px 20px;
  background: #f8fcff;
  text-align: center;
}
.student-area .site-footer {
  border-top: 1px solid var(--student-border);
  background: #f5faff;
}
.student-area .report-card,
.student-area .aside-card {
  border-radius: 16px;
  border-color: var(--student-border);
  box-shadow: 0 5px 18px rgba(17, 65, 105, 0.045);
}
.student-area .report-step {
  padding-bottom: 22px;
}
.student-area .step-num {
  background: var(--student-sky);
  color: var(--student-blue);
  border: 1px solid var(--student-border);
}
.student-area .detail-card {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(14, 61, 101, 0.07);
}
.student-area .detail-claim-button,
.student-area .detail-found-button {
  border-radius: 11px;
  background: var(--student-blue);
}
.student-area .detail-found-button {
  background: #0b679d;
}
.student-area .related-found-card {
  border-radius: 12px;
}
.student-area .related-found-card:hover {
  background: #f1f8ff;
  border-color: #b8d9f3;
  text-decoration: none;
}
.student-area .site-footer a {
  color: var(--student-blue);
}
@media (max-width: 820px) {
  .student-area .campus-nav-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .student-area .main-nav {
    width: 100%;
    gap: 6px;
  }
  .student-area .main-nav > a:not(.btn) {
    padding: 8px;
  }
  .student-area .lost-found-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
@media (max-width: 520px) {
  .student-area .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .student-area .campus-ribbon-inner {
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 10px;
  }
  .student-area .lost-found-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .student-area .lost-found-card .item-visual {
    height: 215px;
  }
  .student-area .search-form {
    grid-template-columns: 1fr;
  }
}

/* Home, information pages, profile/settings and the linked-found flow */
.student-area .campus-hero {
  background: #eaf5ff;
  color: #fff;
  min-height: 440px;
}
.student-area .campus-hero-shade {
  display: none;
} /* Keep the campus photo free of a gradient overlay. */
.student-area .campus-hero-copy {
  padding: 26px;
  border-radius: 16px;
  background: rgb(15, 13, 112);

  box-shadow: 0 14px 35px rgba(254, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.student-area .campus-eyebrow {
  color: #d9edff;
}
.student-area .campus-live-dot {
  background: #8bd0ff;
  box-shadow: 0 0 0 4px rgba(139, 208, 255, 0.18);
}
.student-area .campus-greeting {
  color: #b7e1ff;
}
.student-area .campus-hero-changing-text {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.student-area .campus-hero-sub {
  color: #ffffff;
  line-height: 1.7;
}
.student-area .btn-campus-gold {
  background: #1681cf;
  color: #fff;
  border: 1px solid #1681cf;
  border-radius: 10px;
}
.student-area .btn-campus-gold:hover {
  background: #0759a6;
  color: #fff;
}

.student-area .btn-campus-outline {
  border-color: #b8d9f3;
  color: #fff;
  background: transparent;
  border-radius: 10px;
}
.student-area .btn-campus-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.student-area .campus-hero-note {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.7);
  background: #fff;
  color: #163e60;
  backdrop-filter: none;
  box-shadow: 0 10px 25px rgba(7, 45, 80, 0.12);
}
.student-area .campus-hero-note strong {
  font-family: inherit;
  color: #103d64;
}
.student-area .campus-hero-note span {
  color: #5c758a;
}
.student-area .campus-section {
  padding-top: 28px;
  padding-bottom: 34px;
}
.student-area .campus-content .search-bar {
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(19, 67, 105, 0.06);
}
.student-area .campus-content .section-head h2 {
  color: #0b3458;
  letter-spacing: -0.035em;
}
.student-area .campus-content .item-card {
  overflow: hidden;
  border: 1px solid var(--student-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(19, 58, 92, 0.045);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.student-area .campus-content .item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(19, 58, 92, 0.1);
  text-decoration: none;
}
.student-area .home-item-visual {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #f2f8fd;
  border-bottom: 1px solid #e5eff7;
}
.student-area .home-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.student-area .home-no-photo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #d2e5f5;
  background: #fff;
  color: var(--student-blue);
  font-size: 24px;
}
.student-area .home-no-photo-label {
  margin-left: 9px;
  color: #6e8aa2;
  font-size: 11px;
}
.student-area .campus-content .item-body {
  padding: 16px;
}

.student-area .campus-content .item-body h3 {
  margin: 10px 0 6px;
  color: #102f49;
  font-size: 16px;
  line-height: 1.35;
}
.student-area .campus-content .item-body p {
  font-size: 12px;
}
.student-area .campus-copy-panel,
.student-area .campus-help-content,
.student-area .campus-settings-card,
.student-area .profile-section,
.student-area .profile-identity,
.student-area .step-card {
  border: 1px solid var(--student-border);
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(17, 65, 105, 0.045);
}
.student-area .campus-copy-panel,
.student-area .campus-help-content {
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
}
.student-area .steps-grid {
  gap: 18px;
}
.student-area .campus-step-card {
  padding: 22px;
  border-color: var(--student-border);
  border-radius: 16px;
  background: #fff;
}
.student-area .profile-identity {
  padding: 22px;
  background: #fff;
}
.student-area .profile-section {
  padding: 22px;
  background: #fff;
}
.student-area .profile-settings-card {
  border: 1px solid var(--student-border);
  border-radius: 13px;
  padding: 18px;
  background: #f8fcff;
}
.student-area .profile-avatar-large {
  border: 3px solid #d4eaff;
}
.student-area .account-status {
  border-radius: 999px;
}

.student-area .profile-page {
  padding-top: 36px;
  padding-bottom: 56px;
}
.student-area .profile-page > .container {
  max-width: 1080px;
}
.student-area .profile-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.student-area .profile-welcome h1 {
  margin: 5px 0;
  color: var(--student-blue-dark);
  font-size: clamp(27px, 4vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.student-area .profile-welcome p,
.student-area .profile-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.student-area .profile-main-action {
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--student-blue);
}
.student-area .profile-identity {
  gap: 20px;
  margin-bottom: 20px;
}
.student-area .profile-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}
.student-area .profile-avatar-large {
  display: block;
  overflow: hidden;
  width: 82px;
  height: 82px;
  object-fit: cover;
}
.student-area .profile-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0b69b8, #073b70);
  color: #fff;
  font-size: 30px;
}
.student-area .profile-avatar-online {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #27a56b;
}
.student-area .profile-identity-copy h2,
.student-area .profile-section-heading h2 {
  color: #12395f;
}
.student-area .profile-email {
  overflow-wrap: anywhere;
}
.student-area .profile-identity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.student-area .profile-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--student-border);
  border-radius: 999px;
  background: #f4f9fe;
  color: #345b7c;
  font-size: 11px;
  font-weight: 700;
}
.student-area .profile-meta-chip > span {
  color: var(--student-blue);
}
.student-area .profile-identity-actions .btn {
  border-radius: 8px;
  background: var(--student-blue);
}
.student-area .profile-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  border: 0;
}
.student-area .profile-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--student-border);
  border-radius: 13px;
  background: hsla(0, 0%, 99%, 0.98);
  box-shadow: 0 4px 14px rgba(17, 65, 105, 0.04);
}
.student-area .profile-stat-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--student-sky);
  color: var(--student-blue);
  font-size: 18px;
}
.student-area .profile-stat-card > div {
  min-width: 0;
}
.student-area .profile-stat-card .profile-stat-label,
.student-area .profile-stat-card .profile-stat-caption {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.student-area .profile-stat-card strong {
  display: block;
  margin: 2px 0;
  color: #12395f;
  font-family: inherit;
  font-size: 25px;
  line-height: 1.15;
}
.student-area .profile-stat-caption {
  overflow-wrap: anywhere;
}
.student-area .profile-section {
  margin-top: 18px;
}
.student-area .profile-section-heading {
  align-items: center;
}
.student-area .profile-text-button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--student-border);
  border-radius: 8px;
  background: #fff;
  color: var(--student-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.student-area .profile-text-button:hover {
  background: var(--student-sky);
}
.student-area .profile-details {
  border-top-color: var(--student-border);
}
.student-area .profile-details > div {
  grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1fr);
  gap: 10px;
  border-bottom-color: var(--student-border);
}
.student-area .profile-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.student-area .profile-settings-card {
  min-width: 0;
}
.student-area .profile-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.student-area .profile-card-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--student-sky);
  color: var(--student-blue);
}
.student-area .profile-card-heading h3 {
  margin: 0;
  color: #12395f;
  font-size: 15px;
}
.student-area .profile-card-heading p,
.student-area .profile-help-text,
.student-area .profile-appearance-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.student-area .profile-settings-card .profile-form {
  display: grid;
  gap: 8px;
}
.student-area .profile-form label {
  margin-top: 3px;
}
.student-area .profile-form input:not([type="file"]) {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--student-border);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.student-area .profile-form input:focus-visible,
.student-area .profile-report-toolbar input:focus-visible,
.student-area .profile-report-toolbar select:focus-visible {
  outline: 2px solid #4a9ee4;
  outline-offset: 2px;
}
.student-area .profile-picture-preview {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 4px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--student-border);
  border-radius: 50%;
  background: var(--student-sky);
  color: var(--student-blue);
  font-size: 25px;
  font-weight: 700;
}
.student-area .profile-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.student-area .profile-settings-card .profile-form .btn {
  margin-top: 5px;
  border-radius: 8px;
  background: var(--student-blue);
}
.student-area .profile-inline-error {
  margin: 0;
  color: #b42318;
  font-size: 12px;
}
.student-area .profile-appearance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--student-border);
  border-radius: 9px;
  background: #fff;
}
.student-area .profile-appearance-row strong {
  color: #12395f;
  font-size: 13px;
}
.student-area .profile-theme-switch {
  flex: 0 0 auto;
}
.student-area .profile-reports-heading .btn {
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--student-blue);
}
.student-area .profile-report-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(130px, 1fr));
  gap: 11px;
  align-items: end;
  margin: 18px 0 12px;
}
.student-area .profile-report-toolbar label {
  display: block;
  margin-bottom: 5px;
  color: #45627d;
  font-size: 11px;
  font-weight: 700;
}
.student-area .profile-search-input-wrap {
  position: relative;
}
.student-area .profile-search-input-wrap > span {
  position: absolute;
  top: 50%;
  left: 11px;
  color: #66829a;
  transform: translateY(-50%);
}
.student-area .profile-report-toolbar input,
.student-area .profile-report-toolbar select {
  width: 100%;
  min-width: 0;
  height: 39px;
  padding: 7px 9px;
  border: 1px solid var(--student-border);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.student-area .profile-search-input-wrap input {
  padding-left: 31px;
}
.student-area .profile-report-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
}
.student-area .profile-reset-filters {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--student-blue);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.student-area .profile-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--student-border);
  border-radius: 10px;
}
.student-area .profile-report-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  text-align: left;
}
.student-area .profile-report-table th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--student-border);
  background: #f3f8fd;
  color: #45627d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.student-area .profile-report-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e8f0f7;
  color: #34536e;
  font-size: 12px;
  vertical-align: middle;
}
.student-area .profile-report-table tbody tr:last-child td {
  border-bottom: 0;
}
.student-area .profile-table-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 180px;
}
.student-area .profile-table-item-copy {
  display: grid;
  min-width: 0;
}
.student-area .profile-table-item-title {
  overflow: hidden;
  color: #12395f;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.student-area .profile-table-reference {
  color: var(--muted);
  font-size: 10px;
}
.student-area .profile-report-type-lost {
  background: #fff0e8;
  color: #a74719;
}
.student-area .profile-report-type-found {
  background: #eaf7ef;
  color: #28734c;
}
.student-area .profile-type-label,
.student-area .profile-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf4fa;
  color: #45627d;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.student-area .profile-type-label-lost {
  background: #fff0e8;
  color: #a74719;
}
.student-area .profile-type-label-found {
  background: #eaf7ef;
  color: #28734c;
}
.student-area .profile-status-returned,
.student-area .profile-status-claimed {
  background: #eaf7ef;
  color: #28734c;
}
.student-area .profile-status-claim_pending {
  background: #fff6df;
  color: #87621c;
}
.student-area .profile-open-report {
  color: var(--student-blue);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.student-area .profile-report-no-results,
.student-area .profile-empty {
  padding: 24px;
  border: 1px dashed #bfd3e4;
  border-radius: 10px;
  background: #f8fbfe;
  text-align: center;
}
.student-area .profile-report-no-results strong,
.student-area .profile-empty h3 {
  color: #12395f;
  font-size: 15px;
}
.student-area .profile-report-no-results p,
.student-area .profile-empty p {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.student-area .profile-empty-icon {
  margin-bottom: 5px;
  color: var(--student-blue);
  font-size: 24px;
}
.student-area .profile-empty h3 {
  margin: 0;
}
.student-area .profile-empty .btn,
.student-area .profile-report-no-results .btn {
  border-radius: 8px;
  background: var(--student-blue);
}
.student-area .profile-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;
}
.student-area .profile-table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
}
:root[data-theme="dark"] .student-area .profile-welcome h1,
:root[data-theme="dark"] .student-area .profile-identity-copy h2,
:root[data-theme="dark"] .student-area .profile-section-heading h2,
:root[data-theme="dark"] .student-area .profile-stat-card strong,
:root[data-theme="dark"] .student-area .profile-card-heading h3,
:root[data-theme="dark"] .student-area .profile-appearance-row strong,
:root[data-theme="dark"] .student-area .profile-table-item-title,
:root[data-theme="dark"] .student-area .profile-report-no-results strong,
:root[data-theme="dark"] .student-area .profile-empty h3 {
  color: #d7eafa;
}
:root[data-theme="dark"] .student-area .profile-stat-card,
:root[data-theme="dark"] .student-area .profile-settings-card,
:root[data-theme="dark"] .student-area .profile-text-button,
:root[data-theme="dark"] .student-area .profile-meta-chip,
:root[data-theme="dark"] .student-area .profile-form input:not([type="file"]),
:root[data-theme="dark"] .student-area .profile-appearance-row,
:root[data-theme="dark"] .student-area .profile-report-toolbar input,
:root[data-theme="dark"] .student-area .profile-report-toolbar select,
:root[data-theme="dark"] .student-area .profile-report-table th,
:root[data-theme="dark"] .student-area .profile-report-no-results,
:root[data-theme="dark"] .student-area .profile-empty {
  background: var(--surface);
  color: var(--ink);
}
:root[data-theme="dark"] .student-area .profile-report-table td {
  border-bottom-color: var(--line);
  color: #c2d1df;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .student-area .profile-welcome h1,
  :root:not([data-theme="light"]) .student-area .profile-identity-copy h2,
  :root:not([data-theme="light"]) .student-area .profile-section-heading h2,
  :root:not([data-theme="light"]) .student-area .profile-stat-card strong,
  :root:not([data-theme="light"]) .student-area .profile-card-heading h3,
  :root:not([data-theme="light"]) .student-area .profile-appearance-row strong,
  :root:not([data-theme="light"]) .student-area .profile-table-item-title,
  :root:not([data-theme="light"])
    .student-area
    .profile-report-no-results
    strong,
  :root:not([data-theme="light"]) .student-area .profile-empty h3 {
    color: #d7eafa;
  }
  :root:not([data-theme="light"]) .student-area .profile-stat-card,
  :root:not([data-theme="light"]) .student-area .profile-settings-card,
  :root:not([data-theme="light"]) .student-area .profile-text-button,
  :root:not([data-theme="light"]) .student-area .profile-meta-chip,
  :root:not([data-theme="light"])
    .student-area
    .profile-form
    input:not([type="file"]),
  :root:not([data-theme="light"]) .student-area .profile-appearance-row,
  :root:not([data-theme="light"]) .student-area .profile-report-toolbar input,
  :root:not([data-theme="light"]) .student-area .profile-report-toolbar select,
  :root:not([data-theme="light"]) .student-area .profile-report-table th,
  :root:not([data-theme="light"]) .student-area .profile-report-no-results,
  :root:not([data-theme="light"]) .student-area .profile-empty {
    background: var(--surface);
    color: var(--ink);
  }
  :root:not([data-theme="light"]) .student-area .profile-report-table td {
    border-bottom-color: var(--line);
    color: #c2d1df;
  }
}
@media (max-width: 800px) {
  .student-area .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .student-area .profile-report-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .student-area .profile-page {
    padding-top: 24px;
  }
  .student-area .profile-welcome {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .student-area .profile-main-action {
    width: 100%;
  }
  .student-area .profile-identity {
    gap: 14px;
    padding: 18px;
  }
  .student-area .profile-avatar-large {
    width: 64px;
    height: 64px;
  }
  .student-area .profile-identity-copy h2 {
    font-size: 20px;
  }
  .student-area .profile-identity-actions {
    width: 100%;
    padding-left: 0;
  }
  .student-area .profile-identity-actions .btn {
    width: 100%;
  }
  .student-area .profile-stats {
    gap: 9px;
  }
  .student-area .profile-stat-card {
    gap: 8px;
    padding: 12px;
  }
  .student-area .profile-stat-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .student-area .profile-section {
    padding: 18px;
  }
  .student-area .profile-section-heading {
    align-items: flex-start;
  }
  .student-area .profile-settings-grid,
  .student-area .profile-details {
    grid-template-columns: 1fr;
  }
  .student-area .profile-details > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .student-area .profile-reports-heading {
    flex-direction: column;
  }
  .student-area .profile-reports-heading > .btn {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .student-area .profile-stats,
  .student-area .profile-report-toolbar {
    grid-template-columns: 1fr;
  }
  .student-area .profile-stat-card {
    align-items: center;
  }
  .student-area .profile-identity-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.student-area .found-page {
  max-width: 960px;
  padding-top: 34px;
}
.student-area .found-back {
  color: var(--student-blue);
}
.student-area .lost-reference {
  border: 1px solid var(--student-border);
  border-radius: 16px;
  background: var(--lav);
}
.student-area .found-card {
  border: 1px solid var(--student-border);
  border-radius: 18px;
  box-shadow: 0 9px 28px rgba(16, 54, 91, 0.07);
}
.student-area .found-btn-submit {
  background: var(--student-blue);
  border-radius: 10px;
}
.student-area .found-btn-cancel {
  border-radius: 10px;
}
.student-area .claim-receipt {
  border: 1px solid var(--student-border);
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(17, 65, 105, 0.05);
}

/* Notifications page */
.notifications-container {
  padding-top: 30px;
  padding-bottom: 40px;
}

.notifications-list {
  margin-top: 20px;
}

/* Individual notification */
.notification-card {
  padding: 15px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}

.notification-card.unread {
  background-color: #f0f7ff;
}

.notification-card.read {
  background-color: #fff;
}

.notification-message {
  margin-bottom: 8px;
}

.notification-date {
  color: #666;
}

.notification-status {
  margin-top: 8px;
  color: #777;
  font-size: 12px;
}

.notification-actions {
  margin-top: 10px;
}

.notification-item-link {
  display: inline-block;
  margin-top: 10px;
}

/* Notification page layout overrides */
main.notifications-container {
  padding-top: 30px;
  padding-bottom: 40px;
}

.notifications-container .notification-card {
  padding: 15px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}

.notifications-container .notification-card.unread {
  background-color: #f0f7ff;
}

.notifications-container .notification-card.read {
  background-color: #fff;
}

@media (max-width: 800px) {
  .student-area .campus-hero {
    min-height: 0;
  }
  .student-area .campus-hero-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .student-area .campus-hero-copy {
    padding: 22px;
  }
  .student-area .campus-hero-note {
    max-width: none;
  }
}
@media (max-width: 520px) {
  .student-area .campus-hero-copy {
    padding: 18px;
  }
  .student-area .campus-hero-actions {
    flex-direction: column;
  }
  .student-area .campus-hero-actions .btn {
    width: 100%;
  }
}

/* Week 1–8 UI refinement: clearer sidebar, tables, and item-type colours */
.admin-sidebar {
  background: linear-gradient(180deg, #101c2d 0%, #16283d 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.08);
  overflow-y: auto;
  scrollbar-width: thin;
}
.admin-brand {
  margin-bottom: 28px;
}
.admin-nav-label-secondary {
  margin-top: 22px;
}
.admin-nav {
  gap: 6px;
}
.admin-nav-link {
  min-height: 43px;
  border: 1px solid transparent;
}
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}
.admin-nav-link.active {
  background: rgba(216, 180, 90, 0.13);
  border-color: rgba(216, 180, 90, 0.18);
}
.admin-user-card.active {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.admin-topbar {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}
.admin-page-header {
  background: linear-gradient(120deg, #fff 0%, #f7faff 100%);
}
.admin-content.admin-page {
  padding-bottom: 44px;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
}
.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
}
.admin-table th,
.admin-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #e8edf3;
}
.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f5fa;
  color: #43536a;
  font-size: 10px;
  letter-spacing: 0.075em;
}
.admin-table tbody tr {
  transition: background-color 0.15s ease;
}
.admin-table tbody tr:nth-child(even) {
  background: #fbfcfe;
}
.admin-table tbody tr:hover {
  background: #f0f6ff;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-table td {
  color: #344256;
  font-size: 12px;
  line-height: 1.55;
}
.admin-table .btn {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 11px;
}
.admin-report-title {
  color: #152b45;
  font-weight: 750;
}
.admin-report-meta {
  color: #748399;
}
.admin-filters {
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
}
.admin-stat {
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
}

/* Student-side Lost is red; Found is green for immediate recognition. */
.student-area .item-type-badge.is-lost {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #b42318;
}
.student-area .item-type-badge.is-found {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.student-area .item-thumb-lost {
  background: linear-gradient(135deg, #fff1f2, #fee2e2);
}
.student-area .item-thumb-found {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}
.student-area .item-status.status-unclaimed {
  color: #166534;
}
.student-area .lost-found-card {
  border-color: #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}
.student-area .lost-found-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

@media (max-width: 680px) {
  .admin-sidebar {
    overflow-y: auto;
  }
  .admin-table-wrap {
    border-radius: 9px;
  }
  .admin-table th,
  .admin-table td {
    padding: 12px;
  }
}

/* ==========================================================
   Admin workspace refinement — CCIT 106 Weeks 1–8 scope
   Consistent typography, accessible navigation, and CRUD views
   ========================================================== */
.admin-shell,
.admin-shell button,
.admin-shell input,
.admin-shell select,
.admin-shell textarea,
.admin-notifications-page,
.admin-notifications-page button {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.admin-shell {
  --admin-accent: #2675cf;
  --admin-blue: #1769aa;
  --admin-ink: #172b42;
}
.admin-sidebar {
  background: #102b46;
  border-right: 1px solid #234461;
  padding-top: 22px;
}
.admin-brand {
  margin-bottom: 32px;
}
.admin-brand .brand-logo {
  background: #fff;
  border-radius: 11px;
  padding: 3px;
}
.admin-nav-label {
  color: #9cb6cb;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.admin-nav {
  gap: 6px;
}
.admin-nav-link {
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  gap: 13px;
}
.admin-nav-link:hover {
  background: #1b4164;
}
.admin-nav-link.active {
  background: #1d4c75;
  box-shadow: inset 3px 0 #64b5f6;
  color: #fff;
}
.admin-nav-icon {
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}
.admin-nav-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-nav-link.active .admin-nav-icon {
  color: #8dcbff;
}
.admin-topbar {
  border-color: #dce6ef;
  padding: 0 38px;
}
.admin-breadcrumb {
  font-size: 12px;
}
.admin-breadcrumb strong {
  color: #173a5c;
  font-size: 13px;
}
.admin-page-header {
  min-height: 166px;
  padding: 32px 42px;
  border-color: #e0e9f1;
}

.admin-eyebrow {
  color: #1769aa;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.admin-page-header h1 {
  color: #163653;
  font-size: clamp(27px, 2.7vw, 34px);
  font-weight: 750;
  letter-spacing: -0.035em;
}
.admin-page-header p {
  font-size: 13px;
  line-height: 1.65;
}
.admin-create-btn,
.admin-filter-actions .btn-primary {
  background: #1769aa;
}
.admin-create-btn:hover,
.admin-filter-actions .btn-primary:hover {
  background: #0d548e;
}
.admin-content {
  padding: 30px 42px 48px;
}
.admin-stats {
  gap: 12px;
  background: transparent;
  overflow: visible;
}
.admin-stat {
  border: 1px solid #e1eaf2;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(25, 63, 95, 0.045);
  padding: 20px 22px;
}
.admin-stat strong {
  font-size: 30px;
}
.admin-stat-icon {
  border-radius: 10px;
}
.admin-stat-icon-all {
  background: #e9f3fd;
  color: #1769aa;
}
.admin-stat-icon-lost {
  background: #fff0e7;
  color: #a95525;
}
.admin-stat-icon-found {
  background: #e6f6ef;
  color: #23754f;
}
.admin-stat-icon-returned {
  background: #e7f4ff;
  color: #1c679b;
}
.admin-filters {
  display: grid;
  gap: 16px;
  grid-template-columns:
    minmax(220px, 1.7fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr)
    auto;
  align-items: end;
  padding: 20px;
  background: #fff;
  border: 1px solid #e1eaf2;
  border-radius: 12px;
}
.admin-filters label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #526b80;
  font-weight: 650;
}
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  background: #fff;
  color: #1c354c;
  border: 1px solid #d5e1eb;
  border-radius: 8px;
  font-size: 13px;
}
.admin-filters input:focus,
.admin-filters select:focus {
  outline: 3px solid #d8ebfb;
  border-color: #2675cf;
}
.admin-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.admin-filter-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 12px;
  border-radius: 8px;
}
.admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 14px;
}
.admin-list-heading h2 {
  margin: 0 0 5px;
  color: #183b59;
  font-size: 19px;
  font-weight: 750;
}
.admin-list-heading p {
  margin: 0;
  font-size: 12px;
}
.admin-table-wrap {
  border: 1px solid #dfe8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(25, 63, 95, 0.045);
}
.admin-table {
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
}
.admin-table th {
  background: #f3f8fc;
  color: #527087;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 17px;
}
.admin-table td {
  color: #3e566a;
  font-size: 12px;
  padding: 16px 17px;
  vertical-align: middle;
}
.admin-table th:first-child {
  border-top-left-radius: 12px;
}
.admin-table th:last-child {
  border-top-right-radius: 12px;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-table tbody tr:hover {
  background: #f6faff;
}
.admin-report-title {
  display: inline-block;
  color: #155d95;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 5px;
}
.admin-report-title:hover {
  color: #0c4777;
  text-decoration: underline;
}
.admin-report-meta {
  display: block;
  line-height: 1.6;
  color: #71879a;
  font-size: 11px;
}
.admin-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.admin-action-note {
  color: #7d91a2;
  font-size: 11px;
}
.admin-delete-btn {
  padding: 7px 10px;
  border: 1px solid #f1d4d0;
  border-radius: 7px;
  background: #fff6f5;
  color: #a63f37;
  font-size: 11px;
  font-weight: 700;
}
.admin-delete-btn:hover {
  background: #ffe9e6;
}
.admin-empty {
  padding: 36px 20px;
  text-align: center;
}
.admin-empty h3 {
  color: #193c59;
  font-size: 18px;
}
.admin-empty p {
  font-size: 13px;
}
.admin-inner-page-header {
  margin: 0 -42px 28px;
}
.admin-trash-page,
.admin-notifications-page {
  padding-top: 0;
}
.trash-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #dce9f4;
  border-radius: 12px;
  background: #f3f9fe;
}
.trash-info-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: #dceeff;
  color: #1769aa;
  font-size: 22px;
}
.trash-info-row > div:nth-child(2) {
  flex: 1;
}
.trash-info-row strong {
  color: #1b4669;
  font-size: 14px;
}
.trash-info-row p {
  margin: 4px 0 0;
  color: #607c91;
  font-size: 12px;
  line-height: 1.6;
}
.trash-total {
  display: grid;
  justify-items: center;
  min-width: 65px;
  padding-left: 18px;
  border-left: 1px solid #d2e3f0;
}
.trash-total strong {
  font-size: 24px;
  color: #1769aa;
}
.trash-total small {
  color: #678297;
  font-size: 10px;
}
.trash-list-heading {
  margin-top: 28px;
}
.trash-report-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trash-file-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 9px;
  background: #edf5fc;
  color: #3376a8;
  font-size: 18px;
}
.trash-report-name span:last-child {
  display: grid;
  gap: 4px;
}
.trash-report-name strong {
  color: #24445e;
  font-size: 13px;
}
.trash-report-name small {
  color: #7a91a4;
  font-size: 11px;
}
.admin-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 20px;
  text-transform: capitalize;
  font-size: 11px;
  font-weight: 750;
}
.admin-type-pill.is-lost {
  background: #fff0e8;
  color: #a9522b;
}
.admin-type-pill.is-found {
  background: #e8f7ee;
  color: #23734d;
}
.trash-countdown {
  display: grid;
  gap: 4px;
}
.trash-countdown strong {
  color: #315b7b;
  font-size: 12px;
}
.trash-countdown small {
  color: #8093a3;
  font-size: 10px;
}
.trash-empty {
  margin-top: 22px;
  padding: 50px 20px;
  border: 1px dashed #cbdce9;
  border-radius: 12px;
}
.trash-empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  border-radius: 16px;
  background: #edf5fc;
  color: #3376a8;
  font-size: 26px;
}
.trash-empty h2 {
  margin: 0 0 8px;
  color: #1d4668;
  font-size: 20px;
}
.trash-empty .btn {
  display: inline-flex;
  margin-top: 12px;
  background: #1769aa;
}
.admin-notification-panel {
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(25, 63, 95, 0.04);
}
.admin-notification-panel > h2 {
  margin: 0 0 5px;
  color: #183b59;
  font-size: 19px;
}
.admin-notification-panel > p {
  margin: 0 0 18px;
  color: #71879a;
  font-size: 13px;
}
.admin-claim-card {
  margin: 12px 0 0;
  padding: 20px;
  border: 1px solid #dce8f2;
  border-left: 4px solid #2675cf;
  border-radius: 10px;
  background: #f8fbfe;
}
.admin-claim-card h3 {
  margin: 0 0 12px;
  color: #1c4364;
  font-size: 15px;
}
.admin-claim-card p {
  color: #4f687c;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.admin-claim-card .notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.admin-claim-card .notification-actions form {
  margin: 0;
}
.admin-claim-card .btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.admin-claim-card .btn-primary {
  background: #1769aa;
}
.admin-notification-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.admin-notification-list .student-notification {
  border: 1px solid #dce7f0;
  border-radius: 11px;
  background: #fff;
}
.admin-notification-list .student-notification.unread {
  border-left: 4px solid #2675cf;
  background: #f7fbff;
}
.admin-notification-list .student-notification.read {
  border-left: 4px solid #cbd7e1;
}
.admin-notification-list .student-notification-summary {
  padding: 16px;
  gap: 14px;
}
.admin-notification-list .notification-icon {
  border-radius: 11px;
  background: #e5f2ff;
  color: #1769aa;
}
.admin-notification-list .notification-title {
  color: #1d3f5a;
  font-size: 13px;
}
.admin-notification-list .notification-preview-text {
  font-size: 12px;
}
.admin-notification-list .student-notification-content {
  border-top-color: #e2ebf3;
}
.admin-notification-list .student-notification-content h3 {
  color: #1c4364;
}
.admin-notifications-page > form {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.admin-notifications-page > form .btn {
  min-height: 39px;
  border-radius: 8px;
  background: #1769aa;
  font-size: 12px;
}
.admin-notifications-page .notifications-empty {
  padding: 32px;
  border: 1px dashed #cbdce9;
  border-radius: 12px;
  color: #678297;
  background: #f8fbfe;
  text-align: center;
}
:root[data-theme="dark"] .trash-info-row,
:root:not([data-theme="light"]) .trash-info-row {
  background: #172f43;
  border-color: #29475f;
}
:root[data-theme="dark"] .trash-info-row strong,
:root:not([data-theme="light"]) .trash-info-row strong,
:root[data-theme="dark"] .trash-report-name strong,
:root:not([data-theme="light"]) .trash-report-name strong,
:root[data-theme="dark"] .trash-empty h2,
:root:not([data-theme="light"]) .trash-empty h2,
:root[data-theme="dark"] .admin-notification-panel > h2,
:root:not([data-theme="light"]) .admin-notification-panel > h2 {
  color: #d7eafa;
}
:root[data-theme="dark"] .admin-notification-panel,
:root[data-theme="dark"] .admin-claim-card,
:root[data-theme="dark"] .admin-notification-list .student-notification,
:root:not([data-theme="light"]) .admin-notification-panel,
:root:not([data-theme="light"]) .admin-claim-card,
:root:not([data-theme="light"]) .admin-notification-list .student-notification {
  background: #172330;
  border-color: #2a3948;
}
:root[data-theme="dark"] .admin-notification-list .student-notification.unread,
:root:not([data-theme="light"])
  .admin-notification-list
  .student-notification.unread {
  background: #1a2d40;
  border-left-color: #5aa9ed;
}
:root[data-theme="dark"] .admin-claim-card h3,
:root:not([data-theme="light"]) .admin-claim-card h3,
:root[data-theme="dark"] .admin-notification-list .notification-title,
:root:not([data-theme="light"]) .admin-notification-list .notification-title {
  color: #d7eafa;
}
@media (max-width: 1100px) {
  .admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-filter-actions {
    align-self: end;
  }
}
@media (max-width: 700px) {
  .admin-content {
    padding: 22px 16px 36px;
  }
  .admin-page-header {
    padding: 25px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-inner-page-header {
    margin: 0 -16px 22px;
  }
  .admin-page-header p {
    font-size: 12px;
  }
  .admin-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .admin-filter-actions {
    flex-wrap: wrap;
  }
  .trash-info-row {
    align-items: flex-start;
    padding: 16px;
    gap: 11px;
  }
  .trash-total {
    min-width: 48px;
    padding-left: 10px;
  }
  .trash-info-row p {
    font-size: 11px;
  }
  .admin-notification-panel {
    padding: 15px;
  }
  .admin-claim-card {
    padding: 14px;
  }
  .admin-claim-card .notification-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-claim-card .notification-actions form,
  .admin-claim-card .notification-actions button {
    width: 100%;
  }
}


/* ==========================================================
   STUDENT DARK MODE FIX
   The student refresh above hardcodes light backgrounds (#fff, sky blues),
   which beat the dark tokens. This block repaints them for dark mode.
   Keep it LAST in the file so it wins. Two copies: the explicit toggle
   (data-theme="dark") and the OS default (no data-theme="light").
   ========================================================== */
:root[data-theme="dark"] .student-area {
  --student-blue: #5aa9f0;
  --student-sky: #12304d;
  --student-sky-strong: #1d4468;
  --student-border: #294159;
  --student-card: #0b1826;
}

:root[data-theme="dark"] .student-area .campus-copy-panel,
:root[data-theme="dark"] .student-area .campus-help-content,
:root[data-theme="dark"] .student-area .campus-step-card,
:root[data-theme="dark"] .student-area .step-card,
:root[data-theme="dark"] .student-area .profile-identity,
:root[data-theme="dark"] .student-area .profile-section,
:root[data-theme="dark"] .student-area .campus-content .item-card,
:root[data-theme="dark"] .student-area .lost-found-card,
:root[data-theme="dark"] .student-area .report-card,
:root[data-theme="dark"] .student-area .aside-card,
:root[data-theme="dark"] .student-area .detail-card,
:root[data-theme="dark"] .student-area .related-found-card {
  background: var(--student-card);
  color: var(--ink);
  border-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .campus-step-card h3,
:root[data-theme="dark"] .student-area .step-card h3,
:root[data-theme="dark"] .student-area .lost-found-body h3,
:root[data-theme="dark"] .student-area .campus-content .item-body h3,
:root[data-theme="dark"] .student-area .campus-hero-note strong {
  color: #d7eafa;
}

:root[data-theme="dark"] .student-area .campus-step-card p,
:root[data-theme="dark"] .student-area .step-card p {
  color: #9db3c8;
}

:root[data-theme="dark"] .student-area .campus-step-card .step-num,
:root[data-theme="dark"] .student-area .step-num {
  background: #1a3858;
  color: #c8e1f8;
  border-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .pill-filter {
  background: var(--student-card);
  color: #b7cadc;
  border-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .pill-filter.active {
  background: var(--student-blue);
  border-color: var(--student-blue);
  color: #04121f;
}

:root[data-theme="dark"] .student-area .lost-found-card .item-visual,
:root[data-theme="dark"] .student-area .home-item-visual {
  background: #0f2236;
  border-bottom-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .item-no-photo-icon,
:root[data-theme="dark"] .student-area .home-no-photo {
  background: #12304d;
  border-color: var(--student-border);
  color: var(--student-blue);
}

:root[data-theme="dark"] .student-area .item-type-badge.is-lost {
  background: #3a1820;
  color: #ffb4bf;
}

:root[data-theme="dark"] .student-area .item-type-badge.is-found {
  background: #12304d;
  color: #9fd0ff;
}

:root[data-theme="dark"] .student-area .item-thumb-lost {
  background: linear-gradient(135deg, #2a1218, #3a1820);
}

:root[data-theme="dark"] .student-area .status-unclaimed {
  background: #12304d;
  color: #9fd0ff;
}

:root[data-theme="dark"] .student-area .status-claim_pending {
  background: #3a2f0c;
  color: #f3d37a;
}

:root[data-theme="dark"] .student-area .status-claimed,
:root[data-theme="dark"] .student-area .status-returned {
  background: #12301f;
  color: #8be0ad;
}

:root[data-theme="dark"] .student-area .empty {
  background: var(--student-card);
  border-color: var(--student-border);
  color: var(--muted);
}

:root[data-theme="dark"] .student-area .campus-hero-note {
  background: var(--student-card);
  color: #d7eafa;
  border-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .related-found-card:hover {
  background: #12304d;
  border-color: var(--student-blue);
}

:root[data-theme="dark"] .student-area .site-footer {
  background: #050d16;
  border-top-color: var(--student-border);
}

:root[data-theme="dark"] .student-area .site-footer .brand-name {
  color: #e7f1fb;
}

:root[data-theme="dark"] .student-area .site-footer .brand-caption,
:root[data-theme="dark"] .student-area .foot-copy {
  color: #9db3c8;
}

:root[data-theme="dark"] .student-area .site-footer a {
  color: var(--student-blue);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .student-area {
    --student-blue: #5aa9f0;
    --student-sky: #12304d;
    --student-sky-strong: #1d4468;
    --student-border: #294159;
    --student-card: #0b1826;
  }

  :root:not([data-theme="light"]) .student-area .campus-copy-panel,
  :root:not([data-theme="light"]) .student-area .campus-help-content,
  :root:not([data-theme="light"]) .student-area .campus-step-card,
  :root:not([data-theme="light"]) .student-area .step-card,
  :root:not([data-theme="light"]) .student-area .profile-identity,
  :root:not([data-theme="light"]) .student-area .profile-section,
  :root:not([data-theme="light"]) .student-area .campus-content .item-card,
  :root:not([data-theme="light"]) .student-area .lost-found-card,
  :root:not([data-theme="light"]) .student-area .report-card,
  :root:not([data-theme="light"]) .student-area .aside-card,
  :root:not([data-theme="light"]) .student-area .detail-card,
  :root:not([data-theme="light"]) .student-area .related-found-card {
    background: var(--student-card);
    color: var(--ink);
    border-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .campus-step-card h3,
  :root:not([data-theme="light"]) .student-area .step-card h3,
  :root:not([data-theme="light"]) .student-area .lost-found-body h3,
  :root:not([data-theme="light"]) .student-area .campus-content .item-body h3,
  :root:not([data-theme="light"]) .student-area .campus-hero-note strong {
    color: #d7eafa;
  }

  :root:not([data-theme="light"]) .student-area .campus-step-card p,
  :root:not([data-theme="light"]) .student-area .step-card p {
    color: #9db3c8;
  }

  :root:not([data-theme="light"]) .student-area .campus-step-card .step-num,
  :root:not([data-theme="light"]) .student-area .step-num {
    background: #1a3858;
    color: #c8e1f8;
    border-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .pill-filter {
    background: var(--student-card);
    color: #b7cadc;
    border-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .pill-filter.active {
    background: var(--student-blue);
    border-color: var(--student-blue);
    color: #04121f;
  }

  :root:not([data-theme="light"]) .student-area .lost-found-card .item-visual,
  :root:not([data-theme="light"]) .student-area .home-item-visual {
    background: #0f2236;
    border-bottom-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .item-no-photo-icon,
  :root:not([data-theme="light"]) .student-area .home-no-photo {
    background: #12304d;
    border-color: var(--student-border);
    color: var(--student-blue);
  }

  :root:not([data-theme="light"]) .student-area .item-type-badge.is-lost {
    background: #3a1820;
    color: #ffb4bf;
  }

  :root:not([data-theme="light"]) .student-area .item-type-badge.is-found {
    background: #12304d;
    color: #9fd0ff;
  }

  :root:not([data-theme="light"]) .student-area .item-thumb-lost {
    background: linear-gradient(135deg, #2a1218, #3a1820);
  }

  :root:not([data-theme="light"]) .student-area .status-unclaimed {
    background: #12304d;
    color: #9fd0ff;
  }

  :root:not([data-theme="light"]) .student-area .status-claim_pending {
    background: #3a2f0c;
    color: #f3d37a;
  }

  :root:not([data-theme="light"]) .student-area .status-claimed,
  :root:not([data-theme="light"]) .student-area .status-returned {
    background: #12301f;
    color: #8be0ad;
  }

  :root:not([data-theme="light"]) .student-area .empty {
    background: var(--student-card);
    border-color: var(--student-border);
    color: var(--muted);
  }

  :root:not([data-theme="light"]) .student-area .campus-hero-note {
    background: var(--student-card);
    color: #d7eafa;
    border-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .related-found-card:hover {
    background: #12304d;
    border-color: var(--student-blue);
  }

  :root:not([data-theme="light"]) .student-area .site-footer {
    background: #050d16;
    border-top-color: var(--student-border);
  }

  :root:not([data-theme="light"]) .student-area .site-footer .brand-name {
    color: #e7f1fb;
  }

  :root:not([data-theme="light"]) .student-area .site-footer .brand-caption,
  :root:not([data-theme="light"]) .student-area .foot-copy {
    color: #9db3c8;
  }

  :root:not([data-theme="light"]) .student-area .site-footer a {
    color: var(--student-blue);
  }
}
