﻿:root {
  color-scheme: dark;
  --bg: #111214;
  --panel: #121315;
  --panel-raised: #15161a;
  --panel-hover: #303030;
  --field: #15161a;
  --line: #222228;
  --line-soft: #303030;
  --text: #f1f1f1;
  --text-soft: #b7b7b7;
  --muted: #818181;
  --accent: #95f56f;
  --accent-strong: #76df52;
  --accent-ink: #14200f;
  --blue: #75a7ff;
  --danger: #ff766f;
  --warning: #f6ca66;
  --radius: 7px;
  --radius-lg: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

.webmotion-wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  font-family: "Adobe Clean", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
}

button,
input {
  outline: none;
}

button {
  color: inherit;
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: default;
  opacity: 0.42;
}

button:focus-visible,
input:focus-visible {
  box-shadow: 0 0 0 2px rgba(117, 167, 255, 0.75);
}

code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: #d7d7d7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.panel-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-width: 272px;
  background:
    radial-gradient(circle at 90% -10%, rgba(149, 245, 111, 0.055), transparent 180px),
    var(--bg);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 10px 7px 12px;
  border-bottom: 1px solid #101010;
  background: #1d1d1d;
}

.panel-nav {
  display: flex;
  background: #181818;
  border-bottom: 1px solid #282828;
  padding: 4px 10px 0;
  gap: 4px;
}

.nav-tab {
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(149, 245, 111, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.license-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #242424;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 650;
}

#license-state.is-active {
  color: var(--accent);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(149, 245, 111, 0.72);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(149, 245, 111, 0.2), rgba(149, 245, 111, 0.05));
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 4px;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.icon-button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--panel-raised);
}

.connection-ring {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}

.connection-ring::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 5px;
  height: 5px;
  border: 2px solid #1d1d1d;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}

.icon-button.is-online .connection-ring {
  border-color: var(--accent);
}

.icon-button.is-online .connection-ring::after {
  background: var(--accent);
}

.icon-button.is-checking .connection-ring {
  border-top-color: var(--blue);
  animation: spin 0.7s linear infinite;
}

.icon-button.is-offline .connection-ring,
.icon-button.is-offline .connection-ring::after {
  border-color: var(--danger);
}

.icon-button.is-offline .connection-ring::after {
  background: var(--danger);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 37px;
  padding: 0 7px;
  border-bottom: 1px solid #111;
  background: #1d1d1d;
}

.tab {
  position: relative;
  min-width: 0;
  padding: 1px 3px 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

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

.tab::after {
  position: absolute;
  right: 7px;
  bottom: 0;
  left: 7px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  content: "";
}

.tab.is-active {
  color: var(--text);
}

.tab.is-active::after {
  background: var(--accent);
}

.workspace {
  min-height: 0;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #4c4c4c transparent;
  scrollbar-width: thin;
}

.workspace::-webkit-scrollbar {
  width: 8px;
}

.workspace::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: #4c4c4c;
  background-clip: padding-box;
}

.update-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(149, 245, 111, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 95% 10%, rgba(149, 245, 111, 0.11), transparent 90px),
    linear-gradient(145deg, #272b25, #222322 70%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
  gap: 10px;
}

.update-banner-global {
  position: fixed;
  z-index: 1100;
  top: 8px;
  right: 8px;
  left: 8px;
  margin: 0;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.update-banner-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.update-banner-text {
  min-width: 0;
}

.update-banner-copy strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-banner-copy p {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 8.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(149, 245, 111, 0.1), 0 0 8px rgba(149, 245, 111, 0.24);
}

.update-button {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 5px 9px;
  font-size: 8.5px;
}

.tab-panel {
  display: none;
  padding-bottom: 3px;
}

.tab-panel.is-active {
  display: block;
  animation: panel-in 120ms ease-out;
}

.context-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 27px;
  align-items: center;
  min-height: 43px;
  margin-bottom: 6px;
  padding: 6px 6px 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #1e1e1e;
  gap: 8px;
}

.context-primary {
  min-width: 0;
}

.context-primary strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-selection {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 2px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.context-selection strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1;
}

.mini-button {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-raised);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1;
}

.mini-button:hover {
  border-color: #555;
  background: var(--panel-hover);
  color: var(--text);
}

.tool-card,
.tool-section {
  margin-bottom: 6px;
}

.tool-card {
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #252525, #222);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.compact-card {
  padding: 9px;
}

.scene-actions {
  margin-bottom: 6px;
  padding: 8px;
  border: 1px solid rgba(149, 245, 111, 0.19);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #292c27, #222322 70%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.scene-main-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.scene-main-actions .button {
  width: 100%;
  min-height: 33px;
}

.scene-utility-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 27px;
  margin-top: 5px;
  gap: 6px;
}

.direct-transfer-status {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 3px;
  color: var(--muted);
  font-size: 9px;
  gap: 7px;
}

