/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Hanken_Grotesk","arguments":[{"subsets":["latin"],"variable":"--font-hanken","display":"swap"}],"variableName":"hanken"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a6c19694cd327cd4-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/851c4691abdf3def-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a8a8dd7277bab4cf-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/313510e2713fb214-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Hanken Grotesk Fallback';src: local("Arial");ascent-override: 99.07%;descent-override: 30.02%;line-gap-override: 0.00%;size-adjust: 100.94%
}.__className_67a390 {font-family: 'Hanken Grotesk', 'Hanken Grotesk Fallback';font-style: normal
}.__variable_67a390 {--font-hanken: 'Hanken Grotesk', 'Hanken Grotesk Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--font-hanken), "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 0.75rem;
    --animate-spin: spin 1s linear infinite;
    --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);
    --color-ground: #eceef1;
    --color-panel: #ffffff;
    --color-sunk: #f4f5f7;
    --color-line: #d8dce1;
    --color-line-soft: #e7eaee;
    --color-line-strong: #bcc2c9;
    --color-ink: #15171a;
    --color-ink-2: #474d55;
    --color-ink-3: #5e656e;
    --color-film: #141414;
    --color-film-2: #262626;
    --color-rebate: #a3a3a3;
    --color-rebate-hi: #e9e9e9;
    --color-orange: #ff9000;
    --color-orange-press: #e98200;
    --color-orange-deep: #d97900;
    --color-done: #2b6943;
    --color-done-bg: #e3efe7;
    --color-done-film: #86c99f;
    --color-wait: #765600;
    --color-wait-bg: #f4ecd6;
    --color-wait-film: #e2be62;
    --color-fail: #a0352c;
    --color-fail-bg: #f6e2df;
    --color-fail-film: #ec9a90;
    --color-local: #43566a;
    --color-local-bg: #e4eaf0;
    --color-local-film: #a7bacd;
    --color-on-dark: #ffffff;
    --color-hover: #e9ecef;
    --color-line-hover: #c4c9d0;
    --color-track: #c9ced5;
    --color-scroll: #c2c7ce;
    --color-scroll-hover: #9ea4ac;
    --color-film-scroll: #4a4a4a;
    --color-film-rule: #6b6b6b;
    --color-done-line: #bcd8c5;
    --color-wait-line: #e6d6a8;
    --color-fail-line: #e7c3be;
    --color-fail-line-hover: #ddb0aa;
    --shadow-popover: 0 8px 28px rgb(21 23 26 / 0.16);
    --spacing-page: 28px;
    --spacing-panel: 16px;
  }
}
@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, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)) {
    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 {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .\!relative {
    position: relative !important;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .bottom-4 {
    bottom: calc(var(--spacing) * 4);
  }
  .isolate {
    isolation: isolate;
  }
  .z-50 {
    z-index: 50;
  }
  .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;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-block {
    display: inline-block;
  }
  .table {
    display: table;
  }
  .max-h-48 {
    max-height: calc(var(--spacing) * 48);
  }
  .w-0 {
    width: 0px;
  }
  .w-full {
    width: 100%;
  }
  .grow {
    flex-grow: 1;
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .resize {
    resize: both;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  :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-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-white\/10 {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .object-contain {
    object-fit: contain;
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .text-white {
    color: var(--color-white);
  }
  .ordinal {
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .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));
  }
  @media (width >= 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}
.seg .seg-dim {
  opacity: .45;
  cursor: not-allowed;
}
.seg > span {
  display: contents;
}
:root {
  color-scheme: light;
  --fs-xs: 11px;
  --fs-sm: 12.5px;
  --fs-base: 13.5px;
  --fs-md: 15.5px;
  --fs-lg: 18px;
  --fs-xl: 20.5px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --pencil-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7' preserveAspectRatio='none'%3E%3Cpath d='M1.5 4.6C18 3.1 40 4.2 58 3.2S88 2.4 98.5 3.9' fill='none' stroke='%23FF9000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (max-width: 760px) {
  :root {
    --fs-xs: 12px;
    --fs-sm: 13.5px;
    --fs-base: 15px;
    --fs-md: 16px;
    --fs-lg: 19px;
    --fs-xl: 22px;
    --spacing-page: 16px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--color-orange);
  color: var(--color-ink);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-scroll) transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-scroll);
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-scroll-hover);
  background-clip: padding-box;
}
button,
a,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
  border-radius: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
p a:not([class]),
li a:not([class]),
dd a:not([class]),
td a:not([class]),
.link {
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
p a:not([class]):hover,
li a:not([class]):hover,
dd a:not([class]):hover,
td a:not([class]):hover,
.link:hover {
  text-decoration-color: var(--color-ink);
}
h1,
h2,
h3,
h4 {
  color: var(--color-ink);
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 {
  font-size: var(--fs-xl);
  font-weight: 650;
  line-height: 1.2;
  margin: 0 0 6px;
}
h2 {
  font-size: var(--fs-md);
  font-weight: 650;
  line-height: 1.3;
  margin: 18px 0 8px;
}
h3 {
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1.35;
  margin: 14px 0 6px;
}
p {
  margin: 0 0 8px;
}
small {
  font-size: var(--fs-sm);
}
strong,
b {
  font-weight: 650;
}
hr {
  border: 0;
  border-top: 1px solid var(--color-line);
  margin: 16px 0;
}
time,
.num,
table,
dl,
.badge,
.status-pill,
.rb,
.cost {
  font-variant-numeric: tabular-nums;
}
code,
pre,
kbd {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
pre {
  background: var(--color-sunk);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  overflow: auto;
  max-width: 100%;
}
img,
video {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.muted {
  color: var(--color-ink-2);
}
.faint {
  color: var(--color-ink-3);
}
.hint {
  font-size: var(--fs-xs);
  color: var(--color-ink-3);
}
.error,
[role="alert"]:not(.alert):not(.panel) {
  color: var(--color-fail);
}
.panel,
.card {
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--spacing-panel);
  min-width: 0;
}
.panel .card,
.panel .panel {
  background: var(--color-sunk);
  border-color: var(--color-line-soft);
}
a.panel,
a.card {
  display: block;
  transition: border-color 0.15s,
    background 0.15s;
}
a.panel:hover,
a.card:hover {
  border-color: var(--color-line-strong);
}
.panel > h2:first-child,
.panel > h3:first-child,
.card > h2:first-child,
.card > h3:first-child {
  margin-top: 0;
}
.grid {
  display: grid;
  gap: 14px;
}
.grid > *,
.two-column > * {
  min-width: 0;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1400px;
  align-items: start;
}
.ratio-grid {
  grid-template-columns: repeat(4, 1fr);
}
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: calc(-1 * var(--spacing-page)) calc(-1 * var(--spacing-page)) 20px;
  padding: 18px var(--spacing-page) 16px;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-line);
}
.page-header h1 {
  margin: 0;
  font-size: var(--fs-xl);
}
.page-header p {
  margin: 3px 0 0;
  color: var(--color-ink-3);
}
.asset {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: var(--color-film-2);
}
.card + .card,
.card + .panel,
.panel + .card,
.panel + .panel {
  margin-top: 12px;
}
.card
  :where(
    label:has(> input[type="checkbox"]),
    label:has(> input[type="radio"])
  ) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  font-weight: 500;
  cursor: pointer;
}
.card
  :where(
    label:has(> input:not([type="checkbox"]):not([type="radio"])),
    label:has(> select),
    label:has(> textarea)
  ) {
  display: grid;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn:hover,
.btn-secondary:hover {
  background: var(--color-sunk);
  border-color: var(--color-line-hover);
}
.btn:active,
.btn-secondary:active {
  background: var(--color-hover);
}
.btn-primary {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-ink);
}
.btn-primary:hover {
  background: var(--color-orange-press);
  border-color: var(--color-orange-press);
}
.btn-primary:active {
  background: var(--color-orange-deep);
  border-color: var(--color-orange-deep);
}
.btn-primary:focus-visible {
  outline-color: var(--color-ink);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-sunk);
}
.btn-danger,
.btn-secondary.btn-danger {
  color: var(--color-fail);
  border-color: var(--color-fail-line);
  background: var(--color-panel);
}
.btn-danger:hover,
.btn-secondary.btn-danger:hover {
  background: var(--color-fail-bg);
  border-color: var(--color-fail-line-hover);
}
.btn-sm {
  min-height: 28px;
  padding: 0 10px;
  font-size: var(--fs-sm);
}
.btn-lg {
  min-height: 38px;
  padding: 0 20px;
  font-size: var(--fs-md);
}
.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled,
.btn-danger:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary:disabled:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}
[aria-busy="true"].btn,
[aria-busy="true"].btn-primary,
[aria-busy="true"].btn-secondary {
  cursor: progress;
}
.btn svg,
.btn-primary svg,
.btn-secondary svg,
.btn-ghost svg,
.btn-danger svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-ink-2);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--color-sunk);
  color: var(--color-ink);
}
label {
  font-weight: 500;
}
.panel
  :where(
    label:has(> input:not([type="checkbox"]):not([type="radio"])),
    label:has(> select),
    label:has(> textarea)
  ),
