.emergency-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #b42332;
  color: white;
  border: 2px solid white;
  border-radius: 99px;
  padding: 13px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 5px 20px #75172233;
  min-height: 48px;
}
.emergency-call:hover {
  background: #8f1926;
}
.reporter-shell .content {
  padding-bottom: 100px;
}
@media (max-width: 600px) {
  .emergency-call {
    bottom: 16px;
    right: 16px;
    padding: 12px 15px;
  }
}
.home-redesign {
  max-width: 920px;
  margin-inline: auto;
  gap: 24px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}
.home-redesign > section {
  min-width: 0;
}
.home-actions {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 0;
}
.home-section-heading h1 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.25px;
  margin: 0 0 5px;
  color: var(--navy);
  font-weight: 600;
}
.home-section-heading p {
  font-size: 12px;
  color: var(--muted);
}
.home-redesign .incident-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  margin: 24px 0 20px;
}
.home-redesign .incident-action {
  padding: 10px 3px;
  min-height: 100px;
  border: 0;
  border-radius: 14px;
  background: white;
  box-shadow: none;
  gap: 10px;
}
.home-redesign .incident-action > span {
  background: var(--primary-soft);
  color: var(--navy);
  border: 1px solid var(--border);
  width: 52px;
  height: 52px;
  border-radius: 17px;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-redesign .incident-action > span .icon {
  width: 24px;
  height: 24px;
}
.home-redesign .incident-action strong {
  min-height: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
@media (hover: hover) and (pointer: fine) {
  .home-redesign .incident-action:hover {
    background: transparent;
    box-shadow: none;
  }
  .home-redesign .incident-action:hover > span {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: translateY(-3px);
  }
}
.home-redesign .incident-action:focus-visible > span {
  background: var(--navy);
  color: white;
}
.home-redesign .incident-action:active > span {
  transform: scale(0.96);
}
.home-reassurance {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.home-reassurance .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.home-recent > header {
  margin-bottom: 14px;
}
.home-recent h2 {
  font-size: 17px;
  font-weight: 600;
}
.home-recent header > a {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
}
.home-recent header > a .icon {
  width: 14px;
}
.home-footnote {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
  margin-inline: auto;
}
.home-empty {
  padding: 28px 15px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.home-empty > .icon {
  display: block;
  margin: 0 auto 10px;
}
.home-empty strong {
  color: var(--ink);
}
.home-empty p {
  margin-top: 5px;
}
@media (max-width: 900px) {
  .reporter-mobile-header {
    background: white;
    padding-block: 18px 12px;
  }
  .reporter-identity small {
    font-size: 10px;
  }
  .reporter-identity strong {
    font-size: 14px;
    font-weight: 600;
  }
  .reporter-tabs {
    margin: 0;
    padding: 5px 16px 13px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    gap: 6px;
  }
  .reporter-tabs a {
    font-size: 11px;
    font-weight: 500;
    padding-block: 10px;
  }
  .reporter-shell:has(.home-redesign) .preview-label {
    display: none;
  }
  .reporter-shell:has(.home-redesign) .footer-note {
    display: none;
  }
  .home-redesign {
    gap: 22px;
  }
  .home-actions {
    padding: 0;
    border-radius: 0;
  }
  .home-redesign .incident-grid {
    gap: 8px 4px;
    margin-top: 14px;
    margin-bottom: 10px;
  }
  .home-redesign .incident-action {
    min-height: 0;
    padding: 0 1px;
    gap: 10px;
  }
  .home-redesign .incident-action > span {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }
  .home-redesign .incident-action > span .icon {
    width: 22px;
    height: 22px;
  }
  .home-redesign .incident-action strong {
    font-size: 10px;
  }
  .home-reassurance {
    font-size: 10px;
  }
  .home-recent h2 {
    font-size: 16px;
  }
  .emergency-call span {
    font-size: 0;
  }
  .emergency-call span::after {
    content: "Darurat";
    font-size: 12px;
  }
}
.feature-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 0;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}
.feature-back .icon {
  width: 18px;
  height: 18px;
}
.feature-back:hover {
  color: var(--primary);
}
.reporter-welcome {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 22px 24px;
}
.reporter-welcome .eyebrow {
  color: #b8d4f8;
}
.reporter-welcome h1 {
  color: white;
  font-size: 25px;
  margin: 8px 0;
}
.reporter-welcome p {
  color: #d1e0f3;
  font-size: 12px;
}
.live-clock {
  margin-top: 12px;
  gap: 2px;
  font-size: 11px;
}
.live-clock strong {
  font-size: 19px;
}
.incident-action,
.incident-action.tone-1,
.incident-action.tone-2,
.incident-action.tone-3 {
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.incident-action > span {
  background: var(--navy);
  color: white;
  flex: none;
}
.incident-action.incident-priority > span {
  background: #071e3b;
}
.incident-action.incident-critical > span {
  background: #b42332;
}
.incident-action.incident-critical {
  border-color: #b42332;
}
.incident-action strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
}
@media (max-width: 900px) {
  .reporter-shell {
    background: var(--canvas);
  }
  .reporter-identity .avatar {
    background: var(--navy);
    color: white;
  }
  .reporter-identity {
    flex: 1;
    min-width: 0;
  }
  .reporter-identity strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .reporter-identity strong .icon {
    display: none;
  }
  .reporter-header-actions {
    gap: 8px;
  }
  .reporter-header-actions .mobile-bell,
  .reporter-header-actions .mobile-guide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 0;
    border-radius: 0;
    color: var(--navy);
    font-size: 10px;
    line-height: 1.2;
  }
  .reporter-header-actions .icon {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
  }
  .reporter-header-actions .unread-dot {
    top: 5px;
    right: 13px;
  }
  .reporter-tabs a[aria-current] {
    background: var(--navy);
    color: white;
  }
  .reporter-home {
    gap: 16px;
  }
  .reporter-welcome {
    padding: 18px 20px;
    border-radius: 18px;
  }
  .reporter-welcome h1 {
    font-size: 23px;
    line-height: 1.2;
    margin: 7px 0;
  }
  .incident-section h2 {
    font-size: 20px;
  }
  .incident-grid {
    align-items: stretch;
  }
  .incident-action {
    min-height: 104px;
    padding: 12px 4px 9px;
    gap: 8px;
  }
  .incident-action > span {
    width: 36px;
    height: 36px;
  }
  .incident-action strong {
    width: 100%;
    font-size: 10px;
    line-height: 1.35;
  }
}

/* GARDA adaptation: brand row, identity/actions, centered home pill. */
@media (max-width: 900px) {
  .reporter-mobile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 18px;
    padding: 16px 20px 8px;
    background: #f3f4f6;
  }
  .reporter-brand-row,
  .reporter-greeting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }
  .reporter-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
  }
  .reporter-brand img {
    width: 27px;
    height: 31px;
    object-fit: contain;
  }
  .reporter-brand > span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1;
  }
  .reporter-brand small {
    display: block;
    font-size: 6px;
    letter-spacing: 0.6px;
    font-weight: 500;
    margin-top: 5px;
  }
  .reporter-brand-actions {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .reporter-date {
    color: var(--navy);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
  }
  .reporter-identity {
    gap: 8px;
    min-height: 48px;
  }
  .reporter-identity > .icon {
    width: 30px;
    height: 30px;
    color: #181d24;
  }
  .reporter-identity strong {
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.35px;
    color: #181d24;
  }
  .reporter-header-actions {
    gap: 12px;
  }
  .reporter-header-actions .mobile-bell,
  .reporter-header-actions .mobile-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 7px;
    width: auto;
    height: auto;
    min-width: 45px;
    min-height: 58px;
    border: 0;
    border-radius: 8px;
    color: #181d24;
    font-size: 10.5px;
    line-height: 1.3;
    white-space: nowrap;
  }
  .reporter-header-actions .icon {
    width: 28px;
    height: 28px;
  }
  .reporter-header-actions .unread-dot {
    background: #f7983f;
    width: 7px;
    height: 7px;
    top: 1px;
    right: calc(50% - 17px);
  }
  .reporter-tabs-band {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 16px 20px 20px;
    background: #f3f4f6;
    border-bottom: 1px solid #eceef1;
  }
  .reporter-tabs {
    display: flex;
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 5px;
    background: #fff;
    border: 1px solid #e7e9ed;
    box-shadow: 0 2px 8px #172d4905;
    gap: 4px;
    border-radius: 99px;
    min-height: 58px;
  }
  .reporter-tab-indicator {
    position: absolute;
    z-index: 0;
    border-radius: 99px;
    background: var(--navy);
    pointer-events: none;
    transform-origin: left center;
  }
  .reporter-tabs a {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 12px 5px;
    background: transparent;
    color: #242a32;
    font-size: 14px;
    font-weight: 400;
    border-radius: 99px;
    transition:
      color 220ms ease,
      background-color 220ms ease,
      transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reporter-tabs a[aria-current] {
    border-radius: 99px;
    background: transparent;
    color: white;
    font-weight: 600;
  }
  @media (hover: hover) and (pointer: fine) {
    .reporter-tabs a:not([aria-current]):hover {
      background: #e6edf5;
      color: var(--navy);
    }
  }
  .reporter-tabs a:active {
    transform: scale(0.97);
  }
  .reporter-independent .reporter-mobile-header,
  .reporter-independent .reporter-tabs-band {
    display: none;
  }
}
@media (max-width: 359px) {
  .reporter-mobile-header {
    padding-inline: 16px;
  }
  .reporter-tabs-band {
    padding-inline: 16px;
  }
  .reporter-header-actions {
    gap: 7px;
  }
  .reporter-greeting-row {
    gap: 6px;
  }
  .reporter-identity strong {
    font-size: 14px;
  }
}

