@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
:root {
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: oklch(var(--background-200));
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  line-height: inherit;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

blockquote,
dl,
dd,
figure,
p,
pre {
  margin: 0;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1em;
}

ol,
ul,
menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

summary {
  display: list-item;
}

table {
  border-color: inherit;
  border-collapse: collapse;
  text-indent: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

button,
[role=button] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: oklch(var(--foreground-400));
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
picture,
video,
canvas {
  max-width: 100%;
}

img,
video {
  height: auto;
}

[hidden] {
  display: none;
}

* {
  scrollbar-width: thin;
  scrollbar-color: oklch(var(--background-300)) transparent;
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-thumb {
  background: oklch(var(--background-300));
  border-radius: 9999px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html,
body,
#app {
  height: 100%;
}

#app {
  display: flex;
  flex-direction: column;
}

body {
  background-color: oklch(var(--background-50));
  font-family: var(--font-body);
  color: oklch(var(--foreground-900));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
[role=button] {
  cursor: pointer;
}

/* 위험 상태 - 빨간 테두리 펄스 글로우 */
@keyframes danger-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(244, 63, 94, 0);
  }
}
.danger-card {
  animation: danger-glow 1.6s ease-in-out infinite;
}

/* 위험 상태 - 점멸 경고 배지 */
@keyframes danger-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
.danger-blink {
  animation: danger-blink 0.8s step-start infinite;
}

/* 위험 상태 - 아바타 주변 펄스 링 */
@keyframes danger-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(244, 63, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}
.danger-ring {
  animation: danger-ring 1.4s ease-out infinite;
}

/* 새로고침(스플래시) 화면 - 바다 물결·버블 애니메이션 */
@keyframes splash-wave-drift {
  0% {
    transform: translateX(-3%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(3%) translateY(-1.6%) rotate(-1.2deg);
  }
  100% {
    transform: translateX(-3%) translateY(0) rotate(0deg);
  }
}
@keyframes splash-bubble {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
  }
  18% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-80vh) scale(1.35);
    opacity: 0;
  }
}
@keyframes splash-halo {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.09);
  }
}
@keyframes splash-ripple {
  0% {
    transform: scale(0.65);
    opacity: 0.45;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}
/* 새로고침(스플래시) v2 - 오로라 블롭 드리프트 */
@keyframes splash-blob-a {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(8%, -6%) scale(1.15);
  }
  66% {
    transform: translate(-6%, 5%) scale(0.92);
  }
}
@keyframes splash-blob-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-9%, 6%) scale(1.1);
  }
  66% {
    transform: translate(7%, -5%) scale(0.95);
  }
}
@keyframes splash-blob-c {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6%, 7%) scale(1.18);
  }
}
/* 로고 주변 회전하는 코닉 링 */
@keyframes splash-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes splash-spin-rev {
  to {
    transform: rotate(-360deg);
  }
}
/* 진행바 위 흐르는 하이라이트 */
@keyframes splash-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
/* 천천히 떠오르는 광점 그리드 */
@keyframes splash-float {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-14px);
    opacity: 1;
  }
}
.ff-action {
  position: absolute;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  width: 1.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--ff-fg-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ff-action:hover {
  background: var(--ff-bg-100);
  color: var(--ff-fg-600);
}
.ff-action > i {
  font-size: 17px;
}

.cbx-clear {
  position: absolute;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  width: 1.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--cbx-fg-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cbx-clear:hover {
  background: var(--cbx-bg-100);
  color: var(--cbx-fg-600);
}
.cbx-clear > i {
  font-size: 17px;
}

.nt-banner-close {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--nt-emerald-700);
  transition: background-color 0.2s ease;
}
.nt-banner-close:hover {
  background: var(--nt-emerald-100);
}
.nt-banner-close > i {
  font-size: 15px;
}

.nt-banner--info .nt-banner-close {
  color: var(--nt-pr-700);
}
.nt-banner--info .nt-banner-close:hover {
  background: var(--nt-pr-100);
}

.so-close {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.so-close:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}
.so-close > i {
  font-size: 19px;
}

.ff-field {
  --ff-bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --ff-bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --ff-bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --ff-fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --ff-fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --ff-fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --ff-fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --ff-pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --ff-pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --ff-pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --ff-rose-400: #fb7185;
  --ff-rose-600: #e11d48;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.375rem;
}

.ff-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ff-fg-600);
}

.ff-req {
  color: var(--ff-pr-500);
  font-weight: 600;
}

.ff-control {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}
.ff-control.has-icon .ff-input {
  padding-left: 2.5rem;
}
.ff-control.has-action .ff-input {
  padding-right: 2.5rem;
}
.ff-control.has-suffix .ff-input {
  padding-right: 2.5rem;
}

.ff-icon {
  position: absolute;
  left: 0.75rem;
  pointer-events: none;
  font-size: 16px;
  color: var(--ff-fg-400);
}

.ff-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--ff-bg-200);
  background: var(--ff-bg-50);
  padding: 0.5rem 0.75rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--ff-fg-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ff-input.ff-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.25rem;
}
.ff-input--warning {
  color: #ea580c;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ff-input--danger {
  color: #e11d48;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ff-input::placeholder {
  color: var(--ff-fg-400);
}
.ff-input:focus {
  border-color: var(--ff-pr-400);
  outline: none;
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.3);
}
.ff-input:disabled {
  background: var(--ff-bg-100);
  color: var(--ff-fg-400);
  cursor: not-allowed;
}
.ff-input.is-error {
  border-color: var(--ff-rose-400);
}
.ff-input.is-error:focus {
  border-color: var(--ff-rose-400);
  box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.28);
}

.ff-arrow {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  font-size: 17px;
  color: var(--ff-fg-400);
}

.ff-unit {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  font-size: 13px;
  color: var(--ff-fg-500);
}

.ff-msg {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 12px;
  line-height: 1.4;
  animation: ff-msg-in 0.18s ease;
}
.ff-msg > i {
  flex-shrink: 0;
  font-size: 14px;
}
.ff-msg--hint {
  color: var(--ff-fg-400);
}

.validation-message {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ff-rose-600, #e11d48);
  animation: ff-msg-in 0.18s ease;
}
.validation-message::before {
  content: "\eca1";
  flex-shrink: 0;
  font-family: remixicon;
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

@keyframes ff-msg-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ff-notice {
  --ff-rose-400: #fb7185;
  --ff-rose-600: #e11d48;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--ff-rose-400);
  background: #fff1f2;
  padding: 0.625rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--ff-rose-600);
}
.ff-notice > i {
  flex-shrink: 0;
  font-size: 16px;
}

.cbx {
  --cbx-bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --cbx-bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --cbx-bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --cbx-fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --cbx-fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --cbx-fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --cbx-fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --cbx-pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --cbx-pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --cbx-pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --cbx-pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --cbx-rose-400: #fb7185;
  --cbx-rose-600: #e11d48;
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.375rem;
}

.cbx-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--cbx-fg-600);
}

.cbx-control {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.cbx-search-icon {
  position: absolute;
  left: 0.75rem;
  pointer-events: none;
  font-size: 16px;
  color: var(--cbx-fg-400);
}

.cbx-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--cbx-bg-200);
  background: var(--cbx-bg-50);
  padding: 0.5rem 2.25rem 0.5rem 2.5rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--cbx-fg-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cbx-input::placeholder {
  color: var(--cbx-fg-400);
}
.cbx-input:focus {
  border-color: var(--cbx-pr-400);
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.3);
}
.cbx-input:disabled {
  background: var(--cbx-bg-100);
  color: var(--cbx-fg-400);
  cursor: not-allowed;
}
.cbx-input.is-error {
  border-color: var(--cbx-rose-400);
}

.cbx-caret {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  font-size: 17px;
  color: var(--cbx-fg-400);
  transition: transform 0.2s ease;
}
.cbx-caret.is-open {
  transform: rotate(180deg);
}

.cbx-panel {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 30;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--cbx-bg-200);
  background: var(--cbx-bg-50);
  animation: cbx-in 0.16s ease;
}

.cbx-list {
  margin: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.25rem;
  list-style: none;
}

.cbx-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0.4375rem 0.5rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.cbx-option:hover {
  background: var(--cbx-bg-100);
}
.cbx-option.is-selected {
  background: var(--cbx-pr-50);
}
.cbx-option.is-active {
  background: var(--cbx-bg-100);
}

.cbx-list:hover .cbx-option.is-active:not(:hover):not(.is-selected) {
  background: transparent;
}

.cbx-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: var(--cbx-bg-100);
  color: var(--cbx-fg-500);
}
.cbx-option-icon > i {
  font-size: 14px;
}

.cbx-option-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 18px;
  color: var(--cbx-fg-900);
}

.cbx-option-meta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.cbx-option-check {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--cbx-pr-400);
}

.cbx-empty {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: var(--cbx-fg-400);
}

.cbx-footer {
  border-top: 1px solid var(--cbx-bg-200);
  background: var(--cbx-bg-100);
  padding: 0.3125rem 0.625rem;
  font-size: 11px;
  line-height: 15px;
  color: var(--cbx-fg-500);
}

.cbx-msg {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 12px;
  line-height: 1.4;
}
.cbx-msg > i {
  flex-shrink: 0;
  font-size: 14px;
}
.cbx-msg--error {
  color: var(--cbx-rose-600);
}
.cbx-msg--hint {
  color: var(--cbx-fg-400);
}

@keyframes cbx-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.so-root {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.so-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: oklch(var(--foreground-950, 0.14 0.014 90)/0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}
.so-backdrop.is-shown {
  opacity: 1;
}

.so-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  background: oklch(var(--background-50, 0.985 0.003 90));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  will-change: transform;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.so-panel.is-shown {
  transform: translateX(0);
}

.so-w-sm {
  max-width: 24rem;
}

.so-w-md {
  max-width: 28rem;
}

.so-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  padding: 1rem 1.25rem;
}

.so-head-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
}

.so-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: oklch(var(--primary-100, 0.93 0.035 250));
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.so-icon > i {
  font-size: 19px;
}

.so-title-wrap {
  min-width: 0;
}

.so-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.so-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.so-body {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem;
}

.so-pad {
  padding: 1.25rem;
}

.so-footer {
  border-top: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  padding: 1rem 1.25rem;
}

.nt-banner {
  --nt-emerald-50: #ecfdf5;
  --nt-emerald-100: #d1fae5;
  --nt-emerald-200: #a7f3d0;
  --nt-emerald-700: #047857;
  --nt-emerald-800: #065f46;
  --nt-pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --nt-pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --nt-pr-200: oklch(var(--primary-200, 0.86 0.06 250));
  --nt-pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--nt-emerald-200);
  background: var(--nt-emerald-50);
  padding: 0.5rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--nt-emerald-700);
  animation: nt-banner-in 0.22s ease;
}

.nt-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nt-emerald-800);
}
.nt-banner-text > i {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--nt-emerald-700);
}

.nt-banner--info {
  border-color: var(--nt-pr-200);
  background: var(--nt-pr-50);
  color: var(--nt-pr-700);
}
.nt-banner--info .nt-banner-text {
  color: var(--nt-pr-700);
}
.nt-banner--info .nt-banner-text > i {
  color: var(--nt-pr-700);
}

@keyframes nt-banner-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dt-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.dt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dt-th {
  white-space: nowrap;
  border-top: 1px solid var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  border-bottom: 1px solid var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  padding: 0.75rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
}

.dt-row {
  border-bottom: 1px solid var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
  transition: background-color 0.2s ease;
}
.dt-row:hover {
  background: oklch(var(--background-100, 0.962 0.004 90)/0.6);
}

.dt-td {
  padding: 0.75rem 0.875rem;
}

.dt-num {
  font-size: 13px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
}

.dt-muted {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-600, oklch(var(--foreground-600, 0.44 0.006 90)));
}

.dt-num-soft {
  font-size: 13px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-600, oklch(var(--foreground-600, 0.44 0.006 90)));
}

.dt-text {
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-700, oklch(var(--foreground-700, 0.35 0.008 90)));
}

.dt-strong {
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--fg-900, oklch(var(--foreground-900, 0.2 0.012 90)));
}
.dt-strong > strong {
  font-weight: 500;
  color: var(--fg-900, oklch(var(--foreground-900, 0.2 0.012 90)));
}

.dt-mono {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-800, oklch(var(--foreground-800, 0.27 0.01 90)));
}

.dt-mono-soft {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-600, oklch(var(--foreground-600, 0.44 0.006 90)));
}

.dt-unassigned {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400, oklch(var(--foreground-400, 0.68 0.006 90)));
}

.dt-cell-msg {
  max-width: 320px;
}
.dt-cell-msg > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-600, oklch(var(--foreground-600, 0.44 0.006 90)));
}

.dt-cell-name {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.dt-avatar {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  object-fit: cover;
}

.dt-avatar-fallback {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
}

.dt-name {
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--fg-900, oklch(var(--foreground-900, 0.2 0.012 90)));
}

.dt-cell-assign {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dt-cell-icon {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
}

.dt-cell-empty {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400, oklch(var(--foreground-400, 0.68 0.006 90)));
}

