@font-face {
  font-family: Manrope;
  src: url("/brand/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/brand/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}
:root {
  /* Official poliled.com dark-theme tokens, verified September 23, 2026. */
  color-scheme: dark;
  --bg: #1a1610;
  --surface: #2c2418;
  --line: #3e3020;
  --muted: #bfb5a3;
  --text: #f8f4ee;
  --accent: #c0903a;
  --success: #9aad7f;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
button {
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  background: var(--accent);
  color: #1a1610;
  font-weight: 650;
}
input,
select,
textarea {
  width: 100%;
  background: #1a1610;
  border: 1px solid #8a7e6f;
  border-radius: 7px;
  color: var(--text);
  padding: 12px 14px;
}
label {
  display: block;
  font-size: 14px;
  color: #bfb5a3;
  margin-bottom: 9px;
}
p {
  line-height: 1.55;
}
.eyebrow {
  font-size: clamp(12px, 1vmax, 21px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.brand {
  width: clamp(140px, 13.5vmax, 300px);
  height: auto;
  object-fit: contain;
}
h1,
h2,
h3,
.customer-name,
.feature-bottom strong {
  font-family: Outfit, Manrope, sans-serif;
}
.tv-header .brand {
  width: auto;
  height: 7vmin;
}
.tv-body {
  overflow: hidden;
}
.tv {
  height: 100vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 3vmin 3.5vmax 0;
  background:
    radial-gradient(ellipse at 65% 0%, #3e302066, transparent 55%), var(--bg);
}
.tv-header {
  height: 11vmin;
  min-height: 65px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 2vmax;
  padding-bottom: 2.5vmin;
}
.header-divider {
  height: 3.5vmin;
  width: 1px;
  background: #5a5040;
}
.location {
  font-size: 1.05vmax;
  letter-spacing: 0.22em;
  color: #bfb5a3;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3vmax;
}
.connection {
  font-size: 1.05vmax;
  color: var(--muted);
}
.connection.live:before {
  content: "";
  display: inline-block;
  width: 0.45vmax;
  height: 0.45vmax;
  border-radius: 50%;
  background: var(--success);
  margin-right: 0.7vmax;
  box-shadow: 0 0 12px #9aad7f55;
}
.connection.stale {
  color: var(--accent);
}
.clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4vmin;
}
.clock time {
  font-size: 1.85vmax;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.clock span {
  font-size: 0.9vmax;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.tv-content {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 3vmax;
  padding: 3.4vmin 0 3vmin;
}
.orders-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 2.8vmin;
}
.section-heading h1 {
  font-size: 3.35vmax;
  font-weight: 550;
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 1.4vmin 0 0;
}
.section-heading h1 span {
  color: #bfb5a3;
}
.order-count {
  color: var(--muted);
  font-size: 1vmax;
  padding-bottom: 0.7vmin;
}
.list-head {
  display: flex;
  justify-content: space-between;
  color: #a69a8c;
  font-size: 0.78vmax;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line);
  padding: 0.8vmin 0 1.8vmin;
}
.order-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.order-card {
  flex: 1;
  min-height: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.4vmin 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9vmin;
  animation: arrive 0.5s ease-out;
}
.order-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1vmax;
}
.customer {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  gap: 0.55vmax;
}
.order-number {
  font-size: 1.1vmax;
  color: #bfb5a3;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.method-badge {
  flex-shrink: 0;
  margin-left: auto;
  font-size: clamp(8px, 0.68vmax, 26px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  padding: 0.12em 0.6em;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  max-width: 13vmax;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.method-badge.pickup {
  color: #efd5a8;
  border-color: #795b2e;
  background: #c0903a18;
}
.method-badge.delivery {
  color: #b7d5e4;
  border-color: #496572;
  background: #83b2ca12;
}
.customer-name {
  font-size: 1.5vmax;
  letter-spacing: -0.02em;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.milestone-track {
  display: flex;
  gap: 0.35vmax;
  height: 3.2vmin;
  min-height: 18px;
  flex-shrink: 0;
}
.milestone-segment {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #3e3020;
  overflow: hidden;
  border-radius: 3px;
}
.milestone-segment i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  background: var(--accent);
}
.confirmed .milestone-segment i {
  background: #bfb5a3;
}
.ready .milestone-segment i {
  background: var(--success);
}
.milestone-segment.active i {
  transform: scaleX(1);
}
.milestone-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35vmax;
  color: #1a1610;
  font-size: clamp(8px, 0.77vmax, 30px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  visibility: hidden;
}
.milestone-segment.active .milestone-text {
  visibility: visible;
}
.orders-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vmax;
  padding-top: 2vmin;
  color: var(--muted);
  font-size: 0.85vmax;
}
.page-dots {
  display: flex;
  gap: 5px;
}
.page-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a5040;
}
.page-dots i.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}
.empty-orders {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2vmin;
}
.empty-orders h2 {
  font-size: 2vmax;
  font-weight: 500;
  margin: 0;
}
.empty-orders p {
  color: var(--muted);
  font-size: 1.2vmax;
  max-width: 32vmax;
  margin: 0;
}
.feature-panel {
  border: 1px solid #5a5040;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #2c2418;
}
.feature-media {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #1a1610;
}
.feature-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0007 0%,
    transparent 35%,
    #1a1610e8 100%
  );
}
#promo-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.feature-top {
  position: absolute;
  left: 2vmax;
  right: 2vmax;
  top: 2.6vmin;
  display: flex;
  justify-content: space-between;
  gap: 1vmax;
  align-items: center;
}
.feature-tag {
  font-size: 0.75vmax;
  letter-spacing: 0.13em;
  border: 1px solid #ffffff70;
  padding: 0.75vmin 0.6vmax;
  background: #1a16104d;
}
.video-counter {
  font-size: 0.65vmax;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 5px #000;
}
.feature-copy {
  position: absolute;
  left: 2.4vmax;
  right: 2vmax;
  bottom: 5.2vmin;
}
.feature-copy h2 {
  font-size: 3.4vmax;
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 1.5vmin 0 2vmin;
}
.feature-copy p {
  font-size: 1vmax;
  margin: 0;
  color: #f8f4ee;
}
.feature-copy .eyebrow {
  font-size: 0.8vmax;
}
.feature-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 12vmin;
  padding: 2.3vmin 2.3vmax;
}
.feature-bottom .eyebrow {
  font-size: 0.7vmax;
  color: #bfb5a3;
  display: block;
  margin-bottom: 1.1vmin;
}
.feature-bottom strong {
  font-size: 1.4vmax;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.brand-mark {
  color: var(--accent);
  font-size: 3vmax;
}
.video-progress {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: #ffffff20;
}
.video-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: var(--accent);
}
.tv-footer {
  height: 8vmin;
  min-height: 45px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.2vmax;
}
.footer-icon {
  font-size: 1.9vmax;
  color: var(--accent);
}
.tv-footer p {
  font-size: 1.06vmax;
  color: #bfb5a3;
  flex: 1;
  margin: 0;
}
.footer-site {
  font-size: 0.9vmax;
  letter-spacing: 0.17em;
  color: #bfb5a3;
}
.demo-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: #7a5418;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 4px;
  color: white;
}
.identify-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #1a1610f2;
  animation: arrive 0.4s ease-out;
}
.identify-card {
  text-align: center;
  padding: 5vmin 6vmax;
  border: 0.4vmax solid var(--accent);
  border-radius: 2vmax;
  background: #2c2418;
}
.identify-card .eyebrow {
  font-size: 2vmax;
}
.identify-card strong {
  display: block;
  font-family: Outfit, Manrope, sans-serif;
  font-size: 8vmax;
  line-height: 1.05;
  margin: 2vmin 0;
}
.identify-card p {
  font-size: 2.4vmax;
  color: var(--muted);
  margin: 0;
}
.pair-overlay {
  position: fixed;
  inset: 0;
  /* Above the slides behind it (their copy has its own stacking). */
  z-index: 30;
  background: #1a1610ed;
  display: grid;
  place-items: center;
  padding: 30px;
}
.pair-card {
  width: min(880px, 92vw);
  background: #2c2418;
  border: 1px solid #5a5040;
  border-radius: 16px;
  padding: 42px;
}
.pair-card .brand {
  width: 180px;
  margin-bottom: 35px;
}
.pair-card h1 {
  font-size: 42px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 500;
}
.pair-card p {
  color: #bfb5a3;
}
.pair-card input {
  font-size: 32px;
  letter-spacing: 0.35em;
  text-align: center;
  margin-bottom: 18px;
}
.pair-card button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}
.pair-card small {
  color: var(--muted);
  font-size: 14px;
}
#pair-error {
  color: #ffc3af;
  font-size: 15px;
  min-height: 20px;
}
/* Two ways to pair: the code this screen shows (added from Showroom Control,
   from anywhere) and a code typed on the screen. */
