:root {
  color-scheme: dark;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  --page: #07111c;
  --header: #08131f;
  --sidebar: #0d1926;
  --main: #101d2a;
  --surface: #172534;
  --selected: #18374a;
  --border: #2a3b4d;
  --border-strong: #3c5268;
  --text: #f4f7fa;
  --muted: #9aaabd;
  --weak: #718096;
  --accent: #2dd4bf;
  --warning: #f59e0b;
  --danger: #ef5350;
  --header-height: 68px;
  --sidebar-width: 320px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--page);
  color: var(--text);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 32px 20px;
  background: #0a1522;
}

.login-stack {
  width: min(630px, 100%);
}

.login-brand {
  margin-bottom: 32px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.login-brand span,
.app-brand span {
  font-weight: 600;
}

.login-panel {
  display: grid;
  padding: 52px 58px 58px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #111d2b;
  box-shadow: 0 22px 70px rgb(0 0 0 / 18%);
}

.login-panel h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.login-intro {
  margin: 14px 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.field-label {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.field-label:not(:first-of-type) {
  margin-top: 26px;
}

.login-panel input,
.search-field input {
  width: 100%;
  border: 1px solid var(--border-strong);
  outline: none;
  background: #101b29;
  color: var(--text);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.login-panel input {
  height: 70px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
}

.login-panel input::placeholder,
.search-field input::placeholder {
  color: var(--weak);
  opacity: 1;
}

.login-panel input:focus,
.search-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(45 212 191 / 12%);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 64px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
}

.icon-button:hover {
  background: rgb(255 255 255 / 5%);
  color: var(--text);
}

.icon-button:focus-visible,
.logout-button:focus-visible,
.employee-list-button:focus-visible,
.filter-button:focus-visible,
.employee-row:focus-visible,
.primary-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.icon-button svg {
  width: 24px;
  height: 24px;
}

.password-toggle {
  position: absolute;
  top: 13px;
  right: 10px;
}

.form-error {
  margin: 12px 0 0;
  color: #ff8a86;
  font-size: 13px;
  line-height: 1.5;
}

.primary-button {
  height: 64px;
  margin-top: 44px;
  border: 1px solid #35dfcb;
  border-radius: 8px;
  background: #20adad;
  color: #f8ffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.primary-button:hover {
  background: #25bcbc;
}

.primary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.login-footnote {
  margin: 34px 0 0;
  color: var(--weak);
  font-size: 13px;
  text-align: center;
}

.app-shell {
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  background: var(--page);
}

.app-header {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto auto auto;
  align-items: center;
  height: var(--header-height);
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--header);
}

.app-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.view-only-status,
.header-action-button,
.supervisor-name,
.logout-button {
  border-left: 1px solid var(--border);
}

.view-only-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.view-only-status svg {
  width: 22px;
  height: 22px;
}

.supervisor-name {
  padding: 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.logout-button,
.header-action-button,
.employee-list-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 0 0 22px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.logout-button:hover,
.header-action-button:hover,
.employee-list-button:hover {
  color: var(--text);
}

.logout-button svg,
.header-action-button svg,
.employee-list-button svg {
  width: 21px;
  height: 21px;
}

.employee-list-button {
  display: none;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
}

.header-action-button {
  padding: 0 18px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.workspace {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  height: calc(100% - var(--header-height));
}

.employee-sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  min-width: 0;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
}

.mobile-drawer-title {
  display: none;
}

.search-field {
  position: relative;
  padding: 22px 18px 14px;
}

.search-field svg {
  position: absolute;
  top: 39px;
  left: 34px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  height: 52px;
  padding: 0 14px 0 48px;
  border-radius: 8px;
  font-size: 14px;
}

.employee-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  padding: 0 18px;
}

.filter-button {
  position: relative;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-button::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  background: transparent;
  content: "";
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--accent);
}

.filter-button.is-active::after {
  background: var(--accent);
}

.employee-table-head,
.employee-row {
  display: grid;
  grid-template-columns: 1.15fr 0.68fr 0.74fr 0.86fr 0.92fr;
  align-items: center;
  min-width: 0;
  column-gap: 7px;
}

.employee-table-head {
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.employee-list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: var(--border-strong) transparent;
}

.employee-row {
  position: relative;
  width: 100%;
  min-height: 74px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.employee-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
  content: "";
}

.employee-row:hover {
  background: rgb(255 255 255 / 3%);
}

.employee-row.is-selected {
  background: var(--selected);
}

.employee-row.is-selected::before {
  background: var(--accent);
}

.employee-cell {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.employee-avatar {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(45 212 191 / 38%);
  border-radius: 50%;
  background: rgb(45 212 191 / 18%);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  place-items: center;
}

.employee-state {
  color: var(--danger);
  font-weight: 600;
}

.employee-state.is-online,
.employee-vpn.is-connected {
  color: var(--accent);
}

.employee-vpn.is-warning {
  color: var(--warning);
  font-weight: 600;
}

.empty-roster {
  margin: 0;
  padding: 42px 24px;
  color: var(--weak);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.viewer {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  background: var(--main);
}

.viewer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px 28px;
  border-bottom: 1px solid rgb(42 59 77 / 58%);
}

.selected-avatar {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #239fa0;
  color: #efffff;
  font-size: 20px;
  font-weight: 700;
  place-items: center;
}

.selected-identity {
  min-width: 0;
}

.selected-identity h1 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.selected-statuses {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 12px;
}

.inline-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.inline-status svg {
  width: 18px;
  height: 18px;
}

.status-dot {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--weak);
}

.inline-status.is-online,
.connection-state.is-connected {
  color: var(--accent);
}

.inline-status.is-online .status-dot,
.connection-state.is-connected .status-dot {
  background: var(--accent);
}

.inline-status.is-warning {
  color: var(--warning);
}

.inline-status.is-offline,
.connection-state.is-offline {
  color: var(--danger);
}

.inline-status.is-offline .status-dot,
.connection-state.is-offline .status-dot {
  background: var(--danger);
}

.live-stage {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 0 28px 22px;
  place-items: start center;
}

.live-screen {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #05090e;
  box-shadow: 0 16px 46px rgb(0 0 0 / 24%);
  place-items: center;
  scrollbar-color: #496078 #0a1119;
  scrollbar-width: thin;
}

.live-canvas {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  background: #020406;
}

.screen-zoom-controls {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 42px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgb(79 104 130 / 78%);
  border-radius: 9px;
  background: rgb(5 9 14 / 88%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  backdrop-filter: blur(8px);
}

.screen-zoom-button {
  display: grid;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #d5e0eb;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  place-items: center;
}

.screen-zoom-button:hover:not(:disabled),
.screen-zoom-button:focus-visible {
  outline: none;
  background: #1c3447;
  color: #ffffff;
}

.screen-zoom-button:disabled {
  color: #536475;
  cursor: default;
}

.screen-zoom-fit {
  min-width: 64px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
}

.screen-zoom-fit[aria-pressed="true"] {
  background: rgb(45 212 191 / 12%);
}

.live-indicator {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgb(239 83 80 / 58%);
  border-radius: 999px;
  background: rgb(5 9 14 / 82%);
  color: #ffaaa7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.live-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgb(239 83 80 / 14%);
}

.media-placeholder {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  max-width: 460px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  place-items: center;
}

.media-placeholder svg {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: #567087;
  stroke-width: 1.4;
}

.media-placeholder h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
}

.media-placeholder p {
  margin: 10px 0 0;
  color: var(--weak);
  font-size: 13px;
}

.viewer-footer {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.footer-divider {
  align-self: stretch;
  width: 1px;
  height: 26px;
  margin: auto 22px;
  background: var(--border-strong);
}

.drawer-backdrop {
  display: none;
}

.modal-layer {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.modal-layer-nested {
  z-index: 60;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(2 7 12 / 78%);
  cursor: default;
}

.account-manager-panel,
.password-reset-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--sidebar);
  box-shadow: 0 24px 80px rgb(0 0 0 / 48%);
}

.account-manager-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 100%);
  max-height: min(900px, calc(100vh - 56px));
  max-height: min(900px, calc(100svh - 56px));
  overflow: hidden;
}