.dt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 12px;
  font-weight: 600;
}
.dt-badge > i {
  font-size: 14px;
}

.dt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.dt-status > i {
  font-size: 15px;
}

.dt-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dt-btn-edit {
  display: inline-flex;
  height: 1.75rem;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  background: var(--pr-50, oklch(var(--primary-50, 0.97 0.015 250)));
  padding: 0 0.625rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--pr-700, oklch(var(--primary-700, 0.4 0.1 249)));
  transition: background-color 0.2s ease;
}
.dt-btn-edit:hover {
  background: var(--pr-100, oklch(var(--primary-100, 0.93 0.035 250)));
}
.dt-btn-edit--reassign {
  background: var(--ac-100, oklch(var(--accent-100, 0.95 0.07 80)));
  color: var(--ac-700, oklch(var(--accent-700, 0.5 0.12 70)));
}
.dt-btn-edit--reassign:hover {
  background: oklch(var(--accent-200, 0.9 0.11 78));
}

.dt-btn-del {
  display: inline-flex;
  height: 1.75rem;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-400, oklch(var(--foreground-400, 0.68 0.006 90)));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dt-btn-del:hover {
  background: var(--rose-50, #fff1f2);
  color: var(--rose-500, #f43f5e);
}

.dt-btn-ghost {
  display: inline-flex;
  height: 1.75rem;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dt-btn-ghost:hover {
  background: var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
  color: var(--fg-800, oklch(var(--foreground-800, 0.27 0.01 90)));
}

.dt-empty {
  padding: 3rem 1rem;
  text-align: center;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-400, oklch(var(--foreground-400, 0.68 0.006 90)));
}

.dt-empty-cell {
  padding: 0;
  border-bottom: 0;
}

.ts-viewport {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(22rem, 100vw - 2rem);
  pointer-events: none;
}
@media (min-width: 768px) {
  .ts-viewport {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

.ts-toast {
  --ts-accent: #10b981;
  --ts-accent-soft: #ecfdf5;
  --ts-accent-strong: #065f46;
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 0.75rem 0.875rem 0.75rem 1rem;
  animation: ts-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ts-toast.is-leaving {
  animation: ts-out 0.22s ease forwards;
}
.ts-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ts-accent);
}

.ts-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
  background: var(--ts-accent-soft);
  color: var(--ts-accent-strong);
}
.ts-icon > i {
  font-size: 18px;
}

.ts-content {
  flex: 1 1 0%;
  min-width: 0;
  padding-top: 0.0625rem;
}

.ts-message {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.ts-desc {
  margin-top: 0.125rem;
  font-size: 12px;
  line-height: 17px;
  color: oklch(var(--foreground-500, 0.56 0.005 90));
}

.ts-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 1.25rem;
  width: 1.25rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: oklch(var(--foreground-300, 0.8 0.008 90));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ts-close > i {
  font-size: 15px;
}
.ts-close:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
  color: oklch(var(--foreground-700, 0.35 0.008 90));
}

.ts-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  background: var(--ts-accent);
  animation-name: ts-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.ts-toast--success {
  --ts-accent: #10b981;
  --ts-accent-soft: #ecfdf5;
  --ts-accent-strong: #065f46;
}

.ts-toast--error {
  --ts-accent: #f43f5e;
  --ts-accent-soft: #fff1f2;
  --ts-accent-strong: #be123c;
}

.ts-toast--warning {
  --ts-accent: #f59e0b;
  --ts-accent-soft: #fffbeb;
  --ts-accent-strong: #b45309;
}

.ts-toast--info {
  --ts-accent: oklch(var(--primary-500, 0.55 0.14 250));
  --ts-accent-soft: oklch(var(--primary-50, 0.97 0.015 250));
  --ts-accent-strong: oklch(var(--primary-700, 0.4 0.1 249));
}

@keyframes ts-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes ts-out {
  to {
    opacity: 0;
    transform: translateX(14px);
  }
}
@keyframes ts-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ts-toast {
    animation: none;
  }
  .ts-progress {
    display: none;
  }
}
.sp-ico {
  display: inline-block;
  animation: sp-rotate 0.8s linear infinite;
}

@keyframes sp-rotate {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-ico {
    animation-duration: 1.6s;
  }
}
.pager {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.pager-nav {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--fg-500, oklch(var(--foreground-500, 0.56 0.005 90)));
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pager-nav > i {
  font-size: 19px;
}
.pager-nav:hover:not([aria-disabled=true]) {
  background: var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
}
.pager-nav[aria-disabled=true] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.pager-num {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--fg-600, oklch(var(--foreground-600, 0.44 0.006 90)));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pager-num:hover {
  background: var(--bg-100, oklch(var(--background-100, 0.962 0.004 90)));
}
.pager-num.is-active {
  background: var(--pr-500, oklch(var(--primary-500, 0.55 0.14 250)));
  color: var(--bg-50, oklch(var(--background-50, 0.985 0.003 90)));
}

@keyframes sk-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes sk-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sk-table tbody td {
  color: transparent;
}
.sk-table td::after {
  content: "";
  display: block;
  height: 0.75rem;
  width: var(--sk-w, 58%);
  border-radius: 0.375rem;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-table td.sk-c-number::after {
  width: var(--sk-w, 34%);
}
.sk-table td.sk-c-badge::after {
  height: 1.375rem;
  width: var(--sk-w, 4.5rem);
}
.sk-table td.sk-c-avatar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.sk-table td.sk-c-avatar::before {
  content: "";
  flex-shrink: 0;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-table td.sk-c-avatar::after {
  width: var(--sk-w, 44%);
}
.sk-table td.sk-c-action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.sk-table td.sk-c-action::before, .sk-table td.sk-c-action::after {
  content: "";
  height: 1.75rem;
  width: 3rem;
  border-radius: 0.375rem;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}

.sk-row {
  animation: sk-fade-in 0.3s ease both;
}
.sk-row td::after {
  content: "";
  display: block;
  height: 0.75rem;
  width: var(--sk-w, 58%);
  border-radius: 0.375rem;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-row td.sk-c-number::after {
  width: var(--sk-w, 34%);
}
.sk-row td.sk-c-badge::after {
  height: 1.375rem;
  width: var(--sk-w, 4.5rem);
}
.sk-row td.sk-c-avatar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.sk-row td.sk-c-avatar::before {
  content: "";
  flex-shrink: 0;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-row td.sk-c-avatar::after {
  width: var(--sk-w, 44%);
}
.sk-row td.sk-c-action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.sk-row td.sk-c-action::before, .sk-row td.sk-c-action::after {
  content: "";
  height: 1.75rem;
  width: 3rem;
  border-radius: 0.375rem;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}

.sk-c {
  padding: 0.75rem 0.875rem;
}

.sk-line,
.sk-chip,
.sk-circle,
.sk-btn {
  display: block;
  background-color: var(--bg-200, oklch(var(--background-200, 0.921 0.007 90)));
  background-image: linear-gradient(90deg, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 25%, var(--bg-100, oklch(var(--background-100, 0.962 0.004 90))) 50%, var(--bg-200, oklch(var(--background-200, 0.921 0.007 90))) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}

.sk-line {
  height: 0.75rem;
  border-radius: 0.375rem;
}

.sk-circle {
  flex-shrink: 0;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
}

.sk-chip {
  height: 1.375rem;
  border-radius: 0.375rem;
}

.sk-btn {
  height: 1.75rem;
  width: 3rem;
  border-radius: 0.375rem;
}

@media (prefers-reduced-motion: reduce) {
  .sk-table td::before,
  .sk-table td::after,
  .sk-row td::before,
  .sk-row td::after,
  .sk-line,
  .sk-circle,
  .sk-chip,
  .sk-btn {
    animation: none;
    background-image: none;
  }
  .sk-row {
    animation: none;
  }
}
.nav-header {
  --nv-950: oklch(var(--blue-950, 0.21 0.06 248));
  --nv-900: oklch(var(--blue-900, 0.27 0.06 248));
  --nv-800: oklch(var(--blue-800, 0.33 0.07 248));
  --nv-700: oklch(var(--blue-700, 0.4 0.08 248));
  --nv-200: oklch(var(--blue-200, 0.87 0.04 250));
  --nv-100: oklch(var(--blue-100, 0.93 0.02 250));
  --nv-bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --nv-em-400: #34d399;
  position: sticky;
  top: 0;
  z-index: 30;
  background-image: linear-gradient(to right, var(--nv-950), var(--nv-900), var(--nv-950));
}

.nav-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .nav-inner {
    padding: 0 1.5rem;
  }
}

.nav-logo-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: none;
  padding: 0;
}

.nav-logo {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-sep {
  margin: 0 0.375rem;
  height: 2rem;
  width: 1px;
  background: oklch(var(--blue-700, 0.4 0.08 248)/0.6);
}

.nav-pill-ico {
  font-size: 19px;
  line-height: 30px;
}

.nav-ico-lg {
  font-size: 19px;
  line-height: 30px;
}

.nav-ico-xl {
  font-size: 21px;
  line-height: 30px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-live {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.25rem;
  border-radius: 8px;
  background: oklch(var(--blue-800, 0.33 0.07 248)/0.5);
  padding: 0.5rem 0.75rem;
}
@media (min-width: 768px) {
  .nav-live {
    display: flex;
  }
}

.nav-live-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}

.nav-live-ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: var(--nv-em-400);
  opacity: 0.75;
  animation: nv-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.nav-live-core {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: var(--nv-em-400);
}

.nav-live-text {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--nv-100);
}

.nav-icon-btn {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--nv-200);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-icon-btn:hover {
  background: oklch(var(--blue-800, 0.33 0.07 248)/0.5);
  color: var(--nv-bg-50);
}

.nav-burger {
  display: flex;
}
@media (min-width: 1024px) {
  .nav-burger {
    display: none;
  }
}

.nav-mobile {
  border-top: 1px solid oklch(var(--blue-800, 0.33 0.07 248));
  padding: 0.5rem 1rem 1rem;
}
@media (min-width: 1024px) {
  .nav-mobile {
    display: none;
  }
}

@keyframes nv-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.nav-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  white-space: nowrap;
  min-width: 5.5rem;
  border-radius: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #bfdbfe;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #bfdbfe;
  transition: all 200ms ease;
}

.nav-pill:not(.active):hover,
.nav-row:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.nav-pill:not(.active):hover i,
.nav-pill:not(.active):hover span,
.nav-row:not(.active):hover i,
.nav-row:not(.active):hover span {
  color: #ffffff;
}
.nav-pill.active,
.nav-row.active {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.nav-pill.active i,
.nav-pill.active span,
.nav-row.active i,
.nav-row.active span {
  color: #ffffff;
}

.home-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --bg-950: oklch(var(--background-950, 0.21 0.01 80));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --fg-950: oklch(var(--foreground-950, 0.14 0.014 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-200: oklch(var(--primary-200, 0.87 0.06 250));
  --pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --pr-900: oklch(var(--primary-900, 0.27 0.07 249));
  --ac-50: oklch(var(--accent-50, 0.975 0.04 80));
  --ac-100: oklch(var(--accent-100, 0.95 0.07 80));
  --ac-300: oklch(var(--accent-300, 0.9 0.1 78));
  --ac-500: oklch(var(--accent-500, 0.68 0.16 72));
  --ac-700: oklch(var(--accent-700, 0.5 0.12 70));
  --sc-500: oklch(var(--secondary-500, 0.56 0.012 90));
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --em-100: #d1fae5;
  --em-500: #10b981;
  --em-700: #047857;
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-50);
}

@keyframes hm-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.anim-pulse {
  animation: hm-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hm-danger-ring {
  position: absolute;
  inset: -0.25rem;
  border-radius: 9999px;
  animation: danger-ring 1.4s ease-out infinite;
}

.wl-clear > i {
  font-size: 15px;
}

.home-body {
  display: flex;
  min-height: 0;
  flex: 1 1 0%;
}

.home-sidebar {
  width: 100%;
  border-right: 1px solid var(--bg-200);
}
@media (min-width: 768px) {
  .home-sidebar {
    width: 340px;
  }
}
@media (min-width: 1024px) {
  .home-sidebar {
    width: 380px;
  }
}

.home-map-wrap {
  display: none;
  min-width: 0;
  flex: 1 1 0%;
}
@media (min-width: 768px) {
  .home-map-wrap {
    display: block;
  }
}

.st-badge {
  white-space: nowrap;
  border-radius: 6px;
  padding: 0.125rem 0.375rem;
  font-size: 11px;
  font-weight: 600;
}

.st-safe {
  background: var(--em-100);
  color: var(--em-700);
}

.st-warn {
  background: var(--ac-100);
  color: var(--ac-700);
}

.st-danger {
  background: var(--rose-600);
  color: var(--bg-50);
}

.st-dot-safe {
  background: var(--em-500);
}

.st-dot-warn {
  background: var(--ac-500);
}

.st-dot-danger {
  background: var(--rose-500);
}

.wl-card.safe .st-badge {
  background: var(--em-100);
  color: var(--em-700);
}
.wl-card.safe .wl-status-dot {
  background: var(--em-500);
}
.wl-card.warn .st-badge {
  background: var(--ac-100);
  color: var(--ac-700);
}
.wl-card.warn .wl-status-dot {
  background: var(--ac-500);
}
.wl-card.danger .st-badge {
  background: var(--rose-600);
  color: var(--bg-50);
  animation: danger-blink 0.8s step-start infinite;
}
.wl-card.danger .wl-status-dot {
  background: var(--rose-500);
}

.wl-root {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  border-right: 1px solid var(--bg-200);
  background: var(--bg-50);
}

.wl-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--bg-200);
  padding: 1.25rem 1rem;
}
@media (min-width: 768px) {
  .wl-head {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.wl-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-sub {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.wl-head-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wl-head-top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wl-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0 0.75rem;
}
.wl-search > i {
  font-size: 17px;
  color: var(--fg-400);
}
.wl-search:focus-within {
  border-color: var(--pr-300);
}

.wl-input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-800);
}
.wl-input:focus {
  outline: none;
}
.wl-input::placeholder {
  color: var(--fg-400);
}

.wl-clear {
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--fg-400);
}
.wl-clear:hover {
  background: var(--bg-200);
  color: var(--fg-600);
}

.wl-count-stat {
  display: inline-flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 0.05rem;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid var(--pr-200);
  background: var(--pr-50);
  padding: 0.3rem 0.6rem;
}

.wl-count-num {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--pr-700);
}

.wl-count-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--pr-500);
}

