:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #17233b;
  --muted: #69758a;
  --line: #e2e7ef;
  --brand: #335fa8;
  --brand-dark: #294c87;
  --accent: #0f766e;
  --warm: #e6a936;
  --pink: #e11d48;
  --danger: #dc2626;
  --soft: #f0f4f9;
  --shadow: 0 20px 55px rgba(23, 35, 59, .09);
  --shadow-soft: 0 8px 24px rgba(23, 35, 59, .055);
  --ring: 0 0 0 4px rgba(51, 95, 168, .14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(246, 248, 251, .72) 240px),
    linear-gradient(rgba(51, 95, 168, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 95, 168, .025) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  box-shadow: var(--ring);
  outline: 2px solid rgba(51, 95, 168, .34);
  outline-offset: 2px;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(20px) saturate(1.1);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(226, 231, 239, .9);
  box-shadow: 0 10px 32px rgba(23, 35, 59, .055);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 3vw, 42px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
}

.brand-logo {
  display: block;
  height: 58px;
  object-fit: contain;
  width: 190px;
}

.authenti-logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.authenti-logo-mark {
  animation: authentiSpin 9s linear infinite;
  display: block;
  height: 54px;
  object-fit: contain;
  transform-origin: center;
  width: 54px;
}

.authenti-logo-text {
  display: grid;
  line-height: 1;
}

.authenti-logo-text strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
}

.authenti-logo-text small {
  color: #7089c4;
  font-size: 15px;
  font-weight: 800;
  margin-top: 4px;
}

.auth-logo {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .18));
  height: 75px;
  width: 270px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-nav-toggle {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 900;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
}

.hamburger-lines,
.hamburger-lines::before,
.hamburger-lines::after {
  background: var(--ink);
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 20px;
}

.hamburger-lines {
  position: relative;
}

.hamburger-lines::before,
.hamburger-lines::after {
  left: 0;
  position: absolute;
}

.hamburger-lines::before {
  top: -6px;
}

.hamburger-lines::after {
  top: 6px;
}

.nav-search input {
  background: rgba(247, 250, 255, .9);
  min-height: 36px;
  padding: 8px 10px;
  transition: width .18s ease, box-shadow .18s ease, border-color .18s ease;
  width: 160px;
}

.nav-search input:focus {
  width: 220px;
}

