/* [project]/apps/web/components/story/story-tokens.css [app-client] (css) */
:root:has(.story-root) {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  background: #0f0f10;
}

.story-root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  scrollbar-color: var(--st-surface-2) transparent;
  word-break: keep-all;
  overflow-wrap: anywhere;
  --st-bg: #0f0f10;
  --st-surface: #1c1c1e;
  --st-surface-2: #2a2a2d;
  --st-line: #2e2e31;
  --st-primary: #4d9fff;
  --st-primary-ink: #0f0f10;
  --st-primary-dim: #4d9fff26;
  --st-primary-mine: #314d6f;
  --st-primary-text: #a88bff;
  --st-text-1: #fff;
  --st-text-2: #9a9a9f;
  --st-text-3: #8e8e93;
  --st-icon-off: #8e8e93;
  --st-success: #32d583;
  --st-warning: #fdb022;
  --st-danger: #f04438;
  --st-fs-display: 28px;
  --st-fs-title: 22px;
  --st-fs-title-s: 18px;
  --st-fs-section: 16px;
  --st-fs-body: 14px;
  --st-fs-card: 14px;
  --st-fs-sub: 13px;
  --st-fs-caption: 12px;
  --st-gutter: 16px;
  --st-gap-card: 12px;
  --st-gap-group: 24px;
  --st-gap-area: 32px;
  --st-r-card: 16px;
  --st-r-input: 12px;
  --st-r-pill: 999px;
  --st-h-bar: 52px;
  --st-h-tab: 56px;
  --st-h-btn: 48px;
  --st-h-btn-2: 40px;
  --st-h-btn-s: 32px;
  --st-h-icon: 32px;
  --st-h-chip: 28px;
  --st-h-inputbar: 48px;
  background: var(--st-bg);
  color: var(--st-text-1);
  letter-spacing: -.025em;
  line-height: 1.45;
  font-family: var(--font-sans);
}

/* [project]/apps/web/components/story/story-ui.css [app-client] (css) */
@layer theme, base;