.wl-list {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  padding: 0 1rem 1rem;
}
@media (min-width: 768px) {
  .wl-list {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.wl-card {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.875rem;
  transition: border-color 0.28s ease, background-color 0.28s ease;
  cursor: pointer;
}
.wl-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 9999px 9999px 0;
  background: var(--pr-500);
  opacity: 0;
  transform: translateY(-50%);
  transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}
.wl-card.is-danger {
  border-color: var(--rose-500);
}
.wl-card.is-danger:not(.is-selected):hover {
  border-color: var(--rose-400);
}
.wl-card:not(.is-selected):not(.is-danger):hover {
  border-color: var(--bg-300);
  background: var(--bg-100);
}
.wl-card.is-selected {
  border-color: var(--pr-300);
  background: linear-gradient(92deg, var(--pr-50) 0%, var(--bg-50) 62%);
}
.wl-card.is-selected::before {
  height: 62%;
  opacity: 1;
}
.wl-card.is-selected.is-danger {
  border-color: var(--rose-400);
  background: linear-gradient(92deg, var(--rose-50) 0%, var(--bg-50) 62%);
}
.wl-card.is-selected.is-danger::before {
  height: 0;
  opacity: 0;
}

.wl-danger-bar {
  position: absolute;
  left: 0;
  top: 50%;
  height: 62%;
  width: 3px;
  border-radius: 0 9999px 9999px 0;
  background: var(--rose-500);
  transform: translateY(-50%);
}

.wl-card-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.wl-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.wl-avatar {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
}
.wl-avatar.is-danger {
  box-shadow: 0 0 0 2px var(--rose-500);
}

.wl-status-dot {
  position: absolute;
  bottom: -0.125rem;
  right: -0.125rem;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  border: 2px solid var(--bg-50);
}

.wl-info {
  min-width: 0;
  flex: 1 1 0%;
}

.wl-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wl-name-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wl-name {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}
.wl-name.is-danger {
  color: var(--rose-600);
}

.wl-updated {
  white-space: nowrap;
  font-size: 12px;
  color: var(--fg-400);
}

.wl-loc {
  margin-top: 0.125rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-500);
}
.wl-loc > i {
  color: var(--pr-400);
}

.wl-loc-sep {
  color: var(--fg-300);
}

.wl-mini-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.375rem;
}

.wl-mini {
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  background: var(--bg-100);
}
.wl-mini.is-danger {
  background: var(--rose-50);
  box-shadow: 0 0 0 1px var(--rose-200);
}

.wl-mini-label {
  font-size: 11px;
  color: var(--fg-400);
}

.wl-mini-value {
  margin-top: 0.125rem;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-800);
}
.wl-mini-value.is-danger {
  color: var(--rose-600);
}

.wl-mini-unit {
  margin-left: 0.125rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-400);
}

.wl-actions {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.wl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid var(--bg-200);
  background: transparent;
  padding: 0.5rem 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-600);
  transition: all 0.2s ease;
}
.wl-btn > i {
  font-size: 15px;
}
.wl-btn.is-danger {
  border-color: var(--rose-300);
  background: var(--rose-50);
  color: var(--rose-600);
}
.wl-btn.is-danger:hover {
  background: var(--rose-100);
}
.wl-btn.js-bio:not(.is-danger):hover {
  border-color: var(--pr-300);
  background: var(--pr-50);
  color: var(--pr-700);
}
.wl-btn.js-history:hover {
  border-color: var(--ac-300);
  background: var(--ac-50);
  color: var(--ac-700);
}
.wl-btn.js-track:hover {
  border-color: var(--pr-300);
  background: var(--pr-50);
  color: var(--pr-700);
}

.wl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  border: 1px dashed var(--bg-300);
  padding: 3rem 0;
  text-align: center;
}
.wl-empty > i {
  font-size: 31px;
  line-height: 38px;
  color: var(--fg-300);
}

.wl-empty-text {
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-400);
}

.mp-root {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg-200);
}

.mp-frame {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

.mp-legend {
  pointer-events: auto;
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.375rem 0.5rem;
}

.mp-chip {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
}
.mp-chip.is-emerald .mp-chip-dot {
  background: var(--em-500);
}
.mp-chip.is-emerald .mp-chip-text {
  color: var(--em-700);
}
.mp-chip.is-accent .mp-chip-dot {
  background: var(--ac-500);
}
.mp-chip.is-accent .mp-chip-text {
  color: var(--ac-700);
}
.mp-chip.is-rose .mp-chip-dot {
  background: var(--rose-500);
}
.mp-chip.is-rose .mp-chip-text {
  color: var(--rose-700);
}
.mp-chip.is-active {
  background: var(--rose-600);
}
.mp-chip.is-active .mp-chip-dot {
  background: var(--bg-50);
}
.mp-chip.is-active .mp-chip-text {
  color: var(--bg-50);
}

.mp-chip-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
}

.mp-chip-text {
  font-size: 11px;
  font-weight: 600;
}

.mp-alert {
  position: absolute;
  left: 50%;
  top: 1rem;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 12px;
  border: 1px solid var(--rose-500);
  background: var(--rose-600);
  padding: 0.625rem 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.mp-alert-icon {
  font-size: 17px;
  color: var(--bg-50);
}

.mp-alert-body {
  line-height: 1.25;
}

.mp-alert-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--bg-50);
}

.mp-alert-sub {
  font-size: 11px;
  color: var(--rose-100);
}

.mp-alert-badge {
  margin-left: 0.25rem;
  white-space: nowrap;
  border-radius: 6px;
  background: oklch(var(--background-50, 0.985 0.003 90)/0.2);
  padding: 0.25rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--bg-50);
}

.mp-marker {
  pointer-events: auto;
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transform-origin: bottom center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --marker-color: var(--fg-400);
}
.mp-marker.is-safe {
  --marker-color: var(--em-500);
}
.mp-marker.is-warning {
  --marker-color: var(--ac-500);
}
.mp-marker.is-danger {
  --marker-color: var(--rose-500);
}
.mp-marker:hover {
  transform: translate(-50%, -100%) translateY(-3px);
}
.mp-marker.is-selected {
  z-index: 3;
  transform: translate(-50%, -100%) translateY(-4px) scale(1.07);
}
.mp-marker.is-selected .mp-marker-head {
  box-shadow: 0 0 0 2px var(--bg-50), 0 0 0 4px var(--marker-color);
}
.mp-marker.is-selected .mp-marker-ring {
  display: none;
}

.mp-marker-head {
  position: relative;
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 3px solid var(--marker-color);
  background: var(--bg-50);
}

.mp-marker-img {
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  object-fit: cover;
}

.mp-marker-tail {
  width: 0;
  height: 0;
  margin-top: -1px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid var(--marker-color);
}

.mp-marker-ring {
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  border: 2px solid var(--rose-500);
  animation: mp-marker-ring 1.5s ease-out infinite;
}

.mp-marker-label {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  border-radius: 7px;
  background: var(--fg-950);
  color: var(--bg-50);
  padding: 0.1875rem 0.55rem;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mp-marker:hover .mp-marker-label,
.mp-marker.is-selected .mp-marker-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes mp-marker-ring {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.sl-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.sl-overlay.is-open {
  visibility: visible;
  opacity: 1;
}
.sl-overlay.is-open .sl-panel {
  transform: translateX(0);
}

.sl-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(var(--foreground-950, 0.14 0.014 90)/0.3);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.sl-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
  background: var(--bg-50);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  will-change: transform;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.wib-root {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-bottom: 1px solid var(--bg-200);
  padding: 1rem 1.25rem;
}

.wib-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.wib-avatar {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--bg-200);
}
.wib-avatar.is-danger {
  box-shadow: 0 0 0 2px var(--rose-500);
}

.wib-body {
  min-width: 0;
  flex: 1 1 0%;
  line-height: 1.25;
}

.wib-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wib-name {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  color: var(--fg-900);
}

.wib-loc {
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-500);
}
.wib-loc > i {
  margin-right: 0.25rem;
  font-size: 17px;
  color: var(--pr-400);
}

.ph-root {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-200);
  padding: 1rem 1.25rem;
}

.ph-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ph-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--pr-100);
  color: var(--pr-700);
}
.ph-icon > i {
  font-size: 19px;
}

.ph-titles {
  line-height: 1.25;
}

.ph-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  color: var(--fg-900);
}

.ph-sub {
  font-size: 12px;
  color: var(--fg-400);
}

.ph-close {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-500);
  transition: all 0.2s ease;
}
.ph-close > i {
  font-size: 21px;
}
.ph-close:hover {
  background: var(--bg-100);
  color: var(--fg-800);
}

.mc-root {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: 8px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.625rem;
}
.mc-root.tone-primary .mc-icon {
  background: var(--pr-100);
  color: var(--pr-700);
}
.mc-root.tone-accent .mc-icon {
  background: var(--ac-100);
  color: var(--ac-700);
}
.mc-root.tone-danger .mc-icon {
  background: var(--rose-100);
  color: var(--rose-600);
}

.mc-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-400);
}

.mc-icon {
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-100);
  color: var(--fg-500);
}
.mc-icon > i {
  font-size: 13px;
}

.mc-value {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-800);
}

.mc-unit {
  margin-left: 0.125rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-400);
}

.bc-root {
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.875rem;
}
.bc-root.t-danger .bc-chip {
  background: var(--rose-100);
  color: var(--rose-600);
}
.bc-root.t-danger .bc-value {
  color: var(--rose-600);
}
.bc-root.t-accent .bc-chip {
  background: var(--ac-100);
  color: var(--ac-700);
}
.bc-root.t-accent .bc-value {
  color: var(--ac-700);
}
.bc-root.t-primary .bc-chip {
  background: var(--pr-100);
  color: var(--pr-700);
}
.bc-root.t-primary .bc-value {
  color: var(--pr-700);
}

.bc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bc-head-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bc-chip {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.bc-chip > i {
  font-size: 15px;
}

.bc-titles {
  line-height: 1.25;
}

.bc-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-800);
}

.bc-sub {
  font-size: 11px;
  color: var(--fg-400);
}

.bc-head-right {
  text-align: right;
  line-height: 1.25;
}

.bc-value {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bc-unit {
  margin-left: 0.125rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-400);
}

.bc-range {
  font-size: 11px;
  color: var(--fg-400);
}

.bc-chart {
  margin-top: 0.75rem;
  width: 100%;
}
.bc-chart .apexcharts-canvas {
  margin: 0 auto;
}
.bc-chart .apexcharts-tooltip {
  border: 1px solid var(--bg-200);
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
}
.bc-chart .apexcharts-xaxistooltip {
  display: none;
}

.wd-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0.875rem 1.25rem 0;
  padding: 0.25rem;
  border-radius: 9999px;
  background: var(--bg-100);
}

.wd-tab {
  display: inline-flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0.5rem 0.25rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-500);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.wd-tab > i {
  font-size: 16px;
}
.wd-tab:hover {
  color: var(--fg-800);
}
.wd-tab.is-active {
  background: var(--bg-50);
  color: var(--pr-600);
}

.wd-body {
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  padding: 1.25rem;
}

@keyframes wdPaneIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wd-pane {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}
.wd-pane.is-active {
  display: flex;
  animation: wdPaneIn 0.3s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .wd-pane.is-active {
    animation: none;
  }
}
.wd-danger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--rose-500);
  background: var(--rose-600);
  padding: 0.75rem 1rem;
}

.wd-danger-icon {
  font-size: 21px;
  color: var(--bg-50);
}

.wd-danger-body {
  flex: 1 1 0%;
  line-height: 1.25;
}

