*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  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;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

:root {
  --primary-100: #e8f0fe;
  --primary-200: #c5d8fc;
  --primary-300: #93b8f9;
  --primary-400: #5b91f5;
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-800: #1e3a8a;
  --primary-900: #172554;
  --gray-100: #f9fafb;
  --gray-200: #f3f4f6;
  --gray-300: #e5e7eb;
  --gray-400: #d1d5db;
  --gray-500: #9ca3af;
  --gray-600: #6b7280;
  --gray-700: #4b5563;
  --gray-800: #374151;
  --gray-900: #1f2937;
  --success-100: #dcfce7;
  --success-300: #86efac;
  --success-500: #22c55e;
  --success-700: #15803d;
  --success-900: #14532d;
  --warning-100: #fef9c3;
  --warning-300: #fde047;
  --warning-500: #eab308;
  --warning-700: #a16207;
  --warning-900: #713f12;
  --danger-100: #fee2e2;
  --danger-300: #fca5a5;
  --danger-500: #ef4444;
  --danger-700: #b91c1c;
  --danger-900: #7f1d1d;
  --info-100: #e0f2fe;
  --info-300: #7dd3fc;
  --info-500: #0ea5e9;
  --info-700: #0369a1;
  --info-900: #0c4a6e;
  --color-brand: var(--primary-500);
  --color-brand-dark: var(--primary-700);
  --color-brand-light: var(--primary-300);
  --color-text: var(--gray-900);
  --color-text-muted: var(--gray-600);
  --color-text-inverse: #ffffff;
  --color-bg: #ffffff;
  --color-bg-subtle: var(--gray-100);
  --color-bg-muted: var(--gray-200);
  --color-border: var(--gray-300);
  --color-border-strong: var(--gray-500);
  --color-success: var(--success-500);
  --color-warning: var(--warning-500);
  --color-danger: var(--danger-500);
  --color-info: var(--info-500);
}

.text-primary {
  color: var(--color-brand);
}

.text-success {
  color: var(--color-success);
}

.text-warning {
  color: var(--color-warning);
}

.text-danger {
  color: var(--color-danger);
}

.text-info {
  color: var(--color-info);
}