.account-manager-header,
.password-reset-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.account-manager-header h2,
.password-reset-panel h2 {
  margin: 0;
  font-size: 21px;
}

.account-manager-header p,
.password-reset-panel header p,
.section-heading p,
.release-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.account-manager-content {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.release-card,
.account-create-card,
.account-roster-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
}

.release-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
}

.release-card h3,
.section-heading h3 {
  margin: 0;
  font-size: 15px;
}

.release-hash {
  overflow-wrap: anywhere;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.account-create-card {
  padding: 16px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.account-form-grid {
  display: grid;
  grid-template-columns:
    minmax(135px, 0.8fr)
    minmax(150px, 1fr)
    minmax(135px, 1fr)
    minmax(145px, 1fr)
    minmax(145px, 1fr)
    auto;
  align-items: end;
  gap: 10px;
}

.account-form-grid label,
.password-reset-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.account-form-grid input,
.password-reset-panel input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  outline: 0;
  background: #0c1824;
  color: var(--text);
}

.account-form-grid input:focus,
.password-reset-panel input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(45 212 191 / 13%);
}

.primary-compact-button,
.secondary-button,
.danger-button,
.account-row-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.primary-compact-button {
  background: var(--accent);
  color: #06251f;
  font-weight: 700;
}

.secondary-button,
.account-row-button {
  border-color: var(--border-strong);
  background: #101f2e;
  color: var(--text);
}

