﻿:root,
html[data-theme="light"] {
  --background: #f7f7f5;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-soft: #eeeeec;
  --text: #0a0a0a;
  --muted: #626762;
  --border: #7f857f;
  --border-subtle: #dde1dc;
  --accent: #20d806;
  --accent-soft: rgba(32, 216, 6, 0.14);
  --on-accent: #0a0a0a;
  --brand-header: #20d806;
  --on-brand-header: #0a0a0a;
  --focus: #0a0a0a;
  --error: #0a0a0a;
  --error-surface: #eeeeec;
  --overlay: rgba(10, 10, 10, 0.48);
  --selection: rgba(32, 216, 6, 0.24);
  --shadow-card: 0 6px 20px rgba(10, 10, 10, 0.06);
  --shadow-elevated: 0 14px 36px rgba(10, 10, 10, 0.1);
  --tabbar-bg: rgba(255, 255, 255, 0.94);

  --radius-control: 16px;
  --radius-card: 18px;
  --radius-header: 18px;
  --radius-dialog: 24px;
  --radius-icon: 14px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --compact-hero-height: 76px;

  /* Compatibility aliases for the existing component layer. */
  --bg: var(--background);
  --line: var(--border-subtle);
  --line-strong: var(--border);
  --brand: var(--text);
  --on-brand: #ffffff;
  --empty-bg: rgba(255, 255, 255, 0.72);
  --tab-icon-bg: var(--surface-soft);
  --shadow: var(--shadow-card);
  color-scheme: light;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html[data-theme="dark"] {
  --background: #080808;
  --surface: #121212;
  --surface-elevated: #1a1a1a;
  --surface-soft: #1e1e1e;
  --text: #ffffff;
  --muted: #b5b9b4;
  --border: #5c605c;
  --border-subtle: #30332f;
  --accent: #20d806;
  --accent-soft: rgba(32, 216, 6, 0.18);
  --on-accent: #0a0a0a;
  --brand-header: #20d806;
  --on-brand-header: #0a0a0a;
  --focus: #20d806;
  --error: #ffffff;
  --error-surface: #1e1e1e;
  --overlay: rgba(0, 0, 0, 0.72);
  --selection: rgba(32, 216, 6, 0.3);
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.28);
  --shadow-elevated: 0 16px 42px rgba(0, 0, 0, 0.46);
  --tabbar-bg: rgba(8, 8, 8, 0.94);

  --bg: var(--background);
  --line: var(--border-subtle);
  --line-strong: var(--border);
  --brand: var(--text);
  --on-brand: #0a0a0a;
  --empty-bg: rgba(18, 18, 18, 0.84);
  --tab-icon-bg: var(--surface-soft);
  --shadow: var(--shadow-card);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #20d806;
  opacity: 1;
  transition: opacity 220ms ease;
}

.startup-splash img {
  width: min(54vw, 260px);
  height: min(54vw, 260px);
  object-fit: contain;
  border-radius: 34px;
}

body.native-launch-splash .startup-splash {
  display: flex;
}

body.native-launch-splash.is-hiding-startup-splash .startup-splash {
  opacity: 0;
  pointer-events: none;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
}

::selection {
  background: var(--selection);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  border-color: var(--border-subtle);
  background: var(--surface-soft);
  color: var(--muted);
  cursor: not-allowed;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-error:not(:empty) {
  margin: 0;
  padding: 10px 12px;
  border: 2px dashed var(--error);
  border-radius: var(--radius-control);
  background: var(--error-surface);
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.app-shell {
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom));
}

.native-app .app-shell {
  padding-top: max(42px, env(safe-area-inset-top));
}

