:root {
  color-scheme: light;
  --bg: #f3f2ee;
  --bg-2: #e9edf4;
  --surface: #fffefa;
  --surface-strong: #fffdf8;
  --ink: #17202a;
  --muted: #626c78;
  --border: rgba(23, 32, 42, 0.13);
  --border-strong: rgba(23, 32, 42, 0.22);
  --accent: #2847e8;
  --accent-strong: #1d35b7;
  --accent-soft: rgba(40, 71, 232, 0.09);
  --success: #0f8a6b;
  --success-soft: rgba(15, 138, 107, 0.12);
  --warning: #9c6108;
  --warning-soft: rgba(156, 97, 8, 0.12);
  --shadow: 0 14px 38px rgba(23, 32, 42, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "New York", "Iowan Old Style", Charter, Georgia, serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font: 15px/1.55 var(--body-font);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-strong);
}

code {
  padding: 0.1rem 0.3rem;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--mono-font);
  font-size: 0.92em;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  min-height: min(720px, calc(100vh - 64px));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px clamp(32px, 5vw, 58px) 248px 38px;
  background: transparent;
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  color: var(--ink);
  font: 700 0.78rem/1 var(--mono-font);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--ink);
}

.brand-glyph {
  color: #6f8cff;
  font-size: 1rem;
  letter-spacing: 0;
}

.hero-message {
  margin: clamp(78px, 13vh, 108px) 0 0;
}

.trust-note {
  margin: auto 0 0;
  color: #c3cbd4;
  font-size: 0.82rem;
}

.continuity-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: auto;
  min-height: 218px;
  padding: 28px 38px 32px;
  border: 0;
  background: #17202a;
}

.continuity-caption {
  margin: 0 0 22px;
  color: white;
  font: 600 1.05rem/1.25 var(--display-font);
  letter-spacing: -0.02em;
}

.handoff-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, 0.38fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}

.handoff-endpoint {
  min-width: 0;
}

.continuity-device {
  display: flex;
  align-items: center;
  gap: 11px;
}

.continuity-device > span:last-child {
  display: grid;
  gap: 1px;
}

.continuity-device strong {
  color: white;
  font-size: 0.88rem;
}

.continuity-device small {
  color: #aeb7c2;
  font-size: 0.72rem;
}

.device-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  border: 1px solid #8995a3;
}

.desktop-icon {
  border-radius: 3px;
}

.desktop-icon::after {
  position: absolute;
  right: 6px;
  bottom: -4px;
  left: 6px;
  height: 3px;
  border-bottom: 1px solid #8995a3;
  content: "";
}

.phone-icon {
  width: 14px;
  height: 23px;
  margin: 0 5px;
  border-radius: 3px;
}

.handoff-tab {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--accent);
  background: #f8f6f1;
  color: var(--ink);
}

.handoff-tab > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.handoff-tab strong,
.handoff-tab small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.handoff-tab strong {
  font-size: 0.76rem;
}

.handoff-tab small {
  color: var(--muted);
  font-size: 0.67rem;
}

.tab-favicon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  background: #e9c55c;
  color: #17202a;
  font: 800 0.66rem/1 var(--body-font);
}

.handoff-transfer {
  display: grid;
  align-self: center;
  gap: 9px;
  color: #9facbd;
  font: 700 0.66rem/1 var(--mono-font);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.handoff-transfer i {
  position: relative;
  height: 1px;
  background: #6f8cff;
}

.handoff-transfer i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #6f8cff;
  border-right: 1px solid #6f8cff;
  content: "";
  transform: rotate(45deg);
}

.continuity-route {
  position: relative;
  display: flex;
  height: 58px;
  align-items: center;
  margin: 0 16px;
}

.route-line {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  bottom: auto;
  left: 0;
  border-top: 1px solid var(--accent);
}

.route-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
  margin: 0 auto;
  width: auto;
  padding: 8px 11px;
  border: 1px solid rgba(23, 32, 42, 0.13);
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  font-size: 0.72rem;
  box-shadow: 0 6px 16px rgba(23, 32, 42, 0.12);
}

.route-tab i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6f8cff;
}

.route-tab > span {
  display: grid;
  gap: 1px;
}

