:root {
  --ozi-navy: #083061;
  --ozi-blue: #0561b8;
  --ozi-blue-hover: #044d96;
  --ozi-yellow: #f8c916;
  --ozi-sky: #e8f5ff;
  --ozi-ink: #263047;
  --ozi-muted: #617085;
  --ozi-border: #dde5ef;
  --ozi-canvas: #f7faff;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: #334155;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.auth-grid {
  min-height: 100vh;
  display: grid;
}
@media (min-width: 1024px) {
  .auth-grid { grid-template-columns: 1.1fr .9fr; }
}
.auth-hero {
  display: none;
  background: var(--ozi-navy);
  color: #fff;
  padding: 3rem;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1024px) { .auth-hero { display: flex; } }
.brand { font-size: 1.875rem; font-weight: 700; }
.brand span, .brand-yellow { color: var(--ozi-yellow); }
.logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo-on-dark {
  background: #fff;
  border-radius: .75rem;
  padding: .4rem .7rem;
}
.logo-header {
  display: block;
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: .4rem;
  padding: 2px 8px;
}
.auth-hero h1 { max-width: 36rem; font-size: 3rem; font-weight: 600; line-height: 1.15; margin: 0; }
.auth-hero p.lead { max-width: 32rem; font-size: 1.125rem; line-height: 2rem; color: #dbeafe; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }
.card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid var(--ozi-border);
  border-radius: 1rem;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 6%);
}
.card h2 { margin: 1.75rem 0 0; font-size: 1.875rem; color: var(--ozi-ink); }
.muted { color: #64748b; font-size: .875rem; }
label.field { display: block; font-size: .875rem; font-weight: 700; color: #334155; margin-top: 1rem; }
input, select, textarea {
  width: 100%;
  margin-top: .4rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  padding: .75rem;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--ozi-blue); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.status {
  background: var(--ozi-sky);
  color: var(--ozi-navy);
  border-radius: .5rem;
  padding: .75rem;
  font-size: .875rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .5rem;
  padding: .7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { width: 100%; margin-top: 1rem; background: var(--ozi-blue); color: #fff; }
.btn-primary:hover { background: var(--ozi-blue-hover); }
.btn-yellow { background: var(--ozi-yellow); color: #1e293b; }
.btn-yellow:hover { background: var(--ozi-blue-hover); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--ozi-blue); color: var(--ozi-blue); }
.center-note { text-align: center; margin-top: 1.5rem; font-size: .875rem; }
.center-note a { font-weight: 700; color: var(--ozi-blue); text-decoration: none; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .75rem; color: #475569; margin-top: 1rem; }
.check input { width: auto; margin-top: .2rem; }

.topbar {
  height: 4rem;
  background: var(--ozi-navy);
  color: #fff;
  overflow: hidden;
}
.topbar-inner, .shell {
  max-width: 1500px;
  margin: 0 auto;
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}
.topbar b { font-size: 1.25rem; }
.program { margin-left: .75rem; padding-left: .75rem; border-left: 1px solid rgb(255 255 255 / 25%); font-size: .875rem; font-weight: 600; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-size: .875rem; }
.top-actions .role { color: #bfdbfe; }
.sign-out {
  border: 1px solid rgb(255 255 255 / 30%);
  background: transparent;
  color: #fff;
  border-radius: .375rem;
  padding: .25rem .65rem;
  font-size: .75rem;
  font-weight: 700;
}
.layout { display: flex; }
aside.menu {
  width: 16rem;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}
.menu-label {
  padding: 0 1.25rem .75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #94a3b8;
}
.menu a {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .75rem 1.25rem;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  color: #475569;
}
.menu a.active {
  background: var(--ozi-sky);
  color: var(--ozi-blue);
  border-right: 2px solid var(--ozi-blue);
}
.mobile-nav { display: flex; gap: .25rem; overflow: auto; border-bottom: 1px solid #e2e8f0; background: #fff; padding: .5rem; }
.mobile-nav a {
  flex-shrink: 0;
  border-radius: .5rem;
  padding: .5rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  color: #475569;
}
.mobile-nav a.active { background: var(--ozi-blue); color: #fff; }
@media (min-width: 768px) { .mobile-nav { display: none; } }
@media (max-width: 767px) { aside.menu { display: none; } }
main.content { min-width: 0; flex: 1; padding: 1.25rem; }
@media (min-width: 768px) { main.content { padding: 2.5rem; } }

.page-head { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.crumb { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ozi-blue); }
.page-head h1 { margin: .5rem 0 0; font-size: 1.875rem; font-weight: 300; color: #1e293b; }
.page-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-end; }
.pill { border-radius: 999px; padding: .35rem .75rem; font-size: .75rem; font-weight: 700; }
.pill-live { background: #ecfdf5; color: #047857; }
.pill-demo { background: #f1f5f9; color: #64748b; }
.box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}
.metrics { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .metrics { grid-template-columns: 1fr 1fr 1fr 360px; } }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
.stat { margin: .75rem 0 .25rem; font-size: 1.5rem; font-weight: 700; color: #1e293b; }
.id-banner {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--ozi-blue);
  background: var(--ozi-sky);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) { .id-banner { flex-direction: row; align-items: center; justify-content: space-between; } }
code.id { display: block; margin-top: .25rem; font-size: 1.25rem; font-weight: 700; color: var(--ozi-navy); }
.link-bar {
  margin-top: 1.5rem;
  background: var(--ozi-blue);
  color: #fff;
  border-radius: .75rem;
  padding: 1.25rem;
}
.link-bar .row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 1024px) { .link-bar .row { flex-direction: row; align-items: center; } }
.link-bar input { flex: 1; margin: 0; border: 0; }
.two { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 1024px) { .two { grid-template-columns: 1fr 1fr; } }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 8rem; margin-top: 1.25rem; }
.bars i { flex: 1; border-radius: .25rem .25rem 0 0; background: var(--ozi-blue); }
.tool-grid { display: grid; gap: .75rem; margin-top: 1rem; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
.tool-grid a {
  background: #eff6ff;
  border-radius: .75rem;
  padding: 1rem;
  font-size: .875rem;
  font-weight: 700;
  color: #075fb8;
  text-decoration: none;
}
table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; }
th { padding: .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; background: #f8fafc; }
td { padding: 1rem .75rem; border-top: 1px solid #f1f5f9; }
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.widget-preview { height: 7rem; border-radius: .5rem; padding: 1rem; color: #fff; }
.banner-preview { height: 11rem; border-radius: .5rem; display: grid; place-items: center; text-align: center; color: #fff; font-size: 1.25rem; font-weight: 700; }
.steps { display: flex; gap: .75rem; font-size: .875rem; font-weight: 700; margin-bottom: 1.5rem; }
.step { display: flex; align-items: center; gap: .5rem; color: #94a3b8; background: none; border: 0; cursor: pointer; }
.step.on { color: #0a67c7; }
.badge { width: 1.75rem; height: 1.75rem; border-radius: 999px; display: grid; place-items: center; background: #f1f5f9; }
.step.on .badge { background: #0a67c7; color: #fff; }
.product { width: 100%; text-align: left; padding: 1rem; border: 0; background: transparent; border-top: 1px solid #f1f5f9; cursor: pointer; }
.product:hover { background: #eff6ff; }
pre, .code {
  display: block;
  overflow-x: auto;
  background: #0f172a;
  color: #dbeafe;
  border-radius: .5rem;
  padding: 1rem;
  font-size: .75rem;
}
.tabs { display: flex; gap: 1.25rem; border-bottom: 1px solid #e2e8f0; margin-bottom: 1.25rem; font-size: .875rem; font-weight: 700; }
.tabs button { background: none; border: 0; padding: 0 0 .75rem; color: #64748b; cursor: pointer; }
.tabs button.on { color: #0a67c7; border-bottom: 2px solid #0a67c7; }
.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  background: #0f172a;
  color: #fff;
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  display: none;
}
.hidden { display: none !important; }
.apply {
  margin-bottom: 1.5rem;
  border: 1px solid var(--ozi-blue);
  background: var(--ozi-sky);
  border-radius: .75rem;
  padding: 1.25rem;
}
.apply h2 { margin: 0; color: var(--ozi-navy); }
.apply-grid { display: grid; gap: .75rem; margin-top: 1rem; }
@media (min-width: 768px) { .apply-grid { grid-template-columns: 1fr 1fr; } }
.apply-grid textarea { min-height: 6rem; grid-column: 1 / -1; }
