.app-shell .content > * {
  flex-shrink: 0;
  min-width: 0;
}
.app-shell .content > .reporter-home,
.app-shell .content > .news-page {
  width: 100%;
}
.app-shell .news-feed,
.app-shell .history-cards {
  grid-template-columns: minmax(0, 1fr);
}
.app-shell .page-heading {
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}
.app-shell .content > .grid.stats {
  margin-bottom: 20px;
}
.app-shell .page-heading .btn {
  flex: none;
}
.app-shell .stack {
  gap: 16px;
}
.app-shell .card {
  border-radius: var(--radius);
  box-shadow: none;
}
.app-shell .profile-setting-row {
  border-radius: 0;
}
.app-shell .page-heading > div {
  min-width: 0;
  flex: 1;
}
.app-shell .page-heading .eyebrow {
  display: none;
}
.app-shell .page-heading h1,
.section-page-heading h1 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.app-shell .page-heading p,
.section-page-heading p,
.page-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 6px;
  max-width: 680px;
}
.app-shell .page-heading .standalone-back {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--navy);
  border-radius: 50%;
  margin-top: -9px;
}
.app-shell .page-heading .standalone-back:hover {
  background: var(--primary-soft);
}
.app-shell .page-heading .standalone-back .icon {
  width: 24px;
  height: 24px;
}
.section-page-heading {
  margin-bottom: 20px;
}
.page-intro {
  margin: -8px 0 20px;
}
.app-shell .card-head h2,
.app-shell .card > h2 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.app-shell
  :is(.notice-page, .history-page, .features-page, .report-page, .guide-page) {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}
.app-shell .reporter-home,
.app-shell .news-page {
  max-width: 920px;
}
.app-shell
  .field
  :is(input:not([type="checkbox"]):not([type="radio"]), select) {
  height: var(--control-height);
}
.app-shell .field textarea {
  min-height: 96px;
}
.app-shell .filters {
  gap: 12px;
}
.app-shell .grid {
  gap: 16px;
}
.app-shell .table-wrap {
  max-width: 100%;
}
.app-shell .card h3 {
  font-weight: 600;
}
.app-shell .card > .card-head {
  flex-wrap: wrap;
}
.app-shell .page-heading h1 {
  overflow-wrap: anywhere;
}
.app-shell .table-foot {
  gap: 10px;
  flex-wrap: wrap;
}
.app-shell .stat .stat-icon {
  width: 34px;
  height: 34px;
  color: var(--navy);
}
.app-shell .stat .stat-icon .icon {
  width: 18px;
  height: 18px;
}
.app-shell .stat strong {
  font-size: 26px;
  letter-spacing: -0.6px;
  margin-top: 12px;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.app-shell .stat h3 {
  font-size: 13px;
  margin: 6px 0;
}
.app-shell .stat p {
  font-size: 11px;
  line-height: 1.5;
}
.app-shell .mini-icon {
  width: 34px;
  height: 34px;
  color: var(--navy);
}
.app-shell .mini-icon .icon {
  width: 18px;
  height: 18px;
}
.app-shell .reference-row,
.app-shell .recipient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}
.reference-row > .row {
  min-width: 0;
  flex: 1 1 200px;
}
.reference-row > .row > div {
  min-width: 0;
}
.reference-row h3,
.recipient-row h3 {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.reference-row .reference-actions {
  flex: 0 0 auto;
}
.app-shell .admin-shortcut {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--navy);
  background: var(--surface);
  min-width: 0;
}
.app-shell .admin-shortcut > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.app-shell .admin-shortcut:hover {
  background: var(--primary-soft);
  border-color: var(--muted);
}
.app-shell .admin-shortcut > .icon {
  flex: none;
  width: 24px;
  height: 24px;
}
.app-shell .admin-shortcut h3 {
  font-size: 14px;
}
.guide-tabs { margin-top: 0; }
.guide-page .guide-flow { margin-top: 0; }
.guide-page .guide-help { margin-top: 0; }
.guide-page .guide-notice { margin-top: 24px; }
.guide-flow {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.guide-flow li {
  position: relative;
  display: flex;
  align-items: start;
  gap: 16px;
  padding-bottom: 28px;
}
.guide-flow li:last-child {
  padding-bottom: 0;
}
.guide-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 6px;
  left: 17px;
  width: 1px;
  background: var(--border);
}
.guide-flow-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
}
.guide-flow h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 3px 0 6px;
}
.guide-flow p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}
.guide-notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--navy);
  background: var(--input-surface);
}
.guide-notice > .icon {
  color: var(--navy);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.guide-notice strong {
  font-size: 13px;
  color: var(--navy);
}
.guide-notice p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 4px;
}
.guide-help {
  margin-top: 28px;
}
.guide-help > h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.guide-help details {
  border-bottom: 1px solid var(--border);
}
.guide-help summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.guide-help summary::-webkit-details-marker {
  display: none;
}
.guide-help summary::after {
  content: "+";
  font-size: 18px;
}
.guide-help details[open] summary::after {
  content: "−";
}
.guide-help details p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 24px 16px 0;
}
.guide-policy ol { display: grid; gap: 20px; padding-left: 22px; margin: 18px 0; }
.guide-policy li::marker { color: var(--navy); font-weight: 600; }
.guide-policy h3 { font-size: 14px; line-height: 1.5; color: var(--navy); margin-bottom: 5px; }
.guide-policy li p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.guide-tabs > button { flex: 1 1 0; min-width: 0; padding-inline: 6px; white-space: normal; overflow-wrap: normal; }
.app-shell .news-search,
.app-shell .history-search {
  min-height: 44px;
  border-radius: 10px;
}
.app-shell .news-search input,
.app-shell .history-search input {
  padding-block: 10px;
  line-height: 22px;
}
.app-shell .feature-group h2 {
  font-size: 16px;
}
.app-shell .news-page-intro h1,
.app-shell .history-page > .section-page-heading h1 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
@media (max-width: 900px) {
  .app-shell .news-page-intro h1,
  .app-shell .history-page > .section-page-heading h1 {
    font-size: 16px;
  }
}
.app-shell .news-page-intro p {
  font-size: 13px;
}
.app-shell .news-results-heading h2 {
  font-size: 16px;
}
@media (max-width: 900px) {
  .app-shell .page-heading {
    flex-wrap: wrap;
  }
  .app-shell
    .field
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .app-shell .page-heading {
    flex-direction: row;
  }
  .app-shell .page-heading > .btn {
    margin-left: 0;
  }
  .app-shell .page-heading:has(> .standalone-back) > .btn {
    margin-left: 52px;
  }
  .app-shell .page-heading > div {
    flex-basis: calc(100% - 60px);
  }
  .app-shell .field :is(input[type="date"], input[type="datetime-local"]) {
    min-width: 0;
    width: 100%;
  }
  .app-shell .grid.three:has(.admin-shortcut) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 359px) {
  .app-shell .grid.stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

