:root {
  color-scheme: light;
  --ink: #16181d;
  --muted: #67717f;
  --soft: #8b94a3;
  --line: #dfe4ea;
  --line-strong: #c9d1dc;
  --surface: #f5f7fa;
  --panel: #ffffff;
  --panel-tint: #f9fbfd;
  --accent: #0f766e;
  --accent-strong: #0b5d57;
  --talk-yellow: #ffe65a;
  --talk-yellow-soft: #fff7c7;
  --talk-green: #03c75a;
  --talk-room: #eaf3f5;
  --brand-night: #111318;
  --brand-mint: #dff7ef;
  --brand-sky: #e7f2f4;
  --blue: #3657d6;
  --amber: #d98715;
  --rose: #c85166;
  --shadow: 0 22px 70px rgba(24, 31, 42, 0.1);
  --shadow-soft: 0 14px 40px rgba(24, 31, 42, 0.06);
  font-family:
    Pretendard, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--surface);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100svh;
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1440px, 100%);
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 209, 220, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 40px rgba(24, 31, 42, 0.06);
  backdrop-filter: blur(18px);
}

.brand-lockup,
.top-actions,
.rail-item,
.stage-toolbar,
.composer-footer,
.metric-list div {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--blue));
  font-weight: 900;
}

.brand-name,
.brand-caption,
.eyebrow,
.section-heading p,
.pane-heading p,
.status-line,
.helper-copy {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.brand-name {
  font-weight: 850;
  line-height: 1.1;
}

.brand-caption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.top-actions {
  gap: 10px;
}

.status-chip,
.mode-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.top-link,
.share-button {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.workspace {
  display: grid;
  grid-template-columns: 84px minmax(300px, 380px) minmax(420px, 1fr) 300px;
  gap: 14px;
  width: min(1440px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.rail,
.builder-pane,
.board-stage,
.inspector {
  min-height: calc(100svh - 112px);
  border: 1px solid rgba(201, 209, 220, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(24, 31, 42, 0.07);
}

.rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 10px;
}

.rail-section {
  display: grid;
  gap: 10px;
}

.rail-label {
  margin: 0 0 3px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-transform: none;
}

.rail-item {
  justify-content: center;
  gap: 6px;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  flex-direction: column;
  font-size: 11px;
  font-weight: 800;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.rail-item:hover,
.rail-item.active {
  color: var(--ink);
  background: #eef2f6;
  transform: translateY(-1px);
}

.rail-icon {
  font-size: 18px;
  line-height: 1;
}

.mode-pill {
  justify-content: center;
  min-height: 36px;
  padding: 0 8px;
  font-size: 11px;
}

.builder-pane,
.board-stage,
.inspector {
  padding: 22px;
}

.pane-heading {
  margin-bottom: 22px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 5px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.pane-heading p,
.section-heading p,
.helper-copy {
  color: var(--muted);
  line-height: 1.55;
}

.skeleton-block,
.skeleton-line,
.skeleton-pill,
.skeleton-stat,
.skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(231, 236, 243, 0.72), rgba(247, 249, 252, 0.94), rgba(231, 236, 243, 0.72));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.skeleton-line {
  width: 100%;
  height: 12px;
}

.skeleton-line.short {
  width: 54%;
}

.skeleton-pill {
  width: 88px;
  height: 32px;
  border-radius: 999px;
}

.skeleton-stat {
  min-height: 78px;
  border: 1px solid rgba(216, 222, 231, 0.72);
  background-color: rgba(255, 255, 255, 0.78);
}

.skeleton-card {
  min-height: 92px;
  border: 1px solid rgba(216, 222, 231, 0.72);
  background-color: rgba(255, 255, 255, 0.78);
}

.skeleton-stack {
  display: grid;
  gap: 10px;
}

.admin-loading #board-title,
.admin-loading #board-description,
.admin-loading #post-count,
.admin-loading #approved-count,
.admin-loading #summary-pending-count,
.admin-loading #reported-count,
.admin-loading #comment-count {
  display: inline-block;
  border-radius: 999px;
  color: transparent;
  background: linear-gradient(90deg, #eef4f5 0%, #f9fbfb 45%, #eef4f5 90%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
  user-select: none;
}

.admin-loading #board-title {
  width: min(520px, 72vw);
  height: 0.9em;
}

.admin-loading #board-description {
  width: min(420px, 68vw);
  height: 1.1em;
}

.admin-loading #post-count,
.admin-loading #approved-count,
.admin-loading #summary-pending-count,
.admin-loading #reported-count,
.admin-loading #comment-count {
  width: 54px;
  height: 0.95em;
}

.analytics-days .skeleton-block {
  min-height: 92px;
}

.analytics-hours .skeleton-block {
  min-height: 42px;
}

.analytics-list .skeleton-line {
  height: 28px;
}

.plan-usage .skeleton-line {
  display: block;
}

.dashboard-board-card .skeleton-stat {
  min-height: 58px;
}

.superadmin-row.skeleton-card {
  min-height: 64px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.board-form,
.field-stack {
  display: grid;
  gap: 14px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--panel);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 118, 110, 0.72);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  background: #fff;
}

textarea {
  resize: vertical;
}

.primary-button,
.secondary-button,
.share-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button {
  color: #fff;
  background: var(--ink);
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(22, 24, 29, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.share-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  background: #05070a;
}

.secondary-button {
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
}

.secondary-button:hover {
  background: var(--accent-strong);
}

.status-line {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.status-line.error {
  color: var(--rose);
}

.status-line.success {
  color: var(--accent-strong);
}

.stage-toolbar {
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.stage-toolbar p {
  margin-bottom: 0;
  color: var(--muted);
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #fff;
  background: var(--blue);
  white-space: nowrap;
}

.composer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-tint);
}

.composer-footer {
  justify-content: space-between;
  gap: 16px;
}

.empty-state {
  display: grid;
  min-height: 340px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.empty-symbol {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--blue);
  background: #f8faff;
  font-size: 36px;
}

.empty-state strong {
  color: var(--ink);
  font-size: 18px;
}

.post-list {
  display: grid;
  gap: 0;
  padding: 12px 0 0;
  margin: 0;
  list-style: none;
}

.post-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 220ms ease both;
}

.post-item:last-child {
  border-bottom: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.post-body {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
  white-space: pre-wrap;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.reaction-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.reaction-button:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: rgba(15, 118, 110, 0.06);
}

.post-actions .reaction-button {
  flex: 1 1 auto;
}

.report-button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.report-button:hover {
  color: var(--rose);
  background: rgba(200, 81, 102, 0.08);
}

.inspector {
  display: grid;
  align-content: start;
  gap: 14px;
}

.inspector-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-tint);
}

.qr-preview {
  width: 136px;
  height: 136px;
  margin: 6px 0 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  height: 100%;
}

.qr-placeholder span {
  border-radius: 3px;
  background: #1f2733;
}

.qr-placeholder span:nth-child(2n),
.qr-placeholder span:nth-child(7),
.qr-placeholder span:nth-child(11) {
  background: #dce3ec;
}

.qr-download {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--blue);
  background: rgba(54, 87, 214, 0.08);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.display-style-links {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.display-style-links > div:first-child {
  display: grid;
  gap: 4px;
}

.display-style-links strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 920;
}

.display-style-links small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.display-style-options,
.style-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.display-style-links a,
.style-choice-group button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.display-style-links a.disabled,
.style-choice-group button:disabled {
  color: var(--muted);
  background: var(--panel-tint);
  opacity: 0.6;
}

.display-style-links a.active,
.style-choice-group button.active,
.style-choice-group button[aria-pressed="true"] {
  border-color: rgba(15, 118, 110, 0.46);
  color: #064e3b;
  background: #dff7ef;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.sponsor-banner-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.94);
}

.sponsor-banner-card strong,
.sponsor-banner-card span {
  display: block;
}

.sponsor-banner-card span,
.sponsor-banner-preview small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.sponsor-banner-preview {
  display: grid;
  min-height: 74px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.sponsor-banner-preview img {
  display: block;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.sponsor-banner-list {
  display: grid;
  width: 100%;
  gap: 10px;
}

.sponsor-banner-list.layout-grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sponsor-banner-list.layout-grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-banner-list.inactive {
  position: relative;
}

.sponsor-banner-list.inactive::before {
  content: "노출 꺼짐";
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.sponsor-banner-list.inactive .sponsor-banner-item img {
  filter: saturate(0.72);
  opacity: 0.64;
}

.sponsor-banner-item {
  display: grid;
  min-width: 0;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.sponsor-banner-item img {
  min-height: 56px;
}

.sponsor-banner-item .mini-button {
  justify-self: start;
}

.sponsor-banner-dummy {
  display: grid;
  width: 100%;
  gap: 8px;
  border-radius: 8px;
  color: var(--muted);
}

.sponsor-banner-dummy img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.sponsor-banner-preview small {
  justify-self: start;
  margin-top: 8px;
}

.sponsor-banner-card input[type="file"] {
  padding: 10px;
  font-size: 12px;
}

.sponsor-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .sponsor-banner-list.layout-grid2,
  .sponsor-banner-list.layout-grid3 {
    grid-template-columns: 1fr;
  }
}

.metric-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.metric-list div {
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metric-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.toggle-row span {
  display: grid;
  gap: 3px;
}

.toggle-row strong {
  color: var(--ink);
  font-size: 13px;
}

.toggle-row small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.settings-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.settings-head h2 {
  margin: 0;
}

.plan-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.plan-badge.pro,
.plan-badge.business {
  border-color: rgba(15, 118, 110, 0.24);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.08);
}

.toggle-row.compact {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.banned-words-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.board-info-form {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  padding: 12px;
  background: rgba(15, 118, 110, 0.04);
}

.board-info-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.board-info-form input,
.board-info-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.board-info-form textarea {
  resize: vertical;
}

.board-info-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.banned-words-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.banned-words-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.access-summary,
.access-preview {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 118, 110, 0.06);
}

.access-summary strong,
.access-preview strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.access-summary span,
.access-preview span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.access-summary dl,
.access-preview dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

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

.access-summary dl div,
.access-preview dl div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(201, 209, 220, 0.72);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.access-summary dt,
.access-preview dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.access-summary dd,
.access-preview dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.banned-word-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.banned-word-presets button {
  min-height: 30px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.07);
  font-size: 12px;
  font-weight: 850;
}

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

.moderation-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.moderation-item.selected {
  border-color: rgba(54, 87, 214, 0.34);
  box-shadow: inset 3px 0 0 var(--blue);
}

.moderation-item.pinned {
  border-color: rgba(15, 118, 110, 0.32);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), #fff 42%);
}

.moderation-item p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.moderation-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.moderation-signals strong {
  border-radius: 999px;
  padding: 5px 9px;
  color: #7f1d1d;
  background: #fee2e2;
}

.moderation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.status-badge {
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.1);
}

.status-with-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.status-badge.pending {
  color: var(--amber);
  background: rgba(217, 135, 21, 0.12);
}

.status-badge.hidden {
  color: var(--rose);
  background: rgba(200, 81, 102, 0.12);
}

.status-badge.deleted {
  color: #6b7280;
  background: #eef0f3;
}

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

.mini-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.mini-button.primary {
  border-color: transparent;
  color: #fff;
  background: var(--accent);
}

.mini-button.active {
  border-color: rgba(15, 118, 110, 0.26);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.08);
}

.mini-button.danger {
  border-color: rgba(200, 81, 102, 0.24);
  color: var(--rose);
  background: rgba(200, 81, 102, 0.07);
}

.export-button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
}

.export-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.export-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.export-item {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.export-item strong {
  font-size: 13px;
}

.export-item span,
.export-item a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.export-item a {
  color: var(--blue);
  text-decoration: none;
}

.accent-block {
  color: #fff;
  border: 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(54, 87, 214, 0.92)),
    var(--accent);
}

.accent-block .eyebrow,
.accent-block p {
  color: rgba(255, 255, 255, 0.78);
}

.accent-block h2 {
  color: #fff;
}

.display-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 72px 340px minmax(0, 1fr);
  }

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

  .preview-board-shell {
    grid-template-columns: 1fr;
  }

  .preview-operator-panel {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.6fr);
    align-items: start;
  }

  .inspector {
    grid-column: 2 / -1;
    min-height: auto;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 880px) {
  .app-shell {
    padding: 12px;
  }

  .topbar {
    position: static;
  }

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

  .rail {
    min-height: auto;
    flex-direction: row;
  }

  .rail-section {
    grid-auto-flow: column;
    align-items: center;
  }

  .rail-bottom {
    display: none;
  }

  .rail-label {
    margin-right: 6px;
  }

  .rail-item {
    min-width: 72px;
    min-height: 48px;
  }

  .builder-pane,
  .board-stage,
  .inspector {
    min-height: auto;
  }

  .inspector {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .stage-toolbar,
  .composer-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    justify-content: space-between;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 30px;
  }

  .builder-pane,
  .board-stage,
  .inspector,
  .rail {
    padding: 16px;
  }
}

/* Public marketing and separated role surfaces */
.site-body,
.auth-body,
.board-body {
  min-height: 100svh;
  color: var(--ink);
  background: #f6f8fb;
}

.auth-body {
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.06), transparent 34%),
    #f3f6f9;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 0;
}

.site-body .site-nav {
  margin-top: 0;
  padding: 20px 0 14px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-links a,
.secondary-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.site-links .nav-cta,
.primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.primary-link.full {
  width: 100%;
}

.primary-button.full {
  width: 100%;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.demo-mode-details {
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

.demo-mode-details summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.demo-mode-details summary::-webkit-details-marker {
  display: none;
}

.demo-mode-details summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 16px;
  font-weight: 900;
}

.demo-mode-details[open] summary::after {
  content: "-";
}

.demo-mode-details summary span {
  font-size: 14px;
  font-weight: 950;
}

.demo-mode-details summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-mode-grid {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.demo-mode-button {
  display: grid;
  min-height: 64px;
  gap: 4px;
  justify-items: start;
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.demo-mode-button:hover,
.demo-mode-button:focus-visible {
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 14px 34px rgba(24, 31, 42, 0.08);
  transform: translateY(-1px);
}

.demo-mode-button strong {
  font-size: 14px;
  font-weight: 950;
}

.demo-mode-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.demo-mode-button.pro {
  border-color: rgba(15, 118, 110, 0.25);
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.92), #fff);
}

.demo-mode-button.superuser {
  border-color: rgba(24, 31, 42, 0.18);
  color: #fff;
  background: linear-gradient(135deg, #151922, #253044);
}

.demo-mode-button.superuser span {
  color: rgba(255, 255, 255, 0.68);
}

.demo-mode-button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.secondary-link.small {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(460px, 0.94fr) minmax(440px, 1.06fr);
  gap: clamp(32px, 4.8vw, 66px);
  width: min(1240px, calc(100% - 32px));
  min-height: min(650px, calc(100svh - 92px));
  margin: 0 auto 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(58px, 7.2vw, 96px);
  line-height: 0.92;
  font-weight: 950;
}

.hero-line {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.45;
  font-weight: 850;
}

.hero-support {
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mobile-break {
  display: none;
}

.hero-product {
  display: grid;
  gap: 0;
  min-height: 460px;
  border: 1px solid rgba(22, 24, 29, 0.11);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 252, 0.82)),
    radial-gradient(circle at 24% 0%, rgba(15, 118, 110, 0.16), transparent 34%);
  box-shadow: 0 26px 80px rgba(24, 31, 42, 0.12);
}

.hero-product-head,
.hero-product-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.hero-product-head div {
  display: grid;
  gap: 4px;
}

.hero-product-head span,
.hero-product-tools span,
.hero-product-post span,
.hero-product-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-product-head strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.hero-product-head small {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
}

.hero-product-body {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 320px;
}

.hero-product-rail {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  background: rgba(246, 248, 251, 0.72);
}

.hero-product-rail span {
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-product-rail span.active {
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.1);
}

.hero-product-feed {
  display: grid;
  align-content: start;
}

.hero-product-post {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-product-post.pinned {
  background: rgba(15, 118, 110, 0.06);
}

.hero-product-post div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hero-product-post strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.hero-product-post em {
  align-self: start;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--accent-strong);
  background: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.hero-product-tools {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.72);
}

.landing-section,
.landing-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.contrast-band {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.contrast-band > * {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.contrast-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contrast-grid article {
  display: grid;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(22px, 3vw, 34px);
  background: transparent;
}

.contrast-grid article:last-child {
  border-right: 0;
  background: rgba(15, 118, 110, 0.045);
}

.contrast-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.contrast-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-intro p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-intro h2,
.feature-band h2,
.landing-cta h2,
.new-copy h1,
.auth-panel h1,
.visitor-title h1,
.admin-summary h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
}

.dashboard-hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
}

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

.usecase-rail {
  gap: 12px;
  border: 0;
}

.usecase-grid article,
.dashboard-empty,
.auth-panel,
.new-form,
.admin-summary,
.admin-side > section,
.admin-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 48px rgba(24, 31, 42, 0.07);
}

.usecase-grid article {
  padding: 24px 20px;
}

.usecase-rail article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.usecase-rail article:last-child {
  border-right: 1px solid var(--line);
}

.usecase-rail article:nth-child(1),
.usecase-rail article:nth-child(4) {
  background: rgba(15, 118, 110, 0.055);
}

.usecase-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.usecase-grid h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.usecase-grid p,
.flow-list,
.dashboard-hero p,
.dashboard-empty p,
.new-copy p,
.auth-panel p,
.auth-panel small {
  color: var(--muted);
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.flow-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.flow-list li::before {
  content: attr(data-step);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 950;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.auth-shell {
  width: min(430px, calc(100% - 32px));
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0 auto;
}

.auth-links {
  display: flex;
  justify-content: center;
}

.auth-links a,
.visitor-home-link,
.display-home-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 209, 220, 0.86);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 31, 42, 0.06);
}

.auth-links a:hover,
.auth-links a:focus-visible,
.visitor-home-link:hover,
.visitor-home-link:focus-visible,
.display-home-link:hover,
.display-home-link:focus-visible {
  border-color: rgba(15, 118, 110, 0.32);
  color: var(--accent-strong);
  background: #fff;
}

.checkout-shell {
  width: min(520px, calc(100% - 32px));
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0 auto;
}

.auth-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.auth-provider-list,
.email-login-form {
  display: grid;
  gap: 10px;
}

.provider-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.provider-button.kakao {
  border-color: rgba(181, 149, 0, 0.18);
  background: #fee500;
}

.provider-button.naver {
  border-color: rgba(3, 199, 90, 0.2);
  color: #fff;
  background: #03c75a;
}

.provider-button.disabled {
  border-color: var(--line);
  color: var(--muted);
  background: #f3f5f7;
  cursor: not-allowed;
  opacity: 1;
}

.email-login-form {
  grid-template-columns: 1fr;
}

.email-login-form label {
  display: grid;
  gap: 7px;
}

.email-login-form .secondary-button {
  width: 100%;
  color: #fff;
  background: var(--accent);
}

.checkout-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(24, 31, 42, 0.07);
}

