/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html,
  :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.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 {
    display: block;
    vertical-align: middle;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-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"]),
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .end-1 {
    inset-inline-end: calc(var(--spacing) * 1);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .scale-1 {
    --tw-scale-x: 1%;
    --tw-scale-y: 1%;
    --tw-scale-z: 1%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .columns-1 {
    columns: 1;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .underline {
    text-decoration-line: underline;
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .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));
  }
}
:where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.btn, a.button) {
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
}
@media (hover:hover) and (pointer:fine) {
  :where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.btn, a.button):where(:not(:disabled,[aria-disabled="true"],[aria-busy="true"],[data-motion="custom"],[draggable="true"],.mp-folder,.mp-folder-edit,.mp-folder-select,.cd-edit-trigger,.cd-card-hit,.cd-framing-upload,.inspiration-card-main,.timeline-trim-handle,.iw-stack,.iw-tile-main,.iw-result,.design-project-enter,.scene-grid button):hover) {
    transform: scale(1.04);
  }
}
:where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.btn, a.button):where(:not(:disabled,[aria-disabled="true"],[aria-busy="true"],[data-motion="custom"],[draggable="true"],.mp-folder,.mp-folder-edit,.mp-folder-select,.cd-edit-trigger,.cd-card-hit,.cd-framing-upload,.inspiration-card-main,.timeline-trim-handle,.iw-stack,.iw-tile-main,.iw-result,.design-project-enter,.scene-grid button):active) {
  transform: scale(.96);
}
@media (prefers-reduced-motion:reduce) {
  :where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.btn, a.button) {
    transition: none;
  }
  :where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.btn, a.button):where(:hover,:active) {
    transform: none;
  }
}
@font-face {
  font-family: "PIKA UI";
  src: local("PingFang SC"), local("PingFang TC"), local("PingFang");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+25A0-25FF;
}
.plain-main:has(.design-studio-shell) {
  height: 100dvh;
  overflow: hidden;
  padding: 0;
}
.design-chat-panel {
  min-width: 0;
  min-height: 0;
  background: var(--card);
}
.design-chat-panel {
  display: grid;
  grid-template-rows: 58px minmax(0,1fr) auto;
}
@keyframes designPulse {
  50% {
    opacity: .3;
  }
}
@keyframes designBounce {
  0%,60%,100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-3px);
  }
}
@media (max-width: 820px) {
  .plain-main:has(.design-studio-shell) {
    height: calc(100dvh - 64px);
  }
  .design-chat-panel {
    height: 100%;
    position: absolute;
    inset: 0;
  }
}
@font-face {
  font-family: "PIKA UI";
  src: local("PingFang SC"), local("PingFang TC"), local("PingFang");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3040-30FF, U+31F0-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF;
}
@font-face {
  font-family: "PIKA UI";
  src: local("PingFang SC"), local("PingFang TC"), local("PingFang");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3040-30FF, U+31F0-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF;
}
:root {
  --ink: #171817;
  --ink-soft: #3f433f;
  --muted: #5f665f;
  --muted-2: #737a73;
  --line: #e1e3df;
  --line-strong: #c9cec8;
  --paper: #f5f5f2;
  --card: #ffffff;
  --card-soft: #f8f8f6;
  --yellow: #f2c72d;
  --yellow-soft: #fff8d9;
  --green: #496448;
  --green-soft: #edf5e9;
  --red: #b44b44;
  --red-soft: #fff1ef;
  --sidebar-bg: var(--paper);
  --sidebar-line: var(--line);
  --sidebar-text: var(--muted-2);
  --sidebar-muted: var(--muted-2);
  --sidebar-active: #f2c72d;
  --sidebar-bottom-padding: 18px;
  --sidebar-profile-hit-size: 56px;
  --sidebar-profile-size: 38px;
  --shadow: 0 14px 34px rgba(23, 24, 23, .055);
  --radius: 14px;
  --surface-gap: 18px;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}
