/* Biziyo: platform-only styles (DARK theme, 2026-11-30).
   Brand CSS lives in site.css; this file adds only Sale Hub pieces.
   Tokens: --bg #0a0a0c, --panel #151518, --panel-2 #1a1a1f, --ink #f4f1e8,
   --muted #a8a294, --gold #d4af37, --gold-bright #e9c95c, --gold-soft #f3e3ae,
   --gold-dim rgba(212,175,55,.14), --gold-line rgba(212,175,55,.32), --line #26262c. */

/* Header member slot */
.member-name { font-weight: 700; color: var(--ink); font-size: .92rem; }
#member-slot .badge { margin: 0 .35rem 0 0; }
#member-slot a { font-size: .92rem; }

/* Header Sign in / Sign up buttons (sign-in + sign-up pages only, 2026-11-30):
   Sign in is a gold-outlined ghost button, Sign up is solid gold — the same
   black/gold header treatment as the Biziyo site. */
.main-nav a.nav-btn { display: inline-block; align-self: center; border-radius: 12px; padding: .5rem 1.15rem; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.main-nav a.nav-btn-ghost { color: var(--gold-bright); border: 1px solid var(--gold-line); background: transparent; }
.main-nav a.nav-btn-ghost:hover { background: var(--gold-dim); color: var(--gold-bright); text-decoration: none; }
.main-nav a.nav-btn-gold { background: var(--gold-bright); color: #10263f; border: 1px solid transparent; }
.main-nav a.nav-btn-gold:hover { background: var(--gold); color: #fff; text-decoration: none; }

/* Dashboard */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.kpi-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.kpi-card .num { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.kpi-card .lbl { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0; }
.tool-tile { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; color: var(--ink); position: relative; }
.tool-tile:hover { text-decoration: none; border-color: var(--gold); }
.tool-tile h3 { margin-bottom: .2rem; }
.tool-tile p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.tool-tile.locked { opacity: .55; filter: grayscale(1); }
.tool-tile.locked:hover { border-color: var(--line); }
.tool-tile .lock { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--gold-soft);
  background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 999px; padding: .15rem .6rem; margin-top: .5rem; }
.tool-tile .free-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--gold-bright);
  background: var(--gold-dim); border: 1px solid var(--gold-line); border-radius: 999px; padding: .15rem .6rem; margin-top: .5rem; }

/* Saved-record lists */
.record-list { list-style: none; padding: 0; margin: 1rem 0; }
.record-list li { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap;
  padding: .7rem 0; border-bottom: 1px solid var(--line); }
.record-list .grow { flex: 1; min-width: 180px; }
.record-list .meta { font-size: .85rem; color: var(--muted); }
.record-list .actions { display: flex; gap: .4rem; }
.btn-small { padding: .35rem .8rem; font-size: .88rem; }
.empty-state { color: var(--muted); background: var(--panel-2); border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0; }
.status-pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.status-draft { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.status-sent { background: #e6effa; color: #2563a8; }
.status-paid, .status-active, .status-won, .status-accepted { background: #e2f3e8; color: #178a4c; }
.status-overdue, .status-lost, .status-declined { background: rgba(220,80,80,.16); color: #f2a0a0; }
.status-planned, .status-lead { background: rgba(212,175,55,.14); color: var(--gold-soft); }

/* Auth pages */
.auth-card { max-width: 460px; margin: 2rem auto; }
.auth-card .btn { width: 100%; text-align: center; }
/* Sign-in form: a neat, modest button in the middle, not full-width
   (2026-11-30). The two links under it sit on one row, one on each side,
   with clear space below the button. */
.auth-card .btn-narrow { display: block; width: fit-content; min-width: 180px; margin: .25rem auto 0; }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 0; }
.auth-links a { font-size: .92rem; }
.form-error { color: #f2a0a0; font-size: .92rem; margin: .5rem 0; min-height: 1.2em; }
.form-ok { color: #7fd6a0; font-size: .92rem; margin: .5rem 0; min-height: 1.2em; }

/* Calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin: 1rem 0; }
.cal-grid .dow { font-weight: 700; font-size: .8rem; color: var(--muted); text-align: center; padding: .3rem 0; }
.cal-day { min-height: 64px; border: 1px solid var(--line); border-radius: 6px; padding: .3rem .4rem; font-size: .85rem; background: var(--panel); }
.cal-day.other { background: var(--bg-2); color: var(--muted-2); }
.cal-day.today { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day .ev { display: block; background: var(--gold-dim); color: var(--gold-soft); border-radius: 4px;
  padding: .1rem .35rem; margin-top: .25rem; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pipeline */
.pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1rem 0; }
.pipe-col { background: var(--panel-2); border-radius: var(--radius); padding: .8rem; }
.pipe-col h3 { font-size: .95rem; margin-bottom: .5rem; }
.pipe-col h3 .total { float: right; color: var(--muted); font-weight: 600; }
.deal-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; margin-bottom: .6rem; }
.deal-card .v { font-weight: 700; color: var(--gold-soft); }

/* Timer */
.timer-display { font-family: "Newsreader", Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--ink); }
.timer-running { color: var(--gold-bright); }

@media (max-width: 720px) {
  .cal-day { min-height: 44px; font-size: .78rem; }
  .tool-grid { grid-template-columns: 1fr; }
}
/* Admin (manage) area — /manage, v6. Black/gold, same tokens as the
   platform. The manage page links nowhere outside itself, so there is
   no public header or footer navigation here — only the brand line. */
.admin-header .admin-label { font-weight: 800; color: var(--gold-bright); font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase; align-self: center; }
.admin-setup-note { color: var(--muted); font-size: .88rem; margin-top: 1rem; }
.admin-status { color: var(--muted); font-size: .9rem; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; margin-top: 1rem; }
.admin-menu { display: flex; flex-direction: column; gap: .35rem; position: sticky; top: 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; }
.admin-menu button { text-align: left; background: transparent; border: 1px solid transparent;
  color: var(--ink); font: inherit; font-weight: 600; font-size: .95rem; padding: .55rem .8rem;
  border-radius: 8px; cursor: pointer; }
.admin-menu button:hover { background: var(--panel-2); }
.admin-menu button.active { background: var(--gold-dim); border-color: var(--gold-line); color: var(--gold-bright); }
.admin-content { min-width: 0; }
.admin-content h1 { margin-top: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.admin-table th { text-align: left; color: var(--muted); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .04em; padding: .55rem .6rem; border-bottom: 1px solid var(--gold-line); }
.admin-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.admin-table td:first-child { white-space: nowrap; overflow-wrap: normal; font-weight: 600; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-controls { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.admin-search { flex: 1; min-width: 200px; }
.admin-filter { min-width: 160px; }
.admin-plan-select { font-size: .88rem; padding: .3rem .4rem; }
.admin-row-actions { display: inline-flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.btn-danger { background: rgba(220,80,80,.16); color: #f2a0a0; border: 1px solid rgba(220,80,80,.4); }
.btn-danger:hover { background: rgba(220,80,80,.28); color: #f2a0a0; }
.admin-bars { margin: 1rem 0; }
.admin-bar-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.admin-bar-date { width: 3.2rem; color: var(--muted); font-size: .85rem; flex-shrink: 0; }
.admin-bar-track { flex: 1; background: var(--panel-2); border-radius: 999px; height: .8rem; overflow: hidden; }
.admin-bar-fill { height: 100%; background: linear-gradient(90deg, #c39d2e, #e9c95c); border-radius: 999px; }
.admin-bar-count { width: 2rem; text-align: right; font-size: .88rem; color: var(--muted); flex-shrink: 0; }
@media (max-width: 720px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-menu { position: static; flex-direction: row; overflow-x: auto; }
  .admin-menu button { white-space: nowrap; }
  .admin-table { font-size: .85rem; }
}

/* In-workspace tools library (library.html, v10). The member stays
   signed in on biziyo.com; the dashboard lists the member's sections with
   their tier badge. Badge = the lowest plan that includes the tool
   (Silver / Gold / Platinum). Locked tiles reuse the dashboard's
   greyed-out treatment. */
.tool-tile .badge { margin: .45rem .35rem 0 0; }
.badge-silver { background: #c9ced6; color: #171204; }
.badge-gold { background: var(--gold); color: #171204; }
.badge-platinum { background: #f2f5f7; color: #171204; border: 1px solid #ffffff; }
.lib-search { margin: .25rem 0 .5rem; }
.lib-count { color: var(--muted); font-size: .92rem; }
.lib-cat { margin-top: 1.5rem; }
.lib-cat h2 { margin-bottom: .5rem; }

/* Biziyo logo (Polished A lockup; light version on dark headers). */
.wordmark img.logo-img { height: 36px; width: auto; display: block; }
.auth-logo { display: block; margin: 0 auto 10px; max-width: 250px; width: 82%; height: auto; }
.wordmark { text-decoration: none; }
.brand-wordmark { font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; color: var(--ink); }
.brand-wordmark::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .12em; border-radius: 50%; background: var(--gold, #d4af37); vertical-align: baseline; }

/* Password checklist (v8.10): requirements tick live as typed. */
.pw-checklist{list-style:none;margin:-6px 0 14px;padding:0;font-size:.9rem;color:var(--muted,#5a6b7a)}
.pw-checklist li{padding:2px 0 2px 26px;position:relative}
.pw-checklist li::before{content:"○";position:absolute;left:4px}
.pw-checklist li.ok{color:#0a7a5c}
.pw-checklist li.ok::before{content:"✓";font-weight:700}
