/* Styles for the screen, sign-in, pairing and publication workflows. The workspace palette is in app.css. */
.rb-workspace .side .nav-toggle { min-height:42px; }
.rb-workspace .rollout-filters { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto; gap:12px; align-items:end; margin-block-end:16px; }
.rb-workspace .rollout-filters .field, .rb-workspace .rollout-status-form .field { margin:0; min-width:0; }
.rb-workspace .rollout-filters .field > span, .rb-workspace .rollout-status-form .field > span { display:block; margin-block-end:6px; font-weight:600; }
.rb-workspace .rollout-filters .inp, .rb-workspace .rollout-status-form .inp { width:100%; min-height:44px; }
.rb-workspace .staff-rollout-table td:first-child { min-inline-size:164px; }
.rb-workspace .rollout-company { color:var(--lav); font-weight:650; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:3px; }
.rb-workspace .rollout-ref { display:block; margin-block-start:4px; overflow-wrap:anywhere; }
.rb-workspace .rollout-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; margin-block-start:14px; }
.rb-workspace .staff-rollout-detail .spec b { overflow-wrap:anywhere; }
@media (max-width:600px) {
 .rb-workspace .staff-rollout-detail .spec > div:has(a[href^="mailto:"],.rollout-email-alert) { grid-column:1 / -1; }
}
.rb-workspace .rollout-notes { margin-block:18px; padding-block:14px; border-block:1px solid var(--line); }
.rb-workspace .rollout-notes h2 { margin:0 0 8px; font-size:1rem; }
.rb-workspace .rollout-notes p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.rb-workspace .rollout-status-form { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin-block-start:14px; }
.rb-workspace .rollout-status-form .field { flex:1 1 180px; max-inline-size:280px; }
.staff-rollout-order { margin-block-start:14px; }
.staff-rollout-order p { margin:8px 0; overflow-wrap:anywhere; }
.staff-rollout-order details { border-block-start:1px solid var(--line); padding-block-start:12px; margin-block-start:12px; }
.staff-rollout-order summary { font-weight:600; cursor:pointer; }
.staff-fulfillment-summary { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-block:12px; }
.staff-fulfillment-summary > span { color:var(--mut); }
.staff-fulfillment-row { justify-content:space-between; align-items:flex-start; min-height:56px; }
.staff-fulfillment-row .t { min-width:0; overflow-wrap:anywhere; }
.staff-fulfillment-count { text-align:end; flex:none; }
.staff-fulfillment-count small { display:block; color:var(--mut); }
.staff-fulfillment-pages { margin-block-start:12px; flex-wrap:wrap; }
.staff-preorder-shipment { margin-block-end:14px; }
.staff-preorder-shipment .sec-t { justify-content:space-between; flex-wrap:wrap; }
.staff-preorder-shipment .btn { margin-block-start:10px; }
:is(.staff-preorder-shipment,.staff-preorder-details) .spec { grid-template-columns:repeat(2,minmax(0,1fr)); }
:is(.staff-preorder-shipment,.staff-preorder-details) .spec b,
.staff-preorder-details .li .t { overflow-wrap:anywhere; }
.staff-dispatch-form .row { align-items:flex-start; gap:8px; }
.staff-dispatch-form input[type=checkbox] { flex:none; margin-block-start:4px; }