.route-tab strong {
  font-size: 0.72rem;
  font-weight: 700;
}

.route-tab small {
  color: var(--muted);
  font-size: 0.65rem;
}

.route-arrow {
  position: absolute;
  top: calc(50% - 11px);
  right: -3px;
  bottom: auto;
  left: auto;
  padding-left: 5px;
  background: var(--bg);
  color: var(--accent);
  font-size: 0.88rem;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font: 700 12px/1.2 var(--mono-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display-font);
  letter-spacing: -0.04em;
}

h1 {
  max-width: none;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.96;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  line-height: 1.1;
}

h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.lede {
  max-width: 40ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.card {
  padding: 22px;
}

.auth-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px 38px 248px clamp(32px, 5vw, 58px);
  border-left: 0;
}

.auth-heading {
  margin-top: clamp(82px, 13vh, 112px);
  margin-bottom: 30px;
}

.settings-link {
  position: absolute;
  top: 40px;
  right: 38px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.settings-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head.compact {
  margin-bottom: 16px;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.tab {
  position: relative;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 0 5px;
  border-bottom: 2px solid transparent;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  transition: color 160ms ease;
}

.tab:hover {
  color: var(--ink);
}

.tab.is-active {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border-bottom-color: var(--accent);
}

.tab.is-active::after {
  content: none;
}

.auth-form {
  display: grid;
  gap: 22px;
  max-width: none;
}

.field {
  display: grid;
  gap: 3px;
  color: var(--ink);
}

.field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(23, 32, 42, 0.3);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.field input:focus {
  outline: none;
  border-width: 1px;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.86rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 650;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(36, 71, 255, 0.28);
}

.button:disabled {
  opacity: 0.56;
  cursor: progress;
}

.button.primary {
  justify-self: start;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
  border-color: transparent;
  background: var(--accent);
  color: white;
  box-shadow: none;
}

.auth-form .button.primary::after {
  content: "→";
}

.button.primary:hover:not(:disabled) {
  background: var(--accent-strong);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.6);
}

.status {
  min-height: 1.5rem;
  margin: 12px 0 0;
  color: var(--muted);
}

.status.is-error {
  color: #a13d3d;
}

.page-status {
  margin-top: 0;
  margin-bottom: 18px;
  padding: 0 2px;
}

.main {
  display: grid;
  gap: 18px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: visible;
  z-index: 10;
}

.toolbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.icon-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(36, 71, 255, 0.32);
  background: white;
}

.icon-button:disabled {
  opacity: 0.56;
  cursor: progress;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button svg path {
  fill: none;
}

.account-menu-wrap {
  position: relative;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: 0 14px 32px rgba(19, 28, 40, 0.16);
}

.account-menu-item {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 650;
}

.account-menu-item:hover:not(:disabled) {
  background: var(--accent-soft);
}

.settings-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.settings-card {
  width: min(620px, 100%);
  overflow: visible;
  padding: clamp(24px, 5vw, 42px);
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 18px;
}

.settings-title {
  max-width: none;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
}

.settings-lede {
  margin-bottom: 24px;
}

.settings-form {
  max-width: none;
}

.settings-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font: 650 12px/1 var(--mono-font);
}

.empty-state {
  margin: 0;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px dashed rgba(102, 112, 124, 0.26);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
}

.device-workspace,
.device-panel,
.device-section {
  min-width: 0;
}

.device-tabs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 0 -4px 18px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.device-tab {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 76px));
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-weight: 650;
}

.device-tab > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-tab:hover:not(:disabled) {
  border-color: rgba(36, 71, 255, 0.32);
  color: var(--ink);
}

.device-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 18px rgba(36, 71, 255, 0.2);
}

.device-tab-count {
  display: inline-grid;
  min-width: 1.55rem;
  min-height: 1.55rem;
  place-items: center;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: rgba(36, 71, 255, 0.1);
  font: 700 11px/1 var(--mono-font);
}

.device-tab.is-active .device-tab-count {
  background: rgba(255, 255, 255, 0.2);
}

.device-panel {
  display: grid;
  gap: 18px;
}

