/* Ni Biashara Creator Engine — page styles (build 2026-11-02).
   Self-contained: tokens match the live site's focused.css (:root values
   verified from the live stylesheet). The .nb-wrap container is the
   layout guarantee — content never touches the viewport edge at any
   width, independent of which site stylesheets load. Full rich color;
   no black-and-white, sepia, or gold. */
:root {
  --paper: #FAF6EC;
  --surface: #fff;
  --ink: #1D1B16;
  --ink-2: #45423A;
  --ink-3: #655f50;
  --terra: #B4502E;
  --indigo: #2E2A6B;
  --rule: #d6cfbf;
  --palm: #2E6B3A;
  --ok-bg: #e9f4ec;
  --err-bg: #fdecea;
  --err-ink: #8a1f1a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}
a { color: var(--indigo); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

/* Container guarantee: centered, max-width, >=16px gutters always. */
.nb-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

/* Header */
.nb-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nb-header .nb-wrap {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.nb-brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.nb-brand { display: inline-flex; align-items: center; gap: 10px; }
.nb-brand img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.nb-brand small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; } /* admin page only */
.nb-nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nb-nav a { font-size: 14px; font-weight: 600; }
.nb-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  background: var(--indigo); color: #fff; border-radius: 3px; text-decoration: none; font-weight: 700;
}
.nb-cta.secondary { background: transparent; color: var(--indigo); border: 1px solid var(--indigo); }

/* Hero */
.nb-hero { padding: clamp(28px, 5vw, 64px) 0 8px; }
.nb-eyebrow { color: var(--terra); font-size: 12px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; }
.nb-hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; max-width: 18ch; }
.nb-hero h1 .accent { color: var(--terra); }
.nb-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 0 0 20px; }
.nb-status {
  border-left: 3px solid var(--terra); background: var(--surface);
  padding: 12px 16px; font-size: 14px; color: var(--ink-2); max-width: 70ch; margin: 0 0 24px;
}
.nb-status strong { color: var(--ink); }
.nb-hero figure { margin: 24px 0 0; }
.nb-hero img { width: 100%; border-radius: 6px; aspect-ratio: 16/9; object-fit: cover; }
.nb-hero figcaption { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.nb-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }

/* Sections */
.nb-section { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.nb-section h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
.nb-section > .nb-wrap > p, .nb-section .nb-prose { max-width: 70ch; color: var(--ink-2); }
.nb-section .nb-prose { margin: 0 0 14px; }
.nb-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 640px) { .nb-grid.cols-2 { grid-template-columns: 1fr 1fr; } .nb-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .nb-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nb-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.nb-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 20px; }
.nb-card h3 { margin: 0 0 8px; font-size: 18px; }
.nb-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.nb-card .nb-num { font-size: 34px; font-weight: 800; color: var(--indigo); line-height: 1; }
.nb-card .nb-num small { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.nb-card .nb-label { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.nb-card .nb-src { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* Steps */
.nb-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .nb-steps { grid-template-columns: repeat(2, 1fr); } }
.nb-steps li { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 18px 20px; }
.nb-steps .nb-step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; margin-bottom: 10px; }
.nb-steps h3 { margin: 0 0 6px; font-size: 17px; }
.nb-steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Data table */
.nb-table-wrap { overflow-x: auto; margin-top: 20px; }
table.nb-table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 15px; }
.nb-table th, .nb-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.nb-table th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.nb-table td.num, .nb-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.nb-table tr:last-child td { border-bottom: 0; }
.nb-fineprint { font-size: 13px; color: var(--ink-3); max-width: 72ch; }

/* Pay rails */
.nb-rail { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .nb-rail { grid-template-columns: 1fr 1fr; } }
.nb-rail .nb-card h3 .nb-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }
.nb-tag.live { background: var(--ok-bg); color: var(--palm); }
.nb-tag.pending { background: #fdf3e3; color: #8a5a00; }
.nb-tag.decision { background: #eceafd; color: var(--indigo); }
.nb-rail ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.nb-rail li { margin-bottom: 6px; }
.nb-placeholder {
  background: var(--surface); border: 2px dashed var(--rule); border-radius: 6px;
  padding: 18px 20px; margin-top: 20px; max-width: 70ch;
}
.nb-placeholder strong { color: var(--indigo); }

/* Forms */
form.nb-form { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(18px, 3vw, 32px); margin-top: 20px; }
.nb-field { margin-bottom: 18px; }
.nb-field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.nb-field .nb-hint { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.nb-field input[type="text"], .nb-field input[type="email"], .nb-field input[type="tel"],
.nb-field input[type="url"], .nb-field input[type="number"], .nb-field select, .nb-field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px;
  border: 1px solid #6b6558; border-radius: 3px; background: #fff; color: var(--ink);
}
.nb-field textarea { min-height: 110px; resize: vertical; }
.nb-field input[type="file"] { font: inherit; font-size: 15px; }
.nb-checks { display: grid; gap: 12px; margin: 20px 0; }
.nb-check { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; }
.nb-check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--indigo); }
.nb-check span { font-size: 15px; }
.nb-checks label { font-weight: 400; }
.nb-picks { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nb-picks { grid-template-columns: 1fr 1fr; } }
.nb-pick { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; background: var(--paper); }
.nb-pick input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--indigo); }
.nb-pick b { display: block; }
.nb-pick span { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.nb-form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
button.nb-submit {
  min-height: 52px; padding: 12px 24px; font: inherit; font-weight: 700; font-size: 16px;
  background: var(--indigo); color: #fff; border: 1px solid var(--indigo); border-radius: 3px; cursor: pointer;
}
button.nb-submit:disabled { opacity: .55; cursor: wait; }
button.nb-ghost { min-height: 48px; padding: 10px 18px; font: inherit; font-weight: 700; background: transparent; color: var(--indigo); border: 1px solid var(--indigo); border-radius: 3px; cursor: pointer; }
.nb-alert { border-radius: 6px; padding: 14px 16px; font-size: 15px; margin: 18px 0 0; }
.nb-alert.ok { background: var(--ok-bg); border: 1px solid var(--palm); color: var(--ink); }
.nb-alert.err { background: var(--err-bg); border: 1px solid var(--err-ink); color: var(--err-ink); }
.nb-alert code { word-break: break-all; }
.nb-hidden { display: none !important; }

/* Admin */
.nb-queue-table { font-size: 14px; }
.nb-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; background: #eceafd; color: var(--indigo); }
.nb-pill.received, .nb-pill.applied { background: #fdf3e3; color: #8a5a00; }
.nb-pill.approved { background: var(--ok-bg); color: var(--palm); }
.nb-pill.declined, .nb-pill.needs-changes { background: var(--err-bg); color: var(--err-ink); }

/* Footer */
.nb-footer { border-top: 1px solid var(--rule); margin-top: 8px; padding: 22px 0 40px; font-size: 13px; color: var(--ink-2); }
.nb-footer p { margin: 0 0 8px; max-width: 76ch; }

/* One right edge for the apply and submit hero blocks. */
.nb-hero .nb-lede,.nb-hero .nb-status,.nb-hero form.nb-form{max-width:46rem}