.wd-danger-title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: var(--bg-50);
}

.wd-danger-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--rose-100);
}

.wd-danger-badge {
  white-space: nowrap;
  border-radius: 6px;
  background: oklch(var(--background-50, 0.985 0.003 90)/0.2);
  padding: 0.25rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--bg-50);
}

.wd-live {
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: oklch(var(--background-100, 0.962 0.004 90)/0.6);
  padding: 1rem;
}

.wd-live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wd-live-label {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.wd-live-value {
  margin-top: 0.125rem;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}

.wd-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 8px;
  background: var(--pr-100);
  padding: 0.25rem 0.625rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--pr-700);
}

.wd-live-dot {
  display: inline-block;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: var(--pr-500);
}

.wd-section-title {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}
.wd-section-title > i {
  font-size: 17px;
  color: var(--pr-500);
}

.wd-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wd-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wd-empty {
  border-radius: 12px;
  border: 1px dashed var(--bg-300);
  padding: 2.5rem 0;
  text-align: center;
}
.wd-empty > i {
  font-size: 25px;
  color: var(--fg-300);
}

.wd-empty-text {
  margin-top: 0.25rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-400);
}

.wd-empty2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  border: 1px dashed var(--bg-300);
  background: oklch(var(--background-100, 0.962 0.004 90)/0.55);
  padding: 2.25rem 1.25rem;
  text-align: center;
}
.wd-empty2.is-compact {
  padding: 1.5rem 1rem;
}

.wd-empty2-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--bg-200);
  color: var(--fg-400);
}
.wd-empty2-icon > i {
  font-size: 24px;
}

.wd-empty2-title {
  margin-top: 0.75rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-700);
}

.wd-empty2-desc {
  margin-top: 0.25rem;
  max-width: 20rem;
  font-size: 13px;
  line-height: 19px;
  color: var(--fg-400);
}

.wd-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--bg-200);
  padding: 1rem 1.25rem;
}

.wd-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid var(--bg-200);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--fg-600);
  transition: all 0.2s ease;
}
.wd-btn-outline > i {
  font-size: 17px;
}
.wd-btn-outline:hover {
  border-color: var(--rose-300);
  background: var(--rose-50);
  color: var(--rose-600);
}

.wd-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  background: var(--pr-500);
  padding: 0.75rem 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--bg-50);
  transition: background-color 0.2s ease;
}
.wd-btn-primary > i {
  font-size: 17px;
}
.wd-btn-primary:hover {
  background: var(--pr-600);
}
.wd-btn-primary:disabled {
  background: var(--bg-200);
  color: var(--fg-400);
  pointer-events: none;
}

.wd-tip {
  position: relative;
  display: block;
  cursor: not-allowed;
}
.wd-tip > .wd-btn-primary {
  width: 100%;
}
.wd-tip::before, .wd-tip::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.wd-tip::before {
  content: "";
  bottom: calc(100% + 3px);
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--fg-900);
  z-index: 11;
}
.wd-tip::after {
  content: attr(data-tip);
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  z-index: 12;
  white-space: nowrap;
  border-radius: 6px;
  background: var(--fg-900);
  padding: 0.375rem 0.625rem;
  font-size: 12px;
  line-height: 1.25;
  color: var(--bg-50);
}
.wd-tip:hover::before, .wd-tip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hv-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hv-summary {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.25rem 0.875rem;
}

.hv-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
}
.hv-summary-row + .hv-summary-row {
  border-top: 1px solid var(--bg-100);
}

.hv-summary-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-500);
}
.hv-summary-label > i {
  font-size: 15px;
  color: var(--fg-400);
}

.hv-summary-value {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}

.hv-summary-unit {
  margin-left: 0.125rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-400);
}

.hv-logs {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.logc-root {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
}

.logc-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.625rem 0.875rem;
}

.logc-head-icon {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-200);
  color: var(--fg-500);
}
.logc-head-icon > i {
  font-size: 15px;
}

.logc-head-body {
  min-width: 0;
  flex: 1 1 0%;
  line-height: 1.25;
}

.logc-head-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-400);
}

.logc-head-time {
  margin-top: 0.125rem;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}

.logc-head-dur {
  margin-left: 0.25rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-400);
}

.logc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.875rem;
}

.logc-stat {
  border-radius: 8px;
  background: var(--bg-100);
  padding: 0.5rem;
  text-align: center;
}

.logc-stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 11px;
  color: var(--fg-400);
}

.logc-stat-value {
  margin-top: 0.125rem;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}

.logc-coords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  border-top: 1px solid var(--bg-100);
  padding: 0.625rem 0.875rem;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500);
}

.logc-coord {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.logc-coord > i {
  color: var(--pr-400);
}

.logc-coord-val {
  font-weight: 500;
  color: var(--fg-700);
}

.tv-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tv-map {
  height: 12rem;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
}
.tv-map > iframe {
  display: block;
  height: 100%;
  width: 100%;
  border: 0;
}

.tv-coord-unit {
  margin-left: 0.125rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-400);
}

.tv-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tv-point {
  position: relative;
  display: flex;
  gap: 0.75rem;
}

.tv-point-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  padding-top: 0.5rem;
}

.tv-point-dot {
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tv-point-connector {
  flex: 1 1 auto;
  width: 2px;
  margin-top: 0.375rem;
  margin-bottom: -1.25rem;
  border-radius: 9999px;
  background: var(--bg-200);
}

.tv-point-card {
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  transition: border-color 0.2s ease;
}

.tv-point.is-latest .tv-point-dot {
  border-color: var(--pr-500);
  background: var(--pr-500);
  color: var(--bg-50);
}
.tv-point.is-latest .tv-point-card {
  border-color: var(--pr-300);
  background: linear-gradient(180deg, var(--pr-50) 0%, var(--bg-50) 62%);
}

.tv-point-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
}

.tv-point-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}
.tv-point-time > i {
  font-size: 15px;
  color: var(--pr-500);
}

.tv-point-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--pr-100);
  padding: 0.1875rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--pr-700);
}

.tv-point-badge-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: var(--pr-500);
}

.tv-point-tag {
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.1875rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-500);
}

.tv-point-coords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  border-top: 1px solid var(--bg-100);
  padding: 0.625rem 0.75rem 0.75rem;
}

.tv-point-coord {
  border-radius: 8px;
  background: var(--bg-100);
  padding: 0.4375rem 0.5rem;
}

.tv-point-coord-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-400);
}
.tv-point-coord-label > i {
  font-size: 12px;
  color: var(--pr-400);
}

.tv-point-coord-value {
  display: block;
  margin-top: 0.125rem;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
  white-space: nowrap;
}

.al-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-200: oklch(var(--primary-200, 0.86 0.06 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --emerald-600: #059669;
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-100);
}

.al-main {
  min-height: 0;
  flex: 1 1 0%;
  overflow-y: auto;
}

.al-inner {
  margin: 0 auto;
  max-width: 1800px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
@media (min-width: 768px) {
  .al-inner {
    padding: 1rem 1.5rem;
  }
}

.al-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .al-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.al-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.al-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.al-status-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.al-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--fg-600);
}

.al-live-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}
.al-live-dot > .al-ping {
  position: absolute;
  inset: 0;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: var(--pr-400);
  opacity: 0.75;
  animation: al-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.al-live-dot > .al-core {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: var(--pr-500);
}

@keyframes al-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.al-unread-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rose-200);
  background: var(--rose-50);
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--rose-600);
}

.al-goto {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.al-goto > i {
  font-size: 15px;
}
.al-goto:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}

.al-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.25rem;
}

.al-tab {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.al-tab > i {
  font-size: 15px;
}
.al-tab:hover {
  background: var(--bg-100);
}
.al-tab.is-active {
  background: var(--pr-500);
  color: var(--bg-50);
}

.al-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.al-panel {
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 1rem;
}
@media (min-width: 768px) {
  .al-panel {
    padding: 1.25rem;
  }
}

.al-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .al-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.al-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.25rem;
}

.al-filter {
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.al-filter:hover {
  background: oklch(var(--background-200, 0.921 0.007 90)/0.7);
  color: var(--fg-800);
}
.al-filter.is-active {
  background: var(--pr-500);
  color: var(--bg-50);
}

.al-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .al-tools {
    flex-direction: row;
    align-items: center;
  }
}

.al-select-wrap {
  position: relative;
}

.al-select {
  width: 100%;
  appearance: none;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-700);
  transition: border-color 0.2s ease;
}
@media (min-width: 640px) {
  .al-select {
    width: 11rem;
  }
}
.al-select:focus {
  border-color: var(--pr-400);
  outline: none;
}

.al-select-arrow {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fg-400);
}

.al-search {
  position: relative;
}
@media (min-width: 640px) {
  .al-search {
    width: 16rem;
  }
}

.al-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 15px;
  color: var(--fg-400);
}

.al-search-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 2rem 0.5rem 2.25rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-900);
}
.al-search-input::placeholder {
  color: var(--fg-400);
}
.al-search-input:focus {
  border-color: var(--pr-400);
  outline: none;
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.3);
}

.al-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--fg-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.al-search-clear > i {
  font-size: 15px;
}
.al-search-clear:hover {
  background: var(--bg-100);
  color: var(--fg-700);
}

.al-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.25rem 0.5rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-800);
}
.al-type-badge > i {
  font-size: 14px;
  color: var(--fg-500);
}

.al-sev {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}
.al-sev > i {
  font-size: 15px;
}
.al-sev--danger {
  color: var(--rose-600);
}
.al-sev--danger > i {
  color: var(--rose-500);
}
.al-sev--warning {
  color: var(--orange-600);
}
.al-sev--warning > i {
  color: var(--orange-500);
}

.al-status--unread {
  color: var(--fg-500);
}
.al-status--unread > i {
  color: var(--fg-400);
}

.al-status--resolved {
  color: var(--emerald-600);
}
.al-status--resolved > i {
  color: #10b981;
}

.al-detail-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.al-detail-sev-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.al-detail-sev {
  display: inline-flex;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: oklch(var(--background-50, 0.985 0.003 90));
}
.al-detail-sev--danger {
  background: #f43f5e;
}
.al-detail-sev--warning {
  background: #f97316;
}

.al-detail-time {
  font-size: 13px;
  line-height: 18px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.al-detail-msg {
  border-radius: 0.5rem;
  background: oklch(var(--background-100, 0.962 0.004 90));
  padding: 0.75rem 0.875rem;
  font-size: 15px;
  line-height: 1.625;
  color: oklch(var(--foreground-700, 0.35 0.008 90));
}

.al-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.al-detail-box {
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  padding: 0.75rem 0.875rem;
}

.al-detail-box-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.al-detail-measured {
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.al-detail-measured--danger {
  color: #e11d48;
}
.al-detail-measured--warning {
  color: #ea580c;
}

.al-detail-state {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}
.al-detail-state > i {
  font-size: 16px;
}
.al-detail-state--unread {
  color: var(--fg-500);
}
.al-detail-state--unread > i {
  color: var(--fg-400);
}
.al-detail-state--resolved {
  color: var(--emerald-600);
}
.al-detail-state--resolved > i {
  color: #10b981;
}

.al-detail-worker {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-100, 0.962 0.004 90));
  padding: 0.875rem;
}

.al-detail-worker-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.al-detail-worker-photo {
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid oklch(var(--background-50, 0.985 0.003 90));
  box-shadow: 0 0 0 1px oklch(var(--background-200, 0.921 0.007 90));
}

.al-detail-worker-avatar {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: oklch(var(--background-200, 0.921 0.007 90));
  color: oklch(var(--foreground-500, 0.56 0.005 90));
}
.al-detail-worker-avatar > i {
  font-size: 20px;
}

.al-detail-worker-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3125rem;
}

.al-detail-worker-name {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.al-detail-worker-village {
  align-self: flex-start;
  border-radius: 9999px;
  background: oklch(var(--background-200, 0.921 0.007 90));
  padding: 0.0625rem 0.5rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}

.al-detail-worker-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  border-top: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  padding-top: 0.75rem;
}

.al-detail-worker-meta-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1875rem;
}

.al-detail-worker-meta-label {
  font-size: 11px;
  line-height: 15px;
  font-weight: 500;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.al-detail-worker-meta-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}

.al-detail-guide {
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  padding: 0.875rem;
}
.al-detail-guide--danger {
  border-color: var(--rose-200);
  background: var(--rose-50);
}
.al-detail-guide--danger .al-detail-guide-head,
.al-detail-guide--danger .al-detail-guide-title {
  color: var(--rose-600);
}
.al-detail-guide--danger .al-detail-guide-dot {
  background: var(--rose-500);
}
.al-detail-guide--warning {
  border-color: oklch(var(--accent-200, 0.9 0.06 80));
  background: var(--orange-100);
}
.al-detail-guide--warning .al-detail-guide-head,
.al-detail-guide--warning .al-detail-guide-title {
  color: var(--orange-600);
}
.al-detail-guide--warning .al-detail-guide-dot {
  background: var(--orange-500);
}

.al-detail-guide-head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.al-detail-guide-head > i {
  font-size: 15px;
}

