:root {
  color: #111827;
  background: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f7fb;
}

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

button,
input,
select {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

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

h1 {
  margin-bottom: 18px;
  color: #090b16;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: #111827;
  font-size: 17px;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #e0e6ef;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 7px;
  padding: 0 12px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.nav a.active {
  background: #e9f7f2;
  color: #047857;
}

.primary-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  background: #0f8f68;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 143, 104, 0.2);
}

.ghost-button {
  background: #ffffff;
  border-color: #d6deeb;
  color: #1f2937;
}

.danger-button {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.light-button {
  background: #ffffff;
  color: #0f172a;
  box-shadow: none;
}

.hero-band {
  min-height: calc(100vh - 64px);
  border-bottom: 1px solid #e5eaf2;
  background: #ffffff;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1.14fr);
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 52px 20px 74px;
}

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

.hero-visual {
  position: absolute;
  inset: 0 0 0 36%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 80px 24px 80px 80px;
  opacity: 1;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.94) 22%, rgba(255,255,255,0.42) 58%, rgba(255,255,255,0.82) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.02), #ffffff 100%);
  content: "";
}

.mock-site-window {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  transform: none;
}

.mock-window-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e5eaf2;
  padding: 16px 18px;
}

.mock-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fca5a5;
}

.mock-window-bar span:nth-child(2) {
  background: #fde68a;
}

.mock-window-bar span:nth-child(3) {
  background: #bbf7d0;
}

.mock-site-body {
  padding: 38px 46px 46px;
}

.mock-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #475569;
}

.mock-site-brand span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #d7f7e9;
}

.mock-site-body h2 {
  max-width: 460px;
  margin: 42px 0 10px;
  font-size: 44px;
}

.mock-site-body > p {
  color: #64748b;
}

.mock-widget {
  display: grid;
  gap: 0;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
}

.mock-widget-title {
  border-bottom: 1px solid #e5eaf2;
  padding: 16px 18px;
  color: #0f8f68;
  font-weight: 900;
}

.mock-widget article {
  padding: 18px;
}

.mock-widget article + article {
  border-top: 1px solid #eef2f7;
}

.mock-widget article div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.mock-widget article span {
  color: #94a3b8;
  font-size: 12px;
}

.mock-widget article p {
  margin-bottom: 0;
  color: #475569;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid #b7ead7;
  border-radius: 7px;
  background: #edfbf5;
  color: #047857;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.section-label {
  margin-bottom: 12px;
  padding: 5px 9px;
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: #475569;
  font-size: 17px;
  line-height: 1.85;
}

.muted {
  color: #64748b;
}

.wide {
  max-width: 720px;
  line-height: 1.8;
}

.small {
  font-size: 13px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
}

.hero-metrics div {
  padding: 14px 16px;
}

.hero-metrics div + div {
  border-left: 1px solid #e0e6ef;
}

.hero-metrics span,
.summary-card span,
.stat-card span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.hero-metrics strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
}

.page,
.page-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px;
}

.page-section {
  border-bottom: 1px solid #e5eaf2;
}

.soft-section {
  max-width: none;
  background: #f7fafc;
}

.soft-section > * {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  align-items: center;
}

.feature-grid,
.faq-grid,
.plan-grid,
.summary-grid,
.management-grid,
.admin-grid,
.result-grid {
  display: grid;
  gap: 14px;
}

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

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

.site-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.plan-grid.public-pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid,
.management-grid,
.admin-grid,
.result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-card,
.trust-card,
.panel,
.preview-panel,
.summary-card,
.form-panel,
.plan-card,
.table-panel {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.feature-card,
.trust-card,
.panel,
.summary-card,
.form-panel {
  padding: 20px;
}

.feature-card span {
  color: #0f8f68;
  font-size: 12px;
  font-weight: 900;
}

.trust-card span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 6px;
  background: #edf7fb;
  color: #0369a1;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.feature-card p,
.trust-card p,
.panel p {
  margin-bottom: 0;
  line-height: 1.75;
}

.trust-card h3 {
  margin-top: 14px;
}

.trust-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #0f8f68;
  font-weight: 900;
}

.preview-panel {
  overflow: hidden;
}

.preview-header,
.panel-header,
.widget-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-header {
  border-bottom: 1px solid #e5eaf2;
  padding: 18px 20px;
}

.preview-header span,
.preview-header em {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
}

.preview-header em {
  border-radius: 6px;
  background: #e9f7f2;
  color: #047857;
  padding: 4px 8px;
  font-weight: 800;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #e5eaf2;
}

.preview-stats div {
  padding: 16px 20px;
}

.preview-stats div + div {
  border-left: 1px solid #e5eaf2;
}

.preview-stats span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.post-list {
  display: grid;
  gap: 0;
}

.post-list article {
  padding: 18px 20px;
}

.post-list article + article {
  border-top: 1px solid #eef2f7;
}

