/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --spacing: 0.25rem;
    --container-lg: 32rem;
    --container-2xl: 42rem;
    --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-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --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;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .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-7 {
    margin-top: calc(var(--spacing) * 7);
  }
  .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);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-20 {
    height: calc(var(--spacing) * 20);
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .resize {
    resize: both;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .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)));
    }
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-\[rgba\(195\,53\,58\,0\.5\)\] {
    border-color: rgba(195,53,58,0.5);
  }
  .border-\[var\(--border\)\] {
    border-color: var(--border);
  }
  .bg-\[rgba\(195\,53\,58\,0\.14\)\] {
    background-color: rgba(195,53,58,0.14);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .break-all {
    word-break: break-all;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-\[var\(--danger\)\] {
    color: var(--danger);
  }
  .text-\[var\(--ok\)\] {
    color: var(--ok);
  }
  .text-\[var\(--text\)\] {
    color: var(--text);
  }
  .text-\[var\(--text-muted\)\] {
    color: var(--text-muted);
  }
  .text-\[var\(--text-soft\)\] {
    color: var(--text-soft);
  }
  .text-\[var\(--warning\)\] {
    color: var(--warning);
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, 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));
  }
  .hover\:-translate-y-0\.5 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -0.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .sm\:ml-auto {
    @media (width >= 40rem) {
      margin-left: auto;
    }
  }
  .sm\:w-auto {
    @media (width >= 40rem) {
      width: auto;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:p-7 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 7);
    }
  }
  .md\:col-span-5 {
    @media (width >= 48rem) {
      grid-column: span 5 / span 5;
    }
  }
  .md\:ml-auto {
    @media (width >= 48rem) {
      margin-left: auto;
    }
  }
  .md\:w-auto {
    @media (width >= 48rem) {
      width: auto;
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-3 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-4 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-5 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .md\:justify-end {
    @media (width >= 48rem) {
      justify-content: flex-end;
    }
  }
  .md\:text-right {
    @media (width >= 48rem) {
      text-align: right;
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-5 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}
:root {
  --bg: #0f1014;
  --bg-elevated: #14161d;
  --surface: #1a1d27;
  --surface-soft: #212634;
  --surface-muted: #262d3d;
  --border: #30384a;
  --border-strong: #495471;
  --text: #f5f3e9;
  --text-soft: #c0bbab;
  --text-muted: #8a8f9e;
  --gold: #d8bf82;
  --gold-strong: #c9a253;
  --red: #c3353a;
  --ok: #4ca071;
  --warning: #d49f4b;
  --danger: #d35f5f;
  --ring: rgba(216, 191, 130, 0.35);
  --shadow: 0 24px 54px rgba(4, 5, 8, 0.46);
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.55rem;
}
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(1200px 420px at 8% -12%, rgba(201, 162, 83, 0.18) 0%, transparent 70%), radial-gradient(900px 340px at 106% -5%, rgba(195, 53, 58, 0.14) 0%, transparent 74%), linear-gradient(180deg, #12151d 0%, #0d0f14 100%);
  min-height: 100vh;
  color: var(--text);
}
a {
  color: inherit;
}
code, pre {
  font-family: 'IBM Plex Mono', monospace;
}
.k-brand-mark {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}
.k-page-title {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.k-page-title .k-title {
  margin-bottom: 0.25rem;
}
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem;
}
.surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.surface-soft {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.surface-muted {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.k-stat {
  background: linear-gradient(160deg, rgba(216, 191, 130, 0.09), rgba(255, 255, 255, 0)) var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}
.k-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.k-stat-value {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--text);
}
.k-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.k-subtitle {
  color: var(--text-soft);
  font-size: 0.94rem;
}
.k-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  font-weight: 700;
}
.k-btn {
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.54rem 0.88rem;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
}
.k-btn:hover {
  transform: translateY(-1px);
}
.k-btn:focus-visible, .k-input:focus-visible, select.k-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}
.k-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.k-btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
  color: #231a0b;
  box-shadow: 0 10px 22px rgba(201, 162, 83, 0.32);
}
.k-btn-primary:hover {
  filter: brightness(1.05);
}
.k-btn-ghost {
  background: rgba(255, 255, 255, 0.01);
  border-color: var(--border);
  color: var(--text);
}
.k-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}
.k-btn-danger {
  background: linear-gradient(120deg, #bb3f43, #9d2c2f);
  color: #fff4f4;
  box-shadow: 0 10px 22px rgba(171, 51, 56, 0.27);
}
.k-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
}
.k-chip-warning {
  background: rgba(212, 159, 75, 0.14);
  color: #f5cb8b;
  border-color: rgba(212, 159, 75, 0.42);
}
.k-chip-critical {
  background: rgba(195, 53, 58, 0.16);
  color: #ffb4b7;
  border-color: rgba(195, 53, 58, 0.45);
}
.k-chip-success {
  background: rgba(76, 160, 113, 0.16);
  color: #a7e8c2;
  border-color: rgba(76, 160, 113, 0.5);
}
.k-table-wrap {
  overflow-x: auto;
}
.k-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}
.k-table thead th {
  text-align: left;
  font-weight: 700;
  color: var(--text-soft);
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.67rem;
}
.k-table tbody td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--text);
  vertical-align: top;
}
.k-table tbody tr:hover td {
  background: rgba(216, 191, 130, 0.055);
}
.k-table-group-row td, .k-table-group-row:hover td {
  background: linear-gradient(90deg, rgba(216, 191, 130, 0.16), rgba(216, 191, 130, 0.04));
}
.k-table-group-cell {
  border-top: 1px solid rgba(216, 191, 130, 0.26);
  border-bottom: 1px solid rgba(216, 191, 130, 0.26);
}
.k-table-group-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 800;
  color: #f2d6a2;
}
.k-table-group-meta {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}
.k-tone-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.k-tone-badge-emerald {
  background: rgba(76, 160, 113, 0.16);
  border-color: rgba(76, 160, 113, 0.48);
  color: #9ce0bc;
}
.k-tone-badge-amber {
  background: rgba(212, 159, 75, 0.16);
  border-color: rgba(212, 159, 75, 0.48);
  color: #f7d291;
}
.k-tone-badge-blue {
  background: rgba(88, 140, 220, 0.16);
  border-color: rgba(88, 140, 220, 0.48);
  color: #c4d8ff;
}
.k-tone-badge-violet {
  background: rgba(157, 113, 224, 0.16);
  border-color: rgba(157, 113, 224, 0.48);
  color: #dcc7ff;
}
.k-tone-badge-slate {
  background: rgba(128, 141, 166, 0.16);
  border-color: rgba(128, 141, 166, 0.48);
  color: #d8e0ee;
}
.k-tone-badge-rose {
  background: rgba(195, 53, 58, 0.16);
  border-color: rgba(195, 53, 58, 0.48);
  color: #ffb8bb;
}
.k-empty {
  color: var(--text-muted);
  font-style: italic;
}
.k-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.56rem 0.7rem;
  font-size: 0.9rem;
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 180ms ease;
}
.k-input::placeholder {
  color: #7a8090;
}
.k-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--ring);
}
.ts-wrapper {
  width: 100%;
}
.ts-wrapper .ts-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  min-height: 2.35rem;
  padding: 0.4rem 0.7rem;
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 180ms ease;
}
.ts-wrapper.single .ts-control, .ts-wrapper.multi .ts-control {
  background: var(--bg-elevated);
}
.ts-wrapper.single.input-active .ts-control, .ts-wrapper.single.focus .ts-control, .ts-wrapper.multi.input-active .ts-control, .ts-wrapper.multi.focus .ts-control {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--ring) !important;
}
.ts-wrapper .ts-control input, .ts-wrapper .ts-control .item, .ts-wrapper.single .ts-control .item {
  color: var(--text);
}
.ts-wrapper .ts-control > input::placeholder {
  color: #7a8090;
}
.ts-wrapper.focus .ts-control {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--ring);
}
.ts-dropdown {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: var(--shadow);
}
.ts-wrapper.plugin-remove_button .item {
  background: transparent !important;
  color: var(--text) !important;
}
.ts-wrapper .ts-dropdown, .ts-wrapper .ts-dropdown .dropdown-content {
  background: var(--surface-soft) !important;
}
.ts-dropdown .option, .ts-dropdown .create {
  color: var(--text);
}
.ts-dropdown .active {
  background: rgba(216, 191, 130, 0.16);
  color: #f2e2b9;
}
.ts-wrapper .ts-control, .ts-wrapper .ts-dropdown, .ts-wrapper .ts-dropdown .option, .ts-wrapper .ts-dropdown .create {
  font-family: 'Manrope', sans-serif !important;
}
select.k-input, input[type="date"].k-input {
  color-scheme: dark;
}
.k-dialog {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(680px, calc(100vw - 2rem));
  width: 100%;
  background: transparent;
  position: fixed;
  inset: 0;
}
.k-dialog::backdrop {
  background: radial-gradient(circle at 12% 8%, rgba(216, 191, 130, 0.14), transparent 46%), rgba(7, 9, 14, 0.76);
  backdrop-filter: blur(2px);
}
.k-dialog-panel {
  width: 100%;
  overflow: hidden;
}
.k-dialog-header, .k-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
}
.k-dialog-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
}
.k-dialog-body {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}
.k-dialog-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: flex-end;
  background: rgba(11, 13, 20, 0.35);
}
.k-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.k-nav-group-title {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-right: 0.3rem;
}
.k-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.k-mobile-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  min-height: 2.75rem;
}
.k-mobile-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}
.k-nav-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem;
}
.k-nav-pill {
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  color: var(--text-soft);
  transition: all 150ms ease;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.k-nav-pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.k-nav-pill.active {
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
  color: #231a0b;
  box-shadow: 0 8px 18px rgba(201, 162, 83, 0.3);
}
.k-admin-menu {
  position: relative;
}
.k-admin-menu.is-open .k-admin-toggle {
  border-color: rgba(216, 191, 130, 0.5);
  background: rgba(216, 191, 130, 0.14);
}
.k-admin-toggle {
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  min-height: 2.75rem;
}
.k-admin-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}
.k-admin-toggle.is-admin-route {
  border-color: rgba(216, 191, 130, 0.5);
  color: #f2e2b9;
}
.k-admin-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 230px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.45rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 20;
}
.k-admin-link {
  border-radius: 0.58rem;
  padding: 0.52rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.k-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.k-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.k-admin-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.k-admin-link.active {
  background: rgba(216, 191, 130, 0.15);
  color: #f2e2b9;
}
.k-flash {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  border: 1px solid;
  font-size: 0.9rem;
}
.k-flash-success {
  border-color: rgba(76, 160, 113, 0.5);
  background: rgba(76, 160, 113, 0.16);
  color: #b8ebcb;
}
.k-flash-warning {
  border-color: rgba(212, 159, 75, 0.5);
  background: rgba(212, 159, 75, 0.14);
  color: #f5cf93;
}
.k-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(216, 191, 130, 0.45);
  text-underline-offset: 2px;
}
.k-link:hover {
  color: #edd8a6;
}
.k-login-shell {
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1023px) {
  .shell {
    padding: 1rem;
  }
  .k-page-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .k-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .k-topnav {
    align-items: stretch;
  }
  .k-nav-primary, .k-admin-menu {
    min-width: 0;
  }
  .k-nav-primary {
    display: none;
    width: 100%;
    border-radius: 1rem;
    padding: 0.5rem;
  }
  .k-nav-primary.is-open {
    display: flex;
  }
  .k-admin-menu {
    margin-left: auto;
  }
  .k-admin-panel {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
  }
  .k-pagination {
    flex-direction: column;
    align-items: stretch;
  }
  .k-pagination > * {
    width: 100%;
  }
  .k-pagination .k-btn {
    width: 100%;
  }
  .k-pagination-pages {
    justify-content: center;
  }
}
@media (max-width: 1023px) {
  .k-table-mobile-cards thead {
    display: none;
  }
  .k-table-mobile-cards tbody, .k-table-mobile-cards tr, .k-table-mobile-cards td {
    display: block;
    width: 100%;
  }
  .k-table-mobile-cards tbody tr {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    overflow: hidden;
  }
  .k-table-mobile-cards tbody tr:hover td {
    background: transparent;
  }
  .k-table-mobile-cards tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    text-align: right;
  }
  .k-table-mobile-cards tbody td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-align: left;
    flex: 0 0 42%;
  }
  .k-table-mobile-cards tbody td:last-child {
    border-bottom: none;
  }
  .k-table-mobile-cards tbody td > * {
    max-width: 58%;
  }
  .k-table-mobile-cards .k-table-group-row, .k-table-mobile-cards .k-table-group-row:hover {
    border: 1px solid rgba(216, 191, 130, 0.35);
    background: linear-gradient(90deg, rgba(216, 191, 130, 0.16), rgba(216, 191, 130, 0.04));
  }
  .k-table-mobile-cards .k-table-group-row td, .k-table-mobile-cards .k-table-group-row:hover td {
    display: block;
    text-align: left;
    border-bottom: none;
    background: transparent;
  }
  .k-table-mobile-cards .k-table-group-row td::before, .k-table-mobile-cards td.k-empty::before {
    content: none;
  }
  .k-table-mobile-cards td.k-empty {
    display: block;
    text-align: left;
  }
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@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-font-weight: initial;
      --tw-outline-style: solid;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}