.text-gray {
  color: var(--gray-500);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-inverse {
  color: var(--color-text-inverse);
}

.bg-primary {
  background-color: var(--color-brand);
}

.bg-success {
  background-color: var(--color-success);
}

.bg-warning {
  background-color: var(--color-warning);
}

.bg-danger {
  background-color: var(--color-danger);
}

.bg-info {
  background-color: var(--color-info);
}

.bg-gray {
  background-color: var(--gray-500);
}

.bg-white {
  background-color: var(--color-bg);
}

.bg-subtle {
  background-color: var(--color-bg-subtle);
}

.border-primary {
  border-color: var(--color-brand);
}

.border-success {
  border-color: var(--color-success);
}

.border-warning {
  border-color: var(--color-warning);
}

.border-danger {
  border-color: var(--color-danger);
}

.border-info {
  border-color: var(--color-info);
}

.border-gray {
  border-color: var(--gray-500);
}

[data-theme=dark] {
  --primary-100: #172554;
  --primary-200: #1e3a8a;
  --primary-300: #1e40af;
  --primary-400: #1d4ed8;
  --primary-500: #3b82f6;
  --primary-600: #60a5fa;
  --primary-700: #93c5fd;
  --primary-800: #bfdbfe;
  --primary-900: #dbeafe;
  --gray-100: #111827;
  --gray-200: #1f2937;
  --gray-300: #374151;
  --gray-400: #4b5563;
  --gray-500: #6b7280;
  --gray-600: #9ca3af;
  --gray-700: #d1d5db;
  --gray-800: #e5e7eb;
  --gray-900: #f9fafb;
  --success-100: #14532d;
  --success-300: #15803d;
  --success-500: #4ade80;
  --success-700: #86efac;
  --success-900: #dcfce7;
  --warning-100: #713f12;
  --warning-300: #a16207;
  --warning-500: #facc15;
  --warning-700: #fde047;
  --warning-900: #fef9c3;
  --danger-100: #7f1d1d;
  --danger-300: #b91c1c;
  --danger-500: #f87171;
  --danger-700: #fca5a5;
  --danger-900: #fee2e2;
  --info-100: #0c4a6e;
  --info-300: #0369a1;
  --info-500: #38bdf8;
  --info-700: #7dd3fc;
  --info-900: #e0f2fe;
  --color-text: var(--gray-900);
  --color-text-muted: var(--gray-600);
  --color-text-inverse: #111827;
  --color-bg: #111827;
  --color-bg-subtle: var(--gray-100);
  --color-bg-muted: var(--gray-200);
  --color-border: var(--gray-300);
  --color-border-strong: var(--gray-500);
}

[data-theme=ocean] {
  --primary-100: #ecfeff;
  --primary-200: #cffafe;
  --primary-300: #a5f3fc;
  --primary-400: #67e8f9;
  --primary-500: #06b6d4;
  --primary-600: #0891b2;
  --primary-700: #0e7490;
  --primary-800: #155e75;
  --primary-900: #164e63;
  --color-brand: var(--primary-500);
  --color-brand-dark: var(--primary-700);
  --color-brand-light: var(--primary-300);
}

[data-theme=forest] {
  --primary-100: #f0fdf4;
  --primary-200: #dcfce7;
  --primary-300: #bbf7d0;
  --primary-400: #86efac;
  --primary-500: #16a34a;
  --primary-600: #15803d;
  --primary-700: #166534;
  --primary-800: #14532d;
  --primary-900: #052e16;
  --color-brand: var(--primary-500);
  --color-brand-dark: var(--primary-700);
  --color-brand-light: var(--primary-300);
}

[data-theme=rose] {
  --primary-100: #fff1f2;
  --primary-200: #ffe4e6;
  --primary-300: #fecdd3;
  --primary-400: #fda4af;
  --primary-500: #f43f5e;
  --primary-600: #e11d48;
  --primary-700: #be123c;
  --primary-800: #9f1239;
  --primary-900: #881337;
  --color-brand: var(--primary-500);
  --color-brand-dark: var(--primary-700);
  --color-brand-light: var(--primary-300);
}

[data-theme=violet] {
  --primary-100: #f5f3ff;
  --primary-200: #ede9fe;
  --primary-300: #ddd6fe;
  --primary-400: #c4b5fd;
  --primary-500: #7c3aed;
  --primary-600: #6d28d9;
  --primary-700: #5b21b6;
  --primary-800: #4c1d95;
  --primary-900: #2e1065;
  --color-brand: var(--primary-500);
  --color-brand-dark: var(--primary-700);
  --color-brand-light: var(--primary-300);
}

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url("../font/MaterialSymbols-Outlined.woff2") format("woff2");
}
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined.md-18 {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.material-symbols-outlined.md-24 {
  font-size: 24px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.material-symbols-outlined.md-36 {
  font-size: 36px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 40;
}

.material-symbols-outlined.md-48 {
  font-size: 48px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em 1.25em;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.btn[hidden] {
  display: none;
}
.btn .material-symbols-outlined {
  font-size: 1.25em;
  line-height: 1;
}
.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.btn:disabled, .btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn-primary:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
}
.btn-primary:active {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
}

.btn-secondary {
  color: var(--color-brand);
  background-color: var(--color-bg);
  border-color: var(--color-brand);
}
.btn-secondary:hover {
  background-color: var(--primary-100);
}
.btn-secondary:active {
  background-color: var(--primary-200);
}

.btn-success {
  color: #fff;
  background-color: var(--color-success);
  border-color: var(--color-success);
}
.btn-success:hover {
  background-color: var(--success-700);
  border-color: var(--success-700);
}
.btn-success:active {
  background-color: var(--success-900);
  border-color: var(--success-900);
}

.btn-warning {
  color: #fff;
  background-color: var(--color-warning);
  border-color: var(--color-warning);
}
.btn-warning:hover {
  background-color: var(--warning-700);
  border-color: var(--warning-700);
}
.btn-warning:active {
  background-color: var(--warning-900);
  border-color: var(--warning-900);
}

.btn-danger {
  color: #fff;
  background-color: var(--color-danger);
  border-color: var(--color-danger);
}
.btn-danger:hover {
  background-color: var(--danger-700);
  border-color: var(--danger-700);
}
.btn-danger:active {
  background-color: var(--danger-900);
  border-color: var(--danger-900);
}

.btn-info {
  color: #fff;
  background-color: var(--color-info);
  border-color: var(--color-info);
}
.btn-info:hover {
  background-color: var(--info-700);
  border-color: var(--info-700);
}
.btn-info:active {
  background-color: var(--info-900);
  border-color: var(--info-900);
}

.btn-ghost {
  color: var(--color-text);
  background-color: var(--color-bg);
  border-color: var(--color-text);
}
.btn-ghost:hover {
  background-color: var(--gray-200);
}
.btn-ghost:active {
  background-color: var(--gray-300);
}
.btn-ghost {
  border-color: transparent;
}

.btn-link {
  color: var(--color-brand);
  background-color: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
}
.btn-link:hover {
  color: var(--color-brand-dark);
}
.btn-link:active {
  color: var(--primary-800);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.25em 0.75em;
  border-radius: 0.25rem;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 0.75em 1.75em;
  border-radius: 0.5rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  padding: 0.5em;
  border-radius: 0.375rem;
  line-height: 1;
}
.btn-icon.btn-sm {
  padding: 0.25em;
}
.btn-icon.btn-lg {
  padding: 0.75em;
}

.btn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  color: #fff;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.25rem;
  gap: 0.125rem;
}
.btn-switcher.btn-switcher-pill {
  border-radius: 9999px;
}
.btn-switcher.btn-switcher-pill .btn-switcher__item {
  border-radius: 9999px;
}

.btn-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.375em 1em;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-switcher__item .material-symbols-outlined {
  font-size: 1.1em;
  line-height: 1;
}
.btn-switcher__item:hover:not(.is-active):not(:disabled) {
  background-color: var(--color-bg);
  color: var(--color-text);
}
.btn-switcher__item.is-active {
  background-color: var(--color-bg);
  color: var(--color-brand);
  border-color: var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-switcher__item:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.btn-switcher__item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-switcher-filled .btn-switcher__item.is-active {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: none;
}

.btn-group {
  display: inline-flex;
}
.btn-group > .btn {
  position: relative;
  border-radius: 0;
}
.btn-group > .btn + .btn {
  margin-left: -1px;
}
.btn-group > .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.btn-group > .btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.btn-group > .btn:hover, .btn-group > .btn:focus-visible, .btn-group > .btn:active {
  z-index: 1;
}
.btn-group--vertical {
  display: inline-flex;
}
.btn-group--vertical > .btn {
  position: relative;
  border-radius: 0;
}
.btn-group--vertical > .btn + .btn {
  margin-left: -1px;
}
.btn-group--vertical > .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.btn-group--vertical > .btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.btn-group--vertical > .btn:hover, .btn-group--vertical > .btn:focus-visible, .btn-group--vertical > .btn:active {
  z-index: 1;
}
.btn-group--vertical {
  flex-direction: column;
  align-items: stretch;
}
.btn-group--vertical > .btn + .btn {
  margin-left: 0;
  margin-top: -1px;
}
.btn-group--vertical > .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group--vertical > .btn:last-child {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background-color: var(--color-bg-muted);
}

.card__header {
  padding: 1.125rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card__body {
  padding: 1rem 1.25rem;
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.card__footer {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.card__subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.6em;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: var(--color-brand);
  color: #fff;
  letter-spacing: 0.03em;
}

.card--elevated {
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card--filled {
  background-color: var(--color-bg-subtle);
  border-color: transparent;
}

.card--outlined {
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.card--hoverable {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card--hoverable:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--color-brand-light);
}
.card--hoverable:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.card--horizontal {
  flex-direction: row;
}
.card--horizontal .card__image {
  width: 180px;
  min-width: 180px;
  border-radius: 0;
  border-right: 1px solid var(--color-border);
}

.card--sm {
  border-radius: 0.5rem;
}
.card--sm .card__header {
  padding: 0.875rem 1rem 0;
}
.card--sm .card__body {
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
}
.card--sm .card__footer {
  padding: 0.625rem 1rem;
}
.card--sm .card__title {
  font-size: 0.9rem;
}

.card--lg {
  border-radius: 1rem;
}
.card--lg .card__header {
  padding: 1.5rem 1.75rem 0;
}
.card--lg .card__body {
  padding: 1.25rem 1.75rem;
  font-size: 1rem;
}
.card--lg .card__footer {
  padding: 1.125rem 1.75rem;
}
.card--lg .card__title {
  font-size: 1.2rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--color-text);
}
.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
}
.table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background-color: var(--color-bg-subtle);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}
.table tbody td {
  background-color: var(--color-bg);
}
.table tbody tr:last-child > td {
  border-bottom: none;
}
.table tfoot td, .table tfoot th {
  font-weight: 600;
  background-color: var(--color-bg-subtle);
  border-top: 2px solid var(--color-border);
  border-bottom: none;
}
.table caption {
  caption-side: bottom;
  padding: 0.625rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: left;
}

.table--striped tbody tr:nth-child(even) > td {
  background-color: var(--color-bg-muted);
}

.table--hoverable tbody tr {
  transition: background-color 0.12s ease;
}
.table--hoverable tbody tr:hover > td {
  background-color: var(--primary-100);
}

.table--bordered th, .table--bordered td {
  border: 1px solid var(--color-border);
}
.table--bordered thead th {
  border-bottom-width: 2px;
}
.table--bordered tfoot td, .table--bordered tfoot th {
  border-top-width: 2px;
}

.table--borderless th, .table--borderless td {
  border: none;
}

.table--sm th, .table--sm td {
  padding: 0.375rem 0.75rem;
}

.table--sticky-head thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  box-shadow: inset 0 -2px 0 var(--color-border);
  border-bottom: none;
}

.table--sticky-foot {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.table--sticky-foot thead, .table--sticky-foot tbody, .table--sticky-foot tfoot {
  display: table;
  width: 100%;
  border-collapse: collapse;
}
.table--sticky-foot tbody {
  flex: 1;
}
.table--sticky-foot tfoot {
  position: sticky;
  bottom: 0;
  z-index: 1;
}
.table--sticky-foot tfoot td, .table--sticky-foot tfoot th {
  border-top: none;
  box-shadow: inset 0 2px 0 var(--color-border);
}

.table tbody tr.is-success > td {
  background-color: var(--success-100);
  border-bottom-color: var(--success-300);
}
.table tbody tr.is-warning > td {
  background-color: var(--warning-100);
  border-bottom-color: var(--warning-300);
}
.table tbody tr.is-danger > td {
  background-color: var(--danger-100);
  border-bottom-color: var(--danger-300);
}
.table tbody tr.is-info > td {
  background-color: var(--info-100);
  border-bottom-color: var(--info-300);
}
.table tbody tr.is-active > td {
  background-color: var(--primary-100);
  border-bottom-color: var(--primary-200);
}

.table__col--right {
  text-align: right;
}

.table__col--center {
  text-align: center;
}

.table__col--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: "Consolas", "Cascadia Code", monospace;
}

.table__col--shrink {
  width: 1%;
  white-space: nowrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}
.form-label.is-required::after {
  content: " *";
  color: var(--color-danger);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.form-error {
  font-size: 0.75rem;
  color: var(--color-danger);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.form-control-wrap:has(.form-prefix) .form-control {
  padding-left: 2.25em;
}
.form-control-wrap:has(.form-suffix) .form-control {
  padding-right: 2.25em;
}
.form-control-wrap:has(.form-suffix) .form-control.is-error, .form-control-wrap:has(.form-suffix) .form-control.is-success {
  background-image: none;
}

.form-prefix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  pointer-events: none;
  line-height: 1;
}
.form-prefix .material-symbols-outlined {
  font-size: 1.1em;
  line-height: 1;
}
.form-prefix {
  left: 0.75em;
}

.form-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  pointer-events: none;
  line-height: 1;
}
.form-suffix .material-symbols-outlined {
  font-size: 1.1em;
  line-height: 1;
}
.form-suffix {
  right: 0.75em;
}

.form-control {
  width: 100%;
  padding: 0.5em 0.75em;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.form-control::placeholder {
  color: var(--gray-400);
}
.form-control:hover:not(:disabled) {
  border-color: var(--color-border-strong);
}
.form-control:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-control:disabled {
  background-color: var(--color-bg-muted);
  color: var(--color-text-muted);
  cursor: not-allowed;
}
.form-control.is-error {
  border-color: var(--color-danger);
  padding-right: 2.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em 1em;
}
.form-control.is-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-control.is-success {
  border-color: var(--color-success);
  padding-right: 2.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em 1em;
}
.form-control.is-success:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 6rem;
}
textarea.form-control.is-error, textarea.form-control.is-success {
  background-position: right 0.75em top 0.65em;
}

.form-control-sm {
  font-size: 0.875rem;
  padding: 0.25em 0.625em;
  border-radius: 0.25rem;
}

.form-control-lg {
  font-size: 1.125rem;
  padding: 0.625em 1em;
  border-radius: 0.5rem;
}

select.form-control {
  padding-right: 2.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.form-check__input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  appearance: none;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border-strong);
  border-radius: 0.2rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.form-check__input[type=radio] {
  border-radius: 50%;
}
.form-check__input:hover:not(:disabled) {
  border-color: var(--color-brand);
}
.form-check__input:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.form-check__input:checked {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}
.form-check__input:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}
.form-check__input:checked[type=checkbox]::after {
  width: 0.35rem;
  height: 0.6rem;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-10%, -10%);
}
.form-check__input:checked[type=radio]::after {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #fff;
}
.form-check__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-check__label {
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
}

