/* Roote platform console: prospect demos. */

.checks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: var(--s-2); }
.input-color { padding: 0.25rem; height: 2.75rem; cursor: pointer; }

/* Wizard: form on the left, a live preview that stays in view on the right. */
.demo-wizard { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--s-4); align-items: start; max-width: 68rem; }
.demo-preview-wrap { position: sticky; top: var(--s-4); display: grid; gap: var(--s-2); }
@media (max-width: 60rem) { .demo-wizard { grid-template-columns: minmax(0, 1fr); } .demo-preview-wrap { position: static; } }

.demo-preview { padding: var(--s-4); display: grid; gap: var(--s-3); justify-items: start; }
.dp-bar { display: flex; align-items: center; gap: var(--s-2); }
.dp-crest { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; background: var(--p-brand); color: #fff; font-family: var(--font-serif, serif); font-weight: 600; }
.dp-name { font-family: var(--font-serif, serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.dp-motto { color: var(--ink-3); font-style: italic; font-size: var(--t-sm); min-height: 1em; }
.dp-btn { display: inline-flex; padding: 0.55rem 1.4rem; border-radius: 999px; background: var(--p-brand); color: #fff; font-weight: 700; font-size: var(--t-sm); }
.dp-chip { display: inline-flex; padding: 0.15rem 0.6rem; border-radius: 999px; border: 2px solid var(--p-accent); font-size: var(--t-xs); font-weight: 700; }

/* Demo page */
.demo-progress { height: 0.5rem; border-radius: 999px; background: var(--ground-2); overflow: hidden; }
.demo-progress > span { display: block; height: 100%; background: var(--business-brand); transition: width .4s; }
.link-once { display: flex; gap: var(--s-2); align-items: center; }
.link-once input { flex: 1; min-width: 0; }
.usage-bar { display: block; height: 0.4rem; border-radius: 999px; background: var(--business-brand); opacity: .75; min-width: 0.25rem; }
.danger-zone { border-color: var(--neg-line, var(--line)); }

/* Console header on phones: name and links on one line, the signed-in name hidden. */
@media (max-width: 40rem) {
  .briefing-bar { flex-wrap: wrap; gap: var(--s-2); }
  .briefing-bar > .muted { display: none; }
  .briefing-bar b { white-space: nowrap; }
  .briefing-nav a { white-space: nowrap; }
}

/* WL-3 console */
.briefing-nav { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.state { display: inline-flex; align-items: center; gap: 4px; }
.state-active { color: var(--pos); } .state-expiring { color: var(--warn); } .state-grace, .state-read_only { color: var(--warn); font-weight: 600; } .state-restricted, .state-suspended { color: var(--neg); font-weight: 600; } .state-none { color: var(--ink-3); }
.console-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--s-4); align-items: start; }
.dns { font-family: var(--font-mono); font-size: var(--t-xs); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: var(--s-2) var(--s-3); overflow-x: auto; white-space: nowrap; }
.confirm-code { max-width: 14rem; }