.secondary-button:hover,
.account-row-button:hover {
  border-color: var(--accent);
}

.danger-button,
.account-row-button.is-danger {
  border-color: rgb(239 83 80 / 55%);
  background: rgb(239 83 80 / 12%);
  color: #ffaaa8;
}

.primary-compact-button:disabled,
.secondary-button:disabled,
.danger-button:disabled,
.account-row-button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.inline-form-message {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.inline-form-message.is-error {
  color: #ffaaa8;
}

.inline-form-message.is-success {
  color: var(--accent);
}

.account-roster-card {
  min-height: 260px;
  overflow: hidden;
}

.account-roster-heading {
  min-height: 62px;
  margin: 0;
  padding: 12px 16px;
}

.account-list-head,
.account-row {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.2fr)
    minmax(220px, 1.6fr)
    90px
    minmax(210px, auto);
  align-items: center;
  gap: 12px;
}

.account-list-head {
  min-height: 36px;
  padding: 0 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--weak);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-list {
  max-height: 360px;
  overflow: auto;
}

.account-row {
  min-height: 62px;
  padding: 10px 16px;
  border-bottom: 1px solid rgb(42 59 77 / 75%);
  font-size: 12px;
}

.account-row:last-child {
  border-bottom: 0;
}

.account-row-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-row-identity {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--muted);
}

.account-row-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-row-state {
  color: var(--accent);
  font-weight: 700;
}

.account-row-state.is-disabled {
  color: var(--danger);
}

.account-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.account-row-button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 11px;
}

.account-empty {
  margin: 0;
  padding: 38px 18px;
  color: var(--muted);
  text-align: center;
}

.password-reset-panel {
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  padding-bottom: 20px;
}

.password-reset-panel label {
  margin: 0 22px;
}

.password-reset-panel .inline-form-message {
  margin: 0 22px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 22px 0;
}