.al-detail-guide-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.al-detail-guide-list {
  margin-top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.al-detail-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.6;
  color: oklch(var(--foreground-700, 0.35 0.008 90));
}

.al-detail-guide-dot {
  margin-top: 0.5rem;
  height: 0.25rem;
  width: 0.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
}

.al-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.al-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.al-detail-btn--ghost {
  background: transparent;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}
.al-detail-btn--ghost:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
}
.al-detail-btn--primary {
  background: oklch(var(--primary-500, 0.55 0.14 250));
  font-weight: 600;
  color: oklch(var(--background-50, 0.985 0.003 90));
}
.al-detail-btn--primary:hover {
  background: oklch(var(--primary-600, 0.47 0.12 249));
}

.al-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .al-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.al-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--background-300, 0.87 0.01 88));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 0.75rem 0.875rem;
}

.al-stat-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.125rem;
}

.al-stat-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: oklch(var(--foreground-500, 0.56 0.005 90));
}

.al-stat-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.al-stat-icon > i {
  font-size: 17px;
}
.al-stat-icon--primary {
  background: oklch(var(--primary-100, 0.93 0.035 250));
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.al-stat-icon--accent {
  background: oklch(var(--accent-100, 0.95 0.07 80));
  color: oklch(var(--accent-700, 0.5 0.12 70));
}
.al-stat-icon--warning {
  background: #ffedd5;
  color: #ea580c;
}
.al-stat-icon--danger {
  background: #ffe4e6;
  color: #e11d48;
}
.al-stat-icon--secondary {
  background: oklch(var(--secondary-100, 0.92 0.008 90));
  color: oklch(var(--secondary-700, 0.4 0.008 90));
}

.al-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.al-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.al-stat-value--primary {
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.al-stat-value--accent {
  color: oklch(var(--accent-700, 0.5 0.12 70));
}
.al-stat-value--warning {
  color: #ea580c;
}
.al-stat-value--danger {
  color: #e11d48;
}
.al-stat-value--secondary {
  color: oklch(var(--foreground-700, 0.35 0.008 90));
}

.al-stat-unit {
  font-size: 12px;
  font-weight: 500;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.th-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.th-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.th-lead {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-head-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.th-topbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--background-300, 0.87 0.01 88));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 1rem;
}
@media (min-width: 1024px) {
  .th-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.th-topbar-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.th-topbar-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--primary-100, 0.93 0.035 250));
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.th-topbar-icon > i {
  font-size: 18px;
}

.th-topbar-title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.th-topbar-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.th-btn > i {
  font-size: 14px;
}
.th-btn--ghost {
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-50, 0.985 0.003 90));
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}
.th-btn--ghost:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
}
.th-btn--primary {
  background: oklch(var(--primary-500, 0.55 0.14 250));
  color: oklch(var(--background-50, 0.985 0.003 90));
}
.th-btn--primary:hover {
  background: oklch(var(--primary-600, 0.47 0.12 249));
}

.th-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .th-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.th-card {
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--background-300, 0.87 0.01 88));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 1rem;
}

.th-main {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .th-main {
    grid-column: span 8;
  }
}

.th-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .th-side {
    grid-column: span 4;
  }
}

.th-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.th-card-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}

.th-card-hint {
  font-size: 12px;
  line-height: 16px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.th-item {
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 0.75rem;
  transition: background-color 0.2s ease;
}
.th-item.is-off {
  background: oklch(var(--background-100, 0.962 0.004 90)/0.6);
}
.th-item.is-off .th-item-icon {
  background: oklch(var(--background-200, 0.921 0.007 90));
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.th-item-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
}

.th-item-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--secondary-100, 0.92 0.008 90));
  color: oklch(var(--secondary-700, 0.4 0.008 90));
}
.th-item-icon > i {
  font-size: 16px;
}

.th-item-text {
  min-width: 0;
}

.th-item-title-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.th-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.th-chip {
  border-radius: 0.25rem;
  background: oklch(var(--background-100, 0.962 0.004 90));
  padding: 0.125rem 0.375rem;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  color: oklch(var(--foreground-500, 0.56 0.005 90));
}

.th-item-note {
  margin-top: 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-switch {
  position: relative;
  display: block;
  height: 1.5rem;
  width: 2.75rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 9999px;
  background: oklch(var(--background-300, 0.87 0.01 88));
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.th-switch:has(.th-switch-input:focus-visible) {
  box-shadow: 0 0 0 3px oklch(var(--primary-300, 0.75 0.1 250)/0.6);
}
.th-switch:has(.th-switch-input:checked), .th-switch.is-on {
  background: oklch(var(--primary-500, 0.55 0.14 250));
}
.th-switch:has(.th-switch-input:checked) .th-switch-knob, .th-switch.is-on .th-switch-knob {
  left: 1.375rem;
}
.th-switch--sm {
  height: 1.25rem;
  width: 2.25rem;
}
.th-switch--sm .th-switch-knob {
  top: 0.125rem;
  height: 1rem;
  width: 1rem;
}
.th-switch--sm:has(.th-switch-input:checked) .th-switch-knob, .th-switch--sm.is-on .th-switch-knob {
  left: 1.125rem;
}

.th-switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.th-switch-knob {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: oklch(var(--background-50, 0.985 0.003 90));
  transition: left 0.2s ease;
}

.th-inputs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.th-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
}
.th-dot--danger {
  background: #f43f5e;
}
.th-dot--warning {
  background: #f97316;
}

.th-sub {
  margin-top: 0.125rem;
  font-size: 12px;
  line-height: 16px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-channels {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.th-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  padding: 0.625rem 0.75rem;
}

.th-channel-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
}

.th-channel-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--accent-100, 0.95 0.07 80));
  color: oklch(var(--accent-700, 0.5 0.12 70));
}
.th-channel-icon > i {
  font-size: 15px;
}

.th-channel-text {
  min-width: 0;
}

.th-channel-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: oklch(var(--foreground-900, 0.2 0.012 90));
}

.th-channel-desc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.th-guide {
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--accent-200, 0.9 0.06 80));
  background: oklch(var(--accent-50, 0.98 0.02 80));
  padding: 1rem;
}

.th-guide-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: oklch(var(--accent-700, 0.5 0.12 70));
}

.th-guide-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: oklch(var(--accent-900, 0.3 0.06 70));
}

.th-guide-list {
  margin-top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  font-size: 12px;
  line-height: 1.625;
}
.th-guide-list > li {
  display: flex;
  gap: 0.5rem;
  color: oklch(var(--accent-900, 0.3 0.06 70)/0.8);
}

.th-guide-bullet {
  margin-top: 0.25rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: oklch(var(--accent-500, 0.66 0.12 75));
}

.sn-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --ac-100: oklch(var(--accent-100, 0.95 0.07 80));
  --ac-700: oklch(var(--accent-700, 0.5 0.12 70));
  --sc-100: oklch(var(--secondary-100, 0.92 0.008 90));
  --sc-700: oklch(var(--secondary-700, 0.4 0.008 90));
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
  --teal-100: #ccfbf1;
  --teal-700: #0f766e;
  --emerald-100: #d1fae5;
  --emerald-600: #059669;
  --emerald-700: #047857;
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-100);
}

.sn-main {
  min-height: 0;
  flex: 1 1 0%;
  overflow-y: auto;
}

.sn-inner {
  margin: 0 auto;
  max-width: 1800px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
@media (min-width: 768px) {
  .sn-inner {
    padding: 1rem 1.5rem;
  }
}

.sn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sn-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.sn-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.sn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: var(--pr-500);
  padding: 0.375rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--bg-50);
  transition: background-color 0.2s ease;
}
.sn-add > i {
  font-size: 14px;
}
.sn-add:hover {
  background: var(--pr-600);
}

.sn-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sn-panel {
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 1rem;
}
@media (min-width: 768px) {
  .sn-panel {
    padding: 1.25rem;
  }
}

.sn-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .sn-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sn-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.25rem;
}

.sn-filter {
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sn-filter:hover {
  background: oklch(var(--background-200, 0.921 0.007 90)/0.7);
  color: var(--fg-800);
}
.sn-filter.is-active {
  background: var(--pr-500);
  color: var(--bg-50);
}

.sn-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .sn-tools {
    flex-direction: row;
    align-items: center;
  }
}

.sn-select-wrap {
  position: relative;
}

.sn-select {
  width: 100%;
  appearance: none;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-700);
  transition: border-color 0.2s ease;
}
@media (min-width: 640px) {
  .sn-select {
    width: 9rem;
  }
}
.sn-select:focus {
  border-color: var(--pr-400);
  outline: none;
}

.sn-select-arrow {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fg-400);
}

.sn-search {
  position: relative;
}
@media (min-width: 640px) {
  .sn-search {
    width: 14rem;
  }
}

.sn-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 15px;
  color: var(--fg-400);
}

.sn-search-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 2rem 0.5rem 2.25rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-900);
}
.sn-search-input::placeholder {
  color: var(--fg-400);
}
.sn-search-input:focus {
  border-color: var(--pr-400);
  outline: none;
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.3);
}

.sn-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--fg-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sn-search-clear:hover {
  background: var(--bg-100);
  color: var(--fg-700);
}

.sn-badge--device {
  background: var(--teal-100);
  color: var(--teal-700);
}

.sn-badge--tewak {
  background: var(--ac-100);
  color: var(--ac-700);
}

.sn-badge--normal {
  background: var(--pr-100);
  color: var(--pr-700);
}

.sn-badge--low {
  background: var(--orange-100);
  color: var(--orange-600);
}

.sn-badge--offline {
  background: var(--bg-200);
  color: var(--fg-600);
}

.sn-badge--fault {
  background: var(--rose-100);
  color: var(--rose-600);
}

.sn-badge--full {
  background: var(--emerald-100);
  color: var(--emerald-700);
}

.sn-badge--partial {
  background: var(--orange-100);
  color: var(--orange-600);
}

.sn-badge--none {
  background: var(--rose-100);
  color: var(--rose-600);
}

.sn-status--full {
  color: var(--emerald-700);
}
.sn-status--full > i {
  color: var(--emerald-600);
}

.sn-status--partial {
  color: var(--orange-600);
}
.sn-status--partial > i {
  color: var(--orange-600);
}

.sn-status--none {
  color: var(--fg-500);
}
.sn-status--none > i {
  color: var(--fg-400);
}

.sn-kind-sq {
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 12px;
}
.sn-kind-sq--device {
  background: var(--teal-100);
  color: var(--teal-700);
}
.sn-kind-sq--tewak {
  background: var(--ac-100);
  color: var(--ac-700);
}

.sn-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.sn-dialog-text {
  font-size: 15px;
  line-height: 1.625;
  color: var(--fg-600);
}

.sn-dialog-strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  color: var(--fg-900);
}

.sn-dialog-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sn-dialog-list > li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.625rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-600);
}
.sn-dialog-list > li > i {
  font-size: 15px;
  color: var(--fg-500);
}
.sn-dialog-list > li > .sn-dialog-strong {
  margin-left: auto;
}

.sn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sn-btn--ghost {
  background: transparent;
  color: var(--fg-600);
}
.sn-btn--ghost:hover {
  background: var(--bg-100);
}
.sn-btn--danger {
  background: var(--rose-500);
  font-weight: 600;
  color: var(--bg-50);
}
.sn-btn--danger:hover {
  background: var(--rose-600);
}

.sn-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sn-field {
  width: 100%;
}

.sn-label {
  margin-bottom: 0.375rem;
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}

.sn-label-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.sn-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sn-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200, 0.921 0.007 90));
  background: oklch(var(--background-100, 0.962 0.004 90));
  padding: 0.25rem;
}

.sn-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: oklch(var(--foreground-500, 0.56 0.005 90));
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sn-toggle-btn:hover {
  background: oklch(var(--background-200, 0.921 0.007 90)/0.7);
  color: oklch(var(--foreground-800, 0.27 0.01 90));
}
.sn-toggle-btn:focus-within {
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.4);
}
.sn-toggle-btn.is-active {
  background: oklch(var(--primary-500, 0.55 0.14 250));
  color: oklch(var(--background-50, 0.985 0.003 90));
}

.sn-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.sn-hint-box {
  border-radius: 0.5rem;
  background: oklch(var(--background-100, 0.962 0.004 90));
  padding: 0.625rem 0.875rem;
  font-size: 13px;
  line-height: 1.625;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}
.sn-hint-box strong {
  font-weight: 600;
}

.sn-warn-text {
  margin-top: 0.25rem;
  font-size: 12px;
  color: #ea580c;
}

.sn-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.sn-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.sn-modal-btn--ghost {
  background: transparent;
  color: oklch(var(--foreground-600, 0.44 0.006 90));
}
.sn-modal-btn--ghost:hover {
  background: oklch(var(--background-100, 0.962 0.004 90));
}
.sn-modal-btn--primary {
  background: oklch(var(--primary-500, 0.55 0.14 250));
  font-weight: 600;
  color: oklch(var(--background-50, 0.985 0.003 90));
}
.sn-modal-btn--primary:hover {
  background: oklch(var(--primary-600, 0.47 0.12 249));
}