.direct-transfer-status span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-transfer-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 999px; background: #878892; box-shadow: 0 0 0 3px rgba(135, 136, 146, 0.1); }
.direct-transfer-dot.is-ready { background: var(--accent); box-shadow: 0 0 0 4px rgba(149, 245, 111, 0.12); }
.direct-transfer-dot.is-error { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 103, 111, 0.12); }
.direct-transfer-dot.is-waiting { background: #d3a74e; box-shadow: 0 0 0 4px rgba(211, 167, 78, 0.12); }

.flush-top {
  margin-top: 0;
}

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.file-result {
  overflow: hidden;
  margin-top: 6px;
  padding: 6px 3px 0;
  border-top: 1px solid rgba(149, 245, 111, 0.14);
  color: var(--text-soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.selection-chip {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1d1d1d;
  color: var(--text-soft);
  font-size: 8.5px;
  white-space: nowrap;
}

.selection-chip strong {
  margin-right: 3px;
  color: var(--accent);
}

.form-grid {
  display: grid;
  gap: 7px;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.field {
  display: block;
  min-width: 0;
}

.field > span:first-child {
  display: block;
  margin: 0 0 4px 1px;
  color: var(--text-soft);
  font-size: 9px;
}

.field input,
.field select {
  width: 100%;
  height: 27px;
  min-width: 0;
  padding: 4px 7px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  background: var(--field);
  color: var(--text);
  transition: border-color 100ms ease;
  -webkit-user-select: text;
  user-select: text;
}

.field select {
  padding-right: 24px;
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 11px) 11px,
    calc(100% - 7px) 11px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
}

.field input:hover,
.field select:hover {
  border-color: #515151;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
}

.field-block {
  margin-top: 7px;
}

.input-unit {
  position: relative;
  display: block;
}

.input-unit input {
  padding-right: 28px;
}

.input-unit > span {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--muted);
  font-size: 8.5px;
  pointer-events: none;
}

.inline-form {
  display: grid;
  align-items: end;
  gap: 6px;
}

.breakpoint-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.compact-section-title {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.breakpoint-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.breakpoint-quick-actions .button {
  width: 100%;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  gap: 5px;
}

.button:active {
  transform: translateY(1px);
}

.button-full {
  width: 100%;
  margin-top: 9px;
}

.button-primary {
  border-color: #575757;
  background: #e2e2e2;
  color: #181818;
}

.button-primary:hover {
  border-color: #f5f5f5;
  background: #f3f3f3;
}

.button-secondary {
  border-color: var(--line);
  background: #2b2b2b;
  color: var(--text);
}

.button-secondary:hover {
  border-color: #575757;
  background: #333;
}

.button-quiet {
  min-height: 25px;
  padding: 4px 7px;
  border-color: transparent;
  background: transparent;
  color: var(--text-soft);
  font-size: 9px;
}

.button-quiet:hover {
  border-color: var(--line);
  background: #292929;
  color: var(--text);
}

.button-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-accent:hover {
  border-color: #b0ff91;
  background: #a6fb84;
}

.button.is-busy {
  color: transparent;
  pointer-events: none;
}

.button.is-busy::after {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: #111;
  content: "";
  animation: spin 0.65s linear infinite;
}

.scene-report {
  display: flex;
  justify-content: center;
  padding: 2px 0 0;
}

.report-link {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  gap: 5px;
}

.report-link span {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  font-size: 8px;
}

.report-link:hover {
  border-color: var(--line-soft);
  background: #222;
  color: var(--text-soft);
}


.motion-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 9px;
  padding: 10px 11px;
  border: 1px solid rgba(117, 167, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 5%, rgba(117, 167, 255, 0.13), transparent 105px),
    linear-gradient(145deg, #272a30, #222326);
  gap: 10px;
}

.motion-hero-copy {
  min-width: 0;
}

.motion-hero h2,
.motion-step h2,
.motion-prep-row h2 {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.motion-hero p,
.motion-prep-row p {
  margin: 3px 0 0;
  color: var(--text-soft);
  font-size: 9px;
  line-height: 1.4;
}

.motion-workflow-card {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 42px),
    #222;
}

.motion-step {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.motion-step-number {
  display: grid;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(149, 245, 111, 0.34);
  border-radius: 50%;
  background: rgba(149, 245, 111, 0.075);
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 700;
}

.motion-step-compact {
  margin-bottom: 0;
}

.motion-divider {
  height: 1px;
  margin: 12px -1px;
  background: var(--line-soft);
}

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

.motion-button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 6px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text-soft);
  text-align: left;
  gap: 7px;
}

.motion-button:hover {
  border-color: #4e4e4e;
  background: var(--panel-raised);
}

.motion-button.is-active {
  border-color: rgba(149, 245, 111, 0.58);
  background:
    linear-gradient(135deg, rgba(149, 245, 111, 0.1), rgba(149, 245, 111, 0.035));
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(149, 245, 111, 0.045) inset;
}

.motion-button > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.motion-button strong {
  overflow: hidden;
  color: var(--text);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-button small {
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-button.is-active strong,
.motion-button.is-active small {
  color: inherit;
}

.motion-preview {
  position: relative;
  display: grid;
  width: 27px;
  height: 19px;
  place-items: center;
  overflow: hidden;
}

.motion-preview i {
  position: relative;
  display: block;
  width: 12px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.motion-preview::after {
  position: absolute;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  content: "";
}

.motion-fade i {
  box-shadow: -4px 0 0 -1px rgba(183, 183, 183, 0.2), -7px 0 0 -1px rgba(183, 183, 183, 0.09);
}

.motion-up::after {
  top: 0;
  content: "↑";
}

.motion-up i {
  top: 4px;
}

.motion-down::after {
  bottom: -1px;
  content: "↓";
}

.motion-down i {
  top: -3px;
}

.motion-left::after {
  left: 0;
  content: "←";
}

.motion-left i {
  left: 4px;
}

.motion-right::after {
  right: 0;
  content: "→";
}

.motion-right i {
  left: -4px;
}

.motion-scale i {
  box-shadow: 0 0 0 3px rgba(183, 183, 183, 0.13);
}

.motion-pop i {
  transform: rotate(-4deg);
  box-shadow: 3px -3px 0 -1px rgba(183, 183, 183, 0.25);
}

.control-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #191919;
  gap: 2px;
}

.control-segment {
  min-height: 29px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.control-segment:hover {
  background: #252525;
  color: var(--text-soft);
}

.control-segment.is-active {
  border-color: #444;
  background: #303030;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.motion-direction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #1d1d1d;
  gap: 8px;
}

.control-label {
  color: var(--text-soft);
  font-size: 9px;
}

.direction-controls {
  display: grid;
  grid-template-columns: repeat(4, 28px);
  gap: 3px;
}

.direction-button {
  width: 28px;
  height: 25px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: #262626;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.direction-button:hover {
  border-color: #515151;
  color: var(--text-soft);
}

.direction-button.is-active {
  border-color: rgba(149, 245, 111, 0.5);
  background: rgba(149, 245, 111, 0.085);
  color: var(--accent);
}

.motion-parameter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 9px;
}

.motion-apply {
  min-height: 34px;
  margin-top: 9px;
  font-size: 10.5px;
}

.motion-prep-card {
  border-style: dashed;
  background: #202020;
}

.motion-prep-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.motion-prep-row .button {
  min-width: 82px;
}

.status-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border-top: 1px solid #111;
  background: #1b1b1b;
  color: var(--muted);
  font-size: 8.5px;
  gap: 8px;
}

.status-message,
.footer-context {
  display: flex;
  align-items: center;
  min-width: 0;
}

.status-message {
  gap: 5px;
}

.status-message span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.status-message.is-ready .status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(149, 245, 111, 0.1);
}

.status-message.is-busy .status-dot {
  border: 1px solid var(--blue);
  border-right-color: transparent;
  background: transparent;
  animation: spin 0.7s linear infinite;
}

.status-message.is-error .status-dot {
  background: var(--danger);
}

.footer-context {
  justify-content: flex-end;
  white-space: nowrap;
  gap: 6px;
}

.footer-context strong {
  color: var(--text-soft);
}

#footer-comp {
  display: block;
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-divider {
  width: 1px;
  height: 9px;
  background: var(--line);
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 9px;
  bottom: 37px;
  left: 9px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
  gap: 5px;
}

.license-gate {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  min-width: 272px;
  padding: 34px 14px 14px;
  overflow: auto;
  place-items: center;
  background:
    radial-gradient(circle at 78% 5%, rgba(149, 245, 111, 0.12), transparent 180px),
    #181818;
}

.license-card {
  width: min(100%, 380px);
  padding: 18px;
  border: 1px solid rgba(149, 245, 111, 0.24);
  border-radius: 12px;
  background: linear-gradient(155deg, #292d27, #202120 62%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

.license-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.license-brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(149, 245, 111, 0.72);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(149, 245, 111, 0.24), rgba(149, 245, 111, 0.06));
  color: var(--accent);
  font-size: 21px;
  font-weight: 800;
}

.license-brand h1 {
  margin: 3px 0 0;
  font-size: 17px;
  line-height: 1.2;
}

.license-copy {
  margin: 13px 0;
  color: var(--text-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.license-field {
  display: block;
}

.license-field > span {
  display: block;
  margin: 0 0 5px 1px;
  color: var(--text-soft);
  font-size: 9px;
}

.license-field input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #404040;
  border-radius: 6px;
  outline: none;
  background: #151515;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  line-height: 1.35;
  -webkit-user-select: text;
  user-select: text;
}

.license-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(117, 167, 255, 0.28);
}

.license-activate-button {
  min-height: 34px;
}

.license-error {
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 118, 111, 0.42);
  border-radius: 6px;
  background: rgba(255, 118, 111, 0.08);
  color: #ffaaa5;
  font-size: 9.5px;
  line-height: 1.4;
}

.license-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.license-report-link {
  margin: 5px auto 0;
}

body.license-locked .panel-shell {
  display: none;
}

body.license-locked .toast-region {
  display: none;
}

body:not(.license-locked) .license-gate {
  display: none;
}

.toast {
  position: relative;
  overflow: hidden;
  padding: 9px 10px 9px 30px;
  border: 1px solid #494949;
  border-radius: 7px;
  background: rgba(43, 43, 43, 0.98);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 10px;
  line-height: 1.35;
  animation: toast-in 170ms ease-out;
}

.toast::before {
  position: absolute;
  top: 9px;
  left: 10px;
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 8px;
  font-weight: 900;
  content: "✓";
}

.toast.is-error {
  border-color: rgba(255, 118, 111, 0.5);
}

.toast.is-error::before {
  background: var(--danger);
  color: #2a0c0a;
  content: "!";
}

.toast.is-leaving {
  animation: toast-out 140ms ease-in forwards;
}

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

@keyframes panel-in {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(5px) scale(0.985); }
}