.checkout-panel h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
}

.checkout-panel p,
.checkout-panel small {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-summary {
  display: grid;
  gap: 8px;
  margin: 0;
}

.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-tint);
}

.checkout-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.plan-benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.plan-benefit-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(15, 118, 110, 0.07);
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.plan-benefit-list strong {
  color: #0f766e;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-shell,
.new-shell,
.visitor-shell,
.admin-shell,
.superadmin-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 30px auto 72px;
}

.admin-shell {
  display: grid;
  gap: 18px;
}

.admin-summary {
  order: 1;
}

.admin-overview {
  order: 2;
}

.admin-insight-brief {
  order: 3;
}

.admin-grid {
  order: 4;
}

.analytics-panel {
  order: 5;
}

.admin-shell,
.superadmin-shell {
  color: #171a20;
  font-size: 14px;
}

.admin-shell .eyebrow,
.superadmin-shell .eyebrow {
  margin: 0 0 5px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.new-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.76fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.dashboard-hero,
.superadmin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.dashboard-hero > div,
.superadmin-hero > div {
  display: grid;
  gap: 10px;
}

.dashboard-hero > div p,
.superadmin-hero > div p {
  max-width: 580px;
  margin-bottom: 0;
}

.dashboard-empty,
.new-form,
.superadmin-panel {
  padding: 24px;
}

.new-copy {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}

.new-copy h1 {
  margin-bottom: 0;
}

.superadmin-shell {
  display: grid;
  gap: 18px;
}

.superadmin-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
}

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

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

.superadmin-overview article,
.superadmin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.superadmin-overview article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.superadmin-overview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.superadmin-overview strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.superadmin-overview small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

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

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

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

.superadmin-cost-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.08);
}

.superadmin-cost-alert[hidden] {
  display: none;
}

.superadmin-cost-alert strong {
  color: var(--ink);
  font-size: 15px;
}

.superadmin-cost-alert span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.superadmin-cost-alert div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.superadmin-cost-alert button,
.superadmin-cost-alert a,
.superadmin-cost-action {
  min-height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.superadmin-cost-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.superadmin-cost-card.good {
  border-color: rgba(15, 118, 110, 0.2);
  background: rgba(15, 118, 110, 0.045);
}

.superadmin-cost-card.warn {
  border-color: rgba(180, 83, 9, 0.26);
  background: rgba(245, 158, 11, 0.08);
}

.superadmin-cost-card span,
.superadmin-cost-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.superadmin-cost-card strong {
  color: var(--ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.superadmin-cost-card i {
  display: block;
  align-self: end;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.superadmin-cost-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0f766e;
}

.superadmin-cost-card.warn b {
  background: #d97706;
}

.superadmin-cost-action {
  justify-self: start;
}

.superadmin-cost-table {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.superadmin-cost-table-head {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.superadmin-cost-table-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.superadmin-cost-table-head strong {
  color: var(--ink);
  font-size: 16px;
}

.superadmin-cost-row {
  background: rgba(255, 255, 255, 0.54);
}

.superadmin-cost-plan,
.superadmin-cost-export {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.superadmin-cost-plan strong,
.superadmin-cost-export strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.superadmin-cost-plan span,
.superadmin-cost-export span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.superadmin-cost-plan em {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.superadmin-cost-export strong.good {
  color: #0f766e;
}

.superadmin-cost-export strong.warn {
  color: #b45309;
}

.superadmin-signal {
  display: grid;
  gap: 7px;
  min-height: 118px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 0 0;
  background: transparent;
}

.superadmin-signal.good {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.045);
}

.superadmin-signal.warn {
  border-color: rgba(180, 83, 9, 0.28);
  background: rgba(245, 158, 11, 0.07);
}

.superadmin-signal span,
.superadmin-signal small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.superadmin-signal strong {
  color: var(--ink);
  font-size: 24px;
}

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

.superadmin-chart-card {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.superadmin-chart-card div {
  display: grid;
  gap: 5px;
}

.superadmin-chart-card span,
.superadmin-chart-card small,
.superadmin-seo-signal span,
.superadmin-seo-signal small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.superadmin-chart-card strong,
.superadmin-seo-signal strong {
  color: var(--ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.superadmin-chart-card svg {
  width: 100%;
  height: 96px;
  overflow: visible;
}

.superadmin-chart-card rect {
  fill: rgba(15, 118, 110, 0.1);
}

.superadmin-chart-card polyline {
  fill: none;
  stroke: #0f766e;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.superadmin-seo-signal {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.superadmin-seo-signal div {
  display: grid;
  gap: 5px;
}

.superadmin-seo-signal i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.superadmin-seo-signal b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0f766e;
}

.superadmin-seo-signal.warn b {
  background: #d97706;
}

.superadmin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.superadmin-filter-group {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.superadmin-toolbar button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.superadmin-toolbar button.active,
.superadmin-toolbar button:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent);
}

.superadmin-search {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  justify-self: stretch;
  color: #647184;
  font-size: 11px;
  font-weight: 850;
}

.superadmin-search::before {
  position: absolute;
  left: 14px;
  bottom: 13px;
  width: 13px;
  height: 13px;
  border: 2px solid #8a96a8;
  border-radius: 999px;
  content: "";
  opacity: 0.72;
}

.superadmin-search::after {
  position: absolute;
  left: 26px;
  bottom: 10px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #8a96a8;
  content: "";
  opacity: 0.72;
  transform: rotate(45deg);
}

.superadmin-toolbar input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px 0 40px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(24, 31, 42, 0.04);
}

.superadmin-toolbar input:focus {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow:
    0 0 0 3px rgba(15, 118, 110, 0.1),
    0 10px 26px rgba(24, 31, 42, 0.04);
  outline: 0;
}

.superadmin-toolbar input::placeholder {
  color: #8a96a8;
}

.superadmin-table {
  display: grid;
  gap: 8px;
}

.superadmin-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) minmax(130px, 0.7fr) minmax(180px, 1fr) minmax(190px, 1fr) minmax(220px, auto);
  gap: 12px;
  align-items: start;
  min-height: 58px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 4px;
  background: transparent;
}

.superadmin-row-customer {
  cursor: pointer;
}

.superadmin-row-customer:hover,
.superadmin-row-customer:focus-visible,
.superadmin-row-customer.selected {
  border-color: rgba(15, 118, 110, 0.3);
  background: rgba(15, 118, 110, 0.045);
  outline: none;
}

.superadmin-row-head {
  min-height: 0;
  border-top: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.superadmin-rich-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.superadmin-rich-cell a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-rich-cell strong {
  color: var(--ink);
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-rich-cell span,
.superadmin-text-cell {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.superadmin-plan-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.superadmin-activity-cell {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.superadmin-activity-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.risk-label {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  padding: 0 9px;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.07);
  font-size: 11px;
  font-weight: 950;
}

.risk-label.report,
.risk-label.inactive_paid,
.risk-label.payment_pending {
  border-color: rgba(180, 83, 9, 0.28);
  color: #92400e;
  background: rgba(245, 158, 11, 0.1);
}

.risk-label.upgrade_candidate {
  border-color: rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
}

.risk-label.suspended {
  border-color: rgba(185, 28, 28, 0.28);
  color: #991b1b;
  background: rgba(185, 28, 28, 0.08);
}

.superadmin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.superadmin-actions .danger {
  border-color: rgba(185, 28, 28, 0.28);
  color: #991b1b;
  background: #fff7f7;
}

.superadmin-enforcement {
  border-color: rgba(185, 28, 28, 0.18);
}

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

.superadmin-enforcement-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.superadmin-enforcement-form label.wide,
.superadmin-enforcement-form .superadmin-actions {
  grid-column: 1 / -1;
}

.superadmin-enforcement-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.superadmin-enforcement-form select,
.superadmin-enforcement-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

.superadmin-enforcement-form textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.45;
}

.superadmin-plan-select select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.superadmin-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: var(--panel-tint);
  font-weight: 750;
}

.superadmin-detail {
  position: fixed;
  top: 84px;
  right: 20px;
  z-index: 40;
  display: grid;
  gap: 16px;
  width: min(420px, calc(100vw - 40px));
  max-height: calc(100svh - 112px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(24, 31, 42, 0.18);
}

.superadmin-detail[hidden] {
  display: none;
}

.superadmin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.superadmin-detail-head h2 {
  margin: 4px 0 2px;
  font-size: 24px;
  line-height: 1.05;
}

.superadmin-detail-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.superadmin-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.superadmin-detail-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-tint);
}

.superadmin-detail-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.superadmin-detail-metrics dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.superadmin-detail-section {
  display: grid;
  gap: 10px;
}

.superadmin-detail-section h3 {
  margin: 0;
  font-size: 15px;
}

.superadmin-detail-list {
  display: grid;
  gap: 8px;
}

.superadmin-detail-item,
.superadmin-detail-empty {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fff;
  text-decoration: none;
}

.superadmin-detail-item strong {
  color: var(--ink);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-detail-item span,
.superadmin-detail-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.dashboard-card-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.dashboard-card-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel-tint);
}

.dashboard-card-grid strong {
  font-size: 18px;
}

.dashboard-card-grid span {
  color: var(--muted);
  line-height: 1.45;
}

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

.dashboard-board-list {
  display: grid;
  gap: 12px;
}

.dashboard-board-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.dashboard-board-card.empty {
  grid-template-columns: 1fr;
  align-items: start;
}

.dashboard-board-card.empty span,
.dashboard-board-main p {
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-board-main {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.dashboard-board-main h3 {
  margin: 0;
  font-size: 24px;
}

.dashboard-board-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 340px);
  min-width: 260px;
  margin: 0;
}

.dashboard-board-stats div {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 76px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-tint);
}

.dashboard-board-stats dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  white-space: nowrap;
}

.dashboard-board-stats dd {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.dashboard-board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 132px;
}

.dashboard-board-actions a {
  white-space: nowrap;
}

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

.upgrade-request-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 118, 110, 0.06);
}

.upgrade-request-item div {
  display: grid;
  gap: 4px;
}

.upgrade-request-item strong {
  color: var(--ink);
  font-size: 16px;
}

.upgrade-request-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.primary-link.compact {
  min-height: 34px;
  padding: 0 12px;
}

.new-form,
.visitor-composer {
  display: grid;
  gap: 14px;
}

.new-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.new-copy h1 {
  margin-bottom: 0;
}

.hero-copy h1 span {
  display: block;
}

.new-step-kicker {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.07);
  font-size: 11px;
  font-weight: 950;
}

.onboarding-step {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.mode-picker,
.template-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

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

.mode-picker button,
.template-picker button {
  position: relative;
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.mode-picker button {
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) 20px;
  grid-template-areas:
    "title state"
    "copy state";
  column-gap: 12px;
  border-color: rgba(201, 209, 220, 0.72);
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.7);
}

.mode-picker button::after {
  grid-area: state;
  width: 9px;
  height: 5px;
  align-self: center;
  justify-self: center;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.8);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.mode-picker button strong,
.template-picker button strong {
  font-size: 14px;
  font-weight: 900;
}

.mode-picker button strong {
  grid-area: title;
}

.mode-picker button small,
.template-picker button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.mode-picker button small {
  grid-area: copy;
}

.mode-picker button:hover,
.template-picker button:hover,
.template-picker button.active {
  border-color: rgba(15, 118, 110, 0.32);
  background: #fff;
  transform: translateY(-1px);
}

.template-picker button.active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.mode-picker button.active {
  border-color: #0f766e;
  color: #fff;
  background: linear-gradient(180deg, #0f766e 0%, #0b655f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 26px rgba(15, 118, 110, 0.18);
}

.mode-picker button.active::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.mode-picker button.active small {
  color: rgba(255, 255, 255, 0.78);
}

.mode-picker button:focus {
  outline: none;
}

.mode-picker button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  outline-offset: 3px;
}

.template-preview {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 118, 110, 0.06);
}

.advanced-settings {
  border: 1px solid rgba(201, 209, 220, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.advanced-settings summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #4f5c6b;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.advanced-settings summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1;
}

.advanced-settings[open] summary {
  border-bottom: 1px solid rgba(201, 209, 220, 0.72);
}

.advanced-settings[open] summary::after {
  content: "-";
}

.advanced-settings > .two-fields,
.advanced-settings > label,
.advanced-settings > .checkbox-line {
  margin: 14px;
}

.access-preview {
  background: rgba(255, 255, 255, 0.72);
}

.template-preview strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.template-preview span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.template-preview small {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.visitor-board {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(20px, 3.4vw, 34px) 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.visitor-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 28px) 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.visitor-title p {
  color: var(--muted);
}

.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.board-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.07);
  font-size: 12px;
  font-weight: 850;
}

.visitor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.visitor-actions button {
  cursor: pointer;
}

.visitor-count {
  display: grid;
  min-width: 104px;
  min-height: 92px;
  justify-self: end;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(201, 209, 220, 0.8);
  border-radius: 8px;
  background: #fff;
}

.visitor-count strong {
  font-size: 38px;
  line-height: 1;
}

.visitor-count span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.visitor-content {
  display: block;
}

.visitor-composer {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-tint);
}

.composer-heading,
.feed-heading-copy {
  display: grid;
  gap: 4px;
}

.composer-heading strong,
.feed-heading strong {
  font-size: 20px;
}

.composer-heading span,
.feed-heading span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.visitor-feed {
  display: grid;
  gap: 14px;
  max-width: none;
}

.board-loading .visitor-feed,
.board-loading .member-gate {
  display: none;
}

.board-loading .visitor-title .eyebrow,
.board-loading .visitor-title h1,
.board-loading #board-description,
.board-loading .visitor-count strong,
.board-loading .visitor-count span,
.board-loading .visitor-actions::before,
.board-loading .visitor-actions::after {
  position: relative;
  overflow: hidden;
  color: transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(231, 236, 243, 0.72), rgba(247, 249, 252, 0.94), rgba(231, 236, 243, 0.72));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.board-loading .visitor-title .eyebrow {
  width: 112px;
  height: 14px;
}

.board-loading .visitor-title h1 {
  width: min(100%, 560px);
  height: clamp(46px, 6vw, 68px);
}

.board-loading #board-description {
  width: min(100%, 520px);
  height: 18px;
}

.board-loading .board-meta,
.board-loading .starter-prompts {
  display: none;
}

.board-loading .visitor-actions {
  display: flex;
  gap: 10px;
}

.board-loading .visitor-actions button {
  display: none;
}

.board-loading .visitor-actions::before,
.board-loading .visitor-actions::after {
  content: "";
  display: block;
  width: 108px;
  height: 40px;
}

.board-loading .visitor-actions::after {
  width: 92px;
}

.board-loading .visitor-count {
  border-color: rgba(216, 222, 231, 0.92);
  background: rgba(255, 255, 255, 0.9);
}

.board-loading .visitor-count strong {
  width: 42px;
  height: 36px;
}

.board-loading .visitor-count span {
  width: 56px;
  height: 13px;
}

.board-loading .visitor-content {
  display: grid;
  gap: 14px;
  min-height: 320px;
}