.rollout-order-controls, .rollout-order-record { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:end; }
.staff-allocation .rollout-order-controls[hidden] { display:none; }
.rollout-order-controls .field { flex:1 1 170px; min-width:0; margin:0; }
.rollout-order-controls .inp { min-height:44px; width:100%; }
.rollout-order-controls .btn { min-height:44px; }
.rollout-order-record { align-items:center; }
.rollout-order-record a { text-decoration:underline; text-underline-offset:3px; }
@media (max-width:630px) {
  .rb-workspace .rollout-filters { grid-template-columns:minmax(0,1fr); }
}
.rb-workspace .view .screen-card[hidden], .rb-workspace .screen-no-match[hidden] { display:none; }
.rb-workspace .screen-toolbar {
  display:grid;
  grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(155px,1fr) auto;
  align-items:end;
  gap:12px;
  margin:12px 0 20px;
  padding:14px 0 10px;
  border-block:1px solid var(--line);
}
.rb-workspace .screen-toolbar label { display:block; margin-bottom:5px; color:var(--muted); font-size:12px; font-weight:600; }
.rb-workspace .screen-toolbar .inp { width:100%; min-width:0; background:var(--card); }
.rb-workspace .screen-toolbar .btn { min-height:42px; }
.rb-workspace .screen-filter-result { grid-column:1/-1; margin:0; color:var(--muted); font-size:12px; }
.rb-workspace .screen-no-match { padding:20px 0; }
.rb-workspace .live-auth { background:var(--night); }
.rb-workspace .live-auth .card { background:var(--card); border-color:var(--line2); box-shadow:0 18px 54px -38px #000; }
@media (max-width: 1050px) {
  .rb-workspace .screen-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .rb-workspace .view .ph h1 { font-size:1.55rem; }
  .rb-workspace .screen-toolbar { gap:9px; }
  .rb-workspace .screen-toolbar > div:first-child { grid-column:1/-1; }
  .rb-workspace .screen-toolbar .btn { justify-self:start; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-workspace .btn, .rb-workspace .nav-toggle { transition:none; }
}

.rb-workspace .screen-awaiting-pair { display:grid; place-content:center; justify-items:center; gap:8px; background:var(--plum); color:var(--light); }
.rb-workspace .screen-location:hover .scr { transform:none; box-shadow:none; }
.rb-workspace .screen-awaiting-pair .i-monitor { width:27px; height:27px; }
.rb-workspace .screen-location { display:flex; flex-direction:column; gap:9px; padding:12px; }
.rb-workspace .screen-location-title, .rb-workspace .screen-location-preview { display:block; color:inherit; text-decoration:none; }
.rb-workspace .screen-location-title:hover b { text-decoration:underline; text-underline-offset:3px; }
.rb-workspace .screen-location .meta, .rb-workspace .screen-location .sub { padding:0; }
.rb-workspace .screen-location-actions { display:flex; align-items:center; flex-wrap:wrap; gap:5px 10px; }
.rb-workspace .screen-location-actions small { font-size:11px; }
.rb-workspace .screen-location-preview { margin-top:auto; border-radius:8px; }
.rb-workspace .screen-location .scr { border-radius:8px; }
.rb-workspace #screen-delete-confirm { background:#C8304A; color:#fff; }
@media (max-width:900px) {
  .rb-workspace .view:has(.screen-toolbar) { padding-bottom:96px; }
}
@media (max-width:520px) {
  .rb-workspace .screen-toolbar { margin-block:6px 12px; padding-block:8px; }
  .rb-workspace .screen-toolbar .inp { min-height:40px; }
  .rb-workspace .screen-location-actions .btn { min-height:44px; }
  .rb-workspace .screen-delete-dialog .mf .btn { min-height:44px; }
}

.rb-workspace .pair-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  list-style:none;
  max-width:960px;
  padding:0;
  margin:0 0 18px;
  color:var(--muted);
}
.rb-workspace .pair-steps li {
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:2px solid var(--line);
  padding:0 0 10px;
  font-size:.875rem;
}
.rb-workspace .pair-steps li[aria-current] { border-color:var(--violet); color:var(--light); font-weight:700; }
.rb-workspace .pair-steps li span {
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  flex:none;
  border:1px solid var(--line2);
  border-radius:50%;
}
.rb-workspace .pair-layout {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
  max-width:960px;
}
.rb-workspace .pair-task, .rb-workspace .pair-guide, .rb-workspace .pair-complete { padding:22px; }
.rb-workspace .pair-layout h2, .rb-workspace .pair-complete h2 { font-size:1.25rem; margin:0 0 10px; }
.rb-workspace .pair-task fieldset { padding:0; margin:0; border:0; min-width:0; }
.rb-workspace .pair-task .field small { margin-top:6px; }
.rb-workspace .pair-task .btn, .rb-workspace .pair-complete .btn { min-height:44px; }
.rb-workspace .pair-task .lv-code { text-align:start; }
.rb-workspace .pair-match { display:none; }
.rb-workspace .pair-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.rb-workspace .pair-notice {
  color:var(--light);
  background:var(--plum);
  border:1px solid var(--line2);
  border-radius:8px;
  padding:10px 12px;
  margin:12px 0;
}
.rb-workspace .pair-notice[hidden] { display:none; }
.rb-workspace .pair-tv {
  display:grid;
  justify-items:center;
  gap:6px;
  padding:16px;
  margin-bottom:14px;
  background:var(--plum);
  color:var(--light);
  border-radius:8px;
}
.rb-workspace .pair-tv b { font-family:ui-monospace,Consolas,monospace; font-size:1.35rem; letter-spacing:.08em; }
.rb-workspace .pair-device { margin:0; }
.rb-workspace .pair-device > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; padding:8px 0; border-bottom:1px solid var(--line); }
.rb-workspace .pair-device dt { color:var(--muted); }
.rb-workspace .pair-device dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.rb-workspace .pair-complete { max-width:620px; }
.rb-workspace .pair-success-icon { display:grid; place-items:center; width:42px; height:42px; background:var(--plum); color:var(--violet); border-radius:50%; margin-bottom:10px; }
@media (max-width:720px) {
  .rb-workspace .view:has(.pair-steps) { padding-bottom:96px; }
  .rb-workspace .pair-layout { grid-template-columns:minmax(0,1fr); gap:12px; }
  .rb-workspace .pair-match { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; margin:0 0 12px; font-size:.875rem; }
  .rb-workspace .pair-match b { color:var(--light); }
  .rb-workspace .pair-task, .rb-workspace .pair-guide, .rb-workspace .pair-complete { padding:15px; }
  .rb-workspace .pair-steps li { gap:5px; font-size:.75rem; }
  .rb-workspace .pair-steps li span { width:20px; height:20px; }
}