@media (max-width: 315px) {
  .workspace {
    padding: 8px;
  }

  .brand-copy small,
  .context-selection span {
    display: none;
  }

  .motion-grid {
    grid-template-columns: 1fr;
  }

  .breakpoint-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .breakpoint-form .button {
    grid-column: 1 / -1;
  }

  .status-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-context {
    display: none;
  }
}

@media (min-width: 460px) {
  .motion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .motion-button {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 65px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Quickbar 1.0 monochrome utility redesign

   The panel intentionally follows the visual language of established creative
   tools: flat neutral surfaces, one-pixel separators, compact controls, and
   selection expressed through contrast instead of brand color or glow.
   -------------------------------------------------------------------------- */

:root {
  --bg: #111214;
  --panel: #121315;
  --panel-raised: #15161a;
  --panel-hover: #242424;
  --field: #15161a;
  --line: #222228;
  --line-soft: #2b2b2b;
  --text: #f2f2f2;
  --text-soft: #b8b8b8;
  --muted: #858585;
  --accent: #f2f2f2;
  --accent-strong: #ffffff;
  --accent-ink: #111111;
  --blue: #f2f2f2;
  --danger: #f2f2f2;
  --warning: #b8b8b8;
  --radius: 2px;
  --radius-lg: 2px;
  --shadow: none;
}

body,
.panel-shell,
.license-gate {
  background: var(--bg);
}

.panel-shell *,
.license-gate *,
.update-banner-global {
  box-shadow: none !important;
}

button,
input,
select,
textarea {
  border-radius: 2px;
}

button {
  transition: background-color 80ms linear, border-color 80ms linear, color 80ms linear;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 1px;
  box-shadow: none;
}

code,
.app-header,
.tabs,
.status-bar,
.update-banner,
.context-strip,
.tool-card,
.scene-actions,
.motion-hero,
.motion-button,
.control-segments,
.control-segment,
.motion-direction-row,
.direction-button,
.selection-chip,
.mini-button,
.button,
.report-link,
.license-status-badge,
.license-card,
.license-brand-mark,
.license-field input,
.license-error,
.toast {
  border-radius: 2px;
}

.app-header {
  min-height: 44px;
  padding: 7px 9px 6px 10px;
  border-bottom-color: #2b2b2b;
  background: #141414;
}

.brand {
  gap: 7px;
}

.brand-mark {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  border-color: #d8d8d8;
  background: transparent;
  color: #f2f2f2;
  font-size: 12px;
}

.brand-copy strong {
  font-size: 12px;
  font-weight: 700;
}

.brand-copy small {
  color: #8e8e8e;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.license-status-badge {
  min-height: 21px;
  padding: 2px 6px;
  border-color: #383838;
  background: transparent;
  color: #9b9b9b;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#license-state.is-active {
  color: #eeeeee;
}

.icon-button {
  width: 27px;
  height: 27px;
  border-radius: 2px;
}

.icon-button:hover {
  border-color: #444444;
  background: #1d1d1d;
}

.connection-ring,
.connection-ring::after {
  border-color: #777777;
}

.connection-ring::after {
  border-color: #141414;
  background: #777777;
}

.icon-button.is-online .connection-ring {
  border-color: #eeeeee;
}

.icon-button.is-online .connection-ring::after,
.icon-button.is-offline .connection-ring::after {
  background: #eeeeee;
}

.icon-button.is-checking .connection-ring,
.icon-button.is-offline .connection-ring {
  border-color: #eeeeee;
  border-top-color: transparent;
}

.tabs {
  height: 34px;
  padding: 0;
  border-bottom-color: #2b2b2b;
  background: #141414;
}

.tab {
  padding: 0 10px;
  border-right: 1px solid #242424;
  color: #858585;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.tab:last-child {
  border-right: 0;
}

.tab::after {
  right: 0;
  left: 0;
  height: 1px;
  border-radius: 0;
}

.tab.is-active {
  background: #191919;
  color: #f2f2f2;
}

.tab.is-active::after {
  background: #f2f2f2;
}

.workspace {
  padding: 7px;
  scrollbar-color: #4a4a4a #111111;
}

.workspace::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 0;
  background: #4a4a4a;
}

.update-banner,
.update-banner-global {
  border-color: #555555;
  background: #1b1b1b;
}

.update-dot {
  border-radius: 50%;
  background: #eeeeee;
}

.context-strip {
  margin-bottom: 5px;
  border-color: #303030;
  background: #171717;
}

.tool-card,
.scene-actions,
.motion-hero,
.motion-workflow-card,
.motion-prep-card {
  border-color: #303030;
  background: #171717;
}

.tool-card,
.tool-section,
.scene-actions {
  margin-bottom: 5px;
}

.scene-actions {
  padding: 7px;
}

.mini-button,
.button-secondary,
.direction-button {
  border-color: #3a3a3a;
  background: #1d1d1d;
  color: #d4d4d4;
}

.mini-button:hover,
.button-secondary:hover,
.direction-button:hover,
.button-quiet:hover,
.report-link:hover {
  border-color: #666666;
  background: #252525;
  color: #ffffff;
}

.button {
  min-height: 28px;
  font-size: 9.5px;
  font-weight: 650;
}

.button:active {
  transform: none;
}

.button-accent,
.button-primary {
  border-color: #f2f2f2;
  background: #f2f2f2;
  color: #111111;
}

.button-accent:hover,
.button-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
}