.board-loading .visitor-content::before {
  content: "";
  display: block;
  width: 100%;
  min-height: clamp(220px, 30vw, 320px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent) 0 0 / 220% 100%,
    linear-gradient(#e9eef4 22px, transparent 22px) 28px 30px / min(360px, calc(100% - 56px)) 38px no-repeat,
    linear-gradient(#f2f5f8 14px, transparent 14px) 28px 78px / min(520px, calc(100% - 56px)) 28px no-repeat,
    linear-gradient(#f2f5f8 14px, transparent 14px) 28px 112px / min(420px, calc(100% - 56px)) 28px no-repeat,
    linear-gradient(#eef2f6 44px, transparent 44px) 28px 168px / calc(100% - 56px) 68px no-repeat,
    linear-gradient(#eef2f6 44px, transparent 44px) 28px 252px / calc(100% - 56px) 68px no-repeat,
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(24, 31, 42, 0.05);
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.feed-loading .visitor-feed {
  min-height: clamp(220px, 30vw, 320px);
}

.feed-loading .visitor-feed > * {
  display: none;
}

.feed-loading .visitor-feed::before {
  content: "";
  display: block;
  width: 100%;
  min-height: clamp(220px, 30vw, 320px);
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent) 0 0 / 220% 100%,
    linear-gradient(#e9eef4 22px, transparent 22px) 0 0 / min(360px, 100%) 38px no-repeat,
    linear-gradient(#f2f5f8 14px, transparent 14px) 0 48px / min(520px, 100%) 28px no-repeat,
    linear-gradient(#eef2f6 44px, transparent 44px) 0 112px / 100% 68px no-repeat,
    linear-gradient(#eef2f6 44px, transparent 44px) 0 196px / 100% 68px no-repeat;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.member-gate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 1fr);
  grid-template-areas:
    "copy form"
    "preview preview";
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
  max-width: none;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.78), rgba(255, 255, 255, 0.95) 46%),
    #fff;
  box-shadow: 0 16px 44px rgba(24, 31, 42, 0.05);
  overflow: hidden;
}

.member-gate > div,
.member-login-form {
  position: relative;
  z-index: 1;
}

.member-gate > div {
  grid-area: copy;
}

.member-login-form {
  grid-area: form;
}

.locked-board-preview {
  grid-area: preview;
  display: grid;
  gap: 14px;
  min-height: 220px;
  border: 1px solid rgba(216, 222, 231, 0.78);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  opacity: 0.72;
  filter: saturate(0.75);
}

.locked-preview-heading {
  display: grid;
  gap: 7px;
}

.locked-preview-heading strong,
.locked-preview-heading span,
.locked-preview-search,
.locked-preview-tabs span,
.locked-preview-posts article span,
.locked-preview-posts article p {
  display: block;
  border-radius: 8px;
  background: #e9eef4;
}

.locked-preview-heading strong {
  width: min(280px, 72%);
  height: 22px;
}

.locked-preview-heading span {
  width: min(420px, 86%);
  height: 13px;
  background: #f2f5f8;
}

.locked-preview-search {
  height: 44px;
  border: 1px solid rgba(216, 222, 231, 0.92);
  background: #fff;
}

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

.locked-preview-tabs span {
  width: 64px;
  height: 34px;
  border-radius: 999px;
}

.locked-preview-tabs span:first-child {
  width: 72px;
  background: rgba(15, 118, 110, 0.13);
}

.locked-preview-posts {
  display: grid;
  gap: 0;
}

.locked-preview-posts article {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(201, 209, 220, 0.72);
  padding: 16px 2px;
}

.locked-preview-posts article span {
  width: min(340px, 64%);
  height: 13px;
}

.locked-preview-posts article p {
  width: 100%;
  height: 18px;
  background: #eef2f6;
}

.locked-preview-posts article:nth-child(2) p {
  width: 76%;
}

.member-gate h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

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

.member-login-form {
  display: grid;
  align-self: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(216, 222, 231, 0.78);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.member-login-form .secondary-button {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.member-login-form .secondary-button:hover,
.member-login-form .secondary-button:focus-visible {
  color: #fff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.member-login-form .status-line {
  grid-column: 1 / -1;
}

.primary-link:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.feed-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 2px 0 12px;
}

.starter-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.starter-prompts button {
  min-height: 32px;
  border: 1px solid rgba(201, 209, 220, 0.9);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.starter-prompts button:hover {
  border-color: rgba(15, 118, 110, 0.32);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.07);
}

.sort-tabs,
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 2px;
}

.sort-tabs button,
.category-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 850;
}

.sort-tabs button.active,
.sort-tabs button:hover,
.category-tabs button.active,
.category-tabs button:hover {
  border-color: rgba(15, 118, 110, 0.3);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.08);
}

.sort-tabs {
  padding-bottom: 0;
}

.sort-tabs button {
  border-radius: 8px;
}

.visitor-post-list {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.visitor-post-list.card-layout:not(.pinned-list) {
  grid-template-columns: repeat(var(--feed-card-columns, 1), minmax(0, 1fr));
  gap: 12px;
}

.visitor-post-list.card-layout:not(.pinned-list) .visitor-post {
  height: 100%;
}

.board-search {
  display: grid;
  gap: 7px;
}

.board-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.pinned-section {
  display: grid;
  gap: 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: rgba(240, 253, 250, 0.76);
  box-shadow: 0 8px 20px rgba(65, 78, 84, 0.05);
}

.pinned-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
}

.pinned-section-head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.pinned-section-head strong {
  color: #047857;
  font-size: 13px;
  font-weight: 950;
}

.pinned-section-head span {
  min-width: 0;
  color: #60707a;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pinned-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: #047857;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pinned-section.expanded {
  gap: 10px;
  padding-bottom: 12px;
}

.pinned-section.expanded .pinned-section-head {
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.pinned-list .visitor-post {
  margin-bottom: 0;
}

.visitor-post {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  border: 0;
  border-top: 1px solid rgba(201, 209, 220, 0.9);
  border-radius: 0;
  padding: 18px 2px;
  background: transparent;
}

.visitor-post.pinned {
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  padding: 18px;
  background: rgba(15, 118, 110, 0.055);
}

.visitor-post p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.composer-open {
  overflow: hidden;
}

.member-required-open {
  overflow: hidden;
}

.composer-sheet[hidden] {
  display: none;
}

.composer-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.composer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 18, 28, 0.48);
  cursor: pointer;
}

.composer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(520px, 100%);
  max-height: min(680px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid rgba(201, 209, 220, 0.72);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(13, 18, 28, 0.26);
  animation: composer-pop 160ms ease-out;
}

.composer-panel .visitor-composer {
  width: 100%;
  max-height: inherit;
  overflow-y: auto;
  border: 0;
  background: transparent;
}

.composer-panel .composer-footer {
  position: sticky;
  bottom: -18px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: 0 -18px -18px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff 34%);
}

.composer-panel .composer-footer .secondary-button {
  min-width: 112px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
  font-weight: 950;
}

.composer-panel .composer-footer .secondary-button:hover,
.composer-panel .composer-footer .secondary-button:focus-visible {
  color: #fff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.composer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.member-required-modal[hidden] {
  display: none;
}

.member-required-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.member-required-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 18, 28, 0.5);
  cursor: pointer;
}

.member-required-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  border: 1px solid rgba(201, 209, 220, 0.72);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 249, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(255, 230, 90, 0.28), transparent 34%);
  box-shadow: 0 28px 80px rgba(13, 18, 28, 0.26);
  animation: composer-pop 160ms ease-out;
}

.member-required-panel h2 {
  margin: 0;
  color: #171b22;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.16;
  letter-spacing: 0;
}

.member-required-panel p:not(.eyebrow) {
  margin: 0;
  color: #647084;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.62;
}

.member-required-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 4px;
}

.member-required-actions button {
  cursor: pointer;
}

@keyframes composer-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.powered-by {
  display: flex;
  justify-content: center;
  padding: 18px 0 4px;
}

.powered-by a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(201, 209, 220, 0.7);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.powered-by strong {
  color: var(--ink);
  font-weight: 900;
}

.powered-by a:hover {
  border-color: rgba(15, 118, 110, 0.26);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.06);
}

.moaboard-promo {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  width: min(980px, calc(100% - 32px));
  margin: 14px auto 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(24, 31, 42, 0.07);
}

.moaboard-promo[hidden] {
  display: none;
}

.moaboard-promo div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.moaboard-promo span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.moaboard-promo strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.moaboard-promo p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.custom-domain-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.custom-domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-admin-form {
  display: grid;
  gap: 10px;
}

.member-code-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 118, 110, 0.07);
}

.member-code-card[hidden] {
  display: none;
}

.member-code-card span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.member-code-card strong {
  overflow-wrap: anywhere;
  font-size: 20px;
  letter-spacing: 0;
}

.member-invite-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.member-invite-card div {
  display: grid;
  gap: 4px;
}

.member-invite-card strong {
  font-size: 14px;
}

.member-invite-card span,
.member-invite-card output {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.member-invite-card output {
  overflow-wrap: anywhere;
}

.member-invite-card .member-admin-form {
  margin-top: 2px;
}

.invite-list {
  margin-top: 10px;
}

.invite-item {
  background: rgba(248, 250, 252, 0.95);
}

.share-invite-card {
  margin: 14px 0 0;
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.05);
}

.embed-share-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.92);
}

.embed-share-card strong,
.embed-share-card span {
  display: block;
}

.embed-share-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.embed-share-card textarea {
  min-height: 90px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
}

.embed-share-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.embed-share-actions a {
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.member-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.member-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.member-item strong,
.member-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
}

.embed-shell {
  width: 100%;
}

.embed-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(24, 31, 42, 0.08);
}

.embed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.embed-head h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.05;
}

.embed-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.embed-posts {
  display: grid;
  gap: 8px;
}

.embed-post {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}

.embed-post div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.embed-post strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-post span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.embed-post p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.embed-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.embed-footer a {
  color: var(--teal-strong);
  text-decoration: none;
}

.embed-loading {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.poster-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f7faf9;
  color: var(--ink);
  font-family: var(--font-sans);
}

.poster-shell {
  width: min(100%, 760px);
}

.poster-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 6vw, 56px);
  background: #fff;
  box-shadow: 0 20px 70px rgba(24, 31, 42, 0.12);
  text-align: center;
}

.poster-card h1 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.98;
}

.poster-card p {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2.8vw, 22px);
  line-height: 1.45;
}

.poster-qr {
  width: min(58vw, 320px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.poster-url {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.poster-powered {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

@media print {
  .poster-body {
    padding: 0;
    background: #fff;
  }

  .poster-card {
    min-height: 100vh;
    border: 0;
    box-shadow: none;
  }

  .poster-print {
    display: none;
  }
}

.member-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.comment-box {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.comment-toggle {
  justify-self: start;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.comment-toggle:hover {
  border-color: rgba(15, 118, 110, 0.28);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.06);
}

.comment-panel {
  display: grid;
  gap: 10px;
}

.comment-list {
  display: grid;
  gap: 8px;
}

.comment-item {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--panel-tint);
}

.comment-item strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.comment-item span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.comment-item small {
  color: var(--soft);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.comment-form input {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}

.comment-form button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.admin-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 231, 0.9);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 249, 0.92)),
    radial-gradient(circle at 86% 12%, rgba(255, 230, 90, 0.26), transparent 32%);
  box-shadow: 0 18px 50px rgba(24, 31, 42, 0.055);
}

.admin-summary p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-summary h1 {
  margin: 0 0 8px;
  max-width: 860px;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.admin-stat {
  display: grid;
  width: 120px;
  min-height: 96px;
  place-items: center;
  border: 1px solid rgba(201, 209, 220, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(24, 31, 42, 0.04);
}

.admin-stat strong {
  font-size: 40px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.admin-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.admin-overview div {
  display: grid;
  min-height: 82px;
  gap: 8px;
  align-content: center;
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(24, 31, 42, 0.04);
}

.admin-overview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-overview strong {
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.admin-insight-brief {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(320px, 1.7fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 253, 248, 0.82));
  box-shadow: 0 16px 42px rgba(15, 118, 110, 0.07);
}

.admin-insight-brief h2,
.admin-insight-brief p {
  margin: 0;
}

.admin-insight-brief h2 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.18;
}

.admin-insight-brief p:not(.eyebrow) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.admin-insight-brief > button {
  min-width: 112px;
  justify-self: end;
  white-space: nowrap;
}

.admin-insight-brief-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-insight-brief-metrics article {
  display: grid;
  gap: 7px;
  min-height: 72px;
  align-content: center;
  border: 1px solid rgba(216, 222, 231, 0.86);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.admin-insight-brief-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.admin-insight-brief-metrics strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.analytics-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.analytics-panel[hidden] {
  display: none;
}

body.analytics-modal-open {
  overflow: hidden;
}

.analytics-modal {
  position: fixed;
  z-index: 80;
  inset: 42px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  align-content: start;
  max-height: calc(100vh - 84px);
  overflow: auto;
  border-color: rgba(183, 194, 208, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 253, 0.96));
  box-shadow:
    0 0 0 9999px rgba(15, 23, 42, 0.38),
    0 30px 80px rgba(15, 23, 42, 0.24);
}

.analytics-close-button {
  min-height: 34px;
  padding-inline: 14px;
}

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

.analytics-actions,
.superadmin-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.superadmin-export-panel .section-heading {
  display: grid;
  gap: 4px;
}

.superadmin-export-panel .section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.superadmin-export-panel .superadmin-export-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  justify-content: stretch;
}

.superadmin-export-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 245, 0.56));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.superadmin-export-card:hover,
.superadmin-export-card:focus-visible {
  border-color: rgba(13, 148, 136, 0.54);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.superadmin-export-card span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

.superadmin-export-card strong {
  font-size: 14px;
  line-height: 1.45;
}

.secondary-link.disabled,
.secondary-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.52;
}

.analytics-head h2,
.analytics-grid h3 {
  margin: 0;
}

.analytics-range {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 10px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.analytics-range select {
  min-height: 30px;
  border: 0;
  padding: 0 26px 0 6px;
  background-color: transparent;
  font-size: 12px;
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.analytics-summary div {
  display: grid;
  gap: 8px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 0 0;
  background: transparent;
}

.analytics-summary span,
.analytics-row span,
.analytics-day small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.analytics-summary strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.analytics-seo-panel {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.analytics-seo-panel h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

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

.analytics-seo-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.analytics-seo-card.good {
  border-color: rgba(15, 118, 110, 0.28);
  background: #f5fffc;
}

.analytics-seo-card.warn {
  border-color: rgba(217, 119, 6, 0.28);
  background: #fffaf0;
}

.analytics-seo-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.analytics-seo-card span,
.analytics-seo-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.analytics-seo-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.analytics-seo-card i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8dde7;
}

.analytics-seo-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

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

.analytics-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.analytics-grid h3 {
  font-size: 14px;
}

.analytics-list {
  display: grid;
  gap: 9px;
}

.analytics-row {
  display: grid;
  gap: 6px;
}

.analytics-row div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

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

.analytics-row i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
}

.analytics-days {
  display: flex;
  gap: 10px;
  align-items: end;
  min-height: 112px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  overflow-x: auto;
}

.analytics-day {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 38px;
}

.analytics-day > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.analytics-day > strong {
  position: relative;
  display: flex;
  align-items: end;
  width: 16px;
  min-height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #d8dde7;
}

.analytics-day > strong > i {
  display: block;
  width: 100%;
  min-height: 0;
  background: var(--ink);
}

.analytics-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.analytics-deep-grid section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.analytics-deep-grid h3 {
  margin: 0;
  font-size: 14px;
}

.analytics-hours {
  display: flex;
  align-items: end;
  gap: 5px;
  min-height: 96px;
  overflow-x: auto;
}

.analytics-hour {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 22px;
}

.analytics-hour strong {
  display: flex;
  align-items: end;
  width: 10px;
  min-height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: #d8dde7;
}

.analytics-hour strong i {
  width: 100%;
  background: var(--ink);
}

.analytics-hour span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.analytics-table {
  display: grid;
  gap: 8px;
}

.analytics-table-row {
  display: grid;
  gap: 4px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0 0;
  background: transparent;
}

.analytics-table-row.risk {
  background: #fff;
}

.analytics-table-row strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.analytics-table-row span,
.analytics-table-row small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.campaign-link-form {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.campaign-link-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.campaign-link-form input {
  min-height: 36px;
}

.campaign-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.campaign-presets button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.campaign-link-output {
  min-height: 18px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.campaign-qr-download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--panel-tint);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.campaign-qr-download[hidden] {
  display: none;
}

.campaign-limit-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.campaign-limit-status.limit {
  color: var(--accent-strong);
}

.campaign-list {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.campaign-item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.campaign-item strong {
  color: var(--ink);
  font-size: 13px;
}

.campaign-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.campaign-item div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.campaign-item a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--panel-tint);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.admin-lock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(24, 31, 42, 0.07);
}

.admin-lock h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.admin-lock p {
  color: var(--muted);
}

.admin-lock form {
  display: grid;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-side-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.admin-side-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.admin-side-tabs button.active,
.admin-side-tabs button:hover,
.admin-side-tabs button[data-admin-jump]:hover {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 0 rgba(24, 31, 42, 0.06);
}

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

.admin-side > section {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.admin-main {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 2.3vw, 26px);
  min-height: 420px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.admin-main-head {
  order: 1;
}

#admin-filter-status {
  order: 2;
  margin: -8px 0 0;
}

.admin-post-workspace {
  order: 3;
}

.operator-compose-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  place-items: center;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  padding: 24px;
  background: rgba(18, 22, 28, 0.58);
  backdrop-filter: blur(8px);
}

.plan-panel {
  order: 5;
}

.plan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 0;
  background: #fff;
}

.plan-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.plan-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.operator-compose-dialog {
  display: grid;
  width: min(680px, 100%);
  gap: 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.24);
}

.operator-compose-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.operator-compose-head h2 {
  margin: 0;
  font-size: 22px;
}

.operator-compose-copy {
  margin: -6px 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.5;
}

.operator-compose-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

body.operator-compose-open {
  overflow: hidden;
}

.operator-compose-open {
  margin-top: 12px;
}

.operator-post-form {
  display: grid;
  gap: 10px;
}

.operator-post-form textarea {
  line-height: 1.55;
}

.operator-compose-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.operator-compose-options label {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.operator-compose-options input {
  width: auto;
}

.plan-usage {
  display: grid;
  gap: 8px;
  margin: 0;
}

.plan-usage div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.plan-usage dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.plan-usage dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.admin-main-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(216, 222, 231, 0.88);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 0;
  background:
    linear-gradient(90deg, rgba(255, 230, 90, 0.14), transparent 38%),
    rgba(250, 253, 252, 0.92);
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
}

.moderation-view-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  border: 1px solid rgba(201, 209, 220, 0.92);
  border-radius: 12px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.86);
}

