/* Auto Armor client experience. Same tokens, type and traced parts as autoarmorncm.com. */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400 600; font-display: swap; src: url(/fonts/HankenGrotesk.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/InstrumentSerif-italic.woff2) format('woff2'); }
@font-face { font-family: 'Michroma'; font-weight: 400; font-display: swap; src: url(/fonts/Michroma.woff2) format('woff2'); }
@font-face { font-family: 'AA Display'; font-weight: 400 900; font-display: swap; src: url(/fonts/SairaX-800.woff2) format('woff2'); }
@font-face { font-family: 'AA Action'; font-weight: 400 900; font-display: swap; src: url(/fonts/SairaX-700.woff2) format('woff2'); }

:root {
  --carbon: #0A0A0B; --graphite: #141416; --panel: #1B1C1F;
  --line: rgba(241, 237, 228, .14); --line-strong: rgba(241, 237, 228, .28);
  --silver: #A9ACB2; --dim: #6F7177; --bone: #F1EDE4; --paper: #F4F1EA; --ink: #151515;
  --red: #C8102E; --red-hi: #E0132F; --sky: #F2C200;
  --display: 'AA Display', 'Arial Black', sans-serif; --action: 'AA Action', Arial, sans-serif;
  --label: 'Michroma', Arial, sans-serif; --voice: 'Instrument Serif', Georgia, serif; --body: 'Hanken Grotesk', system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--carbon); color: var(--bone); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .98; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.label { font: 400 10.5px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; }
.voice { font-family: var(--voice); font-style: italic; font-weight: 400; text-transform: none; }
.sky { color: var(--sky); } .muted { color: var(--silver); } .dim { color: var(--dim); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--sky); }
.eyebrow svg { color: var(--red); flex-shrink: 0; }
.blade-under { display: block; margin-top: 14px; color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: the taillight-housing cut */
.btn {
  --cut: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 calc(24px + var(--cut)) 0 24px; background: var(--red); color: #fff; border: 0;
  font: 700 13px/1 var(--action); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: background .2s;
}
.btn:hover { background: var(--red-hi); }
.btn svg { flex-shrink: 0; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn--light { background: var(--bone); color: var(--carbon); }
.btn--light:hover { background: #fff; }
.btn--small { min-height: 42px; font-size: 12px; --cut: 12px; padding: 0 calc(16px + var(--cut)) 0 16px; }
.btn--wide { width: 100%; justify-content: space-between; }
.ghost {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong);
  font: 400 10px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--bone); white-space: nowrap; transition: border-color .2s;
}
.ghost:hover { border-color: var(--bone); }
.ghost svg { flex-shrink: 0; }
.ghost--danger { color: #ff8a98; border-color: rgba(255, 120, 140, .35); }
.textlink { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--bone); }

/* Fields */
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font: 400 9.5px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--silver); white-space: nowrap; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px; background: rgba(241, 237, 228, .04); border: 1px solid var(--line-strong); border-radius: 0;
  font: 500 16px/1.2 var(--body); color: var(--bone); transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 12px 14px; min-height: 84px; line-height: 1.45; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A9ACB2' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: var(--panel); color: var(--bone); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--bone); background: rgba(241, 237, 228, .07); }
