.reporter-mobile-header, .reporter-tabs { display: none; }
.reporter-home { display: grid; gap: 24px; }
.reporter-welcome { background: #b9eae3; border-radius: 28px; padding: 32px; position: relative; overflow: hidden; }
.reporter-welcome .eyebrow { color: #235850; }
.reporter-welcome h1 { margin: 16px 0 12px; color: #163c38; }
.reporter-welcome p { color: #38635e; }
.live-clock { display: grid; gap: 6px; margin-top: 24px; font-size: 12px; }
.live-clock strong { font-size: 23px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.usage-shortcut { display: flex; align-items: center; gap: 14px; padding: 20px; background: white; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); }
.usage-shortcut > span:nth-child(2) { flex: 1; }
.usage-shortcut small { display: block; color: var(--muted); margin-top: 4px; }
.incident-section h2 { margin: 7px 0; font-size: 23px; }
.incident-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.incident-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 22px; color: #172d49; background: #e3efef; min-width: 0; }
.incident-action > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #ffffffaa; }
.incident-action strong { overflow-wrap: anywhere; }
.incident-action > .icon { align-self: flex-end; width: 17px; }
.incident-action.tone-1 { background: #edf2cc; }
.incident-action.tone-2 { background: #fae5d7; }
.incident-action.tone-3 { background: #e7e5f8; }
.incident-action:hover { box-shadow: inset 0 0 0 2px var(--primary); }
@media (max-width: 900px) {
  .reporter-shell { background: #f8faf8; }
  .reporter-shell .sidebar, .reporter-shell .topbar, .reporter-shell .drawer-scrim { display: none; }
  .reporter-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 22px 20px; gap: 16px; }
  .reporter-identity { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
  .reporter-identity .avatar { background: #d7eee7; color: #234d45; width: 46px; height: 46px; }
  .reporter-identity small { color: var(--muted); font-size: 11px; }
  .reporter-identity strong { display: flex; align-items: center; gap: 4px; font-size: 16px; }
  .reporter-identity strong .icon { width: 15px; }
  .mobile-bell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce6e0; border-radius: 50%; color: var(--ink); flex: none; }
  .unread-dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; background: #b63339; border-radius: 50%; }
  .reporter-tabs { display: flex; margin: 0 20px 6px; border-radius: 99px; padding: 5px; background: white; border: 1px solid #e1e7df; gap: 4px; }
  .reporter-tabs a { flex: 1; text-align: center; padding: 12px 5px; border-radius: 99px; color: #4d5b51; font-size: 12px; }
  .reporter-tabs a[aria-current] { background: #ddf26b; color: #20361f; font-weight: 700; }
  .reporter-shell .preview-label { font-size: 9px; margin-bottom: 14px; }
  .reporter-welcome { padding: 26px; }
  .reporter-welcome h1 { font-size: 30px; }
  .incident-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .incident-action { padding: 10px 4px; gap: 8px; }
}
.reporter-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.mobile-guide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 44px; min-height: 44px; color: var(--ink); font-size: 10px; }
@media (max-width: 900px) {
  .reporter-mobile-header { gap: 8px; padding-inline: 16px; }
  .reporter-identity { gap: 8px; }
  .reporter-identity > span:last-child { min-width: 0; }
  .reporter-identity strong { font-size: 14px; }
  .reporter-identity .avatar { width: 36px; height: 36px; }
  .reporter-header-actions { gap: 7px; }
  .reporter-shell .usage-shortcut { display: none; }
  .incident-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .incident-action { padding: 10px 4px; border-radius: 15px; gap: 8px; align-items: center; text-align: center; }
  .incident-action > span { width: 36px; height: 36px; border-radius: 12px; }
  .incident-action > span .icon { width: 19px; height: 19px; }
  .incident-action strong { font-size: 10px; line-height: 1.35; font-weight: 600; }
  .incident-action > .icon { display: none; }
  .reporter-shell .notification { padding: 14px 0; gap: 10px; }
  .reporter-shell .notification .mini-icon { width: 30px; height: 30px; }
  .reporter-shell .notification .mini-icon .icon { width: 16px; height: 16px; }
  .reporter-shell .notification h3 { font-size: 13px; line-height: 1.4; }
  .reporter-shell .notification p { font-size: 11px; margin: 6px 0; }
  .reporter-shell .notification small { font-size: 10px; }
  .reporter-shell .card:has(.notification) { padding: 14px; border-radius: 14px; }
  .reporter-shell .card:has(.notification) > .row { flex-wrap: wrap; gap: 5px; }
  .reporter-shell .card:has(.notification) h2 { font-size: 14px; }
  .reporter-shell .card:has(.notification) .btn { font-size: 10px; padding: 6px; }
}
.app-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: var(--navy);
  color: #c3d3e6;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px 15px 18px;
  z-index: 40;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px 24px;
}
.brand img {
  width: 42px;
  height: 47px;
  object-fit: contain;
}
.brand strong {
  font-size: 24px;
  letter-spacing: 1.5px;
  color: white;
  display: block;
  line-height: 1.3;
}
.brand small {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #adc4df;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #6285aa #ffffff08;
  scrollbar-gutter: stable;
}
.sidebar nav::-webkit-scrollbar { width: 6px; height: 6px; }
.sidebar nav::-webkit-scrollbar-track { background: #ffffff08; border-radius: 99px; }
.sidebar nav::-webkit-scrollbar-thumb { background: #6285aa; border-radius: 99px; }
.sidebar nav::-webkit-scrollbar-thumb:hover { background: #8eacca; }
.sidebar nav::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #89a7cb;
  margin: 16px 12px 12px;
}
.nav-link,
.nav-group > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #bfd0e6;
  margin-bottom: 5px;
  border: 0;
  background: transparent;
  width: 100%;
}
.nav-link:hover,
.nav-group > summary:hover {
  background: #ffffff0c;
}
.nav-link.active {
  background: #1c538d;
  color: white;
  font-weight: 650;
}
.nav-group > summary {
  list-style: none;
}
.nav-group > summary::-webkit-details-marker {
  display: none;
}
.nav-group > summary::after {
  content: "›";
  margin-left: auto;
  transform: rotate(90deg);
  font-size: 18px;
}
.nav-group[open] > summary::after {
  transform: rotate(-90deg);
}
.nav-group .nav-group,
.nav-group .nav-link {
  margin-left: 9px;
  width: calc(100% - 9px);
}
.nav-group .nav-group summary {
  font-size: 11px;
}
.nav-group .nav-link {
  font-size: 10px;
  padding: 10px 9px;
}
.sidebar-profile {
  margin-top: 20px;
  border-top: 1px solid #ffffff17;
  padding-top: 18px;
}
.sidebar-account {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ffffff08;
  border-radius: 10px;
  padding-right: 6px;
}
.sidebar-profile .profile-link {
  display: flex;
  gap: 10px;
  align-items: center;
  color: white;
  min-width: 0;
  flex: 1;
  padding: 12px;
  text-align: left;
  border-radius: 10px;
}
.sidebar-account-copy { min-width: 0; }
.sidebar-account-copy strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account-exit { display: grid; place-items: center; width: 36px; height: 44px; flex: none; padding: 8px; border: 0; border-radius: 8px; color: #c3d3e6; background: transparent; }
.sidebar-account-exit .icon { width: 18px; height: 18px; }
.sidebar-account-exit:hover, .sidebar-account .profile-link:hover { background: #ffffff0c; color: white; }
.sidebar-account :focus-visible { outline: 2px solid #c3d3e6; outline-offset: -3px; }
.sidebar-profile small {
  display: block;
  font-size: 10px;
  color: #adc3df;
}
.sidebar-profile .avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
  background: #2b5382;
  color: white;
}
.topbar {
  height: 80px;
  padding: 0 32px;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topbar small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.topbar h2 {
  font-size: 15px;
}
.workspace {
  min-width: 0;
}
.content {
  max-width: 1360px;
  margin: auto;
  padding: 30px 32px 50px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.preview-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}
.preview-label .icon {
  width: 14px;
  height: 14px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.catalog {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.catalog-tile {
  display: block;
  color: var(--ink);
  height: 190px;
}
.catalog-tile:hover {
  border-color: #9abbe9;
}
.catalog-tile h3 {
  margin: 20px 0 7px;
}
.catalog-tile p {
  font-size: 11px;
  color: var(--muted);
}
.catalog-hero {
  background: var(--navy);
  color: white;
  padding: 30px;
  border-radius: 17px;
}
.catalog-hero h2 {
  font-size: 27px;
  line-height: 1.3;
  margin: 16px 0;
}
.catalog-hero p {
  font-size: 12px;
  color: #bcd0e8;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}
.filters .field {
  min-width: 170px;
}
.filters .search {
  flex: 1;
  min-width: 210px;
}
.mobile-menu {
  display: none;
}
.drawer-scrim {
  display: none;
}
.footer-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
}
.summary-banner {
  padding: 28px;
  background: var(--navy);
  color: white;
  border-radius: 17px;
}
.summary-banner h2 {
  font-size: 26px;
  max-width: 380px;
}
.summary-banner p {
  color: #bcd0e8;
  font-size: 12px;
  margin: 13px 0 20px;
}
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 20px;
}
.drawer-close {
  display: none;
}
.mobile-brand {
  display: none;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 1150px) {
  .grid.stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: fixed;
    left: 0;
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .drawer-open .sidebar {
    transform: translateX(0);
  }
  .drawer-open .drawer-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #0b1f3b88;
    z-index: 30;
  }
  .mobile-menu,
  .drawer-close {
    display: inline-flex;
  }
  .drawer-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    color: white;
  }
  .topbar {
    padding: 0 18px;
    height: 70px;
  }
  .content {
    padding: 23px 20px 40px;
  }
  .report-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .grid.stats,
  .grid.three {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat strong {
    font-size: 25px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .content {
    padding: 22px 15px;
  }
  .catalog-hero {
    padding: 24px;
  }
  .catalog-hero h2 {
    font-size: 23px;
  }
  .grid.three > .card:not(.stat) {
    grid-column: 1/-1;
  }
  .topbar .badge {
    display: none;
  }
  .filters {
    align-items: stretch;
  }
  .filters .field {
    width: 100%;
    min-width: 0;
  }
  .filters .search {
    min-width: 0;
  }
  .page-heading .btn {
    min-height: 40px;
  }
  .login-form {
    padding: 25px 20px;
  }
  .login-form h1 {
    font-size: 28px;
  }
  .table-wrap {
    max-width: calc(100vw - 66px);
  }
}
