/* VLPremier Pro · production additions on top of the approved prototype CSS (tokens/base/components are untouched).
   Only NEW selectors live here: form honeypot + result line, sign-in / installer screens, admin extras. */

/* Public forms */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.45; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }
.form-msg.form-blocked { flex-basis: 100%; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); border-radius: var(--r-ctl); background: color-mix(in srgb, var(--danger) 8%, transparent); }
form[data-form-blocked] button[type="submit"] { opacity: .45; filter: grayscale(1); cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* Sign-in and installer screens: one centred column */
.solo { min-height: 100dvh; display: grid; place-items: start center; padding: clamp(40px, 8vh, 96px) var(--gutter) 56px; }
.solo-in { width: min(100%, 460px); }
.solo-in.wide { width: min(100%, 720px); }
.solo .brand { margin-bottom: 28px; }
.solo h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.solo .say { margin-top: 10px; color: var(--muted); }
.solo .card { margin-top: 24px; }
.solo form > * + * { margin-top: 20px; }
.solo .field-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.alert { padding: 12px 14px; border: 1px solid var(--line); border-left: 2px solid var(--danger); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; background: var(--surface); color: var(--text); font-size: 14px; }
.alert.ok { border-left-color: var(--ok); }
.alert.warn { border-left-color: var(--warn); }
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); font: 500 var(--fs-meta)/1 var(--font-mono); color: var(--muted); }
.steps li::before { content: counter(s); }
.steps li[aria-current] { border-color: var(--accent); color: var(--text); }
.steps li.done { color: var(--ok); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.checks li:first-child { border-top: 0; }
.checks small { grid-column: 2; color: var(--muted); }
progress.bar { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
progress.bar::-webkit-progress-bar { background: var(--surface-2); }
progress.bar::-webkit-progress-value { background: var(--accent); }
progress.bar::-moz-progress-bar { background: var(--accent); }

/* Admin extras */
.pop form { margin: 0; }
.pop .pop-btn { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--text); font: 500 14px var(--font-display); text-align: left; cursor: pointer; }
.pop .pop-btn:hover { background: var(--surface); }
.adm-sec + .adm-sec { margin-top: 28px; }
.logs { margin: 0; padding: 14px 16px; max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--bg); font: 400 12px/1.6 var(--font-mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.cell-wrap { overflow-wrap: break-word; } /* 2026-10-25: was anywhere, which let a cell shrink to one letter per line */
.table-cards .tbl td.cell-wrap { overflow-wrap: anywhere; }
.qr { display: inline-block; padding: 8px; border-radius: var(--r-panel); background: #fff; line-height: 0; }
.qr svg { width: 200px; height: 200px; }
.mono { font-family: var(--font-mono); }
.key { font: 500 15px/1.6 var(--font-mono); letter-spacing: .06em; overflow-wrap: anywhere; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.codes li { padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-ctl); font: 500 15px/1 var(--font-mono); letter-spacing: .06em; text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters .select, .filters .input[type="date"] { width: auto; min-height: 48px; font-size: 14px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }
fieldset.plain { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.plain[disabled] { opacity: .7; }
.form-stack > * + * { margin-top: 20px; }
@media (max-width: 719px) { .filters > * { flex: 1 1 140px; } }

/* Short message pages: account placeholder, 404 and other errors */
.msg-page { padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 120px)); padding-bottom: var(--section-y); }
.msg-page .lede { margin-top: 24px; }
.msg-page .btn-row { margin-top: 32px; }
.msg-page .code { display: block; margin-bottom: 20px; font: 500 var(--fs-label)/1 var(--font-mono); letter-spacing: .08em; color: var(--muted); }

/* ---------------------------------------------------------------- Phase 004 CMS: public output (new selectors only) */
.cms-columns { display: grid; gap: 24px; margin-block: 24px; }
@media (min-width: 720px) { .cms-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cms-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cms-column > * + * { margin-top: 12px; }
.cms-embed { position: relative; aspect-ratio: 16 / 9; margin-block: 24px; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.cms-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cms-video video { width: 100%; height: auto; display: block; border-radius: var(--r-panel); }
.cms-body { padding-bottom: var(--section-y); }
.cms-body > * + * { margin-top: 16px; }
.cms-body :is(h2, h3) { margin-top: 36px; }
.cms-preview-flag { position: fixed; left: 12px; bottom: 12px; z-index: var(--z-toast); padding: 6px 10px; border-radius: var(--r-ctl); background: var(--warn); color: #111; font: 600 var(--fs-meta)/1 var(--font-mono); letter-spacing: .04em; pointer-events: none; }

/* ---------------------------------------------------------------- Phase 004 CMS: admin */
.btn-xs { min-height: 30px; padding: 0 8px; font-size: 13px; }
.row-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-meta .chip + .chip { margin-left: 4px; }
.ed-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .ed-layout { grid-template-columns: 220px minmax(0, 1fr) 280px; } }
@media (min-width: 760px) and (max-width: 1099px) { .ed-layout { grid-template-columns: 200px minmax(0, 1fr); } .ed-rail { grid-column: 1 / -1; } }
.ed-menu { position: sticky; top: calc(var(--top-h) + 16px); max-height: calc(100dvh - var(--top-h) - 32px); overflow-y: auto; }
.ed-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ed-menu [role="tab"] { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid transparent; border-radius: var(--r-ctl); background: none; color: var(--muted); font: 500 14px/1.3 var(--font-display); text-align: left; cursor: pointer; }
.ed-menu [role="tab"]:hover { color: var(--text); background: var(--surface); }
.ed-menu [role="tab"][aria-selected="true"] { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.pill { flex: none; width: 9px; height: 9px; border-radius: 50%; font-size: 0; background: var(--ok); }
.pill.warn { background: var(--warn); }
.pill.danger { background: var(--danger); }
@media (max-width: 759px) {
  .ed-menu { position: static; max-height: none; }
  .ed-menu ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .ed-menu li { flex: 1 1 auto; }
  .ed-menu [role="tab"] { border-color: var(--line); }
}
.ed-panel { min-width: 0; }
.ed-panel > h2 { font-size: 20px; }
.ed-panel > .say { margin: 6px 0 18px; color: var(--muted); max-width: 70ch; }
.ed-panel > h2:focus { outline: none; }
.ed-steps { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.ed-rail { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 1099px) { .ed-rail { position: static; } }
.ed-rail-h { font-size: 16px; margin-bottom: 12px; }
.ed-rail .field { margin-bottom: 12px; }
.ed-rail-btns { display: grid; gap: 8px; }
.ed-rail .card > p { margin-top: 10px; }
.ed-prev-card .btn-row { margin: 10px 0; }
.ed-default-btn { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ed-h3 { margin: 28px 0 12px; font-size: 16px; }
.ed-sched { margin: 20px 0; }
.seo-checks { margin: 20px 0; }  /* blog editor SEO checklist (2026-10-26) */
.seo-checks h3 { font-size: 16px; margin-bottom: 4px; }
.seo-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.seo-checklist li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: var(--fs-sm); }
.seo-checklist .chip { justify-self: start; }
.ed-sched h3 { font-size: 16px; margin-bottom: 4px; }
.ed-sched .row, .md-url .row, .pk-url .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.ed-sched .input, .md-url .input, .pk-url .input { flex: 1 1 220px; width: auto; }
.fld { padding: 16px 0; border-top: 1px solid var(--line); }
.fld:first-of-type { border-top: 0; }
.fld-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.fld-h label { font-size: 14px; font-weight: 600; }
.fld-key { font: 400 var(--fs-micro)/1 var(--font-mono); color: var(--muted); }
.fld-h .btn { margin-left: auto; }
.fld.is-error :is(.input, .textarea, .wys-area) { border-color: var(--danger); }
.wys { display: grid; }
.wys-bar { position: sticky; top: var(--top-h); z-index: 2; display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--r-ctl) var(--r-ctl) 0 0; background: var(--surface-2); }
.wys-b { min-width: 32px; height: 30px; padding: 0 7px; border: 0; border-radius: 4px; background: none; color: var(--text); font: 500 13px/1 var(--font-display); cursor: pointer; }
.wys-b:hover { background: var(--surface); }
.wys-b[aria-pressed="true"] { background: var(--accent); color: var(--primary-ink, #fff); }
.wys-b:disabled { opacity: .35; cursor: not-allowed; }
.wys-area { min-height: 120px; max-height: 70vh; overflow: auto; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 0 0 var(--r-ctl) var(--r-ctl); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }
.wys-area.is-inline { min-height: 46px; }
.wys-area:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(45 140 235 / .35); }
.wys-area > * + * { margin-top: 10px; }
.wys-area .ln { display: block; }
.wys-area img { max-width: 100%; height: auto; }
.wys-area .cms-columns { outline: 1px dashed var(--line-strong); padding: 8px; }
.wys-area .cms-column { outline: 1px dotted var(--line); padding: 6px; }
.wys .textarea { border-radius: 0 0 var(--r-ctl) var(--r-ctl); }
.mf { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; align-items: start; }
.mf-prev { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); overflow: hidden; }
.mf-prev img { width: 100%; height: 100%; object-fit: cover; }
.mf-body { display: grid; gap: 10px; min-width: 0; }
.mf-src { font-size: var(--fs-meta); color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 519px) { .mf { grid-template-columns: minmax(0, 1fr); } .mf-prev { max-width: 220px; } }
.lf-rows { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.lf-row { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.lf-ctl { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.lf-n { margin-right: auto; font-size: var(--fs-meta); color: var(--muted); }
.lf-fields { display: grid; gap: 10px; }
.serp { margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); max-width: 640px; }
.serp b { display: block; color: #8AB4F8; font-weight: 500; font-size: 18px; }
.serp span { display: block; margin: 2px 0 4px; font-size: 12px; color: var(--ok); }
.serp p { font-size: 14px; color: var(--muted); }
[data-count-for].is-over { color: var(--warn); }
.modal.ed-preview { width: min(1280px, calc(100% - 32px)); }
.ed-preview .modal-h { gap: 12px; }
.ed-preview .seg { margin-left: auto; }
.ed-preview .seg button { min-height: 34px; }
.pv-stage { position: relative; height: min(72vh, 820px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); }
.pv-stage iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: var(--bg); }
.pv-stage[data-size="phone"] iframe { left: 50%; transform-origin: 50% 0; translate: -50% 0; }
.diff { display: grid; gap: 0; }
.diff-row { padding: 12px 0; border-top: 1px solid var(--line); }
.diff-k { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.diff-v { font-size: 14px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.diff del { background: rgb(255 107 107 / .18); color: var(--text); text-decoration: line-through; }
.diff ins { background: rgb(41 214 152 / .18); color: var(--text); text-decoration: none; }
.nv-list, .nv-cols { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.nv-row { display: grid; grid-template-columns: auto minmax(120px, 1fr) minmax(160px, 1.4fr) minmax(130px, .8fr) auto auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); }
.nv-row .field { gap: 0; }
.nv-row > .nv-subs { grid-column: 1 / -1; padding: 6px 0 2px 28px; display: grid; gap: 6px; }
.nv-subs .nv-list { margin: 0; }
.nv-subs > p { margin: 0; font-size: 13px; }
.nv-row .select, .nv-col .select { min-height: 44px; font-size: 14px; }
.nv-tab { min-height: 0; padding-top: 0; font-size: 13px; white-space: nowrap; }
.nv-grip { cursor: grab; color: var(--muted); padding: 0 4px; user-select: none; font-size: 18px; }
.nv-acts { display: flex; gap: 4px; }
.nv-row.is-drag, .nv-col.is-drag { opacity: .5; }
.nv-col-h { display: grid; grid-template-columns: auto minmax(0, 1fr) 140px auto; gap: 10px; align-items: end; }
@media (max-width: 899px) { .nv-row { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); } .nv-row .nv-tab, .nv-row .nv-acts { grid-column: 2 / -1; } .nv-col-h { grid-template-columns: auto minmax(0, 1fr); } }
.rd-form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; margin: 16px 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.rd-form .btn-row { grid-column: 1 / -1; }
.sm-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; overflow-wrap: anywhere; }
.insp { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 16px; }
.insp-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.insp-list .danger { color: var(--danger); }
.dz { padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-panel); background: var(--bg); text-align: center; color: var(--muted); transition: border-color var(--t-tap), background-color var(--t-tap); }
.dz.is-over { border-color: var(--accent); background: rgb(45 140 235 / .08); }
.dz b { color: var(--text); }
.dz-sm { padding: 12px; margin: 12px 0; }
.dz-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; text-align: left; font-size: 13px; }
.dz-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
.dz-list li span { overflow-wrap: anywhere; }
.dz-list li.ok b { color: var(--ok); font-weight: 500; }
.dz-list li.err b { color: var(--danger); font-weight: 500; }
.dz-list progress { width: 120px; }
.md-add { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 960px) { .md-add { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.md-force { min-height: 0; padding-top: 0; font-size: 13px; }
.md-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.md-card { position: relative; display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.md-card:has(:checked) { border-color: var(--accent); }
.md-ck { position: absolute; top: 12px; left: 12px; z-index: 1; }
.md-ck input { width: 20px; height: 20px; accent-color: var(--accent); }
.md-th { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-ctl); background: var(--bg); overflow: hidden; }
.md-th img { width: 100%; height: 100%; object-fit: cover; }
.md-th.sm { width: 56px; flex: none; }
.md-ico { font-size: 26px; color: var(--muted); }
.md-t { font-size: 14px; font-weight: 600; }
.md-t a { color: inherit; text-decoration: none; }
.md-m { font-size: var(--fs-micro); color: var(--muted); }
.md-warn { color: var(--warn); }
.md-row { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.fp { position: relative; cursor: crosshair; line-height: 0; }
.fp img { width: 100%; height: auto; border-radius: var(--r-ctl); }
.fp-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 2px 8px rgb(0 0 0 / .5); pointer-events: none; }
.pk .modal-b { max-height: 72vh; overflow: auto; }
.pk-top { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-top .search { flex: 3 1 240px; }
.pk-top .select { flex: 1 1 140px; width: auto; min-height: 48px; }
.pk-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); grid-auto-rows: max-content; }
.pk-tile { display: grid; gap: 4px; width: 100%; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.pk-tile:hover, .pk-tile:focus-visible { border-color: var(--accent); }
.pk-t { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.pk-m { font-size: var(--fs-micro); color: var(--muted); }
.pk-more { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; }
[aria-busy="true"] { opacity: .6; transition: opacity .2s; }