.nav a,
.link-button {
  align-items: center;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  font: inherit;
  padding: 8px 10px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.link-button.compact {
  font-size: 12px;
  padding: 4px 6px;
}

.nav a:hover,
.link-button:hover {
  background: linear-gradient(135deg, #f2f6fc, #eaf1fb);
  color: var(--brand);
  transform: translateY(-1px);
}

.nav-badge {
  align-items: center;
  background: var(--pink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
}

.nav-popover {
  position: relative;
}

.profile-menu {
  position: relative;
}

.nav-popover summary,
.chat-dock summary,
.profile-menu summary {
  align-items: center;
  background: linear-gradient(135deg, #f4f7fc, #edf3fb);
  border: 1px solid rgba(205, 214, 227, .75);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  list-style: none;
  min-height: 38px;
  padding: 8px 12px;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nav-popover[open] summary,
.profile-menu[open] summary,
.nav-popover summary:hover,
.profile-menu summary:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 35, 59, .08);
  transform: translateY(-1px);
}

.nav-popover summary::-webkit-details-marker,
.chat-dock summary::-webkit-details-marker,
.profile-menu summary::-webkit-details-marker {
  display: none;
}

.nav-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.nav-icon-link {
  align-items: center;
  background: linear-gradient(135deg, #f4f7fc, #edf3fb);
  border: 1px solid rgba(205, 214, 227, .75);
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.nav-icon-link:hover {
  background: var(--soft);
  transform: translateY(-1px);
}

.compact-menu {
  min-width: 220px;
}

.compact-menu a {
  display: flex;
  width: 100%;
}

.popover-menu {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(20, 33, 61, .14);
  min-width: 340px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 30;
}

.popover-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.popover-footer {
  border-top: 1px solid var(--line);
  color: var(--brand-dark);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}

.profile-menu-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  background-position: center;
  background-size: cover;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(20, 33, 61, .16);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.profile-menu-avatar.large {
  height: 48px;
  width: 48px;
}

.profile-menu-panel {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(20, 33, 61, .14);
  min-width: 250px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 30;
}

.profile-menu-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 10px;
}

.profile-menu-head small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.profile-menu-panel a,
.logout-icon {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  padding: 10px;
  width: 100%;
}

.profile-menu-panel a:hover,
.logout-icon:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.logout-icon span:first-child {
  align-items: center;
  background: #fee2e2;
  border-radius: 999px;
  color: var(--danger);
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.shell {
  margin: 0 auto;
  max-width: 1240px;
  padding: 34px 28px 48px;
  position: relative;
  z-index: 1;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-body {
  --auth-shift-x: 0px;
  --auth-shift-y: 0px;
  background: #08121f;
  overflow-x: hidden;
  position: relative;
}

.auth-body::before {
  background: url("../images/authenti-auth-background.webp") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: .68;
  pointer-events: none;
  position: fixed;
  transform: scale(1.07) translate3d(var(--auth-shift-x), var(--auth-shift-y), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.auth-body::after {
  background: rgba(3, 10, 20, .2);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.auth-experience {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 40px;
  place-items: center;
  position: relative;
  z-index: 1;
}

.auth-story {
  color: #fff;
  display: grid;
  gap: 32px;
  width: 100%;
}

.auth-story .brand {
  color: #fff;
}

.auth-story .brand {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
  padding: 8px 12px;
  width: fit-content;
}

.auth-story .authenti-logo-mark {
  height: 66px;
  width: 66px;
}

.auth-story .authenti-logo-text strong {
  font-size: 26px;
}

.auth-kicker,
.auth-card-kicker {
  color: #85d8cb;
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-story h1 {
  font-size: 58px;
  line-height: 1.03;
  margin: 14px 0 18px;
  max-width: 700px;
}

.auth-story h1 em {
  color: #f4b942;
  font-style: normal;
}

.auth-story p {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
}

.auth-card {
  -webkit-backdrop-filter: blur(42px) saturate(165%);
  backdrop-filter: blur(42px) saturate(165%);
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .075));
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .46), 0 8px 28px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .52), inset 1px 0 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(255, 255, 255, .07);
  max-width: 480px;
  overflow: hidden;
  padding: 38px;
  position: relative;
  width: 100%;
}

.auth-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.auth-card::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 35%);
  content: "";
  height: 170px;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 170px;
}

.auth-card > * {
  position: relative;
  z-index: 1;
}

.auth-card h1 {
  color: #fff;
  font-size: 32px;
  line-height: 1.16;
  margin: 8px 0 8px;
}

.auth-card-intro {
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
  margin: 0 0 24px;
}

.auth-card .form {
  gap: 15px;
}

.auth-card .form label {
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 800;
}

.auth-card input:not([type="checkbox"]),
.auth-card textarea {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .075));
  border-color: rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 22px rgba(0, 0, 0, .08);
  color: #fff;
  margin-top: 7px;
  min-height: 48px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-card input:not([type="checkbox"]):focus,
.auth-card textarea:focus {
  background: rgba(255, 255, 255, .2);
  border-color: #85d8cb;
  box-shadow: 0 0 0 4px rgba(133, 216, 203, .14), 0 12px 28px rgba(0, 0, 0, .12);
  outline: none;
}

.auth-card input::placeholder,
.auth-card textarea::placeholder {
  color: rgba(255, 255, 255, .46);
}

.auth-card input[type="checkbox"] {
  accent-color: #85d8cb;
  height: 17px;
  width: 17px !important;
}

.auth-submit {
  background: #f4b942;
  box-shadow: 0 14px 32px rgba(244, 185, 66, .22);
  color: #132b28;
  min-height: 50px;
  width: 100%;
}

.auth-submit:hover {
  background: #ffd071;
  transform: translateY(-1px);
}

.auth-switch {
  color: rgba(255, 255, 255, .66);
  margin: 22px 0 0;
  text-align: center;
}

.auth-switch a {
  color: #9ee3d8;
}

.auth-social-card {
  animation: floatIn 700ms ease both;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(133, 216, 203, .3);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  max-width: 560px;
  overflow: hidden;
  padding: 22px;
}

.auth-social-card small {
  color: rgba(255, 255, 255, .68);
  display: block;
}

.auth-post-avatar {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.auth-post-avatar img {
  animation: authentiSpin 12s linear infinite;
  display: block;
  height: 38px;
  width: 38px;
}

.auth-post-author {
  display: grid;
  gap: 4px;
}

.auth-post-author strong {
  align-items: center;
  display: flex;
  font-size: 16px;
  gap: 7px;
}

.verified-mark {
  align-items: center;
  background: #85d8cb;
  border-radius: 50%;
  color: #0a2a27;
  display: inline-flex;
  font-size: 10px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.auth-trust-post {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin: 18px 0 16px;
  padding: 18px 0;
}

.auth-post-label {
  color: #f4c662;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.auth-trust-post h2 {
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.auth-trust-post p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.auth-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.auth-trust-points span {
  color: #9ee3d8;
  font-size: 12px;
  font-weight: 800;
}

.auth-trust-points span::before {
  color: #f4c662;
  content: "\2713";
  margin-right: 6px;
}

.auth-feature-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 680px;
}

.auth-feature-grid span,
.auth-demo {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  padding: 12px;
}

.auth-feature-grid span {
  display: grid;
  gap: 4px;
}

.auth-feature-grid small {
  color: rgba(255, 255, 255, .62);
  font-weight: 600;
}

.privacy-note {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #14532d;
  line-height: 1.55;
  margin: 0 0 6px;
  padding: 14px;
}

.auth-demo {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.auth-demo span {
  color: var(--muted);
}

.page-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.page-head h1 {
  font-size: 36px;
}

.page-head p {
  margin: 7px 0 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)),
    var(--panel);
  border: 1px solid rgba(218, 225, 235, .88);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 35, 59, .06);
  position: relative;
}

[data-smooth-region] {
  transition: opacity .16s ease, transform .16s ease;
}

[data-smooth-region].is-loading {
  opacity: .55;
  pointer-events: none;
  transform: translateY(2px);
}

.panel {
  padding: clamp(20px, 2.4vw, 28px);
}

.panel::before,
.card::before {
  background: linear-gradient(90deg, rgba(112, 137, 196, .55), rgba(244, 185, 66, .4), transparent 72%);
  content: "";
  height: 1px;
  left: 1px;
  pointer-events: none;
  position: absolute;
  right: 1px;
  top: 0;
}

.card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.card:hover,
.post:hover,
.stat:hover {
  border-color: rgba(51, 95, 168, .22);
  box-shadow: 0 18px 44px rgba(23, 35, 59, .105);
  transform: translateY(-1px);
}

.card-body {
  padding: 18px;
}

.stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 252, 255, .96)),
    var(--panel);
  border: 1px solid rgba(218, 225, 235, .9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat strong {
  display: block;
  font-size: 32px;
  margin-bottom: 3px;
}

.stat-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(15, 118, 110, .16));
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  margin-bottom: 12px;
  width: 30px;
}