html, body {
  font-family: "PIKA UI", -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
  font-size: 14px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, .nav a, .counter b, .primary, .ghost {
  font-weight: 600;
}
button, input, textarea, select {
  font: inherit;
}
button, a, select, input[type="checkbox"] {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
[data-pointer-focus]:focus {
  outline: none !important;
}
.app {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 88px;
  flex: 0 0 88px;
  overflow-y: auto;
  scrollbar-width: none;
  background: var(--sidebar-bg);
  border-right: 0;
  padding: 25px 8px var(--sidebar-bottom-padding);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.brand {
  display: flex;
  justify-content: center;
  padding: 0 0 31px;
}
.brand-lockup {
  display: block;
  width: 100%;
  text-align: center;
}
.brand-logo {
  width: 72px;
  height: 35px;
  display: block;
  overflow: visible;
  color: var(--ink);
}
.brand-logo text {
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2.4px;
}
.brand small {
  display: block;
  margin: 1px 0 0;
  color: var(--sidebar-muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.nav {
  width: 100%;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
}
.nav-group {
  display: grid;
  gap: 4px;
}
.nav-group + .nav-group {
  position: relative;
  padding-top: 16px;
  border-top: 0;
}
.nav-group + .nav-group::before {
  content: "";
  width: 24px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 50%;
  background: var(--sidebar-line);
  transform: translateX(-50%);
}
.nav a {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 7px 4px;
  color: var(--sidebar-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  transform-origin: center;
  transition: color .18s ease, opacity .12s ease, transform .2s cubic-bezier(.2,.8,.2,1);
}
.nav a:hover {
  color: var(--ink-soft);
  transform: scale(1.055);
}
.nav a:active {
  opacity: .72;
  transform: scale(.93);
}
.nav a.active {
  color: var(--sidebar-active);
  font-weight: 400;
}
.nav a.active:hover {
  color: var(--sidebar-active);
}
.nav-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: currentColor;
  transition: color .18s ease;
}
.sidebar a:focus-visible {
  outline-color: var(--green);
}
.sidebar-bottom {
  position: relative;
  margin-top: auto;
  padding: 17px 0 0;
  border-top: 0;
}
.sidebar-profile {
  width: 100%;
  min-height: var(--sidebar-profile-hit-size);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--sidebar-text);
  cursor: pointer;
  transition: color .18s ease, opacity .12s ease, transform .2s cubic-bezier(.2,.8,.2,1);
}
.sidebar-profile:hover {
  color: var(--ink-soft);
  transform: scale(1.055);
}
.sidebar-profile:active {
  opacity: .72;
  transform: scale(.93);
}
.sidebar-profile.active {
  color: var(--sidebar-active);
}
.sidebar-profile-avatar {
  width: var(--sidebar-profile-size);
  height: var(--sidebar-profile-size);
  display: grid;
  place-items: center;
  flex: 0 0 var(--sidebar-profile-size);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.sidebar-profile.active .sidebar-profile-avatar {
  border-color: var(--sidebar-active);
  box-shadow: 0 0 0 2px rgba(242, 199, 45, .18);
}
.sidebar-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-profile-copy, .sidebar-profile-arrow {
  display: none;
}
.sidebar-profile-copy {
  min-width: 0;
}
.sidebar-profile-copy b, .sidebar-profile-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-profile-copy b {
  font-size: 12px;
}
.sidebar-profile-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-profile-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card-soft);
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.profile b {
  display: block;
  font-size: 12px;
}
.profile small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}
.main {
  width: calc(100% - 88px);
  min-width: 0;
  margin-left: 88px;
}
.plain-main {
  padding: 0 17px 16px;
  background: var(--paper);
}
.content {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 30px 44px 74px;
}
.surface {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.surface + .surface {
  margin-top: var(--surface-gap);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}
.tabs button, .tabs a {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  transition: border .18s ease, background .18s ease, color .18s ease, transform 180ms cubic-bezier(.2,.8,.2,1);
}
.tabs button:hover, .tabs a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.tabs button.active, .tabs a.active {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
  font-weight: 700;
}
.admin-subnav {
  padding-top: 30px;
  padding-bottom: 0;
}
.admin-subnav + .content {
  padding-top: 0;
}
.admin-tabs {
  margin-bottom: var(--surface-gap);
}
.image-draft-state {
  position: sticky;
  top: 14px;
  z-index: 10;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px auto;
  padding: 8px 13px;
  border: 1px solid rgba(47,112,71,.18);
  border-radius: 999px;
  background: rgba(244,249,244,.92);
  color: #2f7047;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(26,46,32,.06);
  backdrop-filter: blur(12px);
}
.image-draft-state span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}
.image-draft-state.loading span,.image-draft-state.saving span {
  animation: draft-pulse 1s ease-in-out infinite alternate;
}
.image-draft-state.error {
  border-color: rgba(180,67,55,.18);
  background: rgba(255,246,244,.94);
  color: #a54036;
}
@keyframes draft-pulse {
  to {
    opacity: .3;
    transform: scale(.75);
  }
}
.success-text {
  color: var(--green);
}
.panel {
  padding: 23px;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  margin: 1px 0 0;
  font-size: 16px;
  letter-spacing: -.15px;
}
.panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.hint {
  color: var(--muted);
  font-size: 11px;
}
.required {
  color: #a56f1c;
  font-size: 10px;
  font-weight: 600;
}
.select, .field-input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11px;
  transition: border .18s ease, background .18s ease, box-shadow .18s ease, transform 180ms cubic-bezier(.2,.8,.2,1);
}
.select:hover, .field-input:hover {
  border-color: var(--line-strong);
}
.select {
  width: 100%;
  padding: 0 12px;
}
.field-input {
  width: 100%;
  padding: 0 12px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.idea {
  width: 100%;
  min-height: 100px;
  max-height: 320px;
  field-sizing: content;
  resize: none;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  line-height: 1.65;
}
.idea:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0;
  border-color: var(--line-strong);
  box-shadow: none;
}
.idea::placeholder {
  color: var(--muted-2);
}
.case-preview-dialog {
  width: min(1000px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #343634;
  border-radius: 14px;
  background: #111211;
  box-shadow: 0 26px 80px rgba(0,0,0,.34);
}
.case-preview-dialog::backdrop {
  background: rgba(17,18,17,.72);
  backdrop-filter: blur(4px);
}
.case-preview-dialog-body {
  min-height: 240px;
  position: relative;
  display: grid;
  place-items: center;
}
.case-preview-dialog img, .case-preview-dialog video {
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  display: block;
  object-fit: contain;
}
.case-preview-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(17,18,17,.72);
  color: #fff;
}
.case-preview-close:hover {
  background: rgba(17,18,17,.92);
}
.case-preview-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.counter {
  width: 150px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.counter button {
  width: 40px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 18px;
}
.counter b {
  font-size: 13px;
}
.stage {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 14px;
  overflow: hidden;
  border-radius: 11px;
  background: #eef0ed;
}
.stage::after {
  content: "";
  width: 170px;
  height: 170px;
  position: absolute;
  border-radius: 50%;
  background: rgba(242,199,45,.18);
  filter: blur(30px);
}
.primary {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(23,24,23,.13);
}
.primary:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
  box-shadow: none;
}
.primary.gold {
  background: var(--yellow);
  color: var(--ink);
}
.ghost {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11px;
}
.ghost:hover {
  border-color: var(--ink-soft);
  background: var(--card-soft);
}
.video-reference-page {
  max-width: 1500px;
}
.video-reference-page {
  position: relative;
}
.video-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.video-section-head.compact {
  align-items: center;
}
.video-section-head h2 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.35px;
}
.video-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.video-section-head > p {
  margin: 0;
  max-width: 440px;
  text-align: right;
}
.video-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(290px, 2fr);
  gap: 18px;
}
.video-editor-layout > .surface + .surface {
  margin-top: 0;
}
.inspiration-browser, .reference-monitor {
  min-width: 0;
  padding: 22px;
}
.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.inspiration-title-row .icon-action:hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
  box-shadow: 0 5px 14px rgba(23,24,23,.08);
  transform: translateY(-1px);
}
.inspiration-title-row .icon-action:active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(242,199,45,.2);
  transform: scale(.97);
}
.inspiration-header {
  width: 100%;
  display: grid;
  align-items: initial;
  justify-content: stretch;
  gap: 16px;
}
.inspiration-title-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
}
.select-shell {
  display: block;
  position: relative;
}
.select-shell > svg {
  width: 14px;
  height: 14px;
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 1;
  color: var(--ink-soft);
  transform: translateY(-50%);
  pointer-events: none;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  gap: 10px;
  padding-top: 16px;
}
.inspiration-empty {
  grid-column: 1/-1;
  min-height: 190px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
}
.inspiration-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  text-align: left;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.inspiration-card-main {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.inspiration-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(23,24,23,.07);
}
.inspiration-card:has(.inspiration-card-main:active) {
  border-color: var(--yellow);
  transform: translateY(0) scale(.975);
  box-shadow: 0 0 0 3px rgba(242,199,45,.18);
}
.inspiration-card.selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(242,199,45,.24),0 9px 20px rgba(23,24,23,.07);
}
.inspiration-card-main:disabled {
  cursor: wait;
  opacity: .72;
}
.inspiration-card.invalid {
  border-color: var(--red);
  animation: uploadErrorNudge 260ms ease-out;
}
.inspiration-visual {
  height: 132px;
  display: block;
  position: relative;
  overflow: hidden;
  background: #d5d5d0;
}
.inspiration-visual img, .inspiration-visual video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(.88);
}
.inspiration-card[data-source="upload"] .inspiration-visual {
  background: #171817;
}
.inspiration-card[data-source="upload"] .inspiration-visual img,.inspiration-card[data-source="upload"] .inspiration-visual video {
  object-fit: contain;
  filter: none;
}
.inspiration-video-progress {
  height: 2px;
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  z-index: 3;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.5);
  opacity: 0;
  transform: scaleX(.96);
  transform-origin: center;
  transition: opacity .16s ease,transform .16s ease;
}
.inspiration-video-progress i {
  width: var(--preview-progress,0%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--yellow);
}
.inspiration-card:hover .inspiration-video-progress {
  opacity: 1;
  transform: scaleX(1);
}
.inspiration-delete {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 5;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(24,25,24,.78);
  color: #fff;
  opacity: 0;
  transform: scale(.86);
  transition: opacity .14s ease,transform .18s cubic-bezier(.2,.8,.2,1),background-color .14s ease;
}
.inspiration-delete:hover {
  background: var(--red);
}
.inspiration-card:hover .inspiration-delete,.inspiration-delete:focus-visible {
  opacity: 1;
  transform: scale(1);
}
.inspiration-delete svg {
  width: 14px;
  height: 14px;
}
.inspiration-add {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 132px;
  right: 9px;
  bottom: 0;
  z-index: 5;
  margin-block: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card-soft);
  color: var(--ink-soft);
  box-shadow: none;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease;
}
.inspiration-add:hover,.inspiration-add.added {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 3px 9px rgba(23,24,23,.14);
}
.inspiration-add:active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  transform: scale(.92);
}
.inspiration-add:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.inspiration-add span {
  transform: translateY(-1px);
}
.asset-processing {
  position: absolute;
  inset: auto 8px 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(23,24,23,.82);
  color: #fff;
  font-size: 9px;
  text-align: center;
}
.asset-processing.failed {
  background: rgba(180,75,68,.9);
}
.inspiration-copy {
  display: grid;
  min-width: 0;
  padding: 10px 44px 11px 11px;
}
.inspiration-copy b {
  width: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inspiration-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}