.device-section {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  background: rgba(36, 71, 255, 0.08);
  color: var(--ink);
  font: 650 12px/1 var(--mono-font);
}

.chip.success {
  background: var(--success-soft);
  color: var(--success);
}

.chip.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.open-tabs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.open-tab {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px 13px;
  border: 1px solid rgba(22, 32, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.open-tab a,
.history-table a {
  color: var(--ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.open-tab a:hover,
.history-table a:hover {
  color: var(--accent-strong);
}

.tab-url {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.history-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.history-time-column {
  width: 190px;
}

.history-url-column {
  width: 40%;
}

.history-table th,
.history-table td {
  min-width: 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.history-table th {
  border-bottom: 1px solid var(--border-strong);
  background: rgba(36, 71, 255, 0.04);
  color: var(--muted);
  font: 700 11px/1.2 var(--mono-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-table td {
  border-bottom: 1px solid var(--border);
}

.history-table tr:last-child td {
  border-bottom: 0;
}

.history-table time,
.history-title-cell {
  color: var(--muted);
}

.history-url-cell a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.load-more-row {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.load-more-row:empty {
  display: none;
}

.auth-shell,
.toolbar,
.device-workspace {
  animation: rise-in 500ms ease both;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.is-hidden {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(36, 71, 255, 0.32);
  outline-offset: 2px;
}

@media (max-width: 780px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-message {
    margin-bottom: 38px;
  }

  .continuity-preview {
    position: static;
    width: auto;
    min-height: 0;
    margin: auto calc(-1 * clamp(32px, 5vw, 58px)) 0 -38px;
    padding: 26px;
  }

  .auth-panel {
    padding: 38px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .auth-heading {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 18px, 1180px);
    padding: 10px 0 32px;
  }

  .card {
    border-radius: 20px;
  }

  .auth-shell {
    border-radius: 14px;
  }

  .hero-copy {
    padding: 26px;
  }

  .continuity-preview {
    margin-right: -26px;
    margin-left: -26px;
  }

  .hero-message {
    margin: 54px 0 34px;
  }

  .auth-panel {
    padding: 30px 24px;
  }

  .auth-heading {
    margin-top: 0;
    margin-bottom: 24px;
  }

  .settings-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 10px;
  }

  .toolbar > div:first-child {
    min-width: 0;
  }

  #welcome {
    overflow-wrap: anywhere;
  }

  .device-section {
    padding: 14px;
  }

  .history-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .history-table,
  .history-table tbody,
  .history-table tr,
  .history-table td {
    display: block;
    width: 100%;
  }

  .history-table colgroup,
  .history-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .history-table tbody {
    display: grid;
    gap: 10px;
  }

  .history-table tr {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  .history-table td {
    padding: 0;
    border: 0;
    font-size: 0.88rem;
  }

  .history-table td + td {
    margin-top: 10px;
  }

  .history-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    content: attr(data-label);
    font: 700 10px/1.2 var(--mono-font);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .history-url-cell a {
    white-space: normal;
  }
}

@media (max-width: 460px) {
  .page {
    width: min(100% - 12px, 1180px);
  }

  .card {
    padding: 16px;
  }

  .hero-copy {
    padding: 22px 20px 0;
  }

  .hero-message {
    margin-top: 46px;
  }

  .hero-message h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.2rem);
  }

  .continuity-preview {
    margin-right: -20px;
    margin-left: -20px;
    padding: 22px 20px 24px;
  }

  .handoff-sequence {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 8px;
  }

  .handoff-transfer span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .continuity-device {
    gap: 7px;
  }

  .handoff-tab {
    gap: 6px;
    padding: 8px;
  }

  .tab-favicon {
    width: 20px;
    height: 20px;
  }

  .auth-panel {
    padding: 28px 20px;
  }

  .settings-link {
    top: 23px;
    right: 20px;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  .section-head.compact {
    align-items: flex-start;
  }

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

  .settings-actions .button,
  .load-more-row .button {
    width: 100%;
  }

  .device-tab {
    max-width: calc(100vw - 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .auth-shell,
  .toolbar,
  .device-workspace {
    animation: none;
  }

  .button,
  .icon-button,
  .field input {
    transition: none;
  }
}
