/* ═══════════════════════════════════════════════════════════════════
   Law & Order MDT — styles/law-order.css
   Matches cad-law-n-order.png mockup.
   Gold / dark theme — LDOJ Court Services identity.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Root shell ────────────────────────────────────────────────────── */
.lo-mdt {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #0a0c10;
  color: #e2e8f0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  overflow: hidden;
}

/* ── Top bar ───────────────────────────────────────────────────────── */
.lo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #0d1017;
  border-bottom: 1px solid rgba(245,158,11,0.2);
  flex-shrink: 0;
  gap: 16px;
}

.lo-topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lo-topbar__badge {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.lo-topbar__title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f1f5f9;
  line-height: 1;
}

.lo-topbar__title span {
  color: #f59e0b;
}

.lo-topbar__sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #475569;
  margin-top: 2px;
}

.lo-topbar__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lo-meta-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lo-meta-block--right {
  text-align: right;
}

.lo-meta-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
}

.lo-meta-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lo-on-duty {
  color: #22c55e !important;
}

.lo-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 4px;
  animation: lo-pulse 1.5s infinite;
}

@keyframes lo-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.lo-date {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
}

.lo-clock {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  font-family: var(--font-mono) !important;
}

/* ── Body ──────────────────────────────────────────────────────────── */
.lo-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── Left nav ──────────────────────────────────────────────────────── */
.lo-nav {
  width: 160px;
  flex-shrink: 0;
  background: #0d1017;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  overflow-y: auto;
}

.lo-nav__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: all 0.12s;
  width: 100%;
}

.lo-nav__btn:hover {
  background: rgba(255,255,255,0.04);
  color: #e2e8f0;
}

.lo-nav__btn--active {
  background: rgba(245,158,11,0.08);
  border-left-color: #f59e0b;
  color: #f59e0b !important;
}

.lo-nav__icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.lo-nav__label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lo-nav__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 6px 12px;
}

.lo-nav__footer {
  margin-top: auto;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.lo-nav__status-label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
}

.lo-nav__status-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  margin-top: 2px;
}

.lo-nav__version {
  font-size: 0.55rem;
  color: #334155;
  margin-top: 4px;
}

/* ── Page area ─────────────────────────────────────────────────────── */
.lo-page {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-width: 0;
}

/* ── Bottom status bar ─────────────────────────────────────────────── */
.lo-statusbar {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0d1017;
  flex-shrink: 0;
  height: 52px;
}

.lo-statusbar__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.lo-statusbar__cell--right {
  margin-left: auto;
  border-right: none;
}

.lo-statusbar__label {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
}

.lo-statusbar__value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lo-sync {
  color: #22c55e !important;
}

/* ── Dashboard grid ────────────────────────────────────────────────── */
.lo-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lo-grid {
  display: grid;
  gap: 14px;
}

.lo-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

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

/* ── Card ──────────────────────────────────────────────────────────── */
.lo-card {
  background: #0f1623;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lo-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.lo-card__header--warn {
  border-left: 3px solid #ef4444;
  color: #ef4444;
}

.lo-card__header--alert {
  border-left: 3px solid #f59e0b;
  color: #f59e0b;
}

.lo-view-all {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f59e0b;
  background: none;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.12s;
}

.lo-view-all:hover {
  background: rgba(245,158,11,0.1);
}

/* ── Person Lookup ─────────────────────────────────────────────────── */
.lo-card--lookup {
  grid-row: span 1;
}

.lo-lookup-search {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lo-lookup-search input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 8px 12px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
}

.lo-lookup-search input::placeholder { color: #475569; }

.lo-lookup-search button {
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  color: #f59e0b;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.12s;
}

.lo-lookup-search button:hover { background: rgba(245,158,11,0.25); }

.lo-lookup-result {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
}

.lo-lookup-result-inner,
.lo-lookup-empty {
  display: flex;
  gap: 12px;
}

.lo-lookup-portrait {
  width: 90px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  color: #475569;
  overflow: hidden;
}

.lo-lookup-portrait--empty { border-style: dashed; }

.lo-lookup-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lo-lookup-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lo-lookup-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.lo-lookup-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 3px;
}

.lo-lookup-label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  width: 100px;
  flex-shrink: 0;
}

.lo-lookup-value {
  color: #cbd5e1;
  font-size: 0.72rem;
}

.lo-lookup-value--empty { color: #334155; }

/* ── Warrant list (dashboard) ──────────────────────────────────────── */
.lo-warrant-list,
.lo-alert-list,
.lo-arrest-list,
.lo-case-list,
.lo-notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.lo-warrant-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.1s;
}

.lo-warrant-item:hover { background: rgba(255,255,255,0.03); }

.lo-warrant-item__icon {
  font-size: 1.1rem;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.lo-warrant-item__body { flex: 1; }

.lo-warrant-item__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 3px 0 2px;
}

.lo-warrant-item__meta {
  font-size: 0.62rem;
  color: #475569;
}

