:root {
  --meos-blue: #005493;
  --meos-blue-dark: #00457c;
  --meos-blue-deep: #003a68;
  --meos-blue-soft: #1b98d3;
  --meos-line: #d9e0e8;
  --meos-muted: #777f89;
  --meos-text: #101721;
  --meos-soft: #f3f6f9;
  --meos-white: #ffffff;
  --meos-page-bg: #edf2f7;
  --meos-panel-bg: #ffffff;
  --meos-elevated-bg: #ffffff;
  --meos-subtle-bg: #e8edf2;
  --meos-subtle-border: #dfe5eb;
  --meos-input-bg: #ffffff;
  --meos-input-border: #ccd5df;
  --meos-secondary-text: #333b45;
  --meos-small-text: #1f2933;
  --meos-feed-border: #edf1f5;
  --meos-card-border: #e0e6ed;
  --meos-chip-bg: #f8fafc;
  --meos-chip-text: #2c3440;
  --meos-tab-text: #555;
  --meos-table-border: #e3e8ef;
  --meos-label-text: #999;
  --meos-license-border: #d3d9e0;
  --meos-empty-border: #cbd5df;
  --meos-shadow: 0 1px 3px rgba(12, 27, 54, 0.12);
  --meos-license-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  --meos-green: #12a36d;
  --meos-red: #c93636;
  --meos-yellow: #c69214;
  --meos-sidebar-bg: #005493;
  --meos-sidebar-deep: #00457c;
  --meos-sidebar-line: #1b6fa7;
  --meos-sidebar-muted: #c6def0;
  --meos-sidebar-text: #f8fbfc;
  --meos-sidebar-accent: #ff6b1a;
  --meos-sidebar-hover: #0b629d;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

html[data-meos-theme="dark"] {
  --meos-blue: #0269b4;
  --meos-blue-dark: #035c9e;
  --meos-blue-deep: #014071;
  --meos-blue-soft: #4eb7e9;
  --meos-line: #303946;
  --meos-muted: #9ba7b6;
  --meos-text: #edf3fb;
  --meos-soft: #1a2029;
  --meos-white: #171c24;
  --meos-page-bg: #0f1218;
  --meos-panel-bg: #171c24;
  --meos-elevated-bg: #1d2430;
  --meos-subtle-bg: #151a22;
  --meos-subtle-border: #2a3340;
  --meos-input-bg: #11161e;
  --meos-input-border: #364353;
  --meos-secondary-text: #c6d0dd;
  --meos-small-text: #aeb8c6;
  --meos-feed-border: #29313d;
  --meos-card-border: #303946;
  --meos-chip-bg: #202733;
  --meos-chip-text: #d7e2ef;
  --meos-tab-text: #bdc8d6;
  --meos-table-border: #2a3340;
  --meos-label-text: #94a0af;
  --meos-license-border: #364353;
  --meos-empty-border: #394454;
  --meos-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --meos-license-shadow: 0 1px 3px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--meos-text);
  background: var(--meos-page-bg);
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.meos-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
}

.meos-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 14px 10px;
  color: var(--meos-sidebar-text);
  background: var(--meos-sidebar-bg);
  border-right: 1px solid #00335a;
}

.meos-brand {
  min-height: 42px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--meos-sidebar-line);
}

.meos-brand img {
  width: 40px;
  height: 30px;
  object-fit: contain;
}

.meos-brand strong,
.meos-brand span {
  display: block;
  line-height: 1.1;
}

.meos-brand strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.meos-brand span {
  margin-top: 2px;
  font-size: 11px;
  color: var(--meos-sidebar-muted);
}

.meos-nav {
  display: grid;
  align-content: start;
  gap: 20px;
}

.meos-nav-section {
  display: grid;
  gap: 6px;
}