.button-quiet,
.report-link {
  color: #a0a0a0;
}

.direct-transfer-dot,
.status-dot,
.update-dot,
.toast::before,
.report-link span,
.connection-ring,
.connection-ring::after {
  border-radius: 50%;
}

.direct-transfer-dot,
.direct-transfer-dot.is-waiting {
  border: 1px solid #808080;
  background: transparent;
}

.direct-transfer-dot.is-ready {
  border-color: #eeeeee;
  background: #eeeeee;
}

.direct-transfer-dot.is-error {
  border-color: #eeeeee;
  background: transparent;
}

.file-result {
  border-top-color: #383838;
}

.selection-chip {
  background: transparent;
}

.selection-chip strong {
  color: #f2f2f2;
}

.field input,
.field select,
.license-field input {
  border-color: #3a3a3a;
  background-color: #0d0d0d;
  background-image: none;
  color: #f2f2f2;
}

.field select {
  padding-right: 7px;
  -webkit-appearance: menulist;
  appearance: menulist;
}

.field input:hover,
.field select:hover,
.license-field input:hover {
  border-color: #616161;
}

.field input:focus,
.field select:focus,
.license-field input:focus {
  border-color: #f2f2f2;
}

.motion-step-number {
  border-color: #555555;
  border-radius: 2px;
  background: #1d1d1d;
  color: #d5d5d5;
}

.motion-button {
  background: #141414;
}

.motion-button:hover {
  border-color: #555555;
  background: #1d1d1d;
}

.motion-button.is-active {
  border-color: #ededed;
  background: #ededed;
  color: #111111;
}

.motion-button.is-active strong,
.motion-button.is-active small {
  color: #111111;
}

.motion-preview i {
  background: transparent;
}

.control-segments {
  padding: 0;
  border-color: #353535;
  background: #101010;
  gap: 0;
}

.control-segment {
  border: 0;
  border-right: 1px solid #353535;
  border-radius: 0;
}

.control-segment:last-child {
  border-right: 0;
}

.control-segment:hover {
  background: #202020;
}

.control-segment.is-active,
.direction-button.is-active {
  border-color: #eeeeee;
  background: #eeeeee;
  color: #111111;
}

.motion-direction-row {
  background: #141414;
}

.motion-prep-card {
  border-style: solid;
}

.status-bar {
  border-top-color: #2b2b2b;
  background: #141414;
}

.status-message.is-ready .status-dot,
.status-message.is-error .status-dot {
  background: #eeeeee;
}

.status-message.is-busy .status-dot {
  border-color: #eeeeee;
  border-right-color: transparent;
}

.license-gate {
  padding: 12px;
}

.license-card {
  border-color: #484848;
  background: #171717;
}

.license-brand-mark {
  border-color: #eeeeee;
  background: transparent;
  color: #eeeeee;
}

.license-error,
.toast.is-error {
  border-color: #777777;
  background: #1c1c1c;
  color: #f2f2f2;
}

.toast {
  border-color: #555555;
  background: #1c1c1c;
}

.toast::before,
.toast.is-error::before {
  background: #eeeeee;
  color: #111111;
}

/* Quickbar 1.0 unbranded flat Builder surface */
.app-header {
  min-height: 32px;
  justify-content: space-between;
  padding: 4px 7px;
  border: 0;
  background: transparent;
}

.header-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.top-connection-status {
  display: flex;
  min-width: 0;
  align-items: center;
  color: #8f8f8f;
  font-size: 8.5px;
  white-space: nowrap;
  gap: 5px;
}

.top-connection-status #direct-transfer-status {
  overflow: hidden;
  text-overflow: ellipsis;
}

.context-strip,
.scene-actions,
.tool-card,
.status-bar,
.license-card,
.update-banner,
.update-banner-global,
.license-error,
.toast {
  border: 0 !important;
  box-shadow: none !important;
}

.context-strip {
  background: #151515;
}

.scene-actions,
.tool-card,
.status-bar {
  background: transparent;
}

.scene-actions,
.tool-card {
  padding-right: 8px;
  padding-left: 8px;
}

.scene-utility-row {
  grid-template-columns: 1fr;
  justify-items: end;
}

.license-status-badge,
.icon-button,
.mini-button,
.button,
.report-link {
  border: 0 !important;
}

.license-status-badge,
.icon-button,
.mini-button,
.button-quiet,
.report-link {
  background: transparent;
}

.button-secondary {
  background: #1c1c1c;
}

.button-secondary:hover,
.mini-button:hover,
.button-quiet:hover,
.report-link:hover,
.icon-button:hover {
  border: 0 !important;
  background: #242424;
}

.field input,
.field select,
.license-field input {
  border: 0;
  background-color: #171717;
}

.field input:hover,
.field select:hover,
.license-field input:hover,
.field input:focus,
.field select:focus,
.license-field input:focus {
  border: 0;
}

.file-result {
  border: 0;
}

.license-card {
  background: #171717;
}

.license-card > h1 {
  margin: 0;
  color: #f2f2f2;
  font-size: 17px;
  line-height: 1.2;
}

/* Quickbar 1.0 compact native-extension layout */
:root {
  --bg: #111214;
  --panel: #121315;
  --panel-raised: #15161a;
  --panel-hover: #292929;
  --field: #15161a;
  --line: #222228;
  --line-soft: #242424;
  --text: #eeeeee;
  --text-soft: #b2b2b2;
  --muted: #777777;
  --radius: 1px;
  --radius-lg: 1px;
}

html,
body,
.panel-shell {
  background: #151515;
}

.panel-shell {
  font-family: Arial, Helvetica, sans-serif;
}

.app-header {
  min-height: 31px;
  padding: 4px 8px;
  border-bottom: 1px solid #242424 !important;
  background: #181818;
}

.top-connection-status,
.license-status-badge {
  font-size: 8px;
  letter-spacing: 0.035em;
}

.workspace {
  padding: 0 7px 6px;
}

.tab-panel {
  padding: 0;
}

.context-strip {
  min-height: 40px;
  margin: 0;
  padding: 5px 4px 5px 7px;
  border-bottom: 1px solid #242424 !important;
  border-radius: 0;
  background: #191919;
}