.sn-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--background-300, 0.87 0.01 88));
  background: oklch(var(--background-50, 0.985 0.003 90));
  padding: 0.75rem 0.875rem;
}

.sn-stat-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.125rem;
}

.sn-stat-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: oklch(var(--foreground-500, 0.56 0.005 90));
}

.sn-stat-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.sn-stat-icon > i {
  font-size: 17px;
}
.sn-stat-icon--primary {
  background: oklch(var(--primary-100, 0.93 0.035 250));
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.sn-stat-icon--accent {
  background: oklch(var(--accent-100, 0.95 0.07 80));
  color: oklch(var(--accent-700, 0.5 0.12 70));
}
.sn-stat-icon--warning {
  background: #ffedd5;
  color: #ea580c;
}
.sn-stat-icon--danger {
  background: #ffe4e6;
  color: #e11d48;
}
.sn-stat-icon--secondary {
  background: oklch(var(--secondary-100, 0.92 0.008 90));
  color: oklch(var(--secondary-700, 0.4 0.008 90));
}

.sn-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.sn-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.sn-stat-value--primary {
  color: oklch(var(--primary-700, 0.4 0.1 249));
}
.sn-stat-value--accent {
  color: oklch(var(--accent-700, 0.5 0.12 70));
}
.sn-stat-value--warning {
  color: #ea580c;
}
.sn-stat-value--danger {
  color: #e11d48;
}
.sn-stat-value--secondary {
  color: oklch(var(--foreground-700, 0.35 0.008 90));
}

.sn-stat-unit {
  font-size: 12px;
  font-weight: 500;
  color: oklch(var(--foreground-400, 0.68 0.006 90));
}

.sn-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .sn-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.st-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-200: oklch(var(--primary-200, 0.86 0.06 250));
  --pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --ac-100: oklch(var(--accent-100, 0.95 0.07 80));
  --ac-300: oklch(var(--accent-300, 0.86 0.11 80));
  --ac-500: oklch(var(--accent-500, 0.74 0.15 72));
  --ac-700: oklch(var(--accent-700, 0.5 0.12 70));
  --sc-100: oklch(var(--secondary-100, 0.92 0.008 90));
  --sc-700: oklch(var(--secondary-700, 0.4 0.008 90));
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-100);
}

.st-main {
  min-height: 0;
  flex: 1 1 0%;
  overflow-y: auto;
}

.st-inner {
  margin: 0 auto;
  max-width: 1800px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
}
@media (min-width: 768px) {
  .st-inner {
    padding: 1rem 1.5rem;
  }
}

.st-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .st-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.st-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.st-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.st-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.st-select-wrap {
  position: relative;
}

.st-select {
  appearance: none;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 1.875rem 0.5rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-700);
  outline: none;
  transition: border-color 0.2s ease;
}
.st-select:hover {
  border-color: var(--pr-300);
}
.st-select:focus {
  border-color: var(--pr-400);
}

.st-select-arrow {
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fg-400);
}

.st-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}
@media (min-width: 768px) {
  .st-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .st-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.st-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.875rem;
}

.st-row-top {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0.875rem;
}

.st-row-bottom {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 1024px) {
  .st-row-top,
  .st-row-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.st-col {
  min-height: 0;
}

.st-col-daily {
  position: relative;
  min-height: 0;
}
@media (min-width: 1024px) {
  .st-col-daily {
    grid-column: span 2/span 2;
  }
}

.st-col-daily-inner {
  min-height: 0;
}
@media (min-width: 1024px) {
  .st-col-daily-inner {
    position: absolute;
    inset: 0;
  }
}

.st-sc {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.st-sc-cols {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .st-sc-cols {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.st-sc-donut {
  position: relative;
  height: 10rem;
  width: 10rem;
  flex-shrink: 0;
}

.st-sc-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
}

.st-sc-hole {
  position: absolute;
  inset: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 9999px;
  background: var(--bg-50);
}

.st-sc-hole-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-400);
}

.st-sc-hole-value {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}
.st-sc-hole-value > span {
  margin-left: 0.0625rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-500);
}

.st-sc-list {
  display: flex;
  width: 100%;
  max-width: 16rem;
  min-width: 0;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-sc-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.st-sc-item-label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-600);
}

.st-sc-item-val {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-800);
}

.st-sc-track {
  height: 0.625rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--bg-100);
}

.st-sc-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}
.st-sc-fill--primary {
  background: var(--pr-500);
}
.st-sc-fill--accent {
  background: var(--ac-500);
}
.st-sc-fill--rose {
  background: var(--rose-500);
}

.st-sc-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: var(--bg-100);
  padding: 0.75rem 0.875rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-500);
}
.st-sc-tip > i {
  margin-top: 0.125rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--emerald-500);
}

.st-bar {
  display: flex;
  height: 9rem;
  align-items: flex-end;
  gap: 0.5rem;
}

.st-bar-col {
  display: flex;
  height: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
}

.st-bar-val {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500);
}

.st-bar-track {
  display: flex;
  width: 100%;
  flex: 1 1 0%;
  align-items: flex-end;
  justify-content: center;
}

.st-bar-fill {
  width: 100%;
  max-width: 2.5rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background: var(--pr-400);
}
.st-bar-fill.is-highlight {
  background: var(--ac-500);
}

.st-bar-label {
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-400);
}

.st-line-chart {
  position: relative;
  height: 8rem;
}

.st-line-grid {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.st-line-grid-line {
  display: block;
  border-top: 1px dashed var(--bg-200);
}

.st-line-svg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.st-line-dot-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
}

.st-line-dot {
  display: block;
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  border: 2px solid var(--bg-50);
}

.st-line-labels {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.st-line-label-col {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.st-line-label-val {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-600);
}

.st-line-label-name {
  font-size: 12px;
  color: var(--fg-400);
}

.st-trend {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.st-trend-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-trend-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
}

.st-trend-title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}

.st-trend-unit {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.st-trend-range {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-400);
}

.st-trend-bars {
  margin-top: 1rem;
  display: flex;
  flex: 1 1 0%;
  align-items: flex-end;
  gap: 0.5rem;
}

.st-trend-col {
  display: flex;
  height: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
}

.st-trend-val {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500);
}

.st-trend-track {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: flex-end;
  justify-content: center;
}

.st-trend-fill {
  width: 100%;
  max-width: 2rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.st-trend-time {
  font-size: 12px;
  color: var(--fg-400);
}

.st-divetrend-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
  color: var(--fg-500);
}

.st-divetrend-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.st-divetrend-swatch-bar {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 0.125rem;
  background: var(--pr-300);
}

.st-divetrend-swatch-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  background: var(--ac-500);
}

.st-divetrend-chart {
  position: relative;
  margin-top: 0.75rem;
  height: 9rem;
}

.st-divetrend-bars {
  display: flex;
  height: 100%;
  align-items: flex-end;
  gap: 0.75rem;
}

.st-divetrend-col {
  display: flex;
  height: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
}

.st-divetrend-val {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-500);
}

.st-divetrend-track {
  display: flex;
  width: 100%;
  flex: 1 1 0%;
  align-items: flex-end;
  justify-content: center;
}

.st-divetrend-bar {
  width: 100%;
  max-width: 2.5rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background: var(--pr-300);
}

.st-divetrend-svg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.st-divetrend-pt {
  pointer-events: none;
  position: absolute;
  height: 0.625rem;
  width: 0.625rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  border: 2px solid var(--bg-50);
  background: var(--ac-500);
}

.st-divetrend-labels {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
}

.st-divetrend-label {
  flex: 1 1 0%;
  text-align: center;
  font-size: 12px;
  color: var(--fg-400);
}

.st-donut {
  position: relative;
  flex-shrink: 0;
}
.st-donut--md {
  height: 10rem;
  width: 10rem;
}
.st-donut--sm {
  height: 8rem;
  width: 8rem;
}

.st-donut-ring {
  height: 100%;
  width: 100%;
  border-radius: 9999px;
}

.st-donut-inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--bg-50);
}

.st-donut--md .st-donut-inner {
  inset: 1rem;
}

.st-donut--sm .st-donut-inner {
  inset: 0.75rem;
}

.st-donut-value {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.st-donut--md .st-donut-value {
  font-size: 26px;
  line-height: 34px;
}

.st-donut--sm .st-donut-value {
  font-size: 20px;
  line-height: 28px;
}

.st-donut-label {
  font-weight: 500;
  color: var(--fg-400);
}

.st-donut--md .st-donut-label {
  font-size: 13px;
  line-height: 18px;
}

.st-donut--sm .st-donut-label {
  font-size: 12px;
  line-height: 16px;
}

.st-gauge-chart {
  position: relative;
  margin: 0 auto;
  height: 9rem;
  width: 9rem;
}

.st-gauge-svg {
  height: 100%;
  width: 100%;
}

.st-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.st-gauge-score {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}
.st-gauge-score > span {
  font-size: 14px;
  color: var(--fg-400);
}

.st-gauge-level {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--pr-700);
}

.st-gauge-metrics {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.st-gauge-metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.st-gauge-metric-label {
  width: 5rem;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-600);
}

.st-gauge-metric-track {
  height: 0.375rem;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--bg-100);
}

.st-gauge-metric-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--pr-500);
}

.st-gauge-metric-val {
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-700);
}

.st-heat-scroll {
  overflow-x: auto;
}

.st-heat-inner {
  min-width: 480px;
}

.st-heat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-heat-spacer {
  width: 2.5rem;
  flex-shrink: 0;
}

.st-heat-days {
  display: grid;
  flex: 1 1 0%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
}

.st-heat-day {
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-400);
}

.st-heat-rows {
  margin-top: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.st-heat-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-heat-time {
  width: 2.5rem;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-400);
}

.st-heat-cells {
  display: grid;
  flex: 1 1 0%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
}

.st-heat-cell {
  height: 1.5rem;
  border-radius: 0.375rem;
}
.st-heat-cell--0 {
  background: var(--bg-100);
}
.st-heat-cell--1 {
  background: var(--pr-100);
}
.st-heat-cell--2 {
  background: var(--pr-300);
}
.st-heat-cell--3 {
  background: var(--pr-500);
}
.st-heat-cell--4 {
  background: var(--pr-700);
}

.st-heat-legend {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.st-heat-legend-label {
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.st-heat-legend-swatch {
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 0.125rem;
}
.st-heat-legend-swatch--0 {
  background: var(--bg-100);
}
.st-heat-legend-swatch--1 {
  background: var(--pr-100);
}
.st-heat-legend-swatch--2 {
  background: var(--pr-300);
}
.st-heat-legend-swatch--3 {
  background: var(--pr-500);
}
.st-heat-legend-swatch--4 {
  background: var(--pr-700);
}

.st-panel {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 1.125rem;
}

.st-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.st-panel-heading {
  min-width: 0;
}

.st-panel-title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--fg-800);
}

.st-panel-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.st-panel-body {
  min-height: 0;
  flex: 1 1 0%;
  margin-top: 0.875rem;
}

.st-kpi {
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 0.875rem;
}

.st-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.st-kpi-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-500);
}

.st-kpi-icon {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.st-kpi-icon > i {
  font-size: 0.875rem;
}
.st-kpi-icon--up {
  background: var(--pr-100);
  color: var(--pr-700);
}
.st-kpi-icon--down {
  background: var(--ac-100);
  color: var(--ac-700);
}

.st-kpi-value-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.st-kpi-value {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.st-kpi-unit {
  margin-bottom: 0.125rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-500);
}

.st-kpi-foot {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.st-kpi-delta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.125rem;
  border-radius: 0.375rem;
  background: var(--pr-100);
  padding: 0.125rem 0.375rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--pr-700);
}
.st-kpi-delta > i {
  font-size: 13px;
}

.st-kpi-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.st-health {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 0.75rem;
}

.st-health-info {
  min-width: 0;
}

.st-health-label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-500);
}

.st-health-value-row {
  margin-top: 0.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.st-health-value {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.st-health-unit {
  margin-bottom: 0.125rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-500);
}

.st-health-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.st-health-icon > i {
  font-size: 1rem;
}
.st-health-icon--primary {
  background: var(--pr-100);
  color: var(--pr-700);
}
.st-health-icon--accent {
  background: var(--ac-100);
  color: var(--ac-700);
}
.st-health-icon--secondary {
  background: var(--sc-100);
  color: var(--sc-700);
}

.st-insight-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--emerald-200);
  background: var(--emerald-50);
  padding: 0.75rem 0.875rem;
}

.st-insight-icon {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--emerald-500);
}

.st-insight-text {
  font-size: 13px;
  line-height: 1.625;
  color: var(--fg-700);
}

.st-daily-scroll {
  max-height: 560px;
  overflow: auto;
}
@media (min-width: 1024px) {
  .st-daily-scroll {
    height: 100%;
    max-height: none;
  }
}

.st-daily-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.st-daily-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-100);
}

.st-daily-head-row {
  border-bottom: 1px solid var(--bg-200);
}

.st-daily-th {
  white-space: nowrap;
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-500);
}