.muted {
  color: var(--muted);
}

.badge {
  background: linear-gradient(135deg, rgba(51, 95, 168, .1), rgba(15, 118, 110, .08));
  border: 1px solid rgba(51, 95, 168, .08);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
}

.form {
  display: grid;
  gap: 14px;
}

.search-bar {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-bar.expanded {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  gap: 7px;
}

input,
textarea,
select {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(205, 214, 227, .95);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  background: #fff;
  border-color: rgba(51, 95, 168, .54);
  box-shadow: var(--ring);
  outline: 0;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.button,
button.button {
  align-items: center;
  background: linear-gradient(135deg, #335fa8, #2f7f96);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  box-shadow: 0 8px 18px rgba(51, 95, 168, .16);
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #294c87, #0f766e);
  box-shadow: 0 12px 24px rgba(51, 95, 168, .22);
  transform: translateY(-1px);
}

.button.secondary {
  background: linear-gradient(135deg, #f2f5fa, #e9eef6);
  border: 1px solid rgba(205, 214, 227, .9);
  box-shadow: none;
  color: var(--ink);
}

.button.danger {
  background: var(--danger);
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feed {
  display: grid;
  gap: 20px;
}

.post {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 253, 255, .98)),
    var(--panel);
  border: 1px solid rgba(218, 225, 235, .9);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(23, 35, 59, .045);
  padding: 20px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post::before {
  background: linear-gradient(90deg, rgba(51, 95, 168, .38), rgba(230, 169, 54, .36), transparent);
  content: "";
  height: 1px;
  left: 14px;
  position: absolute;
  right: 14px;
  top: 0;
}

.post-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  position: relative;
}

.post-menu {
  position: relative;
}

.post-menu summary,
.post-report-menu summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  list-style: none;
}

.post-menu summary::-webkit-details-marker,
.post-report-menu summary::-webkit-details-marker {
  display: none;
}

.post-menu > summary {
  background: linear-gradient(135deg, rgba(245, 182, 66, .18), rgba(118, 143, 202, .22));
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.post-menu[open] > summary,
.post-menu > summary:hover {
  background: linear-gradient(135deg, rgba(245, 182, 66, .28), rgba(118, 143, 202, .34));
  border-color: rgba(36, 67, 111, .12);
  box-shadow: 0 10px 22px rgba(36, 67, 111, .12);
}

.post-menu-icon {
  display: grid;
  gap: 3px;
  width: 16px;
}

.post-menu-icon i {
  background: linear-gradient(90deg, #f2aa2d, #2f3b5f 72%, #8fa8ef);
  border-radius: 999px;
  display: block;
  height: 3px;
}

.post-menu-icon i:nth-child(2) {
  margin-left: 4px;
}

.post-menu-icon i:nth-child(3) {
  margin-left: 8px;
}

.post-menu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(20, 33, 61, .16);
  display: none;
  gap: 4px;
  min-width: 260px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
}

.post-menu[open] .post-menu-panel {
  display: grid;
}

.post-menu-item,
.post-report-menu > summary {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  justify-content: flex-start;
  min-height: 40px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.post-menu-item:hover,
.post-report-menu > summary:hover {
  background: #f5f8fd;
}

.post-report-menu[open] > summary {
  background: #fff7ed;
  color: #9a3412;
}

.compact-report-form {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 4px;
  padding: 10px;
}

.compact-report-form textarea {
  min-height: 78px;
}

.post-edit-form {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
  padding: 14px;
}

.post-edit-form[hidden] {
  display: none !important;
}

.post-tools {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 17px 0;
  padding: 12px 0;
}

.tool-button {
  background: linear-gradient(135deg, #f5f8fc, #eef4fb);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.tool-button:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, .22);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.comment {
  background: #f7faff;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(37, 99, 235, .35);
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table td,
.table th {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

.notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.ambient {
  display: none;
}

.ambient-one {
  background: rgba(37, 99, 235, .12);
  height: 220px;
  left: -80px;
  top: 120px;
  width: 220px;
}

.ambient-two {
  background: rgba(249, 115, 22, .10);
  bottom: 60px;
  height: 260px;
  right: -100px;
  width: 260px;
}

.social-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, .92), rgba(37, 99, 235, .72)),
    #14213d;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(20, 33, 61, .16);
  color: #fff;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  margin-bottom: 32px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.social-hero p,
.social-hero .muted {
  color: rgba(255, 255, 255, .78);
}

.social-hero h1 {
  font-size: 42px;
  margin-top: 12px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-art {
  animation: floatIn 700ms ease both;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
  transform: rotate(1deg);
}

.hero-art img {
  display: block;
  height: 290px;
  object-fit: cover;
  width: 100%;
}

.compact-head {
  margin-top: 2px;
}

.stats-strip {
  margin-bottom: 18px;
}

.section-title {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.section-title p {
  margin: 6px 0 0;
}

.live-dot {
  align-items: center;
  background: #ecfdf5;
  border-radius: 999px;
  color: #047857;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  padding: 7px 11px;
}

.live-dot::before {
  animation: pulse 1.4s ease infinite;
  background: #10b981;
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.author-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.author-row.small {
  gap: 8px;
}

.avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 8px 18px rgba(20, 33, 61, .12);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

a.avatar:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 12px 24px rgba(20, 33, 61, .16);
  transform: scale(1.05);
}

.avatar.small {
  font-size: 12px;
  height: 28px;
  width: 28px;
}

.group-card .card-body {
  padding-top: 16px;
}

.group-cover {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .9), rgba(15, 118, 110, .82)),
    linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, .2) 25%, rgba(255, 255, 255, .2) 50%, transparent 50%);
  color: #fff;
  display: flex;
  height: 118px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.group-cover::after {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  content: "";
  height: 140px;
  position: absolute;
  right: -38px;
  top: -50px;
  width: 140px;
}

.group-cover span {
  align-items: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .40);
  border-radius: 999px;
  display: inline-flex;
  font-size: 34px;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  position: relative;
  width: 74px;
  z-index: 1;
}

.group-cover.large {
  height: 180px;
}

.group-hero {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
}

.group-head {
  margin: 0;
  padding: 22px;
}

.mini-group {
  align-items: center;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid transparent;
  padding: 11px 10px;
  transition: background .16s ease, border-color .16s ease;
}

.mini-group:hover {
  background: var(--soft);
  border-color: var(--line);
}

.mini-group small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.mini-cover {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.mini-cover.alt {
  background: linear-gradient(135deg, var(--warm), var(--pink));
}

.auth-preview {
  align-items: end;
  background: linear-gradient(135deg, var(--soft), #fff7ed);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  height: 92px;
  margin: 18px 0;
  overflow: hidden;
  padding: 18px;
}

.auth-preview span {
  animation: floatIn 700ms ease both;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(20, 33, 61, .08);
  display: block;
  flex: 1;
  height: 42px;
}

.auth-preview span:nth-child(2) {
  animation-delay: 100ms;
  height: 58px;
}

.auth-preview span:nth-child(3) {
  animation-delay: 180ms;
  height: 34px;
}

.profile-hero {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.profile-cover {
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 255, 255, .35), transparent 18%),
    linear-gradient(135deg, var(--brand), var(--accent) 48%, var(--warm));
  height: 170px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.profile-cover::after {
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: 8%;
  top: -88px;
  width: 220px;
}

.profile-main {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0 24px 24px;
}

.profile-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  border: 6px solid #fff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(20, 33, 61, .18);
  color: #fff;
  display: inline-flex;
  font-size: 48px;
  font-weight: 900;
  height: 128px;
  justify-content: center;
  margin-top: -64px;
  width: 128px;
  z-index: 1;
  background-position: center;
  background-size: cover;
}

.profile-avatar.compact {
  border-width: 4px;
  font-size: 30px;
  height: 78px;
  margin-top: -54px;
  text-decoration: none;
  width: 78px;
}

.profile-copy {
  padding-top: 18px;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.profile-meta span,
.profile-meta a {
  background: var(--soft);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
}

.profile-stats {
  margin-bottom: 18px;
}

.member-card {
  overflow: visible;
}

.member-card-cover {
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, .35), transparent 16%),
    linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(225, 29, 72, .78));
  border-radius: 8px 8px 0 0;
  height: 92px;
}

.chat-panel {
  display: grid;
  gap: 16px;
}

.message-list {
  display: grid;
  gap: 12px;
  max-height: 58vh;
  overflow: auto;
  padding-right: 4px;
}

.message-list.compact {
  max-height: 300px;
}

.message-bubble {
  background: #f1f5fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-self: start;
  max-width: 72%;
  padding: 12px 14px;
}

.message-bubble.mine {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  justify-self: end;
}

.message-bubble p {
  color: inherit;
  margin: 6px 0;
}

.message-bubble span {
  color: inherit;
  font-size: 12px;
  opacity: .72;
}

.chat-compose {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.comment-compose {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
}

.comment-compose input {
  min-height: 42px;
}

.notification-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
}

.notification-row.unread {
  background: var(--soft);
  border-color: rgba(37, 99, 235, .25);
}

.notification-row small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.chat-dock {
  bottom: 18px;
  position: fixed;
  right: 18px;
  z-index: 40;
}

.chat-dock summary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  min-width: 58px;
  padding: 0;
  position: relative;
  width: 58px;
}

.chat-icon {
  font-size: 24px;
  line-height: 1;
}

.chat-dock .nav-badge {
  position: absolute;
  right: -4px;
  top: -4px;
}

.chat-dock-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: calc(100% + 12px);
  box-shadow: var(--shadow);
  padding: 12px;
  position: absolute;
  right: 0;
  width: 340px;
}