.field-stack {
  display: grid;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-ink);
}
.panel
  :where(label:has(> input[type="checkbox"]), label:has(> input[type="radio"])),
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  font-weight: 500;
  cursor: pointer;
}
.field,
.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
input:not([type]) {
  width: 100%;
  min-height: 34px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  color: var(--color-ink);
  font-weight: 400;
  font-size: var(--fs-base);
  caret-color: var(--color-orange-press);
  transition: border-color 0.15s,
    box-shadow 0.15s;
}
textarea {
  resize: vertical;
  line-height: 1.5;
  padding: 8px 10px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  background: var(--color-panel)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23474D55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 8px center / 16px;
  cursor: pointer;
}
select[multiple] {
  background-image: none;
  padding-right: 10px;
}
.input:hover,
textarea:hover,
select:hover,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="file"]
  ):hover {
  border-color: var(--color-line-strong);
}
.input:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="file"]
  ):focus-visible {
  outline: none;
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}
input::placeholder,
textarea::placeholder {
  color: var(--color-ink-3);
}
input:disabled,
select:disabled,
textarea:disabled {
  background-color: var(--color-sunk);
  color: var(--color-ink-3);
  cursor: not-allowed;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--color-fail);
}
input[type="checkbox"],
input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 0;
  flex: none;
  accent-color: var(--color-ink);
}
input[type="range"] {
  accent-color: var(--color-ink);
  width: 100%;
}
input[type="file"] {
  max-width: 100%;
  min-width: 0;
  font-size: var(--fs-sm);
}
input[type="file"]::file-selector-button {
  margin-right: 10px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  color: var(--color-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
  background: var(--color-sunk);
}
fieldset {
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-md);
  min-width: 0;
}
legend {
  padding: 0 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
}
details > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: 4px;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s var(--ease);
}
details[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  padding: 3px;
  background: var(--color-sunk);
  border: 1px solid var(--color-line);
  border-radius: 7px;
}
.seg button {
  min-height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--color-ink-2);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s,
    color 0.15s;
}
.seg button:hover {
  color: var(--color-ink);
  background: var(--color-hover);
}
.seg button[aria-pressed="true"],
.seg button[aria-selected="true"] {
  background: var(--color-ink);
  color: var(--color-on-dark);
}
.seg button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
[role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  border-bottom: 1px solid var(--color-line);
}
[role="tab"] {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--color-ink-2);
  font-weight: 600;
  cursor: pointer;
}
[role="tab"][aria-selected="true"] {
  color: var(--color-ink);
  background: var(--pencil-line) no-repeat center bottom 2px / calc(100% - 16px)
    6px;
}
.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  padding: 0 7px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-sunk);
  color: var(--color-ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  vertical-align: middle;
}
.status-pill::before,
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-pill[data-status="succeeded"],
.chip-done {
  background: var(--color-done-bg);
  color: var(--color-done);
}
.status-pill[data-status="running"],
.status-pill[data-status="queued"],
.status-pill[data-status="submitted"],
.chip-run {
  background: var(--color-sunk);
  color: var(--color-ink);
}
.status-pill[data-status="running"]::before,
.chip-run::before {
  animation: pulse 1.4s ease-in-out infinite;
}
.status-pill[data-status="failed"],
.chip-fail {
  background: var(--color-fail-bg);
  color: var(--color-fail);
}
.status-pill[data-status="cancelled"] {
  background: var(--color-sunk);
  color: var(--color-ink-3);
}
.status-pill[data-status="waiting"],
.status-pill[data-status="pending_approval"],
.chip-wait {
  background: var(--color-wait-bg);
  color: var(--color-wait);
}
.chip-local {
  background: var(--color-local-bg);
  color: var(--color-local);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
.alert {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-sunk);
  color: var(--color-ink);
  font-size: var(--fs-sm);
}
.alert-error {
  background: var(--color-fail-bg);
  border-color: var(--color-fail-line);
  color: var(--color-fail);
}
.alert-wait {
  background: var(--color-wait-bg);
  border-color: var(--color-wait-line);
  color: var(--color-wait);
}
.alert-done {
  background: var(--color-done-bg);
  border-color: var(--color-done-line);
  color: var(--color-done);
}
.empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
}
.empty-state h2,
.empty-state p:first-child {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 650;
}
.loading-line {
  color: var(--color-ink-3);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
th {
  text-align: left;
  font-weight: 600;
  color: var(--color-ink-3);
  border-bottom: 1px solid var(--color-line);
  padding: 6px 10px 6px 0;
}
td {
  border-bottom: 1px solid var(--color-line-soft);
  padding: 8px 10px 8px 0;
  vertical-align: top;
}
dl {
  margin: 0;
}
dt {
  color: var(--color-ink-3);
}
dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  font-size: var(--fs-sm);
}
.kv dd {
  color: var(--color-ink);
  font-weight: 500;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.comfy-frame {
  display: block;
  width: 100%;
  min-height: 75vh;
  margin-top: 16px;
  border: 0;
}
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
}
.rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 10px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-panel);
  border-right: 1px solid var(--color-line);
}
.work {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.app-main {
  min-width: 0;
  padding: var(--spacing-page);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 8px 14px;
  border-radius: 6px;
  color: var(--color-ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}
.wordmark-ify {
  margin-left: 1px;
  padding: 3px 5px 4px;
  border-radius: 5px;
  background: var(--color-orange);
  color: var(--color-ink);
}
.wordmark-lg {
  font-size: 26px;
  padding: 0;
}
.wordmark-lg .wordmark-ify {
  padding: 4px 7px 6px;
  border-radius: 6px;
}
.navgroup {
  padding: 6px 0 4px;
}
.navgroup + .navgroup {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--color-line-soft);
}
.navlabel {
  margin: 0;
  padding: 0 10px 4px;
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.navlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--color-ink-2);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s,
    color 0.15s;
}
.navlink:hover {
  background: var(--color-sunk);
  color: var(--color-ink);
}
.navlink .ico {
  flex: none;
}
.navlink .lbl {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navlink[aria-current="page"] {
  background: var(--color-sunk);
  color: var(--color-ink);
  font-weight: 650;
}
.navlink[aria-current="page"] .lbl {
  padding-bottom: 3px;
  background: var(--pencil-line) no-repeat left bottom / 100% 7px;
}
.navlink .count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 9px;
  background: var(--color-wait-bg);
  color: var(--color-wait);
  font-size: var(--fs-xs);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.navlink .tag {
  flex: none;
  margin-left: -2px;
  padding: 0 4px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-ink-3);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 16px;
}
.rail-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-line-soft);
}
.mem {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-ink-2);
  font-size: var(--fs-xs);
  text-decoration: none;
  transition: border-color 0.15s;
}
.mem:hover {
  border-color: var(--color-line-strong);
}
.mem-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
}
.mem-row b {
  color: var(--color-ink);
  font-weight: 600;
}
.meter {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-line-soft);
}
.meter i {
  display: block;
  height: 100%;
  background: var(--color-ink-2);
}
.providers > summary {
  padding: 0 10px;
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.provider-status {
  padding: 6px 10px 0;
  color: var(--color-ink-2);
  font-size: var(--fs-xs);
}
.provider-status p {
  margin: 0 0 3px;
}
.owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0 2px 10px;
}
.owner-text {
  flex: 1 1 auto;
  min-width: 0;
}
.owner-text b {
  display: block;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.owner-text span {
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-size: 12px;
  font-weight: 650;
}
@media (max-width: 760px) {
  .shell {
    display: block;
    height: auto;
  }
  .work {
    overflow: visible;
  }
}
.shell[data-side="jobs"],
.shell[data-side="panel"] {
  grid-template-columns: 232px minmax(0, 1fr) 324px;
}
.shell[data-side="strip"] {
  grid-template-columns: 232px minmax(0, 1fr) 48px;
}
.side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-panel);
  border-left: 1px solid var(--color-line);
}
.side-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.side-strip {
  align-items: center;
  padding-top: 12px;
}
.strip-open {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 36px;
  padding: 8px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-ink-2);
  cursor: pointer;
}
.strip-open:hover {
  background: var(--color-sunk);
  color: var(--color-ink);
}
.strip-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-sunk);
  color: var(--color-ink);
  font-size: var(--fs-xs);
  font-weight: 650;
}
.strip-wait {
  background: var(--color-wait-bg);
  color: var(--color-wait);
}
.side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 12px;
}
.side-head h2 {
  margin: 0;
  font-size: var(--fs-md);
}
.side-sub {
  margin: 2px 0 0;
  color: var(--color-ink-3);
  font-size: var(--fs-sm);
}
.spend {
  display: grid;
  gap: 7px;
  margin: 0 18px 6px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--color-line);
}
.spend-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--color-ink-2);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.spend-row b {
  color: var(--color-ink);
  font-size: var(--fs-md);
  font-weight: 650;
}
.spend .meter {
  height: 4px;
}
.spend .meter i {
  background: var(--color-ink);
}
.spend .hint {
  margin: 0;
}
.costs > summary {
  justify-content: flex-start;
  width: max-content;
  min-height: 24px;
  font-size: var(--fs-sm);
}
.costs-body {
  display: grid;
  gap: 8px;
  padding: 8px 0 2px;
  color: var(--color-ink-2);
  font-size: var(--fs-sm);
}
.costs-body dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.costs-body dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 600;
  text-align: right;
}
.costs-body .hint {
  line-height: 1.4;
}
@media (max-width: 760px) {
  .costs > summary {
    min-height: 44px;
  }
}
.jobs {
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}
.jobs-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 14px 18px;
  color: var(--color-ink-3);
}
.jobs-empty p {
  margin: 0;
}
.job {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line-soft);
}
.job:last-child {
  border-bottom: 0;
}
.jthumb {
  position: relative;
  align-self: start;
  width: 38px;
  padding: 3px;
  border-radius: 2px;
  background: var(--color-film);
}
.jthumb img,
.jthumb-empty {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--color-film-2);
}
.jbody {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.jtop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.jtitle {
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.jtitle:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jsub,
.jmeta,
.jerr,
.jnote {
  margin: 0;
}
.jsub {
  color: var(--color-ink-2);
  font-size: var(--fs-sm);
}
.jmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--color-ink-3);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.jerr {
  color: var(--color-fail);
  font-size: var(--fs-sm);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.jacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.jnote {
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
}
.chip-muted {
  background: var(--color-sunk);
  color: var(--color-ink-3);
}
.mtop {
  display: none;
}
.jobs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: var(--color-panel);
  color: var(--color-ink);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.jobs-btn .pd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-line-strong);
}
.jobs-btn .pd[data-live="true"] {
  background: var(--color-ink);
  animation: pulse 1.4s ease-in-out infinite;
}
.scrim,
.sheet {
  display: none;
}
@media (min-width: 761px) and (max-width: 1199px) {
  .shell,
  .shell[data-side="jobs"],
  .shell[data-side="panel"] {
    grid-template-columns: 200px minmax(0, 1fr) 296px;
  }
  .shell[data-side="off"] {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .shell[data-side="strip"] {
    grid-template-columns: 200px minmax(0, 1fr) 48px;
  }
}
@media (max-width: 760px) {
  .mtop {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    padding-top: max(6px, env(safe-area-inset-top));
    background: var(--color-panel);
    border-bottom: 1px solid var(--color-line);
  }
  .mtop .wordmark {
    padding: 8px;
  }
  .side {
    display: none;
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgb(21 23 26 / 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .scrim[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }
  .sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    max-height: 86dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--color-panel);
    border-radius: 14px 14px 0 0;
    box-shadow: var(--shadow-popover);
    transform: translateY(104%);
    visibility: hidden;
    transition: transform 0.28s var(--ease),
      visibility 0s 0.28s;
  }
  .sheet[data-open="true"] {
    transform: none;
    visibility: visible;
    transition: transform 0.28s var(--ease);
  }
  .sheet-grip {
    flex: none;
    display: block;
    width: 36px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: var(--color-track);
  }
  .side-head {
    padding: 12px 16px 10px;
  }
  .spend {
    margin: 0 16px 4px;
  }
  .jobs {
    padding: 0 16px 18px;
  }
}
.film {
  background: var(--color-film);
  color: var(--color-rebate);
  border-radius: 3px;
  min-width: 0;
}
.film :focus-visible {
  outline-color: var(--color-on-dark);
}
.strip,
.sheetgrid {
  margin: 0;
  list-style: none;
}
.strip {
  display: flex;
  gap: 14px;
  padding: 6px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 14px;
  scrollbar-color: var(--color-film-scroll) transparent;
}
.strip::-webkit-scrollbar-thumb {
  background: var(--color-film-scroll);
  background-clip: padding-box;
}
.sheetgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--fw, 104px), 1fr));
  gap: 4px 14px;
  padding: 6px 14px 8px;
}
.frame {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: var(--fw, 104px);
  padding: 2px 0 4px;
  scroll-snap-align: start;
  min-width: 0;
}
.sheetgrid .frame {
  width: auto;
}
.rb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 20px;
  overflow: hidden;
  color: var(--color-rebate);
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rb > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rb b {
  color: var(--color-rebate-hi);
  font-weight: 600;
}
.rb .st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rb .st::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.st-done {
  color: var(--color-done-film);
}
.st-wait {
  color: var(--color-wait-film);
}
.st-fail {
  color: var(--color-fail-film);
}
.st-local {
  color: var(--color-local-film);
}
.st-run {
  color: var(--color-rebate-hi);
}
.st-run::before {
  animation: pulse 1.4s ease-in-out infinite;
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: inherit;
  text-align: left;
}
button.shot {
  cursor: pointer;
}
.shot:focus-visible {
  outline: 2px solid var(--color-on-dark);
  outline-offset: 3px;
}
.shot-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 1px;
  background: var(--color-film-2);
}
.shot-media > img,
.shot-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.18s;
}
button.shot:hover .shot-media > img,
button.shot:hover .shot-media > video,
a.shot:hover .shot-media > img,
a.shot:hover .shot-media > video {
  filter: brightness(1.12);
}
.shot-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-rebate);
}
.cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 6px;
  background: rgb(14 14 14 / 0.88);
  color: var(--color-rebate-hi);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.15s;
}
.shot:hover .cap,
.shot:focus-visible .cap {
  opacity: 1;
}
.cap span {
  display: block;
  color: var(--color-rebate);
}
.vid {
  position: absolute;
  top: 5px;
  left: 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 5px 0 4px;
  border-radius: 3px;
  background: rgb(14 14 14 / 0.82);
  color: var(--color-on-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}
.frame-notes {
  display: grid;
  gap: 2px;
  padding-top: 2px;
  color: var(--color-rebate);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.frame-notes p {
  margin: 0;
}
.frame-notes a {
  color: var(--color-rebate-hi);
  text-decoration: underline;
  text-decoration-color: var(--color-film-rule);
  text-underline-offset: 2px;
}
.frame-notes a:hover {
  text-decoration-color: var(--color-rebate-hi);
}
.frame-notes audio {
  width: 100%;
  height: 32px;
}
@media (max-width: 760px) {
  .strip {
    gap: 12px;
    padding: 6px 12px;
  }
  .sheetgrid {
    display: flex;
    gap: 12px;
    padding: 6px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .sheetgrid .frame {
    width: var(--fw, 104px);
  }
  .cap {
    display: none;
  }
}
.create {
  display: grid;
  grid-template-columns: minmax(300px, 348px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.create-form {
  display: grid;
  padding: 0;
}
.create-form > .sec {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  min-width: 0;
}
.create-form > .sec + .sec {
  border-top: 1px solid var(--color-line-soft);
}
.field-group {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.label {
  color: var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.field-stack {
  display: grid;
  gap: 6px;
  color: var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.counter {
  margin: -6px 0 0;
  text-align: right;
}
.persona-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 3px 12px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-panel);
  color: var(--color-ink);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s,
    box-shadow 0.15s;
}
.pp:has(img) {
  padding-left: 3px;
}
.pp img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}
.pp:hover {
  border-color: var(--color-line-strong);
}
.pp[aria-pressed="true"] {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}
.refs-set {
  padding: 0;
  border: 0;
}
.refs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
}
.ref {
  position: relative;
  display: block;
  width: 40px;
  cursor: pointer;
}
.refs .ref {
  display: block;
  min-height: 0;
}
.ref[data-primary="true"] {
  width: 48px;
  cursor: default;
}
.ref img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.ref[data-on="true"] img {
  opacity: 1;
}
.ref[data-primary="true"] img {
  border-color: var(--color-ink);
}
.ref:has(input:focus-visible) img {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}
.ref-on {
  position: absolute;
  right: 2px;
  bottom: 2px;
  padding: 1px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-on-dark);
}
.refs-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 6px 0 0;
  color: var(--color-ink-2);
  font-size: var(--fs-xs);
}
.refs-note svg {
  flex: none;
  margin-top: 1px;
}
.suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.model-note {
  display: grid;
  gap: 2px;
  color: var(--color-ink-2);
  font-size: var(--fs-sm);
}
.model-note p {
  margin: 0;
}
.row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  font-weight: 600;
  cursor: pointer;
}
.toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.toggle .track {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-track);
  transition: background 0.18s;
}
.toggle .track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-on-dark);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
  transition: transform 0.18s var(--ease);
}
.toggle input:checked + .track {
  background: var(--color-ink);
}
.toggle input:checked + .track::after {
  transform: translateX(12px);
}
.toggle input:focus-visible + .track {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}
.compare-list {
  display: grid;
}
.adv-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding-top: 10px;
}
.adv-body > button {
  grid-column: 1 / -1;
  justify-self: start;
}
.cost {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0;
  color: var(--color-ink-2);
  font-size: var(--fs-sm);
}
.cost b {
  color: var(--color-ink);
  font-weight: 650;
}
.cost-detail > summary {
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  min-height: 22px;
}
.cost-detail .hint {
  margin: 4px 0 0;
}
.go {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.result {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.result > * {
  min-width: 0;
}
.result-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.bigframe {
  flex: none;
  width: 236px;
  padding: 4px 12px 6px;
}
.bigframe img,
.bigframe-wait {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 1px;
  background: var(--color-film-2);
}
.bigframe-wait {
  animation: pulse 1.8s ease-in-out infinite;
}
.result-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  flex: 1 1 180px;
  min-width: 180px;
  padding-top: 24px;
}
.result-meta h2 {
  margin: 0;
  font-size: var(--fs-lg);
}
.saved {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--color-done);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.saved svg {
  flex: none;
  margin-top: 2px;
}
.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.result-empty {
  min-height: 320px;
  align-content: center;
}
.strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.strip-head h2 {
  margin: 0;
}
.strip-wrap .film {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
@media (min-width: 761px) and (max-width: 1199px) {
  .create {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .create {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .create-form > .sec {
    padding: 14px;
  }
  .pp {
    min-height: 44px;
  }
  .toggle {
    min-height: 44px;
  }
  .row2 > .field-group {
    flex: 1 1 100%;
  }
  .go .btn-primary {
    flex: 1 1 auto;
    min-height: 48px;
  }
  .result-top {
    flex-direction: column;
    gap: 14px;
  }
  .bigframe {
    align-self: center;
    width: 212px;
  }
  .result-meta {
    flex: none;
    width: 100%;
    padding-top: 0;
  }
  .strip-wrap .film {
    display: block;
  }
  .adv-body {
    grid-template-columns: minmax(0, 1fr);
  }
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  margin: -20px calc(-1 * var(--spacing-page)) 18px;
  padding: 12px var(--spacing-page);
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-line);
}
.filter-field {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.filter-count {
  margin: 0 0 8px auto;
  color: var(--color-ink-3);
  font-size: var(--fs-sm);
}
.lib {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.lib > section {
  min-width: 0;
}
.group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.group-head h2 {
  margin: 0;
}
.detail-body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
  min-width: 0;
}
.detail-body h3 {
  margin: 0 0 4px;
}
.detail-prompt {
  margin: 0;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}
.detail-frame {
  justify-self: start;
  width: 100%;
  max-width: 240px;
  padding: 4px 10px 6px;
}
.detail-frame .asset,
.detail-frame video,
.detail-frame img {
  display: block;
  width: 100%;
  border-radius: 1px;
}
.detail-frame audio {
  width: 100%;
  margin: 8px 0;
}
.film .safe-area > label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  color: var(--color-rebate-hi);
  font-size: 11px;
  font-weight: 500;
}
.film .safe-area > p {
  margin: 0 0 6px;
  color: var(--color-rebate);
  font-size: 11px;
}
.film .safe-area [role="status"] p,
.film .safe-area [role="status"] {
  color: var(--color-rebate);
  font-size: 11px;
}
.detail-acts {
  display: grid;
  gap: 8px;
}
.detail-acts > * {
  justify-content: flex-start;
}
.notes:empty {
  display: none;
}
.notes p {
  margin: 0 0 4px;
  font-size: var(--fs-sm);
}
.sources {
  display: grid;
  gap: 10px;
}
.source {
  display: grid;
  gap: 6px;
  max-width: 220px;
}
.source p {
  margin: 0;
}
.danger-zone {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}
.confirm-del {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-fail-line);
  border-radius: 6px;
  background: var(--color-fail-bg);
  color: var(--color-fail);
  font-size: var(--fs-sm);
}
.confirm-del p {
  margin: 0;
}
@media (max-width: 760px) {
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  .filters .seg,
  .filter-clear,
  .filter-count {
    grid-column: 1 / -1;
  }
  .filter-field {
    min-width: 0;
  }
  .filter-count {
    margin: 0;
  }
  .lib {
    gap: 18px;
  }
  .detail-body {
    padding: 0 16px 22px;
  }
  .detail-frame {
    max-width: 200px;
    justify-self: center;
  }
}
.approval-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 10px;
}
.approval-row h2 {
  margin: 6px 0 2px;
}
.approval-row p {
  margin: 0;
}
.pencil {
  position: absolute;
  left: -8px;
  top: -10px;
  z-index: 2;
  width: calc(100% + 16px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}
.pencil path {
  fill: none;
  stroke: var(--color-orange);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100 0;
}
.pencil.draw path {
  stroke-dasharray: 100;
  animation: pencil-draw 0.26s var(--ease) both;
}
@keyframes pencil-draw {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.pencil-round {
  left: -7px;
  top: -6px;
  width: calc(100% + 14px);
  height: calc(100% + 12px);
}
.pencil-round path {
  stroke-width: 6;
}
.pencil-cross {
  left: -3px;
  top: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
}
.pencil-cross path {
  stroke-width: 4.2;
}
@media (prefers-reduced-motion: reduce) {
  .pencil.draw path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
.tabbar {
  display: none;
}
@media (max-width: 760px) {
  .rail {
    display: none;
  }
  .app-main {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--color-panel);
    border-top: 1px solid var(--color-line);
  }
  .tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--color-ink-3);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }
  .tab .tl {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tab[aria-current="page"] {
    color: var(--color-ink);
  }
  .tab[aria-current="page"] .tl {
    padding-bottom: 3px;
    background: var(--pencil-line) no-repeat left bottom / 100% 6px;
  }
  .tab-count {
    position: absolute;
    top: 7px;
    left: calc(50% + 6px);
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--color-wait-bg);
    color: var(--color-wait);
    font-size: 11px;
    font-weight: 700;
  }
  .more-body {
    padding: 0 10px 16px;
  }
  .more-body .navlink {
    min-height: 44px;
  }
  .more-body .rail-foot {
    margin-top: 10px;
  }
  .more-body .owner .icon-btn {
    width: 44px;
    height: 44px;
  }
  .two-column,
  .page-header {
    display: block;
  }
  .page-header > * + * {
    margin-top: 10px;
  }
  .two-column > * + * {
    margin-top: 16px;
  }
  .ratio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .btn-danger,
  .btn-sm {
    min-height: 44px;
    padding: 0 14px;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .field,
  .input,
  textarea,
  select,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input:not([type]) {
    min-height: 44px;
    font-size: 16px;
  }
  .seg {
    display: flex;
    width: 100%;
  }
  .seg button {
    flex: 1 1 0;
    min-height: 42px;
    padding: 0 6px;
  }
  .panel
    :where(
      label:has(> input[type="checkbox"]),
      label:has(> input[type="radio"])
    ),
  .check {
    min-height: 44px;
  }
  .comfy-frame {
    min-height: calc(100dvh - 120px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}
.tag-nsfw {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0 5px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.wf-pick {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wf-pick legend {
  margin-bottom: 6px;
  padding: 0;
}
.wf-opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2px 9px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--color-line);
  border-top-width: 0;
  background: var(--color-panel);
  cursor: pointer;
  transition: background 0.15s;
}
.wf-opt:first-of-type {
  border-top-width: 1px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.wf-opt:last-of-type {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.wf-opt:only-of-type {
  border-radius: var(--radius-md);
}
.wf-opt:hover {
  background: var(--color-sunk);
}
.wf-opt[data-on="true"] {
  background: var(--color-sunk);
  box-shadow: inset 2px 0 0 var(--color-ink);
}
.wf-opt input {
  grid-row: span 2;
  margin: 0;
  accent-color: var(--color-ink);
}
.wf-name {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.wf-meta {
  grid-column: 2 / -1;
  color: var(--color-ink-3);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}
.tpl-list {
  display: grid;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.tpl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-line-soft);
}
.tpl-row:last-child {
  border-bottom: 0;
}
.tpl-name {
  display: grid;
  flex: 1 1 220px;
  min-width: 0;
}
@media (max-width: 760px) {
  .wf-opt {
    min-height: 48px;
  }
  .tpl-row .toggle {
    min-height: 44px;
  }
}
.shot-wrap,
.nsfw {
  position: relative;
}
.nsfw-media {
  overflow: hidden;
  border-radius: 1px;
}
.nsfw[data-hidden="true"] .shot-media > img,
.nsfw[data-hidden="true"] .shot-media > video,
.nsfw[data-hidden="true"] button.shot:hover .shot-media > img,
.nsfw[data-hidden="true"] button.shot:hover .shot-media > video,
.nsfw[data-hidden="true"] a.shot:hover .shot-media > img,
.nsfw[data-hidden="true"] a.shot:hover .shot-media > video,
.nsfw[data-hidden="true"] .nsfw-media img,
.nsfw[data-hidden="true"] .nsfw-media video {
  filter: blur(24px) brightness(0.72);
  transition: filter 0.18s;
}
.nsfw-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
}
.shot-wrap .nsfw-veil {
  pointer-events: none;
}
.shot-wrap .nsfw-veil > * {
  pointer-events: auto;
}
.nsfw-tag {
  padding: 0 6px;
  border-radius: 3px;
  background: rgb(14 14 14 / 0.82);
  color: var(--color-on-dark);
  font-size: 11px;
  font-weight: 650;
  line-height: 18px;
  letter-spacing: 0.04em;
}
.nsfw-show {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: var(--radius-md);
  background: rgb(14 14 14 / 0.55);
  color: var(--color-on-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.nsfw-show:hover {
  background: rgb(14 14 14 / 0.82);
}
.nsfw-show:focus-visible {
  outline: 2px solid var(--color-on-dark);
  outline-offset: 2px;
}
.nsfw[data-compact] .nsfw-veil {
  padding: 2px;
}
.nsfw[data-compact] .nsfw-tag {
  padding: 0 4px;
  font-size: 10px;
  line-height: 15px;
}
.jthumb .nsfw-tag {
  display: none;
}
.nsfw-poster {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--color-film-2);
}
.nsfw-toggle {
  font-size: var(--fs-sm);
}
.filter-field > .seg {
  justify-self: start;
  font-size: var(--fs-base);
}
.nsfw-mark {
  display: grid;
  gap: 6px;
}
.nsfw-mark-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nsfw-mark-row .btn-secondary {
  flex: 1;
}
@media (max-width: 760px) {
  .nsfw-show {
    min-height: 44px;
    padding: 0 14px;
  }
  .nsfw-toggle {
    min-height: 44px;
  }
}
.dress-persona {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dress-persona img {
  flex: none;
  width: 56px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid var(--color-ink);
  border-radius: 3px;
}
.dress-persona .hint {
  margin: 0;
}
.dress-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dress-slot {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.dress-slot-name {
  color: var(--color-ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.dress-slot-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px dashed var(--color-line-strong);
  border-radius: 3px;
  background: var(--color-panel);
  color: var(--color-ink-3);
}
.dress-slot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dress-slot-clear {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--color-panel);
}
.dress-slot-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dress-slot-acts .btn-secondary {
  display: inline-flex;
  flex-direction: row;
  white-space: nowrap;
}
.dress-slot-acts label[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.dress-pick {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.dress-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding: 2px;
}
.dress-pick-grid button {
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: var(--color-panel);
  cursor: pointer;
}
.dress-pick-grid button[aria-pressed="true"] {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}
.dress-pick-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.dress-lightbox {
  margin: auto;
  max-width: min(92vw, 880px);
  max-height: 92vh;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  background: var(--color-film);
  color: var(--color-rebate-hi);
}
.dress-lightbox::backdrop {
  background: rgb(0 0 0 / 0.7);
}
.dress-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 90px);
  margin: 0 auto;
  object-fit: contain;
}
.dress-lightbox .acts {
  align-items: center;
  margin-top: 10px;
}
.dress-lightbox .btn-ghost {
  color: var(--color-rebate-hi);
}
.strip-wrap .dress-sheet {
  display: block;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@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-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;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@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-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --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-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;
    }
  }
}

