:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-raised: rgba(18, 20, 26, 0.9);
  --bg-field: rgba(8, 9, 13, 0.88);
  --surface-top: rgba(255, 255, 255, 0.08);
  --surface-bottom: rgba(255, 255, 255, 0.025);
  --surface-border: rgba(255, 255, 255, 0.09);
  --surface-separator: rgba(255, 255, 255, 0.06);
  --field-border: rgba(255, 255, 255, 0.1);
  --field-fill: rgba(255, 255, 255, 0.04);
  --text: #f5f7fb;
  --text-secondary: rgba(245, 247, 251, 0.72);
  --text-tertiary: rgba(245, 247, 251, 0.46);
  --accent: #0a84ff;
  --accent-bright: #45a4ff;
  --accent-soft: rgba(10, 132, 255, 0.16);
  --danger: #ff453a;
  --danger-soft: rgba(255, 69, 58, 0.16);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.22);
  --shadow-accent: 0 12px 26px rgba(10, 132, 255, 0.22);
  --radius-xl: 18px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(10, 132, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%),
    var(--bg);
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

body {
  overflow: hidden;
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
}

button,
.cep-tab,
.cep-toggle,
.cep-export-button,
.cep-open-button,
.cep-folder-button,
.cep-github,
.button,
.icon-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none;
}

.cep-shell {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: transparent;
}

.cep-overlay-root {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: none;
  pointer-events: none;
}

.cep-content {
  height: 100%;
  min-height: 100%;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cep-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.cep-view-pane {
  min-height: 100%;
}

.cep-view::-webkit-scrollbar,
.error-box::-webkit-scrollbar {
  width: 10px;
}

.cep-view::-webkit-scrollbar-track,
.error-box::-webkit-scrollbar-track {
  background: transparent;
}

.cep-view::-webkit-scrollbar-thumb,
.error-box::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.notification.is-success {
  border-color: rgba(52, 199, 89, 0.22);
  background: linear-gradient(180deg, rgba(52, 199, 89, 0.12), rgba(255, 255, 255, 0.02));
}

.notification.is-error {
  border-color: rgba(255, 69, 58, 0.24);
  background: linear-gradient(180deg, rgba(255, 69, 58, 0.12), rgba(255, 255, 255, 0.02));
}

.notification.is-info {
  border-color: rgba(10, 132, 255, 0.24);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cep-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--surface-border);
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(13, 15, 21, 0.78);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cep-tab {
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.cep-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  filter: brightness(1.05);
}

.cep-tab.is-active {
  color: var(--accent-bright);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cep-tab.is-active .cep-icon {
  color: var(--accent-bright);
}

.cep-tab-text {
  font-size: 12.5px;
  font-weight: 600;
}

.cep-dashboard,
.cep-settings {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.cep-settings-card {
  padding: 12px;
}

.cep-surface-card {
  position: relative;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, var(--surface-top), var(--surface-bottom)),
    var(--bg-raised);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 16px;
}
.cep-controls-card {
  overflow: visible;
  z-index: 2;
  padding: 10px 12px;
}

.cep-metrics-card {
  margin-top: -1px;
}

.cep-controls-card.is-export-open {
  z-index: 4;
}

.cep-surface-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cep-surface-header-tight {
  margin-bottom: 12px;
}

.cep-surface-header-compact {
  margin-bottom: 10px;
}

.cep-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

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

.cep-section-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cep-section-overline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cep-section-title {
  font-size: 21px;
  line-height: 1.08;
  font-weight: 650;
  color: var(--text);
}

.cep-section-title-small {
  font-size: 16px;
  line-height: 1.16;
}

.cep-section-caption {
  font-size: 12px;
  color: var(--text-secondary);
}

.cep-surface-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cep-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cep-surface-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
}

.cep-surface-title-compact {
  font-size: 15px;
}

.cep-surface-subtitle {
  font-size: 11.5px;
  color: var(--text-secondary);
  max-width: 220px;
}

.cep-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.cep-status-chip.is-active {
  border-color: rgba(10, 132, 255, 0.34);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.18), rgba(10, 132, 255, 0.08));
  color: #e7f2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cep-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cep-toolbar-simple {
  min-height: 40px;
}

.cep-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cep-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cep-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: filter 160ms ease;
}

.cep-toggle:hover {
  filter: brightness(1.06);
}

.cep-toggle-track {
  width: 44px;
  height: 24px;
  display: block;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.cep-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5f7fb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  transition: left 220ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 220ms ease, box-shadow 220ms ease;
}

.cep-toggle.is-enabled .cep-toggle-track {
  border-color: rgba(10, 132, 255, 0.5);
  background: linear-gradient(180deg, rgba(69, 164, 255, 0.95), rgba(10, 132, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(10, 132, 255, 0.08);
}

.cep-toggle.is-enabled .cep-toggle-thumb {
  background: #ffffff;
  left: 22px;
}

.cep-toggle-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.cep-toggle-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
}

.cep-toggle-state-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cep-toggle-status {
  min-width: 28px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cep-toggle-status.is-on {
  color: #ffeceb;
  background: linear-gradient(180deg, rgba(255, 69, 58, 0.2), rgba(255, 69, 58, 0.12));
  border-color: rgba(255, 69, 58, 0.32);
}

.cep-toggle-status.is-off {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.cep-recording-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.5);
  animation: recordingPulse 1.4s ease-out infinite;
}

.cep-recording-indicator.is-idle {
  background: rgba(245, 247, 251, 0.36);
  box-shadow: none;
  animation: none;
}

.cep-export-button {
  min-width: 102px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(10, 132, 255, 0.46);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.cep-export-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cep-export-button.is-disabled,
.cep-export-button:disabled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-tertiary);
  box-shadow: none;
  filter: none;
}

.cep-export-button-text {
  letter-spacing: 0.01em;
}

.cep-export-progress {
  min-width: 136px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cep-export-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 11px;
}

.cep-card-divider {
  height: 1px;
  margin: 8px 0 0;
  background: var(--surface-separator);
}

.cep-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cep-last-export-card {
  margin-top: auto;
}

.cep-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.cep-metric-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 118px;
  flex: 0 0 118px;
}

.cep-metric-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(69, 164, 255, 0.2), rgba(10, 132, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #edf6ff;
}

.cep-metric-glyph {
  color: var(--accent-bright);
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-rendering: geometricPrecision;
}

.cep-metric-glyph-image {
  font-size: 12px;
}

.cep-metric-glyph-open {
  font-size: 12px;
}

.cep-metric-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.cep-metric-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.cep-row-control {
  width: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cep-row-spacer {
  width: 34px;
  height: 34px;
}

.cep-metric-field {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--bg-field);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 4px 16px rgba(0, 0, 0, 0.16);
}

.cep-metric-field.is-clickable {
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.cep-metric-field.is-clickable:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-field);
  transform: translateY(-1px);
}

.cep-metric-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 600;
}

.cep-metric-value-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cep-metric-subvalue {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cep-open-button,
.cep-folder-button {
  width: auto;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.cep-open-button:hover,
.cep-folder-button:hover,
.cep-open-button:focus,
.cep-folder-button:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cep-open-button.is-disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.cep-metric-trailing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: rgba(237, 246, 255, 0.78);
}

.cep-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.cep-github {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.9;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cep-github:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.cep-folder-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cep-setting-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cep-folder-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cep-folder-field-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.cep-folder-field {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--bg-field);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 4px 16px rgba(0, 0, 0, 0.16);
}

.cep-tooltip-anchor {
  position: relative;
}

.cep-tooltip-anchor::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  max-width: 240px;
  padding: 7px 9px;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  background: rgba(10, 11, 16, 0.98);
  color: var(--text);
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 50;
}

.cep-tooltip-anchor:hover::after,
.cep-tooltip-anchor:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.cep-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.cep-settings-list-spaced {
  gap: 16px;
  margin-top: 12px;
}

.cep-setting-row {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cep-setting-row + .cep-setting-row {
  border-top: 0;
}

.cep-setting-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 138px;
  flex: 0 0 138px;
}

.cep-setting-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.cep-help {
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

.cep-help-badge {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  cursor: help;
}

.cep-help-badge::after {
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
}

.cep-help-badge:hover::after,
.cep-help-badge:focus-visible::after {
  transform: translate(-50%, 0);
}

.cep-setting-picker,
.cep-export-setting-picker {
  position: relative;
  width: 114px;
  min-width: 114px;
  flex: 0 0 114px;
}

.cep-export-setting-picker {
  width: 128px;
  min-width: 128px;
}

.cep-setting-picker-button,
.cep-export-setting-button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.cep-setting-picker-button-compact {
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
}

.cep-export-setting-button {
  min-height: 38px;
  padding: 0 11px;
  font-size: 11.5px;
}

.cep-setting-picker-button:hover,
.cep-export-setting-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cep-setting-picker-value {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cep-setting-picker-arrow {
  min-width: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  flex: 0 0 auto;
}

.cep-setting-picker-arrow .cep-icon {
  width: 14px;
  height: 14px;
}

.cep-help .cep-icon {
  width: 15px;
  height: 15px;
}

.cep-setting-menu,
.cep-export-setting-menu {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: rgba(12, 12, 17, 0.98);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cep-export-setting-menu {
  top: 42px;
}

.cep-setting-option {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.cep-setting-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.cep-setting-option.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.cep-setting-option-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cep-setting-option-mark {
  display: none;
}

.button,
.icon-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.button:hover,
.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.button.is-accent {
  border-color: rgba(10, 132, 255, 0.46);
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #ffffff;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.button-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button:disabled,
.icon-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.icon-button {
  min-width: 36px;
  padding: 0;
}

.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex: 0 0 auto;
}

.cep-export-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
}

.cep-export-dialog {
  width: 220px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022)),
    var(--bg-raised);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.cep-export-dialog-header,
.cep-export-dialog-body,
.cep-export-dialog-footer {
  padding: 10px;
}

.cep-export-dialog-header {
  border-bottom: 1px solid var(--surface-separator);
}

.cep-export-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.cep-export-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cep-export-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cep-export-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 74px;
  flex: 0 0 74px;
}

.cep-export-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid var(--surface-separator);
}

