.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 30px 34px 34px;
}
.panel--search { padding: 26px 26px 22px; }
.panel--prose { padding: 34px 40px 38px; }
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.icon-tile {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-tile--green { background: var(--green-tint); }
.icon-tile--orange { background: var(--orange-tint); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: #EEF1F7;
  color: var(--muted-2);
}
.badge--green { background: var(--green-tint); color: var(--green); }
.badge--orange { background: var(--orange-tint); color: var(--orange); }
.badge--pill { border-radius: 100px; }
@media (max-width: 900px) {
  .panel { padding: 24px 22px 26px; }
}

@media (max-width: 600px) {
  .panel { padding: 20px 16px 22px; border-radius: 14px; }
}

.toggle-group {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
}
.toggle-group button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.toggle-group button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(20, 33, 61, .12);
}
.badge--grey { background: var(--line-soft); color: var(--muted); }
.badge--blue { background: var(--brand-tint); color: var(--brand); }
.badge--red { background: #FDECEC; color: #C53B3B; }
.toast {
  position: fixed;
  inset: auto auto 24px 50%;
  margin: 0;
  border: 0;
  z-index: 300;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  box-shadow: 0 12px 30px rgba(20, 33, 61, .3);
  transform: translateX(-50%);
}
.toast[hidden] { display: none; }
.notice {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--brand-tint-2);
  font-size: 0.9688rem;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.notice svg { flex: 0 0 auto; margin-top: 1px; }
@media (max-width: 700px) {
  .toggle-group { width: 100%; }
  .toggle-group button { flex: 1; }
}

.icon-tile--sm { width: 40px; height: 40px; }
