/* =====================================================================
   IOX Graphite - portal stylesheet. Tokens live in tokens.css.
   ===================================================================== */
@import url('tokens.css');



/* ═══════════════════════════════════════════════════════════════════
   §3  RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

::selection {
  background: rgba(17,113,228,0.3);
  color: var(--tx-primary);
}


/* ═══════════════════════════════════════════════════════════════════
   §4  TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); font-weight: 600; }

p {
  color: var(--text-muted);
  margin-bottom: 1em;
  line-height: 1.7;
}

a:not(.btn) {
  color: var(--text-main);
  transition: color 150ms ease;
}
a:not(.btn):hover { color: var(--primary-color); }

small {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

strong, b { font-weight: 600; }

code, pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
}

code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--primary-color);
}

pre {
  background: var(--surface-2);
  padding: var(--space-4);
  border-radius: var(--border-radius);
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: var(--space-6) 0;
}


/* ═══════════════════════════════════════════════════════════════════
   §5  GLOBAL CONTAINER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

header {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 150ms ease;
}

.nav-link:hover, .nav-link.active { color: var(--primary-color); }

/* §5.1 TOP NAVIGATION – Legacy */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.top-nav.scrolled { box-shadow: var(--shadow-md); }

.top-nav .logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-main);
}

.top-nav .logo img { height: 32px; width: auto; }

.top-nav .nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-nav .nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 150ms ease;
}

.top-nav .nav-links a:hover,
.top-nav .nav-links a.active { color: var(--text-main); }

.top-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}


/* ═══════════════════════════════════════════════════════════════════
   §6  APP SHELL LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-left: var(--sidebar-width);
  transition: margin-left 250ms ease;
}

.page-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.page-header { margin-bottom: var(--space-6); }

.page-header h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.page-header p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════════════
   §7  SIDEBAR — Deep Navy + Blue Accent
   ═══════════════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  z-index: 900;
  overflow-y: auto;
  overflow-x: hidden;
  transition: left 250ms ease;
  border-right: 1px solid var(--sidebar-border);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tx-primary);
  box-shadow: 0 0 16px rgba(17,113,228,0.4);
}

.sidebar-brand-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--tx-primary);
  letter-spacing: -0.02em;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border-bottom: 1px solid var(--sidebar-border);
  min-height: 56px;
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sidebar-header .logo img { height: 28px; width: auto; }

.sidebar-header .logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--tx-primary);
  letter-spacing: -0.02em;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sidebar-dim);
  padding: var(--space-5) var(--space-5) var(--space-2);
}

.sidebar-nav {
  flex: 1;
  padding: var(--space-2) 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--sidebar-muted);
  border-left: 2px solid transparent;
  margin: 1px var(--space-2);
  border-radius: 8px;
  transition: all 150ms ease;
  cursor: pointer;
}

.sidebar-link i,
.sidebar-link .icon {
  width: 20px;
  text-align: center;
  font-size: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

.sidebar-link:hover {
  color: var(--text-main);
  background: var(--sidebar-hover);
  border-left-color: transparent;
}

.sidebar-link.active {
  color: var(--primary-color);
  background: var(--sidebar-active);
  border-left-color: var(--primary-color);
  font-weight: 600;
}

.sidebar-link.active i,
.sidebar-link.active .icon {
  opacity: 1;
  color: var(--primary-color);
}

.sidebar-badge {
  margin-left: auto;
  background: rgba(17,113,228,0.2);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--sidebar-border);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--tx-primary);
  flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }

.sidebar-user-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--sidebar-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: var(--sidebar-dim);
}


/* ═══════════════════════════════════════════════════════════════════
   §8  TOP HEADER – App Pages
   ═══════════════════════════════════════════════════════════════════ */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 var(--space-6);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  z-index: 100;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb .separator { color: var(--text-dim); font-size: var(--text-xs); }
.breadcrumb .current { color: var(--text-main); font-weight: 500; }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--tx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(17,113,228,0.3);
}

.user-avatar:hover { box-shadow: var(--glow); }

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* Profile Dropdown */
.profile-dropdown { position: relative; }
.profile-dropdown-menu {
  display: none;
  position: fixed;
  width: 280px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  overflow: hidden;
  animation: profileDropIn 0.15s ease-out;
}
@keyframes profileDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.profile-dropdown-menu.open { display: block; }
.profile-dd-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-dd-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx-primary);
  flex-shrink: 0;
  overflow: hidden;
}
.profile-dd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-dd-info { min-width: 0; }
.profile-dd-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-dd-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-dd-section {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
}
.profile-dd-section:last-child { border-bottom: none; }
.profile-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.8125rem;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}
.profile-dd-item:hover { background: var(--surface-hover); }
.profile-dd-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.profile-dd-item .dd-label { flex: 1; }
.profile-dd-item .dd-value {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.profile-dd-item.danger { color: var(--se-crit); }
.profile-dd-item.danger svg { color: var(--se-crit); }
.profile-dd-plan-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(17,113,228,0.15);
  color: var(--primary-color);
}