@layer components {
  .st-title {
    font-size: var(--st-fs-title);
    font-weight: 700;
    line-height: 1.3;
  }

  .st-title-s {
    font-size: var(--st-fs-title-s);
    font-weight: 700;
    line-height: 1.45;
  }

  .st-section {
    font-size: var(--st-fs-section);
    font-weight: 700;
    line-height: 1.45;
  }

  .st-body {
    font-size: var(--st-fs-body);
    font-weight: 400;
    line-height: 1.45;
  }

  .st-card {
    font-size: var(--st-fs-card);
    font-weight: 600;
    line-height: 1.45;
  }

  .st-sub {
    font-size: var(--st-fs-sub);
    font-weight: 400;
    line-height: 1.45;
  }

  .st-caption {
    font-size: var(--st-fs-caption);
    font-weight: 500;
    line-height: 1.45;
  }

  .st-display {
    font-size: var(--st-fs-display);
    font-weight: 700;
    line-height: 1.3;
  }

  .st-t2 {
    color: var(--st-text-2);
  }

  .st-t3 {
    color: var(--st-text-3);
  }

  .st-danger {
    color: var(--st-danger);
  }

  .st-btn {
    width: 100%;
    height: var(--st-h-btn);
    border-radius: var(--st-r-pill);
    background: var(--st-primary);
    color: var(--st-primary-ink);
    font-size: var(--st-fs-section);
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: opacity .12s;
    display: flex;
  }

  .st-btn:hover {
    opacity: .92;
  }

  .st-btn:active {
    opacity: .84;
  }

  .st-btn:disabled, .st-btn[aria-disabled="true"] {
    background: var(--st-surface-2);
    color: var(--st-text-2);
    cursor: not-allowed;
    opacity: 1;
  }

  .st-btn:focus-visible, .st-btn-2:focus-visible, .st-row:focus-visible, .st-link:focus-visible, .st-choice:focus-visible, .st-input:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-btn-2 {
    width: 100%;
    height: var(--st-h-btn-2);
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    font-size: var(--st-fs-body);
    justify-content: center;
    align-items: center;
    font-weight: 600;
    display: flex;
  }

  .st-btn-2:hover {
    background: var(--st-line);
  }

  .st-btn-2:disabled {
    color: var(--st-text-2);
    cursor: not-allowed;
  }

  .st-link {
    color: var(--st-text-2);
    font-size: var(--st-fs-sub);
    text-underline-offset: 2px;
    text-decoration: underline;
  }

  .st-link:hover {
    color: var(--st-text-1);
  }

  .st-row {
    min-height: var(--st-h-btn);
    padding: 0 var(--st-gutter);
    font-size: var(--st-fs-body);
    color: var(--st-text-1);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    display: flex;
  }

  .st-row + .st-row {
    border-top: 1px solid var(--st-line);
  }

  a.st-row:hover, button.st-row:hover {
    background: var(--st-surface-2);
  }

  a.st-row > :first-child {
    flex: 1;
    min-width: 0;
  }

  a.st-row:after {
    content: "";
    background: var(--st-text-3);
    flex: none;
    width: 16px;
    height: 16px;
    margin-inline-start: -4px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .st-row[aria-disabled="true"] {
    color: var(--st-text-2);
  }

  a.st-row.st-row-pick:after {
    content: none;
  }

  li + li > .st-row-pick {
    border-top: 1px solid var(--st-line);
  }

  .st-surface {
    background: var(--st-surface);
    border-radius: var(--st-r-card);
    overflow: hidden;
  }

  .st-check {
    min-height: var(--st-h-btn-2);
    align-items: center;
    gap: 12px;
    display: flex;
  }

  .st-check input {
    appearance: none;
    border-radius: var(--st-r-pill);
    border: 2px solid var(--st-icon-off);
    cursor: pointer;
    flex: none;
    place-content: center;
    width: 24px;
    height: 24px;
    display: grid;
  }

  .st-check input:after {
    content: "";
    border-left: 2px solid var(--st-primary-ink);
    border-bottom: 2px solid var(--st-primary-ink);
    opacity: 0;
    width: 10px;
    height: 6px;
    transform: translateY(-1px) rotate(-45deg);
  }

  .st-check input:checked {
    background: var(--st-primary);
    border-color: var(--st-primary);
  }

  .st-check input:checked:after {
    opacity: 1;
  }

  .st-check input:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-input {
    width: 100%;
    height: var(--st-h-btn);
    padding: 0 var(--st-gutter);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    border-radius: var(--st-r-input);
    color: var(--st-text-1);
    font-size: 16px;
  }

  .st-input::placeholder {
    color: var(--st-text-3);
  }

  @media (hover: hover) and (pointer: fine) {
    .st-input, .st-textarea {
      font-size: var(--st-fs-body);
    }

    .st-textarea {
      max-height: calc(var(--st-fs-body) * 1.45 * 5 + 8px);
    }
  }

  .st-input[aria-invalid="true"] {
    border-color: var(--st-danger);
  }

  .st-choice {
    height: var(--st-h-btn-2);
    border-radius: var(--st-r-input);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    color: var(--st-text-2);
    font-size: var(--st-fs-body);
    flex: 1;
    font-weight: 500;
  }

  .st-choice[aria-pressed="true"] {
    background: var(--st-primary-dim);
    border-color: var(--st-primary);
    color: var(--st-text-1);
    font-weight: 600;
  }

  .st-sheet {
    z-index: 50;
    background: var(--st-surface);
    border-radius: var(--st-r-card) var(--st-r-card) 0 0;
    max-width: 430px;
    padding: 12px var(--st-gutter) calc(24px + env(safe-area-inset-bottom));
    max-height: calc(85vh - env(safe-area-inset-bottom));
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
  }

  .st-dialog {
    z-index: 51;
    border-radius: var(--st-r-card);
    background: var(--st-surface);
    width: min(340px, 100% - 48px);
    color: var(--st-text-1);
    padding: 24px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 48px #00000080;
  }

  .st-sheet:focus, .st-sheet:focus-visible {
    outline: none;
  }

  .st-sheet-handle {
    border-radius: var(--st-r-pill);
    background: var(--st-line);
    width: 40px;
    height: 4px;
    margin: 0 auto 20px;
  }

  .st-overlay {
    z-index: 50;
    background: #0009;
    position: fixed;
    inset: 0;
  }

  .st-tabbar {
    z-index: 40;
    background: var(--st-bg);
    border-top: 1px solid var(--st-line);
    max-width: 430px;
    padding-bottom: env(safe-area-inset-bottom);
    margin: 0 auto;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .st-tab {
    height: var(--st-h-tab);
    color: var(--st-icon-off);
    font-size: var(--st-fs-caption);
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    display: flex;
  }

  .st-tab[aria-current="page"] {
    color: var(--st-primary);
    font-weight: 600;
  }

  .st-tab:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: -2px;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    .st-tabbar, .st-sheet {
      max-width: 720px;
    }
  }

  .st-room {
    flex-direction: column;
    height: 100dvh;
    display: flex;
  }

  .st-room-bar {
    min-height: var(--st-h-bar);
    flex: none;
    align-items: center;
    gap: 8px;
    padding-left: 4px;
    padding-right: 8px;
    display: flex;
  }

  .st-room-scroll {
    min-height: 0;
    padding: 8px var(--st-gutter) 16px;
    flex: 1;
    overflow-y: auto;
  }

  .st-room-input {
    background: var(--st-bg);
    padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
    flex-direction: column;
    flex: none;
    gap: 8px;
    display: flex;
  }

  .st-inputbar {
    min-height: var(--st-h-inputbar);
    background: var(--st-surface);
    border-radius: 24px;
    align-items: flex-end;
    gap: 6px;
    padding: 8px;
    display: flex;
  }

  .st-inputbar:has(.st-textarea:focus-visible) {
    outline: 2px solid var(--st-primary);
    outline-offset: 0;
  }

  .st-room-input .st-scroll-x {
    gap: 6px;
    margin: -8px -12px;
    padding: 8px 12px;
    -webkit-mask-image: linear-gradient(to right, #000 85%, #0000);
    mask-image: linear-gradient(to right, #000 85%, #0000);
  }

  .st-round {
    width: var(--st-h-icon);
    height: var(--st-h-icon);
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    flex: none;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    position: relative;
  }

  .st-round:before {
    content: "";
    position: absolute;
    inset: -6px;
  }

  .st-round-ghost {
    color: var(--st-text-2);
    background: none;
  }

  .st-round:hover {
    color: var(--st-text-1);
  }

  .st-round:disabled {
    color: var(--st-icon-off);
    cursor: not-allowed;
  }

  .st-round:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-icon-btn {
    border-radius: var(--st-r-pill);
    width: 44px;
    height: 44px;
    color: var(--st-text-1);
    flex: none;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    position: relative;
  }

  .st-icon-btn:hover {
    background: var(--st-surface);
  }

  .st-icon-btn:disabled {
    color: var(--st-icon-off);
    cursor: not-allowed;
    background: none;
  }

  .st-icon-btn:focus-visible, .st-chip:focus-visible, .st-tool:focus-visible, .st-option:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-avatar {
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    width: 32px;
    height: 32px;
    color: var(--st-text-1);
    font-size: var(--st-fs-sub);
    flex: none;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    display: inline-flex;
    overflow: hidden;
  }

  .st-avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .st-badge {
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    height: 22px;
    color: var(--st-text-1);
    font-size: var(--st-fs-caption);
    align-items: center;
    padding: 0 8px;
    font-weight: 500;
    display: inline-flex;
  }

  .st-badge-primary {
    background: linear-gradient(var(--st-primary-dim), var(--st-primary-dim)), var(--st-bg);
    color: var(--st-primary);
    font-weight: 600;
  }

  .st-chip {
    height: var(--st-h-chip);
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    font-size: var(--st-fs-caption);
    white-space: nowrap;
    flex: none;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    font-weight: 600;
    display: inline-flex;
    position: relative;
  }

  .st-chip:before {
    content: "";
    position: absolute;
    inset: -8px 0;
  }

  .st-chip:hover {
    background: var(--st-line);
  }

  .st-chip:disabled {
    color: var(--st-text-2);
    cursor: not-allowed;
    background: var(--st-surface-2);
  }

  .st-suggest-panel {
    flex-direction: column;
    gap: 8px;
    display: flex;
  }

  .st-suggest-list {
    overscroll-behavior: contain;
    flex-direction: column;
    gap: 6px;
    max-height: min(36dvh, 280px);
    display: flex;
    overflow-y: auto;
  }

  .st-suggest-card {
    border-radius: var(--st-r-input);
    background: var(--st-surface);
    width: 100%;
    color: var(--st-text-1);
    font-size: var(--st-fs-body);
    text-align: start;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding: 10px 12px;
    line-height: 1.45;
    display: block;
  }

  .st-suggest-card em {
    color: var(--st-text-2);
    font-style: italic;
  }

  .st-suggest-card:hover {
    background: var(--st-surface-2);
  }

  .st-suggest-card:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-dot-new {
    border-radius: var(--st-r-pill);
    background: var(--st-primary);
    width: 6px;
    height: 6px;
    position: absolute;
    top: 2px;
    right: 2px;
  }

  .st-chip-accent {
    background: linear-gradient(var(--st-primary-dim), var(--st-primary-dim)), var(--st-bg);
    color: var(--st-primary);
  }

  .st-chip-accent:hover {
    background: linear-gradient(var(--st-primary-dim), var(--st-primary-dim)), var(--st-surface);
  }

  .st-msgs {
    flex-direction: column;
    gap: 12px;
    display: flex;
  }

  .st-narration {
    color: var(--st-text-2);
    font-style: italic;
    font-size: var(--st-fs-body);
    white-space: pre-wrap;
    text-wrap: pretty;
    margin: 0;
    line-height: 1.6;
  }

  .st-say {
    align-items: flex-start;
    gap: 8px;
    max-width: 92%;
    display: flex;
  }

  .st-say-name {
    font-size: var(--st-fs-caption);
    color: var(--st-text-2);
    margin-bottom: 4px;
    font-weight: 600;
  }

  .st-bubble {
    border-radius: 4px var(--st-r-card) var(--st-r-card) var(--st-r-card);
    background: var(--st-surface);
    color: var(--st-text-1);
    font-size: var(--st-fs-body);
    white-space: pre-wrap;
    text-wrap: pretty;
    padding: 8px 12px;
    line-height: 1.6;
  }

  .st-bubble-me {
    border-radius: var(--st-r-card) var(--st-r-card) 4px var(--st-r-card);
    background: var(--st-primary-mine);
    max-width: 78%;
    color: var(--st-text-1);
    align-self: flex-end;
  }

  .st-speech {
    font-weight: 600;
  }

  .st-action {
    color: var(--st-text-2);
    font-style: italic;
  }

  .st-bubble-me .st-action {
    color: #ffffffbf;
  }

  .st-reply-meta {
    color: var(--st-text-2);
    font-size: var(--st-fs-caption);
    align-items: center;
    gap: 8px;
    margin-top: -8px;
    padding-left: 36px;
    font-weight: 500;
    display: flex;
  }

  .st-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    max-width: 92%;
    margin-top: -4px;
    padding-left: 36px;
    display: flex;
  }

  .st-tool {
    height: var(--st-h-btn-s);
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    font-size: var(--st-fs-caption);
    align-items: center;
    gap: 4px;
    padding: 0 10px 0 8px;
    font-weight: 600;
    display: inline-flex;
    position: relative;
  }

  .st-tool:before {
    content: "";
    position: absolute;
    inset: -6px 0;
  }

  .st-tool:hover {
    background: var(--st-line);
  }

  .st-tool-icon {
    width: var(--st-h-btn-s);
    color: var(--st-text-2);
    justify-content: center;
    padding: 0;
  }

  .st-tool-icon:before {
    inset: -6px;
  }

  .st-tool:disabled {
    color: var(--st-icon-off);
    cursor: not-allowed;
  }

  .st-dots {
    gap: 4px;
    padding: 4px 0;
    display: inline-flex;
  }

  .st-dots span {
    border-radius: var(--st-r-pill);
    background: var(--st-text-2);
    width: 8px;
    height: 8px;
    animation: 1.2s ease-in-out infinite st-dot;
  }

  .st-dots span:nth-child(2) {
    animation-delay: .15s;
  }

  .st-dots span:nth-child(3) {
    animation-delay: .3s;
  }

  @keyframes st-dot {
    0%, 80%, 100% {
      opacity: .3;
    }

    40% {
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .st-dots span {
      opacity: .8;
      animation: none;
    }
  }

  .st-card-note {
    background: var(--st-surface);
    border-radius: var(--st-r-card);
    padding: 16px;
  }

  .st-textarea {
    resize: none;
    min-width: 0;
    max-height: 124px;
    min-height: var(--st-h-icon);
    color: var(--st-text-1);
    field-sizing: content;
    scrollbar-width: none;
    background: none;
    border: 0;
    outline: none;
    flex: 1;
    align-self: center;
    padding: 4px;
    font-size: 16px;
    line-height: 1.45;
    overflow-y: auto;
  }

  .st-textarea::-webkit-scrollbar {
    display: none;
  }

  .st-textarea::placeholder {
    color: var(--st-text-3);
  }

  .st-send {
    background: var(--st-primary);
    color: var(--st-primary-ink);
  }

  .st-send:hover {
    background: var(--st-primary);
    opacity: .92;
    color: var(--st-primary-ink);
  }

  .st-send:disabled {
    background: var(--st-surface-2);
    color: var(--st-text-2);
  }

  .st-option {
    text-align: left;
    border-radius: var(--st-r-input);
    background: var(--st-bg);
    border: 1px solid var(--st-line);
    width: 100%;
    color: var(--st-text-1);
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    display: flex;
  }

  .st-option:hover {
    border-color: var(--st-text-2);
  }

  .st-option[aria-pressed="true"] {
    border-color: var(--st-primary);
    background: var(--st-primary-dim);
  }

  .st-option:disabled {
    color: var(--st-text-2);
    cursor: not-allowed;
  }

  .st-act {
    border-radius: var(--st-r-input);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    color: var(--st-text-1);
    align-items: stretch;
    display: flex;
  }

  .st-act:hover:not([aria-disabled]) {
    border-color: var(--st-primary);
  }

  .st-act-pick {
    text-align: left;
    border-radius: var(--st-r-input);
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 4px 14px 16px;
    display: flex;
  }

  .st-act-no {
    border-radius: var(--st-r-pill);
    background: var(--st-primary-dim);
    width: 24px;
    height: 24px;
    color: var(--st-primary);
    font-size: var(--st-fs-caption);
    flex: none;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    display: inline-flex;
  }

  .st-act-edit {
    width: 44px;
    color: var(--st-text-2);
    border-radius: var(--st-r-input);
    flex: none;
    justify-content: center;
    align-items: center;
    display: inline-flex;
  }

  .st-act-edit:hover {
    color: var(--st-text-1);
  }

  .st-act-pick:disabled, .st-act-edit:disabled {
    color: var(--st-text-2);
    cursor: not-allowed;
  }

  .st-act-pick:focus-visible, .st-act-edit:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: -2px;
  }

  .st-menu {
    z-index: 30;
    background: var(--st-surface-2);
    border: 1px solid var(--st-line);
    border-radius: var(--st-r-input);
    min-width: 140px;
    padding: 4px;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    box-shadow: 0 8px 24px #0006;
  }

  .st-menu-item {
    border-radius: calc(var(--st-r-input) - 4px);
    min-height: 44px;
    color: var(--st-text-1);
    font-size: var(--st-fs-sub);
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    display: flex;
  }

  .st-menu-item:hover {
    background: var(--st-surface);
  }

  .st-menu-item[aria-current="true"] {
    color: var(--st-primary);
    font-weight: 600;
  }

  .st-menu-item:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: -2px;
  }

  .st-toast {
    z-index: 60;
    width: max-content;
    max-width: calc(100% - 32px);
    left: 0;
    right: 0;
    bottom: calc(160px + env(safe-area-inset-bottom));
    border-radius: var(--st-r-input);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    font-size: var(--st-fs-sub);
    text-align: center;
    margin: 0 auto;
    padding: 12px 16px;
    position: fixed;
  }

  .st-area {
    height: auto;
    min-height: calc(var(--st-h-btn) * 2);
    padding: 12px var(--st-gutter);
    resize: vertical;
    line-height: 1.45;
  }

  .st-input:disabled {
    color: var(--st-text-2);
    cursor: not-allowed;
  }

  .st-switch {
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    border: 1px solid var(--st-line);
    flex: none;
    width: 44px;
    height: 28px;
    position: relative;
  }

  .st-switch span {
    border-radius: var(--st-r-pill);
    background: var(--st-text-2);
    width: 20px;
    height: 20px;
    transition: transform .12s;
    position: absolute;
    top: 3px;
    left: 3px;
  }

  .st-switch[aria-checked="true"] {
    background: var(--st-primary);
    border-color: var(--st-primary);
  }

  .st-switch[aria-checked="true"] span {
    background: var(--st-primary-ink);
    transform: translateX(16px);
  }

  .st-switch:disabled {
    cursor: not-allowed;
    opacity: .6;
  }

  .st-switch:focus-visible, .st-pick:focus-visible, .st-tabchip:focus-visible, .st-add-tile:focus-visible, .st-fab:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .st-switch span {
      transition: none;
    }
  }

  .st-pick {
    height: var(--st-h-chip);
    border-radius: var(--st-r-pill);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    color: var(--st-text-2);
    font-size: var(--st-fs-sub);
    white-space: nowrap;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    font-weight: 500;
    display: inline-flex;
    position: relative;
  }

  .st-pick:hover {
    color: var(--st-text-1);
  }

  .st-pick:before {
    content: "";
    position: absolute;
    inset: -8px 0;
  }

  .st-pick[aria-pressed="true"] {
    background: var(--st-primary);
    border-color: var(--st-primary);
    color: var(--st-primary-ink);
    font-weight: 600;
  }

  .st-pick:disabled {
    cursor: not-allowed;
    opacity: .6;
  }

  .st-add-tile {
    border-radius: var(--st-r-input);
    border: 1px dashed var(--st-text-2);
    color: var(--st-text-2);
    font-size: var(--st-fs-sub);
    justify-content: center;
    align-items: center;
    font-weight: 500;
    display: flex;
  }

  .st-add-tile:hover {
    color: var(--st-text-1);
    border-color: var(--st-text-1);
  }

  .st-add-tile:disabled {
    cursor: not-allowed;
    opacity: .6;
  }

  .st-tabs-scroll {
    padding: 8px var(--st-gutter);
    border-bottom: 1px solid var(--st-line);
    scrollbar-width: none;
    gap: 8px;
    display: flex;
    overflow-x: auto;
  }

  .st-scroll-x {
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--st-gutter));
    padding: 0 var(--st-gutter);
    gap: 8px;
    display: flex;
    overflow-x: auto;
  }

  .st-scroll-x::-webkit-scrollbar {
    display: none;
  }

  .st-tabs-scroll::-webkit-scrollbar {
    display: none;
  }

  .st-add-btn {
    width: var(--st-h-btn);
    height: var(--st-h-btn);
    border-radius: var(--st-r-input);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    color: var(--st-text-1);
    flex: none;
    justify-content: center;
    align-items: center;
    display: inline-flex;
  }

  .st-add-btn:hover:not(:disabled) {
    border-color: var(--st-text-2);
  }

  .st-add-btn:disabled {
    color: var(--st-text-3);
    cursor: not-allowed;
  }

  .st-add-btn:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-tabs-scroll[data-more="right"] {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), #0000);
    mask-image: linear-gradient(to right, #000 calc(100% - 48px), #0000);
  }

  .st-tabs-scroll[data-more="left"] {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 48px), #0000);
    mask-image: linear-gradient(to left, #000 calc(100% - 48px), #0000);
  }

  .st-tabs-scroll[data-more="both"] {
    -webkit-mask-image: linear-gradient(to right, #0000, #000 48px calc(100% - 48px), #0000);
    mask-image: linear-gradient(to right, #0000, #000 48px calc(100% - 48px), #0000);
  }

  .st-scroll-x > * {
    flex: none;
  }

  .st-tabchip {
    height: var(--st-h-chip);
    border-radius: var(--st-r-pill);
    color: var(--st-text-2);
    font-size: var(--st-fs-sub);
    flex: none;
    padding: 0 12px;
    font-weight: 500;
    position: relative;
  }

  .st-tabchip:hover {
    color: var(--st-text-1);
  }

  .st-tabchip:before {
    content: "";
    position: absolute;
    inset: -8px 0;
  }

  .st-tabchip[aria-selected="true"], .st-tabchip[aria-current="page"] {
    background: var(--st-surface-2);
    color: var(--st-text-1);
    font-weight: 600;
  }

  .st-dot {
    border-radius: var(--st-r-pill);
    background: var(--st-danger);
    width: 6px;
    height: 6px;
    position: absolute;
    top: 6px;
    right: 4px;
  }

  .st-bottom-bar {
    z-index: 40;
    background: var(--st-bg);
    border-top: 1px solid var(--st-line);
    max-width: 430px;
    padding: 8px var(--st-gutter) calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    margin: 0 auto;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .st-fab {
    z-index: 41;
    right: max(var(--st-gutter), calc(50% - 215px + var(--st-gutter)));
    bottom: calc(56px + 16px + env(safe-area-inset-bottom));
    border-radius: var(--st-r-pill);
    background: var(--st-primary);
    width: 56px;
    height: 56px;
    color: var(--st-primary-ink);
    justify-content: center;
    align-items: center;
    display: flex;
    position: fixed;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    .st-bottom-bar {
      max-width: 720px;
    }

    .st-fab {
      right: max(var(--st-gutter), calc(50% - 360px + var(--st-gutter)));
    }
  }

  .st-status {
    border-radius: var(--st-r-pill);
    height: 22px;
    font-size: var(--st-fs-caption);
    background: var(--st-surface-2);
    color: var(--st-text-1);
    align-items: center;
    padding: 0 8px;
    font-weight: 500;
    display: inline-flex;
  }

  .st-status[data-s="public"] {
    background: var(--st-primary-dim);
    color: var(--st-primary);
  }

  .st-status[data-s="rejected"] {
    color: var(--st-danger);
    background: var(--st-bg);
    border: 1px solid var(--st-danger);
  }

  .st-status[data-s="review"] {
    color: var(--st-warning);
    background: var(--st-bg);
    border: 1px solid var(--st-warning);
  }

  .st-bar {
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    min-width: 0;
    height: 100%;
    display: flex;
  }

  .st-bar span {
    background: var(--st-primary);
    border-radius: 4px 4px 0 0;
    width: 100%;
    max-width: 24px;
    min-height: 2px;
  }

  .st-bar[aria-pressed="true"] span {
    background: var(--st-text-1);
  }

  .st-plug-card {
    background: var(--st-surface);
    border-radius: var(--st-r-card);
    max-width: 88%;
    padding: 12px 16px;
  }

  .st-plug-head {
    width: 100%;
    min-height: 32px;
    color: var(--st-text-1);
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    display: flex;
  }

  .st-plug-head:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-plug-grid {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 4px 12px;
    display: grid;
  }

  .st-ok {
    color: var(--st-success);
  }

  .st-scene {
    border-radius: var(--st-r-card);
    background: var(--st-surface);
    width: 100%;
    display: block;
    overflow: hidden;
  }

  .st-scene img {
    width: 100%;
    height: auto;
    display: block;
  }

  .st-scene:focus-visible {
    outline: 2px solid var(--st-primary);
    outline-offset: 2px;
  }

  .st-scene-full {
    z-index: 50;
    max-width: 720px;
    padding: calc(16px + env(safe-area-inset-top)) var(--st-gutter) calc(24px + env(safe-area-inset-bottom));
    flex-direction: column;
    justify-content: center;
    margin: auto;
    display: flex;
    position: fixed;
    inset: 0;
  }

  .st-scene-full img {
    width: 100%;
    max-height: calc(80vh - env(safe-area-inset-bottom));
    object-fit: contain;
    border-radius: var(--st-r-card);
  }

  .st-meter {
    border-radius: var(--st-r-pill);
    background: var(--st-surface-2);
    flex: none;
    width: 72px;
    height: 6px;
    overflow: hidden;
  }

  .st-meter span {
    background: var(--st-primary);
    height: 100%;
    display: block;
  }

  .st-mode-bar {
    padding: 8px var(--st-gutter);
    background: var(--st-surface);
    flex: none;
    align-items: center;
    gap: 8px;
    display: flex;
  }

  .st-picked {
    outline: 2px solid var(--st-primary);
    outline-offset: 4px;
    border-radius: var(--st-r-card);
  }
}

@layer utilities;

/*# sourceMappingURL=apps_web_components_story_0dak-mk-k1xp7._.css.map*/