.post-list p {
  margin-bottom: 0;
  color: #475569;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  position: relative;
  min-height: 44px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px 12px 50px;
  font-weight: 800;
  counter-increment: step;
}

.step-list li::before {
  position: absolute;
  top: 10px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #e9f7f2;
  color: #047857;
  content: counter(step);
  font-size: 13px;
}

.table-panel {
  overflow: hidden;
}

.site-demo-card {
  display: grid;
  gap: 12px;
}

.site-demo-browser {
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.site-demo-bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #e5eaf2;
  padding: 10px 12px;
}

.site-demo-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fca5a5;
}

.site-demo-bar span:nth-child(2) {
  background: #fde68a;
}

.site-demo-bar span:nth-child(3) {
  background: #86efac;
}

.site-demo-page {
  display: grid;
  gap: 12px;
  min-height: 430px;
  padding: 18px;
}

.site-demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}

.site-demo-brand span,
.site-demo-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  background: color-mix(in srgb, var(--site-demo-accent, #0f8f68) 18%, #ffffff);
  color: var(--site-demo-accent, #0f8f68);
  font-weight: 900;
}

.site-demo-brand span {
  width: 26px;
  height: 26px;
}

.site-demo-page h3 {
  margin: 12px 0 0;
  color: #0f172a;
  font-size: 23px;
  line-height: 1.18;
}

.site-demo-page > p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.site-demo-widget {
  align-self: end;
  overflow: hidden;
  border: 1px solid #dde5f0;
  border-radius: 8px;
  background: #ffffff;
}

.site-demo-widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf2f7;
  padding: 10px 12px;
}

.site-demo-widget-title strong {
  color: var(--site-demo-accent, #0f8f68);
  font-size: 13px;
}

.site-demo-widget-title span,
.site-demo-post small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.site-demo-post {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.site-demo-post + .site-demo-post {
  border-top: 1px solid #edf2f7;
}

.site-demo-post div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.site-demo-avatar {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.site-demo-post strong {
  min-width: 0;
  color: var(--site-demo-accent, #0f8f68);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.site-demo-post p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.62;
}

.site-demo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #475569;
  font-size: 13px;
}

.site-demo-caption span {
  color: var(--site-demo-accent, #0f8f68);
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  border-bottom: 1px solid #edf2f7;
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

td span {
  color: #64748b;
  font-size: 13px;
}

.plan-card {
  position: relative;
  padding: 22px;
}

.plan-card.featured {
  border-color: #a7f3d0;
  background: #f1fcf7;
}

.plan-card em {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 6px;
  background: #0f8f68;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.plan-card h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.plan-card > p {
  min-height: 42px;
  color: #64748b;
}

.plan-card > strong {
  display: block;
  margin: 18px 0;
  color: #0f172a;
  font-size: 32px;
  line-height: 1;
}

.plan-card strong span {
  color: #64748b;
  font-size: 15px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  color: #334155;
  font-size: 14px;
}

.plan-card li::before {
  color: #0f8f68;
  content: "✓ ";
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 30px;
}

.cta-section h2,
.cta-section p {
  color: #ffffff;
}

.cta-section p:not(.section-label) {
  margin-bottom: 0;
  opacity: 0.78;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  color: #64748b;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #334155;
  font-weight: 800;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.form-panel {
  max-width: 620px;
}

.form-panel.narrow {
  max-width: 480px;
  margin: 0 auto;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8e6;
  border-radius: 7px;
  background: #ffffff;
  padding: 11px 12px;
  color: #0f172a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #0f8f68;
  outline: 3px solid #d7f7e9;
}

.field input[type="color"] {
  min-height: 44px;
  padding: 4px;
  cursor: pointer;
}

.field-hint {
  margin: -2px 0 0;
  color: #64748b;
  font-size: 12px;
}

.plan-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.result-stack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.result-panel {
  margin-top: 0;
}

.result-grid {
  margin-bottom: 18px;
}

.result-grid div {
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.result-grid strong {
  display: block;
  margin-top: 4px;
}

.empty-state {
  max-width: 780px;
  margin: 62px auto;
  text-align: center;
}

.customer-login-state h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.console-shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.console-sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: calc(100vh - 64px);
  border-right: 1px solid #101827;
  background: #050914;
  padding: 18px 12px;
  color: #ffffff;
}

.console-brand {
  padding: 0 6px;
}

.console-brand .brand-mark {
  background: #10b981;
  color: #062015;
}

.console-sidebar nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.console-sidebar nav a {
  border-radius: 7px;
  color: #cbd5e1;
  padding: 11px 12px;
  font-weight: 800;
}

.console-sidebar nav a.active {
  background: #ffffff;
  color: #0f172a;
}

.sidebar-logout-button {
  align-self: end;
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(203, 213, 225, 0.28);
  border-radius: 7px;
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.sidebar-logout-button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.console-main {
  padding: 28px 32px 56px;
}

.console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.console-header h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 48px);
}

.customer-console {
  min-height: 100vh;
}

.customer-console .console-sidebar {
  top: 0;
  min-height: 100vh;
}

.customer-console .console-main {
  padding-top: 30px;
}

.customer-console .console-header h1 {
  font-size: 30px;
  line-height: 1.2;
}

.customer-console .panel h2,
.customer-console .checklist-panel h2 {
  font-size: 22px;
  line-height: 1.25;
}

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

.settings-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf2f7;
  padding: 10px 0;
}

.settings-list span {
  color: #64748b;
  font-size: 13px;
}

.settings-list strong {
  color: #0f172a;
  text-align: right;
}

.settings-list .stack-value {
  align-items: flex-start;
}

.settings-list strong.long-value {
  max-width: min(520px, 68%);
  line-height: 1.45;
  white-space: normal;
}

.admin-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-panel h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.admin-login-panel .primary-button {
  width: 100%;
}

.google-auth-slot {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 18px;
}

.password-reminder-panel {
  margin-top: 14px;
  text-align: left;
}

.password-reminder-panel h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.google-login-placeholder {
  width: 100%;
  max-width: 320px;
}

.password-reminder-panel form,
.local-reset-form {
  display: grid;
  gap: 10px;
}

.local-reset-form {
  margin-top: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  content: "";
}

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

.admin-session-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #edf2f7;
  padding: 8px 0;
}

.admin-session-list dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-session-list dd {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
}

.admin-app-shell {
  min-height: 100vh;
  background: #f4f7fb;
}

.admin-console {
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-console .console-sidebar {
  top: 0;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  border-right-color: #172033;
  background: #07101f;
}

.admin-console .console-sidebar nav {
  align-content: start;
}

.admin-console .console-main {
  padding: 30px 38px 52px;
}

.admin-console-header {
  align-items: center;
  margin-bottom: 16px;
}

.admin-console-header h1 {
  color: #0b1220;
  font-size: 34px;
  line-height: 1.12;
}

.admin-header-copy {
  max-width: 720px;
  margin: 8px 0 0;
  color: #475569;
  font-size: 14px;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #cfd8e6;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.admin-mode-pill::before {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #10b981;
  content: "";
}

.admin-kpi-strip,
.admin-result-strip {
  display: grid;
  overflow: hidden;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-kpi-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-result-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-kpi-strip article,
.admin-result-strip article {
  min-width: 0;
  padding: 14px 16px;
}

.admin-kpi-strip article + article,
.admin-result-strip article + article {
  border-left: 1px solid #e2e8f0;
}

.admin-kpi-strip span,
.admin-result-strip span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-kpi-strip strong,
.admin-result-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-kpi-strip small,
.admin-result-strip small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
}

.admin-workbench {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-code-panel,
.admin-create-panel {
  padding: 18px;
}

.admin-panel-heading {
  margin-bottom: 14px;
}

.admin-panel-heading h2,
.admin-list-toolbar h2 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.2;
}

.admin-panel-heading p,
.admin-list-toolbar p {
  font-size: 13px;
  line-height: 1.6;
}

.admin-console .field {
  gap: 6px;
  margin-bottom: 12px;
}

.admin-console .field input,
.admin-console .field select {
  min-height: 40px;
}

.admin-console .primary-button,
.admin-console .ghost-button,
.admin-console .danger-button {
  min-height: 40px;
}

.admin-status-slot {
  margin-bottom: 14px;
}

.admin-status-slot .notice {
  padding: 10px 12px;
  font-size: 13px;
}

.admin-status-slot:empty {
  display: none;
}

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

.admin-list-panel {
  overflow: hidden;
  padding: 0;
}

.admin-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 20px;
}

.admin-list-toolbar .section-label {
  margin-bottom: 8px;
}

.admin-list-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.admin-search {
  display: grid;
  gap: 6px;
  min-width: 270px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.admin-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd8e6;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 12px;
}

.admin-search input:focus {
  border-color: #0f8f68;
  outline: 3px solid #d7f7e9;
}

.admin-table-panel {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-tenant-table {
  min-width: 860px;
  table-layout: auto;
}

.admin-tenant-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.admin-tenant-table td {
  vertical-align: middle;
}

.admin-tenant-table td small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.admin-tenant-table code {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  padding: 3px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

[data-admin-tenant-row][hidden] {
  display: none;
}

.status-pill.status-active,
.status-pill.status-trialing {
  background: #ecfdf5;
  color: #047857;
}

.status-pill.status-paused {
  background: #fff7ed;
  color: #c2410c;
}

.status-pill.status-danger {
  background: #fff1f2;
  color: #be123c;
}

.status-pill.status-neutral {
  background: #f1f5f9;
  color: #475569;
}

.management-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.summary-card {
  min-width: 0;
}

.summary-card strong {
  display: block;
  margin-top: 7px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.1;
}

.summary-card p {
  margin: 8px 0 0;
  color: #64748b;
}

.main-summary {
  background: #0f172a;
}

.main-summary span,
.main-summary p {
  color: #cbd5e1;
}

.main-summary strong {
  color: #ffffff;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
}

.inline-form .field {
  margin-bottom: 0;
}

.embedded-table {
  margin-top: 16px;
  border-radius: 8px;
  box-shadow: none;
}

.managed-account-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.managed-account {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.managed-account-head {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.managed-account-head .status-pill {
  margin-left: auto;
}

.managed-account-head strong,
.managed-account-head span {
  display: block;
}

.managed-account-head strong {
  color: #0f172a;
  font-size: 16px;
}

.managed-account-head span {
  color: #64748b;
  font-size: 13px;
}

.managed-account-head small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
}

.managed-account-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe7f2;
  border-radius: 50%;
  background: #f8fafc;
  color: #0f8f68;
  object-fit: cover;
  font-weight: 900;
}

.account-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(110px, 0.6fr));
  gap: 10px;
}

.readonly-field {
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
}

.readonly-field span,
.readonly-field small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.readonly-field strong {
  color: #0f172a;
  font-size: 15px;
}

.readonly-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.45fr) minmax(120px, 0.45fr);
  gap: 10px;
}

.color-settings-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.color-settings-grid .field {
  min-width: 0;
}

.color-settings-grid input[type="color"] {
  width: 100%;
}

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

.usage-health article {
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.usage-health span,
.usage-health small {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.usage-health strong {
  display: block;
  margin: 6px 0;
  color: #0f172a;
  font-size: 22px;
}

.usage-meter {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

.usage-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.usage-health.has-warning .usage-meter span {
  background: #f59e0b;
}

.usage-warning {
  grid-column: 1 / -1;
}

.usage-history-panel {
  margin-bottom: 16px;
}

.usage-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.usage-history-summary article {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.usage-history-summary span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.usage-history-summary strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 18px;
}

.usage-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 12px 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.usage-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.usage-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #0f8f68;
}

.usage-chart-shell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.usage-chart-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 112px;
  padding-top: 14px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.usage-chart {
  display: grid;
  grid-template-columns: repeat(30, minmax(12px, 1fr));
  gap: 5px;
  align-items: end;
  overflow-x: auto;
  min-height: 150px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: linear-gradient(#f8fafc 1px, transparent 1px) 0 0 / 100% 25%;
  padding: 14px 10px 8px;
}

.usage-chart-day {
  display: grid;
  grid-template-rows: minmax(92px, 1fr) auto auto;
  gap: 4px;
  min-width: 18px;
  align-items: end;
}

.usage-chart-bar-area {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.usage-chart-bar-area span {
  display: block;
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 2px 2px;
  background: #0f8f68;
}

.usage-chart-day.zero .usage-chart-bar-area span {
  min-height: 0;
}

.usage-chart-day strong {
  color: #0f172a;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.usage-chart-day small {
  overflow: hidden;
  color: #64748b;
  font-size: 10px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.usage-calendar {
  margin-top: 12px;
}

.usage-calendar-period {
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.usage-calendar-weekdays,
.usage-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.usage-calendar-weekdays {
  margin-bottom: 6px;
}

.usage-calendar-weekdays span {
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.usage-calendar-day {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 74px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 26px 8px 8px;
}

.usage-calendar-day time {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.usage-calendar-day strong {
  align-self: end;
  justify-self: start;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1;
}

.usage-calendar-day.outside {
  border-style: dashed;
  background: transparent;
  opacity: 0.45;
}

.usage-calendar-day.low {
  border-color: #b7ead7;
  background: #ecfdf5;
}

.usage-calendar-day.mid {
  border-color: #74d6ac;
  background: #d7f7e9;
}

.usage-calendar-day.high {
  border-color: #0f8f68;
  background: #0f8f68;
}

.usage-calendar-day.high time,
.usage-calendar-day.high strong {
  color: #ffffff;
}

.usage-calendar-day.high strong {
  background: rgba(255, 255, 255, 0.16);
}

.member-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 16px;
  margin-bottom: 16px;
}

.member-status-card h2,
.upgrade-panel h2 {
  margin-bottom: 10px;
}

.compact-settings {
  margin-top: 12px;
}

.priority-contract-panel {
  margin-bottom: 16px;
  border-color: #b7ead7;
  background: #f7fffb;
}

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

.priority-contract-grid div {
  border: 1px solid #d7eee4;
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.priority-contract-grid span,
.priority-contract-grid small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.priority-contract-grid strong {
  display: block;
  margin: 5px 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
}

.account-management-grid {
  align-items: start;
}

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

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

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

.section-heading-row h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 18px;
}

.plan-change-section {
  border-top: 1px solid #e5edf6;
  padding-top: 16px;
}

.compact-request-list {
  margin: 12px 0 0;
}

.billing-history-note {
  border-top: 1px solid #e5edf6;
  padding-top: 12px;
}

.compact-billing-history {
  margin-top: 0;
}

.plan-compare-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.plan-compare-mini div,
.plan-upgrade-card {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.plan-compare-mini span,
.plan-compare-mini small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.plan-compare-mini strong {
  display: block;
  margin: 5px 0;
  color: #0f172a;
  font-size: 18px;
}

.full-span-panel {
  grid-column: 1 / -1;
}

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

.plan-upgrade-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
}

.plan-upgrade-card.current {
  border-color: #10b981;
  background: #f0fdf4;
}

.plan-upgrade-card em {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.plan-upgrade-card h3 {
  margin: 0;
}

.plan-upgrade-card strong {
  color: #0f172a;
  font-size: 20px;
}

.plan-upgrade-card strong span {
  color: #64748b;
  font-size: 13px;
}

.plan-upgrade-card ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
}

.admin-monitor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.admin-detail-slot {
  margin-bottom: 16px;
}

.admin-tenant-detail {
  border-color: #b7ead7;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.admin-detail-grid {
  margin-top: 16px;
}

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

.sync-run-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  padding: 11px 12px;
}

.sync-run-item strong,
.sync-run-item span,
.sync-run-item small {
  display: block;
}

.sync-run-item span,
.sync-run-item small {
  color: #64748b;
  font-size: 12px;
}

.sync-run-item > div:last-child {
  text-align: right;
}

.sync-run-error {
  margin-top: 4px;
  color: #be123c !important;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.filter-bar label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.filter-bar input,
.filter-bar select {
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 8px 10px;
  font: inherit;
}

.filter-bar .checkbox-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #334155;
}

.filter-bar .checkbox-filter input {
  min-height: 0;
}

.embed-health {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.embed-health div {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

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

.embed-health span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.embed-health strong {
  margin-top: 4px;
  color: #0f172a;
  font-size: 14px;
}

.segmented-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.segmented-control button {
  border: 0;
  border-right: 1px solid #e2e8f0;
  background: transparent;
  color: #475569;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button.active {
  background: #0f172a;
  color: #ffffff;
}

.widget-preview-frame {
  width: 100%;
  margin: 0 auto;
}

.widget-preview-frame.preview-size-tablet {
  max-width: 720px;
}

.widget-preview-frame.preview-size-mobile {
  max-width: 390px;
}

.pinned-post-panel {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  border: 1px solid #74d6ac;
  border-radius: 8px;
  background: #f6fffb;
  padding: 12px;
}

.pinned-post-panel.empty {
  border-color: #e0e6ef;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.pinned-post-panel p {
  margin: 0;
  white-space: pre-wrap;
}

.account-order-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.icon-button {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  justify-content: center;
}

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

.notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.notification-item span {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.notification-item.info span {
  background: #eff6ff;
  color: #1d4ed8;
}

.notification-item.warning span {
  background: #fff7ed;
  color: #c2410c;
}

.notification-item.error span {
  background: #fff1f2;
  color: #be123c;
}

.notification-item.success span {
  background: #ecfdf5;
  color: #047857;
}

.notification-item strong,
.notification-item small {
  display: block;
}

.notification-item small {
  color: #64748b;
  font-size: 12px;
}

.install-diagnostics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.install-diagnostics div,
.account-preview-card,
.request-item,
.danger-action-grid > div,
.danger-action-grid > form {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.install-diagnostics span,
.install-diagnostics strong {
  display: block;
}

.install-diagnostics span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.install-diagnostics strong {
  margin-top: 4px;
  color: #0f172a;
  font-size: 14px;
}

.display-compliance-panel .panel-header {
  margin-bottom: 14px;
}

.display-compliance-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.display-compliance-summary p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

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

.display-compliance-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.display-compliance-item > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #047857;
  font-weight: 900;
}

.display-compliance-item.warning > span {
  background: #fff7ed;
  color: #c2410c;
}

.display-compliance-item.error > span {
  background: #fff1f2;
  color: #be123c;
}

.display-compliance-item strong,
.display-compliance-item small {
  display: block;
}

.display-compliance-item small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

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

.account-preview-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.account-preview-card img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.account-preview-card strong,
.account-preview-card small {
  display: block;
}

.account-preview-card small,
.request-item small {
  color: #64748b;
  font-size: 12px;
}

.request-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.support-history {
  margin-top: 14px;
}

.danger-zone-panel {
  border-color: #fecdd3;
  background: #fffafa;
}

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

.danger-action-grid strong,
.danger-action-grid p {
  display: block;
}

.danger-action-grid input {
  width: 100%;
  min-height: 38px;
  margin: 8px 0;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 8px 10px;
}

.billing-history-table {
  margin-top: 14px;
  border-radius: 8px;
  box-shadow: none;
}

.small-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 12px;
}

.toggle-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.account-visibility-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #f8fafc;
  margin: 8px 0 12px;
  padding: 12px;
}

.account-visibility-settings label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.account-visibility-settings .select-label {
  display: grid;
  align-items: stretch;
  gap: 6px;
}

.account-visibility-settings select {
  min-height: 36px;
  border: 1px solid #d1dae8;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 9px;
}

.account-visibility-settings small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.managed-account-actions {
  justify-content: flex-start;
}

.small-notice {
  margin: 0 0 12px;
  padding: 9px 10px;
  font-size: 13px;
}

.compact-empty {
  padding: 18px;
  text-align: center;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 10px;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  padding: 12px;
}

.checklist span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 900;
}

.checklist span.done {
  background: #dcfce7;
  color: #047857;
}

.checklist small {
  color: #64748b;
}

.code-box {
  overflow: auto;
  max-width: 100%;
  border: 1px solid #162033;
  border-radius: 8px;
  background: #07101f;
  color: #e5edf8;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.widget-preview {
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: var(--widget-bg, #ffffff);
  color: var(--widget-text, #17191f);
}

.widget-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e8eef6;
  background: var(--widget-title-bg, #ffffff);
  color: var(--widget-title-text, #17191f);
  padding: 13px 14px;
}

.widget-preview-header strong {
  color: var(--widget-title-text, #17191f);
}

.widget-preview-header span {
  color: color-mix(in srgb, var(--widget-title-text, #17191f) 72%, transparent);
  font-size: 12px;
}

.widget-title-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.widget-title-main strong,
.widget-title-main small {
  display: block;
  min-width: 0;
}

.widget-title-main small {
  color: color-mix(in srgb, var(--widget-title-text, #17191f) 78%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.widget-title-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--widget-accent, #0f8f68);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  object-fit: cover;
}

img.widget-title-icon {
  display: block;
}

.widget-title-style-full .widget-title-main,
.widget-title-style-icon_name_id .widget-title-main {
  display: grid;
  grid-template-columns: 24px minmax(0, auto);
  gap: 2px 8px;
}

.widget-title-style-full .widget-title-icon,
.widget-title-style-icon_name_id .widget-title-icon {
  grid-row: span 2;
}

.widget-preview article {
  padding: 14px;
  background: var(--widget-bg, #ffffff);
}

.widget-preview article[data-permalink],
.widget-quote-card[data-permalink] {
  cursor: pointer;
}

.widget-preview-sample-note {
  border-bottom: 1px solid #eef2f7;
  margin: 0;
  padding: 10px 14px;
  color: color-mix(in srgb, var(--widget-text, #334155) 70%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.widget-preview article + article {
  border-top: 1px solid #eef2f7;
}

.widget-post-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.widget-post-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--widget-accent, #0f8f68);
  text-decoration: none;
}

.widget-post-author:hover {
  text-decoration: underline;
}

.widget-post-context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.widget-post-context span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--widget-accent, #0f8f68);
  font-size: 10px;
}

.widget-post-context:hover {
  text-decoration: underline;
}

.widget-post-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: max-content;
}

.widget-x-logo {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--widget-text, #0f172a);
}

.widget-x-logo svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.widget-time-link,
.widget-view-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.widget-time-link:hover,
.widget-view-link:hover {
  text-decoration: underline;
}

.widget-preview article strong {
  color: var(--widget-accent, #0f8f68);
}

.widget-post-author small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.widget-post-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--widget-accent, #0f8f68);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  object-fit: cover;
}

img.widget-post-icon {
  display: block;
}

.widget-preview article em,
.post-management-item em {
  display: inline-flex;
  margin-left: 6px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 3px 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.widget-preview article span {
  color: #64748b;
  font-size: 12px;
}

.widget-edit-notice {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.widget-quote-card {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.76);
  padding: 10px;
  color: var(--widget-text, #334155);
}

.widget-quote-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.widget-quote-author strong,
.widget-quote-author small {
  display: block;
}

.widget-quote-author strong {
  color: var(--widget-accent, #0f8f68);
  font-size: 13px;
}

.widget-quote-author small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.widget-quote-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--widget-accent, #0f8f68);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  object-fit: cover;
}

.widget-quote-text {
  display: block;
  color: var(--widget-text, #334155);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.widget-quote-text a {
  color: var(--widget-accent, #0f8f68);
  font-weight: 700;
  text-decoration: none;
}

.widget-quote-text a:hover {
  text-decoration: underline;
}

.widget-preview p {
  margin-bottom: 0;
  color: var(--widget-text, #334155);
}

.widget-preview p a,
.post-management-item p a {
  color: var(--widget-accent, #0f8f68);
  font-weight: 800;
  text-decoration: none;
}

.widget-preview p a:hover,
.post-management-item p a:hover {
  text-decoration: underline;
}

.widget-preview-replies {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid color-mix(in srgb, var(--widget-accent, #0f8f68) 28%, #e2e8f0);
}

.widget-preview-reply {
  padding: 10px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.widget-preview-media-grid {
  display: grid;
  overflow: hidden;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  border-radius: 8px;
}

.widget-preview-media-grid.media-count-1 {
  grid-template-columns: 1fr;
}

.widget-preview-media-grid.media-count-2,
.widget-preview-media-grid.media-count-3,
.widget-preview-media-grid.media-count-4 {
  aspect-ratio: 16 / 10;
}

.widget-preview-media-grid.media-count-3,
.widget-preview-media-grid.media-count-4 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.widget-preview-media-grid.media-count-3 .widget-preview-media-item:first-child {
  grid-row: 1 / span 2;
}

.widget-preview-media-item {
  display: block;
  position: relative;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: #eef2f7;
}

.widget-preview-media-grid.media-count-2 .widget-preview-media-item,
.widget-preview-media-grid.media-count-3 .widget-preview-media-item,
.widget-preview-media-grid.media-count-4 .widget-preview-media-item {
  aspect-ratio: auto;
}

.widget-preview-media-grid.media-count-1 .widget-preview-media-item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--media-aspect, auto);
  max-height: 520px;
  background: #f8fafc;
}

.widget-preview-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-preview-media-grid.media-count-1 .widget-preview-media-item img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.widget-preview-media-grid.media-count-1 .widget-preview-media-item.is-portrait img,
.widget-preview-media-grid.media-count-1 .widget-preview-media-item.is-square img {
  width: auto;
  max-width: 100%;
}

.widget-preview-media-item.is-video img {
  filter: brightness(0.82);
}

.widget-preview-media-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.widget-preview-stack {
  display: grid;
  gap: 10px;
  border: 0;
  background: transparent;
}

.widget-preview-stack .widget-preview-header {
  display: none;
}

.widget-preview-stack article {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.widget-preview-stack article + article {
  border-top: 1px solid #dce4ef;
}

.widget-preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
}

.widget-preview-cards .widget-preview-header {
  grid-column: 1 / -1;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: var(--widget-bg, #ffffff);
}

.widget-preview-cards .widget-preview-sample-note {
  grid-column: 1 / -1;
}

.widget-preview-cards article {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.widget-preview-compact .widget-preview-header,
.widget-preview-compact article {
  padding: 9px 11px;
}

.widget-preview-compact p {
  font-size: 13px;
  line-height: 1.45;
}

.widget-preview-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 12px;
}

.widget-preview-list .widget-post-line {
  display: grid;
  gap: 3px;
  margin-bottom: 0;
}

.widget-preview-list article p {
  align-self: center;
}

.widget-preview-spotlight article:first-of-type {
  background: #f6fbf9;
  padding: 18px;
}

.widget-preview-spotlight article:first-of-type p {
  font-size: 17px;
  font-weight: 700;
}

.widget-preview-spotlight article:not(:first-of-type) {
  padding: 10px 14px;
}

.widget-preview-newspaper {
  font-family: Georgia, "Times New Roman", serif;
}

.widget-preview-newspaper article {
  border-top: 0;
}

.widget-preview-newspaper article + article {
  border-top: 1px solid #dce4ef;
}

.widget-preview-newspaper p {
  font-size: 14px;
  line-height: 1.7;
}

.widget-preview-minimal {
  border: 0;
  background: transparent;
}

.widget-preview-minimal .widget-preview-header {
  display: none;
}

.widget-preview-minimal article {
  border-left: 3px solid var(--widget-accent, #0f8f68);
  background: transparent;
  padding: 8px 0 8px 12px;
}

.widget-preview-minimal article + article {
  border-top: 0;
}

.widget-preview-headline article:first-of-type p {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.widget-preview-rail {
  border-left: 5px solid var(--widget-accent, #0f8f68);
}

.widget-preview-rail article {
  position: relative;
  padding-left: 20px;
}

.widget-preview-rail article::before {
  position: absolute;
  top: 18px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--widget-accent, #0f8f68);
  content: "";
}

.widget-preview-masonry {
  columns: 2 220px;
  column-gap: 12px;
  border: 0;
  background: transparent;
}

.widget-preview-masonry .widget-preview-header,
.widget-preview-masonry .widget-preview-sample-note,
.widget-preview-masonry article {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: var(--widget-bg, #ffffff);
  margin: 0 0 12px;
}

.widget-preview-banner {
  border: 0;
  background: transparent;
}

.widget-preview-banner .widget-preview-header {
  display: none;
}

.widget-preview-banner article {
  border-radius: 8px;
  border: 1px solid #dce4ef;
  margin-bottom: 10px;
}

.widget-preview-banner article:first-of-type {
  background: var(--widget-accent, #0f8f68);
}

.widget-preview-banner article:first-of-type strong,
.widget-preview-banner article:first-of-type span,
.widget-preview-banner article:first-of-type p,
.widget-preview-banner article:first-of-type .widget-x-logo,
.widget-preview-banner article:first-of-type .widget-view-link,
.widget-preview-banner article:first-of-type .widget-time-link {
  color: #ffffff;
}

.widget-preview-bubble {
  border: 0;
  background: transparent;
}

.widget-preview-bubble .widget-preview-header {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: var(--widget-bg, #ffffff);
  margin-bottom: 10px;
}

.widget-preview-bubble article {
  border: 1px solid #dce4ef;
  border-radius: 8px 8px 8px 2px;
  background: var(--widget-bg, #ffffff);
  margin-bottom: 10px;
}

.widget-preview-digest {
  counter-reset: digest-post;
}

.widget-preview-digest article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 12px;
}

.widget-preview-digest article::before {
  counter-increment: digest-post;
  content: counter(digest-post);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--widget-accent, #0f8f68);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.widget-preview-digest .widget-post-line,
.widget-preview-digest article p {
  grid-column: 2;
}

.post-management-list {
  display: grid;
  gap: 12px;
}

.post-management-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.post-management-toolbar > span,
.pagination-status {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ghost-button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.post-management-item {
  display: grid;
  gap: 10px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.post-management-item.is-pinned {
  border-color: #74d6ac;
  background: #f6fffb;
}

.post-management-item.is-hidden {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.post-management-item > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.post-management-item strong,
.post-management-item span {
  display: block;
}

.post-management-item strong {
  color: #0f172a;
}

.post-management-item span {
  color: #64748b;
  font-size: 12px;
}

.post-management-item p {
  color: #334155;
  white-space: pre-wrap;
}

.post-type-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.post-type-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.post-type-badge.hidden {
  background: #e2e8f0;
  color: #475569;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  background: #eefbf5;
  color: #047857;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.admin-grid {
  margin-bottom: 16px;
}

.notice {
  border: 1px solid #bdd7ff;
  border-radius: 8px;
  background: #edf5ff;
  color: #17427f;
  padding: 12px 14px;
}

.notice.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.notice.quiet {
  border-color: #d8e1ef;
  background: #f8fafc;
  color: #526071;
  padding: 8px 12px;
}

.notice.error {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.empty {
  padding: 22px;
  color: #64748b;
  text-align: center;
}

.legal-page {
  max-width: 920px;
}

.legal-hero {
  padding: 26px 0 14px;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.legal-stack {
  display: grid;
  gap: 14px;
}

.legal-section h2 {
  font-size: 22px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #475569;
}

.legal-section li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-inner,
  .section-grid,
  .section-grid.reverse,
  .register-layout,
  .console-shell,
  .management-grid,
  .member-home-grid,
  .admin-monitor-grid,
  .admin-grid,
  .summary-grid,
  .faq-grid,
  .feature-grid,
  .trust-grid,
  .site-demo-grid,
  .plan-grid.public-pricing {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    min-height: 340px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
  }

  .console-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-console .console-sidebar {
    min-height: auto;
  }

  .customer-console .console-sidebar {
    min-height: auto;
  }

  .console-main {
    padding: 24px 18px 44px;
  }

  .admin-console .console-main {
    padding: 24px 18px 44px;
  }

  .admin-kpi-strip,
  .admin-result-strip,
  .admin-workbench {
    grid-template-columns: 1fr 1fr;
  }

  .priority-contract-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contract-settings {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .topbar-inner {
    height: auto;
    padding: 12px 14px;
  }

  .nav {
    overflow-x: auto;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero-inner,
  .page,
  .page-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-actions,
  .button-row,
  .cta-section,
  .console-header,
  .post-management-toolbar,
  .admin-list-toolbar,
  .admin-list-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics,
  .preview-stats,
  .inline-form,
  .account-settings-grid,
  .settings-form-grid,
  .filter-bar,
  .embed-health,
  .install-diagnostics,
  .display-compliance-list,
  .account-preview-grid,
  .account-preview-card,
  .notification-item,
  .danger-action-grid,
  .usage-health,
  .usage-history-summary,
  .plan-upgrade-grid,
  .plan-compare-mini,
  .admin-kpi-strip,
  .admin-result-strip,
  .admin-workbench {
    grid-template-columns: 1fr;
  }

  .usage-calendar {
    overflow-x: auto;
  }

  .usage-calendar-weekdays,
  .usage-calendar-grid {
    min-width: 560px;
  }

  .admin-search {
    min-width: 0;
  }

  .hero-metrics div + div,
  .preview-stats div + div,
  .admin-kpi-strip article + article,
  .admin-result-strip article + article {
    border-top: 1px solid #e0e6ef;
    border-left: 0;
  }
}
