/* =============================================================================================
 * NEXCOD DIGITAL — one stylesheet for nexcoddigital.in, account. and company.
 *
 * Type is the Nexcod POS type: Poppins for everything, IBM Plex Mono for codes, keys and amounts.
 * Nothing is bold. Regular (400) is for reading, medium (500) is the strongest weight anywhere —
 * headings, buttons, the active menu item. b/strong are pinned to 500 so stray markup cannot
 * bring bold back.
 *
 * Colour follows nexcodpos.in: the brand navy for structure, the orange for the one thing to press,
 * blue for links, black text. The six platform pillars keep the colours of the master mind map.
 * ============================================================================================= */

:root {
  --ff: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --navy: #0b1b3f;
  --navy-2: #0f2557;
  --navy-3: #163070;
  --orange: #f46d14;
  --orange-2: #fb8a36;
  --orange-d: #e2580a;
  --blue: #1d4ed8;
  --blue-l: #e8effd;
  --ink: #000;
  --ink-2: #000;
  --dim: #000;
  --line: #e3e8ef;
  --line-2: #d3dae5;
  --bg: #f4f6f9;
  --card: #fff;
  --ok: #15803d;   --ok-bg: #eaf6ee;
  --warn: #a15c07; --warn-bg: #fdf3e1;
  --bad: #b91c1c;  --bad-bg: #fdecec;
  --info: #1d4ed8; --info-bg: #e8effd;
  --mute: #000; --mute-bg: #eef1f5;

  /* the six pillars, as on the master mind map */
  --p1: #dbeefe; --p1-i: #0369a1;
  --p2: #d8f5e5; --p2-i: #15803d;
  --p3: #fdf1cf; --p3-i: #a16207;
  --p4: #ede4fd; --p4-i: #7c3aed;
  --p5: #fde2e2; --p5-i: #be123c;
  --p6: #e5e8ec; --p6-i: #334155;

  --r: 12px;
  --r-sm: 8px;
  --r-xs: 6px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -16px rgba(15, 23, 42, .22);
  --shadow-lg: 0 34px 70px -34px rgba(11, 27, 63, .42);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --side-w: 256px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ff); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
