:root {
  color-scheme: dark;
  /* Exact visual provider: Core 877c48a, admin/dolly-theme.css. */
  --admin-ground: #0d0e14;
  --admin-surface: #15161e;
  --admin-raised: #1e1f27;
  --admin-field: #292d32;
  --admin-ink: #cbcdde;
  --admin-muted: #a0a3b6;
  --admin-accent: #edff00;
  --admin-line: #343643;
  --admin-hover: #252630;
  --admin-radius: 16px;
  --admin-pill: 24px;
  --admin-panel-shadow:
    0 12px 24px #0004, inset 0 8px 28px #ffffff07, inset 0 1px 0 #ffffff09;
  --control-border: #575b6e;
  --bg: var(--admin-ground);
  --surface: var(--admin-surface);
  --line: var(--admin-line);
  --text: var(--admin-ink);
  --muted: var(--admin-muted);
  --accent: var(--admin-accent);
  font-family: "Helvetica Neue", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 55% 110%, #151a3280, transparent 65%),
    var(--admin-ground);
  color: var(--text);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button {
  transition:
    background 0.16s,
    color 0.16s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:hover {
  background: var(--admin-hover);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
svg {
  display: block;
}
.preview {
  min-height: 52px;
  padding: 12px 32px;
  background: var(--admin-raised);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--admin-muted);
  font-size: 12px;
}
.preview strong {
  font-weight: 600;
  color: var(--text);
}
.preview select {
  padding: 5px 8px;
  background: var(--admin-field);
  border: 1px solid var(--control-border);
  border-radius: 8px;
  color: var(--admin-ink);
  font-size: 12px;
}
.preview label {
  display: flex;
  gap: 12px;
  align-items: center;
}
.shell {
  max-width: 1480px;
  min-height: calc(100svh - 52px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.brand-side {
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--admin-line);
  background: transparent;
}
.wordmark {
  font-weight: 650;
  font-size: 26px;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.wordmark span {
  font-weight: 400;
  color: var(--admin-muted);
}
.intro {
  margin: auto 0;
  padding: 72px 0;
  max-width: 450px;
}
.intro h1 {
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.intro p {
  color: var(--admin-muted);
  line-height: 1.65;
  font-size: 17px;
  max-width: 34ch;
  margin: 0;
}
.products {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}
.product-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
}
.product-icon {
  color: var(--accent);
  width: 24px;
  height: 24px;
}
.product-row strong {
  font-size: 15px;
  font-weight: 500;
  display: block;
}
.product-row small {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.brand-foot {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-foot svg {
  width: 15px;
  height: 15px;
}
.login-side {
  padding: 48px 64px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.destination {
  align-self: flex-end;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--admin-muted);
}
.destination svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.form-wrap {
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 58px 0;
}
.form-wrap h2 {
  font-size: 32px;
  letter-spacing: -0.03em;
  font-weight: 550;
  margin: 0 0 12px;
}
.subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 30px;
}
.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.secondary {
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #4e5161;
  background: var(--admin-raised);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  margin: 26px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 9px;
  color: var(--admin-muted);
}
.field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--control-border);
  background: var(--admin-field);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--admin-ink);
  caret-color: var(--admin-ink);
  outline-offset: 2px;
  box-shadow: none;
  font-weight: 500;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}
.label-row label {
  margin: 0;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--admin-muted);
  font-size: 12px;
}
.text-button:hover {
  background: none;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.primary {
  min-height: 48px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #15160d;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: none;
}
.primary:hover {
  background: #f2ff5c;
}
.primary svg {
  width: 17px;
  height: 17px;
}
.help {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}
.help .text-button {
  font-size: 12px;
  color: var(--admin-ink);
}
.foot {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding-top: 16px;
}
.foot p {
  margin: 0;
  line-height: 1.7;
}
.demo-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
  line-height: 1.55;
}
.back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin: 0 0 30px;
}
.back svg {
  width: 16px;
  height: 16px;
}
.state-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 28px;
}
.state-copy {
  line-height: 1.7;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.code {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 20px !important;
}
.hidden {
  display: none !important;
}
.result {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
  color: var(--admin-ink);
  line-height: 1.7;
  font-size: 14px;
}
.result strong {
  display: block;
  color: var(--text);
}
.screen {
  position: relative;
  isolation: isolate;
}
.screen::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  pointer-events: none;
  border-radius: var(--admin-radius);
  background: var(--admin-surface);
  box-shadow: var(--admin-panel-shadow);
}
.secondary:hover:not(:disabled) {
  background: #2b2d38;
  border-color: #707489;
}
* {
  scrollbar-color: #555968 transparent;
  scrollbar-width: thin;
}
/* Exact Core NavigationSwitch geometry, scaled within existing controls. */
.primary,
.secondary {
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.primary:hover,
.secondary:hover:not(:disabled) {
  background: transparent;
  border: 0;
}
.primary > .control-shape,
.secondary > .control-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 4px 8px #0004);
}
.primary .switch-fill {
  fill: var(--admin-accent);
}
.secondary .switch-fill {
  fill: var(--admin-raised);
}
.control-shape .switch-highlight {
  stroke: #fff;
  stroke-opacity: 0.090196;
}
.primary:hover:not(:disabled) .switch-fill {
  fill: #f2ff5c;
}
.secondary:hover:not(:disabled) .switch-fill {
  fill: #2b2d38;
}
.audio-logo {
  display: block;
  width: 94px;
  height: 30px;
  object-fit: contain;
}
.wordmark {
  gap: 18px;
}
.wordmark span {
  color: var(--admin-ink);
  padding-left: 18px;
  border-left: 1px solid var(--admin-line);
}
@media (max-width: 1050px) {
  .brand-side {
    padding: 36px;
  }
  .login-side {
    padding: 36px;
  }
  .intro h1 {
    font-size: 48px;
  }
}
@media (max-width: 760px) {
  .screen::before {
    inset: -16px;
  }
  .preview {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .shell {
    display: block;
    min-height: calc(100svh - 78px);
  }
  .brand-side {
    padding: 28px 24px;
    background: var(--bg);
    border: 0;
  }
  .wordmark {
    font-size: 23px;
  }
  .mark {
    width: 26px;
    height: 26px;
  }
  .intro,
  .brand-foot {
    display: none;
  }
  .login-side {
    padding: 0 24px 24px;
  }
  .destination {
    align-self: flex-start;
    margin: 0 0 36px;
  }
  .form-wrap {
    padding: 0 0 40px;
    max-width: 440px;
  }
  .form-wrap h2 {
    font-size: 30px;
  }
  .foot {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.shell {
  min-height: 100svh;
}
.selector-shell {
  min-height: 100svh;
  max-width: 1080px;
  margin: auto;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
}
.selector-content {
  margin: auto 0;
  padding: 64px 0;
}
.selector-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.service-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  color: var(--admin-ink);
  background: var(--admin-surface);
  border-radius: 16px;
  box-shadow: var(--admin-panel-shadow);
  text-decoration: none;
  padding: 48px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  transition:
    background 0.16s,
    transform 0.16s;
}
.service-card:hover {
  background: var(--admin-hover);
  transform: translateY(-3px);
}
.service-card img {
  width: min(100%, 220px);
  height: 102px;
  object-fit: contain;
  margin: auto;
}
.service-card img[src$="swivel-os.svg"] {
  filter: invert(1);
}
.service-card .license-label {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 12px 0 auto;
}
.service-card .service-name {
  font-size: 16px;
  font-weight: 500;
  margin: 32px 0 12px;
}
.service-card .service-action {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--admin-accent);
}
.service-card svg {
  width: 18px;
  height: 18px;
}
.error-copy {
  color: var(--admin-ink);
  line-height: 1.65;
  padding-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .selector-shell {
    padding: 28px 24px;
  }
  .selector-content {
    padding: 48px 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    min-height: 240px;
    padding: 32px 24px 24px;
  }
  .service-card img {
    height: 86px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
}