.cep-export-dialog-footer .button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 11px;
}

.cep-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
  line-height: 0;
}

.cep-tab .cep-icon,
.cep-open-button .cep-icon,
.cep-folder-button .cep-icon,
.cep-metric-icon .cep-icon,
.cep-help .cep-icon,
.cep-setting-picker-arrow .cep-icon {
  color: #eef4ff;
}

.cep-tab.is-active .cep-icon {
  color: var(--accent-bright);
}

.cep-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  overflow: visible;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    var(--bg-raised);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.modal-header,
.modal-body,
.modal-footer {
  padding: 14px;
}

.modal-header {
  border-bottom: 1px solid var(--surface-separator);
}

.modal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--surface-separator);
}

.error-box {
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffd5d5;
  white-space: pre-wrap;
  word-break: break-word;
}

@keyframes tabPaneFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tabPaneSlideLeft {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

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

@keyframes tabPaneSlideRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

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

@keyframes recordingPulse {
  0% {
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(255, 69, 58, 0);
  }

  100% {
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(255, 69, 58, 0);
  }
}

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

/* Apple reference panel */

:root {
  --pxr-bg: rgba(10, 14, 28, 0.92);
  --pxr-surface: rgba(16, 22, 42, 0.82);
  --pxr-surface-hover: rgba(28, 38, 68, 0.82);
  --pxr-border: rgba(100, 140, 255, 0.12);
  --pxr-border-subtle: rgba(100, 140, 255, 0.08);
  --pxr-separator: rgba(100, 140, 255, 0.08);
  --pxr-text: #e8eaf6;
  --pxr-text-secondary: rgba(200, 210, 255, 0.62);
  --pxr-text-tertiary: rgba(200, 210, 255, 0.34);
  --pxr-accent: #0a84ff;
  --pxr-accent-soft: rgba(10, 132, 255, 0.18);
  --pxr-red: #ff453a;
  --pxr-red-soft: rgba(255, 69, 58, 0.16);
  --pxr-green: #30d158;
  --pxr-green-soft: rgba(48, 209, 88, 0.16);
  --pxr-yellow: #ffd60a;
  --pxr-shadow: 0 24px 48px rgba(0, 5, 30, 0.48);
  --pxr-radius: 18px;
  --pxr-radius-sm: 10px;
  --pxr-radius-xs: 8px;
}

html,
body {
  background:
    radial-gradient(circle at top right, rgba(30, 60, 180, 0.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(10, 40, 140, 0.16), transparent 28%),
    #080c1a;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  letter-spacing: 0;
}

.pxr-shell {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.pxr-panel {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--pxr-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--pxr-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    var(--pxr-shadow),
    0 0 60px rgba(20, 60, 200, 0.1),
    0 0 0 0.5px rgba(100, 140, 255, 0.15) inset,
    0 1px 0 rgba(100, 140, 255, 0.08) inset;
}

.pxr-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 69, 58, 0.2);
  background: linear-gradient(180deg, rgba(255, 69, 58, 0.1), rgba(16, 22, 42, 0.72));
}

.pxr-notice--success {
  border-color: rgba(48, 209, 88, 0.2);
  background: linear-gradient(180deg, rgba(48, 209, 88, 0.1), rgba(16, 22, 42, 0.72));
}

.pxr-notice--info {
  border-color: rgba(10, 132, 255, 0.2);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.1), rgba(16, 22, 42, 0.72));
}

.pxr-notice-text {
  color: var(--pxr-text);
  font-size: 12.5px;
  font-weight: 500;
}

.pxr-notice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pxr-notice-button,
.pxr-notice-close {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pxr-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.pxr-notice-close {
  min-width: 42px;
  padding: 0 14px;
  text-transform: lowercase;
}

.pxr-notice-button:hover,
.pxr-notice-close:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.pxr-segmented {
  display: flex;
  margin: 12px 14px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--pxr-border-subtle);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.pxr-segment-button {
  flex: 1 1 0;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pxr-text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.pxr-segment-button:hover {
  color: var(--pxr-text);
  filter: brightness(1.04);
}

.pxr-segment-button.is-active {
  background: rgba(255, 255, 255, 0.13);
  color: var(--pxr-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(255, 255, 255, 0.08) inset;
}

.pxr-view-frame {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 12px 14px;
}

.pxr-view-frame::-webkit-scrollbar,
.error-box::-webkit-scrollbar {
  width: 10px;
}

.pxr-view-frame::-webkit-scrollbar-thumb,
.error-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.pxr-view-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.pxr-dashboard-view,
.pxr-settings-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.pxr-rec-hero,
.pxr-group,
.cep-export-dialog {
  background: var(--pxr-surface);
  border: 1px solid var(--pxr-border-subtle);
  border-radius: var(--pxr-radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.pxr-rec-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.pxr-rec-hero.is-export-open {
  overflow: visible;
  z-index: 4;
}

.pxr-rec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pxr-rec-status {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pxr-rec-copy {
  min-width: 0;
}

.pxr-rec-status-text {
  color: var(--pxr-text);
  font-size: 13px;
  font-weight: 600;
}

.pxr-rec-status-sub {
  color: var(--pxr-text-secondary);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--pxr-red);
  box-shadow: 0 0 0 2px var(--pxr-red-soft);
  animation: pxrBreathe 2s ease-in-out infinite;
}

.pxr-rec-dot.is-idle {
  background: rgba(200, 210, 255, 0.32);
  box-shadow: none;
  animation: none;
}

.pxr-export-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--pxr-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.35), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.pxr-export-button:hover {
  background: #1a90ff;
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.45), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px);
}

.pxr-export-button.is-disabled,
.pxr-export-button:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pxr-text-tertiary);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.pxr-group {
  overflow: hidden;
}

.pxr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--pxr-separator);
  transition: background-color 120ms ease;
}

.pxr-row:last-child {
  border-bottom: none;
}

.pxr-row.is-clickable {
  cursor: pointer;
}

.pxr-row.is-clickable:hover {
  background: var(--pxr-surface-hover);
}