.context-primary strong {
  font-size: 11px;
}

.context-selection strong {
  font-size: 13px;
}

.eyebrow,
.compact-section-title,
.field > span,
.license-field > span {
  color: #8b8b8b;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mini-button,
.icon-button {
  width: 25px;
  height: 25px;
  border-radius: 1px;
}

.scene-actions {
  margin: 0;
  padding: 6px 0 5px;
}

.scene-main-actions {
  gap: 2px;
}

.scene-main-actions .button {
  min-height: 42px;
}

.scene-main-actions .button,
.breakpoint-quick-actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  gap: 6px;
}

.action-glyph {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.button {
  min-height: 27px;
  padding: 5px 8px;
  border-radius: 1px;
  font-size: 9px;
  font-weight: 650;
}

.button-accent,
.button-primary {
  background: #e7e7e7;
  color: #111111;
}

.button-secondary {
  background: #202020;
  color: #d2d2d2;
}

.button-secondary:hover,
.mini-button:hover,
.button-quiet:hover,
.report-link:hover,
.icon-button:hover {
  background: #292929;
}

.scene-utility-row {
  min-height: 22px;
  padding: 2px 0 0;
}

.button-quiet {
  min-height: 21px;
  padding: 3px 4px;
  font-size: 8px;
}

.breakpoint-card {
  margin: 0;
  padding: 7px 0 6px;
  border-top: 1px solid #242424 !important;
  border-radius: 0;
}

.compact-section-title {
  margin: 0 0 6px;
}

.breakpoint-form {
  gap: 3px;
}

.field {
  gap: 3px;
}

.field input,
.field select,
.license-field input {
  min-height: 27px;
  padding: 5px 7px;
  border-radius: 1px;
  background: #101010;
  color: #eeeeee;
}

.breakpoint-quick-actions {
  margin-top: 3px;
  gap: 2px;
}

.breakpoint-quick-actions .button {
  min-height: 28px;
}

.scene-report {
  padding: 4px 0 0;
  border-top: 1px solid #242424;
}

.report-link {
  min-height: 22px;
  padding: 3px 5px;
  border-radius: 1px;
  font-size: 8px;
}

.status-bar {
  min-height: 27px;
  padding: 4px 8px;
  border-top: 1px solid #242424 !important;
  border-radius: 0;
  background: #181818;
  font-size: 7.5px;
}

.license-card {
  border-radius: 1px;
  background: #1b1b1b;
}

@media (max-width: 360px) {
  .license-status-badge {
    display: none;
  }

  .scene-main-actions .button {
    min-height: 38px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .action-glyph {
    font-size: 14px;
  }
}

/* Quickbar 1.0 supplied compact Builder UI */
:root {
  --wm-bg: #111214;
  --wm-surface: #121315;
  --wm-button: #15161a;
  --wm-button-hover: #36363f;
  --wm-separator: rgba(255, 255, 255, 0.07);
  --wm-text-primary: #eeeeee;
  --wm-text-secondary: #a0a0a8;
  --wm-text-tertiary: #646470;
}

html,
body {
  background: var(--wm-bg);
}

.panel-shell {
  width: 100%;
  max-width: 280px;
  min-width: 272px;
  background: var(--wm-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.brand-defs {
  position: absolute;
  overflow: hidden;
}

.app-header {
  min-height: 40px;
  padding: 9px 12px;
  border: 0 !important;
  border-bottom: 1px solid var(--wm-separator) !important;
  background: var(--wm-bg);
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  color: var(--wm-text-primary);
  gap: 7px;
}

.brand-lockup strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wave-mark {
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: none;
}

.wave-mark-header {
  width: 20px;
  height: 20px;
}

.wave-mark path {
  stroke: url(#wm-gradient);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-connection-status {
  display: flex;
  min-width: 0;
  max-width: 138px;
  min-height: 20px;
  align-items: center;
  padding: 2px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--wm-text-tertiary);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  gap: 5px;
}

.top-connection-status:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wm-text-secondary);
}

.top-connection-status #direct-transfer-status {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-transfer-dot,
.direct-transfer-dot.is-waiting {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: #646470;
}

.direct-transfer-dot.is-ready {
  border: 0;
  background: #34d399;
}

.direct-transfer-dot.is-error {
  border: 0;
  background: #f87171;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.workspace {
  padding: 0;
  background: var(--wm-bg);
}

.tab-panel {
  padding: 0;
}

.context-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 70px;
  margin: 0;
  padding: 9px 12px;
  border: 0 !important;
  border-bottom: 1px solid var(--wm-separator) !important;
  border-radius: 0;
  background: var(--wm-bg);
  gap: 8px;
}

.context-primary strong {
  margin-top: 4px;
  color: var(--wm-text-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.eyebrow,
.compact-section-title {
  color: var(--wm-text-tertiary);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.context-layer-count {
  display: block;
  margin-top: 4px;
  color: var(--wm-text-tertiary);
  font-size: 9.5px;
  line-height: 1;
}

.context-layer-count strong {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
}

.mini-button {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 0 !important;
  border-radius: 3px;
  background: transparent;
  color: var(--wm-text-tertiary);
}

.mini-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wm-text-secondary);
}

.mini-button svg,
.reconnect-action svg,
.guide-icon,
.report-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-button svg {
  width: 12px;
  height: 12px;
}

.scene-actions {
  margin: 0;
  padding: 10px 12px;
  border: 0 !important;
  background: var(--wm-bg);
}

.import-action,
.reconnect-action,
.create-variant-action,
.preset-action {
  width: 100%;
  border: 0 !important;
  border-radius: 4px;
  font-family: inherit;
}

.import-action {
  position: relative;
  min-height: 37px;
  justify-content: flex-start;
  padding: 9px 12px;
  overflow: hidden;
  background: var(--wm-button);
  color: var(--wm-text-primary);
  font-size: 12.5px;
  font-weight: 600;
  gap: 9px;
}

.import-action:hover,
.create-variant-action:hover {
  background: var(--wm-button-hover);
}

.import-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, #06d4f5 0%, #4f7ef0 28%, #9055e8 56%, #e060b0 80%, #f5a020 100%);
}

.reconnect-action {
  min-height: 33px;
  justify-content: flex-start;
  margin-top: 4px;
  padding: 7px 10px;
  background: transparent;
  color: var(--wm-text-secondary);
  font-size: 11.5px;
  font-weight: 500;
  gap: 8px;
}

.reconnect-action:hover {
  background: rgba(255, 255, 255, 0.05);
}

.reconnect-action svg {
  width: 12px;
  height: 12px;
  color: var(--wm-text-tertiary);
}

.reconnect-action:disabled {
  cursor: default;
  opacity: 0.58;
}

.file-result {
  margin-top: 4px;
  padding: 5px 10px;
  border: 0;
  color: var(--wm-text-tertiary);
  font-size: 9px;
}

.guide-row {
  padding: 0;
  border-top: 1px solid var(--wm-separator);
  border-bottom: 1px solid var(--wm-separator);
}

.guide-toggle {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wm-text-tertiary);
  cursor: pointer;
  font-family: inherit;
}

