/* GraySavvy — app styles ("Lighthouse Editorial" brand system).
   Senior-friendly: large type, calm colors, generous spacing.
   Note: --teal is the legacy accent token name; it now carries GraySavvy brass. */

:root {
  --navy:   #0E2A44;
  --navy-deep: #0A2138;
  --teal:   #9A6E22;            /* brass accent (legacy token name) */
  --brass:  #B9822E;
  --brass-bright: #D6A54A;
  --beam:   #F0D48A;
  --grey:   #51606C;
  --light:  #F3EBDA;            /* parchment tint */
  --paper:  #FBF7EE;            /* warm paper ground */
  --line:   #E3D7BE;
  --green:  #22754B;
  --green-fill:  #EAF3EC;
  --green-line:  #B4D4BE;
  --amber:  #8A5A00;
  --amber-fill:  #FBF1DC;
  --amber-line:  #EBD4A0;
  --red:    #8B1F1F;
  --red-fill:    #FBEDE9;
  --red-line:    #EFC5BF;
  --white:  #FFFDF8;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;           /* min 17pt body per wireframe spec */
  line-height: 1.55;
  color: var(--grey);
  background: var(--paper);
  min-height: 100vh;
  min-height: 100dvh;        /* iOS Safari: account for dynamic toolbars */
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  /* When installed as a PWA on iPhone, status-bar-style=black-translucent puts
     the iOS status bar over the page. The topbar handles its own safe-area padding. */
}