.moderation-view-toggle button {
  min-height: 32px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.moderation-view-toggle button.active {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 8px 18px rgba(255, 214, 56, 0.22);
}

.admin-filters input {
  grid-column: 1 / -1;
}

.moderation-list.wide {
  gap: 12px;
}

.moderation-list.wide .helper-copy {
  border: 1px dashed rgba(201, 209, 220, 0.92);
  border-radius: 14px;
  padding: 22px;
  background: rgba(249, 251, 253, 0.82);
}

.moderation-list.wide .moderation-item {
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 14px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(24, 31, 42, 0.035);
}

.moderation-list.wide .moderation-item.selected {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow:
    inset 4px 0 0 rgba(15, 118, 110, 0.78),
    0 12px 30px rgba(15, 118, 110, 0.08);
}

.moderation-list.wide .moderation-item.pinned {
  background: linear-gradient(180deg, rgba(255, 249, 215, 0.9), rgba(255, 255, 255, 0.94));
}

.moderation-list.table-view {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.moderation-table-row {
  display: grid;
  grid-template-columns: 90px minmax(220px, 1fr) 96px 132px 74px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  border-top: 1px solid rgba(226, 231, 238, 0.9);
}

.moderation-table-row:first-child {
  border-top: 0;
}

.moderation-table-row.selected {
  background: rgba(15, 118, 110, 0.06);
  box-shadow: inset 4px 0 0 rgba(15, 118, 110, 0.76);
}

.moderation-table-row.pinned {
  background-image: linear-gradient(90deg, rgba(255, 231, 102, 0.18), transparent 42%);
}

.moderation-table-head {
  min-height: 42px;
  color: var(--soft);
  background: rgba(249, 251, 253, 0.92);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.moderation-table-status {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.pin-badge {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.1);
}

.pin-badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pin-badge.inline {
  width: 18px;
  height: 18px;
}

.pin-badge.inline svg {
  width: 11px;
  height: 11px;
}

.moderation-table-content {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.moderation-table-content strong,
.moderation-table-content span,
.moderation-table-author,
.moderation-table-signals {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.moderation-table-content strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.moderation-table-content span,
.moderation-table-author,
.moderation-table-signals {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.moderation-table-signals.risk {
  color: #991b1b;
}

.moderation-actions.compact {
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.moderation-actions.compact .mini-button {
  min-height: 30px;
  padding-inline: 8px;
}

.admin-post-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 16px;
  align-items: start;
}

.admin-post-workspace.table-mode {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.48fr);
}

.post-inspector {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 31, 42, 0.04);
}

.post-inspector-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.post-inspector-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.post-edit-form {
  display: grid;
  gap: 10px;
}

.post-edit-form textarea {
  line-height: 1.55;
}

.post-edit-footer {
  display: grid;
  gap: 8px;
}

.post-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.post-detail-list div {
  display: grid;
  gap: 3px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0 0;
  background: transparent;
}

.post-detail-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.post-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.request-context {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.request-context h4 {
  margin: 0;
  font-size: 14px;
}

.request-context dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.request-context div {
  display: grid;
  gap: 3px;
}

.request-context dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.request-context dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.inspector-actions {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.post-state-control {
  display: grid;
  gap: 10px;
}

.post-status-segment {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(201, 209, 220, 0.9);
  border-radius: 12px;
  padding: 4px;
  background: rgba(249, 251, 253, 0.84);
}

.post-status-option {
  min-width: 0;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.post-status-option.active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.post-status-option.danger.active {
  background: var(--rose);
  box-shadow: 0 8px 18px rgba(200, 81, 102, 0.18);
}

.post-status-option:disabled {
  cursor: default;
}

.pin-toggle {
  display: inline-flex;
  min-height: 36px;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201, 209, 220, 0.95);
  border-radius: 999px;
  padding: 0 13px 0 11px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pin-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pin-toggle.active {
  border-color: rgba(15, 118, 110, 0.28);
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.08);
}

.inspector-comments {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.inspector-comments h4 {
  margin: 0;
  font-size: 15px;
}

.inspector-comment-list {
  display: grid;
  gap: 8px;
}

/* MoaBoard product redesign pass: unify public, operator, and service-admin surfaces. */
.site-body,
.auth-body,
.board-body {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 230, 90, 0.36), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(3, 199, 90, 0.18), transparent 28%),
    linear-gradient(135deg, #fffdf3 0%, #f4fbf8 45%, #e9f2f4 100%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1220px, calc(100% - 32px));
  border-bottom: 1px solid rgba(216, 222, 231, 0.72);
  backdrop-filter: blur(16px);
}

.site-brand {
  gap: 11px;
  font-size: 15px;
}

.site-brand .brand-mark {
  box-shadow:
    0 10px 24px rgba(15, 118, 110, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.site-links a,
.secondary-link,
.secondary-button,
.mini-button,
.primary-button,
.primary-link {
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.primary-link:hover,
.primary-button:hover,
.secondary-button:hover,
.mini-button:hover,
.site-links a:hover {
  transform: translateY(-1px);
}

.primary-link,
.primary-button,
.site-links .nav-cta {
  color: #17180f;
  background: linear-gradient(180deg, #ffea68 0%, #ffdd34 100%);
  box-shadow: 0 12px 26px rgba(181, 149, 0, 0.2);
}

.admin-shell .primary-link,
.admin-shell .primary-button,
.superadmin-shell .primary-link,
.superadmin-shell .primary-button {
  color: #fff;
  background: #14171d;
  box-shadow: 0 10px 24px rgba(20, 23, 29, 0.12);
}

.secondary-link.small,
.secondary-button,
.mini-button,
.superadmin-toolbar button,
.sort-tabs button,
.category-tabs button,
.starter-prompts button {
  border-color: #d8dee7;
  background: rgba(255, 255, 255, 0.82);
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

input,
select,
textarea {
  border-color: #d8dee7;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  outline-offset: 2px;
}

/* Interaction polish: keep controls optically centered across ko/en/ja. */
.site-links {
  min-height: 42px;
  min-width: 0;
}

.site-links a,
.secondary-link,
.primary-link,
.primary-button,
.secondary-button,
.mini-button,
.provider-button,
.export-button,
.share-button,
.qr-download,
.display-style-links a,
.superadmin-toolbar button,
.admin-side-tabs button,
.mode-picker button,
.template-picker button,
.starter-prompts button,
.sort-tabs button,
.category-tabs button,
.reaction-button,
.report-button,
.comment-toggle,
.comment-form button,
.campaign-presets button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.site-links a:not(.nav-cta),
.secondary-link {
  min-height: 38px;
  padding: 0 2px;
}

.secondary-link.small,
.mini-button,
.superadmin-toolbar button,
.admin-side-tabs button,
.mode-picker button,
.sort-tabs button,
.category-tabs button,
.starter-prompts button,
.reaction-button,
.report-button {
  min-height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

.primary-link,
.primary-button,
.secondary-button,
.provider-button,
.export-button,
.share-button {
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

.primary-link.compact,
.visitor-actions .primary-link {
  min-height: 40px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  margin-left: 0;
  color: #68727f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.language-switcher > span {
  color: #68727f;
}

.language-button::after {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid #68727f;
  border-bottom: 1.8px solid #68727f;
  content: "";
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.language-button {
  position: relative;
  display: inline-flex;
  min-width: 106px;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(201, 209, 220, 0.9);
  border-radius: 999px;
  padding: 0 33px 0 13px;
  color: #171a20;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(24, 31, 42, 0.055);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  border-color: rgba(15, 118, 110, 0.32);
  background: #fff;
}

.language-button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  outline-offset: 2px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 126px;
  gap: 3px;
  border: 1px solid rgba(201, 209, 220, 0.9);
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(24, 31, 42, 0.14);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  color: #2d3440;
  background: transparent;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  color: #064e48;
  background: rgba(15, 118, 110, 0.09);
}

.language-menu button[aria-checked="true"]::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  margin-right: 7px;
  background: #0f766e;
  content: "";
}

.auth-shell > .language-switcher {
  justify-self: center;
}

.auth-shell > .language-switcher .language-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.display-shell > .language-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
}

.display-home-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 9;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

body[data-style="light"] .display-home-link {
  background: rgba(255, 255, 255, 0.86);
}

.display-shell > .language-switcher .language-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.new-form {
  align-self: start;
  margin-top: clamp(18px, 5vw, 58px);
  min-width: 0;
}

.new-copy h1 {
  max-width: 11.5em;
  line-height: 1.05;
}

.new-copy,
.new-copy > *,
.template-picker,
.template-picker button,
.visitor-content,
.visitor-feed,
.board-search,
.board-search input,
.empty-state,
.display-style-links,
.campaign-presets {
  min-width: 0;
  max-width: 100%;
}

.new-copy h1,
.empty-state strong,
.empty-state span,
.template-picker button strong,
.template-picker button small {
  word-break: normal;
  overflow-wrap: anywhere;
}

.template-picker button {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.template-picker button strong,
.template-picker button small {
  display: block;
  width: 100%;
}

.access-preview dl div,
.access-summary dl div {
  align-content: start;
}

.visitor-actions,
.starter-prompts,
.sort-tabs,
.category-tabs,
.admin-side-tabs,
.superadmin-toolbar {
  align-items: center;
}

.display-style-links a,
.campaign-presets button {
  min-height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

.powered-by a {
  min-height: 34px;
}

.analytics-head select {
  min-height: 36px;
}

.visitor-count strong,
.admin-overview strong,
.superadmin-overview strong {
  line-height: 1;
}

.feed-heading strong,
.feed-heading span,
.board-search span {
  min-width: 0;
}

.landing-section,
.landing-cta,
.dashboard-shell,
.new-shell,
.visitor-shell,
.admin-shell,
.superadmin-shell {
  width: min(1220px, calc(100% - 32px));
}

.landing-hero {
  width: min(1220px, calc(100% - 32px));
  min-height: min(700px, calc(100svh - 72px));
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.hero-copy::before {
  content: "MOABOARD";
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(3, 199, 90, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  color: #027a3a;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.hero-line {
  max-width: 620px;
}

.hero-support {
  max-width: 500px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 999px;
  padding: 0 12px;
  color: #313842;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 22px rgba(24, 31, 42, 0.05);
  font-size: 12px;
  font-weight: 900;
}

.hero-product {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 248, 0.92)),
    radial-gradient(circle at 12% 4%, rgba(255, 230, 90, 0.24), transparent 32%);
  box-shadow:
    0 30px 90px rgba(24, 31, 42, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.hero-product::before,
.hero-product::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 24px;
}

.hero-product::before {
  inset: 18px -18px -18px 34px;
  background: rgba(255, 230, 90, 0.28);
}

.hero-product::after {
  inset: -20px 34px 22px -18px;
  background: rgba(3, 199, 90, 0.08);
}

.hero-product-head {
  background: rgba(255, 255, 255, 0.88);
}

.hero-product-head small,
.hero-product-post em {
  border-color: rgba(3, 199, 90, 0.24);
  color: #027a3a;
  background: rgba(3, 199, 90, 0.08);
}

.hero-product-head small {
  position: relative;
  padding-left: 22px;
}

.hero-product-head small::before {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--talk-green);
  content: "";
  transform: translateY(-50%);
}

.hero-product-body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 42%),
    var(--talk-room);
}

.hero-product-rail {
  background: rgba(255, 255, 255, 0.52);
}

.hero-product-rail span.active {
  color: #17180f;
  background: linear-gradient(180deg, #ffea68 0%, #ffdd34 100%);
  box-shadow: 0 8px 18px rgba(181, 149, 0, 0.13);
}

.hero-product-feed {
  padding: 18px;
  gap: 10px;
}

.hero-product-post {
  width: min(92%, 520px);
  min-height: 0;
  border: 0;
  border-radius: 16px;
  padding: 15px 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(65, 78, 84, 0.08);
}

.hero-product-post.pinned {
  background: var(--talk-yellow-soft);
}

.hero-product-post:nth-child(2) {
  margin-left: auto;
  background: #fff;
}

.hero-product-post:nth-child(3) {
  background: #f7fffb;
}

.hero-product-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.hero-product-status span {
  display: grid;
  min-height: 54px;
  place-items: center;
  color: #313842;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.product-surface-preview {
  overflow: hidden;
  border: 1px solid rgba(184, 198, 212, 0.78);
  border-radius: 24px;
  background: #f8faf9;
}

.product-surface-preview::before,
.product-surface-preview::after {
  display: none;
}

.preview-browser-bar {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dce5e2;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.84);
}

.preview-browser-bar span {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b6b 0 8px, #ffd43b 8px 18px, #03c75a 18px 28px);
}

.preview-browser-bar strong {
  min-width: 0;
  overflow: hidden;
  color: #6b7582;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-browser-bar em,
.preview-category-row span,
.preview-feed-head span,
.preview-feed article b,
.preview-operator-panel > span,
.preview-display-card span {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(3, 199, 90, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  color: #047454;
  background: rgba(3, 199, 90, 0.08);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.preview-browser-bar em {
  margin-left: auto;
}

.preview-board-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 16px;
}

.preview-board-main,
.preview-operator-panel,
.preview-compose,
.preview-feed,
.preview-display-card {
  border: 1px solid #d9e3e0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.preview-board-main {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.preview-board-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: start;
}

.preview-board-hero span {
  display: block;
  margin-bottom: 7px;
  color: #047454;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-board-hero strong {
  display: block;
  color: #171b22;
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 950;
  line-height: 1.06;
}

.preview-board-hero p {
  margin: 8px 0 0;
  color: #697586;
  font-size: 13px;
  line-height: 1.45;
}

.preview-board-hero dl,
.preview-operator-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.preview-board-hero dl div,
.preview-operator-panel dl div {
  display: grid;
  gap: 2px;
  border: 1px solid #dbe4e2;
  border-radius: 12px;
  padding: 9px 10px;
  background: #fbfdfc;
}

.preview-board-hero dt,
.preview-operator-panel dt {
  color: #687586;
  font-size: 11px;
  font-weight: 850;
}

.preview-board-hero dd,
.preview-operator-panel dd {
  margin: 0;
  color: #171b22;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.preview-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-category-row span.active {
  color: #17180f;
  border-color: rgba(255, 221, 52, 0.72);
  background: #ffdf3d;
}

.preview-action-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.preview-action-row button {
  min-height: 34px;
  border: 1px solid #d8e1df;
  border-radius: 10px;
  padding: 0 12px;
  color: #4f5c6b;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.preview-action-row button:first-child {
  border-color: #ffdf3d;
  color: #17180f;
  background: #ffdf3d;
}

.preview-board-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.58fr) minmax(260px, 1.42fr);
  gap: 12px;
}

.preview-compose,
.preview-feed,
.preview-operator-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.preview-compose strong,
.preview-feed-head strong,
.preview-operator-panel strong,
.preview-display-card strong {
  color: #171b22;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.preview-compose span,
.preview-compose i,
.preview-feed article span,
.preview-display-card span {
  color: #697586;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.preview-compose i {
  display: block;
  min-height: 32px;
  border: 1px solid #d8e1df;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}

.preview-compose i.textarea {
  min-height: 58px;
}

.preview-compose button {
  justify-self: end;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  color: #17180f;
  background: #ffdf3d;
  font-size: 13px;
  font-weight: 950;
}

.preview-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preview-feed article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  border-top: 1px solid #e1e8e6;
  padding: 11px 4px;
  background: transparent;
}

.preview-feed article:first-of-type {
  border-top: 0;
  border-radius: 12px;
  padding: 12px;
  background: #fff9d7;
}

.preview-feed article strong {
  grid-column: 1;
  color: #222832;
  font-size: 13px;
  line-height: 1.35;
}

.preview-feed article span {
  grid-column: 2;
  white-space: nowrap;
}

.preview-feed article b {
  min-height: 24px;
  padding: 0 8px;
  font-size: 10px;
}

.preview-feed article i {
  color: #697586;
  font-style: normal;
}

.preview-operator-panel {
  align-content: start;
  border-color: rgba(3, 199, 90, 0.14);
  background:
    linear-gradient(180deg, rgba(244, 250, 248, 0.96), rgba(255, 255, 255, 0.86));
}

.preview-operator-panel dl {
  grid-template-columns: 1fr;
}

.preview-operator-panel dl div {
  min-width: 0;
  min-height: 54px;
  padding: 9px 10px;
}

.preview-operator-panel dd {
  font-size: 22px;
}

.preview-display-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  min-height: 112px;
  align-content: start;
  align-items: end;
  gap: 8px;
  border-color: rgba(20, 23, 29, 0.1);
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.9));
}

.preview-display-card strong {
  grid-column: 1;
  max-width: none;
  color: #171b22;
  font-size: 13px;
}

.preview-display-card span {
  grid-column: 1 / -1;
}

.preview-display-card i {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 5px solid #14171d;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #fff 8px, transparent 8px 15px, #fff 15px 24px, transparent 24px),
    linear-gradient(#fff 8px, transparent 8px 15px, #fff 15px 24px, transparent 24px),
    #14171d;
}

.plan-band {
  display: grid;
  gap: 6px;
}

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

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

.plan-card {
  display: grid;
  gap: 22px;
  min-height: 320px;
  align-content: space-between;
  border: 1px solid #d8dee7;
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 58px rgba(24, 31, 42, 0.07);
}

.plan-grid-expanded .plan-card {
  min-height: 300px;
  padding: clamp(18px, 2vw, 26px);
}

.plan-grid-expanded .plan-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.12;
}

.plan-grid-expanded .plan-card p,
.plan-grid-expanded .plan-card li {
  font-size: 14px;
  line-height: 1.55;
}

.plan-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-card span {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(3, 199, 90, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  color: #027a3a;
  background: rgba(3, 199, 90, 0.08);
  font-size: 12px;
  font-weight: 950;
}

.plan-card em {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #15191f;
  background: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.featured-plan {
  border-color: rgba(3, 199, 90, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 221, 51, 0.16), rgba(255, 255, 255, 0.92) 42%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(3, 199, 90, 0.13);
}

.plan-card h3 {
  margin: 18px 0 10px;
  max-width: 520px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
}

.plan-card p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.plan-card ul {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 231, 0.85);
  border-radius: 14px;
  background: rgba(216, 222, 231, 0.82);
}

.plan-card li {
  min-height: 46px;
  padding: 13px 14px;
  color: #303842;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.plan-addon-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.plan-addon-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.8fr);
  gap: 18px;
  align-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 42px rgba(24, 31, 42, 0.05);
}

.plan-addon-card span {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(3, 199, 90, 0.22);
  border-radius: 999px;
  padding: 0 11px;
  color: #027a3a;
  background: rgba(3, 199, 90, 0.07);
  font-size: 12px;
  font-weight: 950;
}

.plan-addon-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.18;
  letter-spacing: 0;
}

.plan-addon-card p,
.plan-addon-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.plan-addon-card ul {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 231, 0.72);
  border-radius: 14px;
  background: rgba(216, 222, 231, 0.76);
}

.plan-addon-card li {
  min-height: 34px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.faq-band {
  display: grid;
  gap: 24px;
}

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

.faq-grid article {
  display: grid;
  gap: 10px;
  border-top: 1px solid #d8dee7;
  padding: 22px 0 4px;
}

.faq-grid h3 {
  margin: 0;
  color: #171a20;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
}

.faq-grid p {
  margin: 0;
  max-width: 560px;
  color: #647084;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.62;
}

.free-plan {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 249, 0.9)),
    #fff;
}

.paid-plan {
  border-color: rgba(3, 199, 90, 0.24);
  background:
    radial-gradient(circle at 86% 6%, rgba(255, 230, 90, 0.32), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 247, 241, 0.94));
  box-shadow: 0 22px 70px rgba(15, 118, 110, 0.11);
}

.paid-plan span {
  color: #17180f;
  border-color: rgba(181, 149, 0, 0.2);
  background: linear-gradient(180deg, #ffea68 0%, #ffdd34 100%);
}

.contrast-band {
  background:
    linear-gradient(90deg, rgba(255, 230, 90, 0.12), transparent 28%, rgba(3, 199, 90, 0.08)),
    #fff;
}

.section-intro h2,
.feature-band h2,
.landing-cta h2 {
  max-width: 880px;
  font-weight: 920;
}

.auth-shell {
  width: min(980px, calc(100% - 32px));
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 430px);
  align-items: center;
  gap: 56px;
}

.auth-shell > .site-brand {
  align-self: center;
  display: grid;
  gap: 16px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
}

.auth-shell > .site-brand .brand-mark {
  width: 54px;
  height: 54px;
  font-size: 20px;
  line-height: 1;
}

.auth-panel,
.new-form,
.checkout-panel {
  border: 1px solid #d8dee7;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(24, 31, 42, 0.08);
}

.auth-panel h1,
.new-copy h1,
.dashboard-hero h1,
.superadmin-hero h1 {
  font-weight: 930;
}

.new-shell {
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
}

.new-copy {
  top: 96px;
  gap: 22px;
}

.template-picker {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.template-picker button {
  min-height: 74px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.template-picker button:last-child {
  border-bottom: 0;
}

.template-picker button.active {
  background: rgba(15, 118, 110, 0.07);
  box-shadow: inset 4px 0 0 var(--accent);
}

.page-new .template-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

.page-new .template-picker button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.page-new .template-picker button:last-child {
  border-bottom: 1px solid var(--line);
}

.page-new .template-picker button.active {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--accent);
}

.dashboard-hero,
.superadmin-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.dashboard-empty,
.dashboard-list-panel,
.superadmin-panel {
  box-shadow: none;
}

.visitor-shell {
  margin-top: 22px;
}

.visitor-utility {
  display: flex;
  width: min(1080px, 100%);
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto 10px;
}

.board-body .language-switcher {
  min-height: 34px;
  color: #7b8792;
  font-size: 11px;
  letter-spacing: 0;
}

.board-body .language-button {
  min-width: 96px;
  min-height: 34px;
  border-color: rgba(201, 209, 220, 0.82);
  padding: 0 30px 0 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(24, 31, 42, 0.06);
}

.visitor-board {
  max-width: 1080px;
}

.visitor-title {
  grid-template-columns: minmax(0, 1fr) minmax(100px, auto);
  gap: clamp(18px, 3.5vw, 40px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 231, 0.9);
  border-radius: 18px;
  padding: 0;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(24, 31, 42, 0.055);
}

.visitor-title-main {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  min-width: 0;
  padding: clamp(26px, 3.8vw, 40px);
}

.visitor-title-copy {
  max-width: 780px;
}

.visitor-title-support {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 840px;
  border-top: 1px solid rgba(216, 222, 231, 0.76);
  padding-top: 16px;
}

.visitor-title-support .board-meta,
.visitor-title-support .starter-prompts {
  margin-top: 0;
}

.visitor-title-support .board-meta,
.visitor-title-support .starter-prompts {
  grid-column: 1;
}

.visitor-title h1 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.04;
  font-weight: 940;
  word-break: normal;
  overflow-wrap: anywhere;
}

.visitor-title > div,
.visitor-title p,
.visitor-title h1,
.visitor-title .board-meta,
.visitor-title .starter-prompts,
.visitor-title .visitor-actions {
  min-width: 0;
  max-width: 100%;
}

.visitor-title p,
#board-description {
  word-break: normal;
  overflow-wrap: anywhere;
}

.visitor-title .eyebrow {
  color: #027a3a;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.visitor-count {
  width: 128px;
  min-width: 128px;
  min-height: 100%;
  padding: 18px 14px;
  border-width: 0 0 0 1px;
  border-color: rgba(216, 222, 231, 0.82);
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.72));
  text-align: center;
}

.visitor-title .visitor-count {
  justify-self: end;
}

.visitor-count span {
  display: block;
  width: 100%;
  line-height: 1.25;
  white-space: nowrap;
}

.visitor-actions {
  gap: 10px;
  align-self: center;
  justify-self: end;
  margin-top: 0;
}

.visitor-title .starter-prompts {
  gap: 7px;
  margin-top: 14px;
}

.visitor-title .starter-prompts button {
  min-height: 36px;
  border-color: rgba(201, 209, 220, 0.86);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(24, 31, 42, 0.04);
}

.visitor-actions .primary-link {
  min-height: 42px;
  padding: 0 16px;
}

.visitor-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.visitor-feed {
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 18px;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 28px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 44px rgba(24, 31, 42, 0.05);
  overflow: hidden;
}

.empty-state {
  border: 1px dashed rgba(201, 209, 220, 0.92);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(249, 251, 253, 0.92), rgba(255, 255, 255, 0.88));
}

.visitor-post {
  width: 100%;
  border-top: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(65, 78, 84, 0.07);
}

.visitor-post:nth-child(2n) {
  justify-self: stretch;
  background: rgba(255, 255, 255, 0.96);
}

.visitor-post.pinned {
  border-color: rgba(3, 199, 90, 0.24);
  border-radius: 16px;
  background: var(--talk-yellow-soft);
}

.feed-heading {
  border-bottom: 1px solid var(--line);
}

.feed-heading strong {
  font-size: 24px;
  font-weight: 940;
}

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

.board-search input {
  min-height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(65, 78, 84, 0.04);
}

.sort-tabs,
.category-tabs {
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  background: transparent;
}

.sort-tabs button {
  border-radius: 999px;
}

.visitor-post {
  margin-bottom: 0;
}

.visitor-post:first-child {
  border-top: 0;
}

.visitor-post p {
  max-width: 820px;
  font-size: 17px;
}

.hero-product,
.visitor-title,
.visitor-feed,
.composer-panel {
  border-radius: 20px;
}

.hero-product-post,
.visitor-post,
.empty-state {
  border-radius: 18px;
}

.hero-product-tools {
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 18px;
}

.hero-product-tools span {
  border-radius: 999px;
  padding: 7px 11px;
  color: #027a3a;
  background: rgba(3, 199, 90, 0.08);
}

.visitor-post {
  width: 100%;
  border: 0;
  padding: 16px 18px 14px;
  background: #fff;
  box-shadow:
    0 10px 24px rgba(65, 78, 84, 0.07),
    inset 3px 0 0 rgba(3, 199, 90, 0.16);
}

.visitor-post:nth-child(2n) {
  justify-self: stretch;
  background: rgba(255, 255, 255, 0.96);
}

.visitor-post.pinned {
  border: 1px solid rgba(3, 199, 90, 0.24);
  background: var(--talk-yellow-soft);
  box-shadow:
    0 12px 26px rgba(181, 149, 0, 0.11),
    inset 3px 0 0 rgba(255, 200, 0, 0.72);
}

.visitor-post p {
  margin: 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.58;
}

.post-meta {
  color: #60707a;
  font-size: 12px;
  font-weight: 820;
}

.post-meta::before {
  content: none;
}

.post-meta > span:not(.post-meta-chip) + span:not(.post-meta-chip)::before {
  content: "·";
  margin-right: 8px;
  color: #9aa7b1;
}

.post-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(13, 148, 136, 0.24);
  border-radius: 999px;
  padding: 0 9px;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.96);
  font-size: 11px;
  font-weight: 950;
}

