:root {
  --uc-ink: #122033;
  --uc-muted: #5b6b80;
  --uc-line: #d9e3ef;
  --uc-surface: #ffffff;
  --uc-soft: #f4f7fb;
  --uc-brand: #2563eb;
  --uc-brand-2: #0f766e;
  --uc-brand-3: #7c3aed;
  --uc-danger: #dc2626;
  --uc-warn: #d97706;
  --uc-success: #15803d;
  --uc-radius: 18px;
  --uc-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
body.uc-body { margin: 0; color: var(--uc-ink); background: linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%); font: 16px/1.6 Inter, system-ui, sans-serif; }
.uc-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.uc-shell { min-height: 100vh; }
.uc-stack-1 > * + * { margin-top: 8px; }
.uc-stack-2 > * + * { margin-top: 14px; }
.uc-stack-3 > * + * { margin-top: 20px; }
.uc-stack-4 > * + * { margin-top: 30px; }
.uc-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.uc-center { display: flex; align-items: center; justify-content: center; }
.uc-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.uc-wrap { flex-wrap: wrap; }

.uc-grid-2,
.uc-grid-3,
.uc-grid-4 { display: grid; gap: 18px; }
.uc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.uc-card { background: var(--uc-surface); border: 1px solid var(--uc-line); border-radius: var(--uc-radius); box-shadow: var(--uc-shadow); }
.uc-panel { background: var(--uc-soft); border: 1px solid rgba(37, 99, 235, 0.12); border-radius: var(--uc-radius); }
.uc-border { border: 1px solid var(--uc-line); }
.uc-rounded { border-radius: var(--uc-radius); }
.uc-pill { border-radius: 999px; }
.uc-shadow { box-shadow: var(--uc-shadow); }

.uc-p-1 { padding: 8px; }
.uc-p-2 { padding: 14px; }
.uc-p-3 { padding: 20px; }
.uc-p-4 { padding: 28px; }
.uc-px-3 { padding-left: 20px; padding-right: 20px; }
.uc-py-2 { padding-top: 14px; padding-bottom: 14px; }
.uc-mt-2 { margin-top: 14px; }
.uc-mt-3 { margin-top: 20px; }
.uc-mt-4 { margin-top: 30px; }

.uc-text-xs { font-size: 12px; }
.uc-text-sm { font-size: 14px; }
.uc-text-lg { font-size: 19px; }
.uc-text-xl { font-size: 26px; }
.uc-strong { font-weight: 700; }
.uc-heavy { font-weight: 800; }
.uc-muted { color: var(--uc-muted); }
.uc-center-text { text-align: center; }

.uc-bg-brand { background: linear-gradient(135deg, var(--uc-brand), #38bdf8); color: #fff; }
.uc-bg-accent { background: linear-gradient(135deg, var(--uc-brand-2), #14b8a6); color: #fff; }
.uc-bg-violet { background: linear-gradient(135deg, var(--uc-brand-3), #ec4899); color: #fff; }
.uc-bg-soft { background: var(--uc-soft); }
.uc-text-brand { color: var(--uc-brand); }
.uc-text-success { color: var(--uc-success); }
.uc-text-warn { color: var(--uc-warn); }
.uc-text-danger { color: var(--uc-danger); }

.uc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.uc-btn-brand { background: var(--uc-brand); color: #fff; }
.uc-btn-soft { background: #e8f0ff; color: var(--uc-brand); }
.uc-btn-ghost { background: transparent; color: var(--uc-ink); border: 1px solid var(--uc-line); }

.uc-input,
.uc-select,
.uc-textarea { width: 100%; border: 1px solid var(--uc-line); border-radius: 14px; padding: 12px 14px; background: #fff; color: var(--uc-ink); }
.uc-input:focus,
.uc-select:focus,
.uc-textarea:focus { outline: 2px solid rgba(37, 99, 235, 0.18); border-color: var(--uc-brand); }

.uc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #eef4ff; color: var(--uc-brand); font-size: 12px; font-weight: 700; }
.uc-divider { height: 1px; background: var(--uc-line); margin: 18px 0; }

.md\:uc-grid-2,
.md\:uc-grid-3,
.md\:uc-flex-row,
.sm\:uc-grid-2,
.sm\:uc-hide { }

@media (max-width: 980px) {
  .uc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:uc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:uc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:uc-flex-row { flex-direction: row; }
}

@media (max-width: 760px) {
  .uc-grid-2,
  .uc-grid-3,
  .uc-grid-4,
  .md\:uc-grid-2,
  .md\:uc-grid-3,
  .sm\:uc-grid-2 { grid-template-columns: 1fr; }
  .sm\:uc-hide { display: none !important; }
}