/* ===== Design tokens ===== */
/* McGrath Real Estate Partners palette, shared with VendorHub.
   --navy      #163655  from mcgrathrep.com
   --logo-blue #316396  the logo mark's own background, so it sits flush
   --accent    #f56a23  brand orange
   Values also used: slate #5d6c7b, rule #dadada */
:root {
  --navy: #163655;
  --navy-700: #0f2740;
  --navy-50: #eef2f7;
  --logo-blue: #316396;
  --accent: #f56a23;
  --accent-soft: #fdeee4;
  --ink: #222222;
  --muted: #5d6c7b;
  --line: #dadada;
  --bg: #f7f8f9;
  --card: #ffffff;
  --green: #18794e;
  --green-soft: #e7f6ee;
  --amber: #b25e09;
  --amber-soft: #fdf1e3;
  --red: #b42318;
  --red-soft: #fde8e6;
  --blue: #175cd3;
  --blue-soft: #e7f0ff;
  --grey-soft: #eef1f5;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.16);
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===== Top bar ===== */
/* Header uses the logo's own blue so the mark sits flush against it,
   with the orange rule underneath - same treatment as VendorHub. */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 20px;
  background: var(--logo-blue);
  border-bottom: 3px solid var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(16,24,40,.10);
}
.topbar-logo { height: 38px; width: auto; display: block; flex-shrink: 0; }
.brand {
  font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  font-weight: 600; font-size: 16px; letter-spacing: .09em; text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
}
/* the green "go" dot - Greenlight's own signature, kept */
.brand::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,.25), 0 0 10px rgba(46,204,113,.7);
}
.project-switch { margin-left: auto; }
#projectSelect {
  appearance: none;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 7px 34px 7px 14px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
#projectSelect option { color: var(--ink); }
.nav-toggle {
  display: none;
  background: transparent; border: 0; color: #fff;
  font-size: 22px; cursor: pointer; padding: 4px 8px;
}

/* ===== Layout ===== */
.layout { display: flex; min-height: calc(100vh - 60px); }
.sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav-link::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--line); transition: background .15s; }
.nav-link:hover { background: var(--navy-50); color: var(--ink); }
.nav-link.active { background: var(--accent-soft); color: var(--accent); }
.nav-link.active::before { background: var(--accent); }

.view { flex: 1; padding: 26px clamp(16px, 4vw, 40px); max-width: 1100px; width: 100%; }

/* ===== Page header ===== */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 {
  margin: 0; font-size: 22px;
  font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy);
}
.page-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .04s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
/* Primary actions are blue; orange stays an accent, as in VendorHub. */
.btn-primary { background: var(--logo-blue); color: #fff; box-shadow: 0 6px 16px rgba(22,54,85,.22); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--navy-50); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-danger-ghost { background: #fff; color: var(--red); border-color: #f3c9c5; }
.btn-danger-ghost:hover { background: var(--red-soft); }

/* ===== Cards ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px 20px; }

/* ===== Stat cards ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.stat.green::after { background: var(--green); }
.stat.amber::after { background: var(--amber); }
.stat.red::after { background: var(--red); }
.stat.blue::after { background: var(--blue); }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .num { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-top: 6px; }
.stat .hint { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ===== Section title ===== */
.section-title {
  font-size: 13px; margin: 26px 0 12px; display: flex; align-items: center; gap: 8px;
  font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy);
}
.section-title .count { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--grey-soft); padding: 2px 9px; border-radius: 999px; }

/* ===== Table ===== */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--navy-50); }
.row-click { cursor: pointer; }
.cell-strong { font-weight: 600; }
.cell-muted { color: var(--muted); }