/* ═══════════════════════════════════════════════════════════════════
   §9  BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--glow);
}

.btn:disabled, .btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn i { font-size: 16px; }

/* Primary — Blue */
.btn-primary {
  background: var(--primary-color);
  color: var(--tx-primary);
  box-shadow: 0 0 0 0 var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(17,113,228,0.4);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--primary-dark);
  transform: translateY(0);
}

/* Secondary */
.btn-secondary {
  background: var(--surface-3);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--surface-hover);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  color: var(--text-main);
}

/* Danger */
.btn-danger { background: var(--danger-color); color: var(--tx-primary); }
.btn-danger:hover { background: var(--se-crit); box-shadow: 0 4px 16px rgba(239,68,68,0.35); }

/* Success */
.btn-success { background: var(--success-color); color: var(--tx-primary); }
.btn-success:hover { background: var(--se-ok); box-shadow: 0 4px 16px rgba(34,197,94,0.35); }

/* Warning */
.btn-warning { background: var(--warning-color); color: var(--tx-primary); }
.btn-warning:hover { background: var(--se-warn); }

/* Sizes */
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 6px; gap: 4px; }
.btn-lg { height: 44px; padding: 0 24px; font-size: 15px; border-radius: 10px; gap: 8px; }
.btn-xl { height: 52px; padding: 0 32px; font-size: 16px; border-radius: 12px; gap: 8px; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: var(--space-2); align-items: center; }


/* ═══════════════════════════════════════════════════════════════════
   §10  CARDS
   ═══════════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.card-header h3, .card-header h4 { margin-bottom: 0; }
.card-title { font-size: var(--text-base); font-weight: 600; color: var(--text-main); margin-bottom: 0; }
.card-subtitle { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }
.card-body { /* semantic wrapper */ }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.card-flat { box-shadow: none; }
.card-flat:hover { box-shadow: none; }


/* ═══════════════════════════════════════════════════════════════════
   §11  STAT CARDS
   ═══════════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(17,113,228,0.2);
}

.stat-card:hover::before { opacity: 1; }

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-card-icon.blue   { background: rgba(17,113,228,0.15); color: var(--br-400); }
.stat-card-icon.green  { background: rgba(34,197,94,0.15);  color: var(--se-ok); }
.stat-card-icon.yellow { background: rgba(245,158,11,0.15); color: var(--se-warn); }
.stat-card-icon.red    { background: rgba(239,68,68,0.15);  color: var(--se-crit); }
.stat-card-icon.purple { background: rgba(139,92,246,0.15); color: var(--sg-500); }

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: var(--space-2);
}

.stat-trend.up   { color: var(--success-color); }
.stat-trend.down { color: var(--danger-color); }


/* ═══════════════════════════════════════════════════════════════════
   §12  FORM CONTROLS
   ═══════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.form-control {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-main);
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control::placeholder { color: var(--text-dim); }

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: var(--glow);
  background: var(--surface-color);
}

.form-control:disabled { opacity: 0.4; cursor: not-allowed; }

.form-control.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: var(--space-3);
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B95A8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-hint { font-size: var(--text-xs); color: var(--text-dim); margin-top: var(--space-1); }
.form-error { font-size: var(--text-xs); color: var(--danger-color); margin-top: var(--space-1); }

/* Checkbox & Radio */
.form-check { display: flex; align-items: center; gap: var(--space-2); cursor: pointer; }
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

/* Toggle Switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 200ms ease;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--bg-surface);
  border-radius: 50%;
  transition: transform 200ms ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.toggle input:checked + .toggle-slider { background: var(--primary-color); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Search Input */
.search-input-wrap { position: relative; }
.search-input-wrap .search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 16px;
  pointer-events: none;
}
.search-input-wrap .form-control { padding-left: 36px; }