b, strong, th, label, legend, summary, dt { font-weight: 500; }
p { margin: 0 0 1em; }
a { color: #0f2557; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg, video { max-width: 100%; }
code, kbd, pre, .mono { font-family: var(--mono); font-weight: 500; font-size: .92em; }
pre { margin: 0; white-space: pre; overflow: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
::selection { background: #ffe4d1; color: #000; }
* { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.ic { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── buttons ─────────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font: 500 14px/1 var(--ff); cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: #f6f8fb; border-color: #b9c3d2; }
.btn:disabled, .btn.is-busy { opacity: .6; cursor: default; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); border-color: var(--orange-d); color: #fff; }
.btn-dark { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-danger { color: var(--bad); border-color: #f0c4c4; }
.btn-danger:hover { background: var(--bad-bg); border-color: var(--bad); }
.btn-ok { color: var(--ok); border-color: #bfe3cb; }
.btn-ok:hover { background: var(--ok-bg); border-color: var(--ok); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(15, 37, 87, .06); border-color: transparent; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-xs); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: #0f2557; font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ── forms ───────────────────────────────────────────────────────────────────────────────── */
.field { margin: 0 0 16px; min-width: 0; }
.field > label, .lab { display: block; font-size: 13.5px; font-weight: 500; margin: 0 0 6px; color: var(--ink); }
.field .hint, .hint { display: block; font-size: 12.5px; color: var(--dim); margin-top: 5px; line-height: 1.5; }
.input, .form-input, select.input, textarea.input {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-xs);
  background: #fff; color: var(--ink); font: 400 14.5px var(--ff); transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.55; resize: vertical; }
select.input { padding-right: 32px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:focus, .form-input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 1px #111; }
.input[readonly], .input:disabled { background: #f7f9fb; }
.input.mono { font-family: var(--mono); font-size: 13.5px; }
.input-sm { height: 34px; font-size: 13.5px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--navy-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .span-2, .form-grid-3 .span-3 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.money-in { position: relative; }
.money-in::before { content: '₹'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 14px; }
.money-in .input { padding-left: 26px; font-family: var(--mono); }

/* ── alerts, badges, chips ───────────────────────────────────────────────────────────────── */
.alert { padding: 12px 14px; border-radius: var(--r-sm); margin: 0 0 16px; font-size: 14px; border: 1px solid transparent; }
.a-success, .a-ok { background: var(--ok-bg); color: #0d5a2a; border-color: #c7e6d2; }
.a-error, .a-bad { background: var(--bad-bg); color: #8c1414; border-color: #f2c9c9; }
.a-warn { background: var(--warn-bg); color: #7a4605; border-color: #f2ddb4; }
.a-info { background: var(--info-bg); color: #163a9c; border-color: #cbd9f8; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1; }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-bad { background: var(--bad-bg); color: var(--bad); }
.b-info { background: var(--info-bg); color: var(--info); }
.b-mute { background: var(--mute-bg); color: var(--mute); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--mute-bg); font-size: 12.5px; color: var(--ink-2); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tr { text-align: right; }
.tc { text-align: center; }
.nowrap { white-space: nowrap; }
.pos { color: var(--ok); }
.neg { color: var(--bad); }

/* =============================================================================================
 * SIGN-IN PAGES (account. and company.) — the myaccount.nexcodpos.in sign-in, as it is there:
 * the silver ground with broad diagonal bands, the name in a white tag at the top, no card, the
 * page's name with a navy and orange bar under it, a label over each box, boxes with an icon and
 * round corners and a near-black edge while typing, the one action in orange on the right, the
 * links underlined, one line at the foot. Every word black; nothing bold.
 * The only motion is what nexcodpos.in has there: the form slides in, Mobile ↔ Email slides,
 * each OTP digit pops, a wrong code shakes, a right one turns green.
 * ============================================================================================= */
body.acct {
  --ax-edge: #5f6368; --ax-orange: #f37321;
  --ax-h: clamp(42px, 6.4vh, 50px);
  --ax-hb: clamp(40px, 5.8vh, 46px);
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #e9eaee; color: #000;
}
body.acct::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 0% 0%, rgba(15,37,87,.11), rgba(15,37,87,0) 70%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.42) 0 1px, rgba(255,255,255,0) 1px 12px),
    linear-gradient(120deg, rgba(255,255,255,0) 8%, rgba(255,255,255,.95) 15%, rgba(255,255,255,0) 24%),
    linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.9) 38%, rgba(255,255,255,0) 47%),
    linear-gradient(120deg, rgba(255,255,255,0) 52%, rgba(255,255,255,.95) 60%, rgba(255,255,255,0) 69%),
    linear-gradient(120deg, rgba(255,255,255,0) 74%, rgba(255,255,255,.9) 82%, rgba(255,255,255,0) 91%),
    linear-gradient(120deg, #dcdde3 0%, #f4f5f7 20%, #e0e1e7 42%, #f6f6f8 64%, #e2e3e9 86%, #f2f3f5 100%); }

/* the name at the top: a white tag, the word in navy, Digital on a red badge */
.acct-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: clamp(56px, 9vh, 76px); padding: 0 max(16px, calc((100vw - 1120px) / 2)); }
.acct-brand { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,37,87,.14); box-shadow: 0 10px 24px -12px rgba(15,37,87,.45), 0 1px 2px rgba(15,37,87,.08); text-decoration: none !important; }
.acct-brand img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.acct-word { display: inline-flex; align-items: center; font-size: 21px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #0f2557; }
.acct-word b { margin-left: 7px; padding: 4px 7px; border-radius: 6px; font-size: .62em; font-weight: 500; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, #ef3346 0%, #c81627 100%); box-shadow: 0 2px 6px -2px rgba(200,22,39,.6); }
.acct-side { font-size: 14px; color: #000; display: flex; align-items: center; gap: 10px; }
.acct-side a { color: #000; text-decoration: underline; text-underline-offset: 3px; }

body.acct > main { flex: 1 0 auto; display: flex; flex-direction: column; }
.lx-wrap { flex: 1 0 auto; display: flex; justify-content: center; align-items: center; padding: clamp(8px, 3vh, 40px) 16px; }
.lx-card { width: 100%; max-width: 470px; min-width: 0; padding: 0 4px; color: #000; animation: axIn .35s cubic-bezier(.4,0,.2,1); }
.lx-card.wide { max-width: 560px; }
@keyframes axIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.lx-card h1 { font-size: clamp(24px, 4.6vh, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -.005em; color: #000; margin: 0; }
.lx-card h1 span { color: #0f2557; }
.lx-card h1::after { content: ""; display: block; width: 84px; height: 4px; margin: clamp(8px, 1.4vh, 12px) 0 clamp(12px, 2.4vh, 20px); border-radius: 2px;
  background: linear-gradient(90deg, #0f2557 0 56px, transparent 56px 62px, #f37321 62px 84px); }
.ax-sub { font-size: clamp(14px, 2.1vh, 16px); color: #000; margin: 0 0 clamp(12px, 2.6vh, 22px); }
.lx-card a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.lx-card .alert { font-size: 13.5px; }

.ax-lab, .lx-card .form-label { display: block; font-size: 13px; font-weight: 500; color: #000; margin: 0 0 5px; }
.ax-lab.req::after { content: "*"; margin-left: 3px; color: #dc2626; }
.ax-f { position: relative; margin: 0 0 clamp(10px, 2.2vh, 18px); }
.ax-f .ax-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: flex; color: #000; pointer-events: none; }
.lx-card .form-input, .lx-ph, .lx-otp input, .lx-card select.form-input {
  width: 100%; height: var(--ax-h); border: 1px solid var(--ax-edge); border-radius: 10px; background: #fff; color: #000; font: 400 16px var(--ff); padding: 0 14px; box-shadow: none; }
.lx-card .ax-in { padding-left: 54px; padding-right: 34px; }
.lx-card .form-input::placeholder { color: #3c4043; opacity: 1; }
.lx-card .form-input:focus, .lx-ph:focus-within, .lx-otp input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 1px #111; }
.lx-ph { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.lx-ph .cc { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--ax-edge); background: #f7f9fb; color: #000; font-size: 16px; }
.lx-card .lx-ph .form-input { height: auto; border: 0; border-radius: 0; box-shadow: none; flex: 1; min-width: 0; }
.lx-ph .ax-ic { position: static; transform: none; padding-left: 16px; display: flex; align-items: center; }

/* a detail proved by OTP: the box and the six OTP boxes take turns in one slot that never changes size */
.vf { margin: 0 0 4px; }
.vf-slot { position: relative; height: var(--ax-h); }
.vf-in, .vf-code { position: absolute; inset: 0; transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s; }
.vf-code { opacity: 0; visibility: hidden; transform: translateY(6px); transition-delay: 0s, 0s, .18s; }
.vf.is-code .vf-in { opacity: 0; visibility: hidden; transform: translateY(-6px); transition-delay: 0s, 0s, .18s; }
.vf.is-code .vf-code { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.vf-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-height: 18px; margin: 5px 0 0; font-size: 12.5px; line-height: 18px; color: #000; }
.vf-note { min-width: 0; color: #000; }
.vf-note b { font-weight: 500; }
.vf-note.bad { color: #b91c1c; }
.vf-note .lx-resend { margin-left: 6px; }
.vf-act { flex: none; }
.lx-resend { background: none; border: 0; padding: 0; font: 500 12.5px var(--ff); color: #0f2557; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.lx-resend:disabled { color: #000; text-decoration: none; cursor: default; }

.lx-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.lx-otp input { min-width: 0; padding: 0; text-align: center; font: 500 19px var(--mono); transition: border-color .15s, background-color .15s, color .15s; }
.lx-otp input.filled { border-color: #0f2557; background: #f3f6fc; animation: lxPop .2s ease-out; }
@keyframes lxPop { 0% { transform: scale(.84); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
.lx-otp.ok input { border-color: #15803d; background: #eaf6ee; color: #15803d; }
.lx-otp.ok input:nth-child(2) { transition-delay: .04s; } .lx-otp.ok input:nth-child(3) { transition-delay: .08s; }
.lx-otp.ok input:nth-child(4) { transition-delay: .12s; } .lx-otp.ok input:nth-child(5) { transition-delay: .16s; }
.lx-otp.ok input:nth-child(6) { transition-delay: .2s; }
.lx-otp.bad input { border-color: #b91c1c; animation: lxShake .3s; }
@keyframes lxShake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.lx-pane { display: none; }
.lx-pane.on { display: block; animation: axIn .3s cubic-bezier(.4,0,.2,1); }

/* the one action: orange, on the right */
.ax-act { display: flex; justify-content: flex-end; margin: 2px 0 0; }
.lx-otpbtn { display: flex; align-items: center; justify-content: center; min-width: 92px; height: clamp(38px, 5.6vh, 42px); padding: 0 22px;
  border: 1px solid #e2620f; border-radius: 9px; background: linear-gradient(180deg, #ff9d42 0%, #f47a22 55%, #ef6c16 100%);
  color: #fff; font: 500 16px var(--ff); box-shadow: 0 1px 2px rgba(0,0,0,.12); cursor: pointer; }
.lx-otpbtn:hover { background: linear-gradient(180deg, #f8902f 0%, #ea6a14 100%); border-color: #cf560a; }
.lx-otpbtn:disabled { background: #b8b9bd; border-color: #a9aaae; box-shadow: none; cursor: default; }
.lx-otpbtn.full { width: 100%; height: var(--ax-hb); }

/* the links, the "or", the other way in */
.ax-links { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin: clamp(12px, 2.8vh, 24px) 0 0; }
.lx-card .ax-links a { color: #000; font-size: clamp(14px, 2vh, 16px); font-weight: 500; white-space: nowrap; }
.lx-or { display: flex; align-items: center; gap: 12px; margin: clamp(10px, 2.2vh, 18px) 0; font-size: 12px; color: #000; }
.lx-or::before, .lx-or::after { content: ""; flex: 1; height: 1px; background: #b5b8be; }
.ax-two { display: flex; gap: 10px; }
.ax-two > * { flex: 1 1 0; min-width: 0; }
.ax-ob { display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--ax-hb); padding: 0 12px; border: 1px solid #b5b8be;
  border-radius: 10px; background: #fff; color: #000; font: 500 15px var(--ff); white-space: nowrap; text-decoration: none !important; cursor: pointer; }
.ax-ob:hover { border-color: #6b7078; background: #fafafa; }
.ax-notes { margin: clamp(12px, 2.4vh, 22px) 0 0; padding: 0 0 0 18px; font-size: clamp(12.5px, 1.8vh, 14px); line-height: 1.45; color: #000; }
.ax-notes li { margin: 0 0 4px; }

/* choosing one of a few (account type on sign-up): the same switch, in orange */
.ax-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 3px; margin: 0 0 clamp(10px, 2.2vh, 18px);
  border: 1px solid var(--ax-edge); border-radius: 10px; background: #fff; }
.ax-seg label { position: relative; display: flex; align-items: center; justify-content: center; height: calc(var(--ax-h) - 8px); border-radius: 7px; font-size: 14.5px; font-weight: 500; color: #000; cursor: pointer; }
.ax-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ax-seg label:has(input:checked) { background: var(--ax-orange); color: #fff; }
.ax-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #000; margin: 0 0 10px; }
.ax-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: #0f2557; }
.ax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.acct-foot { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: clamp(8px, 1.8vh, 18px) 16px; font-size: 12.5px; color: #000; }
.acct-foot a { color: #000; text-decoration: none; }
.acct-foot a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .lx-card h1 { font-size: min(clamp(22px, 4.6vh, 30px), 6.6vw); }
  .acct-word { font-size: 19px; }
  .acct-side .dim-m { display: none; }
  .ax-ob { font-size: 14px; }
  .lx-otp { gap: 6px; }
  .ax-grid { grid-template-columns: 1fr; }
}
@media (max-height: 600px) { .ax-notes { display: none; } .acct-top { height: 50px; } }
@media (prefers-reduced-motion: reduce) { .lx-card, .lx-pane.on, .lx-otp input.filled, .lx-otp.bad input { animation: none; } .vf-in, .vf-code { transition: none; } }

/* =============================================================================================
 * APP SHELL (account. and company.)
 * ============================================================================================= */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; z-index: 40; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 6px; color: var(--navy); font-size: 18px; font-weight: 500; letter-spacing: -.02em; text-decoration: none !important; }
.side-brand img { border-radius: 50%; }
.side-word span { color: var(--orange); }
.side-ctx { margin: 4px 20px 10px; font-size: 12px; color: var(--dim); }
.side-nav { flex: 1; padding: 4px 12px 16px; }
.side-group { margin: 16px 10px 6px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; text-decoration: none !important; transition: background-color .15s, color .15s; position: relative; }
.side-nav a:hover { background: #f2f5f9; color: var(--ink); }
.side-nav a.on { background: #fff3ea; color: var(--orange-d); font-weight: 500; }
.side-nav a.on::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.side-nav a span { flex: 1; min-width: 0; }
.side-count { font-style: normal; font-size: 11.5px; font-family: var(--mono); min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.side-foot { padding: 14px 20px 18px; font-size: 12px; color: var(--dim); border-top: 1px solid var(--line); }

/* company. wears the navy */
.is-company .side { background: var(--navy); border-right-color: var(--navy); }
.is-company .side-brand { color: #fff; }
.is-company .side-word span { color: var(--orange-2); }
.is-company .side-ctx, .is-company .side-group { color: #fff; }
.is-company .side-nav a { color: #fff; }
.is-company .side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.is-company .side-nav a.on { background: rgba(244, 109, 20, .16); color: #fff; }
.is-company .side-nav a.on .ic { color: var(--orange-2); }
.is-company .side-foot { color: #fff; border-top-color: rgba(255, 255, 255, .1); }

.main { display: flex; flex-direction: column; min-width: 0; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 24px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top-menu { display: none; border: 0; background: none; padding: 6px; margin-left: -6px; color: var(--ink); cursor: pointer; }
.top-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #f7f9fb; color: var(--dim); }
.top-search:focus-within { border-color: #111; background: #fff; }
.top-search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 14px var(--ff); color: var(--ink); outline: none; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-bal { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); background: #fff3ea; color: var(--orange-d); font-size: 13.5px; text-decoration: none !important; }
.top-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--ink-2); }
.top-ic:hover { background: #f2f5f9; }
.top-ic em { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--orange); color: #fff; font: 500 10.5px/17px var(--mono); font-style: normal; text-align: center; }
.top-user { position: relative; }
.top-av { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 4px 6px 4px 4px; border-radius: 10px; cursor: pointer; font: inherit; text-align: left; }
.top-av:hover { background: #f2f5f9; }
.top-av > span:first-child { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.top-name { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 500; line-height: 1.25; color: var(--ink); max-width: 160px; }
.top-name small { font-size: 11.5px; font-weight: 400; color: var(--dim); font-family: var(--mono); }
.top-drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); display: none; }
.top-user.open .top-drop { display: block; }
.top-drop a, .top-drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 7px; color: var(--ink); font: 400 14px var(--ff); text-align: left; cursor: pointer; text-decoration: none !important; }
.top-drop a:hover, .top-drop button:hover { background: #f2f5f9; }
.top-drop form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

.content { flex: 1; padding: 26px 28px 40px; max-width: 1400px; width: 100%; }
.app-foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 28px 22px; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); }
.app-foot a { color: var(--ink-2); margin-left: 16px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 24px; margin: 0; letter-spacing: -.025em; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.page-head .crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.page-head .crumb a { color: var(--dim); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* cards, panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { font-size: 16px; margin: 0; }
.panel-head p { margin: 2px 0 0; font-size: 13px; color: var(--dim); }
.panel-body { padding: 20px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfcfd; border-radius: 0 0 var(--r) var(--r); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.grid-2 > .panel, .grid-3 > .panel, .grid-main > * > .panel:last-child { margin-bottom: 0; }
.stack > * + * { margin-top: 20px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; min-width: 0; overflow: hidden; }
.stat-l { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.stat-l .ic { color: var(--orange); }
.stat-v { font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-s { font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.stat.hl { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy-3) 100%); border-color: var(--navy); color: #fff; }
.stat.hl .stat-l, .stat.hl .stat-s { color: #fff; }
.stat.hl .stat-v { color: #fff; }
.stat.hl .stat-l .ic { color: var(--orange-2); }
.stat a.stat-a { position: absolute; inset: 0; }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 500; color: #000; background: #f8fafc; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fbfcfe; }
.tbl .tr { text-align: right; }
.tbl td.mono, .tbl .mono { font-size: 13px; }
.tbl .sub { display: block; font-size: 12.5px; color: var(--dim); }
.tbl a.row-link { color: var(--ink); }
.tbl a.row-link:hover { color: var(--blue); }
.tbl-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.tbl input.input-sm { min-width: 90px; }

/* filters bar */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.filters .field { margin: 0; }
.filters .field > label { font-size: 12px; margin-bottom: 4px; }
.filters .input { height: 36px; font-size: 13.5px; min-width: 140px; }
.filters .btn { height: 36px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.pager-btns { display: flex; gap: 8px; }

.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); }
.empty .ic { color: #0f2557; margin-bottom: 8px; }
.empty h3 { font-size: 16px; margin: 0 0 4px; }
.empty p { font-size: 14px; color: var(--dim); max-width: 420px; margin: 0 auto 14px; }

/* key-value list */
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-2); font-weight: 400; }
.kv dd { margin: 0; min-width: 0; word-break: break-word; }

/* tabs inside a page */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none !important; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--orange); font-weight: 500; }

/* bar chart */
.bars { display: flex; align-items: stretch; gap: 0; padding: 18px 4px 0; }
.bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 3px; min-width: 0; }
.bar i { display: block; width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--orange-2), var(--orange)); }
.bar:hover i { background: var(--navy-2); }
.bar-l { font-size: 11px; color: var(--dim); margin-top: 6px; white-space: nowrap; font-family: var(--mono); }
.bar-v { position: absolute; top: -2px; font-size: 11px; color: var(--ink-2); font-family: var(--mono); opacity: 0; white-space: nowrap; }
.bar:hover .bar-v { opacity: 1; }

/* meter */
.meter { height: 8px; background: #eef1f5; border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.meter.warn i { background: #e0a018; }
.meter.bad i { background: var(--bad); }

/* list rows (activity, notifications) */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px; border-bottom: 1px solid #eef1f5; }
.rows li:last-child { border-bottom: 0; }
.rows .r-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #f2f5f9; color: var(--navy-2); }
.rows .r-main { flex: 1; min-width: 0; font-size: 14px; }
.rows .r-main small { display: block; color: var(--dim); font-size: 12.5px; }
.rows .r-side { text-align: right; font-size: 13px; white-space: nowrap; }
.rows li.unread { background: #fffaf5; }

/* the secret shown once */
.secret { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border: 1px dashed var(--orange); border-radius: var(--r-sm); background: #fff8f2; }
.secret code { flex: 1; min-width: 0; word-break: break-all; font-size: 13.5px; }

/* code blocks */
.code { position: relative; background: #0b1b3f; color: #e6edf7; border-radius: 10px; padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.65; overflow: auto; }
.code .c { color: #c9d6ee; }
.code .s { color: #ffc59c; }
.code .k { color: #9ad1ff; }
.code-copy { position: absolute; top: 8px; right: 8px; height: 28px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: rgba(255, 255, 255, .06); color: #fff; font: 500 12px var(--ff); cursor: pointer; }
.code-copy:hover { background: rgba(255, 255, 255, .14); }

/* category tiles */
.cat-ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-sms, .cat-otp { background: var(--p1); color: var(--p1-i); }
.cat-whatsapp { background: var(--p2); color: var(--p2-i); }
.cat-email, .cat-voice { background: var(--p3); color: var(--p3-i); }
.cat-kyc { background: var(--p4); color: var(--p4-i); }
.cat-payment, .cat-recharge { background: var(--p5); color: var(--p5-i); }
.cat-utility, .cat-other { background: var(--p6); color: var(--p6-i); }

/* dialogs */
dialog.dlg { border: 0; padding: 0; border-radius: 14px; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
dialog.dlg::backdrop { background: rgba(11, 27, 63, .45); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dlg-head h3 { margin: 0; font-size: 16px; }
.dlg-body { padding: 20px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfcfd; }

.timeline { list-style: none; margin: 0; padding: 0 20px; }
.timeline li { position: relative; padding: 14px 0 14px 22px; border-left: 2px solid var(--line); }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.msg { padding: 14px 16px; border-radius: 10px; background: #f7f9fb; border: 1px solid var(--line); margin-bottom: 12px; font-size: 14px; }
.msg.staff { background: #f3f6fd; border-color: #d6e0f7; }
.msg.internal { background: #fff8eb; border-color: #f2ddb4; }
.msg-h { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.msg-b { white-space: pre-wrap; word-break: break-word; }

.err-page { max-width: 520px; margin: 14vh auto; padding: 0 20px; text-align: center; font-family: var(--ff); }

/* =============================================================================================
 * PUBLIC SITE (nexcoddigital.in)
 * ============================================================================================= */
.site { background: #fff; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 19px; font-weight: 500; letter-spacing: -.02em; text-decoration: none !important; white-space: nowrap; }
.brand img { border-radius: 50%; }
.brand span { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none !important; transition: background-color .15s; }
.site-nav a:hover, .site-nav a.on { background: #f2f5f9; }
.site-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-burger { display: none; margin-left: auto; border: 0; background: none; padding: 6px; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 520px at 85% -10%, rgba(244, 109, 20, .30), transparent 60%), radial-gradient(800px 600px at -10% 120%, rgba(29, 78, 216, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 65%, var(--navy-3) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 90px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #fff; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange-2); }
.hero p.lead { color: #fff; font-size: 17.5px; line-height: 1.65; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn:not(.btn-primary) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.hero .btn:not(.btn-primary):hover { background: rgba(255, 255, 255, .16); }
.hero-proof { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-size: 13.5px; color: #fff; }
.hero-proof b { display: block; font-family: var(--mono); font-size: 20px; color: #fff; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); }
.hero-card .code { background: rgba(3, 10, 28, .55); }
.hero-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: #fff; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dots i:first-child { background: #ff6b5b; } .dots i:nth-child(2) { background: #ffc145; } .dots i:nth-child(3) { background: #3ccf6e; }

.sec { padding: 84px 0; }
.sec-alt { background: var(--bg); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head .kicker { display: inline-block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.03em; margin-bottom: 12px; }
.sec-head p { font-size: 16.5px; color: var(--ink-2); margin: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: border-color .15s; }
.svc:hover { border-color: #0f2557; }
.svc h3 { font-size: 16px; margin: 14px 0 6px; }
.svc p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* the six pillars, after the master mind map */
.mind { max-width: 1040px; margin: 0 auto; }
.mind-root { text-align: center; background: var(--navy); color: #fff; border-radius: 14px; padding: 22px; }
.mind-root h3 { color: #fff; font-size: 20px; margin: 0 0 4px; letter-spacing: .01em; }
.mind-root p { margin: 0; font-size: 14px; color: #fff; }
.mind-link { display: flex; justify-content: center; padding: 10px 0; color: #0f2557; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar { border-radius: 14px; padding: 18px 20px; }
.pillar h3 { font-size: 16.5px; margin: 8px 0 4px; }
.pillar p { margin: 0; font-size: 14px; color: var(--ink-2); }
.pl-1 { background: var(--p1); } .pl-1 .ic { color: var(--p1-i); }
.pl-2 { background: var(--p2); } .pl-2 .ic { color: var(--p2-i); }
.pl-3 { background: var(--p3); } .pl-3 .ic { color: var(--p3-i); }
.pl-4 { background: var(--p4); } .pl-4 .ic { color: var(--p4-i); }
.pl-5 { background: var(--p5); } .pl-5 .ic { color: var(--p5-i); }
.pl-6 { background: var(--p6); } .pl-6 .ic { color: var(--p6-i); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.step::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #fff1e7; color: var(--orange-d); font-family: var(--mono); font-size: 14px; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.03em; }
.split p { color: var(--ink-2); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .ic { color: var(--ok); margin-top: 3px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feature .ic { color: var(--orange); }
.feature h3 { font-size: 16px; margin: 12px 0 6px; }
.feature p { font-size: 14px; color: var(--ink-2); margin: 0; }

.price-tbl { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.price-cat { padding: 14px 20px; background: #f8fafc; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-weight: 500; }

.cta-band { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy-3) 100%); color: #fff; border-radius: 18px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; }
.cta-band p { color: #fff; margin: 0; }

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; margin-bottom: 10px; }
.page-hero p { color: #fff; font-size: 17px; max-width: 680px; margin: 0; }
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h3 { font-size: 17px; margin-top: 26px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f8fafc; }

.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.docs-nav a { padding: 7px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none !important; }
.docs-nav a:hover { background: #f2f5f9; color: var(--ink); }
.docs-nav .g { margin: 14px 12px 4px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.docs section { scroll-margin-top: 90px; padding-bottom: 12px; }
.method { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 5px; margin-right: 8px; }
.m-get { background: var(--ok-bg); color: var(--ok); }
.m-post { background: #fff1e7; color: var(--orange-d); }

.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #eef1f5; }
.status-row:last-child { border-bottom: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--ok); }
.dot.warn { background: #e0a018; } .dot.bad { background: var(--bad); }
.status-hero { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 14px; background: var(--ok-bg); color: #0d5a2a; font-size: 17px; font-weight: 500; margin-bottom: 24px; }
.status-hero.warn { background: var(--warn-bg); color: #7a4605; }
.status-hero.bad { background: var(--bad-bg); color: #8c1414; }

.site-foot { background: var(--navy); color: #fff; padding: 60px 0 30px; font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 30px; }
.site-foot h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.site-foot a { display: block; color: #fff; padding: 3px 0; }
.site-foot a:hover { color: #fff; }
.site-foot .brand { color: #fff; margin-bottom: 12px; }
.site-foot .brand span { color: var(--orange-2); }
.site-foot .base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: 13px; }


/* =============================================================================================
 * RESPONSIVE
 * ============================================================================================= */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .side-scrim { display: block; position: fixed; inset: 0; background: rgba(11, 27, 63, .4); z-index: 35; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
  .side-scrim.open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .top-menu { display: inline-flex; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .steps, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-burger { display: inline-flex; }
  .site-cta { margin-left: 0; }
  .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .docs-nav .g { display: none; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .auth-top { justify-content: space-between; }
  .auth-brand-m { display: inline-flex; }
}
@media (max-width: 720px) {
  .content { padding: 18px 16px 30px; }
  .top { padding: 0 16px; gap: 10px; }
  .top-search { display: none; }
  .top-name { display: none; }
  .top-bal span { font-size: 12.5px; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .stat { padding: 14px; }
  .stat-v { font-size: 18px; }
  .form-grid, .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .panel-head, .panel-body { padding-left: 16px; padding-right: 16px; }
  .filters { padding: 12px 16px; }
  .filters .field { flex: 1 1 140px; }
  .filters .input { min-width: 0; }
  .page-head h1 { font-size: 21px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 60px 0; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc { padding: 16px; }
  .pillars, .steps, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .site-cta .btn-ghost { display: none; }
  .cta-band { padding: 28px 22px; }
  .hero .wrap { padding-top: 54px; padding-bottom: 60px; }
  .app-foot { padding: 14px 16px 20px; }
  .app-foot a { margin: 0 14px 0 0; }
  .auth-card { padding: 26px 20px 22px; }
  .auth-top { padding: 16px; }
  .lx-otp { gap: 6px; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .side, .top, .app-foot, .page-actions, .filters { display: none !important; }
  .app { display: block; }
}

/* the browser's own blue: no tap flash (set at the top), no blue autofill fill, no blue focus glow */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: #000; -webkit-box-shadow: 0 0 0 1000px #fff inset; caret-color: #000;
  transition: background-color 600000s 0s, color 600000s 0s; }
input, textarea, select, button { accent-color: #0f2557; }

/* =============================================================================================
 * THE WEBSITE IN NEXCODPOS.IN'S DRESS (nexcoddigital.in pages, body.site)
 * Header: the logo, five words with three menus, Login and the free start as two round buttons.
 * First screen: the navy ground with the fine grid and the two soft glows, a real screen standing
 * on its bottom edge. Every button a round-ended pill, navy (or white on navy). Sections left-aligned,
 * white and pale tint in turn. The navy footer. Every word black on white, white on navy; nothing
 * moves except a menu opening.
 * ============================================================================================= */
body.site { background: #fff; color: #000; }
body.site .wrap { max-width: 1200px; padding: 0 24px; }

/* header */
.nxh { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid #edf0f6; }
.nxh .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.nxh-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nxh-logo img { display: block; height: 40px; width: auto; }
.nxh-nav { display: flex; align-items: center; flex: 1; gap: 28px; }
.nxh-links { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.nxh-links > a, .nxh-dd > button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  font: 500 15px/1.2 var(--ff); color: #0b1b3f; white-space: nowrap; text-decoration: none !important; }
.nxh-links > a[aria-current], .nxh-dd > button.is-here { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 7px; }
.nxh-dd { position: relative; display: inline-flex; }
.nxh-dd > button .ic { width: 15px; height: 15px; }
.nxh-dd[data-open] > button .ic { transform: rotate(180deg); }
.nxh-panel { display: none; position: absolute; top: 100%; left: -16px; margin-top: 10px; min-width: 230px; padding: 8px; background: #fff;
  border: 1px solid #dfe5ee; border-radius: 12px; box-shadow: 0 34px 70px -34px rgba(11,27,63,.42); z-index: 80; }
.nxh-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nxh-dd[data-open] .nxh-panel { display: flex; flex-direction: column; }
.nxh-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #0b1b3f; font-size: 14.5px; font-weight: 500; white-space: nowrap; text-decoration: none !important; }
.nxh-panel a:hover { background: #f1f4fa; }
.nxh-panel a .ic { color: #0f2557; }
.nxh-act { display: flex; align-items: center; gap: 12px; }
.pill, .nxh-act a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border: 1.5px solid #1b2a6b; border-radius: 999px;
  background: #1b2a6b; color: #fff !important; font: 500 15px/1 var(--ff); white-space: nowrap; text-decoration: none !important; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.nxh-act a { height: 40px; }
.pill:hover, .nxh-act a:hover { background: #0b1b3f; border-color: #0b1b3f; }
.pill.ghost, .nxh-act a.ghost { background: #fff; color: #1b2a6b !important; }
.pill.ghost:hover, .nxh-act a.ghost:hover { background: #f1f4fa; border-color: #1b2a6b; }
.pill.lg { height: 48px; padding: 0 28px; }
.pill.block { display: flex; width: 100%; }
.on-dark .pill { background: #fff; border-color: #fff; color: #1b2a6b !important; }
.on-dark .pill:hover { background: #f1f4fa; border-color: #f1f4fa; }
.on-dark .pill.ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff !important; }
.on-dark .pill.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.nxh-burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; color: #0b1b3f; cursor: pointer; }
/* the website's buttons from before take the same pill */
body.site .btn { height: 44px; padding: 0 24px; border: 1.5px solid #1b2a6b; border-radius: 999px; background: #1b2a6b; color: #fff; font-size: 15px; }
body.site .btn:hover { background: #0b1b3f; border-color: #0b1b3f; color: #fff; }
body.site .btn-lg { height: 48px; padding: 0 28px; }
body.site .btn-ghost, body.site .btn:not(.btn-primary):not(.btn-dark) { background: #fff; color: #1b2a6b; }
body.site .btn-ghost:hover, body.site .btn:not(.btn-primary):not(.btn-dark):hover { background: #f1f4fa; color: #1b2a6b; }
body.site .btn-primary, body.site .btn-dark { background: #1b2a6b; color: #fff; }

/* first screen */
.hx { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 560px at 100% 0%, rgba(37,99,235,.38), transparent 62%),
    radial-gradient(760px 520px at 0% 100%, rgba(225,29,46,.20), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(160deg, #0a1733 0%, #0f2557 55%, #11306f 100%); }
.hx-in { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: 56px; align-items: end; padding-top: 64px; }
.hx-copy { padding-bottom: 60px; }
.hx h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; color: #fff; margin: 0 0 14px; }
.hx-for { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: #fff; margin: 0 0 22px; }
.hx .lead { font-size: 16.5px; line-height: 1.7; color: #fff; max-width: 34em; margin: 0 0 28px; }
.hx-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.hx-price { font-size: 13.5px; color: #fff; margin: 0 0 8px; }
.hx-price b { color: #fff; font-weight: 500; }
.made-in { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #fff; margin: 0 0 28px; }
.made-in .tri { display: inline-block; width: 22px; height: 14px; border-radius: 2px; border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(#ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.hx-keys { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.hx-keys p { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.hx-keys ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hx-keys li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; white-space: nowrap; }
.hx-keys kbd { font: 500 12px/1 var(--mono); color: #fff; min-width: 30px; height: 26px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.32); border-bottom-width: 2px; border-radius: 5px; background: rgba(255,255,255,.07); }
/* the screen standing on the bottom edge: the customer's dashboard, drawn */
.hx-shot { margin: 0 -220px 0 0; align-self: end; }
.scr { background: #fff; color: #000; border-radius: 14px 14px 0 0; border: 1px solid rgba(255,255,255,.18); border-bottom: 0; box-shadow: 0 -10px 60px -12px rgba(0,0,0,.55); overflow: hidden; }
.scr-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #f3f5f9; border-bottom: 1px solid #e3e8ef; }
.scr-bar .dots i { background: #cfd5df; }
.scr-url { flex: 1; max-width: 360px; height: 24px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid #e3e8ef; font: 500 11.5px var(--mono); color: #000; }
.scr-body { display: grid; grid-template-columns: 170px minmax(0,1fr); min-height: 380px; }
.scr-side { background: #fff; border-right: 1px solid #edf0f5; padding: 14px 10px; }
.scr-side img { height: 20px; width: auto; display: block; margin: 0 0 14px 4px; }
.scr-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; font-size: 12px; color: #000; }
.scr-side span.on { background: #fff3ea; color: #e2580a; font-weight: 500; }
.scr-main { padding: 16px 18px; background: #f4f6f9; min-width: 0; }
.scr-h { font-size: 15px; font-weight: 500; margin: 0 0 12px; }
.scr-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.scr-stat { background: #fff; border: 1px solid #e3e8ef; border-radius: 9px; padding: 10px 12px; font-size: 11px; }
.scr-stat b { display: block; font: 500 16px var(--mono); margin-top: 3px; white-space: nowrap; }
.scr-stat.hl { background: linear-gradient(140deg, #0b1b3f, #0f2557); color: #fff; border-color: #0b1b3f; }
.scr-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; }
.scr-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.scr-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #fb8a36, #f46d14); }
.scr-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; padding: 6px 0; border-bottom: 1px solid #f0f2f6; }
.scr-row:last-child { border-bottom: 0; }
.scr-row .mono { font-size: 11px; }
.scr-ok { color: #15803d; background: #eaf6ee; border-radius: 99px; padding: 1px 8px; font-size: 10.5px; }

/* sections */
.section { padding: 64px 0; }
.section-tint { background: #f6f8fc; }
.sec-l { max-width: 680px; margin: 0 0 28px; }
.sec-l h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; letter-spacing: -.03em; margin: 0 0 8px; color: #000; }
.sec-l p { font-size: 16px; color: #000; margin: 0; }
body.site .sec-head { text-align: left; margin: 0 0 28px; max-width: 680px; }
body.site .sec-head .kicker { display: none; }
body.site .sec { padding: 64px 0; }
body.site .sec-alt { background: #f6f8fc; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid #e5e9f1; border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px -16px rgba(15,23,42,.22); }
.card h3 { font-size: 17px; font-weight: 500; margin: 14px 0 6px; }
.card p { font-size: 14.5px; color: #000; margin: 0; line-height: 1.6; }
.card .cat-ic { width: 44px; height: 44px; border-radius: 12px; }
.card a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 500; color: #1b2a6b; }
.svc-grid .svc, .feature, .step, .pillar { box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px -16px rgba(15,23,42,.22); }
.svc-grid .svc { border-radius: 14px; border-color: #e5e9f1; }
.page-hero { position: relative; color: #fff; padding: 64px 0 56px;
  background:
    radial-gradient(900px 560px at 100% 0%, rgba(37,99,235,.38), transparent 62%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(160deg, #0a1733 0%, #0f2557 55%, #11306f 100%); }
.page-hero h1 { font-weight: 500; }
.cta-band { background:
    radial-gradient(700px 400px at 100% 0%, rgba(37,99,235,.38), transparent 62%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(160deg, #0a1733 0%, #0f2557 55%, #11306f 100%); }
body.site .cta-band .btn { background: #fff; border-color: #fff; color: #1b2a6b; }
body.site .cta-band .btn:hover { background: #f1f4fa; }
body.site .hero-cta .btn[style] { background: transparent !important; border-color: rgba(255,255,255,.85) !important; color: #fff !important; }

/* questions */
.faq details { border-radius: 14px; background: #f6f8fc; margin-bottom: 10px; padding: 4px 20px; }
.faq details[open] { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px -16px rgba(15,23,42,.22); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-size: 15.5px; font-weight: 500; color: #000; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 20px; color: #1b2a6b; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: #000; }

/* footer */
.nxf { background: linear-gradient(180deg, #0b1b3f 0%, #081430 100%); color: #fff; padding: 64px 0 26px; font-size: 14px; }
.nxf-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0,1fr)); gap: 32px; }
.nxf-grid img { height: 36px; width: auto; margin-bottom: 14px; }
.nxf-grid p { color: #fff; max-width: 320px; line-height: 1.65; }
.nxf-grid h4 { color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 14px; }
.nxf-grid a { display: block; width: fit-content; color: #fff; padding: 4px 0; text-decoration: none; }
.nxf-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nxf-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #fff; }
.nxf-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .nxh-burger { display: inline-flex; }
  .nxh-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px;
    background: #fff; border-bottom: 1px solid #edf0f6; border-radius: 0 0 16px 16px; box-shadow: 0 30px 60px -30px rgba(11,27,63,.4); max-height: calc(100vh - 76px); overflow-y: auto; }
  .nxh-nav.open { display: flex; }
  .nxh-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nxh-links > a, .nxh-dd > button { width: 100%; justify-content: space-between; padding: 13px 6px; border-bottom: 1px solid #edf0f6; }
  .nxh-dd { display: block; }
  .nxh-panel { position: static; margin: 0; padding: 0 0 0 12px; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
  .nxh-panel a { padding: 11px 6px; border-radius: 0; border-bottom: 1px solid #edf0f6; }
  .nxh-act { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
  .nxh-act a { height: 44px; }
  .nxf-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .hx-in { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hx-copy { padding-bottom: 0; }
  .hx-keys { display: none; }
  .hx-shot { margin: 0 -16px 0 0; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body.site .wrap { padding: 0 18px; }
  .nxh .wrap { height: 66px; }
  .nxh-logo img { height: 32px; }
  .nxh-nav { top: 66px; }
  .hx h1 { font-size: clamp(32px, 8.4vw, 46px); }
  .hx-cta { flex-direction: column; }
  .hx-cta .pill { width: 100%; }
  .section, body.site .sec { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
  .scr-body { grid-template-columns: 1fr; }
  .scr-side { display: none; }
  .nxf-grid { grid-template-columns: 1fr; }
}

/* the wordmark logo in the sign-in tag and the app's sidebar */
.acct-brand { padding: 8px 16px 8px 14px; }
.acct-brand img { width: auto; height: 30px; border-radius: 0; }
.acct-tag { margin-left: 8px; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #ef3346 0%, #c81627 100%); }
.side-brand { padding: 20px 20px 8px; }
.side-brand img { width: auto; height: 28px; max-width: 100%; border-radius: 0; }
@media (max-width: 480px) { .acct-brand img { height: 24px; } }

/* the sidebar's dark mobile overlay is not a grid cell on a desktop: it pushed the whole page under the menu */
.side-scrim { display: none; }

/* every menu item in view on a laptop, and no scrollbar drawn beside the menu (it still scrolls on a small screen) */
.side { scrollbar-width: none; -ms-overflow-style: none; }
.side::-webkit-scrollbar { display: none; width: 0; height: 0; }
.side-brand { padding: 16px 18px 4px; }
.side-ctx { margin: 2px 18px 4px; font-size: 11.5px; }
.side-nav { padding: 0 10px 10px; }
.side-group { margin: 12px 10px 3px; font-size: 10.5px; }
.side-nav a { padding: 6px 10px; gap: 10px; font-size: 13.5px; line-height: 1.35; }
.side-nav a .ic { width: 17px; height: 17px; }
.side-nav a.on::before { left: -10px; top: 6px; bottom: 6px; }
.side-foot { padding: 10px 18px 12px; font-size: 11.5px; }
@media (max-height: 760px) {
  .side-group { margin-top: 9px; }
  .side-nav a { padding-top: 5px; padding-bottom: 5px; }
}

/* the page's own scrollbar: thin and quiet, not the browser's thick grey bar */
html { scrollbar-width: thin; scrollbar-color: #b9c2d0 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #b9c2d0; border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #8e99ab; border: 2px solid transparent; background-clip: padding-box; }
@media (max-width: 1000px) { .side-scrim { display: block; } }
/* a short laptop screen: the context line and the footer note step aside so every menu item fits */
@media (min-width: 1001px) and (max-height: 760px) {
  .side-ctx, .side-foot { display: none; }
  .side-brand { padding-top: 12px; padding-bottom: 6px; }
}
@media (min-width: 1001px) and (max-height: 700px) {
  .side-group { margin: 7px 10px 2px; }
  .side-nav a { padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
}

/* =============================================================================================
 * EVERY DASHBOARD PAGE IN THE SIGN-IN PAGE'S DRESS (account. and company., .app-body)
 * The same silver ground with its diagonal bands, white boxes with a dark edge and round corners,
 * the label over each box, a near-black edge while typing, the one action in orange, the other
 * buttons white with a grey edge, the page's name with the navy and orange bar under it.
 * ============================================================================================= */
.app-body { --ax-edge: #5f6368; --ax-line: #c9ccd3; background: #e9eaee; color: #000; }
.app-body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 0% 0%, rgba(15,37,87,.11), rgba(15,37,87,0) 70%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.42) 0 1px, rgba(255,255,255,0) 1px 12px),
    linear-gradient(120deg, rgba(255,255,255,0) 8%, rgba(255,255,255,.95) 15%, rgba(255,255,255,0) 24%),
    linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.9) 38%, rgba(255,255,255,0) 47%),
    linear-gradient(120deg, rgba(255,255,255,0) 52%, rgba(255,255,255,.95) 60%, rgba(255,255,255,0) 69%),
    linear-gradient(120deg, rgba(255,255,255,0) 74%, rgba(255,255,255,.9) 82%, rgba(255,255,255,0) 91%),
    linear-gradient(120deg, #dcdde3 0%, #f4f5f7 20%, #e0e1e7 42%, #f6f6f8 64%, #e2e3e9 86%, #f2f3f5 100%); }
.app-body .app { background: transparent; }
.is-account .side { background: rgba(255,255,255,.88); border-right: 1px solid var(--ax-line); }
.app-body .top { background: rgba(255,255,255,.82); border-bottom: 1px solid var(--ax-line); }
.app-body .top-search { height: 42px; border: 1px solid var(--ax-edge); border-radius: 10px; background: #fff; color: #000; }
.app-body .top-search:focus-within { border-color: #111; box-shadow: 0 0 0 1px #111; }
.app-body .top-bal { height: 40px; border-radius: 10px; border: 1px solid #e2620f; background: linear-gradient(180deg, #ff9d42 0%, #f47a22 55%, #ef6c16 100%); color: #fff; }
.app-body .app-foot { border-top-color: var(--ax-line); color: #000; }
.app-body .app-foot a { color: #000; }

/* the page's name, as on the sign-in page */
.app-body .page-head { align-items: flex-end; }
.app-body .page-head h1 { font-size: clamp(22px, 3.4vh, 28px); font-weight: 500; line-height: 1.15; color: #000; }
.app-body .page-head h1::after { content: ""; display: block; width: 84px; height: 4px; margin: 10px 0 2px; border-radius: 2px;
  background: linear-gradient(90deg, #0f2557 0 56px, transparent 56px 62px, #f37321 62px 84px); }
.app-body .page-head p { color: #000; }
.app-body .page-head .crumb, .app-body .page-head .crumb a { color: #000; }

/* boxes */
.app-body .panel, .app-body .stat { background: #fff; border: 1px solid var(--ax-line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 26px -20px rgba(15,37,87,.45); }
.app-body .panel-head { border-bottom-color: #e3e5ea; }
.app-body .panel-foot { background: #f7f8fa; border-top-color: #e3e5ea; border-radius: 0 0 12px 12px; }
.app-body .filters { background: #f7f8fa; border-bottom-color: #e3e5ea; }
.app-body .stat.hl { background: linear-gradient(140deg, #0b1b3f 0%, #0f2557 70%, #163070 100%); border-color: #0b1b3f; }
.app-body .tbl th { background: #f3f4f6; color: #000; border-bottom-color: #e3e5ea; }
.app-body .tbl td { border-bottom-color: #eceef2; }
.app-body .tabs { border-bottom-color: var(--ax-line); }
.app-body .tabs a { color: #000; }
.app-body .tabs a.on { border-bottom-color: #f37321; }
.app-body .rows li { border-bottom-color: #eceef2; }
.app-body .rows .r-ic { background: #eef0f4; color: #0f2557; }

/* fields: the label over the box, the box white with a dark edge */
.app-body .field > label, .app-body .lab { font-size: 13px; font-weight: 500; color: #111; margin-bottom: 5px; }
.app-body .input, .app-body select.input, .app-body textarea.input { height: 44px; border: 1px solid var(--ax-edge); border-radius: 10px; background: #fff; color: #000; font-size: 15px; padding: 0 14px; }
.app-body textarea.input { height: auto; padding: 10px 14px; }
.app-body select.input { padding-right: 34px; }
.app-body .input::placeholder { color: #3c4043; opacity: 1; }
.app-body .input:focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.app-body .input-sm { height: 36px; font-size: 14px; border-radius: 8px; padding: 0 10px; }
.app-body .filters .input { height: 40px; font-size: 14px; }
.app-body .money-in .input { padding-left: 28px; }
.app-body .money-in::before { color: #000; left: 13px; }
.app-body .hint { color: #000; }

/* buttons: the one action orange, the others white with a grey edge, the strong one navy */
.app-body .btn { height: 42px; padding: 0 18px; border: 1px solid #b5b8be; border-radius: 10px; background: #fff; color: #111; font-size: 14.5px; font-weight: 500; }
.app-body .btn:hover { border-color: #6b7078; background: #fafafa; }
.app-body .btn-primary { border-color: #e2620f; border-radius: 9px; background: linear-gradient(180deg, #ff9d42 0%, #f47a22 55%, #ef6c16 100%); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.app-body .btn-primary:hover { border-color: #cf560a; background: linear-gradient(180deg, #f8902f 0%, #ea6a14 100%); color: #fff; }
.app-body .btn-dark { border-color: #0f2557; background: #0f2557; color: #fff; }
.app-body .btn-dark:hover { border-color: #0b1b3f; background: #0b1b3f; color: #fff; }
.app-body .btn-danger { color: #b91c1c; border-color: #e6b3b3; }
.app-body .btn-danger:hover { background: #fdecec; border-color: #b91c1c; }
.app-body .btn-ok { color: #15803d; border-color: #b4dcc1; }
.app-body .btn-ok:hover { background: #eaf6ee; border-color: #15803d; }
.app-body .btn-ghost { border-color: transparent; background: transparent; }
.app-body .btn-ghost:hover { background: rgba(15,37,87,.06); border-color: transparent; }
.app-body .btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; }
.app-body .btn-lg { height: 48px; }
.app-body .btn:disabled, .app-body .btn.is-busy { background: #b8b9bd; border-color: #a9aaae; color: #fff; opacity: 1; }

/* popups (dialogs and the confirm box) in the same dress */
dialog.dlg { border: 1px solid var(--ax-line, #c9ccd3); border-radius: 14px; background: #fff; color: #000; width: min(540px, calc(100vw - 28px));
  box-shadow: 0 30px 70px -20px rgba(11,27,63,.55); animation: axIn .3s cubic-bezier(.4,0,.2,1); }
dialog.dlg::backdrop { background: rgba(15,23,42,.45); }
.dlg-head { padding: 18px 22px 0; border-bottom: 0; align-items: flex-start; }
.dlg-head h3 { font-size: 20px; font-weight: 500; margin: 0; }
.dlg-head h3::after { content: ""; display: block; width: 64px; height: 4px; margin: 8px 0 0; border-radius: 2px;
  background: linear-gradient(90deg, #0f2557 0 42px, transparent 42px 47px, #f37321 47px 64px); }
.dlg-body { padding: 16px 22px 18px; }
.dlg-foot { padding: 14px 22px; background: #f7f8fa; border-top: 1px solid #e3e5ea; border-radius: 0 0 14px 14px; }
.dlg-confirm .dlg-body p { margin: 0; font-size: 15px; }

/* toasts: every message after a save, and anything new that arrives, top right */
.toasts { position: fixed; top: 78px; right: 18px; z-index: 120; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 14px; background: #fff; color: #000; border: 1px solid #c9ccd3;
  border-left: 4px solid #0f2557; border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(11,27,63,.55); font-size: 14px; line-height: 1.45; animation: axIn .3s cubic-bezier(.4,0,.2,1); }
.toast.out { opacity: 0; transition: opacity .2s; }
.toast-ic { display: flex; flex: none; margin-top: 1px; }
.toast-m { flex: 1; min-width: 0; word-break: break-word; }
.toast-m b { display: block; font-weight: 500; }
.toast-x { flex: none; border: 0; background: none; padding: 2px; color: #000; cursor: pointer; display: flex; }
.toast.t-success, .toast.t-ok { border-left-color: #15803d; } .toast.t-success .toast-ic, .toast.t-ok .toast-ic { color: #15803d; }
.toast.t-error, .toast.t-bad { border-left-color: #b91c1c; } .toast.t-error .toast-ic, .toast.t-bad .toast-ic { color: #b91c1c; }
.toast.t-warn { border-left-color: #f37321; } .toast.t-warn .toast-ic { color: #e2620f; }
.toast.t-info .toast-ic { color: #0f2557; }

/* the bell's popup */
.top-bell { position: relative; }
.top-bell .top-ic { border: 0; background: none; cursor: pointer; }
.top-bell .top-ic em[hidden] { display: none; }
.np-pop { display: none; position: absolute; right: -8px; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); background: #fff; border: 1px solid #c9ccd3; border-radius: 12px;
  box-shadow: 0 30px 70px -24px rgba(11,27,63,.55); z-index: 90; overflow: hidden; }
.top-bell.open .np-pop { display: block; animation: axIn .25s cubic-bezier(.4,0,.2,1); }
.np-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #e3e5ea; }
.np-head b { font-size: 15px; font-weight: 500; }
.np-list { max-height: 360px; overflow-y: auto; }
.np-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eceef2; color: #000 !important; text-decoration: none !important; }
.np-item:hover { background: #f7f8fa; }
.np-item.unread { background: #fff7f0; }
.np-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: transparent; }
.np-item.unread .np-dot { background: #f37321; }
.np-t { min-width: 0; font-size: 13.5px; }
.np-t b { display: block; font-weight: 500; }
.np-t small { display: block; font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.np-t i { display: block; font-style: normal; font-size: 11.5px; margin-top: 3px; }
.np-empty { padding: 26px 16px; text-align: center; font-size: 14px; }
.np-foot { display: block; padding: 12px 16px; text-align: center; font-size: 13.5px; font-weight: 500; color: #0f2557 !important; background: #f7f8fa; }
.top-user .top-drop { border: 1px solid #c9ccd3; border-radius: 12px; }
@media (max-width: 720px) { .toasts { top: 70px; right: 14px; } .np-pop { position: fixed; right: 12px; left: 12px; top: 70px; width: auto; } }