/* ── Alert list ────────────────────────────────────────────────────── */
.lo-alert-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lo-alert-item__icon {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lo-alert-item__body { flex: 1; }

.lo-alert-item__time {
  font-size: 0.62rem;
  color: #475569;
  margin-bottom: 2px;
}

.lo-alert-item__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.04em;
}

.lo-alert-item__detail {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 2px;
}

/* ── Arrest list ───────────────────────────────────────────────────── */
.lo-arrest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lo-arrest-mugshot {
  width: 44px;
  height: 52px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  overflow: hidden;
  flex-shrink: 0;
}

.lo-arrest-mugshot img { width: 100%; height: 100%; object-fit: cover; }

.lo-arrest-item__body { flex: 1; }

.lo-arrest-item__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.lo-arrest-item__dob,
.lo-arrest-item__charges {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 2px;
}

.lo-arrest-item__time {
  text-align: right;
  flex-shrink: 0;
}

.lo-arrest-item__label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
}

.lo-arrest-item__ts {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ── Case list ─────────────────────────────────────────────────────── */
.lo-case-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.1s;
}

.lo-case-item:hover { background: rgba(255,255,255,0.03); }

.lo-case-item__icon { font-size: 1.1rem; flex-shrink: 0; }

.lo-case-item__body { flex: 1; }

.lo-case-item__id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #475569;
}

.lo-case-item__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 2px 0;
}

.lo-case-item__charges {
  font-size: 0.62rem;
  color: #64748b;
}

/* ── Court schedule table ──────────────────────────────────────────── */
.lo-schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.lo-schedule-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lo-schedule-table tbody td {
  padding: 9px 14px;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.lo-schedule-time {
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  white-space: nowrap;
}

.lo-schedule-type {
  font-weight: 600 !important;
  color: #e2e8f0 !important;
}

.lo-schedule-case {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  color: #64748b !important;
}

.lo-schedule-room {
  font-size: 0.68rem !important;
  color: #94a3b8 !important;
}

/* ── Notifications ─────────────────────────────────────────────────── */
.lo-notif-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lo-notif-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.lo-notif-icon--blue   { background: rgba(59,130,246,0.15);  border: 1px solid rgba(59,130,246,0.3);  }
.lo-notif-icon--green  { background: rgba(34,197,94,0.15);   border: 1px solid rgba(34,197,94,0.3);   }
.lo-notif-icon--amber  { background: rgba(245,158,11,0.15);  border: 1px solid rgba(245,158,11,0.3);  }
.lo-notif-icon--red    { background: rgba(239,68,68,0.15);   border: 1px solid rgba(239,68,68,0.3);   }

.lo-notif-item__body { flex: 1; }

.lo-notif-item__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lo-notif-item__sub {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 1px;
}

.lo-notif-item__time {
  font-size: 0.65rem;
  color: #475569;
  flex-shrink: 0;
}

/* ── Quick resources grid ──────────────────────────────────────────── */
.lo-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px 14px;
}

.lo-resource-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.12s;
  text-align: center;
}

.lo-resource-btn:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.3);
  color: #f59e0b;
}

.lo-resource-btn__icon { font-size: 1.4rem; }

/* ── Badges ────────────────────────────────────────────────────────── */
.lo-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.lo-badge--felony      { background: rgba(239,68,68,0.15);   border-color: rgba(239,68,68,0.4);   color: #ef4444; }
.lo-badge--misdemeanor { background: rgba(249,115,22,0.15);  border-color: rgba(249,115,22,0.4);  color: #f97316; }
.lo-badge--active      { background: rgba(34,197,94,0.15);   border-color: rgba(34,197,94,0.4);   color: #22c55e; }
.lo-badge--pending     { background: rgba(245,158,11,0.15);  border-color: rgba(245,158,11,0.4);  color: #f59e0b; }
.lo-badge--closed      { background: rgba(100,116,139,0.15); border-color: rgba(100,116,139,0.4); color: #94a3b8; }

/* ── Sub-page layout ───────────────────────────────────────────────── */
.lo-sub-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.lo-sub-page--split {
  flex-direction: row;
  gap: 0;
  overflow: hidden;
}

.lo-split-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding-right: 14px;
}

.lo-split-aside {
  width: 320px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
  padding-left: 14px;
  background: rgba(0,0,0,0.15);
}

.lo-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.lo-sub-header__title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f1f5f9;
}

/* ── Tabs ──────────────────────────────────────────────────────────── */
.lo-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  margin-bottom: 12px;
}

.lo-tab {
  padding: 8px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.12s;
  margin-bottom: -1px;
}

.lo-tab:hover { color: #e2e8f0; }

.lo-tab--active {
  border-bottom-color: #f59e0b;
  color: #f59e0b;
}

.lo-tab__count {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.6rem;
}

/* ── Warrant cards ─────────────────────────────────────────────────── */
.lo-warrant-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.lo-warrant-card {
  background: #0f1623;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
}

.lo-warrant-card--requested { border-left: 3px solid #f59e0b; }
.lo-warrant-card--approved  { border-left: 3px solid #22c55e; }
.lo-warrant-card--denied    { border-left: 3px solid #ef4444; }
.lo-warrant-card--served    { border-left: 3px solid #64748b; opacity: 0.7; }

.lo-warrant-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lo-warrant-card__id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #475569;
  margin-bottom: 2px;
}

.lo-warrant-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e2e8f0;
}

.lo-warrant-card__sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

.lo-warrant-card__body {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lo-warrant-card__field {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
}

.lo-warrant-card__field span:first-child {
  width: 120px;
  flex-shrink: 0;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.lo-warrant-card__field span:last-child {
  color: #cbd5e1;
}

.lo-warrant-card__field--denied span:last-child {
  color: #ef4444;
}

.lo-warrant-card__details {
  margin-top: 6px;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.lo-warrant-card__actions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Table ─────────────────────────────────────────────────────────── */
.lo-table-wrap {
  flex: 1;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
}

.lo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.lo-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.3);
  white-space: nowrap;
}

.lo-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.1s;
}

.lo-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.lo-table-row--selected {
  background: rgba(245,158,11,0.07) !important;
  border-left: 3px solid #f59e0b;
}

.lo-table tbody td {
  padding: 10px 14px;
  color: #cbd5e1;
  vertical-align: middle;
}

.lo-table-footer {
  padding: 8px 14px;
  font-size: 0.65rem;
  color: #475569;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

/* ── Detail panel ──────────────────────────────────────────────────── */
.lo-detail-section {
  margin-bottom: 14px;
}

.lo-detail-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245,158,11,0.2);
}

.lo-detail-section-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lo-detail-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #475569;
  margin-bottom: 2px;
}

.lo-detail-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
}

.lo-detail-text {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.7;
}

.lo-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lo-detail-label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  display: block;
  margin-bottom: 2px;
}

.lo-detail-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem;
  color: #cbd5e1;
  gap: 8px;
}