/* ═══════════════════════════════════════════════════════════════════
   §13  TABLES
   ═══════════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
}

.table { width: 100%; border-collapse: collapse; }

.table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 100ms ease; }
.table tbody tr:hover { background: var(--surface-hover); }
.table-striped tbody tr:nth-child(even) { background: var(--surface-2); }
.table-compact th, .table-compact td { padding: 8px 12px; }


/* ═══════════════════════════════════════════════════════════════════
   §14  BADGES
   ═══════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  white-space: nowrap;
  gap: 4px;
}

.badge-blue   { background: rgba(17,113,228,0.15);  color:var(--br-on-tint); }
.badge-green  { background: rgba(34,197,94,0.15);   color: var(--se-ok); }
.badge-yellow { background: rgba(245,158,11,0.15);  color: var(--se-warn); }
.badge-red    { background: rgba(239,68,68,0.15);   color: var(--se-crit); }
.badge-gray   { background: var(--surface-3);       color: var(--text-muted); }
.badge-purple { background: rgba(139,92,246,0.15);  color: var(--sg-400); }

.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}


/* ═══════════════════════════════════════════════════════════════════
   §15  ALERTS
   ═══════════════════════════════════════════════════════════════════ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.alert-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-content { flex: 1; }
.alert-title { font-weight: 600; margin-bottom: 2px; }

.alert-success { background: rgba(34,197,94,0.1);  color: var(--se-ok); border: 1px solid rgba(34,197,94,0.25); }
.alert-error   { background: rgba(239,68,68,0.1);  color: var(--se-crit); border: 1px solid rgba(239,68,68,0.25); }
.alert-warning { background: rgba(245,158,11,0.1); color: var(--se-warn); border: 1px solid rgba(245,158,11,0.25); }
.alert-info    { background: rgba(17,113,228,0.1); color:var(--br-on-tint); border: 1px solid rgba(17,113,228,0.25); }

.alert-close {
  margin-left: auto;
  background: none; border: none;
  color: inherit; opacity: 0.6;
  cursor: pointer; font-size: 18px;
  padding: 0; line-height: 1;
}
.alert-close:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════════
   §16  MODALS
   ═══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-4);
}

.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 250ms ease;
}

.modal-overlay.active .modal-card { transform: scale(1) translateY(0); }
.modal-card-lg { max-width: 720px; }
.modal-card-xl { max-width: 960px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: 0; }

.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: var(--surface-hover); color: var(--text-main); }
.modal-body { padding: var(--space-6); overflow-y: auto; flex: 1; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-color);
}


/* ═══════════════════════════════════════════════════════════════════
   §17  MOBILE BOTTOM NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  z-index: 800;
  padding: 0 var(--space-2);
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 150ms ease;
  text-decoration: none;
}

.mobile-nav-item i { font-size: 20px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--primary-color); }


/* ═══════════════════════════════════════════════════════════════════
   §18  ICON BUTTON
   ═══════════════════════════════════════════════════════════════════ */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text-main); }
.icon-btn:focus-visible { box-shadow: var(--glow); }
.icon-btn i { font-size: 18px; }
.icon-btn-sm { width: 28px; height: 28px; }
.icon-btn-sm i { font-size: 14px; }


/* ═══════════════════════════════════════════════════════════════════
   §19  MOBILE NAV TOGGLE
   ═══════════════════════════════════════════════════════════════════ */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-nav-toggle:hover { background: var(--surface-hover); color: var(--text-main); }
.mobile-nav-toggle i { font-size: 20px; }


/* ═══════════════════════════════════════════════════════════════════
   §20  AUTH PAGES
   ═══════════════════════════════════════════════════════════════════ */
.auth-layout { display: flex; min-height: 100vh; }

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45%;
  padding: var(--space-12);
  background: var(--bg-rail);
  color: var(--tx-primary);
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(17,113,228,0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(17,113,228,0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(17,113,228,0.05), transparent 70%);
  pointer-events: none;
}

/* Animated grid lines on auth panel */
.auth-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,113,228,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,113,228,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 400px;
}

.auth-brand-content h1 {
  font-size: var(--text-3xl);
  color: var(--tx-primary);
  margin-bottom: var(--space-4);
}

.auth-brand-content p { color: var(--tx-tertiary); font-size: var(--text-base); }

.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  background: var(--bg-color);
}

.auth-form-box { width: 100%; max-width: 400px; }
.auth-form-box h2 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.auth-form-box .subtitle {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}


/* ═══════════════════════════════════════════════════════════════════
   §21  HERO SECTION – Landing Page
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  padding: 120px var(--space-8) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(17,113,228,0.08), transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--br-500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p { font-size: var(--text-lg); color: var(--text-muted); max-width: 600px; margin: 0 auto var(--space-8); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Features Grid */
.features-section { padding: 80px var(--space-8); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: var(--space-8);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(17,113,228,0.3);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto var(--space-4);
  background: rgba(17,113,228,0.12);
  color: var(--primary-color);
}

.feature-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.feature-card p { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 0; }

/* Section headings */
.section-heading { text-align: center; max-width: 600px; margin: 0 auto var(--space-10); }
.section-heading h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.section-heading p { color: var(--text-muted); }


/* ═══════════════════════════════════════════════════════════════════
   §22  PWA INSTALL BANNER
   ═══════════════════════════════════════════════════════════════════ */
.pwa-banner {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  z-index: 1500;
  max-width: 420px;
  width: calc(100% - 32px);
}

.pwa-banner-text { flex: 1; }
.pwa-banner-text strong { display: block; font-size: var(--text-sm); color: var(--text-main); margin-bottom: 2px; }
.pwa-banner-text span { font-size: var(--text-xs); color: var(--text-muted); }

.pwa-banner-close {
  position: absolute;
  top: var(--space-2); right: var(--space-2);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 6px;
}
.pwa-banner-close:hover { background: var(--surface-hover); color: var(--text-main); }


/* ═══════════════════════════════════════════════════════════════════
   §23  WIZARD / STEPPER
   ═══════════════════════════════════════════════════════════════════ */
.wizard-panel {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wizard-header {
  display: flex;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-2);
}

.wizard-steps { display: flex; align-items: center; gap: var(--space-4); flex: 1; }

