/* Nexus Dialer. Dark black-and-gold theme throughout, no white surfaces. */
:root {
  color-scheme: dark;
  --ink: #15140F;
  --ink-2: #2A2416;
  --gold: #C9A54C;
  --gold-hi: #F3D98D;
  --gold-mid: #E8CD85;
  --gold-lo: #B38C2E;
  --gold-deep: #8C6A1C;
  --gold-tint: #2E2819;
  --page: #0F0E0B;
  --card: #1B1914;
  --well: #13120E;
  --fill: #24211A;
  --fill-2: #2A261D;
  --line: #3A3528;
  --line-2: #2F2B21;
  --edge: #5A5240;
  --text: #F3EFE6;
  --text-2: #D6CFBF;
  --muted: #A89F8C;
  --on-dark: #F3EFE6;
  --on-dark-2: #BDB5A4;
  --dark: linear-gradient(160deg, var(--ink-2), var(--ink) 70%);
  --gold-btn: linear-gradient(180deg, #F0D78C, var(--gold));
  --gold-text: #E8CD85;
  --link: #E8CD85;
  --shadow: inset 0 0 0 1px var(--line-2), 0 10px 24px -14px rgba(0, 0, 0, .8);
  --radius: 14px;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Literata', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
a { color: var(--link); }
a:hover { color: var(--gold-hi); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 10px 20px 12px;
  background: radial-gradient(120% 160% at 0% 0%, var(--ink-2) 0%, var(--ink) 55%); color: var(--on-dark);
}
.top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi) 30%, var(--gold) 60%, var(--gold-deep));
}
.brand { position: relative; display: block; width: 42px; height: 44px; flex: none; }
.brand img { display: block; width: 42px; height: 44px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 0 12px rgba(201, 165, 76, .3)); }
.brand-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url('/nexus-mark.png') center / 100% 100% no-repeat; mask: url('/nexus-mark.png') center / 100% 100% no-repeat;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 248, 220, .85) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; animation: nx-shine 2.2s cubic-bezier(.4, 0, .2, 1) .5s 1 both;
}
@keyframes nx-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs a { color: var(--on-dark); text-decoration: none; font-weight: 600; border-radius: 8px; padding: 8px 14px; }
.tabs a:hover { background: rgba(243, 217, 141, .12); color: var(--on-dark); }
.tabs a[aria-current='page'] { background: linear-gradient(180deg, var(--gold-mid), var(--gold)); color: var(--ink); }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark-2); }
.link-btn { background: transparent; border: 1px solid #4A4436; color: var(--on-dark); border-radius: 999px; padding: 5px 12px; font-weight: 600; }
.link-btn:hover { border-color: var(--gold); }

.toast { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 20px; background: var(--ink); color: var(--gold-hi); border-bottom: 2px solid var(--gold); font-weight: 600; }
.toast.is-error { background: var(--ink); color: var(--on-dark); border-bottom-color: var(--gold-hi); }
.toast button { margin-left: auto; background: transparent; color: var(--on-dark); border: 1px solid var(--gold-deep); border-radius: 6px; padding: 4px 10px; }

.loading { padding: 40px 20px; color: var(--muted); text-align: center; }

/* Sign-in */
.signin { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 24px 16px; }
.signin-card { width: min(420px, 100%); background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.signin-card h1 { font-size: 26px; font-weight: 800; }
.signin-card p { color: var(--text-2); }
#gbtn { color-scheme: light; min-height: 44px; } /* lets Google's button sit on the dark card without a white box */
.signin-err { color: var(--gold-text); font-weight: 700; }

/* Layout */
.board { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px; align-items: flex-start; }
.queue { flex: 1 1 250px; max-width: 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lead-col { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.side { flex: 1 1 440px; max-width: 560px; min-width: 0; position: sticky; top: 12px; max-height: calc(100vh - 24px); display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }

/* Pills and chips */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 800; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.c-hot { background: var(--gold-btn); color: var(--ink); }
.c-warm { background: var(--gold-tint); color: var(--gold-text); box-shadow: inset 0 0 0 1px var(--gold-mid); }
.c-land, .c-house, .c-needs, .c-disc { background: var(--well); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.c-gold { background: var(--gold-tint); color: var(--gold-text); }
.c-slate { background: var(--fill-2); color: var(--text-2); }
.c-brand { background: var(--well); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-deep); }

/* Queue */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; background: var(--dark); box-shadow: inset 0 0 0 1px #4A4436; }
.tile b { font-size: 26px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.tile span { font-size: 12px; font-weight: 700; color: #E7E1D4; }
.q-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.q-count { color: var(--gold); font-weight: 800; }
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q-item {
  text-align: left; width: 100%; border: 2px solid var(--card); border-left: 6px solid var(--gold-lo); background: var(--card); border-radius: 10px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2);
}
.q-item:hover { border-color: var(--gold-mid); color: var(--text); }
.q-item.is-hot { border-left-color: var(--gold-hi); }
.q-item[aria-current='true'] { background: var(--gold-tint); border-color: var(--gold); }
.q-item .row1 { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.q-item .row1 span { font-weight: 500; font-size: 12px; color: var(--muted); white-space: nowrap; }
.q-item .row2 { font-size: 13px; color: var(--text-2); }
.q-item .row3 { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.q-empty { font-size: 13px; color: var(--muted); }

/* Lead header */
.lead-top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }
.lead-id { flex: 1 1 260px; min-width: 0; display: flex; gap: 14px; align-items: flex-start; }
.type-tile { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--dark); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.type-tile svg { width: 28px; height: 28px; }
.lead-id h1 { font-size: 28px; line-height: 1.1; font-weight: 800; overflow-wrap: anywhere; }
.lead-id .addr { margin-top: 6px; color: var(--text-2); }
.lead-id .meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.call-box { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.call-btn {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0;
  background: var(--gold-btn); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; border-radius: 12px; padding: 14px 22px;
  box-shadow: inset 0 0 0 1px var(--gold-lo), 0 8px 20px -10px rgba(140, 106, 28, .9);
}
.call-btn:hover { background: linear-gradient(180deg, var(--gold-mid), var(--gold-lo)); color: var(--ink); }
.call-btn::after { /* shimmer, after Magic UI's shimmer button */
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 250, 230, .55) 50%, transparent 65%);
  background-size: 250% 100%; animation: nx-shimmer 3.2s ease-in-out infinite;
}
@keyframes nx-shimmer { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.call-btn svg { width: 20px; height: 20px; }
.call-btn.is-off { background: var(--line); color: var(--text-2); box-shadow: none; }
.call-btn.is-off::after { display: none; }
.call-note { font-size: 12px; color: var(--muted); text-align: center; }
.call-note.is-warn { color: var(--gold-text); font-weight: 600; max-width: 240px; }
.jump-script { display: none; }

.outcomes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.outcomes > .small { margin-right: 4px; }
.o-btn { border: 1.5px solid; border-radius: 8px; padding: 7px 12px; font-weight: 700; font-size: 14px; }
.o-move_disc { background: var(--well); color: var(--gold-hi); border-color: var(--gold); }
.o-offer_made { background: var(--gold-btn); color: var(--ink); border-color: var(--gold-lo); }
.o-callback { background: var(--gold-tint); color: var(--gold-text); border-color: var(--gold-mid); }
.o-no_answer { background: var(--fill); color: var(--text); border-color: var(--edge); }
.o-not_interested { background: transparent; color: var(--text-2); border-color: var(--edge); }
.o-btn:hover { filter: brightness(.96); }
.o-btn:disabled { opacity: .6; }
.o-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: var(--fill); border-radius: 10px; padding: 10px 12px; }
.o-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }

/* Property */
.prop { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.media { flex: 1 1 280px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--fill); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption, .map figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; color: var(--text); background: rgba(15, 14, 11, .82); border-radius: 6px; padding: 2px 6px; }
.photo button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.photo button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.map { grid-column: 1 / -1; position: relative; margin: 0; height: 220px; border-radius: 10px; overflow: hidden; background: var(--fill); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.55) sepia(.25); }
.facts-col { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { font-size: 13px; font-weight: 700; border: 1.5px solid; border-radius: 8px; padding: 5px 10px; text-decoration: none; }
.links a { background: var(--well); color: var(--gold-hi); border-color: var(--gold-deep); }
.links a:hover { background: var(--gold-tint); color: var(--gold-hi); border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 7, 5, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 14px; background: var(--gold-btn); color: var(--ink); border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; }

/* Texts */
.msgs { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 78%; border-radius: 12px; padding: 8px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.in { align-self: flex-start; background: var(--gold-tint); }
.msg.out { align-self: flex-end; background: var(--gold-btn); color: var(--ink); }
.msg.out small { color: #4A3B17; opacity: 1; }
.msg small { display: block; font-size: 11.5px; opacity: .8; margin-top: 2px; }

/* Calls */
.call { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.call-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.score { font-weight: 800; font-size: 15px; border-radius: 10px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.s-good { background: var(--gold-btn); color: var(--ink); }
.s-mid { background: var(--gold-tint); color: var(--gold-text); box-shadow: inset 0 0 0 1px var(--gold-mid); }
.s-low { background: var(--fill); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--edge); }
.s-none { background: var(--fill-2); color: var(--muted); }
.listen { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--edge); border-radius: 8px; padding: 4px 10px; }
.call-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.box { border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.box h3 { font-size: 14px; }
.box.points { background: var(--fill); box-shadow: inset 3px 0 0 var(--gold); } .box.points h3 { color: var(--gold); }
.box.next { background: var(--gold-tint); } .box.next h3 { color: var(--gold-text); }
.box.coach { background: var(--well); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--gold-deep); } .box.coach h3 { color: var(--gold-hi); }
details summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--link); min-height: 28px; }
.transcript { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 14px; }
.transcript .seller { color: var(--link); }
.transcript .rep { color: var(--text); }

/* Side panel */
.side-tabs { display: flex; gap: 6px; padding: 6px; flex: none; background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 2px solid var(--gold); }
.side-tabs button { flex: 1; border: 0; border-radius: 9px; background: transparent; color: var(--on-dark); padding: 10px; font-weight: 700; }
.side-tabs button:hover { background: rgba(243, 217, 141, .12); }
.side-tabs button[aria-selected='true'] { background: linear-gradient(180deg, var(--gold-mid), var(--gold)); color: var(--ink); }
.side-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; min-height: 0; }
.seg { display: inline-flex; border: 1.5px solid var(--gold-deep); border-radius: 8px; overflow: hidden; align-self: flex-start; }
.seg button { border: 0; padding: 5px 12px; font-weight: 600; background: var(--fill); color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--gold-btn); color: var(--ink); }
.script-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.steps button { border: 1.5px solid var(--line); background: var(--fill); color: var(--text); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.steps button.done { background: var(--fill-2); }
.steps button[aria-current='step'] { background: var(--gold-btn); border-color: var(--gold-lo); color: var(--ink); }
.script { font-family: var(--serif); font-size: 22px; line-height: 1.6; display: flex; flex-direction: column; gap: 12px; }
.script h3 { font-size: 27px; line-height: 1.2; font-weight: 600; align-self: flex-start; color: var(--gold-hi); padding-bottom: 4px; border-bottom: 2px solid var(--gold-deep); }
.script .sub { margin-top: 6px; font-family: var(--sans); font-size: 15px; font-weight: 700; }
.script .li { display: flex; gap: 10px; }
.script .li::before { content: '◆'; color: var(--gold); flex: none; }
.script .li strong { font-family: var(--sans); font-size: 18px; }
.script .note { font-family: var(--sans); font-size: 16px; font-style: italic; color: var(--muted); background: var(--fill); border-radius: 8px; padding: 8px 10px; }
.step-nav { display: flex; gap: 8px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-top: 12px; }
.btn { border: 1.5px solid var(--edge); background: var(--fill); border-radius: 8px; padding: 8px 14px; font-weight: 600; }
.btn-dark { border: 0; background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-deep); border-radius: 8px; padding: 8px 16px; font-weight: 700; }
.btn-dark { border: 1px solid var(--gold); }
.btn-dark:hover { color: var(--ink); background: var(--gold-btn); }

/* Analyzer */
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.field input, .field select { font-size: 16px; padding: 9px 10px; border: 1.5px solid var(--edge); border-radius: 8px; background: var(--well); color: var(--text); font-weight: 400; }
.field input::placeholder { color: #7C735F; }
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 165, 76, .35); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.levels { display: flex; gap: 6px; }
.levels button { flex: 1; border: 1.5px solid var(--edge); background: var(--fill); border-radius: 8px; padding: 7px; font-weight: 600; }
.levels button[aria-pressed='true'] { background: var(--gold-tint); border-color: var(--gold-lo); }
fieldset.items { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; margin: 0; }
fieldset.items legend { font-size: 13px; font-weight: 600; padding: 0 4px; }
.items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
.items-grid label { display: flex; gap: 8px; align-items: center; font-size: 14px; min-height: 30px; }
.items-grid input { width: 18px; height: 18px; accent-color: var(--gold); }
.result { display: flex; flex-direction: column; gap: 8px; background: radial-gradient(120% 140% at 0% 0%, #3A301A, var(--well) 65%); color: var(--on-dark); border: 1.5px solid var(--gold-deep); border-radius: 12px; padding: 12px 14px; }
.result .line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.result .line + .line.split { border-top: 1px solid #4A4436; padding-top: 8px; }
.result strong { font-variant-numeric: tabular-nums; }
.result .big { font-size: 26px; color: var(--gold-hi); }
.result .mid { font-size: 20px; color: var(--gold-mid); }
.result .math { font-size: 12.5px; color: var(--on-dark-2); }

/* Team */
.wide { padding: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.wide > .main { flex: 999 1 560px; min-width: 0; }
.wide > .aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; border-top: 1px solid var(--line-2); padding: 10px 2px; }
.row .grow { flex: 1 1 220px; min-width: 0; }
.row select { font-size: 15px; padding: 7px 8px; border: 1.5px solid var(--edge); border-radius: 8px; background: var(--well); color: var(--text); }
.person { background: var(--card); border-radius: 12px; border-left: 4px solid var(--gold); padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.person .email { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.person .ok { color: var(--link); font-weight: 700; font-size: 13px; }
.person .warn { color: var(--text); font-weight: 700; font-size: 13px; }
.person .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.person .acts button { font-size: 13px; padding: 5px 10px; }
.bot-card .field input { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }

/* Coaching */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.stat { border-radius: 12px; padding: 12px 14px; background: var(--dark); box-shadow: inset 0 0 0 1px #4A4436; color: var(--on-dark-2); }
.stat .k { font-size: 13px; font-weight: 700; color: #E7E1D4; }
.stat .v { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.bar { height: 10px; background: var(--well); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 55%, var(--gold-hi)); }
.miss { display: flex; flex-direction: column; gap: 4px; }
.miss .top-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.miss .top-line strong { white-space: nowrap; }
.card select { font-size: 15px; padding: 6px 8px; border: 1.5px solid var(--edge); border-radius: 8px; background: var(--well); color: var(--text); }

.fade-in { animation: nx-fade .28s ease-out both; }
@keyframes nx-fade { from { opacity: 0; transform: translateY(4px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 900px) {
  .side { position: static; max-height: none; }
  .queue { max-width: none; }
  .jump-script { display: block; }
}
@media (max-width: 560px) {
  .top { padding: 8px 12px 10px; gap: 8px 12px; }
  .who-name { display: none; }
  .board, .wide { padding: 10px; gap: 12px; }
  .card { padding: 14px; }
  .lead-id h1 { font-size: 24px; }
  .call-box { min-width: 0; width: 100%; }
  .script { font-size: 20px; }
  .script h3 { font-size: 24px; }
  .grid2, .items-grid { grid-template-columns: minmax(0, 1fr); }
  .msg { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .brand-shine { display: none; }
}