/* ===== Badges / status pills ===== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.b-submitted { background: var(--blue-soft); color: var(--blue); }
.b-review { background: var(--amber-soft); color: var(--amber); }
.b-approved { background: var(--green-soft); color: var(--green); }
.b-comments { background: var(--red-soft); color: var(--red); }
.b-rejected { background: var(--red-soft); color: var(--red); }
.b-resubmitted { background: var(--blue-soft); color: var(--blue); }
.b-neutral { background: var(--grey-soft); color: #475467; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; background: var(--grey-soft); color: #475467; }
.pill-overdue { background: var(--red); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill-stale { background: var(--amber-soft); color: var(--amber); padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pill-ready { background: var(--green-soft); color: var(--green); padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* ===== Traffic-light status dots ===== */
.light { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: middle; margin-right: 7px; flex-shrink: 0; }
.light-green { background: #2ecc71; box-shadow: 0 0 0 2px rgba(46,204,113,.22), 0 0 6px rgba(46,204,113,.85); }
.light-amber { background: #f5a623; box-shadow: 0 0 0 2px rgba(245,166,35,.22), 0 0 6px rgba(245,166,35,.8); }
.light-red   { background: #e5484d; box-shadow: 0 0 0 2px rgba(229,72,77,.22), 0 0 6px rgba(229,72,77,.85); }
.light-grey  { background: #98a2b3; box-shadow: 0 0 0 2px rgba(152,162,179,.20); }

/* ===== Top-bar right (sync + sign out) ===== */
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sync-status { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ===== Login gate ===== */
.auth-gate { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1f3a5f 0%, #16324f 100%); padding: 20px; }
.auth-gate[hidden] { display: none; }
.auth-card { width: 100%; max-width: 380px; background: #fff; border-radius: 16px; padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.auth-note { color: var(--navy); font-size: 13px; line-height: 1.5; margin: 4px 0 10px; }
.auth-brand { color: var(--navy); font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.auth-card h2 { margin: 14px 0 4px; font-size: 22px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.auth-err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; margin: 4px 0 10px; }
.auth-toggle { text-align: center; margin-top: 16px; }
.auth-toggle span { color: var(--accent); font-weight: 600; font-size: 13.5px; cursor: pointer; }

/* ===== Sharing ===== */
.share-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; }
.share-email { font-weight: 600; font-size: 14px; }
.share-role { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; }
.share-row .del-note { color: var(--muted); cursor: pointer; font-weight: 600; margin-left: auto; }
.share-row .del-note:hover { color: var(--red); }
.share-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.share-add input { flex: 1; min-width: 200px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }
.share-add select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 600; }
.share-add input:focus, .share-add select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.readonly-banner { display: flex; align-items: center; gap: 8px; background: var(--amber-soft); color: var(--amber); font-weight: 600; font-size: 13px; padding: 9px 14px; border-radius: 10px; margin-bottom: 16px; }

/* ===== City-review workflow stepper ===== */
.stepper { display: flex; align-items: flex-start; flex-wrap: wrap; margin: 6px 0 16px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 62px; }
.step .dot { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; background: var(--grey-soft); color: var(--muted); border: 2px solid var(--line); }
.step .lbl { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; max-width: 82px; }
.step.done .dot { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.step.current .dot { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.step.current .lbl { color: var(--accent); }
.step-line { flex: 1; height: 2px; min-width: 14px; background: var(--line); margin: 12px 2px 0; }
.stage-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.stage-correct { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stage-correct select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; }

/* ===== Help page ===== */
.help-card { margin-bottom: 18px; }
.help-card h3 { margin: 0 0 8px; font-size: 16px; }
.help-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.help-card ul { margin: 6px 0 2px; padding-left: 20px; }
.help-card li { font-size: 14px; line-height: 1.6; margin-bottom: 7px; }
.help-card .badge { vertical-align: middle; }

/* ===== Developer Only page (reference + release log) ===== */
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 12.8px;
  background: var(--grey-soft); color: #334155; padding: 2px 6px; border-radius: 5px; }
.codeblock { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 12.8px;
  background: #0f2036; color: #d6e2f2; padding: 14px 16px; border-radius: 10px; margin-top: 10px;
  white-space: pre; overflow-x: auto; line-height: 1.6; }
.codeblock .cmt { color: #7d93ad; }
.rel-list { display: flex; flex-direction: column; gap: 14px; }
.rel .rel-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.rel .rel-date { font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--grey-soft);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rel h3 { margin: 0; font-size: 16px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.legend span { display: inline-flex; align-items: center; }

/* ===== Empty state ===== */
.empty { text-align: center; padding: 54px 20px; color: var(--muted); }
.empty .emoji { font-size: 40px; }
.empty h3 { margin: 12px 0 4px; color: var(--ink); }

/* ===== Forms / modal ===== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(16,24,40,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 50; overflow-y: auto; }
.modal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; animation: pop .14s ease-out; }
.modal.wide { max-width: 760px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { padding: 20px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: #fafbfc; border-radius: 0 0 var(--radius) var(--radius); }
.icon-btn { background: transparent; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #344054; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 70px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hint-text { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* Sheet picker rows inside submission form */
.pick-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.pick-row input[type=checkbox] { width: 18px; height: 18px; }
.pick-row .meta { font-size: 12.5px; color: var(--muted); margin-left: auto; }

/* Inline sheet entry rows (submission form) */
.sheet-row { display: grid; grid-template-columns: 130px 1fr 150px 32px; gap: 8px; margin-bottom: 8px; align-items: center; }
.sheet-row input, .sheet-row select { padding: 9px 10px; }
.sheet-row .sr-del { color: var(--muted); }
.sheet-row .sr-del:hover { color: var(--red); }
@media (max-width: 560px){ .sheet-row { grid-template-columns: 1fr 1fr 32px; } .sheet-row .sr-title { grid-column: 1 / -1; } }

/* Notes log (per submission) */
.log-add { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.log-add textarea { flex: 1; min-height: 44px; }
.log-list { display: flex; flex-direction: column; gap: 10px; }
.log-entry { border-left: 3px solid var(--accent); background: #fafbfc; border-radius: 0 10px 10px 0; padding: 10px 14px; }
.log-entry .when { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 3px; display: flex; justify-content: space-between; gap: 10px; }
.log-entry .when .del-note { color: var(--muted); cursor: pointer; font-weight: 600; }
.log-entry .when .del-note:hover { color: var(--red); }
.log-entry .text { white-space: pre-wrap; font-size: 14px; }

/* Closeout checklist */
.task-list { display: flex; flex-direction: column; }
.task-row { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row input[type=checkbox] { width: 19px; height: 19px; flex-shrink: 0; cursor: pointer; accent-color: var(--green); }
.task-row .task-label { font-weight: 600; font-size: 14.5px; }
.task-row.done .task-label { color: var(--muted); text-decoration: line-through; }
.task-row .task-action { font-size: 12.5px; font-weight: 700; color: var(--accent); cursor: pointer; text-decoration: none; padding: 3px 9px; border: 1px solid var(--accent-soft); border-radius: 7px; background: var(--accent-soft); white-space: nowrap; }
.task-row .task-action:hover { background: #dbe9ff; }
.task-row .task-when { margin-left: auto; font-size: 12.5px; color: var(--green); font-weight: 600; white-space: nowrap; }
.task-row .task-when .del-note { color: var(--muted); margin-left: 6px; }
.task-row .task-del { color: var(--line); cursor: pointer; font-size: 18px; font-weight: 700; }
.task-row .task-del:hover { color: var(--red); }
.task-add { display: flex; gap: 8px; margin-top: 14px; }
.task-add input { flex: 1; padding: 9px 11px; font-size: 14px; font-family: inherit; border: 1px solid var(--line); border-radius: 10px; }
.task-add input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 560px){ .task-row { flex-wrap: wrap; } .task-row .task-when { margin-left: 31px; width: 100%; } }

/* Detail header */
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 22px; }
.kv .k { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.kv .v { font-size: 15px; font-weight: 600; margin-top: 2px; }
.back-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-block; margin-bottom: 12px; }
.back-link:hover { text-decoration: underline; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; z-index: 80; animation: pop .14s ease-out; }

/* ===== Responsive (phone) ===== */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .sidebar {
    position: fixed; top: 60px; left: 0; bottom: 0; width: 230px;
    transform: translateX(-100%); transition: transform .2s ease; z-index: 40;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: none; }
  .brand { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tbody tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 4px; background: #fff; }
  tbody tr:hover { background: #fff; }
  tbody td { border: 0; padding: 8px 14px; display: flex; justify-content: space-between; gap: 14px; }
  tbody td::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
  .table-wrap { background: transparent; border: 0; box-shadow: none; }
}

/* signed-in email, shown beside the sign-out button */
.who-am-i {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 760px) { .who-am-i { display: none; } }

/* "Invite" beside a user - a proper small button rather than bare text */
.btn-invite {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy);
  font-size: 12.5px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn-invite:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(245,106,35,.18);
}