.wizard-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-dim);
  white-space: nowrap;
}

.wizard-step-number {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  background: var(--surface-3);
  color: var(--text-dim);
  flex-shrink: 0;
}

.wizard-step.active .wizard-step-number { background: var(--primary-color); color: var(--tx-primary); }
.wizard-step.active { color: var(--text-main); font-weight: 500; }
.wizard-step.completed .wizard-step-number { background: var(--success-color); color: var(--tx-primary); }

.wizard-step-connector {
  width: 24px; height: 2px;
  background: var(--border-color);
  flex-shrink: 0;
}

.wizard-step.completed + .wizard-step-connector,
.wizard-step-connector.completed { background: var(--success-color); }

.wizard-body { padding: var(--space-8); }

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-color);
  background: var(--surface-2);
}


/* ═══════════════════════════════════════════════════════════════════
   §24  DROPDOWNS
   ═══════════════════════════════════════════════════════════════════ */
.dropdown { position: relative; display: inline-block; }

.dropdown-menu {
  position: absolute;
  top: 100%; right: 0;
  margin-top: var(--space-1);
  min-width: 180px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: var(--space-1);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 150ms ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  font-size: var(--text-sm);
  color: var(--text-main);
  border-radius: 6px;
  cursor: pointer;
  transition: background 100ms ease;
}
.dropdown-item:hover { background: var(--surface-hover); }
.dropdown-item i { width: 16px; text-align: center; color: var(--text-muted); font-size: 14px; }
.dropdown-divider { height: 1px; background: var(--border-color); margin: var(--space-1) 0; }


/* ═══════════════════════════════════════════════════════════════════
   §25  TOOLTIPS
   ═══════════════════════════════════════════════════════════════════ */
.tooltip { position: relative; }

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  font-size: 12px; font-weight: 500;
  color: var(--tx-primary);
  background: var(--bg-raised);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms ease;
  pointer-events: none;
  z-index: 600;
}

.tooltip:hover::after { opacity: 1; visibility: visible; }


/* ═══════════════════════════════════════════════════════════════════
   §26  TABS
   ═══════════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: var(--space-5);
}

.tab-item {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.tab-item:hover { color: var(--text-main); }
.tab-item.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.tab-content { display: none; }
.tab-content.active { display: block; }


/* ═══════════════════════════════════════════════════════════════════
   §27  PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════ */
.progress {
  height: 8px;
  background: var(--surface-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--br-400));
  border-radius: var(--radius-full);
  transition: width 400ms ease;
}

.progress-bar.green  { background: linear-gradient(90deg, var(--success-color), var(--se-ok)); }
.progress-bar.yellow { background: linear-gradient(90deg, var(--warning-color), var(--se-warn)); }
.progress-bar.red    { background: linear-gradient(90deg, var(--danger-color),  var(--se-crit)); }
.progress-sm { height: 4px; }
.progress-lg { height: 12px; }


/* ═══════════════════════════════════════════════════════════════════
   §28  TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: var(--space-4); right: var(--space-4);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  min-width: 300px;
  max-width: 420px;
  pointer-events: all;
  animation: slideInRight 250ms ease forwards;
}

.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-success .toast-icon { color: var(--success-color); }
.toast-error   .toast-icon { color: var(--danger-color); }
.toast-warning .toast-icon { color: var(--warning-color); }
.toast-info    .toast-icon { color: var(--info-color); }
.toast-message { flex: 1; color: var(--text-main); }
.toast-close {
  color: var(--text-dim); cursor: pointer;
  padding: 0; background: none; border: none; font-size: 16px;
}
.toast-close:hover { color: var(--text-main); }


/* ═══════════════════════════════════════════════════════════════════
   §29  EMPTY STATES
   ═══════════════════════════════════════════════════════════════════ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.empty-state-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--text-dim);
  background: var(--surface-2);
  margin-bottom: var(--space-5);
}

.empty-state h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.empty-state p { color: var(--text-muted); max-width: 360px; margin-bottom: var(--space-5); }


/* ═══════════════════════════════════════════════════════════════════
   §30  LOADING & SKELETON
   ═══════════════════════════════════════════════════════════════════ */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

.spinner-sm { width: 14px; height: 14px; }
.spinner-lg { width: 32px; height: 32px; border-width: 3px; }

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-text { height: 14px; margin-bottom: var(--space-2); border-radius: 4px; }
.skeleton-heading { height: 24px; width: 60%; margin-bottom: var(--space-3); }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.page-loader { display: flex; align-items: center; justify-content: center; min-height: 200px; }


/* ═══════════════════════════════════════════════════════════════════
   §31  PAGINATION
   ═══════════════════════════════════════════════════════════════════ */
.pagination { display: flex; align-items: center; gap: var(--space-1); }

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 var(--space-2);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover { background: var(--surface-hover); color: var(--text-main); }
.pagination-btn.active { background: var(--primary-color); color: var(--tx-primary); border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(17,113,228,0.35); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }


