/* src/tokens.css */
:root {
  /* WPC brand, grey-forward — remapped to match My WPC (wpc-design-system.css).
     Primary chrome = slate grey; navy reserved as a small accent; red = WPC #C0392B. */
  --navy: #3B4252;        /* was #1A1A1A — WPC slate (grey-forward chrome/primary) */
  --red: #C0392B;         /* was #ED1C24 — WPC brand red */
  --light: #EDEFF3;       /* WPC mist */
  --card: #ffffff;
  --border: #E4E8F0;      /* WPC border */
  --border-soft: #F5F6FA; /* WPC zebra */
  --text: #1B2230;        /* WPC ink */
  --muted: #647088;       /* WPC ink-soft */
  --header-bg: #F5F6FA;   /* WPC zebra */
  --green: #1F7A3D;       /* WPC ok-ink */
  --green-bg: #E3F4E8;    /* WPC ok-bg */
  --green-border: #A9DFBF;
  --amber: #8A6A12;       /* WPC warm-ink */
  --amber-bg: #FFF6E9;    /* WPC warm-bg */
  --amber-border: #F5C842;
  --red-bg: #FCE9EC;      /* WPC red-tint */
  --red-border: #F5B7B1;
  --purple: #6B21A8;
  --purple-bg: #F3E8FF;
  --purple-border: #D8B4FE;
  --teal: #0E7490;
  --teal-bg: #ECFEFF;
  --teal-border: #A5F3FC;
  --blue: #1D2951;        /* WPC navy — accent only */
  --blue-bg: #EEF1F5;     /* WPC navy-tint */
  --blue-border: #AED6F1;
  --slate: #566073;       /* WPC steel */
  --slate-bg: #EEF1F5;    /* WPC navy-tint */
  --gold: #C9A227;        /* WPC gold — lead/highlight */
  --font:
    "Cerebri Sans Pro",
    "Cerebri Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-toast: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-popover: 0 12px 32px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 20px;
}

