.blank-panel--restored-app {
  min-height: calc(100dvh - var(--shell-topbar-height) - var(--app-footer-height) - 32px);
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.blank-panel--restored-app::before {
  display: none;
}

.restored-app-shell {
  display: grid;
  gap: 18px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 18px 0;
}

.restored-app-card {
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 96%, transparent), color-mix(in srgb, var(--bg) 94%, transparent));
  padding: 18px;
  box-shadow: inset 0 1px #ffffff0d;
}

.restored-app-card__eyebrow,
.restored-panel-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coastal-blue-strong);
}

.restored-app-card__title {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 1.95vw, 2rem);
  line-height: 1.08;
  color: var(--text-strong);
}

.restored-app-card__body {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.62;
  color: color-mix(in srgb, var(--text) 90%, white 10%);
  max-width: 72ch;
}

.restored-app-status,
.restored-app-feedback {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 12px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 86%, white 14%);
}

.restored-app-status[data-tone="success"],
.restored-app-feedback[data-tone="success"] {
  border-color: color-mix(in srgb, var(--ok) 38%, var(--border));
  background: color-mix(in srgb, var(--ok-subtle) 68%, var(--bg-elevated) 32%);
  color: var(--ok);
}

.restored-app-status[data-tone="error"],
.restored-app-feedback[data-tone="error"] {
  border-color: color-mix(in srgb, var(--danger) 38%, var(--border));
  background: color-mix(in srgb, var(--danger-subtle) 68%, var(--bg-elevated) 32%);
  color: var(--danger);
}

.restored-signin-card {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 28%, var(--border));
  background: color-mix(in srgb, var(--coastal-blue-deep) 74%, var(--bg-elevated) 26%);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.restored-signin-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-signin-card__body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 90%, white 10%);
}

.restored-empty-state {
  display: grid;
  gap: 10px;
}

.restored-empty-state__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-empty-state__body {
  font-size: 0.92rem;
  line-height: 1.58;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.restored-field__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.restored-select {
  min-height: 48px;
}

.restored-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  padding: 0 12px;
}

.restored-search__icon,
.restored-search__clear {
  width: 18px;
  height: 18px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.restored-search__icon svg,
.restored-search__clear svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restored-search__input {
  min-height: 44px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.restored-search__input:focus {
  box-shadow: none;
}

.restored-search__clear {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.restored-notifications__hero {
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 96%, transparent), color-mix(in srgb, var(--bg) 94%, transparent));
  box-shadow: inset 0 1px #ffffff0d;
}

.restored-notifications__hero {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.restored-notifications__hero-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.restored-notifications__hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 42%, var(--border));
  background: color-mix(in srgb, var(--coastal-blue-deep) 88%, var(--bg) 12%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  flex: 0 0 auto;
}

.restored-notifications__hero-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restored-notifications__hero-copy {
  min-width: 0;
}

.restored-notifications__hero-title {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.restored-notifications__hero-body {
  margin: 5px 0 0;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
  font-size: 0.72rem;
  line-height: 1.58;
}

.restored-notifications__toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.restored-notifications__toolbar .restored-app-status {
  flex: 1 1 320px;
  margin-top: 0;
}

.restored-notifications__mark-all {
  margin-top: 0;
  min-height: 32px;
  padding-inline: 12px;
  border-radius: 12px;
}

.restored-notifications__content {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.restored-notifications__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
}

.restored-notifications__tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  min-height: 52px;
  padding: 12px 10px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition:
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.restored-notifications__tab:hover,
.restored-notifications__tab:focus-visible {
  color: var(--text-strong);
}

.restored-notifications__tab.is-active {
  color: var(--coastal-blue-strong);
  border-bottom-color: var(--coastal-blue);
}

.restored-notifications__tab-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.restored-notifications__tab-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restored-notifications__tab-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  color: var(--text-strong);
  font-size: 0.76rem;
}

.restored-notifications__empty {
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  padding: 18px;
  text-align: center;
}

.restored-notifications__empty-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-notifications__empty-body {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 86%, white 14%);
}

.restored-notifications__list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.restored-notification-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 94%, transparent), color-mix(in srgb, var(--bg) 90%, transparent));
  border-radius: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px #ffffff0d;
  transition:
    transform var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    opacity var(--duration-fast) ease;
}