.chat-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 12px;
  position: fixed;
  right: 378px;
  width: 360px;
  z-index: 41;
}

.composer-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.enhanced-composer {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.composer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.composer-tabs label {
  display: inline-flex;
}

.composer-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.composer-tabs span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.composer-tabs input:checked + span {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  color: #fff;
}

.post-image {
  border-radius: 8px;
  display: block;
  margin: 12px 0;
  max-height: 420px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(23, 35, 59, .08);
  width: 100%;
}

.link-preview,
.poll-box {
  background: linear-gradient(180deg, #f8fbff, #f3f7fd);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
}

.link-preview span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.poll-option {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  padding: 9px 12px;
}

.post-tools.subtle {
  border: 0;
  margin: 6px 0;
  padding: 0;
}

.reply {
  margin-left: 28px;
}

.reply-form {
  margin-top: 10px;
}

.group-photo-cover {
  background-position: center;
  background-size: cover;
  height: 220px;
}

.group-hero.upgraded {
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 248, 255, .9));
  border: 1px solid rgba(108, 125, 158, .18);
  box-shadow: 0 22px 50px rgba(24, 43, 76, .12);
  overflow: hidden;
  padding: 0;
}

.group-cover-shell {
  min-height: 260px;
  position: relative;
}

.group-cover-shell .group-photo-cover,
.group-cover-shell .group-cover.large {
  border-radius: 8px 8px 0 0;
  height: 260px;
}