/* ═══════════════════════════════════════════════════════════════════
   §32  AVATAR
   ═══════════════════════════════════════════════════════════════════ */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  color: var(--text-main);
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 24px; height: 24px; font-size: 10px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-md { width: 40px; height: 40px; font-size: 14px; }
.avatar-lg { width: 48px; height: 48px; font-size: 18px; }
.avatar-xl { width: 64px; height: 64px; font-size: 24px; }

.avatar-group { display: flex; }
.avatar-group .avatar { border: 2px solid var(--bg-secondary); margin-left: -8px; }
.avatar-group .avatar:first-child { margin-left: 0; }


/* ═══════════════════════════════════════════════════════════════════
   §33  ANIMATIONS / KEYFRAMES
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideModal {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17,113,228,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(17,113,228,0.2); }
}

.animate-fade-in      { animation: fadeIn 300ms ease forwards; }
.animate-fade-in-up   { animation: fadeInUp 400ms ease forwards; }
.animate-fade-in-down { animation: fadeInDown 400ms ease forwards; }
.animate-slide-modal  { animation: slideModal 250ms ease forwards; }
.animate-glow-pulse   { animation: glowPulse 2s ease-in-out infinite; }


/* ═══════════════════════════════════════════════════════════════════
   §34  CUSTOM SCROLLBAR
   ═══════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }


/* ═══════════════════════════════════════════════════════════════════
   §35  TEXT UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-left     { text-align: left; }
.text-muted    { color: var(--text-muted) !important; }
.text-dim      { color: var(--text-dim) !important; }
.text-main     { color: var(--text-main) !important; }
.text-primary  { color: var(--primary-color) !important; }
.text-success  { color: var(--success-color) !important; }
.text-warning  { color: var(--warning-color) !important; }
.text-danger   { color: var(--danger-color) !important; }
.text-white    { color: var(--tx-primary) !important; }
.text-xs       { font-size: var(--text-xs) !important; }
.text-sm       { font-size: var(--text-sm) !important; }
.text-base     { font-size: var(--text-base) !important; }
.text-lg       { font-size: var(--text-lg) !important; }
.text-xl       { font-size: var(--text-xl) !important; }
.text-2xl      { font-size: var(--text-2xl) !important; }
.text-3xl      { font-size: var(--text-3xl) !important; }
.font-normal   { font-weight: 400 !important; }
.font-medium   { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold     { font-weight: 700 !important; }
.uppercase     { text-transform: uppercase; }
.lowercase     { text-transform: lowercase; }
.capitalize    { text-transform: capitalize; }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no-wrap       { white-space: nowrap; }
.break-word    { word-break: break-word; }


/* ═══════════════════════════════════════════════════════════════════
   §36  LAYOUT & SPACING UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.flex           { display: flex; }
.inline-flex    { display: inline-flex; }
.flex-col       { flex-direction: column; }
.flex-row       { flex-direction: row; }
.flex-wrap      { flex-wrap: wrap; }
.flex-1         { flex: 1; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end    { justify-content: flex-end; }
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-5  { gap: var(--space-5); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-0  { padding: 0; }
.p-1  { padding: var(--space-1); }
.p-2  { padding: var(--space-2); }
.p-3  { padding: var(--space-3); }
.p-4  { padding: var(--space-4); }
.p-5  { padding: var(--space-5); }
.p-6  { padding: var(--space-6); }
.p-8  { padding: var(--space-8); }
.px-0 { padding-left: 0; padding-right: 0; }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.hidden    { display: none !important; }
.block     { display: block; }
.inline    { display: inline; }
.relative  { position: relative; }
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }


/* ═══════════════════════════════════════════════════════════════════
   §37  GRID UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto-fill { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-auto-fit  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }


/* ═══════════════════════════════════════════════════════════════════
   §38  BORDER & RADIUS UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.border        { border: 1px solid var(--border-color); }
.border-top    { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-none   { border: none !important; }
.rounded       { border-radius: var(--border-radius); }
.rounded-sm    { border-radius: var(--radius-sm); }
.rounded-lg    { border-radius: var(--radius-lg); }
.rounded-xl    { border-radius: var(--radius-xl); }
.rounded-full  { border-radius: var(--radius-full); }
.shadow-none   { box-shadow: none !important; }
.shadow-sm     { box-shadow: var(--shadow-sm); }
.shadow-md     { box-shadow: var(--shadow-md); }
.shadow-lg     { box-shadow: var(--shadow-lg); }
.shadow-xl     { box-shadow: var(--shadow-xl); }


/* ═══════════════════════════════════════════════════════════════════
   §39  BACKGROUND UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.bg-primary   { background-color: var(--primary-color) !important; }
.bg-surface   { background-color: var(--surface-color) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-success   { background-color: var(--success-color) !important; }
.bg-warning   { background-color: var(--warning-color) !important; }
.bg-danger    { background-color: var(--danger-color) !important; }
.bg-transparent { background-color: transparent !important; }


/* ═══════════════════════════════════════════════════════════════════
   §40  SIDEBAR OVERLAY (mobile)
   ═══════════════════════════════════════════════════════════════════ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 899;
}
.sidebar-overlay.active { display: block; }


/* ═══════════════════════════════════════════════════════════════════
   §41  RESPONSIVE – 1024px
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
  .auth-brand { width: 40%; padding: var(--space-8); }
}


/* ═══════════════════════════════════════════════════════════════════
   §42  RESPONSIVE – 768px (Tablet)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .sidebar { left: -248px; }
  .sidebar.open { left: 0; }
  .main-content { margin-left: 0; }
  .mobile-nav-toggle { display: inline-flex; }
  .mobile-bottom-nav { display: block; }
  .page-body { padding: var(--space-4); padding-bottom: 80px; }
  .sidebar-overlay.active { display: block; }
  .top-nav { padding: 0 var(--space-4); }
  .top-nav .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .features-grid { grid-template-columns: 1fr; }
  .auth-layout { flex-direction: column; }
  .auth-brand { width: 100%; padding: var(--space-8) var(--space-6); min-height: auto; }
  .auth-form-panel { padding: var(--space-6); }
  .hero { padding: 100px var(--space-4) 60px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; gap: var(--space-2); }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .table-wrap { border-radius: 8px; }
  .table th, .table td { padding: 8px 12px; }
  .modal-card { max-width: 100%; margin: var(--space-4); border-radius: 12px; }
  .toast-container { left: var(--space-4); right: var(--space-4); top: auto; bottom: 72px; }
  .toast { min-width: auto; width: 100%; }
  .wizard-steps { overflow-x: auto; }
  .wizard-body { padding: var(--space-5); }
}


/* ═══════════════════════════════════════════════════════════════════
   §43  RESPONSIVE – 480px (Small Mobile)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  html { font-size: 13px; }
  .page-body { padding: var(--space-3); padding-bottom: 80px; }
  .card { padding: var(--space-4); border-radius: 10px; }
  .stat-card { padding: var(--space-4); }
  .stat-value { font-size: 1.5rem; }
  .modal-body { padding: var(--space-4); }
  .modal-header { padding: var(--space-4); }
  .wizard-body { padding: var(--space-4); }
  .pwa-banner { flex-direction: column; text-align: center; }
}

/* Admin panel removed from the in-app UI — admins manage at projadmin.ioxsmartx.com */
#admin-link-container{display:none !important;}


