*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── MinuteHand brand palette ── */
  --mh-heading:         #04342C;
  --mh-text:            #2C2C2A;
  --mh-text-secondary:  #5F5E5A;
  --mh-link:            #0F6E56;
  --mh-link-hover:      #085041;
  --mh-accent:          #EF9F27;
  --mh-accent-hover:    #BA7517;
  --mh-accent-text:     #412402;
  --mh-bg:              #FFFFFF;
  --mh-bg-alt:          #F1EFE8;
  --mh-border:          #D3D1C7;

  /* ── Mapped tokens (used throughout existing CSS) ── */
  --primary:        var(--mh-link);
  --primary-hover:  var(--mh-link-hover);
  --bg:             var(--mh-bg-alt);
  --card:           var(--mh-bg);
  --text:           var(--mh-text);
  --text-muted:     var(--mh-text-secondary);
  --border:         var(--mh-border);
  --error:          #dc2626;
  --success:        #16a34a;
  --accent:         var(--mh-accent);
  --muted:          var(--mh-text-secondary);
  --radius:         8px;
  --shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --focus-ring:     rgba(15,110,86,.15);
}

h1, h2, h3 { color: var(--mh-heading); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Layout ── */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  margin-bottom: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card h1 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ── Form ── */

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

select,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}

select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

textarea {
  resize: vertical;
  font-family: 'Menlo', 'Monaco', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.65;
}

.form-footer {
  margin-top: 0.25rem;
}

/* ── Buttons ── */

.btn-primary {
  background: var(--mh-accent);
  color: var(--mh-accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--mh-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239,159,39,.40);
}
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.btn-secondary {
  background: var(--card);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}

.btn-secondary:hover { background: rgba(15,110,86,.06); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color .15s;
}

.btn-ghost:hover { color: var(--text); }

/* ── States ── */

.error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.hidden { display: none !important; }

/* ── Loading ── */

.loading-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.spinner {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

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

/* ── Result ── */

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.result-header h1 { margin-bottom: 0; }

.result-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ── Minutes preview (rendered markdown) ── */

.minutes-preview {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
}

.minutes-preview h1 {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0.25rem;
}

/* h2 = org/corp name, h3 = meeting type/date — both share one header-block style */
.minutes-preview h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mh-heading);
  margin-top: 1rem;
  margin-bottom: 0;
}

.minutes-preview h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mh-heading);
  margin-top: 0.15rem;
  margin-bottom: 0.6rem;
}

/* h4 = main section headers (QUORUM, CALL TO ORDER, etc.) */
.minutes-preview h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mh-heading);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

/* h5 = subsections */
.minutes-preview h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mh-heading);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.minutes-preview p { margin-bottom: 0.7rem; }

/* metadata blockquotes — de-emphasized, stacked one per line */
.minutes-preview blockquote {
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
  margin: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.minutes-preview ul,
.minutes-preview ol {
  margin: 0.4rem 0 0.75rem 1.5rem;
}

.minutes-preview li { margin-bottom: 0.2rem; }

.minutes-preview table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.minutes-preview th {
  background: var(--bg);
  font-weight: 600;
  text-align: left;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.minutes-preview td {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.minutes-preview strong { font-weight: 700; }

.minutes-preview em {
  font-style: italic;
  color: var(--text-muted);
}


/* ── Upload drop zone ── */

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.drop-zone {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--primary);
  background: rgba(15,110,86,.06);
  color: var(--text);
}

.drop-zone svg { flex-shrink: 0; }

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-link:hover { color: var(--primary-hover); }

.file-status {
  font-size: 0.8rem;
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.file-status.success { color: #16a34a; }
.file-status.error   { color: var(--error); }

/* ── Auth / account bar ── */

input[type="email"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.signin-intro,
.buy-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.buy-intro--spaced { margin-top: 1.25rem; }

.signin-message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #16a34a;
}

.welcome-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--mh-heading);
}

.account-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.account-bar--signedout { color: var(--text-muted); }
.account-bar--signedin  { color: var(--text); }

.account-sep { color: var(--border); }

.account-email {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.credits-badge {
  font-weight: 600;
  color: var(--primary);
}

.credits-badge.empty { color: var(--error); }

/* ── Credit packs ── */

.credit-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.credit-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
  gap: 0.25rem;
}

.credit-pack:hover:not(:disabled) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,110,86,.08);
}

.credit-pack:disabled { opacity: .6; cursor: not-allowed; }

.pack-amount {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.pack-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.pack-currency {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pack-save {
  font-size: 0.75rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-top: 0.125rem;
}

/* ── Upload progress ── */

.upload-progress-wrap {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.upload-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.upload-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  width: 0%;
  transition: width .15s ease;
}

.upload-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Speaker confirmation ── */

.speaker-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.speaker-intro strong { color: var(--text); }

.speaker-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.speaker-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.speaker-row label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 90px;
  flex-shrink: 0;
  margin: 0;
}

.speaker-row input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}