.post-meta-chip.notice {
  border-color: rgba(255, 202, 40, 0.52);
  color: #3b2f00;
  background: #ffdf3d;
  box-shadow: 0 6px 14px rgba(255, 202, 40, 0.24);
}

.post-meta-chip.operator {
  border-color: rgba(17, 24, 39, 0.12);
  color: #111827;
  background: #fff;
}

.post-meta-chip.pinned {
  border-color: rgba(3, 199, 90, 0.22);
  color: #047857;
  background: rgba(236, 253, 245, 0.95);
}

.visitor-post.official-notice {
  border: 1px solid rgba(255, 202, 40, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 249, 196, 0.95), rgba(255, 255, 255, 0.98) 58%),
    #fff;
  box-shadow:
    0 14px 30px rgba(181, 149, 0, 0.1),
    inset 4px 0 0 rgba(255, 202, 40, 0.86);
}

.visitor-post-list {
  gap: 10px;
}

.load-more-posts {
  justify-self: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 880;
  box-shadow: 0 8px 18px rgba(65, 78, 84, 0.08);
}

.load-more-posts:hover,
.load-more-posts:focus-visible {
  border-color: rgba(3, 199, 90, 0.34);
  background: #fff;
}

.load-more-posts:disabled {
  opacity: 0.55;
  cursor: wait;
}

.feed-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.visitor-feed .sort-tabs {
  flex: 0 0 auto;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  gap: 2px;
  border: 1px solid rgba(216, 222, 231, 0.92);
  border-radius: 12px;
  padding: 3px;
  background: rgba(245, 248, 247, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.visitor-feed .sort-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  color: #68727f;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}

.visitor-feed .sort-tabs button.active {
  color: #111827;
  background: #fff;
  box-shadow: 0 4px 12px rgba(65, 78, 84, 0.08);
}

.visitor-feed .sort-tabs button:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
}

.visitor-feed .category-tabs {
  flex: 1 1 auto;
  min-width: 0;
  gap: 7px;
  border-bottom: 0;
  padding: 0 0 4px;
  background: transparent;
}

.visitor-feed .category-tabs button {
  min-height: 34px;
  border-color: rgba(216, 222, 231, 0.92);
  border-radius: 999px;
  padding: 0 13px;
  color: #5f6d78;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.visitor-feed .category-tabs button.active {
  border-color: rgba(255, 202, 40, 0.72);
  color: #17180f;
  background: #ffdf3d;
  box-shadow: 0 7px 16px rgba(181, 149, 0, 0.12);
}

.visitor-feed .category-tabs button:hover {
  border-color: rgba(3, 199, 90, 0.24);
  color: #047857;
  background: rgba(240, 253, 250, 0.94);
}

.post-actions,
.comment-box {
  margin-top: 4px;
}

.reaction-button,
.report-button,
.comment-toggle {
  border-radius: 999px;
}

.post-actions {
  justify-content: flex-start;
}

.feed-display-settings {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.feed-display-settings > div {
  display: grid;
  gap: 4px;
}

.feed-display-settings strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 920;
}

.feed-display-settings small {
  color: var(--muted);
  line-height: 1.45;
}

.visitor-post-list.list-layout,
.visitor-post-list.accordion-layout {
  gap: 0;
}

.visitor-post.list-row {
  gap: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.list-row-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 92px 112px 158px 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.82);
}

.list-row-header span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(216, 222, 231, 0.72);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.list-row-header span:nth-child(2) {
  justify-content: center;
  padding-left: 0;
}

.list-row-header span:nth-child(5) {
  justify-content: center;
  padding-right: 0;
}

.list-row-header span:last-child {
  border-right: 0;
  justify-content: center;
  padding-right: 0;
}

.list-row-button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 92px 112px 158px 74px;
  gap: 0;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.list-row-button:hover,
.list-row-button:focus-visible,
.visitor-post.list-row.expanded .list-row-button {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(240, 253, 250, 0.56);
}

.list-row-number,
.list-row-title,
.list-row-category,
.list-row-author,
.list-row-date,
.list-row-comments {
  display: flex;
  min-height: 50px;
  align-items: center;
  border-right: 1px solid rgba(216, 222, 231, 0.72);
  padding: 0 12px;
}

.list-row-comments {
  justify-content: center;
  border-right: 0;
}

.list-row-number {
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 880;
}

.list-row-title {
  overflow: hidden;
  justify-content: flex-start;
  font-size: 15px;
  font-weight: 920;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-row-category,
.list-row-author,
.list-row-date,
.list-row-comments {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.list-row-category {
  justify-content: center;
  color: #0f766e;
}

.list-row-author {
  justify-content: center;
}

.list-row-date {
  justify-content: center;
}

.list-row-detail {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 16px 16px 18px 58px;
  background: rgba(248, 250, 252, 0.62);
}

.list-row-body {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.58;
  white-space: pre-wrap;
}

.visitor-post.summary-row {
  display: block;
  border: 1px solid rgba(216, 222, 231, 0.86);
  border-radius: 14px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.summary-row-head {
  display: grid;
  gap: 5px;
}

.summary-row-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 920;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-row-head span,
.summary-row-footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.summary-row-preview {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: #343b46;
  font-size: 14px;
  line-height: 1.55;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.summary-row-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.summary-row .comment-box {
  margin-top: 12px;
}

.account-shell {
  display: grid;
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.account-hero,
.account-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(65, 78, 84, 0.09);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
}

.account-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.account-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.account-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.account-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

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

.account-insights:empty {
  display: none;
}

.account-insights article {
  display: grid;
  gap: 7px;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
}

.account-insights article.attention {
  border-color: rgba(15, 118, 110, 0.24);
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 225, 64, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 253, 250, 0.92));
}

.account-insights span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-insights strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.account-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.32fr) minmax(160px, 0.38fr);
  gap: 10px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.account-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

.account-usage div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(248, 250, 252, 0.9);
}

.account-usage dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-usage dd {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 940;
}

.account-board-list,
.account-export-list {
  display: grid;
  gap: 10px;
}

.account-board-row,
.account-export-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
}

.account-export-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-board-row strong,
.account-export-row strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.account-board-row span,
.account-export-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.account-board-row dl {
  display: flex;
  gap: 8px;
  margin: 0;
}

.account-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.secondary-link.highlight {
  border-color: rgba(3, 199, 90, 0.28);
  color: #123527;
  background: linear-gradient(180deg, #ffea68 0%, #ffdc2e 100%);
}

.account-board-row dl div {
  min-width: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.account-board-row dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.account-board-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 940;
}

.account-loading #account-plan-title,
.account-loading #account-plan-copy {
  display: inline-block;
  border-radius: 999px;
  color: transparent;
  background: linear-gradient(90deg, #eef4f5 0%, #f9fbfb 45%, #eef4f5 90%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
  user-select: none;
}

.account-loading #account-plan-title {
  width: 180px;
  height: 0.95em;
}

.account-loading #account-plan-copy {
  width: min(320px, 70vw);
  height: 1.1em;
}

.account-loading #profile-name-input,
.account-loading #profile-email-input {
  color: transparent;
  background:
    linear-gradient(90deg, #eef4f5 0%, #f9fbfb 45%, #eef4f5 90%),
    #fff;
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.account-usage-skeleton .skeleton-line {
  display: block;
}

.account-board-row.skeleton-card,
.account-export-row.skeleton-card {
  min-height: 78px;
  border: 0;
  border-radius: 12px;
  padding: 0;
}

.checkout-loading #checkout-title,
.checkout-loading #checkout-copy {
  display: inline-block;
  border-radius: 999px;
  color: transparent;
  background: linear-gradient(90deg, #eef4f5 0%, #f9fbfb 45%, #eef4f5 90%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
  user-select: none;
}

.checkout-loading #checkout-title {
  width: 220px;
  height: 0.95em;
}

.checkout-loading #checkout-copy {
  width: min(360px, 70vw);
  height: 1.1em;
}

.checkout-loading #checkout-summary {
  min-height: 150px;
  border-radius: 12px;
  background: linear-gradient(90deg, #eef4f5 0%, #f9fbfb 45%, #eef4f5 90%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.post-actions .reaction-button {
  flex: 0 0 auto;
  min-width: 86px;
  background: #f7fbf9;
  font-weight: 900;
}

.report-button {
  padding: 0 10px;
  color: #7b8490;
}

.comment-box {
  border-top: 0;
  padding-top: 0;
}

.comment-toggle {
  background: rgba(255, 255, 255, 0.74);
}

.member-gate {
  max-width: none;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.06);
}

.powered-by {
  padding: 22px 0 8px;
}

.powered-by a {
  box-shadow: 0 8px 18px rgba(24, 31, 42, 0.06);
}

.admin-shell,
.superadmin-shell {
  width: min(1240px, calc(100% - 32px));
}

.admin-main,
.admin-side > section,
.analytics-panel,
.superadmin-panel {
  border-color: #d8dee7;
  background: rgba(255, 255, 255, 0.95);
}

.admin-main-head,
.analytics-head,
.section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.admin-filters input,
.admin-filters select,
.superadmin-toolbar input {
  min-height: 42px;
}

.moderation-list.wide,
.superadmin-table,
.analytics-table {
  border-top: 1px solid var(--line);
}

.superadmin-row:first-child,
.analytics-table-row:first-child {
  border-top: 0;
}

.empty-state,
.superadmin-empty,
.dashboard-empty {
  background: rgba(255, 255, 255, 0.9);
}

.empty-state {
  min-height: 300px;
  align-content: center;
}