.meos-nav-label {
  margin: 0 0 4px;
  padding: 0 12px;
  color: var(--meos-sidebar-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.meos-nav-item {
  min-height: 36px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 7px 10px;
  color: var(--meos-sidebar-text);
  text-align: left;
  background: transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.meos-nav-item:hover {
  background: var(--meos-sidebar-hover);
  transform: translateX(1px);
}

.meos-nav-item.active,
.meos-nav-item.active:hover {
  color: var(--meos-sidebar-accent);
  background: rgba(255, 107, 26, 0.12);
  border-color: var(--meos-sidebar-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.2);
}

.meos-nav-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  color: currentColor;
}

.meos-nav-icon::before,
.meos-nav-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.meos-nav-icon.dashboard::before {
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 0 8px 0 currentColor, 8px 8px 0 currentColor;
}

.meos-nav-icon.people::before {
  left: 6px;
  top: 2px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.meos-nav-icon.people::after {
  left: 2px;
  top: 11px;
  width: 15px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.meos-nav-icon.vehicle::before {
  left: 2px;
  top: 7px;
  width: 14px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 3px 3px;
}

.meos-nav-icon.vehicle::after {
  left: 4px;
  top: 13px;
  width: 10px;
  height: 3px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.meos-nav-icon.warrant::before {
  left: 4px;
  top: 2px;
  width: 11px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.meos-nav-icon.warrant::after {
  left: 7px;
  top: 7px;
  width: 6px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor;
}

.meos-sidebar-status {
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--meos-sidebar-deep);
}

.meos-sidebar-status span {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #48d597;
  box-shadow: 0 0 0 4px rgba(72, 213, 151, 0.14);
}

.meos-sidebar-status p,
.meos-sidebar-status strong {
  display: block;
  margin: 6px 0 0;
  line-height: 1.3;
}

.meos-sidebar-status p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.meos-sidebar-status strong {
  font-size: 12px;
}

.meos-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.meos-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 70px;
  padding: 6px 16px;
  color: #fff;
  background: var(--meos-blue);
  border-bottom: 1px solid #00335a;
}

.meos-topbar h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.meos-menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  padding: 4px 8px;
  color: #fff;
  background: transparent;
}

.meos-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  align-self: stretch;
}

.meos-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 100%;
  color: #fff;
  user-select: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.meos-theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.meos-theme-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
  border-radius: 50%;
  color: #f7fbff;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.meos-theme-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-22deg);
}

.meos-theme-toggle:hover .meos-theme-icon,
.meos-theme-toggle input:checked + .meos-theme-icon {
  background: rgba(255, 255, 255, 0.09);
}

.meos-theme-toggle input:checked + .meos-theme-icon {
  color: #ffb15c;
}

.meos-theme-toggle input:focus-visible + .meos-theme-icon {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.meos-discord-profile {
  position: relative;
  min-height: 100%;
  min-width: 230px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  color: #f7fbff;
  background: var(--meos-blue-dark);
  box-shadow: none;
}

.meos-discord-profile img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
  background: var(--meos-blue-deep);
}

.meos-discord-profile-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  line-height: 1.08;
}

.meos-discord-profile-copy strong,
.meos-discord-profile-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meos-discord-profile-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.meos-discord-profile-copy span {
  color: #c9e4f6;
  font-size: 12px;
  font-weight: 700;
}

.meos-profile-action {
  position: absolute;
  right: 8px;
  top: 50%;
  min-width: 0;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  color: #f7fbff;
  background: var(--meos-blue-deep);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: opacity 140ms ease, background 140ms ease;
}

.meos-discord-profile:hover .meos-profile-action,
.meos-discord-profile:focus-within .meos-profile-action {
  opacity: 1;
  pointer-events: auto;
}

.meos-profile-action:hover {
  background: #075c96;
}

.meos-profile-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.meos-profile-action[hidden] {
  display: none;
}

.meos-page {
  display: none;
  min-width: 0;
  padding: 12px;
}

.meos-page.active {
  display: block;
}

.meos-breadcrumb {
  margin-bottom: 12px;
  padding: 12px;
  color: var(--meos-blue-soft);
  background: var(--meos-subtle-bg);
  border: 1px solid var(--meos-subtle-border);
  font-size: 12px;
}

.meos-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.meos-tile {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--meos-blue);
  box-shadow: none;
}

.meos-tile:hover {
  background: var(--meos-blue-dark);
}

.meos-tile-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
}

.meos-tile-icon.person::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.meos-tile-icon.person::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 1px;
  width: 24px;
  height: 18px;
  border-radius: 16px 16px 4px 4px;
  background: #fff;
}

.meos-tile-icon.vehicle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 28px;
  height: 12px;
  border-radius: 5px 5px 3px 3px;
  background: #fff;
}

.meos-tile-icon.vehicle::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 23px;
  width: 20px;
  height: 7px;
  border-left: 6px solid #fff;
  border-right: 6px solid #fff;
}

.meos-tile-icon.report {
  border: 2px solid #fff;
}

.meos-tile-icon.report::before,
.meos-tile-icon.report::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  background: #fff;
}