.restored-notification-card.is-unread {
  border-color: color-mix(in srgb, var(--coastal-blue) 40%, var(--border));
}

.restored-notification-card:hover,
.restored-notification-card:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--coastal-blue) 28%, var(--border));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 96%, transparent), color-mix(in srgb, var(--bg-elevated) 88%, transparent));
  box-shadow: inset 0 1px #ffffff10;
  outline: none;
}

.restored-notification-card:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.restored-notification-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--coastal-blue-deep) 78%, var(--bg-elevated) 22%);
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 32%, var(--border));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  font-size: 0.96rem;
  font-weight: 700;
}

.restored-notification-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.restored-notification-card__body {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.restored-notification-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
}

.restored-notification-card__copy {
  font-size: 0.8rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-notification-card__subject {
  font-size: 0.78rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 82%, white 18%);
}

.restored-notification-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.restored-notification-card__pill,
.restored-notification-card__time,
.restored-notification-card__action {
  font-size: 0.72rem;
  font-weight: 700;
}

.restored-notification-card__pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--coastal-blue-deep) 76%, transparent);
  color: var(--coastal-blue-strong);
}

.restored-notification-card__time {
  color: var(--muted);
}

.restored-notification-card__action {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 22%, var(--border) 78%);
  background: color-mix(in srgb, var(--coastal-blue-deep) 70%, transparent);
  color: var(--coastal-blue-strong);
  box-shadow: inset 0 1px #ffffff10;
}

.restored-notification-card:disabled .restored-notification-card__action {
  border-color: color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  color: var(--muted);
}

.restored-notification-card__new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--coastal-blue-deep) 76%, transparent);
  color: var(--text-strong);
  font-size: 0.7rem;
  font-weight: 700;
}

.restored-notification-card__new::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--coastal-blue-strong);
}

.restored-regulations__controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.restored-regulations__overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: start;
}

.restored-regulations__overview-title {
  font-size: clamp(1.45rem, 1.85vw, 1.9rem);
  font-weight: 700;
  color: var(--text-strong);
}

.restored-regulations__overview-body {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-regulations__overview-count {
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}

.restored-regulations__overview-count-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1;
}

.restored-regulations__overview-count-label {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.restored-regulations__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.restored-regulations__chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  font-size: 0.76rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-regulations__list {
  display: grid;
  gap: 12px;
}

.restored-regulation-card {
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--coastal-blue) 8%, transparent) 0, transparent 28%),
    color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.restored-regulation-card__top {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.restored-regulation-card__media {
  width: 108px;
  height: 108px;
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}

.restored-regulation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.restored-regulation-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
}

.restored-regulation-card__zone {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.restored-regulation-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.restored-regulation-card__badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
}

.restored-regulation-card__badge[data-tone="allowed"] {
  background: color-mix(in srgb, var(--ok-subtle) 68%, var(--bg-elevated) 32%);
  color: var(--ok);
}

.restored-regulation-card__badge[data-tone="restricted"] {
  background: color-mix(in srgb, #f7c948 20%, var(--bg-elevated) 80%);
  color: #f7c948;
}

.restored-regulation-card__badge[data-tone="prohibited"],
.restored-regulation-card__badge[data-tone="closed"] {
  background: color-mix(in srgb, var(--danger-subtle) 68%, var(--bg-elevated) 32%);
  color: var(--danger);
}

.restored-regulation-card__badge[data-tone="placeholder"] {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  color: var(--muted);
}

.restored-regulation-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.restored-regulation-card__stat {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 10px;
}

.restored-regulation-card__stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.restored-regulation-card__stat-value {
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
}

.restored-regulation-card__body {
  font-size: 0.84rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-regulation-card__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.restored-regulation-card__source {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--coastal-blue-strong);
}

.restored-fish-id__upload-stage {
  width: 100%;
  min-height: 236px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--panel-strong) 96%, transparent);
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 1px #ffffff0d;
}

.restored-fish-id__content-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.restored-fish-id__content-card > .restored-panel-label {
  display: block;
  margin-bottom: 14px;
}

.restored-fish-id__upload-empty {
  width: 100%;
  min-height: 214px;
  border-radius: 18px;
  border: 1.5px dashed color-mix(in srgb, var(--coastal-blue) 48%, var(--border));
  background: color-mix(in srgb, var(--bg) 44%, transparent);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
}