.group-hero.upgraded .group-head {
  align-items: flex-end;
  background: rgba(255, 255, 255, .88);
  border-top: 1px solid rgba(255, 255, 255, .7);
  display: flex;
  justify-content: space-between;
  margin-top: -54px;
  padding: 26px 30px 28px;
  position: relative;
}

.group-hero.upgraded h1 {
  margin: 12px 0 8px;
}

.badge-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge.soft {
  background: #f0f5ff;
  color: #24436f;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  background: rgba(9, 129, 115, .1);
  border: 1px solid rgba(9, 129, 115, .16);
  border-radius: 8px;
  color: #087569;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 9px;
}

.club-tabs {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 38, 65, .08);
  display: flex;
  gap: 8px;
  margin: 22px 0;
  overflow-x: auto;
  padding: 8px;
}

.club-tabs a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  padding: 11px 16px;
  white-space: nowrap;
}

.club-tabs a.active,
.club-tabs a:hover {
  background: #14213d;
  color: #fff;
}

.club-layout {
  align-items: start;
}

.club-sidebar {
  position: sticky;
  top: 94px;
}

.club-notice {
  background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(59, 130, 246, .1));
  border: 1px solid rgba(20, 184, 166, .22);
  border-radius: 8px;
  color: #123047;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 14px 16px;
}

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

.toggle-row {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 12px 13px;
}

.toggle-row.inline {
  background: transparent;
  border: 0;
  padding: 0;
}

.toggle-row input {
  height: 18px;
  width: 18px;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-list span {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.leader-row,
.activity-row,
.moderation-item,
.member-admin-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.leader-row {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
}

.leader-row small,
.activity-row small,
.member-admin-row small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.compact-share {
  margin-top: 18px;
}

.member-admin-list {
  display: grid;
  gap: 14px;
}

.member-admin-row {
  display: grid;
  gap: 13px;
  padding: 15px;
}

.compact-member-form {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
}

.moderation-item {
  margin-top: 12px;
  padding: 14px;
}

.activity-row {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 12px;
}

.danger-text {
  color: #dc2626;
}

.daily-prompt,
.engagement-strip {
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 33, 61, .96), rgba(15, 118, 110, .9));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 33, 61, .14);
  color: #fff;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 16px;
  padding: 16px;
}

.daily-prompt p,
.engagement-strip p {
  color: rgba(255, 255, 255, .78);
  margin: 5px 0 0;
}

