:root {
  --ink: #f7f7f5;
  --muted: #989898;
  --paper: #080808;
  --panel: rgba(15, 15, 15, 0.9);
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #ff5100;
  --blue: #ff5100;
  --violet: #ffffff;
  --coral: #ff5100;
  --orange: #ff5100;
  --soft-shadow: none;
  --shadow: none;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: #080808;
}

body {
  min-height: 200vh;
  overscroll-behavior-y: none;
  color: var(--ink);
  background: #080808;
}

body::after,
#fxCanvas,
.floor-grid,
.film-edge { display: none !important; }

.immersive-hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 640px;
  pointer-events: none;
}

body.workspace-entered .hero-copy-full,
body.workspace-entered .hero-enter {
  display: none;
}

.immersive-visual {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050505;
  transform: translate3d(0, var(--hero-shift-y, 0), 0);
  opacity: var(--hero-opacity, 1);
  will-change: transform, opacity;
}

.immersive-visual::before {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.02) 0%, rgba(8, 8, 8, 0.16) 28%, #080808 76%);
  opacity: var(--workspace-fade, 0);
}

.immersive-visual::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 110px rgba(0, 0, 0, 0.58);
}

.hero-scene-bg,
.hero-background {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  display: block;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-background {
  filter: saturate(0.94) contrast(1.04);
  transform: translate3d(var(--base-x, 0), var(--base-y, 0), 0);
  transition: filter 320ms ease;
  will-change: transform;
}

.hero-stage,
.hero-arrow {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
  transform: translate3d(var(--layer-x, 0), var(--layer-y, 0), 0);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 320ms ease;
  will-change: transform;
}

.hero-stage img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.46));
}

.hero-stage:hover {
  z-index: 6;
  transform: translate3d(var(--layer-x, 0), var(--layer-y, 0), 0) scale(1.045);
  filter: brightness(1.07);
}

.hero-stage-rgb {
  left: 5vw;
  top: 27vh;
  width: min(28vw, 480px);
}

.hero-stage-depth {
  left: 41.5vw;
  top: 31vh;
  width: min(18vw, 294px);
}

.hero-stage-3d {
  z-index: 4;
  right: 7.5vw;
  top: 25vh;
  width: min(26.667vw, 460px);
}

.hero-arrow {
  z-index: 10;
  top: 49.5vh;
  width: clamp(58px, 6vw, 96px);
  height: 36px;
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 0 5px rgba(255, 81, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 81, 0, 0.34));
}

.hero-arrow-rgb { left: 34vw; }
.hero-arrow-depth { left: 59.5vw; }

.hero-arrow::before,
.hero-arrow::after,
.hero-arrow i {
  content: "";
  position: absolute;
  display: block;
  background: var(--orange);
}

.hero-arrow i {
  left: 2px;
  top: 17px;
  width: calc(100% - 18px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 81, 0, 0), var(--orange) 24%, #ffb187 78%, white 100%);
  box-shadow: 0 0 8px rgba(255, 81, 0, 0.78);
}

.hero-arrow::before,
.hero-arrow::after {
  right: 2px;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), white);
  box-shadow: 0 0 8px rgba(255, 81, 0, 0.72);
  transform-origin: right center;
}
.hero-arrow::before { top: 10px; transform: rotate(38deg); }
.hero-arrow::after { bottom: 10px; transform: rotate(-38deg); }