/* =====================================================================
   IOX Graphite - component layer. Append below the token block.
   ===================================================================== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;
  padding:0 16px;border:1px solid var(--bd-default);border-radius:var(--r-sm);
  background:var(--bg-raised);color:var(--tx-primary);font-family:var(--f-ui);
  font-size:12px;font-weight:700;cursor:pointer;
  transition:background var(--mo-fast) var(--ease),border-color var(--mo-fast) var(--ease)}
.btn:hover{border-color:var(--bd-strong)}
.btn--primary{background:var(--ac-fill);border-color:var(--ac-fill);color:var(--ac-ink)}
.btn--primary:hover{background:var(--ac-hover);border-color:var(--ac-hover)}
.btn--ghost{background:transparent;border-color:transparent;color:var(--tx-secondary)}
.btn--danger{background:transparent;border-color:var(--se-crit);color:var(--se-crit)}
.btn--sm{height:28px;padding:0 11px;font-size:11px}
.btn[disabled]{opacity:.4;cursor:not-allowed}

.input{height:34px;padding:0 12px;background:var(--bg-raised);border:1px solid var(--bd-default);
  border-radius:var(--r-sm);color:var(--tx-primary);font-family:var(--f-ui);font-size:13px;width:100%}
.input::placeholder{color:var(--tx-tertiary)}
.input:focus{outline:none;border-color:var(--br-500);box-shadow:var(--ring)}
.input--error{border-color:var(--se-crit)}
.field{display:flex;flex-direction:column;gap:6px}
.field > label{font-size:12px;font-weight:600;color:var(--tx-secondary)}
.field .help{font-size:11px;color:var(--tx-tertiary)}
.field .error{font-size:11px;color:var(--se-crit)}

/* toggle */
.toggle{position:relative;display:inline-block;width:36px;height:20px;flex:none}
.toggle input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.toggle span{position:absolute;inset:0;background:var(--bg-raised);
  border:1px solid var(--bd-default);border-radius:var(--r-pill);
  transition:background var(--mo-fast) var(--ease)}
.toggle span::after{content:"";position:absolute;left:3px;top:50%;transform:translateY(-50%);
  width:12px;height:12px;border-radius:var(--r-pill);background:var(--tx-tertiary);
  transition:transform var(--mo-fast) var(--ease),background var(--mo-fast) var(--ease)}
.toggle input:checked + span{background:var(--br-500);border-color:var(--br-500)}
.toggle input:checked + span::after{transform:translate(16px,-50%);background:var(--bg-base)}
.toggle input:focus-visible + span{box-shadow:var(--ring)}

/* menu - profile, notifications, row actions */
.menu{min-width:220px;background:var(--bg-overlay);border:1px solid var(--bd-default);
  border-radius:var(--r-md);box-shadow:var(--el-2);padding:6px;overflow:hidden}