.hero {
  position: relative;
  min-height: max(var(--compact-hero-height), calc(52px + env(safe-area-inset-top)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  border: 0;
  border-radius: var(--radius-header);
  background: var(--brand-header);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .hero {
  background: var(--brand-header);
}

.technical-message {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.technical-message[hidden] {
  display: none;
}

.technical-message strong,
.technical-message p {
  margin: 0;
}

.technical-message p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.technical-message[data-severity="warning"] {
  border-color: #c58a00;
  background: color-mix(in srgb, #ffbf24 12%, var(--surface));
}

.technical-message[data-severity="critical"] {
  border-color: #d32626;
  background: color-mix(in srgb, #e53935 10%, var(--surface));
}

.hero-copy {
  display: flex;
  min-height: max(var(--compact-hero-height), calc(52px + env(safe-area-inset-top)));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  color: var(--on-brand-header);
}

.hero-brand,
.hero-actions {
  display: flex;
  align-items: center;
}

.hero-brand {
  min-width: 0;
  gap: 0;
}

.hero-logo-tile {
  display: block;
  flex: 0 0 auto;
  width: 122px;
  height: 54px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.hero-logo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.hero-actions {
  flex: 0 0 auto;
  gap: 7px;
}

.hero-action-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  color: #050505;
  backdrop-filter: blur(12px);
}

.hero-action-button:hover,
.hero-action-button:focus-visible {
  border-color: #050505;
  background: rgba(255, 255, 255, 0.74);
  outline: none;
}

.hero-action-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid var(--brand-header);
  border-radius: 999px;
  background: #ef2b2d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.hero-notification-count[hidden] {
  display: none;
}

.hero-copy h1,
.hero-copy p,
.section-heading h2,
.section-heading span,
.event-card h3,
.event-card p,
.media-sheet h3,
.media-sheet p,
.price-row p {
  margin-top: 0;
}

.hero-copy h1 {
  max-width: 480px;
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.hero-copy h1,
.hero-copy p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.view {
  display: none;
}

.view.is-visible {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-bottom: 3px;
  font-size: 21px;
  line-height: 1.1;
}

.section-heading span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.with-back {
  align-items: flex-start;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 20px;
  font-weight: 700;
}

.quick-actions,
.event-list,
.mentor-list {
  display: grid;
  gap: 10px;
}

.section-action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 14px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.section-action-button span {
  font-size: 20px;
  line-height: 1;
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: -2px 0 14px;
  padding: 2px 0 5px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.filter-chip:focus-visible,
.quick-action:focus-visible,
.event-link:focus-visible,
.icon-button:focus-visible,
.tab-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.empty-state {
  margin: 0;
  padding: 24px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--empty-bg);
  color: var(--muted);
  text-align: center;
}

.quick-action,
.event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-action {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 14px;
  color: var(--text);
  text-align: left;
}

.quick-action.is-remotely-disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.quick-action.is-remotely-disabled .quick-chevron {
  display: none;
}

.tab-button.is-remotely-disabled {
  opacity: 0.48;
}

.quick-action-status {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quick-action:active,
.primary-button:active,
.event-link:active,
.icon-button:active,
.tab-button:active {
  transform: translateY(1px);
}

.quick-action strong {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.quick-icon-shell {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius-icon);
  background: var(--accent);
  color: var(--on-accent);
}

.quick-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-chevron {
  color: var(--muted);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.quick-action[data-tone="blue"] .quick-icon-shell,
.badge.blue,
.quick-action[data-tone="amber"] .quick-icon-shell,
.badge.amber,
.quick-action[data-tone="coral"] .quick-icon-shell,
.badge.coral,
.quick-action[data-tone="violet"] .quick-icon-shell {
  background: var(--accent);
  color: var(--on-accent);
}

.event-card {
  padding: 16px;
}

.event-card h3 {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.22;
}

.event-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.event-link,
.primary-button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--on-accent);
  font-weight: 700;
  transition: transform 140ms ease, opacity 140ms ease;
}

.event-link {
  margin-top: 14px;
  padding: 0 16px;
  background: var(--accent);
  font-size: 13px;
}

.event-link.secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-actions .event-link {
  margin-top: 0;
}

.course-heading {
  display: block;
  align-items: start;
  margin-bottom: 10px;
}

.course-heading .card-meta {
  margin-bottom: 7px;
}

.course-heading h3 {
  margin-bottom: 0;
}

.mentor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mentor-card.has-link {
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.mentor-card.has-link:hover,
.mentor-card.has-link:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
  outline: none;
}

.mentor-card h3,
.mentor-card p {
  margin: 0;
}

.mentor-card h3 {
  font-size: 16px;
}

.mentor-card p {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.mentor-card .mentor-tags {
  margin: 0;
}

.mentor-contact {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.ask-chat {
  display: flex;
  min-height: 280px;
  max-height: min(52vh, 560px);
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.ask-message {
  display: grid;
  align-self: flex-start;
  gap: 5px;
  width: fit-content;
  max-width: min(86%, 620px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.ask-message.is-user {
  align-self: flex-end;
  border-color: var(--accent);
  border-radius: 18px 18px 6px;
  background: var(--accent);
  color: var(--on-accent);
}

.ask-message.is-pending {
  color: var(--muted);
}

.ask-message-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

.ask-message-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ask-composer {
  position: sticky;
  bottom: 82px;
  z-index: 4;
  gap: 10px;
}

.ask-composer textarea {
  min-height: 64px;
  max-height: 150px;
  resize: vertical;
}

.ask-composer-actions {
  display: grid;
  grid-template-columns: minmax(96px, 0.42fr) minmax(150px, 1fr);
  gap: 10px;
}

.ask-clear-button,
.ask-send-button {
  min-height: 48px;
  border-radius: var(--radius-control);
  font-weight: 700;
}

.ask-clear-button {
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
}

.ask-clear-button:disabled {
  opacity: 0.45;
}

.primary-button {
  width: 100%;
  background: var(--accent);
}

.media-sheet {
  display: grid;
  gap: 14px;
}

.media-sheet h3 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1;
}

.media-sheet p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.media-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-stats article,
.price-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-stats article {
  min-height: 98px;
  padding: 13px;
}

.media-stats strong,
.media-stats span,
.price-row span,
.price-row strong,
.price-row p {
  display: block;
}

.media-stats strong {
  margin-bottom: 7px;
  font-size: 23px;
  line-height: 1;
}

.media-stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.price-row {
  padding: 15px;
}

.price-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.price-row strong {
  margin: 5px 0 3px;
  font-size: 32px;
  line-height: 1;
}

.feedback-form,
.request-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.request-form {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-note a {
  color: inherit;
  font-weight: 800;
}

.choice-field {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
}

.choice-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.choice-field span {
  display: grid;
  gap: 4px;
}

.choice-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.choice-field a {
  color: inherit;
  font-weight: 700;
}

.consent-field > span {
  display: block;
}

.consent-field a {
  display: inline;
}

.consent-field[hidden] {
  display: none;
}

.distribution-fields {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.distribution-fields[hidden] {
  display: none;
}

.distribution-fields legend {
  padding: 0 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.distribution-fields > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.distribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.distribution-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
}

.distribution-grid input,
.distribution-consent-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.distribution-consent-field {
  margin-top: 2px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  outline: 0;
}

input {
  min-height: 48px;
  padding: 0 12px;
}

select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: none;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 620px);
  padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--tabbar-bg);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.tab-button {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.tab-icon-shell {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: var(--radius-icon);
  background: var(--tab-icon-bg);
  color: var(--text);
}

.tab-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-label {
  overflow: hidden;
  max-width: 100%;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-button.is-active {
  background: var(--surface-soft);
  color: var(--text);
}

.tab-button.is-active .tab-icon-shell {
  background: var(--accent);
  color: var(--on-accent);
}

.notification-badge,
.notification-dot {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--surface);
  background: #ff1f3d;
  box-shadow: 0 8px 18px rgba(255, 31, 61, 0.28);
}

.notification-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.quick-action .notification-badge {
  top: 10px;
  right: 42px;
}

.tab-button .notification-badge {
  top: 3px;
  right: calc(50% - 25px);
}

.notification-dot {
  top: 5px;
  right: calc(50% - 22px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 20;
  width: min(calc(100% - 32px), 560px);
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: var(--shadow-elevated);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body[data-active-view="welcome"] .hero,
body[data-active-view="register"] .hero,
body[data-active-view="people"] .hero,
body[data-active-view="chat"] .hero,
body[data-active-view="profile"] .hero,
body[data-active-view="settings"] .hero,
body[data-active-view="about"] .hero {
  display: none;
}

body[data-active-view="welcome"] .tabbar,
body[data-active-view="register"] .tabbar {
  display: none;
}

.community-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.community-brand img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-icon);
}

.community-brand strong,
.community-brand span {
  display: block;
}

.community-brand strong {
  font-size: 20px;
}

.community-brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.welcome-view {
  min-height: calc(100vh - 56px - env(safe-area-inset-top));
}

.welcome-panel {
  position: relative;
  display: grid;
  min-height: min(620px, calc(100vh - 150px));
  align-content: center;
  gap: 18px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(32, 216, 6, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 216, 6, 0.36), transparent 27%),
    radial-gradient(circle at 15% 82%, rgba(32, 216, 6, 0.2), transparent 34%),
    linear-gradient(145deg, #050805 0%, #0b170c 54%, #020302 100%);
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

html[data-theme="dark"] .welcome-panel {
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 216, 6, 0.4), transparent 27%),
    radial-gradient(circle at 15% 82%, rgba(32, 216, 6, 0.22), transparent 34%),
    linear-gradient(145deg, #030503 0%, #091409 54%, #010201 100%);
  color: #ffffff;
}

.welcome-panel::before,
.welcome-panel::after {
  position: absolute;
  border: 1px solid rgba(32, 216, 6, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.welcome-panel::before {
  top: -92px;
  right: -76px;
  width: 250px;
  height: 250px;
  box-shadow: 0 0 70px rgba(32, 216, 6, 0.12) inset;
}

.welcome-panel::after {
  bottom: -128px;
  left: -96px;
  width: 300px;
  height: 300px;
}

.welcome-panel > * {
  position: relative;
  z-index: 1;
}

.welcome-kicker,
.welcome-panel h2,
.welcome-stat strong,
.welcome-stat span {
  margin: 0;
}

.welcome-kicker {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 4px solid var(--accent);
  color: #20d806;
  font-size: 15px;
  font-weight: 700;
}

.welcome-panel h2 {
  max-width: 460px;
  font-size: 42px;
  line-height: 1.02;
}

.welcome-stat {
  display: grid;
  gap: 3px;
  margin: 16px 0 20px;
}

.welcome-stat strong {
  font-size: 34px;
  color: #20d806;
}

.welcome-stat span {
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.text-button {
  width: fit-content;
  min-height: 40px;
  justify-self: center;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.vacancy-guidelines {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  font-size: 13px;
  line-height: 1.45;
}

.vacancy-guidelines p,
.vacancy-guidelines ul {
  margin: 0;
}

.vacancy-guidelines strong {
  margin-top: 5px;
}

.vacancy-guidelines ul {
  display: grid;
  gap: 3px;
  padding-left: 20px;
}

.welcome-rules-link,
.chat-guidelines-link {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.welcome-rules-link {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.chat-guidelines-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
}

.welcome-panel .primary-button {
  background: #20d806;
  color: #050505;
}

.text-button.danger {
  padding-inline: 12px;
  border: 2px dashed var(--error);
  border-radius: var(--radius-control);
  color: var(--error);
}

.profile-form {
  margin-bottom: 0;
}

.profile-photo-field {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.profile-photo-field strong,
.profile-photo-field small {
  display: block;
}

.profile-photo-field small {
  margin-top: 4px;
  color: var(--muted);
}

.profile-photo-preview {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-icon);
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 28px;
  font-weight: 900;
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.profile-photo-actions .secondary-button,
.profile-photo-actions .text-button {
  min-height: 36px;
}

.profile-photo-actions .text-button {
  justify-self: start;
}

.small-icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-icon);
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
}

.search-field {
  margin-bottom: 14px;
}

.global-search-results {
  border-top: 1px solid var(--line);
}

.global-search-result {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 15px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.global-search-result:hover,
.global-search-result:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.global-search-result span,
.global-search-result small {
  color: var(--muted);
}

.global-search-result strong {
  font-size: 15px;
}

.global-search-result small {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-list {
  display: grid;
  gap: 10px;
}

.person-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.person-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.person-heading img,
.person-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-icon);
}

.person-heading img {
  object-fit: cover;
}

.person-symbol,
.profile-person-icon {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 26px;
  font-weight: 700;
}

.person-card h3,
.person-card p {
  margin: 0;
}

.person-card h3 {
  font-size: 16px;
}

.person-card p,
.looking-for {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.person-organization {
  margin-top: 11px !important;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.profile-chip-row span,
.achievement-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.looking-for {
  margin-top: 11px !important;
}

.profile-identity,
.reputation-band,
.profile-section,
.profile-settings {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.profile-identity {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.profile-photo-button {
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-icon);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.profile-photo-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.profile-photo-button:active {
  transform: scale(0.98);
}

.profile-identity img,
.profile-person-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-icon);
  object-fit: cover;
}

.profile-identity h3,
.profile-identity p,
.profile-identity span,
.reputation-band h3,
.reputation-band p,
.profile-section h3 {
  margin: 0;
}

.profile-identity h3 {
  font-size: 20px;
}

.profile-identity p,
.profile-identity span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.profile-stats div {
  display: grid;
  gap: 2px;
  padding: 14px 8px;
  text-align: center;
}

.profile-stats div + div {
  border-left: 1px solid var(--line);
}

.profile-stats strong {
  font-size: 20px;
}

.profile-stats span,
.reputation-band > span,
.reputation-band p,
.profile-settings span,
.muted-copy {
  color: var(--muted);
  font-size: 12px;
}

.reputation-band h3 {
  margin-top: 5px;
  color: var(--text);
  font-size: 23px;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.reputation-band > strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.level-progress {
  height: 8px;
  overflow: hidden;
  margin: 13px 0 8px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.level-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.profile-section h3 {
  font-size: 15px;
}

.achievement-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.profile-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-settings strong,
.profile-settings span {
  display: block;
}

.push-settings {
  display: grid;
  align-items: stretch;
  gap: 14px;
}

.push-settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch-control {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 30px;
  cursor: pointer;
}

.switch-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch-control > span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  transition: background 160ms ease, border-color 160ms ease;
}

.switch-control > span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}

.switch-control input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}

.switch-control input:checked + span::after {
  transform: translateX(20px);
  background: #071105;
}

.switch-control input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.push-category-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.push-category-settings[hidden] {
  display: none;
}

.push-category-settings label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 750;
}

.push-category-settings input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.push-status,
.push-privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.push-status {
  font-weight: 750;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.profile-actions .section-action-button {
  width: 100%;
  margin: 0;
}

.profile-hero-card {
  position: relative;
  isolation: isolate;
  min-height: 214px;
  margin-bottom: 12px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: calc(var(--radius-card) + 8px);
  background: linear-gradient(135deg, #20d806 0%, #76f52c 56%, #31c80e 100%);
  color: #050505;
  box-shadow: var(--shadow-card);
}

.profile-hero-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -74px;
  bottom: -92px;
  width: 238px;
  height: 238px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(2px);
}

.profile-hero-toolbar,
.profile-hero-actions {
  display: flex;
  align-items: center;
}

.profile-hero-toolbar {
  justify-content: space-between;
  gap: 14px;
}

.profile-hero-actions {
  gap: 8px;
}

.profile-hero-photo,
.profile-header-action {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.14);
  background: rgba(255, 255, 255, 0.48);
  color: #050505;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.profile-hero-photo {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 20px;
}

.profile-hero-photo img,
.profile-hero-photo > span {
  width: 100%;
  height: 100%;
}

.profile-hero-photo img {
  object-fit: cover;
}

.profile-hero-photo > span {
  display: grid;
  place-items: center;
}

.profile-hero-photo svg {
  width: 37px;
  height: 37px;
}

.profile-header-action {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.profile-header-action svg {
  width: 28px;
  height: 28px;
}

.profile-hero-photo svg,
.profile-header-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-hero-photo:hover,
.profile-header-action:hover,
.profile-hero-photo:focus-visible,
.profile-header-action:focus-visible {
  border-color: #050505;
  background: rgba(255, 255, 255, 0.7);
  outline: none;
}

.profile-notification-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #20d806;
  border-radius: 999px;
  background: #ef2b2d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.profile-notification-count[hidden] {
  display: none;
}

.profile-hero-copy {
  display: grid;
  gap: 3px;
  margin-top: 30px;
}

.profile-hero-copy h2,
.profile-hero-copy p,
.profile-hero-copy span {
  margin: 0;
}

.profile-hero-copy h2 {
  max-width: 100%;
  font-size: clamp(28px, 7.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.profile-hero-copy p {
  font-size: 16px;
  font-weight: 850;
}

.profile-hero-copy span {
  color: rgba(5, 5, 5, 0.64);
  font-size: 13px;
  font-weight: 750;
}

.profile-hub,
.settings-group,
.about-app-card {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.profile-hub {
  display: grid;
}

.profile-hub[hidden] {
  display: none;
}

.profile-hub-row,
.settings-row {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.profile-hub-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}

.profile-hub-row + .profile-hub-row,
.settings-row + .settings-row {
  border-top: 1px solid var(--line);
}

.profile-hub-row:hover,
.profile-hub-row:focus-visible,
.settings-row:hover,
.settings-row:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.profile-hub-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-icon);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 21px;
  font-weight: 900;
}

.profile-hub-row > span:nth-child(2),
.profile-hub-row strong,
.profile-hub-row small {
  display: block;
}

.profile-hub-row strong {
  font-size: 14px;
}

.profile-hub-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.profile-hub-row > b,
.settings-row > b {
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
}

.settings-view,
.about-view {
  padding-bottom: 18px;
}

.settings-group-heading {
  display: grid;
  gap: 3px;
  padding: 15px 15px 11px;
}

.settings-group-heading strong,
.settings-group-heading span {
  display: block;
}

.settings-group-heading strong {
  font-size: 15px;
}

.settings-group-heading span {
  color: var(--muted);
  font-size: 12px;
}

.settings-theme-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 12px 12px;
}

.settings-theme-switch button {
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.settings-theme-switch button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.settings-theme-switch button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
}

.settings-row > span {
  min-width: 0;
}

.settings-row.danger {
  color: #d82025;
}

.danger-settings {
  border-color: rgba(216, 32, 37, 0.28);
}

.about-app-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.about-app-card img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.about-app-card strong,
.about-app-card span {
  display: block;
}

.about-app-card strong {
  font-size: 17px;
}

.about-app-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.about-feedback-button {
  width: 100%;
  margin: 0;
}

.chat-list {
  display: grid;
  align-items: start;
  gap: 8px;
  height: max(360px, calc(100vh - 270px - env(safe-area-inset-bottom)));
  overflow-y: auto;
  padding-bottom: 10px;
  overscroll-behavior: contain;
}

.chat-message {
  align-self: start;
  width: min(86%, 470px);
  justify-self: start;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.chat-message.is-mine {
  justify-self: end;
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

.chat-message header,
.chat-message footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-message header strong {
  font-size: 12px;
}

.chat-message time {
  color: var(--muted);
  font-size: 10px;
}

.chat-message p {
  margin: 6px 0 8px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.chat-message footer {
  justify-content: flex-end;
}

.chat-message footer button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.quoted-message {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 7px 9px;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
}

.chat-composer {
  position: sticky;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 3;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--tabbar-bg);
  backdrop-filter: blur(14px);
}

.emoji-picker {
  display: grid;
  grid-template-columns: repeat(8, minmax(32px, 1fr));
  gap: 4px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-elevated);
}

.emoji-picker[hidden] {
  display: none;
}

.emoji-picker button,
.emoji-button {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  cursor: pointer;
}

.emoji-picker button {
  width: 100%;
  min-width: 32px;
  height: 36px;
  border-radius: var(--radius-icon);
  font-size: 22px;
}

.emoji-picker button:hover,
.emoji-picker button:focus-visible,
.emoji-button:hover,
.emoji-button:focus-visible {
  border-color: var(--line);
  background: var(--surface-soft);
}

.composer-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: end;
  gap: 7px;
}

.composer-row textarea {
  min-height: 40px;
  max-height: 120px;
  padding-block: 10px;
}

.emoji-button {
  width: 40px;
  height: 40px;
  border-color: var(--line);
  border-radius: var(--radius-icon);
  background: var(--surface);
  font-size: 22px;
}

.send-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-icon);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 21px;
  font-weight: 700;
}

.reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  padding: 7px 9px;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
}

.reply-preview[hidden] {
  display: none;
}

.reply-preview button {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
}

@media (max-width: 380px) {
  .app-shell {
    padding-inline: 12px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .media-stats strong {
    font-size: 21px;
  }

  .tab-label {
    font-size: 9px;
  }

  .welcome-panel {
    padding: 22px;
  }

  .welcome-panel h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .welcome-panel {
    padding: 26px;
  }

  .welcome-panel h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .distribution-grid {
    grid-template-columns: 1fr;
  }

  .card-actions {
    display: grid;
  }

  .card-actions .event-link {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .welcome-panel {
    padding: 22px;
  }

  .welcome-panel h2 {
    font-size: 28px;
  }
}