.pxr-row-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pxr-row-glyph {
  display: block;
  color: var(--pxr-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.pxr-row-icon--gray {
  background: rgba(255, 255, 255, 0.07);
}

.pxr-row-icon--blue {
  background: var(--pxr-accent-soft);
}

.pxr-row-icon--green {
  background: var(--pxr-green-soft);
}

.pxr-row-icon .cep-icon {
  width: 16px;
  height: 16px;
  color: var(--pxr-text);
}

.pxr-row-icon .cep-icon svg {
  width: 16px;
  height: 16px;
}

.pxr-row-main {
  min-width: 0;
  flex: 1 1 auto;
}

.pxr-row-label {
  color: var(--pxr-text);
  font-size: 14px;
  font-weight: 500;
}

.pxr-row-sublabel {
  color: var(--pxr-text-secondary);
  font-size: 12px;
  margin-top: 1px;
}

.pxr-row-value-wrap {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pxr-row-value {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pxr-text-secondary);
  font-size: 14px;
}

.pxr-row-value-text {
  white-space: nowrap;
}

.pxr-row-value-text--truncate {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-row-end-icon,
.pxr-row-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pxr-text-tertiary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.pxr-row-end-icon .cep-icon,
.pxr-row-chevron .cep-icon {
  width: 14px;
  height: 14px;
}

.pxr-settings-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pxr-section-header {
  padding: 0 4px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pxr-folder-display {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pxr-text-secondary);
  font-size: 13px;
}

.pxr-folder-display-text {
  max-width: 122px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pxr-setting-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pxr-row-value-wrap .cep-setting-picker {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.pxr-row-value-wrap .cep-setting-picker-button {
  min-height: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--pxr-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.pxr-row-value-wrap .cep-setting-picker-button:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  filter: brightness(1.06);
}

.pxr-row-value-wrap .cep-setting-picker-arrow {
  color: var(--pxr-text-tertiary);
}

.pxr-row-value-wrap .cep-setting-menu {
  top: calc(100% + 10px);
  left: auto;
  right: 0;
  min-width: 138px;
  z-index: 60;
}

/* Refined macOS-style reference pass */
html,
body {
  background:
    radial-gradient(780px 520px at 50% 112%, rgba(10, 132, 255, 0.22), transparent 62%),
    radial-gradient(620px 460px at 100% 100%, rgba(0, 80, 220, 0.14), transparent 58%),
    linear-gradient(0deg, #0d1b3a 0%, #071126 42%, #050814 100%);
  font-family: "Geist", "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  letter-spacing: 0;
}

.pxr-shell {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.pxr-panel {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(420px 300px at 50% 112%, rgba(10, 132, 255, 0.22), transparent 64%),
    radial-gradient(360px 420px at 100% 100%, rgba(28, 90, 220, 0.16), transparent 60%),
    linear-gradient(0deg, #0d1b3a 0%, #0a1328 45%, #080d1b 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.pxr-titlebar {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  flex: 0 0 auto;
}

.pxr-traffic {
  display: flex;
  gap: 8px;
}

.pxr-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.pxr-dot--red {
  background: #ff5f57;
}

.pxr-dot--yellow {
  background: #febc2e;
}

.pxr-dot--green {
  background: #28c840;
}

.pxr-titlebar-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #8a93a8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pxr-notice {
  margin: 0 10px 10px;
}

.pxr-segmented {
  margin: 12px 12px 16px;
  padding: 3px;
  display: flex;
  gap: 3px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  flex: 0 0 auto;
}

.pxr-segment-button {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 9px 0;
  border-radius: 8px;
  background: transparent;
  color: #8a93a8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.pxr-segment-button:hover:not(.is-active) {
  color: #e8ecf5;
}

.pxr-segment-button.is-active {
  background: linear-gradient(180deg, #1a2235, #161c2c);
  color: #e8ecf5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.3);
}

.pxr-view-frame {
  padding: 0 12px 12px;
}

.pxr-view-pane,
.pxr-dashboard-view,
.pxr-settings-view {
  gap: 0;
  min-height: 0;
}

.pxr-dashboard-view > .pxr-card + .pxr-card {
  margin-top: 15px;
}

.pxr-settings-view > .pxr-settings-section + .pxr-settings-section {
  margin-top: 18px;
}

.pxr-card {
  background: linear-gradient(180deg, #161c2c 0%, #1a2235 100%);
  border: 1px solid rgba(174, 182, 202, 0.22);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.pxr-rec-hero {
  position: relative;
  padding: 14px;
}

.pxr-rec-hero.is-export-open {
  overflow: visible;
  z-index: 4;
}

.pxr-recording-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pxr-recording-info {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pxr-recording-copy {
  min-width: 0;
}

.pxr-recording-title {
  color: #e8ecf5;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.pxr-recording-meta {
  color: #5a6175;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-rec-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.6);
  animation: pxrBreathe 1.6s ease-in-out infinite;
}

.pxr-rec-dot.is-idle {
  background: #5a6175;
  box-shadow: none;
  animation: none;
}

.pxr-export-button {
  min-height: 0;
  padding: 13px;
  border-radius: 11px;
  border: 1px solid rgba(106, 184, 255, 0.72);
  background: #0a84ff;
  box-shadow:
    0 0 0 1px rgba(0, 124, 255, 0.55),
    0 8px 18px rgba(0, 124, 255, 0.38),
    0 3px 7px rgba(0, 0, 0, 0.36);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  gap: 8px;
  text-shadow: 0 1px 1px rgba(0, 31, 96, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.pxr-export-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.14) brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(72, 172, 255, 0.78),
    0 11px 24px rgba(0, 124, 255, 0.5),
    0 4px 9px rgba(0, 0, 0, 0.38);
}

.pxr-export-button:active {
  transform: translateY(1px);
  box-shadow:
    0 0 0 1px rgba(0, 124, 255, 0.48),
    0 3px 8px rgba(0, 0, 0, 0.34);
}

.pxr-export-button.is-disabled,
.pxr-export-button:disabled {
  background: linear-gradient(180deg, #2a2f3d, #1a1e28);
  color: #5a6175;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pxr-info-card,
.pxr-settings-card {
  overflow: hidden;
}

.pxr-settings-card {
  overflow: visible !important;
}

.pxr-settings-section,
.pxr-settings-card.is-menu-open {
  overflow: visible !important;
}

.pxr-settings-card.is-menu-open {
  position: relative;
  z-index: 30;
}

.pxr-settings-card.is-menu-open .pxr-setting-row {
  position: relative;
  z-index: 1;
}

.pxr-settings-card.is-menu-open .pxr-setting-row.is-picker-open {
  z-index: 520;
}

.pxr-settings-card.is-menu-open .pxr-setting-row.is-tooltip-row:not(.is-picker-open) {
  z-index: 1;
}

.pxr-setting-picker-shell {
  position: relative;
  z-index: 530;
}

.pxr-info-row,
.pxr-setting-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.pxr-info-row:last-child,
.pxr-setting-row:last-child {
  border-bottom: none;
}

.pxr-info-row.is-clickable,
.pxr-setting-row.is-clickable {
  cursor: pointer;
}

.pxr-info-row.is-clickable:hover,
.pxr-setting-row.is-clickable:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pxr-info-icon,
.pxr-setting-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(74, 163, 255, 0.24), rgba(10, 132, 255, 0.09));
  border: 1px solid rgba(74, 163, 255, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64b5ff;
  flex: 0 0 auto;
  margin-right: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(10, 132, 255, 0.04);
}

.pxr-icon-glyph {
  color: #e8ecf5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.pxr-icon-letter {
  display: block;
  color: #64b5ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.pxr-icon-symbol {
  display: block;
  color: #64b5ff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.pxr-built-icon,
.pxr-built-icon span {
  box-sizing: border-box;
}

.pxr-built-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  color: #64b5ff;
}

.pxr-built-icon span {
  position: absolute;
  display: block;
}

.pxr-built-icon__sheet {
  left: 4px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.pxr-built-icon__line {
  left: 7px;
  width: 4px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.pxr-built-icon__line--one {
  top: 5px;
}

.pxr-built-icon__line--two {
  top: 9px;
}

.pxr-built-icon__cell {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
}

.pxr-built-icon__cell--a {
  left: 2px;
  top: 2px;
}

.pxr-built-icon__cell--b {
  left: 9px;
  top: 2px;
}

.pxr-built-icon__cell--c {
  left: 2px;
  top: 9px;
}

.pxr-built-icon__cell--d {
  left: 9px;
  top: 9px;
}

.pxr-built-icon__clock {
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.pxr-built-icon__hand {
  border-radius: 999px;
  background: currentColor;
}

.pxr-built-icon__hand--vertical {
  left: 7px;
  top: 5px;
  width: 2px;
  height: 5px;
}

.pxr-built-icon__hand--horizontal {
  left: 7px;
  top: 9px;
  width: 5px;
  height: 2px;
}

.pxr-icon-shape,
.pxr-icon-shape::before,
.pxr-icon-shape::after {
  box-sizing: border-box;
}

.pxr-icon-shape {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  color: #64b5ff;
}

.pxr-icon-shape::before,
.pxr-icon-shape::after {
  content: "";
  position: absolute;
}

.pxr-icon-shape--document::before {
  left: 4px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.pxr-icon-shape--document::after {
  left: 7px;
  top: 5px;
  width: 4px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor;
}

.pxr-icon-shape--frames::before {
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 1.5px;
  background: currentColor;
  box-shadow:
    6px 0 0 currentColor,
    0 6px 0 currentColor,
    6px 6px 0 currentColor;
}

.pxr-icon-shape--frames::after {
  display: none;
}

.pxr-icon-shape--time::before,
.pxr-icon-shape--idle::before {
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.pxr-icon-shape--time::after,
.pxr-icon-shape--idle::after {
  left: 7px;
  top: 4px;
  width: 6px;
  height: 7px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) 0 5px / 6px 2px no-repeat;
}

.pxr-icon-shape--folder::before {
  left: 1px;
  top: 4px;
  width: 12px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2.5px;
}

.pxr-icon-shape--folder::after {
  left: 3px;
  top: 2px;
  width: 5px;
  height: 3px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-top-left-radius: 2px;
  border-top-right-radius: 1px;
}

.pxr-icon-shape--resolution::before {
  left: 1px;
  top: 2px;
  width: 12px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2.5px;
}

.pxr-icon-shape--resolution::after {
  left: 4px;
  top: 5px;
  width: 6px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 3px 0 currentColor;
}

.pxr-icon-shape--quality::before {
  left: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}

.pxr-icon-shape--quality::after {
  left: 6px;
  top: 6px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.pxr-info-icon .cep-icon,
.pxr-setting-icon .cep-icon {
  width: 16px;
  height: 16px;
  color: #64b5ff;
}

.pxr-info-icon .cep-icon svg,
.pxr-setting-icon .cep-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.15;
}

.pxr-info-label,
.pxr-setting-name {
  color: #e8ecf5;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

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

.pxr-info-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a93a8;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.pxr-info-value-chevron,
.pxr-chevron {
  display: inline-flex;
  align-items: center;
  color: #5a6175;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.pxr-info-value-chevron .cep-icon,
.pxr-chevron .cep-icon {
  width: 11px;
  height: 11px;
}

.pxr-info-value-chevron .cep-icon svg,
.pxr-chevron .cep-icon svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.pxr-export-history {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  transition: background-color 150ms ease, color 150ms ease;
}

.pxr-export-history:hover {
  background: linear-gradient(180deg, #1e2740 0%, #1a2235 100%);
}

.pxr-export-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a2540, #0f1828);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.pxr-export-thumb::after {
  content: none;
}

.pxr-export-thumb-glyph {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1;
}

.pxr-export-history-info {
  flex: 1;
  min-width: 0;
}

.pxr-export-history-name {
  color: #e8ecf5;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}

.pxr-export-history-meta {
  color: #5a6175;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.pxr-settings-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pxr-settings-section {
  position: relative;
  z-index: 1;
}

.pxr-settings-section.is-menu-open {
  z-index: 700;
}

.pxr-section-header {
  margin: 0 4px 10px;
  padding: 0;
  color: #5a6175;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pxr-setting-text {
  flex: 1;
  min-width: 0;
}

.pxr-setting-sub {
  color: #5a6175;
  font-size: 11.5px;
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-setting-tail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.pxr-setting-inline {
  gap: 14px !important;
}

.pxr-setting-inline .pxr-tooltip-wrap {
  margin-right: 0 !important;
}

.pxr-setting-picker-shell {
  position: relative;
}

.pxr-setting-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.pxr-setting-trigger:hover {
  filter: brightness(1.08);
}

.pxr-setting-value {
  color: #8a93a8;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.pxr-setting-trigger .pxr-chevron {
  margin-left: 0;
}

.pxr-setting-picker-shell .cep-setting-menu {
  top: calc(100% + 6px);
  left: auto;
  right: 0;
  min-width: 140px;
  z-index: 600;
  max-height: 92px;
  padding: 3px !important;
  overflow-y: auto;
  background: #050a18 !important;
  box-shadow:
    0 0 0 1px rgba(78, 152, 255, 0.2),
    0 18px 38px rgba(0, 0, 0, 0.72) !important;
}

.pxr-setting-picker-shell .cep-setting-menu::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: #050a18;
  z-index: -1;
}

.pxr-setting-picker-shell .cep-setting-option {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 8px !important;
  line-height: 22px !important;
  border-radius: 6px !important;
}

.pxr-setting-row[data-setting="quality"] .pxr-setting-picker-shell .cep-setting-menu {
  top: auto;
  bottom: calc(100% + 6px);
  max-height: none;
  overflow: visible;
}

.pxr-setting-row[data-setting="resolution"] .pxr-setting-picker-shell .cep-setting-menu {
  top: calc(100% + 6px);
  bottom: auto;
  max-height: none;
  overflow: visible;
}

.pxr-setting-tail .cep-help-badge {
  margin-right: 2px;
}

.pxr-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 300;
}

.pxr-setting-row.is-tooltip-row {
  position: relative;
  z-index: 280;
}

.pxr-tooltip-wrap .cep-help-badge {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(118, 190, 255, 0.36);
  background: rgba(92, 112, 145, 0.18);
  color: #9fb2cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.pxr-tooltip-wrap:hover .cep-help-badge,
.pxr-tooltip-wrap:focus .cep-help-badge,
.pxr-tooltip-wrap:focus-visible .cep-help-badge {
  color: #dcebff;
  border-color: rgba(118, 190, 255, 0.58);
  background: rgba(10, 132, 255, 0.18);
}

.pxr-tooltip-bubble {
  position: absolute;
  right: -4px;
  bottom: calc(100% + 8px);
  width: 194px;
  padding: 8px 10px;
  border: 1px solid rgba(118, 190, 255, 0.28);
  border-radius: 9px;
  background: #050a18;
  color: #dce8fb;
  box-shadow:
    0 0 0 1px rgba(10, 132, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.62);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 45ms linear, transform 45ms linear, visibility 45ms linear;
  transition-delay: 0ms;
}

.pxr-tooltip-wrap:hover .pxr-tooltip-bubble,
.pxr-tooltip-wrap:focus .pxr-tooltip-bubble,
.pxr-tooltip-wrap:focus-visible .pxr-tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pxr-row-glyph,
.pxr-row,
.pxr-group {
  display: none;
}

.cep-export-popover {
  position: absolute;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  justify-content: flex-end;
  width: auto;
}

.cep-export-dialog {
  width: 218px !important;
  margin-top: 0;
  padding: 0;
}

.cep-export-dialog-header,
.cep-export-dialog-body,
.cep-export-dialog-footer {
  padding: 8px !important;
}

.cep-export-dialog-header {
  border-bottom: 1px solid var(--pxr-separator);
}

.cep-export-dialog-footer {
  border-top: 1px solid var(--pxr-separator);
}

.cep-export-title {
  color: var(--pxr-text);
  font-size: 14px;
  font-weight: 600;
}

.cep-export-label {
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.cep-export-setting-picker,
.cep-export-setting-picker[style] {
  width: 118px !important;
  min-width: 118px !important;
  max-width: 118px !important;
  flex: 0 0 118px !important;
}

.cep-export-setting-button {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 8px !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--pxr-text);
  box-shadow: none;
}

.cep-export-setting-menu {
  top: calc(100% + 5px);
  left: auto;
  right: 0;
}

.cep-setting-menu,
.cep-export-setting-menu {
  border: 1px solid var(--pxr-border);
  border-radius: 12px;
  background: rgba(10, 14, 28, 0.98);
  box-shadow: 0 18px 44px rgba(0, 5, 30, 0.48);
  overflow: hidden;
}

.cep-setting-option {
  color: var(--pxr-text-secondary);
  font-size: 12px;
}

.cep-setting-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pxr-text);
}

.cep-setting-option.is-active {
  background: var(--pxr-accent-soft);
  color: var(--pxr-text);
}

.cep-help-badge {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--pxr-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  cursor: help;
}

.cep-tooltip-anchor::after {
  max-width: 240px;
  padding: 7px 9px;
  border: 1px solid var(--pxr-border);
  border-radius: 10px;
  background: rgba(10, 11, 16, 0.98);
  color: var(--pxr-text);
  box-shadow: 0 18px 44px rgba(0, 5, 30, 0.48);
}

.button,
.icon-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pxr-text);
  box-shadow: none;
}

.button:hover,
.icon-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  filter: brightness(1.05);
}

.button.is-accent {
  background: var(--pxr-accent);
  border-color: rgba(10, 132, 255, 0.34);
}

.pxr-modal.modal {
  max-width: 320px;
  border-radius: 18px;
  border-color: var(--pxr-border);
  background: rgba(16, 22, 42, 0.96);
  box-shadow: var(--pxr-shadow);
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.56);
}

.error-box {
  max-height: 260px;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffd5d5;
}

@keyframes pxrBreathe {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(255, 69, 58, 0.2);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(255, 69, 58, 0.08);
  }
}

/* Opacity only: moving the whole view with transform looked jumpy in UXP. */
@keyframes pxrSlideLeft {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

@keyframes pxrSlideRight {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

.pxr-rec-hero .pxr-export-button {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.pxr-rec-hero .pxr-export-button > span:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
  text-align: center !important;
}

.pxr-license-logout-button {
  height: 28px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 112, 112, 0.34);
  border-radius: 8px;
  background: rgba(255, 82, 82, 0.12);
  color: #ffb5b5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pxr-license-logout-button:hover {
  background: rgba(255, 82, 82, 0.18);
  border-color: rgba(255, 142, 142, 0.48);
  color: #ffd0d0;
  filter: brightness(1.04);
}

.pxr-license-logout-button:disabled {
  opacity: 0.58;
  cursor: default;
}

.pxr-footer-bar {
  flex: 0 0 auto;
  width: 100%;
  min-height: 24px;
  padding: 0 12px 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.pxr-version-label {
  grid-column: 2;
  color: var(--pxr-text-tertiary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.pxr-footer-logout-button {
  grid-column: 3;
  justify-self: end;
  height: 22px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 112, 112, 0.32);
  border-radius: 7px;
  background: rgba(255, 82, 82, 0.12);
  color: #ffb5b5;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pxr-footer-logout-button:hover {
  background: rgba(255, 82, 82, 0.2);
  border-color: rgba(255, 142, 142, 0.5);
  color: #ffd0d0;
}

.pxr-footer-logout-button:disabled {
  opacity: 0.58;
  cursor: default;
}

.pxr-info-icon,
.pxr-setting-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(31, 133, 255, 0.28), rgba(10, 64, 140, 0.22)) !important;
  border: 1px solid rgba(83, 174, 255, 0.44) !important;
  color: #5eb7ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(10, 132, 255, 0.08),
    0 8px 18px rgba(0, 25, 80, 0.16) !important;
}

.pxr-info-icon .cep-icon,
.pxr-setting-icon .cep-icon {
  width: 19px !important;
  height: 19px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #7cc6ff !important;
}

.pxr-info-icon .cep-icon svg,
.pxr-setting-icon .cep-icon svg {
  width: 19px !important;
  height: 19px !important;
  stroke-width: 1.9 !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

/* ---------------------------------------------------------------------------
   3.0.29 status bar + error details.
   Photoshop's UXP panels do not support position:fixed or the inset
   shorthand, which is why the old error modal never appeared. Everything here
   stays in normal flex flow inside .pxr-panel.
   --------------------------------------------------------------------------- */

.pxr-statusbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0 12px 6px;
  padding: 7px 8px 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(10, 132, 255, 0.28);
  background: rgba(10, 132, 255, 0.12);
}

.pxr-statusbar--error {
  border-color: rgba(255, 69, 58, 0.45);
  background: rgba(255, 69, 58, 0.14);
}

.pxr-statusbar--success {
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.12);
}

.pxr-statusbar-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 4px;
  background: #0a84ff;
}

.pxr-statusbar--error .pxr-statusbar-dot,
.pxr-error-view .pxr-statusbar-dot {
  background: #ff453a;
}

.pxr-statusbar--success .pxr-statusbar-dot {
  background: #30d158;
}

.pxr-statusbar-text {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 30px;
  overflow: hidden;
  color: var(--pxr-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
}

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

.pxr-statusbar-button,
.pxr-statusbar-close {
  height: 24px;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--pxr-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
}

.pxr-statusbar-close {
  width: 24px;
  margin-left: 6px;
  padding: 0;
  font-size: 14px;
  text-align: center;
}

.pxr-statusbar-button {
  text-align: center;
  white-space: nowrap;
}

.pxr-statusbar-button.is-primary {
  border-color: rgba(10, 132, 255, 0.5);
  background: #0a84ff;
  color: #ffffff;
}

.pxr-statusbar-button.is-done {
  border-color: rgba(48, 209, 88, 0.5);
  background: rgba(48, 209, 88, 0.2);
}

.pxr-error-view {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 69, 58, 0.3);
  background: rgba(8, 12, 26, 0.85);
}

.pxr-error-view-head {
  display: flex;
  align-items: center;
}

.pxr-error-view-title {
  color: var(--pxr-text);
  font-size: 13px;
  font-weight: 700;
}

.pxr-error-view-explain {
  margin-top: 8px;
  color: var(--pxr-text);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 16px;
}

.pxr-error-view-label {
  margin-top: 10px;
  margin-bottom: 4px;
  color: var(--pxr-text-tertiary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Plain div, not <textarea>: Photoshop draws textareas as native controls. */
.pxr-error-view-text {
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  overflow: auto;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #050814;
  color: #ffd5d5;
  font-family: Consolas, Menlo, monospace;
  font-size: 10px;
  line-height: 14px;
}

.pxr-error-view--boot .pxr-error-view-text {
  height: 170px;
  min-height: 170px;
  max-height: 170px;
}

.pxr-error-view-hint {
  margin-top: 6px;
  color: var(--pxr-text-secondary);
  font-size: 10.5px;
  line-height: 14px;
}

.pxr-error-view-actions {
  display: flex;
  margin-top: 10px;
}

/* role="button" divs share the row equally so they never overflow. */
.pxr-error-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 26px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pxr-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.pxr-error-btn:first-child {
  margin-left: 0;
}

.pxr-error-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.pxr-error-btn.is-primary {
  border-color: rgba(10, 132, 255, 0.5);
  background: #0a84ff;
  color: #ffffff;
}

.pxr-error-btn.is-done {
  border-color: rgba(48, 209, 88, 0.5);
  background: rgba(48, 209, 88, 0.2);
}

.pxr-panel > .pxr-version-label {
  flex: 0 0 auto;
  padding: 0 0 8px;
}

/* Switch (Recording, Idle Timeout). Plain divs with no text glyph inside
   the knob, so Photoshop draws it cleanly. */
.pxr-switch {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  min-width: 36px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #262d3d;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.pxr-switch:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.pxr-switch.is-on {
  border-color: rgba(120, 190, 255, 0.45);
  background: #0a84ff;
}

.pxr-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #c9d1e0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: left 180ms ease, background-color 180ms ease;
}

.pxr-switch.is-on .pxr-switch-knob {
  left: 18px;
  background: #ffffff;
}

/* Export options sheet: chip rows + summary + actions (all plain divs). */
.pxr-export-sheet {
  display: flex;
  flex-direction: column;
}

.pxr-chip-row {
  display: flex;
  margin-bottom: 10px;
}

.pxr-chip {
  flex: 1 1 0;
  min-width: 0;
  height: 24px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pxr-chip:first-child {
  margin-left: 0;
}

.pxr-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pxr-text);
}

.pxr-chip.is-active {
  border-color: rgba(120, 190, 255, 0.6);
  background: rgba(10, 132, 255, 0.28);
  color: #ffffff;
}

/* While choosing export options, hide the info card so the sheet fits. */
.pxr-dashboard-view.is-exporting .pxr-info-card {
  display: none;
}

/* Document row: name + "Open frames" pill so it is clear the row opens the
   folder with this document's frames. */
.pxr-info-sublabel {
  margin-top: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8a93a8;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 400;
}

.pxr-open-frames {
  display: flex;
  align-items: center;
  height: 22px;
  margin-left: 8px;
  padding: 0 10px;
  border: 1px solid rgba(120, 190, 255, 0.35);
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.16);
  color: #a9d6ff;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.pxr-info-row.is-clickable:hover .pxr-open-frames {
  border-color: rgba(120, 190, 255, 0.6);
  background: rgba(10, 132, 255, 0.3);
  color: #ffffff;
}

/* ---- 3.0.29 feature pack ------------------------------------------------ */

/* Export sheet extras */
.pxr-chip-row--tight {
  margin-bottom: 0;
}

.pxr-chip--danger {
  color: #ff9a93;
}

.pxr-chip--danger:hover {
  border-color: rgba(255, 69, 58, 0.5);
  background: rgba(255, 69, 58, 0.16);
  color: #ffffff;
}

.pxr-chip--danger-solid {
  border-color: rgba(255, 69, 58, 0.7);
  background: #e5392f;
  color: #ffffff;
}

/* Dashboard: preview + status */
.pxr-rec-preview {
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #050814;
  object-fit: cover;
}

.pxr-recording-status {
  margin-top: 3px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
}

/* Recordings tab */
.pxr-library-view {
  display: flex;
  flex-direction: column;
}

.pxr-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 8px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.pxr-library-refresh {
  height: 22px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pxr-text);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.pxr-library-refresh:hover {
  background: rgba(255, 255, 255, 0.12);
}

.pxr-library-empty {
  padding: 16px 14px;
  color: var(--pxr-text-secondary);
  font-size: 12px;
  line-height: 17px;
}

.pxr-rec-item {
  margin-bottom: 8px;
  padding: 10px 12px;
}

.pxr-rec-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pxr-rec-item-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--pxr-text);
  font-size: 12.5px;
  font-weight: 700;
}

.pxr-rec-item-date {
  flex: 0 0 auto;
  margin-left: 8px;
  color: var(--pxr-text-tertiary);
  font-size: 10.5px;
  font-weight: 600;
}

.pxr-rec-item-meta {
  margin: 3px 0 8px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
}

.pxr-rec-item-confirm {
  margin: 0 0 8px;
  color: #ffb4ad;
  font-size: 11px;
  line-height: 15px;
}

/* Format chips: ratio on top, where it is used underneath. */
/* Export extras: label + small switch, whole row clickable. */

/* Export sheet, compact: title + close, two slim segmented bars with a
   caption beside each label, small switch rows, one Save button. */
.pxr-export-sheet-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pxr-export-sheet-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--pxr-text);
  font-size: 13px;
  font-weight: 700;
}

.pxr-sheet-close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 6px;
  color: var(--pxr-text-secondary);
  font-size: 15px;
  line-height: 21px;
  text-align: center;
  cursor: pointer;
}

.pxr-sheet-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.pxr-seg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.pxr-seg-label {
  flex: 0 0 auto;
  color: var(--pxr-text-secondary);
  font-size: 10.5px;
  font-weight: 700;
}

.pxr-seg-caption {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--pxr-text-tertiary);
  font-size: 10px;
  text-align: right;
}

.pxr-seg {
  display: flex;
  overflow: hidden;
  height: 24px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.25);
}

.pxr-seg-item {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.pxr-seg-item:first-child {
  border-left: 0;
}

.pxr-seg-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pxr-text);
}

.pxr-seg-item.is-active {
  background: #0a84ff;
  color: #ffffff;
}

.pxr-sheet-divider {
  height: 1px;
  margin: 0 0 4px;
  background: rgba(255, 255, 255, 0.08);
}

.pxr-sheet-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
}

.pxr-sheet-toggle-label {
  color: var(--pxr-text);
  font-size: 11px;
  font-weight: 500;
}

.pxr-switch--small {
  width: 28px;
  min-width: 28px;
  height: 16px;
  border-radius: 8px;
}

.pxr-switch--small .pxr-switch-knob {
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

.pxr-switch--small.is-on .pxr-switch-knob {
  left: 14px;
}

.pxr-sheet-save {
  height: 28px;
  margin-top: 10px;
  border: 1px solid rgba(120, 190, 255, 0.45);
  border-radius: 8px;
  background: #0a84ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.pxr-sheet-save:hover {
  background: #2593ff;
}

/* Recordings item: last-frame thumbnail beside the text. */
.pxr-rec-item-body {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.pxr-rec-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #050814;
  object-fit: cover;
}

.pxr-rec-thumb.is-empty {
  background: rgba(255, 255, 255, 0.05);
}

.pxr-rec-item-text {
  flex: 1 1 auto;
  min-width: 0;
}

.pxr-rec-item-body .pxr-rec-item-meta {
  margin-bottom: 0;
}

/* Export progress. Small radius on purpose: Photoshop draws a 999px radius
   on a thin bar as a squashed oval. Solid fill (no gradient) for the same reason. */
.pxr-progress {
  display: flex;
  flex-direction: column;
}

.pxr-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pxr-progress-title {
  color: var(--pxr-text);
  font-size: 13px;
  font-weight: 700;
}

.pxr-progress-pct {
  color: #7cc4ff;
  font-size: 13px;
  font-weight: 700;
}

.pxr-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.pxr-progress-fill {
  height: 6px;
  border-radius: 3px;
  background: #0a84ff;
  transition: width 400ms ease;
}

.pxr-progress-step {
  margin-top: 8px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.pxr-progress-note {
  margin-top: 2px;
  color: var(--pxr-text-tertiary);
  font-size: 10.5px;
}

/* ---- Compact layout: the panel is a fixed 360x430, and Photoshop draws text
   taller than browsers, so Dashboard and Settings must fit with room to spare
   (no scrollbar). Photoshop also ignores flex "gap", so spacing uses margins. */
.pxr-segmented {
  margin: 8px 10px 8px !important;
}

.pxr-segment-button {
  padding: 6px 0 !important;
  font-size: 12px !important;
}

.pxr-view-frame {
  padding: 0 10px 6px !important;
}

.pxr-rec-hero {
  padding: 10px 12px !important;
}

.pxr-recording-head {
  align-items: center !important;
  margin-bottom: 8px !important;
}

.pxr-recording-info {
  align-items: center !important;
}

.pxr-rec-preview {
  width: 48px;
  height: 36px;
  margin-right: 10px;
}

.pxr-dashboard-view > .pxr-card + .pxr-card {
  margin-top: 8px !important;
}

.pxr-info-row {
  padding: 7px 12px !important;
}

.pxr-info-icon,
.pxr-setting-icon {
  width: 26px !important;
  height: 26px !important;
  margin-right: 10px !important;
}

.pxr-setting-row {
  padding: 5px 12px !important;
}

.pxr-settings-view > .pxr-settings-section + .pxr-settings-section {
  margin-top: 8px !important;
}

.pxr-panel > .pxr-version-label {
  padding: 2px 0 6px !important;
}

/* ---- Dashboard spacing: fills the fixed panel without scrolling. Photoshop
   ignores flex "gap", so gaps are zeroed here and all spacing is margins —
   that makes browser previews measure the same as Photoshop. */
.pxr-view-pane,
.pxr-dashboard-view,
.pxr-rec-hero,
.pxr-recording-head,
.pxr-recording-info,
.pxr-info-card {
  gap: 0 !important;
}

.pxr-segmented {
  margin: 10px 10px 14px !important;
}

.pxr-rec-hero {
  padding: 12px 14px !important;
}

.pxr-recording-head {
  margin-bottom: 14px !important;
}

.pxr-rec-preview {
  width: 56px;
  height: 42px;
  margin-right: 12px;
}

.pxr-dashboard-view > .pxr-card + .pxr-card {
  margin-top: 18px !important;
}

.pxr-info-row {
  padding: 11px 14px !important;
}

.pxr-info-icon {
  width: 30px !important;
  height: 30px !important;
  margin-right: 12px !important;
}

/* Same roomier spacing on the other tabs. */
.pxr-settings-view > .pxr-settings-section + .pxr-settings-section {
  margin-top: 14px !important;
}

.pxr-rec-item {
  margin-bottom: 10px;
}

/* Settings: in-row choices for Resolution / Quality (same look as the export
   selectors, sized to line up in both rows). */
.pxr-seg.pxr-seg--row {
  width: 176px;
  height: 24px;
  margin-bottom: 0;
}

.pxr-seg--row .pxr-seg-item {
  font-size: 10.5px;
}

/* "?" opens help in the bottom bar. Margin instead of flex gap (ignored in PS). */
.pxr-help-button {
  margin-right: 12px;
  line-height: 14px;
  text-align: center;
  cursor: pointer;
}

.pxr-help-button:hover {
  border-color: rgba(120, 190, 255, 0.6);
  color: #ffffff;
}

/* Help text needs up to three lines in the bottom bar. */
.pxr-statusbar-text {
  max-height: 46px;
}

/* Settings polish. The older ".pxr-setting-tail .cep-help-badge" rule is more
   specific and squeezed "?" against the switch, hence !important. */
.pxr-setting-tail .pxr-help-button {
  margin-right: 12px !important;
}

.pxr-chevron {
  color: #6f7890 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

/* Small, calm logout; asks "Log out?" before acting. */
.pxr-logout-btn {
  height: 24px;
  padding: 0 11px;
  border: 1px solid rgba(255, 112, 112, 0.3);
  border-radius: 7px;
  background: transparent;
  color: #ff9d96;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.pxr-logout-btn:hover {
  background: rgba(255, 82, 82, 0.12);
}

.pxr-logout-btn.is-confirm {
  border-color: rgba(255, 69, 58, 0.8);
  background: #e5392f;
  color: #ffffff;
}

.pxr-logout-btn.is-busy {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--pxr-text-secondary);
  cursor: default;
}

/* Dashboard: saving frames keeps failing. */
.pxr-recording-status.is-problem {
  color: #ff9a93;
}

/* ---- Wrapped tab ---------------------------------------------------------
   Month + arrows, preview stage (3 stories + X post), one main button, and
   the name on the cards as a plain line (text box only while editing). */
.pxr-wv {
  display: flex;
  flex-direction: column;
}

.pxr-wv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pxr-wv-month {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.pxr-wv-month b {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.pxr-wv-month span {
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.pxr-wv-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--pxr-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
}

.pxr-wv-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.pxr-wv-arrow.is-off {
  opacity: 0.3;
  cursor: default;
}

.pxr-wv-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: 14px 0;
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 16px;
  background: #05070f;
  cursor: pointer;
}

.pxr-wv-stage.is-empty {
  align-items: flex-start;
  padding-top: 12px;
  cursor: default;
}

.pxr-wv-story {
  width: 62px;
  height: 110px;
  margin: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  object-fit: cover;
}

.pxr-wv-x {
  width: 104px;
  height: 58px;
  margin-left: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  object-fit: cover;
}

.pxr-wv-ghost {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.pxr-wv-stage-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  color: var(--pxr-text-secondary);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.pxr-wv-actions {
  display: flex;
}

.pxr-wv-btn {
  flex: 1 1 0;
  height: 34px;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--pxr-text);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.pxr-wv-btn:first-child {
  margin-left: 0;
}

.pxr-wv-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.pxr-wv-btn.is-primary {
  border-color: rgba(120, 190, 255, 0.5);
  background: #0a84ff;
  color: #ffffff;
}

.pxr-wv-btn.is-primary:hover {
  background: #2593ff;
}

.pxr-wv-busy {
  padding: 14px 0;
}

.pxr-wv-name {
  display: flex;
  align-items: center;
  height: 28px;
  margin-top: 10px;
  padding: 0 2px;
  font-size: 11.5px;
}

.pxr-wv-name span {
  color: var(--pxr-text-secondary);
  font-weight: 600;
}

.pxr-wv-name b {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: var(--pxr-text);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pxr-wv-link {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #7cc4ff;
  font-weight: 700;
  cursor: pointer;
}

.pxr-wv-name.is-editing {
  padding: 0 8px;
  border: 1px solid rgba(120, 190, 255, 0.45);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.pxr-wv-at {
  margin-right: 4px;
  color: var(--pxr-text-tertiary);
  font-weight: 700;
}

.pxr-wv-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 24px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--pxr-text);
  font-size: 12px;
  font-weight: 600;
}

.pxr-wv-none {
  padding: 28px 18px;
  color: var(--pxr-text-secondary);
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}

.pxr-wv-none b {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
}

/* Four tabs share the width: each may shrink (never push Settings out), text
   stays on one line. */
.pxr-segment-button {
  min-width: 0 !important;
  padding: 6px 2px !important;
  overflow: hidden;
  font-size: 11.5px !important;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* ---------- Replay: ▶ badges in the panel ---------- */
.pxr-play-wrap {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.pxr-play-wrap .pxr-rec-preview,
.pxr-play-wrap .pxr-rec-thumb {
  display: block;
  margin-right: 0;
}

.pxr-rec-preview-wrap {
  margin-right: 12px;
}

.pxr-rec-thumb-wrap {
  margin-right: 10px;
}

.pxr-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 11px;
  background: rgba(10, 132, 255, 0.92);
}

.pxr-play-badge-icon {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
}

.pxr-play-wrap:hover .pxr-play-badge {
  background: #2d97ff;
}

.pxr-chip--play {
  border-color: rgba(120, 190, 255, 0.6);
  background: #0a84ff;
  color: #ffffff;
}

.pxr-chip--play:hover {
  background: #2d97ff;
  color: #ffffff;
}

.pxr-chip-icon {
  width: 11px;
  height: 11px;
  margin-right: 4px;
  margin-bottom: -1px;
}

/* ---------- Replay window ---------- */
.pxr-rp-dialog {
  padding: 0;
  margin: 0;
  border: 0;
  background: #060a15;
  color: #eef4ff;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Sizes are set in pixels by layoutReplayWindow. */
.pxr-rp {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #060a15;
}

.pxr-rp-stage {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: #060a15;
}

.pxr-rp-img {
  position: absolute;
  left: 0;
  top: 0;
}

.pxr-rp-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(8, 12, 24, 0.72);
  color: #dfe6f5;
  font-size: 12px;
}

.pxr-rp-pill b {
  color: #ffffff;
}

.pxr-rp-bar {
  position: relative;
  flex: 0 0 auto;
  height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b1020;
}

.pxr-rp-play {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: #0a84ff;
  cursor: pointer;
}

.pxr-rp-play:hover {
  background: #2d97ff;
}

.pxr-rp-play-arrow {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 20px;
  height: 20px;
}

.pxr-rp-pause-bar {
  display: none;
  position: absolute;
  left: 13px;
  top: 12px;
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: #ffffff;
}

.pxr-rp-pause-bar--two {
  left: 21px;
}

.pxr-rp-play.is-playing .pxr-rp-play-arrow {
  display: none;
}

.pxr-rp-play.is-playing .pxr-rp-pause-bar {
  display: block;
}

.pxr-rp-scrub {
  position: relative;
  flex: 1 1 auto;
  min-width: 80px;
  height: 24px;
  margin: 0 14px;
  cursor: pointer;
}

.pxr-rp-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 4px;
  border-radius: 2px;
  background: #262d3d;
}

.pxr-rp-fill {
  position: absolute;
  left: 0;
  top: 10px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: #0a84ff;
}

.pxr-rp-knob {
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 7px;
  background: #ffffff;
}

.pxr-rp-count {
  flex: 0 0 auto;
  width: 112px;
  margin-right: 10px;
  color: #9aa6c0;
  font-size: 12px;
  white-space: nowrap;
}

.pxr-rp-count b {
  color: #ffffff;
}

.pxr-rp-seg {
  display: flex;
  flex: 0 0 auto;
  margin-right: 12px;
  padding: 2px;
  border-radius: 8px;
  background: #151c2e;
}

.pxr-rp-seg-item {
  padding: 5px 10px;
  border-radius: 6px;
  color: #9aa6c0;
  font-size: 11.5px;
  white-space: nowrap;
  cursor: pointer;
}

.pxr-rp-seg-item:hover {
  color: #ffffff;
}

.pxr-rp-seg-item.is-active {
  background: #26304a;
  color: #ffffff;
  font-weight: 600;
}

.pxr-rp-export {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(10, 132, 255, 0.6);
  border-radius: 8px;
  color: #45a4ff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pxr-rp-export:hover {
  background: rgba(10, 132, 255, 0.16);
}

/* Footer "PixelRec Pro 4.0": a link to the website. Quiet until hovered. */
.pxr-version-label.pxr-version-link {
  cursor: pointer;
}

.pxr-version-label.pxr-version-link:hover {
  color: #8cbcff;
  text-decoration: underline;
}

/* ---------- Icons: Phosphor Bold PNGs in icons/ui ---------- */
.pxr-tile-icon {
  display: block;
  width: 17px;
  height: 17px;
}

.pxr-ui-icon {
  flex: 0 0 auto;
}

.pxr-export-icon {
  width: 16px;
  height: 16px;
  margin-right: 7px;
}

.pxr-export-button.is-disabled .pxr-export-icon {
  opacity: 0.4;
}

.pxr-open-frames-icon {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}

.pxr-refresh-icon {
  width: 11px;
  height: 11px;
  margin-right: 5px;
  margin-bottom: -1px;
}

/* Chip icons switch to the hover text color with the label. */
.pxr-chip-icon--hover {
  display: none;
}

.pxr-chip:hover .pxr-chip-icon--normal {
  display: none;
}

.pxr-chip:hover .pxr-chip-icon--hover {
  display: inline;
}

/* Export Video is a div (Photoshop's native button hides its icon), so
   :disabled no longer applies: keep the disabled look still on hover. */
.pxr-export-button.is-disabled:hover,
.pxr-export-button.is-disabled:active {
  transform: none;
  filter: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: default;
}

/* ---- Ideas from the 4.0 concept, in the original look ---- */
/* Red dot on the Dashboard tab while recording. */
.pxr-tab-rec-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 3px;
  background: #ff453a;
  vertical-align: middle;
}

/* Library filters: All / Last 7 days / This month. */
.pxr-library-filters {
  margin: 0 0 10px;
}

.pxr-library-filters .pxr-chip:first-child {
  margin-left: 0;
}

/* First-start steps use the info row layout; the number sits in the icon tile. */
.pxr-step-num {
  display: block;
  width: 100%;
  color: #45a4ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.pxr-step-num.is-done {
  color: #30d158;
}

.pxr-step-done {
  color: #30d158;
  font-size: 11px;
  font-weight: 700;
}

.pxr-steps-card .pxr-info-sublabel {
  font-family: inherit;
  letter-spacing: 0;
}

/* Steps have two lines each: less padding keeps the card no taller than the
   Document / Frames / Time card it replaces. */
.pxr-steps-card .pxr-info-row {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* ---- Recordings without scrolling: compact rows, 4 per page ---- */
.pxr-library-filters {
  align-items: center;
  margin: 0 0 8px;
}

.pxr-library-refresh--icon {
  flex: 0 0 auto;
  width: 30px;
  height: 24px;
  margin-left: 4px;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.pxr-library-refresh--icon .pxr-refresh-icon {
  margin: 5px 0 0;
}

.pxr-library-list {
  display: flex;
  flex-direction: column;
}

.pxr-card.pxr-rec-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px !important;
  padding: 8px 8px 8px 10px;
}

.pxr-rec-row .pxr-rec-thumb {
  width: 48px;
  height: 36px;
  margin-right: 0;
}

.pxr-rec-row .pxr-rec-thumb-wrap {
  margin-right: 10px;
}

.pxr-rec-row .pxr-play-badge {
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 9px;
}

.pxr-rec-row .pxr-play-badge-icon {
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
}

.pxr-rec-row .pxr-rec-item-text {
  flex: 1 1 auto;
  min-width: 0;
}

.pxr-rec-row .pxr-rec-item-meta {
  margin: 3px 0 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pxr-rec-confirm-text {
  color: #ffb4ad;
}

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

.pxr-rec-icon-btn {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  cursor: pointer;
}

.pxr-rec-icon-btn:first-child {
  margin-left: 0;
}

.pxr-rec-icon-btn .pxr-chip-icon {
  width: 12px;
  height: 12px;
  margin: 6px 0 0 6px;
}

.pxr-rec-icon-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.pxr-rec-icon-btn.is-danger:hover {
  border-color: rgba(255, 69, 58, 0.7);
  background: #e5392f;
}

.pxr-rec-icon-btn:hover .pxr-chip-icon--normal {
  display: none;
}

.pxr-rec-icon-btn:hover .pxr-chip-icon--hover {
  display: inline-block;
}

.pxr-rec-confirm-chip {
  flex: 0 0 auto;
  width: 46px;
}

.pxr-rec-confirm-chip:first-child {
  margin-left: 0;
}

.pxr-library-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 2px 0;
}

.pxr-library-summary {
  color: var(--pxr-text-tertiary);
  font-size: 10.5px;
  font-weight: 600;
}

.pxr-pager {
  display: flex;
  align-items: center;
}

.pxr-page-btn {
  width: 26px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pxr-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

.pxr-page-btn:hover {
  border-color: rgba(120, 190, 255, 0.5);
  background: rgba(10, 132, 255, 0.2);
}

.pxr-page-btn.is-off {
  opacity: 0.35;
  cursor: default;
}

.pxr-page-label {
  margin: 0 8px;
  color: var(--pxr-text-secondary);
  font-size: 11px;
  font-weight: 600;
}

/* Rows a little tighter: Photoshop draws text taller than browsers. */
.pxr-card.pxr-rec-row {
  margin-bottom: 6px !important;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* ---------- Footer: version link + Mini bar link ---------- */
.pxr-panel > .pxr-footer-links {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2px 0 6px;
}

.pxr-footer-links .pxr-version-label {
  padding: 0 !important;
}

.pxr-footer-sep {
  margin: 0 6px;
  color: var(--pxr-text-tertiary);
  font-size: 11px;
  line-height: 1;
}

/* ---------- Mini bar (second panel "PixelRec Mini") ----------
   One row that fits a thin docked panel. Plain divs (no native buttons),
   margins instead of gap (Photoshop ignores flex gap). */
.pxr-mini-root {
  height: 100%;
  background: #080c1a;
}

.pxr-mini {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  min-height: 36px;
  padding: 0 6px 0 10px;
  box-sizing: border-box;
  color: #e8eaf6;
  font-size: 12px;
  overflow: hidden;
}

.pxr-mini-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  height: 24px;
  padding: 0 9px 0 8px;
  border-radius: 12px;
  background: rgba(100, 140, 255, 0.1);
}

.pxr-mini.is-rec .pxr-mini-status {
  background: rgba(255, 69, 58, 0.16);
}

.pxr-mini.is-problem .pxr-mini-status {
  background: rgba(255, 69, 58, 0.24);
}

.pxr-mini.is-export .pxr-mini-status {
  background: rgba(10, 132, 255, 0.2);
}

.pxr-mini-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 4px;
  background: rgba(200, 210, 255, 0.34);
}

.pxr-mini.is-rec .pxr-mini-dot,
.pxr-mini.is-problem .pxr-mini-dot {
  background: #ff453a;
}

.pxr-mini.is-paused .pxr-mini-dot {
  background: #ffd60a;
}

.pxr-mini.is-export .pxr-mini-dot {
  background: #0a84ff;
}

.pxr-mini-label {
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.pxr-mini-meta {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 10px;
  color: rgba(200, 210, 255, 0.62);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-mini.is-off .pxr-mini-meta {
  margin-left: 0;
}

.pxr-mini-meta.is-problem {
  color: #ff9a93;
}

.pxr-mini-progress {
  flex: 0 0 60px;
  height: 6px;
  margin-left: 8px;
  border-radius: 3px;
  background: rgba(100, 140, 255, 0.16);
  overflow: hidden;
}

.pxr-mini-progress-fill {
  height: 6px;
  background: #0a84ff;
}

.pxr-mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border-radius: 8px;
  background: rgba(100, 140, 255, 0.08);
  cursor: pointer;
}

.pxr-mini-btn:hover {
  background: rgba(100, 140, 255, 0.2);
}

.pxr-mini-icon {
  display: block;
  width: 15px;
  height: 15px;
}

/* ---------- Export window (pxr-sx-*) ----------
   A UXP dialog: every part gets its size in px from code (layoutStudioWindow),
   flex gap is not used (Photoshop ignores it), buttons are divs. */
.pxr-sx-dialog {
  background: #060a15;
}

.pxr-sx {
  position: relative;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: #060a15;
  color: #e8eaf6;
  font-size: 12px;
}

.pxr-sx-main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  overflow: hidden;
}

.pxr-sx-stage {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: #04070f;
}

.pxr-sx-frame {
  position: absolute;
  overflow: hidden;
  background: #000000;
  border-radius: 6px;
}

.pxr-sx-frame.is-process {
  background: #0b1430;
}

.pxr-sx-img {
  position: absolute;
  display: block;
}

.pxr-sx-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: rgba(6, 10, 21, 0.78);
  color: rgba(200, 210, 255, 0.72);
  font-size: 11px;
  white-space: nowrap;
}

.pxr-sx-badge b {
  margin: 0 3px;
  color: #ffffff;
}

.pxr-sx-badge-flag {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 9px;
  background: rgba(200, 210, 255, 0.16);
  color: #e8eaf6;
  font-weight: 700;
}

.pxr-sx-badge-flag.is-cut {
  background: #ff453a;
  color: #ffffff;
}


.pxr-sx-play {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 32px;
  margin-right: 14px;
  border-radius: 8px;
  background: #0a84ff;
  cursor: pointer;
}

.pxr-sx-play:hover {
  background: #3b9bff;
}

.pxr-sx-play-icon {
  display: block;
  width: 14px;
  height: 14px;
}







.pxr-sx-time {
  flex: 0 0 auto;
  width: 120px;
  color: rgba(200, 210, 255, 0.62);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.pxr-sx-time b {
  color: #ffffff;
}







.pxr-sx-side {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  overflow: hidden;
  border-left: 1px solid rgba(100, 140, 255, 0.12);
  background: #0a1022;
}

.pxr-sx-tabs {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(100, 140, 255, 0.12);
}

.pxr-sx-tab {
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  border-bottom: 2px solid transparent;
  color: rgba(200, 210, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pxr-sx-tab:hover {
  color: #ffffff;
}

.pxr-sx-tab.is-active {
  border-bottom-color: #0a84ff;
  color: #ffffff;
}

.pxr-sx-body {
  flex: 0 0 auto;
  padding: 4px 14px 12px;
  box-sizing: border-box;
  overflow-y: auto;
}

.pxr-sx-section {
  margin-top: 12px;
  padding: 12px 12px 4px;
  border-radius: 12px;
  border: 1px solid rgba(100, 140, 255, 0.1);
  background: #10172b;
}

.pxr-sx-section-title {
  margin-bottom: 10px;
  color: rgba(200, 210, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pxr-sx-field {
  margin-bottom: 10px;
}

.pxr-sx-field-head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5px;
}

.pxr-sx-field-label {
  color: #e8eaf6;
  font-size: 12px;
  white-space: nowrap;
}

.pxr-sx-field-caption {
  margin-left: 8px;
  color: rgba(200, 210, 255, 0.45);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-sx-pair {
  display: flex;
  flex-direction: row;
}

.pxr-sx-pair .pxr-sx-field {
  flex: 1 1 0;
  min-width: 0;
}

.pxr-sx-pair .pxr-sx-field:first-child {
  margin-right: 8px;
}

.pxr-sx-seg {
  display: flex;
  flex-direction: row;
  height: 28px;
  padding: 2px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #070c1a;
}

.pxr-sx-seg-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 6px;
  color: rgba(200, 210, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pxr-sx-seg-item:hover {
  color: #ffffff;
}

.pxr-sx-seg-item.is-active {
  background: #0a84ff;
  color: #ffffff;
}

.pxr-sx-switch-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  margin-bottom: 6px;
  cursor: pointer;
}

.pxr-sx-switch-label {
  font-size: 12px;
}

/* File name: our own field (Photoshop draws every <input> with a native
   black box). Text, cursor and selection are spans; keys come from code. */
.pxr-sx-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 34px;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
  border: 1px solid rgba(100, 140, 255, 0.22);
  border-radius: 9px;
  background: #070c1a;
}

.pxr-sx-name:hover {
  border-color: rgba(100, 140, 255, 0.4);
}

.pxr-sx-name.is-focused {
  border-color: #0a84ff;
  background: #0a1124;
}

.pxr-sx-name {
  cursor: text;
}

.pxr-sx-name-clip {
  flex: 1 1 auto;
  min-width: 0;
  height: 20px;
  overflow: hidden;
}

.pxr-sx-name-text {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.pxr-sx-name-hint {
  color: rgba(200, 210, 255, 0.35);
}

.pxr-sx-name-selected {
  background: rgba(10, 132, 255, 0.45);
  border-radius: 2px;
}

.pxr-sx-caret {
  display: inline-block;
  width: 2px;
  height: 16px;
  margin: 0 0 -3px;
  background: #5aa8ff;
}

.pxr-sx-caret.is-off {
  opacity: 0;
}

.pxr-sx-ext {
  flex: 0 0 auto;
  margin-left: 6px;
  color: rgba(200, 210, 255, 0.45);
  font-size: 12px;
}

.pxr-sx-folder {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pxr-sx-folder-path {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 8px;
  color: rgba(200, 210, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-sx-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(100, 140, 255, 0.12);
  color: #e8eaf6;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pxr-sx-btn:hover {
  background: rgba(100, 140, 255, 0.24);
}

.pxr-sx-btn--wide {
  height: 32px;
  margin-bottom: 8px;
}

.pxr-sx-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}


.pxr-sx-btn-icon {
  display: block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
}





.pxr-sx-note {
  margin-bottom: 10px;
  color: rgba(200, 210, 255, 0.5);
  font-size: 11px;
  line-height: 1.45;
}

.pxr-sx-link {
  color: #5aa8ff;
  cursor: pointer;
}

.pxr-sx-link:hover {
  text-decoration: underline;
}

.pxr-sx-stat {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(200, 210, 255, 0.6);
}

.pxr-sx-stat b {
  color: #ffffff;
}

.pxr-sx-foot {
  flex: 0 0 auto;
  padding: 10px 14px 14px;
  box-sizing: border-box;
  border-top: 1px solid rgba(100, 140, 255, 0.12);
  background: #0a1022;
}

.pxr-sx-summary {
  margin-bottom: 8px;
  color: rgba(200, 210, 255, 0.55);
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-sx-primary {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 10px;
  background: #0a84ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pxr-sx-primary:hover {
  background: #3b9bff;
}

.pxr-sx-primary.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.pxr-sx-foot-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 8px;
}

.pxr-sx-primary--half {
  flex: 1 1 0;
  margin-right: 8px;
}

.pxr-sx-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  height: 40px;
  border-radius: 10px;
  background: rgba(100, 140, 255, 0.14);
  color: #e8eaf6;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pxr-sx-secondary:hover {
  background: rgba(100, 140, 255, 0.26);
}

.pxr-sx-done {
  margin-bottom: 8px;
  color: #30d158;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pxr-sx-error {
  margin-bottom: 6px;
  color: #ff9a93;
  font-size: 11px;
}

.pxr-sx-progress-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.pxr-sx-progress {
  height: 6px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: rgba(100, 140, 255, 0.16);
  overflow: hidden;
}

.pxr-sx-progress-fill {
  height: 6px;
  background: #0a84ff;
}


/* Process background preview: the export's background picture, with the
   texts and moving parts on top (sizes and places set by code). */
.pxr-sx-pb-bg {
  position: absolute;
  left: 0px;
  top: 0px;
  display: none;
}

.pxr-sx-pb {
  position: absolute;
  left: 0px;
  top: 0px;
  display: none;
  overflow: hidden;
}

.pxr-pb-text {
  position: absolute;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
}

.pxr-pb-right {
  text-align: right;
}

.pxr-pb-center {
  text-align: center;
}

.pxr-pb-mono {
  font-family: "IBM Plex Mono", Consolas, "Cascadia Mono", Menlo, "Courier New", monospace;
  font-weight: 500;
}

.pxr-pb-title {
  font-family: "Sora", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

.pxr-pb-pill {
  color: #5b9bff;
}

.pxr-pb-title.is-accent {
  color: #6aa6ff;
}

.pxr-pb-handle {
  color: #cfd8ea;
  font-family: "Sora", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

.pxr-pb-meta {
  color: #56607a;
}

.pxr-pb-label {
  color: #6f7a94;
}

.pxr-pb-made {
  color: #7f8aa3;
}

.pxr-pb-bar {
  position: absolute;
  border-radius: 1px;
  background: #3b82f6;
}

.pxr-pb-head {
  position: absolute;
  left: 0px;
  background: #ffffff;
}

.pxr-pb-fill {
  position: absolute;
  width: 0px;
  background: #2e7df6;
}

.pxr-pb-knob {
  position: absolute;
  left: 0px;
  background: #ffffff;
  border: 3px solid rgba(46, 125, 246, 0.55);
  box-sizing: border-box;
}

/* ---------- Export window timeline (pxr-tl-*) ----------
   Toolbar (play, time, Split / Delete / Undo / Redo) and the timeline:
   ruler, clips (Start still, parts with frame pictures, End still) and the
   playhead. Places and sizes are set by code in px. */
.pxr-tl-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
  border-top: 1px solid rgba(100, 140, 255, 0.1);
  background: #080d1c;
}

.pxr-tl-toolbar .pxr-sx-time {
  width: auto;
  margin-left: 12px;
  text-align: left;
}

.pxr-tl-tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.pxr-tl-tool {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 30px;
  margin-left: 6px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(100, 140, 255, 0.12);
  color: #e8eaf6;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pxr-tl-tool:hover {
  background: rgba(100, 140, 255, 0.26);
}

.pxr-tl-tool.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.pxr-tl-tool.is-disabled:hover {
  background: rgba(100, 140, 255, 0.12);
}

.pxr-tl-tool-icon {
  display: block;
  width: 15px;
  height: 15px;
}

.pxr-tl-tool span {
  margin-left: 6px;
}

.pxr-tl-sep {
  width: 1px;
  height: 20px;
  margin: 0 4px 0 10px;
  background: rgba(100, 140, 255, 0.2);
}

.pxr-tl {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: #070b18;
  cursor: pointer;
}

.pxr-tl-ruler {
  position: absolute;
  top: 6px;
  left: 14px;
  overflow: hidden;
}

.pxr-tl-tick {
  position: absolute;
  top: 10px;
  width: 1px;
  height: 8px;
  background: rgba(200, 210, 255, 0.25);
}

.pxr-tl-tick-label {
  position: absolute;
  top: 0px;
  color: rgba(200, 210, 255, 0.45);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.pxr-tl-track {
  position: absolute;
  top: 28px;
  left: 14px;
}

.pxr-tl-clip {
  position: absolute;
  top: 0px;
  height: 62px;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid rgba(100, 140, 255, 0.25);
  border-radius: 7px;
  background: #121b33;
}

.pxr-tl-clip:hover {
  border-color: rgba(100, 140, 255, 0.55);
}

.pxr-tl-clip.is-start,
.pxr-tl-clip.is-end {
  border-style: dashed;
  background: #0d1428;
}

.pxr-tl-clip.is-start .pxr-tl-thumb,
.pxr-tl-clip.is-end .pxr-tl-thumb {
  opacity: 0.55;
}

.pxr-tl-clip.is-speed {
  border-color: rgba(255, 179, 64, 0.55);
}

.pxr-tl-clip.is-selected {
  border-color: #0a84ff;
}

.pxr-tl-thumbs {
  display: flex;
  flex-direction: row;
  height: 46px;
  margin-top: 6px;
  overflow: hidden;
}

.pxr-tl-thumb {
  display: block;
  flex: 0 0 auto;
}

.pxr-tl-clip-label {
  position: absolute;
  left: 4px;
  top: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(6, 10, 21, 0.82);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
}

.pxr-tl-clip.is-speed .pxr-tl-clip-label {
  background: #ffb340;
  color: #1a1206;
}

.pxr-tl-head {
  position: absolute;
  top: 6px;
  left: 14px;
  width: 2px;
  background: #ffffff;
}

.pxr-tl-head-cap {
  position: absolute;
  top: 0px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #ffffff;
}

.pxr-sx-badge-flag.is-speed {
  background: #ffb340;
  color: #1a1206;
}

/* Edit tab: buttons side by side, shortcuts list. */
.pxr-sx-btn-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.pxr-sx-btn--grow {
  flex: 1 1 0;
}

.pxr-sx-btn-row .pxr-sx-btn--grow:first-child {
  margin-right: 8px;
}

.pxr-sx-btn--danger {
  background: rgba(255, 69, 58, 0.16);
}

.pxr-sx-btn--danger:hover {
  background: rgba(255, 69, 58, 0.3);
}

.pxr-sx-key-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 7px;
  color: rgba(200, 210, 255, 0.6);
  font-size: 11px;
}

.pxr-sx-key {
  min-width: 70px;
  margin-right: 10px;
  color: #e8eaf6;
  font-weight: 700;
}