.pair-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 8px 0 14px;
}
.pair-show,
.pair-type {
  display: flex;
  flex-direction: column;
}
.pair-show p,
.pair-type p {
  margin-top: 0;
}
.screen-code {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
  margin: 4px 0 10px;
}
.pair-show small {
  overflow-wrap: anywhere;
}
/* Tall screens (tablets): one column. */
@media (orientation: portrait) {
  .pair-ways {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Control panel */
.admin-body {
  background: #1a1610;
  min-height: 100vh;
  font-size: 16px;
}
.admin-header {
  height: 88px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
  background: #1a1610;
}
.admin-header .brand {
  width: 156px;
}
.admin-header span {
  font-size: 15px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.admin-header a {
  margin-left: auto;
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}
.admin-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 32px 80px;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.admin-title h1 {
  font-size: 32px;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  font-weight: 550;
}
.admin-title p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.secondary {
  background: #3e3020;
  color: #f8f4ee;
  border: 1px solid #5a5040;
}
.danger {
  color: #ffc3af;
  background: #372623;
}
.small-button {
  padding: 9px 12px;
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs button {
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 0 0 15px;
  font-size: 16px;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.panel {
  background: #2c2418;
  border: 1px solid #3e3020;
  border-radius: 12px;
  padding: 26px;
}
.panel h2 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.panel > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.field {
  margin: 0 0 20px;
}
.field small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 7px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.check-label {
  font-size: 15px;
  color: var(--text);
}
.upload-zone {
  border: 1px dashed #8a7e6f;
  padding: 24px;
  background: #1a1610;
  border-radius: 9px;
  margin-bottom: 20px;
}
.upload-zone p {
  font-size: 14px;
  color: var(--muted);
}
.upload-zone input {
  font-size: 14px;
}
.upload-zone label {
  font-size: 17px;
  color: var(--text);
}
.upload-meter {
  height: 6px;
  border: 0;
  border-radius: 4px;
  width: 100%;
  accent-color: var(--accent);
  margin: 14px 0;
}
.playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #1a1610;
  border: 1px solid #3e3020;
  border-radius: 8px;
}
.video-icon {
  width: 45px;
  height: 45px;
  background: #3e3020;
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 8px;
}
.video-info {
  flex: 1;
  min-width: 0;
}
.video-info strong {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.video-info small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.item-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.item-actions button {
  padding: 7px 10px;
  font-size: 14px;
}
.empty {
  color: var(--muted);
  padding: 24px 0;
  line-height: 1.5;
}
.status-box {
  background: #1a1610;
  border: 1px solid #5a5040;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 22px;
}
.status-box strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.status-box p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.mini-preview {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1a1610;
  border: 1px solid #5a5040;
  border-radius: 8px;
  position: relative;
  text-decoration: none;
  margin-bottom: 20px;
}
.mini-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.mini-preview span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.mini-preview b {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.pair-code {
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin: 16px 0;
}
.screen-row {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.screen-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.login {
  max-width: 480px;
  margin: 10vh auto;
  padding: 36px;
}
.login h1 {
  font-size: 29px;
  font-weight: 500;
  margin: 0 0 16px;
}
.login p {
  font-size: 15px;
  color: var(--muted);
}
.login button {
  width: 100%;
  margin-top: 18px;
}
.notice {
  padding: 14px 18px;
  color: var(--accent);
  background: #3e2810;
  border: 1px solid #c0903a;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 450px;
  background: #d1e3d7;
  color: #10271a;
  padding: 16px 24px;
  border-radius: 9px;
  box-shadow: 0 4px 30px #0005;
  z-index: 20;
}
.toast.error {
  background: #ffcfb9;
  color: #532410;
}
.text-link {
  color: var(--accent);
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.connection-table {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.connection-table code {
  overflow-wrap: anywhere;
  color: #f8f4ee;
}
.screen-url {
  font-size: 14px;
  overflow-wrap: anywhere;
  color: var(--accent);
}
@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    padding: 28px 20px;
  }
  .admin-header {
    padding: 0 20px;
    gap: 14px;
  }
  .admin-header span {
    padding-left: 14px;
  }
  .item-actions {
    max-width: 120px;
  }
  .admin-title {
    gap: 15px;
  }
  .admin-title h1 {
    font-size: 28px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .admin-header span {
    display: none;
  }
  .admin-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel {
    padding: 20px;
  }
  .tabs {
    gap: 18px;
  }
  .tabs button {
    font-size: 15px;
  }
  .playlist-item {
    flex-wrap: wrap;
  }
  .playlist-item { display: grid; grid-template-columns: 1fr; }
  .playlist-item .video-icon { display: none; }
  .playlist-item .item-actions { width: 100%; }
}
.order-card.preparing .milestone-segment:nth-child(2).active i:after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff6, transparent);
  animation: glow 3s linear infinite;
  will-change: transform;
}
.crm-sign-in {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.crm-sign-in summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 15px;
  margin: 20px 0;
}
.crm-sign-in h3 {
  font-size: 16px;
  font-weight: 500;
}
.crm-sign-in .field {
  margin-bottom: 14px;
}
/* Android TV commonly exposes 960×540 CSS pixels on a 1080p output. */
@media (max-height: 650px) {
  .pair-overlay {
    padding: 20px;
  }
  .pair-card {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px 30px;
  }
  .pair-card .brand {
    width: 135px;
    margin-bottom: 16px;
  }
  .pair-card .eyebrow {
    font-size: 12px;
  }
  .pair-card h1 {
    font-size: 30px;
    margin: 10px 0;
  }
  .pair-card h1 br {
    display: none;
  }
  .pair-ways {
    gap: 28px;
    margin: 4px 0 8px;
  }
  .screen-code {
    font-size: 40px;
    margin: 0 0 6px;
  }
  .pair-card p {
    font-size: 14px;
    margin: 12px 0;
  }
  .pair-card input {
    font-size: 24px;
    padding: 8px 12px;
    margin-bottom: 12px;
  }
  .pair-card button {
    font-size: 16px;
    padding: 12px 18px;
  }
  .pair-card small {
    font-size: 12px;
  }
  .pair-card #pair-error:empty {
    min-height: 0;
    margin: 8px 0;
  }
}
/* Randomized showroom promotion cards, scaled for the TCL's 960×540 viewport. */
#promotion-panel { border-color: #5a4930; }
.promotion-slide { position: absolute; inset: 9vmin 2.2vmax 2.5vmin; display: flex; flex-direction: column; justify-content: center; }
.promotion-copy { position: relative; z-index: 1; }
.promotion-copy .eyebrow { font-size: .8vmax; line-height: 1.5; letter-spacing: .15em; }
.promotion-copy h2 { font-size: 3.5vmax; line-height: 1.06; font-weight: 500; letter-spacing: -.04em; margin: 1.7vmin 0 2vmin; overflow-wrap: anywhere; }
.promotion-copy p { font-size: 1.22vmax; line-height: 1.55; max-width: 31vmax; margin: 0; color: var(--text); }
.promotion-copy small { display: block; font-size: .77vmax; line-height: 1.55; color: var(--muted); margin-top: 2vmin; }
.promotion-copy small:empty { display: none; }
#promo-offer { display: block; color: var(--accent); font-family: Outfit, sans-serif; font-size: 6.2vmax; line-height: 1; letter-spacing: -.065em; margin-top: 2vmin; }
#promotion-panel .feature-bottom { min-height: 18vmin; gap: 1.5vmax; padding: 1.6vmin 2.2vmax; border-top: 1px solid var(--line); }
#promotion-panel .feature-bottom > div:first-child { flex: 1; min-width: 0; }
#promotion-panel .feature-bottom strong { font-size: 1.35vmax; line-height: 1.35; display: block; }
#promotion-panel .feature-bottom .eyebrow { font-size: .64vmax; line-height: 1.5; }
.promotion-qr { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: .65vmin; }
.promotion-qr img { width: 8.8vmax; height: 8.8vmax; max-height: 13.7vmin; max-width: 13.7vmin; background: white; border-radius: 3px; }
.promotion-qr span { font-size: .72vmax; color: var(--text); text-align: center; }
#promotion-panel[data-kind="welcome"] .feature-shade,
#promotion-panel[data-kind="shop"] .feature-shade,
#promotion-panel[data-kind="thanks"] .feature-shade { background: linear-gradient(180deg, #1a161055, #1a1610bb 30%, #1a1610f5); }
#promotion-panel[data-kind="account"] .feature-media,
#promotion-panel[data-kind="loyalty"] .feature-media,
#promotion-panel[data-kind="wholesale"] .feature-media,
#promotion-panel[data-kind="pro"] .feature-media { background: radial-gradient(ellipse at 100% 0%, #72512355, transparent 70%), #211b12; }
#promotion-panel[data-kind="wholesale"] h2, #promotion-panel[data-kind="pro"] h2 { font-size: 2.35vmax; }
#promotion-panel[data-kind="thanks"] .promotion-copy h2 { font-size: 3.25vmax; }
#promotion-panel[data-kind="thanks"] .promotion-copy p { color: var(--accent); font: 500 2.7vmax Outfit, sans-serif; }
#promotion-panel[data-kind="thanks"] .brand-mark { font-size: 5vmax; }
#promotion-panel[data-product] .feature-media { background: #f8f4ee; color: #1a1610; }
#promotion-panel[data-product] .feature-shade { display: none; }
#promotion-panel[data-product] .feature-tag { color: #6c4b1c; border-color: #b7a98d; background: transparent; }
#promotion-panel[data-product] .video-counter { color: #725123; text-shadow: none; }
#promotion-panel[data-product] .promotion-slide { inset: 8.3vmin 2.2vmax 2vmin; justify-content: flex-end; gap: 1.6vmin; }
.product-visual { position: relative; min-height: 0; flex: 1; background: white; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 1.3vmin 1vmax; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-price { position: absolute; bottom: 1.3vmin; right: 1vmax; padding: .6vmin .8vmax; border-radius: 3px; background: #1a1610; color: #f8f4ee; font: 500 2.1vmax Outfit, sans-serif; }
#promotion-panel[data-product] .promotion-copy .eyebrow { font-size: .66vmax; color: #725123; }
#promotion-panel[data-product] h2 { font-size: 1.65vmax; line-height: 1.18; margin: .6vmin 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
#promotion-panel[data-product] .promotion-copy p { font-size: .86vmax; color: #615640; }
#promotion-panel[data-product] .promotion-copy small { font-size: .65vmax; margin-top: .6vmin; color: #615640; }
#review-stars { width: 24vmax; height: auto; margin: 2.8vmin 0 .7vmin; }
#promotion-panel[data-kind="review"] .feature-media { background: radial-gradient(ellipse at 100% 0%, #72512355, transparent 70%), #211b12; }
#promotion-panel[data-kind="review"] h2 { font-size: 3vmax; }

/* A separately paired screen can devote its whole canvas to the collection. */
.screen-mode { width: auto; max-width: 260px; margin-left: auto; }
.video-info .screen-mode { display: block; width: 100%; max-width: 320px; margin: 8px 0 0; }
.tablet-status { color: var(--muted); }
.tablet-status.online { color: #9fd59a; }
.item-actions .approve { color: var(--ink, #1b160f); background: var(--accent); }
.promotions-only .tv-content { grid-template-columns: minmax(0, 1fr); gap: 0; }
.promotions-only .orders-panel { display: none; }
.promotions-only #promotion-panel { border-radius: 1.2vmax; }
.promotions-only .feature-top { left: 3.1vmax; right: 3.1vmax; top: 2.4vmin; }
.promotions-only .feature-tag { font-size: .85vmax; padding: .8vmin .8vmax; }
.promotions-only .video-counter { font-size: .8vmax; }
.promotions-only .promotion-slide { inset: 9vmin 3.1vmax 3vmin; }
.promotions-only .promotion-copy { max-width: 65vmax; }
.promotions-only .promotion-copy .eyebrow { font-size: 1vmax; }
.promotions-only #promotion-panel h2 { font-size: 4.5vmax; line-height: 1.07; margin: 1.4vmin 0 2vmin; max-width: 69vmax; }
.promotions-only .promotion-copy p { font-size: 1.65vmax; line-height: 1.5; max-width: 62vmax; }
.promotions-only .promotion-copy small { font-size: .95vmax; margin-top: 1.5vmin; }
.promotions-only #promotion-panel .feature-shade { background: linear-gradient(90deg, #1a1610eb, #1a1610b0 50%, #1a161035); }
.promotions-only #promotion-panel .feature-bottom { min-height: 17vmin; padding: 1.5vmin 3.1vmax; gap: 3vmax; background: #292116; }
.promotions-only #promotion-panel .feature-bottom strong { font-size: 1.75vmax; }
.promotions-only #promotion-panel .feature-bottom .eyebrow { font-size: .85vmax; }
.promotions-only .promotion-qr { flex-direction: row; gap: 1.2vmax; }
.promotions-only .promotion-qr img { width: 12vmin; height: 12vmin; max-width: none; max-height: none; }
.promotions-only .promotion-qr span { font-size: 1.1vmax; max-width: 12vmax; text-align: left; }
.promotions-only #promotion-panel #promo-offer { font-size: 6vmax; line-height: 1; margin-top: 1.3vmin; }
.promotions-only #promotion-panel[data-kind="wholesale"] h2, .promotions-only #promotion-panel[data-kind="pro"] h2 { font-size: 3.3vmax; }
.promotions-only #review-stars { width: 26vmax; margin: 1.6vmin 0 .5vmin; }
.promotions-only #promotion-panel[data-kind="review"] h2 { font-size: 4vmax; max-width: 60vmax; }
.promotions-only #promotion-panel[data-product] .feature-media { background: #f8f4ee; }
.promotions-only #promotion-panel[data-product] .promotion-slide { inset: 8vmin 3.1vmax 2.8vmin; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3vmax; }
.promotions-only #promotion-panel[data-product] .product-visual { height: 100%; min-height: 0; padding: 1.3vmin 1.3vmax; }
.promotions-only #promotion-panel[data-product] .promotion-copy { min-width: 0; }
.promotions-only #promotion-panel[data-product] h2 { font-size: 2.65vmax; line-height: 1.16; -webkit-line-clamp: 4; margin: 1.2vmin 0; }
.promotions-only #promotion-panel[data-product] .promotion-copy .eyebrow { font-size: .9vmax; }
.promotions-only #promotion-panel[data-product] .promotion-copy p { font-size: 1.15vmax; }
.promotions-only #promotion-panel[data-product] .promotion-copy small { font-size: .88vmax; margin-top: 2vmin; }
.promotions-only .product-price { font-size: 2.5vmax; padding: .8vmin 1vmax; }
.promotions-only #promotion-panel[data-kind="video"] .feature-top { display: none; }
.promotions-only #promotion-panel[data-kind="video"] { position: fixed; inset: 0; z-index: 20; border: 0; border-radius: 0; }
.promotions-only #promotion-panel[data-kind="video"] .feature-bottom { display: none; }
@media (max-aspect-ratio: 1/1) {
  .screen-row { flex-wrap: wrap; }
  .screen-mode { width: 100%; max-width: none; order: 1; }
}

/* The RS launch has its own warm gallery treatment and prominent arrival badge. */
#promotion-panel[data-kind="arrival"] { border-color: #c0903a; box-shadow: 0 0 0 1px #c0903a55; }
#promotion-panel[data-kind="arrival"] .feature-media { background: linear-gradient(135deg, #f7efe3, #ead8bc); }
#promotion-panel[data-kind="arrival"] .video-counter { color: #211b12; background: #d8af66; font-weight: 700; letter-spacing: .1em; padding: .7vmin .65vmax; border-radius: 3px; }
#promotion-panel[data-kind="arrival"] .promotion-slide { inset: 8.3vmin 1.7vmax 1.8vmin; gap: 1.2vmin; }
#promotion-panel[data-kind="arrival"] .product-visual { padding: 0; background: #e9e2d8; border: 1px solid #c8ad85; }
#promotion-panel[data-kind="arrival"] .promotion-copy .eyebrow { font-size: .67vmax; color: #78521f; letter-spacing: .2em; }
#promotion-panel[data-kind="arrival"] h2 { font-size: 2.2vmax; line-height: 1.08; font-weight: 500; margin: .6vmin 0; }
#promotion-panel[data-kind="arrival"] .promotion-copy p { font-size: .95vmax; color: #53442f; }
#promotion-panel[data-kind="arrival"] .promotion-copy small { font-size: .62vmax; line-height: 1.4; margin-top: .7vmin; color: #61533d; }
#promotion-panel[data-kind="arrival"] .feature-bottom { border-color: #c0903a; }
#promotion-panel[data-kind="arrival"] .feature-bottom strong { font-size: 1.25vmax; }
.promotions-only #promotion-panel[data-kind="arrival"] .promotion-slide { inset: 8.3vmin 3.1vmax 2.8vmin; grid-template-columns: 1.15fr 1fr; gap: 3.5vmax; }
.promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy .eyebrow { font-size: 1vmax; }
.promotions-only #promotion-panel[data-kind="arrival"] h2 { font-size: 4vmax; line-height: 1.08; margin: 1.7vmin 0; -webkit-line-clamp: 3; }
.promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy p { font-size: 1.4vmax; line-height: 1.5; }
.promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy small { font-size: .85vmax; line-height: 1.6; margin-top: 3vmin; max-width: 30vmax; }
.promotions-only #promotion-panel[data-kind="arrival"] .feature-bottom strong { font-size: 1.75vmax; }

/* PoliLED Pro portal slides (front desk TV): gold frame and badge, benefit list, large QR and address. */
#promotion-panel[data-kind="pro-portal"] { border-color: var(--accent); box-shadow: 0 0 0 1px #c0903a66, 0 0 2.4vmax #c0903a26; }
#promotion-panel[data-kind="pro-portal"] .feature-media { background: radial-gradient(ellipse at 100% 0%, #c0903a3d, transparent 62%), radial-gradient(ellipse at 0% 100%, #7251233b, transparent 60%), #1d170f; }
#promotion-panel[data-kind="pro-portal"] .video-counter { color: #211b12; background: #d8af66; font-weight: 800; letter-spacing: .16em; padding: .7vmin .65vmax; border-radius: 3px; text-shadow: none; }
#promotion-panel[data-kind="pro-portal"] .promotion-slide { inset: 8.4vmin 2.2vmax 2.2vmin; }
#promotion-panel[data-kind="pro-portal"] .promotion-copy .eyebrow { color: var(--accent); }
#promotion-panel[data-kind="pro-portal"] h2 { font-size: 2.65vmax; margin: 1vmin 0 2.2vmin; }
#promotion-panel[data-kind="pro-portal"] .promotion-copy p:empty { display: none; }
#promotion-panel[data-kind="pro-portal"] .promotion-copy small { margin-top: 1.7vmin; }
.promo-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6vmin; }
.promo-points[hidden] { display: none; }
.promo-points li { position: relative; padding-left: 1.85vmax; font-size: 1.27vmax; line-height: 1.38; color: var(--text); animation: arrive .5s ease-out both; }
.promo-points li:nth-child(2) { animation-delay: .15s; }
.promo-points li:nth-child(3) { animation-delay: .3s; }
.promo-points li::before { content: ""; position: absolute; left: .32vmax; top: .2em; width: .42vmax; height: .8vmax; border: solid var(--accent); border-width: 0 .2vmax .2vmax 0; transform: rotate(45deg); }
.promo-points b { color: var(--accent); font-weight: 700; }
.promo-points.numbered li { padding-left: 2.7vmax; }
.promo-points.numbered li::before { display: none; }
.promo-points.numbered b { position: absolute; left: 0; top: -.1em; width: 1.9vmax; height: 1.9vmax; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1a1610; font: 700 1.05vmax Outfit, sans-serif; }
#promotion-panel[data-kind="pro-portal"] .feature-bottom { min-height: 21vmin; padding: 1.4vmin 2.2vmax; border-top-color: var(--accent); background: linear-gradient(90deg, #2b2215, #3a2c17); }
#promotion-panel[data-kind="pro-portal"] .feature-bottom strong { font: 600 2.55vmax/1.1 Outfit, sans-serif; color: var(--accent); letter-spacing: -.02em; }
#promotion-panel[data-kind="pro-portal"] .promotion-qr img { width: 16.5vmin; height: 16.5vmin; max-width: none; max-height: none; }
#promotion-panel[data-kind="pro-portal"] .promotion-qr span { font-size: .78vmax; color: #e9d3a6; }

/* Portrait screens (the showroom tablets). Display sizes above use vmax/vmin, which equal vw/vh on a
   landscape TV, so TVs are unchanged; a portrait screen draws each panel at the size a landscape screen
   of the same resolution would. This block only rearranges the layout for a tall canvas. */
@media (orientation: portrait) {
  .tv { padding: 3vmin 4vmin 0; }
  .tv-header, .header-right { gap: 2.4vmin; }
  .tv-content { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.6vmin; }
  .identify-card { max-width: 90vw; padding: 4vmin 6vmin; border-width: 1vmin; border-radius: 4vmin; }
  .identify-card .eyebrow { font-size: 3.4vmin; }
  .identify-card strong { font-size: 11vmin; overflow-wrap: anywhere; }
  .identify-card p { font-size: 4vmin; }
  /* Promotions only: one tall card, photos above their text. */
  .promotions-only .tv-content { grid-template-rows: minmax(0, 1fr); }
  .promotions-only #promotion-panel .feature-shade { background: linear-gradient(180deg, #1a161066, #1a1610c8 45%, #1a1610f2); }
  .promotions-only #promotion-panel[data-product] .promotion-slide,
  .promotions-only #promotion-panel[data-kind="arrival"] .promotion-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 2.4vmin; }
  .promotions-only .promotion-qr img { width: 20vmin; height: 20vmin; }
  /* Full-width text on a tall screen: sized to the screen's width, readable at arm's length. */
  .location, .connection { font-size: 2.3vmin; }
  .clock time { font-size: 4.4vmin; }
  .clock span { font-size: 2vmin; }
  .footer-icon { font-size: 3.6vmin; }
  .tv-footer p { font-size: 2.2vmin; }
  .footer-site { font-size: 1.9vmin; }
  .promotions-only .feature-tag { font-size: 1.9vmin; padding: .8vmin 1.6vmin; }
  .promotions-only .video-counter { font-size: 1.8vmin; }
  .promotions-only .promotion-copy .eyebrow { font-size: 2.5vmin; }
  .promotions-only #promotion-panel h2 { font-size: 9.6vmin; }
  .promotions-only .promotion-copy p { font-size: 4.3vmin; }
  .promotions-only .promotion-copy small { font-size: 2.6vmin; }
  .promotions-only #promotion-panel #promo-offer { font-size: 17vmin; }
  .promotions-only #promotion-panel[data-kind="wholesale"] h2, .promotions-only #promotion-panel[data-kind="pro"] h2 { font-size: 8.4vmin; }
  .promotions-only #review-stars { width: 58vmin; }
  .promotions-only #promotion-panel[data-kind="review"] h2 { font-size: 8.8vmin; max-width: none; }
  .promotions-only #promotion-panel .feature-bottom .eyebrow { font-size: 2.1vmin; }
  .promotions-only #promotion-panel .feature-bottom strong { font-size: 4vmin; }
  .promotions-only .promotion-qr { flex-direction: column; gap: 1vmin; }
  .promotions-only .promotion-qr span { font-size: 2.3vmin; max-width: 26vmin; text-align: center; }
  .promotions-only #promotion-panel[data-product] .promotion-copy .eyebrow,
  .promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy .eyebrow { font-size: 2.3vmin; }
  .promotions-only #promotion-panel[data-product] h2 { font-size: 6vmin; }
  .promotions-only #promotion-panel[data-kind="arrival"] h2 { font-size: 7.6vmin; }
  .promotions-only #promotion-panel[data-product] .promotion-copy p,
  .promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy p { font-size: 3.2vmin; }
  .promotions-only #promotion-panel[data-product] .promotion-copy small,
  .promotions-only #promotion-panel[data-kind="arrival"] .promotion-copy small { font-size: 2.3vmin; max-width: none; }
  .promotions-only .product-price { font-size: 5vmin; padding: 1vmin 1.8vmin; }
}

/* Showroom Control: screen cards (one per TV, one for the tablets). */
.section-intro { color: var(--muted); font-size: 15px; margin: 0 0 22px; max-width: 760px; }
.screen-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr)); gap: 24px; margin-bottom: 24px; }
.screen-card { display: flex; flex-direction: column; gap: 18px; }
.screen-head { display: flex; gap: 18px; align-items: center; }
.screen-id { min-width: 0; }
.screen-id h3 { font-size: 24px; margin: 4px 0 6px; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.screen-type { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.screen-status { font-size: 14px; color: var(--muted); }
.screen-status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #7a6f60; margin-right: 8px; vertical-align: 1px; }
.screen-status.online { color: #b8dcb2; }
.screen-status.online::before { background: #79c46f; box-shadow: 0 0 0 3px #79c46f33; }
.screen-what { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.screen-foot { color: var(--muted); font-size: 13px; }
/* Small drawings of what each kind of screen looks like. */
.screen-thumb { flex: none; width: 112px; height: 63px; border-radius: 7px; border: 2px solid #5a5040; background: #1a1610; padding: 5px; display: flex; gap: 4px; }
.screen-thumb span { border-radius: 3px; }
.thumb-orders .rows { flex: 1.25; background: repeating-linear-gradient(#5a5040 0 7px, transparent 7px 11px); }
.thumb-orders .side { flex: 1; background: linear-gradient(160deg, #c0903a, #6b4c1c); }
.thumb-promotions .full { flex: 1; background: linear-gradient(160deg, #c0903a, #6b4c1c); }
.thumb-tablets { width: 63px; border: 0; background: none; padding: 0; gap: 6px; justify-content: center; }
.thumb-tablets .tab { width: 27px; height: 100%; border: 2px solid #5a5040; border-radius: 5px; background: linear-gradient(160deg, #c0903a, #6b4c1c); }
.screen-thumb.thumb-portrait { width: 40px; flex-direction: column; margin: 0 36px; }
.screen-videos { border-top: 1px solid var(--line); padding-top: 16px; }
.screen-videos-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.screen-videos-head h4, .tablet-devices h4 { margin: 0; font-size: 15px; font-weight: 650; }
.add-videos { background: var(--accent); color: #1a1610; border-color: var(--accent); }
.video-rows { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.video-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #1a1610; border: 1px solid var(--line); border-radius: 8px; }
.video-index { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #3e3020; color: var(--accent); font-size: 13px; font-weight: 700; }
.video-row .item-actions { flex: none; }
.cadence-select { display: block; width: auto; max-width: 100%; margin-top: 8px; padding: 7px 10px; font-size: 14px; }
.fit-note { color: #e6b973 !important; }
.screen-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.screen-actions .screen-mode { margin-left: 0; width: auto; padding: 9px 12px; font-size: 14px; }
.screen-actions .identify { background: #3e3020; color: var(--accent); border-color: var(--accent); }
.tablet-devices { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.tablet-devices .screen-row:first-of-type { border-top: 0; }
.add-screen { max-width: 760px; }
.add-screen .field-row { margin-top: 8px; }
#new-screen-fields { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
#new-screen-fields.replacing { opacity: 0.45; }
#claim-code { text-transform: uppercase; letter-spacing: 0.12em; font-size: 20px; }
#claim-code::placeholder { text-transform: none; letter-spacing: normal; }
.pair-other { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 6px; }
.pair-other p { font-size: 14px; color: var(--muted); }
.screen-location { color: var(--muted); font-size: 13px; }
/* Video library */
.library { display: grid; gap: 12px; }
.library-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #1a1610; border: 1px solid var(--line); border-radius: 8px; }
.target-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.chips-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.chip { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: transparent; color: var(--muted); border: 1px dashed #6d6150; }
.chip.on { background: #3e3020; color: var(--text); border: 1px solid var(--accent); }
.target-field { border: 0; padding: 0; }
.target-field legend { font-size: 14px; color: var(--muted); margin-bottom: 9px; padding: 0; }
.target-checks { display: grid; gap: 10px; }
.target-checks .check-label { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.target-checks input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0 4px 0 0; align-self: center; }
.target-checks small { color: var(--muted); font-size: 13px; }
/* Settings: live orders status */
.crm-status { background: #1a1610; border: 1px solid var(--line); border-radius: 9px; padding: 16px 18px; margin-bottom: 16px; }
.crm-status p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.crm-headline { display: block; font-size: 16px; }
.crm-headline::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.dot-on::before { background: #79c46f; box-shadow: 0 0 0 3px #79c46f33; }
.dot-warn::before { background: #e0a43d; }
.dot-off::before { background: #e0705a; }
.crm-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 14px; }
.crm-facts dt { color: var(--muted); }
.crm-facts dd { margin: 0; overflow-wrap: anywhere; }
.crm-section { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.crm-section h3 { font-size: 17px; margin: 0 0 12px; }
.advanced { margin-top: 18px; font-size: 14px; }
.advanced summary { cursor: pointer; color: var(--muted); margin-bottom: 12px; }
/* Add-videos dialog */
.picker { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: #2c2418; color: var(--text); border: 1px solid #5a5040; border-radius: 12px; padding: 26px; }
.picker::backdrop { background: #0d0b08cc; }
.picker h2 { margin: 0 0 8px; font-size: 21px; }
.picker-hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.picker-list { display: grid; gap: 8px; margin-bottom: 18px; }
.picker-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0; border: 1px solid var(--line); border-radius: 8px; background: #1a1610; cursor: pointer; }
.picker-item:has(input:checked) { border-color: var(--accent); }
.picker-item input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.picker-item strong { color: var(--text); }
.picker-upload { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.picker-upload a { color: var(--accent); }
@media (max-width: 600px) {
  .screen-head { align-items: flex-start; }
  .screen-thumb { width: 84px; height: 47px; }
  .thumb-tablets { width: 47px; }
  .screen-thumb.thumb-portrait { width: 30px; margin: 0 27px; }
  .video-row { flex-wrap: wrap; }
  .video-row .video-info { flex-basis: calc(100% - 40px); }
  .video-row .item-actions { margin-left: 40px; max-width: none; }
  .library-item { flex-direction: column; }
  .library-item .item-actions { max-width: none; }
  .screen-actions .screen-mode { flex-basis: 100%; }
}
.screen-mode-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; color: var(--muted); }
.screen-mode-row .screen-mode { margin: 0; width: auto; padding: 9px 12px; font-size: 14px; }
.screen-mode-row + .screen-actions { border-top: 0; padding-top: 0; }
.screen-actions .danger { margin-left: auto; }
.picker-list { max-height: min(46vh, 440px); overflow-y: auto; padding-right: 4px; }
@media (max-width: 900px) {
  .tablet-devices .item-actions, .video-row .item-actions { max-width: none; }
}