@media (max-width: 900px) {
  .landing-hero,
  .hero-product-body,
  .feature-band,
  .contrast-grid,
  .dashboard-hero,
  .superadmin-hero,
  .superadmin-cost-alert,
  .superadmin-overview,
  .superadmin-cost-grid,
  .superadmin-signal-grid,
  .superadmin-chart-grid,
  .superadmin-seo-grid,
  .superadmin-toolbar,
  .superadmin-row,
  .new-shell,
  .auth-shell,
  .admin-grid,
  .admin-post-workspace,
  .admin-main-head,
  .admin-lock,
  .plan-panel {
    grid-template-columns: 1fr;
  }

  .superadmin-search {
    justify-self: stretch;
  }

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

  .admin-insight-brief {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .moderation-table-row {
    grid-template-columns: 86px minmax(180px, 1fr) 70px;
  }

  .moderation-table-row > :nth-child(3),
  .moderation-table-row > :nth-child(4) {
    display: none;
  }

  .admin-insight-brief > button {
    width: 100%;
    justify-self: stretch;
  }

  .analytics-summary,
  .analytics-grid,
  .analytics-deep-grid,
  .analytics-seo-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .usecase-rail article:nth-child(2n) {
    border-right: 0;
  }

  .usecase-rail article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .landing-cta,
  .admin-summary,
  .dashboard-board-card {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .plan-addon-row,
  .plan-addon-card {
    grid-template-columns: 1fr;
  }

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

  .visitor-title {
    grid-template-columns: 1fr;
  }

  .visitor-count {
    display: inline-flex;
    width: auto;
    min-width: 112px;
    min-height: 44px;
    justify-self: start;
    gap: 8px;
    padding: 0 14px;
  }

  .visitor-count strong {
    font-size: 24px;
  }

  .visitor-content {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: 0;
    margin-top: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .hero-product {
    min-height: 0;
  }

  .preview-board-shell,
  .preview-board-main,
  .preview-operator-panel {
    padding: 12px;
  }

  .preview-board-shell,
  .preview-board-hero,
  .preview-board-grid,
  .preview-operator-panel {
    grid-template-columns: 1fr;
  }

  .preview-browser-bar {
    padding: 0 12px;
  }

  .preview-browser-bar strong {
    max-width: 150px;
  }

  .preview-board-hero strong {
    font-size: 30px;
  }

  .preview-board-hero p,
  .preview-compose span {
    display: none;
  }

  .preview-board-hero dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-compose,
  .preview-feed,
  .preview-operator-panel {
    gap: 8px;
    padding: 10px;
  }

  .preview-compose {
    display: none;
  }

  .preview-compose i {
    min-height: 30px;
    padding: 8px 10px;
  }

  .preview-compose i.textarea {
    min-height: 46px;
  }

  .preview-feed article:nth-of-type(3) {
    display: none;
  }

  .preview-feed article {
    grid-template-columns: 1fr;
  }

  .preview-feed article span {
    grid-column: 1;
    white-space: normal;
  }

  .preview-operator-panel dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-display-card {
    min-height: 104px;
  }

  .preview-display-card i {
    width: 42px;
    height: 42px;
    border-width: 5px;
  }

  .hero-product-rail {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }

  .visitor-composer {
    position: static;
  }

  .email-login-form {
    grid-template-columns: 1fr;
  }

  .new-copy {
    position: static;
  }

  .auth-shell {
    align-content: center;
    gap: 18px;
  }

  .auth-shell > .site-brand {
    display: inline-flex;
    font-size: 16px;
    line-height: 1.1;
  }

  .visitor-feed {
    max-width: none;
  }

  .moaboard-promo {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 24px);
    margin: 12px auto 24px;
    padding: 13px;
  }

  .moaboard-promo .secondary-link {
    justify-content: center;
    width: 100%;
  }

  .member-login-form {
    grid-template-columns: 1fr;
  }

  .member-gate {
    grid-template-columns: 1fr;
    grid-template-areas:
      "preview"
      "copy"
      "form";
  }

  .locked-board-preview {
    min-height: 180px;
  }

  .composer-sheet {
    align-items: end;
    padding: 12px;
  }

  .member-required-modal {
    align-items: end;
    padding: 12px;
  }

  .composer-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    overflow: hidden;
    border-radius: 12px 12px 8px 8px;
    animation: composer-slide 180ms ease-out;
  }

  .composer-panel .visitor-composer {
    max-height: calc(100svh - 24px);
  }

  .composer-panel .composer-footer {
    bottom: -18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .composer-panel .composer-footer .secondary-button {
    width: 100%;
  }

  .member-required-panel {
    width: 100%;
    border-radius: 18px 18px 10px 10px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    animation: composer-slide 180ms ease-out;
  }

  .member-required-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .member-required-actions button,
  .member-required-actions .primary-link,
  .member-required-actions .secondary-link {
    width: 100%;
    justify-content: center;
  }

  @keyframes composer-slide {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .post-inspector {
    position: static;
  }

  .dashboard-board-card {
    grid-template-columns: 1fr;
  }

  .dashboard-board-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .dashboard-board-stats {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .superadmin-actions {
    justify-content: flex-start;
  }

  .superadmin-detail {
    inset: auto 12px 12px;
    width: auto;
    max-height: min(78svh, 720px);
  }
}

@media (max-width: 560px) {
  .site-body,
  .board-body {
    overflow-x: clip;
  }

  .superadmin-export-panel .superadmin-export-actions {
    grid-template-columns: 1fr;
  }

  .superadmin-export-card {
    min-height: 82px;
    padding: 15px;
  }

  .site-nav {
    gap: 12px;
    width: calc(100% - 24px);
    margin-top: 0;
    padding: 12px 0 10px;
    overflow: visible;
  }

  .site-brand {
    min-width: 0;
    gap: 9px;
  }

  .site-brand .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .site-brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-links {
    flex: 1 1 auto;
    gap: 8px;
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-links::-webkit-scrollbar {
    display: none;
  }

  .site-links .nav-cta {
    display: inline-flex;
  }

  .site-links a {
    font-size: 13px;
  }

  .site-links .language-switcher {
    margin-left: 0 !important;
  }

  .language-switcher {
    min-height: 34px;
  }

  .language-switcher > span {
    display: none;
  }

  .language-button::after {
    right: 12px;
    width: 6px;
    height: 6px;
  }

  .site-links .language-button {
    min-width: 88px !important;
    min-height: 34px !important;
    padding: 0 29px 0 11px !important;
  }

  .page-admin .site-nav,
  .page-superadmin .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    border: 1px solid rgba(216, 222, 231, 0.86);
    border-radius: 0 0 22px 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 38px rgba(24, 31, 42, 0.08);
  }

  .page-admin .site-brand,
  .page-superadmin .site-brand {
    width: 100%;
    min-height: 42px;
  }

  .page-admin .site-links,
  .page-superadmin .site-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 6px;
    justify-content: stretch;
    align-items: center;
    overflow: visible;
  }

  .page-admin .site-links a,
  .page-superadmin .site-links a {
    min-height: 36px;
    min-width: 0;
    border: 1px solid rgba(216, 222, 231, 0.72);
    border-radius: 999px;
    padding: 0 8px;
    color: #4f5c6b;
    background: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .page-admin .site-links a:hover,
  .page-superadmin .site-links a:hover {
    color: var(--ink);
    background: #fff;
    transform: none;
  }

  .page-admin .site-links .language-switcher,
  .page-superadmin .site-links .language-switcher {
    justify-self: end;
  }

  .page-admin .site-links .language-button,
  .page-superadmin .site-links .language-button {
    min-width: 76px !important;
    min-height: 36px !important;
    border-color: rgba(201, 209, 220, 0.9);
    padding: 0 26px 0 10px !important;
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
  }

  .page-admin .language-menu,
  .page-superadmin .language-menu {
    right: 0;
    left: auto;
    min-width: 142px;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 34px;
    padding: 52px 0 38px;
    overflow: hidden;
  }

  .landing-section,
  .landing-cta,
  .contrast-band > * {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .mobile-break {
    display: block;
  }

  .section-intro {
    max-width: 100%;
  }

  .hero-copy {
    max-width: 100%;
  }

.hero-copy h1 {
  font-size: clamp(40px, 12vw, 54px);
}

.hero-copy h1 span {
  display: block;
}

  .hero-line {
    max-width: min(100%, 340px);
    font-size: 19px;
    line-height: 1.48;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .section-intro h2,
  .feature-band h2,
  .landing-cta h2 {
    max-width: 100%;
    font-size: clamp(28px, 8.8vw, 34px);
    line-height: 1.08;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .section-intro p {
    font-size: 14px;
  }

  .hero-support {
    max-width: 100%;
    font-size: 14px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-proof {
    gap: 7px;
  }

  .hero-proof span {
    min-height: 31px;
    padding: 0 10px;
  }

  .hero-product {
    width: 100%;
  }

  .hero-product-feed {
    padding: 14px;
  }

  .hero-product-post {
    width: 100%;
  }

  .hero-product-status {
    grid-template-columns: 1fr;
  }

  .hero-product-status span {
    min-height: 42px;
  }

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

  .flow-list {
    font-size: 16px;
  }

  .flow-list li {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .usecase-rail article,
  .usecase-rail article:nth-child(2n) {
    border-right: 0;
  }

  .usecase-rail article + article {
    border-top: 1px solid var(--line);
  }

  .mode-picker,
  .template-picker {
    grid-template-columns: 1fr;
  }

  .page-new .template-picker {
    grid-template-columns: 1fr;
  }

  .new-shell,
  .new-copy,
  .new-form,
  .template-picker {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .new-copy {
    overflow: hidden;
  }

  .new-form {
    margin-top: 0;
    padding: 20px;
  }

  .new-copy h1 {
    max-width: 100%;
  }

  .auth-panel h1,
  .new-copy h1,
  .dashboard-hero h1,
  .superadmin-hero h1,
  .checkout-panel h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.08;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .demo-mode-details summary small {
    display: none;
  }

  .access-preview dl,
  .access-summary dl {
    grid-template-columns: 1fr;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .admin-overview,
  .superadmin-cost-alert,
  .superadmin-overview,
  .superadmin-cost-grid,
  .superadmin-signal-grid,
  .admin-filters,
  .analytics-summary,
  .analytics-grid,
  .analytics-deep-grid {
    grid-template-columns: 1fr;
  }

  .moderation-view-toggle {
    width: 100%;
  }

  .moderation-view-toggle button {
    flex: 1;
  }

  .moderation-table-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 13px;
  }

  .moderation-table-head {
    display: none;
  }

  .moderation-table-status {
    display: flex;
    align-items: center;
  }

  .moderation-table-row > :nth-child(5) {
    justify-content: flex-start;
  }

  .admin-shell,
  .superadmin-shell,
  .dashboard-shell,
  .new-shell {
    width: calc(100% - 24px);
    margin-top: 18px;
    margin-bottom: 48px;
  }

  .admin-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 2px 0 14px;
    margin-bottom: 10px;
  }

  .admin-summary h1 {
    max-width: 100%;
    margin-bottom: 7px;
    font-size: clamp(29px, 8.6vw, 34px);
    line-height: 1.08;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .admin-summary p {
    font-size: 14px;
    line-height: 1.45;
  }

  .admin-summary .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .admin-stat {
    display: inline-flex;
    width: max-content;
    min-width: 0;
    min-height: 42px;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 13px;
    justify-self: start;
    border-radius: 999px;
  }

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

  .admin-stat span {
    font-size: 12px;
    line-height: 1;
  }

  .admin-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
  }

  .account-shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .account-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .account-grid,
  .account-insights,
  .account-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .account-row-actions {
    justify-content: stretch;
  }

  .account-row-actions > * {
    flex: 1 1 140px;
  }

  .admin-overview div {
    min-height: 58px;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.82);
  }

  .admin-overview span {
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

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

  .admin-grid {
    gap: 14px;
  }

  .admin-side-tabs {
    position: sticky;
    top: 57px;
    z-index: 20;
  }

  .admin-side > section,
  .admin-main,
  .analytics-panel {
    border-radius: 8px;
  }

  .analytics-panel {
    gap: 14px;
    padding: 14px;
  }

  .analytics-modal {
    inset: 12px;
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }

  .analytics-head {
    align-items: center;
    flex-direction: row;
  }

  .analytics-actions,
  .superadmin-export-actions {
    justify-content: flex-start;
  }

  .superadmin-export-panel .superadmin-export-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-row-button {
    grid-template-columns: 38px auto minmax(0, 1fr);
    gap: 0 8px;
    padding: 11px 0;
  }

  .list-row-header {
    display: none;
  }

  .list-row-number {
    grid-row: span 2;
    min-height: 46px;
    border-right: 1px solid rgba(216, 222, 231, 0.72);
    padding: 0 6px;
    font-size: 11px;
  }

  .list-row-title {
    grid-column: 2 / -1;
    min-height: 26px;
    border-right: 0;
    padding: 0 8px 0 0;
    font-size: 14px;
    line-height: 1.32;
    white-space: normal;
  }

  .list-row-category,
  .list-row-author,
  .list-row-date,
  .list-row-comments {
    min-height: 22px;
    border-right: 0;
    padding: 0 8px 0 0;
    font-size: 11px;
    white-space: nowrap;
  }

  .list-row-category {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    min-width: 0;
    width: max-content;
    color: #0f766e;
  }

  .list-row-date {
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-start;
    color: var(--muted);
  }

  .list-row-author,
  .list-row-comments {
    display: none;
  }

  .list-row-detail {
    padding: 12px 0 16px 38px;
  }

  .account-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 18px;
  }

  .account-hero,
  .account-grid,
  .account-board-row,
  .account-export-row {
    grid-template-columns: 1fr;
  }

  .account-hero,
  .account-card {
    border-radius: 10px;
    padding: 18px;
  }

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

  @media (max-width: 560px) {
    .superadmin-export-panel .superadmin-export-actions {
      grid-template-columns: 1fr;
    }
  }

  .analytics-head h2 {
    font-size: 20px;
    line-height: 1.1;
  }

  .analytics-range {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 3px 5px 3px 9px;
  }

  .analytics-summary {
    display: flex;
    gap: 8px;
    margin: 0 -14px;
    padding: 0 14px 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .analytics-summary::-webkit-scrollbar {
    display: none;
  }

  .analytics-summary div {
    flex: 0 0 118px;
    min-height: 66px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .analytics-summary span {
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .analytics-summary strong {
    font-size: 20px;
  }

  .analytics-seo-signals {
    grid-template-columns: 1fr;
  }

  .analytics-seo-card {
    padding: 11px;
  }

  .analytics-seo-card strong {
    font-size: 18px;
  }

  .analytics-grid > div,
  .analytics-deep-grid section {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  .analytics-days {
    min-height: 88px;
    margin: 0 -14px;
    padding: 12px 14px 0;
  }

  .analytics-day {
    min-width: 32px;
  }

  .analytics-hours {
    min-height: 82px;
  }

  .dashboard-board-card h3,
  .superadmin-row strong,
  .analytics-table-row strong {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .superadmin-enforcement-form {
    grid-template-columns: 1fr;
  }

  .hero-product-head,
  .hero-product-tools,
  .hero-product-post {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-product-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .visitor-title {
    padding: 22px;
  }

  .visitor-utility {
    padding-right: 2px;
    margin-bottom: 10px;
  }

  .board-body .language-button {
    min-width: 92px;
  }

  .visitor-actions,
  .sort-tabs,
  .category-tabs {
    flex-wrap: nowrap;
    margin-right: -22px;
    padding-right: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .visitor-actions::-webkit-scrollbar,
  .sort-tabs::-webkit-scrollbar,
  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .visitor-title .starter-prompts {
    flex-wrap: wrap;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .visitor-title .visitor-actions {
    flex-wrap: wrap;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .visitor-title h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .visitor-actions button,
  .starter-prompts button,
  .sort-tabs button,
  .category-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
  }

  .visitor-feed {
    padding: 16px;
  }

  .visitor-content,
  .visitor-feed,
  .board-search,
  .empty-state {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .board-search input {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .board-body {
    background:
      linear-gradient(180deg, rgba(244, 250, 246, 0.96), rgba(249, 251, 253, 0.98)),
      #f6f8f7;
  }

  .visitor-shell {
    width: 100%;
    margin-top: 0;
    padding: 0 0 calc(112px + env(safe-area-inset-bottom));
  }

  .visitor-board {
    width: 100%;
    max-width: none;
  }

  .visitor-utility {
    position: fixed;
    top: 8px;
    right: 12px;
    z-index: 70;
    width: auto;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .board-body .language-button {
    min-width: 78px;
    min-height: 30px;
    box-shadow: none;
  }

  .visitor-title {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border-width: 0 0 1px;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
  }

  .visitor-title-main {
    gap: 12px;
    padding: 16px 16px 13px;
  }

  .visitor-title-support {
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 1px solid rgba(216, 222, 231, 0.72);
    padding-top: 10px;
  }

  .visitor-title-support .board-meta,
  .visitor-title-support .starter-prompts,
  .visitor-title-support .visitor-actions {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    white-space: normal;
  }

  .visitor-title .eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .visitor-title h1 {
    display: -webkit-box;
    margin-bottom: 5px;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #board-description {
    display: -webkit-box;
    overflow: hidden;
    color: #697586;
    font-size: 13px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .visitor-count {
    grid-column: 1 / -1;
    width: auto;
    min-width: 0;
    min-height: 32px;
    align-self: center;
    justify-self: start;
    display: inline-flex;
    gap: 6px;
    border-radius: 999px;
    border-width: 1px;
    padding: 0 11px;
    margin: 0 16px 13px;
    background: #f8fafc;
  }

  .visitor-title .visitor-count {
    justify-self: start;
  }

  .visitor-count strong {
    font-size: 17px;
  }

  .visitor-count span {
    font-size: 10px;
    white-space: nowrap;
  }

  .visitor-title .board-meta,
  .visitor-title .starter-prompts {
    margin-top: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .visitor-title .board-meta::-webkit-scrollbar,
  .visitor-title .starter-prompts::-webkit-scrollbar {
    display: none;
  }

  .visitor-title .visitor-actions {
    margin-top: 0;
  }

  #open-composer {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 60;
    width: auto;
    min-height: 52px;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    box-shadow:
      0 18px 42px rgba(3, 111, 83, 0.26),
      0 0 0 8px rgba(246, 248, 247, 0.82);
  }

  .board-body::after {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 55;
    height: calc(96px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(246, 248, 247, 0.98) 0%, rgba(246, 248, 247, 0.94) 62%, transparent 100%);
    content: "";
    pointer-events: none;
  }

  #refresh-feed {
    min-height: 34px;
    padding: 0 11px;
    background: #fff;
  }

  .visitor-content {
    display: block;
  }

  .visitor-feed {
    border-width: 0;
    border-radius: 0;
    gap: 10px;
    padding: 12px 12px 18px;
    background: transparent;
    box-shadow: none;
  }

  .feed-heading {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .feed-heading strong {
    font-size: 18px;
  }

  .feed-heading span {
    font-size: 12px;
  }

  .board-search {
    position: sticky;
    top: 49px;
    z-index: 28;
    border: 0;
    border-radius: 0;
    padding: 8px 0;
    background: rgba(246, 248, 247, 0.94);
    backdrop-filter: blur(14px);
  }

  .board-search span {
    display: none;
  }

  .board-search input {
    min-height: 40px;
    border-radius: 999px;
    padding-inline: 15px;
    background: #fff;
  }

  .sort-tabs,
  .category-tabs {
    flex-wrap: nowrap;
    margin: 0 -12px;
    border-bottom: 0;
    padding: 0 12px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sort-tabs::-webkit-scrollbar,
  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .sort-tabs button,
  .category-tabs button {
    min-height: 34px;
    padding: 0 12px;
    background: #fff;
    white-space: nowrap;
  }

  .visitor-post-list {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .pinned-section {
    border-radius: 13px;
  }

  .pinned-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 52px;
    gap: 8px;
    padding: 10px 11px;
  }

  .pinned-section-head strong {
    font-size: 12px;
  }

  .pinned-section-head span {
    font-size: 12px;
  }

  .pinned-toggle {
    min-height: 32px;
    padding: 0 10px;
  }

  .pinned-section.expanded {
    padding-bottom: 10px;
  }

  .visitor-post {
    border: 1px solid rgba(216, 222, 231, 0.86);
    border-radius: 14px;
    padding: 13px 14px;
    box-shadow: 0 8px 20px rgba(65, 78, 84, 0.06);
  }

  .visitor-post p {
    font-size: 15px;
    line-height: 1.54;
  }

  .post-meta {
    gap: 5px;
    font-size: 11px;
  }

  .post-actions {
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .reaction-button,
  .report-button,
  .comment-toggle {
    min-height: 34px;
    padding: 0 11px;
    white-space: nowrap;
  }

  .empty-state {
    min-height: 220px;
    border-radius: 16px;
    padding: 28px 18px;
  }

  .member-gate {
    border-width: 0 0 1px;
    border-radius: 0;
    margin: 0;
    padding: 18px 16px;
  }

  .locked-board-preview {
    display: none;
  }

  .member-login-form {
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.86);
  }

  .moaboard-promo {
    width: calc(100% - 24px);
    border-radius: 16px;
  }

  .powered-by {
    margin-bottom: calc(8px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  body.page-admin,
  .page-admin {
    overflow-x: clip;
  }

  .page-admin .site-nav {
    width: calc(100% - 24px);
    margin-top: 0;
    gap: 10px;
    padding: 10px;
    border-radius: 0 0 20px 20px;
  }

  .page-admin .site-links {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .page-admin .site-links::-webkit-scrollbar {
    display: none;
  }

  .page-admin .site-links a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
  }

  .page-admin .site-links a[href="/"] {
    display: none;
  }

  .page-admin .site-links .language-switcher {
    position: sticky;
    right: 0;
    flex: 0 0 auto;
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 28%);
  }

  .page-admin .site-links .language-button {
    min-width: 82px !important;
    min-height: 34px !important;
  }

  .admin-shell {
    width: calc(100% - 24px);
    gap: 12px;
    margin-top: 12px;
  }

  .admin-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(216, 222, 231, 0.9);
    border-radius: 16px;
    padding: 18px;
    margin: 0;
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.94)),
      radial-gradient(circle at 90% 0%, rgba(255, 230, 90, 0.24), transparent 34%);
    box-shadow: 0 14px 34px rgba(24, 31, 42, 0.06);
  }

  .admin-summary h1 {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(28px, 9.2vw, 36px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .admin-summary p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .admin-stat {
    width: max-content;
    min-width: 0;
    min-height: 38px;
    display: inline-flex;
    justify-content: flex-start;
    gap: 7px;
    justify-self: start;
    border-radius: 999px;
    padding: 0 13px;
    background: #fff;
  }

  .admin-stat strong {
    font-size: 20px;
  }

  .admin-stat span {
    font-size: 11px;
    white-space: nowrap;
  }

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

  .admin-overview div {
    min-width: 0;
    min-height: 68px;
    gap: 6px;
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.88);
  }

  .admin-overview span {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .admin-insight-brief {
    border-radius: 14px;
    padding: 14px;
  }

  .admin-insight-brief-metrics {
    grid-template-columns: repeat(3, minmax(98px, 1fr));
    margin: 0 -2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-insight-brief-metrics::-webkit-scrollbar {
    display: none;
  }

  .admin-insight-brief-metrics article {
    min-height: 66px;
    padding: 10px;
  }

  .admin-insight-brief-metrics strong {
    font-size: 20px;
  }

  .admin-side-tabs {
    display: none;
  }

  .page-admin {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-admin-nav {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
    border: 1px solid rgba(190, 203, 216, 0.82);
    border-radius: 22px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 54px rgba(24, 31, 42, 0.18);
    backdrop-filter: blur(20px);
  }

  .mobile-admin-nav button {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 50px;
    border: 0;
    border-radius: 15px;
    padding: 5px 2px;
    color: #6a7482;
    background: transparent;
    font: inherit;
  }

  .mobile-admin-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    color: currentColor;
  }

  .mobile-admin-icon::before,
  .mobile-admin-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
    border-color: currentColor;
  }

  .mobile-admin-icon.posts::before {
    inset: 4px 5px;
    border: 2px solid currentColor;
    border-radius: 5px;
  }

  .mobile-admin-icon.posts::after {
    right: 8px;
    bottom: 7px;
    left: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-admin-icon.share::before {
    inset: 5px;
    border: 2px solid currentColor;
    border-radius: 999px;
  }

  .mobile-admin-icon.share::after {
    top: 3px;
    right: 2px;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(0deg);
  }

  .mobile-admin-icon.display::before {
    inset: 4px 3px 7px;
    border: 2px solid currentColor;
    border-radius: 5px;
  }

  .mobile-admin-icon.display::after {
    right: 7px;
    bottom: 4px;
    left: 7px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-admin-icon.security::before {
    inset: 3px 5px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 10px 10px;
  }

  .mobile-admin-icon.security::after {
    top: 9px;
    left: 10px;
    width: 2px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-admin-icon.members::before {
    top: 4px;
    left: 5px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 999px;
  }

  .mobile-admin-icon.members::after {
    right: 4px;
    bottom: 4px;
    left: 4px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 999px 999px 7px 7px;
  }

  .mobile-admin-icon.insights::before {
    right: 4px;
    bottom: 4px;
    left: 4px;
    height: 13px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0 0 0 3px;
  }

  .mobile-admin-icon.insights::after {
    top: 5px;
    right: 4px;
    width: 14px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: skewY(-18deg);
  }

  .mobile-admin-nav strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-admin-nav button.active {
    color: #15191f;
    background: #ffdf3d;
    box-shadow: inset 0 0 0 1px rgba(20, 23, 29, 0.05);
  }

  .admin-side > section,
  .admin-main,
  .analytics-panel {
    border-radius: 14px;
    padding: 16px;
  }

  .inspector-block h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .qr-preview {
    width: min(160px, 52vw);
    height: min(160px, 52vw);
    margin: 10px auto 14px;
    border-radius: 12px;
  }

  .qr-download,
  .campaign-qr-download {
    width: 100%;
    justify-content: center;
  }

  .embed-share-card,
  .member-invite-card,
  .sponsor-banner-card,
  .campaign-link-form,
  .feed-display-settings,
  .display-style-links {
    border-radius: 14px;
    padding: 14px;
  }

  .embed-share-card textarea {
    max-width: 100%;
    font-size: 12px;
  }

  .embed-share-actions,
  .sponsor-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .analytics-panel {
    gap: 12px;
  }

  .analytics-grid > div,
  .analytics-deep-grid section {
    min-width: 0;
  }

  .visitor-feed .sort-tabs {
    width: fit-content;
    margin: 0;
    padding: 3px;
    overflow: visible;
  }

  .feed-filter-bar {
    display: grid;
    gap: 10px;
  }

  .visitor-feed .sort-tabs button {
    min-height: 30px;
    padding: 0 10px;
    background: transparent;
    white-space: nowrap;
  }

  .visitor-feed .sort-tabs button.active {
    background: #fff;
  }

  .visitor-feed .category-tabs {
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .visitor-feed .category-tabs button {
    flex: 0 0 auto;
    min-height: 34px;
    background: rgba(255, 255, 255, 0.76);
    white-space: nowrap;
  }
}

/* Launch polish: friendly positioning, CJK-safe rhythm, and mobile-first CTA flow. */
.site-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 230, 90, 0.24), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(3, 199, 90, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf1 0%, #f2fbf5 45%, #f7faf8 100%);
}

.site-body .site-nav {
  width: min(1220px, calc(100% - 32px));
  min-height: 64px;
  border-bottom: 1px solid rgba(201, 209, 220, 0.52);
}

.site-body .site-brand {
  min-width: 0;
  letter-spacing: -0.01em;
}

.site-body .site-links {
  min-width: 0;
}

.site-body .site-links a,
.site-body .secondary-link,
.site-body .primary-link,
.page-new .primary-button {
  min-width: 0;
  white-space: nowrap;
}

.site-body .site-links .nav-cta,
.site-body .landing-hero .primary-link,
.site-body .landing-cta .primary-link,
.page-new .primary-button {
  min-height: 46px;
  border: 1px solid rgba(20, 23, 29, 0.08);
  border-radius: 999px;
  color: #16181d;
  background: linear-gradient(180deg, #ffe96f 0%, #ffdb24 100%);
  box-shadow:
    0 12px 26px rgba(181, 149, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.site-body .landing-hero .secondary-link,
.site-body .landing-cta .secondary-link {
  min-height: 46px;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  color: #2f3945;
  background: rgba(255, 255, 255, 0.68);
}

.landing-hero {
  grid-template-columns: minmax(420px, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(34px, 5vw, 74px);
  padding: 34px 0 46px;
}

.hero-copy {
  display: grid;
  gap: 0;
}

.hero-copy::before,
.new-step-kicker {
  border-color: rgba(15, 118, 110, 0.16);
  color: #096157;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(24, 31, 42, 0.05);
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.5vw, 86px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 8px;
  font-size: clamp(21px, 2.05vw, 29px);
  line-height: 1.42;
  font-weight: 800;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-support {
  max-width: 590px;
  color: #5d6876;
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.hero-proof {
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  min-width: 0;
  min-height: 36px;
  border-color: rgba(15, 118, 110, 0.14);
  padding: 0 13px;
  color: #194841;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.product-surface-preview {
  border-color: rgba(147, 164, 179, 0.42);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 244, 0.88)),
    radial-gradient(circle at 100% 12%, rgba(255, 230, 90, 0.28), transparent 30%);
  box-shadow:
    0 34px 100px rgba(24, 31, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.preview-browser-bar {
  min-height: 58px;
  padding: 0 20px;
}

.preview-board-shell {
  padding: 18px;
}

.preview-board-main {
  gap: 14px;
  border-radius: 24px;
  padding: 18px;
}

.preview-board-hero {
  grid-template-columns: minmax(0, 1fr) minmax(116px, 140px);
  align-items: stretch;
}

.preview-board-hero strong {
  max-width: 440px;
  font-size: clamp(25px, 2.45vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.preview-board-hero p,
.preview-feed article strong,
.preview-compose strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.preview-board-hero dl div {
  min-height: 72px;
  justify-content: center;
  border-radius: 16px;
}

.preview-board-grid {
  grid-template-columns: minmax(180px, 0.62fr) minmax(280px, 1.38fr);
  gap: 14px;
}

.preview-compose,
.preview-feed,
.preview-operator-panel {
  border-radius: 20px;
  padding: 14px;
}

.preview-feed article {
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
}

.preview-feed article + article {
  border-top: 0;
  background: rgba(255, 255, 255, 0.64);
}

.preview-feed article strong {
  min-width: 0;
  line-height: 1.45;
}

.preview-action-row button,
.preview-compose button {
  border-radius: 999px;
}

.page-new .new-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(410px, 0.72fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}

.page-new .new-copy {
  gap: 18px;
}

.page-new .new-copy h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-new .new-copy p {
  max-width: 650px;
  color: #5d6876;
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.page-new .template-picker,
.page-new .mode-picker {
  gap: 12px;
}

.page-new .template-picker button,
.page-new .mode-picker button {
  min-width: 0;
  border-color: rgba(201, 209, 220, 0.72);
  border-radius: 18px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(24, 31, 42, 0.04);
}

.page-new .template-picker button {
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  column-gap: 11px;
  align-content: center;
}

.page-new .template-picker button::before {
  grid-area: icon;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 230, 90, 0.92), rgba(3, 199, 90, 0.18)),
    #fff;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.06);
}

.page-new .template-picker button strong,
.page-new .mode-picker button strong {
  min-width: 0;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.page-new .template-picker button strong {
  grid-area: title;
}

.page-new .template-picker button small {
  grid-area: copy;
}

.page-new .template-picker button small,
.page-new .mode-picker button small {
  min-width: 0;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.page-new .template-picker button.active {
  border-color: rgba(15, 118, 110, 0.36);
  background: #fff;
  box-shadow:
    inset 0 0 0 2px rgba(15, 118, 110, 0.08),
    0 16px 34px rgba(15, 118, 110, 0.1);
}

.page-new .mode-picker button.active {
  border-color: rgba(15, 118, 110, 0.78);
  background: linear-gradient(180deg, #0f766e 0%, #0b625c 100%);
}

.page-new .new-form {
  border: 1px solid rgba(201, 209, 220, 0.68);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(24, 31, 42, 0.08);
  backdrop-filter: blur(12px);
}

.page-new .access-preview,
.page-new .template-preview,
.page-new .advanced-settings {
  border-radius: 18px;
}

html:lang(en) .hero-copy h1 {
  max-width: 830px;
  font-size: clamp(46px, 5.25vw, 76px);
  line-height: 1.02;
}

html:lang(en) .page-new .new-copy h1 {
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.06;
}

html:lang(ja) .hero-copy h1,
html:lang(ja) .page-new .new-copy h1 {
  line-height: 1.08;
}

@media (max-width: 920px) {
  .landing-hero,
  .page-new .new-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-new .new-copy {
    position: static;
  }

  .preview-board-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .site-body .site-nav {
    width: calc(100% - 24px);
    min-height: 58px;
  }

  .site-body .site-links {
    gap: 6px;
  }

  .site-body:not(.page-new) .site-links a:not(.nav-cta) {
    display: none;
  }

  .site-body .site-links .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .landing-hero {
    width: calc(100% - 24px);
    padding: 36px 0 30px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 44px);
    line-height: 1.06;
  }

  html:lang(en) .hero-copy h1 {
    font-size: clamp(34px, 9.4vw, 42px);
  }

  .hero-line {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.52;
    overflow-wrap: break-word;
  }

  .hero-support {
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-body .landing-hero .primary-link,
  .site-body .landing-hero .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof span {
    justify-content: center;
    padding: 0 8px;
    font-size: 11px;
  }

  .product-surface-preview {
    border-radius: 22px;
  }

  .preview-browser-bar {
    min-height: 50px;
    padding: 0 14px;
  }

  .preview-board-shell {
    padding: 12px;
  }

  .preview-board-main {
    border-radius: 18px;
    padding: 14px;
  }

  .preview-board-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-board-hero dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-category-row,
  .preview-action-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .preview-category-row::-webkit-scrollbar,
  .preview-action-row::-webkit-scrollbar {
    display: none;
  }

  .page-new .new-shell {
    width: calc(100% - 24px);
    margin-top: 20px;
  }

  .page-new .new-copy h1 {
    font-size: clamp(34px, 9.4vw, 42px);
    line-height: 1.08;
  }

  html:lang(en) .page-new .new-copy h1 {
    font-size: clamp(32px, 8.7vw, 39px);
  }

  .page-new .new-copy p {
    font-size: 15px;
  }

  .page-new .template-picker,
  .page-new .mode-picker {
    grid-template-columns: 1fr;
  }

  .page-new .new-form {
    border-radius: 22px;
    padding: 18px;
  }
}

/* Final landing reference layer: keep this after legacy launch polish. */
.site-body {
  --landing-paper: #fff9e8;
  --landing-paper-2: #f3fbf5;
  --landing-ink: #101827;
  --landing-muted: #607086;
  --landing-green: #0f766e;
  --landing-green-dark: #0a5f59;
  --landing-yellow: #ffe45c;
  background:
    linear-gradient(90deg, rgba(255, 228, 92, 0.2) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(15, 118, 110, 0.055) 0 1px, transparent 1px 96px),
    linear-gradient(145deg, var(--landing-paper) 0%, #fffdf1 38%, var(--landing-paper-2) 100%);
}

.site-body .site-nav {
  top: 12px;
  width: min(1240px, calc(100% - 40px));
  margin-top: 12px;
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.landing-hero {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100svh - 92px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) 0 clamp(54px, 7vw, 88px);
}

.landing-hero::before {
  display: none;
}

.hero-copy::before {
  display: none;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--landing-ink);
  font-size: clamp(58px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-line {
  max-width: 650px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
}

.hero-support {
  max-width: 630px;
  color: var(--landing-muted);
  font-weight: 700;
}

.product-surface-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 250, 246, 0.9));
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.landing-section,
.landing-cta {
  width: min(1240px, calc(100% - 40px));
}

.contrast-band,
.feature-band,
.landing-cta {
  border-radius: 34px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.section-intro h2,
.feature-band h2,
.landing-cta h2 {
  color: var(--landing-ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.usecase-rail {
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1.15fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
}

.usecase-rail article {
  min-height: 300px;
  border: 0;
  border-right: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.56);
}

.usecase-rail article:nth-child(1),
.usecase-rail article:nth-child(4) {
  background: rgba(223, 247, 239, 0.58);
}

.workflow-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 10px;
  order: 2;
}

.workflow-visual article {
  position: relative;
  display: grid;
  min-height: 170px;
  align-content: space-between;
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.workflow-visual article::after {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 20px;
  height: 2px;
  background: var(--landing-yellow);
  content: "";
}

.workflow-visual article:last-child::after {
  display: none;
}

.workflow-visual span {
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--landing-green-dark);
  background: rgba(15, 118, 110, 0.1);
  font-size: 12px;
  font-weight: 950;
}

.workflow-visual strong {
  min-width: 0;
  color: var(--landing-ink);
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.16;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.workflow-visual p {
  min-width: 0;
  margin: 0;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.flow-list {
  order: 3;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-plan {
  transform: translateY(-10px);
  border-color: rgba(15, 118, 110, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 228, 92, 0.36), rgba(255, 255, 255, 0.88) 42%),
    #fff;
}

.landing-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  margin-bottom: 70px;
  padding: clamp(34px, 6vw, 72px);
  text-align: left;
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.96), rgba(15, 118, 110, 0.84));
}

.landing-cta span {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  padding: 0;
  color: var(--landing-yellow);
  background: transparent;
  font-size: 12px;
  font-weight: 950;
}

.landing-cta h2 {
  max-width: 780px;
  margin: 16px 0 14px;
  color: #fff;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.landing-cta p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}

.final-preview {
  display: grid;
  min-width: 0;
  min-height: 240px;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.final-preview strong {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.final-preview dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.final-preview dl div {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.final-preview dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 850;
}

.final-preview dd {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .landing-hero,
  .usecase-rail,
  .workflow-visual,
  .flow-list,
  .plan-grid,
  .plan-addon-row,
  .faq-grid,
  .landing-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-hero {
    min-height: 0;
  }

  .landing-hero::before,
  .workflow-visual article::after {
    display: none;
  }

  .usecase-rail article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 39, 0.1);
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-body .site-nav,
  .landing-hero,
  .landing-section,
  .landing-cta {
    width: calc(100% - 24px);
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.02;
  }

  .hero-actions,
  .site-body .landing-hero .primary-link,
  .site-body .landing-hero .secondary-link,
  .site-body .landing-cta .primary-link {
    width: 100%;
  }

  .preview-compose {
    display: none;
  }

  .product-surface-preview {
    overflow: hidden;
    border-radius: 24px;
  }

  .section-intro h2,
  .feature-band h2,
  .landing-cta h2 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.08;
  }

  .contrast-band,
  .feature-band,
  .landing-cta {
    border-radius: 26px;
    padding: 24px;
  }
}

/* Landing-only mobile containment. Prevent the marketing header from spilling sideways. */
@media (max-width: 640px) {
  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-nav {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px);
    min-width: 0;
    margin: 10px auto 0 !important;
    padding: 10px 12px !important;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    border-radius: 18px;
  }

  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-brand {
    min-width: 0;
    max-width: 100%;
  }

  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-links {
    display: none;
  }
}

/* Hard landing header guard. This overrides accumulated legacy nav rules. */
body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) {
  max-width: 100vw;
  overflow-x: clip;
}

body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-nav {
  position: relative;
  left: auto;
  right: auto;
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px);
  min-width: 0;
  margin: 12px auto 0 !important;
  padding: 10px 12px !important;
  transform: none;
}

body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-brand {
  min-width: 0;
}

body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-links {
  min-width: 0;
}

@media (max-width: 900px) {
  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-nav {
    justify-content: flex-start;
    overflow: hidden;
  }

  body.site-body:not(.page-new):not(.page-dashboard):not(.page-admin):not(.page-superadmin) .site-links {
    display: none !important;
  }
}

/* Dashboard home: account state first, operated boards second. */
.page-dashboard {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 228, 92, 0.2), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(15, 118, 110, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdf2 0%, #f8fbf8 58%, #f4faf7 100%);
}

.page-dashboard .site-nav {
  width: min(1240px, calc(100% - 40px));
  margin-top: 18px;
  border-radius: 22px;
}

.page-dashboard .dashboard-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 76px;
}

.page-dashboard .dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.12);
  padding: 0 0 28px;
  background: transparent;
  box-shadow: none;
}

.page-dashboard .dashboard-hero h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-dashboard .dashboard-hero p:not(.eyebrow) {
  max-width: 660px;
  color: #647084;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.dashboard-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  margin: 18px 0;
}

.dashboard-plan-summary,
.dashboard-usage,
.page-dashboard .dashboard-list-panel {
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 64px rgba(15, 23, 42, 0.07);
}

.dashboard-plan-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
}

.dashboard-plan-summary h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.dashboard-plan-summary p:not(.eyebrow) {
  margin: 0;
  color: #647084;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.dashboard-plan-summary .secondary-link {
  justify-self: start;
  margin-top: 6px;
}

.dashboard-usage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: rgba(216, 226, 232, 0.82);
}

.dashboard-usage div {
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: 8px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-usage dt {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.dashboard-usage dd {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  line-height: 1;
}

.dashboard-usage-skeleton {
  display: grid;
  gap: 10px;
  min-height: 150px;
  align-content: center;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.9);
}

.page-dashboard .dashboard-list-panel {
  gap: 18px;
  padding: 24px;
}

.page-dashboard .dashboard-list-panel .section-heading {
  border-bottom: 1px solid rgba(16, 24, 39, 0.12);
  padding-bottom: 18px;
}

.page-dashboard .dashboard-board-card {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) auto;
  border-color: rgba(16, 24, 39, 0.1);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.page-dashboard .dashboard-board-main h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.22;
  letter-spacing: 0;
}

.page-dashboard .dashboard-board-main p {
  margin: 0;
}

.page-dashboard .dashboard-board-stats {
  width: 100%;
}

.page-dashboard .dashboard-board-stats div {
  border-radius: 14px;
  background: #f8fafc;
}

/* New board template cards: remove decorative squares that had no semantic meaning. */
.page-new .template-picker button {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "copy";
  padding: 18px 20px;
}

.page-new .template-picker button::before {
  display: none;
}

.page-new .template-picker button strong {
  position: relative;
  padding-top: 0;
}

.page-new .template-picker button strong::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #0f766e;
  content: "";
  vertical-align: 2px;
}

.page-new .template-picker button.active strong::before {
  background: #ffdf3d;
  box-shadow: 0 0 0 4px rgba(255, 223, 61, 0.26);
}

@media (max-width: 980px) {
  .page-dashboard .dashboard-hero,
  .dashboard-overview,
  .page-dashboard .dashboard-board-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-dashboard .dashboard-hero .primary-link {
    justify-self: start;
  }

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

  .dashboard-usage div,
  .dashboard-usage-skeleton {
    min-height: 112px;
  }

  .page-dashboard .dashboard-board-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page-dashboard .site-nav,
  .page-dashboard .dashboard-shell {
    width: calc(100% - 24px);
  }

  .page-dashboard .dashboard-shell {
    padding-top: 26px;
  }

  .page-dashboard .dashboard-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .dashboard-usage {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-plan-summary,
  .page-dashboard .dashboard-list-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .page-dashboard .dashboard-board-stats {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .page-dashboard .dashboard-board-actions a {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* MoaBoard landing redesign: friendly Korean SaaS, Kakao/Naver-inspired clarity. */
.page-landing {
  --landing-bg: #fffdf1;
  --landing-bg-soft: #f1fbf5;
  --landing-ink: #17191f;
  --landing-text: #354153;
  --landing-muted: #6b7586;
  --landing-line: rgba(23, 25, 31, 0.12);
  --landing-green: #0f766e;
  --landing-green-strong: #087268;
  --landing-green-soft: #e4f7ef;
  --landing-yellow: #ffe14a;
  --landing-yellow-soft: #fff5a6;
  --landing-white: rgba(255, 255, 255, 0.86);
  --landing-shadow: 0 24px 80px rgba(20, 35, 44, 0.1);
  min-height: 100svh;
  color: var(--landing-ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 225, 74, 0.42), transparent 27%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.16), transparent 33%),
    linear-gradient(145deg, var(--landing-bg) 0%, #fffef5 45%, var(--landing-bg-soft) 100%);
}

.page-landing::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
  content: "";
}

.page-landing .site-nav {
  position: sticky !important;
  top: 14px !important;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100vw - 32px)) !important;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  margin: 14px auto 0 !important;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 26px;
  padding: 10px 12px 10px 14px !important;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
}

.page-landing .site-brand {
  min-width: 0;
  color: var(--landing-ink);
  font-size: 18px;
  font-weight: 950;
  gap: 12px;
}

.page-landing .site-brand .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f766e, #2364e8);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
  font-size: 15px;
}

.page-landing .site-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.page-landing .site-links a {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--landing-text);
  font-size: 14px;
  font-weight: 850;
}

.page-landing .site-links .nav-cta {
  background: var(--landing-yellow);
  color: var(--landing-ink);
  box-shadow: inset 0 -2px 0 rgba(23, 25, 31, 0.1);
}

.page-landing main {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  padding: clamp(40px, 5vw, 70px) 0 76px;
}

.page-landing .landing-hero,
.page-landing .landing-section,
.page-landing .landing-cta {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 32px)) !important;
  margin-right: auto;
  margin-left: auto;
}

.page-landing .landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: auto;
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(28px, 4vw, 52px) 0 clamp(16px, 3vw, 28px);
}

.page-landing .hero-copy {
  position: relative;
  z-index: 1;
  display: block;
  grid-column: 1;
  grid-row: 1;
  max-width: 610px;
  padding-top: clamp(10px, 3vw, 30px);
  opacity: 1;
  transform: none;
  visibility: visible;
}

.page-landing .hero-copy::before {
  display: inline-flex;
  width: max-content;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--landing-green-strong);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
  font-size: 13px;
  font-weight: 950;
  content: "LINK · QR · BOARD";
}

.page-landing .hero-copy h1 {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--landing-ink);
  font-size: clamp(54px, 6.8vw, 92px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
  word-break: keep-all;
}

.page-landing .hero-copy h1 span {
  display: block;
}

.page-landing .hero-line {
  max-width: 560px;
  margin: 0 0 12px;
  color: var(--landing-ink);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 900;
  line-height: 1.34;
  word-break: keep-all;
}

.page-landing .hero-support {
  max-width: 560px;
  margin: 0;
  color: var(--landing-muted);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.72;
  word-break: keep-all;
}

.page-landing .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-landing .primary-link,
.page-landing .secondary-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
}

.page-landing .primary-link {
  border: 1px solid rgba(23, 25, 31, 0.08);
  background: var(--landing-yellow);
  color: var(--landing-ink);
  box-shadow: inset 0 -2px 0 rgba(23, 25, 31, 0.12), 0 18px 34px rgba(255, 225, 74, 0.28);
}

.page-landing .secondary-link {
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.62);
  color: var(--landing-green-strong);
}

.page-landing .hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-landing .hero-proof span {
  min-height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--landing-text);
  font-size: 13px;
  font-weight: 850;
}

.page-landing .product-surface-preview {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 34px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(233, 249, 240, 0.92)),
    #fff;
  box-shadow: var(--landing-shadow);
}

.page-landing .product-surface-preview::before {
  position: absolute;
  inset: auto -12% -18% 28%;
  height: 46%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(255, 225, 74, 0.4), rgba(15, 118, 110, 0.18));
  filter: blur(4px);
  content: "";
}

.page-landing .preview-browser-bar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.11);
  padding: 0 6px 14px;
}

.page-landing .preview-browser-bar span {
  display: flex;
  gap: 5px;
  width: 44px;
}

.page-landing .preview-browser-bar span::before,
.page-landing .preview-browser-bar span::after {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--landing-yellow);
  content: "";
}

.page-landing .preview-browser-bar span::after {
  background: var(--landing-green);
}

.page-landing .preview-browser-bar strong {
  min-width: 0;
  overflow: hidden;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-landing .preview-browser-bar em {
  margin-left: auto;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--landing-green-soft);
  color: var(--landing-green-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.page-landing .preview-board-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 0;
  padding-top: 18px;
}

.page-landing .preview-board-main {
  display: grid;
  min-width: 0;
  gap: 16px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.72);
}

.page-landing .preview-board-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  border: 0;
  border-radius: 0;
  padding: 0 0 16px;
  background: transparent;
}

.page-landing .preview-board-hero span,
.page-landing .section-intro span,
.page-landing .usecase-grid span,
.page-landing .plan-card span,
.page-landing .plan-addon-card span {
  color: var(--landing-green-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.page-landing .preview-board-hero strong {
  display: block;
  max-width: 380px;
  margin-top: 7px;
  color: var(--landing-ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  line-height: 1.02;
  word-break: keep-all;
}

.page-landing .preview-board-hero p {
  max-width: 340px;
  margin: 10px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.page-landing .preview-board-hero dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.page-landing .preview-board-hero dl div {
  min-width: 122px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.page-landing .preview-board-hero dt {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 850;
}

.page-landing .preview-board-hero dd {
  margin: 4px 0 0;
  color: var(--landing-ink);
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
}

.page-landing .preview-category-row,
.page-landing .preview-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-landing .preview-category-row span,
.page-landing .preview-action-row button {
  min-height: 36px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--landing-text);
  font-size: 13px;
  font-weight: 900;
}

.page-landing .preview-category-row .active,
.page-landing .preview-action-row button:first-child {
  border-color: rgba(255, 225, 74, 0.9);
  background: var(--landing-yellow);
  color: var(--landing-ink);
}

.page-landing .preview-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-landing .preview-compose,
.page-landing .preview-feed {
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.page-landing .preview-compose {
  display: none;
  gap: 10px;
}

.page-landing .preview-compose strong,
.page-landing .preview-feed-head strong {
  color: var(--landing-ink);
  font-size: 20px;
  font-weight: 950;
}

.page-landing .preview-compose span,
.page-landing .preview-feed-head span {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 850;
}

.page-landing .preview-compose i {
  display: block;
  min-height: 38px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--landing-muted);
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.page-landing .preview-compose i.textarea {
  min-height: 82px;
}

.page-landing .preview-compose button {
  justify-self: end;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--landing-green);
  color: #fff;
  font-weight: 950;
}

.page-landing .preview-feed {
  display: grid;
  gap: 10px;
}

.page-landing .preview-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-landing .preview-feed article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.page-landing .preview-feed article:first-of-type {
  background: linear-gradient(135deg, rgba(255, 225, 74, 0.35), rgba(255, 255, 255, 0.94));
}

.page-landing .preview-feed article span {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 850;
}

.page-landing .preview-feed article b,
.page-landing .preview-feed article i {
  color: var(--landing-green-strong);
  font-style: normal;
}

.page-landing .preview-feed article strong {
  color: var(--landing-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.44;
  overflow-wrap: normal;
  word-break: keep-all;
}

.page-landing .landing-section {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  border: 0;
  padding: clamp(26px, 5vw, 58px) 0;
  background: transparent;
}

.page-landing .section-intro {
  max-width: 760px;
}

.page-landing .section-intro h2,
.page-landing .feature-band h2,
.page-landing .landing-cta h2 {
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

.page-landing .section-intro p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--landing-muted);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.72;
  word-break: keep-all;
}

.page-landing .contrast-band {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: end;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 62px);
  background: linear-gradient(135deg, rgba(23, 25, 31, 0.96), rgba(8, 114, 104, 0.86));
  box-shadow: var(--landing-shadow);
}

.page-landing .contrast-band h2 {
  color: #fff;
}

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

.page-landing .contrast-grid article {
  display: grid;
  min-height: 230px;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.page-landing .contrast-grid article:last-child {
  background: rgba(255, 225, 74, 0.9);
}

.page-landing .contrast-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 950;
}

.page-landing .contrast-grid article:last-child span {
  color: rgba(23, 25, 31, 0.64);
}

.page-landing .contrast-grid p {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 950;
  line-height: 1.16;
  word-break: keep-all;
}

.page-landing .contrast-grid article:last-child p {
  color: var(--landing-ink);
}

.page-landing .usecase-rail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 30px;
  background: var(--landing-white);
  box-shadow: 0 20px 60px rgba(20, 35, 44, 0.07);
}

.page-landing .usecase-rail article {
  display: grid;
  min-height: 284px;
  align-content: end;
  gap: 12px;
  border: 0;
  border-right: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 0;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 30% 12%, rgba(255, 225, 74, 0.22), transparent 32%);
}

.page-landing .usecase-rail article:last-child {
  border-right: 0;
}

.page-landing .usecase-rail article:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 70% 18%, rgba(15, 118, 110, 0.14), transparent 34%);
}

.page-landing .usecase-grid h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 950;
  line-height: 1.15;
  word-break: keep-all;
}

.page-landing .usecase-grid p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
  word-break: keep-all;
}

.page-landing .feature-band {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--landing-shadow);
}

.page-landing .workflow-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.page-landing .workflow-visual article {
  display: grid;
  min-height: 176px;
  align-content: space-between;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 24px;
  padding: 19px;
  background: #fff;
}

.page-landing .workflow-visual article::after {
  display: none;
}

.page-landing .workflow-visual span {
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--landing-green-strong);
  background: var(--landing-green-soft);
  font-size: 12px;
  font-weight: 950;
}

.page-landing .workflow-visual strong {
  color: var(--landing-ink);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 950;
  line-height: 1.14;
}

.page-landing .workflow-visual p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.page-landing .flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-landing .flow-list li {
  position: relative;
  border-top: 2px solid var(--landing-yellow);
  padding: 14px 2px 0;
  color: var(--landing-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.page-landing .flow-list li::before {
  display: block;
  margin-bottom: 6px;
  color: var(--landing-green-strong);
  font-size: 12px;
  font-weight: 950;
  content: attr(data-step);
}

.page-landing .plan-grid,
.page-landing .plan-addon-row,
.page-landing .faq-grid {
  display: grid;
  gap: 14px;
}

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

.page-landing .plan-addon-row,
.page-landing .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-landing .plan-card,
.page-landing .plan-addon-card,
.page-landing .faq-grid article {
  display: grid;
  gap: 22px;
  align-content: space-between;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(20, 35, 44, 0.06);
}

.page-landing .plan-card h3,
.page-landing .plan-addon-card h3,
.page-landing .faq-grid h3 {
  margin: 10px 0 0;
  color: var(--landing-ink);
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 950;
  line-height: 1.2;
  word-break: keep-all;
}

.page-landing .plan-card p,
.page-landing .plan-addon-card p,
.page-landing .faq-grid p {
  margin: 12px 0 0;
  color: var(--landing-muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.65;
  word-break: keep-all;
}

.page-landing .plan-card ul,
.page-landing .plan-addon-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-landing .plan-card li,
.page-landing .plan-addon-card li {
  position: relative;
  padding-left: 18px;
  color: var(--landing-text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.page-landing .plan-card li::before,
.page-landing .plan-addon-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--landing-green);
  content: "";
}

.page-landing .featured-plan {
  transform: none;
  border-color: rgba(255, 225, 74, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 225, 74, 0.4), rgba(255, 255, 255, 0.9) 46%),
    #fff;
}

.page-landing .plan-card-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-landing .plan-card-kicker em {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--landing-green);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.page-landing .faq-band {
  padding-top: clamp(18px, 4vw, 48px);
}

.page-landing .faq-grid article {
  align-content: start;
}

.page-landing .landing-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 225, 74, 0.2), transparent 30%),
    linear-gradient(135deg, #17191f, #0a5f59);
  box-shadow: var(--landing-shadow);
  text-align: left;
}

.page-landing .landing-cta span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  color: var(--landing-yellow);
  background: transparent;
  font-size: 13px;
  font-weight: 950;
}

.page-landing .landing-cta h2 {
  max-width: 680px;
  color: #fff;
}

.page-landing .landing-cta p {
  max-width: 600px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.72;
}

.page-landing .final-preview {
  display: grid;
  min-width: 0;
  min-height: 230px;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.page-landing .final-preview strong {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-landing .final-preview dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.page-landing .final-preview dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
}

.page-landing .final-preview dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 850;
}

.page-landing .final-preview dd {
  margin: 3px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

@media (max-width: 980px) {
  .page-landing .landing-hero,
  .page-landing .contrast-band,
  .page-landing .feature-band,
  .page-landing .plan-grid,
  .page-landing .plan-addon-row,
  .page-landing .faq-grid,
  .page-landing .landing-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-landing .landing-hero {
    gap: 28px;
    padding-top: 22px;
  }

  .page-landing .hero-copy {
    grid-column: auto;
    grid-row: auto;
    max-width: 760px;
  }

  .page-landing .product-surface-preview {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .page-landing .preview-board-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-landing .preview-compose {
    display: none;
  }

  .page-landing .usecase-rail,
  .page-landing .workflow-visual,
  .page-landing .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-landing .usecase-rail article {
    min-height: 220px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  }
}

@media (max-width: 640px) {
  .page-landing {
    overflow-x: hidden;
  }

  .page-landing .site-nav {
    top: 8px !important;
    width: calc(100vw - 24px) !important;
    min-height: 58px;
    margin-top: 8px !important;
    border-radius: 20px;
    padding: 8px 10px !important;
  }

  .page-landing .site-brand {
    font-size: 16px;
  }

  .page-landing .site-brand .brand-mark {
    width: 38px;
    height: 38px;
  }

  .page-landing .site-links {
    display: none !important;
  }

  .page-landing main {
    gap: 52px;
    padding-top: 26px;
  }

  .page-landing .landing-hero,
  .page-landing .landing-section,
  .page-landing .landing-cta {
    width: calc(100vw - 24px) !important;
  }

  .page-landing .hero-copy::before {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .page-landing .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(39px, 11.4vw, 50px);
    line-height: 1.04;
  }

  .page-landing .hero-line {
    font-size: clamp(20px, 6vw, 26px);
  }

  .page-landing .hero-support,
  .page-landing .section-intro p,
  .page-landing .landing-cta p {
    font-size: 15px;
    line-height: 1.72;
  }

  .page-landing .hero-actions,
  .page-landing .primary-link,
  .page-landing .secondary-link {
    width: 100%;
  }

  .page-landing .primary-link,
  .page-landing .secondary-link {
    min-height: 50px;
  }

  .page-landing .hero-proof {
    gap: 6px;
  }

  .page-landing .hero-proof span {
    min-height: 31px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .page-landing .product-surface-preview,
  .page-landing .preview-board-main,
  .page-landing .contrast-band,
  .page-landing .feature-band,
  .page-landing .landing-cta {
    border-radius: 24px;
  }

  .page-landing .product-surface-preview {
    padding: 12px;
  }

  .page-landing .preview-browser-bar {
    min-height: 48px;
    padding-bottom: 10px;
  }

  .page-landing .preview-browser-bar strong {
    font-size: 12px;
  }

  .page-landing .preview-board-main {
    padding: 16px;
  }

  .page-landing .preview-board-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-landing .preview-board-hero strong {
    max-width: 290px;
    font-size: clamp(29px, 8.8vw, 38px);
  }

  .page-landing .preview-board-hero dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-landing .preview-board-hero dl div {
    min-width: 0;
  }

  .page-landing .preview-category-row span:nth-last-child(-n + 2) {
    display: none;
  }

  .page-landing .preview-feed article:nth-last-child(-n + 1) {
    display: none;
  }

  .page-landing .section-intro h2,
  .page-landing .feature-band h2,
  .page-landing .landing-cta h2 {
    font-size: clamp(31px, 9.4vw, 42px);
    line-height: 1.1;
  }

  .page-landing .contrast-band,
  .page-landing .feature-band,
  .page-landing .landing-cta {
    padding: 24px;
  }

  .page-landing .contrast-grid,
  .page-landing .usecase-rail,
  .page-landing .workflow-visual,
  .page-landing .flow-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-landing .contrast-grid article {
    min-height: 170px;
  }

  .page-landing .usecase-rail article {
    min-height: 174px;
    border-right: 0;
  }

  .page-landing .workflow-visual article {
    min-height: 140px;
  }

  .page-landing .plan-card,
  .page-landing .plan-addon-card,
  .page-landing .faq-grid article {
    border-radius: 22px;
    padding: 20px;
  }

  .page-landing .final-preview {
    min-height: 180px;
    border-radius: 22px;
  }
}