/* PWA safe-area padding for notch + home indicator on iPhone */
@supports (padding: max(0px)) {
  .topbar    { padding-top:    max(12px, env(safe-area-inset-top)); }
  .bottombar { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .page      {
    padding-left:  max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* ---------- Brand typography ---------- */
h1, h2,
.brand-mark, .hero h1, .auth-card h1, .lesson-title, .verdict-title,
.safeword-word, .stat-num {
  font-family: var(--serif);
  letter-spacing: -0.01em;
}

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(175deg, var(--navy), var(--navy-deep));
  border-bottom: 2px solid var(--brass);
  color: var(--white);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { font-weight: 650; font-size: 23px; }
.brand-sub  { font-size: 13px; color: #C8D2D7; }
@media (max-width: 700px) {
  .brand-sub { display: none; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .topbar-right { gap: 10px; }
  .user-name { display: none; }   /* name still visible on Settings */
}
.topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.mode-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}
.mode-mock     { background: rgba(255,255,255,0.06); }
.mode-ollama   { background: #8A5A00; border-color: #8A5A00; }
.mode-anthropic { background: rgba(214,165,74,.22); border-color: var(--brass-bright); color: var(--beam); }
.user-name { font-weight: 700; color: #FFFFFF; font-size: 15px; }
.admin-link { color: #C8D2D7; text-decoration: none; background: rgba(255,255,255,0.12);
              padding: 6px 10px; border-radius: 6px; font-size: 12px;
              text-transform: uppercase; letter-spacing: 0.4px; }
.admin-link:hover { color: #FFFFFF; }
.signout-link { color: #C8D2D7; text-decoration: underline; font-size: 15px;
                font-weight: 600; padding: 8px 2px; }
.signout-link:hover { color: var(--beam); }
.plan-pill { font-size: 13px; font-weight: 800; text-decoration: none; padding: 7px 14px;
             border-radius: 999px; color: var(--beam); border: 1.5px solid var(--brass-bright);
             background: rgba(214,165,74,0.14); }
.plan-pill:hover { background: rgba(214,165,74,0.28); }
.plan-pill.plan-on { color: #BEE3C8; border-color: #6FA97F; background: rgba(60,130,80,0.25); }

/* ---------- App shell (sidebar on desktop, tabs on mobile) ---------- */
.shell { display: flex; flex: 1; width: 100%; align-items: stretch; }
.sidenav { display: none; }
@media (min-width: 880px) {
  .sidenav {
    display: flex; flex-direction: column; gap: 6px;
    width: 256px; flex-shrink: 0;
    padding: 26px 16px; background: #F7F1E2;
    border-right: 1px solid var(--line);
  }
}
.snav {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 16px; border-radius: 12px;
  color: var(--grey); text-decoration: none;
  font-size: 18px; font-weight: 600; line-height: 1.25;
}
.snav svg { flex: 0 0 auto; }
.snav:hover { background: var(--light); color: var(--navy); }
.snav.active { background: var(--light); color: var(--navy);
               box-shadow: inset 4px 0 0 var(--brass); font-weight: 700; }
.snav-help { color: var(--red); }
.snav-help:hover, .snav-help.active { color: var(--red); background: var(--red-fill);
               box-shadow: inset 4px 0 0 var(--red); }
.sidenav-foot { margin-top: auto; padding: 16px 16px 4px; border-top: 1px solid var(--line); }
.sidenav-foot a { color: var(--grey); font-size: 14px; }
.sidenav-foot a:hover { color: var(--teal); }

/* ---------- Page frame ---------- */
.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

/* ---------- Hero ---------- */
.hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.15;
}
.hero .lede {
  font-size: 19px;
  color: var(--grey);
  margin: 0 0 26px;
}

/* ---------- Error card ---------- */
.error-card {
  background: var(--amber-fill);
  border: 1px solid var(--amber-line);
  color: var(--amber);
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Form ---------- */
.check-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.field-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}
.optional { font-weight: 500; color: var(--grey); font-size: 14px; }
textarea, input[type="text"], input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 19px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 17px 18px;      /* ~56pt tall — same visual weight as buttons */
  resize: vertical;
}
textarea { min-height: 180px; }
textarea:focus, input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  border-color: var(--brass-bright);
  box-shadow: 0 0 0 3px rgba(214, 165, 74, 0.25);
}
textarea::placeholder, input::placeholder { color: #889097; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  font-size: 19px;
  border-radius: 12px;
  padding: 18px 24px;     /* ~56pt tall per spec */
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.05s ease-in;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  color: #241503;
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(185, 130, 46, 0.7);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-tertiary {
  background: transparent;
  color: var(--teal);
  border: none;
  text-decoration: underline;
  padding: 12px 16px;
  font-size: 17px;
}

/* ---------- Chips ---------- */
.chip {
  display: inline-block;
  background: var(--light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.chip-quiet { background: var(--light); color: var(--navy); }

/* ---------- Examples ---------- */
.examples { margin-top: 24px; }
.examples-help { color: var(--grey); font-size: 15px; margin: 0 0 14px; }
.examples-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) {
  .examples-grid { grid-template-columns: 1fr 1fr; }
}
.example-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
}
.example-card:hover { border-color: var(--teal); }
.example-label { font-weight: 700; font-size: 16px; }
.example-sender { font-size: 13px; color: var(--grey); }

/* ---------- Verdict screen ---------- */
.verdict { margin-top: 8px; }
.verdict-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  border-radius: 14px;
  border-width: 1.5px;
  border-style: solid;
  margin-bottom: 18px;
}
.verdict-icon { font-size: 32px; font-weight: 700; line-height: 1; }
.verdict-title { font-size: 24px; font-weight: 800; }

.verdict-likely_scam .verdict-banner {
  background: var(--red-fill); border-color: var(--red-line); color: var(--red);
}
.verdict-caution .verdict-banner {
  background: var(--amber-fill); border-color: var(--amber-line); color: var(--amber);
}
.verdict-safe .verdict-banner {
  background: var(--green-fill); border-color: var(--green-line); color: var(--green);
}

.verdict-reason {
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 22px;
  line-height: 1.55;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.next-steps li {
  background: #FAF5EA;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--navy);
  font-size: 17px;
}
.step-num { font-weight: 800; color: var(--teal); min-width: 22px; }

/* ---------- Developer notes ---------- */
.developer-notes {
  margin-top: 28px;
  background: #F5EFE0;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--grey);
}
.developer-notes summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.developer-notes dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 14px;
  margin: 12px 0 6px;
}
.developer-notes dt { font-weight: 700; color: var(--navy); }
.developer-notes dd { margin: 0; }
.raw-text {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* ---------- Panic Button (v0.4) ---------- */
.btn-panic {
  display: block; width: 100%;
  font: inherit; font-weight: 800; font-size: 21px;
  color: var(--white); background: var(--red);
  border: none; border-radius: 14px;
  padding: 26px 24px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(139, 31, 31, 0.25);
}
.btn-panic:hover { background: #7a1b1b; }
.btn-panic:active { transform: translateY(1px); }
.panic-progress { display: flex; align-items: center; gap: 14px; margin: 8px 0 20px; }
.panic-progress-label { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.panic-steps { display: flex; flex-direction: column; gap: 14px; }
.panic-step { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 18px; }
.panic-step-done { background: #F2F8F4; border-color: var(--green-line); opacity: 0.75; }
.panic-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.panic-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.panic-step-done .panic-step-num { background: var(--green-fill); color: var(--green); }
.panic-step-title { font-size: 18px; font-weight: 800; color: var(--navy); }
.panic-step-body { color: var(--grey); font-size: 15px; margin: 0 0 14px; line-height: 1.5; }
.btn-step {
  font: inherit; font-weight: 700; font-size: 16px;
  color: var(--teal); background: var(--light);
  border: 1.5px solid var(--teal); border-radius: 10px;
  padding: 12px 18px; cursor: pointer; width: 100%;
}
.btn-step:hover { background: #EDE1C6; }
.tab-panic { color: var(--red) !important; font-weight: 800; }

/* ---------- Lessons (v0.4) ---------- */
.lesson-streak-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.streak-pill {
  background: var(--light); color: var(--navy);
  font-weight: 800; font-size: 16px;
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); white-space: nowrap;
}
.lesson-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 22px; margin-top: 14px; }
.lesson-title { font-size: 24px; font-weight: 800; color: var(--navy); margin: 10px 0; }
.lesson-body { font-size: 17px; color: var(--grey); line-height: 1.55; margin: 0 0 14px; }
.lesson-tip {
  background: var(--light); border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 12px 16px;
  font-size: 15px; color: var(--navy); margin-bottom: 18px;
}
.lesson-quiz { border-top: 1.5px solid var(--line); padding-top: 16px; }
.lesson-quiz-q { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.lesson-quiz .radio-card { margin-bottom: 8px; }

/* ---------- Safe word (v0.4) ---------- */
.safeword-display {
  background: var(--white); border: 1.5px solid var(--teal);
  border-radius: 14px; padding: 22px; text-align: center; margin-bottom: 4px;
}
.safeword-word {
  font-size: 34px; font-weight: 800; color: var(--navy);
  letter-spacing: 1px; margin: 12px 0 8px;
}

/* ---------- Admin log ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.stat-card { background: var(--light); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
             display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: 0.4px; text-transform: uppercase; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--navy); }
.stat-sep { color: var(--line); margin: 0 4px; }

.admin-verdict-breakdown { margin: 0 0 28px; }
.verdict-bars { display: flex; flex-direction: column; gap: 6px; }
.vbar { display: grid; grid-template-columns: 110px 1fr 50px; align-items: center; gap: 12px; }
.vbar-label { font-size: 14px; color: var(--navy); font-weight: 600; }
.vbar-track { background: var(--light); border-radius: 6px; height: 14px; overflow: hidden; }
.vbar-fill { display: block; height: 100%; }
.verdict-safe-bar { background: var(--green); }
.verdict-caution-bar { background: var(--amber); }
.verdict-likely_scam-bar { background: var(--red); }
.vbar-num { font-size: 14px; color: var(--grey); text-align: right; font-variant-numeric: tabular-nums; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.4px; }
.admin-table td.when { color: var(--grey); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 12px; }
.admin-table td.sender { color: var(--navy); font-weight: 600; max-width: 130px; word-wrap: break-word; }
.admin-table td.preview { color: var(--grey); max-width: 280px; word-wrap: break-word; }
.admin-table td.mode { color: var(--grey); font-size: 12px; }
.admin-table td.hits { text-align: right; font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 700; }
.admin-table .empty { text-align: center; padding: 28px 8px; color: var(--grey); font-style: italic; }
.verdict-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.verdict-safe-tag { background: var(--green-fill); color: var(--green); border: 1px solid var(--green-line); }
.verdict-caution-tag { background: var(--amber-fill); color: var(--amber); border: 1px solid var(--amber-line); }
.verdict-likely_scam-tag { background: var(--red-fill); color: var(--red); border: 1px solid var(--red-line); }

/* ---------- Bottom tab bar (mobile only) ---------- */
.bottombar {
  position: sticky; bottom: 0; z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 4px; padding: 6px 8px;
  box-shadow: 0 -4px 16px rgba(10,33,56,0.06);
}
.btab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 10px; border-radius: 10px;
  color: var(--grey); text-decoration: none;
  font-size: 13px; font-weight: 700;
}
.btab.active { color: var(--navy); background: var(--light); }
.btab:hover { color: var(--navy); }
.btab-help { color: var(--red); }
.btab-help.active { color: var(--red); background: var(--red-fill); }
@media (min-width: 880px) { .bottombar { display: none; } }

/* ---------- Auth card (login / waitlist) ---------- */
.auth-card { max-width: 480px; margin: 16px auto 0; }
.auth-card h1 { font-size: 32px; color: var(--navy); margin: 0 0 10px; font-weight: 800; }
.auth-card h2 { font-size: 18px; color: var(--navy); margin: 18px 0 8px; }
.auth-lede { color: var(--grey); margin-bottom: 18px; }
.auth-hint { color: var(--grey); font-size: 14px; margin-top: 20px; }
.auth-sent { background: var(--green-fill); border: 1px solid var(--green-line); padding: 14px 16px; border-radius: 10px; color: var(--navy); }
.auth-stub-note { background: var(--amber-fill); border: 1px solid var(--amber-line); padding: 12px 14px; border-radius: 10px; color: var(--amber); font-size: 14px; margin-top: 10px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

/* ---------- "Install on your phone" card on login screen ---------- */
.install-card { max-width: 480px; margin: 28px auto 0; background: var(--light);
                border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.install-card summary { cursor: pointer; padding: 12px 4px; display: flex; align-items: center; gap: 10px;
                        font-weight: 700; color: var(--navy); list-style: none; }
.install-card summary::-webkit-details-marker { display: none; }
.install-card summary::after { content: "▾"; margin-left: auto; color: var(--teal); transition: transform 0.15s; }
.install-card[open] summary::after { transform: rotate(180deg); }
.install-emoji { font-size: 20px; }
.install-body { padding: 6px 4px 16px; font-size: 15px; color: var(--grey); }
.install-body p { margin: 10px 0 6px; color: var(--navy); }
.install-steps { padding-left: 22px; margin: 4px 0 14px; }
.install-steps li { margin-bottom: 6px; }

/* ---------- Onboarding / form blocks ---------- */
.onboarding-form { max-width: 560px; margin: 0 auto; }
.form-block { margin-bottom: 24px; }
.field-help { font-size: 13px; color: var(--grey); margin: 6px 0 0; }
.radio-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.radio-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--light); }
.radio-card input { margin-top: 4px; }
.radio-card-body { display: flex; flex-direction: column; gap: 4px; }
.radio-card-title { font-weight: 700; color: var(--navy); font-size: 16px; }
.radio-card-help { color: var(--grey); font-size: 14px; }

/* ---------- Success card ---------- */
.success-card {
  background: var(--green-fill);
  border: 1px solid var(--green-line);
  color: var(--green);
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 18px;
}
.muted { color: var(--grey); font-size: 14px; }

/* ---------- Family section ---------- */
.family-section { margin-top: 28px; }
.family-section h2 { font-size: 18px; color: var(--navy); margin: 0 0 12px; }
.member-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.member-row { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.member-name { font-weight: 700; color: var(--navy); }
.member-email { color: var(--grey); font-size: 14px; }
.member-role { background: var(--light); color: var(--teal); font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; margin-left: auto; }
.member-since { font-size: 12px; color: var(--grey); margin-left: auto; }
.invite-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }

.activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.activity-row { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: grid; grid-template-columns: 140px 110px 1fr 100px; gap: 12px; align-items: center; font-size: 14px; }
.activity-row .activity-when { color: var(--grey); font-size: 12px; }
.activity-row .activity-sender { color: var(--navy); }
.activity-row .activity-shared { color: var(--grey); font-size: 12px; text-align: right; }

.activity-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.activity-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.activity-card.verdict-likely_scam { border-left: 6px solid var(--red); }
.activity-card.verdict-caution    { border-left: 6px solid var(--amber); }
.activity-card.verdict-safe       { border-left: 6px solid var(--green); }
.activity-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.activity-when-card { font-size: 12px; color: var(--grey); }
.activity-card-sender { color: var(--navy); margin: 4px 0; }
.activity-card-reason { color: var(--grey); font-size: 15px; margin: 6px 0 12px; line-height: 1.45; }
.activity-card-message { margin-top: 10px; }
.activity-card-message summary { cursor: pointer; color: var(--teal); font-weight: 600; font-size: 14px; }
.activity-card-message pre { background: #F5EFE0; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-family: inherit; font-size: 13px; white-space: pre-wrap; word-wrap: break-word; margin: 8px 0 0; color: var(--grey); }
.activity-card-private { font-size: 12px; margin-top: 6px; }

.btn-tiny-danger { background: transparent; color: var(--red); border: 1px solid var(--red-line); border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.btn-tiny-danger:hover { background: var(--red-fill); }

.email-preview { width: 100%; height: 580px; border: 1px solid var(--line); border-radius: 10px; background: #FBF7EE; }

/* ---------- Admin log ---------- */