/* src/styles.css */
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
body *,
body *::before,
body *::after {
  box-sizing: border-box;
}
.ncl-root,
.ncl-root * {
  box-sizing: border-box;
}
.ncl-root {
  font-family: var(--font);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
.ncl-root--page {
  background: var(--light);
  min-height: 100%;
}
.ncl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.ncl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ncl-btn--primary {
  background: var(--navy);
  color: #fff;
}
.ncl-btn--primary:hover:not(:disabled) {
  background: #000;
}
.ncl-btn--ghost {
  background: #fff;
  color: var(--muted);
  border-color: var(--border);
}
.ncl-btn--ghost:hover:not(:disabled) {
  background: var(--light);
  color: var(--navy);
}
.ncl-btn--danger {
  background: var(--red-bg);
  color: var(--red);
  border-color: var(--red-border);
}
.ncl-btn--danger:hover:not(:disabled) {
  background: #FBDBD9;
}
.ncl-btn--danger-solid {
  background: var(--red);
  color: #fff;
}
.ncl-btn--danger-solid:hover:not(:disabled) {
  background: #C0151B;
}
.ncl-btn--green {
  background: var(--green);
  color: #fff;
}
.ncl-btn--green:hover:not(:disabled) {
  background: #166638;
}
.ncl-btn--amber {
  background: var(--amber);
  color: #fff;
}
.ncl-btn--amber:hover:not(:disabled) {
  background: #D8890B;
}
.ncl-btn--dc {
  background: var(--purple-bg);
  color: var(--purple);
  border-color: var(--purple-border);
}
.ncl-btn--dc:hover:not(:disabled) {
  background: #EBD9FE;
}
.ncl-btn--signout {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.ncl-btn--signout:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}
.ncl-btn--sm {
  padding: 5px 12px;
  font-size: 13px;
}
.ncl-btn--block {
  display: flex;
  width: 100%;
}
.ncl-btn__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.ncl-btn__icon svg {
  width: 100%;
  height: 100%;
}
.ncl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.ncl-badge--green {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green-border);
}
.ncl-badge--amber {
  background: var(--amber-bg);
  color: #856404;
  border-color: var(--amber-border);
}
.ncl-badge--red {
  background: var(--red-bg);
  color: var(--red);
  border-color: var(--red-border);
}
.ncl-badge--purple {
  background: var(--purple-bg);
  color: var(--purple);
  border-color: var(--purple-border);
}
.ncl-badge--blue {
  background: var(--blue-bg);
  color: var(--blue);
  border-color: var(--blue-border);
}
.ncl-badge--teal {
  background: var(--teal-bg);
  color: var(--teal);
  border-color: var(--teal-border);
}
.ncl-badge--neutral {
  background: var(--light);
  color: var(--muted);
  border-color: var(--border);
}
.ncl-badge--navy {
  background: var(--navy);
  color: #fff;
}
.ncl-badge--live {
  background: var(--red-bg);
  color: var(--red);
  border-color: transparent;
  font-size: 10px;
  font-weight: 800;
  border-radius: 5px;
  animation: ncl-pulse 1.6s infinite;
}
@keyframes ncl-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
.ncl-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.ncl-pill--navy {
  background: var(--navy);
  color: #fff;
}
.ncl-pill--white {
  background: #F8F9FA;
  color: var(--text);
  border: 1px solid var(--border);
}
.ncl-pill--blue {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}
.ncl-pill--code {
  background: var(--navy);
  color: #fff;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.ncl-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
  user-select: none;
}
.ncl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ncl-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}
.ncl-avatar--md {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.ncl-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 16px;
}
.ncl-avatar--xl {
  width: 72px;
  height: 72px;
  font-size: 24px;
}
.ncl-progress {
  min-width: 120px;
}
.ncl-progress__bar {
  background: var(--light);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.ncl-progress__fill {
  background: var(--green);
  height: 100%;
  transition: width 0.3s;
  border-radius: 4px;
}
.ncl-progress__fill--red {
  background: var(--red);
}
.ncl-progress__fill--amber {
  background: var(--amber);
}
.ncl-progress__fill--navy {
  background: var(--navy);
}
.ncl-progress__label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.ncl-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: ncl-spin 0.7s linear infinite;
}
@keyframes ncl-spin {
  to {
    transform: rotate(360deg);
  }
}
.ncl-header {
  background: var(--navy);
  color: #fff;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-header);
}
.ncl-header--accent {
  box-shadow: var(--shadow-header), inset 0 -3px 0 var(--red);
}
.ncl-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ncl-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ncl-header__logo img {
  height: 42px;
  mix-blend-mode: screen;
}
.ncl-header__title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.ncl-header__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.ncl-header__badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.ncl-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ncl-header__user {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.ncl-sidebar {
  width: 240px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 18px 0;
  overflow-y: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ncl-sidebar__group {
  margin-bottom: 14px;
}
.ncl-sidebar__group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #97A0AD;
  padding: 6px 22px;
}
.ncl-sidebar__link {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  font-family: inherit;
  transition: background 0.15s;
}
.ncl-sidebar__link:hover {
  background: var(--light);
}
.ncl-sidebar__link--active {
  background: var(--red-bg);
  font-weight: 700;
  border-left-color: var(--red);
}
.ncl-prog-switcher {
  margin: 0 14px 16px;
}
.ncl-prog-switcher__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #97A0AD;
  margin-bottom: 6px;
}
.ncl-prog-switcher__buttons {
  display: flex;
  gap: 6px;
}
.ncl-prog-switcher__btn {
  flex: 1;
  padding: 6px 0;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.ncl-prog-switcher__btn--active {
  color: #fff;
  border-color: transparent;
}
.ncl-event-pin {
  margin: 0 14px 18px;
  background: var(--red-bg);
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 10px 12px;
  position: relative;
}
.ncl-event-pin__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.ncl-event-pin__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.ncl-event-pin__link:hover {
  text-decoration: underline;
}
.ncl-event-pin__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #97A0AD;
  font-size: 15px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.ncl-event-pin__close:hover {
  color: var(--red);
}
.ncl-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ncl-page-title h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.ncl-page-title__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.ncl-page-title__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ncl-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.ncl-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
}
.ncl-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.ncl-card__body {
  padding: 20px;
}
.ncl-card--flush .ncl-card__body {
  padding: 0;
}
.ncl-auth {
  max-width: 420px;
  margin: 0 auto;
}
.ncl-auth__logo-block {
  text-align: center;
  margin-bottom: 26px;
  color: #fff;
}
.ncl-auth__logo-block img {
  height: 64px;
  margin-bottom: 12px;
}
.ncl-auth__org {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}
.ncl-auth__title {
  font-size: 26px;
  font-weight: 800;
  margin: 6px 0 14px;
  line-height: 1.2;
}
.ncl-auth__divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
  border-radius: 2px;
}
.ncl-auth__season {
  font-size: 13px;
  opacity: 0.75;
}
.ncl-auth__card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.ncl-auth__footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
  line-height: 1.6;
}
.ncl-auth--on-light .ncl-auth__logo-block {
  color: var(--text);
}
.ncl-auth--on-light .ncl-auth__footer {
  color: var(--muted);
}
.ncl-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--navy);
  border-radius: var(--radius-xl);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ncl-banner__body {
  min-width: 0;
}
.ncl-banner__title {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 2px;
}
.ncl-banner__text {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.ncl-banner--info {
  border-left-color: var(--blue);
}
.ncl-banner--success {
  border-left-color: var(--green);
  background: var(--green-bg);
  border-color: var(--green-border);
}
.ncl-banner--warning {
  border-left-color: var(--amber);
  background: var(--amber-bg);
  border-color: var(--amber-border);
}
.ncl-banner--error {
  border-left-color: var(--red);
  background: var(--red-bg);
  border-color: var(--red-border);
}
.ncl-banner--warning .ncl-banner__text,
.ncl-banner--error .ncl-banner__text,
.ncl-banner--success .ncl-banner__text {
  color: var(--text);
}
.ncl-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.ncl-empty__icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.ncl-empty__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.ncl-empty__text {
  font-size: 14px;
  margin: 0;
}
.ncl-empty__hint {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  padding: 5px 11px;
  background: var(--amber-bg);
  color: #856404;
  border: 1px solid var(--amber-border);
  border-radius: 12px;
  font-weight: 600;
}
.ncl-table-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.ncl-table-wrap--scroll {
  overflow-x: auto;
}
.ncl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ncl-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  white-space: nowrap;
}
.ncl-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  vertical-align: middle;
  font-size: 13.5px;
}
.ncl-table tr:last-child td {
  border-bottom: none;
}
.ncl-table tbody tr:hover td {
  background: #F8F9FB;
}
.ncl-table tbody tr.ncl-table__row--clickable {
  cursor: pointer;
}
.ncl-table th.ncl-table--num,
.ncl-table td.ncl-table--num {
  text-align: center;
}
.ncl-table td.ncl-table--num {
  font-variant-numeric: tabular-nums;
}
.ncl-standings-group {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--slate-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.ncl-standings .ncl-table th {
  background: var(--slate-bg);
  color: var(--slate);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.ncl-standings .ncl-table td {
  font-size: 14px;
}
.ncl-standings__rank {
  min-width: 20px;
  font-weight: 800;
  color: var(--muted);
}
.ncl-standings__team {
  font-weight: 700;
}
.ncl-standings__pts {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ncl-res {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}
.ncl-res--W {
  background: var(--green-bg);
  color: var(--green);
}
.ncl-res--L {
  background: var(--red-bg);
  color: var(--red);
}
.ncl-res--T {
  background: #EEF1F4;
  color: var(--muted);
}
.ncl-sched__day {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 22px 0 10px;
}
.ncl-sched__day::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--red);
  border-radius: 2px;
}
.ncl-sched__time {
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ncl-sched__gnum {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.ncl-sched__match {
  font-weight: 700;
}
.ncl-sched__match .ncl-sched__loser {
  font-weight: 500;
  color: var(--muted);
}
.ncl-sched__score {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ncl-sched__score .ncl-sched__sep {
  color: var(--muted);
  font-weight: 500;
  padding: 0 3px;
}
.ncl-stat {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}
.ncl-stat__val {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.ncl-stat__val--green {
  color: var(--green);
}
.ncl-stat__val--amber {
  color: var(--amber);
}
.ncl-stat__val--red {
  color: var(--red);
}
.ncl-stat__val--purple {
  color: var(--purple);
}
.ncl-stat__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.ncl-kpi {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
a.ncl-kpi:hover,
.ncl-kpi--clickable:hover {
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.10);
  transform: translateY(-1px);
  cursor: pointer;
}
.ncl-kpi__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
}
.ncl-kpi__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.ncl-kpi__val {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.ncl-kpi__val--green {
  color: var(--green);
}
.ncl-kpi__val--amber {
  color: var(--amber);
}
.ncl-kpi__val--red {
  color: var(--red);
}
.ncl-kpi__val--purple {
  color: var(--purple);
}
.ncl-kpi__sub {
  font-size: 12px;
  color: var(--muted);
}
.ncl-scoreboard {
  background:
    linear-gradient(
      180deg,
      #23252A 0%,
      var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: inset 0 -3px 0 var(--red);
}
.ncl-scoreboard__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.ncl-scoreboard__team {
  text-align: center;
  min-width: 110px;
}
.ncl-scoreboard__name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}
.ncl-scoreboard__score {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ncl-scoreboard__dash {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
}
.ncl-scoreboard__meta {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}
.ncl-qbar {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  padding-bottom: 4px;
}
.ncl-qbar__btn {
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
}
.ncl-qbar__btn--active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.ncl-field {
  display: block;
  margin-bottom: 14px;
}
.ncl-field__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.ncl-field__hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.ncl-field__error {
  font-size: 12.5px;
  color: var(--red);
  font-weight: 600;
  margin-top: 5px;
}
.ncl-input,
.ncl-select,
.ncl-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}
.ncl-input:focus,
.ncl-select:focus,
.ncl-textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.ncl-input--error,
.ncl-select--error,
.ncl-textarea--error {
  border-color: var(--red);
}
.ncl-input:disabled,
.ncl-select:disabled,
.ncl-textarea:disabled {
  background: var(--light);
  color: var(--muted);
}
.ncl-textarea {
  min-height: 88px;
  resize: vertical;
}
.ncl-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.ncl-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
}
.ncl-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}
.ncl-search .ncl-input {
  padding-left: 34px;
}
.ncl-search__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.ncl-search__icon svg {
  width: 100%;
  height: 100%;
}
.ncl-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.ncl-filters .ncl-select {
  width: auto;
  padding: 9px 12px;
  border-width: 1px;
}
.ncl-filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.ncl-filter-btn:hover {
  background: var(--light);
}
.ncl-filter-btn--active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.ncl-count-badge {
  background: var(--light);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.ncl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.ncl-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}
.ncl-modal__header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ncl-modal__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.ncl-modal__close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 0;
}
.ncl-modal__close:hover {
  color: var(--text);
}
.ncl-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.ncl-modal__footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}
.ncl-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-toast);
  max-width: min(92vw, 480px);
}
.ncl-toast--success {
  background: var(--green);
}
.ncl-toast--error {
  background: var(--red);
}
.ncl-toast--warning {
  background: #B7791F;
}
.ncl-toast--static {
  position: static;
  transform: none;
  display: inline-block;
}
.ncl-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.ncl-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: -1px;
  transition: color 0.15s;
}
.ncl-tabs__btn:hover {
  color: var(--text);
}
.ncl-tabs__btn--active {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--red);
}
.ncl-tabs__count {
  background: var(--light);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}