.meos-tile-icon.report::before {
  top: 10px;
}

.meos-tile-icon.report::after {
  top: 18px;
}

.meos-tile-icon.lock::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 13px;
  width: 20px;
  height: 17px;
  background: #fff;
}

.meos-tile-icon.lock::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 1px;
  width: 14px;
  height: 16px;
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.meos-panel {
  padding: 18px;
  background: var(--meos-panel-bg);
  border: 1px solid var(--meos-line);
  border-radius: 6px;
  box-shadow: var(--meos-shadow);
}

.meos-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
}

.meos-panel p {
  margin: 6px 0 0;
  color: var(--meos-secondary-text);
}

.meos-panel small {
  display: block;
  margin-top: 8px;
  color: var(--meos-small-text);
  font-size: 11px;
  text-decoration: underline;
}

.meos-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
  gap: 14px;
}

.meos-note-form {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.meos-note-form label {
  font-size: 24px;
}

.meos-note-form textarea {
  min-height: 46px;
  resize: vertical;
}

.meos-note-form textarea,
.meos-search-row input,
.meos-search-row select,
.meos-inline-search input {
  width: 100%;
  border: 1px solid var(--meos-input-border);
  border-radius: 2px;
  padding: 10px 11px;
  background: var(--meos-input-bg);
  color: var(--meos-text);
}

.meos-primary,
.meos-secondary {
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  padding: 8px 14px;
  font-weight: 700;
}

.meos-primary {
  color: #fff;
  background: var(--meos-green);
}

.meos-secondary {
  color: #fff;
  background: var(--meos-blue);
}

.meos-feed {
  margin-top: 20px;
  border-top: 1px solid var(--meos-feed-border);
}

.meos-feed p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--meos-feed-border);
  color: var(--meos-secondary-text);
}

.meos-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}

.meos-search-preview {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.meos-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.meos-section-head h2 {
  font-size: 24px;
}

.meos-section-head p {
  color: var(--meos-muted);
}

.meos-count {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #fff;
  background: var(--meos-blue);
  border-radius: 4px;
  font-weight: 700;
}

.meos-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  margin-bottom: 18px;
}

.meos-search-row.one {
  grid-template-columns: minmax(0, 1fr);
}

.meos-search-row label {
  display: grid;
  gap: 6px;
  color: var(--meos-muted);
  font-size: 12px;
}

.meos-results {
  display: grid;
  gap: 10px;
}

.meos-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--meos-card-border);
  border-radius: 4px;
  padding: 14px;
  background: var(--meos-elevated-bg);
  color: var(--meos-text);
  transform-origin: center;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

button.meos-result-card {
  width: 100%;
  text-align: left;
  font: inherit;
}

.meos-result-card[data-open-profile],
.meos-result-card[data-owner-profile] {
  cursor: pointer;
}

.meos-result-card[data-open-profile]:hover,
.meos-result-card[data-owner-profile]:hover,
.meos-result-card[data-open-profile]:focus-visible,
.meos-result-card[data-owner-profile]:focus-visible {
  z-index: 1;
  border-color: var(--meos-blue-soft);
  box-shadow: 0 10px 24px rgba(0, 68, 128, 0.16);
  transform: scale(1.01);
  outline: none;
}

.meos-person-row {
  grid-template-columns: minmax(0, 1fr);
}

.meos-person-row.wanted {
  border-color: #d84545;
  background: linear-gradient(90deg, rgba(216, 69, 69, 0.16), var(--meos-elevated-bg) 40%);
  box-shadow: inset 4px 0 0 #d84545;
}

.meos-person-row.wanted:hover,
.meos-person-row.wanted:focus-visible {
  border-color: #d02c2c;
  box-shadow: inset 4px 0 0 #d02c2c, 0 10px 24px rgba(160, 24, 24, 0.18);
}

.meos-result-card strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.meos-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.meos-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--meos-card-border);
  border-radius: 4px;
  color: var(--meos-chip-text);
  background: var(--meos-chip-bg);
  font-size: 12px;
}

.meos-chip.warning {
  border-color: #f0d08a;
  color: #6d4e05;
  background: #fff7df;
}

.meos-chip.danger {
  border-color: #ecb3b3;
  color: #8b1e1e;
  background: #fff0f0;
}

.meos-chip.ok {
  border-color: #bfe7d5;
  color: #0c6844;
  background: #effcf6;
}