.daily-prompt .button.secondary,
.engagement-strip .badge {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.prompt-icon {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.engagement-strip {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  margin: 0;
}

.engagement-strip h2 {
  color: #fff;
  margin: 8px 0;
}

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

.badge-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.achievement-badge {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(20, 33, 61, .08);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.achievement-badge small {
  color: var(--muted);
}

.goal-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.goal-list span {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
}

.goal-list span.done {
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .22);
  color: #087569;
}

.saved-collection-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.collection-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.collection-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.collection-card small {
  color: var(--muted);
}

.collection-card a {
  background: #f8fbff;
  border-radius: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 8px;
}

.saved-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 0;
}

.saved-add-form {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.search-tabs,
.notification-tabs {
  margin-bottom: 0;
  margin-top: 16px;
}

.search-tabs small,
.notification-tabs small {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  margin-left: 4px;
  padding: 2px 7px;
}

.composer-preview {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 35, 59, .08);
  max-height: 240px;
  object-fit: cover;
  width: 100%;
}

.profile-completion {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 12px;
}

.profile-completion i {
  background: #edf2f8;
  border-radius: 999px;
  display: block;
  height: 9px;
  margin-top: 10px;
  overflow: hidden;
}

.profile-completion b {
  background: linear-gradient(90deg, var(--accent), var(--brand));
  display: block;
  height: 100%;
}

.public-club-hero {
  background: linear-gradient(135deg, rgba(20, 33, 61, .96), rgba(15, 118, 110, .84));
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  margin-bottom: 24px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
}

.public-club-hero h1,
.public-club-hero p {
  color: #fff;
}

.public-club-cover {
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  grid-column: 1 / -1;
  height: 240px;
}

.public-preview-row {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 14px;
}

.public-preview-row small {
  color: var(--muted);
}

.admin-head {
  align-items: end;
}

.admin-range {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 6px;
  padding: 6px;
}

.admin-range button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
}

.admin-range button.active,
.admin-range button:hover {
  background: #14213d;
  color: #fff;
}

.admin-metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-metric {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 38, 65, .08);
  display: grid;
  gap: 5px;
  padding: 16px;
}

.admin-metric small,
.admin-metric span,
.admin-metric em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.admin-metric strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.admin-metric em {
  color: #087569;
}

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