.guide-toggle:hover {
  background: rgba(255, 255, 255, 0.025);
}

.guide-copy {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  gap: 7px;
}

.guide-icon {
  width: 12px;
  height: 12px;
}

.guide-icon-on {
  display: none;
}

.toggle-track {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: #3c3c46;
  transition: background 160ms linear;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease-out;
}

.guide-toggle[aria-pressed="true"] {
  color: var(--wm-text-secondary);
}

.guide-toggle[aria-pressed="true"] .guide-icon-off {
  display: none;
}

.guide-toggle[aria-pressed="true"] .guide-icon-on {
  display: block;
}

.guide-toggle[aria-pressed="true"] .toggle-track {
  background: #06d4f5;
}

.guide-toggle[aria-pressed="true"] .toggle-thumb {
  transform: translateX(12px);
}

.breakpoint-card {
  margin: 0;
  padding: 10px 12px 12px;
  border: 0 !important;
  border-radius: 0;
  background: var(--wm-bg);
}

.compact-section-title {
  margin: 0 0 8px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 6px;
  gap: 6px;
}

.dimension-field {
  display: flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--wm-surface);
  gap: 6px;
}

.dimension-field > span {
  flex: 0 0 auto;
  color: var(--wm-text-secondary);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.dimension-field input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--wm-text-primary);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  appearance: textfield;
}

.dimension-field input::-webkit-inner-spin-button,
.dimension-field input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.create-variant-action {
  min-height: 36px;
  margin-bottom: 5px;
  padding: 9px 12px;
  background: var(--wm-button);
  color: var(--wm-text-primary);
  font-size: 12.5px;
  font-weight: 600;
}

.breakpoint-quick-actions {
  margin-top: 0;
  gap: 6px;
}

.preset-action {
  min-height: 30px;
  padding: 7px 4px;
  overflow: hidden;
  background: var(--wm-surface);
  color: var(--wm-text-secondary);
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preset-action:hover {
  background: var(--wm-button);
  color: var(--wm-text-primary);
}

.scene-report {
  display: flex;
  justify-content: flex-start;
  padding: 7px 12px 10px;
  border-top: 1px solid var(--wm-separator);
}

.report-link {
  display: flex;
  min-height: 16px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--wm-text-tertiary);
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  gap: 6px;
}

.report-link:hover {
  background: transparent;
  color: var(--wm-text-secondary);
}

.report-link svg {
  width: 10px;
  height: 10px;
}

.report-link span {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

.status-bar {
  max-width: 280px;
  min-height: 25px;
  padding: 5px 12px;
  border: 0 !important;
  border-top: 1px solid var(--wm-separator) !important;
  border-radius: 0;
  background: var(--wm-bg);
  color: var(--wm-text-tertiary);
  font-size: 8px;
}

.status-dot {
  width: 5px;
  height: 5px;
}

.license-gate {
  background: var(--wm-bg);
}

.license-card {
  border: 0;
  border-radius: 4px;
  background: var(--wm-surface);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #a0a0a8;
  outline-offset: 1px;
}

/* Legacy Quickbar 1.0 reference-inspired AE utility UI. */

:root {
  --wm-ref-bg: #111214;
  --wm-ref-panel: #121315;
  --wm-ref-surface: #15161a;
  --wm-ref-surface-hover: #333336;
  --wm-ref-input: #101011;
  --wm-ref-separator: #29292c;
  --wm-ref-text: #eeeeF0;
  --wm-ref-secondary: #b4b4b8;
  --wm-ref-muted: #77777d;
  --wm-ref-green: #59cf6a;
  color-scheme: dark;
}

html,
body {
  width: 100%;
  min-width: 300px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--wm-ref-bg);
  color: var(--wm-ref-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: block;
}

.panel-shell {
  display: block;
  width: calc(100% - 16px);
  max-width: 460px;
  height: auto;
  min-height: 0;
  grid-template-rows: none;
  margin: 8px auto;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--wm-ref-panel);
  box-shadow: none;
}

.app-header {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  gap: 10px;
}

.top-connection-status {
  display: flex;
  min-width: 0;
  min-height: 18px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wm-ref-text);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  gap: 7px;
}

.top-connection-status:hover,
.top-connection-status:active {
  background: transparent;
  color: #ffffff;
  transform: none;
}

.top-connection-status > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-transfer-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #64646a;
  box-shadow: none;
}

.direct-transfer-dot.is-ready,
.top-connection-status.is-online .direct-transfer-dot {
  background: var(--wm-ref-green);
  box-shadow: none;
}

.direct-transfer-dot.is-error,
.top-connection-status.is-offline .direct-transfer-dot {
  background: #bd676d;
}

.license-state {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  color: #6f6f74;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.license-state.is-active {
  color: #8f8f94;
}

.workspace,
.tab-panel,
.tab-panel.is-active {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.scene-actions {
  margin: 0;
  padding: 10px 16px 8px;
  border: 0 !important;
  background: transparent;
}

.import-action {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 25px minmax(0, 1fr) 19px;
  align-items: center;
  justify-content: stretch;
  padding: 8px 12px;
  border: 0 !important;
  border-radius: 2px;
  background: var(--wm-ref-surface);
  color: var(--wm-ref-text);
  cursor: pointer;
  font: inherit;
  gap: 9px;
}

.import-action:hover,
.import-action:active {
  background: var(--wm-ref-surface-hover);
  color: #ffffff;
  transform: none;
}

.import-logo {
  width: 24px;
  height: 19px;
  object-fit: contain;
}

.import-label {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.import-arrow,
.utility-action svg,
.guide-check svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.import-arrow {
  width: 18px;
  height: 18px;
  justify-self: end;
  color: #c5c5c8;
}

.utility-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
  gap: 10px;
}

.utility-action {
  display: flex;
  min-width: 0;
  min-height: 27px;
  align-items: center;
  justify-content: space-between;
  padding: 3px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wm-ref-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 600;
  gap: 8px;
}

.utility-action:hover:not(:disabled) {
  background: transparent;
  color: #ffffff;
  transform: none;
}

.utility-action:disabled {
  cursor: default;
  opacity: 0.5;
}

.utility-action svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #88888e;
}

.composition-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  color: #65656a;
  font-size: 8px;
  line-height: 1.3;
  gap: 10px;
}

