/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-lg: 32rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-bold: 700;
    --leading-relaxed: 1.625;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-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 {
  .pointer-events-none {
    pointer-events: none;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-2 {
    right: calc(var(--spacing) * 2);
  }
  .bottom-2 {
    bottom: calc(var(--spacing) * 2);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .z-50 {
    z-index: 50;
  }
  .col-span-5 {
    grid-column: span 5 / span 5;
  }
  .col-span-full {
    grid-column: 1 / -1;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-5 {
    margin-block: calc(var(--spacing) * 5);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .aspect-\[9\/16\] {
    aspect-ratio: 9/16;
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-\[400px\] {
    height: 400px;
  }
  .h-full {
    height: 100%;
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-\[400px\] {
    width: 400px;
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .flex-grow {
    flex-grow: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .list-none {
    list-style-type: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-items-center {
    justify-items: center;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .space-y-2 {
    :where(& > :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)));
    }
  }
  .space-y-3 {
    :where(& > :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)));
    }
  }
  .space-y-4 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .object-cover {
    object-fit: cover;
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pt-8 {
    padding-top: calc(var(--spacing) * 8);
  }
  .pb-12 {
    padding-bottom: calc(var(--spacing) * 12);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .align-bottom {
    vertical-align: bottom;
  }
  .align-middle {
    vertical-align: middle;
  }
  .align-top {
    vertical-align: top;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .text-wrap {
    text-wrap: wrap;
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-white {
    color: var(--color-white);
  }
  .capitalize {
    text-transform: capitalize;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .opacity-0 {
    opacity: 0%;
  }
  .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);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .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, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .group-open\:rotate-180 {
    &:is(:where(.group):is([open], :popover-open, :open) *) {
      rotate: 180deg;
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .\32 xl\:grid-cols-5 {
    @media (width >= 96rem) {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
}
:root {
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-card: 10px;
  --radius-pill: 999px;
}
:root, [data-theme="dark"] {
  --sidebar: #05090F;
  --canvas: #070D15;
  --card: #0F1C2A;
  --ink: #E8EEF5;
  --body: #98AABC;
  --faint: #5F7286;
  --edge: #1B2C3D;
  --accent: #3B82F6;
  --accent-press: #2563EB;
  --teal: #22C9E0;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #F87171;
  --accent-soft: rgb(59 130 246 / .16);
  --success-soft: rgb(16 185 129 / .16);
  --warning-soft: rgb(245 158 11 / .16);
  --danger-soft: rgb(248 113 113 / .16);
  --row-hover: rgb(255 255 255 / .03);
  --brand-navy: #0A2540;
  --chart-1: #93A6BA;
  --chart-2: #3B82F6;
  --chart-3: #22C9E0;
  --chart-4: #8B5CF6;
  --chart-5: #F59E0B;
  --chart-6: #10B981;
  --shadow: 0 1px 3px rgb(0 0 0 / .5), 0 8px 24px rgb(0 0 0 / .35);
  --sidebar-ink: #E8EEF5;
  --sidebar-faint: #7C8DA0;
  --sidebar-hover: rgb(255 255 255 / .06);
}
[data-theme="light"] {
  --sidebar: #0A2540;
  --canvas: #F6F9FC;
  --card: #FFFFFF;
  --ink: #0A2540;
  --body: #425466;
  --faint: #8898AA;
  --edge: #E6EBF1;
  --accent: #2563EB;
  --accent-press: #1D4ED8;
  --teal: #06B6D4;
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --accent-soft: rgb(37 99 235 / .08);
  --success-soft: rgb(5 150 105 / .08);
  --warning-soft: rgb(217 119 6 / .08);
  --danger-soft: rgb(220 38 38 / .08);
  --row-hover: #FAFCFE;
  --brand-navy: #0A2540;
  --chart-1: #0A2540;
  --chart-2: #2563EB;
  --chart-3: #06B6D4;
  --chart-4: #7C3AED;
  --chart-5: #D97706;
  --chart-6: #059669;
  --shadow: 0 1px 3px rgb(10 37 64 / .05), 0 4px 12px rgb(10 37 64 / .04);
  --sidebar-ink: #E8EEF5;
  --sidebar-faint: #9FB2C9;
  --sidebar-hover: rgb(255 255 255 / .08);
}
* {
  border-color: var(--edge);
}
html {
  background: var(--canvas);
}
body {
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
h1, h2, h3, h4 {
  color: var(--ink);
}
a {
  color: var(--accent);
}
::selection {
  background: var(--accent-soft);
}
.page-title {
  font: 700 24px/1.2 var(--font-sans);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title {
  font: 700 18px/1.3 var(--font-sans);
  color: var(--ink);
}
.kicker {
  font: 500 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.field-label {
  display: block;
  margin-bottom: 6px;
  font: 600 12px var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
}
.mono {
  font-family: var(--font-mono);
}
.text-ink {
  color: var(--ink);
}
.text-body {
  color: var(--body);
}
.text-faint {
  color: var(--faint);
}
.mark {
  --size: 30px;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--size) * 0.55);
  font-family: var(--font-sans);
  flex: none;
}
.mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-navy);
  border-radius: calc(var(--size) * 0.23);
  transform: rotate(-4deg);
  z-index: -1;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: calc(var(--size) * 0.23);
  transform: rotate(8deg) translate(9%, 9%);
  z-index: -2;
}
.mark--on-dark {
  color: var(--brand-navy);
}
.mark--on-dark::before {
  background: #fff;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 18px var(--font-sans);
  color: var(--ink);
}
.brand-mark {
  --mark-size: 30px;
  display: inline-grid;
  place-items: center;
  width: var(--mark-size);
  height: var(--mark-size);
  color: var(--accent);
  flex: none;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-word {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
}
.brand-word__accent {
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: 600 13.5px/1 var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover {
  background: var(--accent-press);
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--edge);
}
.btn-ghost:hover {
  background: var(--canvas);
}
.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.btn-soft:hover {
  background: var(--accent-soft);
  color: var(--accent-press);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger-soft);
}
.btn-block {
  width: 100%;
}
.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.card-pad {
  padding: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--edge);
}
.card-title {
  font: 700 14px var(--font-sans);
  color: var(--ink);
}
.card-hover {
  transition: transform .15s ease, border-color .15s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  overflow: hidden;
  transition: transform .16s ease;
}
.product-card:hover {
  transform: translateY(-3px);
}
.product-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.product-card__thumb {
  position: relative;
  width: 54px;
  height: 70px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--edge);
  box-shadow: 0 4px 12px -6px rgb(0 0 0 / .45);
  padding: 0;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.product-card__thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__thumb-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff;
  font: 800 22px var(--font-sans);
  letter-spacing: -0.02em;
}
.product-card__thumb-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / .55);
  color: #fff;
  pointer-events: none;
  transition: background .15s ease, transform .15s ease;
}
.product-card__thumb:hover .product-card__thumb-play {
  background: rgb(0 0 0 / .72);
  transform: scale(1.08);
}
.product-card__name {
  font: 700 16px var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.01em;
  word-break: break-word;
  line-height: 1.3;
}
.product-card__actions {
  display: flex;
  gap: 4px;
  flex: none;
}
.product-card__actions button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  color: var(--faint);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.product-card__actions .act-edit:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.product-card__actions .act-del:hover {
  color: var(--danger);
  background: var(--danger-soft, rgb(239 68 68 / .12));
}
.product-card__desc {
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
}
.product-card__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12px var(--font-sans);
  color: var(--accent);
}
.product-card__count svg {
  flex: none;
}
.product-card__date {
  font: 400 12px var(--font-mono, var(--font-sans));
  color: var(--faint);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font: 600 12px var(--font-sans);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pill.live {
  background: var(--success-soft);
  color: var(--success);
}
.pill.live::before {
  background: var(--success);
}
.pill.accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.pill.accent::before {
  background: var(--accent);
}
.pill.paused {
  background: var(--warning-soft);
  color: var(--warning);
}
.pill.paused::before {
  background: var(--warning);
}
.pill.neutral {
  background: var(--accent-soft);
  color: var(--body);
}
.pill.neutral::before {
  background: var(--faint);
}
.input, .select, .textarea {
  width: 100%;
  padding: 9px 13px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  font: 400 13.5px var(--font-sans);
  color: var(--ink);
  transition: border-color .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.textarea {
  resize: vertical;
}
.input::placeholder, .textarea::placeholder {
  color: var(--faint);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: var(--sidebar);
  border-right: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  z-index: 40;
}
.app-content {
  flex: 1;
  margin-left: 232px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-pad {
  padding: 28px;
  max-width: 1600px;
  width: 100%;
  margin-inline: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  margin-bottom: 2px;
  border-radius: var(--radius);
  color: var(--sidebar-faint);
  font: 500 14px var(--font-sans);
  transition: background .15s ease, color .15s ease;
}
.nav-item:hover {
  color: var(--sidebar-ink);
  background: var(--sidebar-hover);
}
.nav-item.active {
  background: var(--accent);
  color: #fff;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.nav-section {
  margin-top: 18px;
  padding: 0 12px 6px;
}
.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 4px;
  margin-top: auto;
  border-top: 1px solid var(--edge);
}
.user-card .name {
  color: var(--sidebar-ink);
  font-size: 13px;
  font-weight: 500;
}
.user-card .email {
  color: var(--sidebar-faint);
  font-size: 12px;
}
.user-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.logout-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--sidebar-faint);
  transition: background .15s ease, color .15s ease;
}
.logout-icon:hover {
  color: var(--danger);
  background: var(--danger-soft);
}
.logout-icon svg {
  width: 17px;
  height: 17px;
}
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  max-width: 1600px;
  width: 100%;
  margin-inline: auto;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.icon-btn:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.icon-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--body);
  font: 600 13px var(--font-sans);
  white-space: nowrap;
  cursor: default;
}
.credits-pill svg {
  color: var(--accent);
  flex: none;
}
.credits-pill strong {
  color: var(--ink);
  font-weight: 700;
}
.credits-pill-total {
  color: var(--faint);
  font-weight: 500;
  margin-left: -2px;
}
.hook-option {
  border: 1px solid var(--edge);
  color: var(--ink);
}
.hook-option:hover {
  border-color: var(--accent);
}
.avatar-scroller {
  position: relative;
}
.avatar-strip {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 3px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.avatar-strip::-webkit-scrollbar {
  display: none;
}
.avatar-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--edge);
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / .14);
  transition: color .15s ease, border-color .15s ease;
}
.avatar-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.avatar-arrow--left {
  left: -10px;
}
.avatar-arrow--right {
  right: -10px;
}
.avatar-scroller.can-left .avatar-arrow--left {
  display: grid;
}
.avatar-scroller.can-right .avatar-arrow--right {
  display: grid;
}
.avatar-tile {
  position: relative;
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--edge);
  transition: box-shadow .15s ease;
}
.avatar-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-tile:hover {
  box-shadow: 0 0 0 2px var(--accent);
}
.avatar-tile.selected {
  box-shadow: 0 0 0 2px var(--accent);
}
.avatar-del {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: rgb(0 0 0 / .55);
  color: #fff;
  opacity: 0;
  transition: opacity .15s ease, background .15s ease;
}
.avatar-tile:hover .avatar-del {
  opacity: 1;
}
.avatar-del:hover {
  background: var(--danger);
}
.reaction-strip {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 3px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reaction-strip::-webkit-scrollbar {
  display: none;
}
.reaction-tile {
  position: relative;
  width: 86px;
  height: 152px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--edge);
  background: #000;
  transition: box-shadow .15s ease;
}
.reaction-tile img.reaction-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reaction-tile video.reaction-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-tile {
  cursor: pointer;
}
.video-tile > img {
  position: absolute;
  inset: 0;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / .55);
  color: #fff;
  pointer-events: none;
  transition: background .15s ease, transform .15s ease;
}
.video-tile:hover .video-play-btn {
  background: rgb(0 0 0 / .72);
  transform: scale(1.06);
}
.video-tile video {
  position: absolute;
  inset: 0;
}
.video-del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / .55);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.video-del-btn:hover {
  background: var(--danger);
  transform: scale(1.08);
}
.video-del-btn:disabled {
  opacity: .5;
  cursor: default;
}
.reaction-tile:hover {
  box-shadow: 0 0 0 2px var(--accent);
}
.reaction-tile.selected {
  box-shadow: 0 0 0 2px var(--accent);
}
.reaction-tile .reaction-badge {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgb(0 0 0 / .6);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
}
.reaction-tile .avatar-del {
  opacity: 0;
}
.reaction-tile:hover .avatar-del {
  opacity: 1;
}
.method-card {
  transition: box-shadow .15s ease, border-color .15s ease;
}
.method-card:not([disabled]):hover {
  border-color: var(--accent);
}
.method-card.selected {
  box-shadow: 0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.mc-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 18px;
  cursor: pointer;
  border: 2px dashed var(--edge);
  border-radius: var(--radius);
  background: var(--canvas);
  transition: border-color .15s ease, background .15s ease;
}
.mc-drop:hover {
  border-color: var(--accent);
}
.mc-drop.has-file {
  border-style: solid;
  border-color: var(--accent);
}
.mc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 10px;
  color: var(--faint);
  font: 600 10px var(--font-sans);
  letter-spacing: .08em;
}
.mc-divider::before, .mc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--edge);
}
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font: 700 12px var(--font-sans);
  line-height: 1;
  transition: background .2s ease;
}
.step-num.done {
  background: var(--success);
}
.step-num.done .step-digit {
  display: none;
}
.step-num.done::after {
  content: "\2713";
  font: 700 13px var(--font-sans);
  color: #fff;
}
.step-sub {
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
}
.substep {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  vertical-align: middle;
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
  }
  color: var(--accent);
  font: 700 10px var(--font-sans);
  line-height: 1;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  padding: 10px 20px;
  background: var(--canvas);
  border-bottom: 1px solid var(--edge);
  font: 500 10.5px var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--edge);
  color: var(--body);
}
.table tr:hover td {
  background: var(--row-hover);
}
.table .num {
  font-family: var(--font-mono);
  color: var(--ink);
}
.ana-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.range-row {
  display: flex;
  gap: 6px;
}
.range-btn {
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  font: 600 12.5px var(--font-sans);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.range-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.range-btn.active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.stat-card {
  padding: 18px 20px;
}
.stat-label {
  font: 500 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.stat-value {
  font: 700 26px/1 var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font: 600 12px var(--font-mono);
}
.stat-delta.up {
  color: var(--success);
}
.stat-delta.down {
  color: var(--danger);
}
.stat-delta svg {
  width: 13px;
  height: 13px;
}
.ana-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 190px;
  margin-bottom: 8px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
}
.bar-col:hover .bar-seg {
  opacity: .82;
}
.bar-seg {
  border-radius: 3px 3px 0 0;
  min-height: 1px;
  transition: opacity .15s ease;
}
.bar-labels {
  display: flex;
  gap: 7px;
}
.bar-labels span {
  flex: 1;
  text-align: center;
  font: 400 9px var(--font-mono);
  color: var(--faint);
}
.chart-legend {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  margin-top: 6px;
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px var(--font-sans);
  color: var(--body);
}
.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
}
.donut-legend {
  flex: 1;
}
.dl-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--body);
}
.dl-row i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.dl-row b {
  margin-left: auto;
  font: 600 12px var(--font-mono);
  color: var(--ink);
}
.hbar-row {
  display: grid;
  grid-template-columns: 130px 1fr 64px;
  gap: 12px;
  align-items: center;
  padding: 11px 20px;
  border-bottom: 1px solid var(--edge);
}
.hbar-row:last-child {
  border-bottom: none;
}
.hbar-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 13px var(--font-sans);
  color: var(--ink);
  min-width: 0;
}
.hbar-name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hbar-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 9px var(--font-sans);
  flex: none;
}
.hbar-track {
  height: 10px;
  background: var(--canvas);
  border-radius: 999px;
  overflow: hidden;
}
.hbar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.hbar-val {
  font: 600 12px var(--font-mono);
  color: var(--ink);
  text-align: right;
}
.acct-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.acct-chip .hbar-avatar {
  width: 26px;
  height: 26px;
}
.acct-chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ana-grid {
    grid-template-columns: 1fr;
  }
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="light"] .sun-icon {
  display: none;
}
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid transparent;
}
.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: var(--danger);
}
.alert-success {
  background: var(--success-soft);
  color: var(--success);
  border-color: var(--success);
}
.alert-info {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.ugc-icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.ugc-spin {
  animation: ugc-spin 1s linear infinite;
  transform-origin: center;
}
@keyframes ugc-spin {
  to {
    transform: rotate(360deg);
  }
}
.pub-badge {
  display: inline-block;
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  font: 600 11px var(--font-sans);
  white-space: nowrap;
}
.pub-badge--ok {
  background: var(--success-soft);
  color: var(--success);
}
.pub-badge--sched {
  background: var(--accent-soft);
  color: var(--accent);
}
.pub-badge--draft {
  background: var(--canvas);
  color: var(--body);
  border: 1px solid var(--edge);
}
.pub-badge--warn {
  background: var(--warning-soft);
  color: var(--warning);
}
.pub-badge--err {
  background: var(--danger-soft);
  color: var(--danger);
}
.pub-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgb(0 0 0 / .5);
  backdrop-filter: blur(2px);
  padding: 24px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}