.ncl-tabs__btn--active .ncl-tabs__count {
  background: var(--red-bg);
  color: var(--red);
}
.ncl-tabs--pills {
  border-bottom: none;
  background: var(--slate-bg);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
  display: inline-flex;
}
.ncl-tabs--pills .ncl-tabs__btn {
  border-bottom: none;
  border-radius: 9px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0;
}
.ncl-tabs--pills .ncl-tabs__btn--active {
  background: #fff;
  font-weight: 800;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.15);
}
.ncl-bell {
  position: relative;
  display: inline-block;
}
.ncl-bell__btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ncl-bell__btn svg {
  width: 18px;
  height: 18px;
}
.ncl-bell__count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--red);
  color: #fff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.ncl-bell__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 330px;
  background: #fff;
  border: 1px solid #E2E5E9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-popover);
  z-index: 4000;
  overflow: hidden;
  color: var(--text);
}
.ncl-bell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  font-weight: 800;
}
.ncl-bell__head button {
  background: none;
  border: none;
  color: #1D72B8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ncl-bell__list {
  max-height: 340px;
  overflow-y: auto;
}
.ncl-bell__item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.ncl-bell__item--unread {
  background: #F2F8FE;
}
.ncl-bell__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  margin-top: 5px;
  flex-shrink: 0;
}
.ncl-bell__item--unread .ncl-bell__dot {
  background: var(--red);
}
.ncl-bell__title {
  font-weight: 700;
}
.ncl-bell__sub {
  color: var(--muted);
  margin-top: 1px;
}
.ncl-bell__time {
  color: #97A0AD;
  font-size: 11px;
  margin-top: 3px;
}
.ncl-bell__empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