.rb-workspace .lv-auth {
  min-height:calc(100dvh - 60px);
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  background:var(--night);
}
html.rb-workspace .lv-auth .fpane {
  background:var(--night);
  padding:26px clamp(24px,5vw,76px) 32px;
}
.rb-workspace .lv-auth .auth-top { display:flex; align-items:center; gap:8px; }
.rb-workspace .lv-auth .auth-top .sp { flex:1; }
.rb-workspace .lv-auth .fpane .in { max-width:480px; margin:auto; padding-block:32px; animation:none; }
.rb-workspace .lv-auth h1 { font-size:2rem; line-height:1.2; margin:16px 0 0; }
.rb-workspace .lv-auth .sub { margin:8px 0 20px; }
.rb-workspace .lv-auth fieldset { margin:0; padding:0; border:0; min-width:0; }
.rb-workspace .lv-auth .field { margin-bottom:13px; }
.rb-workspace .lv-auth .field [hidden], .rb-workspace .lv-auth [hidden] { display:none; }
.rb-workspace .team-join { grid-template-columns:minmax(0,1fr); }
.rb-workspace .team-join .fpane .in { width:min(100%,480px); }
.rb-workspace .team-join-details { margin:16px 0 20px; border-block:1px solid var(--line); }
.rb-workspace .team-join-details div { padding-block:9px; }
.rb-workspace .team-join-details dt { color:var(--muted); font-size:.85rem; }
.rb-workspace .team-join-details dd { margin:2px 0 0; overflow-wrap:anywhere; font-weight:600; }
.rb-workspace .team-actions { display:flex; flex-wrap:wrap; gap:6px; }
.rb-workspace .team-scope { display:block; margin-block-start:2px; }
.rb-workspace .team-pending { margin-block-start:24px; }
.rb-workspace .team-pending h2 { font-size:1.125rem; margin:0 0 8px; }
.rb-workspace .auth-switch, .rb-workspace .auth-kind { display:flex; gap:8px; }
.rb-workspace .auth-switch { border-bottom:1px solid var(--line); }
.rb-workspace .auth-switch button, .rb-workspace .auth-kind button {
  min-height:44px;
  padding:6px 12px;
  background:transparent;
  color:var(--muted);
  border:1px solid transparent;
  font:600 .875rem var(--font);
  cursor:pointer;
}
.rb-workspace .auth-switch button[aria-pressed="true"] { border-bottom-color:var(--violet); color:var(--light); }
.rb-workspace .auth-kind button { border-color:var(--line2); border-radius:8px; }
.rb-workspace .auth-kind button[aria-pressed="true"] { background:var(--plum); border-color:var(--violet); color:var(--light); }
.rb-workspace .auth-switch button:disabled, .rb-workspace .auth-kind button:disabled { opacity:.6; cursor:default; }
.rb-workspace .auth-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.rb-workspace .auth-fields:has([hidden]) { grid-template-columns:minmax(0,1fr); }
.rb-workspace .auth-password { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
.rb-workspace .auth-password .btn { min-height:44px; }
.rb-workspace .lv-auth .inp { width:100%; min-height:44px; }
.rb-workspace .auth-alert { margin:10px 0; padding:9px 12px; border:1px solid var(--line2); border-radius:8px; background:var(--plum); }
.rb-workspace .auth-support { display:inline-block; margin-top:18px; color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.rb-workspace .auth-recover { display:block; min-height:44px; margin-block:4px 10px; padding:0; border:0; background:none; color:var(--lav); font:inherit; text-align:start; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
html.rb-workspace[data-theme=light] .auth-recover { color:#4c2fc2; }
.rb-workspace .password-recovery .btn { min-height:44px; }
.rb-workspace .password-recovery .in > .btn { margin-top:14px; }
.rb-workspace .auth-email { margin:0 0 12px; font-weight:600; overflow-wrap:anywhere; }
.rb-workspace .auth-google #lvGoogle { min-width:0; }
.rb-workspace .auth-google #lvGoogleRetry { margin-top:8px; min-height:44px; }
.rb-workspace .auth-google #lvGoogleStatus { margin:0; font-size:.875rem; }
.rb-workspace .auth-place {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:22px;
  min-width:0;
  margin:14px;
  padding:clamp(22px,4vw,56px);
  background:var(--plum);
  color:var(--light);
  border-radius:12px;
}
.rb-workspace .auth-place figure { margin:0; }
.rb-workspace .auth-photo {
  background:#2a1b4d url("img/meeting-room.webp") center center / cover no-repeat;
  aspect-ratio:4/3;
  border-radius:8px;
}
.rb-workspace .auth-place figcaption { margin-top:8px; color:var(--muted); font-size:.75rem; }
.rb-workspace .auth-place figcaption a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.rb-workspace .auth-place-copy h2 { font-size:1.5rem; line-height:1.25; margin:0 0 8px; }
.rb-workspace .auth-place-copy p { max-width:48ch; color:var(--muted); margin:0; }
@media (max-width:850px) {
  .rb-workspace .lv-auth { grid-template-columns:minmax(0,1fr); }
  .rb-workspace .auth-place { display:none; }
  html.rb-workspace .lv-auth .fpane { padding:18px 16px 22px; }
  .rb-workspace .lv-auth .fpane .in { margin:20px auto 0; padding-block:0; }
  .rb-workspace .lv-auth h1 { font-size:1.6rem; }
}
@media (max-width:390px) {
  .rb-workspace .auth-fields { grid-template-columns:minmax(0,1fr); gap:0; }
}

.rb-workspace .workspace-setup {
  display:grid;
  grid-template-columns:minmax(240px,1fr) minmax(260px,1.25fr);
  gap:24px;
  margin-bottom:18px;
  padding:20px;
}
.rb-workspace .workspace-setup h2,
.rb-workspace .device-workspace h2,
.rb-workspace .screen-target h2,
.rb-workspace .playlist-index h2 { margin:0; font-size:1.2rem; }
.rb-workspace .workspace-setup-next p { margin:8px 0 14px; max-width:42ch; }
.rb-workspace .workspace-setup-next .btn { min-height:44px; }
.rb-workspace .starter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rb-workspace .starter { display:flex; flex-direction:column; gap:8px; min-width:0; }
.rb-workspace .starter .tv { padding:4px; border-radius:12px; }
.rb-workspace .starter .tv .scr { border-radius:8px; }
.rb-workspace .starter > b { font-size:.9rem; line-height:1.35; overflow-wrap:anywhere; }
.rb-workspace .starter > .btn { margin-top:auto; min-height:40px; justify-content:center; }
.rb-workspace .starter-own { margin:12px 0 0; font-size:.9rem; }
@media (max-width:640px) { .rb-workspace .starter-grid { grid-template-columns:minmax(0,1fr); } }
.rb-workspace .workspace-setup-steps { list-style:none; padding:0; margin:0; }
.rb-workspace .workspace-setup-steps li {
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--line);
}
.rb-workspace .workspace-setup-steps li:last-child { border-bottom:0; }
.rb-workspace .workspace-setup-steps li[aria-current="step"] { font-weight:700; }
.rb-workspace .workspace-setup-steps small { display:block; font-weight:400; }
.rb-workspace .workspace-step-number {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:none;
  border:1px solid var(--line2);
  border-radius:50%;
}
.rb-workspace [aria-current="step"] .workspace-step-number { color:var(--violet); border-color:var(--violet); }
.rb-workspace .playlist-index-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px 18px;
  flex-wrap:wrap;
}
.rb-workspace .screen-target-list { display:grid; gap:9px; }
.rb-workspace .screen-target details { margin:0 0 12px; }
.rb-workspace .screen-target summary { cursor:pointer; color:var(--muted); font-weight:600; }
.rb-workspace .screen-target .screen-toolbar { margin:8px 0 0; }
.rb-workspace .screen-target .screen-target-row { flex-flow:row wrap; align-items:center; justify-content:space-between; gap:8px 16px; }
.rb-workspace .screen-target-row h2 { overflow-wrap:anywhere; }
.rb-workspace .screen-target-row .badge { margin-top:5px; }
.rb-workspace .screen-target p,
.rb-workspace .playlist-index p { margin:4px 0 0; overflow-wrap:anywhere; }
.rb-workspace .playlist-index { display:grid; gap:10px; }
.rb-workspace .playlist-index h2 { overflow-wrap:anywhere; }
.rb-workspace .playlist-index-actions,
.rb-workspace .media-playlist-actions,
.rb-workspace .device-command-list,
.rb-workspace .device-report-actions,
.rb-workspace .device-preview-controls {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.rb-workspace .media-playlist-actions .btn { height:auto; min-height:36px; white-space:normal; }
.rb-workspace .device-tile-media { background:var(--plum); }
.rb-workspace .device-tile-media img { display:block; width:100%; height:100%; object-fit:contain; }
.rb-workspace .device-workspace {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.rb-workspace .device-playlist,
.rb-workspace .device-report,
.rb-workspace .device-settings { padding:18px; }
.rb-workspace .device-workspace p { margin:7px 0 12px; }
.rb-workspace .device-setting {
  display:grid;
  gap:7px;
  padding:10px 0;
  margin-bottom:14px;
  border-block:1px solid var(--line);
  overflow-wrap:anywhere;
}
.rb-workspace .device-setting > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; }
.rb-workspace .device-setting .device-setting-report { display:none; }
.rb-workspace .device-setting span { color:var(--muted); }
.rb-workspace .device-playlist-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.rb-workspace .device-playlist-actions p { flex:1 1 210px; margin:0; }
.rb-workspace .device-report .device-report-title { font-size:1.125rem; font-weight:700; overflow-wrap:anywhere; }
.rb-workspace .device-preview { margin:14px 0; }
.rb-workspace .device-preview-label { display:flex; justify-content:space-between; gap:8px; margin-bottom:6px; }
.rb-workspace .device-preview-frame {
  display:grid;
  place-items:center;
  aspect-ratio:var(--device-ratio);
  background:var(--plum);
  color:var(--light);
  border-radius:8px;
  overflow:hidden;
  max-width:440px;
  margin-inline:auto;
}
.rb-workspace .device-preview-frame.portrait { max-width:min(100%,calc(var(--device-ratio) * 250px)); }
.rb-workspace .device-preview-frame img, .rb-workspace .device-preview-frame video { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.rb-workspace .device-preview-frame p { margin:0; padding:12px; text-align:center; overflow-wrap:anywhere; }
.rb-workspace .device-preview-text { padding:12px; text-align:center; overflow-wrap:anywhere; }
.rb-workspace .device-preview-text p { padding:0; }
.rb-workspace .device-preview-text small { display:block; margin-block-start:8px; color:var(--muted); }

.rb-workspace .playlist-dialog { display:flex; flex-direction:column; }
.rb-workspace .playlist-dialog .mb { min-height:0; overflow-y:auto; }
.rb-workspace .playlist-dialog .mf {
  flex:none; padding-block-start:12px; border-block-start:1px solid var(--line);
}
.rb-workspace .playlist-editor { display:grid; gap:18px; }
.rb-workspace .playlist-editor .field { margin:0; }
.rb-workspace .playlist-editor h4,
.rb-workspace .playlist-example summary { margin:0; font-size:1rem; font-weight:700; }
.rb-workspace .playlist-editor p { margin:4px 0 0; max-inline-size:68ch; }
.rb-workspace .playlist-editor-default { display:flex; align-items:center; gap:10px; min-height:32px; }
.rb-workspace .playlist-editor input[type="checkbox"] { inline-size:18px; block-size:18px; flex:none; accent-color:var(--violet); }
.rb-workspace .playlist-source-list { margin-block-start:8px; border-block-start:1px solid var(--line); }
.rb-workspace .playlist-source-row {
  display:grid; grid-template-columns:minmax(0,1fr) 76px; align-items:center;
  gap:12px; padding-block:8px; border-block-end:1px solid var(--line);
}
.rb-workspace .playlist-source-choice { min-width:0; display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; }
.rb-workspace .playlist-source-choice img { width:56px; aspect-ratio:16 / 9; object-fit:contain; flex:none; background:var(--card2); border-radius:4px; }
.rb-workspace .playlist-source-choice span { min-width:0; flex:1; overflow-wrap:anywhere; }
.rb-workspace .playlist-source-choice bdi { font-weight:650; }
.rb-workspace .playlist-source-choice small { display:block; margin-block-start:2px; }
.rb-workspace .playlist-source-duration { display:grid; gap:4px; font-size:12px; color:var(--muted); }
.rb-workspace .playlist-source-duration input { width:100%; min-width:0; }
.rb-workspace .playlist-source-actions { display:flex; flex-wrap:wrap; gap:8px; margin-block-start:8px; }
.rb-workspace .playlist-example { padding-block-start:12px; border-block-start:1px solid var(--line); }
.rb-workspace .playlist-example summary { cursor:pointer; min-height:32px; }
.rb-workspace .playlist-editor .playlist-save-notice { padding:10px 12px; border:1px solid var(--line2); border-radius:8px; background:var(--card2); }
@media (max-width:480px) {
  .rb-workspace .playlist-dialog .mh,
  .rb-workspace .playlist-dialog .mb,
  .rb-workspace .playlist-dialog .mf { padding-inline:14px; }
  .rb-workspace .playlist-source-row { grid-template-columns:minmax(0,1fr) 66px; gap:8px; }
  .rb-workspace .playlist-source-choice { gap:7px; }
  .rb-workspace .playlist-source-choice img { width:40px; }
  .rb-workspace .playlist-source-actions .btn { min-height:44px; }
}
.rb-workspace .device-preview-controls { margin-top:8px; }
.rb-workspace .device-playlist .btn, .rb-workspace .device-report .btn { min-height:44px; }
.rb-workspace .device-playlist-status {
  border:1px solid var(--line2);
  border-radius:8px;
  background:var(--plum);
  padding:9px 12px;
  scroll-margin-bottom:96px;
}
.rb-workspace .device-playlist-status[hidden] { display:none; }
.rb-workspace .device-playlist-status.is-error { border-color:var(--bad); }
.rb-workspace .device-settings { grid-column:1/-1; }
.rb-workspace .device-settings summary { cursor:pointer; padding:3px 0; font-weight:700; }
.rb-workspace .device-settings[open] summary { margin-bottom:14px; }
.rb-workspace .device-info { margin:16px 0; }
.rb-workspace .device-info .spec { margin-bottom:8px; }
.rb-workspace .device-settings-actions { display:flex; flex-wrap:wrap; align-items:end; gap:8px; }
.rb-workspace .device-settings-actions .field { margin:0; }
@media (max-width:900px) {
  .rb-workspace .device-workspace { grid-template-columns:minmax(0,1fr); }
  .rb-workspace .view:has(.device-workspace) { padding-bottom:96px; }
  .rb-workspace .device-setting .device-setting-report { display:flex; }
  .rb-workspace .device-preview-frame.portrait { max-width:min(100%,calc(var(--device-ratio) * 200px)); }
}
@media (max-width:650px) {
  .rb-workspace .workspace-setup { grid-template-columns:minmax(0,1fr); gap:12px; padding:14px; }
  .rb-workspace .device-playlist, .rb-workspace .device-report, .rb-workspace .device-settings { padding:13px; }
  .rb-workspace .screen-target .btn, .rb-workspace .playlist-index-actions .btn { min-height:44px; }
}

.po-launch { display:grid; gap:14px; }
.po-launch .mst { margin:0; }
.po-launch-window { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:12px 24px; }
.po-launch-window form { display:flex; flex-wrap:wrap; align-items:end; gap:8px; }
.po-launch-window .field { margin:0; }
.po-launch-window :is(.inp,.btn) { min-height:44px; }
.po-launch-window input { color-scheme:dark; }
html[data-theme="light"] .po-launch-window input { color-scheme:light; }
.po-launch p { margin:0; }
.po-launch-value { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; }
.po-launch-value > strong { font-size:clamp(23px,3vw,35px); }
.po-money { white-space:nowrap; }
.po-launch-target progress { display:block; width:100%; height:9px; margin:12px 0; accent-color:var(--violet); }
.po-launch-table { min-width:0; }
.po-launch-table .r1-tw:focus-visible { outline:2px solid var(--violet); outline-offset:2px; }
.po-launch-table .r1-tw .tbl { min-width:0; }
.po-launch-table .tbl :is(td,th) { white-space:nowrap; }
.po-launch-table .tbl :is(td,th):not(:first-child) { direction:inherit; text-align:end; }
.po-launch-groups .tbl :is(td,th):first-child { min-width:8rem; white-space:normal; }
.po-launch-qualifications .tbl th { white-space:normal; }
.po-launch .po-group-note { margin-block-start:12px; }
.staff-allocation { max-width:920px; }
.staff-allocation-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:8px 0 20px; column-gap:24px; }
.staff-allocation-summary > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; padding-block:10px; border-block-end:1px solid var(--line); }
.staff-allocation-summary dt { color:var(--muted); }
.staff-allocation-summary dd { margin:0; font-weight:650; font-variant-numeric:tabular-nums; }
.staff-allocation #sPoCapacityUnits { max-width:16rem; }
.staff-allocation .row { min-height:36px; align-items:center; gap:8px; }
@media (max-width:450px) {
  .staff-allocation-summary { grid-template-columns:minmax(0,1fr); }
  .po-launch .mst { grid-template-columns:minmax(0,1fr); gap:8px; }
  .po-launch-table .tbl :is(td,th) { padding-inline:3px; }
  .po-launch-table .tbl td { font-size:12px; }
  .po-launch-groups .tbl :is(td,th):first-child { min-width:7rem; }
  .po-launch-groups .tbl th:nth-child(3) { white-space:normal; }
}

/* Mobile journeys: task navigation and progressive disclosure. */
.mobile-workspace { display:flex; align-items:center; gap:8px; min-width:0; max-width:65%; border:0; background:none; padding:4px 0; text-align:start; cursor:pointer; }
.mobile-workspace > span:not(.av) { min-width:0; }
.mobile-workspace small { display:block; color:var(--muted); font-size:11px; }
.mobile-workspace b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.mobile-workspace .av { width:30px; height:30px; flex:none; display:grid; place-items:center; border-radius:9px; background:var(--violet); }
.mobile-workspace > svg { width:14px; height:14px; flex:none; }
.mobile-menu-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.mobile-menu-shortcuts .btn { min-height:44px; }
.mobile-workspace-name { padding-block:8px 18px; font-weight:650; overflow-wrap:anywhere; }
.home-shortcuts { display:none; }
.home-screens { margin-bottom:16px; }
.home-insights > summary, .screen-filters > summary { min-height:48px; padding:12px 0; font-weight:600; cursor:pointer; }
.home-insights > summary { margin-bottom:12px; border-bottom:1px solid var(--line); }
.screen-filters > summary svg { display:inline-block; vertical-align:middle; width:18px; height:18px; margin-inline:6px; }
.screen-filters .screen-toolbar { margin-top:0; border-top:0; }
.screen-preview-disclosure { margin-top:auto; }
.screen-preview-disclosure > summary { min-height:44px; padding-block:10px; font-size:13px; cursor:pointer; color:var(--muted); }
.screen-preview-disclosure[open] > summary { margin-bottom:6px; }
[dir=ltr] .home-shortcuts a:last-child > svg:last-child { transform:rotate(180deg); }
@media (max-width:900px) {
 .rb-workspace .mobile-top { gap:8px; padding-inline:14px; }
 .rb-workspace .mobile-top :is(.iconbtn,.i18n-lang) { min-width:44px; min-height:44px; }
 .rb-workspace .mobile-top .sp { display:none; }
 .rb-workspace .mobile-workspace { flex:1; max-width:none; margin-inline-end:auto; min-height:48px; }
 .rb-workspace .mobile-top .brand { margin-inline-end:auto; }
 .rb-workspace .mobile-jobs { gap:2px; background:var(--night); grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); }
 .rb-workspace .mobile-jobs :is(a,button) { min-width:0; min-height:52px; padding:6px 2px; border-radius:10px; font-size:11px; color:var(--muted); }
 .rb-workspace .mobile-jobs .on { background:var(--plum); color:var(--light); font-weight:650; }
 .rb-workspace .mobile-jobs span { white-space:nowrap; }
 .rb-workspace .view { padding:18px 16px calc(96px + env(safe-area-inset-bottom)); }
 .rb-workspace .view :is(.btn,.inp) { min-height:44px; }
 .rb-workspace .view :is(input,select,textarea).inp { font-size:16px; }
 .rb-workspace .home-shortcuts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin-bottom:20px; padding-block:4px 16px; border-bottom:1px solid var(--line); }
 .home-heading.is-setup .acts, .home-screens.is-empty { display:none; }
 .home-shortcuts a { display:flex; flex-wrap:wrap; align-items:center; gap:5px 8px; min-height:44px; font-size:13px; }
 .home-shortcuts a:first-child { border-inline-end:1px solid var(--line); }
 .home-shortcuts b { font-size:17px; color:var(--light); }
 .home-shortcuts svg { width:18px; height:18px; }
 .home-screens .li { display:grid; grid-template-columns:34px minmax(0,1fr); gap:7px 10px; padding-block:14px; }
 .home-screens .li > .t { overflow-wrap:anywhere; }
 .home-screens .li > .badge { grid-column:2; justify-self:start; }
 .home-insights .mst { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .screen-filters { border-block:1px solid var(--line); margin-bottom:16px; }
 .screen-filters .screen-toolbar { margin-bottom:4px; }
 .rb-workspace .screen-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
 .rb-workspace .screen-location .meta { align-items:flex-start; flex-wrap:wrap; gap:8px; }
 .rb-workspace .screen-location .meta b { overflow-wrap:anywhere; }
 .rb-workspace .screen-location-actions small { font-size:13px; line-height:1.6; }
 .rb-workspace .screen-location-preview .scr { max-height:160px; }
 .rb-workspace .starter-grid { grid-template-columns:minmax(0,1fr); }
 .rb-workspace .starter { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:8px 12px; }
 .rb-workspace .starter .tv { grid-row:1/3; width:96px; }
 .rb-workspace .starter .btn { width:100%; margin:0; }
 .rb-workspace .starter > b { margin:0; }
 .rb-workspace .workspace-setup-steps { display:flex; gap:8px; justify-content:space-between; border-top:1px solid var(--line); padding-top:12px; }
 .rb-workspace .workspace-setup-steps li { flex:1; min-width:0; flex-direction:column; align-items:flex-start; gap:6px; font-size:12px; border:0; }
 .rb-workspace .workspace-setup-steps small { display:none; }
 .rb-workspace .legal-links { padding-bottom:calc(90px + env(safe-area-inset-bottom)); }
}