.restored-fish-id__upload-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--coastal-blue-deep) 74%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  margin: 0 auto 12px;
}

.restored-fish-id__upload-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restored-fish-id__upload-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-fish-id__upload-body {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 86%, white 14%);
  max-width: 30rem;
}

.restored-fish-id__preview {
  width: 100%;
  max-height: 214px;
  object-fit: contain;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
}

.restored-fish-id__location-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.restored-fish-id__location-pill {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
  text-align: center;
}

.restored-fish-id__location-pill[data-tone="success"] {
  border-color: color-mix(in srgb, var(--ok) 34%, var(--border));
  color: var(--ok);
}

.restored-fish-id__location-pill[data-tone="error"] {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
  color: var(--danger);
}

.restored-fish-id__location-button {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 48%, var(--border));
  background: color-mix(in srgb, var(--coastal-blue-deep) 86%, var(--bg) 14%);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px #ffffff12;
  transition:
    transform var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.restored-fish-id__location-button:hover,
.restored-fish-id__location-button:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--coastal-blue) 56%, var(--border));
  background: color-mix(in srgb, var(--coastal-blue-deep) 90%, var(--bg) 10%);
  box-shadow: inset 0 1px #ffffff14;
}

.restored-fish-id__location-button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restored-fish-id__location-meta,
.restored-fish-id__results-intro {
  margin-top: 12px;
  font-size: 0.74rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 84%, white 16%);
  text-align: center;
}

.restored-fish-id__submit {
  margin-top: 14px;
  width: 100%;
}

.restored-fish-id__summary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.restored-fish-id__summary-card,
.restored-fish-id__detection {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  padding: 14px;
  box-shadow: inset 0 1px #ffffff08;
}

.restored-fish-id__summary-top {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.restored-fish-id__summary-title,
.restored-fish-id__detection-title,
.restored-fish-id__candidate-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-fish-id__summary-subtitle,
.restored-fish-id__candidate-scientific,
.restored-fish-id__candidate-copy,
.restored-fish-id__summary-copy {
  margin-top: 6px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 86%, white 14%);
}

.restored-fish-id__score {
  width: 92px;
  min-width: 92px;
  min-height: 92px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 38%, var(--border));
  background: color-mix(in srgb, var(--coastal-blue-deep) 74%, transparent);
  display: grid;
  place-items: center;
  text-align: center;
}

.restored-fish-id__score-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-strong);
}

.restored-fish-id__score-label {
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coastal-blue-strong);
}

.restored-fish-id__nearby-species {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.restored-fish-id__nearby-species-item {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  font-size: 0.74rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 88%, white 12%);
}

.restored-fish-id__detections {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.restored-fish-id__candidate-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.restored-fish-id__candidate {
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.restored-fish-id__candidate-metrics {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.restored-fish-id__candidate-score {
  min-width: 62px;
  height: 62px;
  padding: 0 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--coastal-blue-deep) 74%, transparent);
  border: 1px solid color-mix(in srgb, var(--coastal-blue) 34%, var(--border));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-strong);
  font-size: 1.25rem;
  font-weight: 700;
}

.restored-fish-id__candidate-score span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coastal-blue-strong);
}

.restored-subscription__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.restored-subscription__highlight {
  padding: 8px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--coastal-blue-deep) 74%, transparent);
  color: var(--coastal-blue-strong);
  font-size: 0.76rem;
  font-weight: 700;
}

.restored-subscription__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.restored-subscription__feature {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  padding: 14px;
}

.restored-subscription__feature-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-strong);
}

.restored-subscription__feature-body {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 86%, white 14%);
}

.restored-subscription__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 820px) {
  .restored-regulations__controls,
  .restored-regulations__overview,
  .restored-subscription__feature-grid {
    grid-template-columns: 1fr;
  }

  .restored-regulation-card__top {
    grid-template-columns: 1fr;
  }

  .restored-regulation-card__media {
    width: 100%;
    height: min(56vw, 220px);
  }

  .restored-fish-id__candidate,
  .restored-fish-id__summary-top {
    grid-template-columns: 1fr;
  }

  .restored-fish-id__score,
  .restored-fish-id__candidate-score {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .restored-regulation-card__stats {
    grid-template-columns: 1fr;
  }

  .restored-subscription__actions .auth-button,
  .restored-regulations__locate {
    width: 100%;
  }
}