@media (max-width: 900px) {
  .app-header {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 8px;
    padding: 0 16px;
  }

  .view-only-status {
    padding: 0 12px;
    border-left: 0;
  }

  .supervisor-name,
  .logout-button {
    display: none;
  }

  .employee-list-button {
    display: flex;
  }

  .header-action-button {
    padding: 0 10px;
    border: 0;
  }

  .header-action-button span {
    display: none;
  }

  .modal-layer {
    padding: 14px;
  }

  .account-manager-panel {
    max-height: calc(100vh - 28px);
    max-height: calc(100svh - 28px);
  }

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

  .primary-compact-button {
    min-height: 40px;
  }

  .workspace {
    display: block;
  }

  .employee-sidebar {
    position: fixed;
    z-index: 20;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    width: min(90vw, 370px);
    border-right-color: var(--border-strong);
    box-shadow: 18px 0 48px rgb(0 0 0 / 32%);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .employee-sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-drawer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-drawer-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
  }

  .drawer-backdrop {
    position: fixed;
    z-index: 15;
    inset: var(--header-height) 0 0;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: rgb(2 7 12 / 62%);
    cursor: default;
  }

  .viewer {
    height: 100%;
  }

  .viewer-header {
    min-height: 90px;
    padding: 16px 20px;
  }

  .live-stage {
    padding: 0 20px 18px;
  }

  .screen-zoom-controls {
    right: 34px;
  }

  .live-screen {
    width: 100%;
    height: auto;
    max-width: 980px;
    aspect-ratio: 16 / 9;
  }

  .viewer-footer {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 60px;
  }

  .app-shell {
    min-height: 500px;
  }

  .app-header {
    padding: 0 12px;
  }

  .app-brand {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .view-only-status {
    gap: 5px;
    padding: 0 5px;
    font-size: 12px;
  }

  .view-only-status svg {
    width: 18px;
    height: 18px;
  }

  .employee-list-button {
    min-width: 44px;
    padding: 0 10px;
  }

  .employee-list-button span {
    display: none;
  }

  .account-manager-header {
    padding: 16px;
  }

  .account-manager-header p {
    display: none;
  }

  .account-manager-content {
    padding: 10px;
  }

  .release-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-list-head {
    display: none;
  }

  .account-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 7px 12px;
    padding: 13px 14px;
  }

  .account-row-name {
    grid-column: 1;
    grid-row: 1;
  }

  .account-row-state {
    grid-column: 2;
    grid-row: 1;
  }

  .account-row-identity {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .account-row-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
  }

  .mobile-drawer-title {
    min-height: 60px;
  }

  .employee-table-head {
    display: none;
  }

  .employee-sidebar {
    grid-template-rows: auto auto auto minmax(0, 1fr);
  }

  .employee-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 7px 14px;
    min-height: 92px;
    padding: 14px 18px;
  }

  .employee-name-cell {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }

  .employee-state {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 12px;
  }

  .employee-vpn {
    grid-column: 1;
    grid-row: 2;
    padding-left: 36px;
  }

  .employee-platform {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .employee-last-seen {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .viewer-header {
    gap: 11px;
    min-height: 102px;
    padding: 14px;
  }

  .selected-avatar {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .selected-identity h1 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .selected-statuses {
    gap: 6px 12px;
    font-size: 11px;
  }

  .last-seen {
    width: 100%;
  }

  .live-stage {
    align-content: start;
    padding: 10px 14px 14px;
  }

  .screen-zoom-controls {
    top: 24px;
    right: 28px;
  }

  .live-screen {
    border-radius: 8px;
  }

  .media-placeholder {
    padding: 16px;
  }

  .media-placeholder svg {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .media-placeholder h2 {
    font-size: 15px;
  }

  .media-placeholder p {
    margin-top: 6px;
    font-size: 11px;
  }

  .viewer-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 72px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .footer-divider {
    display: none;
  }

  .login-shell {
    padding: 24px 16px;
  }

  .login-brand {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .login-panel {
    padding: 34px 24px 38px;
  }

  .login-panel h1 {
    font-size: 28px;
  }

  .login-intro {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .login-panel input {
    height: 58px;
  }

  .password-toggle {
    top: 7px;
  }

  .primary-button {
    height: 56px;
    margin-top: 34px;
  }
}

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