.menu__head{padding:10px 10px 12px;border-bottom:1px solid var(--bd-subtle);margin-bottom:6px;
  display:flex;gap:10px;align-items:center}
.menu__item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-sm);
  font-size:12.5px;color:var(--tx-secondary);cursor:pointer}
.menu__item:hover{background:var(--bg-raised);color:var(--tx-primary)}
.menu__item kbd{margin-left:auto;font-family:var(--f-mono);font-size:9.5px;color:var(--tx-tertiary);
  border:1px solid var(--bd-default);border-radius:var(--r-xs);padding:1px 5px}
.menu__sep{height:1px;background:var(--bd-subtle);margin:6px -6px}
.menu__item--danger{color:var(--se-crit)}

.tag{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;padding:3px 8px;border-radius:var(--r-xs);
  border:1px solid currentColor}
.tag::before{content:"";width:5px;height:5px;border-radius:var(--r-pill);background:currentColor}
.tag--draft{color:var(--tx-tertiary)}
.tag--sent{color:var(--se-info)}
.tag--viewed{color:var(--se-warn)}
.tag--accepted{color:var(--se-ok)}
.tag--rejected{color:var(--se-crit)}
.tag--expired{color:var(--tx-tertiary);opacity:.7}
.tag--change{color:var(--sg-500)}

.table{width:100%;border-collapse:collapse;font-size:12.5px}
.table th{text-align:left;font-family:var(--f-mono);font-size:9.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--tx-tertiary);font-weight:500;padding:9px 10px;
  background:var(--bg-surface);border-bottom:1px solid var(--bd-default)}
.table td{padding:9px 10px;border-bottom:1px solid var(--bd-subtle);color:var(--tx-secondary)}
.table tr:hover td{background:var(--bg-surface)}
.table .is-key{color:var(--tx-primary);font-weight:600}

/* settings - a labelled row, used on every settings page */
.setting{display:grid;grid-template-columns:minmax(0,34fr) minmax(0,66fr);gap:24px;
  padding:20px 0;border-bottom:1px solid var(--bd-subtle);align-items:start}
.setting__label b{display:block;font-size:13px;font-weight:600;color:var(--tx-primary)}
.setting__label p{font-size:12px;color:var(--tx-tertiary);margin-top:3px}
.danger{border:1px solid rgba(192,86,79,.35);border-radius:var(--r-sm);padding:16px 18px;
  background:rgba(192,86,79,.06)}

/* --- the Split shell ------------------------------------------------ */
.shell{display:grid;grid-template-columns:60px minmax(0,1fr);min-height:100vh}
.shell__rail{background:var(--bg-rail);display:flex;flex-direction:column;align-items:center;
  gap:20px;padding:14px 0}
.shell__rail a{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-sm);
  color:var(--sidebar-text);opacity:.6}
.shell__rail a[aria-current]{opacity:1;background:var(--br-500);color:var(--bg-rail)}
.shell__top{display:flex;align-items:center;gap:20px;height:44px;padding:0 16px;
  border-bottom:1px solid var(--bd-default)}
.shell__cols{display:grid;grid-template-columns:minmax(0,36fr) minmax(0,64fr)}
.shell__master{border-right:1px solid var(--bd-default)}
.shell__detail{background:var(--bg-surface);padding:22px 26px}
.shell__item{display:block;padding:11px 14px;border-bottom:1px solid var(--bd-subtle);
  border-left:3px solid transparent;cursor:pointer}
.shell__item[aria-selected="true"]{background:var(--bg-surface);border-left-color:var(--br-500)}
.shell__amount{font-family:var(--f-disp);font-size:44px;font-weight:800;letter-spacing:-.03em;
  color:var(--br-500);font-variant-numeric:tabular-nums;line-height:1}

/* settings shell - sub-navigation beside a single content column */
.settings{display:grid;grid-template-columns:196px minmax(0,1fr);gap:0}
.settings__nav{border-right:1px solid var(--bd-default);padding:20px 14px;display:flex;
  flex-direction:column;gap:2px}
.settings__nav a{font-size:12.5px;font-weight:600;color:var(--tx-secondary);padding:7px 10px;
  border-radius:var(--r-sm)}
.settings__nav a[aria-current]{background:var(--br-tint);color:var(--br-on-tint)}
.settings__body{padding:26px 32px;max-width:820px}

@media (max-width:1200px){
  .shell__cols{grid-template-columns:minmax(0,1fr)}
  .shell__detail{position:fixed;inset:44px 0 0 60px;z-index:20;box-shadow:var(--el-3);overflow:auto}
}
@media (max-width:900px){
  .shell{grid-template-columns:minmax(0,1fr)}
  .shell__rail{position:fixed;inset:auto 0 0 0;flex-direction:row;justify-content:space-around;
    padding:6px 0;border-top:1px solid var(--bd-default);z-index:30}
  .shell__detail{inset:44px 0 0 0}
  .settings{grid-template-columns:minmax(0,1fr)}
  .settings__nav{flex-direction:row;overflow-x:auto;border-right:0;
    border-bottom:1px solid var(--bd-default)}
  .setting{grid-template-columns:minmax(0,1fr);gap:10px}
}