.speaker-row input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.speaker-row input.guessed {
  border-color: #16a34a;
}

/* ── Auth tabs ── */

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}

.auth-tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.forgot-wrap {
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.btn-google:hover { background: var(--bg); border-color: #aaa; }
.btn-google:disabled { opacity: .6; cursor: not-allowed; }

/* ── Toast ── */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  z-index: 100;
  animation: fadeInUp .2s ease;
}

.toast--success { background: #16a34a; color: #fff; }
.toast--info    { background: var(--mh-heading); color: #fff; }
.toast--error   { background: var(--error); color: #fff; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .card { padding: 1.25rem; }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════════════════════
   Landing page styles (index.html)
   ══════════════════════════════════════════════════════ */

body.landing {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Site header (landing) ── */

.site-header {
  background: var(--mh-heading);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .nav-link { color: rgba(255,255,255,0.75); }
.site-header .nav-link:hover { color: #fff; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color .15s;
}

.nav-link:hover { color: var(--text); }

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  display: inline-block;
  text-decoration: none;
}

/* ── Hero ── */

.hero {
  padding: 5rem 0 5rem;
  background: var(--mh-heading);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__text h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.hero__fact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.09);
  border-left: 3px solid var(--mh-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.75rem;
}

.hero__resource {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hero__resource a {
  color: var(--mh-accent);
  text-decoration: none;
}

.hero__resource a:hover { text-decoration: underline; }

/* ── Hero feature card (Motion & Decision Registry preview) ── */

.hero__feature-card {
  max-width: 480px;
  width: 100%;
  background: var(--mh-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  overflow: hidden;
  font-size: 0.875rem;
}

.hfc__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--mh-heading);
  color: #fff;
  padding: 0.75rem 1rem;
}

.hfc__title {
  font-weight: 700;
  font-size: 0.9rem;
  flex: 1;
}

.hfc__count {
  font-size: 0.72rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  white-space: nowrap;
}

.hfc__search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--mh-bg-alt);
  outline: none;
}

.hfc__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hfc__row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--border);
}

.hfc__row:last-child { border-bottom: none; }

.hfc__text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}

.hfc__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hfc__footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  background: var(--mh-bg-alt);
  margin: 0;
  border-top: 1px solid var(--border);
}

/* ── Problem ── */

.problem {
  padding: 4rem 0;
  background: var(--bg);
}

.problem h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--mh-heading);
}

.problem p {
  max-width: 700px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ── How it works ── */

.how-it-works {
  padding: 5rem 0;
  background: var(--mh-heading);
}

.how-it-works h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 1.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
}

.step__icon {
  margin-bottom: 0.75rem;
}

.step__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mh-accent);
  opacity: 0.4;
  line-height: 1;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ── Formats ── */

.formats {
  padding: 5rem 0;
  background: var(--bg);
}

.formats h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mh-heading);
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.format-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.format-icon {
  margin-bottom: 0.75rem;
}

.format-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--mh-heading);
}

.format-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.formats-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: rgba(15,110,86,.06);
  border: 1px solid rgba(15,110,86,.2);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
}

.formats-tip svg { flex-shrink: 0; margin-top: 2px; }

.formats-tip p {
  font-size: 0.875rem;
  color: var(--text);
  margin: 0;
}

/* ── Sample output (landing) ── */

.lp-sample {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.lp-sample h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mh-heading);
}

.sample-minutes {
  margin: 2rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.sample-minutes__label {
  padding: 0.6rem 1.25rem;
  background: var(--mh-heading);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sample-minutes__text {
  padding: 1.5rem 1.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--mh-text);
  white-space: pre;
  overflow-x: auto;
  border: none;
  background: transparent;
}

.sample-minutes__cta {
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Review (landing) ── */

.lp-review {
  padding: 5rem 0;
  background: var(--card);
}

.lp-review h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mh-heading);
}

.review-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.review-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--mh-heading);
}

.review-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.review-quote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 680px;
}

.review-quote p {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.review-quote cite {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Agenda template (landing) ── */

.lp-agenda {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.lp-agenda h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mh-heading);
}

.agenda-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.agenda-summary {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.agenda-summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.agenda-details[open] .agenda-summary::after { content: '−'; }

.agenda-pre {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  font-size: 0.8125rem;
  font-family: 'Menlo', 'Monaco', 'Cascadia Code', 'Courier New', monospace;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-x: auto;
  margin: 0;
}

.agenda-copy-btn {
  display: inline-block;
  margin: 0.75rem 1.25rem 1.25rem;
}

/* ── Pricing (landing) ── */

.lp-pricing {
  padding: 5rem 0;
  background: var(--card);
}

.lp-pricing h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mh-heading);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.pricing-card {
  position: relative;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card--featured {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,110,86,.08);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  background: var(--mh-accent);
  color: var(--mh-accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.pricing-card__amount {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-card__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.pricing-card__currency {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Privacy ── */

.privacy {
  padding: 4rem 0;
  background: var(--bg);
}

.privacy-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 740px;
}

.privacy-icon { flex-shrink: 0; margin-top: 4px; }

.privacy h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--mh-heading);
}

.privacy p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.privacy a { color: var(--primary); }

/* ── FAQ ── */

.faq {
  padding: 5rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.faq h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--mh-heading);
}

.faq-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] .faq-q::after {
  content: '−';
}