.field input[type=color] { padding: 4px; cursor: pointer; }
.msg { font-size: 14px; color: var(--silver); }
.msg.err { color: #ff8a98; }

/* Watermark: the client's name and email over every page and over the video */
.wm { position: fixed; inset: -50%; z-index: 40; pointer-events: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 64px 80px; transform: rotate(-24deg); opacity: .06; mix-blend-mode: difference; overflow: hidden; font: 400 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; user-select: none; }
@media print { .wm { opacity: .12; } }

/* ---------- sign-in, invitation, open ---------- */
.gate { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.gate__photo { position: relative; overflow: hidden; background: #000; }
.gate__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.gate__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--carbon)); }
.gate__photo svg.gate__eyes { position: absolute; left: var(--gutter); bottom: 32px; z-index: 1; color: var(--red); }
.gate__side { display: flex; flex-direction: column; padding: 34px var(--gutter) 30px; min-width: 0; }
.gate__logo img { height: 46px; width: auto; aspect-ratio: 270 / 242; }
.gate__box { margin: auto 0; width: 100%; max-width: 440px; padding: 40px 0; }
.gate__box h1 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 52px); }
.gate__box .voice { display: block; margin-top: 10px; font-size: 22px; color: var(--bone); }
.gate__box > p:not(.eyebrow) { margin-top: 14px; color: var(--silver); font-size: 16px; }
.gate__form { margin-top: 28px; display: grid; gap: 14px; }
.gate__done { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.gate__done b { font: 700 15px/1.2 var(--action); letter-spacing: .1em; text-transform: uppercase; }
.gate__foot { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--dim); }
.gate__foot a { color: var(--silver); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.gate__foot a:hover { color: var(--bone); }
.gate__foot svg { color: var(--red); }
@media (max-width: 860px) {
  .gate { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .gate__photo { height: 26vh; min-height: 170px; order: -1; }
  .gate__photo::after { background: linear-gradient(180deg, transparent 40%, var(--carbon)); }
  .gate__photo svg.gate__eyes { display: none; }
  .gate__side { padding-top: 0; margin-top: -54px; position: relative; z-index: 1; }
  .gate__box { padding: 26px 0 34px; margin: 0; }
}

/* ---------- client page ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.bar__logo img { height: 42px; width: auto; aspect-ratio: 270 / 242; }
@media (max-width: 700px) { .bar { padding-top: 16px; padding-bottom: 16px; } .bar__logo img { height: 34px; } }
.preview-note { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px var(--gutter); background: var(--sky); color: var(--carbon); font: 400 10px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; text-align: center; }

.page { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.hello { padding: 18px 0 30px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.hello h1 { margin-top: 14px; font-size: clamp(36px, 5.6vw, 72px); }
.hello__car { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--bone); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); flex-shrink: 0; box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .35); }
.codes { display: flex; flex-wrap: wrap; gap: 8px; }
.code { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); font: 400 11px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.code b { font-weight: 400; color: var(--red); }
.code--solid { background: var(--bone); color: var(--carbon); border-color: var(--bone); }

.grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1000px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 2.4vw, 24px); background: #000; }
.player__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.player__cover > *:not(img) { position: relative; }
.player__title { font: 700 clamp(19px, 2.6vw, 30px)/1 var(--action); text-transform: uppercase; max-width: 80%; }
.player__play { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s, background .2s; }
.player__play:hover { background: var(--red-hi); transform: translate(-50%, -50%) scale(1.06); }
.player__play svg { margin-left: 4px; color: #fff; }
.player__soon { color: var(--silver); font-size: 15px; max-width: 420px; }

.ask { margin-top: 16px; padding: 22px 24px 24px; background: var(--graphite); border: 1px solid var(--line); }
.ask__q { margin-top: 10px; font: 700 clamp(20px, 2.2vw, 26px)/1.15 var(--action); text-transform: uppercase; }
.ask__opts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); font: 700 12.5px/1 var(--action); letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--bone); }
.opt--go { background: var(--red); border-color: var(--red); color: #fff; }
.opt--go:hover { background: var(--red-hi); border-color: var(--red-hi); }
.ask__reply { margin-top: 14px; color: var(--silver); }

.chapters { margin-top: 20px; border-top: 1px solid var(--line); }
.chapters li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 6px; border-bottom: 1px solid var(--line); }
.chapters li.is-open { cursor: pointer; }
.chapters li.is-open:hover { background: rgba(241, 237, 228, .03); }
.chapters li.is-now { background: rgba(200, 16, 46, .09); }
.chapters .n { font: 400 11px/1 var(--label); color: var(--red); }
.chapters b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.chapters small { display: block; font-size: 13.5px; color: var(--dim); }
.chapters li.is-locked b { color: var(--dim); }
.chapters .st { display: inline-flex; align-items: center; gap: 7px; font: 400 9.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.chapters li.is-open .st { color: var(--sky); }

.talk { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 24px; border: 1px solid var(--line); }
.talk p { font-size: 16px; }
.talk p .voice { font-size: 21px; display: block; color: var(--bone); }
.talk__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* Window sticker: the estimate laid out like the Monroney label they already know */
.sticker { background: var(--paper); color: var(--ink); border: 1px solid #d8d2c5; font-size: 14px; position: sticky; top: 24px; }
@media (max-width: 1000px) { .sticker { position: static; } }
.sticker__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--paper); }
.sticker__head span:last-child { color: var(--sky); }
.sticker__body { padding: 18px 18px 20px; }
.sticker__row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #d9d3c6; }
.sticker__row > span:first-child { white-space: nowrap; font: 400 9px/1.5 var(--label); letter-spacing: .12em; text-transform: uppercase; color: #77706a; padding-top: 2px; }
.sticker__row > span:last-child { font-weight: 600; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sticker__h { margin-top: 18px; font: 400 9.5px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.sticker__lines { margin-top: 8px; }
.sticker__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px dotted #bdb5a6; }
.sticker__lines li b { font-weight: 600; display: block; }
.sticker__lines li small { display: block; color: #6d665e; font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.sticker__lines li em { font-style: normal; font: 400 10px/1.6 var(--label); letter-spacing: .08em; color: #5f5952; white-space: nowrap; }
.sticker__empty { padding: 10px 0; color: #77706a; font-size: 13.5px; }
.sticker__total { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sticker__total span:first-child { font: 700 15px/1 var(--action); text-transform: uppercase; letter-spacing: .04em; }
.sticker__total strong { font: 800 26px/1 var(--display); letter-spacing: 0; }
.sticker__total .pending { font: 400 10px/1.4 var(--label); letter-spacing: .12em; text-transform: uppercase; color: #77706a; text-align: right; }
.sticker__note { margin-top: 12px; font-size: 13px; color: #5f5952; line-height: 1.5; }
.sticker__fine { margin-top: 14px; font-size: 11.5px; color: #77706a; line-height: 1.45; }
.sticker__bars { margin-top: 16px; color: var(--red); }

.foot { margin-top: 56px; padding: 26px var(--gutter) 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13.5px; color: var(--dim); }
.foot a { color: var(--silver); text-decoration: none; }

.loading { min-height: 100vh; display: grid; place-items: center; color: var(--dim); }
.loading svg { color: var(--red); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .loading svg { animation: none; } }

/* ---------- staff ---------- */
.staff-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); height: 72px; background: rgba(10, 10, 11, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.staff-bar img { height: 36px; width: auto; aspect-ratio: 270 / 242; }
.tabs { display: flex; gap: 24px; }
.tabs button { position: relative; padding: 10px 0; font: 400 10.5px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: rgba(241, 237, 228, .7); }
.tabs button[aria-selected=true], .tabs button:hover { color: #fff; }
.tabs button svg { position: absolute; left: 0; bottom: -6px; color: var(--red); opacity: 0; }
.tabs button[aria-selected=true] svg { opacity: 1; }
.staff-bar__me { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--silver); white-space: nowrap; }
@media (max-width: 760px) {
  .staff-bar { height: auto; flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; padding-bottom: 12px; }
  .staff-bar img { height: 30px; }
  .tabs { order: 3; width: 100%; gap: 22px; }
  .staff-bar__me .who { display: none; }
}
.staff { width: 100%; max-width: 1280px; margin: 0 auto; padding: 32px var(--gutter) 120px; }
.staff-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.staff-head h1 { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
.tools { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.tools .input { max-width: 340px; min-height: 44px; }
.alert { margin-top: 20px; padding: 14px 18px; border: 1px solid rgba(255, 120, 140, .4); background: rgba(200, 16, 46, .08); font-size: 14px; }
.alert b { color: #ff9aa6; }

.clist { margin-top: 22px; border-top: 1px solid var(--line); }
.clist li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 120px minmax(0, 1.3fr) 24px; gap: 18px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.clist li:hover { background: rgba(241, 237, 228, .03); }
.clist .nm b { display: block; font-weight: 600; }
.clist .nm small, .clist small { display: block; color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clist .car { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clist .car span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clist .when { font: 400 10px/1.4 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.clist .chev { color: var(--dim); }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--silver); min-width: 0; }
.status .dots { display: inline-flex; gap: 4px; flex-shrink: 0; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dim); }
.dots i.on { background: var(--bone); border-color: var(--bone); }
.dots i.film { background: var(--sky); border-color: var(--sky); }
.empty { padding: 40px 8px; color: var(--silver); }
@media (max-width: 860px) {
  .clist li { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 12px; }
  .clist li > :not(.nm):not(.chev) { grid-column: 1; }
  .clist .chev { grid-row: 1; grid-column: 2; }
}

.editor { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; margin-top: 26px; }
@media (max-width: 1080px) { .editor { grid-template-columns: minmax(0, 1fr); } }
.editor__side { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 1080px) { .editor__side { position: static; } }
.card { border: 1px solid var(--line); background: var(--graphite); padding: 22px; }
.card + .card { margin-top: 18px; }
.card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__h h2 { font-size: 19px; }
.card__h p { font-size: 14px; color: var(--silver); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.row2 + .row2, .row2 + .row3, .row3 + .row2, .row3 + .row3, .row2 + .field, .row3 + .field { margin-top: 14px; }
@media (max-width: 620px) { .row2, .row3 { grid-template-columns: minmax(0, 1fr); } }
.color-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 70px; gap: 14px; margin-top: 14px; }
@media (max-width: 620px) { .color-row { grid-template-columns: minmax(0, 1fr) 90px 60px; gap: 10px; } }
.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) 120px 40px; gap: 10px; align-items: end; }
.line .x { height: 50px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--silver); }
.line .x:hover { border-color: #ff8a98; color: #ff8a98; }
@media (max-width: 620px) { .line { grid-template-columns: minmax(0, 1fr) 110px 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .line .field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }
.add { margin-top: 14px; }
.slots { display: grid; gap: 14px; }
.films { margin-top: 16px; display: grid; gap: 8px; }
.films li, .vlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.films li small, .vlist li small { color: var(--dim); }
.upl { display: grid; gap: 12px; }
.upl input[type=file] { font-size: 14px; color: var(--silver); }
.progress { height: 4px; background: rgba(241, 237, 228, .14); }
.progress i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }
.acts { display: grid; gap: 10px; }
.acts .ghost { justify-content: flex-start; width: 100%; min-height: 46px; }
.deliv { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.deliv b { font-weight: 600; }
.events { max-height: 340px; overflow: auto; }
.events li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.events li span:first-child { color: var(--dim); font-size: 12.5px; }
.savebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 14px var(--gutter); background: rgba(14, 14, 16, .96); border-top: 1px solid var(--line); }
.savebar .msg { margin-right: auto; }
.vlist { margin-top: 16px; }
.vrow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vrow small { display: block; margin-top: 6px; color: var(--dim); font-size: 13px; }
.vrow .acts2 { display: flex; gap: 8px; }
@media (max-width: 760px) { .vrow { grid-template-columns: minmax(0, 1fr); } }
.meter { display: grid; gap: 8px; min-width: 240px; }
.meter small { color: var(--silver); font-size: 13px; }
.peek { margin-top: 12px; background: #000; }
.team li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.team li small { display: block; color: var(--dim); font-size: 13px; }
.team li.off b { color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; background: var(--bone); color: var(--carbon); font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* ---------- invitation card (print) ---------- */
.card-page { min-height: 100vh; display: grid; place-items: center; gap: 22px; padding: 30px 16px; background: #2a2a2d; }
.invite { width: 5in; height: 7in; max-width: 100%; position: relative; overflow: hidden; background: var(--carbon); color: var(--bone); display: flex; flex-direction: column; padding: .5in .45in .42in; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.invite::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(200, 16, 46, .55); pointer-events: none; }
.invite__logo { height: .62in; width: auto; aspect-ratio: 270 / 242; }
.invite__by { margin-top: .32in; color: var(--sky); }
.invite__hi { margin-top: .12in; font: 400 30px/1.12 var(--voice); font-style: italic; }
.invite__p { margin-top: .14in; font-size: 14px; line-height: 1.5; color: var(--silver); max-width: 3.4in; }
.invite__qr { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.invite__qr .qr { width: 1.45in; height: 1.45in; background: var(--bone); padding: 7px; }
.invite__qr .qr svg { width: 100%; height: 100%; }
.invite__url { font: 400 7.5px/1.5 var(--label); letter-spacing: .1em; color: var(--dim); text-transform: uppercase; overflow-wrap: anywhere; max-width: 2.2in; }
.invite__bars { color: var(--red); margin-top: 8px; }
.card-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media print {
  @page { size: 5in 7in; margin: 0; }
  body { background: none; }
  .card-page { display: block; padding: 0; background: none; min-height: 0; }
  .card-tools { display: none; }
  .invite { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }

/* staff spacing and narrow-screen fixes (QA 11/2) */
.staff > .ghost:first-child { margin-bottom: 22px; }
.field > span { overflow: hidden; text-overflow: ellipsis; }
.slots .field > span { white-space: normal; line-height: 1.5; }
.color-row + .row2, .lines + .add + .row2, .add + .row2 { margin-top: 14px; }
.add + .row2 + .field, .row2 + .field { margin-top: 14px; }
.films + .upl, .card__h + .films { margin-top: 12px; }
.slots + .card__h { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .card__h { flex-direction: column; align-items: flex-start; gap: 4px; } .card { padding: 18px; } }
@media screen and (max-width: 540px) { .invite { zoom: .74; } }
.editor > * { min-width: 0; }
.editor__side { grid-template-columns: minmax(0, 1fr); }
.acts .ghost { white-space: normal; text-align: left; line-height: 1.4; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 620px) { .savebar { flex-wrap: wrap; gap: 10px; } .savebar .msg { flex-basis: 100%; } .savebar .msg:empty { display: none; } }
.invite__logo { align-self: flex-start; }
.invite__url { max-width: 2.5in; word-break: break-all; }