html[data-meos-theme="dark"] .meos-chip.warning {
  border-color: #8b6b22;
  color: #f2d38a;
  background: #332813;
}

html[data-meos-theme="dark"] .meos-chip.danger {
  border-color: #8d3636;
  color: #ffb8b8;
  background: #351919;
}

html[data-meos-theme="dark"] .meos-chip.ok {
  border-color: #247553;
  color: #91e7c2;
  background: #123124;
}

html[data-meos-theme="dark"] .meos-person-row.wanted {
  border-color: #e05a5a;
  background: linear-gradient(90deg, rgba(224, 90, 90, 0.22), var(--meos-elevated-bg) 46%);
  box-shadow: inset 4px 0 0 #e05a5a;
}

.meos-profile-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.meos-profile-toolbar span {
  color: var(--meos-muted);
  font-size: 12px;
}

.meos-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 14px 18px;
}

.meos-profile-col {
  display: grid;
  gap: 14px;
}

.meos-card-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.meos-card-title h2 {
  font-size: 25px;
}

.meos-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.meos-info-field {
  padding-bottom: 8px;
  border-bottom: 1px dotted #8f9aa7;
}

.meos-info-field span,
.meos-table-label {
  display: block;
  color: var(--meos-label-text);
  font-size: 12px;
}

.meos-info-field strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 400;
}

.meos-license-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.meos-license-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--meos-license-border);
  border-radius: 4px;
  background: var(--meos-elevated-bg);
  box-shadow: var(--meos-license-shadow);
}

.meos-vehicle-tabs,
.meos-date-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--meos-card-border);
}

.meos-vehicle-tabs button,
.meos-date-tabs button {
  flex: 1 0 auto;
  min-width: 128px;
  border: 0;
  padding: 12px;
  color: var(--meos-tab-text);
  background: var(--meos-panel-bg);
  border-bottom: 3px solid transparent;
}

.meos-vehicle-tabs button.active,
.meos-date-tabs button.active {
  color: var(--meos-blue-soft);
  border-bottom-color: var(--meos-blue-soft);
}

.meos-table {
  width: 100%;
  border-collapse: collapse;
}

.meos-table th,
.meos-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--meos-table-border);
  text-align: left;
  vertical-align: top;
}

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

.meos-record-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 32%);
  gap: 22px;
  padding-top: 14px;
}

.meos-empty {
  padding: 18px;
  border: 1px dashed var(--meos-empty-border);
  border-radius: 4px;
  color: var(--meos-muted);
  background: var(--meos-subtle-bg);
}

.meos-warrant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meos-warrant-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  border-color: #d84545;
  background: linear-gradient(90deg, rgba(216, 69, 69, 0.12), var(--meos-elevated-bg) 42%);
  box-shadow: inset 4px 0 0 #d84545;
}

.meos-warrant-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.meos-warrant-card h3,
.meos-warrant-card p {
  margin: 0;
}

.meos-warrant-card h3 {
  font-size: 19px;
}

.meos-warrant-card p {
  margin-top: 4px;
  color: var(--meos-muted);
  font-size: 12px;
  font-weight: 700;
}

.meos-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.meos-status.active {
  background: var(--meos-green);
}

.meos-status.standby {
  background: var(--meos-yellow);
}

.meos-status.high {
  background: var(--meos-red);
}

.meos-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.meos-detail-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}

.meos-detail-list dt {
  color: var(--meos-muted);
}

.meos-detail-list dd {
  margin: 0;
}

@media (max-width: 1100px) {
  .meos-tile-grid,
  .meos-warrant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meos-dashboard-grid,
  .meos-profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .meos-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .meos-sidebar {
    position: fixed;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform 160ms ease;
  }

  body.sidebar-open .meos-sidebar {
    transform: translateX(0);
  }

  .meos-menu-button {
    display: inline-flex;
  }

  .meos-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .meos-topbar-actions {
    gap: 0;
  }

  .meos-theme-toggle {
    width: 42px;
  }

  .meos-discord-profile {
    min-width: 48px;
    grid-template-columns: 32px;
    padding: 8px;
  }

  .meos-discord-profile-copy,
  .meos-profile-action {
    display: none;
  }

  .meos-tile-grid,
  .meos-search-row,
  .meos-info-grid,
  .meos-record-body,
  .meos-result-card,
  .meos-warrant-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .meos-inline-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .meos-section-head,
  .meos-profile-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}