.hero-copy-full {
  position: fixed;
  z-index: 5;
  top: 38px;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  color: white;
  text-align: center;
  transform: translate3d(calc(-50% + var(--title-x, 0)), var(--title-y, 0), 0);
  opacity: var(--hero-copy-opacity, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-copy-full .eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 900 11px/1 var(--mono);
  letter-spacing: 4px;
}

.hero-copy-full h1 {
  justify-content: center;
  color: white;
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 1;
}

.hero-copy-full h1 em { color: var(--orange); font-style: normal; }

.hero-copy-full p:last-child {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-enter {
  position: fixed;
  z-index: 6;
  left: 50%;
  bottom: 28px;
  min-width: 180px;
  min-height: 64px;
  padding: 8px 20px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  color: white;
  background: transparent;
  transform: translateX(-50%);
  opacity: var(--hero-copy-opacity, 1);
  pointer-events: auto;
  cursor: pointer;
  font-weight: 800;
  box-shadow: none !important;
}

.hero-enter::after { display: none !important; }
.hero-enter:hover { transform: translateX(-50%) !important; box-shadow: none !important; }
.hero-enter span { color: white; }
.hero-enter:hover span { color: var(--orange); }
.hero-enter-chevron { position: relative; width: 26px; height: 10px; display: block; }
.hero-enter-chevron::before,
.hero-enter-chevron::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 16px;
  height: 2px;
  background: #787878;
}
.hero-enter-chevron::before { left: 0; transform: rotate(32deg); transform-origin: right center; }
.hero-enter-chevron::after { right: 0; transform: rotate(-32deg); transform-origin: left center; }
.hero-enter:hover .hero-enter-chevron::before,
.hero-enter:hover .hero-enter-chevron::after { background: #b8b8b8; }

.page-shell {
  width: min(1540px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 0 42px;
  position: relative;
  z-index: 6;
}

.workspace-heading {
  padding: 8px 4px 22px;
  color: white;
  transform: translate3d(var(--workspace-title-x, 0), var(--workspace-title-y, 0), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}
.workspace-heading p { margin: 0 0 7px; color: var(--orange); font: 900 10px/1 var(--mono); letter-spacing: 3px; }
.workspace-heading h2 { margin: 0; color: white; font-size: clamp(30px, 4vw, 58px); line-height: 1; letter-spacing: 0; }
.workspace-heading h2 span { color: var(--orange); }

.top-bar {
  min-height: 58px;
  margin-bottom: 14px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: white;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.top-bar::before,
.top-bar h1::before { display: none; }
.top-bar h1 { color: white; font-size: 15px; }
.user-badge { color: white; }
.admin-badge { color: #080808; background: var(--orange); }
.beta-badge {
  padding: 3px 7px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--orange);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
[data-beta-feature][hidden] { display: none !important; }
.logout-btn,
.top-bar .final-btn { border: 1px solid var(--line) !important; color: white !important; background: transparent !important; }

.workspace-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 12px;
}

.workspace-nav button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.workspace-nav button.active { color: #080808; background: var(--orange); font-weight: 800; }

.page-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.container { grid-template-columns: 390px minmax(440px, 1fr); gap: 14px; }
.container > .hero-visual { display: none !important; }

.hero-visual,
.section {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(15, 15, 15, 0.89);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.section { border-radius: 7px; padding: 16px; }
.section label { color: white; }
.hint { color: var(--muted); }

.work-card,
.status-column { gap: 12px; }
.work-card { grid-column: 1; }
.status-column { grid-column: 2; }

input[type="file"],
input[type="text"],
input[type="password"],
input[type="number"],
select,
.status-box,
.queue-card,
.task-scroll-box {
  border-color: var(--line) !important;
  color: white !important;
  background: rgba(8, 8, 8, 0.86) !important;
}

input[type="range"] {
  --range-progress: 50%;
  height: 6px !important;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--orange) 0,
    var(--orange) var(--range-progress),
    #f4f4f2 var(--range-progress),
    #f4f4f2 100%
  ) !important;
  box-shadow: none !important;
  accent-color: var(--orange);
}
input[type="range"]::-webkit-slider-thumb {
  width: 18px !important;
  height: 18px !important;
  border: 3px solid var(--orange) !important;
  background: white !important;
  box-shadow: 0 0 0 2px #080808 !important;
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: #f4f4f2; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--orange); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid var(--orange) !important; background: white !important; }

progress { accent-color: var(--orange); }
progress::-webkit-progress-bar { background: #f4f4f2 !important; }
progress::-webkit-progress-value { background: var(--orange) !important; }
progress::-moz-progress-bar { background: var(--orange) !important; }

.processing-progress-value { color: var(--orange) !important; }
.value {
  color: #080808 !important;
  background: var(--orange) !important;
  box-shadow: none !important;
}
.section > label::before,
.slider-header label::before {
  content: none !important;
  display: none !important;
}
.status-box { border-image: none !important; border-left: 3px solid var(--orange) !important; }
.queue-card { border-color: rgba(255, 81, 0, 0.42) !important; }
.queue-card::before { background: conic-gradient(from 0deg, transparent 0 84%, rgba(255, 81, 0, 0.14) 94%, transparent 100%) !important; }
.queue-number { color: var(--orange) !important; background: none !important; -webkit-text-fill-color: currentColor; }
.option-item input[type="radio"] { accent-color: var(--orange) !important; }
input[type="file"]::file-selector-button { background: var(--orange) !important; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.14) !important; }
.deck-primary::before,
.task-item::before,
.modal-box::before { background: var(--orange) !important; animation: none !important; }

.option-item,
.preset-btn,
.deck-ghost,
.preview-btn {
  border-color: var(--line) !important;
  color: var(--muted) !important;
  background: #0b0b0b !important;
}

.option-item:has(input:checked),
.preset-btn.active {
  border-color: var(--orange) !important;
  color: white !important;
  background: rgba(255, 81, 0, 0.12) !important;
}

#rgbdSettings {
  display: grid;
  gap: 14px;
}

#rgbdSettings.is-hidden {
  display: none;
}

.rgbd-option-block {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 5px;
  background: rgba(255, 81, 0, 0.05);
}

.rgbd-option-label {
  display: block;
  margin-bottom: 9px;
  color: #d8d8d8;
  font-size: 12px;
  font-weight: 800;
}

.rgbd-option-block .hint {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.55;
}

.av3a-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 5px;
  background: rgba(255, 81, 0, 0.05);
}

.av3a-settings .av3a-field {
  min-width: 0;
}

.av3a-settings label {
  margin-bottom: 7px;
  color: #d8d8d8;
  font-size: 12px;
}

#av3aSettings select {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line) !important;
  border-radius: 5px;
  color: white !important;
  background: rgba(8, 8, 8, 0.86) !important;
  outline: none;
}

#av3aSettings select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.14);
}

#av3aSettings select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.av3a-settings .hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.final-btn,
.deck-primary {
  border: 0 !important;
  color: #080808 !important;
  background: var(--orange) !important;
  box-shadow: none !important;
}

.action-deck button,
.action-deck button:hover,
.preview-action,
.preview-action:hover {
  box-shadow: none !important;
}

.admin-test-action {
  grid-column: 1 / -1;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 81, 0, 0.72) !important;
  border-radius: 5px;
  color: white !important;
  background: rgba(255, 81, 0, 0.09) !important;
  font-weight: 900;
}
.admin-test-action small {
  color: #a8a8a8;
  font: 700 10px/1 var(--mono);
}
.admin-test-action:hover {
  border-color: var(--orange) !important;
  color: var(--orange) !important;
  background: rgba(255, 81, 0, 0.14) !important;
  transform: none !important;
}
.admin-test-action[hidden] { display: none !important; }