.faq-a {
  padding-bottom: 1rem;
}

.faq-a p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ── Footer ── */

.site-footer {
  background: var(--mh-heading);
  color: rgba(255,255,255,.7);
  padding: 2rem 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .logo {
  margin-bottom: 0.25rem;
}

.site-footer .logo-img {
  height: 30px;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

.site-footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__nav a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color .15s;
}

.site-footer__nav a:hover { color: #fff; }

/* ── Landing responsive ── */

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__feature-card { display: none; }
  .hero__text h1 { font-size: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .problem h2, .formats h2, .lp-review h2, .lp-pricing h2,
  .faq h2, .lp-agenda h2 { font-size: 1.75rem; }
  .how-it-works h2 { font-size: 1.85rem; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 0 3rem; }
  .hero__text h1 { font-size: 2rem; }
  .how-it-works, .formats, .lp-pricing, .faq { padding: 3rem 0; }
  .site-header nav .nav-link { display: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Attendee pre-selection (app.html, Board Plan only) ── */

#attendee-section {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.attendee-section__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.attendee-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.attendee-cb-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.attendee-cb-label input[type="checkbox"] { flex-shrink: 0; }

.attendee-cb-name { font-weight: 500; }

.attendee-cb-role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.attendee-cb-role::before { content: "— "; }

.attendee-guest-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.attendee-guest-row input {
  flex: 1;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
}

.attendee-guest-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.attendee-guest-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.2rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.attendee-guest-list li:last-child { border-bottom: none; }

.attendee-guest-remove { margin-left: auto; color: var(--text-muted); font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   Governance Records (board.html)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Loading / access gate ── */

.board-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 0;
  color: var(--text-muted);
}

/* ── Page header ── */

/* ── Page header with search ── */

.board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
  flex-wrap: wrap;
}

.board-header h1 {
  font-size: 1.25rem;
  margin: 0 0 0.1rem;
}

.board-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.board-account-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

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

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

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.result-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ── App Access (org member management) ── */

.app-access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-access-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  flex-wrap: wrap;
}

.app-access-card--pending {
  opacity: 0.75;
  background: var(--bg);
}

.app-access-card__info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.app-access-card__email {
  font-size: 0.875rem;
  font-weight: 500;
}

.app-access-card__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
}

.role-badge--owner  { background: var(--primary); color: #fff; }
.role-badge--admin  { background: var(--accent, #0a7c5c); color: #fff; }
.role-badge--member { background: var(--border); color: var(--text); }

.you-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

.pending-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.danger-link { color: var(--error, #c0392b) !important; }
.danger-link:hover { opacity: 0.8; }

/* Invite panel */

.role-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.role-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s;
}

.role-radio-label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(15,110,86,.04);
}

.role-radio-label input[type="radio"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.role-radio-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.role-radio-content .field-hint { margin: 0; }

.invite-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.invite-link-row input {
  flex: 1;
  font-size: 0.8rem;
  font-family: monospace;
  background: var(--bg);
  color: var(--text);
}

.board-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.board-search-input {
  width: 210px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  background: var(--card);
  color: var(--text);
}

.board-search-input:focus {
  outline: 2px solid var(--mh-link);
  outline-offset: 1px;
}

/* ── Two-tier nav ── */

.board-nav {
  margin-bottom: 1rem;
}

.board-nav__primary {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.board-nav__primary::-webkit-scrollbar { display: none; }

.board-cat {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.board-cat:hover { color: var(--text); }

.board-cat--active {
  color: var(--mh-heading);
  border-bottom-color: var(--mh-link);
}

.board-nav__sub {
  display: flex;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.25rem;
}
.board-nav__sub::-webkit-scrollbar { display: none; }

.board-subcat {
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.board-subcat:hover { color: var(--text); }

.board-subcat--active {
  color: var(--mh-link);
  border-bottom-color: var(--mh-link);
  font-weight: 600;
}

/* ── Search results panel ── */

#search-results-panel {
  margin-bottom: 1rem;
}

/* ── Filter bar ── */

.registry-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.registry-search {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  background: var(--card);
  color: var(--text);
}

.registry-search:focus { outline: 2px solid var(--mh-link); outline-offset: 1px; }

.registry-select {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.registry-date {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  background: var(--card);
  color: var(--text);
}

.registry-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 0.25rem;
}

/* ── Motion cards ── */

.motion-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.4rem;
}

.motion-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.motion-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.motion-meeting-link {
  font-size: 0.8rem;
  margin-left: auto;
}

.motion-card__description {
  font-size: 0.925rem;
  margin: 0 0 0.45rem;
  line-height: 1.5;
}

.motion-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Result badges ── */

.result-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-badge--carried   { background: #d1ede5; color: var(--mh-link-hover); }
.result-badge--defeated  { background: #fde8e8; color: #b91c1c; }
.result-badge--tabled    { background: #fef3c7; color: var(--mh-accent-text); }
.result-badge--withdrawn { background: var(--mh-bg-alt); color: var(--text-muted); }
/* Alteration request statuses */
.result-badge--pending   { background: #fef3c7; color: var(--mh-accent-text); }
.result-badge--approved  { background: #d1ede5; color: var(--mh-link-hover); }
.result-badge--denied    { background: #fde8e8; color: #b91c1c; }

/* ── Alteration request elements ── */
.alt-meta-table { border-collapse: collapse; margin-bottom: 1rem; }
.alt-meta-table td { padding: 0.2rem 1rem 0.2rem 0; vertical-align: top; }
.alt-meta-table td:first-child { white-space: nowrap; }
.alt-section-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); margin: 1.25rem 0 0.4rem; }
.alt-request-quote { border-left: 3px solid var(--border); padding: 0.4rem 0.75rem;
  margin: 0 0 1rem; font-style: italic; color: var(--text-muted); font-size: 0.9rem; }

/* ── Empty state ── */

.registry-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.registry-empty p { margin: 0 0 0.4rem; }

/* ── Overdue banner ── */

.overdue-banner {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #664d03;
}

/* ── Action item cards ── */

.action-item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
}

.action-item-card--overdue {
  border-left: 3px solid #dc3545;
}

.action-item-card--archived {
  opacity: 0.7;
}

.motion-card--archived {
  opacity: 0.7;
}

.action-item-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.ai-owner {
  font-weight: 600;
  font-size: 0.9rem;
}

.ai-due {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: auto;
}

.ai-due--overdue {
  color: #dc3545;
  font-weight: 600;
}

.action-item-card__description {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.action-item-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-status-select {
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
}

.ai-meeting-link {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Search tab ── */

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}

.search-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.search-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.search-result-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.5rem;
}

.search-result-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.search-result-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
}

.search-result-card__headline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.search-result-card__headline mark {
  background: #fff3a3;
  color: var(--text);
  border-radius: 2px;
  padding: 0 1px;
}

/* ── Agenda tab ── */

.agenda-controls {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.agenda-date-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.agenda-date-group label {
  font-size: 0.85rem;
  font-weight: 500;
}

.agenda-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.agenda-doc .agenda-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.agenda-doc .agenda-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.agenda-doc .agenda-header p {
  margin: 0.15rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.agenda-doc .agenda-header p:last-child {
  color: var(--text);
  font-size: 0.95rem;
}

.agenda-items {
  padding-left: 1.5rem;
  margin: 0;
}

.agenda-items > li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.agenda-sublist {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
}

.agenda-sublist li {
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
}

.agenda-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.agenda-none {
  font-style: italic;
}

.agenda-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.agenda-new-business {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.agenda-new-business__heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.agenda-new-business__input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.agenda-new-business__input-row input {
  flex: 1;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
}

.agenda-new-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agenda-new-item-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.agenda-new-item-list li:last-child { border-bottom: none; }

.agenda-remove-item {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Members / roster tab ── */

.members-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.member-form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
}

.member-form__heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.member-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.member-form__grid .form-group { margin-bottom: 0.85rem; }

.member-form__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.required-mark { color: #dc3545; }

.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.member-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.member-table td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.member-table tr:last-child td { border-bottom: none; }

.member-table__actions-col { width: 1%; white-space: nowrap; }

.member-table__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.member-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.member-term {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.btn-icon {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-icon:hover:not(:disabled) { background: var(--border); color: var(--text); }
.btn-icon:disabled { opacity: 0.3; cursor: default; }

.members-former-toggle {
  margin: 1rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .member-form__grid { grid-template-columns: 1fr; }

  .member-table th:nth-child(3),
  .member-table td:nth-child(3),
  .member-table th:nth-child(4),
  .member-table td:nth-child(4) { display: none; }
}

/* ── Tools tab ── */

.tools-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.tools-section__heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.tools-disclaimer {
  background: #fef3c7;
  border: 1px solid var(--mh-accent);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--mh-accent-text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.tools-form {
  max-width: 420px;
}

.vc-result {
  margin: 1.25rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.vc-result__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.vc-result__badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.vc-badge--passes {
  background: #d1ede5;
  color: var(--mh-link-hover);
}

.vc-badge--falls-short {
  background: #fde8e8;
  color: #b91c1c;
}

.vc-badge--info {
  background: #e0f2f0;
  color: var(--primary);
}

.vc-result__summary {
  font-size: 0.95rem;
  font-weight: 500;
}

.vc-result__detail {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
  line-height: 1.5;
}

.export-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tools-legal-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Minutes modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.modal-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 760px;
  padding: 1.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close:hover { color: var(--text); }

@media (max-width: 600px) {
  .board-header { flex-direction: column; }
  .registry-filters { flex-direction: column; align-items: stretch; }
  .registry-select, .registry-date { width: 100%; }
  .motion-meeting-link { margin-left: 0; }
  .modal-overlay { padding: 0.5rem; align-items: flex-end; }
  .modal-inner { border-radius: 8px 8px 0 0; max-height: 90vh; overflow-y: auto; }
}

/* ── Meeting detail metadata (inside minutes modal) ── */

.meeting-detail-meta {
  margin-bottom: 0.75rem;
}

.meeting-detail-meta__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.meeting-detail-meta__label {
  font-weight: 600;
  color: var(--text-muted);
  min-width: 3rem;
}

.meeting-detail-meta__date {
  color: var(--text);
}

.text-caution {
  color: var(--error);
  font-style: italic;
}

.meeting-detail-records {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: auto;
}

.meeting-detail-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0 1rem;
}

/* ── Review modal ── */

.modal-inner--narrow { max-width: 480px; }

.review-stars {
  display: flex;
  gap: 0.25rem;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--border);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.1s;
}

.star-btn:hover,
.star-btn.active {
  color: #f5a623;
}

/* ── Testimonials (homepage) ── */

.lp-testimonials {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Bylaws feature ──────────────────────────────────────────────────────── */

.bylaws-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bylaws-reviewed-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

.bylaws-staleness-notice {
  background: color-mix(in srgb, #f59e0b 10%, var(--card));
  border: 1px solid color-mix(in srgb, #f59e0b 40%, var(--border));
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.bylaws-staleness-notice p { margin: 0; }

.bylaws-inner-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.bylaws-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bylaws-tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 500;
}

.bylaws-confirm-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  line-height: 1.4;
}

.bylaws-status-msg {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.bylaws-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

.bylaws-doc-meta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: inline-block;
}

.bylaws-group-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

/* Parameter card */
.bylaw-param-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--card);
}

.bylaw-param-card--confirmed {
  border-left: 3px solid #22c55e;
  opacity: 0.85;
}

.bylaw-param-card--rejected {
  border-left: 3px solid var(--border);
  opacity: 0.6;
}

.bylaw-param-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.bylaw-cat-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.bylaw-confidence-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.bylaw-confidence-badge--high   { background: #d1ede5; color: var(--mh-link-hover); }
.bylaw-confidence-badge--medium { background: #fef3c7; color: var(--mh-accent-text); }
.bylaw-confidence-badge--low    { background: #fde8e8; color: #b91c1c; }

.bylaw-param-label {
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
}

.bylaw-param-value {
  font-size: 0.9rem;
  margin: 0.25rem 0 0.5rem;
}

.bylaw-source-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--border);
  padding-left: 0.6rem;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.5;
}

.bylaw-param-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bylaw-param-actions .btn-ghost {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
}

.bylaw-param-actions .btn-primary {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
}

.bylaw-edit-area {
  margin-top: 0.6rem;
}

.bylaw-edit-area textarea {
  width: 100%;
  min-height: 3.5rem;
  resize: vertical;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Search */
.bylaws-search-input {
  width: 100%;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font-size: 0.875rem;
}

.bylaws-search-result {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--card);
}

.bylaws-search-result__ref {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.bylaws-search-result__text {
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

mark {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* ── Document library ────────────────────────────────────────────────────── */

.docs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.docs-header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.docs-sort {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.docs-sort__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.docs-sort-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.docs-sort-btn:hover          { color: var(--text); border-color: #a9a79f; }
.docs-sort-btn--active        { color: var(--primary); border-color: var(--primary); }

/* Category sections */

.doc-category-section {
  margin-bottom: 1.1rem;
}

.doc-category-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-category-count {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* Individual document row */

.doc-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
}

.doc-item__info {
  flex: 1;
  min-width: 0;
}

.doc-item__title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-item__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.doc-item__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* File type badge */

.doc-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  flex-shrink: 0;
  min-width: 2.5rem;
  text-align: center;
}

.doc-type-badge--sm {
  font-size: 0.58rem;
  padding: 0.1rem 0.3rem;
  min-width: 2.2rem;
}

/* Colour each type subtly */
.doc-item .doc-type-badge,
.search-result-card .doc-type-badge {
  background: #e8f0fe;
  color: #1a56d6;
}

/* Version badge (v2, v3 …) */

.doc-version-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.38rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.doc-version-badge--old {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
}

/* Version chain panel */

.doc-version-chain {
  margin: 0 0 0.5rem 0;
  border-left: 2px solid var(--border);
  margin-left: 1.25rem;
}

.doc-version-chain__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.doc-version-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.doc-version-item:last-child { border-bottom: none; }

.doc-version-item__info {
  flex: 1;
  min-width: 0;
}

.doc-version-item__title {
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-version-item__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Archived docs section — reuses members-former-toggle */

#docs-archived-section {
  margin-top: 1rem;
}

#archived-docs-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Search results — section headings */

.search-section-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.5rem 0 0.4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.search-section-heading:not(:first-child) {
  margin-top: 1.5rem;
}

/* Document card in search results */

.search-result-card--doc .search-result-card__header {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.search-doc-category {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
}

@media (max-width: 600px) {
  .docs-header          { flex-direction: column; align-items: flex-start; }
  .doc-item             { flex-wrap: wrap; }
  .doc-item__actions    { width: 100%; justify-content: flex-end; }
}

/* ── Document folder browser ─────────────────────────────────────────────── */

.doc-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.doc-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  gap: 0.35rem;
  user-select: none;
}

.doc-folder:hover,
.doc-folder:focus {
  border-color: var(--primary);
  background: var(--bg);
  outline: none;
}

.doc-folder__icon {
  font-size: 2rem;
  line-height: 1;
}

.doc-folder__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  line-height: 1.25;
}

.doc-folder__count {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.doc-folder--empty {
  opacity: 0.55;
}

.doc-folder--minutes .doc-folder__icon { filter: hue-rotate(200deg); }

/* Folder ⋯ menu */

.doc-folder { position: relative; }

.doc-folder__menu-btn {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  padding: 0.15rem 0.3rem;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s, background 0.12s;
  z-index: 2;
}
.doc-folder:hover .doc-folder__menu-btn,
.doc-folder__menu-btn:focus,
.doc-folder__menu-btn[aria-expanded="true"] { opacity: 1; background: var(--border); }

.doc-folder-dropdown {
  position: absolute;
  top: 2rem;
  right: 0.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.13);
  z-index: 200;
  min-width: 130px;
  overflow: hidden;
  display: none;
}
.doc-folder-dropdown.open { display: block; }

.doc-folder-dropdown__item {
  display: block;
  width: 100%;
  padding: 0.48rem 0.85rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
}
.doc-folder-dropdown__item:hover           { background: var(--bg); }
.doc-folder-dropdown__item--danger         { color: #c0392b; }
.doc-folder-dropdown__item--danger:hover   { background: #fdf0ee; }

/* Move document dropdown */

.doc-move-wrap { position: relative; }

.doc-move-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 2px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.13);
  z-index: 200;
  min-width: 160px;
  overflow: hidden;
  display: none;
}
.doc-move-dropdown.open { display: block; }

.doc-move-dropdown__item {
  display: block;
  width: 100%;
  padding: 0.45rem 0.85rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.doc-move-dropdown__item:hover { background: var(--bg); }

/* Inline document edit form */

.doc-item__edit-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-item__edit-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.doc-item__edit-row .doc-edit-title { flex: 1; min-width: 180px; }

.doc-item__edit-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-edit-error { font-size: 0.82rem; }

.input-sm {
  padding: 0.3rem 0.55rem;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
}
.input-sm:focus { outline: none; border-color: var(--primary); }

.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.82rem; }

/* Folder content header (breadcrumb back nav) */

.doc-folder-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.doc-back-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.doc-back-btn:hover { text-decoration: underline; }

.doc-folder-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.doc-folder-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

/* Minutes type badge — warm amber to match minutes UI */

.doc-type-badge--mins {
  background: rgba(239, 159, 39, 0.15);
  color: var(--mh-accent-text, #5c3400);
}

@media (max-width: 480px) {
  .doc-folder-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ── Minutes tab + portal link ───────────────────────────────────────────────*/

.portal-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.portal-link-display {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  cursor: text;
}

.btn--danger-ghost {
  color: var(--error);
  border-color: var(--error);
}
.btn--danger-ghost:hover {
  background: #fff0f0;
}

.mins-list-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mins-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.mins-item:last-child { border-bottom: none; }

.mins-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.mins-item__date  { font-size: 0.8rem; color: var(--text-muted); }
.mins-item__title { font-weight: 600; color: var(--text); font-size: 0.92rem; }

.mins-item__status {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mins-item__status--pub {
  color: var(--accent);
  font-weight: 500;
}

.mins-item__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
}

@media (max-width: 560px) {
  .mins-item        { flex-direction: column; align-items: flex-start; }
  .mins-item__actions { width: 100%; justify-content: flex-end; }
  .portal-link-row  { flex-direction: column; align-items: stretch; }
}

/* ── Governance document templates ───────────────────────────────────────────*/

.template-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.template-btn {
  padding: 0.45rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.template-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.template-btn--active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.template-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.template-form__heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.template-member-checks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 12rem;
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.template-member-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.template-member-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.template-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tools-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0.6rem 0.85rem;
  border-left: 3px solid var(--border);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.optional {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.25rem;
}

@media (max-width: 600px) {
  .template-selector { flex-direction: column; }
  .template-btn      { width: 100%; text-align: left; }
  .template-actions  { flex-direction: column; align-items: flex-start; }
}

/* ── Pricing tiers (index.html) ─────────────────────────────────────────────── */

.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}
@media (max-width: 680px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}

.pricing-tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pricing-tier--board {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(15,110,86,.10);
}

.pricing-tier__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-tier--board .pricing-tier__label {
  color: var(--primary);
}

.pricing-tier__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--mh-heading);
  line-height: 1;
}

.pricing-tier__price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.pricing-tier__features {
  list-style: none;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
  font-size: 0.9rem;
}

.pricing-tier__features li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-tier__features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-tier__refund {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-tier__cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .15s;
}
.pricing-tier__cta:hover { background: var(--primary-hover); }

/* ── Board Plan buy section (app.html) ──────────────────────────────────────── */

.board-plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1rem 0 0.5rem;
}

.board-plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mh-heading);
  line-height: 1;
}

.board-plan-price-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.board-plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.board-plan-features li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.board-plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.board-plan-refund {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Overview tab (board.html) ──────────────────────────────────────────────── */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (max-width: 580px) {
  .overview-grid { grid-template-columns: 1fr; }
}

.overview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.overview-card--actions { border-top: 3px solid #dc2626; }
.overview-card--minutes { border-top: 3px solid var(--primary); }
.overview-card--agenda  { border-top: 3px solid var(--mh-accent); }
.overview-card--docs    { border-top: 3px solid #6366f1; }

.overview-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mh-heading);
  line-height: 1.1;
}

.overview-card__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.overview-card__detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 1.1em;
}

.overview-card__link {
  margin-top: 0.6rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.overview-card__link:hover { text-decoration: underline; }

.overview-recent {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.overview-recent__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mh-heading);
  margin-bottom: 0.75rem;
}

.overview-recent__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.overview-recent__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.87rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.overview-recent__desc {
  flex: 1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-recent__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.overview-recent__more {
  font-size: 0.82rem;
  color: var(--primary);
}

.overview-review-prompt,
.result-review-prompt {
  margin-top: 1.5rem;
  text-align: center;
  margin-bottom: 0;
}

/* ── Governance Records section (dark teal, landing) ───────────────────────── */

.lp-governance {
  padding: 5rem 0;
  background: var(--mh-heading);
}

.lp-governance h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.lp-governance .section-intro {
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
}

.gov-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.gov-feature {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.gov-feature h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--mh-accent);
  margin-bottom: 0.5rem;
}

.gov-feature p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.6;
}

.lp-governance .pricing-note {
  color: rgba(255,255,255,0.60);
}

@media (max-width: 820px) {
  .gov-feature-grid { grid-template-columns: 1fr 1fr; }
  .lp-governance h2 { font-size: 1.85rem; }
}
@media (max-width: 580px) {
  .gov-feature-grid { grid-template-columns: 1fr; }
  .lp-governance h2 { font-size: 1.75rem; }
}

/* ── Board Plan pricing tier layout (landing) ───────────────────────────────── */

.pricing-tier__plan-badge {
  display: inline-block;
  background: var(--mh-accent);
  color: var(--mh-accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.pricing-tier__board-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-tier__board-text {
  width: 100%;
  min-width: 0;
}

.pricing-tier__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mh-heading);
  margin-bottom: 0.5rem;
}

.pricing-tier__heading--board {
  font-size: 1.1rem;
  line-height: 1.35;
}

.pricing-tier__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.pricing-tier__board-cta {
  width: 100%;
}

.board-cta-card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-align: center;
}

.board-cta-card__price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--mh-heading);
  line-height: 1.1;
}

.board-cta-card__currency {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.board-cta-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.board-cta-card__includes {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.board-cta-card__btn {
  display: block;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.board-cta-card__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}


/* ── Format cards — bolder icon treatment ───────────────────────────────────── */

.format-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
}

/* ── Utility — inline option groups (radio/checkbox rows without card border) ── */

.inline-option-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.inline-option-label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

/* ── Utility — section hero heading (card-level h1 at subdued scale) ─────── */

.section-hero-heading {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ── Utility — top-spaced ghost button (back buttons in purchase flows) ───── */

.btn-ghost--mt { margin-top: 1.25rem; }

/* ── Minutes editor overlay ──────────────────────────────────────────────── */

.editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-overlay.hidden { display: none; }

.editor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.editor-header__title {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.editor-pub-warning {
  padding: 0.5rem 1.25rem;
  background: #fff3cd;
  color: #856404;
  font-size: 0.85rem;
  border-bottom: 1px solid #ffc107;
  flex-shrink: 0;
}

.editor-governance-note {
  padding: 0.4rem 1.25rem;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.editor-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-easymde-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Make EasyMDE fill the overlay body */
.editor-easymde-container .EasyMDEContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.editor-easymde-container .CodeMirror {
  flex: 1;
  min-height: 0;
  height: auto;
  font-family: inherit;
  font-size: 0.9rem;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-color: var(--border);
}

.editor-easymde-container .editor-toolbar {
  border-top: none;
  border-left: none;
  border-right: none;
  border-color: var(--border);
  flex-shrink: 0;
}

/* Preview pane — rendered content styles */
.editor-easymde-container .editor-preview,
.editor-easymde-container .editor-preview-side {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 1.5rem 2rem;
}

.editor-easymde-container .editor-preview h1 { font-size: 1.5rem; margin: 1.2rem 0 0.5rem; }
.editor-easymde-container .editor-preview h2 { font-size: 1.25rem; margin: 1rem 0 0.4rem; }
.editor-easymde-container .editor-preview h3 { font-size: 1.05rem; margin: 0.8rem 0 0.3rem; }
.editor-easymde-container .editor-preview h4 { font-size: 0.95rem; margin: 0.6rem 0 0.2rem; font-weight: 600; }
.editor-easymde-container .editor-preview table { border-collapse: collapse; width: 100%; margin: 0.75rem 0; font-size: 0.88rem; }
.editor-easymde-container .editor-preview th,
.editor-easymde-container .editor-preview td { border: 1px solid var(--border); padding: 0.35rem 0.65rem; text-align: left; }
.editor-easymde-container .editor-preview th { background: var(--surface); font-weight: 600; }
.editor-easymde-container .editor-preview blockquote { border-left: 3px solid var(--border); margin: 0.5rem 0; padding: 0.25rem 0.75rem; color: var(--text-muted); font-style: italic; }
.editor-easymde-container .editor-preview hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

/* Version history panel — slides in at the bottom */
.editor-version-panel {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  max-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-version-panel.hidden { display: none; }

.editor-version-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.editor-version-list {
  overflow-y: auto;
  flex: 1;
  padding: 0.25rem 0;
}

.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.version-row:last-child { border-bottom: none; }

.version-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.version-row__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.version-row__when {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.version-row__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Version read-only preview modal (over editor overlay) ───────────────── */

.version-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.version-preview-modal.hidden { display: none; }

.version-preview-modal__inner {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.version-preview-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--text-muted);
}

.version-preview-modal__body {
  overflow-y: auto;
  flex: 1;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

.version-preview-modal__body h1 { font-size: 1.6rem; margin: 1.2rem 0 0.5rem; }
.version-preview-modal__body h2 { font-size: 1.3rem; margin: 1rem 0 0.4rem; }
.version-preview-modal__body h3 { font-size: 1.1rem; margin: 0.8rem 0 0.3rem; }
.version-preview-modal__body h4 { font-size: 1rem;   margin: 0.6rem 0 0.2rem; font-weight: 600; }
.version-preview-modal__body blockquote {
  border-left: 3px solid var(--border);
  margin: 0.5rem 0;
  padding: 0.25rem 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}
/* ── Inline placeholder inputs ───────────────────────────────────────────── */

.inline-ph-input {
  display: inline-block;
  vertical-align: baseline;
  border: none;
  border-bottom: 1.5px solid var(--mh-accent);
  background: rgba(239, 159, 39, 0.1);
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0 0.2em 1px;
  border-radius: 2px 2px 0 0;
  outline: none;
  cursor: text;
}

.inline-ph-input:focus {
  background: rgba(239, 159, 39, 0.2);
  border-bottom-color: var(--primary);
}

.inline-ph-input::placeholder {
  color: var(--mh-accent-text, #5c3400);
  font-style: italic;
  opacity: 1;
}

.inline-ph-filled {
  color: var(--primary);
  font-weight: 500;
}

.ph-count-banner {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mh-accent-text, #5c3400);
  background: rgba(239, 159, 39, 0.1);
  border: 1px solid rgba(239, 159, 39, 0.3);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.ph-count-banner--done {
  background: rgba(34, 120, 80, 0.08);
  border-color: rgba(34, 120, 80, 0.3);
  color: #1a6b46;
}

/* ── ── */

.version-preview-modal__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}