.reference-monitor {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 15px 38px rgba(23,24,23,.1);
}
.monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
}
.monitor-ratio-label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}
.monitor-ratio-select {
  width: 128px;
  flex: 0 0 128px;
}
.monitor-ratio-select select {
  width: 100%;
  min-height: 36px;
  padding: 0 42px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  appearance: none;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  cursor: pointer;
}
.monitor-ratio-select select:focus,.monitor-ratio-select select:focus-visible {
  border-color: var(--line);
  outline: none;
  box-shadow: none;
}
.monitor-ratio-select .select-shell > svg {
  right: 16px;
  color: var(--ink-soft);
}
.monitor-stage {
  min-height: 282px;
  display: grid;
  place-items: center;
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  background: #e8eae6;
  container-type: size;
}
.monitor-screen {
  width: min(100cqw,var(--frame-width-by-height)) !important;
  height: min(100cqh,var(--frame-height-by-width)) !important;
  max-width: 100%;
  max-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 0;
  background: #0c0d0c;
  cursor: grab;
  touch-action: none;
}
.monitor-screen.panning {
  cursor: grabbing;
}
.monitor-screen img, .monitor-screen video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  filter: grayscale(1) contrast(.9);
  transform-origin: center;
  transition: transform .16s ease;
}
.monitor-screen[data-source="upload"] img,.monitor-screen[data-source="upload"] video {
  filter: none;
}
.monitor-screen.panning img,.monitor-screen.panning video {
  transition: none;
}
.timeline-media-preload {
  width: 1px;
  height: 1px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.monitor-grayscale {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.05), transparent 58%);
}
.monitor-empty {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  color: #a7aba5;
  text-align: center;
}
.monitor-empty b {
  margin-top: 10px;
  color: #eceeea;
  font-size: 11px;
}
.monitor-pan-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(12,13,12,.68);
  color: #d7dad4;
  font-size: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.monitor-screen:hover .monitor-pan-hint,.monitor-screen:focus-visible .monitor-pan-hint,.monitor-screen.panning .monitor-pan-hint {
  opacity: 1;
}
.monitor-frame-actions {
  display: flex;
  gap: 5px;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .14s ease,transform .14s ease;
}
.monitor-screen:hover .monitor-frame-actions,.monitor-screen:focus-visible .monitor-frame-actions,.monitor-frame-actions:focus-within,.monitor-frame-actions.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.monitor-frame-actions button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(12,13,12,.68);
  color: #fff;
  font-size: 9px;
}
.monitor-frame-actions button:hover {
  border-color: rgba(242,199,45,.48);
  background: rgba(12,13,12,.82);
}
.monitor-frame-actions button:active {
  background: var(--yellow);
  color: var(--ink);
  transform: scale(.97);
}
.monitor-frame-actions button svg {
  width: 14px;
  height: 14px;
}
.monitor-zoom-tools {
  width: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 4;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,7px) scale(.96);
  transform-origin: bottom center;
  transition: opacity .12s ease,transform .12s ease;
}
.monitor-zoom-tools.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,0) scale(1);
  transition-duration: .2s;
}
.monitor-zoom-tools button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.monitor-zoom-tools button:hover {
  background: rgba(255,255,255,.18);
  transform: scale(1.04);
}
.monitor-zoom-tools button:active {
  background: var(--yellow);
  color: var(--ink);
  transform: scale(.96);
}
.monitor-zoom-tools button svg {
  width: 15px;
  height: 15px;
}
.zoom-value {
  width: 48px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.06);
}
.zoom-value input {
  width: 31px;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: textfield;
  background: transparent;
  color: #fff;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.zoom-value input::-webkit-inner-spin-button,.zoom-value input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.zoom-value span {
  color: #d7dad4;
  font-size: 9px;
  pointer-events: none;
}
.zoom-value:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(242,199,45,.18);
}
.monitor-controls {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 14px;
}
.monitor-controls > button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}
.monitor-controls > button svg {
  width: 16px;
  height: 16px;
}
.monitor-controls > button:disabled {
  opacity: .35;
  cursor: default;
}
.monitor-progress {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: center;
  gap: 3px;
  flex: 1;
  padding-top: 10px;
}
.monitor-progress input {
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.monitor-progress input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right,var(--yellow) 0 var(--progress),#8d918b var(--progress) 100%);
}
.monitor-progress input::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  appearance: none;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 1px 4px rgba(0,0,0,.34);
  transition: transform .14s ease,background-color .14s ease;
}
.monitor-progress input::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #8d918b;
}
.monitor-progress input::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
}
.monitor-progress input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 1px 4px rgba(0,0,0,.34);
  transition: transform .14s ease,background-color .14s ease;
}
.monitor-progress input:hover::-webkit-slider-thumb {
  transform: scale(1.32);
}
.monitor-progress input:hover::-moz-range-thumb {
  transform: scale(1.32);
}
.monitor-progress.scrubbing input::-webkit-slider-thumb,.monitor-progress.scrubbing input::-moz-range-thumb {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.32);
}
.monitor-progress input:disabled {
  cursor: default;
  opacity: .35;
}
.monitor-progress span {
  color: var(--muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.monitor-utility-controls {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
  padding-top: 5px;
}
.monitor-utility-controls button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-soft);
}
.monitor-utility-controls button:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.monitor-utility-controls button:active:not(:disabled) {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  transform: scale(.96);
}
.monitor-utility-controls button:disabled {
  opacity: .3;
  cursor: default;
}
.monitor-utility-controls button svg {
  width: 15px;
  height: 15px;
}
.reference-monitor:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  box-shadow: none;
}
.reference-monitor:fullscreen .monitor-head {
  color: #fff;
}
.reference-monitor:fullscreen .monitor-ratio-label {
  color: #fff;
}
.reference-monitor:fullscreen .monitor-stage {
  min-height: 0;
}
.reference-monitor:fullscreen .monitor-controls {
  align-items: center;
}
.reference-monitor:fullscreen .monitor-progress span {
  color: #d7dad4;
}
.reference-monitor:fullscreen .monitor-utility-controls button {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.timeline-panel {
  margin-top: 18px;
  padding: 22px;
  overflow: hidden;
}
.timeline-ruler {
  display: flex;
  justify-content: space-between;
  padding: 14px 1px 6px;
  color: var(--muted-2);
}
.timeline-ruler strong {
  font-size: 9px;
  font-weight: 700;
}
.timeline-canvas {
  position: relative;
  padding-bottom: 28px;
}
.timeline-track {
  height: 112px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f0f1ee;
  cursor: crosshair;
}
.timeline-guides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.timeline-guides i {
  height: 100%;
  position: absolute;
  top: 0;
  border-left: 1px dashed rgba(100,105,99,.3);
}
.timeline-sequence {
  height: 72px;
  display: flex;
  align-items: stretch;
  position: absolute;
  inset: 20px 0 auto;
  z-index: 2;
}
.timeline-clip {
  min-width: 28px;
  height: 72px;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 5px;
  background: #252725;
  box-shadow: 0 5px 14px rgba(23,24,23,.1);
  cursor: grab;
  animation: timelineClipEnter .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes timelineClipEnter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.timeline-clip.current {
  z-index: 3;
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 5px 14px rgba(23,24,23,.1);
}
.timeline-clip-preview {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #232423;
  color: #fff;
  text-align: left;
}
.timeline-clip-preview:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -3px;
}
.timeline-frame-strip {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}
.timeline-frame-strip img,.timeline-frame-strip video,.timeline-frame-strip > i {
  min-width: 0;
  height: 100%;
  display: block;
  flex: 1 1 0;
  object-fit: cover;
  filter: grayscale(1) contrast(.9);
  pointer-events: none;
}
.timeline-clip[data-source="upload"] .timeline-frame-strip img,.timeline-clip[data-source="upload"] .timeline-frame-strip video {
  filter: none;
}
.timeline-frame-strip img+img,.timeline-frame-strip video+video,.timeline-frame-strip > *+* {
  border-left: 1px solid rgba(255,255,255,.16);
}
.timeline-clip-preview::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent,rgba(9,10,9,.82));
  pointer-events: none;
}
.timeline-clip-preview > span:last-child {
  min-width: 0;
  display: grid;
  position: absolute;
  right: 13px;
  bottom: 8px;
  left: 13px;
  z-index: 1;
  pointer-events: none;
}
.timeline-clip-preview b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-clip-preview small {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: 8px;
}
.timeline-trim-handle {
  width: 12px;
  height: calc(100% + 2px);
  display: grid;
  place-items: center;
  position: absolute;
  top: -1px;
  z-index: 5;
  padding: 0;
  border: 1px solid rgba(23,24,23,.16);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  cursor: ew-resize;
  box-shadow: 0 1px 5px rgba(23,24,23,.2);
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
  touch-action: none;
}
.timeline-trim-handle.start {
  left: -1px;
  border-radius: 5px 0 0 5px;
}
.timeline-trim-handle.end {
  right: -1px;
  border-radius: 0 5px 5px 0;
}
.timeline-trim-handle::after {
  content: "";
  position: absolute;
  inset: 0 -6px;
}
.timeline-trim-handle i {
  width: 2px;
  height: 22px;
  position: relative;
  z-index: 1;
  border-radius: 3px;
  background: rgba(23,24,23,.5);
  transition: height .16s ease, background-color .16s ease;
  pointer-events: none;
}
.timeline-trim-handle:hover {
  z-index: 6;
  background: #fff;
  box-shadow: 0 3px 10px rgba(23,24,23,.3);
  transform: scaleX(1.18);
}
.timeline-trim-handle:hover i {
  height: 30px;
  background: var(--ink);
}
.timeline-trim-handle:active,.timeline-trim-handle.dragging {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(242,199,45,.25),0 4px 12px rgba(23,24,23,.28);
  transform: scaleX(1.22);
}
.timeline-trim-handle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.timeline-hover-line {
  width: 1px;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 8;
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}
.timeline-hover-line::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%,-50%);
}
.timeline-playhead {
  width: 2px;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 9;
  background: var(--yellow);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(242,199,45,.42);
  will-change: left;
}
.timeline-playhead::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%,-35%);
}
.timeline-selection-tools {
  width: 104px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  top: 96px;
  left: clamp(6px,calc(var(--selection-center) - 52px),calc(100% - 110px));
  z-index: 11;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 7px 18px rgba(23,24,23,.13);
  cursor: default;
}
.timeline-selection-tools button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--card-soft);
  color: var(--ink-soft);
  transition: border-color .16s ease,background-color .16s ease,color .16s ease,opacity .12s ease,transform .16s ease;
}
.timeline-selection-tools button:hover:not(:disabled),.timeline-selection-tools button:active:not(:disabled) {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
}
.timeline-selection-tools button:active:not(:disabled) {
  opacity: .72;
  transform: scale(.93);
}
.timeline-selection-tools button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}
.timeline-selection-tools button:disabled {
  opacity: .28;
  cursor: default;
}
.timeline-selection-tools svg {
  width: 14px;
  height: 14px;
}
.timeline-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding-top: 15px;
  color: var(--muted);
  font-size: 10px;
}
.timeline-foot > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.timeline-foot .ghost, .next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.save-draft {
  width: 104px;
  min-width: 104px;
}
.next-button {
  width: 156px;
  min-width: 156px;
}
.timeline-foot button:disabled {
  border-color: var(--line);
  background: var(--card-soft);
  color: var(--muted-2);
  opacity: .62;
  cursor: not-allowed;
  box-shadow: none;
}
.inline-error {
  color: var(--red);
  font-size: 10px;
}
.upload-trim-dialog {
  width: min(760px,calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #f6f7f4;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(17,20,17,.28);
}
.upload-trim-dialog::backdrop {
  background: rgba(20,22,20,.48);
  backdrop-filter: blur(9px);
}
.upload-trim-shell {
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.upload-trim-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 15px;
  border-bottom: 0;
  background: #f6f7f4;
}
.upload-trim-shell > header span {
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}
.upload-trim-shell > header h2 {
  margin: 3px 0 0;
  font-size: 19px;
}
.upload-trim-shell > header > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
}
.upload-trim-shell > header > button:hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
  transform: rotate(4deg);
}
.upload-trim-shell > header > button svg {
  width: 17px;
  height: 17px;
}
.upload-trim-body {
  min-height: 0;
  display: grid;
  gap: 12px;
  padding: 14px 20px;
  overflow: auto;
}
.upload-trim-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(23,24,23,.04);
}
.upload-preview-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
}
.upload-range-heading span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}
.upload-preview-card input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbf8;
  color: var(--ink);
  font-size: 12px;
}
.upload-preview-card input::placeholder {
  color: #9ca09a;
  opacity: 1;
}
.upload-preview-card input:focus,.upload-preview-card input:focus-visible {
  border-color: var(--line);
  outline: none;
  box-shadow: none;
}
.upload-field-error {
  display: block;
  margin-top: -6px;
  color: var(--red);
  font-size: 10px;
  line-height: 1.35;
}
.upload-original-preview {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  overflow: visible;
  position: relative;
  background: transparent;
}
.upload-original-preview video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(320px,35dvh);
  display: block;
  border-radius: 9px;
  object-fit: contain;
  background: #111311;
  filter: none;
}
.upload-preview-controls {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4px 9px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(transparent,rgba(8,9,8,.86));
  color: #fff;
}
.upload-preview-controls button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.upload-preview-controls button svg {
  width: 15px;
  height: 15px;
}
.upload-preview-controls input {
  min-height: 0;
  height: 18px;
  flex: 1;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
}
.upload-preview-controls input:focus,.upload-preview-controls input:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}
.upload-preview-controls input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right,var(--yellow) 0 var(--upload-preview-progress),rgba(255,255,255,.58) var(--upload-preview-progress) 100%);
}
.upload-preview-controls input::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  appearance: none;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 1px 3px rgba(0,0,0,.28);
}
.upload-preview-controls input::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
}
.upload-preview-controls input::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
}
.upload-preview-controls input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 1px 3px rgba(0,0,0,.28);
}
.upload-preview-controls span {
  flex: 0 0 auto;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.upload-range-card {
  padding: 13px 14px 12px;
}
.upload-range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.upload-range-heading > div {
  display: grid;
  gap: 3px;
}
.upload-range-heading b {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.upload-range-heading strong {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 10px;
}
.upload-trim-ruler {
  display: flex;
  justify-content: space-between;
  margin: 10px 1px 4px;
  color: var(--muted);
  font-size: 8px;
}
.upload-trim-track {
  height: 64px;
  position: relative;
  overflow: hidden;
  border: 1px solid #c9ccc6;
  border-radius: 8px;
  background: #222422;
}
.upload-trim-film {
  height: 100%;
  display: flex;
  overflow: hidden;
  opacity: .72;
}
.upload-trim-film video {
  min-width: 0;
  height: 100%;
  display: block;
  flex: 1 1 0;
  object-fit: cover;
  filter: none;
  pointer-events: none;
}
.upload-trim-film video+video {
  border-left: 1px solid rgba(255,255,255,.25);
}
.upload-trim-track::before,.upload-trim-track::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  background: rgba(13,15,13,.7);
  pointer-events: none;
}
.upload-trim-track::before {
  width: var(--trim-start);
}
.upload-trim-track::after {
  left: var(--trim-end);
  right: 0;
}
.upload-selected-range {
  position: absolute;
  inset: -1px calc(100% - var(--trim-end)) -1px var(--trim-start);
  z-index: 2;
  padding: 0;
  border: 2px solid var(--yellow);
  background: transparent;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 0 0 1px rgba(23,24,23,.18);
}
.upload-selected-range:active,.upload-selected-range.dragging {
  cursor: grabbing;
}
.upload-trim-playhead {
  width: 2px;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  background: var(--yellow);
  box-shadow: 0 0 0 1px rgba(17,19,17,.18),0 0 7px rgba(245,194,24,.5);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
}
.upload-trim-playhead::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 0 0 5px 5px;
  background: var(--yellow);
  transform: translateX(-50%);
}
.upload-handle-arrow {
  width: 12px;
  height: calc(100% + 2px);
  display: grid;
  place-items: center;
  position: absolute;
  top: -1px;
  z-index: 5;
  border: 1px solid rgba(23,24,23,.16);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 5px rgba(23,24,23,.2);
  transform: translateX(-50%);
  pointer-events: none;
}
.upload-handle-arrow.start {
  left: clamp(6px,var(--trim-start),calc(100% - 6px));
}
.upload-handle-arrow.end {
  left: clamp(6px,var(--trim-end),calc(100% - 6px));
}
.upload-handle-arrow.start {
  border-radius: 5px 0 0 5px;
}
.upload-handle-arrow.end {
  border-radius: 0 5px 5px 0;
}
.upload-handle-arrow i {
  width: 2px;
  height: 22px;
  border-radius: 3px;
  background: rgba(23,24,23,.5);
}
.upload-trim-track input {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.upload-trim-track input::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}
.upload-trim-track input::-webkit-slider-thumb {
  width: 14px;
  height: 64px;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: ew-resize;
  pointer-events: auto;
}
.upload-trim-track input::-moz-range-track {
  height: 100%;
  border: 0;
  background: transparent;
}
.upload-trim-track input::-moz-range-thumb {
  width: 14px;
  height: 62px;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: ew-resize;
  pointer-events: auto;
}
@keyframes uploadErrorNudge {
  0%,100% {
    transform: translateX(0);
  }
  32% {
    transform: translateX(-4px);
  }
  68% {
    transform: translateX(4px);
  }
}
.upload-preview-card.invalid input,.upload-range-card.invalid {
  border-color: var(--red);
  animation: uploadErrorNudge 260ms ease-out;
}
.upload-preview-card.invalid input:focus,.upload-preview-card.invalid input:focus-visible {
  border-color: var(--red);
}
.upload-fixed-name {
  min-width: 0;
  padding: 1px;
}
.upload-fixed-name b {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-range-card > .upload-field-error {
  margin: 7px 1px 0;
}
.upload-trim-shell > footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 12px 20px;
  border-top: 0;
  background: #f6f7f4;
}
.upload-trim-shell > footer .inline-error {
  margin-right: auto;
}
.upload-trim-shell > footer button {
  min-width: 96px;
}
.draft-save-dialog {
  width: min(560px,calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 26px 80px rgba(17,20,17,.24);
}
.draft-save-dialog::backdrop {
  background: rgba(20,22,20,.48);
  backdrop-filter: blur(7px);
}
.draft-save-shell {
  display: grid;
  max-height: min(720px,calc(100dvh - 32px));
  overflow: hidden;
}
.draft-save-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  background: #f6f7f4;
}
.draft-save-shell > header > div > span {
  color: #9a7b0e;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.1px;
}
.draft-save-shell h2 {
  margin: 5px 0 4px;
  font-size: 20px;
  letter-spacing: -.3px;
}
.draft-save-shell header p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.draft-save-shell header > button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
}
.draft-save-shell header > button:hover:not(:disabled) {
  border-color: var(--line-strong);
  color: var(--ink);
}
.draft-save-shell header > button svg {
  width: 15px;
  height: 15px;
}
.draft-save-body {
  display: grid;
  gap: 17px;
  overflow: auto;
  padding: 22px 24px;
}
.draft-save-field {
  display: grid;
  gap: 7px;
}
.draft-save-field > span,.draft-thumbnail-field > legend {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}
.draft-save-field > span small {
  color: var(--muted-2);
  font-weight: 400;
}
.draft-save-field input,.draft-save-field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  outline: none;
}
.draft-save-field input {
  height: 40px;
}
.draft-save-field textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.55;
}
.draft-save-field input:focus,.draft-save-field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(242,199,45,.13);
}
.draft-save-field input[aria-invalid="true"] {
  border-color: var(--yellow);
  background: var(--yellow-soft);
}
.draft-thumbnail-field {
  min-width: 0;
}
.draft-thumbnail-content {
  display: grid;
  grid-template-columns: 164px minmax(0,1fr);
  align-items: center;
  gap: 15px;
  margin-top: 7px;
}
.draft-thumbnail-preview {
  width: 164px;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c0d0c;
  color: #c8ccc6;
}
.draft-thumbnail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.draft-thumbnail-preview > span {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
}
.draft-thumbnail-preview svg {
  width: 24px;
  height: 24px;
}
.draft-thumbnail-preview b {
  font-size: 9px;
  font-weight: 500;
}
.draft-save-body > .inline-error {
  display: block;
  margin-top: -7px;
}
.draft-save-shell > footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 13px 24px;
  background: #f6f7f4;
}
.draft-save-shell > footer button {
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.draft-save-shell > footer svg {
  width: 15px;
  height: 15px;
}
@media (hover:none) {
  .inspiration-delete {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width:680px) {
  .draft-save-dialog {
    width: calc(100vw - 20px);
  }
  .draft-thumbnail-content {
    grid-template-columns: 1fr;
  }
  .draft-thumbnail-preview {
    width: 100%;
  }
  .upload-trim-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .upload-trim-shell {
    max-height: calc(100dvh - 20px);
  }
  .upload-original-preview video {
    max-height: 32dvh;
  }
  .upload-trim-shell > footer {
    flex-wrap: wrap;
  }
  .upload-trim-shell > footer .inline-error {
    width: 100%;
    margin: 0;
  }
}
@media (min-width:1051px) and (min-height:720px) {
  .video-reference-page {
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    gap: 14px;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: max(20px,env(safe-area-inset-bottom));
  }
  .video-reference-page .video-editor-layout {
    min-height: 0;
  }
  .video-reference-page .inspiration-browser,.video-reference-page .reference-monitor {
    height: 100%;
    min-height: 0;
  }
  .video-reference-page .inspiration-browser {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .video-reference-page .inspiration-grid {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
  .video-reference-page .monitor-stage {
    min-height: 0;
  }
  .video-reference-page .timeline-panel {
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1050px) {
  .video-editor-layout {
    grid-template-columns: 1fr;
  }
  .video-editor-layout > .surface + .surface {
    margin-top: 0;
  }
  .reference-monitor {
    min-height: 430px;
  }
}
@media (max-width: 760px) {
  .inspiration-browser, .reference-monitor, .timeline-panel {
    padding: 17px;
  }
  .video-section-head:not(.inspiration-header), .timeline-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .video-section-head > p {
    max-width: none;
    text-align: left;
  }
  .inspiration-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .monitor-screen {
    min-height: 260px;
  }
  .timeline-foot > div {
    align-items: stretch;
    flex-direction: column;
  }
  .timeline-foot .ghost, .timeline-foot .next-button {
    width: 100%;
  }
}
.plain-main:has(.project-folders-page),.plain-main:has(.project-detail-page) {
  min-height: 100dvh;
  padding: 0;
  background: #f7f7f4;
}
.project-folders-page {
  width: min(1510px,100%);
  padding: 42px clamp(26px,4vw,68px) 48px;
}
@media (max-width:820px) {
  .project-folders-page {
    padding: 28px 18px 48px;
  }
}
@media (max-width: 480px) {
  .inspiration-title-row {
    align-items: stretch;
    flex-direction: column;
  }
  .inspiration-title-row .icon-action {
    width: 100%;
  }
  .inspiration-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-trim-handle,.timeline-trim-handle i,.monitor-pan-hint,.monitor-screen img,.monitor-screen video,.monitor-progress input::-webkit-slider-thumb,.monitor-zoom-tools,.icon-action,.timeline-playhead {
    transition: none;
  }
  .timeline-clip {
    animation: none;
  }
}
.error {
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #efceca;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
}
.empty {
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.search {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11px;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
}
.search input {
  width: 180px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}
.asset-list {
  overflow: hidden;
}
.asset-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 2fr 1.05fr .7fr .9fr 1fr .75fr;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid #eff1ef;
  font-size: 11px;
}
.asset-row:last-child {
  border-bottom: 0;
}
.asset-row.head {
  min-height: 42px;
  background: var(--card-soft);
  color: var(--muted);
  font-size: 10px;
}
.asset-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.asset-name > span:last-child,.asset-name a {
  min-width: 0;
}
.asset-name a {
  display: block;
}
.asset-name b, .asset-name small {
  display: block;
}
.asset-name b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset-name small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #eef0ed;
  color: var(--green);
  font: 24px "PIKA UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-weight: 200;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.ok {
  background: var(--green-soft);
  color: var(--green);
}
.status.processing {
  background: var(--yellow-soft);
  color: #a27a10;
}
.status.failed {
  background: var(--red-soft);
  color: var(--red);
}
.status.draft {
  background: #eef0ed;
  color: var(--ink-soft);
}
.review-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review-card:last-child {
  border-bottom: 0;
}
.review-thumb {
  width: 70px;
  height: 67px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #eef0ed;
  color: var(--green);
  font: 30px "PIKA UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}
.review-thumb img, .review-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 5px;
  font-size: 15px;
}
.review-card p, .review-card small {
  display: block;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 10px;
}
.review-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.member-panel-actions, .member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.member-card {
  grid-template-columns: 70px minmax(0, 1fr) auto;
}
.member-avatar {
  position: relative;
  border-radius: 50%;
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-role {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
}
.danger-action {
  color: var(--red);
}
.member-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23,24,23,.28);
  backdrop-filter: blur(5px);
  animation: modal-fade-in .18s ease both;
}
.member-modal {
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 24px 70px rgba(23,24,23,.18);
  animation: modal-slide-in .22s cubic-bezier(.22,1,.36,1) both;
}
.member-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.member-modal-head h2 {
  margin: 0;
  font-size: 18px;
}
.member-modal-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
}
.modal-close:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.member-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 13px;
  padding: 20px 0 2px;
}
.member-form > label:not(.avatar-picker) {
  display: grid;
  gap: 6px;
}
.member-form > label > span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}
.avatar-picker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.member-avatar.large {
  width: clamp(76px, 10vw, 96px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 clamp(76px, 10vw, 96px);
  overflow: hidden;
  border-radius: 50%;
  background: #eef0ed;
  color: var(--green);
  font-size: 28px;
}
.member-avatar.large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.avatar-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}
.member-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.profile-card {
  width: min(760px, 100%);
  margin: 0 auto;
}
.profile-card .panel-head {
  align-items: center;
}
.profile-dialog {
  width: min(820px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  overflow: visible;
  transform: translate(-50%, -50%);
}
.profile-dialog::backdrop {
  background: rgba(23,24,23,.32);
  backdrop-filter: blur(5px);
  animation: modal-fade-in .18s ease both;
}
.profile-dialog-shell {
  position: relative;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 24px 70px rgba(23,24,23,.2);
  animation: modal-slide-in .22s cubic-bezier(.22,1,.36,1) both;
}
.profile-dialog .profile-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}
.profile-dialog .panel-head {
  padding-right: 48px;
}
.profile-dialog-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.profile-dialog-close:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: rotate(4deg);
}
.profile-avatar-trigger {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.profile-avatar-large {
  width: clamp(76px, 10vw, 96px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 clamp(76px, 10vw, 96px);
  overflow: hidden;
  border-radius: 50%;
  background: #eef0ed;
  color: var(--green);
  font-size: 28px;
  font-weight: 650;
}
.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.profile-success {
  margin-top: 14px;
  font-size: 11px;
}
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.admin-library-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 17px;
  padding: 16px 20px;
}
.admin-library-filter-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.admin-library-filter-label {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.admin-library-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.admin-library-filter-options button {
  width: 124px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 400;
  transition: border .18s ease, background .18s ease, color .18s ease, transform 180ms cubic-bezier(.2,.8,.2,1);
}
.admin-library-filter-options button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.admin-library-filter-options button.selected {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
  font-weight: 700;
}
.detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
  padding: 24px;
  border: 1px solid #d8e3d4;
  border-radius: var(--radius);
  background: #f7fbf5;
}
.detail-hero h2 {
  margin: 9px 0 5px;
  font-size: 24px;
}
.detail-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.progress {
  width: 270px;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e3e9e1;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--green);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 17px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.result {
  min-height: 260px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #eef0ed;
}
.result img, .result video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.result small {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(23,24,23,.78);
  color: #fff;
  font-size: 10px;
}
.detail-info h3 {
  margin: 0 0 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.detail-info dl {
  display: grid;
  gap: 11px;
  margin: 0;
}
.detail-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.detail-info dt {
  color: var(--muted);
}
.detail-info dd {
  margin: 0;
  text-align: right;
}
.wide {
  width: 100%;
  margin-top: 20px;
}
@media (max-width: 1180px) {
  .content {
    padding-right: 28px;
    padding-left: 28px;
  }
}
@media (max-width: 820px) {
  .sidebar {
    width: 76px;
    flex-basis: 76px;
    padding: 18px 10px;
  }
  .brand {
    justify-content: center;
    padding: 0 0 24px;
  }
  .brand small, .nav a span, .sidebar-bottom {
    display: none;
  }
  .brand-logo {
    width: 56px;
    height: 30px;
  }
  .brand-logo text {
    font-size: 18px;
    letter-spacing: 1.8px;
  }
  .nav-group + .nav-group {
    padding-top: 0;
    border-top: 0;
  }
  .nav-group + .nav-group::before {
    display: none;
  }
  .nav a {
    min-height: 52px;
    justify-content: center;
    padding: 0;
  }
  .nav-icon {
    width: 23px;
    height: 23px;
  }
  .main {
    width: calc(100% - 76px);
    margin-left: 76px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 300px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 13px;
  }
  .profile-dialog {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .profile-dialog-shell {
    max-height: calc(100dvh - 24px);
  }
  .sidebar {
    width: 62px;
    flex-basis: 62px;
  }
  .main {
    width: calc(100% - 62px);
    margin-left: 62px;
  }
  .content {
    padding: 20px 15px 58px;
  }
  .tabs {
    margin-bottom: 16px;
  }
  .tabs button, .tabs a {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    font-size: 11px;
  }
  .panel {
    padding: 17px;
  }
  .panel-head {
    flex-direction: column;
    gap: 8px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .member-form {
    grid-template-columns: 1fr;
  }
  .avatar-picker {
    grid-column: auto;
  }
  .member-actions {
    justify-content: flex-start;
  }
  .case-preview-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .case-preview-dialog img, .case-preview-dialog video {
    max-height: calc(100dvh - 24px);
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .asset-row {
    grid-template-columns: 1fr .8fr .8fr;
    gap: 8px;
  }
  .asset-row:nth-child(n) > span:nth-child(2), .asset-row:nth-child(n) > span:nth-child(5), .asset-row:nth-child(n) > span:nth-child(6) {
    display: none;
  }
  .asset-row.head {
    display: none;
  }
  .review-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .review-thumb {
    width: 54px;
    height: 54px;
  }
  .review-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
  .admin-library-filter-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .admin-library-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-library-filter-options button {
    width: 100%;
    padding: 0 8px;
  }
  .detail-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }
  .progress {
    width: 100%;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.asset-name .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.design-inspiration-trigger {
  min-width: 88px;
  min-height: 38px;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  border: 1px solid #d0a900;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(23,24,23,.16);
  font-size: 11px;
  font-weight: 750;
}
.design-inspiration-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 32px rgba(23,24,23,.2);
}
.design-inspiration-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(980px, calc(100vw - 48px));
  max-width: none;
  height: fit-content;
  max-height: min(760px, calc(100dvh - 48px));
  padding: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-shadow: 0 30px 80px rgba(17,20,17,.24);
  pointer-events: auto;
}
.design-inspiration-dialog[open] {
  display: flex;
}
.design-inspiration-dialog::backdrop {
  background: rgba(22,24,22,.38);
  backdrop-filter: blur(8px);
}
.design-inspiration-dialog > header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.design-inspiration-dialog > header h2 {
  margin: 0;
  font-size: 20px;
}
.design-inspiration-dialog > header > button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.design-inspiration-dialog > .error {
  margin: 14px 24px 0;
}
.design-inspiration-grid {
  min-height: 220px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  padding: 20px 24px 24px;
  overflow: auto;
}
.design-inspiration-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-soft);
}
.design-inspiration-media {
  aspect-ratio: 4/3;
  display: block;
  overflow: hidden;
  background: #e9ebe8;
}
.design-inspiration-media img,.design-inspiration-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.design-inspiration-grid article > div {
  min-width: 0;
  padding: 10px 11px 8px;
}
.design-inspiration-grid article > div b,.design-inspiration-grid article > div small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.design-inspiration-grid article > div b {
  font-size: 11px;
}
.design-inspiration-grid article > div small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.design-inspiration-grid article > button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: auto 9px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}
.design-inspiration-grid article > button:not(:disabled):hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
}
.design-inspiration-grid article > button:disabled {
  color: var(--green);
  background: var(--green-soft);
}
.design-inspiration-empty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 28px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
*:focus, *:focus-visible {
  outline: none !important;
}
:is(dialog,[role="dialog"]) button[aria-label="关闭"] {
  transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s, color .18s !important;
}
@media (hover:hover) {
  :is(dialog,[role="dialog"]) button[aria-label="关闭"]:not(:disabled):hover {
    transform: scale(1.16) !important;
    color: var(--ink-soft);
  }
}
:is(dialog,[role="dialog"]) button[aria-label="关闭"]:not(:disabled):active {
  transform: scale(.88) !important;
  opacity: .72;
}
@media (prefers-reduced-motion:reduce) {
  :is(dialog,[role="dialog"]) button[aria-label="关闭"] {
    transition: none !important;
  }
  :is(dialog,[role="dialog"]) button[aria-label="关闭"]:not(:disabled):is(:hover,:active) {
    transform: none !important;
  }
}
@media (max-width: 760px) {
  .design-inspiration-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .design-inspiration-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 14px;
  }
  .design-inspiration-trigger {
    right: 14px;
    bottom: 14px;
  }
}
.qa-preview-link {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: #fafbf8;
  color: #20251f;
  border: 1px solid rgba(35,45,29,.16);
  padding: 10px 15px;
  border-radius: 9px;
  text-decoration: none;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@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-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