.st-daily-row {
  border-bottom: 1px solid var(--bg-100);
}
.st-daily-row:last-child {
  border-bottom: 0;
}

.st-daily-td {
  white-space: nowrap;
  padding: 0.625rem 0.75rem;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-700);
}

.st-daily-date {
  font-weight: 500;
  color: var(--fg-800);
}

.st-daily-user {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.st-daily-user > i {
  color: var(--fg-400);
}

.st-depth {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.st-depth-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--bg-200);
  padding-bottom: 0.625rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-400);
}

.st-depth-h-seg {
  width: 5rem;
  flex-shrink: 0;
}

.st-depth-h-count {
  flex: 1 1 0%;
}

.st-depth-h-ratio {
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
}

.st-depth-list {
  display: flex;
  min-height: 0;
  flex: 1 1 0%;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-depth-item {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--bg-100);
}
.st-depth-item:last-child {
  border-bottom: 0;
}

.st-depth-label {
  width: 5rem;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-700);
}

.st-depth-mid {
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  align-items: center;
  gap: 0.75rem;
}

.st-depth-count {
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-800);
}

.st-depth-track {
  display: block;
  height: 0.75rem;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--bg-100);
}

.st-depth-fill {
  display: block;
  height: 100%;
  border-radius: 9999px;
}
.st-depth-fill--0 {
  background: var(--emerald-400);
}
.st-depth-fill--1 {
  background: var(--amber-400);
}
.st-depth-fill--2 {
  background: var(--orange-500);
}
.st-depth-fill--3 {
  background: var(--rose-500);
}

.st-depth-ratio {
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.st-depth-ratio--0 {
  color: var(--emerald-600);
}
.st-depth-ratio--1 {
  color: var(--amber-600);
}
.st-depth-ratio--2 {
  color: var(--orange-600);
}
.st-depth-ratio--3 {
  color: var(--rose-600);
}

.st-depth-foot {
  margin-top: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--bg-200);
  padding-top: 0.625rem;
  font-size: 13px;
  line-height: 18px;
}

.st-depth-foot-label {
  color: var(--fg-400);
}

.st-depth-foot-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg-800);
}

.st-pattern-list {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-pattern-item {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.875rem;
}

.st-pattern-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.st-pattern-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.st-pattern-dot {
  height: 0.625rem;
  width: 0.625rem;
  flex-shrink: 0;
  border-radius: 9999px;
}
.st-pattern-dot--safe {
  background: var(--emerald-500);
}
.st-pattern-dot--primary {
  background: var(--pr-500);
}
.st-pattern-dot--warning {
  background: var(--ac-500);
}
.st-pattern-dot--danger {
  background: var(--rose-500);
}

.st-pattern-badge {
  flex-shrink: 0;
  border-radius: 0.375rem;
  padding: 0.125rem 0.375rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.st-pattern-badge--safe {
  background: var(--emerald-100);
  color: var(--emerald-700);
}
.st-pattern-badge--primary {
  background: var(--pr-100);
  color: var(--pr-700);
}
.st-pattern-badge--warning {
  background: var(--ac-100);
  color: var(--ac-700);
}
.st-pattern-badge--danger {
  background: var(--rose-100);
  color: var(--rose-700);
}

.st-pattern-desc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-500);
}

.st-pattern-ratio {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg-900);
}

.st-pattern-bar-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-pattern-track {
  height: 0.375rem;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--bg-100);
}

.st-pattern-bar {
  height: 100%;
  border-radius: 9999px;
}
.st-pattern-bar--safe {
  background: var(--emerald-500);
}
.st-pattern-bar--primary {
  background: var(--pr-500);
}
.st-pattern-bar--warning {
  background: var(--ac-500);
}
.st-pattern-bar--danger {
  background: var(--rose-500);
}

.st-pattern-rest {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-400);
}

.users-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --ac-50: oklch(var(--accent-50, 0.975 0.02 160));
  --ac-100: oklch(var(--accent-100, 0.94 0.045 160));
  --ac-300: oklch(var(--accent-300, 0.8 0.08 160));
  --ac-500: oklch(var(--accent-500, 0.6 0.11 160));
  --ac-700: oklch(var(--accent-700, 0.44 0.09 160));
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --amber-100: #fef3c7;
  --amber-700: #b45309;
  --teal-100: #ccfbf1;
  --teal-700: #0f766e;
  --sky-100: #e0f2fe;
  --sky-700: #0369a1;
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-100);
}

.users-main {
  min-height: 0;
  flex: 1 1 0%;
  overflow-y: auto;
}

.users-inner {
  margin: 0 auto;
  max-width: 1800px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
@media (min-width: 768px) {
  .users-inner {
    padding: 1rem 1.5rem;
  }
}

.us-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.us-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-900);
}

.us-sub {
  margin-top: 0.125rem;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-400);
}

.us-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: var(--pr-500);
  padding: 0.375rem 0.75rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--bg-50);
  transition: background-color 0.2s ease;
}
.us-add > i {
  font-size: 14px;
}
.us-add:hover {
  background: var(--pr-600);
}

.us-panel {
  border-radius: 0.75rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  padding: 1rem;
}
@media (min-width: 768px) {
  .us-panel {
    padding: 1.25rem;
  }
}

.us-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .us-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.us-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
  padding: 0.25rem;
}

.us-filter {
  white-space: nowrap;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.us-filter:hover {
  background: oklch(var(--background-200, 0.921 0.007 90)/0.7);
  color: var(--fg-800);
}
.us-filter.is-active {
  background: var(--pr-500);
  color: var(--bg-50);
}

.us-search {
  position: relative;
}
@media (min-width: 640px) {
  .us-search {
    width: 16rem;
  }
}

.us-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 15px;
  color: var(--fg-400);
}

.us-search-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 2rem 0.5rem 2.25rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--fg-900);
}
.us-search-input::placeholder {
  color: var(--fg-400);
}
.us-search-input:focus {
  border-color: var(--pr-400);
  outline: none;
  box-shadow: 0 0 0 2px oklch(var(--primary-400, 0.66 0.12 250)/0.3);
}

.us-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--fg-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.us-search-clear > i {
  font-size: 15px;
}
.us-search-clear:hover {
  background: var(--bg-100);
  color: var(--fg-700);
}

.us-badge--admin {
  background: var(--amber-100);
  color: var(--amber-700);
}

.us-badge--union {
  background: var(--rose-100);
  color: #be123c;
}

.us-badge--village {
  background: var(--teal-100);
  color: var(--teal-700);
}

.us-badge--haenyeo {
  background: var(--sky-100);
  color: var(--sky-700);
}

.us-badge--user {
  background: var(--bg-200);
  color: var(--fg-600);
}

.us-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 4rem 1rem;
  text-align: center;
  animation: us-empty-in 0.35s ease both;
}

@keyframes us-empty-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.us-empty-icon {
  display: flex;
  height: 3.75rem;
  width: 3.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--ac-100);
  background: var(--ac-50);
  color: var(--ac-700);
}
.us-empty-icon > i {
  font-size: 29px;
}

.us-empty-title {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-800);
}

.us-empty-desc {
  max-width: 24rem;
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-400);
}

.us-empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  white-space: nowrap;
  border: 1px solid var(--bg-300);
  border-radius: 0.5rem;
  background: var(--bg-50);
  padding: 0.5rem 0.9375rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-700);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.us-empty-reset > i {
  font-size: 15px;
}
.us-empty-reset:hover {
  background: var(--ac-50);
  border-color: var(--ac-300);
  color: var(--ac-700);
}

.us-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.us-btn--ghost {
  background: transparent;
  color: var(--fg-600);
}
.us-btn--ghost:hover {
  background: var(--bg-100);
}
.us-btn--danger {
  background: var(--rose-500);
  font-weight: 600;
  color: var(--bg-50);
}
.us-btn--danger:hover {
  background: var(--rose-600);
}

.us-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.us-dialog-text {
  font-size: 15px;
  line-height: 1.625;
  color: var(--fg-600);
}

.us-dialog-strong {
  font-weight: 600;
  color: var(--fg-900);
}

.uf-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.uf-field {
  display: block;
}

.uf-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fg-600);
}

.uf-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.uf-preview {
  display: flex;
  height: 5rem;
  width: 5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-100);
}
.uf-preview > i {
  font-size: 31px;
  line-height: 38px;
  color: var(--fg-300);
}

.uf-preview-img {
  height: 5rem;
  width: 5rem;
  object-fit: cover;
}

.uf-upload {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uf-file {
  display: none;
}

.uf-btn-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-200);
  background: var(--bg-50);
  padding: 0.5rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--fg-700);
  transition: background-color 0.2s ease;
}
.uf-btn-image:hover {
  background: var(--bg-100);
}

.uf-btn-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.375rem 0.875rem;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--rose-500);
  transition: background-color 0.2s ease;
}
.uf-btn-remove:hover {
  background: var(--rose-50);
}

.uf-hint {
  font-size: 12px;
  color: var(--fg-400);
}

.uf-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.uf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.uf-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.uf-btn > i {
  font-size: 18px;
}
.uf-btn--ghost {
  background: transparent;
  color: var(--fg-600);
}
.uf-btn--ghost:hover {
  background: var(--bg-100);
}
.uf-btn--primary {
  background: var(--pr-500);
  font-weight: 600;
  color: var(--bg-50);
}
.uf-btn--primary:hover {
  background: var(--pr-600);
}

.login-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --bg-100: oklch(var(--background-100, 0.962 0.004 90));
  --bg-200: oklch(var(--background-200, 0.921 0.007 90));
  --bg-300: oklch(var(--background-300, 0.87 0.01 88));
  --fg-300: oklch(var(--foreground-300, 0.8 0.008 90));
  --fg-400: oklch(var(--foreground-400, 0.68 0.006 90));
  --fg-500: oklch(var(--foreground-500, 0.56 0.005 90));
  --fg-600: oklch(var(--foreground-600, 0.44 0.006 90));
  --fg-700: oklch(var(--foreground-700, 0.35 0.008 90));
  --fg-800: oklch(var(--foreground-800, 0.27 0.01 90));
  --fg-900: oklch(var(--foreground-900, 0.2 0.012 90));
  --pr-50: oklch(var(--primary-50, 0.97 0.015 250));
  --pr-100: oklch(var(--primary-100, 0.93 0.035 250));
  --pr-300: oklch(var(--primary-300, 0.78 0.09 250));
  --pr-400: oklch(var(--primary-400, 0.66 0.12 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --pr-600: oklch(var(--primary-600, 0.47 0.12 249));
  --pr-700: oklch(var(--primary-700, 0.4 0.1 249));
  --nv-950: oklch(var(--blue-950, 0.21 0.06 248));
  --nv-900: oklch(var(--blue-900, 0.27 0.06 248));
  --nv-700: oklch(var(--blue-700, 0.4 0.08 248));
  --nv-200: oklch(var(--blue-200, 0.87 0.04 250));
  --nv-100: oklch(var(--blue-100, 0.93 0.02 250));
  --em-400: #34d399;
  --rose-50: #fff1f2;
  --rose-300: #fda4af;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  min-height: 100vh;
  background: var(--bg-100);
}

.login-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.login-brand {
  position: relative;
  display: none;
  overflow: hidden;
  width: 44%;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--nv-950), var(--nv-900) 55%, var(--nv-950));
}
@media (min-width: 1024px) {
  .login-brand {
    display: flex;
  }
}

.login-brand-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.login-brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, oklch(var(--blue-950, 0.21 0.06 248)/0.92), oklch(var(--blue-900, 0.27 0.06 248)/0.78) 55%, oklch(var(--blue-950, 0.21 0.06 248)/0.96));
}

.login-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 3rem 3.5rem;
}

.login-brand-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-brand-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.login-brand-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.login-brand-mid {
  margin: auto 0;
  max-width: 27rem;
}

.login-brand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.375rem 0.875rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nv-100);
}

.login-brand-eyebrow-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}

.login-brand-eyebrow-ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--em-400);
  opacity: 0.75;
  animation: login-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.login-brand-eyebrow-core {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: var(--em-400);
}

@keyframes login-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.login-brand-title {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.login-brand-text {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nv-200);
}

.login-brand-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-brand-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.login-brand-item-ico {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 17px;
  color: #fff;
}

.login-brand-bottom {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.login-brand-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.login-brand-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-brand-contact-ico {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 18px;
  color: var(--nv-100);
}

.login-brand-contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.login-brand-contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--nv-200);
}

.login-brand-contact-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.login-brand-note {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.login-main {
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .login-main {
    padding: 2.5rem;
  }
}

.login-card {
  width: 100%;
  max-width: 25rem;
}

.login-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .login-mobile-brand {
    display: none;
  }
}

.login-mobile-logo {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}

.login-mobile-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--nv-900);
}

.login-title {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg-900);
}

.login-sub {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-500);
}

.login-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--fg-600);
  cursor: pointer;
}
.login-check input {
  height: 1rem;
  width: 1rem;
  accent-color: var(--pr-500);
  cursor: pointer;
}