.composition-meta > strong {
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composition-meta span,
.composition-meta span strong {
  flex: 0 0 auto;
  font-weight: 500;
}

.file-result {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  color: var(--wm-ref-muted);
  font-size: 9px;
}

.breakpoint-card {
  margin: 0 16px;
  padding: 11px 0 10px;
  border: 0 !important;
  border-top: 1px solid var(--wm-ref-separator) !important;
  border-radius: 0;
  background: transparent;
}

.compact-section-title {
  margin: 0 0 8px;
  color: #85858a;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scale-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(72px, 0.85fr);
  gap: 6px;
}

.dimension-field {
  display: grid;
  min-width: 0;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  padding: 0 8px;
  border: 1px solid #252529;
  border-radius: 2px;
  background: var(--wm-ref-input);
  gap: 5px;
}

.dimension-field > span {
  color: #86868b;
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.dimension-field input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--wm-ref-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  appearance: textfield;
}

.dimension-field input::-webkit-inner-spin-button,
.dimension-field input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.create-variant-action,
.preset-action {
  border: 0 !important;
  border-radius: 2px;
  background: var(--wm-ref-surface);
  color: var(--wm-ref-secondary);
  font: inherit;
  font-weight: 650;
}

.create-variant-action {
  min-height: 36px;
  padding: 6px;
  font-size: 11px;
  text-transform: uppercase;
}

.create-variant-action:hover,
.preset-action:hover {
  background: var(--wm-ref-surface-hover);
  color: #ffffff;
  transform: none;
}

.breakpoint-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
  gap: 6px;
}

.preset-action {
  min-height: 34px;
  padding: 6px;
  font-size: 11px;
  text-transform: uppercase;
}

.bottom-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px;
  padding: 9px 0 10px;
  border-top: 1px solid var(--wm-ref-separator);
  gap: 16px;
}

.guide-toggle,
.report-link {
  display: flex;
  min-height: 20px;
  align-items: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--wm-ref-muted);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 500;
}

.guide-toggle {
  justify-content: flex-start;
  gap: 9px;
}

.report-link {
  justify-content: flex-end;
}

.guide-toggle:hover,
.report-link:hover {
  background: transparent;
  color: var(--wm-ref-secondary);
  transform: none;
}

.guide-check {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #343438;
  border-radius: 2px;
  background: var(--wm-ref-surface);
  color: #d0d0d3;
}

.guide-check svg {
  width: 11px;
  height: 11px;
  opacity: 0;
}

.guide-toggle[aria-pressed="true"] .guide-check svg {
  opacity: 1;
}

.status-bar {
  display: flex;
  width: auto;
  max-width: none;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 5px 16px;
  border: 0 !important;
  border-top: 1px solid var(--wm-ref-separator) !important;
  border-radius: 0;
  background: transparent;
  color: #5e5e63;
  font-size: 7.5px;
  gap: 12px;
}

.status-message,
.footer-context {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.status-message > span:last-child,
.footer-context > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.footer-context {
  flex: 0 1 auto;
  justify-content: flex-end;
}

.footer-divider {
  width: 1px;
  height: 8px;
  background: #343438;
}

.update-banner-global {
  width: calc(100% - 16px);
  max-width: 460px;
  margin: 8px auto 0;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.license-gate {
  background: var(--wm-ref-bg);
}

.license-card {
  border: 0;
  border-radius: 2px;
  background: var(--wm-ref-panel);
  box-shadow: none;
}

.license-field input,
.license-activate-button {
  border-radius: 2px;
}

.toast {
  border-radius: 2px;
  box-shadow: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #8b8b90;
  outline-offset: 1px;
}

@media (max-width: 360px) {
  .app-header,
  .scene-actions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .breakpoint-card,
  .bottom-tools {
    margin-right: 16px;
    margin-left: 16px;
  }

  .status-bar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .top-connection-status {
    font-size: 10px;
  }

  .scale-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .create-variant-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .panel-shell {
    width: calc(100% - 12px);
    margin: 6px auto;
  }

  .app-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .scene-actions {
    padding-right: 12px;
    padding-left: 12px;
  }

  .breakpoint-card,
  .bottom-tools {
    margin-right: 12px;
    margin-left: 12px;
  }

  .status-bar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .scale-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(66px, 0.75fr);
  }
}

@media (max-width: 360px) {
  .scale-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .create-variant-action {
    grid-column: 1 / -1;
  }
}

/* Figma Quickbar After Effects UI — node 32:8. */

:root {
  --wm-figma-bg: #111214;
  --wm-figma-surface: #121315;
  --wm-figma-surface-muted: #26272c;
  --wm-figma-field: #15161a;
  --wm-figma-line: rgba(255, 255, 255, 0.05);
  --wm-figma-text: #f0f0f0;
  --wm-figma-secondary: #9a9aaa;
  --wm-figma-muted: #5a5b64;
  --wm-figma-faint: #44444e;
  --wm-figma-green: #00d492;
  color-scheme: dark;
}

html,
body {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--wm-figma-bg);
  color: var(--wm-figma-text);
  font-family: Archivo, "Adobe Clean", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  display: flex;
}

.panel-shell {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: var(--wm-figma-bg);
  box-shadow: none;
}

.app-header {
  position: relative;
  display: flex;
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border: 0;
  background: transparent;
  gap: 10px;
  flex: 0 0 auto;
}

.app-header::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 1px;
  background: var(--wm-figma-line);
  content: "";
}

.top-connection-status {
  display: flex;
  min-width: 0;
  min-height: 15px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wm-figma-faint);
  cursor: pointer;
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0;
  text-transform: none;
  gap: 7px;
}

.top-connection-status:hover,
.top-connection-status:active {
  background: transparent;
  color: var(--wm-figma-secondary);
  transform: none;
}

.top-connection-status > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-transfer-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border: 0;
  border-radius: 50%;
  background: var(--wm-figma-faint);
  box-shadow: none;
}

.direct-transfer-dot.is-ready,
.top-connection-status.is-online .direct-transfer-dot {
  background: var(--wm-figma-green);
  box-shadow: none;
}

.direct-transfer-dot.is-error,
.top-connection-status.is-offline .direct-transfer-dot {
  background: #d46a73;
}

.license-state {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wm-figma-faint);
  cursor: pointer;
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.license-state.is-active {
  color: var(--wm-figma-faint);
}