.form-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  user-select: none;
}

.form-toggle__track {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  background-color: var(--gray-300);
  border-radius: 9999px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.form-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.form-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.form-toggle__input:checked + .form-toggle__track {
  background-color: var(--color-brand);
}
.form-toggle__input:checked + .form-toggle__track::after {
  transform: translateX(1.125rem);
}
.form-toggle__input:focus-visible + .form-toggle__track {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.form-toggle__input:disabled + .form-toggle__track {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-toggle__label {
  font-size: 0.9rem;
  color: var(--color-text);
}

.input-group {
  display: flex;
  align-items: stretch;
}
.input-group .form-control {
  flex: 1;
  min-width: 0;
  border-radius: 0;
}
.input-group .form-control:first-child {
  border-radius: 0.375rem 0 0 0.375rem;
}
.input-group .form-control:last-child {
  border-radius: 0 0.375rem 0.375rem 0;
}

.input-group__addon {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75em;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}
.input-group__addon:first-child {
  border-right: none;
  border-radius: 0.375rem 0 0 0.375rem;
}
.input-group__addon:last-child {
  border-left: none;
  border-radius: 0 0.375rem 0.375rem 0;
}

.progress {
  width: 100%;
  background-color: var(--color-bg-muted);
  border-radius: 9999px;
  overflow: hidden;
  height: 0.5rem;
}

.progress-bar {
  height: 100%;
  border-radius: 9999px;
  background-color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5em;
  font-size: 0.7em;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.4s ease;
}

.progress-xs {
  height: 0.25rem;
}

.progress-sm {
  height: 0.375rem;
}

.progress-lg {
  height: 0.875rem;
}

.progress-xl {
  height: 1.25rem;
}

.progress-bar-success {
  background-color: var(--color-success);
}

.progress-bar-warning {
  background-color: var(--color-warning);
}

.progress-bar-danger {
  background-color: var(--color-danger);
}

.progress-bar-info {
  background-color: var(--color-info);
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
  animation: progress-stripes 0.75s linear infinite;
}

.progress-bar-indeterminate {
  width: 40% !important;
  animation: progress-indeterminate 1.4s ease infinite;
}

.progress-stacked {
  width: 100%;
  background-color: var(--color-bg-muted);
  border-radius: 9999px;
  overflow: hidden;
  height: 0.5rem;
  display: flex;
}
.progress-stacked .progress-bar {
  border-radius: 0;
}
.progress-stacked .progress-bar:first-child {
  border-radius: 9999px 0 0 9999px;
}
.progress-stacked .progress-bar:last-child {
  border-radius: 0 9999px 9999px 0;
}

@keyframes progress-stripes {
  from {
    background-position: 1rem 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes progress-indeterminate {
  0% {
    margin-left: -50%;
  }
  100% {
    margin-left: 110%;
  }
}
.tabs__nav {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar {
  display: none;
}

.tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.625em 1.125em;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.tabs__item .material-symbols-outlined {
  font-size: 1.1em;
  line-height: 1;
}
.tabs__item:hover:not(:disabled):not(.is-active) {
  color: var(--color-text);
  border-bottom-color: var(--color-border-strong);
}
.tabs__item.is-active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}
.tabs__item:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
  border-radius: 0.25rem 0.25rem 0 0;
}
.tabs__item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tabs__panel {
  display: none;
  padding: 1.25rem 0;
}
.tabs__panel.is-active {
  display: block;
}

.tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25em;
  height: 1.25em;
  padding: 0 0.35em;
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px;
  background-color: var(--color-bg-muted);
  color: var(--color-text-muted);
}
.is-active .tabs__badge {
  background-color: var(--primary-100);
  color: var(--color-brand);
}

.tabs--pills .tabs__nav {
  border-bottom: none;
  gap: 0.25rem;
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: 0.625rem;
  padding: 0.25rem;
  align-items: center;
}
.tabs--pills .tabs__item {
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: 0.375rem;
  margin-bottom: 0;
  padding: 0.375em 1em;
}
.tabs--pills .tabs__item:hover:not(:disabled):not(.is-active) {
  background-color: var(--color-bg);
  border-color: transparent;
}
.tabs--pills .tabs__item.is-active {
  background-color: var(--color-bg);
  color: var(--color-brand);
  border-color: var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tabs--boxed .tabs__item {
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 0.375rem 0.375rem 0 0;
  margin-bottom: -1px;
  background-color: transparent;
}
.tabs--boxed .tabs__item:hover:not(:disabled):not(.is-active) {
  background-color: var(--color-bg-subtle);
  border-color: var(--color-border);
  border-bottom-color: transparent;
}
.tabs--boxed .tabs__item.is-active {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-border);
  border-bottom-color: var(--color-bg);
}

.tabs--filled .tabs__item {
  border-radius: 0;
}
.tabs--filled .tabs__item.is-active {
  background-color: var(--color-brand);
  color: #fff;
  border-bottom-color: var(--color-brand);
}

.tabs--sm .tabs__item {
  font-size: 0.8rem;
  padding: 0.375em 0.875em;
}

.tabs--lg .tabs__item {
  font-size: 1rem;
  padding: 0.75em 1.375em;
}

.tabs--vertical {
  display: flex;
  gap: 1.5rem;
}
.tabs--vertical .tabs__nav {
  flex-direction: column;
  align-items: stretch;
  border-bottom: none;
  border-right: 1px solid var(--color-border);
  overflow-x: visible;
  overflow-y: auto;
  min-width: 10rem;
}
.tabs--vertical .tabs__item {
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom-width: 0;
  margin-bottom: 0;
  margin-right: -1px;
  border-radius: 0.25rem 0 0 0.25rem;
}
.tabs--vertical .tabs__item:hover:not(:disabled):not(.is-active) {
  border-bottom-color: transparent;
  border-right-color: var(--color-border-strong);
}
.tabs--vertical .tabs__item.is-active {
  background-color: var(--primary-100);
  border-bottom-color: transparent;
  border-right-color: var(--color-brand);
}
.tabs--vertical .tabs__content {
  flex: 1;
}
.tabs--vertical .tabs__panel {
  padding-top: 0;
}

.widget {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  gap: 1rem;
}

.widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.widget__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0;
}

.widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary-100);
  color: var(--color-brand);
  flex-shrink: 0;
}
.widget__icon .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.widget__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.widget__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.widget__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.375rem;
}
.widget__trend .material-symbols-outlined {
  font-size: 1em;
}

