/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-outline-style: solid;
      --tw-duration: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --spacing: .25rem;
    --container-md: 28rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --default-mono-font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .top-1\/2 {
    top: 50%;
  }

  .right-2 {
    right: calc(var(--spacing) * 2);
  }

  .mx-5 {
    margin-inline: calc(var(--spacing) * 5);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .h-8 {
    height: calc(var(--spacing) * 8);
  }

  .h-16 {
    height: calc(var(--spacing) * 16);
  }

  .h-full {
    height: 100%;
  }

  .min-h-full {
    min-height: 100%;
  }

  .w-8 {
    width: calc(var(--spacing) * 8);
  }

  .w-16 {
    width: calc(var(--spacing) * 16);
  }

  .w-full {
    width: 100%;
  }

  .max-w-md {
    max-width: var(--container-md);
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .flex-1 {
    flex: 1;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .animate-pulse {
    animation: var(--animate-pulse);
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

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

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }

  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-\[var\(--radius-badge\)\] {
    border-radius: var(--radius-badge);
  }

  .rounded-\[var\(--radius-btn\)\] {
    border-radius: var(--radius-btn);
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-\[var\(--accent\)\] {
    border-color: var(--accent);
  }

  .border-\[var\(--border-default\)\], .border-border-default {
    border-color: var(--border-default);
  }

  .border-transparent {
    border-color: #0000;
  }

  .border-t-transparent {
    border-top-color: #0000;
  }

  .bg-\[var\(--accent-bg\)\] {
    background-color: var(--accent-bg);
  }

  .bg-\[var\(--accent-bg-strong\)\] {
    background-color: var(--accent-bg-strong);
  }

  .bg-\[var\(--bg-page\)\] {
    background-color: var(--bg-page);
  }

  .bg-\[var\(--surface-card\)\], .bg-surface-card {
    background-color: var(--surface-card);
  }

  .object-cover {
    object-fit: cover;
  }

  .p-8 {
    padding: calc(var(--spacing) * 8);
  }

  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }

  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }

  .py-14 {
    padding-block: calc(var(--spacing) * 14);
  }

  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }

  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }

  .pr-11 {
    padding-right: calc(var(--spacing) * 11);
  }

  .pl-3 {
    padding-left: calc(var(--spacing) * 3);
  }

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

  .text-left {
    text-align: left;
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .text-\[var\(--accent\)\] {
    color: var(--accent);
  }

  .text-\[var\(--success-dark\)\] {
    color: var(--success-dark);
  }

  .text-\[var\(--text-primary\)\] {
    color: var(--text-primary);
  }

  .text-\[var\(--text-secondary\)\] {
    color: var(--text-secondary);
  }

  .text-error {
    color: var(--error);
  }

  .text-text-primary {
    color: var(--text-primary);
  }

  .text-text-secondary {
    color: var(--text-secondary);
  }

  .text-text-tertiary {
    color: var(--text-tertiary);
  }

  .italic {
    font-style: italic;
  }

  .opacity-60 {
    opacity: .6;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-150 {
    --tw-duration: .15s;
    transition-duration: .15s;
  }

  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }

  @media (hover: hover) {
    .hover\:border-\[var\(--accent-border\)\]:hover {
      border-color: var(--accent-border);
    }
  }

  @media (hover: hover) {
    .hover\:bg-\[var\(--surface-soft\)\]:hover {
      background-color: var(--surface-soft);
    }
  }

  @media (hover: hover) {
    .hover\:text-text-primary:hover {
      color: var(--text-primary);
    }
  }

  .focus\:border-border-hover:focus {
    border-color: var(--border-hover);
  }
}

:root {
  --bg-page: #f5f7f8;
  --bg-page-2: #e9eef1;
  --surface-card: #fff;
  --surface-soft: #f8fafa;
  --surface-muted: #eef3f4;
  --border-default: #dce4e6;
  --border-hover: #aebec2;
  --border-subtle: #edf2f3;
  --text-primary: #172124;
  --text-secondary: #647176;
  --text-tertiary: #91a0a5;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --accent-bg: #eef5ff;
  --accent-border: #bfd6ff;
  --accent-bg-strong: #dceaff;
  --success: #0f9f6e;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-dark: #047857;
  --warning: #b7791f;
  --warning-bg: #fff8e5;
  --warning-border: #f5d77a;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --btn-primary: #172124;
  --btn-primary-hover: #2c3c41;
  --shadow-card: 0 24px 70px #1c2d331f;
  --shadow-soft: 0 14px 35px #1c2d3314;
  --radius-card: 18px;
  --radius-btn: 8px;
  --radius-badge: 6px;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

body:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 18% 12%, #2563eb1f, transparent 26%),
    radial-gradient(circle at 82% 8%, #0f9f6e1a, transparent 24%),
    linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-2) 100%);
  position: fixed;
  inset: 0;
}