.pub-overlay.open {
  display: flex;
}
.pub-modal {
  width: 100%;
  max-width: 480px;
  margin-top: 6vh;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgb(0 0 0 / .35);
}
.pub-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--edge);
}
.pub-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--body);
  background: transparent;
  border: none;
  cursor: pointer;
}
.pub-close:hover {
  background: var(--canvas);
  color: var(--ink);
}
.pub-modal-body {
  padding: 20px;
}
.pub-empty {
  text-align: center;
  padding: 16px 0;
}
.pub-provider-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.pub-provider {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  cursor: pointer;
  font: 600 13px var(--font-sans);
  color: var(--body);
}
.pub-provider input {
  display: none;
}
.pub-provider.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.field-label {
  display: block;
  font: 600 12px var(--font-sans);
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.pub-accounts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.pub-acct {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  cursor: pointer;
}
.pub-acct:hover {
  border-color: var(--accent);
}
.pub-acct input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex: none;
}
.pub-acct-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.pub-acct-fallback {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font: 700 12px var(--font-sans);
}
.pub-acct-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pub-acct-name {
  font: 600 13px var(--font-sans);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-acct-plat {
  font: 500 11px var(--font-sans);
  color: var(--faint);
}
.pub-when {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pub-radio, .pub-provider, .pub-acct {
  user-select: none;
}
.pub-radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 13px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
}
.pub-radio input {
  accent-color: var(--accent);
}
.pub-result {
  margin-top: 16px;
}
.pub-result-msg {
  padding: 10px 12px;
  border-radius: 8px;
  font: 500 13px var(--font-sans);
}
.pub-result--ok {
  background: var(--success-soft);
  color: var(--success);
}
.pub-result--warn {
  background: var(--warning-soft);
  color: var(--warning);
}
.pub-result--error {
  background: var(--danger-soft);
  color: var(--danger);
}
.pub-result-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font: 500 12px var(--font-sans);
  color: var(--body);
}
.pub-toggle {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  user-select: none;
}
.pub-toggle > input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pub-toggle-track {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  margin-top: 1px;
  background: var(--edge);
  border-radius: 999px;
  transition: background .15s ease;
}
.pub-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / .3);
  transition: transform .15s ease;
}
.pub-toggle > input:checked + .pub-toggle-track {
  background: var(--accent);
}
.pub-toggle > input:checked + .pub-toggle-track .pub-toggle-thumb {
  transform: translateX(16px);
}
.pub-toggle > input:focus-visible + .pub-toggle-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pub-toggle-text {
  display: flex;
  flex-direction: column;
}
.pub-toggle-title {
  font: 600 13px var(--font-sans);
  color: var(--ink);
}
.pub-toggle-sub {
  font: 500 12px var(--font-sans);
  color: var(--faint);
}
.pub-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.cal-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cal-nav {
  display: flex;
  gap: 6px;
}
.cal-nav .range-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
}
.cal-card {
  overflow: hidden;
  padding: 0;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-dow {
  border-bottom: 1px solid var(--edge);
}
.cal-dow-cell {
  padding: 10px 12px;
  font: 600 11px var(--font-sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
}
.cal-cell {
  min-height: 116px;
  border-right: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cal-cell:nth-child(7n) {
  border-right: none;
}
.cal-cell--muted {
  background: var(--canvas);
}
.cal-cell--today {
  background: var(--accent-soft);
}
.cal-date {
  font: 600 12px var(--font-mono);
  color: var(--body);
}
.cal-cell--today .cal-date {
  color: var(--accent);
}
.cal-chips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-chip {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 6px;
  font: 500 11px var(--font-sans);
  line-height: 1.25;
  overflow: hidden;
  cursor: default;
  border-left: 3px solid transparent;
  background: var(--card);
}
.cal-chip-time {
  font: 600 10px var(--font-mono);
  flex: none;
  opacity: .8;
}
.cal-chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.cal-chip--sched {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: var(--accent);
}
.cal-chip--ok {
  background: var(--success-soft);
  border-left-color: var(--success);
  color: var(--success);
}
.cal-chip--warn {
  background: var(--warning-soft);
  border-left-color: var(--warning);
  color: var(--warning);
}
.cal-chip--err {
  background: var(--danger-soft);
  border-left-color: var(--danger);
  color: var(--danger);
}
.cal-chip--draft {
  background: var(--canvas);
  border-left-color: var(--faint);
  color: var(--body);
}
.cal-more {
  font: 600 10px var(--font-sans);
  color: var(--faint);
  padding: 1px 6px;
}
.cal-up {
  padding: 4px 0;
}
.cal-up-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--edge);
}
.cal-up-row:last-child {
  border-bottom: none;
}
.cal-up-when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 64px;
  flex: none;
}
.cal-up-date {
  font: 700 13px var(--font-sans);
  color: var(--ink);
}
.cal-up-time {
  font: 500 11px var(--font-mono);
  color: var(--faint);
}
.cal-up-main {
  min-width: 0;
}
.cal-up-title {
  font: 600 14px var(--font-sans);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-up-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
@media (max-width: 720px) {
  .cal-cell {
    min-height: 84px;
  }
  .cal-chip-text {
    display: none;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  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-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: 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-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