/* Main reporter content is intentionally section-based, not nested cards. */
@media (max-width: 900px) {
  .home-redesign {
    gap: 8px;
  }
  .reporter-shell:has(.home-redesign) .content {
    padding-top: 22px;
  }
  .home-redesign .incident-action > span {
    width: 58px;
    height: 58px;
    border: 0;
    color: var(--navy);
    background: var(--primary-soft);
  }
  .home-redesign .incident-action strong {
    font-size: 12px;
    font-weight: 600;
  }
  .home-redesign .incident-grid {
    row-gap: 18px;
  }
  .home-redesign .home-reassurance {
    border-top: 0;
    padding-top: 4px;
  }
}

@media (min-width: 901px) {
  .reporter-tabs-band {
    display: none;
  }
}
@media (max-width: 900px) {
  .home-redesign .incident-action > span .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.9;
    color: inherit;
  }
  .reporter-header-actions .icon {
    stroke-width: 1.8;
  }
  .home-redesign .incident-grid {
    row-gap: 28px;
  }
}

.report-summary {
  min-width: 0;
}
.report-summary > header {
  margin-bottom: 12px;
}
.report-summary h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.summary-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 0;
}
.summary-track::-webkit-scrollbar {
  display: none;
}
.summary-slide {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 20px 37px minmax(40px, auto);
  row-gap: 4px;
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
  min-height: 132px;
  padding: 12px 16px;
  border-radius: 16px;
  color: white;
  background: var(--navy);
  scroll-snap-align: start;
  overflow: hidden;
}
.summary-slide[data-summary-slide="1"] {
  background: #dfe5ec;
  color: var(--navy);
}
.summary-slide[data-summary-slide="2"] {
  background: #345574;
}
.summary-slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 240px;
  right: -115px;
  top: -55px;
  border-radius: 48%;
  transform: rotate(-28deg);
  background: linear-gradient(135deg, #ffffff3d, #ffffff08);
  box-shadow: -26px 12px 0 #ffffff12;
  pointer-events: none;
}
.summary-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.summary-topline .icon {
  width: 19px;
  height: 19px;
}
.summary-topline > .icon:last-child {
  margin-left: auto;
  width: 16px;
  height: 16px;
}
.summary-slide > strong {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.summary-slide small {
  font-size: 14px;
  margin: 0;
  line-height: 1.45;
}
.summary-dots {
  display: none;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}
.summary-dots button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 28px;
  border: 0;
  background: none;
  padding: 0;
}
.summary-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d7dc;
}
.summary-dots [aria-current="true"] span {
  width: 7px;
  height: 7px;
  background: #17252e;
}
@media (max-width: 900px) {
  .summary-slide {
    flex-basis: 82%;
    min-height: 132px;
    padding: 12px 16px;
  }
  .summary-dots {
    display: flex;
  }
  .report-summary h2 {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign .incident-action > span,
  .reporter-tabs a {
    transition: none;
    animation: none;
  }
  .home-redesign .incident-action:hover > span,
  .home-redesign .incident-action:active > span,
  .reporter-tabs a:hover,
  .reporter-tabs a:active {
    transform: none;
  }
}