.login-find {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.login-find a {
  font-size: 13px;
  color: var(--fg-500);
  text-decoration: none;
  transition: color 0.2s ease;
}
.login-find a:hover {
  color: var(--pr-600);
}

.login-find-sep {
  color: var(--bg-300);
}

.login-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(to right, var(--nv-950), var(--nv-900));
  padding: 0.75rem 1rem;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.login-submit > i {
  font-size: 18px;
}
.login-submit:hover {
  opacity: 0.92;
}
.login-submit:active {
  transform: scale(0.99);
}
.login-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.login-divider-line {
  height: 1px;
  flex: 1 1 0%;
  background: var(--bg-200);
}

.login-divider-text {
  font-size: 12px;
  color: var(--fg-400);
}

.login-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px dashed var(--bg-300);
  background: var(--bg-50);
  padding: 0.625rem 0.875rem;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-500);
}
.login-demo > i {
  font-size: 16px;
  color: var(--pr-500);
}
.login-demo strong {
  font-weight: 600;
  color: var(--fg-800);
}

.login-foot {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 13px;
  color: var(--fg-500);
}
.login-foot a {
  font-weight: 600;
  color: var(--pr-600);
  text-decoration: none;
}
.login-foot a:hover {
  color: var(--pr-700);
}

.login-copy {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 12px;
  color: var(--fg-400);
}

.splash-wrapper {
  --nv-950: oklch(var(--blue-950, 0.21 0.06 248));
  --nv-900: oklch(var(--blue-900, 0.27 0.06 248));
  --nv-200: oklch(var(--blue-200, 0.87 0.04 250));
  --nv-100: oklch(var(--blue-100, 0.93 0.02 250));
  --pr-500: oklch(var(--primary-500, 0.55 0.14 250));
  --em-400: #34d399;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, var(--nv-950), var(--nv-900) 55%, var(--nv-950));
}

.splash-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, oklch(var(--blue-950, 0.21 0.06 248)/0.9), oklch(var(--blue-900, 0.27 0.06 248)/0.76) 55%, oklch(var(--blue-950, 0.21 0.06 248)/0.95));
}

.splash-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.splash-glow-a {
  top: -8rem;
  left: -6rem;
  height: 26rem;
  width: 26rem;
  background: oklch(var(--primary-500, 0.55 0.14 250)/0.35);
  animation: splash-drift-a 16s ease-in-out infinite;
}

.splash-glow-b {
  bottom: -10rem;
  right: -6rem;
  height: 28rem;
  width: 28rem;
  background: rgba(52, 211, 153, 0.22);
  animation: splash-drift-b 19s ease-in-out infinite;
}

@keyframes splash-drift-a {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3rem, 2.5rem) scale(1.12);
  }
}
@keyframes splash-drift-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3rem, -2rem) scale(1.1);
  }
}
.splash-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  max-width: 32rem;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  animation: splash-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.splash-header img.splash-logo {
  height: 46px;
  width: auto;
  max-width: 150px;
  max-height: 46px;
  object-fit: contain;
}
.splash-header .progress {
  position: relative;
  display: flex;
  height: 5px;
  width: 180px;
  max-width: 58vw;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.splash-header .progress .progress-bar {
  position: relative;
  display: flex;
  height: 100%;
  width: 0;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
  transition: width 0.24s linear;
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.splash-title {
  margin-top: 1.75rem;
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.splash-footer {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 100%;
  max-width: 42rem;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  animation: splash-fade 1.1s ease 0.2s both;
}

@keyframes splash-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.splash-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem 0.75rem;
}
.splash-footer-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.splash-footer-contacts i {
  font-size: 14px;
  color: var(--nv-200);
}

.splash-footer-sep {
  color: rgba(255, 255, 255, 0.3);
}

.splash-footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 639.98px) {
  .splash-header img.splash-logo {
    height: 36px;
    max-width: 120px;
    max-height: 36px;
  }
  .splash-title {
    font-size: 17px;
  }
  .splash-footer {
    bottom: 56px;
  }
}
.nf-root {
  --bg-50: oklch(var(--background-50, 0.985 0.003 90));
  --nv-950: oklch(var(--blue-950, 0.21 0.06 248));
  --nv-900: oklch(var(--blue-900, 0.27 0.06 248));
  --nv-200: oklch(var(--blue-200, 0.87 0.04 250));
  --nv-100: oklch(var(--blue-100, 0.93 0.02 250));
  --em-400: #34d399;
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3rem 1.5rem;
  background: linear-gradient(160deg, var(--nv-950), var(--nv-900) 55%, var(--nv-950));
}

.nf-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.nf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, oklch(var(--blue-950, 0.21 0.06 248)/0.9), oklch(var(--blue-900, 0.27 0.06 248)/0.76) 55%, oklch(var(--blue-950, 0.21 0.06 248)/0.95));
}

.nf-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.nf-glow-a {
  top: -8rem;
  left: -6rem;
  height: 26rem;
  width: 26rem;
  background: oklch(var(--primary-500, 0.55 0.14 250)/0.35);
  animation: nf-float-a 16s ease-in-out infinite;
}

.nf-glow-b {
  bottom: -10rem;
  right: -6rem;
  height: 28rem;
  width: 28rem;
  background: rgba(52, 211, 153, 0.22);
  animation: nf-float-b 19s ease-in-out infinite;
}

@keyframes nf-float-a {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3rem, 2.5rem) scale(1.12);
  }
}
@keyframes nf-float-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3rem, -2rem) scale(1.1);
  }
}
.nf-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 42rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nf-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.nf-brand-logo {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}

.nf-brand-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.nf-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3125rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nv-100);
}
.nf-eyebrow > i {
  font-size: 13px;
  color: var(--em-400);
}

.nf-code {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, oklch(var(--blue-200, 0.87 0.04 250)/0.5) 0%, #ffffff 45%, #ffffff 55%, oklch(var(--blue-200, 0.87 0.04 250)/0.5) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nf-code-shine 7s ease-in-out infinite;
}

@keyframes nf-code-shine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.nf-title {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.nf-text {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--nv-200);
}

.nf-br {
  display: none;
}
@media (min-width: 640px) {
  .nf-br {
    display: inline;
  }
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  white-space: nowrap;
  border-radius: 8px;
  padding: 0.625rem 1.125rem;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.nf-btn > i {
  font-size: 16px;
}
.nf-btn:active {
  transform: scale(0.98);
}

.nf-btn-primary {
  border: 0;
  background: #fff;
  color: var(--nv-950);
}
.nf-btn-primary:hover {
  opacity: 0.9;
}

.nf-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.nf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.nf-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem 0.75rem;
  margin-top: 3rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.nf-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.nf-foot i {
  font-size: 14px;
  color: var(--nv-200);
}

.nf-foot-sep {
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .nf-code {
    font-size: 7rem;
  }
  .nf-title {
    font-size: 25px;
  }
  .nf-text {
    font-size: 15px;
  }
}
:root {
  --background-50: 0.985 0.003 90;
  --background-100: 0.962 0.004 90;
  --background-200: 0.921 0.007 90;
  --background-300: 0.87 0.01 88;
  --background-400: 0.789 0.012 86;
  --background-500: 0.7 0.013 84;
  --background-600: 0.56 0.011 82;
  --background-700: 0.45 0.009 80;
  --background-800: 0.36 0.008 80;
  --background-900: 0.285 0.008 80;
  --background-950: 0.21 0.01 80;
  --primary-50: 0.97 0.015 250;
  --primary-100: 0.93 0.035 250;
  --primary-200: 0.87 0.06 250;
  --primary-300: 0.78 0.09 250;
  --primary-400: 0.66 0.12 250;
  --primary-500: 0.55 0.14 250;
  --primary-600: 0.47 0.12 249;
  --primary-700: 0.4 0.1 249;
  --primary-800: 0.33 0.08 249;
  --primary-900: 0.27 0.07 249;
  --primary-950: 0.21 0.06 249;
  --accent-50: 0.975 0.04 80;
  --accent-100: 0.95 0.07 80;
  --accent-200: 0.9 0.1 78;
  --accent-300: 0.83 0.12 76;
  --accent-400: 0.75 0.14 74;
  --accent-500: 0.68 0.16 72;
  --accent-600: 0.6 0.14 70;
  --accent-700: 0.5 0.12 70;
  --accent-800: 0.4 0.1 70;
  --accent-900: 0.32 0.08 70;
  --accent-950: 0.25 0.07 70;
  --secondary-50: 0.975 0.005 90;
  --secondary-100: 0.94 0.008 90;
  --secondary-200: 0.885 0.01 90;
  --secondary-300: 0.8 0.012 90;
  --secondary-400: 0.68 0.012 90;
  --secondary-500: 0.56 0.012 90;
  --secondary-600: 0.45 0.012 88;
  --secondary-700: 0.36 0.012 88;
  --secondary-800: 0.29 0.012 88;
  --secondary-900: 0.23 0.012 88;
  --secondary-950: 0.17 0.012 88;
  --foreground-50: 0.975 0.004 90;
  --foreground-100: 0.945 0.006 90;
  --foreground-200: 0.89 0.008 90;
  --foreground-300: 0.8 0.008 90;
  --foreground-400: 0.68 0.006 90;
  --foreground-500: 0.56 0.005 90;
  --foreground-600: 0.44 0.006 90;
  --foreground-700: 0.35 0.008 90;
  --foreground-800: 0.27 0.01 90;
  --foreground-900: 0.2 0.012 90;
  --foreground-950: 0.14 0.014 90;
  --blue-50: 0.97 0.008 250;
  --blue-100: 0.93 0.02 250;
  --blue-200: 0.87 0.04 250;
  --blue-300: 0.77 0.06 250;
  --blue-400: 0.65 0.09 250;
  --blue-500: 0.54 0.1 249;
  --blue-600: 0.47 0.09 248;
  --blue-700: 0.4 0.08 248;
  --blue-800: 0.33 0.07 248;
  --blue-900: 0.27 0.06 248;
  --blue-950: 0.21 0.06 248;
}

.dark {
  --background-50: 0.21 0.01 80;
  --background-100: 0.25 0.01 80;
  --background-200: 0.3 0.008 80;
  --background-300: 0.36 0.008 80;
  --background-400: 0.44 0.008 82;
  --background-500: 0.52 0.008 82;
  --background-600: 0.62 0.006 84;
  --background-700: 0.72 0.006 86;
  --background-800: 0.82 0.005 88;
  --background-900: 0.9 0.004 90;
  --background-950: 0.96 0.003 90;
  --primary-50: 0.28 0.07 249;
  --primary-100: 0.33 0.08 249;
  --primary-200: 0.4 0.1 249;
  --primary-300: 0.47 0.12 249;
  --primary-400: 0.55 0.14 250;
  --primary-500: 0.66 0.12 250;
  --primary-600: 0.74 0.1 250;
  --primary-700: 0.82 0.07 250;
  --primary-800: 0.89 0.05 250;
  --primary-900: 0.94 0.03 250;
  --primary-950: 0.97 0.015 250;
  --accent-50: 0.3 0.07 70;
  --accent-100: 0.38 0.09 70;
  --accent-200: 0.46 0.11 70;
  --accent-300: 0.55 0.13 72;
  --accent-400: 0.63 0.15 72;
  --accent-500: 0.72 0.15 72;
  --accent-600: 0.8 0.12 74;
  --accent-700: 0.87 0.09 76;
  --accent-800: 0.92 0.06 78;
  --accent-900: 0.96 0.04 80;
  --accent-950: 0.98 0.02 80;
  --secondary-50: 0.22 0.012 88;
  --secondary-100: 0.28 0.012 88;
  --secondary-200: 0.35 0.012 88;
  --secondary-300: 0.45 0.012 88;
  --secondary-400: 0.58 0.012 90;
  --secondary-500: 0.7 0.012 90;
  --secondary-600: 0.8 0.01 90;
  --secondary-700: 0.87 0.008 90;
  --secondary-800: 0.92 0.006 90;
  --secondary-900: 0.96 0.005 90;
  --secondary-950: 0.98 0.004 90;
  --foreground-50: 0.18 0.012 88;
  --foreground-100: 0.24 0.012 88;
  --foreground-200: 0.32 0.012 88;
  --foreground-300: 0.42 0.01 88;
  --foreground-400: 0.55 0.008 88;
  --foreground-500: 0.66 0.006 88;
  --foreground-600: 0.75 0.006 90;
  --foreground-700: 0.83 0.005 90;
  --foreground-800: 0.89 0.004 90;
  --foreground-900: 0.94 0.004 90;
  --foreground-950: 0.985 0.003 90;
  --blue-50: 0.98 0.01 250;
  --blue-100: 0.95 0.02 250;
  --blue-200: 0.9 0.04 250;
  --blue-300: 0.82 0.06 250;
  --blue-400: 0.72 0.08 250;
  --blue-500: 0.62 0.1 249;
  --blue-600: 0.52 0.09 249;
  --blue-700: 0.42 0.08 248;
  --blue-800: 0.33 0.07 248;
  --blue-900: 0.26 0.06 248;
  --blue-950: 0.2 0.06 248;
}

/*# sourceMappingURL=main.css.map */
