/* Blue Haven Studio — share.bluehavenstudio.com
   Cream page, charcoal ink, teal accent, thin charcoal rules, uppercase tracked UI
   text. Prata + Poppins are the approved stand-ins for the site's Adobe fonts
   (Sundays / commuters-sans), which cannot be self-hosted. Prata has one weight:
   never set it bold. */
@font-face { font-family: 'Prata'; src: url('/fonts/bhs/prata-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/bhs/poppins-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/bhs/poppins-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/bhs/poppins-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --teal: #9DC8CB;
  --teal-light: #D8E8E6;
  --pale: #E6F4F7;
  --bg: #F9F8F3;
  --paper: #E6F4F7;
  --card: #ffffff;
  --ink: #22211E;
  --ink-soft: #5f6d72;
  --rule: #22211E26;
  --on-brand: #22211E;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Prata', Georgia, serif;
}

body { font-size: 15px; }

/* Masthead: the full script logo, then a tracked caps product label */
.masthead { gap: 16px; margin-bottom: 34px; }
.masthead img { height: 52px; }
.masthead-mark { background: var(--teal); }
.masthead-mark svg { stroke: var(--ink); }
.masthead-name { font-weight: 400; }
.masthead-divider { height: 30px; background: var(--ink); opacity: 0.25; }
.masthead-app {
  font-family: var(--sans); font-style: normal; font-weight: 500;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}

/* Card: square-ish with a thin charcoal line, like the site's frames */
.card { border: 1px solid var(--ink); border-radius: 4px; }
.form, .field, .notice, .message { border-color: var(--teal-light); }
.field { border-bottom-color: var(--teal-light); }

/* Eyebrows and labels: charcoal, small, widely tracked */
.recipient-eyebrow, .eyebrow {
  color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
}
.field label:not(.passphrase-row), .notice-label, .message-label { font-weight: 500; letter-spacing: 0.18em; color: var(--ink-soft); }
.field:focus-within label { color: var(--ink); }

/* Identity circle: teal with a charcoal glyph */
.avatar, .sent-mark { background: var(--teal); }
.avatar.muted { background: var(--pale); color: var(--ink-soft); }

/* Headings in Prata, regular weight only */
.recipient-name, .title, .sent h2 { font-weight: 400; letter-spacing: 0; }
.recipient-name, .title, .sent h2 { font-size: 28px; }

/* Buttons: teal pill, thin charcoal outline, tracked caps; charcoal on hover */
.btn {
  background: var(--teal); color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 500; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
.btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; border: 1px solid var(--ink); }
.btn-ghost:hover:not(:disabled) { background: var(--pale); color: var(--ink); border-color: var(--ink); }

.message-body { background: var(--pale); }

/* Create-link page */
.opt { border-color: var(--ink); color: var(--ink); font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; padding: 0 10px; min-width: 0; }
.passphrase-label { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.opt:hover { background: var(--pale); }
.opt.active { background: var(--teal); border-color: var(--ink); color: var(--ink); }
.toggle input:checked + .toggle-track { background: var(--ink); }
.toggle input:focus-visible + .toggle-track { outline-color: var(--ink); }
.passphrase-field { border-top-color: var(--teal-light); }
.pass-eye:hover { color: var(--ink); }
.link-box { background: var(--pale); }
.passphrase-badge { background: var(--pale); color: var(--ink); }
.copy-btn { background: var(--teal); color: var(--ink); border: 1px solid var(--ink); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.copy-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.result-label { font-weight: 500; letter-spacing: 0.18em; }

/* Staff pages: nav, tabs, filters, stats, profile cards */
.nav a, .nav button, .tab, .filter-btn { font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.nav a.current { border-color: var(--ink); background: var(--teal); }
.tab.active, .filter-btn.active { background: var(--teal); border-color: var(--ink); color: var(--ink); }
.tab, .filter-btn { border-color: var(--ink); color: var(--ink); }
.stat, .profile-card { border-color: var(--ink); border-radius: 4px; }
.stat-value, .pc-name, .row-name { font-weight: 400; }
.pc-avatar { background: var(--teal); }
.pc-avatar svg { stroke: var(--ink); }
.pc-save { background: var(--teal); color: var(--ink); border: 1px solid var(--ink); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.pc-save:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pc-field { border-top-color: var(--teal-light); }
.row, thead th, tbody td { border-color: var(--teal-light); }
.btn-sm { font-size: 11px; }

footer { color: #7a8a90; letter-spacing: 0.04em; }

@media (max-width: 600px) {
  .nav a, .nav button { letter-spacing: 0.08em; font-size: 10.5px; padding: 7px 9px; }
}
@media (max-width: 480px) {
  .masthead img { height: 42px; }
  .recipient-name, .title, .sent h2 { font-size: 24px; }
}
