/* STX REMOTE / ORBIT
   Original visual system. Native system fonts; no third-party requests. */

:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --surface: #13171e;
  --surface-raised: #1a1f27;
  --surface-hover: #1f252e;
  --input: #10141a;
  --text: #eeeae4;
  --muted: #969da8;
  --faint: #6b7583;
  --stroke: rgba(223,231,243,.085);
  --stroke-strong: rgba(223,231,243,.16);
  --accent: #efaa7e;
  --accent-hover: #ffc19c;
  --on-accent: #231a14;
  --accent-dim: rgba(239,170,126,.09);
  --success: #a6c7b3;
  --success-bg: rgba(137,192,161,.085);
  --danger: #e4a397;
  --danger-bg: rgba(223,131,117,.08);
  --shadow: 0 16px 60px rgba(0,0,0,.18);
  font-family: 'Inter','Segoe UI Variable Text','Segoe UI',Arial,sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

/* R2.6.2: explicit, paint-synchronised staggered reveal.
   Keep normal hover, layout, colors and typography unchanged. */
@keyframes stx-block-appear {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.page-content[data-stx-page-reveal="r2-6-2"] [data-stx-reveal-state="pending"] {
  visibility: hidden !important;
  opacity: 0 !important;
}
.page-content[data-stx-page-reveal="r2-6-2"] .stx-reveal-fallback {
  animation: stx-block-appear 490ms cubic-bezier(.2,.82,.25,1) both;
}

.page-head h1 { font-size: clamp(2rem, 3.2vw, 2.65rem); line-height: 1.12; }
.metric > strong { font-size: clamp(2.15rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.045em; }
.nav-item { font-size: 15px; line-height: 1.35; transition: color .22s, background .22s, transform .22s; }
.nav-item::before { transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .22s; transform: scaleY(0); opacity: 0; }
.nav-item.active::before { transform: scaleY(1); opacity: 1; }
.btn, .icon-btn, .quick-row, .device-card, .panel, .summary-filter { transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s, background .24s, border-color .24s; }
.btn:not(:disabled):hover, .icon-btn:not(:disabled):hover { box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.device-card:hover, .panel:hover, .summary-filter:hover { box-shadow: 0 14px 34px rgba(0,0,0,.14); }

body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 78% 8%, rgba(239,170,126,.045), transparent 34%); }

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


:root[data-theme=light] {
  color-scheme: light;
  --bg: #f2f2ef;
  --surface: #fdfdfa;
  --surface-raised: #edeeeb;
  --surface-hover: #e8eae6;
  --input: #f7f8f4;
  --text: #232b32;
  --muted: #657079;
  --faint: #737d86;
  --stroke: rgba(30,43,52,.1);
  --stroke-strong: rgba(30,43,52,.2);
  --accent: #b46236;
  --accent-hover: #c47750;
  --on-accent: #fff6ee;
  --accent-dim: rgba(159,89,53,.07);
  --success: #3b7554;
  --success-bg: rgba(83,142,106,.08);
  --danger: #ae5146;
  --danger-bg: rgba(179,96,78,.08);
  --shadow: 0 16px 60px rgba(27,35,39,.045)
}

* {
  box-sizing: border-box
}

html {
  min-width: 320px;
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5
}

button,input,select,textarea {
  font: inherit
}

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

button {
  cursor: pointer
}

button {
  border: 0;
  color: inherit;
  background: none
}

button:disabled {
  cursor: not-allowed;
  opacity: .38
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px
}

a {
  text-decoration: none;
  color: inherit
}

h1,h2,h3,h4,p {
  margin: 0
}

h1,h2,h3 {
  font-weight: 500
}

svg {
  flex-shrink: 0;
  vertical-align: middle
}

input,select,textarea {
  color: var(--text);
  background: var(--input);
  border: 1px solid var(--stroke-strong);
  border-radius: 9px;
  min-height: 42px;
  padding: 10px 13px;
  max-width: 100%;
  transition: border-color .18s,background .18s
}

input::placeholder {
  color: var(--faint)
}

input:focus,select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--accent-dim)
}

input[type=checkbox] {
  appearance: auto;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none
}

input[type=search]::-webkit-search-cancel-button {
  cursor: pointer
}

select {
  appearance: none;
  padding-right: 34px;
  font-size: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23959da7' stroke-width='1.5'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-size: 18px;
  background-position: right 10px center;
  background-repeat: no-repeat
}

option {
  background: var(--surface);
  color: var(--text)
}

code,.mono,kbd {
  font-family: 'SFMono-Regular',Consolas,'Liberation Mono',monospace
}

code {
  font-size: 12px
}

kbd {
  font-size: 12px;
  border: 1px solid var(--stroke-strong);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--muted);
  font-weight: 400
}

::selection {
  background: rgba(229,150,101,.3);
  color: var(--text)
}

[hidden] {
  display: none!important
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent)
}

.skip-link:focus {
  top: 12px
}

.muted-text {
  color: var(--muted)
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Consolas,'Liberation Mono',monospace;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 400;
  color: var(--muted)
}

.tiny-cross {
  font: 22px Arial;
  color: var(--accent);
  line-height: 12px
}

.btn {
  min-height: 40px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02px;
  transition: background .18s,border-color .18s,transform .18s,box-shadow .18s;
  text-align: center;
  line-height: 1.35;
  white-space: nowrap
}

.btn:not(:disabled):active {
  transform: translateY(1px)
}

.btn.secondary {
  background: var(--surface);
  color: var(--text)
}

.btn.secondary:not(:disabled):hover {
  background: var(--surface-hover);
  border-color: var(--faint)
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent)
}

.btn.primary:not(:disabled):hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(223,150,104,.12)
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  color: var(--text)
}

.btn.ghost:hover {
  color: var(--accent)
}

.btn.small {
  min-height: 33px;
  font-size: 12px;
  padding: 7px 11px
}

.text-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  line-height: 1.5
}

.text-btn:hover {
  color: var(--accent)
}

.icon-btn {
  display: inline-flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--muted);
  transition: background .18s,color .18s;
  border: 1px solid transparent;
  padding: 0
}

.icon-btn:not(:disabled):hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--stroke)
}

.input-shell {
  display: flex;
  align-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 9px;
  background: var(--input);
  padding: 0 13px;
  min-height: 44px;
  gap: 11px;
  transition: border-color .18s,box-shadow .18s
}

.input-shell>svg {
  color: var(--faint)
}

.input-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim)
}

.input-shell input {
  padding: 10px 0;
  background: none;
  border: 0;
  min-width: 0;
  flex: 1;
  width: 100%;
  font-size: 13px;
  box-shadow: none;
  outline: 0
}

.input-shell .icon-btn {
  margin-right: -7px;
  width: 30px;
  min-width: 30px
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 9px;
  color: var(--text)
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--stroke-strong);
  color: var(--muted);
  font-family: Consolas,monospace;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 7px 10px;
  border-radius: 5px;
  white-space: nowrap
}

.tag.small {
  font-size: 10px;
  padding: 4px 7px;
  letter-spacing: .9px
}

.tag i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent)
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 5px;
  line-height: 1.35;
  white-space: nowrap;
  background: var(--surface-raised);
  color: var(--muted);
  font-weight: 400
}

.status i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%
}

.status.online,.status.completed {
  background: var(--success-bg);
  color: var(--success)
}

.status.offline,.status.cancelled {
  color: var(--muted)
}

.status.failed {
  color: var(--danger);
  background: var(--danger-bg)
}

.status.running,.status.queued {
  color: var(--accent);
  background: var(--accent-dim)
}

.status.running i {
  animation: pulse 2s ease-in-out infinite
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7
}

.notice>svg {
  margin-top: 2px;
  color: var(--faint)
}

.notice b {
  color: var(--text);
  font-weight: 500
}

.notice.warning {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(235,159,112,.17)
}

.form-error {
  border: 1px solid rgba(228,128,109,.24);
  border-radius: 7px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 13px;
  padding: 10px 12px;
  margin: 14px 0
}

.empty-state {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  color: var(--muted);
  padding: 30px
}

.empty-state>span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: var(--surface-raised);
  border-radius: 13px;
  color: var(--faint);
  margin-bottom: 6px
}

.empty-state h3 {
  color: var(--text);
  font-size: 16px
}

.empty-state p {
  font-size: 13px;
  max-width: 320px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  width: max-content
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241,174,130,.5);
  background: linear-gradient(135deg,#f4b68e,#dfa17b);
  border-radius: 9px;
  box-shadow: 0 1px 10px rgba(245,162,103,.1);
  flex-shrink: 0
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #292019;
  stroke-width: 1.8;
  stroke-linecap: square
}

.brand-word {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1.4px;
  color: #efebe5
}

.brand-word>span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.8px;
  color: #949da9
}

.brand-mark:empty {
  position: relative
}

.brand-mark:empty:after {
  content: 'S';
  font-size: 22px;
  color: #211c17
}

.boot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100svh;
  color: var(--text);
  font-size: 20px;
  letter-spacing: 1px
}

.boot b {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-left: 7px;
  font-weight: 400
}

.boot>i {
  width: 25px;
  height: 25px;
  border: 1px solid var(--stroke);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 15px
}

.spinner {
  height: 15px;
  width: 15px;
  border: 1.5px solid rgba(35,25,18,.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .7s linear infinite
}

/* The arrival. */

.login-page {
  min-height: 100svh;
  background: #0a0d12;
  isolation: isolate;
  overflow: hidden;
  transition: opacity .4s,transform .6s
}

.login-page.entering-workspace {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none
}

.login-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(222,230,245,.07);
  background: rgba(10,13,18,.9)
}

.login-header-note {
  color: #64717d;
  font-family: Consolas,monospace;
  font-size: 11px;
  letter-spacing: 2px;
  margin-left: auto;
  margin-right: 45px
}

.motion-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #abb1b9
}

.motion-control:hover {
  color: #f4b98f
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(395px,1fr);
  min-height: calc(100svh - 94px)
}

.login-world {
  position: relative;
  min-height: 800px;
  isolation: isolate;
  background: radial-gradient(ellipse at 62% 72%,rgba(100,66,40,.11),transparent 55%),radial-gradient(ellipse at 15% 90%,rgba(44,62,91,.09),transparent 50%)
}

.login-hero-copy {
  position: relative;
  z-index: 2;
  padding: 69px 0 0 56px;
  max-width: 640px;
  pointer-events: none;
  animation: arrival 1.2s both
}

.login-hero-copy .eyebrow {
  color: #9a9d9e;
  letter-spacing: 2px;
  font-size: 11px
}

.login-hero-copy h1 {
  font-size: clamp(60px,5.6vw,86px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -4.4px;
  margin: 24px 0 23px;
  color: #f2ece4
}

.login-hero-copy h1>span {
  color: #9a9b9d
}

.login-hero-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #888e97;
  font-weight: 400;
  letter-spacing: .05px
}

.scene-host {
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1
}

.login-scene {
  position: absolute;
  top: 168px;
  right: -55px;
  bottom: 45px;
  left: 2%;
  z-index: 0;
  overflow: visible;
  pointer-events: auto;
  animation: scene-arrival 2s both
}

.login-scene:before {
  content: '';
  position: absolute;
  inset: 3% -8% -5% 0;
  background: radial-gradient(ellipse at 61% 53%,rgba(158,99,48,.115),rgba(14,23,34,.045) 45%,transparent 69%);
  filter: blur(24px);
  animation: aura-shift 16s ease-in-out infinite alternate
}

.login-scene:after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg,#0a0d12 0%,transparent 17%,transparent 86%,#0b0f15 100%);
  pointer-events: none;
  opacity: .5
}

.scene-annotation {
  position: absolute;
  left: 57px;
  bottom: 167px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #b2aba2;
  letter-spacing: 1.5px;
  z-index: 2;
  pointer-events: none
}

.scene-annotation>i {
  width: 6px;
  height: 6px;
  background: #eab086;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(234,176,134,.08)
}

.scene-annotation small {
  display: block;
  font: 10px Consolas,monospace;
  color: #63707d;
  letter-spacing: 1px;
  margin-top: 6px
}

.login-coordinate {
  position: absolute;
  right: 39px;
  bottom: 173px;
  text-align: right;
  font: 10px/1.9 Consolas,monospace;
  color: #64717e;
  letter-spacing: 1px
}

.cinema-tabs {
  position: absolute;
  bottom: 30px;
  left: 56px;
  right: 32px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  z-index: 3
}

.cinema-tabs button {
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 19px 0 5px;
  gap: 12px;
  border-top: 1px solid #292d34;
  position: relative
}

.cinema-tabs button:before {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  top: -1px;
  height: 1px;
  background: #e8b087;
  transition: right .65s ease
}

.cinema-tabs button[aria-selected=true]:before {
  right: 0
}

.cinema-tabs button>span {
  font: 11px Consolas,monospace;
  color: #5b6673;
  margin-top: 2px
}

.cinema-tabs button>div {
  font-size: 13px;
  color: #858b93
}

.cinema-tabs button[aria-selected=true]>div {
  color: #eae6e1
}

.cinema-tabs button[aria-selected=true]>span {
  color: #e2ae89
}

.cinema-tabs small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  color: #626d78;
  white-space: nowrap
}

.cinema-tabs svg {
  margin-left: auto;
  color: #58636f;
  margin-top: 2px
}

.cinema-tabs button[aria-selected=true] svg {
  color: #dab290
}

.login-aside {
  position: relative;
  z-index: 3;
  border-left: 1px solid rgba(230,234,247,.07);
  background: radial-gradient(ellipse at 20% 0,rgba(66,70,82,.09),transparent 65%),linear-gradient(135deg,#10141c,#0d1118);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 65px 48px 90px;
  overflow: hidden
}

.login-aside:before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 1px;
  box-shadow: 0 120px 160px 8px rgba(161,124,88,.12);
  pointer-events: none
}

.login-form-wrap {
  position: relative;
  width: 100%;
  max-width: 354px;
  animation: arrival 1s .14s both
}

.login-form-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 10px Consolas,monospace;
  letter-spacing: 1.4px;
  color: #8794a1;
  margin-bottom: 25px
}

.orbit-symbol {
  color: #d9aa86;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(225,180,142,.16);
  border-radius: 50%
}

.login-aside h2 {
  font-size: 55px;
  line-height: 1.08;
  letter-spacing: -2.9px;
  font-weight: 400;
  color: #eae5de
}

.login-aside h2>span {
  color: #e5a676
}

.login-description {
  font-size: 13px;
  line-height: 1.85;
  color: #87919f;
  margin: 21px 0 31px
}

.login-aside .field-label {
  font-size: 12px;
  font-weight: 400;
  color: #cad0d5;
  margin-bottom: 9px
}

.login-aside .input-shell {
  min-height: 47px;
  background: rgba(3,8,13,.26);
  border-color: #2a303a;
  border-radius: 7px
}

.login-aside .input-shell:focus-within {
  border-color: #ca9c78;
  box-shadow: 0 0 0 3px rgba(239,170,126,.065)
}

.login-aside .input-shell input {
  color: #e9e8e3;
  font-size: 13px;
  padding-top: 13px;
  padding-bottom: 13px
}

.login-aside .input-shell>svg {
  color: #646f7e
}

.login-aside input::placeholder {
  color: #616d7b
}

.password-label {
  margin-top: 21px
}

.password-label .text-btn {
  font-size: 12px;
  color: #788594
}

.login-submit {
  margin-top: 24px;
  width: 100%;
  min-height: 49px;
  justify-content: space-between;
  padding: 14px 17px;
  font-size: 13px;
  background: #e9ad84!important;
  border-color: #e9ad84!important;
  color: #241b15!important;
  box-shadow: 0 3px 22px rgba(201,131,83,.07)
}

.login-submit:hover {
  background: #f6c29b!important;
  border-color: #f6c29b!important
}

.login-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10.5px;
  color: #697583;
  margin-top: 18px;
  letter-spacing: .07px
}

.login-assurance svg {
  color: #8d9b93
}

.login-aside-footer {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: .9px;
  color: #535f6d
}

.login-aside-footer button {
  font-family: inherit;
  font-size: 10px;
  color: #7b8795
}

.scene-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden
}

.fallback-orbit {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 2px solid #aa7855;
  border-radius: 50%;
  transform: rotateX(46deg) rotateY(-29deg) rotateZ(-20deg);
  box-shadow: 0 0 40px rgba(234,164,117,.1),inset 0 0 40px rgba(234,164,117,.08)
}

.fallback-orbit.second {
  width: 78%;
  border-width: 1px;
  border-color: #4e5d69;
  transform: rotateX(55deg) rotateY(22deg)
}

.fallback-device {
  width: 170px;
  height: 250px;
  background: radial-gradient(ellipse at 60% 50%,#44362c,#0f1a25 70%);
  border: 6px solid #34383d;
  outline: 1px solid #59616a;
  border-radius: 19px;
  transform: rotate(-12deg) skewY(4deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 15px 22px 80px #020307
}

.fallback-device span {
  font-size: 32px;
  letter-spacing: -2px
}

.fallback-device small {
  font-size: 10px;
  letter-spacing: 3px;
  color: #ddae87;
  margin-top: 7px
}

/* The working space. */

.app-shell {
  min-height: 100svh
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 35;
  width: 228px;
  background: #0d1117;
  border-right: 1px solid rgba(219,230,248,.075);
  padding: 29px 17px 0;
  display: flex;
  flex-direction: column;
  color: #d9dee4;
  --text: #d9dee4;
  --muted: #8893a1;
  --surface-hover: #1b222d;
  --stroke: rgba(223,231,243,.08);
  --faint: #6b7583
}

.sidebar>.brand {
  margin-left: 12px;
  margin-bottom: 30px
}

.sidebar .brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 8px
}

.sidebar .brand-mark svg {
  width: 24px
}

.sidebar .brand-word {
  font-size: 21px;
  gap: 8px
}

.sidebar .brand-word>span {
  font-size: 10px;
  letter-spacing: 2.1px
}

.workspace-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 9px;
  margin: 0 0 22px;
  border: 1px solid #252c36;
  background: #131922;
  border-radius: 8px;
  font-size: 12px
}

.workspace-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #454548;
  background: linear-gradient(145deg,#3f342c,#252c33);
  color: #dcb28f;
  border-radius: 7px;
  font-size: 14px
}

.workspace-switch small {
  display: block;
  font-size: 10.5px;
  margin-top: 3px;
  color: #6f7d8e
}

.workspace-edition {
  margin-left: auto;
  font: 11px Consolas,monospace;
  color: #606d7b
}

.sidebar nav {
  overflow-y: auto;
  scrollbar-width: thin;
  flex: 1
}

.nav-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #556375;
  padding: 16px 13px 10px;
  font-family: Consolas,monospace
}

.nav-label:first-child {
  padding-top: 4px
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  font-size: 12px;
  color: #8e9bab;
  margin: 3px 0;
  border-radius: 7px;
  position: relative;
  transition: background .18s,color .18s;
  min-height: 42px
}

.nav-item>svg {
  color: #758393;
  width: 17px
}

.nav-item:hover {
  background: #141c26;
  color: #dce0e4
}

.nav-item.active {
  background: linear-gradient(90deg,rgba(231,167,121,.11),rgba(180,135,107,.055));
  color: #e4bb99
}

.nav-item.active:before {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  content: '';
  background: #dda574
}

.nav-item.active>svg {
  color: #e4b187
}

.nav-counter {
  margin-left: auto;
  font: 11px Consolas,monospace;
  background: #222a33;
  border-radius: 4px;
  color: #8795a6;
  padding: 2px 5px
}

.nav-item.active .nav-counter {
  background: rgba(183,124,84,.12);
  color: #d9ae8c
}

.sidebar-bottom {
  padding-top: 24px
}

.sidebar-user {
  border-top: 1px solid #222a34;
  margin: 0 -17px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #0e131b
}

.user-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0
}

.avatar {
  width: 33px;
  height: 33px;
  min-width: 33px;
  background: linear-gradient(130deg,#ccb499,#8d8278);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #201e1b;
  font-size: 12px;
  letter-spacing: -.3px;
  font-weight: 600
}

.avatar-small {
  width: 29px;
  height: 29px;
  min-width: 29px;
  font-size: 11px
}

.user-info {
  min-width: 0
}

.user-info strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 113px
}

.user-info small {
  display: block;
  font-size: 10px;
  color: #667789;
  margin-top: 3px
}

.sidebar-scrim {
  display: none
}

.app-main {
  margin-left: 228px;
  min-height: 100svh;
  display: flex;
  flex-direction: column
}

.topbar {
  height: 72px;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--bg)
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  min-width: 0;
  color: var(--text)
}

.breadcrumb-root {
  color: var(--faint)
}

.breadcrumbs>svg {
  color: var(--faint);
  width: 12px
}

.breadcrumbs [data-action=menu] {
  display: none
}

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

.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--faint);
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 7px
}

.search-trigger:hover {
  background: var(--surface);
  border-color: var(--stroke)
}

.search-trigger kbd {
  margin-left: 24px;
  font-size: 10px;
  line-height: 1.6
}

.header-divider {
  height: 17px;
  width: 1px;
  background: var(--stroke);
  margin: 0 5px
}

.topbar-motion span {
  display: none
}

.topbar-motion svg {
  height: 16px
}

.notification-trigger {
  position: relative
}

.notification-trigger>i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  outline: 2px solid var(--bg)
}

.notification-trigger.read>i {
  display: none
}

.topbar .avatar {
  margin-left: 6px
}

.page-content {
  padding: 33px 36px 35px;
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  outline: 0!important;
  min-width: 0
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px
}

.page-head .eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--faint);
  margin-bottom: 10px
}

.page-head h1 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1.1px;
  line-height: 1.2
}

.page-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7
}

.page-head-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.page-head-actions .btn {
  font-size: 12px
}

.app-footer {
  margin: 0 36px;
  padding: 19px 0 21px;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 10px Consolas,monospace;
  letter-spacing: .6px;
  color: var(--faint);
  gap: 15px
}

.app-footer>span:first-child {
  display: flex;
  align-items: center;
  gap: 6px
}

.app-footer i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%
}

.app-footer b {
  font-weight: 400;
  padding: 0 7px
}

.app-footer button {
  font-size: 10px;
  font-family: inherit;
  color: var(--faint)
}

.panel {
  border: 1px solid var(--stroke);
  border-radius: 13px;
  background: var(--surface);
  min-width: 0;
  overflow: hidden
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 22px
}

.panel-head h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.2px
}

.panel-head p {
  font-size: 12px;
  color: var(--faint);
  margin-top: 5px;
  line-height: 1.6
}

.panel-head>svg {
  color: var(--faint)
}

.table-scroll {
  overflow-x: auto;
  scrollbar-width: thin
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left
}

.data-table th {
  padding: 12px 17px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 1.05px;
  font-weight: 400;
  font-family: Consolas,monospace;
  background: rgba(117,144,172,.025);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  white-space: nowrap
}

.data-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--stroke);
  font-size: 12px
}

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

.data-table tbody tr {
  transition: background .15s
}

.data-table tbody tr:hover {
  background: rgba(140,157,182,.04)
}

.data-table .check-cell {
  width: 32px;
  padding-right: 0
}

.data-table .row-selected {
  background: var(--accent-dim)
}

.device-name {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  min-width: 154px
}

.device-name strong {
  font-size: 12px;
  font-weight: 500;
  display: block
}

.device-name small {
  font: 10px Consolas,monospace;
  display: block;
  color: var(--faint);
  margin-top: 4px
}

.table-device-button {
  text-align: left;
  padding: 0
}

.table-device-button:hover strong {
  color: var(--accent)
}

.device-avatar {
  width: 41px;
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(141,151,168,.18);
  background: linear-gradient(140deg,#303a42,#1d252c);
  border-radius: 9px;
  color: #baa791;
  position: relative;
  flex-shrink: 0
}

.device-avatar.small {
  width: 29px;
  height: 34px;
  border-radius: 6px
}

.device-avatar.tone-1 {
  background: linear-gradient(140deg,#393b3b,#282c2e);
  color: #bcb3a4
}

.device-avatar.tone-2 {
  background: linear-gradient(140deg,#263642,#1d2a34);
  color: #899dad
}

.battery-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted)
}

.battery-shape {
  width: 20px;
  height: 9px;
  border: 1px solid #566b67;
  position: relative;
  border-radius: 2px;
  padding: 1px;
  display: inline-flex
}

.battery-shape:after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1px;
  height: 3px;
  background: #566b67
}

.battery-shape i {
  display: block;
  background: #93b4a1;
  border-radius: 1px;
  height: 100%
}

.battery-cell.low .battery-shape {
  border-color: #ac815b
}

.battery-cell.low .battery-shape:after {
  background: #ac815b
}

.battery-cell.low .battery-shape i {
  background: #c0926e
}

.battery-cell.low {
  color: var(--accent)
}

.activity-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: var(--surface-raised);
  border-radius: 7px;
  color: var(--muted);
  flex-shrink: 0
}

.activity-icon.failed {
  color: var(--danger);
  background: var(--danger-bg);
  border-color: transparent
}

.activity-icon.completed {
  color: var(--muted)
}

.activity-icon.running,.activity-icon.queued {
  color: var(--accent);
  background: var(--accent-dim)
}

/* The overview: generous composition, restrained telemetry. */

.overview-hero {
  height: 308px;
  border: 1px solid rgba(186,168,150,.14);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 77% 74%,rgba(125,78,47,.16),transparent 55%),linear-gradient(125deg,#171d26,#14191f 55%,#15191d);
  isolation: isolate
}

.overview-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(23,29,38,.8),transparent 64%);
  z-index: 1;
  pointer-events: none
}

.overview-hero-copy {
  position: absolute;
  left: 32px;
  top: 30px;
  z-index: 3;
  pointer-events: none
}

.overview-hero-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #a09e96
}

.live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dcaa80;
  box-shadow: 0 0 0 4px rgba(214,161,116,.08)
}

.overview-hero-copy h2 {
  font-size: 47px;
  line-height: 1.05;
  letter-spacing: -1.9px;
  font-weight: 400;
  color: #e9e5df;
  margin-top: 18px
}

.overview-hero-copy h2>span {
  color: #e6ab80
}

.overview-hero-copy p {
  font-size: 12px;
  color: #8b969f;
  line-height: 1.75;
  margin-top: 13px
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  color: #dbb798;
  margin-top: 18px;
  pointer-events: auto
}

.hero-link:hover {
  color: #f5dcc8
}

.dashboard-scene {
  position: absolute;
  top: -87px;
  bottom: -78px;
  left: 32%;
  right: -6%;
  z-index: 0
}

.hero-grid-texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191,201,223,.017) 1px,transparent 1px),linear-gradient(90deg,rgba(191,201,223,.017) 1px,transparent 1px);
  background-size: 43px 43px;
  mask-image: linear-gradient(90deg,transparent,#000);
  z-index: 0
}

.hero-telemetry {
  position: absolute;
  top: 21px;
  left: 48%;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6b7580;
  font: 9px Consolas,monospace;
  letter-spacing: .8px;
  z-index: 3
}

.hero-telemetry i {
  font-style: normal;
  color: #bba081
}

.hero-telemetry b {
  color: #b4b8b7;
  font-weight: 400
}

.hero-orbit-label {
  position: absolute;
  right: 30px;
  bottom: 27px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c3b3a5;
  font: 9px Consolas,monospace;
  letter-spacing: 1px
}

.hero-orbit-label i {
  width: 5px;
  height: 5px;
  border: 1px solid #a3876a;
  border-radius: 50%
}

.hero-orbit-label small {
  display: block;
  font: 10px 'Segoe UI',Arial,sans-serif;
  letter-spacing: 0;
  color: #6c7784;
  margin-top: 5px
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-top: 18px
}

.metric {
  padding: 19px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 11px;
  min-width: 0;
  transition: border-color .25s
}

.metric:hover {
  border-color: var(--stroke-strong)
}

.metric>div:first-child {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  gap: 8px
}

.metric>div>svg {
  color: var(--faint);
  width: 16px
}

.metric>strong {
  font-size: 39px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -1.5px;
  display: block;
  margin: 16px 0 13px;
  font-variant-numeric: tabular-nums
}

.metric>strong>small {
  font-size: 17px;
  color: var(--faint);
  letter-spacing: -.4px;
  font-weight: 400
}

.metric>footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--faint);
  min-height: 18px
}

.metric-chip {
  font-size: 10px;
  color: var(--success);
  background: var(--success-bg);
  padding: 2px 5px;
  border-radius: 3px
}

.metric-line {
  width: 15px;
  height: 2px;
  background: var(--faint);
  opacity: .6
}

.mini-meter {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-raised);
  overflow: hidden
}

.mini-meter i {
  display: block;
  height: 100%;
  background: var(--success);
  border-radius: 4px
}

.metric.attention {
  background: linear-gradient(130deg,var(--surface),var(--accent-dim))
}

.metric.attention>strong {
  color: var(--accent)
}

.metric.attention .text-btn {
  font-size: 10px
}

.dashboard-mid-grid {
  display: grid;
  grid-template-columns: 1.27fr 1fr;
  gap: 18px;
  margin-top: 20px
}

.chart-value {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.8px;
  white-space: nowrap
}

.chart-value small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0
}

.chart-wrap {
  height: 138px;
  margin: 0 22px;
  overflow: hidden;
  cursor: crosshair
}

.availability-chart {
  height: 100%;
  width: 100%;
  overflow: visible
}

.chart-grid {
  fill: none;
  stroke: var(--stroke);
  stroke-width: .7;
  stroke-dasharray: 3 5
}

.chart-line {
  fill: none;
  stroke: #d6a17d;
  stroke-width: 1.9;
  stroke-linecap: round
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font: 10px Consolas,monospace;
  color: var(--faint);
  padding: 9px 23px 17px
}

.quick-panel .panel-head {
  padding-bottom: 12px
}

.quick-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 22px;
  padding: 12px 0;
  border-top: 1px solid var(--stroke);
  transition: opacity .2s
}

.quick-row:hover {
  opacity: .8
}

.quick-icon {
  width: 32px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--stroke);
  color: var(--muted);
  border-radius: 7px;
  flex-shrink: 0
}

.quick-row div {
  flex: 1
}

.quick-row strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  color: var(--text)
}

.quick-row small {
  font-size: 11px;
  color: var(--faint);
  display: block;
  margin-top: 3px
}

.quick-row>svg {
  color: var(--faint);
  width: 14px
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: 1.43fr 1fr;
  gap: 18px;
  margin-top: 20px
}

.compact-table th {
  font-size: 9px;
  padding: 11px 16px
}

.compact-table td {
  padding: 15px 16px;
  font-size: 11px
}

.compact-table .device-name {
  min-width: 127px;
  gap: 9px
}

.compact-table .device-name strong {
  font-size: 12px
}

.compact-table .device-name small {
  font-size: 9px
}

.compact-table .status {
  font-size: 10px;
  padding: 4px 6px
}

.compact-table .device-avatar {
  width: 25px;
  height: 30px
}

.compact-table .battery-cell {
  font-size: 10px
}

.timeline {
  padding: 0 20px 5px
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--stroke);
  min-height: 70px
}

.timeline-row>div {
  flex: 1;
  min-width: 0;
  padding-top: 1px
}

.timeline-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.timeline-row p {
  font-size: 10px;
  color: var(--faint);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.timeline-row time {
  font: 9px Consolas,monospace;
  color: var(--faint);
  padding-top: 4px;
  flex-shrink: 0
}

.timeline-row .activity-icon {
  width: 27px;
  height: 29px
}

.timeline-row .activity-icon svg {
  width: 14px
}

/* Devices. */

.device-summary-strip {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 27px
}

.summary-filter {
  padding: 18px 19px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color .2s,background .2s
}

.summary-filter>span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted)
}

.summary-filter>span>svg {
  width: 16px;
  color: var(--faint)
}

.summary-filter>strong {
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.7px;
  line-height: 1
}

.summary-filter:hover {
  border-color: var(--stroke-strong)
}

.summary-filter.selected {
  border-color: rgba(211,156,112,.42);
  background: var(--accent-dim)
}

.summary-filter.selected>strong,.summary-filter.selected>span>svg {
  color: var(--accent)
}

.fleet-toolbar {
  display: flex;
  gap: 10px;
  align-items: center
}

.fleet-toolbar .search-input {
  flex: 1;
  min-width: 180px
}

.fleet-toolbar select {
  min-height: 44px;
  max-width: 205px;
  font-size: 12px
}

.view-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 8px;
  padding: 4px;
  background: var(--input)
}

.view-toggle .icon-btn {
  width: 31px;
  min-width: 31px;
  height: 33px;
  border: 0
}

.view-toggle .icon-btn svg {
  width: 16px
}

.view-toggle .active {
  background: var(--surface-hover);
  color: var(--accent)
}

.fleet-selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 1px 17px;
  color: var(--faint);
  font-size: 12px
}

.fleet-selection-bar>div {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap
}

.fleet-selection-bar>div:last-child {
  gap: 14px
}

.fleet-selection-bar strong {
  color: var(--text);
  font-weight: 500
}

.fleet-selection-bar .text-btn {
  font-size: 11px
}

.selection-divider {
  padding: 0 3px;
  color: var(--stroke-strong)
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 17px
}

.device-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 12px;
  transition: border-color .25s,box-shadow .25s
}

.device-card:hover {
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow)
}

.device-card.selected {
  border-color: rgba(214,157,116,.55);
  box-shadow: inset 0 0 0 1px var(--accent-dim)
}

.device-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 15px 0;
  position: relative;
  z-index: 2
}

.checkbox-label {
  display: flex;
  align-items: center;
  margin-right: auto;
  cursor: pointer
}

.device-card-top>.status {
  font-size: 10px;
  padding: 4px 6px
}

.device-card-top>.icon-btn {
  width: 21px;
  height: 24px;
  min-width: 21px;
  margin-left: 2px
}

.device-card-top>.icon-btn svg {
  width: 15px
}

.device-card-art {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 164px;
  position: relative;
  perspective: 600px;
  overflow: hidden;
  margin-top: 2px
}

.device-card-art:before {
  content: '';
  position: absolute;
  inset: 10% 12% 0;
  background: radial-gradient(ellipse at 50% 75%,rgba(133,151,169,.12),transparent 68%)
}

.mini-tablet {
  position: relative;
  width: 80px;
  height: 113px;
  border: 3px solid #2d3540;
  outline: 1px solid #69717a;
  border-radius: 10px;
  background: #111a25;
  box-shadow: 13px 17px 25px rgba(0,0,0,.32),inset 0 0 0 1px #0c131d;
  transform: rotateY(-20deg) rotateZ(-11deg) rotateX(7deg);
  transition: transform .65s cubic-bezier(.21,.68,.24,1)
}

.mini-tablet:before {
  content: '';
  position: absolute;
  top: 2px;
  left: calc(50% - 1px);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #5d6f83;
  z-index: 2
}

.mini-tablet>div {
  position: absolute;
  inset: 4px 2px;
  border-radius: 5px;
  background: radial-gradient(ellipse at 77% 30%,#404245,#20303e 45%,#101b2b 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden
}

.mini-tablet>div:before {
  content: '';
  position: absolute;
  width: 130%;
  height: 140%;
  left: 20%;
  top: 15%;
  border: 1px solid rgba(211,159,119,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(211,159,119,.035),0 0 0 16px rgba(211,159,119,.03),0 0 0 24px rgba(211,159,119,.025);
  transform: rotate(-30deg)
}

.mini-tablet>div>span {
  color: #e2e2dc;
  font-size: 16px;
  letter-spacing: -.8px;
  z-index: 1
}

.mini-tablet>div>small {
  font: 8px Consolas,monospace;
  letter-spacing: .75px;
  color: #abb4ba;
  margin-top: 4px;
  z-index: 1
}

.mini-tablet>div>i {
  width: 20px;
  height: 1px;
  background: #8494a2;
  position: absolute;
  bottom: 3px;
  left: calc(50% - 10px);
  border-radius: 3px
}

.mini-tablet.tone-1>div {
  background: radial-gradient(ellipse at 70% 70%,#4c3b31,#222730 50%,#172330)
}

.mini-tablet.tone-2>div {
  background: radial-gradient(ellipse at 70% 70%,#354453,#1d2a37 50%,#151e2b)
}

/* Restore the original R2.2 tablet tilt, without moving the device card or other panels. */
@media (hover: hover) and (pointer: fine) {
  .device-card:hover .mini-tablet {
    transform: rotateY(-10deg) rotateZ(-7deg) rotateX(4deg) translateY(-4px)
  }
}

.device-art-ring {
  position: absolute;
  left: calc(50% - 90px);
  bottom: 14px;
  width: 180px;
  height: 51px;
  border: 1px solid rgba(139,158,178,.055);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none
}

.device-index {
  position: absolute;
  bottom: 15px;
  right: 17px;
  font: 25px Consolas,monospace;
  color: var(--stroke-strong);
  letter-spacing: -1px
}

.device-card-content {
  padding: 6px 17px 17px
}

.device-card-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.2px;
  padding: 0
}

.device-card-title:hover {
  color: var(--accent)
}

.device-card-content>p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.device-card-content>code {
  font-size: 10px;
  color: var(--faint)
}

.device-card-bottom {
  border-top: 1px solid var(--stroke);
  margin-top: 15px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 10px
}

.device-card-bottom>span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  min-width: 0;
  white-space: nowrap
}

.device-card-bottom .battery-cell {
  font-size: 10px;
  gap: 5px
}

.device-card-bottom .battery-shape {
  width: 16px;
  height: 8px
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--faint)
}

.pagination>div {
  display: flex;
  align-items: center;
  gap: 14px
}

.pagination .btn {
  font-size: 12px;
  min-height: 33px;
  padding: 8px 12px
}

.device-drawer-art {
  height: 220px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: radial-gradient(ellipse at 55% 65%,rgba(171,133,92,.13),rgba(100,135,160,.025) 65%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden
}

.mini-tablet.large {
  width: 100px;
  height: 147px;
  border-radius: 12px
}

.mini-tablet.large>div>span {
  font-size: 23px
}

.mini-tablet.large>div>small {
  font-size: 8px
}

.device-art-caption {
  position: absolute;
  bottom: 16px;
  font: 11px Consolas,monospace;
  color: var(--faint);
  letter-spacing: .5px
}

.detail-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 8px
}

.detail-list {
  margin: 0
}

.detail-list>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--stroke);
  padding: 13px 0;
  font-size: 12px
}

.detail-list dt {
  color: var(--muted)
}

.detail-list dd {
  margin: 0;
  text-align: right;
  font-size: 12px
}

.detail-meter {
  margin-top: 23px
}

.detail-meter>span {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px
}

.detail-meter strong {
  font-weight: 500;
  color: var(--text)
}

.meter {
  height: 5px;
  background: var(--surface-hover);
  border-radius: 3px;
  overflow: hidden
}

.meter>i {
  display: block;
  height: 100%;
  background: #95b1a3;
  border-radius: 3px
}

.meter.muted>i {
  background: #899aaa
}

/* File transfer studio. */

.transfer-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 21px;
  padding: 20px 22px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 11px
}

.transfer-command-title {
  display: flex;
  align-items: center;
  gap: 13px
}

.transfer-command-title .quick-icon {
  width: 38px;
  height: 41px
}

.transfer-command-title strong {
  font-size: 13px;
  font-weight: 500;
  display: block
}

.transfer-command-title small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 12px;
  margin-top: 5px
}

.transfer-command-title small svg {
  width: 11px
}

.transfer-device-picker {
  display: flex;
  align-items: center;
  gap: 14px
}

.transfer-device-picker>label {
  font: 9px Consolas,monospace;
  color: var(--faint);
  letter-spacing: 1px
}

.transfer-device-picker select {
  min-width: 295px;
  font-size: 12px
}

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

.file-pane {
  transition: border-color .2s,box-shadow .2s;
  display: flex;
  flex-direction: column
}

.file-pane-title {
  display: flex;
  align-items: center;
  gap: 11px
}

.file-pane-title>span {
  color: var(--muted)
}

.file-pane .panel-head {
  min-height: 81px
}

.file-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: var(--input);
  padding: 13px 19px;
  font-size: 12px;
  min-height: 42px
}

.file-breadcrumbs>svg {
  color: var(--faint)
}

.file-breadcrumbs .text-btn {
  font-size: 12px
}

.file-list {
  min-height: 260px;
  flex: 1;
  overflow-x: auto
}

.file-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left
}

.file-table th {
  font-size: 9px;
  font-family: Consolas,monospace;
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--faint);
  padding: 12px 10px;
  border-bottom: 1px solid var(--stroke)
}

.file-table th:first-child {
  width: 35px;
  padding-left: 17px
}

.file-table th:nth-child(3) {
  width: 69px
}

.file-table th:last-child {
  width: 28px;
  padding-right: 16px
}

.file-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--stroke);
  font-size: 11px;
  color: var(--faint)
}

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

.file-table td:first-child {
  padding-left: 17px
}

.file-table tr.selected {
  background: var(--accent-dim)
}

.file-table tbody tr:hover {
  background: rgba(114,143,173,.03)
}

.file-name {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 0;
  width: 100%;
  min-width: 0;
  font-size: 12px;
  color: var(--text)
}

.file-name>span:last-child {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden
}

.file-type {
  width: 27px;
  height: 31px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: #899bab;
  flex-shrink: 0
}

.file-type svg {
  width: 16px
}

.file-type.folder {
  background: rgba(214,163,111,.065);
  color: #c4a786
}

.file-type.apk {
  background: rgba(140,174,151,.09);
  color: #93b2a0
}

.drop-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--stroke-strong);
  border-radius: 8px;
  margin: 15px 18px 17px;
  padding: 15px;
  min-height: 82px;
  transition: background .2s,border-color .2s;
  color: var(--faint)
}

.drop-zone strong {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  text-align: left
}

.drop-zone small {
  font-size: 10px;
  display: block;
  text-align: left;
  margin-top: 4px
}

.drop-zone:hover {
  border-color: var(--accent);
  background: var(--accent-dim)
}

.drag-over {
  border-color: var(--accent)!important;
  box-shadow: inset 0 0 0 1px var(--accent)!important;
  background: var(--accent-dim)!important
}

.file-pane-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 14px 17px;
  border-top: 1px solid var(--stroke);
  font-size: 10px;
  color: var(--faint);
  min-height: 67px
}

.file-pane-footer .btn {
  font-size: 11px;
  gap: 7px;
  min-height: 32px;
  padding: 8px 10px
}

.file-pane-footer .btn svg {
  width: 14px
}

.tablet-storage {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  margin: 15px 18px 17px;
  min-height: 82px;
  padding: 15px
}

.tablet-storage>div:first-child {
  font: 9px Consolas,monospace;
  letter-spacing: .7px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px
}

.storage-track {
  height: 3px;
  border-radius: 5px;
  background: var(--surface-raised)
}

.storage-track i {
  display: block;
  background: #a8927b;
  width: 26%;
  height: 100%;
  border-radius: 5px
}

.tablet-storage small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  margin-top: 9px
}

.queue-panel {
  margin-top: 24px
}

.queue-count {
  font: 11px Consolas,monospace;
  letter-spacing: .1px;
  color: var(--muted);
  white-space: nowrap
}

.queue-count>span {
  padding: 0 7px;
  color: var(--faint)
}

.queue-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 27px 23px 30px;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  min-height: 115px
}

.queue-empty>span:first-child {
  height: 41px;
  width: 41px;
  background: var(--input);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex-shrink: 0
}

.queue-empty strong {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted)
}

.queue-empty p {
  font-size: 11px;
  margin-top: 5px
}

.queue-empty-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg,var(--stroke),transparent);
  margin-left: 30px
}

.operation-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-top: 1px solid var(--stroke)
}

.operation-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--muted);
  flex-shrink: 0
}

.operation-icon.running {
  color: var(--accent);
  background: var(--accent-dim)
}

.operation-icon.completed {
  color: var(--success)
}

.operation-icon.failed {
  color: var(--danger)
}

.operation-info {
  flex: 1;
  min-width: 0
}

.operation-info>div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.operation-info strong {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 480px
}

.operation-info p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  font-size: 11px;
  margin-top: 7px
}

.operation-info p>code {
  font-size: 11px
}

.operation-progress {
  height: 3px;
  background: var(--surface-raised);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden
}

.operation-progress i {
  display: block;
  background: var(--accent);
  height: 100%;
  transition: width .5s ease;
  border-radius: 3px
}

.operation-progress.completed i {
  background: var(--success)
}

.operation-progress.failed i {
  background: var(--danger)
}

.operation-progress.cancelled i {
  background: var(--faint)
}

.operation-percent {
  width: 30px;
  text-align: right;
  font: 12px Consolas,monospace;
  color: var(--muted)
}

.operation-action {
  width: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  color: var(--success);
  font-size: 11px
}

.operation-error {
  font-size: 11px;
  display: block;
  color: var(--danger);
  margin-top: 6px
}

.transfer-confirm-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px 0 32px;
  gap: 15px
}

.transfer-confirm-art>span {
  width: 67px;
  height: 75px;
  border: 1px solid var(--stroke-strong);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-dim)
}

.transfer-confirm-art>i {
  width: 42px;
  height: 1px;
  background: var(--stroke-strong)
}

.transfer-confirm-art>svg {
  color: var(--faint)
}

.confirm-file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 21px 0 0;
  max-height: 150px;
  overflow: auto
}

.confirm-file-list>span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px
}

.confirm-file-list svg {
  color: var(--faint)
}

/* Application deployments. */

.deployment-steps {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 4px 0 25px
}

.deployment-steps>span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.deployment-steps i {
  display: grid;
  place-items: center;
  font: 10px Consolas,monospace;
  width: 24px;
  height: 24px;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  color: var(--faint)
}

.deployment-steps .active i {
  color: var(--accent);
  border-color: rgba(200,147,106,.3);
  background: var(--accent-dim)
}

.deployment-steps .active {
  color: var(--text)
}

.deployment-steps>b {
  height: 1px;
  background: var(--stroke);
  flex: 1;
  max-width: 85px
}

.apk-file-panel {
  position: relative;
  min-height: 175px;
  border-style: dashed;
  border-color: var(--stroke-strong);
  overflow: hidden;
  background: radial-gradient(ellipse at 88% 35%,var(--accent-dim),transparent 60%),var(--surface)
}

.apk-upload-content {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 31px 33px;
  position: relative;
  z-index: 2
}

.apk-file-icon {
  width: 69px;
  height: 78px;
  flex-shrink: 0;
  border: 1px solid rgba(205,154,115,.22);
  background: linear-gradient(145deg,rgba(154,110,72,.1),rgba(68,85,104,.07));
  color: var(--accent);
  border-radius: 14px;
  display: grid;
  place-items: center
}

.apk-upload-content h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.5px
}

.apk-upload-content p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7
}

.apk-upload-content>div>div {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 18px
}

.apk-upload-content .btn {
  font-size: 12px;
  min-height: 35px;
  padding: 8px 11px
}

.apk-upload-content .text-btn {
  font-size: 12px
}

.apk-file-decoration {
  position: absolute;
  right: 35px;
  top: 22px;
  color: var(--accent);
  opacity: .09;
  transform: rotate(-15deg);
  pointer-events: none
}

.apk-selected-file {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 33px;
  position: relative;
  z-index: 2
}

.apk-selected-file h3 {
  font-size: 18px;
  letter-spacing: -.3px;
  margin-top: 8px;
  word-break: break-word
}

.apk-selected-file p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px
}

.apk-selected-file small {
  font-size: 11px;
  color: var(--faint);
  display: block;
  margin-top: 7px
}

.apk-selected-file>.icon-btn {
  margin-left: auto;
  align-self: flex-start
}

.deployment-layout {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(285px,1fr);
  gap: 22px;
  margin-top: 23px
}

.target-panel .panel-head {
  padding-bottom: 17px
}

.target-panel .panel-head .text-btn {
  font-size: 11px;
  white-space: nowrap
}

.apk-search-bar {
  padding: 0 21px 17px;
  display: flex;
  gap: 14px;
  align-items: center
}

.apk-search-bar .input-shell {
  flex: 1;
  min-width: 0;
  min-height: 39px
}

.apk-search-bar input {
  font-size: 12px;
  min-height: 36px
}

.apk-search-bar>.text-btn {
  font-size: 11px
}

.apk-target-list {
  height: 400px;
  overflow-y: auto;
  border-top: 1px solid var(--stroke);
  scrollbar-width: thin;
  scrollbar-color: var(--stroke-strong) transparent
}

.apk-target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 21px;
  border-bottom: 1px solid var(--stroke);
  cursor: pointer;
  transition: background .18s
}

.apk-target:hover {
  background: rgba(132,154,176,.035)
}

.apk-target.selected {
  background: var(--accent-dim)
}

.apk-target>span:nth-last-child(2) {
  flex: 1;
  min-width: 0
}

.apk-target strong {
  display: block;
  font-size: 12px;
  font-weight: 500
}

.apk-target small {
  display: block;
  font: 10px Consolas,monospace;
  color: var(--faint);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.apk-target>.status {
  font-size: 10px
}

.apk-target.unavailable {
  opacity: .47;
  cursor: not-allowed
}

.target-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  padding: 15px 21px;
  color: var(--faint)
}

.deployment-summary {
  border: 1px solid var(--stroke-strong);
  border-radius: 13px;
  padding: 25px 25px 20px;
  position: relative;
  background: radial-gradient(ellipse at 50% 5%,rgba(193,132,87,.12),transparent 62%),var(--surface);
  overflow: hidden;
  align-self: start
}

.deployment-summary-art {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 18px;
  color: var(--accent)
}

.deployment-summary-art>span {
  transform: rotate(-12deg);
  z-index: 2;
  animation: package-drift 7s ease-in-out infinite
}

.deployment-orbit {
  position: absolute;
  width: 180px;
  height: 62px;
  border: 1px solid rgba(208,156,115,.2);
  border-radius: 50%;
  transform: rotate(-25deg)
}

.deployment-orbit:before {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(208,156,115,.05);
  border-radius: 50%
}

.deployment-summary-art>i {
  position: absolute;
  top: 65px;
  left: 64%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d7a373;
  box-shadow: 0 0 12px #d7a373
}

.deployment-summary>.eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--faint)
}

.deployment-summary h2 {
  font-size: 26px;
  letter-spacing: -.8px;
  font-weight: 400;
  margin-top: 11px
}

.deployment-summary h2 span {
  color: var(--accent)
}

.deployment-summary-count {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 15px
}

.deployment-summary-count>strong {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--accent)
}

.deployment-summary-count>span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted)
}

.deployment-summary dl {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 16px 0;
  margin: 20px 0 13px
}

.deployment-summary dl>div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  gap: 12px;
  padding: 4px 0
}

.deployment-summary dt {
  color: var(--faint);
  flex-shrink: 0
}

.deployment-summary dd {
  margin: 0;
  max-width: 190px;
  font-size: 12px;
  text-align: right;
  overflow-wrap: anywhere
}

.summary-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--faint);
  min-height: 32px;
  margin-bottom: 17px
}

.deployment-summary>.btn {
  width: 100%;
  font-size: 12px;
  min-height: 43px;
  flex-direction: row-reverse;
  justify-content: space-between
}

.summary-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: var(--faint);
  margin-top: 13px
}

.deployment-confirm-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 4px 0 20px
}

.deployment-confirm-heading>span {
  display: grid;
  place-items: center;
  width: 63px;
  height: 68px;
  border: 1px solid var(--stroke-strong);
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-dim)
}

.deployment-confirm-heading strong {
  font-weight: 500;
  font-size: 16px
}

.deployment-confirm-heading p {
  font-size: 12px;
  color: var(--faint);
  margin-top: 5px
}

.deployment-count {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--stroke);
  padding: 21px 0
}

.deployment-count strong {
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -1.7px
}

.deployment-count>span {
  font-size: 12px;
  color: var(--muted)
}

.deployment-serials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 144px;
  overflow: auto
}

.deployment-serials code {
  font-size: 11px;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--muted)
}

/* Screen theater. */

.mirror-layout {
  display: grid;
  grid-template-columns: 255px minmax(0,1fr);
  gap: 20px;
  align-items: stretch
}

.mirror-picker {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  max-height: 745px
}

.mirror-picker .panel-head {
  padding: 21px 18px
}

.mirror-picker .panel-head h2 {
  font-size: 13px
}

.picker-search {
  padding: 0 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.picker-search .input-shell {
  padding: 0 10px;
  gap: 8px;
  min-height: 37px
}

.picker-search input {
  font-size: 12px;
  min-height: 35px
}

.picker-search select {
  min-height: 34px;
  font-size: 12px
}

.mirror-device-list {
  flex: 1;
  overflow-y: auto;
  border-top: 1px solid var(--stroke);
  scrollbar-width: thin
}

.mirror-device {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 14px 16px;
  width: 100%;
  border-bottom: 1px solid var(--stroke);
  position: relative
}

.mirror-device>.device-avatar {
  width: 25px;
  height: 29px
}

.mirror-device>span:nth-child(2) {
  min-width: 0;
  flex: 1
}

.mirror-device strong {
  font-size: 12px;
  font-weight: 500;
  display: block
}

.mirror-device small {
  font: 10px Consolas,monospace;
  color: var(--faint);
  display: block;
  margin-top: 4px
}

.mirror-device.active {
  background: var(--accent-dim)
}

.mirror-device.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--accent)
}

.mirror-device:not(:disabled):hover {
  background: var(--surface-hover)
}

.connection-dot {
  width: 4px;
  height: 4px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0
}

.connection-dot.offline {
  background: var(--faint)
}

.picker-foot {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  font-size: 10px;
  color: var(--faint);
  align-items: center;
  border-top: 1px solid var(--stroke)
}

.mirror-theater {
  display: flex;
  flex-direction: column;
  min-height: 695px;
  background: var(--surface)
}

.mirror-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--stroke);
  padding: 18px 21px
}

.mirror-toolbar>div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0
}

.mirror-toolbar strong {
  font-size: 12px;
  font-weight: 500;
  display: block
}

.mirror-toolbar small {
  font: 10px Consolas,monospace;
  color: var(--faint);
  display: block;
  margin-top: 4px
}

.mirror-toolbar .status {
  margin-left: 8px;
  font-size: 10px
}

.mirror-toolbar>.tag {
  font-size: 9px
}

.mirror-viewport {
  position: relative;
  flex: 1;
  min-height: 575px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 50%,rgba(68,87,108,.07),transparent 62%),repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(152,165,186,.019) 60px),repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(152,165,186,.019) 60px);
  overflow: hidden;
  padding: 24px;
  isolation: isolate
}

.mirror-floor {
  position: absolute;
  left: 20%;
  right: 15%;
  bottom: 40px;
  height: 95px;
  filter: blur(55px);
  border-radius: 50%;
  background: rgba(125,92,61,.18);
  z-index: 0
}

.screen-hardware {
  position: relative;
  z-index: 1;
  width: min(302px,88%);
  aspect-ratio: 420/700;
  border: 7px solid #090d13;
  outline: 1px solid #4f5762;
  border-radius: 23px;
  background: #101925;
  box-shadow: 15px 25px 60px rgba(0,0,0,.25),0 0 0 3px #1a232d;
  overflow: hidden;
  transition: width .4s,aspect-ratio .4s
}

.screen-hardware.landscape {
  width: min(615px,95%);
  aspect-ratio: 700/420
}

.screen-hardware canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px
}

.screen-camera {
  position: absolute;
  left: calc(50% - 2px);
  top: 1px;
  width: 4px;
  height: 4px;
  background: #35475b;
  border-radius: 50%;
  z-index: 5;
  border: 1px solid #101821
}

.screen-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 35%,#253344,#101924 67%);
  padding: 20px;
  overflow: hidden
}

.screen-logo {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(192,179,160,.16);
  color: #c4ac94;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  box-shadow: 0 0 0 12px rgba(188,147,111,.025),0 0 0 24px rgba(188,147,111,.015)
}

.screen-placeholder h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.5px;
  color: #e6e4df;
  line-height: 1.3
}

.screen-placeholder p {
  font-size: 12px;
  color: #8a97a8;
  line-height: 1.9;
  margin-top: 13px
}

.screen-placeholder .btn {
  margin-top: 25px;
  font-size: 12px;
  min-height: 36px;
  background: #dca980;
  border-color: #dca980;
  color: #211d17;
  padding: 10px 13px
}

.screen-placeholder>span:last-child {
  font: 8px Consolas,monospace;
  letter-spacing: 1.3px;
  color: #536374;
  position: absolute;
  bottom: 22px
}

.screen-hardware.landscape .screen-logo {
  margin-bottom: 18px;
  width: 40px;
  height: 40px
}

.screen-hardware.landscape .screen-logo svg {
  width: 23px
}

.screen-hardware.landscape .screen-placeholder p {
  margin-top: 9px
}

.screen-hardware.landscape .screen-placeholder .btn {
  margin-top: 17px
}

.mirror-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--stroke);
  padding: 14px 20px;
  min-height: 63px
}

.mirror-controls>span {
  font: 10px Consolas,monospace;
  color: var(--faint)
}

.mirror-controls>div {
  display: flex;
  align-items: center;
  gap: 5px
}

.mirror-controls .icon-btn {
  height: 31px;
  min-width: 31px;
  width: 31px
}

.mirror-controls .icon-btn svg {
  width: 17px
}

.control-divider {
  height: 18px;
  width: 1px;
  background: var(--stroke);
  margin: 0 6px
}

.mirror-notice {
  margin-top: 21px
}

.mirror-theater:fullscreen {
  border-radius: 0;
  width: 100%;
  height: 100%;
  background: #10151e
}

.mirror-theater:fullscreen .mirror-viewport {
  min-height: 0;
  flex: 1
}

.mirror-theater:fullscreen .screen-hardware {
  width: min(340px,70vw);
  max-height: calc(100svh - 200px)
}

.mirror-theater:fullscreen .screen-hardware.landscape {
  width: min(750px,80vw)
}

/* Activity and preferences. */

.activity-toolbar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px
}

.activity-toolbar .input-shell {
  min-width: 200px;
  flex: 1;
  max-width: 370px
}

.activity-toolbar select {
  font-size: 12px;
  min-height: 44px
}

.activity-toolbar>span {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap
}

.activity-table {
  min-width: 770px
}

.activity-table td {
  padding: 18px;
  font-size: 12px
}

.activity-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 200px
}

.activity-cell strong {
  font-size: 12px;
  font-weight: 500
}

.activity-table .mono {
  font-size: 11px;
  white-space: nowrap
}

.settings-layout {
  display: grid;
  grid-template-columns: 198px minmax(0,1fr);
  gap: 25px
}

.settings-nav {
  padding-top: 4px
}

.settings-nav>button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 12px;
  padding: 13px 14px;
  margin-bottom: 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted)
}

.settings-nav>button svg:last-child {
  margin-left: auto;
  width: 12px;
  color: var(--faint)
}

.settings-nav>button.active {
  background: var(--surface);
  border-color: var(--stroke);
  color: var(--accent)
}

.settings-nav>button:hover {
  background: var(--surface)
}

.settings-note {
  padding: 35px 15px 0;
  margin-top: 12px;
  border-top: 1px solid var(--stroke);
  overflow: hidden
}

.settings-note .eyebrow {
  font-size: 10px;
  color: var(--faint)
}

.settings-note p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: -.2px
}

.orbit-small {
  display: block;
  width: 133px;
  height: 73px;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  transform: rotate(-30deg);
  position: relative;
  margin-top: 39px;
  margin-bottom: 35px
}

.orbit-small:after {
  content: '';
  position: absolute;
  inset: 10px -10px;
  border: 1px solid var(--stroke);
  border-radius: 50%
}

.orbit-small:before {
  content: '';
  position: absolute;
  top: 6px;
  right: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent)
}

.settings-body {
  padding: 32px;
  min-height: 580px;
  overflow: visible
}

.settings-section-head {
  margin-bottom: 30px
}

.settings-section-head h2 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.65px;
  line-height: 1.25
}

.settings-section-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7
}

.profile-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  margin-bottom: 30px
}

.profile-avatar {
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#cbbb9f,#7d7c75);
  border: 3px solid rgba(221,222,214,.12);
  border-radius: 50%;
  color: #202326;
  font-size: 20px;
  letter-spacing: -1px;
  flex-shrink: 0
}

.profile-banner>div {
  flex: 1;
  min-width: 0
}

.profile-banner strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere
}

.profile-banner>div>span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  margin-top: 5px
}

.profile-banner>.tag {
  font-size: 9px
}

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

.settings-form input {
  width: 100%;
  font-size: 13px;
  min-height: 44px
}

.settings-form .field-label {
  font-size: 12px;
  font-weight: 400
}

.settings-form .notice {
  margin-top: 25px
}

.form-footer {
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px
}

.form-footer>span {
  font-size: 11px;
  color: var(--faint);
  line-height: 1.8
}

.form-footer .btn {
  font-size: 12px;
  min-height: 39px
}

.security-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--stroke);
  background: var(--input);
  border-radius: 9px;
  padding: 18px;
  margin-bottom: 26px
}

.security-summary>span:first-child {
  color: var(--success)
}

.security-summary>div {
  flex: 1
}

.security-summary strong {
  font-size: 13px;
  font-weight: 500
}

.security-summary p {
  font-size: 11px;
  color: var(--faint);
  margin-top: 5px
}

.security-summary>.status {
  font-size: 10px
}

.password-fields {
  display: grid;
  gap: 20px;
  max-width: 500px
}

.password-fields small {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: var(--faint);
  margin-top: 7px
}

.security-footnote {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--stroke)
}

.security-footnote h3 {
  font-size: 12px;
  color: var(--muted)
}

.security-footnote p {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.8;
  margin-top: 8px;
  max-width: 590px
}

.settings-block>h3,.settings-block>div>h3 {
  font-size: 13px;
  font-weight: 500
}

.settings-block>p,.settings-block>div>p {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.8;
  margin-top: 6px
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
  margin-top: 19px;
  margin-bottom: 25px
}

.theme-option {
  padding: 9px;
  border: 1px solid var(--stroke-strong);
  background: var(--input);
  border-radius: 9px;
  transition: border-color .18s
}

.theme-option:hover {
  border-color: var(--faint)
}

.theme-option.selected {
  border-color: var(--accent)
}

.theme-preview {
  display: block;
  height: 78px;
  background: #111923;
  border: 1px solid #333c45;
  border-radius: 5px;
  position: relative;
  overflow: hidden
}

.theme-preview i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 27%;
  background: #0c1117;
  border-right: 1px solid #30373e
}

.theme-preview b {
  position: absolute;
  top: 13px;
  left: 35%;
  right: 7%;
  height: 24px;
  background: #26323c;
  border-radius: 3px
}

.theme-preview b:last-child {
  top: 44px;
  height: 22px;
  background: #1c2630
}

.theme-preview.light {
  background: #f0f0ed;
  border-color: #dddeda
}

.theme-preview.light i {
  background: #e3e6e1;
  border-color: #cfd4cc
}

.theme-preview.light b {
  background: #d4d8d0
}

.theme-preview.light b:last-child {
  background: #e0e3db
}

.theme-preview.system {
  background: linear-gradient(90deg,#141c25 50%,#e2e6de 50%);
  border-color: #67717b
}

.theme-preview.system b {
  background: linear-gradient(90deg,#2c363f 23%,#bec6b9 23%)
}

.theme-preview.system b:last-child {
  background: linear-gradient(90deg,#212c36 23%,#cbd2c7 23%)
}

.theme-option>span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-top: 11px;
  padding: 0 1px 2px;
  color: var(--muted);
  text-align: left
}

.theme-option>span:last-child>svg {
  width: 13px
}

.theme-option>span:last-child>i {
  margin-left: auto;
  color: var(--accent);
  width: 13px
}

.theme-option>span:last-child>i>svg {
  width: 13px
}

.theme-option.selected>span:last-child {
  color: var(--text)
}

.preference-row {
  padding: 23px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--stroke)
}

.preference-row h3 {
  font-size: 13px;
  font-weight: 500
}

.preference-row p {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.8;
  margin-top: 5px
}

.preference-row select {
  min-width: 130px;
  min-height: 36px;
  font-size: 12px
}

.switch {
  width: 36px;
  height: 21px;
  min-width: 36px;
  border: 1px solid var(--stroke-strong);
  border-radius: 14px;
  background: var(--surface-hover);
  padding: 2px;
  transition: background .2s
}

.switch>i {
  display: block;
  background: var(--muted);
  height: 15px;
  width: 15px;
  border-radius: 50%;
  transition: transform .2s
}

.switch.on {
  background: var(--accent);
  border-color: var(--accent)
}

.switch.on>i {
  transform: translateX(14px);
  background: var(--on-accent)
}

.reset-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--stroke)
}

.reset-block .btn {
  font-size: 12px;
  white-space: normal;
  min-width: 150px
}

.settings-body>.notice {
  margin-top: 4px
}

/* Dialogs, keyboard navigation, feedback. */

.dialog {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  border: 1px solid var(--stroke-strong);
  border-radius: 17px;
  padding: 0;
  max-height: min(87svh,820px);
  width: min(565px,calc(100vw - 34px));
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 35px 160px rgba(0,0,0,.55);
  overflow: hidden;
}

.dialog:not(.drawer) {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
}

.bulk-targets-count {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 14px;
}
.bulk-action-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}
.bulk-preset-pill {
  padding: 10px 12px;
  background: var(--input);
  border: 1px solid var(--stroke-strong);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bulk-preset-pill:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}
.bulk-preset-pill.active {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.bulk-preset-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.bulk-preset-desc {
  font-size: 11px;
  color: var(--muted);
}

.dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-arrival .25s both
}

.dialog::backdrop {
  background: rgba(3,7,12,.72);
  backdrop-filter: blur(8px)
}

.dialog-head {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--stroke)
}

.dialog-head h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.6px;
  line-height: 1.3
}

.dialog-head p {
  font-size: 12px;
  color: var(--faint);
  margin-top: 7px;
  line-height: 1.7
}

.dialog-head>.icon-btn {
  margin-top: -2px;
  flex-shrink: 0
}

.dialog-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  scrollbar-width: thin
}

.dialog-body>p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 15px
}

.dialog-body>p:last-child {
  margin-bottom: 0
}

.dialog-body>p>b {
  font-weight: 500;
  color: var(--text)
}

.dialog-body>p>code {
  background: var(--surface-raised);
  padding: 3px 5px;
  color: var(--accent);
  border-radius: 3px
}

.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 24px;
  border-top: 1px solid var(--stroke);
  flex-shrink: 0
}

.dialog-footer .btn {
  font-size: 12px
}

.dialog.drawer {
  position: fixed;
  margin: 0 0 0 auto;
  inset: 0 0 0 auto;
  height: 100svh;
  max-height: 100svh;
  width: min(450px,calc(100vw - 22px));
  border-radius: 18px 0 0 18px
}

.dialog.drawer[open] {
  animation: drawer-arrival .32s both
}

.drawer .dialog-body {
  flex: 1
}

.drawer .dialog-head {
  padding: 27px 25px
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 26px 23px
}

.help-grid>div>svg {
  color: var(--accent);
  margin-bottom: 13px
}

.help-grid h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.2px
}

.help-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 9px
}

.notification-list {
  margin: -6px 0
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--stroke)
}

.notification-item:last-child {
  border-bottom: 0
}

.notification-item>div {
  min-width: 0;
  flex: 1
}

.notification-item strong {
  font-size: 13px;
  font-weight: 500;
  display: block
}

.notification-item p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.7;
  overflow-wrap: anywhere
}

.notification-item small {
  font: 10px Consolas,monospace;
  color: var(--faint);
  display: block;
  margin-top: 10px
}

.command-dialog {
  width: min(620px,calc(100vw - 30px))
}

.command-dialog .dialog-head {
  border-bottom: 0;
  padding-bottom: 12px
}

.command-dialog .dialog-body {
  padding-top: 10px
}

.command-input {
  min-height: 48px;
  margin-bottom: 18px
}

.command-input input {
  font-size: 14px
}

.command-results {
  max-height: 410px;
  overflow-y: auto;
  scrollbar-width: thin
}

.command-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  margin: 2px 0;
  color: var(--muted)
}

.command-item>span {
  flex: 1;
  font-size: 13px;
  color: var(--text)
}

.command-item small {
  display: block;
  font-size: 11px;
  color: var(--faint);
  margin-top: 4px
}

.command-item.selected {
  border-color: rgba(190,145,109,.22);
  background: var(--accent-dim);
  color: var(--accent)
}

.command-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--faint);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke)
}

.command-hint kbd {
  font-size: 11px;
  margin-left: 5px
}

.command-hint kbd:first-child {
  margin-left: 0
}

.no-results {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px
}

.toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  max-width: 420px;
  width: calc(100vw - 48px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none
}

.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--stroke-strong);
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: 0 8px 35px rgba(0,0,0,.22);
  padding: 12px 11px 12px 15px;
  pointer-events: auto;
  animation: toast-arrival .3s both;
  transition: opacity .2s,transform .2s
}

.toast>svg {
  color: var(--success);
  width: 17px
}

.toast.error>svg {
  color: var(--danger)
}

.toast.info>svg {
  color: var(--accent)
}

.toast>span {
  font-size: 12px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  overflow-wrap: anywhere
}

.toast>.icon-btn {
  width: 26px;
  min-width: 26px;
  height: 26px
}

.toast>.icon-btn svg {
  width: 15px
}

.toast.leaving {
  opacity: 0;
  transform: translateY(8px)
}

.connection-error {
  max-width: 620px;
  margin: 15vh auto;
  padding: 32px
}

.connection-error>h1 {
  font-size: 31px;
  letter-spacing: -1px;
  margin-top: 35px;
  margin-bottom: 20px
}

.connection-error>p {
  color: var(--muted);
  line-height: 1.9;
  margin-top: 15px
}

.connection-error>button {
  margin-top: 25px
}

.connection-error>.brand-word {
  margin-left: 10px
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes pulse {
  50% {
    opacity: .35
  }
}

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

@keyframes scene-arrival {
  from {
    opacity: 0;
    transform: scale(.94)
  }
  to {
    opacity: 1;
    transform: scale(1)
  }
}

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

@keyframes aura-shift {
  from {
    transform: translate(0,0) scale(.96)
  }
  to {
    transform: translate(3%,-4%) scale(1.06)
  }
}

@keyframes package-drift {
  0%,100% {
    transform: translateY(0) rotate(-12deg)
  }
  50% {
    transform: translateY(-6px) rotate(-4deg)
  }
}

@keyframes dialog-arrival {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985)
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes drawer-arrival {
  from {
    opacity: 0;
    transform: translateX(35px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

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

.legacy-reduce-motion-disabled *,.legacy-reduce-motion-disabled *:before,.legacy-reduce-motion-disabled *:after {
  animation-duration: .01ms!important;
  animation-iteration-count: 1!important;
  transition-duration: .01ms!important;
  scroll-behavior: auto!important
}

@media(min-width:1750px) {
  .login-world {
    min-height: 870px
  }
  .login-hero-copy {
    padding-top: 87px;
    padding-left: 75px
  }
  .login-scene {
    top: 185px;
    right: -10px;
    bottom: 30px;
    left: 8%
  }
  .login-hero-copy h1 {
    font-size: 94px
  }
  .cinema-tabs {
    left: 75px;
    right: 55px;
    bottom: 42px
  }
  .scene-annotation {
    left: 77px;
    bottom: 185px
  }
  .login-aside {
    padding-top: 80px;
    padding-bottom: 95px
  }
  .login-form-wrap {
    max-width: 395px
  }
  .login-aside h2 {
    font-size: 64px
  }
  .login-description {
    font-size: 14px
  }
  .login-aside .input-shell {
    min-height: 51px
  }
  .login-aside .input-shell input {
    font-size: 14px
  }
  .login-submit {
    min-height: 52px;
    font-size: 14px
  }
  .login-header {
    padding-left: 75px;
    padding-right: 75px
  }
  .overview-hero {
    height: 352px
  }
  .overview-hero-copy {
    top: 39px;
    left: 41px
  }
  .overview-hero-copy h2 {
    font-size: 55px
  }
  .overview-hero-copy p {
    font-size: 13px
  }
  .hero-link {
    margin-top: 20px;
    font-size: 12px
  }
  .metric>strong {
    font-size: 44px
  }
  .metric>div:first-child {
    font-size: 12px
  }
  .panel-head h2 {
    font-size: 15px
  }
}

@media(max-width:1350px) {
  .devices-grid {
    grid-template-columns: repeat(3,minmax(0,1fr))
  }
  .page-content {
    padding-left: 27px;
    padding-right: 27px
  }
  .topbar {
    padding-left: 27px;
    padding-right: 27px
  }
  .app-footer {
    margin-left: 27px;
    margin-right: 27px
  }
  .page-head h1 {
    font-size: 28px
  }
.dashboard-bottom-grid {
    grid-template-columns: 1.4fr 1fr
  }
  .compact-table th,.compact-table td {
    padding-left: 12px;
    padding-right: 12px
  }
  .compact-table th:nth-child(2),.compact-table td:nth-child(2) {
    display: none
  }
  .metric {
    padding-left: 16px;
    padding-right: 16px
  }
  .metric>footer {
    font-size: 9px
  }
  .metric>div:first-child {
    font-size: 11px
  }
  .metric>div>svg {
    width: 15px
  }
  .login-layout {
    grid-template-columns: minmax(0,1.5fr) minmax(370px,1fr)
  }
  .login-aside {
    padding-left: 36px;
    padding-right: 36px
  }
  .login-hero-copy {
    padding-left: 42px
  }
  .login-hero-copy h1 {
    font-size: 67px;
    letter-spacing: -3.8px
  }
  .login-hero-copy p {
    font-size: 13px
  }
  .login-header {
    padding-left: 42px;
    padding-right: 42px
  }
  .login-header-note {
    font-size: 10px;
    margin-right: 24px
  }
  .cinema-tabs {
    left: 42px;
    right: 23px;
    gap: 15px
  }
  .cinema-tabs small {
    font-size: 10px
  }
  .cinema-tabs button>span {
    font-size: 10px
  }
  .scene-annotation {
    left: 43px
  }
  .login-coordinate {
    right: 25px;
    font-size: 9px
  }
  .deployment-layout {
    grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr);
    gap: 17px
  }
  .deployment-summary {
    padding: 22px
  }
  .deployment-summary h2 {
    font-size: 24px
  }
  .apk-target {
    padding-left: 16px;
    padding-right: 16px;
    gap: 9px
  }
  .target-panel .panel-head {
    padding-left: 17px;
    padding-right: 17px
  }
  .target-panel .panel-head h2 {
    font-size: 13px
  }
  .target-panel .panel-head .text-btn {
    font-size: 10px
  }
  .apk-target small {
    font-size: 9px
  }
  .mirror-layout {
    grid-template-columns: 232px minmax(0,1fr);
    gap: 17px
  }
  .mirror-toolbar>.tag {
    display: none
  }
  .transfer-command-title strong {
    font-size: 12px
  }
  .transfer-device-picker>label {
    display: none
  }
  .settings-layout {
    grid-template-columns: 175px minmax(0,1fr);
    gap: 18px
  }
  .settings-body {
    padding: 26px
  }
  .theme-options {
    gap: 10px
  }
  .theme-option>span:last-child {
    font-size: 10px;
    gap: 5px
  }
  .theme-option>span:last-child>svg {
    width: 12px
  }
  .form-footer>span {
    max-width: 230px
  }
}

@media(max-width:1120px) {
  .sidebar {
    width: 203px;
    padding-left: 13px;
    padding-right: 13px
  }
  .sidebar>.brand {
    margin-left: 9px
  }
  .sidebar .brand-word>span {
    font-size: 9px;
    letter-spacing: 1.7px
  }
  .sidebar .brand-word {
    font-size: 20px
  }
  .sidebar-user {
    margin-left: -13px;
    margin-right: -13px;
    padding-left: 12px;
    padding-right: 11px
  }
  .workspace-switch {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px
  }
  .workspace-switch small {
    font-size: 9.5px
  }
  .workspace-edition {
    display: none
  }
  .nav-item {
    font-size: 12px;
    padding-left: 11px;
    padding-right: 11px;
    gap: 9px
  }
  .nav-item>svg {
    width: 16px
  }
  .nav-label {
    font-size: 9px
  }
  .app-main {
    margin-left: 203px
  }
  .page-content {
    padding: 27px 23px
  }
  .topbar {
    padding: 0 23px
  }
  .app-footer {
    margin-left: 23px;
    margin-right: 23px
  }
  .dashboard-mid-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 15px
  }
  .dashboard-bottom-grid {
    gap: 15px
  }
  .metrics-grid {
    gap: 10px
  }
  .metric {
    padding: 16px 13px
  }
  .metric>div:first-child {
    font-size: 10px
  }
  .metric>strong {
    font-size: 35px;
    margin: 15px 0 10px
  }
  .metric>footer {
    font-size: 9px;
    gap: 5px
  }
  .metric.attention .text-btn {
    font-size: 9px
  }
  .metric>div>svg {
    display: none
  }
  .page-head {
    gap: 12px
  }
  .page-head h1 {
    font-size: 26px
  }
  .page-head p {
    font-size: 12px
  }
  .overview-hero-copy {
    left: 25px;
    top: 35px
  }
  .overview-hero-copy h2 {
    font-size: 43px
  }
  .hero-telemetry {
    left: 52%;
    font-size: 8px
  }
  .hero-orbit-label {
    font-size: 8px;
    right: 20px;
    bottom: 22px
  }
  .hero-orbit-label small {
    font-size: 9px
  }
  .panel-head {
    padding: 18px
  }
  .panel-head h2 {
    font-size: 13px
  }
  .panel-head p {
    font-size: 11px
  }
  .quick-row {
    margin: 0 17px;
    gap: 10px
  }
  .quick-row strong {
    font-size: 11px
  }
  .quick-row small {
    font-size: 10px
  }
  .quick-row>.quick-icon {
    width: 29px;
    height: 31px
  }
  .quick-row .quick-icon svg {
    width: 18px
  }
  .timeline {
    padding: 0 16px
  }
  .timeline-row {
    gap: 8px
  }
  .timeline-row strong {
    font-size: 11px
  }
  .timeline-row time {
    font-size: 8px
  }
  .timeline-row .activity-icon {
    width: 23px;
    height: 26px
  }
  .timeline-row p {
    font-size: 9px
  }
  .summary-filter {
    padding: 15px 13px
  }
  .summary-filter>span {
    gap: 6px;
    font-size: 11px
  }
  .summary-filter>span>svg {
    width: 14px
  }
  .summary-filter>strong {
    font-size: 24px
  }
  .device-summary-strip {
    gap: 10px
  }
  .fleet-toolbar {
    flex-wrap: wrap
  }
  .fleet-toolbar .search-input {
    flex-basis: 30%
  }
  .fleet-toolbar select {
    max-width: 170px;
    font-size: 12px;
    padding-left: 10px
  }
  .fleet-toolbar .search-input input {
    font-size: 12px
  }
  .fleet-selection-bar {
    font-size: 11px
  }
  .fleet-selection-bar>div:last-child {
    gap: 8px
  }
  .fleet-selection-bar .btn {
    font-size: 11px
  }
  .devices-grid {
    gap: 12px
  }
  .device-card-top {
    padding-left: 12px;
    padding-right: 12px
  }
  .device-card-content {
    padding-left: 13px;
    padding-right: 13px
  }
  .device-card-bottom>span {
    font-size: 9px
  }
  .device-card-bottom>span>svg {
    width: 11px
  }
  .file-workspace {
    gap: 15px
  }
  .file-pane-footer {
    flex-wrap: wrap;
    gap: 10px
  }
  .file-pane-footer>span {
    font-size: 10px
  }
  .transfer-command-bar {
    gap: 16px;
    padding: 18px
  }
  .transfer-command-title small {
    font-size: 10px
  }
  .transfer-command-title .quick-icon {
    width: 31px;
    height: 35px
  }
  .transfer-device-picker select {
    min-width: 265px;
    font-size: 12px
  }
  .apk-upload-content {
    padding: 25px;
    gap: 18px
  }
  .apk-upload-content h3 {
    font-size: 16px
  }
  .apk-upload-content p {
    font-size: 12px
  }
  .apk-file-icon {
    width: 60px;
    height: 70px
  }
  .deployment-steps>span {
    font-size: 11px;
    gap: 7px
  }
  .deployment-steps {
    gap: 12px
  }
  .deployment-steps>b {
    max-width: 55px
  }
  .deployment-layout {
    grid-template-columns: minmax(0,1.4fr) minmax(245px,1fr)
  }
  .target-panel .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px
  }
  .apk-target>.device-avatar {
    display: none
  }
  .apk-search-bar {
    padding: 0 16px 16px
  }
  .apk-target>.status {
    font-size: 9px;
    padding: 3px 5px
  }
  .apk-target {
    padding-top: 16px;
    padding-bottom: 16px
  }
  .deployment-summary {
    padding: 20px
  }
  .deployment-summary>.eyebrow {
    font-size: 8px
  }
  .mirror-layout {
    grid-template-columns: 215px minmax(0,1fr)
  }
  .mirror-picker .panel-head {
    padding-left: 15px;
    padding-right: 15px
  }
  .mirror-picker .panel-head h2 {
    font-size: 12px
  }
  .mirror-toolbar {
    padding: 17px 16px
  }
  .mirror-toolbar small {
    font-size: 9px
  }
  .mirror-toolbar .status {
    display: none
  }
  .mirror-controls {
    padding-left: 15px;
    padding-right: 15px
  }
  .mirror-controls>span {
    font-size: 9px;
    max-width: 84px;
    line-height: 1.7
  }
  .mirror-controls .icon-btn {
    width: 26px;
    min-width: 26px;
    height: 29px
  }
  .mirror-controls .icon-btn svg {
    width: 15px
  }
  .mirror-controls>div {
    gap: 2px
  }
  .control-divider {
    margin: 0 4px
  }
  .screen-hardware {
    width: 277px
  }
  .settings-layout {
    grid-template-columns: 155px minmax(0,1fr)
  }
  .settings-nav>button {
    font-size: 12px;
    gap: 8px;
    padding-left: 11px;
    padding-right: 10px
  }
  .settings-nav>button>svg:first-child {
    width: 15px
  }
  .settings-body {
    padding: 24px
  }
  .settings-section-head h2 {
    font-size: 21px
  }
  .profile-banner {
    padding: 17px;
    gap: 12px
  }
  .profile-banner>.tag {
    display: none
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 23px
  }
  .settings-form .field-label {
    font-size: 12px
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column-reverse
  }
  .form-footer>span {
    max-width: none
  }
  .theme-options {
    gap: 8px
  }
  .theme-option {
    padding: 6px
  }
  .theme-option>span:last-child {
    font-size: 9px
  }
  .theme-option>span:last-child>svg {
    display: none
  }
  .theme-preview {
    height: 63px
  }
  .theme-preview b {
    top: 10px;
    height: 20px
  }
  .theme-preview b:last-child {
    top: 38px;
    height: 16px
  }
  .preference-row p {
    font-size: 11px
  }
  .preference-row h3 {
    font-size: 12px
  }
  .reset-block {
    align-items: flex-start;
    flex-direction: column
  }
  .login-world {
    min-height: 750px
  }
  .login-layout {
    grid-template-columns: minmax(0,1.35fr) minmax(355px,1fr)
  }
  .login-header {
    height: 82px;
    padding-left: 34px;
    padding-right: 34px
  }
  .login-header-note {
    display: none
  }
  .login-layout {
    min-height: calc(100svh - 82px)
  }
  .login-hero-copy {
    padding-left: 34px;
    padding-top: 70px
  }
  .login-hero-copy h1 {
    font-size: 59px;
    letter-spacing: -3.3px
  }
  .login-scene {
    top: 190px;
    right: -55px;
    bottom: 80px;
    left: -18%
  }
  .login-aside {
    padding: 50px 30px 80px
  }
  .login-aside h2 {
    font-size: 50px
  }
  .login-form-eyebrow {
    font-size: 9px;
    letter-spacing: 1px
  }
  .login-aside-footer {
    left: 30px;
    right: 30px;
    font-size: 8.5px
  }
  .login-aside-footer .text-btn {
    font-size: 9px
  }
  .cinema-tabs {
    left: 34px;
    right: 22px;
    gap: 15px
  }
  .cinema-tabs button {
    gap: 8px
  }
  .cinema-tabs button>div {
    font-size: 12px
  }
  .cinema-tabs small {
    font-size: 9px;
    white-space: normal
  }
  .cinema-tabs svg {
    display: none
  }
  .scene-annotation {
    left: 35px;
    font-size: 10px;
    bottom: 146px
  }
  .scene-annotation small {
    font-size: 8px
  }
  .login-coordinate {
    font-size: 8px;
    bottom: 150px
  }
  .login-hero-copy .eyebrow {
    font-size: 10px
  }
  .login-hero-copy p {
    font-size: 12px
  }
.login-description {
    font-size: 12px;
    margin-top: 19px;
    margin-bottom: 25px
  }
}

@media(max-width:880px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s;
    box-shadow: 15px 0 100px rgba(0,0,0,.35);
    width: 228px
  }
  .app-main {
    margin-left: 0
  }
  .app-shell.menu-open .sidebar {
    transform: translateX(0)
  }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 34;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(3px)
  }
  .app-shell.menu-open .sidebar-scrim {
    display: block
  }
  .breadcrumbs [data-action=menu] {
    display: inline-flex
  }
  .sidebar .brand-word {
    font-size: 23px
  }
  .sidebar .brand-word>span {
    font-size: 10px
  }
  .nav-item {
    font-size: 12px
  }
  .nav-label {
    font-size: 10px
  }
  .workspace-switch {
    font-size: 12px
  }
  .workspace-switch small {
    font-size: 10.5px
  }
  .sidebar nav {
    flex: 1
  }
  .topbar {
    height: 65px
  }
  .page-content {
    padding: 28px 25px
  }
  .app-footer {
    margin-left: 25px;
    margin-right: 25px
  }
  .page-head h1 {
    font-size: 27px
  }
  .overview-hero {
    height: 303px
  }
  .metrics-grid {
    gap: 12px
  }
  .metric>div:first-child {
    font-size: 11px
  }
  .metric>div>svg {
    display: block
  }
  .metric>footer {
    font-size: 9px
  }
  .login-layout {
    grid-template-columns: minmax(0,1.15fr) minmax(350px,1fr)
  }
  .login-hero-copy {
    padding-left: 27px;
    padding-top: 77px
  }
  .login-hero-copy h1 {
    font-size: 52px;
    letter-spacing: -3px;
    line-height: 1.1
  }
  .login-header {
    padding-left: 28px;
    padding-right: 28px
  }
  .login-hero-copy p {
    font-size: 12px
  }
  .login-hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px
  }
  .login-scene {
    top: 212px;
    left: -47%;
    right: -30%;
    bottom: 110px
  }
  .cinema-tabs {
    left: 28px;
    right: 22px;
    gap: 13px
  }
  .cinema-tabs button {
    gap: 6px
  }
  .cinema-tabs button>div {
    font-size: 11px
  }
  .cinema-tabs button>span {
    font-size: 9px
  }
  .cinema-tabs small {
    font-size: 9px;
    line-height: 1.6
  }
  .scene-annotation {
    left: 28px;
    bottom: 160px
  }
  .login-coordinate {
    display: none
  }
  .login-world {
    min-height: 765px
  }
  .login-aside {
    padding-left: 28px;
    padding-right: 28px
  }
  .login-form-eyebrow {
    font-size: 8.5px;
    letter-spacing: .8px
  }
  .login-aside h2 {
    font-size: 48px
  }
  .login-assurance {
    font-size: 9.5px
  }
  .login-aside-footer {
    left: 28px;
    right: 28px
  }
  .login-aside-footer>span {
    font-size: 8px
  }
  .login-aside-footer button {
    font-size: 8px
  }
}

@media(max-width:700px) {
  .login-header {
    height: 72px;
    padding: 0 25px
  }
  .login-header .brand-mark {
    height: 30px;
    width: 30px;
    border-radius: 8px
  }
  .login-header .brand-word {
    font-size: 21px
  }
  .login-header .brand-word>span {
    font-size: 10px;
    letter-spacing: 2px
  }
  .login-header .motion-control span {
    display: none
  }
  .login-header .motion-control {
    width: 30px;
    height: 30px;
    justify-content: center
  }
  .login-layout {
    display: flex;
    flex-direction: column;
    min-height: 0
  }
  .login-world {
    min-height: 490px;
    overflow: hidden
  }
  .login-hero-copy {
    padding: 42px 27px 0;
    max-width: 450px
  }
  .login-hero-copy h1 {
    font-size: 58px;
    letter-spacing: -3px;
    margin-top: 18px;
    margin-bottom: 17px;
    line-height: 1.05
  }
  .login-hero-copy p {
    font-size: 12px
  }
  .login-hero-copy .eyebrow {
    font-size: 9px
  }
  .login-scene {
    top: 85px;
    bottom: -3px;
    left: 19%;
    right: -17%;
    opacity: .94
  }
  .login-scene:after {
    background: linear-gradient(90deg,#0a0d12,transparent 27%,transparent 93%)
  }
  .cinema-tabs {
    left: 27px;
    right: 27px;
    bottom: 24px;
    gap: 23px
  }
  .cinema-tabs button {
    padding-top: 13px;
    gap: 9px
  }
  .cinema-tabs button>div {
    font-size: 12px
  }
  .cinema-tabs small {
    display: none
  }
  .cinema-tabs button>span {
    font-size: 9px
  }
  .scene-annotation {
    left: 28px;
    bottom: 100px;
    font-size: 9px;
    gap: 9px
  }
  .scene-annotation small {
    font-size: 8px;
    letter-spacing: .65px
  }
  .scene-annotation>i {
    width: 4px;
    height: 4px
  }
  .login-aside {
    border-left: 0;
    border-top: 1px solid #242b34;
    min-height: 685px;
    padding: 49px 28px 75px;
    align-items: center
  }
  .login-form-wrap {
    max-width: 400px;
    width: 100%
  }
  .login-form-eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
    margin-bottom: 20px
  }
  .login-aside h2 {
    font-size: 50px;
    letter-spacing: -2.6px
  }
  .login-description {
    font-size: 13px;
    margin-top: 19px;
    margin-bottom: 28px
  }
  .login-assurance {
    font-size: 10.5px
  }
  .login-aside .field-label {
    font-size: 13px
  }
  .login-aside .input-shell input {
    font-size: 14px
  }
  .login-aside .input-shell {
    min-height: 47px
  }
  .login-aside-footer {
    max-width: 400px;
    margin: 0 auto;
    left: 28px;
    right: 28px;
    bottom: 26px
  }
  .login-aside-footer>span {
    font-size: 9px
  }
  .login-aside-footer button {
    font-size: 9px
  }
.demo-access .btn {
    font-size: 12px
  }
.page-head {
    align-items: flex-start
  }
  .page-head h1 {
    font-size: 27px
  }
  .page-head-actions .btn {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 10px;
    gap: 7px
  }
  .page-head-actions .btn svg {
    width: 14px
  }
  .page-head p {
    font-size: 12px;
    max-width: 340px
  }
  .page-head .eyebrow {
    font-size: 9px
  }
  .topbar {
    padding: 0 18px
  }
  .breadcrumbs {
    gap: 9px;
    font-size: 12px
  }
  .search-trigger {
    padding: 5px
  }
  .search-trigger span,.search-trigger kbd {
    display: none
  }
  .header-divider {
    display: none
  }
  .topbar-actions {
    gap: 4px
  }
  .topbar .avatar {
    margin-left: 5px
  }
  .page-content {
    padding: 27px 20px
  }
  .app-footer {
    margin-left: 20px;
    margin-right: 20px;
    flex-wrap: wrap;
    gap: 13px;
    font-size: 9px
  }
  .app-footer>span:nth-child(2) {
    display: none
  }
  .overview-hero {
    height: 284px
  }
  .overview-hero-copy {
    top: 28px;
    left: 24px
  }
  .overview-hero-copy h2 {
    font-size: 41px
  }
  .overview-hero-copy p {
    font-size: 12px
  }
  .hero-link {
    font-size: 11px;
    gap: 10px;
    margin-top: 20px
  }
  .overview-hero-copy .eyebrow {
    font-size: 8px
  }
  .dashboard-scene {
    top: -11px;
    bottom: -11px;
    left: 37%;
    right: -28%
  }
  .hero-telemetry {
    left: auto;
    right: 14px;
    top: 18px;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    font-size: 8px
  }
  .hero-orbit-label {
    display: none
  }
  .metrics-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px
  }
  .metric {
    padding: 18px
  }
  .metric>div:first-child {
    font-size: 12px
  }
  .metric>strong {
    font-size: 38px
  }
  .metric>footer {
    font-size: 10px
  }
  .metric.attention .text-btn {
    font-size: 10px
  }
  .dashboard-mid-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px
  }
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px
  }
  .panel-head {
    padding: 20px
  }
  .panel-head h2 {
    font-size: 14px
  }
  .panel-head p {
    font-size: 12px
  }
  .quick-row {
    margin: 0 20px;
    padding: 13px 0;
    gap: 13px
  }
  .quick-row strong {
    font-size: 12px
  }
  .quick-row small {
    font-size: 11px
  }
  .quick-panel {
    padding-bottom: 4px
  }
  .quick-row>.quick-icon {
    width: 33px;
    height: 36px
  }
  .chart-wrap {
    height: 146px
  }
  .chart-labels {
    padding-bottom: 21px
  }
  .chart-value {
    font-size: 25px
  }
  .compact-table th,.compact-table td {
    padding-left: 15px;
    padding-right: 15px
  }
  .compact-table th:nth-child(2),.compact-table td:nth-child(2) {
    display: table-cell
  }
  .compact-table {
    min-width: 460px
  }
  .compact-table .device-name strong {
    font-size: 12px
  }
  .compact-table .device-name small {
    font-size: 10px
  }
  .timeline {
    padding: 0 20px 7px
  }
  .timeline-row {
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px
  }
  .timeline-row strong {
    font-size: 12px
  }
  .timeline-row p {
    font-size: 11px
  }
  .timeline-row time {
    font-size: 10px
  }
  .timeline-row .activity-icon {
    width: 30px;
    height: 33px
  }
  .timeline-row .activity-icon svg {
    width: 17px
  }
  .device-summary-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 21px
  }
  .summary-filter {
    padding: 17px
  }
  .summary-filter>span {
    font-size: 12px;
    gap: 8px
  }
  .summary-filter>strong {
    font-size: 27px
  }
  .fleet-toolbar {
    gap: 8px
  }
  .fleet-toolbar .search-input {
    flex-basis: 100%;
    min-width: 0;
    max-width: 100%
  }
  .fleet-toolbar .search-input input {
    font-size: 13px
  }
  .fleet-toolbar select {
    min-width: 0;
    flex: 1;
    max-width: none;
    min-height: 41px;
    font-size: 12px
  }
  .view-toggle {
    padding: 3px;
    flex-shrink: 0
  }
  .view-toggle .icon-btn {
    width: 28px;
    min-width: 28px;
    height: 33px
  }
  .fleet-selection-bar {
    flex-wrap: wrap;
    gap: 11px;
    padding: 17px 0;
    font-size: 12px
  }
  .fleet-selection-bar>div:first-child {
    width: 100%;
    gap: 8px
  }
  .fleet-selection-bar>div:last-child {
    width: 100%;
    justify-content: space-between
  }
  .fleet-selection-bar .text-btn {
    font-size: 11px
  }
  .devices-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px
  }
  .device-card-art {
    height: 163px
  }
  .device-card-title {
    font-size: 15px
  }
  .device-card-content>p {
    font-size: 11px
  }
  .device-card-content>code {
    font-size: 10px
  }
  .device-card-bottom {
    flex-wrap: wrap;
    gap: 10px
  }
  .device-card-bottom>span {
    font-size: 10px
  }
  .device-card-bottom .battery-cell {
    font-size: 10px
  }
  .device-card-top {
    padding: 12px 12px 0;
    gap: 5px
  }
  .device-card-top>.status {
    font-size: 9px
  }
  .device-card-top .icon-btn {
    min-width: 18px;
    width: 18px
  }
  .pagination {
    align-items: flex-start;
    gap: 15px;
    font-size: 11px;
    flex-direction: column
  }
  .pagination>div {
    width: 100%;
    justify-content: flex-end
  }
  .pagination .btn {
    font-size: 12px
  }
  .transfer-command-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    gap: 20px
  }
  .transfer-command-title .quick-icon {
    width: 34px;
    height: 38px
  }
  .transfer-command-title strong {
    font-size: 13px
  }
  .transfer-command-title small {
    font-size: 12px
  }
  .transfer-device-picker {
    width: 100%
  }
  .transfer-device-picker select {
    width: 100%;
    min-width: 0;
    font-size: 12px
  }
  .transfer-device-picker>label {
    display: none
  }
  .file-workspace {
    grid-template-columns: 1fr;
    gap: 20px
  }
  .file-pane .panel-head {
    min-height: 76px
  }
  .file-pane-title h2 {
    font-size: 15px
  }
  .file-pane-title p {
    font-size: 12px
  }
  .file-table th {
    font-size: 10px
  }
  .file-table td {
    padding-top: 15px;
    padding-bottom: 15px
  }
  .file-name {
    font-size: 13px
  }
  .file-table td:first-child {
    padding-left: 20px
  }
  .file-table th:first-child {
    width: 39px;
    padding-left: 20px
  }
  .file-table th:nth-child(3) {
    width: 75px
  }
  .file-table td:nth-child(3) {
    font-size: 12px
  }
  .file-breadcrumbs {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 12px
  }
  .file-breadcrumbs .text-btn {
    font-size: 12px
  }
  .file-list {
    min-height: 245px
  }
  .file-pane-footer {
    padding: 16px 20px
  }
  .file-pane-footer>span {
    font-size: 11px
  }
  .file-pane-footer .btn {
    font-size: 12px;
    min-height: 34px
  }
  .drop-zone strong {
    font-size: 12px
  }
  .drop-zone small {
    font-size: 11px
  }
  .tablet-storage small {
    font-size: 11px
  }
  .tablet-storage>div:first-child {
    font-size: 10px
  }
  .operation-row {
    gap: 10px;
    padding: 18px 17px
  }
  .operation-icon {
    width: 29px;
    height: 34px
  }
  .operation-icon svg {
    width: 17px
  }
  .operation-info strong {
    font-size: 12px;
    max-width: 240px
  }
  .operation-info p {
    gap: 5px;
    flex-wrap: wrap;
    font-size: 10px
  }
  .operation-info p>code {
    font-size: 10px
  }
  .operation-info>div:first-child {
    flex-wrap: wrap;
    gap: 6px
  }
  .operation-info .status {
    font-size: 10px;
    padding: 3px 5px
  }
  .operation-action {
    width: 62px
  }
  .operation-action .btn {
    font-size: 10px;
    padding: 6px;
    gap: 5px
  }
  .operation-action .btn svg {
    width: 13px
  }
  .operation-percent {
    font-size: 11px;
    width: 25px
  }
  .operation-error {
    font-size: 10px;
    line-height: 1.7
  }
  .queue-panel .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }
  .queue-count {
    font-size: 10px
  }
  .queue-empty strong {
    font-size: 12px
  }
  .queue-empty p {
    font-size: 11px
  }
  .queue-empty {
    padding: 24px 18px;
    gap: 12px
  }
  .queue-empty-line {
    display: none
  }
  .deployment-steps {
    gap: 9px;
    justify-content: space-between;
    padding-bottom: 20px
  }
  .deployment-steps>span {
    font-size: 10px;
    white-space: normal;
    gap: 6px;
    line-height: 1.5;
    max-width: 31%
  }
  .deployment-steps i {
    font-size: 9px;
    height: 21px;
    width: 21px;
    min-width: 21px
  }
  .deployment-steps>b {
    width: 10px;
    flex: none
  }
  .apk-upload-content {
    padding: 24px;
    align-items: flex-start;
    gap: 17px
  }
  .apk-file-icon {
    width: 49px;
    height: 57px;
    border-radius: 10px
  }
  .apk-file-icon svg {
    width: 25px
  }
  .apk-upload-content h3 {
    font-size: 16px;
    line-height: 1.4
  }
  .apk-upload-content p {
    font-size: 12px
  }
  .apk-upload-content>div>div {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
  }
  .apk-upload-content .text-btn {
    font-size: 11px
  }
  .apk-selected-file {
    padding: 24px;
    gap: 15px
  }
  .apk-selected-file h3 {
    font-size: 16px
  }
  .apk-selected-file p {
    font-size: 12px
  }
  .apk-selected-file small {
    font-size: 10px
  }
  .apk-file-decoration {
    right: 14px;
    top: 40px;
    opacity: .045
  }
  .deployment-layout {
    grid-template-columns: 1fr;
    gap: 20px
  }
  .target-panel .panel-head {
    flex-direction: row;
    padding: 20px;
    align-items: center
  }
  .target-panel .panel-head h2 {
    font-size: 14px;
    max-width: 200px;
    line-height: 1.5
  }
  .target-panel .panel-head .text-btn {
    font-size: 11px;
    white-space: normal;
    text-align: right;
    max-width: 105px
  }
  .apk-target>.device-avatar {
    display: inline-flex
  }
  .apk-search-bar {
    padding: 0 20px 18px
  }
  .apk-search-bar input {
    font-size: 12px
  }
  .apk-target {
    padding: 16px 20px;
    gap: 13px
  }
  .apk-target strong {
    font-size: 13px
  }
  .apk-target small {
    font-size: 10px
  }
  .apk-target>.status {
    font-size: 10px
  }
  .apk-target-list {
    height: 345px
  }
  .target-footer {
    padding: 16px 20px;
    font-size: 11px
  }
  .deployment-summary {
    padding: 24px
  }
  .deployment-summary-art {
    position: absolute;
    right: 10px;
    top: 15px;
    width: 148px;
    opacity: .8;
    transform: scale(.85)
  }
  .deployment-summary>.eyebrow {
    font-size: 9px;
    max-width: 70%
  }
  .deployment-summary h2 {
    font-size: 29px;
    margin-top: 13px
  }
  .deployment-summary-count {
    margin-top: 25px
  }
  .deployment-summary-count>strong {
    font-size: 53px
  }
  .deployment-summary-count>span {
    font-size: 12px
  }
  .deployment-summary dl>div {
    font-size: 12px
  }
  .deployment-summary dd {
    font-size: 12px;
    max-width: 240px
  }
  .summary-note {
    font-size: 12px;
    min-height: 0;
    margin-bottom: 21px
  }
  .deployment-summary>.btn {
    min-height: 45px;
    font-size: 13px
  }
  .summary-footer {
    font-size: 11px;
    margin-top: 16px
  }
  .mirror-layout {
    grid-template-columns: 1fr
  }
  .mirror-picker {
    max-height: 340px
  }
  .mirror-picker .panel-head {
    padding: 18px 20px
  }
  .mirror-picker .panel-head h2 {
    font-size: 14px
  }
  .picker-search {
    padding: 0 20px 15px;
    flex-direction: row
  }
  .picker-search .input-shell {
    flex: 1;
    min-width: 0
  }
  .picker-search input {
    font-size: 12px
  }
  .picker-search select {
    max-width: 155px;
    font-size: 12px
  }
  .mirror-device-list {
    max-height: 194px
  }
  .mirror-device {
    padding: 13px 20px
  }
  .mirror-device strong {
    font-size: 12px
  }
  .mirror-device small {
    font-size: 10px
  }
  .mirror-device>.device-avatar {
    width: 27px;
    height: 30px
  }
  .mirror-device>span:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
  }
  .mirror-device small {
    margin-top: 0
  }
  .mirror-theater {
    min-height: 600px
  }
  .mirror-viewport {
    min-height: 495px;
    padding: 27px 17px
  }
  .screen-hardware {
    width: 254px;
    aspect-ratio: 420/700;
    border-radius: 20px
  }
  .mirror-toolbar {
    padding: 17px 18px
  }
  .mirror-toolbar strong {
    font-size: 13px
  }
  .mirror-toolbar small {
    font-size: 10px
  }
  .mirror-toolbar .status {
    display: inline-flex;
    font-size: 9px
  }
  .mirror-controls {
    padding: 14px 17px
  }
  .mirror-controls>span {
    font-size: 9px;
    max-width: 95px
  }
  .mirror-controls .icon-btn {
    width: 29px;
    min-width: 29px;
    height: 30px
  }
  .mirror-controls .icon-btn svg {
    width: 16px
  }
  .mirror-controls>div {
    gap: 3px
  }
  .screen-placeholder h3 {
    font-size: 18px
  }
  .screen-placeholder p {
    font-size: 11px
  }
  .screen-placeholder .btn {
    font-size: 11px;
    padding: 10px 12px
  }
  .screen-placeholder .screen-logo {
    width: 54px;
    height: 54px;
    margin-bottom: 29px
  }
  .screen-placeholder .screen-logo svg {
    width: 26px
  }
  .screen-hardware.landscape .screen-placeholder {
    padding: 12px
  }
  .screen-hardware.landscape .screen-logo {
    display: none
  }
  .screen-hardware.landscape .screen-placeholder h3 {
    font-size: 16px
  }
  .screen-hardware.landscape .screen-placeholder p {
    font-size: 10px;
    line-height: 1.5
  }
  .screen-hardware.landscape .screen-placeholder .btn {
    margin-top: 13px;
    min-height: 30px;
    padding: 7px 10px;
    font-size: 10px
  }
  .screen-hardware.landscape .screen-placeholder>span:last-child {
    bottom: 12px;
    font-size: 8px
  }
  .activity-toolbar {
    padding: 19px;
    flex-wrap: wrap;
    gap: 11px
  }
  .activity-toolbar .input-shell {
    flex-basis: 100%;
    max-width: none;
    min-width: 0
  }
  .activity-toolbar select {
    font-size: 12px;
    min-height: 38px
  }
  .activity-toolbar>span {
    font-size: 11px
  }
  .settings-layout {
    grid-template-columns: 1fr;
    gap: 18px
  }
  .settings-nav {
    display: flex;
    gap: 7px;
    padding: 0
  }
  .settings-nav>button {
    margin: 0;
    justify-content: center;
    padding: 12px 9px;
    font-size: 12px;
    gap: 7px
  }
  .settings-nav>button svg:last-child {
    display: none
  }
  .settings-nav>button>svg:first-child {
    width: 16px
  }
  .settings-note {
    display: none
  }
  .settings-body {
    padding: 24px;
    min-height: 520px
  }
  .settings-section-head h2 {
    font-size: 23px
  }
  .settings-section-head p {
    font-size: 12px
  }
  .profile-banner {
    padding: 18px;
    gap: 14px
  }
  .profile-banner strong {
    font-size: 15px
  }
  .profile-banner>div>span {
    font-size: 12px
  }
  .profile-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px
  }
  .settings-form .field-label {
    font-size: 12px
  }
  .form-footer {
    align-items: stretch;
    gap: 13px
  }
  .form-footer .btn {
    font-size: 12px;
    min-height: 43px
  }
  .form-footer>span {
    font-size: 11px;
    text-align: center
  }
  .theme-preview {
    height: 68px
  }
  .theme-option>span:last-child {
    font-size: 10px
  }
  .theme-options {
    gap: 9px
  }
  .theme-option {
    padding: 7px
  }
  .preference-row {
    gap: 17px
  }
  .preference-row h3 {
    font-size: 12px
  }
  .preference-row p {
    font-size: 12px
  }
  .preference-row select {
    min-width: 115px;
    font-size: 12px
  }
  .settings-section-head {
    margin-bottom: 26px
  }
  .notice {
    font-size: 12px;
    padding: 14px;
    gap: 9px
  }
  .reset-block .btn {
    font-size: 12px
  }
  .dialog-head {
    padding: 22px
  }
  .dialog-head h2 {
    font-size: 21px
  }
  .dialog-body {
    padding: 22px
  }
  .dialog-footer {
    padding: 17px 22px
  }
  .dialog-footer .btn {
    font-size: 12px
  }
  .help-grid {
    gap: 23px 19px
  }
  .help-grid p {
    font-size: 12px
  }
  .help-grid h3 {
    font-size: 14px
  }
  .toast-region {
    bottom: 17px;
    right: 17px;
    width: calc(100vw - 34px)
  }
  .toast>span {
    font-size: 12px
  }
  .command-dialog .dialog-head h2 {
    font-size: 23px
  }
  .command-results {
    max-height: 380px
  }
  .app-footer button {
    font-size: 9px
  }
}

@media(max-width:420px) {
  .page-content {
    padding: 24px 16px
  }
  .topbar {
    padding-left: 10px;
    padding-right: 14px
  }
  .breadcrumbs {
    gap: 6px;
    font-size: 11px
  }
  .breadcrumb-root {
    display: none
  }
  .breadcrumbs>svg {
    display: none
  }
  .topbar-actions {
    gap: 1px
  }
  .search-trigger {
    margin-right: 0
  }
  .topbar .icon-btn {
    min-width: 29px;
    width: 29px
  }
  .topbar .avatar {
    width: 26px;
    min-width: 26px;
    height: 26px;
    font-size: 10px
  }
  .topbar .avatar {
    margin-left: 4px
  }
  .page-head {
    margin-bottom: 24px;
    gap: 11px;
    flex-wrap: wrap
  }
  .page-head h1 {
    font-size: 26px
  }
  .page-head-actions {
    justify-content: flex-start;
    gap: 8px
  }
  .page-head p {
    font-size: 12px
  }
  .page-head .eyebrow {
    font-size: 8.5px;
    letter-spacing: 1.45px
  }
  .page-head-actions .btn {
    font-size: 12px
  }
  .overview-hero {
    height: 287px
  }
  .overview-hero-copy {
    left: 20px;
    top: 34px
  }
  .overview-hero-copy h2 {
    font-size: 38px;
    letter-spacing: -1.5px
  }
  .overview-hero-copy p {
    font-size: 11px
  }
  .overview-hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px
  }
  .hero-link {
    font-size: 10px;
    gap: 7px
  }
  .hero-link svg {
    width: 13px
  }
  .dashboard-scene {
    left: 27%;
    right: -52%;
    top: 10px;
    bottom: -20px
  }
  .hero-telemetry {
    font-size: 8px;
    right: 12px;
    top: 15px
  }
  .hero-telemetry>span:first-child {
    display: none
  }
  .metric {
    padding: 16px 15px
  }
  .metric>div:first-child {
    font-size: 11px;
    gap: 3px
  }
  .metric>div>svg {
    width: 14px
  }
  .metric>strong {
    font-size: 37px
  }
  .metric>footer {
    font-size: 9px;
    gap: 5px
  }
  .metric.attention .text-btn {
    font-size: 9px
  }
  .metrics-grid {
    gap: 11px
  }
  .summary-filter {
    padding: 16px 14px
  }
  .summary-filter>span {
    font-size: 11px
  }
  .summary-filter>strong {
    font-size: 25px
  }
  .fleet-toolbar select {
    font-size: 11px;
    padding-left: 9px;
    padding-right: 27px;
    min-height: 40px;
    background-position: right 6px center
  }
  .view-toggle .icon-btn {
    width: 25px;
    min-width: 25px;
    height: 32px
  }
  .view-toggle .icon-btn svg {
    width: 15px
  }
  .fleet-toolbar {
    gap: 6px
  }
  .fleet-selection-bar .btn {
    font-size: 10px;
    gap: 5px;
    padding: 8px;
    min-height: 31px
  }
  .fleet-selection-bar .btn svg {
    width: 13px
  }
  .fleet-selection-bar>div:last-child>.text-btn {
    font-size: 10px
  }
  .devices-grid {
    gap: 10px
  }
  .device-card-top {
    padding: 12px 10px 0;
    gap: 4px
  }
  .device-card-top>.status {
    font-size: 8px;
    padding: 3px 4px;
    gap: 4px
  }
  .device-card-top>.status i {
    width: 3px;
    height: 3px
  }
  .device-card-top>.icon-btn {
    min-width: 16px;
    width: 16px
  }
  .device-card-top .icon-btn svg {
    width: 13px
  }
  .device-card-top input[type=checkbox] {
    width: 14px;
    height: 14px;
    min-height: 14px
  }
  .device-card-art {
    height: 153px
  }
  .device-card-content {
    padding: 4px 11px 14px
  }
  .device-card-title {
    font-size: 13px
  }
  .device-card-content>p {
    font-size: 10px
  }
  .device-card-content>code {
    font-size: 9px
  }
  .device-card-bottom {
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    align-items: flex-start;
    flex-direction: column
  }
  .device-card-bottom>span {
    font-size: 10px
  }
  .device-card-bottom .battery-cell {
    font-size: 10px;
    gap: 6px
  }
  .device-index {
    font-size: 22px;
    right: 12px;
    bottom: 12px
  }
  .mini-tablet {
    width: 72px;
    height: 103px
  }
  .device-art-ring {
    width: 145px;
    height: 44px;
    left: calc(50% - 73px);
    bottom: 15px
  }
  .deployment-steps {
    gap: 5px
  }
  .deployment-steps>span {
    font-size: 9px;
    gap: 5px;
    line-height: 1.6
  }
  .deployment-steps i {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 8px
  }
  .deployment-steps>b {
    width: 6px
  }
  .apk-upload-content {
    padding: 22px 18px;
    gap: 12px
  }
  .apk-upload-content h3 {
    font-size: 16px
  }
  .apk-upload-content p {
    font-size: 11px;
    line-height: 1.8
  }
  .apk-upload-content .btn {
    font-size: 11px;
    min-height: 33px
  }
  .apk-upload-content .text-btn {
    font-size: 10px
  }
  .apk-file-icon {
    width: 41px;
    height: 49px
  }
  .apk-file-icon svg {
    width: 22px
  }
  .apk-selected-file {
    padding: 24px 18px;
    gap: 12px
  }
  .apk-selected-file h3 {
    font-size: 15px
  }
  .apk-selected-file>.icon-btn {
    min-width: 25px;
    width: 25px
  }
  .apk-selected-file>div {
    min-width: 0
  }
  .apk-selected-file small {
    font-size: 10px;
    line-height: 1.7
  }
  .target-panel .panel-head {
    padding: 18px;
    gap: 10px
  }
  .target-panel .panel-head h2 {
    font-size: 13px;
    max-width: 180px
  }
  .target-panel .panel-head .text-btn {
    font-size: 10px;
    max-width: 83px
  }
  .apk-target {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px
  }
  .apk-target>.device-avatar {
    width: 23px;
    height: 29px
  }
  .apk-target strong {
    font-size: 12px
  }
  .apk-target small {
    font-size: 9px;
    max-width: 166px
  }
  .apk-target>.status {
    font-size: 8px;
    padding: 3px 5px;
    gap: 4px
  }
  .apk-target>.status i {
    width: 3px;
    height: 3px
  }
  .apk-search-bar {
    padding: 0 16px 16px;
    gap: 10px
  }
  .apk-search-bar input {
    font-size: 12px
  }
  .target-footer {
    font-size: 10px;
    padding: 14px 16px
  }
  .operation-percent {
    display: none
  }
  .operation-row {
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px
  }
  .operation-icon {
    display: none
  }
  .operation-info strong {
    max-width: 220px
  }
  .operation-info .status {
    font-size: 9px
  }
  .operation-action {
    width: 62px
  }
  .queue-empty {
    padding-left: 17px;
    padding-right: 17px
  }
  .queue-empty>span:first-child {
    width: 35px;
    height: 37px
  }
  .queue-empty>span:first-child svg {
    width: 20px
  }
  .queue-empty strong {
    font-size: 12px
  }
  .queue-empty p {
    font-size: 10px
  }
  .picker-search select {
    font-size: 11px;
    max-width: 130px;
    padding-left: 10px;
    padding-right: 25px
  }
  .mirror-device>span:nth-child(2) {
    gap: 9px
  }
  .mirror-device small {
    font-size: 9px
  }
  .mirror-toolbar>div {
    gap: 8px
  }
  .mirror-toolbar small {
    font-size: 9px;
    max-width: 225px;
    line-height: 1.7
  }
  .mirror-toolbar .status {
    display: none
  }
  .mirror-controls>span {
    max-width: 62px;
    font-size: 8px
  }
  .mirror-controls {
    padding: 13px 12px
  }
  .mirror-controls .icon-btn {
    width: 27px;
    min-width: 27px;
    height: 30px
  }
  .mirror-controls>div {
    gap: 2px
  }
  .control-divider {
    margin: 0 3px
  }
  .mirror-theater {
    min-height: 575px
  }
  .mirror-viewport {
    min-height: 470px
  }
  .screen-hardware {
    width: 240px
  }
  .screen-hardware.landscape .screen-placeholder h3 {
    font-size: 15px
  }
  .screen-hardware.landscape .screen-placeholder p {
    font-size: 9px
  }
  .screen-hardware.landscape .screen-placeholder .btn {
    margin-top: 9px;
    font-size: 10px;
    min-height: 27px
  }
  .screen-hardware.landscape .screen-placeholder>span:last-child {
    bottom: 8px;
    font-size: 8px
  }
  .settings-body {
    padding: 21px 18px
  }
  .settings-section-head h2 {
    font-size: 21px
  }
  .settings-section-head p {
    font-size: 12px
  }
  .settings-nav {
    gap: 4px
  }
  .settings-nav>button {
    font-size: 11px;
    padding: 12px 7px;
    gap: 5px
  }
  .settings-nav>button>svg:first-child {
    width: 14px
  }
  .theme-options {
    gap: 7px
  }
  .theme-option {
    padding: 5px
  }
  .theme-option>span:last-child {
    font-size: 9px;
    gap: 3px
  }
  .theme-option>span:last-child>i {
    width: 10px
  }
  .theme-option>span:last-child>i>svg {
    width: 10px
  }
  .theme-preview {
    height: 62px
  }
  .preference-row p {
    font-size: 11px
  }
  .preference-row select {
    font-size: 11px;
    min-width: 103px
  }
  .profile-banner {
    padding: 15px;
    gap: 12px
  }
  .profile-avatar {
    height: 49px;
    width: 49px;
    font-size: 18px
  }
  .security-summary {
    padding: 15px;
    gap: 10px
  }
  .security-summary>span:first-child>svg {
    width: 22px
  }
  .security-summary p {
    font-size: 10px
  }
  .security-summary>.status {
    font-size: 9px
  }
  .security-summary strong {
    font-size: 12px
  }
  .activity-toolbar {
    padding: 17px
  }
  .activity-toolbar>span {
    font-size: 10px
  }
  .login-hero-copy {
    padding: 37px 23px 0
  }
  .login-hero-copy h1 {
    font-size: 52px;
    letter-spacing: -2.8px
  }
  .login-hero-copy p {
    font-size: 12px;
    line-height: 1.8
  }
  .login-world {
    min-height: 451px
  }
  .login-scene {
    top: 117px;
    left: 11%;
    right: -30%;
    bottom: -6px
  }
  .login-hero-copy .eyebrow {
    font-size: 8.5px
  }
  .scene-annotation {
    left: 24px;
    bottom: 112px;
    font-size: 8px;
    letter-spacing: 1px
  }
  .scene-annotation small {
    font-size: 8px;
    letter-spacing: .5px;
    max-width: 130px;
    line-height: 1.6
  }
  .cinema-tabs {
    left: 24px;
    right: 24px;
    bottom: 24px;
    gap: 20px
  }
  .cinema-tabs button {
    gap: 7px
  }
  .cinema-tabs button>div {
    font-size: 12px
  }
  .cinema-tabs button>span {
    font-size: 8px
  }
  .login-header {
    padding: 0 23px
  }
  .login-header .brand-word>span {
    letter-spacing: 1.8px
  }
  .login-aside {
    padding: 44px 25px 78px;
    min-height: 682px
  }
  .login-form-eyebrow {
    font-size: 9px;
    letter-spacing: 1.15px
  }
  .login-aside h2 {
    font-size: 48px
  }
  .login-assurance {
    font-size: 9.6px;
    gap: 6px
  }
  .login-aside-footer {
    left: 25px;
    right: 25px
  }
  .login-aside-footer>span {
    font-size: 8.2px
  }
  .login-aside-footer button {
    font-size: 8.5px
  }
  .dialog-head {
    padding: 20px
  }
  .dialog-body {
    padding: 20px
  }
  .dialog-head h2 {
    font-size: 20px
  }
  .dialog-footer {
    padding: 15px 20px;
    gap: 8px;
    flex-wrap: wrap
  }
  .dialog-footer .btn {
    font-size: 12px;
    padding: 10px 11px
  }
  .help-grid {
    grid-template-columns: 1fr;
    gap: 23px
  }
  .help-grid>div>svg {
    width: 22px;
    margin-bottom: 10px
  }
  .help-grid h3 {
    font-size: 15px
  }
  .help-grid p {
    font-size: 12px
  }
  .detail-list>div {
    font-size: 12px
  }
  .detail-list dd {
    font-size: 12px
  }
  .detail-status {
    font-size: 11px
  }
  .app-footer {
    margin-left: 16px;
    margin-right: 16px
  }
  .toast-region {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px)
  }
}

@media (min-width: 99999px) {
  html:not([class]) {
    scroll-behavior: auto
  }
  .boot>i,.spinner {
    animation-duration: 2s
  }
}

/* Final readability refinements: never shrink primary mobile text to fit. */

.login-jump {
  display: none
}

@media(max-width:700px) {
  .login-jump {
    display: inline-flex;
    margin-left: auto;
    font-size: 12px;
    gap: 7px
  }
  .login-header .motion-control {
    margin-left: 13px
  }
  .page-head p {
    font-size: 13px;
    line-height: 1.7
  }
  .metric>div:first-child {
    font-size: 12px;
    line-height: 1.5
  }
  .metric>footer,.metric.attention .text-btn {
    font-size: 11px;
    line-height: 1.5
  }
  .metric>footer>span:last-child {
    min-width: 0
  }
  .panel-head p,.quick-row small {
    font-size: 12px;
    line-height: 1.7
  }
  .quick-row strong,.timeline-row strong {
    font-size: 13px
  }
  .timeline-row p {
    font-size: 12px;
    line-height: 1.7
  }
  .timeline-row time {
    font-size: 10px
  }
  .compact-table {
    min-width: 0;
    width: 100%
  }
  .compact-table th:nth-child(2),.compact-table td:nth-child(2) {
    display: none
  }
  .compact-table td,.compact-table th {
    padding-left: 11px;
    padding-right: 11px
  }
  .compact-table .device-name {
    gap: 8px
  }
  .compact-table .device-name strong {
    font-size: 12px
  }
  .compact-table .device-name small {
    font-size: 10px
  }
  .compact-table .battery-cell {
    font-size: 11px;
    gap: 5px
  }
  .compact-table .status {
    font-size: 10px;
    padding: 4px 5px;
    gap: 4px
  }
  .device-card-content>p {
    font-size: 12px
  }
  .device-card-content>code {
    font-size: 11px
  }
  .device-card-top>.status {
    font-size: 11px
  }
  .device-card-bottom>span,.device-card-bottom .battery-cell {
    font-size: 12px
  }
  .input-shell input,.settings-form input {
    font-size: 16px
  }
  .field-label,.settings-form .field-label {
    font-size: 13px
  }
  .nav-item {
    font-size: 14px
  }
  .screen-placeholder p {
    font-size: 12px
  }
}

/* ORBIT bilingual revision — fixed cinematic presentation and balanced login. */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(222,230,245,.14);
  background: rgba(24,29,37,.68);
  border-radius: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.language-switch > span {
  height: 15px;
  width: 1px;
  background: rgba(222,230,245,.13);
}
.language-switch button {
  min-width: 31px;
  padding: 6px 8px;
  border-radius: 5px;
  font: 600 12px/1 Consolas, monospace;
  letter-spacing: .06em;
  color: #84909f;
  transition: background .18s ease,color .18s ease;
}
.language-switch button.active {
  color: #16181c;
  background: #e8b087;
}
.language-switch button:hover:not(.active) { color: #f2e8dc; }
.language-switch button:focus-visible { outline: 2px solid #e8b087; outline-offset: 3px; }
.login-header .language-switch { margin-left: 16px; }
.topbar .language-switch { margin: 0 3px; }

/* The original min-height:800px caused an offset/scroll at 100% desktop zoom. */
@media (min-width:701px) {
  .login-page { min-height: 100vh; min-height: 100svh; }
  .login-layout {
    min-height: 0;
    height: calc(100vh - 94px);
    height: calc(100svh - 94px);
    grid-template-columns: minmax(0, 1.52fr) minmax(385px, 1fr);
    align-items: stretch;
  }
  .login-world {
    height: 100%;
    min-height: 0;
  }
  .login-aside {
    min-height: 0;
    padding: clamp(25px, 4vh, 58px) clamp(28px, 3.2vw, 55px) 65px;
    align-items: center;
    justify-content: center;
  }
  .login-form-wrap {
    width: 100%;
    max-width: min(390px,100%);
    margin: auto;
  }
  .login-hero-copy {
    padding: clamp(35px, 6vh, 68px) 20px 0 clamp(28px, 4vw, 64px);
  }
  .login-hero-copy h1 { font-size: clamp(47px, 5.3vw, 79px); }
  .login-scene {
    top: clamp(145px, 24vh, 210px);
    bottom: clamp(90px, 12vh, 145px);
    left: -5%; right: -8%;
  }
  .cinema-tabs { bottom: clamp(20px, 3.7vh, 35px); }
  .scene-annotation { bottom: clamp(100px, 16vh, 155px); }
}
@media (min-width:701px) and (max-width:1350px) {
  .login-layout {
    height: calc(100svh - 82px);
    grid-template-columns: minmax(0, 1.25fr) minmax(355px, 1fr);
  }
  .login-hero-copy h1 { font-size: clamp(43px, 4.8vw, 65px); }
  .login-scene { top: clamp(145px, 23vh, 205px); left: -19%; right: -14%; }
}
@media (min-width:701px) and (max-height:720px) {
  .login-hero-copy { padding-top: 28px; }
  .login-hero-copy h1 { margin: 14px 0; line-height:1; font-size:clamp(43px,4.5vw,61px); }
  .login-scene { top: 140px; bottom: 95px; }
  .scene-annotation { bottom: 107px; }
  .login-form-eyebrow { margin-bottom: 14px; }
  .login-aside h2 { font-size: clamp(38px, 3.6vw, 49px); }
  .login-description { margin: 14px 0 19px; }
  .login-aside { padding-bottom: 42px; padding-top:22px; }
  .login-aside-footer { bottom: 12px; }
  .login-submit { margin-top: 12px; }
}
@media (max-width:700px) {
  .login-header .language-switch { margin-left: 10px; }
  .login-header .language-switch button { min-width: 25px; padding: 7px 5px; }
  .login-header .login-jump { font-size: 12px; }
  .login-aside { min-height: 560px; padding-top: 36px; }
  .login-form-wrap { margin: auto; }
  .topbar .language-switch { margin-right: 0; }
  .topbar .language-switch button { min-width: 24px; padding: 6px 5px; font-size: 11px; }
}

/* REMOTE STX NEXUS — cinematic command system */
:root {
  --bg: #071016;
  --surface: rgba(14, 26, 33, .82);
  --surface-raised: rgba(20, 38, 46, .9);
  --surface-hover: rgba(31, 57, 66, .92);
  --input: rgba(7, 18, 24, .9);
  --text: #ecf2ee;
  --muted: #91a6a6;
  --faint: #5f7778;
  --stroke: rgba(175, 224, 207, .13);
  --stroke-strong: rgba(175, 224, 207, .24);
  --accent: #b6f0d2;
  --accent-hover: #d7ffe8;
  --on-accent: #10231e;
  --accent-dim: rgba(130, 235, 185, .12);
  --success: #9ee8c4;
  --success-bg: rgba(90, 211, 157, .12);
  --danger: #ffad9e;
  --danger-bg: rgba(255, 128, 112, .12);
  --shadow: 0 24px 90px rgba(0, 0, 0, .36);
  font-family: 'Inter', 'Segoe UI Variable Text', system-ui, sans-serif;
}
body { background: radial-gradient(circle at 75% -10%, rgba(64, 132, 130, .2), transparent 33rem), linear-gradient(135deg, #061016 0%, #0a171d 55%, #081116 100%); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(190,239,219,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(190,239,219,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.sidebar { background: linear-gradient(180deg, rgba(10, 25, 31, .96), rgba(6, 16, 21, .97)); border-right: 1px solid rgba(169, 228, 207, .14); box-shadow: 20px 0 70px rgba(0,0,0,.18); }
.brand { letter-spacing: .12em; text-transform: uppercase; }
.brand b { color: var(--accent); font-weight: 600; }
.workspace-switch, .panel, .metric, .device-card, .fleet-workspace, .availability-panel, .quick-panel { border: 1px solid var(--stroke); background: linear-gradient(145deg, rgba(22, 43, 50, .78), rgba(10, 22, 28, .88)); box-shadow: 0 18px 50px rgba(0,0,0,.15), inset 0 1px rgba(215,255,232,.04); backdrop-filter: blur(18px); }
.nav-item { border-radius: 10px; transition: background .25s, color .25s, transform .25s; }
.nav-item:hover { background: rgba(147, 232, 198, .09); }
.nav-item.active { background: linear-gradient(90deg, rgba(154, 239, 199, .18), rgba(154, 239, 199, .04)); color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.topbar { background: rgba(6, 16, 21, .7); border-bottom-color: var(--stroke); backdrop-filter: blur(18px); }
.page-head h1, .login-aside h2, .login-hero-copy h1 { font-weight: 400; letter-spacing: -.045em; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.overview-hero { overflow: hidden; border: 1px solid rgba(171, 231, 211, .18); background: radial-gradient(circle at 75% 40%, rgba(91, 192, 164, .22), transparent 28%), linear-gradient(135deg, #102b31, #081419 65%); box-shadow: var(--shadow); }
.overview-hero::after { content: ''; position:absolute; inset:auto 10% 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; }
.metric strong { color: var(--accent); font-weight: 400; letter-spacing: -.04em; }
.metric-chip, .status-badge.online, .live-dot { background-color: var(--accent); color: var(--on-accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px rgba(136, 238, 190, .18); }
.btn.primary:hover { box-shadow: 0 12px 42px rgba(136, 238, 190, .3); }
.panel-head h2 { letter-spacing: -.025em; }
.availability-chart .chart-line { stroke: var(--accent); }
.login-page { background: radial-gradient(circle at 30% 30%, rgba(73, 163, 145, .22), transparent 34rem), #061016; }
.login-header { border-bottom-color: var(--stroke); }
.login-world { background: linear-gradient(145deg, rgba(10, 26, 32, .3), rgba(5, 14, 19, .2)); }
.login-aside { background: rgba(8, 19, 25, .78); border-left-color: var(--stroke); box-shadow: -30px 0 100px rgba(0,0,0,.22); backdrop-filter: blur(24px); }
.orbit-symbol { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 28px rgba(156, 237, 193, .18); }
.input-shell:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim), 0 0 30px rgba(145, 234, 190, .08); }
.scene-annotation i, .hero-orbit-label i { background: var(--accent); box-shadow: 0 0 18px var(--accent); }
@media (max-width: 900px) { body::before { background-size: 42px 42px; } .login-aside { background: rgba(8,19,25,.94); } }

/* STX Édition Signature R2.5.2 — branding only. Preserve all layout, hover and reveal behaviors. */
.brand { gap: 12px; letter-spacing: normal; text-transform: none; }
.brand .brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 10px; box-shadow: none; background: none;
  overflow: hidden; flex-shrink: 0;
}
.brand .brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand .brand-word {
  position: relative; display: inline-flex; align-items: center;
  font-family: 'Inter','Segoe UI Variable Text',system-ui,sans-serif;
  font-size: 19px; line-height: 1.2; letter-spacing: 2.4px;
  font-weight: 700; color: #F2F0EF; padding-bottom: 9px; white-space: nowrap;
}
.brand .brand-word::after {
  position: absolute; content: ''; width: 31px; height: 1px;
  background: #ECAF89; bottom: 0; left: 0;
}
.sidebar .brand-mark { width: 37px; height: 37px; border-radius: 9px; }
.sidebar .brand-word { font-size: 17px; letter-spacing: 2px; }
.login-header .brand-mark { width: 46px; height: 46px; border-radius: 11px; }
.login-header .brand-word { font-size: 21px; letter-spacing: 2.8px; }
@media(max-width:700px) {
  .login-header .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .login-header .brand-word { font-size: 17px; letter-spacing: 2px; }
}
@media(max-width:390px) {
  .brand { gap: 9px; }
  .login-header .brand-mark { width: 32px; height: 32px; }
  .login-header .brand-word { font-size: 15px; letter-spacing: 1.8px; }
}


/* R2.5.4 — STX REMOTE logo matched to supplied reference; branding only. */
.brand .brand-word {
  font-family: 'Inter','Segoe UI Variable Text',system-ui,sans-serif;
  font-weight: 550;
  letter-spacing: .25em;
  color: #F4F2EF;
  padding-bottom: 9px;
}
.brand .brand-word::after {
  width: 35%; height: 1.5px;
  background: #EDB08C;
  border-radius: 3px;
}
.brand .brand-mark { overflow: visible; }
.brand .brand-mark img { filter: drop-shadow(0 1px 5px rgba(222,146,104,.10)); }
.sidebar .brand-word { letter-spacing: .21em; }
.login-header .brand-word { letter-spacing: .23em; }
@media(max-width:390px) { .login-header .brand-word { letter-spacing: .18em; } }


/* R2.5.5 — metallic copper STX brand with cinematic login and compact sidebar logo. */
.brand .brand-mark img { filter: drop-shadow(0 0 4px rgba(232,139,77,.13)); }
.login-header .login-cinematic-brand {
  display: inline-flex; width: clamp(252px, 24vw, 318px); height: 82px;
  align-items: center; flex-shrink: 0; overflow: visible;
}
.login-header .login-cinematic-brand img { width: 100%; height: auto; max-height: 82px; object-fit: contain; display: block; }
@media (max-width:900px) {
  .login-header .login-cinematic-brand { width: 265px; height: 70px; }
}
@media (max-width:700px) {
  .login-header .login-cinematic-brand { width: 222px; height: 61px; }
  .login-header .login-cinematic-brand img { max-height: 61px; }
}
@media (max-width:390px) {
  .login-header .login-cinematic-brand { width: 203px; height: 57px; }
  .login-header .login-cinematic-brand img { max-height: 57px; }
}


/* R2.5.6: user-supplied STX REMOTE artwork; only brand visuals are changed. */
.login-header .login-cinematic-brand {
  width: clamp(245px, 23vw, 296px);
  height: 88px;
  flex-shrink: 0;
  overflow: visible;
}
.login-header .login-cinematic-brand img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.sidebar .brand-mark {
  width: 61px;
  height: 34px;
  border: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.sidebar .brand-mark img,
.boot .brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  filter: none;
  mix-blend-mode: screen;
}
.sidebar .brand { gap: 8px; margin-left: 4px; }
.sidebar .brand-word { font-size: 16px; letter-spacing: .15em; }
.boot .brand-mark { width: 67px; height: 34px; background: transparent; }
@media(max-width:900px) {
  .login-header .login-cinematic-brand { width: 247px; height: 79px; }
}
@media(max-width:700px) {
  .login-header .login-cinematic-brand { width: 207px; height: 67px; }
}
@media(max-width:390px) {
  .login-header .login-cinematic-brand { width: 181px; height: 59px; }
}


/* R2.6.0 - Fixed STX mark with one peach satellite following a circular orbit.
   This deliberately changes only the authentication loading animation. */
.stx-auth-transition {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 46%, #142124 0%, #0b1418 35%, #080d12 74%);
  color: #f4f3f0;
  opacity: 1;
  transition: opacity 180ms ease;
}
.stx-auth-transition-done { opacity: 0; pointer-events: none; }
.stx-auth-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.stx-auth-wheel {
  position: relative;
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,175,137,.085), transparent 74%);
  box-shadow: inset 0 0 0 1px rgba(236,175,137,.06);
}
/* The orbit line and the STX image stay still at every animation frame. */
.stx-auth-wheel-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(236,175,137,.18);
  border-top-color: rgba(236,175,137,.48);
  border-right-color: rgba(236,175,137,.30);
  box-shadow: 0 0 21px rgba(236,175,137,.08);
  pointer-events: none;
}
.stx-auth-static-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 53%, transparent 75%);
  mask-image: radial-gradient(circle, #000 53%, transparent 75%);
  /* No transform/animation on the logo. */
}
/* The only rotating element: a transparent track carrying a small satellite. */
.stx-auth-wheel .stx-auth-satellite-track {
  position: absolute;
  inset: 8px;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center;
  animation: stx-auth-satellite-orbit 1.2s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}
.stx-auth-satellite {
  position: absolute;
  left: 50%;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #ecaf89;
  box-shadow: 0 0 0 3px rgba(236,175,137,.14), 0 0 16px 4px rgba(236,175,137,.55);
}
.stx-auth-wordmark {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: .34em;
  padding-left: .34em;
}
.stx-auth-label {
  font-size: 12px;
  font-weight: 450;
  color: #a7b0b9;
  letter-spacing: .06em;
}
@keyframes stx-auth-satellite-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .stx-auth-transition { transition: none; }
  /* Keep this specific brief loading indicator moving, as requested. */
}


/* R2.6.3 - Browser autofill must not paint blue-gray over login field surfaces.
   Only the login email/password fields are affected; saved credentials still work.
   Clipping the browser-managed input background lets the existing dark .input-shell
   show through, with no contrasting rectangle inside the field. */
.login-aside .input-shell input:is(:-webkit-autofill, :autofill),
.login-aside .input-shell input:-webkit-autofill:hover,
.login-aside .input-shell input:-webkit-autofill:focus,
.login-aside .input-shell input:-webkit-autofill:active {
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: #e9e8e3 !important;
  caret-color: #e9e8e3 !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
}


/* ================================================================
   STX REMOTE R2.6.4 - DARK PREMIUM ECLAIRCI
   Visual palette only: no layout, behavior, typography, logo or
   motion changes. Dark mode keeps mint actions + copper signature.
   Light mode and OS preference handling remain available.
   ================================================================ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #172630;             /* bleu petrole, fond principal */
  --surface: #243640;        /* cartes lisibles */
  --surface-raised: #2B4049;
  --surface-hover: #324B54;
  --input: #1D303A;
  --text: #ECF4F1;
  --muted: #B5C8C9;
  --faint: #9EB5B8;
  --stroke: rgba(178, 220, 215, .17);
  --stroke-strong: rgba(178, 220, 215, .30);
  --accent: #A8E3CB;
  --accent-hover: #C5F3DF;
  --on-accent: #152E2B;
  --accent-dim: rgba(168, 227, 203, .13);
  --success: #A8E3CB;
  --success-bg: rgba(168, 227, 203, .13);
  --danger: #FFBAA9;
  --danger-bg: rgba(255, 160, 140, .13);
  --shadow: 0 22px 64px rgba(6, 15, 21, .22);
}

/* La profondeur vient de plusieurs plans au lieu d'un fond noir. */
html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 76% 0%, rgba(86, 166, 154, .17), transparent 43rem),
    linear-gradient(140deg, #1B2D36 0%, #172630 51%, #1B2C35 100%);
  background-attachment: fixed;
}
html[data-theme="dark"] body::before {
  opacity: .27;
  background-image:
    linear-gradient(rgba(190, 239, 219, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 239, 219, .045) 1px, transparent 1px);
}
html[data-theme="dark"] .sidebar {
  --text: #E4F0ED;
  --muted: #B3C8C7;
  --faint: #9BB3B5;
  --surface-hover: #304954;
  --stroke: rgba(178, 220, 215, .17);
  background: linear-gradient(180deg, #233841 0%, #1C2F39 100%);
  border-right: 1px solid rgba(180, 224, 214, .21);
  color: var(--text);
  box-shadow: 14px 0 46px rgba(8, 18, 25, .14);
}
html[data-theme="dark"] .workspace-switch,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .device-card,
html[data-theme="dark"] .fleet-workspace,
html[data-theme="dark"] .availability-panel,
html[data-theme="dark"] .quick-panel {
  background: linear-gradient(146deg, #2A404A 0%, #243640 80%);
  border: 1px solid var(--stroke);
  box-shadow: 0 15px 40px rgba(5, 15, 21, .12), inset 0 1px rgba(224, 251, 239, .035);
}
html[data-theme="dark"] .device-card:hover,
html[data-theme="dark"] .metric:hover,
html[data-theme="dark"] .panel:hover,
html[data-theme="dark"] .quick-panel:hover {
  border-color: var(--stroke-strong);
  box-shadow: 0 20px 46px rgba(5, 15, 21, .20), inset 0 1px rgba(224, 251, 239, .045);
}
html[data-theme="dark"] .device-card.selected {
  border-color: rgba(168, 227, 203, .62);
  box-shadow: 0 0 0 1px rgba(168, 227, 203, .14);
}
html[data-theme="dark"] .topbar {
  background: rgba(29, 47, 57, .92);
  border-bottom: 1px solid var(--stroke);
}
html[data-theme="dark"] .workspace-switch {
  border-color: var(--stroke-strong);
}
html[data-theme="dark"] .workspace-switch small,
html[data-theme="dark"] .workspace-edition,
html[data-theme="dark"] .nav-label,
html[data-theme="dark"] .demo-note,
html[data-theme="dark"] .demo-note small,
html[data-theme="dark"] .user-info small {
  color: var(--faint);
}
html[data-theme="dark"] .nav-item,
html[data-theme="dark"] .nav-item > svg {
  color: #BACDCF;
}
html[data-theme="dark"] .nav-item:hover {
  background: rgba(168, 227, 203, .09);
  color: #F0FBF6;
}
html[data-theme="dark"] .nav-item.active {
  color: var(--accent);
  background: linear-gradient(90deg, rgba(168, 227, 203, .19), rgba(168, 227, 203, .055));
  box-shadow: inset 3px 0 var(--accent);
}
html[data-theme="dark"] .nav-item.active > svg {
  color: var(--accent);
}
html[data-theme="dark"] .nav-item.active::before {
  background: var(--accent);
}
html[data-theme="dark"] .nav-counter {
  background: #30454E;
  color: #BBD2D1;
}
html[data-theme="dark"] .nav-item.active .nav-counter {
  background: rgba(168, 227, 203, .14);
  color: var(--accent);
}
html[data-theme="dark"] .sidebar-user {
  background: rgba(23, 40, 49, .7);
  border-top: 1px solid var(--stroke);
}
html[data-theme="dark"] .page-head .eyebrow,
html[data-theme="dark"] .page-head p,
html[data-theme="dark"] .panel-head p,
html[data-theme="dark"] .metric > footer,
html[data-theme="dark"] .data-table th {
  color: var(--muted);
}
html[data-theme="dark"] .metric > div > svg,
html[data-theme="dark"] .panel-head > svg {
  color: var(--faint);
}
html[data-theme="dark"] .data-table th {
  background: rgba(214, 238, 231, .055);
}
html[data-theme="dark"] .overview-hero {
  border: 1px solid rgba(178, 226, 212, .24);
  background:
    radial-gradient(circle at 75% 43%, rgba(126, 214, 189, .25), transparent 36%),
    linear-gradient(130deg, #2A484D 0%, #1D353E 67%, #213840 100%);
  box-shadow: 0 23px 60px rgba(6, 18, 24, .22);
}
html[data-theme="dark"] .overview-hero::after {
  background: linear-gradient(90deg, rgba(29, 52, 59, .79), transparent 67%);
}
html[data-theme="dark"] .overview-hero-copy h2 {
  color: #F0F7F3;
}
html[data-theme="dark"] .overview-hero-copy h2 > span,
html[data-theme="dark"] .hero-link {
  color: #A8E3CB;
}
html[data-theme="dark"] .overview-hero-copy p,
html[data-theme="dark"] .overview-hero-copy .eyebrow,
html[data-theme="dark"] .hero-telemetry,
html[data-theme="dark"] .hero-orbit-label {
  color: #BED2D0;
}
html[data-theme="dark"] .btn.primary {
  box-shadow: 0 8px 28px rgba(100, 208, 165, .19);
}
html[data-theme="dark"] .btn.primary:not(:disabled):hover {
  box-shadow: 0 12px 40px rgba(100, 208, 165, .26);
}
html[data-theme="dark"] .theme-preview.dark {
  background: #172630;
  border-color: #52736E;
}
html[data-theme="dark"] .theme-preview.dark i {
  background: #213640;
  border-right-color: #55766F;
}
html[data-theme="dark"] .theme-preview.dark b {
  background: #2D4750;
}
html[data-theme="dark"] .theme-preview.dark b:last-child {
  background: #354F56;
}
html[data-theme="dark"] .theme-preview.system {
  background: linear-gradient(90deg, #172630 50%, #e2e6de 50%);
}
html[data-theme="dark"] .theme-preview.system b {
  background: linear-gradient(90deg, #2D4750 23%, #bec6b9 23%);
}
html[data-theme="dark"] .theme-preview.system b:last-child {
  background: linear-gradient(90deg, #354F56 23%, #cbd2c7 23%);
}

/* Connexion: plus douce mais toujours cinematographique. Logo et orbite intacts. */
html[data-theme="dark"] .login-page {
  background: radial-gradient(circle at 28% 25%, rgba(90, 174, 151, .19), transparent 37rem), #172630;
}
html[data-theme="dark"] .login-header {
  background: rgba(29, 47, 57, .95);
  border-bottom-color: var(--stroke);
}
html[data-theme="dark"] .login-world {
  background:
    radial-gradient(ellipse at 63% 64%, rgba(103, 167, 153, .13), transparent 64%),
    linear-gradient(142deg, #1C3039, #172832 85%);
}
html[data-theme="dark"] .login-aside {
  background: linear-gradient(155deg, rgba(40, 62, 72, .96), rgba(30, 49, 59, .97));
  border-left-color: var(--stroke);
  box-shadow: -23px 0 70px rgba(9, 20, 26, .20);
}
html[data-theme="dark"] .login-hero-copy h1,
html[data-theme="dark"] .login-aside h2 {
  color: #F0F6F2;
}
html[data-theme="dark"] .login-hero-copy h1 > span {
  color: #B7CFCA;
}
html[data-theme="dark"] .login-hero-copy p,
html[data-theme="dark"] .login-aside .login-description,
html[data-theme="dark"] .login-hero-copy .eyebrow,
html[data-theme="dark"] .login-form-eyebrow,
html[data-theme="dark"] .login-assurance {
  color: #B5CAC9;
}
html[data-theme="dark"] .login-aside h2 > span {
  color: #ECAF89; /* copper is a deliberate brand highlight */
}
html[data-theme="dark"] .login-aside .field-label {
  color: #DBEAE6;
}
html[data-theme="dark"] .login-aside .input-shell {
  background: #1B2D36;
  border-color: rgba(185, 226, 217, .29);
}
html[data-theme="dark"] .login-aside .input-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
html[data-theme="dark"] .login-aside .input-shell input {
  color: #EDF4F1;
}
html[data-theme="dark"] .login-aside .input-shell > svg,
html[data-theme="dark"] .login-aside input::placeholder {
  color: #AFC4C4;
}
html[data-theme="dark"] .login-aside .password-label .text-btn {
  color: #BBDBCF;
}
html[data-theme="dark"] .login-header .language-switch,
html[data-theme="dark"] .topbar .language-switch {
  background: rgba(23, 42, 51, .75);
  border-color: rgba(185, 226, 217, .25);
}
html[data-theme="dark"] .language-switch button:not(.active) {
  color: #B6CECE;
}
html[data-theme="dark"] .stx-auth-transition {
  background: radial-gradient(circle at 50% 46%, #2B4246 0%, #1C3039 40%, #14252E 85%);
}


/* R2.6.5 - Logo STX sur fond bleu petrole, sans alteration du visuel d'origine.
   "lighten" rend invisibles les pixels noirs (plus sombres que la barre)
   tout en conservant le trait, les tons cuivre et les eclats du logo. */
html[data-theme="dark"] .login-header {
  isolation: isolate;
}
html[data-theme="dark"] .login-header .login-cinematic-brand img {
  mix-blend-mode: lighten;
}


/* R2.6.6 - Masquer la signature microscopique sous REMOTE,
   directement a l'affichage. Aucune retouche du logo source.
   Zone : bas droit du lockup uniquement. Compatible tailles mobiles. */
.login-header .login-cinematic-brand img {
  clip-path: polygon(0 0, 100% 0, 100% 70%, 53% 70%, 53% 100%, 0 100%);
}


/* R2.6.7 - Roue STX : le noir du PNG d'origine se fond dans le
   nouveau fond bleu petrole. Conserver l'image, la forme du monogramme,
   les reflets cuivres et la rotation du seul satellite.
   IMPORTANT: ne pas ajouter isolation:isolate sur le conteneur wheel,
   sinon le melange se ferait sur du transparent et le disque noir reviendrait. */
.stx-auth-static-mark {
  mix-blend-mode: lighten;
}
/* STX REMOTE R2.6.8 - STUDIO CLAIR PREMIUM. Light theme only. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #EDF3F0;
  --surface: #FFFFFF;
  --surface-raised: #F4F8F6;
  --surface-hover: #E5F0EB;
  --input: #F5F9F7;
  --text: #21383B;
  --muted: #4D686A;
  --faint: #60777A;
  --stroke: rgba(36, 76, 72, .14);
  --stroke-strong: rgba(36, 76, 72, .26);
  --accent: #227466;
  --accent-hover: #175D52;
  --on-accent: #FFFFFF;
  --accent-dim: rgba(34, 116, 102, .11);
  --success: #277259;
  --success-bg: rgba(39, 114, 89, .10);
  --danger: #B04D43;
  --danger-bg: rgba(176, 77, 67, .09);
  --shadow: 0 18px 52px rgba(31, 70, 65, .09);
}
html[data-theme="light"] body {
  background: radial-gradient(ellipse at 75% -8%, rgba(168, 212, 195, .35), transparent 45rem),
              linear-gradient(140deg, #F1F6F3 0%, #EDF3F0 48%, #EAF1EE 100%);
  background-attachment: fixed;
}
html[data-theme="light"] body::before {
  opacity: .22;
  background-image: linear-gradient(rgba(54,106,93,.09) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(54,106,93,.07) 1px,transparent 1px);
}
html[data-theme="light"] .sidebar {
  --text: #243F42;
  --muted: #587175;
  --faint: #687E80;
  --surface-hover: #D4E4DE;
  --stroke: rgba(41, 87, 76, .15);
  background: linear-gradient(180deg,#E6EFEB,#DFEAE5);
  border-right: 1px solid rgba(39,93,78,.18);
  box-shadow: 14px 0 44px rgba(32,79,72,.055);
  color: var(--text);
}
html[data-theme="light"] .sidebar .brand-word { color: #234146; }
html[data-theme="light"] .sidebar .brand-mark img { mix-blend-mode: multiply; }
html[data-theme="light"] .workspace-switch,
html[data-theme="light"] .panel,
html[data-theme="light"] .metric,
html[data-theme="light"] .device-card,
html[data-theme="light"] .fleet-workspace,
html[data-theme="light"] .availability-panel,
html[data-theme="light"] .quick-panel {
  background: linear-gradient(145deg,#FFFFFF 0%,#F6FAF8 100%);
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 36px rgba(38,77,70,.065), inset 0 1px rgba(255,255,255,.9);
}
html[data-theme="light"] .workspace-switch { border-color: var(--stroke-strong); }
html[data-theme="light"] .workspace-switch small,
html[data-theme="light"] .workspace-edition,
html[data-theme="light"] .nav-label,
html[data-theme="light"] .demo-note,
html[data-theme="light"] .demo-note small,
html[data-theme="light"] .user-info small { color: #657D7C; }
html[data-theme="light"] .nav-item,
html[data-theme="light"] .nav-item > svg { color: #4C6869; }
html[data-theme="light"] .nav-item:hover { background: rgba(41,115,100,.10); color: #1E524B; }
html[data-theme="light"] .nav-item.active {
  color: #185D51;
  background: linear-gradient(90deg,rgba(42,123,104,.17),rgba(42,123,104,.045));
  box-shadow: inset 3px 0 #227466;
}
html[data-theme="light"] .nav-item.active > svg { color: #185D51; }
html[data-theme="light"] .nav-item.active::before { background: #227466; }
html[data-theme="light"] .nav-counter { background: #D5E5DE; color: #46655F; }
html[data-theme="light"] .nav-item.active .nav-counter { background: rgba(34,116,102,.13); color: #185D51; }
html[data-theme="light"] .sidebar-user {
  background: rgba(221,235,228,.84);
  border-top: 1px solid var(--stroke);
}
html[data-theme="light"] .topbar {
  background: rgba(248,251,249,.93);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 6px 18px rgba(36,77,70,.035);
}
html[data-theme="light"] .language-switch,
html[data-theme="light"] .topbar .language-switch {
  background: rgba(226,239,233,.86);
  border-color: rgba(39,101,82,.24);
}
html[data-theme="light"] .language-switch button:not(.active) { color: #496967; }
html[data-theme="light"] .language-switch button.active { background: #227466; color: #FFFFFF; }
html[data-theme="light"] .language-switch button:hover:not(.active) { color: #185D51; }
html[data-theme="light"] .device-card:hover,
html[data-theme="light"] .metric:hover,
html[data-theme="light"] .panel:hover,
html[data-theme="light"] .quick-panel:hover {
  border-color: var(--stroke-strong);
  box-shadow: 0 17px 43px rgba(31,78,70,.11);
}
html[data-theme="light"] .device-card.selected {
  border-color: rgba(34,116,102,.61);
  box-shadow: 0 0 0 1px rgba(34,116,102,.12);
}
html[data-theme="light"] .page-head .eyebrow,
html[data-theme="light"] .page-head p,
html[data-theme="light"] .panel-head p,
html[data-theme="light"] .metric > footer,
html[data-theme="light"] .data-table th { color: #567071; }
html[data-theme="light"] .metric > div > svg,
html[data-theme="light"] .panel-head > svg { color: #6D8985; }
html[data-theme="light"] .data-table th { background: rgba(36,116,100,.055); }
html[data-theme="light"] .metric strong,
html[data-theme="light"] .metric > strong { color: #226A5F; }
html[data-theme="light"] .metric-chip,
html[data-theme="light"] .status-badge.online,
html[data-theme="light"] .live-dot { background-color: #227466; color: #FFFFFF; }
html[data-theme="light"] .overview-hero {
  border: 1px solid rgba(41,112,94,.23);
  background: radial-gradient(circle at 74% 43%,rgba(103,170,143,.29),transparent 38%),
              linear-gradient(122deg,#DDECE5 0%,#D1E5DD 58%,#C6DDD7 100%);
  box-shadow: 0 18px 45px rgba(39,100,85,.13);
}
html[data-theme="light"] .overview-hero::after {
  background: linear-gradient(90deg,rgba(224,240,232,.85),transparent 68%);
}
html[data-theme="light"] .overview-hero-copy h2 { color: #1C4643; }
html[data-theme="light"] .overview-hero-copy h2 > span,
html[data-theme="light"] .hero-link { color: #226F60; }
html[data-theme="light"] .overview-hero-copy p,
html[data-theme="light"] .overview-hero-copy .eyebrow,
html[data-theme="light"] .hero-telemetry,
html[data-theme="light"] .hero-orbit-label { color: #506D67; }
html[data-theme="light"] .hero-telemetry b { color: #54736B; }
html[data-theme="light"] .hero-link:hover { color: #164C44; }
html[data-theme="light"] .hero-grid-texture {
  background-image: linear-gradient(rgba(29,90,72,.06) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(29,90,72,.06) 1px,transparent 1px);
}
html[data-theme="light"] .btn.primary { box-shadow: 0 8px 24px rgba(30,117,99,.15); }
html[data-theme="light"] .btn.primary:not(:disabled):hover { box-shadow: 0 13px 34px rgba(30,117,99,.23); }
/* The preview cards show the actual new color balance, in all modes. */
.theme-preview.light { background: #EDF3F0; border-color: #B9D2C8; }
.theme-preview.light i { background: #DFEAE5; border-right-color: #B8CEC4; }
.theme-preview.light b { background: #FFFFFF; }
.theme-preview.light b:last-child { background: #D4E5DD; }
.theme-preview.system { background: linear-gradient(90deg,#172630 50%,#EDF3F0 50%); }
.theme-preview.system b { background: linear-gradient(90deg,#2D4750 23%,#FFFFFF 23%); }
.theme-preview.system b:last-child { background: linear-gradient(90deg,#354F56 23%,#D4E5DD 23%); }

/* R2.6.8 - Signature STX: preserve the white/copper artwork on its deep-petrol rail.
   The light workspace uses a contrasting navigation column by design, not a
   black rectangular label on a pale canvas. */
html[data-theme="light"] .sidebar {
  --text: #E7F3EF;
  --muted: #B6CECA;
  --faint: #A1BBB8;
  --surface-hover: #304954;
  --stroke: rgba(178, 220, 215, .17);
  background: linear-gradient(180deg, #233A43 0%, #1C303A 100%);
  border-right: 1px solid rgba(180, 224, 214, .17);
  color: var(--text);
  box-shadow: 13px 0 43px rgba(28, 61, 56, .10);
}
html[data-theme="light"] .sidebar .brand-word { color: #F0F6F2; }
html[data-theme="light"] .sidebar .brand-mark img { mix-blend-mode: screen; }
html[data-theme="light"] .sidebar .workspace-switch {
  background: linear-gradient(145deg, #2C4650 0%, #243B44 100%);
  border-color: rgba(178, 220, 215, .24);
  box-shadow: inset 0 1px rgba(224,251,239,.035);
}
html[data-theme="light"] .sidebar .workspace-switch small,
html[data-theme="light"] .sidebar .workspace-edition,
html[data-theme="light"] .sidebar .nav-label,
html[data-theme="light"] .sidebar .demo-note,
html[data-theme="light"] .sidebar .demo-note small,
html[data-theme="light"] .sidebar .user-info small { color: #AFC5C3; }
html[data-theme="light"] .sidebar .nav-item,
html[data-theme="light"] .sidebar .nav-item > svg { color: #BBD0CD; }
html[data-theme="light"] .sidebar .nav-item:hover {
  background: rgba(168, 227, 203, .10);
  color: #F0FBF6;
}
html[data-theme="light"] .sidebar .nav-item.active {
  color: #B4E9D3;
  background: linear-gradient(90deg, rgba(168, 227, 203, .20), rgba(168, 227, 203, .055));
  box-shadow: inset 3px 0 #A8E3CB;
}
html[data-theme="light"] .sidebar .nav-item.active > svg { color: #B4E9D3; }
html[data-theme="light"] .sidebar .nav-item.active::before { background: #A8E3CB; }
html[data-theme="light"] .sidebar .nav-counter { background: #314952; color: #BDD3D0; }
html[data-theme="light"] .sidebar .nav-item.active .nav-counter {
  background: rgba(168,227,203,.14); color: #B4E9D3;
}
html[data-theme="light"] .sidebar .sidebar-user {
  background: rgba(23, 41, 50, .72);
  border-top: 1px solid rgba(178,220,215,.17);
}

/* R2.6.9 - Quick theme switch in the workspace header.
   The login scene deliberately stays dark and keeps its cinematic design. */
.topbar .theme-toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--stroke-strong);
  border-radius: 11px;
  background: var(--surface-raised);
  color: var(--accent);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.topbar .theme-toggle:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-1px);
}
.topbar .theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
html[data-theme="dark"] .topbar .theme-toggle {
  background: #2C454C;
  color: #A8E3CB;
  border-color: rgba(168,227,203,.3);
}
html[data-theme="light"] .topbar .theme-toggle {
  background: #FFFFFF;
  color: #227466;
  border-color: rgba(34,116,102,.27);
  box-shadow: 0 2px 7px rgba(31,78,70,.045);
}
@media (max-width: 420px) {
  .topbar .theme-toggle {
    flex-basis: 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 9px;
  }
}


/* =====================================================================
   STX REMOTE R2.7.0 — ORBIT ACCESS, independent premium sign-in panel.
   Presentation only: keeps the original form, IDs, event handlers, scene,
   keyboard support, authentication flow and stored theme preferences.
   ===================================================================== */
.login-page {
  background: #182a33;
}
.login-layout {
  background: #182a33;
}
.login-aside {
  isolation: isolate;
  background: radial-gradient(ellipse at 60% 41%, rgba(83,139,135,.105),transparent 63%),
              linear-gradient(155deg,#1b303a 0%,#182b34 49%,#162832 100%);
  border-left: 1px solid rgba(179,223,208,.15);
  padding-left: clamp(18px,2.6vw,45px);
  padding-right: clamp(18px,2.6vw,45px);
}
.login-aside::before {
  content: '';
  position:absolute;
  inset: max(18px,2.5vw);
  height: auto;
  border: 1px solid rgba(185,223,212,.045);
  border-radius: 20px;
  box-shadow: none;
  pointer-events:none;
}
.login-aside::after {
  content: '';
  position:absolute;
  width:min(36vw,540px);
  aspect-ratio:1;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(163,224,200,.065),transparent 65%);
  pointer-events:none;
  z-index:0;
}
.login-form-wrap {
  position: relative;
  z-index:1;
  width: 100%;
  max-width: 490px;
  margin:auto;
  background: linear-gradient(155deg,rgba(49,76,85,.98),rgba(34,55,65,.99) 53%,rgba(31,51,61,.99));
  border: 1px solid rgba(185,230,218,.20);
  border-radius: 19px;
  box-shadow: 0 30px 80px rgba(5,15,20,.34),0 7px 20px rgba(3,15,19,.11),
              inset 0 1px 0 rgba(226,255,243,.105);
  overflow: hidden;
  animation: arrival 1s .14s both;
}
.login-form-wrap::before {
  content:'';
  position:absolute;
  top:0;left:35px;right:35px;
  height:2px;
  background:linear-gradient(90deg,transparent 1%,#e7ad86 25%,#f5c69f 54%,rgba(168,227,203,.5) 82%,transparent);
  z-index:3;
}
.login-form-wrap::after {
  content:'';
  position:absolute;
  right:-74px;top:44px;
  width:215px;height:215px;
  border:1px solid rgba(168,227,203,.085);
  box-shadow:0 0 0 27px rgba(168,227,203,.017),0 0 0 56px rgba(168,227,203,.012);
  border-radius:50%;
  pointer-events:none;
}
.login-card-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:20px 36px 15px;
  border-bottom:1px solid rgba(182,224,210,.095);
  background:rgba(8,25,32,.14);
  font:600 10px/1.4 Consolas,monospace;
  letter-spacing:1.5px;
}
.login-card-ident { color:#f1c19d;display:flex;align-items:center;gap:10px; }
.login-card-ident i {
  width:6px;height:6px;border-radius:50%;background:#b9ebd2;
  box-shadow:0 0 0 4px rgba(169,231,199,.10),0 0 15px rgba(169,231,199,.36);
}
.login-card-series { color:#9cb6b7;letter-spacing:1.25px; }
.login-card-main {padding:30px 36px 30px;position:relative;z-index:1;}
.login-form-eyebrow {
  font-size:10px;
  letter-spacing:1.35px;
  color:#b8d3d0;
  margin-bottom:19px;
  font-weight:600;
}
.orbit-symbol {
  width:34px;height:34px;
  border-color:rgba(170,232,205,.40);
  background:rgba(155,220,196,.09);
  color:#b4ebd4;
}
.login-aside h2 {
  color:#f5f7f3;
  font-size:clamp(44px,3.35vw,56px);
  line-height:1.07;
  letter-spacing:-2.3px;
}
.login-aside h2>span { color:#eab18a; }
.login-description {
  color:#bfd0d0;
  margin:16px 0 26px;
  font-size:13px;
  line-height:1.7;
}
.login-aside .field-label { color:#e1ebe8;font-size:12px;font-weight:500; }
.login-aside .input-shell {
  min-height:51px;
  border-radius:9px;
  background:rgba(12,28,36,.49);
  border:1px solid rgba(166,210,209,.26);
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.login-aside .input-shell:hover { border-color:rgba(185,226,216,.43); }
.login-aside .input-shell:focus-within {
  background:rgba(12,27,35,.72);
  border-color:#e9b38b;
  box-shadow:0 0 0 3px rgba(233,179,139,.12);
}
.login-aside .input-shell>svg { color:#aac1be; }
.login-aside .input-shell input {color:#fff;font-size:13px;}
.login-aside input::placeholder {color:#a4bab9;opacity:1;}
.password-label {margin-top:19px;}
.password-label .text-btn {color:#b7ddcf;}
.password-label .text-btn:hover {color:#fff;}
.login-submit {
  margin-top:25px;
  min-height:55px;
  border-radius:9px;
  font-size:13px;
  font-weight:650;
  padding:15px 18px;
  background:linear-gradient(110deg,#edb88f,#e9a87e)!important;
  border:1px solid rgba(255,211,176,.35)!important;
  color:#253039!important;
  box-shadow:0 10px 25px rgba(15,24,28,.14),inset 0 1px 0 rgba(255,250,238,.32);
  transition:transform .18s,box-shadow .2s,filter .2s;
}
.login-submit:hover:not(:disabled) {
  background:linear-gradient(110deg,#f5c49f,#efb086)!important;
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(8,20,25,.2);
}
.login-submit:focus-visible {outline:2px solid #b5edd5;outline-offset:3px;}
.login-card-trust {
  position:relative;z-index:1;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:58px;
  padding:13px 36px;
  border-top:1px solid rgba(183,224,213,.13);
  background:rgba(10,28,34,.26);
}
.login-card-trust-icon {
  display:grid;place-items:center;
  width:28px;height:28px;min-width:28px;
  border:1px solid rgba(167,230,204,.21);
  color:#b9e7d2;
  border-radius:8px;
  background:rgba(163,225,198,.07);
}
.login-card-trust .login-assurance {
  display:block;
  color:#b7c9c9;
  margin:0;
  font-size:10px;
  letter-spacing:.1px;
  line-height:1.4;
}
.login-card-trust-symbol {margin-left:auto;color:#a8c5be;font-size:17px;opacity:.65;}
.login-aside-footer { z-index:2;color:#90a6a8; }
.login-aside-footer button { color:#aac7c3; }
.login-aside-footer button:hover { color:#f3c49e; }
/* Keep the card intact on shorter laptops instead of clipping inputs. */
@media (min-width:701px) and (max-height:800px) {
  .login-layout {height:auto;min-height:calc(100svh - 82px);}
  .login-aside {padding-top:24px;padding-bottom:65px;min-height:0;}
  .login-card-main {padding-top:21px;padding-bottom:22px;}
  .login-card-meta {padding-top:15px;padding-bottom:12px;}
  .login-aside h2 {font-size:clamp(39px,3.3vw,49px);}
  .login-description {margin:12px 0 20px;}
  .login-submit {margin-top:19px;}
  .login-form-eyebrow {margin-bottom:13px;}
}
@media (min-width:701px) and (max-width:1150px) {
  .login-form-wrap {border-radius:16px;}
  .login-card-main {padding-left:26px;padding-right:26px;}
  .login-card-meta,.login-card-trust {padding-left:26px;padding-right:26px;}
  .login-aside {padding-left:18px;padding-right:18px;}
}
@media (max-width:700px) {
  .login-aside {min-height:0;padding:32px 18px 77px;overflow:visible;}
  .login-aside::before {inset:12px;}
  .login-form-wrap {max-width:450px;margin:10px auto 12px;border-radius:16px;}
  .login-card-meta {padding:18px 24px 14px;}
  .login-card-main {padding:25px 24px 26px;}
  .login-card-trust {padding:13px 24px;}
  .login-aside h2 {font-size:clamp(43px,10vw,52px);}
  .login-form-eyebrow {font-size:9px;letter-spacing:.9px;}
  .login-assurance {font-size:10px;}
  .login-aside-footer {bottom:21px;left:25px;right:25px;}
}
@media (max-width:370px) {
  .login-card-main {padding:24px 19px;}
  .login-card-meta,.login-card-trust {padding-left:19px;padding-right:19px;}
  .login-card-ident,.login-card-series {font-size:9px;letter-spacing:.8px;}
}
@media (prefers-reduced-motion:reduce) {
  .login-submit,.login-form-wrap {transition:none;animation:none;}
}
/* Compact laptop: keep the card and the footer inside a 768px viewport. */
@media (min-width:701px) and (max-height:800px) {
  .login-aside { padding-top: 14px; padding-bottom: 38px; }
  .login-card-main { padding-top: 18px; padding-bottom: 18px; }
  .login-card-meta { padding-top: 13px; padding-bottom: 10px; }
  .login-card-trust { min-height: 48px; padding-top: 9px; padding-bottom: 9px; }
  .login-form-eyebrow { margin-bottom: 10px; }
  .login-description { margin: 11px 0 16px; }
  .password-label { margin-top: 17px; }
  .login-submit { margin-top: 17px; }
  .login-aside-footer { bottom: 11px; }
}
@media (min-width:1351px) and (max-height:800px) {
  .login-layout { min-height:calc(100svh - 94px); }
}


/* ================================================================
   STX REMOTE R2.7.4 - STUDIO LIGHT / ORBITAL SHOWCASE
   Light dashboard hero ONLY. The dark palette, login, workflows and
   WebGL mesh/animation remain untouched. Pure CSS light treatment.
   ================================================================ */
.hero-studio-stage { display: none; }
html[data-theme="light"] .overview-hero {
  border-color: rgba(47, 106, 90, .23);
  background:
    radial-gradient(ellipse at 77% 42%, rgba(255, 252, 240, .96) 0%, rgba(249, 253, 246, .38) 29%, transparent 54%),
    radial-gradient(ellipse at 89% 80%, rgba(123, 181, 165, .24), transparent 43%),
    linear-gradient(116deg, #FAFCFA 0%, #F1F8F4 39%, #D9EAE3 74%, #CFDFD8 100%);
  box-shadow: 0 20px 48px rgba(36, 78, 68, .115), inset 0 1px rgba(255,255,255,.88);
}
html[data-theme="light"] .overview-hero::after {
  background: linear-gradient(90deg, rgba(250,252,250,.92) 0%, rgba(249,252,249,.59) 34%, rgba(247,251,247,.05) 64%, transparent 78%);
  z-index: 1;
}
html[data-theme="light"] .hero-grid-texture {
  opacity: .34;
  background-size: 48px 48px;
  background-image:
    linear-gradient(rgba(34,97,78,.045) 1px, transparent 1px),
    linear-gradient(90deg,rgba(34,97,78,.045) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, transparent 29%, #000 75%);
}
html[data-theme="light"] .hero-studio-stage {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
html[data-theme="light"] .studio-glow {
  position: absolute;
  right: -5%;
  top: -49%;
  width: 73%;
  height: 185%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 48% 47%, rgba(255,255,255,.88) 4%, rgba(243,253,245,.56) 38%, rgba(144,190,172,.16) 57%, transparent 72%);
  filter: blur(3px);
  transform: rotate(-16deg);
}
html[data-theme="light"] .studio-shadow {
  position: absolute;
  right: 12%;
  bottom: 2%;
  width: 43%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(38,83,74,.23) 0%, rgba(45,107,91,.095) 48%, transparent 75%);
  filter: blur(12px);
  transform: rotate(-13deg);
}
/* R2.7.4: The real WebGL orbit and tablets use exactly the same
   viewport, scale, camera and animation timing in both themes.
   Only the surrounding studio light/colors change. */
html[data-theme="light"] .overview-hero-copy h2 { color: #1C3F3C; }
html[data-theme="light"] .overview-hero-copy h2 > span { color: #B87D59; }
html[data-theme="light"] .overview-hero-copy p { color: #4C6964; }
html[data-theme="light"] .overview-hero-copy .eyebrow { color: #4B7166; }
html[data-theme="light"] .hero-link { color: #1D6E5C; font-weight: 550; }
html[data-theme="light"] .hero-link:hover { color: #A66E50; }
html[data-theme="light"] .hero-telemetry,
html[data-theme="light"] .hero-orbit-label { color: #486A61; }
html[data-theme="light"] .hero-telemetry b { color: #226451; }
html[data-theme="light"] .hero-telemetry i { color: #A16D4F; }
html[data-theme="light"] .hero-orbit-label i { border-color: rgba(34,110,89,.6); }
html[data-theme="light"] .hero-orbit-label small { color: #658078; }
@media (max-width: 1100px) {
  html[data-theme="light"] .studio-glow { right: -19%; width: 83%; }
  html[data-theme="light"] .studio-shadow { right: 3%; width: 49%; }
}
@media (max-width: 700px) {
  html[data-theme="light"] .studio-glow { right: -32%; width: 98%; }
  html[data-theme="light"] .studio-shadow { right: -7%; width: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] .studio-glow,
  html[data-theme="light"] .studio-shadow { animation: none; }
}
/* Match the no-WebGL fallback device with the same light studio lighting. */
html[data-theme="light"] .dashboard-scene .fallback-device {
  border-color: #30434D;
  outline-color: rgba(255,255,255,.48);
  box-shadow: 15px 19px 44px rgba(23,53,48,.32), inset 0 0 0 1px rgba(255,255,255,.09);
}
html[data-theme="light"] .dashboard-scene .fallback-device span {
  color: #F0EEE8;
  text-shadow: 0 0 16px rgba(236,175,137,.22);
}
html[data-theme="light"] .dashboard-scene .fallback-orbit.second {
  border-color: rgba(53, 104, 99, .40);
}

/* R2.7.5 - Devices: deliberate breathing room inside the fleet workspace.
   Applies consistently to filters, counts, cards, table view and pagination.
   Card art, scale, animation and layout breakpoints remain unchanged. */
.fleet-workspace {
  padding: 18px 18px 20px;
  border-radius: 14px;
}
.fleet-workspace .fleet-selection-bar {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 21px;
}
@media (max-width: 800px) {
  .fleet-workspace { padding: 14px; }
}
@media (max-width: 480px) {
  .fleet-workspace { padding: 11px; }
  .fleet-workspace .fleet-selection-bar { padding-bottom: 16px; }
}


/* R2.7.6 - Real Stonex product imagery in Devices; preserve the existing card geometry. */
.device-product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: min(88%, 256px);
  height: 145px;
  margin: 0 auto;
  z-index: 1;
  pointer-events: none;
}
.device-product-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(8px 14px 9px rgba(1, 12, 19, .28));
  transition: transform .45s cubic-bezier(.2,.75,.3,1), filter .45s ease;
}
.device-card-art .device-product-visual--portrait { width: min(70%, 175px); }
.device-card-art .device-product-visual--landscape { width: min(86%, 260px); }
.device-card-art:hover .device-product-image,
.device-card:focus-within .device-card-art .device-product-image {
  transform: translateY(-5px) scale(1.035);
  filter: drop-shadow(10px 18px 13px rgba(1, 12, 19, .34));
}
.device-card-art:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
html[data-theme="light"] .device-product-image {
  filter: drop-shadow(7px 13px 11px rgba(32, 67, 70, .20));
}
html[data-theme="light"] .device-card-art:hover .device-product-image,
html[data-theme="light"] .device-card:focus-within .device-card-art .device-product-image {
  filter: drop-shadow(8px 16px 13px rgba(32, 67, 70, .27));
}
.device-product-visual--detail { height: 170px; width: min(90%, 350px); transform: translateY(-9px); }
.device-product-visual--detail .device-product-image { max-height: 170px; }
.device-product-visual--thumb { width: 32px; height: 38px; flex: 0 0 32px; margin: 0; }
.device-product-visual--thumb .device-product-image { max-height: 34px; max-width: 31px; filter: drop-shadow(1px 3px 2px rgba(0,0,0,.2)); }
html[data-theme="light"] .device-product-visual--thumb .device-product-image { filter: drop-shadow(1px 3px 2px rgba(0,0,0,.13)); }
@media (prefers-reduced-motion: reduce) {
  .device-product-image { transition: none; }
  .device-card-art:hover .device-product-image,
  .device-card:focus-within .device-card-art .device-product-image { transform: none; }
}
@media (max-width: 480px) {
  .device-card-art .device-product-visual { height: 132px; }
  .device-card-art .device-product-visual--landscape { width: 92%; }
}


/* R2.7.11 — STONEX card hover: gentle, straight zoom, CSS-only.
   The decorative circle was not .device-art-ring alone: the radial ellipse
   was painted by .device-card-art::before. Remove BOTH sources.
   This deliberately animates the real IMG, not a wrapper or a JS transform. */
.device-card .device-art-ring,
.device-card .device-card-art::before,
.device-card .device-card-art:before {
  content: none !important;
  display: none !important;
  background: none !important;
}
.device-card .device-card-art {
  overflow: visible;
  isolation: isolate;
}
.device-card .device-card-art .device-product-visual--card {
  transform: none !important;
  transition: none;
  pointer-events: none;
}
.device-card .device-card-art .device-product-image {
  transform-origin: center center;
  transform: scale(1);
  filter: drop-shadow(8px 13px 9px rgba(1,12,19,.26));
  transition: transform .54s cubic-bezier(.17,.8,.23,1), filter .54s ease;
  will-change: transform;
  backface-visibility: hidden;
}
/* Triggers on ANY part of the card, not only the picture.
   Because the IMG is transformed here, earlier wrapper rules cannot cancel it. */
@media (hover: hover) and (pointer: fine) {
  .device-card:hover .device-card-art .device-product-image,
  .device-card:focus-within .device-card-art .device-product-image {
    transform: scale(1.12);
    filter: drop-shadow(14px 20px 13px rgba(1,12,19,.38));
  }
  html[data-theme="light"] .device-card:hover .device-card-art .device-product-image,
  html[data-theme="light"] .device-card:focus-within .device-card-art .device-product-image {
    filter: drop-shadow(13px 20px 12px rgba(32,67,70,.26));
  }
}
@media (prefers-reduced-motion: reduce) {
  .device-card .device-card-art .device-product-image {
    transition: none !important;
  }
  .device-card:hover .device-card-art .device-product-image,
  .device-card:focus-within .device-card-art .device-product-image {
    transform: scale(1);
  }
}

/* File transfers workspace actions */
.file-pane-tools,.file-item-actions{display:flex;align-items:center;gap:9px}.file-item-actions{justify-content:flex-end}.file-item-actions .text-btn{padding:5px;border-radius:7px}.file-item-actions .text-btn:hover{background:rgba(120,140,180,.15)}

/* R2.7.13 — bilingual file transfers controls */
.file-breadcrumbs{justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 15px;min-height:52px}
.file-breadcrumb-path{display:flex;align-items:center;gap:8px;min-width:0;flex:1;font-size:12px}
.file-breadcrumb-path>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.file-breadcrumb-path .text-btn{display:inline-flex;gap:6px;align-items:center;min-width:0;white-space:nowrap}
.file-create-button{border:1px solid var(--stroke);background:var(--surface,transparent);color:var(--text);border-radius:9px;padding:8px 11px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap;transition:border-color .2s,background .2s}
.file-create-button:hover,.file-create-button:focus-visible{border-color:var(--accent,#639dcc);background:var(--input)}
.file-item-actions{gap:5px}
.file-action{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--muted);cursor:pointer;transition:color .2s,background .2s,border-color .2s}
.file-action:hover,.file-action:focus-visible{color:var(--text);background:var(--input);border-color:var(--stroke)}
.file-action-delete:hover,.file-action-delete:focus-visible{color:#e66767;background:rgba(220,55,60,.1);border-color:rgba(220,55,60,.35)}
.file-table th:nth-child(4){width:86px;text-align:right;padding-right:15px}
.file-actions-heading{font-size:9px}
.tablet-identification{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.tablet-identification strong{font-size:12px;font-weight:650;color:var(--text)}
.tablet-identification span{font-size:10px;opacity:.75}
.folder-dialog .dialog-body{padding-top:22px}
.folder-field-label{display:block;font-size:12px;font-weight:700;margin-bottom:10px}
.folder-input-shell{display:flex;align-items:center;gap:11px;background:var(--input);border:1px solid var(--stroke);border-radius:10px;padding:0 14px;transition:border-color .2s}
.folder-input-shell:focus-within{border-color:var(--accent,#639dcc)}
.folder-input-shell>svg{flex:none;color:var(--muted)}
.folder-input-shell input{font:inherit;font-size:15px;min-width:0;width:100%;padding:13px 0;border:0;outline:0;color:var(--text);background:transparent}
.folder-input-shell input[aria-invalid="true"]{color:#ef7777}
.folder-input-help{display:block;margin-top:10px;color:var(--muted);line-height:1.5}
.folder-name-error{font-size:12px;color:#e96b6b;margin-top:9px}
.folder-delete-warning{display:flex;align-items:flex-start;gap:13px;line-height:1.55}
.folder-delete-warning>svg{flex:none;color:#e66767}
.file-confirm-delete{background:#b7353d;color:#fff;border:1px solid #b7353d;display:inline-flex;align-items:center;gap:8px}
.file-confirm-delete:hover{background:#94282e;border-color:#94282e}
@media(max-width:600px){.file-breadcrumbs{padding:9px 12px}.file-create-button{padding:8px}.file-table th:nth-child(4){width:76px}.file-action{width:30px;height:30px}}


/* R2.7.14: accessible, single-surface folder editor */
.folder-dialog .folder-input-shell{min-height:52px;box-shadow:none!important}
.folder-dialog .folder-input-shell:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-dim)!important}
.folder-dialog .folder-input-shell input,
.folder-dialog .folder-input-shell input:focus,
.folder-dialog .folder-input-shell input:focus-visible{
  display:block;flex:1;width:100%;min-width:0;height:50px;min-height:50px;
  margin:0;padding:0;border:none!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;outline:none!important;
  color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;
  opacity:1;caret-color:var(--accent);font-size:15px;line-height:normal;
}
.folder-dialog .folder-input-shell input::selection{background:var(--accent-dim);color:var(--text)}
.folder-dialog .folder-input-shell input::placeholder{-webkit-text-fill-color:var(--faint);color:var(--faint)}
.folder-name-error[hidden],.tag-input-error[hidden]{display:none!important}

/* Tablet tags: compact chips, searchable tags, responsive drawer editor */
.device-tag-list{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:10px;min-height:0}
.device-tag-list.compact{margin-top:4px;margin-left:50px}
.device-tag{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:10px;line-height:1.3;
  font-weight:600;padding:4px 8px;border:1px solid rgba(91,161,147,.35);
  background:rgba(79,145,133,.12);color:var(--text);border-radius:6px;overflow-wrap:anywhere}
.device-tag svg{flex:none;color:var(--accent)}
.device-card-top .icon-btn:has(svg) {flex:none}
.device-tag-editor{margin:18px 0 4px;padding:16px;border-radius:12px;border:1px solid var(--stroke);
 background:var(--input);scroll-margin-top:14px}
.tag-editor-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-bottom:12px}
.tag-editor-heading h3{font-size:13px;font-weight:700;color:var(--text)}
.tag-editor-heading small,.tag-helper{font-size:11px;color:var(--muted);line-height:1.5}
.device-tag-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.editable-tag{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 6px 5px 10px;
  border:1px solid var(--stroke-strong);border-radius:7px;background:var(--surface);color:var(--text);font-size:12px}
.editable-tag>span{overflow-wrap:anywhere}
.editable-tag>svg{flex:none;color:var(--accent)}
.editable-tag button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;
 color:var(--muted);border-radius:5px;flex:none}
.editable-tag button:hover,.editable-tag button:focus-visible{color:#e96b6b;background:rgba(219,50,63,.13)}
.no-device-tags{font-size:12px;color:var(--muted)}
.device-tag-form{display:flex;gap:8px;align-items:stretch}
.device-tag-form input{flex:1;min-width:0;min-height:42px;background:var(--surface);font-size:13px}
.device-tag-form input:focus{box-shadow:0 0 0 2px var(--accent-dim)}
.device-tag-form .btn{display:inline-flex;gap:6px;align-items:center;flex:none;padding:0 12px;font-size:12px}
.tag-helper{display:block;margin-top:9px}
.tag-input-error{margin-top:7px;color:#e96b6b;font-size:12px}
#device-tag-filter{max-width:155px}
@media(max-width:760px){#device-tag-filter{max-width:none;flex:1}.device-tag-list.compact{margin-left:0}}
@media(max-width:440px){.device-tag-form{flex-wrap:wrap}.device-tag-form input{flex-basis:100%}.device-tag-form .btn{width:100%;justify-content:center;padding:11px}.tag-editor-heading{align-items:flex-start}}

/* R2.7.15: dedicated, immediately editable tag manager */
.tag-manage-dialog .device-tag-editor { margin: 0; padding: 4px 0 0; border: 0; background: transparent; }
.tag-manage-dialog .device-tag-form { margin-top: 16px; }
.tag-manage-dialog #device-tag-input { min-width: 0; flex: 1; }
.tag-manage-dialog .device-tag-chips { margin-top: 14px; }


/* R2.7.16: compact device tags + a dedicated, single-purpose tag editor. */
.detail-tags-strip{border-bottom:1px solid var(--stroke);padding:14px 0 15px;margin-top:0}
.detail-tags-intro{display:flex;align-items:center;justify-content:space-between;gap:10px}
.detail-tags-intro>span{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.detail-tags-intro>span svg{color:var(--accent)}
.detail-tags-manage{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:4px 9px;border:1px solid var(--stroke-strong);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px;font-weight:600;transition:background .16s,border-color .16s}
.detail-tags-manage:hover,.detail-tags-manage:focus-visible{background:var(--surface-hover);border-color:var(--accent);outline:none}
.detail-tags-manage svg{color:var(--accent)}
.detail-tags-preview{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:25px;margin-top:9px}
.detail-tag{display:inline-block;max-width:100%;overflow-wrap:anywhere;border-radius:7px;background:var(--accent-dim);color:var(--text);font-size:11px;font-weight:600;padding:5px 9px}
.detail-tags-empty{font-size:12px;color:var(--faint)}
.tag-manage-dialog{width:min(480px,calc(100vw - 28px))}
.tag-manage-dialog .dialog-head{padding:23px 25px 19px}
.tag-manage-dialog .dialog-body{padding:26px 25px 24px}
.tag-manage-dialog .dialog-footer{padding:15px 25px}
.tag-manager-compose>label{display:block;color:var(--text);font-size:12px;font-weight:700;margin-bottom:10px}
.tag-manager-entry{display:flex;align-items:stretch;gap:9px}
.tag-manager-entry-icon{display:flex;align-items:center;justify-content:center;color:var(--accent);width:46px;flex:none;border:1px solid var(--stroke-strong);background:var(--input);border-radius:9px}
.tag-manager-entry input{flex:1;min-width:0;width:100%;min-height:46px;font-size:13px;background:var(--input);box-shadow:none}
.tag-manager-entry input:focus{box-shadow:0 0 0 2px var(--accent-dim)}
.tag-manager-entry .btn{min-height:46px;flex:none;gap:6px;padding:0 13px;font-size:12px}
.tag-manager-entry .btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.tag-manager-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--stroke);padding-top:23px;margin:24px 0 13px}
.tag-manager-list-heading h3{font-size:12px;font-weight:700}
.tag-manager-list-heading>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.tag-manage-dialog .device-tag-chips{display:flex;gap:8px;margin:0;min-height:48px}
.tag-manage-dialog .editable-tag{border-radius:9px;gap:9px;padding:5px 5px 5px 11px;background:var(--input);font-size:12px}
.tag-manage-dialog .editable-tag button{border-left:1px solid var(--stroke);border-radius:0 6px 6px 0;width:27px;height:26px}
.tag-manager-empty{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:10px 0}
.tag-manager-empty svg{color:var(--faint)}
.tag-manager-note{display:flex;gap:7px;align-items:flex-start;margin-top:20px;font-size:11px;line-height:1.5;color:var(--muted)}
.tag-manager-note svg{flex:none;margin-top:1px}
@media(max-width:500px){.tag-manager-entry{flex-wrap:wrap}.tag-manager-entry-icon{display:none}.tag-manager-entry input{flex-basis:100%}.tag-manager-entry .btn{width:100%;justify-content:center}}


/* R2.7.17: uniform fleet cards with a single-line, condensed tag summary.
   No tag row is reserved for untagged tablets, and the footer stays aligned. */
.device-card { display: flex; flex-direction: column; min-width: 0; }
.device-card > .device-card-art { flex-shrink: 0; }
.device-card-content { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.device-card-meta { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; min-width: 0; min-height: 24px; }
.device-card-meta > code { flex: none; white-space: nowrap; color: var(--faint); font-size: 10px; }
.device-card-tags { margin-left: auto; display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; max-width: 62%; overflow: hidden; white-space: nowrap; }
.device-card-tag { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(91,161,147,.35); background: rgba(79,145,133,.12); color: var(--text); font-size: 10px; font-weight: 600; line-height: 1.3; }
.device-card-tag svg { flex: none; color: var(--accent); }
.device-card-tag > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-card-tag-more { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 25px; padding: 4px 5px; border-radius: 6px; color: var(--muted); background: var(--input); font-size: 10px; font-weight: 700; line-height: 1.3; }
.device-card-bottom { margin-top: auto; }
/* Consistent gap above the footer even in the narrowest card. */
.device-card-meta { margin-bottom: 14px; }
@media (max-width: 900px) { .device-card-tags { max-width: 55%; } }
@media (max-width: 440px) { .device-card-meta { gap: 5px; } .device-card-tags { max-width: 53%; } }

/* On compact screens, show a readable tag count instead of a cut-off tag. */
.device-card-tags-count { display: none; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid rgba(91,161,147,.35); border-radius: 6px; color: var(--text); background: rgba(79,145,133,.12); font-size: 10px; font-weight: 650; white-space: nowrap; }
.device-card-tags-count svg { color: var(--accent); }
@media (max-width: 900px) {
  .device-card-tags .device-card-tag, .device-card-tags .device-card-tag-more { display: none; }
  .device-card-tags .device-card-tags-count { display: inline-flex; }
  .device-card-tags { max-width: none; }
}

/* R2.7.18 — On-demand tag list, floating above the cards without changing layout. */
button.device-card-tag,button.device-card-tag-more,button.device-card-tags-count{
  font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease;
}
button.device-card-tag:hover,button.device-card-tag-more:hover,button.device-card-tags-count:hover,
button.device-card-tag[aria-expanded="true"],button.device-card-tag-more[aria-expanded="true"],button.device-card-tags-count[aria-expanded="true"]{
  border-color:var(--accent);background:var(--accent-dim);color:var(--text);
}
button.device-card-tag:focus-visible,button.device-card-tag-more:focus-visible,button.device-card-tags-count:focus-visible{
  outline:2px solid var(--accent);outline-offset:2px;
}
.device-tags-popover{
  position:fixed;z-index:1200;width:min(304px,calc(100vw - 24px));max-height:min(400px,calc(100dvh - 24px));
  overflow:auto;border:1px solid var(--stroke-strong);border-radius:13px;background:var(--surface);
  box-shadow:0 15px 45px rgba(17,35,38,.20),0 2px 10px rgba(17,35,38,.06);
  color:var(--text);animation:device-tags-pop .13s ease-out both;
}
@keyframes device-tags-pop{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.device-tags-popover-head{padding:14px 15px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;border-bottom:1px solid var(--stroke)}
.device-tags-popover-head>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.device-tags-popover-head strong{font-size:13px;font-weight:700;line-height:1.4}
.device-tags-popover-head span{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.device-tags-popover-head span svg{color:var(--accent)}
.device-tags-popover-close{border:0;background:transparent;color:var(--muted);cursor:pointer;border-radius:7px;width:28px;height:28px;display:grid;place-items:center;flex:none}
.device-tags-popover-close:hover{background:var(--input);color:var(--text)}
.device-tags-popover-list{display:flex;flex-wrap:wrap;align-content:start;gap:7px;padding:14px 15px 16px}
.device-tags-popover-chip{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid var(--stroke-strong);border-radius:7px;background:var(--input);color:var(--text);font-size:11px;font-weight:600;line-height:1.3;text-align:left;overflow-wrap:anywhere;max-width:100%;cursor:pointer;transition:background .16s,border-color .16s}
.device-tags-popover-chip svg{flex:none;color:var(--accent)}
.device-tags-popover-chip:hover,.device-tags-popover-chip:focus-visible{border-color:var(--accent);background:var(--accent-dim);outline:none}
.device-tags-popover-footer{border-top:1px solid var(--stroke);padding:11px 15px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.device-tags-popover-footer>span{font-size:10px;color:var(--muted);line-height:1.4;max-width:150px}
.device-tags-popover-footer>button{display:inline-flex;align-items:center;gap:4px;padding:5px 0;border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.device-tags-popover-footer>button:hover{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.device-tags-popover{animation:none}}

/* STX R2.7.20 / ADB COMMAND CENTER */
.adb-page-head .adb-head-accent { color:var(--accent); }
.adb-page-head .adb-caret { display:inline-block; animation:adb-cursor 1.15s step-end infinite; }
@keyframes adb-cursor { 50% {opacity:0} }
.adb-statusline { display:flex; align-items:center; gap:14px; min-height:84px; margin:0 0 20px; padding:17px 22px; border:1px solid var(--stroke-strong); border-radius:18px; background:linear-gradient(120deg,var(--surface),var(--surface-raised)); box-shadow:0 10px 42px rgba(0,0,0,.045); }
.adb-bridge-mark {display:grid;place-items:center; flex:0 0 44px;height:44px;border-radius:13px;background:var(--accent-dim);color:var(--accent);border:1px solid var(--stroke)}
.adb-statusline>div:nth-child(2) {display:flex;flex-direction:column;gap:3px;min-width:0}
.adb-statusline>div:nth-child(2)>strong {font-size:11px;letter-spacing:.14em;font-weight:750}
.adb-statusline>div:nth-child(2)>small {font-size:12px;color:var(--muted);line-height:1.3}
.adb-status-badge {margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:50px;background:var(--surface-hover);color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.06em}
.adb-status-badge:before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.adb-status-badge.ready {background:var(--success-bg);color:var(--success)}
.adb-statusline-divider {width:1px;height:33px;background:var(--stroke-strong);margin:0 8px}
.adb-connected-count {display:flex;gap:8px;align-items:center;white-space:nowrap}
.adb-connected-count strong {font-size:26px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.06em}
.adb-connected-count span {font-size:11px;color:var(--muted);max-width:70px;line-height:1.35}
.adb-statusline-mode {padding:6px 9px;border:1px solid var(--stroke);border-radius:7px;color:var(--muted);font-size:11px;white-space:nowrap}
.adb-workspace {display:grid;grid-template-columns:minmax(250px,285px) minmax(0,1fr);align-items:start;gap:20px;}
.adb-aside,.adb-main {display:grid;gap:20px;min-width:0}
.adb-panel {background:var(--surface);border:1px solid var(--stroke-strong);border-radius:17px;min-width:0;overflow:hidden}
.adb-panel-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 20px 15px}
.adb-section-number {font-size:10px;letter-spacing:.135em;font-weight:750;color:var(--accent)}
.adb-panel-heading h2,.adb-history-panel h2 {font-size:18px;font-weight:620;letter-spacing:-.035em;margin:7px 0 0}
.adb-panel-heading p {font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}
.adb-mini-count {display:grid;place-items:center;border:1px solid var(--stroke);border-radius:7px;min-width:30px;height:30px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.adb-targets {padding-bottom:0}
.adb-search-shell {height:39px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--stroke-strong);background:var(--input);border-radius:9px;margin:0 15px 13px;color:var(--muted)}
.adb-search-shell:focus-within {border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-dim)}
.adb-search-shell input {min-width:0;width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--text);font-size:12px;padding:0;height:100%}
.adb-search-shell input::placeholder {color:var(--faint)}
.adb-device-list {max-height:490px;overflow-y:auto;padding:0 9px 8px;scrollbar-width:thin}
.adb-target-row {width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:10px;padding:10px 9px;text-align:left;cursor:pointer;min-width:0;margin-bottom:3px}
.adb-target-row:hover {background:var(--surface-hover)}
.adb-target-row.is-active {background:var(--accent-dim);border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
.adb-target-avatar {flex:0 0 34px;height:34px;display:grid;place-items:center;background:var(--surface-raised);border-radius:9px;color:var(--muted)}
.adb-target-row.is-active .adb-target-avatar {background:var(--surface);color:var(--accent)}
.adb-target-label {display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.adb-target-label strong {font-size:12px;letter-spacing:.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:670}
.adb-target-label small {font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adb-target-led {height:7px;width:7px;border-radius:50%;border:1px solid var(--faint);opacity:.65;flex-shrink:0}
.adb-target-led.is-connected {border:0;background:#55ba8e;box-shadow:0 0 0 3px rgba(85,186,142,.13);opacity:1}
.adb-target-led.is-pending {border:0;background:#d49a48;box-shadow:0 0 0 3px rgba(212,154,72,.12);opacity:1}
.adb-target-footnote {display:flex;align-items:flex-start;gap:9px;padding:13px 17px 15px;border-top:1px solid var(--stroke);font-size:10.5px;color:var(--muted);line-height:1.5}
.adb-target-footnote svg {flex:0 0 auto;margin-top:2px}
.adb-no-targets {padding:24px 12px;font-size:12px;text-align:center;color:var(--muted)}
.adb-guide {padding:20px;background:radial-gradient(circle at 100% 0%,var(--accent-dim),transparent 63%),var(--surface)}
.adb-guide h3 {font-size:15px;font-weight:640;margin:14px 0 7px}
.adb-guide p {font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 16px}
.adb-guide-link {border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:680;padding:0;display:flex;align-items:center;gap:8px;cursor:pointer;text-align:left}
.adb-guide-link svg:last-child {margin-left:auto}
.adb-console {background:#0e161b;border-color:rgba(143,176,180,.24);box-shadow:0 18px 46px rgba(0,0,0,.09);color:#d3e7df}
.adb-console-top {height:57px;border-bottom:1px solid rgba(169,216,205,.13);padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:rgba(239,255,245,.022)}
.adb-console-title,.adb-console-tools {display:flex;align-items:center;gap:13px;min-width:0}
.adb-console-title>span {font-size:10px;font-weight:740;color:#a5bdb6;letter-spacing:.14em;white-space:nowrap}
.adb-terminal-lights {display:flex;gap:6px}
.adb-terminal-lights i {width:8px;height:8px;border-radius:50%;background:#dd746a;opacity:.85}
.adb-terminal-lights i:nth-child(2) {background:#e4b269}
.adb-terminal-lights i:nth-child(3) {background:#65ad94}
.adb-console-tools {gap:7px}
.adb-session-tag {font:11px ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid rgba(143,176,180,.17);padding:6px 9px;border-radius:6px;color:#a8c7be;white-space:nowrap}
.adb-tool-btn {width:29px;height:29px;border:1px solid transparent;border-radius:7px;display:grid;place-items:center;background:transparent;color:#a3b9b5;cursor:pointer}
.adb-tool-btn:hover:not(:disabled){background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.08);color:#fff}
.adb-tool-btn:disabled {opacity:.32;cursor:not-allowed}
.adb-terminal-body {height:350px;overflow-y:auto;overscroll-behavior:contain;padding:22px 25px 26px;background:linear-gradient(180deg,rgba(21,37,43,.5),transparent 140px);scrollbar-color:#35514f transparent;scrollbar-width:thin}
.adb-terminal-welcome {margin-bottom:20px}
.adb-ascii {font:700 clamp(25px,4vw,36px)/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.055em;color:#c7e9dc}
.adb-ascii span {color:#64c69d}
.adb-terminal-welcome>p {font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#88a69f;margin:10px 0 14px}
.adb-terminal-tip {display:flex;align-items:flex-start;gap:8px;border-left:2px solid rgba(101,198,157,.65);padding:6px 12px;max-width:540px;color:#88a69f;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}
.adb-terminal-tip svg {flex:0 0 auto;margin-top:1px}
.adb-transcript-item {border-top:1px solid rgba(158,202,187,.12);padding:17px 0 15px}
.adb-transcript-meta {display:flex;gap:14px;flex-wrap:wrap;align-items:center;color:#8aaca3;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.adb-transcript-meta span {display:inline-flex;gap:5px;align-items:center}
.adb-transcript-meta code {color:#e7b18f;font-size:10px}
.adb-transcript-item.is-error .adb-transcript-meta {color:#efab98}
.adb-transcript-command {display:flex;gap:10px;margin:10px 0;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#d5ece3;overflow-wrap:anywhere}
.adb-transcript-command>span {color:#79d4aa}
.adb-transcript-command code {white-space:pre-wrap;overflow-wrap:anywhere}
.adb-transcript-item pre {margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#acbfb7;font:11.5px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}
.adb-output-warning {font-size:11px;color:#f6b18b;margin-top:8px}
.adb-command-area {border-top:1px solid rgba(166,203,187,.15);padding:18px 22px 21px;background:rgba(255,255,255,.027)}
.adb-command-caption {display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px;color:#8fa9a2;font-size:10px;letter-spacing:.08em}
.adb-command-caption>span:first-child {display:flex;align-items:center;gap:8px;font-weight:740}
.adb-command-caption>span:last-child {letter-spacing:0;font-size:10px}
.adb-command-line {display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid rgba(165,213,195,.25);background:#101d21;border-radius:10px;min-height:51px;transition:border-color .15s}
.adb-command-line:focus-within {border-color:#80bc9b;box-shadow:0 0 0 3px rgba(114,195,156,.12)}
.adb-prompt {display:flex;align-items:center;gap:6px;white-space:nowrap;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;color:#738c84}
.adb-prompt strong {font-weight:550;color:#c5dacf}
.adb-prompt .adb-dollar {font-size:17px;color:#73cc9f;margin:0 3px}
.adb-command-line input {width:100%;min-width:0;height:50px;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:#e0f1e7;font:12px ui-monospace,SFMono-Regular,Consolas,monospace;padding:0;caret-color:#82d8af}
.adb-command-line input::placeholder {color:#66877a}
.adb-command-actions {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:13px}
.adb-command-advisory {display:flex;align-items:flex-start;gap:7px;color:#7fa097;font-size:10.5px;line-height:1.5;min-width:0}
.adb-command-advisory svg {flex:0 0 auto;margin-top:1px}
.adb-run-btn {flex:0 0 auto}
.adb-run-btn kbd {font-family:inherit;font-size:11px;padding:3px 5px;border:1px solid currentColor;border-radius:3px;opacity:.55;margin-left:2px}
.adb-recipe-icon {display:grid;place-items:center;width:35px;height:35px;color:var(--accent);background:var(--accent-dim);border-radius:9px;flex:0 0 auto}
.adb-recipe-groups {display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 17px}
.adb-recipe-tab {border:1px solid var(--stroke-strong);background:var(--surface);padding:7px 11px;font-size:11px;color:var(--muted);border-radius:20px;cursor:pointer}
.adb-recipe-tab:hover {background:var(--surface-hover)}
.adb-recipe-tab.active {background:var(--accent-dim);border-color:var(--accent);color:var(--text);font-weight:650}
.adb-recipe-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 21px}
.adb-recipe-card {display:flex;align-items:flex-start;gap:11px;min-width:0;border:1px solid var(--stroke-strong);border-radius:11px;padding:15px 13px;color:var(--text);background:var(--surface);text-align:left;cursor:pointer;transition:border-color .17s,background .17s,transform .17s}
.adb-recipe-card:hover {transform:translateY(-2px);border-color:var(--accent);background:var(--surface-hover)}
.adb-recipe-card.is-chosen {border-color:var(--accent);background:var(--accent-dim)}
.adb-recipe-decoration {flex:0 0 33px;height:33px;border-radius:9px;display:grid;place-items:center;background:var(--surface-raised);color:var(--accent)}
.adb-recipe-card>span:nth-child(2) {display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.adb-recipe-card strong {font-size:12px;font-weight:670;line-height:1.25}
.adb-recipe-card small {font-size:10.5px;color:var(--muted);line-height:1.5}
.adb-recipe-card code {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--faint);margin-top:3px}
.adb-recipe-arrow {color:var(--faint);align-self:center}
.adb-history-panel {display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;padding:18px 20px;background:var(--surface);border:1px solid var(--stroke-strong);border-radius:16px;align-items:start}
.adb-history {display:flex;flex-direction:column;gap:5px;min-width:0}
.adb-history-row {width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:9px 11px;border:1px solid var(--stroke);background:var(--input);color:var(--text);border-radius:8px;cursor:pointer;min-width:0}
.adb-history-row:hover {background:var(--surface-hover);border-color:var(--stroke-strong)}
.adb-history-state {color:var(--success)}
.adb-history-state.failed {color:var(--danger)}
.adb-history-row code {font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0}
.adb-history-time {font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.adb-history-row>svg {color:var(--faint)}
.adb-history-empty {font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0}
.adb-setup-dialog {max-width:620px}
.adb-setup-steps {display:grid;gap:17px}
.adb-setup-steps>div {display:flex;align-items:flex-start;gap:14px}
.adb-setup-steps>div>b {background:var(--accent-dim);border:1px solid var(--stroke);color:var(--accent);padding:9px;border-radius:8px;font-size:11px}
.adb-setup-steps strong {font-size:14px}
.adb-setup-steps p {font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0}
.adb-setup-steps pre {background:var(--input);padding:13px;border-radius:9px;color:var(--text);overflow-x:auto;font-size:12px}
.adb-setup-dialog .notice {margin-top:18px}
.adb-confirm-device {display:flex;align-items:center;gap:14px;padding:17px;border:1px solid var(--stroke);border-radius:11px;background:var(--input)}
.adb-confirm-device>svg {color:var(--accent)}
.adb-confirm-device>div {display:flex;flex-direction:column;gap:5px;min-width:0}
.adb-confirm-device small,.adb-confirm-command small {font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:750}
.adb-confirm-device strong {font-size:15px;overflow-wrap:anywhere}
.adb-confirm-real {display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--success);font-size:11px;white-space:nowrap}
.adb-confirm-command {background:#101d21;color:#d5e7dd;padding:17px;border-radius:11px;margin:13px 0 15px;display:grid;gap:9px}
.adb-confirm-command small {color:#819d93}
.adb-confirm-command code {font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.adb-execute-dialog .notice {margin:0}
.adb-page-head .btn.is-loading svg {animation:adb-spin .8s linear infinite}
@keyframes adb-spin {to {transform:rotate(360deg)}}
@media(max-width:1250px) { .adb-workspace {grid-template-columns:245px minmax(0,1fr)} .adb-console-title>span {font-size:9px} .adb-recipe-list {grid-template-columns:1fr} .adb-session-tag {display:none} }
@media(max-width:900px) { .adb-workspace {grid-template-columns:minmax(0,1fr)} .adb-aside {grid-template-columns:minmax(0,1fr)} .adb-device-list {max-height:195px} .adb-targets .adb-device-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px} .adb-guide {display:none} .adb-recipe-list {grid-template-columns:repeat(2,minmax(0,1fr))} .adb-statusline-mode {display:none} }
@media(max-width:640px) { .adb-statusline {padding:13px;gap:9px;min-height:70px} .adb-bridge-mark {flex-basis:36px;height:36px} .adb-statusline-divider {display:none} .adb-statusline>div:nth-child(2)>strong {font-size:9px} .adb-statusline>div:nth-child(2)>small {font-size:10px} .adb-status-badge {font-size:9px;padding:6px} .adb-connected-count {display:none} .adb-targets .adb-device-list {grid-template-columns:1fr;max-height:170px} .adb-recipe-list {grid-template-columns:1fr} .adb-terminal-body {height:290px;padding:18px 14px} .adb-console-top {padding:0 11px} .adb-console-title>span {display:none} .adb-command-area {padding:16px 12px} .adb-prompt {font-size:9px;gap:4px} .adb-command-line {gap:6px;padding:0 8px} .adb-prompt span:first-child {display:none} .adb-command-actions {align-items:stretch;flex-direction:column} .adb-run-btn {align-self:stretch;justify-content:center} .adb-history-panel {grid-template-columns:1fr;gap:8px} .adb-confirm-real {display:none} }
/* Three quick actions fit inside the device detail drawer on small screens. */
.device-drawer .dialog-footer {flex-wrap:wrap;gap:8px}
.device-drawer .dialog-footer .btn {padding-left:12px;padding-right:12px}
@media(max-width:480px) { .device-drawer .dialog-footer {padding:13px} .device-drawer .dialog-footer .btn {flex:1 1 auto} }

/* R2.7.22 — Apollo / Generic (internal class value remains standard). Category labels never expand fleet cards. */
.apollo-tier { display:inline-flex; align-items:center; justify-content:center; gap:4px; width:max-content; max-width:100%; white-space:nowrap; border:1px solid var(--border, rgba(140,160,158,.23)); border-radius:7px; padding:3px 7px; font-size:10px; font-weight:750; line-height:1.25; letter-spacing:.015em; vertical-align:middle; }
.apollo-tier.apollo { color:#178a79; background:rgba(28,155,128,.09); border-color:rgba(28,155,128,.24); }
.apollo-tier.standard { color:var(--muted, #829397); background:rgba(133,151,154,.065); }
.device-model-tier { display:flex; align-items:center; gap:8px; min-width:0; }
.device-model-tier > span:first-child { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-width:0; }
.device-model-tier .apollo-tier { flex:none; margin-left:auto; }
.detail-status .apollo-tier { margin-right:auto; }
.apollo-filter-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; margin:0 0 12px; background:var(--surface-2, rgba(120,140,135,.055)); border:1px solid var(--border, rgba(120,140,135,.18)); border-radius:11px; }
.apollo-filter-tabs button { min-width:0; padding:9px 4px; border:0; border-radius:8px; background:transparent; color:var(--muted, #819495); cursor:pointer; font:inherit; font-size:12px; font-weight:650; }
.apollo-filter-tabs button.active { color:var(--text, #253f41); background:var(--surface, #fff); box-shadow:0 1px 6px rgba(0,0,0,.07); }
.apollo-filter-tabs button:focus-visible { outline:2px solid #268474; outline-offset:-2px; }
.adb-target-row .apollo-tier { margin-top:4px; font-size:9px; padding:2px 6px; }
.adb-target-row.is-generic .adb-target-avatar { opacity:.56; }
.adb-target-led.is-denied { border:0; background:#db5862; box-shadow:0 0 0 3px rgba(219,88,98,.15); opacity:1; }
.adb-target-row.is-generic .adb-target-led.is-denied { opacity:1; }
.adb-target-row.is-apollo.is-active { border-color:rgba(29,153,132,.5); }
@media (max-width: 640px) { .device-model-tier { gap:5px; } .device-model-tier .apollo-tier { padding:2px 4px; font-size:9px; } }


/* R2.7.25 - Guaranteed Command Shell intro. The attribute is set BEFORE
   route HTML insertion so native CSS keyframes always start at first paint.
   Explicit selector specificity + important duration protect this requested
   animation against global OS-level reduction of animation times. */
@keyframes stx-shell-enter {
  0% { opacity: 0; transform: translate3d(0, 38px, 0) scale(.99); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.page-content[data-stx-shell-intro="play"] :is(
  .adb-page-head, .adb-statusline, .adb-targets, .adb-guide,
  .adb-console, .adb-recipes, .adb-history-panel
) {
  animation-name: stx-shell-enter !important;
  animation-duration: 720ms !important;
  animation-delay: var(--stx-shell-step, 0ms) !important;
  animation-timing-function: cubic-bezier(.18, .82, .22, 1) !important;
  animation-fill-mode: both !important;
  animation-iteration-count: 1 !important;
  animation-play-state: running !important;
  backface-visibility: hidden;
}
.page-content[data-stx-shell-intro="play"] .adb-page-head { --stx-shell-step: 0ms; }
.page-content[data-stx-shell-intro="play"] .adb-statusline { --stx-shell-step: 150ms; }
.page-content[data-stx-shell-intro="play"] .adb-targets { --stx-shell-step: 300ms; }
.page-content[data-stx-shell-intro="play"] .adb-console { --stx-shell-step: 450ms; }
.page-content[data-stx-shell-intro="play"] .adb-guide { --stx-shell-step: 600ms; }
.page-content[data-stx-shell-intro="play"] .adb-recipes { --stx-shell-step: 750ms; }
.page-content[data-stx-shell-intro="play"] .adb-history-panel { --stx-shell-step: 900ms; }
.adb-page-head .page-head-actions { flex-wrap: wrap; }

/* R2.7.26 — Apollo model collection (owner-supplied front / back product photos).
   This is visual documentation only: fleet identity and shell permissions come from the server. */
.apollo-collection { margin: 18px 0 24px; padding: 22px; border: 1px solid var(--stroke); border-radius: 17px; background: var(--surface); min-width: 0; }
.apollo-collection-heading { display: flex; gap: 18px; justify-content: space-between; align-items: flex-end; margin-bottom: 19px; }
.apollo-collection-kicker { display: inline-flex; gap: 7px; align-items: center; font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--accent); }
.apollo-collection-heading h2 { margin: 7px 0 5px; font-size: clamp(19px, 2vw, 25px); letter-spacing: -.045em; }
.apollo-collection-heading p { margin: 0; color: var(--muted); font-size: 12px; max-width: 620px; line-height: 1.55; }
.apollo-collection-count { display: flex; flex-direction: column; align-items: flex-end; flex: none; gap: 2px; color: var(--text); font: 600 31px/1 ui-monospace,monospace; }
.apollo-collection-count small { font-weight: 500; font-size: 10px; line-height: 1.3; font-family: inherit; color: var(--muted); }
.apollo-model-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.apollo-model-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; text-align: left; cursor: pointer; border: 1px solid rgba(115,153,157,.23); border-radius: 13px; padding: 11px 10px 13px; background: linear-gradient(145deg,rgba(19,36,42,.98),rgba(5,13,19,.99)); color: #edf4f4; box-shadow: 0 6px 16px rgba(0,0,0,.10); transition: transform .27s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.apollo-model-tile:hover { transform: translateY(-4px); border-color: #55a796; box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.apollo-model-tile:focus-visible { outline: 2px solid #63bba6; outline-offset: 3px; }
.apollo-model-tile-top { display: flex; align-items: center; justify-content: space-between; opacity: .65; letter-spacing: .13em; font: 650 9px/1.4 ui-monospace,monospace; }
.apollo-model-tile-footer { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; min-width: 0; }
.apollo-model-tile-footer strong { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apollo-model-tile-footer>span { font-size: 10px; color: #9db9bb; }
.apollo-dual-art { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.apollo-dual-art .apollo-photo { min-width: 0; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.apollo-dual-art .apollo-photo img { object-fit: contain; width: 100%; height: 100%; min-width: 0; filter: drop-shadow(0 6px 6px rgba(0,0,0,.28)); }
.apollo-dual-art .apollo-photo small { font: 600 8px/1.2 ui-monospace,monospace; letter-spacing: .08em; color: #b3ced0; text-transform: uppercase; }
.apollo-dual-art--catalog { height: 116px; padding: 6px 2px 4px; }
.apollo-dual-art--catalog .apollo-photo { height: 100%; }
.apollo-dual-art--catalog .apollo-photo img { height: 85px; }
.device-card-art .apollo-dual-art--card { width: min(92%,290px); height: 150px; margin: 0 auto; gap: 8px; }
.device-card-art .apollo-dual-art--card .apollo-photo { height: 130px; }
.device-card-art .apollo-dual-art--card img { height: 110px; transition: transform .38s ease; }
.device-card-art:hover .apollo-dual-art--card .apollo-photo--front img { transform: translateY(-4px) scale(1.025); }
.device-card-art:hover .apollo-dual-art--card .apollo-photo--back img { transform: translateY(-2px) scale(1.025); }
.device-drawer-art:has(.apollo-dual-art) { background: #071015; }
.device-drawer-art .apollo-dual-art--detail { width: min(92%,430px); height: 165px; }
.device-drawer-art .apollo-dual-art--detail .apollo-photo { height: 140px; }
.device-drawer-art .apollo-dual-art--detail img { height: 132px; }
.device-drawer-art .apollo-photo small { color: #b6cacc; }
.device-drawer-art:has(.apollo-dual-art) .device-art-caption { bottom: 6px; color: #afc6c7; }
.apollo-dual-art--thumb { width: 62px; height: 38px; flex: none; gap: 2px; }
.apollo-dual-art--thumb .apollo-photo { height: 35px; }
.apollo-dual-art--thumb img { max-height: 34px; }
.apollo-dual-art--thumb small { display: none; }
.apollo-device-pending { display: grid; place-items: center; width: 100%; height: 85%; font: 600 11px ui-monospace,monospace; color: var(--muted); letter-spacing: .11em; }
.dialog.apollo-gallery-dialog { width: min(940px,calc(100vw - 28px)); max-width: 940px; }
.apollo-gallery { min-width: 0; }
.apollo-gallery-toolbar { display: flex; gap: 5px; padding: 4px; border-radius: 10px; border: 1px solid var(--stroke); background: var(--input); margin-bottom: 15px; flex-wrap: wrap; }
.apollo-gallery-toolbar button { flex: 1 1 95px; cursor: pointer; border: 0; border-radius: 7px; padding: 10px 6px; font-weight: 650; font-size: 12px; line-height: 1.3; font-family: inherit; color: var(--muted); background: transparent; }
.apollo-gallery-toolbar button.active { color: var(--text); background: var(--surface); box-shadow: 0 3px 10px rgba(0,0,0,.11); }
.apollo-gallery-toolbar button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.apollo-gallery-stage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.apollo-gallery-stage--front,.apollo-gallery-stage--back,.apollo-gallery-stage--specs { grid-template-columns: minmax(0,1fr); }
.apollo-gallery-image { min-width: 0; margin: 0; padding: 15px 12px 11px; border-radius: 13px; border: 1px solid #233339; background: #050a0d; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.apollo-gallery-image img { display: block; max-width: 100%; width: 100%; height: 245px; object-fit: contain; }
.apollo-gallery-image figcaption { font: 700 10px/1.5 ui-monospace,monospace; color: #abc4c6; letter-spacing: .16em; }
.apollo-gallery-stage--front .apollo-gallery-image img,.apollo-gallery-stage--back .apollo-gallery-image img { height: min(48vh,380px); }
.apollo-specs { min-width: 0; padding: 13px; border: 1px solid var(--stroke); border-radius: 12px; background: #fff; text-align: center; }
.apollo-specs img { display: block; width: auto; max-width: 100%; height: auto; max-height: 55vh; margin: 0 auto; object-fit: contain; }
.apollo-gallery-footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.apollo-gallery-footer span:first-child { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1350px) { .apollo-model-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 830px) { .apollo-model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .apollo-collection { padding: 14px; } .apollo-collection-heading { align-items: flex-start; } .apollo-collection-heading p { font-size: 11px; } .apollo-collection-count { font-size: 23px; } .apollo-model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; } .apollo-model-tile { padding: 8px; } .apollo-dual-art--catalog { height: 95px; gap: 3px; } .apollo-dual-art--catalog .apollo-photo img { height: 70px; } .apollo-model-tile-footer strong { font-size: 10px; } .apollo-gallery-stage { grid-template-columns: minmax(0,1fr); } .apollo-gallery-image img { height: 180px; } .apollo-gallery-toolbar button { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .apollo-model-tile, .device-card-art .apollo-dual-art--card img { transition: none; } .apollo-model-tile:hover { transform: none; } }

/* R2.7.27 — Apollo photos live inside the same Devices cards as Generic units.
   Each Apollo card shows front first and scroll-snaps to its rear view. */
.apollo-preview-card .device-card-top { min-height: 37px; }
.apollo-preview-marker { display:inline-flex; align-items:center; gap:5px; margin-right:auto; font:700 9px/1.3 ui-monospace,monospace; letter-spacing:.12em; color:var(--muted); }
.apollo-preview-card .device-card-meta code { font-family:ui-monospace,monospace; letter-spacing:.01em; }
.apollo-preview-card .device-card-bottom { gap:8px; }
.apollo-preview-info { display:inline-flex; gap:4px; align-items:center; color:var(--accent); font-size:10px; font-weight:700; white-space:nowrap; padding:0; }
.apollo-preview-info svg { width:12px; height:12px; }
.apollo-preview-info:hover,.apollo-preview-info:focus-visible { text-decoration:underline; }
.apollo-preview-table-note { display:block; margin-top:4px; color:var(--muted); font-size:10px; }
.fleet-preview-count { font-size:10px; color:var(--muted); font-weight:500; }
.apollo-card-carousel { position:relative; display:block; width:100%; min-width:0; height:100%; isolation:isolate; overflow:hidden; }
.apollo-card-track { display:flex; width:100%; height:100%; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain; scrollbar-width:none; -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y; }
.apollo-card-track::-webkit-scrollbar { display:none; }
.apollo-card-track:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.apollo-card-frame { position:relative; display:flex; flex:0 0 100%; width:100%; height:100%; margin:0; padding:7px 35px 24px; flex-direction:column; align-items:center; justify-content:center; gap:0; scroll-snap-align:center; scroll-snap-stop:always; }
.apollo-card-frame img { width:100%; min-width:0; height:126px; object-fit:contain; filter:drop-shadow(0 7px 9px rgba(0,0,0,.22)); }
.apollo-slide-arrow { position:absolute; top:47%; z-index:2; display:grid; place-items:center; width:27px; height:29px; padding:0; transform:translateY(-50%); border:1px solid var(--stroke-strong); border-radius:9px; color:var(--text); background:var(--surface); box-shadow:0 4px 14px rgba(0,0,0,.10); cursor:pointer; transition:background .2s,border-color .2s,opacity .2s; }
.apollo-slide-arrow--prev { left:8px; }
.apollo-slide-arrow--next { right:8px; }
.apollo-slide-arrow:hover:not(:disabled),.apollo-slide-arrow:focus-visible { background:var(--input); border-color:var(--accent); }
.apollo-slide-arrow:disabled { opacity:.24; cursor:default; }
.apollo-slide-indicators { position:absolute; z-index:2; left:50%; bottom:4px; transform:translateX(-50%); display:flex; gap:0; padding:0 3px; border-radius:12px; background:color-mix(in srgb,var(--surface) 80%,transparent); }
.apollo-slide-indicators button { position:relative; display:grid; place-items:center; width:24px; height:24px; padding:0; border:0; border-radius:4px; background:transparent; cursor:pointer; }
.apollo-slide-indicators button::before { content:''; width:6px; height:6px; border-radius:4px; background:var(--stroke-strong); transition:width .22s,background .22s; }
.apollo-slide-indicators button.active { width:34px; }
.apollo-slide-indicators button.active::before { width:16px; background:var(--accent); }
.apollo-card-carousel--detail .apollo-card-frame { padding:9px 40px 28px; }
.apollo-card-carousel--detail .apollo-card-frame img { height:min(27vh,178px); }
.apollo-card-carousel--detail .apollo-slide-arrow { top:50%; }
.apollo-card-carousel--detail .apollo-slide-indicators { bottom:8px; }
.device-drawer-art:has(.apollo-card-carousel) { background:var(--surface); }
.device-drawer-art:has(.apollo-card-carousel) .device-art-caption { display:none; }
@media (max-width:520px) { .apollo-card-frame { padding-left:30px; padding-right:30px; } .apollo-slide-arrow { width:26px; height:28px; } .apollo-preview-info { font-size:9px; } }
@media (prefers-reduced-motion:reduce) { .apollo-card-track { scroll-behavior:auto; } .apollo-slide-indicators button::before,.apollo-slide-arrow { transition:none; } }

/* R2.7.28 — Apollo matches the Generic card/drawer design. The ONLY product
   artwork difference is two genuinely transparent photos in a swipe carousel. */
.apollo-preview-checkbox { flex: 1 1 auto; min-width: 0; }
.apollo-model-status { background: var(--input); border: 1px solid var(--stroke); color: var(--muted); white-space: nowrap; }
.apollo-preview-card .device-card-top { min-height: unset; }
.apollo-preview-card .device-card-meta code { color: var(--faint); }
.apollo-card-carousel { background: transparent; }
.apollo-card-frame { background: transparent; }
.apollo-card-frame img { display: block; background: transparent; transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.device-card-art:hover .apollo-card-frame img,
.device-card:focus-within .device-card-art .apollo-card-frame img { transform: translateY(-3px) scale(1.035); }
.device-drawer-art:has(.apollo-card-carousel) {
  background: radial-gradient(ellipse at 55% 65%,rgba(171,133,92,.13),rgba(100,135,160,.025) 65%);
}
.apollo-model-detail .apollo-model-disclaimer { font-size: 11px; color: var(--muted); }
.apollo-model-detail .device-drawer-art { margin-bottom: 0; }
.apollo-model-tile { background: var(--surface); color: var(--text); border-color: var(--stroke); }
.apollo-model-tile .apollo-card-carousel { height: 165px; }
.apollo-model-tile > button { text-align:left; border:0; padding:3px 0; background:none; color:var(--text); font-size:12px; font-weight:700; font-family:inherit; line-height:1.5; cursor:pointer; }
@media (prefers-reduced-motion:reduce) { .apollo-card-frame img { transition:none; } }

/* R2.7.35 — Four equal fleet filters, with no empty fifth slot. */
@media (min-width: 901px) {
  .device-summary-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 560px) and (max-width: 900px) {
  .device-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* R2.7.30 — Apollo cards open exactly like Generic cards, while arrows/dots
   remain separately clickable and touch swipes still navigate both photos. */
.device-card-art[data-apollo-detail],
.device-card-art[data-apollo-detail] .apollo-card-track,
.device-card-art[data-apollo-detail] .apollo-card-frame,
.device-card-art[data-apollo-detail] .apollo-card-frame img { cursor: pointer; }
.device-card-art[data-apollo-detail]:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }

/* R2.7.34 — Apollo externally powered instead of a simulated battery. */
.power-cell { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; color: var(--muted); }
.power-cell svg { flex: none; color: var(--accent); }
.device-card-bottom .power-cell { font-size: 10px; gap: 4px; }
.compact-table .power-cell { font-size: 10px; }
/* Apollo: same quiet detail row as a Generic battery reading, without a fake meter. */
.detail-power { padding: 0; border: 0; border-radius: 0; background: none; }
.detail-power > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-bottom: 0; font-size: 12px; color: var(--muted); }
.detail-power strong { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 12px; font-weight: 500; text-align: right; }
.detail-power strong svg { flex: none; color: var(--muted); }
/* R2.7.34 — Faster Devices-only stagger. Other pages remain unchanged. */
@keyframes stx-devices-block-appear { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.page-content[data-stx-reveal-profile="devices"] .stx-reveal-fallback { animation: stx-devices-block-appear 390ms cubic-bezier(.2,.82,.25,1) both; }

/* R2.7.36 — shared, persistent target groups in both operation pages. */
.file-target-control { flex: 1 1 460px; min-width: 0; max-width: 630px; }
.apk-target-control { padding: 4px 21px 17px; }
.shared-target-picker { min-width: 0; width: 100%; }
.shared-target-top { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 9px; }
.shared-target-top > label { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.shared-target-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.shared-target-actions .text-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.shared-target-row { display: grid; grid-template-columns: minmax(136px, .88fr) minmax(170px, 1.6fr); gap: 9px; min-width: 0; }
.shared-target-row select, .shared-target-selected { min-width: 0; width: 100%; height: 40px; background: var(--surface); border: 1px solid var(--stroke-strong); border-radius: 7px; color: var(--text); padding: 0 10px; font-size: 12px; }
.shared-target-selected { display: flex; align-items: center; color: var(--muted); }
.shared-target-hint { font-size: 11px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.group-edit-dialog { width: min(590px, calc(100vw - 26px)); max-width: 590px; }
.group-manage-dialog { width: min(550px, calc(100vw - 26px)); }
#target-group-form { display: flex; flex-direction: column; gap: 12px; }
#target-group-name { min-height: 42px; padding: 8px 12px; border: 1px solid var(--stroke-strong); background: var(--surface); border-radius: 8px; color: var(--text); width: 100%; }
.group-member-heading { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-top: 5px; }
.group-member-heading span { color: var(--muted); }
.group-member-list { max-height: min(44vh, 345px); overflow-y: auto; border: 1px solid var(--stroke); border-radius: 9px; }
.group-member { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--stroke); cursor: pointer; font-size: 12px; }
.group-member:last-child { border-bottom: 0; }
.group-member > span { min-width: 0; flex: 1; }
.group-member strong, .group-member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-member small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.group-member .status { font-size: 10px; }
.group-manage-list { display: flex; flex-direction: column; gap: 4px; }
.group-manage-item, .group-manage-item > span, .group-manage-item > div { display: flex; align-items: center; gap: 11px; }
.group-manage-item { justify-content: space-between; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--stroke); }
.group-manage-item > span { min-width: 0; }
.group-manage-item strong, .group-manage-item small { display: block; }
.group-manage-item strong { font-size: 13px; overflow-wrap: anywhere; }
.group-manage-item small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.group-manage-item .text-btn { white-space: nowrap; font-size: 11px; }
.danger-text { color: var(--danger, #c96060); }
@media (max-width: 880px) { .file-target-control { max-width: none; flex-basis: 100%; } .transfer-command-bar { flex-wrap: wrap; } }
@media (max-width: 530px) { .shared-target-row { grid-template-columns: minmax(0, 1fr); } .shared-target-actions { gap: 9px; } .apk-target-control { padding-inline: 14px; } .group-member .status { display: none; } .group-manage-item { flex-wrap: wrap; } }

/* R2.7.37 — Target Studio. A single, visually consistent recipient system
   for Applications and File Transfers, with an editor built for real fleets. */
.transfer-command-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  padding: 22px;
  border-radius: 17px;
  background: var(--surface);
}
.transfer-command-title { width: 100%; }
.transfer-command-title .quick-icon { border-radius: 12px; }
.file-target-control { width: 100%; max-width: none; flex: 1 1 auto; }
.apk-target-control { padding: 3px 19px 19px; }
.target-studio {
  border: 1px solid var(--stroke-strong);
  border-radius: 15px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 2.5%, var(--input)), var(--input) 65%);
  padding: 19px;
  min-width: 0;
  position: relative;
}
.target-studio-head { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px; }
.target-studio-head>div { min-width:0; }
.target-eyebrow { display:block;text-transform:uppercase;letter-spacing:.16em;font-size:9px;font-weight:730;color:var(--accent);margin-bottom:5px; }
.target-studio-head h3 { font-size:17px;line-height:1.22;letter-spacing:-.035em;font-weight:650; }
.target-library-link { display:inline-flex;align-items:center;gap:8px;color:var(--muted);border:1px solid var(--stroke-strong);border-radius:9px;padding:8px 9px 8px 11px;background:var(--surface);font-size:11px;font-weight:660;white-space:nowrap;transition:color .18s,background .18s,border-color .18s; }
.target-library-link:hover { color:var(--text);border-color:color-mix(in srgb,var(--accent) 42%,var(--stroke));background:var(--surface-hover); }
.target-library-link svg { flex-shrink:0; }
.target-library-link svg:first-child { color:var(--accent); }
.target-library-link svg:last-child { opacity:.64; }
.target-library-link b { background:var(--surface-raised);color:var(--text);border-radius:6px;min-width:20px;height:20px;display:grid;place-items:center;font-size:10px;font-variant-numeric:tabular-nums; }
.target-mode-tabs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
.target-mode-tab { min-width:0;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--stroke-strong);background:var(--surface);border-radius:12px;padding:12px;position:relative;overflow:hidden;transition:border-color .2s,background .2s,transform .2s,box-shadow .2s; }
.target-mode-tab::before { content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:transparent;transition:background .18s; }
.target-mode-tab:hover { border-color:color-mix(in srgb,var(--accent) 43%,var(--stroke));background:var(--surface-hover);transform:translateY(-1px); }
.target-mode-tab.is-active { border-color:color-mix(in srgb,var(--accent) 62%,var(--stroke));background:var(--accent-dim);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--accent) 12%,transparent); }
.target-mode-tab.is-active::before { background:var(--accent); }
.target-mode-tab .target-mode-symbol { flex:0 0 34px;height:34px;border:1px solid var(--stroke);border-radius:10px;display:grid;place-items:center;color:var(--muted);background:var(--input); }
.target-mode-tab.is-active .target-mode-symbol { color:var(--accent);border-color:color-mix(in srgb,var(--accent) 24%,transparent);background:color-mix(in srgb,var(--accent) 8%,var(--surface)); }
.target-mode-tab>span:last-child { min-width:0; }
.target-mode-tab strong,.target-mode-tab small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.target-mode-tab strong { font-size:12px;font-weight:680;letter-spacing:-.01em;line-height:1.2; }
.target-mode-tab small { margin-top:5px;color:var(--muted);font-size:10px;line-height:1.3; }
.target-studio-body { margin-top:10px;background:color-mix(in srgb,var(--surface) 84%,var(--input));border:1px solid var(--stroke);border-radius:12px;padding:14px;min-height:94px; }
.target-focus-device,.target-selection-focus { display:flex;align-items:center;gap:14px;min-height:65px; }
.target-focus-icon { flex:0 0 48px;width:48px;height:48px;border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,var(--surface-raised));border:1px solid color-mix(in srgb,var(--accent) 14%,var(--stroke));display:grid;place-items:center;color:var(--accent); }
.target-focus-body { flex:1;min-width:0; }
.target-focus-body label { display:block;color:var(--muted);font-size:10px;font-weight:680;margin-bottom:7px; }
.target-device-field { position:relative;max-width:540px; }
.target-device-field select { width:100%;appearance:none;border:1px solid var(--stroke-strong);border-radius:8px;padding:9px 36px 9px 11px;font-size:12px;font-weight:620;line-height:1.5;background:var(--input);white-space:nowrap;text-overflow:ellipsis;color:var(--text);cursor:pointer; }
.target-device-field>span { pointer-events:none;position:absolute;right:11px;top:50%;transform:translateY(-50%);color:var(--muted); }
.target-focus-body>small { display:block;margin-top:5px;color:var(--faint);font-size:10px; }
.target-focus-state { align-self:center;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--stroke);border-radius:99px;background:var(--input);color:var(--muted);padding:6px 9px;font-size:10px;white-space:nowrap; }
.target-focus-state.is-ready { color:var(--success);border-color:color-mix(in srgb,var(--success) 30%,var(--stroke)); }
.target-selection-focus { gap:17px; }
.target-selection-visual { min-width:75px;display:flex;align-items:center;justify-content:flex-start; }
.target-selection-copy { flex:1;min-width:0; }
.target-selection-copy strong { display:block;font-size:13px;font-weight:680; }
.target-selection-copy p { margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5; }
.target-outline-action { border-radius:9px;border:1px solid color-mix(in srgb,var(--accent) 41%,var(--stroke));color:var(--text);background:var(--accent-dim);padding:10px 12px;font-size:11px;font-weight:720;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap;transition:background .2s,transform .2s,border-color .2s; }
.target-outline-action:hover { background:color-mix(in srgb,var(--accent) 15%,transparent);transform:translateY(-1px);border-color:var(--accent); }
.target-mini-avatars { display:inline-flex;align-items:center;flex-shrink:0;padding-left:4px;min-width:0; }
.target-avatar,.target-avatar-empty { display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;margin-left:-5px;border:2px solid var(--surface);border-radius:50%;font-size:9px;font-weight:760;letter-spacing:-.03em;color:var(--text);background:var(--surface-raised); }
.target-avatar:nth-child(2n) { background:color-mix(in srgb,var(--accent) 10%,var(--surface-raised)); }
.target-avatar:nth-child(3n) { background:color-mix(in srgb,var(--success) 10%,var(--surface-raised)); }
.target-avatar.is-offline { opacity:.5; }
.target-avatar-more { font-weight:690;background:var(--input); }
.target-avatar-empty { color:var(--faint);margin-left:0; }
.target-group-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:315px;overflow-y:auto;padding:1px;scrollbar-width:thin; }
.target-group-tile { position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:12px 13px;border-radius:12px;border:1px solid var(--stroke-strong);background:var(--input);transition:background .18s,border-color .18s,transform .18s; }
.target-group-tile:hover { transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 48%,var(--stroke));background:var(--surface-hover); }
.target-group-tile.is-current { background:var(--accent-dim);border-color:color-mix(in srgb,var(--accent) 67%,var(--stroke)); }
.target-group-tile-top { display:flex;align-items:center;justify-content:space-between;width:100%; }
.target-group-glyph { width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--surface)); }
.target-group-check { display:grid;place-items:center;width:19px;height:19px;border-radius:50%;color:var(--on-accent);background:var(--accent);opacity:0;transform:scale(.75);transition:opacity .18s,transform .18s; }
.target-group-tile.is-current .target-group-check { opacity:1;transform:scale(1); }
.target-group-tile>strong { font-size:12px;line-height:1.35;font-weight:730;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.target-group-meta { color:var(--muted);font-size:10px;line-height:1.3;max-width:100%; }
.target-group-tile .target-mini-avatars { margin-top:auto;padding-top:3px; }
.target-group-tile .target-avatar { flex-basis:25px;width:25px;height:25px;font-size:8px;border-color:var(--input); }
.target-group-new { border-style:dashed;justify-content:center;align-items:center;text-align:center;gap:10px;background:transparent;min-height:153px; }
.target-group-add { width:39px;height:39px;border-radius:13px;background:var(--accent-dim);color:var(--accent);display:grid;place-items:center; }
.target-group-new .target-group-meta { max-width:145px;line-height:1.45; }
.target-groups-empty { display:flex;align-items:center;gap:16px;min-height:89px; }
.target-groups-empty-icon { display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:13px;color:var(--accent);background:var(--accent-dim); }
.target-groups-empty>div { flex:1;min-width:0; }
.target-groups-empty strong { font-size:13px;font-weight:720; }
.target-groups-empty p { margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4; }
.target-studio-bottom { margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:23px; }
.target-ready-stats { display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0; }
.target-ready-pill { display:inline-flex;align-items:center;gap:7px;color:var(--success);font-weight:690;font-size:11px;white-space:nowrap; }
.target-ready-pill i { width:7px;height:7px;background:var(--success);border-radius:50%;box-shadow:0 0 0 3px var(--success-bg); }
.target-offline-pill { display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:10px; }
.target-ready-stats .shared-target-hint { margin:0;color:var(--faint);font-size:10px;line-height:1.35; }
.target-bottom-avatars .target-avatar { width:25px;height:25px;flex-basis:25px;font-size:8px;border-color:var(--input); }

/* Member selection: searched, filterable, with a live recipient count. */
.group-edit-dialog { width:min(780px,calc(100vw - 30px));max-width:780px; }
.group-manage-dialog { width:min(665px,calc(100vw - 30px));max-width:665px; }
.group-edit-dialog .dialog-body { padding:22px 24px 18px; }
#target-group-form { display:block; }
.group-name-block>label { display:block;color:var(--muted);font-size:11px;font-weight:680;margin-bottom:9px; }
.group-name-field { display:flex;align-items:center;gap:9px;background:var(--input);border:1px solid var(--stroke-strong);border-radius:11px;padding:0 14px;min-height:47px;color:var(--accent); }
.group-name-field:focus-within { border-color:var(--accent); }
#target-group-name { border:none;background:transparent;height:45px;min-height:0;outline:none;width:100%;font-size:13px;font-weight:650;padding:0; }
#target-group-name:focus-visible { outline:none; }
.group-picker-heading { display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:24px 0 12px; }
.group-picker-heading strong { font-size:12px;font-weight:740; }
.group-picker-heading small { font-size:10px;color:var(--muted); }
.group-builder { min-width:0; }
.group-builder-toolbar { display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px; }
.group-builder-search { display:flex;align-items:center;gap:9px;min-width:160px;flex:1;height:41px;border-radius:10px;border:1px solid var(--stroke-strong);padding:0 12px;color:var(--faint);background:var(--input); }
.group-builder-search:focus-within { border-color:color-mix(in srgb,var(--accent) 65%,var(--stroke)); }
.group-builder-search input { border:0;padding:0;background:transparent;min-width:0;width:100%;font-size:11px;outline:none; }
.group-builder-search input:focus-visible { outline:none; }
.group-builder-filters { display:flex;flex-wrap:wrap;gap:4px;background:var(--input);padding:4px;border:1px solid var(--stroke);border-radius:9px; }
.group-builder-filters button { font-size:10px;color:var(--muted);border-radius:6px;padding:6px 8px;min-height:27px;transition:background .18s,color .18s; }
.group-builder-filters button:hover { color:var(--text); }
.group-builder-filters button.is-active { color:var(--text);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--stroke-strong); }
.group-builder-split { display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:12px; }
.group-builder-list { overflow-y:auto;min-height:195px;max-height:min(39vh,335px);border:1px solid var(--stroke);border-radius:11px;background:var(--input);scrollbar-width:thin; }
.group-builder-member { cursor:pointer;display:flex;gap:10px;align-items:center;padding:10px 12px;min-height:61px;border-bottom:1px solid var(--stroke);transition:background .16s; }
.group-builder-member:last-child { border-bottom:0; }
.group-builder-member:hover { background:var(--surface-hover); }
.group-builder-member.is-chosen { background:color-mix(in srgb,var(--accent) 5%,var(--input)); }
.group-builder-member input { accent-color:var(--accent);width:15px;height:15px;flex:0 0 auto; }
.group-builder-member-icon { display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;background:var(--surface-raised);border:1px solid var(--stroke);border-radius:8px;color:var(--muted); }
.group-builder-member.is-chosen .group-builder-member-icon { color:var(--accent); }
.group-builder-member-copy { min-width:0;flex:1; }
.group-builder-member-copy strong { display:block;line-height:1.35;font-size:11px;font-weight:710;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.group-builder-member-copy small { display:block;margin-top:4px;line-height:1.3;font-size:9px;color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.group-builder-member-status { display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:9px; }
.group-builder-member-status i { display:block;width:6px;height:6px;border-radius:50%;background:var(--faint); }
.group-builder-member-status.is-online i { background:var(--success); }
.group-builder-member-status.is-online { color:var(--success); }
.group-builder-no-results { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:32px 15px;color:var(--muted);font-size:12px; }
.group-builder-aside { background:linear-gradient(158deg,var(--accent-dim),var(--surface));border:1px solid var(--stroke-strong);border-radius:11px;padding:19px 15px;display:flex;align-items:flex-start;flex-direction:column;gap:6px; }
.group-builder-aside-icon { width:36px;height:36px;display:grid;place-items:center;background:var(--accent-dim);border-radius:10px;color:var(--accent);margin-bottom:13px; }
.group-builder-aside strong { font-weight:430;font-size:43px;letter-spacing:-.07em;line-height:1;font-variant-numeric:tabular-nums; }
.group-builder-aside>span:nth-of-type(2) { font-size:11px;font-weight:700; }
.group-builder-selection-avatars { margin-top:12px; }
.group-builder-aside p { font-size:10px;color:var(--muted);line-height:1.65;margin-top:15px; }
.group-builder-bottom { display:flex;gap:18px;align-items:center;padding:13px 2px 0; }
.group-builder-bottom .text-btn { display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted); }
.group-builder-bottom .text-btn:hover { color:var(--accent); }
#target-group-error { margin-top:12px; }
.group-selection-dialog .dialog-body { padding-top:24px; }
.group-selection-dialog .group-builder-split { margin-top:4px; }

/* Group library: clear, editable saved entities, not a wall of controls. */
.target-library-list { display:grid;gap:10px; }
.target-library-item { display:flex;gap:13px;align-items:center;min-width:0;border:1px solid var(--stroke);border-radius:12px;padding:13px 14px;background:var(--input); }
.target-library-mark { display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:11px;color:var(--accent);background:var(--accent-dim); }
.target-library-info { flex:1;min-width:0; }
.target-library-info strong { display:block;font-size:13px;font-weight:730;white-space:nowrap;text-overflow:ellipsis;overflow:hidden; }
.target-library-info>span { display:block;font-size:10px;color:var(--muted);margin-top:3px; }
.target-library-info .target-mini-avatars { margin-top:10px; }
.target-library-info .target-avatar { width:24px;height:24px;flex-basis:24px;font-size:8px;border-color:var(--input); }
.target-library-actions { display:flex;gap:6px;align-items:center;flex-shrink:0; }
.target-library-edit { display:flex;align-items:center;gap:6px;padding:9px 11px;border:1px solid var(--stroke-strong);border-radius:8px;font-size:10px;font-weight:650;background:var(--surface); }
.target-library-edit:hover { border-color:var(--accent); }
.target-library-delete { color:var(--muted);display:grid;place-items:center;width:36px;height:35px;border:1px solid var(--stroke-strong);border-radius:8px; }
.target-library-delete:hover { color:var(--danger);border-color:var(--danger);background:var(--danger-bg); }
.target-library-empty { display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;padding:37px 21px;color:var(--muted);border:1px dashed var(--stroke-strong);border-radius:13px; }
.target-library-empty>svg { color:var(--accent); }
.target-library-empty strong { color:var(--text);font-size:14px; }
.target-library-empty p { max-width:330px;font-size:11px;line-height:1.6; }
.group-delete-message { display:flex;gap:13px;align-items:flex-start;padding:12px;color:var(--danger);font-size:12px; }
.group-delete-message p { color:var(--muted);line-height:1.65; }

/* An Application group shows ONLY its members, never 30 disabled inputs. */
.apk-search-bar[hidden], .target-panel .panel-head .text-btn[hidden] { display:none!important; }
.apk-target-list.is-preview { height:auto;min-height:0;max-height:285px;overflow-y:auto; }
.apk-target-list.is-preview .apk-target { cursor:default;padding-block:11px; }
.apk-target-list.is-preview .apk-target.selected { background:transparent; }
.apk-target-list.is-preview .apk-target.unavailable { opacity:.72; }
.apk-target-list.is-preview .apk-target:hover { background:var(--surface-hover); }
.target-preview-leading { display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:7px;background:var(--accent-dim);color:var(--accent); }
.file-browser-context { display:flex;gap:7px;align-items:center;padding:8px 16px;border-bottom:1px solid var(--stroke);font-size:10px;color:var(--muted);line-height:1.45; }
.file-browser-context svg { color:var(--faint); }

@media (max-width:1100px) {
 .target-mode-tab { padding:10px;gap:8px; }
 .target-mode-tab .target-mode-symbol { flex-basis:30px;height:30px; }
 .target-mode-tab small { font-size:9px; }
 .target-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
 .transfer-command-bar { padding:15px; }
 .target-studio { padding:13px;border-radius:12px; }
 .target-mode-tabs { gap:6px; }
 .target-mode-tab { flex-direction:column;align-items:flex-start;gap:8px;padding:10px 9px; }
 .target-mode-tab .target-mode-symbol { flex:0 0 28px;height:28px;width:28px; }
 .target-mode-tab strong { font-size:11px; }
 .target-mode-tab small { display:none; }
 .target-focus-state { display:none; }
 .target-studio-body { padding:11px; }
 .target-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .target-ready-stats .shared-target-hint { display:none; }
 .group-builder-toolbar { align-items:stretch;flex-direction:column; }
 .group-builder-filters { align-self:flex-start; }
}
@media (max-width:510px) {
 .target-studio-head h3 { font-size:15px; }
 .target-library-link { padding:8px;gap:5px; }
 .target-library-link>span { display:none; }
 .target-mode-tab strong { font-size:10px;white-space:normal; }
 .target-focus-icon { display:none; }
 .target-focus-body { min-width:0; }
 .target-selection-focus { flex-wrap:wrap; }
 .target-selection-visual { min-width:68px; }
 .target-selection-focus .target-outline-action { flex:1 1 100%; }
 .target-groups-empty { flex-wrap:wrap; }
 .target-groups-empty .target-outline-action { flex:1 1 100%; }
 .target-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .target-group-tile { padding:11px; }
 .target-group-tile>strong { font-size:11px; }
 .target-bottom-avatars { display:none; }
 .apk-target-control { padding:3px 12px 14px; }
 .group-edit-dialog .dialog-body { padding:15px; }
 .group-builder-split { display:flex;flex-direction:column; }
 .group-builder-list { min-height:160px;max-height:40vh; }
 .group-builder-aside { flex-direction:row;align-items:center;padding:10px 12px;gap:9px;flex-wrap:wrap; }
 .group-builder-aside-icon { width:27px;height:27px;margin:0; }
 .group-builder-aside-icon svg { width:17px;height:17px; }
 .group-builder-aside strong { font-size:23px; }
 .group-builder-aside p { margin:0;flex:1 1 100%; }
 .group-builder-selection-avatars { margin:0 0 0 auto; }
 .group-builder-bottom { justify-content:space-between;gap:10px; }
 .group-builder-member-status { font-size:0; }
 .group-builder-member-status i { width:8px;height:8px; }
 .target-library-item { padding:11px;gap:9px; }
 .target-library-mark { flex-basis:31px;height:31px; }
 .target-library-edit { padding:8px; }
 .target-library-edit svg { display:none; }
 .dialog-footer .btn { min-width:0; }
}

/* R2.7.38 — compact target studio: one device selection, one-row group showcase.
   The full, searchable group directory opens on demand. */
.target-mode-tabs { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.target-mode-tab { min-height:65px; }
.target-mode-tab strong { font-size:13px; }
.target-mode-tab small { white-space:normal; }
.target-studio-body[data-mode="group"] { padding:12px; }
.target-selection-kicker { display:block;color:var(--accent);font-weight:730;letter-spacing:.12em;font-size:9px;margin-bottom:6px; }
.target-selection-copy strong { font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.target-selection-focus { gap:15px; }
.target-groups-toolbar { display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:31px;margin-bottom:12px; }
.target-groups-caption { color:var(--muted);font-size:10px;font-weight:740;letter-spacing:.12em;display:inline-flex;align-items:center;gap:8px; }
.target-groups-caption b { display:grid;place-items:center;min-width:22px;height:21px;border-radius:7px;border:1px solid var(--stroke-strong);background:var(--surface);color:var(--text);font-size:11px;letter-spacing:0;font-variant-numeric:tabular-nums; }
.target-see-all { color:var(--accent);font-size:11px;font-weight:730;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border-radius:8px;padding:7px 9px;transition:background .18s; }
.target-see-all:hover { background:var(--accent-dim); }
.target-group-grid { grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;gap:10px;padding:0; }
.target-group-tile { min-height:134px;max-height:134px;gap:7px;padding:12px 13px;border-radius:12px; }
.target-group-tile>strong { font-size:12px; }
.target-group-tile.is-current { box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 25%,transparent),0 4px 16px color-mix(in srgb,var(--accent) 6%,transparent); }
.target-group-tile .target-mini-avatars { padding-top:0; }
.target-library-search { position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:10px;padding:0 13px;margin-bottom:14px;min-height:44px;border-radius:11px;border:1px solid var(--stroke-strong);background:var(--input);color:var(--muted); }
.target-library-search:focus-within { border-color:var(--accent); }
.target-library-search input { width:100%;min-width:0;background:transparent;outline:0;border:0;font-size:12px;color:var(--text); }
.target-library-search input:focus-visible { outline:none; }
.group-manage-dialog .dialog-body { display:flex;flex-direction:column;min-height:0; }
.group-manage-dialog .target-library-list { overflow-y:auto;min-height:0;max-height:min(53vh,470px);padding:1px;scrollbar-width:thin;overscroll-behavior:contain; }
.target-library-item { gap:7px;padding:6px 7px 6px 4px;transition:background .18s,border-color .18s; }
.target-library-item.is-current { border-color:color-mix(in srgb,var(--accent) 55%,var(--stroke));background:var(--accent-dim); }
.target-library-pick { min-width:0;flex:1;display:flex;align-items:center;gap:12px;text-align:left;border-radius:9px;padding:7px; }
.target-library-pick:hover { background:var(--surface-hover); }
.target-library-pick .target-library-info { display:block;min-width:0;flex:1; }
.target-library-pick .target-library-info>span { display:block; }
.target-library-pick .target-library-info>.target-mini-avatars { display:flex;margin-top:8px; }
.target-library-pick .target-library-mark { flex:0 0 39px; }
.target-library-select-icon { display:grid;place-items:center;color:var(--muted);border:1px solid var(--stroke);background:var(--surface);border-radius:9px;flex:0 0 30px;height:30px; }
.target-library-item.is-current .target-library-select-icon { color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,var(--stroke)); }
.target-library-no-results { display:flex;justify-content:center;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:25px 12px; }
[data-library-entry][hidden],.target-library-no-results[hidden] { display:none!important; }
.target-studio button:focus-visible,.group-manage-dialog button:focus-visible { outline:2px solid var(--accent);outline-offset:2px; }
@media (max-width:1100px) {
 .target-group-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:720px) {
 .target-mode-tab { min-height:58px;flex-direction:row;align-items:center;gap:10px;padding:10px 12px; }
 .target-mode-tab .target-mode-symbol { flex:0 0 31px;height:31px;width:31px; }
 .target-mode-tab strong { font-size:12px; }
 .target-mode-tab small { display:none; }
 .target-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .target-group-grid>.target-group-tile:nth-child(n+3) { display:none; }
 .target-group-tile { min-height:132px;max-height:132px; }
}
@media (max-width:510px) {
 .target-mode-tabs { gap:7px; }
 .target-mode-tab { gap:7px;padding:9px 7px; }
 .target-mode-tab strong { font-size:11px; }
 .target-selection-copy { flex:1 1 100%; }
 .target-selection-focus .target-outline-action { flex:1 1 100%; }
 .target-group-tile { padding:10px; }
 .target-group-tile .target-avatar { width:22px;flex-basis:22px;height:22px;font-size:8px; }
 .target-groups-toolbar { gap:5px; }
 .target-groups-caption { font-size:9px;letter-spacing:.07em; }
 .target-see-all { font-size:10px; }
 .target-library-pick { gap:8px;padding:6px 3px; }
 .target-library-pick .target-library-mark { flex:0 0 30px;width:30px;height:30px; }
 .target-library-select-icon { flex-basis:25px;height:25px; }
 .target-library-item { padding:5px;gap:4px; }
 .target-library-actions { gap:4px; }
 .target-library-edit { padding:6px; }
 .target-library-delete { width:30px;height:30px; }
 .target-library-pick .target-library-info>.target-mini-avatars { display:none; }
}
@media (prefers-reduced-motion:reduce) {
 .target-mode-tab,.target-group-tile,.target-library-item,.target-see-all { transition:none; }
}


/* R2.7.39 — Recipient clarity: temporary tablet choices are fully visible,
   groups remain in one row and explicitly disclose their hidden count. */
.target-selection-heading {
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-bottom:12px;min-width:0;
}
.target-selection-heading>div { display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px; }
.target-selection-heading strong { display:block;font-size:15px;font-weight:740;line-height:1.3;letter-spacing:-.02em; }
.target-selection-heading small { color:var(--muted);font-size:10px;line-height:1.45; }
.target-selection-heading .target-outline-action { flex-shrink:0; }
.target-selection-empty { display:flex;align-items:center;gap:12px;padding:15px 12px;border:1px dashed var(--stroke-strong);border-radius:10px;color:var(--muted);font-size:12px;line-height:1.5; }
.target-selection-empty svg { color:var(--accent);flex-shrink:0; }
.target-chosen-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:258px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px; }
.target-chosen-item { display:flex;align-items:center;gap:10px;min-width:0;min-height:59px;background:var(--surface);border:1px solid var(--stroke);border-radius:10px;padding:9px 10px;transition:border-color .16s,background .16s; }
.target-chosen-item:hover { border-color:var(--stroke-strong);background:var(--surface-hover); }
.target-chosen-icon { display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;color:var(--accent);background:var(--accent-dim); }
.target-chosen-device { display:block;min-width:0;flex:1; }
.target-chosen-device strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;color:var(--text);font-weight:730; }
.target-chosen-device small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:var(--muted);font-size:10px; }
.target-chosen-status { flex:0 0 8px;width:8px;height:8px;display:grid;place-items:center; }
.target-chosen-status i { display:block;width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.65; }
.target-chosen-status.is-online i { background:var(--success);opacity:1;box-shadow:0 0 0 3px var(--success-bg); }
.target-chosen-remove { display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:7px;color:var(--muted);transition:color .16s,background .16s; }
.target-chosen-remove:hover { color:var(--text);background:var(--accent-dim); }
.target-group-overflow { display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:10px;font-weight:760;letter-spacing:0;padding:5px 7px;border:1px solid color-mix(in srgb,var(--accent) 27%,var(--stroke));background:var(--accent-dim);color:var(--accent);border-radius:7px;font-variant-numeric:tabular-nums; }
.target-overflow-desktop { display:inline-flex; }
.target-overflow-mobile { display:none; }
.target-see-all { flex-shrink:0;gap:7px; }
.target-see-all:hover .target-group-overflow { border-color:var(--accent); }
.target-group-tile.is-current { cursor:pointer; }
.target-group-tile.is-current .target-group-check { background:var(--accent); }
@media (max-width:720px) {
  .target-overflow-desktop { display:none; }
  .target-overflow-mobile { display:inline-flex; }
  .target-chosen-list { grid-template-columns:minmax(0,1fr);max-height:215px; }
}
@media (max-width:510px) {
  .target-see-all-label { display:none; }
  .target-selection-heading { gap:9px;flex-wrap:wrap; }
  .target-selection-heading .target-outline-action { flex:1 1 100%; }
  .target-chosen-item { min-height:56px; }
  .target-groups-toolbar { flex-wrap:nowrap; }
  .target-group-overflow { font-size:9px;padding:5px; }
}
@media (prefers-reduced-motion:reduce) {
  .target-chosen-item,.target-chosen-remove { transition:none; }
}

/* Expandable roster: keep the default panel concise, show all on demand. */
.target-chosen-list { max-height:182px; }
.target-chosen-list.is-expanded { max-height:none;overflow:visible; }
.target-chosen-more { margin-top:9px;width:100%;min-height:34px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;border:1px dashed var(--stroke-strong);background:color-mix(in srgb,var(--accent) 4%,var(--input));color:var(--accent);font-size:11px;font-weight:710;transition:border-color .16s,background .16s; }
.target-chosen-more:hover { border-color:var(--accent);background:var(--accent-dim); }
.target-chosen-more b { color:var(--text);font-variant-numeric:tabular-nums; }
.target-chosen-more[aria-expanded="true"] svg { transform:rotate(180deg); }
@media (max-width:720px) { .target-chosen-list { max-height:182px; } .target-chosen-list.is-expanded { max-height:none; } }

/* R2.7.40 — File Transfers: linked recipient/browser context and horizontal group rail.
   Applications retains its own compact, three-group showcase. */
.file-target-control .file-group-carousel {
  display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:7px;min-width:0;
}
.file-target-control .file-target-group-grid {
  display:flex!important;grid-template-columns:none!important;gap:10px;max-height:none;
  overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;
  scroll-padding-inline:2px;overscroll-behavior-x:contain;scrollbar-width:thin;
  padding:2px 2px 7px;min-width:0;scroll-behavior:smooth;
}
.file-target-control .file-target-group-grid > .file-group-tile {
  display:flex!important;flex:0 0 calc((100% - 20px)/3);scroll-snap-align:start;
  min-width:0;min-height:150px;max-height:150px;gap:7px;padding:11px 12px;
}
.file-group-select {display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-width:0;flex:1;text-align:left;border-radius:7px;cursor:pointer;}
.file-group-select>strong {font-size:12px;line-height:1.3;font-weight:730;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
.file-group-select:hover>strong {color:var(--accent);}
.file-group-select .target-group-tile-top {flex:0 0 auto;}
.file-group-member-avatars {width:100%;align-self:flex-start;gap:1px;min-height:28px;margin:0!important;}
.file-group-member-avatars .target-avatar {border-color:var(--input);}
.file-group-member-avatars .target-avatar-action {cursor:pointer;transition:transform .15s,border-color .15s,background .15s;}
.file-group-member-avatars .target-avatar-action:hover {transform:translateY(-3px) scale(1.12);border-color:var(--accent);background:var(--accent-dim);z-index:1;opacity:1;}
.file-group-member-avatars .target-avatar-action:focus-visible {outline:2px solid var(--accent);outline-offset:1px;z-index:2;}
.file-group-scroll {width:33px;height:40px;display:grid;place-items:center;justify-self:center;border:1px solid var(--stroke-strong);border-radius:10px;background:var(--surface);color:var(--text);transition:background .15s,border-color .15s;}
.file-group-scroll:not(:disabled):hover {background:var(--accent-dim);border-color:var(--accent);color:var(--accent);}
.file-group-scroll:disabled {opacity:.22;cursor:default;}
.file-group-scroll:focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
.file-target-control .target-groups-toolbar {flex-wrap:wrap;}
.file-browse-context {padding:11px 16px;border-bottom:1px solid var(--stroke);background:color-mix(in srgb,var(--accent) 3%,var(--surface));min-width:0;}
.file-browse-context:empty {display:none;}
.file-browse-context-line {display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap;}
.file-browse-label {display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;font-weight:690;white-space:nowrap;}
.file-browse-label svg {color:var(--accent);}
.file-browser-device-select {position:relative;display:block;flex:1 1 160px;min-width:0;max-width:440px;}
.file-browser-device-select select {appearance:none;width:100%;min-height:36px;border:1px solid var(--stroke-strong);border-radius:8px;background:var(--input);color:var(--text);padding:7px 33px 7px 11px;font-size:11px;cursor:pointer;text-overflow:ellipsis;}
.file-browser-device-select svg {position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted);}
.file-browser-device-select select:focus-visible {outline:2px solid var(--accent);outline-offset:1px;}
.file-browse-single-name {min-width:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.file-browser-detail-action {margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;font-size:10px;color:var(--accent);border:1px solid var(--stroke-strong);border-radius:8px;white-space:nowrap;}
.file-browser-detail-action:hover {background:var(--accent-dim);border-color:var(--accent);}
.file-browse-helper {display:block;font-size:10px;line-height:1.4;color:var(--faint);margin-top:7px;}
.file-no-destination {min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;color:var(--muted);padding:28px;}
.file-no-destination svg {color:var(--accent);}
.file-no-destination strong {font-size:13px;color:var(--text);}
.file-no-destination span {font-size:11px;line-height:1.5;}
.file-browser-context[hidden],.tablet-storage[hidden] {display:none!important;}
.group-members-detail-list {display:flex;flex-direction:column;gap:6px;max-height:54vh;overflow-y:auto;}
.group-member-detail-link {display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-width:0;padding:10px 11px;border:1px solid var(--stroke);background:var(--input);border-radius:10px;}
.group-member-detail-link:hover {border-color:var(--accent);background:var(--surface-hover);}
.group-member-detail-link>span:nth-child(2) {display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;}
.group-member-detail-link strong,.group-member-detail-link small {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.group-member-detail-link strong {font-size:12px;}
.group-member-detail-link small {font-size:10px;color:var(--muted);}
.group-member-detail-link>svg {color:var(--accent);}
.group-member-detail-avatar {display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;background:var(--accent-dim);color:var(--accent);}
@media(max-width:1100px) {
 .file-target-control .file-target-group-grid>.file-group-tile {flex-basis:calc((100% - 10px)/2);}
}
@media(max-width:720px) {
 .file-target-control .file-group-carousel {grid-template-columns:27px minmax(0,1fr) 27px;gap:4px;}
 .file-target-control .file-group-scroll {width:27px;height:37px;border-radius:8px;}
 .file-target-control .file-target-group-grid>.file-group-tile {flex:0 0 min(76%,218px);min-height:148px;max-height:148px;}
 .file-browse-context {padding:10px 12px;}
 .file-browse-context-line {gap:8px;}
 .file-browser-detail-action {padding:8px;}
 .file-browser-detail-action span {display:none;}
}
@media(prefers-reduced-motion:reduce) {
 .file-target-control .file-target-group-grid {scroll-behavior:auto;}
 .file-group-member-avatars .target-avatar-action {transition:none;}
}

.file-target-count {display:inline-flex;align-items:center;gap:5px;border:1px solid var(--stroke-strong);padding:6px 8px;border-radius:100px;background:var(--input);font-size:10px;font-weight:690;color:var(--muted);white-space:nowrap;}
.file-browse-member-status .status {font-size:10px;}
@media(max-width:560px){.file-browse-member-status {display:none;}}

/* R2.7.41 — File Transfers: active Virtual PC and explicit destination readiness.
   A missing source selection is an instruction, not a disabled-looking workspace. */
.file-transfer-guide {
  display:flex;align-items:center;gap:12px;min-width:0;padding:13px 16px;
  margin:0 0 17px;border:1px solid var(--stroke-strong);border-radius:12px;
  background:color-mix(in srgb,var(--accent) 3%,var(--surface));color:var(--text);
  font-size:12px;line-height:1.45;
}
.file-transfer-guide.is-ready {
  border-color:color-mix(in srgb,var(--success) 33%,var(--stroke));
  background:color-mix(in srgb,var(--success) 5%,var(--surface));
}
.file-transfer-guide-symbol {
  flex:0 0 34px;width:34px;height:34px;border:1px solid var(--stroke-strong);
  border-radius:10px;color:var(--accent);display:grid;place-items:center;
  background:var(--surface-raised);
}
.file-transfer-guide.is-ready .file-transfer-guide-symbol {
  color:var(--success);border-color:color-mix(in srgb,var(--success) 25%,var(--stroke));
  background:var(--success-bg);
}
#file-transfer-guide-text {flex:1;min-width:0;font-weight:570;}
#file-transfer-guide-action {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;
  padding:7px 12px;border:1px solid var(--stroke-strong);border-radius:9px;
  background:var(--input);color:var(--text);font-size:11px;font-weight:680;
  cursor:pointer;white-space:nowrap;
}
#file-transfer-guide-action:hover {border-color:var(--accent);background:var(--accent-dim);}
#file-transfer-guide-action[hidden] {display:none!important;}
.file-workspace .file-pane {
  border-color:var(--stroke-strong);
  box-shadow:0 2px 10px color-mix(in srgb,var(--text) 4%,transparent);
}
.file-workspace #pc-pane.is-workspace-active .panel-head {background:color-mix(in srgb,var(--accent) 4%,var(--surface));}
.file-workspace #tablet-pane.is-destination-ready {
  border-color:color-mix(in srgb,var(--success) 38%,var(--stroke));
}
.file-workspace #tablet-pane.is-destination-ready .panel-head {
  background:color-mix(in srgb,var(--success) 6%,var(--surface));
}
.file-workspace .file-pane-title>span {
  width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;
  border-radius:10px;background:var(--accent-dim);color:var(--accent);
}
.file-pane-state {
  display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:6px 9px;
  border-radius:30px;border:1px solid var(--stroke-strong);background:var(--input);
  color:var(--muted);font-size:10px;font-weight:680;white-space:nowrap;
}
.file-pane-state svg {flex:0 0 auto;}
.file-pane-state.is-ready {
  color:var(--success);border-color:color-mix(in srgb,var(--success) 33%,var(--stroke));
  background:var(--success-bg);
}
.file-pane-state.is-waiting {color:var(--warning,var(--muted));}
.file-workspace .file-pane-tools {flex-wrap:wrap;justify-content:flex-end;}
.file-workspace .file-table input[type="checkbox"] {width:16px;height:16px;accent-color:var(--accent);cursor:pointer;}
.file-workspace .file-table th {color:var(--muted);font-weight:640;}
.file-workspace .file-table td {color:var(--muted);}
.file-workspace .file-table .file-name {color:var(--text);font-weight:530;}
.file-workspace .file-selectable-name {padding:3px 5px 3px 0;cursor:pointer;border-radius:7px;}
.file-workspace .file-selectable-name:hover {color:var(--accent);}
.file-workspace .file-selectable-name[aria-pressed="true"] {color:var(--accent);font-weight:680;}
.file-workspace .file-pane-footer-info {display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;}
.file-workspace .file-pane-footer-info>span {color:var(--text);font-size:11px;font-weight:680;}
.file-workspace .file-pane-footer-info>small {color:var(--muted);font-size:10px;line-height:1.3;}
.file-workspace .file-pane-footer .btn:not(:disabled) {opacity:1;box-shadow:0 5px 16px color-mix(in srgb,var(--accent) 15%,transparent);}
.file-workspace .drop-zone {color:var(--muted);border-color:color-mix(in srgb,var(--accent) 26%,var(--stroke));}
.file-workspace .drop-zone strong {color:var(--text);font-weight:650;}
.file-workspace .drop-zone:hover {background:var(--accent-dim);border-color:var(--accent);}
.file-workspace .file-no-destination {opacity:1;}
.file-workspace .file-no-destination span {color:var(--muted);}
.file-workspace .file-selection-attention .file-list {
  animation:stx-file-selection-attention 1.2s ease;
}
@keyframes stx-file-selection-attention {
  0%,100% {box-shadow:none;}
  30%,70% {box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 66%,transparent);}
}
@media(max-width:720px){
  .file-transfer-guide {flex-wrap:wrap;gap:9px;padding:11px 12px;}
  #file-transfer-guide-action {margin-left:44px;}
  .file-workspace .file-pane-state {padding:5px 7px;font-size:9px;}
  .file-workspace .file-pane-footer {gap:9px;flex-wrap:wrap;}
  .file-workspace .file-pane-footer-info {min-width:140px;}
}
@media(prefers-reduced-motion:reduce) {
  .file-workspace .file-selection-attention .file-list {animation:none;outline:2px solid var(--accent);outline-offset:-2px;}
}

/* R2.7.42 — Applications: the fleet roster lives in the modal, not below the studio.
   Recipients can be inspected on demand; group avatar buttons work like File Transfers. */
.apk-target-control .apk-chosen-details[hidden] {display:none!important;}
.apk-target-control .apk-details-toggle {margin:11px 0 0;}
.apk-target-control .apk-chosen-details {margin-top:9px;}
.apk-target-control .apk-chosen-details .target-chosen-list {max-height:310px;overflow-y:auto;}
.apk-target-control .target-chosen-detail {display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;border-radius:8px;}
.apk-target-control .target-chosen-detail:hover .target-chosen-device strong {color:var(--accent);}
.apk-target-control .target-chosen-detail:focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
.apk-target-control .target-chosen-detail .target-chosen-icon {flex-shrink:0;}
.apk-target-control .file-group-tile {min-height:150px;max-height:none;gap:7px;}
.apk-target-control .file-group-tile .file-group-select {min-height:0;}
.apk-target-control .file-group-member-avatars {flex-wrap:wrap;}
.apk-target-control .apk-group-members-link {display:flex;align-items:center;justify-content:center;gap:8px;margin-top:11px;width:100%;padding:10px 12px;border:1px dashed var(--stroke-strong);border-radius:9px;color:var(--accent);font-weight:700;font-size:11px;background:var(--surface);}
.apk-target-control .apk-group-members-link:hover {border-color:var(--accent);background:var(--accent-dim);}
.apk-target-control .apk-group-members-link:focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
@media(max-width:720px) {
 .apk-target-control .apk-chosen-details .target-chosen-list {max-height:270px;}
 .apk-target-control .file-group-tile {min-height:155px;}
}

/* R2.7.43 — Overview: live tablet proportions by model or by product family. */
.fleet-distribution-panel {
  margin-top: 20px;
  overflow: hidden;
}
.fleet-distribution-head {
  padding: 23px 25px 20px;
  border-bottom: 1px solid var(--stroke);
}
.fleet-distribution-eyebrow {
  display: block;
  font: 9px Consolas, monospace;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin-bottom: 11px;
}
.fleet-distribution-head h2 { font-size: 17px; letter-spacing: -.3px; }
.fleet-distribution-head p { font-size: 12px; }
.fleet-distribution-switch {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: var(--surface-raised);
  gap: 3px;
}
.fleet-distribution-switch button {
  font-size: 11px;
  padding: 9px 15px;
  border-radius: 6px;
  color: var(--muted);
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.fleet-distribution-switch button:hover { color: var(--text); }
.fleet-distribution-switch button.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 5px rgba(0,0,0,.12);
  border: 1px solid var(--stroke-strong);
  padding: 8px 14px;
}
.fleet-distribution-body {
  display: grid;
  grid-template-columns: minmax(250px, .79fr) minmax(0, 1.65fr);
  gap: clamp(20px, 4vw, 65px);
  align-items: center;
  padding: 16px 29px 26px;
}
.fleet-distribution-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.fleet-donut-shell {
  position: relative;
  width: min(100%, 292px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.fleet-donut {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 8px 17px rgba(0,0,0,.1));
}
.fleet-donut-track { stroke: var(--surface-raised); }
.fleet-donut-slice {
  cursor: pointer;
  transition: stroke-width .2s ease, opacity .2s ease, filter .2s ease;
}
.fleet-donut-slice:hover, .fleet-donut-slice.is-highlighted {
  stroke-width: 24;
  filter: brightness(1.13);
}
.fleet-donut-slice.is-muted { opacity: .33; }
.fleet-donut-center {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  gap: 5px;
}
.fleet-donut-center strong {
  display: block;
  color: var(--text);
  font-size: clamp(30px, 3.8vw, 47px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.fleet-donut-center span {
  color: var(--muted);
  max-width: 120px;
  font-size: 10px;
  font-weight: 600;
  overflow-wrap: anywhere;
  line-height: 1.32;
}
.fleet-donut-center small {
  color: var(--faint);
  font-size: 9px;
  line-height: 1.3;
}
.fleet-distribution-hint {
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  margin-top: -10px;
}
.fleet-distribution-right { min-width: 0; width: 100%; }
.fleet-distribution-legend-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 55px 66px;
  column-gap: 10px;
  padding: 0 9px 11px;
  font: 9px Consolas, monospace;
  letter-spacing: 1px;
  color: var(--faint);
  border-bottom: 1px solid var(--stroke);
}
.fleet-distribution-legend-head span:nth-child(n+2) { text-align: right; }
.fleet-distribution-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 13px;
  padding: 13px 0 16px;
}
.fleet-distribution-entry {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  background: var(--surface-raised);
  transition: opacity .2s, border-color .2s, transform .2s, background .2s;
}
.fleet-distribution-entry:hover, .fleet-distribution-entry.is-highlighted {
  border-color: var(--stroke-strong);
  background: var(--surface-hover);
}
.fleet-distribution-entry.is-muted { opacity: .38; }
.fleet-distribution-entry:focus-visible,
.fleet-distribution-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fleet-distribution-swatch { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.fleet-distribution-name { min-width: 0; flex: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet-distribution-amount { color: var(--faint); font: 11px Consolas,monospace; font-variant-numeric: tabular-nums; }
.fleet-distribution-entry strong { color: var(--text); font: 600 11px Consolas,monospace; min-width: 50px; text-align: right; font-variant-numeric: tabular-nums; }
.fleet-distribution-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  border-top: 1px solid var(--stroke);
  padding-top: 15px;
  color: var(--faint);
  font: 10px Consolas,monospace;
}
.fleet-distribution-empty { color: var(--muted); font-size: 12px; padding: 30px 8px; }
@media (max-width: 1050px) {
  .fleet-distribution-body { grid-template-columns: minmax(200px,.8fr) minmax(0,1.4fr); gap: 18px; padding-inline: 18px; }
  .fleet-distribution-legend { gap: 6px; }
  .fleet-distribution-entry { padding: 9px 7px; gap: 5px; }
  .fleet-distribution-name { font-size: 10px; }
}
@media (max-width: 820px) {
  .fleet-distribution-body { grid-template-columns: 1fr; gap: 5px; }
  .fleet-donut-shell { width: min(100%, 260px); }
  .fleet-distribution-hint { margin-bottom: 18px; }
  .fleet-distribution-legend-head { display: none; }
}
@media (max-width: 530px) {
  .fleet-distribution-head { padding: 18px; align-items: flex-start; flex-direction: column; }
  .fleet-distribution-switch { width: 100%; }
  .fleet-distribution-switch button { flex: 1; }
  .fleet-distribution-body { padding: 12px 15px 22px; }
  .fleet-distribution-legend { grid-template-columns: 1fr; }
  .fleet-distribution-name { font-size: 12px; }
  .fleet-distribution-entry { padding: 11px 12px; }
  .fleet-distribution-footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .fleet-donut-slice, .fleet-distribution-entry, .fleet-distribution-switch button { transition: none; }
}

/* CSV Apollo devices with no exact model photo: neutral tablet drawing, never a model substitute. */
.apollo-device-pending { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; color:var(--muted); }
.apollo-device-pending svg { max-width:62%; max-height:72px; opacity:.68; }
.apollo-device-pending small { font-family:inherit; font-size:11px; letter-spacing:0; font-weight:600; }
.apollo-device-pending--thumb { display:inline-flex; height:38px; width:38px; flex:none; }
.apollo-device-pending--thumb svg { width:34px; height:26px; }

/* R2.7.47: test hardware is never represented as a verified physical connection. */
.test-device-label { display:inline-flex; align-items:center; margin-inline:5px; padding:2px 7px; border:1px solid currentColor; border-radius:6px; color:#db9558; font-size:10px; line-height:1.4; font-weight:800; letter-spacing:.05em; vertical-align:middle; }
.fleet-test-notice { margin:0 0 16px; font-weight:600; }

.virtual-screen{margin:24px auto;padding:22px;width:min(310px,90%);min-height:430px;border:9px solid #171e31;border-radius:30px;background:linear-gradient(155deg,#253b70,#222848 58%,#111827);color:#fff;display:flex;flex-direction:column;align-items:center;box-shadow:0 18px 45px #0004}.virtual-top{width:100%;display:flex;justify-content:space-between;font-size:11px}.virtual-clock{font-size:56px;font-weight:200;margin:auto}.virtual-apps{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.virtual-apps button{border:1px solid #ffffff55;border-radius:12px;color:white;background:#ffffff22;padding:12px;cursor:pointer}.virtual-screen small{margin-top:16px;opacity:.7}
/* Screen-control interactive virtual viewport and transfer confirmation */
.virtual-screen.virtual-landscape { width:min(94%,650px); min-height:225px; aspect-ratio:16/9; }
.mirror-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:12px 18px; }
.mirror-controls > div { display:flex; flex-wrap:wrap; gap:8px; }
.mirror-controls button:disabled { opacity:.38; cursor:not-allowed; pointer-events:none; }
.transfer-confirm-files { max-height:220px; overflow:auto; margin:12px 0; padding:8px; border:1px solid var(--border, #454b57); border-radius:10px; }
.transfer-confirm-files > div { display:flex; align-items:center; gap:8px; padding:7px 3px; overflow-wrap:anywhere; }
.transfer-confirm-files > div small { margin-left:auto; white-space:nowrap; }

/* R2.7.53: restore the original hardware-framed tablet and visual transfer dialog. */
.screen-hardware { flex-shrink:0; }
.screen-hardware.is-virtual-online { background:#0c1726; }
.screen-hardware.is-virtual-offline { background:#101925; }
.screen-hardware .screen-camera { pointer-events:none; }
.sim-screen-content { position:absolute;inset:0; display:flex; flex-direction:column; color:#f4f6fc; background:radial-gradient(ellipse at 70% 26%,#385276 0%,transparent 47%),linear-gradient(148deg,#121e30 0%,#1a304f 55%,#0a1726 100%); overflow:hidden; }
.sim-screen-content:before { content:''; position:absolute; z-index:0; width:110%;height:68%; border:1px solid rgba(233,186,137,.13); border-radius:45%;left:-42%;top:20%;transform:rotate(-30deg);box-shadow:0 0 0 18px rgba(255,255,255,.017),0 0 0 50px rgba(255,255,255,.012);pointer-events:none; }
.sim-screen-status { min-height:34px; padding:14px 16px 2px;display:flex;justify-content:space-between;align-items:center;gap:8px;position:relative;z-index:1;font:10px Consolas,monospace; }
.sim-screen-status>span:last-child { display:flex;align-items:center;gap:4px; }
.sim-screen-main {position:relative;z-index:1; flex:1;display:flex;flex-direction:column;min-height:0;padding:6px 19px 12px;}
.sim-screen-clock {font-size:clamp(30px,4vw,52px);font-weight:200;letter-spacing:-1.5px;margin-top:26%;line-height:1.2;text-align:center;}
.sim-screen-date {text-align:center;font-size:12px;opacity:.8;margin-top:3px;}
.sim-screen-spacer {flex:1;}
.sim-app-dock {display:flex;align-items:center;justify-content:center;gap:16px;padding:14px 8px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.08);border-radius:18px;backdrop-filter:blur(8px);}
.sim-app-dock button {width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:13px;display:grid;place-items:center;background:rgba(25,40,65,.55);color:#fff;cursor:pointer;}
.sim-app-dock button:hover,.sim-app-dock button:focus-visible {background:rgba(220,170,124,.25);outline-color:#e9bb91;}
.sim-screen-home-indicator {display:flex;align-items:center;justify-content:center;height:20px;width:100%;position:relative;z-index:1;}
.sim-screen-home-indicator span {display:block;height:4px;width:74px;border-radius:9px;background:rgba(255,255,255,.65);}
.sim-page {padding:14px 0 0;}
.sim-page-heading {display:flex;align-items:center;gap:10px;margin:10px 0 21px;font-size:21px;}
.sim-settings-row {display:flex;align-items:center;gap:8px;padding:14px 8px;border-bottom:1px solid rgba(255,255,255,.1);font-size:12px;min-width:0;}
.sim-settings-row span {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sim-settings-row i {font-style:normal;color:#c0d0e0;font-size:10px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.screen-hardware.landscape .sim-screen-clock {margin-top:4%;font-size:35px;}
.screen-hardware.landscape .sim-screen-main {padding:4px 28px 8px;}
.screen-hardware.landscape .sim-app-dock {margin:auto;max-width:310px;width:100%;padding:7px;}
.screen-hardware.landscape .sim-app-dock button {height:32px;width:40px;}
.screen-hardware.landscape .sim-page {padding:0;}
.screen-hardware.landscape .sim-page-heading {margin:0 0 8px;font-size:16px;}
.screen-hardware.landscape .sim-settings-row {padding:5px 9px;}
.screen-hardware.is-virtual-offline .screen-placeholder {padding:16px;}
.screen-hardware.is-virtual-offline .screen-placeholder p {max-width:265px;font-size:11px;line-height:1.55;}
.screen-hardware.is-virtual-offline .screen-placeholder h3 {font-size:16px;}
.mirror-controls .icon-btn:disabled {opacity:.3;cursor:not-allowed;pointer-events:none;}
.transfer-confirm-dialog {width:min(490px,calc(100vw - 24px));max-width:490px;}
.transfer-confirm-dialog .dialog-body {padding-top:10px;}
.transfer-confirm-route {padding:4px 0 15px;}
.transfer-confirm-dialog .transfer-confirm-art {padding:14px 0 10px;gap:12px;}
.transfer-confirm-dialog .transfer-confirm-art>span {width:64px;height:64px;border-radius:14px;}
.transfer-route-names {display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);align-items:center;gap:8px;text-align:center;}
.transfer-route-names strong {font-size:12px;font-weight:600;overflow-wrap:anywhere;}
.transfer-route-names>span {font-size:9px;text-transform:uppercase;color:var(--faint);letter-spacing:1px;}
.transfer-confirm-heading {display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:16px 0 10px;border-top:1px solid var(--stroke);}
.transfer-confirm-heading strong {font-size:12px;}
.transfer-confirm-heading>span {font-size:11px;color:var(--muted);white-space:nowrap;}
.transfer-original-file-list {max-height:180px;padding:0 0 8px;gap:0;overflow:auto;}
.transfer-original-file {display:flex;align-items:center;gap:11px;padding:10px 4px;border-bottom:1px solid var(--stroke);font-size:12px;min-width:0;}
.transfer-original-file>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;}
.transfer-original-file small{font:10px Consolas,monospace;color:var(--muted);white-space:nowrap;}
.transfer-file-symbol{display:flex;align-items:center;justify-content:center;color:var(--accent);}
.transfer-confirm-caption{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.6;color:var(--muted);margin:13px 0 0;}
.transfer-confirm-caption svg{flex-shrink:0;margin-top:1px;}
@media(max-width:520px){.screen-hardware{width:min(300px,92%)}.transfer-confirm-route .transfer-confirm-art>span{width:54px;height:59px}.transfer-confirm-dialog .dialog-body{padding:12px 18px 18px}}

/* R2.7.55 — Compact horizontal bars complement the inventory donut. */
.online-mix-panel .panel-head { align-items: center; }
.online-mix-panel .online-mix-live { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: var(--success); white-space: nowrap; }
.online-mix-panel .online-mix-wrap { height: auto; min-height: 206px; overflow: visible; cursor: default; padding: 0 24px 20px; }
.online-mix-bars { width: 100%; min-width: 0; }
.online-mix-overview { display:flex; align-items:center; gap:10px; padding:2px 0 16px; border-bottom:1px solid var(--stroke); }
.online-mix-overview-icon { display:grid; place-items:center; height:34px; width:34px; border-radius:10px; background:var(--accent-dim); color:var(--accent); flex:0 0 auto; }
.online-mix-overview-label { flex:1; min-width:0; font-size:12px; color:var(--muted); }
.online-mix-overview strong { font-size:26px; line-height:1; font-weight:600; color:var(--text); font-variant-numeric:tabular-nums; }
.online-mix-scale { display:flex; justify-content:space-between; padding:17px 10px 3px; font:10px Consolas,monospace; color:var(--faint); }
.online-mix-bar-list { display:grid; gap:7px; }
.online-mix-bar-row { display:block; width:100%; border:1px solid transparent; border-radius:10px; background:transparent; padding:10px 10px 12px; color:var(--text); cursor:pointer; text-align:left; transition:background .18s, border-color .18s; }
.online-mix-bar-row:hover:not(:disabled), .online-mix-bar-row:focus-visible { background:var(--surface-raised); border-color:var(--stroke-strong); }
.online-mix-bar-row:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.online-mix-bar-row:disabled { opacity:.6; cursor:not-allowed; }
.online-mix-bar-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:11px; }
.online-mix-name { display:inline-flex; align-items:center; gap:9px; font-size:12px; font-weight:600; }
.online-mix-dot { display:inline-block; width:9px; height:9px; border-radius:3px; flex:0 0 9px; }
.online-mix-dot.apollo { background:#e6a078; }
.online-mix-dot.generic { background:#7fb7ae; }
.online-mix-bar-stat { display:flex; align-items:center; gap:12px; font-variant-numeric:tabular-nums; }
.online-mix-bar-stat strong { font-size:14px; font-weight:650; min-width:23px; text-align:right; }
.online-mix-bar-stat small { font:11px Consolas,monospace; color:var(--muted); min-width:35px; text-align:right; }
.online-mix-bar-stat svg { color:var(--muted); }
.online-mix-bar-track { display:block; height:12px; overflow:hidden; border-radius:4px; background:var(--surface-raised); box-shadow:inset 0 0 0 1px var(--stroke); }
.online-mix-bar-fill { display:block; height:100%; border-radius:4px; transition:width .35s ease, filter .18s ease; }
.online-mix-bar-fill.apollo { background:linear-gradient(90deg,#bd714e,#e6a078); }
.online-mix-bar-fill.generic { background:linear-gradient(90deg,#518f88,#7fb7ae); }
.online-mix-bar-row:hover:not(:disabled) .online-mix-bar-fill { filter:brightness(1.12); }
.online-mix-hint { margin:10px 9px 0; font-size:10px; line-height:1.5; color:var(--faint); }
@media (max-width: 620px) {
 .online-mix-panel .online-mix-wrap { padding:0 14px 18px; }
 .online-mix-overview { padding-top:5px; }
 .online-mix-bar-row { padding-inline:7px; }
}
@media (prefers-reduced-motion: reduce) {
 .online-mix-bar-row, .online-mix-bar-fill { transition:none; }
}


/* R2.7.58 — Original palette restored; orbit remains animated in CSS fallback. */
.scene-fallback .fallback-orbit {
  animation: stx-fallback-orbit 13s linear infinite;
}
.scene-fallback .fallback-orbit.second {
  animation: stx-fallback-orbit-reverse 19s linear infinite;
}
@keyframes stx-fallback-orbit {
  from { transform: rotateX(46deg) rotateY(-29deg) rotateZ(0deg); }
  to { transform: rotateX(46deg) rotateY(-29deg) rotateZ(360deg); }
}
@keyframes stx-fallback-orbit-reverse {
  from { transform: rotateX(55deg) rotateY(22deg) rotateZ(360deg); }
  to { transform: rotateX(55deg) rotateY(22deg) rotateZ(0deg); }
}


/* R2.7.60: responsive, quick dashboard interactions. Original palette intact.
   Only opacity/transform are animated for the added icon and bar effects. */
@keyframes stx-overview-enter {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes stx-overview-bar-enter {
  from { opacity: .28; transform: scaleX(.06); }
  to { opacity: 1; transform: scaleX(1); }
}
.page-content[data-stx-reveal-profile="dashboard"] .stx-reveal-fallback {
  animation: stx-overview-enter 395ms cubic-bezier(.2,.82,.25,1) both;
}
.overview-page .metric {
  transition: transform 170ms cubic-bezier(.2,.8,.2,1), border-color 150ms ease, background-color 170ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .overview-page .metric:hover { transform: translate3d(0, -2px, 0); }
  .overview-page .metric > div:first-child svg { transition: color 160ms ease, transform 180ms cubic-bezier(.2,.8,.2,1); }
  .overview-page .metric:hover > div:first-child svg { color: var(--accent); transform: translate3d(0, -2px, 0); }
  .overview-page .quick-row .quick-icon,
  .overview-page .quick-row > svg { transition: transform 185ms cubic-bezier(.2,.8,.2,1), color 175ms ease, border-color 175ms ease; }
  .overview-page .quick-row:hover .quick-icon { transform: translate3d(2px,0,0); border-color: var(--stroke-strong); color: var(--accent); }
  .overview-page .quick-row:hover > svg { transform: translate3d(4px,0,0); color: var(--accent); }
  .overview-page .online-mix-bar-row .online-mix-bar-stat > svg { transition: transform 170ms ease, color 170ms ease; }
  .overview-page .online-mix-bar-row:hover:not(:disabled) .online-mix-bar-stat > svg { transform: translate3d(3px,0,0); color: var(--accent); }
}
.overview-page .online-mix-bar-fill {
  transform-origin: left center;
  animation: stx-overview-bar-enter 420ms cubic-bezier(.2,.82,.25,1) both;
}
.overview-page .online-mix-bar-row:nth-child(2) .online-mix-bar-fill { animation-delay: 75ms; }
@media (prefers-reduced-motion: reduce) {
  .overview-page .metric, .overview-page .metric > div:first-child svg,
  .overview-page .quick-row .quick-icon, .overview-page .quick-row > svg,
  .overview-page .online-mix-bar-fill { animation: none !important; transition: none !important; }
  .overview-page .metric:hover, .overview-page .metric:hover > div:first-child svg,
  .overview-page .quick-row:hover .quick-icon, .overview-page .quick-row:hover > svg { transform: none !important; }
}

/* R2.7.63 - Overview uses the same first-paint stagger system as Command Shell.
   The earlier Overview-only reduced-motion gate prevented the animation in
   environments where Command Shell still animated. Keep identical behavior:
   animation is requested explicitly and can be disabled in app settings. */
@keyframes stx-overview-shell-enter {
  0% { opacity: 0; transform: translate3d(0, 38px, 0) scale(.99); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.page-content[data-stx-overview-intro="play"] :is(
  .page-head, .overview-hero, .metrics-grid > .metric,
  .dashboard-mid-grid > .panel, .fleet-distribution-panel,
  .dashboard-bottom-grid > .panel
) {
  animation-name: stx-overview-shell-enter !important;
  animation-duration: 720ms !important;
  animation-delay: var(--stx-overview-step, 0ms) !important;
  animation-timing-function: cubic-bezier(.18, .82, .22, 1) !important;
  animation-fill-mode: both !important;
  animation-iteration-count: 1 !important;
  animation-play-state: running !important;
  backface-visibility: hidden;
}
.page-content[data-stx-overview-intro="play"] .page-head { --stx-overview-step: 0ms; }
.page-content[data-stx-overview-intro="play"] .overview-hero { --stx-overview-step: 150ms; }
.page-content[data-stx-overview-intro="play"] .metrics-grid > .metric:nth-child(1) { --stx-overview-step: 300ms; }
.page-content[data-stx-overview-intro="play"] .metrics-grid > .metric:nth-child(2) { --stx-overview-step: 420ms; }
.page-content[data-stx-overview-intro="play"] .metrics-grid > .metric:nth-child(3) { --stx-overview-step: 540ms; }
.page-content[data-stx-overview-intro="play"] .metrics-grid > .metric:nth-child(4) { --stx-overview-step: 660ms; }
.page-content[data-stx-overview-intro="play"] .dashboard-mid-grid > .panel:nth-child(1) { --stx-overview-step: 800ms; }
.page-content[data-stx-overview-intro="play"] .dashboard-mid-grid > .panel:nth-child(2) { --stx-overview-step: 940ms; }
.page-content[data-stx-overview-intro="play"] .fleet-distribution-panel { --stx-overview-step: 1080ms; }
.page-content[data-stx-overview-intro="play"] .dashboard-bottom-grid > .panel:nth-child(1) { --stx-overview-step: 1220ms; }
.page-content[data-stx-overview-intro="play"] .dashboard-bottom-grid > .panel:nth-child(2) { --stx-overview-step: 1360ms; }


/* R2.7.64: Same visible 3D rise + fade used by Command Shell and Overview,
   extended to the six other routes. Stagger runs on first DOM insertion,
   never on form controls, dropdowns, modal dialogs or virtual screens. */
.page-content[data-stx-route-intro="play"] [data-stx-route-step] {
  animation-name: stx-shell-enter !important;
  animation-duration: 720ms !important;
  animation-delay: var(--stx-route-delay, 0ms) !important;
  animation-timing-function: cubic-bezier(.18, .82, .22, 1) !important;
  animation-fill-mode: both !important;
  animation-iteration-count: 1 !important;
  animation-play-state: running !important;
  backface-visibility: hidden;
}


/* R2.7.65 — Apollo-only Screen Control / maximal tablet workspace.
   Status dots convey eligibility, not physical connectivity for Generic devices. */
.screen-control-optimized.mirror-layout {
  grid-template-columns: minmax(210px, 226px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.screen-control-optimized .mirror-picker { min-height: 798px; max-height: 900px; }
.screen-control-optimized .mirror-picker .panel-head { padding: 16px 15px 12px; }
.screen-control-optimized .picker-search { padding: 0 12px 12px; }
.screen-control-optimized .mirror-device { padding: 11px 12px; min-height: 53px; gap: 8px; }
.screen-control-optimized .mirror-device .device-avatar { flex:0 0 auto; }
.screen-control-optimized .mirror-device strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.screen-control-optimized .mirror-device small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.screen-control-optimized .mirror-device-state { display: inline-flex; align-items: center; justify-content: center; margin-left:auto; padding:6px; flex:none; }
.screen-control-optimized .screen-tier-dot { display:inline-block; width:10px; height:10px; border-radius:50%; flex:none; border:1px solid rgba(255,255,255,.18); }
.screen-control-optimized .screen-tier-dot.apollo-online { background:#38b979; box-shadow:0 0 0 3px rgba(56,185,121,.10); }
.screen-control-optimized .screen-tier-dot.apollo-offline { background:#edaa4e; box-shadow:0 0 0 3px rgba(237,170,78,.11); }
.screen-control-optimized .screen-tier-dot.generic { background:#dc6670; box-shadow:0 0 0 3px rgba(220,102,112,.1); }
.screen-control-optimized .mirror-status-legend { display:grid; gap:7px; padding:11px 13px 13px; border-top:1px solid var(--stroke); background:var(--surface-raised); }
.screen-control-optimized .mirror-legend-entry { display:flex; align-items:center; gap:9px; font-size:10px; color:var(--muted); }
.screen-control-optimized .mirror-legend-entry span { flex:1; }
.screen-control-optimized .mirror-legend-entry b { font:600 10px Consolas,monospace; color:var(--text); font-variant-numeric:tabular-nums; }
.screen-control-optimized .mirror-device-list { min-height:0; }
.screen-control-optimized .mirror-theater { min-height:798px; }
.screen-control-optimized .mirror-toolbar { padding:14px 17px; }
.screen-control-optimized .mirror-toolbar > div { min-width:0; }
.screen-control-optimized .mirror-toolbar > div > div { min-width:0; }
.screen-control-optimized .mirror-state-chip { display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border:1px solid var(--stroke); border-radius:100px; font-size:10px; line-height:1.3; white-space:nowrap; margin-left:8px; color:var(--muted); }
.screen-control-optimized .mirror-state-chip.apollo-online { color:#38b979; }
.screen-control-optimized .mirror-state-chip.apollo-offline { color:#d9a053; }
.screen-control-optimized .mirror-state-chip.generic { color:#dc6670; }
.screen-control-optimized .mirror-viewport { min-height:694px; padding:15px 12px; }
.screen-control-optimized .screen-hardware { width:min(420px, 95%); }
.screen-control-optimized .screen-hardware.landscape { width:min(780px, 97%); }
.screen-control-optimized .mirror-controls { padding:10px 16px; min-height:55px; }
.screen-control-optimized .mirror-floor { bottom:22px; }
/* Give fullscreen screen control the full available vertical area. */
.screen-control-optimized .mirror-theater:fullscreen { min-height:0; }
.screen-control-optimized .mirror-theater:fullscreen .mirror-viewport { min-height:0; }
.screen-control-optimized .mirror-theater:fullscreen .screen-hardware { width:min(480px, 94vw, calc((100svh - 130px)*.59)); }
.screen-control-optimized .mirror-theater:fullscreen .screen-hardware.landscape { width:min(1060px, 94vw, calc((100svh - 130px)*1.63)); }
@media(max-width:1180px) {
  .screen-control-optimized.mirror-layout { grid-template-columns:minmax(195px, 210px) minmax(0,1fr); gap:12px; }
  .screen-control-optimized .mirror-viewport { min-height:645px; }
  .screen-control-optimized .mirror-theater, .screen-control-optimized .mirror-picker { min-height:745px; }
  .screen-control-optimized .screen-hardware { width:min(375px, 94%); }
}
@media(max-width:900px) {
  .screen-control-optimized.mirror-layout { grid-template-columns:1fr; }
  .screen-control-optimized .mirror-picker { min-height:0; max-height:none; }
  .screen-control-optimized .mirror-status-legend { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .screen-control-optimized .mirror-legend-entry { gap:6px; font-size:9px; }
  .screen-control-optimized .mirror-device-list { max-height:200px; }
  .screen-control-optimized .mirror-theater { min-height:760px; }
  .screen-control-optimized .mirror-viewport { min-height:650px; }
  .screen-control-optimized .screen-hardware { width:min(390px, 92%); }
}
@media(max-width:560px) {
  .screen-control-optimized .mirror-status-legend { grid-template-columns:1fr 1fr; }
  .screen-control-optimized .mirror-legend-entry { font-size:10px; }
  .screen-control-optimized .picker-search { flex-direction:column; }
  .screen-control-optimized .picker-search select { max-width:none; width:100%; }
  .screen-control-optimized .mirror-theater { min-height:590px; }
  .screen-control-optimized .mirror-viewport { min-height:485px; padding:14px 9px; }
  .screen-control-optimized .screen-hardware { width:min(280px, 91%); }
  .screen-control-optimized .screen-hardware.landscape { width:min(97%, 540px); }
  .screen-control-optimized .mirror-toolbar { padding:12px; }
  .screen-control-optimized .mirror-toolbar .mirror-state-chip { font-size:9px; padding:4px 6px; }
  .screen-control-optimized .mirror-toolbar > .tag { display:none; }
}


/* R2.7.66 — Apollo 10 Gen 2: genuine front photo with correctly aligned interactive LCD.
   Original 1221x844 transparent image; LCD aperture about x=98..1125 / y=103..738.
   Generic and other Apollo models retain the previously approved tablet preview. */
.screen-control-optimized .screen-hardware.apollo-photo-hardware {
  position: relative;
  flex: 0 1 auto;
  width: min(100%, 960px);
  max-width: 100%;
  aspect-ratio: 1221 / 844;
  height: auto;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  transition: none;
  filter: drop-shadow(0 24px 29px rgba(0, 0, 0, .3));
}
.screen-control-optimized .apollo-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 1;
}
.screen-control-optimized .apollo-photo-display {
  position: absolute;
  left: 8.02%;
  top: 12.23%;
  width: 84.13%;
  height: 75.14%;
  overflow: hidden;
  border-radius: 1px;
  background: #0b1625;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(4, 9, 16, .35);
  isolation: isolate;
  touch-action: manipulation;
}
.screen-control-optimized .apollo-photo-stream {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: center;
}
/* Rotate the screen content only: the landscape hardware photo remains authentic. */
.screen-control-optimized .apollo-photo-display.is-portrait-stream .apollo-photo-stream {
  inset: auto;
  top: 50%;
  left: 50%;
  width: 61.85%;
  height: 161.68%;
  transform: translate(-50%, -50%) rotate(90deg);
}
.screen-control-optimized .apollo-photo-display .sim-screen-clock { margin-top: 3%; font-size: clamp(19px, 3.1vw, 40px); }
.screen-control-optimized .apollo-photo-display .sim-screen-status { min-height: 24px; padding: 8px 11px 0; }
.screen-control-optimized .apollo-photo-display .sim-screen-main { padding: 4px 14px 7px; }
.screen-control-optimized .apollo-photo-display .sim-app-dock { margin: auto; max-width: 320px; width: 100%; padding: 7px; }
.screen-control-optimized .apollo-photo-display .sim-app-dock button { height: 34px; width: 39px; }
.screen-control-optimized .apollo-photo-display .sim-page { padding-top: 2px; }
.screen-control-optimized .apollo-photo-display .sim-page-heading { margin: 3px 0 11px; font-size: 17px; }
.screen-control-optimized .apollo-photo-display .sim-settings-row { padding: 8px 7px; }
.screen-control-optimized .apollo-photo-display .screen-placeholder { padding: 10px 22px; }
.screen-control-optimized .apollo-photo-display .screen-logo { width: 43px; height: 43px; margin-bottom: 12px; }
.screen-control-optimized .apollo-photo-display .screen-logo svg { width: 24px; }
.screen-control-optimized .apollo-photo-display .screen-placeholder h3 { font-size: 17px; }
.screen-control-optimized .apollo-photo-display .screen-placeholder p { max-width: 440px; font-size: 12px; margin-top: 7px; line-height: 1.55; }
.screen-control-optimized .apollo-photo-display .screen-placeholder .btn { margin-top: 12px; }
.screen-control-optimized .mirror-theater:fullscreen .screen-hardware.apollo-photo-hardware {
  width: min(96vw, 1300px, calc((100svh - 145px) * 1.447));
  max-height: none;
}
@media (max-width: 900px) {
  .screen-control-optimized .screen-hardware.apollo-photo-hardware { width: min(100%, 850px); }
}
@media (max-width: 560px) {
  .screen-control-optimized .screen-hardware.apollo-photo-hardware { width: 100%; }
  .screen-control-optimized .apollo-photo-display .sim-screen-status { min-height: 16px; padding: 4px 7px 0; font-size: 8px; }
  .screen-control-optimized .apollo-photo-display .sim-screen-main { padding: 0 5px 4px; }
  .screen-control-optimized .apollo-photo-display .sim-screen-clock { font-size: 22px; margin-top: 0; }
  .screen-control-optimized .apollo-photo-display .sim-screen-date { font-size: 9px; }
  .screen-control-optimized .apollo-photo-display .sim-app-dock { width: fit-content; padding: 3px 7px; gap: 9px; border-radius: 9px; }
  .screen-control-optimized .apollo-photo-display .sim-app-dock button { width: 23px; height: 23px; border-radius: 6px; }
  .screen-control-optimized .apollo-photo-display .sim-app-dock button svg { width: 14px; }
  .screen-control-optimized .apollo-photo-display .sim-screen-home-indicator { height: 10px; }
  .screen-control-optimized .apollo-photo-display .sim-page-heading { font-size: 12px; margin-bottom: 3px; }
  .screen-control-optimized .apollo-photo-display .sim-settings-row { padding: 3px; font-size: 9px; }
  .screen-control-optimized .apollo-photo-display .screen-logo { display: none; }
  .screen-control-optimized .apollo-photo-display .screen-placeholder h3 { font-size: 12px; }
  .screen-control-optimized .apollo-photo-display .screen-placeholder p { font-size: 9px; line-height: 1.25; }
  .screen-control-optimized .apollo-photo-display .screen-placeholder .btn { font-size: 9px; min-height: 24px; padding: 3px 7px; margin-top: 5px; }
}

/* Remove the tall empty stage around the wider landscape photo on small screens. */
@media (max-width: 900px) {
  .screen-control-optimized .mirror-theater.apollo-photo-mode { min-height: 0; }
  .screen-control-optimized .mirror-theater.apollo-photo-mode .mirror-viewport { min-height: 400px; }
}
@media (max-width: 560px) {
  .screen-control-optimized .mirror-theater.apollo-photo-mode .mirror-viewport { min-height: 292px; }
}


/* R2.7.67 — Apollo 8 Pro S: original 1254×1254 transparent product photo.
   LCD overlay x=213..1043, y=533..1032, calibrated against the actual photo;
   the antennae, physical keypad and rugged outer bezel remain unobstructed.
   Apollo 10 Gen 2 retains its independently calibrated landscape geometry. */
.screen-control-optimized .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  aspect-ratio: 1 / 1;
  width: min(100%, 820px);
  background: transparent;
}
.screen-control-optimized .apollo-8-pro-s-photo .apollo-photo-display {
  left: 16.99%;
  top: 42.50%;
  width: 66.19%;
  height: 39.87%;
  border-radius: 1px;
}
/* The LCD has a different aspect ratio from the Apollo 10 Gen 2 display. */
.screen-control-optimized .apollo-8-pro-s-photo .apollo-photo-display.is-portrait-stream .apollo-photo-stream {
  width: 60.24%;
  height: 166.01%;
}
.screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport {
  min-height: 760px;
}
.screen-control-optimized .mirror-theater:fullscreen .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  width: min(96vw, 1020px, calc(100svh - 145px));
}
/* Mobile / tablet keep the complete industrial tablet and its two antennae visible. */
@media (max-width: 900px) {
  .screen-control-optimized .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
    width: min(100%, 740px);
  }
  .screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport {
    min-height: min(760px, 100vw);
  }
}
@media (max-width: 560px) {
  .screen-control-optimized .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo { width: 100%; }
  .screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport { min-height: 290px; }
}


/* R2.7.68 — Stable Screen Control canvas, immersive fullscreen.
   Both Apollo photos and the fallback tablet occupy one fixed-size stage.
   Container-relative sizes preserve each genuine hardware photo's proportions.
   This block deliberately overrides prior per-model theater height/fullscreen caps. */
.screen-control-optimized .mirror-theater,
.screen-control-optimized .mirror-theater.apollo-photo-mode,
.screen-control-optimized .mirror-theater.apollo-8-pro-s-mode {
  min-height: 0;
  height: auto;
}
.screen-control-optimized .mirror-viewport,
.screen-control-optimized .mirror-theater.apollo-photo-mode .mirror-viewport,
.screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport {
  height: clamp(490px, calc(100dvh - 290px), 740px);
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
}
.screen-control-optimized .mirror-device-stage {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  container-type: size;
  isolation: isolate;
  z-index: 1;
}
/* Remove per-model pixel-width ceilings: only the common stage bounds the artwork. */
.screen-control-optimized .mirror-device-stage > .screen-hardware.apollo-photo-hardware,
.screen-control-optimized .mirror-device-stage > .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  flex: none;
  width: min(100cqw, calc(100cqh * 1.44668));
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0;
}
.screen-control-optimized .mirror-device-stage > .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  width: min(100cqw, 100cqh);
}
/* Consistent sizing for the untouched virtual frames used by other models. */
.screen-control-optimized .mirror-device-stage > .screen-hardware:not(.apollo-photo-hardware) {
  flex: none;
  width: min(100cqw, calc(100cqh * 0.60));
  max-height: 100%;
  margin: 0;
}
.screen-control-optimized .mirror-device-stage > .screen-hardware.landscape:not(.apollo-photo-hardware) {
  width: min(100cqw, calc(100cqh * 1.66667));
}
/* Maximize actual stage height within the fullscreen viewport, not an arbitrary max width. */
.screen-control-optimized .mirror-theater:fullscreen {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-toolbar {
  flex: 0 0 auto;
  padding: 10px 18px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-controls {
  flex: 0 0 auto;
  padding: 7px 18px;
  min-height: 46px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-viewport,
.screen-control-optimized .mirror-theater:fullscreen.apollo-photo-mode .mirror-viewport,
.screen-control-optimized .mirror-theater:fullscreen.apollo-8-pro-s-mode .mirror-viewport {
  height: auto;
  min-height: 0;
  flex: 1 1 0%;
  padding: 0;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage {
  inset: 5px 9px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware,
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware.landscape,
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware.apollo-photo-hardware,
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 900px) {
  .screen-control-optimized .mirror-viewport,
  .screen-control-optimized .mirror-theater.apollo-photo-mode .mirror-viewport,
  .screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport {
    height: clamp(410px, 68vw, 590px);
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .screen-control-optimized .mirror-viewport,
  .screen-control-optimized .mirror-theater.apollo-photo-mode .mirror-viewport,
  .screen-control-optimized .mirror-theater.apollo-8-pro-s-mode .mirror-viewport {
    height: clamp(288px, 76vw, 410px);
    min-height: 0;
  }
  .screen-control-optimized .mirror-device-stage { inset: 8px 5px; }
}
/* Override the older model-specific fullscreen widths to use every available pixel. */
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware.apollo-photo-hardware {
  width: min(100cqw, calc(100cqh * 1.44668));
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage > .screen-hardware.apollo-photo-hardware.apollo-8-pro-s-photo {
  width: min(100cqw, 100cqh);
}

/* R2.7.69 — Maximum-size Screen Control fullscreen.
   Use the entire browser fullscreen canvas for the device silhouette.
   Keep the name and interactive controls as compact overlays instead of reserving
   entire top and bottom rows. Normal non-fullscreen layout remains unchanged. */
.screen-control-optimized .mirror-theater:fullscreen {
  position: relative;
  display: block;
  isolation: isolate;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: #10151e;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-viewport,
.screen-control-optimized .mirror-theater:fullscreen.apollo-photo-mode .mirror-viewport,
.screen-control-optimized .mirror-theater:fullscreen.apollo-8-pro-s-mode .mirror-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  flex: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-device-stage {
  inset: 2px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-toolbar,
.screen-control-optimized .mirror-theater:fullscreen .mirror-controls {
  position: absolute;
  z-index: 15;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(170, 183, 199, .22);
  border-radius: 12px;
  background: rgba(12, 19, 29, .86);
  box-shadow: 0 9px 27px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-toolbar {
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  right: auto;
  padding: 7px 11px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-toolbar > .tag {
  display: none;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-controls {
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: auto;
  justify-content: flex-end;
  padding: 7px 10px;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-controls > span {
  display: none;
}
.screen-control-optimized .mirror-theater:fullscreen .mirror-controls .icon-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
}
@media (max-width: 560px) {
  .screen-control-optimized .mirror-theater:fullscreen .mirror-toolbar {
    top: max(5px, env(safe-area-inset-top));
    left: max(5px, env(safe-area-inset-left));
    padding: 5px 7px;
    max-width: calc(100% - 10px);
  }
  .screen-control-optimized .mirror-theater:fullscreen .mirror-controls {
    right: max(5px, env(safe-area-inset-right));
    bottom: max(5px, env(safe-area-inset-bottom));
    padding: 5px 7px;
    max-width: calc(100% - 10px);
  }
  .screen-control-optimized .mirror-theater:fullscreen .mirror-controls .icon-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
}

/* R2.7.70 — Stream preview feedback for online Apollo LCD apertures.
   This is a visual state for the SIMULATED stream preview; it never implies that
   a physical stream/recording is running. Overlay never intercepts screen input.
   All styling stays within the original graphite/copper design language. */
.screen-control-optimized .mirror-toolbar > .mirror-stream-state {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  flex: none;
  padding: 5px 9px;
  margin-left: auto;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}
.screen-control-optimized .mirror-stream-state > i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85909f;
}
.screen-control-optimized .mirror-stream-state.connecting {
  color: #d9aa77;
  border-color: rgba(211, 159, 94, .32);
  background: rgba(189, 136, 77, .08);
}
.screen-control-optimized .mirror-stream-state.connecting > i {
  background: #dda85f;
  animation: mirror-stream-status-pulse 1.15s ease-in-out infinite;
}
.screen-control-optimized .mirror-stream-state.live {
  color: #f4aab1;
  border-color: rgba(232, 78, 93, .37);
  background: rgba(232, 78, 93, .10);
}
.screen-control-optimized .mirror-stream-state.live > i {
  background: #f05160;
  box-shadow: 0 0 0 3px rgba(240, 81, 96, .12);
}
.screen-control-optimized .mirror-stream-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  border: 1px solid var(--stroke-strong);
  border-radius: 8px;
  padding: 7px 11px;
  white-space: nowrap;
  color: var(--text);
  background: var(--surface-raised);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.screen-control-optimized .mirror-stream-toggle > svg { flex: none; color: var(--accent); }
.screen-control-optimized .mirror-stream-toggle:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--accent);
}
.screen-control-optimized .mirror-stream-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.screen-control-optimized .mirror-stream-toggle.is-live {
  color: #ffbec4;
  border-color: rgba(237, 80, 93, .43);
  background: rgba(213, 58, 76, .13);
}
.screen-control-optimized .mirror-stream-toggle.is-live > svg { color: #f35f6b; }
.screen-control-optimized .mirror-stream-toggle.is-connecting > svg { color: #dda85f; }
.screen-control-optimized .mirror-stream-toggle:disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
/* The overlay is a sibling of the rotated LCD content, so its border always
   follows the actual photographed aperture, even after Rotate is pressed. */
.screen-control-optimized .stream-screen-overlay {
  position: absolute;
  z-index: 12;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border: 2px solid rgba(239, 73, 90, .92);
  box-shadow: inset 0 0 0 1px rgba(251, 164, 173, .22), inset 0 0 14px rgba(237, 55, 75, .22);
  animation: mirror-stream-border-in .36s cubic-bezier(.2,.8,.2,1) both;
}
.screen-control-optimized .stream-screen-overlay.is-connecting {
  border-color: rgba(220, 166, 103, .80);
  box-shadow: inset 0 0 0 1px rgba(250, 198, 126, .15), inset 0 0 13px rgba(212, 156, 86, .12);
  animation: mirror-stream-border-in .36s cubic-bezier(.2,.8,.2,1) both;
}
.screen-control-optimized .stream-screen-overlay.is-live::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 22px rgba(239, 65, 79, .16);
  opacity: .38;
  animation: mirror-stream-breathe 4.8s ease-in-out infinite;
}
.screen-control-optimized .stream-screen-overlay .stream-corner {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: #ff7481;
  border-style: solid;
  border-width: 0;
  opacity: .86;
}
.screen-control-optimized .stream-screen-overlay.is-connecting .stream-corner { border-color: #e3b47e; }
.screen-control-optimized .stream-corner.top-left { top: 2px; left: 2px; border-top-width: 2px; border-left-width: 2px; }
.screen-control-optimized .stream-corner.top-right { top: 2px; right: 2px; border-top-width: 2px; border-right-width: 2px; }
.screen-control-optimized .stream-corner.bottom-left { bottom: 2px; left: 2px; border-bottom-width: 2px; border-left-width: 2px; }
.screen-control-optimized .stream-corner.bottom-right { bottom: 2px; right: 2px; border-bottom-width: 2px; border-right-width: 2px; }
.screen-control-optimized .stream-screen-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  background: rgba(12, 17, 24, .88);
  border: 1px solid rgba(255, 126, 136, .36);
  border-radius: 5px;
  color: #ffdee2;
  font: 700 clamp(8px, .75vw, 10px)/1.15 Consolas, monospace;
  letter-spacing: .06em;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.screen-control-optimized .stream-screen-overlay.is-connecting .stream-screen-badge {
  color: #ffe0b6;
  border-color: rgba(231, 176, 107, .4);
}
.screen-control-optimized .stream-screen-badge > i {
  display: block;
  flex: none;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #f05264;
  box-shadow: 0 0 0 2px rgba(235, 66, 79, .18);
}
.screen-control-optimized .stream-screen-overlay.is-connecting .stream-screen-badge > i {
  background: #e0aa65;
  animation: mirror-stream-status-pulse 1.15s ease-in-out infinite;
}
.screen-control-optimized .stream-screen-badge time {
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
  border-left: 1px solid rgba(255, 188, 194, .24);
  color: #fff;
}
@keyframes mirror-stream-border-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mirror-stream-breathe {
  0%, 100% { opacity: .32; }
  50% { opacity: .92; }
}
@keyframes mirror-stream-status-pulse { 50% { opacity: .4; } }
@media (max-width: 700px) {
  .screen-control-optimized .mirror-toolbar > .mirror-stream-state { padding: 4px 6px; font-size: 9px; }
  .screen-control-optimized .mirror-controls > div { gap: 5px; }
  .screen-control-optimized .mirror-stream-toggle { min-height: 31px; padding: 6px 8px; font-size: 10px; }
  .screen-control-optimized .stream-screen-badge { top: 4px; right: 4px; padding: 3px 4px; gap: 3px; font-size: 8px; }
  .screen-control-optimized .stream-screen-badge > i { height: 5px; width: 5px; }
  .screen-control-optimized .stream-screen-badge time { padding-left: 4px; }
}
@media (max-width: 470px) {
  .screen-control-optimized .mirror-toolbar > .mirror-stream-state { max-width: 110px; overflow: hidden; }
  .screen-control-optimized .mirror-stream-toggle span { font-size: 0; }
  .screen-control-optimized .mirror-stream-toggle { min-width: 33px; padding: 7px 8px; }
  .screen-control-optimized .stream-screen-badge time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-control-optimized .stream-screen-overlay,
  .screen-control-optimized .stream-screen-overlay::before,
  .screen-control-optimized .stream-screen-badge > i,
  .screen-control-optimized .mirror-stream-state > i { animation: none !important; }
}


/* R2.7.71: Premium standby state on the actual Apollo display.
   The stream simulation starts only after the explicit Start Streaming action.
   No photo geometry, fullscreen controls, or active LIVE border are changed. */
.screen-control-optimized .stream-standby-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 38%, rgba(81, 104, 128, .24), transparent 53%),
              radial-gradient(ellipse at 80% 91%, rgba(169, 119, 76, .10), transparent 55%),
              linear-gradient(140deg, #101925, #0b121e 72%, #0a101a);
  color: #edf1f7;
  isolation: isolate;
}
.screen-control-optimized .stream-standby-screen::before {
  content: '';
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 161, 126, .11);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .018), 0 0 0 66px rgba(255, 255, 255, .01);
  pointer-events: none;
}
.screen-control-optimized .stream-standby-header,
.screen-control-optimized .stream-standby-footer {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: clamp(6px, 1.15vw, 15px) clamp(9px, 1.5vw, 21px);
  color: #9eabba;
  font: 600 clamp(8px, .8vw, 11px)/1.2 Consolas, monospace;
  letter-spacing: .08em;
}
.screen-control-optimized .stream-standby-header { border-bottom: 1px solid rgba(255,255,255,.075); }
.screen-control-optimized .stream-standby-footer { border-top: 1px solid rgba(255,255,255,.055); text-transform: uppercase; }
.screen-control-optimized .stream-standby-footer span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.screen-control-optimized .stream-standby-brand { color: #f7f9fc; }
.screen-control-optimized .stream-standby-brand b { color: #c6a280; font-weight: 700; }
.screen-control-optimized .stream-standby-indicator { display: inline-flex; align-items: center; gap: 6px; }
.screen-control-optimized .stream-standby-indicator i {
  width: 6px; height: 6px; background: #b3bcc7;
  border-radius: 100%; box-shadow: 0 0 0 3px rgba(163,176,193,.08);
}
.screen-control-optimized .stream-standby-screen.is-connecting .stream-standby-indicator i {
  background: #e0a964;
  animation: mirror-stream-status-pulse 1.1s ease-in-out infinite;
}
.screen-control-optimized .stream-standby-center {
  z-index: 1;
  min-height: 0; flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: clamp(5px, .75vw, 11px);
  padding: 6px 9px;
}
.screen-control-optimized .stream-standby-emblem {
  width: clamp(33px, 4.4vw, 68px);
  height: clamp(33px, 4.4vw, 68px);
  flex: none;
  display: grid; place-items: center;
  color: #dfb994;
  border: 1px solid rgba(230,178,127,.33);
  border-radius: 18px;
  background: rgba(172, 124, 79, .095);
  box-shadow: 0 12px 25px rgba(0,0,0,.13);
}
.screen-control-optimized .stream-standby-emblem svg { width: 44%; height: 44%; }
.screen-control-optimized .stream-standby-center strong {
  font-size: clamp(11px, 1.65vw, 25px);
  line-height: 1.16;
  letter-spacing: -.025em;
  font-weight: 650;
}
.screen-control-optimized .stream-standby-center p {
  margin: 0;
  font-size: clamp(8px, .94vw, 13px);
  line-height: 1.35;
  color: #a8b5c4;
  max-width: 300px;
}
.screen-control-optimized .stream-standby-start {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px;
  margin-top: clamp(1px, .5vw, 7px);
  padding: clamp(5px, .66vw, 9px) clamp(9px, 1.4vw, 19px);
  border-radius: 7px;
  border: 1px solid rgba(229, 178, 128, .55);
  color: #f3dec6;
  background: linear-gradient(135deg, rgba(168, 113, 63, .34), rgba(145, 93, 53, .20));
  font-size: clamp(9px, .93vw, 13px);
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.screen-control-optimized .stream-standby-start svg { flex: none; width: 13px; height: 13px; }
.screen-control-optimized .stream-standby-start:hover {
  border-color: #edd0ac;
  background: rgba(174, 119, 69, .48);
  transform: translateY(-1px);
}
.screen-control-optimized .stream-standby-start:focus-visible { outline: 2px solid #f4ca9e; outline-offset: 3px; }
.screen-control-optimized .stream-standby-loader {
  display: block;
  width: 21px; height: 21px;
  margin-top: 4px;
  border: 2px solid rgba(227, 177, 115, .2);
  border-top-color: #e1ac74;
  border-radius: 50%;
  animation: stx-screen-connect-spin 1s linear infinite;
}
@keyframes stx-screen-connect-spin { to { transform: rotate(360deg); } }
/* Compact hardware screens must remain legible without spilling beyond the LCD. */
@media(max-width: 700px) {
  .screen-control-optimized .stream-standby-header,
  .screen-control-optimized .stream-standby-footer { padding: 5px 8px; font-size: 7px; }
  .screen-control-optimized .stream-standby-center { gap: 4px; padding: 2px 5px; }
  .screen-control-optimized .stream-standby-emblem { width: 28px; height: 28px; border-radius: 8px; }
  .screen-control-optimized .stream-standby-center strong { font-size: 11px; }
  .screen-control-optimized .stream-standby-center p { font-size: 8px; }
  .screen-control-optimized .stream-standby-start { padding: 4px 8px; font-size: 8px; margin-top: 0; }
  .screen-control-optimized .stream-standby-start svg { width: 10px; height: 10px; }
}
@media(max-width: 420px) {
  .screen-control-optimized .stream-standby-footer { display: none; }
  .screen-control-optimized .stream-standby-center p { display: none; }
  .screen-control-optimized .stream-standby-emblem { width: 23px; height: 23px; }
}
@media(prefers-reduced-motion: reduce) {
  .screen-control-optimized .stream-standby-indicator i,
  .screen-control-optimized .stream-standby-loader { animation: none !important; }
  .screen-control-optimized .stream-standby-start { transition: none; }
}

/* R2.7.73 — Command Shell online/offline filter and visible session history. */
.adb-online-filter {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 15px 12px;padding:4px;border:1px solid var(--stroke);border-radius:10px;background:var(--input)}
.adb-online-filter button {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:32px;padding:5px 6px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.adb-online-filter button.active {background:var(--surface);color:var(--text);box-shadow:0 2px 9px rgba(0,0,0,.08)}
.adb-online-filter button:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
.adb-filter-dot {display:block;flex:0 0 7px;width:7px;height:7px;border-radius:50%}
.adb-filter-dot.online {background:#45b482;box-shadow:0 0 0 2px rgba(69,180,130,.13)}
.adb-filter-dot.offline {background:#d7a153;box-shadow:0 0 0 2px rgba(215,161,83,.12)}
.adb-history-count {display:inline-block;margin-top:9px;padding:4px 7px;border:1px solid var(--stroke);border-radius:6px;color:var(--muted);font-size:10px;line-height:1.3;font-variant-numeric:tabular-nums}
.adb-history-count:empty {display:none}
.adb-history-panel {scroll-margin-top:16px}
@media(max-width:640px) {.adb-online-filter {margin-bottom:10px}.adb-online-filter button {font-size:11px}.adb-history-count {margin-top:5px}}

/* Keep the Apollo online indicator visible on compact screens. */
@media(max-width:640px) {
  .adb-connected-count {display:flex;flex-direction:column;align-items:center;gap:0}
  .adb-connected-count strong {font-size:20px;line-height:1}
  .adb-connected-count span {font-size:9px;max-width:65px;text-align:center}
}
@media(max-width:400px) {
  .adb-statusline {gap:6px}
  .adb-bridge-mark {flex-basis:32px;height:32px}
  .adb-statusline>div:nth-child(2)>strong {font-size:8px;letter-spacing:.04em}
  .adb-statusline>div:nth-child(2)>small {font-size:9px}
  .adb-status-badge {font-size:8px;padding:5px}
}


/* R2.7.74 — Command Shell: balanced two-level workspace, Apollo-only targets.
   Desktop: Apollo selector / terminal, then quick commands / session history. */
.adb-workspace {grid-template-columns:minmax(258px,298px) minmax(0,1fr);gap:16px;align-items:start}
.adb-aside,.adb-main {gap:16px}
.adb-aside {align-content:start;align-self:start}
.adb-targets .adb-panel-heading {padding:18px 16px 12px}
.adb-targets .adb-panel-heading p {margin-top:5px;font-size:11px}
.adb-targets .adb-device-list {height:clamp(290px,43vh,435px);max-height:none;overflow-y:auto;padding-bottom:6px;scrollbar-width:thin}
.adb-targets .adb-target-row {padding:8px 9px;gap:8px;margin-bottom:2px;min-height:51px}
.adb-targets .adb-target-avatar {height:30px;flex-basis:30px;border-radius:8px}
.adb-targets .adb-target-state {flex:none;display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}
.adb-targets .adb-target-state.online {color:var(--success)}
.adb-targets .adb-target-state.offline {color:#b58946}
.adb-targets .adb-target-led {width:7px;height:7px}
.adb-online-filter {margin:0 12px 11px;gap:3px}
.adb-online-filter button {gap:4px;padding:5px 3px;font-size:10.5px}
.adb-filter-count {padding:2px 4px;border-radius:5px;background:var(--surface-raised);color:var(--muted);font:600 10px/1.2 ui-monospace,monospace}
.adb-online-filter .active .adb-filter-count {background:var(--accent-dim);color:var(--text)}
.adb-targets .adb-search-shell {margin:0 12px 10px}
.adb-guide {padding:15px 17px}
.adb-guide h3 {margin:8px 0 5px}
.adb-guide p {margin-bottom:10px;font-size:11px}
.adb-terminal-body {height:clamp(230px,32vh,310px)}
.adb-bottom-grid {display:grid;grid-template-columns:minmax(0,1.24fr) minmax(265px,1fr);gap:16px;align-items:start;min-width:0}
.adb-bottom-grid .adb-recipes {grid-column:1;grid-row:1}
.adb-bottom-grid .adb-history-panel {grid-column:2;grid-row:1}
.adb-bottom-grid .adb-panel-heading {padding:17px 16px 12px}
.adb-bottom-grid .adb-panel-heading p {font-size:11px;margin-top:5px}
.adb-bottom-grid .adb-recipe-groups {gap:5px;padding:0 16px 13px}
.adb-bottom-grid .adb-recipe-tab {padding:6px 9px;font-size:10px}
.adb-bottom-grid .adb-recipe-list {grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 16px;gap:7px}
.adb-bottom-grid .adb-recipe-card {padding:10px 9px;gap:8px;min-height:66px}
.adb-bottom-grid .adb-recipe-decoration {height:27px;flex-basis:27px;border-radius:7px}
.adb-bottom-grid .adb-recipe-card strong {font-size:11px}
.adb-bottom-grid .adb-recipe-card small {font-size:10px;line-height:1.3}
.adb-bottom-grid .adb-recipe-card code {font-size:9px;margin-top:0}
.adb-bottom-grid .adb-recipe-card>span:nth-child(2) {gap:3px}
.adb-bottom-grid .adb-history-panel {display:flex;flex-direction:column;gap:12px;padding:18px 16px;min-width:0}
.adb-bottom-grid .adb-history {max-height:386px;overflow:auto;scrollbar-width:thin;padding-right:3px}
.adb-bottom-grid .adb-history-row {padding:10px 8px}
.adb-bottom-grid .adb-history-row code {font-size:10px}
@media(max-width:1280px) {
  .adb-bottom-grid {grid-template-columns:minmax(0,1fr)}
  .adb-bottom-grid .adb-history-panel {grid-column:1;grid-row:1}
  .adb-bottom-grid .adb-recipes {grid-column:1;grid-row:2}
  .adb-bottom-grid .adb-history {max-height:210px}
}
@media(max-width:900px) {
  .adb-workspace {grid-template-columns:minmax(0,1fr)}
  .adb-aside {grid-template-columns:minmax(0,1fr)}
  .adb-targets .adb-device-list {height:210px;max-height:210px}
  .adb-targets .adb-device-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px}
  .adb-guide {display:none}
  .adb-bottom-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .adb-bottom-grid .adb-history-panel {grid-column:2;grid-row:1}
  .adb-bottom-grid .adb-recipes {grid-column:1;grid-row:1}
  .adb-bottom-grid .adb-recipe-list {grid-template-columns:1fr}
}
@media(max-width:680px) {
  .adb-bottom-grid {grid-template-columns:minmax(0,1fr)}
  .adb-bottom-grid .adb-history-panel {grid-column:1;grid-row:1}
  .adb-bottom-grid .adb-recipes {grid-column:1;grid-row:2}
  .adb-targets .adb-device-list {height:195px;max-height:195px;grid-template-columns:1fr}
  .adb-bottom-grid .adb-recipe-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  .adb-bottom-grid .adb-history {max-height:220px}
}
@media(max-width:420px) {
  .adb-bottom-grid .adb-recipe-list {grid-template-columns:1fr}
  .adb-online-filter button {font-size:10px;gap:3px}
  .adb-filter-count {font-size:9px;padding:2px 3px}
}

/* R2.7.75 — Command Shell professional workstation.
   Apollo selector stays compact; presets sit directly above the console;
   command history immediately follows the console, not a distant parallel card. */
.adb-page-head {margin-bottom:14px}
.adb-page-head h1 {margin-bottom:6px}
.adb-statusline {min-height:65px;padding:12px 17px;margin-bottom:14px;border-radius:13px;gap:12px}
.adb-bridge-mark {height:38px;flex-basis:38px;border-radius:10px}
.adb-statusline-divider {height:29px;margin:0 1px}
.adb-workspace {grid-template-columns:minmax(246px,275px) minmax(0,1fr);gap:14px;align-items:start}
.adb-main,.adb-aside {gap:13px;min-width:0}
.adb-aside {position:sticky;top:18px}
.adb-targets {border-radius:14px}
.adb-targets .adb-panel-heading {padding:15px 14px 10px}
.adb-targets .adb-panel-heading h2 {font-size:17px}
.adb-targets .adb-panel-heading p {display:none}
.adb-targets .adb-online-filter {margin:0 10px 9px}
.adb-targets .adb-search-shell {margin:0 10px 10px}
.adb-targets .adb-device-list {height:clamp(285px,49vh,500px);max-height:none;padding:0 8px 5px;display:block;overflow:auto;scrollbar-width:thin}
.adb-targets .adb-target-row {min-height:51px;margin-bottom:2px;padding:8px 9px}
.adb-targets .adb-target-label strong {font-size:11.5px}
.adb-targets .adb-target-state {font-size:10px}
.adb-targets .adb-target-footnote {padding:9px 13px 11px;font-size:10px}
.adb-guide {border-radius:12px;display:flex;align-items:center;gap:10px;padding:10px 13px}
.adb-guide .adb-section-number,.adb-guide h3,.adb-guide p {display:none}
.adb-guide-link {font-size:11px;gap:6px;width:100%;justify-content:space-between}
.adb-guide-link svg:last-child {margin-left:auto}
.adb-recipes {display:flex;flex-direction:column;border-radius:14px;box-shadow:none}
.adb-recipes .adb-panel-heading {padding:13px 16px 7px;align-items:center}
.adb-recipes .adb-panel-heading h2 {margin-top:4px;font-size:16px}
.adb-recipes .adb-panel-heading p {display:none}
.adb-recipes .adb-recipe-icon {height:32px;width:32px;display:grid;place-items:center;border-radius:9px;background:var(--accent-dim)}
.adb-recipes .adb-recipe-groups {padding:0 15px 9px;gap:6px;flex-wrap:wrap}
.adb-recipes .adb-recipe-tab {font-size:10.5px;min-height:26px;padding:5px 10px}
.adb-recipes .adb-recipe-list {display:flex;flex-wrap:nowrap;gap:9px;overflow-x:auto;overflow-y:hidden;padding:0 15px 14px;scrollbar-width:thin;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
.adb-recipes .adb-recipe-card {flex:0 0 clamp(175px,24%,210px);min-height:77px;padding:10px;gap:8px;scroll-snap-align:start;align-items:flex-start;border-radius:10px}
.adb-recipes .adb-recipe-card strong {font-size:12px;line-height:1.35}
.adb-recipes .adb-recipe-card small {font-size:10px;line-height:1.4}
.adb-recipes .adb-recipe-card code {display:none}
.adb-recipes .adb-recipe-decoration {flex:0 0 29px;height:29px;border-radius:8px}
.adb-recipes .adb-recipe-arrow {align-self:center}
.adb-console {border-radius:14px}
.adb-console-top {height:49px;padding:0 15px}
.adb-terminal-body {height:clamp(210px,26vh,285px);padding:18px 21px 20px}
.adb-ascii {font-size:28px}
.adb-terminal-welcome>p {margin:7px 0 11px}
.adb-terminal-tip {line-height:1.5}
.adb-command-area {padding:13px 17px 15px}
.adb-command-caption {margin-bottom:8px}
.adb-command-actions {margin-top:9px}
.adb-history-panel {display:grid;grid-template-columns:155px minmax(0,1fr);gap:15px;align-items:start;min-width:0;padding:14px 16px;border-radius:14px}
.adb-history-panel>div:first-child {min-width:0}
.adb-history-panel h2 {margin-top:5px;font-size:16px}
.adb-history-count {margin-top:6px}
.adb-history {display:flex;flex-direction:column;gap:5px;max-height:185px;min-width:0;overflow-y:auto;scrollbar-width:thin}
.adb-history-row {min-height:34px;padding:7px 9px}
.adb-history-empty {margin:5px 0;line-height:1.5}
.page-content[data-stx-shell-intro="play"] .adb-page-head {--stx-shell-step:0ms}
.page-content[data-stx-shell-intro="play"] .adb-statusline {--stx-shell-step:110ms}
.page-content[data-stx-shell-intro="play"] .adb-targets {--stx-shell-step:230ms}
.page-content[data-stx-shell-intro="play"] .adb-recipes {--stx-shell-step:350ms}
.page-content[data-stx-shell-intro="play"] .adb-console {--stx-shell-step:470ms}
.page-content[data-stx-shell-intro="play"] .adb-history-panel {--stx-shell-step:590ms}
.page-content[data-stx-shell-intro="play"] .adb-guide {--stx-shell-step:710ms}
@media(max-width:1050px) {
  .adb-workspace {grid-template-columns:minmax(230px,255px) minmax(0,1fr);gap:12px}
  .adb-recipes .adb-recipe-card {flex-basis:190px}
  .adb-history-panel {grid-template-columns:1fr;gap:8px}
  .adb-history-panel>div:first-child {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .adb-history-panel h2 {margin:0}
  .adb-history-count {margin:0}
  .adb-statusline-mode {display:none}
}
@media(max-width:800px) {
  .adb-aside {position:static}
  .adb-workspace {grid-template-columns:minmax(0,1fr)}
  .adb-targets .adb-device-list {height:185px;max-height:185px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px}
  .adb-guide {display:none}
  .adb-terminal-body {height:225px}
  .adb-recipes .adb-recipe-card {flex-basis:195px}
}
@media(max-width:540px) {
  .adb-page-head {margin-bottom:12px}
  .adb-statusline {gap:8px;padding:10px 12px}
  .adb-statusline>div:nth-child(2)>strong {font-size:9px;letter-spacing:.055em}
  .adb-statusline>div:nth-child(2)>small {font-size:10px}
  .adb-statusline-divider {display:none}
  .adb-connected-count {display:flex;flex-direction:column;gap:0;align-items:center}
  .adb-connected-count strong {font-size:21px}
  .adb-connected-count span {font-size:9px;text-align:center}
  .adb-targets .adb-device-list {grid-template-columns:1fr;height:165px;max-height:165px}
  .adb-recipes .adb-panel-heading {padding:12px 12px 8px}
  .adb-recipes .adb-recipe-groups {padding:0 12px 9px}
  .adb-recipes .adb-recipe-list {padding:0 12px 12px}
  .adb-recipes .adb-recipe-card {flex-basis:185px}
  .adb-console-top {padding:0 10px}
  .adb-terminal-body {height:205px;padding:16px 14px}
  .adb-command-area {padding:12px}
  .adb-history-panel {padding:13px}
}
.adb-recipes .adb-recipe-browse {flex:0 0 33px;width:33px;height:33px;border:1px solid var(--stroke-strong);border-radius:9px;background:var(--surface-raised);color:var(--accent);display:grid;place-items:center;cursor:pointer;transition:background .18s ease,transform .18s ease}
.adb-recipes .adb-recipe-browse:hover {background:var(--accent-dim);transform:translateX(2px)}
.adb-recipes .adb-recipe-browse:focus-visible {outline:2px solid var(--accent);outline-offset:2px}


/* R2.7.77 - Terminal-first Command Shell. The output console is the primary
   workspace; Apollo selection and presets remain accessible but subordinate. */
.adb-workspace {grid-template-columns:minmax(225px,250px) minmax(0,1fr);gap:15px;align-items:start}
.adb-main,.adb-aside {gap:13px}
.adb-aside {position:sticky;top:14px}
.adb-targets .adb-device-list {height:clamp(330px,54vh,550px);max-height:none}
.adb-console {border:1px solid rgba(192,153,111,.43);border-radius:15px;box-shadow:0 0 0 1px rgba(192,153,111,.07),0 18px 44px rgba(0,0,0,.17);position:relative;isolation:isolate}
.adb-console-feature {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 23px 15px;border-bottom:1px solid rgba(203,169,128,.14);background:linear-gradient(115deg,rgba(203,169,128,.105),rgba(70,102,99,.045) 64%,transparent)}
.adb-console-feature h2 {color:#ecf3ed;font-size:22px;font-weight:630;letter-spacing:-.035em;margin:5px 0 0;line-height:1.15}
.adb-console-feature .adb-section-number {color:#deb58f;letter-spacing:.13em}
.adb-console-feature-side {display:flex;align-items:center;gap:7px;color:#a5c0b5;font-size:10px;letter-spacing:.055em;white-space:nowrap}
.adb-console-feature-side svg {color:#d6ae87}
.adb-console-top {height:52px;background:rgba(235,254,242,.018)}
.adb-terminal-body {height:clamp(370px,51vh,635px);min-height:0;padding:26px 27px 34px;background:radial-gradient(ellipse at 88% 3%,rgba(190,145,100,.045),transparent 44%),linear-gradient(180deg,rgba(21,37,43,.52),transparent 170px)}
.adb-terminal-body:focus-within {outline:none}
.adb-ascii {font-size:clamp(29px,3.1vw,39px)}
.adb-terminal-tip {max-width:630px}
.adb-command-area {padding:17px 22px 19px}
.adb-command-line {min-height:55px}
.adb-command-line input {height:54px}
.adb-run-btn {min-height:40px}
.adb-recipes {box-shadow:none;border-color:var(--stroke);background:var(--surface);border-radius:13px}
.adb-recipes .adb-panel-heading {padding:12px 16px 7px}
.adb-recipes .adb-panel-heading h2 {font-size:15px}
.adb-recipes .adb-recipe-groups {padding-bottom:9px}
.adb-recipes .adb-recipe-list {padding-bottom:12px}
.adb-recipes .adb-recipe-card {min-height:62px;flex-basis:clamp(145px,21%,175px);padding:8px 9px}
.adb-recipes .adb-recipe-card strong {font-size:11px}
.adb-recipes .adb-recipe-card small {display:none}
.adb-recipes .adb-recipe-decoration {width:25px;height:25px;flex-basis:25px}
.adb-history-panel {grid-template-columns:165px minmax(0,1fr);padding:13px 16px}
/* Match the perceived reveal order to the actual DOM order. */
.page-content[data-stx-shell-intro="play"] .adb-console {--stx-shell-step:345ms}
.page-content[data-stx-shell-intro="play"] .adb-recipes {--stx-shell-step:505ms}
.page-content[data-stx-shell-intro="play"] .adb-history-panel {--stx-shell-step:645ms}
.page-content[data-stx-shell-intro="play"] .adb-guide {--stx-shell-step:750ms}
@media(max-width:1100px) {
  .adb-workspace {grid-template-columns:minmax(213px,230px) minmax(0,1fr);gap:12px}
  .adb-terminal-body {height:clamp(345px,48vh,560px)}
  .adb-console-feature-side {display:none}
}
@media(max-width:800px) {
  .adb-workspace {grid-template-columns:minmax(0,1fr)}
  .adb-aside {position:static}
  .adb-targets .adb-device-list {height:180px;max-height:180px}
  .adb-terminal-body {height:clamp(335px,48vh,545px)}
}
@media(max-width:540px) {
  .adb-console-feature {padding:14px 14px 12px}
  .adb-console-feature h2 {font-size:20px}
  .adb-console-top {height:45px}
  .adb-terminal-body {height:clamp(300px,46vh,480px);padding:19px 16px 24px}
  .adb-command-area {padding:13px}
  .adb-command-line {min-height:49px}
  .adb-command-line input {height:48px}
  .adb-recipes .adb-recipe-card {flex-basis:155px}
  .adb-history-panel {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px) {
  .adb-console-feature h2 {font-size:18px}
  .adb-terminal-body {height:310px}
}
/* Intermediate screens keep the shell beside the narrower target picker. */
@media(min-width:701px) and (max-width:800px) {
  .adb-workspace {grid-template-columns:minmax(193px,205px) minmax(0,1fr)}
  .adb-aside {position:sticky;top:12px}
  .adb-targets .adb-device-list {display:block;height:clamp(325px,53vh,480px);max-height:none}
  .adb-targets .adb-target-state {font-size:9px}
  .adb-targets .adb-target-avatar {height:25px;flex-basis:25px}
  .adb-targets .adb-target-row {gap:6px}
  .adb-targets .adb-target-label strong {font-size:10px}
  .adb-guide {display:flex}
}
/* Mobile: keep the device picker usable but let the terminal arrive sooner. */
@media(max-width:540px) {
  .adb-targets .adb-panel-heading {padding:11px 12px 7px}
  .adb-targets .adb-online-filter {margin:0 10px 6px}
  .adb-targets .adb-search-shell {height:34px;margin:0 10px 6px}
  .adb-targets .adb-device-list {height:104px;max-height:104px}
  .adb-targets .adb-target-footnote {display:none}
}

/* R2.7.79a — Apollo 8 Pro S standby LCD sizing.
   Its screen occupies only ~40% of the square product photograph. The old
   viewport-width (vw) text/icon sizing made the center content taller than
   the LCD, overlapping both the standby footer and Start Streaming button.
   Size this one model's standby UI from its *actual LCD*, not the browser.
   The photograph, calibrated screen aperture, and live stream remain intact. */
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-screen {
  container-type: size;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-header,
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-footer {
  min-width: 0;
  gap: clamp(3px, 1.5cqw, 8px);
  padding: clamp(3px, 1.75cqh, 7px) clamp(6px, 3cqw, 15px);
  font-size: clamp(6px, 3.2cqh, 10px);
  line-height: 1.2;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-brand,
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-footer > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-footer > span {
  max-width: 50%;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-indicator {
  flex: none;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-center {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  gap: clamp(2px, 1.8cqh, 6px);
  padding: clamp(2px, 1.2cqh, 5px) clamp(6px, 2cqw, 12px);
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-emblem {
  width: clamp(19px, 18cqh, 53px);
  height: clamp(19px, 18cqh, 53px);
  border-radius: clamp(6px, 4cqh, 15px);
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-center strong {
  max-width: 100%;
  font-size: clamp(9px, 8.5cqh, 23px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-center p {
  display: block;
  max-width: 95%;
  font-size: clamp(8px, 4.4cqh, 12px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-start {
  min-height: clamp(20px, 11cqh, 33px);
  max-width: 98%;
  margin-top: clamp(0px, .8cqh, 3px);
  padding: clamp(3px, 1.5cqh, 5px) clamp(7px, 3cqw, 14px);
  gap: clamp(4px, 1.5cqw, 7px);
  font-size: clamp(9px, 4.7cqh, 12px);
  line-height: 1.15;
  white-space: nowrap;
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-start svg {
  width: clamp(9px, 3.8cqh, 13px);
  height: clamp(9px, 3.8cqh, 13px);
}
.screen-control-optimized .apollo-8-pro-s-photo .stream-standby-loader {
  width: clamp(13px, 8cqh, 21px);
  height: clamp(13px, 8cqh, 21px);
  margin-top: 0;
}
/* Only very small LCD previews sacrifice nonessential footer details. The
   readiness message and Start Streaming action remain available. */
@container (max-height: 160px) {
  .screen-control-optimized .apollo-8-pro-s-photo .stream-standby-footer {
    display: none;
  }
}
@container (max-height: 100px) {
  .screen-control-optimized .apollo-8-pro-s-photo .stream-standby-center p {
    display: none;
  }
}
/* Respect short desktop windows / high browser zoom instead of forcing the
   Apollo 8 Pro S into the generic minimum 490px-high viewport. In regular
   windows the photo still scales to the full available square stage. */
@media (min-width: 901px) {
  .screen-control-optimized .mirror-theater.apollo-8-pro-s-mode:not(:fullscreen) .mirror-viewport {
    height: clamp(330px, calc(100dvh - 270px), 740px);
  }
}

/* R2.7.79b: installation review, scoped so the Apollo display is unchanged. */
.dialog.deploy-confirm-dialog {
  width: min(690px, calc(100vw - 24px));
  max-height: min(92dvh, 880px);
}
.deploy-confirm-dialog .dialog-head { flex-shrink: 0; }
.deploy-confirm-dialog .dialog-body { min-height: 0; }
.deploy-confirm-mode {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin-bottom: 20px;
  border: 1px solid var(--stroke-strong); border-radius: 12px;
  background: var(--accent-dim); color: var(--accent);
}
.deploy-confirm-mode > svg { flex-shrink: 0; margin-top: 2px; }
.deploy-confirm-mode strong { display: block; font-size: 13px; }
.deploy-confirm-mode p { margin: 5px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.deploy-confirm-package { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.deploy-confirm-package > span {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  background: var(--surface-raised); border: 1px solid var(--stroke); border-radius: 12px; color: var(--accent);
}
.deploy-confirm-package > div { min-width: 0; }
.deploy-confirm-package small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.deploy-confirm-package strong { display: block; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.deploy-confirm-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.deploy-confirm-metrics > div { background: var(--surface-raised); border: 1px solid var(--stroke); border-radius: 10px; padding: 12px; }
.deploy-confirm-metrics dt { color: var(--muted); font-size: 11px; line-height: 1.4; min-height: 31px; }
.deploy-confirm-metrics dd { font-size: 19px; margin: 8px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.deploy-confirm-dialog .deploy-confirm-group { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.deploy-confirm-group > svg { flex-shrink: 0; }
.deploy-confirm-heading { display: flex; justify-content: space-between; font-size: 12px; margin: 16px 0 10px; }
.deploy-confirm-heading > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.deploy-confirm-targets { list-style: none; padding: 0; margin: 0; border: 1px solid var(--stroke-strong); border-radius: 10px; overflow: hidden; }
.deploy-confirm-target {
  display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center;
  gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--stroke);
}
.deploy-confirm-target:last-child { border-bottom: 0; }
.deploy-target-icon { color: var(--accent); }
.deploy-confirm-target > div { min-width: 0; }
.deploy-confirm-target strong, .deploy-confirm-target code, .deploy-confirm-target > div > span { display: block; overflow-wrap: anywhere; }
.deploy-confirm-target strong { font-size: 12px; }
.deploy-confirm-target > div > span { font-size: 11px; color: var(--muted); margin: 3px 0; }
.deploy-confirm-target code { font-size: 10px; color: var(--muted); }
.deploy-target-state { font-size: 10px; color: var(--muted); text-align: right; max-width: 130px; }
.deploy-confirm-target.is-excluded { background: var(--surface-raised); }
.deploy-excluded { margin-top: 14px; font-size: 12px; color: var(--muted); }
.deploy-excluded summary { cursor: pointer; padding: 8px 0; color: var(--text); }
.deploy-excluded p { margin: 10px 0; font-size: 11px; line-height: 1.6; }
.deploy-confirm-dialog .deploy-confirm-caption { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.6; margin: 16px 0 0; }
.deploy-confirm-caption > svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.deploy-confirm-dialog .form-error { margin-top: 14px; }
@media (max-width: 560px) {
  .deploy-confirm-dialog .dialog-head { padding: 18px 16px; gap: 10px; }
  .deploy-confirm-dialog .dialog-head h2 { font-size: 20px; }
  .deploy-confirm-dialog .dialog-body { padding: 16px; }
  .deploy-confirm-dialog .dialog-footer { padding: 13px 16px; flex-wrap: wrap; }
  .deploy-confirm-dialog .dialog-footer .btn { flex: 1 1 120px; white-space: normal; }
  .deploy-confirm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deploy-confirm-metrics dt { min-height: 0; }
  .deploy-confirm-target { grid-template-columns: 22px minmax(0,1fr); gap: 8px; }
  .deploy-target-state { grid-column: 2; text-align: left; max-width: none; }
}
