:root {
  --paper: #f4f6f3;
  --surface: #ffffff;
  --ink: #18201d;
  --muted: #66716c;
  --line: #d6ddd8;
  --line-strong: #aab6af;
  --green: #147d64;
  --green-soft: #dcefe8;
  --yellow: #e7b930;
  --yellow-soft: #fff4c6;
  --red: #be443b;
  --red-soft: #f9e4e1;
  --blue: #28658f;
  --shadow: 0 12px 32px rgba(24, 32, 29, 0.09);
  --rail-width: 208px;
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(40, 101, 143, 0.28);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #f8fbf9;
  border-right: 1px solid #2f3b36;
  z-index: 10;
}

.rail-brand {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #39453f;
}

.rail-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.rail-brand small {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
  color: #b9c5bf;
}

.rail-nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.nav-item {
  min-height: 48px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #aebbb5;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-item:hover {
  color: #fff;
  border-color: #46534d;
}

.nav-item.is-active {
  color: #fff;
  background: #26312c;
  border-color: #46534d;
}

.nav-index {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 11px;
  color: #6f8178;
}

.nav-item.is-active .nav-index {
  color: #58c5a3;
}

.rail-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8fa098;
  font-size: 11px;
}

.environment-chip {
  max-width: 120px;
  padding: 4px 7px;
  overflow: hidden;
  border: 1px solid #405048;
  border-radius: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace {
  grid-column: 2;
  min-width: 0;
  padding: 0 36px 54px;
}

.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar h1,
.progress-header h2 {
  margin: 0;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 650;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-state {
  min-height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border: 1px solid #b5d9cc;
  border-radius: 3px;
  color: #0d624e;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 125, 100, 0.12);
}

.live-state[data-state="ready"] {
  background: var(--yellow-soft);
  border-color: #e7d27d;
  color: #71570b;
}

.live-state[data-state="ready"] .status-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(231, 185, 48, 0.16);
}

.live-state[data-state="stopped"] {
  background: #edf1ee;
  border-color: var(--line);
  color: var(--muted);
}

.live-state[data-state="stopped"] .status-dot {
  background: #89958f;
  box-shadow: 0 0 0 4px rgba(102, 113, 108, 0.12);
}

.quiet-command,
.primary-command {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 3px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.quiet-command {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.quiet-command:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.primary-command {
  border: 1px solid #0e6c55;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 14px rgba(20, 125, 100, 0.16);
}

.primary-command:hover {
  background: #0f6e57;
  transform: translateY(-1px);
}

.primary-command:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.primary-command.danger-command {
  border-color: #9f332d;
  background: var(--red);
  box-shadow: 0 6px 14px rgba(190, 68, 59, 0.16);
}

.primary-command.danger-command:hover {
  background: #a93730;
}

.metrics-band {
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  animation: reveal 360ms ease both;
}

.metric {
  min-width: 0;
  padding: 22px 18px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.metric + .metric {
  padding-left: 18px;
}

.metric:last-child {
  border-right: 0;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
	font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
	font-size: 18px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

#metric-search {
	font-size: 15px;
}

.metric-accent strong {
  color: var(--blue);
}

.view-panel {
  animation: reveal 300ms ease both;
}

.view-panel[hidden] {
  display: none;
}

.settings-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 34px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: start;
  gap: 12px;
}

.section-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
}

.section-heading h2 {
  margin: 1px 0 6px;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 18px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.field-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.secret-label-row label {
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field textarea {
  min-height: 132px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.65;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #78877f;
}

.mode-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.mode-field legend {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
}

.segmented-control {
  min-height: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: #e7ebe8;
}

.segmented-option {
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-strong);
  cursor: pointer;
}

.segmented-option:last-child {
  border-right: 0;
}

.segmented-option input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented-option span {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background 140ms ease, color 140ms ease;
}

.segmented-option input:checked + span {
  background: var(--ink);
  color: #fff;
}

.segmented-option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

[data-research-search-field] {
  transition: opacity 140ms ease;
}

[data-research-search-field].is-inactive {
  opacity: 0.52;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 101, 143, 0.10);
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}

.field-meta {
  color: var(--muted);
  font-size: 11px;
}

.secret-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.secret-status {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #edf1ee;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.secret-status.is-set {
  background: var(--green-soft);
  border-color: #b5d9cc;
  color: #0d624e;
}

.checkbox-row {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--red);
}

.save-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  min-height: 74px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(244, 246, 243, 0.96);
  border-top: 1px solid var(--line-strong);
}