.widget__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.widget__stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.widget__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.widget__list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.widget__list-item:first-child {
  padding-top: 0;
}

.widget__trend--up {
  color: var(--color-success);
}

.widget__trend--down {
  color: var(--color-danger);
}

.widget__trend--neutral {
  color: var(--color-text-muted);
}

.widget__icon--success {
  background-color: var(--success-100);
  color: var(--color-success);
}

.widget__icon--warning {
  background-color: var(--warning-100);
  color: var(--color-warning);
}

.widget__icon--danger {
  background-color: var(--danger-100);
  color: var(--color-danger);
}

.widget__icon--info {
  background-color: var(--info-100);
  color: var(--color-info);
}

.widget--accent-primary {
  border-left: 3px solid var(--color-brand);
  padding-left: calc(1.25rem - 3px);
}

.widget--accent-success {
  border-left: 3px solid var(--color-success);
  padding-left: calc(1.25rem - 3px);
}

.widget--accent-warning {
  border-left: 3px solid var(--color-warning);
  padding-left: calc(1.25rem - 3px);
}

.widget--accent-danger {
  border-left: 3px solid var(--color-danger);
  padding-left: calc(1.25rem - 3px);
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.theme-switcher__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}

.theme-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.theme-swatch:hover {
  background: var(--color-bg-subtle);
}
.theme-swatch.is-active {
  border-color: var(--color-border-strong);
  background: var(--color-bg-subtle);
}

.theme-swatch__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.theme-swatch__name {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1;
}

.theme-swatch.is-active .theme-swatch__name {
  color: var(--color-text);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg-subtle);
  padding: 2rem;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 2rem;
  color: var(--gray-800);
}

h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

section {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 240px;
}

/*# sourceMappingURL=main.css.map */