#applyImageRatioBtn {
  min-height: 40px;
  border: 1px solid var(--orange) !important;
  border-radius: 5px !important;
  color: #080808 !important;
  background: var(--orange) !important;
  box-shadow: none !important;
  font-weight: 900;
}

#applyImageRatioBtn:hover {
  border-color: #ff7540 !important;
  background: #ff7540 !important;
  transform: none !important;
}

.local-frame-app { border-top-color: var(--line) !important; }
.local-frame-app-tag { color: var(--orange) !important; }
.local-frame-app-download {
  border: 1px solid var(--orange) !important;
  border-radius: 5px !important;
  color: var(--orange) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.local-frame-app-download:hover {
  color: #080808 !important;
  background: var(--orange) !important;
  box-shadow: none !important;
  transform: none !important;
}

.media-preview-panel { min-height: 390px; }
.media-preview-panel .file-preview { margin-top: 12px; }
.file-preview {
  border-color: var(--line) !important;
  background: #070707 !important;
}
.file-preview-media { min-height: 320px; background: #070707 !important; }
.file-preview-media img { width: 100%; height: 100%; object-fit: cover; }
.file-preview-caption { border-color: var(--line) !important; color: var(--muted) !important; background: #0b0b0b !important; }
.file-preview-empty { color: #707070 !important; }

.video-batch-toolbar { border-top: 1px solid var(--line); padding-top: 10px; }
.video-batch-toolbar .hint { margin: 0; }
#applyVideoParametersBtn {
  border: 1px solid var(--orange) !important;
  color: var(--orange) !important;
  background: transparent !important;
  box-shadow: none !important;
}
#applyVideoParametersBtn:hover:not(:disabled) {
  color: #080808 !important;
  background: var(--orange) !important;
}
.video-batch-item {
  border-color: var(--line) !important;
  background: #0b0b0b !important;
}
.video-batch-item.is-waiting,
.video-batch-item.is-uploading { border-color: rgba(255, 81, 0, 0.72) !important; }
.video-batch-item.is-failed { border-color: #b94320 !important; }
.video-upload-status { color: #a8a8a8 !important; }
.video-upload-progress-row span { color: var(--orange) !important; }
.video-item-settings summary {
  color: white !important;
  border-color: var(--line) !important;
}
.video-item-fields label { color: #b8b8b8 !important; }
.video-item-fields input,
.video-item-fields select {
  border-color: var(--line) !important;
  color: white !important;
  background: #111 !important;
}
.video-thumbnail { border-color: var(--line) !important; background: #050505 !important; }
.video-thumbnail-empty { color: #777 !important; }

.task-panel { top: 16px; }
.task-item { border-color: var(--line) !important; color: white; background: transparent !important; }
.task-item:hover { background: rgba(255, 81, 0, 0.08) !important; }
.task-scroll-box { max-height: calc(100vh - 210px); }

.admin-section { display: none !important; }
.grid-resolution-warning {
  display: none;
  margin-top: 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--orange);
  color: #ffc09b;
  background: rgba(255, 81, 0, 0.13);
  font-size: 12px;
  line-height: 1.55;
}
.grid-resolution-warning.is-visible { display: block; }
.grid-resolution-warning strong { color: white; }

body.account-mode { min-height: 100vh; }
body.account-mode .immersive-hero,
body.account-mode .immersive-visual,
body.account-mode .page-shell { display: none !important; }

.account-center {
  min-height: 100vh;
  color: var(--ink);
  background: #080808;
}

.account-center[hidden] { display: none !important; }

.account-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(18px);
}

.account-brand,
.account-back,
.account-refresh {
  border: 0;
  color: white;
  background: transparent;
  cursor: pointer;
}

.account-brand {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.account-brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #080808;
  background: var(--orange);
  font: 900 16px/1 var(--mono);
}

.account-back,
.account-refresh {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
}

.account-back:hover,
.account-refresh:hover { border-color: var(--orange); color: var(--orange); }

.account-layout {
  width: min(1440px, calc(100% - 40px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.account-sidebar {
  padding: 34px 24px 40px 0;
  border-right: 1px solid var(--line);
}

.account-profile {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.account-profile > div { min-width: 0; }
.account-profile strong,
.account-profile span { display: block; }
.account-profile strong { overflow: hidden; text-overflow: ellipsis; }
.account-profile span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.account-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 81, 0, 0.48);
  color: var(--orange) !important;
  background: rgba(255, 81, 0, 0.08);
  font: 900 17px/1 var(--mono);
}

.account-menu p {
  margin: 22px 0 8px;
  color: #666;
  font: 800 10px/1 var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.account-menu button {
  width: 100%;
  min-height: 40px;
  margin-bottom: 3px;
  padding: 0 12px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  color: #a7a7a7;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.account-menu button:hover { color: white; background: rgba(255, 255, 255, 0.035); }
.account-menu button.active { border-left-color: var(--orange); color: white; background: rgba(255, 81, 0, 0.09); }

.account-main { padding: 42px 0 70px 42px; }
.account-heading { min-height: 74px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.account-heading p { margin: 0 0 8px; color: var(--orange); font: 800 10px/1 var(--mono); letter-spacing: 3px; }
.account-heading h1 { margin: 0; color: white; font-size: 27px; letter-spacing: 0; }
.account-content { margin-top: 26px; }
.account-loading,
.account-empty { padding: 72px 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

.account-task-list { border-top: 1px solid var(--line); }
.account-task-card {
  position: relative;
  padding: 20px 150px 20px 0;
  border-bottom: 1px solid var(--line);
}
.account-task-card:hover { background: rgba(255, 255, 255, 0.018); }
.account-task-id { display: flex; align-items: center; gap: 10px; }
.account-task-id strong { color: var(--orange); font: 900 13px/1 var(--mono); }
.account-status { padding: 4px 7px; border: 1px solid var(--line); color: #aaa; font-size: 10px; text-transform: uppercase; }
.status-done { border-color: rgba(255, 81, 0, 0.48); color: #ff9b6c; }
.status-failed,
.status-cancelled { color: #ff7b7b; }
.account-task-meta { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; color: #717171; font-size: 11px; }
.account-task-card h3 { margin: 14px 0 7px; color: white; font-size: 15px; letter-spacing: 0; overflow-wrap: anywhere; }
.account-task-card p { margin: 0; color: var(--muted); font-size: 12px; }
.account-task-card .task-progress-meta { margin-top: 14px; }
.account-task-actions { margin-top: 16px; display: flex; }
.account-cancel {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 116, 89, 0.62);
  border-radius: 3px;
  background: transparent;
  color: #ffad98;
  font-size: 11px;
  cursor: pointer;
}
.account-cancel:hover { border-color: #ff5c35; background: rgba(255, 84, 35, 0.12); color: #fff; }
.account-download {
  position: absolute;
  top: 50%;
  right: 4px;
  min-width: 104px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--orange);
  text-decoration: none;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
}
.account-download:hover { color: #080808; background: var(--orange); }
.account-error { margin-top: 10px; color: #ff8989; font-size: 12px; overflow-wrap: anywhere; }
.account-page-summary { padding: 16px 0; color: var(--muted); font-size: 12px; text-align: center; }

.password-panel {
  width: min(520px, 100%);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.password-panel > div { margin-bottom: 18px; }
.password-panel label { display: block; margin-bottom: 8px; color: #b7b7b7; font-size: 12px; }
.password-panel input { width: 100%; height: 44px; padding: 0 12px; border-radius: 4px; }
.password-panel button { width: 150px; min-height: 42px; }

.account-user-create {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 130px 120px;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.frame-rate-option-block,
.audio-preserve-hint {
  margin-top: 10px;
}
.account-user-create input,
.account-user-create select,
.account-user-create button { min-height: 42px; }
.account-user-create > div { grid-column: 1 / -1; }
.account-directory > div {
  min-height: 60px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(160px, 1.3fr) 110px 80px minmax(150px, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.account-directory strong { color: white; overflow-wrap: anywhere; }
.account-directory time { color: #666; }
.beta-access-btn {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #555;
  border-radius: 4px;
  color: white;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.beta-access-btn:hover,
.beta-access-btn.active {
  border-color: var(--orange);
  color: #080808;
  background: var(--orange);
}
.beta-access-status { color: var(--orange); font-weight: 800; }

@media (max-width: 1180px) {
  .page-layout,
  .container { grid-template-columns: minmax(0, 1fr); }
  .status-column,
  .work-card { min-width: 0; grid-column: 1; }
  .section,
  input[type="file"] { min-width: 0; max-width: 100%; }
  .side-panel { grid-row: auto; }
  .hero-stage { pointer-events: none; }
}

@media (max-width: 720px) {
  .immersive-hero { min-height: 560px; }
  .hero-scene-bg,
  .hero-background { min-height: 560px; }
  .hero-stage,
  .hero-arrow { display: none; }
  .hero-copy-full { top: 72px; width: calc(100% - 24px); }
  .hero-copy-full h1 { font-size: 32px; }
  .hero-copy-full p:last-child { font-size: 11px; }
  .page-shell { width: min(100% - 16px, 1540px); padding-top: 8px; }
  .workspace-heading { padding: 10px 2px 18px; }
  .workspace-heading h2 { font-size: 31px; }
  .top-bar { align-items: center; flex-direction: row; }
  .workspace-nav { order: 3; width: 100%; margin: 8px 0 0; }
  .workspace-nav button { flex: 1; }
  .section { padding: 13px; }
  .account-topbar { padding: 0 14px; }
  .account-layout { width: calc(100% - 24px); display: block; }
  .account-sidebar { padding: 22px 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .account-profile { margin-bottom: 18px; }
  .account-menu { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 4px; }
  .account-menu p { display: none; }
  .account-menu > div { display: contents; }
  .account-menu button { flex: 0 0 auto; width: auto; min-height: 36px; padding: 0 11px; border-left: 0; border-bottom: 2px solid transparent; }
  .account-menu button.active { border-left: 0; border-bottom-color: var(--orange); }
  .account-main { padding: 28px 0 48px; }
  .account-heading h1 { font-size: 23px; }
  .account-task-card { padding-right: 0; padding-bottom: 62px; }
  .account-download { top: auto; right: auto; bottom: 16px; left: 0; transform: none; }
  .account-user-create { grid-template-columns: 1fr; }
  .account-directory > div { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-background,
  .hero-stage,
  .hero-arrow,
  .hero-copy-full,
  .immersive-visual { transform: none !important; transition: none !important; }
}