.trend-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trend-card {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.trend-card small {
  color: var(--muted);
}

.spark-bars {
  align-items: end;
  display: flex;
  gap: 3px;
  height: 82px;
  overflow: hidden;
}

.spark-bars.tall {
  height: 120px;
  margin-top: 18px;
}

.spark-bars span {
  background: linear-gradient(180deg, #2563eb, #0f766e);
  border-radius: 5px 5px 0 0;
  flex: 1;
  min-width: 4px;
}

.admin-kpi-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-kpi-grid div {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.admin-kpi-grid strong {
  font-size: 24px;
}

.admin-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.analytics-bar {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(90px, .8fr) minmax(0, 1fr) auto;
  margin-top: 10px;
}

.analytics-bar span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-bar i {
  background: #eef3fb;
  border-radius: 999px;
  display: block;
  height: 9px;
  overflow: hidden;
}

.analytics-bar b {
  background: linear-gradient(90deg, #0f766e, #2563eb);
  display: block;
  height: 100%;
}

.analytics-bar strong {
  font-size: 13px;
}

.admin-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-list span {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.admin-list strong {
  font-size: 22px;
}

.admin-list small {
  color: var(--muted);
  font-weight: 800;
}

.chat-window[hidden] {
  display: none;
}

.public-topbar {
  position: sticky;
}

.public-shell {
  max-width: 1120px;
}

.public-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 28px;
}

.public-footer strong {
  color: var(--ink);
}

.article-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, .94), rgba(15, 118, 110, .78)),
    #14213d;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 22px;
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.article-hero::after {
  background: rgba(255, 255, 255, .13);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: -62px;
  top: -86px;
  width: 220px;
}

.article-hero h1 {
  font-size: 46px;
  margin-top: 12px;
}

.article-hero p {
  color: rgba(255, 255, 255, .78);
  max-width: 700px;
}

.article-hero > * {
  position: relative;
  z-index: 1;
}

.article-grid {
  align-items: stretch;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card h2 {
  font-size: 22px;
  margin-top: 12px;
}

.article-cover {
  background-position: center;
  background-size: cover;
  display: grid;
  min-height: 172px;
  place-items: center;
}

.article-cover.generated {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .26), transparent 18%),
    linear-gradient(135deg, var(--brand), var(--accent));
}

.article-cover span {
  align-items: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 42px;
  font-weight: 900;
  height: 86px;
  justify-content: center;
  width: 86px;
}

.article-page {
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
}

.article-page-cover {
  background-position: center;
  background-size: cover;
  height: 320px;
}

.article-page-body {
  margin: 0 auto;
  max-width: 840px;
  padding: 36px 28px;
}

.article-page-body h1 {
  font-size: 48px;
  margin-top: 14px;
}

.article-byline,
.article-excerpt {
  font-size: 17px;
}

.article-excerpt {
  color: var(--ink);
  font-weight: 700;
}

.article-actions {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 22px 0;
  padding: 14px 0;
}

.article-content {
  color: #1f2937;
  font-size: 18px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.article-form .article-editor {
  min-height: 360px;
}

.article-note {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
  padding: 12px;
}

.article-note strong {
  color: var(--ink);
}

.contribution-menu summary {
  font-weight: 800;
}

.contribution-menu .popover-menu a {
  display: flex;
}

.contribution-stat {
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(249, 115, 22, .16));
}

.vote-score {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  min-height: 36px;
  min-width: 42px;
  justify-content: center;
  padding: 6px 10px;
}

.vote-button.active,
.tool-button.active {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}

.icon-vote {
  gap: 6px;
  font-size: 18px;
  min-width: 42px;
  padding: 8px 10px;
}

.icon-vote span:last-child {
  font-size: 13px;
  font-weight: 900;
}

.reaction-picker {
  display: inline-flex;
  position: relative;
}

.reaction-trigger {
  min-width: 76px;
}

.reaction-popover {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 4px;
  left: 0;
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateY(6px) scale(.96);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 12;
}

.reaction-picker:hover .reaction-popover,
.reaction-picker:focus-within .reaction-popover,
.reaction-picker.is-open .reaction-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.reaction-emoji {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 25px;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: transform .14s ease, background .14s ease;
  width: 38px;
}

.reaction-emoji small {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  bottom: -3px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 16px;
  justify-content: center;
  min-width: 16px;
  padding: 0 4px;
  position: absolute;
  right: -2px;
}

.reaction-emoji:hover,
.reaction-emoji.active {
  background: var(--soft);
  transform: translateY(-4px) scale(1.18);
}

.article-engagement {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 12px 0;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.topic-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #047857;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 11px;
}

.share-card {
  background: linear-gradient(135deg, #f8fbff, #fff7ed);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
}

.share-card small {
  color: var(--muted);
}

.share-card input {
  background: #fff;
  font-size: 13px;
}

.compact-share {
  margin: 10px 0 0;
}

.chat-window-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.is-busy {
  opacity: .62;
}

.new-comment {
  animation: floatIn 260ms ease both;
}

.form-error {
  outline: 2px solid #fecaca;
  outline-offset: 3px;
}

.profile-url-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  padding: 12px;
}

.profile-preview-card {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-cover.preview {
  height: 132px;
}

.profile-preview-body {
  padding: 0 18px 18px;
}

.profile-avatar.compact-preview {
  background-position: center;
  background-size: cover;
  border: 4px solid #fff;
  font-size: 28px;
  height: 76px;
  margin-top: -38px;
  width: 76px;
}

.check-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  margin-top: 10px;
  padding: 10px 12px;
}

.check-row.done {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.check-row.done::before {
  content: "Done: ";
}

.check-row:not(.done)::before {
  content: "Missing: ";
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authentiSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-body::before {
    transform: scale(1.03);
    transition: none;
  }

  .authenti-logo-mark,
  .auth-post-avatar img {
    animation: none;
  }
}

.errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.form-assist {
  text-align: right;
}

.form-assist a {
  color: #9ee3d8;
  font-size: 13px;
  font-weight: 800;
}

.narrow-panel {
  margin: 40px auto;
  max-width: 640px;
}

.verification-banner,
.announcement-bar,
.onboarding-banner {
  align-items: center;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 13px 16px;
}

.verification-banner {
  background: #fff7d6;
  border: 1px solid #f4d77a;
  color: #62470a;
}

.verification-banner a {
  font-weight: 900;
}

.announcement-bar {
  background: #e8f8f4;
  border: 1px solid #9bd8ca;
  color: #164e46;
}

.announcement-bar span {
  flex: 1;
}

.onboarding-banner {
  background: #edf2ff;
  border: 1px solid #b9c7ef;
}

.onboarding-banner span,
.settings-row span {
  display: grid;
  gap: 3px;
}

.onboarding-banner small,
.settings-row small {
  color: var(--muted);
}

.choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-item {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.choice-item input {
  accent-color: var(--accent);
  flex: 0 0 auto;
  width: auto;
}

.choice-item span {
  display: grid;
}

.choice-item small {
  color: var(--muted);
}

.segmented {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 3px;
  margin-top: 14px;
  padding: 4px;
}

.segmented a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
}

.segmented a.active {
  background: #fff;
  box-shadow: 0 3px 12px rgba(20, 33, 61, .1);
  color: var(--ink);
}

.settings-lists {
  margin-top: 18px;
}

.settings-row,
.moderation-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 0;
}

.moderation-row {
  align-items: flex-start;
}

.moderation-row > span {
  display: grid;
  gap: 4px;
}

.compact-select {
  font-size: 12px;
  min-height: 32px;
  padding: 4px 7px;
  width: auto;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.editor-toolbar button {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 7px 10px;
}

.revision-list {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.revision-list > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}

.reading-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.article-toc {
  background: var(--soft);
  border-left: 3px solid var(--accent);
  margin: 18px 0 24px;
  padding: 14px 16px;
}

.article-toc div {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.article-toc a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.article-toc a.subheading {
  padding-left: 16px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.online-label {
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}

.online-label::before {
  background: #10b981;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 5px;
  width: 7px;
}

.typing-indicator {
  color: var(--muted);
  padding: 0 14px 8px;
}

.mobile-bottom-nav {
  display: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(51, 95, 168, .62);
  box-shadow: 0 0 0 4px rgba(51, 95, 168, .1);
  outline: none;
}

.nav > a,
.nav-popover > summary,
.profile-menu > summary {
  transition: background .15s ease, color .15s ease;
}

.nav > a:hover,
.nav-popover > summary:hover,
.profile-menu > summary:hover {
  background: #edf2f7;
}

.nav > a.active {
  background: #e8eef8;
  color: var(--brand-dark);
}

@media (max-width: 820px) {
  .auth-body::before {
    background-position: 36% center;
  }

  .auth-body::after {
    background: rgba(3, 10, 20, .3);
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-head h1 {
    font-size: 30px;
  }

  body:not(.auth-body) {
    padding-bottom: 70px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .announcement-bar,
  .onboarding-banner,
  .verification-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bottom-nav {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: 64px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .mobile-bottom-nav a {
    align-items: center;
    color: var(--muted);
    display: grid;
    font-size: 20px;
    justify-items: center;
  }

  .mobile-bottom-nav small {
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-bottom-nav a.active {
    color: var(--brand-dark);
  }

  .mobile-bottom-nav a.active span {
    background: #e8eef8;
    border-radius: 8px;
    padding: 2px 12px;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar.expanded {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 10px 14px;
  }

  .shell {
    padding: 22px 16px 38px;
  }

  .grid.two,
  .grid.three,
  .social-hero,
  .auth-experience,
  .auth-feature-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 20px;
  }

  .post {
    padding: 17px;
  }

  .post-menu-panel {
    max-width: calc(100vw - 32px);
    min-width: min(300px, calc(100vw - 32px));
  }

  .auth-experience {
    gap: 28px;
    padding: 24px 18px;
  }

  .auth-story h1 {
    font-size: 38px;
  }

  .auth-card {
    padding: 26px 22px;
  }

  .authenti-logo-mark {
    height: 44px;
    width: 44px;
  }

  .auth-story .authenti-logo-mark {
    height: 54px;
    width: 54px;
  }

  .auth-story .auth-social-card,
  .auth-story .auth-feature-grid {
    display: none;
  }

  .search-bar,
  .chat-compose,
  .comment-compose,
  .composer-row {
    grid-template-columns: 1fr;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    gap: 6px;
    grid-column: 1 / -1;
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 10px;
    width: 100%;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a,
  .nav form,
  .nav-search,
  .nav-search input,
  .nav-popover,
  .profile-menu {
    width: 100%;
  }

  .nav-icon-link {
    width: 100%;
  }

  .nav a,
  .nav .link-button,
  .nav-popover summary,
  .profile-menu summary {
    justify-content: flex-start;
    min-height: 42px;
  }

  .nav-popover,
  .profile-menu {
    position: static;
  }

  .popover-menu,
  .profile-menu-panel {
    position: static;
    margin-top: 8px;
    width: 100%;
  }

  .message-bubble {
    max-width: 92%;
  }

  .popover-menu,
  .chat-dock-panel {
    min-width: 0;
    width: min(92vw, 340px);
  }

  .chat-dock {
    bottom: 76px;
    right: 12px;
  }

  .chat-window {
    bottom: 136px;
    right: 12px;
    width: min(92vw, 360px);
  }

  .brand-logo {
    height: 46px;
    width: 155px;
  }

  .auth-logo {
    height: 64px;
    width: min(82vw, 230px);
  }

  .social-hero {
    padding: 20px;
  }

  .profile-main {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    height: 100px;
    width: 100px;
    font-size: 38px;
  }

  .social-hero h1 {
    font-size: 34px;
  }

  .hero-art img {
    height: 220px;
  }

  .public-topbar .nav {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    padding: 0;
  }

  .article-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .article-hero h1,
  .article-page-body h1 {
    font-size: 34px;
  }

  .article-page-cover {
    height: 220px;
  }

  .article-page-body {
    padding: 24px 18px;
  }

  .reaction-popover {
    left: auto;
    right: 0;
  }

  .group-hero.upgraded .group-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
    padding: 20px;
  }

  .group-cover-shell,
  .group-cover-shell .group-photo-cover,
  .group-cover-shell .group-cover.large {
    height: 190px;
    min-height: 190px;
  }

  .club-tabs {
    margin: 16px 0;
  }

  .club-sidebar {
    position: static;
  }

  .settings-grid,
  .compact-member-form {
    grid-template-columns: 1fr;
  }

  .member-admin-row .actions,
  .member-admin-row .actions form {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-prompt,
  .engagement-strip,
  .saved-collection-form,
  .saved-row {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .badge-grid,
  .badge-grid.compact {
    grid-template-columns: 1fr;
  }

  .saved-add-form {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-head {
    align-items: flex-start;
  }

  .admin-range {
    width: 100%;
  }

  .admin-range button {
    flex: 1;
  }

  .admin-metric-grid,
  .trend-grid,
  .trend-grid.compact,
  .admin-kpi-grid,
  .admin-list {
    grid-template-columns: 1fr;
  }

  .analytics-bar {
    grid-template-columns: minmax(76px, .8fr) minmax(0, 1fr) auto;
  }
}