.save-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.service-gate {
  min-height: 96px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.service-gate-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-gate-mark {
  width: 10px;
  height: 44px;
  flex: none;
  background: var(--green);
}

.service-gate h2 {
  margin: 0 0 5px;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 18px;
}

.service-gate p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.service-gate .primary-command {
  min-width: 104px;
}

.progress-header {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.progress-header time {
  color: var(--muted);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
}

.progress-list {
  display: grid;
}

.progress-row {
  min-height: 110px;
  display: grid;
  grid-template-columns: 48px minmax(170px, 0.35fr) minmax(0, 1fr) 76px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.progress-index {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
  color: var(--muted);
}

.progress-name {
  display: grid;
  gap: 7px;
}

.progress-name strong {
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 16px;
}

.progress-state {
  width: max-content;
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}

.progress-state.complete,
.progress-state.active {
  background: var(--green-soft);
  color: #0d624e;
}

.progress-state.attention {
  background: var(--yellow-soft);
  color: #71570b;
}

.progress-state.blocked {
  background: var(--red-soft);
  color: #8f2d27;
}

.progress-detail {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.progress-value {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 20px;
  text-align: right;
}

.progress-meter {
  grid-column: 2 / -1;
  height: 4px;
  margin-top: -24px;
  background: #e2e7e3;
  overflow: hidden;
}

.progress-meter > span {
  display: block;
  height: 100%;
  background: var(--green);
}

.channel-header {
  min-height: 126px;
}

.channel-state {
  min-width: 86px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.channel-state[data-phase="connected"] {
  border-color: #b5d9cc;
  background: var(--green-soft);
  color: #0d624e;
}

.channel-state[data-phase="waiting_scan"],
.channel-state[data-phase="starting"] {
  border-color: #dfc86e;
  background: var(--yellow-soft);
  color: #71570b;
}

.channel-state[data-phase="failed"],
.channel-state[data-phase="expired"] {
  border-color: #dfaaa5;
  background: var(--red-soft);
  color: #8f2d27;
}

.channel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.channel-summary > div {
  min-width: 0;
  padding: 22px 18px 22px 0;
  display: grid;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.channel-summary > div + div {
  padding-left: 18px;
}

.channel-summary > div:last-child {
  border-right: 0;
}

.channel-summary span {
  color: var(--muted);
  font-size: 11px;
}

.channel-summary strong {
  overflow: hidden;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.authorization-zone {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: 34px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.authorization-copy {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: start;
  gap: 12px;
}

.authorization-copy > div {
  min-width: 0;
}

.authorization-copy h3 {
  margin: 1px 0 8px;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 18px;
}

.authorization-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.authorization-terminal {
  min-width: 0;
  border: 1px solid #35413b;
  background: #111815;
  color: #dce7e1;
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.12);
}

.terminal-bar {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #35413b;
  color: #81938a;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 10px;
}

.authorization-terminal pre {
  min-height: 330px;
  max-height: 520px;
  margin: 0;
  padding: 20px;
  overflow: auto;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 9px;
  line-height: 1;
  white-space: pre;
}

.auth-link {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-top: 1px solid #35413b;
  color: #70d6b5;
  font-size: 12px;
  text-decoration: none;
}

.auth-link[hidden] {
  display: none;
}

.auth-link:hover {
  background: #19231f;
  color: #fff;
}

.channel-actions {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.progress-row[data-status="attention"] .progress-meter > span {
  background: var(--yellow);
}

.progress-row[data-status="blocked"] .progress-meter > span {
  background: var(--red);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  max-width: min(380px, calc(100vw - 32px));
  min-height: 44px;
  padding: 12px 16px;
  display: none;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.toast.is-visible {
  display: flex;
  animation: toast-in 180ms ease both;
}

.toast.is-error {
  background: var(--red);
  border-color: #8f2d27;
}

.login-body {
  background: var(--ink);
  color: #fff;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr);
}

.login-brand {
  padding: clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #3b4742;
}

.brand-index {
  color: #71847a;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
}

.login-brand h1 {
  margin: 0;
  max-width: 520px;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
	font-size: 72px;
  line-height: 0.96;
  font-weight: 650;
}

.login-subtitle {
  margin: 20px 0 0;
  color: #aebdb5;
  font-size: 15px;
}

.login-facts {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-facts div {
  padding-top: 12px;
  border-top: 1px solid #435149;
}

.login-facts dt {
  color: #788c81;
  font-size: 10px;
}

.login-facts dd {
  margin: 7px 0 0;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 12px;
}

.login-form-zone {
  padding: 32px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
}

.login-form {
  width: min(420px, 100%);
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-heading h2 {
  margin: 0;
  font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif;
  font-size: 22px;
}

.login-form > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 650;
}

.login-form > input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fbfcfb;
}

.login-form .primary-command {
  width: 100%;
  margin-top: 24px;
}

.form-error {
  margin: 10px 0 0;
  color: var(--red);
  font-size: 12px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  :root {
    --rail-width: 76px;
  }

  .rail {
    padding-inline: 10px;
  }

  .rail-brand {
    justify-content: center;
  }

  .rail-brand small,
  .nav-item > span:last-child,
  .rail-foot .environment-chip {
    display: none;
  }

  .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rail-foot {
    justify-content: center;
  }

  .workspace {
    padding-inline: 24px;
  }

  .metrics-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .settings-section {
    grid-template-columns: 1fr;
  }

  .authorization-zone {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .app-shell {
    display: block;
  }

  .rail {
    position: sticky;
    top: 0;
    width: 100%;
    height: 66px;
    padding: 8px 14px;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #3b4742;
  }

  .rail-brand {
    min-height: 48px;
    border: 0;
  }

  .rail-brand > span {
    width: 38px;
    height: 38px;
  }

  .rail-nav {
    margin: 0 0 0 auto;
    display: flex;
  }

  .nav-item {
    width: 44px;
    min-height: 42px;
    padding: 0;
  }

  .rail-foot {
    display: none;
  }

  .workspace {
    padding: 0 16px 42px;
  }

  .topbar {
    min-height: 94px;
  }

  .topbar h1 {
    font-size: 23px;
  }

  .live-state {
    display: none;
  }

  .metrics-band {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    min-height: 88px;
    padding-block: 16px;
  }

  .metric strong {
    font-size: 15px;
  }

  .field-grid,
  .field-grid-three {
    grid-template-columns: 1fr;
  }

  .settings-section {
    padding-block: 28px;
    gap: 24px;
  }

  .save-bar {
    position: static;
    margin-inline: 0;
    padding-inline: 0;
  }

  .service-gate {
    align-items: stretch;
    flex-direction: column;
  }

  .service-gate .primary-command {
    width: 100%;
  }

  .progress-row {
    grid-template-columns: 34px minmax(0, 1fr) 58px;
    gap: 12px;
    padding: 20px 0 28px;
  }

  .progress-detail {
    grid-column: 2 / -1;
  }

  .progress-meter {
    grid-column: 2 / -1;
    margin-top: -8px;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 44vh;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid #3b4742;
  }

  .login-brand h1 {
    font-size: 46px;
  }

  .login-facts {
    margin-top: 30px;
  }

  .login-form-zone {
    min-height: 56vh;
    padding: 24px 16px;
  }

  .login-form {
    padding: 26px 22px;
  }

  .channel-summary {
    grid-template-columns: 1fr;
  }

  .channel-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .channel-state {
    min-width: 0;
  }

  .channel-summary > div,
  .channel-summary > div + div {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .channel-summary > div:last-child {
    border-bottom: 0;
  }

  .authorization-zone {
    gap: 24px;
    padding-block: 28px;
  }

  .authorization-terminal pre {
    min-height: 280px;
    padding: 14px;
    font-size: 7px;
  }

  .channel-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    padding: 16px 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