nextjs-portal, script[data-nextjs-dev-overlay] {
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

button, a, textarea, input {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #2563eb38;
}

.app-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px;
}

.app-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  display: flex;
}

.brand-mark {
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow-soft);
  background: #fff;
  border-radius: 12px;
  place-items: center;
  display: grid;
  overflow: hidden;
}

.brand-mark img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.login-logo {
  object-fit: contain;
  width: 112px;
  height: auto;
  display: block;
}

.eyebrow {
  color: var(--text-tertiary);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.workflow-card {
  border-radius: var(--radius-card);
  min-width: 0;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #ffffffe6;
  border: 1px solid #aebec2b3;
  overflow: hidden;
}

.workflow-header {
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(#ffffffe6, #f8fafae6);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  display: flex;
}

.stage-rail {
  align-items: center;
  gap: 8px;
  display: flex;
}

.stage-pill {
  border: 1px solid var(--border-default);
  min-height: 30px;
  color: var(--text-tertiary);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.stage-pill[data-active="true"] {
  border-color: var(--accent-border);
  color: var(--accent-dark);
  background: var(--accent-bg);
}

.stage-dot {
  background: currentColor;
  border-radius: 999px;
  width: 7px;
  height: 7px;
}

.test-mode-control {
  border: 1px solid var(--border-default);
  min-height: 38px;
  color: var(--text-primary);
  background: #ffffffbd;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 10px 22px #1c2d330f;
}

.test-mode-switch {
  background: var(--border-default);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 24px;
  transition: background .18s;
  position: relative;
}

.test-mode-switch span {
  background: #fff;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  transition: left .18s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #1c2d332e;
}

.test-mode-switch[data-active="true"] {
  background: var(--accent);
}

.test-mode-switch[data-active="true"] span {
  left: 21px;
}

.button {
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  min-height: 38px;
  color: var(--text-primary);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .15s, border-color .15s, background .15s, color .15s, box-shadow .15s;
  display: inline-flex;
}

.button:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.button:disabled, .button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.button-primary {
  border-color: var(--btn-primary);
  background: var(--btn-primary);
  color: #fff;
  box-shadow: 0 10px 22px #1721242e;
}

.button-primary:hover {
  border-color: var(--btn-primary-hover);
  background: var(--btn-primary-hover);
}

.button-ghost {
  background: #ffffffad;
}

.icon-button {
  border: 1px solid var(--border-default);
  width: 38px;
  height: 38px;
  color: var(--text-secondary);
  cursor: pointer;
  background: #ffffffbd;
  border-radius: 10px;
  place-items: center;
  transition: color .15s, border-color .15s, transform .15s, background .15s;
  display: grid;
}

.icon-button:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

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

.badge {
  border-radius: var(--radius-badge);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.badge-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-dark);
}

.badge-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}

.badge-accent {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
}

.asset-progress-highlight {
  border-radius: var(--radius-badge);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  min-height: 22px;
  color: var(--accent-dark);
  align-items: center;
  padding: 2px 7px;
  font-weight: 800;
  display: inline-flex;
}

.panel-strip {
  background: var(--surface-soft);
  align-items: center;
  gap: 14px;
  padding: 18px;
  display: flex;
}

.thumbnail {
  border: 1px solid var(--border-default);
  object-fit: cover;
  background: #fff;
  border-radius: 12px;
  width: 68px;
  height: 68px;
  box-shadow: 0 8px 18px #1c2d3314;
}

.thumbnail-placeholder {
  border: 1px solid var(--border-default);
  width: 68px;
  height: 68px;
  color: var(--text-tertiary);
  background: linear-gradient(135deg, #fff, var(--surface-muted));
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.content-panel {
  padding: 20px;
}

.info-box {
  border: 1px solid var(--border-default);
  background: var(--surface-soft);
  border-radius: 12px;
}

.asset-review-grid {
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: 20px;
  display: grid;
}

.train-preview-frame {
  border: 1px solid var(--border-default);
  background: #fff;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  max-height: 500px;
  padding: 12px;
  display: flex;
  overflow: hidden;
}

.train-preview-frame img {
  object-fit: contain;
  width: 100%;
  max-height: 476px;
  display: block;
}

.asset-progress-pill {
  border: 1px solid var(--border-default);
  background: var(--surface-soft);
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  display: inline-flex;
}

.asset-progress-pill[data-current="true"] {
  box-shadow: 0 0 0 3px var(--accent-bg);
  border-color: var(--accent);
}

.asset-progress-pill[data-status="processing"] {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent-dark);
  animation: 1.5s ease-in-out infinite pulse;
}

.asset-progress-pill[data-status="complete"] {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-dark);
}

.asset-progress-pill[data-status="skipped"] {
  background: var(--surface-muted);
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.asset-progress-pill[data-status="error"] {
  background: var(--error-bg);
  border-color: var(--error-border);
  color: var(--error);
}

.asset-list-row {
  border: 1px solid var(--border-default);
  background: #fff;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.asset-thumb {
  border: 1px solid var(--border-default);
  background-color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 86px;
  height: 72px;
  display: flex;
  overflow: hidden;
}

.asset-thumb img {
  object-fit: contain;
  max-width: 80px;
  max-height: 66px;
  display: block;
}

.preview-trigger {
  color: inherit;
  cursor: zoom-in;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  position: relative;
}

.preview-trigger:after {
  content: "";
  opacity: 0;
  background: #ffffffdb;
  border: 1px solid #dce4e6d9;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  transition: opacity .15s, transform .15s;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transform: translateY(4px);
  box-shadow: 0 10px 22px #1c2d3324;
}

.preview-trigger:before {
  content: "";
  z-index: 1;
  opacity: 0;
  background: var(--text-primary);
  width: 14px;
  height: 14px;
  transition: opacity .15s, transform .15s;
  position: absolute;
  bottom: 19px;
  right: 19px;
  transform: translateY(4px);
  -webkit-mask: radial-gradient(circle at 45% 45%, #0000 0 5px, #000 5.5px 7px, #0000 7.5px), linear-gradient(45deg, #0000 0 58%, #000 58% 72%, #0000 72%);
  mask: radial-gradient(circle at 45% 45%, #0000 0 5px, #000 5.5px 7px, #0000 7.5px), linear-gradient(45deg, #0000 0 58%, #000 58% 72%, #0000 72%);
}

.preview-trigger:hover:before, .preview-trigger:hover:after, .preview-trigger:focus-visible:before, .preview-trigger:focus-visible:after {
  opacity: 1;
  transform: translateY(0);
}

.image-preview-modal {
  z-index: 80;
  justify-content: center;
  align-items: center;
  padding: 22px;
  display: flex;
  position: fixed;
  inset: 0;
}

.image-preview-backdrop {
  cursor: zoom-out;
  background: #0c1214b8;
  border: 0;
  position: absolute;
  inset: 0;
}

.image-preview-shell {
  z-index: 1;
  background: var(--surface-card);
  border: 1px solid #dce4e6cc;
  border-radius: 14px;
  grid-template-rows: auto 1fr;
  width: min(1180px, 100%);
  height: min(820px, 100vh - 44px);
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 90px #00000057;
}

.image-preview-toolbar {
  border-bottom: 1px solid var(--border-default);
  background: #fffffff0;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  display: flex;
}

.image-preview-title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 750;
}

.image-preview-meta {
  color: var(--text-secondary);
  margin-top: 3px;
  font-size: 12px;
}

.image-preview-controls {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.image-preview-reset {
  min-height: 38px;
  padding: 8px 12px;
}

.image-preview-viewport {
  cursor: grab;
  background-color: #fff;
  overflow: auto;
}

.image-preview-viewport:active {
  cursor: grabbing;
}

.image-preview-stage {
  justify-content: center;
  align-items: center;
  padding: 28px;
  display: flex;
}

.image-preview-stage img {
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  display: block;
}

.checkerboard {
  background-color: #fff;
  background-image: linear-gradient(45deg, #f3f3f1 25%, #0000 25%), linear-gradient(-45deg, #f3f3f1 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #f3f3f1 75%), linear-gradient(-45deg, #0000 75%, #f3f3f1 75%);
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  background-size: 12px 12px;
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.99);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

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

@keyframes enhanceProgress {
  0% {
    transform: translateX(-110%);
  }

  50% {
    transform: translateX(45%);
  }

  100% {
    transform: translateX(250%);
  }
}

.animate-fadeIn {
  animation: .2s ease-out fadeIn;
}

.animate-pulse-dot {
  animation: 1.5s ease-in-out infinite pulse;
}

.animate-spin {
  animation: 1s linear infinite spin;
}

.enhance-loader-bar {
  animation: 1.6s ease-in-out infinite enhanceProgress;
}

.animate-liftIn {
  animation: .26s ease-out liftIn;
}

@media (max-width: 720px) {
  .app-shell {
    padding: 18px 12px;
  }

  .app-topbar, .workflow-header, .panel-strip {
    align-items: flex-start;
  }

  .app-topbar, .workflow-header {
    flex-direction: column;
  }

  .stage-rail {
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .panel-strip {
    flex-wrap: wrap;
  }

  .content-panel {
    padding: 16px;
  }

  .asset-review-grid {
    grid-template-columns: 1fr;
  }

  .train-preview-frame {
    min-height: 250px;
  }

  .asset-list-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .image-preview-modal {
    padding: 10px;
  }

  .image-preview-shell {
    border-radius: 12px;
    height: calc(100vh - 20px);
  }

  .image-preview-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-preview-controls {
    justify-content: flex-end;
    width: 100%;
  }
}

@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=app_globals_0jn8.0u.css.map*/