.workspace,
.tab-panel,
.tab-panel.is-active {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.workspace {
  display: block;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.tab-panel,
.tab-panel.is-active {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.scene-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 14px;
  border: 0 !important;
  background: transparent;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.import-action {
  position: relative;
  display: flex;
  width: 100%;
  height: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 12px;
  border: 0 !important;
  border-radius: 6px;
  background: var(--wm-figma-surface);
  color: var(--wm-figma-text);
  cursor: pointer;
  font: inherit;
  gap: 0;
}

.import-action:hover,
.import-action:active {
  background: #34353c;
  color: #ffffff;
  transform: none;
}

.import-logo,
.import-arrow {
  display: none;
}

.import-label {
  min-width: 0;
  overflow: hidden;
  color: var(--wm-figma-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 18.75px;
  letter-spacing: 0;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.utility-actions {
  position: relative;
  display: block;
  width: 100%;
  height: 32px;
  margin: 0;
}

.utility-action {
  display: flex;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  background: var(--wm-figma-surface-muted);
  color: var(--wm-figma-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 17.25px;
  gap: 9px;
}

.utility-action:hover:not(:disabled) {
  background: #303137;
  color: #ffffff;
  transform: none;
}

.utility-action svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direct-transfer-authorize {
  width: 100%;
  padding-right: 12px;
}

.direct-transfer-authorize:disabled {
  cursor: default;
  opacity: 1;
}

.composition-meta {
  display: none;
}

.file-result {
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  z-index: 24;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #2e2f36;
  border-radius: 5px;
  background: #18181c;
  color: var(--wm-figma-secondary);
  font-size: 9px;
  line-height: 13.5px;
}

.bottom-tools {
  display: flex;
  width: auto;
  min-height: 43px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 14px;
  padding: 10px 0;
  border-top: 1px solid var(--wm-figma-line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: 12px;
}

.guide-toggle,
.report-link {
  display: flex;
  min-height: 21px;
  align-items: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--wm-figma-muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
}

.guide-toggle {
  justify-content: flex-start;
  gap: 7px;
}

.guide-toggle:hover,
.report-link:hover {
  background: transparent;
  color: var(--wm-figma-secondary);
  transform: none;
}

.guide-icon {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  object-fit: contain;
  opacity: 1;
}

.guide-toggle[aria-pressed="true"] .guide-icon {
  opacity: 0.55;
}

.breakpoint-card {
  width: auto;
  margin: 0 14px;
  padding: 10px 0 7px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
}

.compact-section-title {
  margin: 0 0 8px;
  color: #3c3c4c;
  font-size: 8px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.dimension-field {
  display: grid;
  min-width: 0;
  height: 30px;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: var(--wm-figma-field);
  gap: 4px;
}

.dimension-field > span {
  color: #38384a;
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
  text-transform: uppercase;
}

.dimension-field input {
  width: 100%;
  min-width: 0;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #e8e8f0;
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: right;
  appearance: textfield;
}

.dimension-field input::-webkit-inner-spin-button,
.dimension-field input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.create-variant-action,
.preset-action {
  margin: 0;
  border: 0 !important;
  background: var(--wm-figma-surface);
  color: #b4b4cc;
  font: inherit;
  font-weight: 600;
}

.create-variant-action {
  grid-column: 1 / -1;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 18px;
  text-transform: none;
}

.create-variant-action:hover,
.preset-action:hover {
  background: #34353c;
  color: #ffffff;
  transform: none;
}

.breakpoint-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
  gap: 6px;
}

.preset-action {
  display: flex;
  height: 36px;
  min-height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
  background: rgba(45, 46, 52, 0.5);
  text-transform: none;
  gap: 2px;
}

.preset-action strong {
  color: var(--wm-figma-secondary);
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 11px;
}

.preset-action small {
  color: var(--wm-figma-secondary);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 8.5px;
}

.status-bar {
  position: absolute;
  right: 14px;
  bottom: 39px;
  left: 14px;
  z-index: 22;
  display: flex;
  width: auto;
  min-height: 24px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #2e2f36 !important;
  border-radius: 5px;
  background: #18181c;
  box-shadow: none;
  color: var(--wm-figma-secondary);
  font-size: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.status-bar.is-busy,
.status-bar.is-error {
  opacity: 1;
  transform: translateY(0);
}

.status-message {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

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

.footer-context {
  display: none;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
}

.update-banner-global {
  width: calc(100% - 16px);
  max-width: none;
  margin: 0 auto;
  border: 1px solid #2e2f36;
  border-radius: 6px;
  box-shadow: none;
}

.license-gate {
  background: var(--wm-figma-bg);
}

.license-card {
  width: calc(100% - 28px);
  max-width: 360px;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #2e2f36;
  border-radius: 6px;
  background: var(--wm-figma-field);
  box-shadow: none;
}

.license-field input,
.license-activate-button {
  border-radius: 5px;
}

.toast {
  border-radius: 5px;
  box-shadow: none;
}

.panel-footer {
  display: flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-top: 1px solid var(--wm-figma-line);
  background: var(--wm-figma-bg);
  box-sizing: border-box;
}

.panel-footer-action,
.panel-help-action {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  border-radius: 4px;
  background: transparent;
  color: var(--wm-figma-muted);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.panel-footer-action {
  justify-content: flex-start;
  gap: 6px;
}

.panel-footer-action:hover,
.panel-help-action:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--wm-figma-secondary);
  transform: none;
}

.panel-footer-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-help-action {
  width: 22px;
  height: 22px;
  min-height: 22px;
  border-radius: 50%;
}

.panel-help-action > span {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  line-height: 1;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--wm-figma-secondary);
  outline-offset: 1px;
}

@media (max-width: 239px) {
  .scene-actions,
  .app-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .import-action,
  .utility-actions,
  .direct-transfer-authorize,
  .create-variant-action {
    width: 100%;
  }

  .bottom-tools,
  .breakpoint-card {
    margin-right: 10px;
    margin-left: 10px;
  }

  .scale-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-footer {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* Quickbar Web Images List Styles */
.web-images-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.web-image-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.web-image-card:hover {
  border-color: var(--accent);
  background: rgba(149, 245, 111, 0.04);
}

.web-image-thumb-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 4px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.web-image-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.web-image-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.web-image-filename {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-image-meta {
  font-size: 10px;
  color: var(--text-soft);
}

.web-image-add-btn {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--accent);
  color: #0b1208;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.web-image-add-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Stagger Frame Selection Popover */
.stagger-popover {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 175px;
  background: #18191c;
  border: 1px solid #3d3e42;
  border-radius: 7px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
  padding: 8px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.stagger-popover-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-soft);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.stagger-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.stagger-preset-btn {
  background: #232428;
  border: 1px solid #333438;
  border-radius: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 2px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.stagger-preset-btn:hover {
  background: #2e3036;
  border-color: var(--accent);
  color: #fff;
}

.stagger-preset-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1208;
  font-weight: 700;
}

.stagger-custom-box {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.stagger-custom-box input {
  flex: 1;
  min-width: 0;
  height: 24px;
  padding: 2px 6px;
  background: #111214;
  border: 1px solid #333438;
  border-radius: 4px;
  color: var(--text);
  font-size: 11px;
}

.stagger-custom-box input:focus {
  border-color: var(--accent);
  outline: none;
}

.stagger-custom-set-btn {
  padding: 2px 8px;
  height: 24px;
  background: #2a2b30;
  border: 1px solid #3d3e42;
  border-radius: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.stagger-custom-set-btn:hover {
  background: var(--accent);
  color: #0b1208;
  border-color: var(--accent);
}