/* =====================================================================
   IOX Graphite - legacy class bridge.

   The component layer above speaks BEM (.btn--primary, .input). No markup
   in this portal does: it ships .btn-primary (137 uses), .btn-outline
   (210), .form-control (275) and .card (605). This block is the
   class-level twin of the token block's variable aliases - existing pages
   take the Graphite look with no markup edits, and both spellings stay
   valid while pages migrate.

   It MUST sit after the component layer. `.btn` there sets a background,
   and at equal specificity the later rule wins, so without this the fill
   on every primary button in the app would be flattened to plain grey.

   What it does NOT do is restyle anything the legacy rules already drive
   through tokens - .card, .form-control and the rest re-skin on their own
   now that the tokens beneath them changed. Only the hardcoded leftovers
   are corrected here: the 6/8/10/12px radii that predate the square scale.
   ===================================================================== */

/* --- button variants: re-assert fills over the new .btn base --------- */
.btn-primary{background:var(--ac-fill);border-color:var(--ac-fill);color:var(--ac-ink);box-shadow:none}
.btn-primary:hover{background:var(--ac-hover);border-color:var(--ac-hover);color:var(--ac-ink);box-shadow:none;transform:none}
.btn-primary:active{background:var(--ac-fill);border-color:var(--ac-fill);transform:none}

.btn-secondary{background:var(--bg-raised);border-color:var(--bd-default);color:var(--tx-primary)}
.btn-secondary:hover{background:var(--bg-overlay);border-color:var(--bd-strong)}

.btn-outline{background:transparent;border-color:var(--bd-default);color:var(--tx-primary)}
.btn-outline:hover{background:var(--bg-raised);border-color:var(--bd-strong);color:var(--tx-primary)}

.btn-ghost{background:transparent;border-color:transparent;color:var(--tx-secondary)}
.btn-ghost:hover{background:var(--bg-raised);border-color:transparent;color:var(--tx-primary)}

/* Destructive and status buttons are outlines here, not fills. A filled
   red button is brighter than the primary action, and the system allows
   exactly one brightest surface per view. */
.btn-danger{background:transparent;border-color:var(--se-crit);color:var(--se-crit);box-shadow:none}
.btn-danger:hover{background:rgba(192,86,79,.12);border-color:var(--se-crit);color:var(--se-crit);box-shadow:none;transform:none}
.btn-success{background:transparent;border-color:var(--se-ok);color:var(--se-ok);box-shadow:none}
.btn-success:hover{background:rgba(78,155,114,.12);border-color:var(--se-ok);color:var(--se-ok);box-shadow:none}
.btn-warning{background:transparent;border-color:var(--se-warn);color:var(--se-warn);box-shadow:none}
.btn-warning:hover{background:rgba(196,150,74,.12);border-color:var(--se-warn);color:var(--se-warn)}

/* --- sizes: square the radii the legacy scale hardcoded -------------- */
.btn-sm{height:28px;padding:0 11px;font-size:11px;border-radius:var(--r-sm);gap:5px}
.btn-lg{height:40px;padding:0 22px;font-size:13px;border-radius:var(--r-sm);gap:7px}
.btn-xl{height:46px;padding:0 28px;font-size:14px;border-radius:var(--r-sm);gap:8px}

/* --- the remaining hardcoded radii ----------------------------------- */
.card{border-radius:var(--r-sm)}
.form-control,.form-select,textarea.form-control{border-radius:var(--r-sm)}
.form-control:focus{box-shadow:var(--ring);border-color:var(--br-500)}

/* Inputs are 40px across the portal and the system's .input is 34px.
   Height is left alone deliberately: it changes the vertical rhythm of
   every form on 29 pages, and that belongs in each page's own pass. */

/* --- numerals --------------------------------------------------------
   "Every column of numbers gets tabular-nums. No exceptions." The portal
   marks money columns with .num/.amount/.text-right and <td align=right>. */
.num,.amount,.money,.text-right,td[align="right"],th[align="right"]{font-variant-numeric:tabular-nums}

/* --- base reassertion -------------------------------------------------
   The token block's base rules sit at the top of this file, so the legacy
   §3 RESET and §4 TYPOGRAPHY sections below them win on source order.
   These four rules put the system's decisions back on top: Archivo at 800
   for headings (§4 forces 700 and a 1.3 leading), the 13px body the scale
   is drawn against, and IBM Plex Mono for code — §4 still asked for
   JetBrains Mono, a fourth face the system does not carry.
   ---------------------------------------------------------------------- */
body{font-size:13px;line-height:1.55}
h1,h2,h3,h4,h5,h6{font-family:var(--f-disp);font-weight:800;letter-spacing:-.02em;line-height:1.12}
h6{font-weight:700}
code,pre,kbd,samp{font-family:var(--f-mono)}