/* ── Search bar ────────────────────────────────────────────────────── */
.lo-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0 10px;
  height: 34px;
}

.lo-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.lo-search-bar input::placeholder { color: #475569; }

.lo-search-bar svg { color: #475569; flex-shrink: 0; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.lo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.12s;
  white-space: nowrap;
}

.lo-btn--primary {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.5);
  color: #f59e0b;
}

.lo-btn--primary:hover {
  background: rgba(245,158,11,0.25);
}

.lo-btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: #94a3b8;
}

.lo-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}

.lo-btn--approve {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
  color: #22c55e;
  flex: 1;
}

.lo-btn--approve:hover { background: rgba(34,197,94,0.25); }

.lo-btn--deny {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.4);
  color: #ef4444;
  flex: 1;
}

.lo-btn--deny:hover { background: rgba(239,68,68,0.25); }

.lo-btn--full { width: 100%; margin-top: 8px; }

/* ── Modal ─────────────────────────────────────────────────────────── */
.lo-modal {
  background: #0f1623;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 12px;
  padding: 24px;
  width: 460px;
  max-width: 90vw;
}

.lo-modal__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lo-modal__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lo-modal__footer {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.lo-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 9px 12px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.lo-input:focus { border-color: rgba(245,158,11,0.4); }
.lo-input::placeholder { color: #475569; }
.lo-input--textarea { resize: vertical; min-height: 80px; }

/* ── Mugshot small ─────────────────────────────────────────────────── */
.lo-mugshot-sm {
  width: 32px;
  height: 38px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  overflow: hidden;
  flex-shrink: 0;
}

.lo-mugshot-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ── Notification cards (full page) ───────────────────────────────── */
.lo-notif-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lo-notif-card--alert .lo-notif-card__icon {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
}

.lo-notif-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.lo-notif-card__body { flex: 1; }

.lo-notif-card__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lo-notif-card__sub {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 1px;
}

.lo-notif-card__time {
  font-size: 0.65rem;
  color: #475569;
  flex-shrink: 0;
}

/* ── Resources full page ───────────────────────────────────────────── */
.lo-resources-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lo-resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #0f1623;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  transition: all 0.12s;
}

.lo-resource-card:hover {
  background: rgba(245,158,11,0.05);
  border-color: rgba(245,158,11,0.2);
}

.lo-resource-card__icon { font-size: 1.6rem; flex-shrink: 0; }

.lo-resource-card__body { flex: 1; }

.lo-resource-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.lo-resource-card__desc {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

.lo-resource-card__arrow {
  font-size: 1rem;
  color: #f59e0b;
  flex-shrink: 0;
}

/* ── Section title ─────────────────────────────────────────────────── */
.lo-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Empty states ──────────────────────────────────────────────────── */
.lo-empty {
  padding: 16px;
  font-size: 0.72rem;
  color: #334155;
  text-align: center;
}

.lo-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  font-size: 0.78rem;
  color: #334155;
}

/* ── Responsive: collapse to single column on narrow screens ──────── */
@media (max-width: 1100px) {
  .lo-grid--3col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .lo-grid--3col,
  .lo-grid--2col { grid-template-columns: 1fr; }
  .lo-nav { width: 48px; }
  .lo-nav__label { display: none; }
}
