/* Inventrik Testing — testing.inventrik.co.in */
:root {
  --navy: #10294F;
  --navy-d: #0A1C38;
  --navy-l: #1C3A69;
  --orange: #F5811F;
  --orange-d: #DB6C0D;
  --ink: #14223A;
  --muted: #566376;
  --line: #DCE2EA;
  --tint: #F3F6FA;
  --white: #FFFFFF;
  --pass: #157347;
  --fail: #B42318;
  --wa: #25D366;
  --radius: 6px;
  --wrap: 1180px;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0 0 .9em; }
ul, ol { margin: 0; padding: 0; }
code { font-size: .9em; background: var(--tint); padding: 1px 5px; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[id] { scroll-margin-top: 76px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }

.ic { flex: none; vertical-align: middle; }
.nowrap { white-space: nowrap; }

/* ---------- Wordmark ---------- */
.wm { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.wm__name {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: .16em;
  color: var(--navy);
}
.wm__dot { color: var(--orange); letter-spacing: 0; }
.wm__tag {
  margin-top: 5px;
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: .2em;
  color: #7A8494;
  white-space: nowrap;
}
.wm--light .wm__name { color: var(--white); }
.wm--light .wm__tag { color: #A9B4C6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 20px;
  font: 600 16px/1.2 var(--f-body);
  letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 54px; padding: 12px 24px; font-size: 17px; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: var(--navy-d); }
.btn--orange:hover { background: #FF9332; color: var(--navy-d); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-l); color: var(--white); }
.btn--wa { background: var(--white); color: var(--navy); }
.btn--wa .ic { color: #128C4A; }
.btn--wa:hover { background: #EAF2FF; color: var(--navy); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.topbar__brand { text-decoration: none; margin-right: auto; padding: 8px 0; }
.topbar__nav { display: none; align-items: center; gap: 22px; }
.topbar__nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.topbar__nav a:not(.btn):hover { color: var(--orange-d); }
.topbar__call {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap;
  font-size: 15px;
}
.topbar__call span { display: none; }
.topbar__call .ic { color: var(--orange-d); }
@media (min-width: 420px) { .topbar__call span { display: inline; } }
@media (min-width: 1000px) {
  .topbar__nav { display: flex; }
  .topbar__call { order: -1; display: none; }
}
@media (min-width: 1180px) { .topbar__call { display: inline-flex; order: 0; } }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  margin: 0 0 10px;
  font: 600 13px/1.3 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-d);
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.eyebrow--light { color: var(--orange); }

.section { padding: 56px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #DCE4F0; }
@media (min-width: 760px) { .section { padding: 84px 0; } }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__h {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: .005em;
  color: var(--navy);
}
.section__h--light { color: var(--white); }
.section__lead { margin-top: 12px; color: var(--muted); font-size: 17.5px; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--navy);
  /* faint graph-paper grid */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M32 0H0V32' fill='none' stroke='%23FFFFFF' stroke-opacity='.05'/%3E%3C/svg%3E");
  color: #DCE4F0;
  padding: 44px 0 52px;
  border-bottom: 4px solid var(--orange);
}
@media (min-width: 760px) { .hero { padding: 80px 0 88px; } }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.25fr .9fr; gap: 56px; } }
.hero__h {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(38px, 9.4vw, 66px);
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -.005em;
  margin-bottom: 18px;
}
.hero__lead { font-size: 18px; max-width: 600px; color: #CBD5E4; }
@media (min-width: 760px) { .hero__lead { font-size: 19.5px; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__cta .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }
.hero__sub { margin-top: 18px; }
.hero__sub a { color: var(--white); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hero__sub a:hover { border-color: var(--orange); color: var(--white); }

/* Test-sheet card */
.sheet {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  border-top: 5px solid var(--orange);
  box-shadow: 0 18px 40px rgba(3, 12, 28, .35);
}
.sheet__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px dashed var(--line);
}
.sheet__title { font: 700 21px/1.1 var(--f-head); color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.sheet__code { font: 600 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sheet__list { list-style: none; padding: 8px 20px; }
.sheet__list li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #EEF1F5; font-size: 16px; }
.sheet__list li:last-child { border-bottom: 0; }
.sheet__list .ic { color: var(--pass); margin-top: 2px; }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 20px 16px; background: var(--tint); border-radius: 0 0 var(--radius) var(--radius); }
.sheet__note { font-size: 14px; color: var(--muted); }
.tag { font: 700 13px/1 var(--f-body); letter-spacing: .1em; padding: 6px 10px; border-radius: 3px; border: 1.5px solid; }
.tag--pass { color: var(--pass); border-color: var(--pass); background: #E8F5EE; }
.tag--fail { color: var(--fail); border-color: var(--fail); background: #FDECEA; }

/* ---------- Service types strip ---------- */
.types { border-bottom: 1px solid var(--line); }
.types__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .types__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .types__grid { grid-template-columns: repeat(4, 1fr); } }
.types__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.types__item:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .types__item { padding: 28px 22px 26px; border-bottom: 0; border-left: 1px solid var(--line); }
  .types__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .types__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .types__item:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 22px; }
  .types__item:first-child { border-left: 0; padding-left: 0; }
  .types__item:nth-child(-n+2) { border-bottom: 0; }
}
.types__n { font: 700 14px/1 var(--f-head); color: var(--orange-d); letter-spacing: .08em; }
.types__h { font: 700 22px/1.15 var(--f-head); color: var(--navy); margin: 6px 0 6px; }
.types__item p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Services grid ---------- */
.svc { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .svc { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.svc__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; background: var(--white);
  border-top: 3px solid var(--navy);
}
.svc__card:hover { border-top-color: var(--orange); }
.svc__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.svc__ic {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  background: var(--tint); color: var(--navy); border-radius: var(--radius);
}
.svc__h { font: 700 22px/1.15 var(--f-head); color: var(--navy); }
.svc__list { list-style: none; }
.svc__list li { position: relative; padding: 5px 0 5px 18px; font-size: 15.5px; border-top: 1px solid #F0F2F6; }
.svc__list li:first-child { border-top: 0; }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 2px; background: var(--orange); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps__item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; }
.steps__n {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: var(--navy); color: var(--white); border-radius: 50%;
  font: 700 19px/1 var(--f-head); margin-bottom: 12px;
  box-shadow: 0 0 0 4px #FDE6D2;
}
.steps__h { font: 700 21px/1.15 var(--f-head); color: var(--navy); margin-bottom: 6px; }
.steps__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Why ---------- */
.why { display: grid; gap: 14px; }
@media (min-width: 760px) { .why { grid-template-columns: 1fr 1fr; gap: 18px 28px; } }
.why__item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.why__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); color: var(--orange); border-radius: var(--radius); }
.why__h { font: 700 21px/1.2 var(--f-head); color: var(--navy); margin-bottom: 4px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

.clients { margin-top: 40px; }
.clients__h { font: 700 20px/1.2 var(--f-head); color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--white); }

/* ---------- Area ---------- */
.area { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; gap: 56px; } }
.area__lead { color: #CBD5E4; margin-top: 12px; font-size: 17.5px; }
.area__list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 520px) { .area__list { grid-template-columns: 1fr 1fr; } }
.area__list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  background: var(--navy-d);
}
.area__list .ic { color: var(--orange); margin-top: 2px; }
.area__list strong { display: block; color: var(--white); font: 700 21px/1.15 var(--f-head); }
.area__list span { font-size: 14.5px; color: #AFBBD0; }

/* ---------- Projects ---------- */
.proj { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .proj { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (min-width: 1040px) { .proj { grid-template-columns: repeat(3, 1fr); } }
.proj__item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.proj__name { font-weight: 600; color: var(--navy); }
.proj__place { font-size: 14px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Enquiry ---------- */
.enq { display: grid; gap: 28px; }
@media (min-width: 980px) { .enq { grid-template-columns: .75fr 1.5fr; gap: 56px; align-items: start; } .enq__side { position: sticky; top: 96px; } }
.enq__side > p { color: var(--muted); }
.enq__direct { margin-top: 18px; line-height: 2; }
.enq__direct a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; }
.enq__direct .ic { color: var(--orange-d); }

.form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; min-width: 0;
}
@media (min-width: 640px) { .form { padding: 28px; } }
.form--narrow { max-width: 460px; }
.form__row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 16px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field--set { border: 0; padding: 0; }
.field--set legend { padding: 0; }
.req { color: var(--fail); }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"],
.field input[type="password"], .field input:not([type]), .field select, .field textarea,
.lead__edit select, .lead__edit textarea, .search input {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--white); border: 1.5px solid #C5CEDA; border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
.field input[type="date"] { min-width: 0; display: block; }
.field select, .lead__edit select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310294F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .lead__edit select:focus, .lead__edit textarea:focus, .search input:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245,129,31,.35);
}
.field [aria-invalid="true"], .field--set[aria-invalid="true"] .checks, .field--set[aria-invalid="true"] .seg { border-color: var(--fail) !important; }
.field__err { margin: 6px 0 0; color: var(--fail); font-size: 14.5px; font-weight: 500; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px; border: 1.5px solid transparent; border-radius: var(--radius); }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.field .check { display: flex; margin: 0; font-weight: 500; line-height: 1.25; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 15px; background: var(--white); }
.check:hover { border-color: #AEB9C9; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--navy); background: #EEF3FA; }

.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 2px; border: 1.5px solid transparent; border-radius: var(--radius); }
.seg__opt { position: relative; min-width: 0; }
.field .seg__opt { margin: 0; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 4px; border: 1.5px solid #C5CEDA; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; white-space: nowrap; background: var(--white);
}
.seg__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.form__fine { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 18px; font-weight: 500; font-size: 15.5px; border-left: 4px solid; }
.alert--err { background: #FDECEA; color: #7A1A12; border-color: var(--fail); }
.alert--ok { background: #E8F5EE; color: #0D4A2D; border-color: var(--pass); }

/* ---------- Thanks ---------- */
.thanks__box { max-width: 680px; text-align: left; }
.thanks__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E8F5EE; color: var(--pass); margin-bottom: 18px; }
.thanks__ref { font-size: 19px; margin-top: 12px; }
.thanks__ref strong { font-family: var(--f-head); font-size: 24px; color: var(--navy); letter-spacing: .04em; }
.thanks__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.thanks__cta .btn { flex: 1 1 240px; }
.thanks .btn--wa { background: var(--navy); color: var(--white); }
.thanks .btn--wa .ic { color: var(--wa); }
.thanks .btn--wa:hover { background: var(--navy-l); color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-d); color: #AFBBD0; padding-top: 44px; font-size: 15.5px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__grid { display: grid; gap: 26px; padding-bottom: 34px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer__lead { margin-top: 14px; max-width: 360px; }
.footer__h { font: 600 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.footer__grid p { margin: 0 0 6px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; color: #8E9AB0; text-align: center; }
.footer--slim { padding-top: 0; }

/* ---------- Mobile contact dock ---------- */
.dock { display: none; }
@media (max-width: 999px) {
  body.home { padding-bottom: 68px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 18px rgba(10, 28, 56, .12);
  }
  body:not(.home) .dock { display: none; }
  .dock__btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 58px; font-weight: 700; font-size: 15.5px; text-decoration: none;
    background: var(--white); color: var(--navy);
  }
  .dock__btn--wa { background: var(--navy); color: var(--white); }
  .dock__btn--wa .ic { color: var(--wa); }
  .dock__btn--enq { background: var(--orange); color: var(--navy-d); }
  .dock__btn--call .ic { color: var(--orange-d); }
}

/* ---------- Admin ---------- */
.admin .topbar { position: static; }
.section--admin { padding-top: 28px; }
.admin__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.admin__logout { margin: 0; }
.login { max-width: 460px; }
.login .section__h { margin-bottom: 18px; }
.install { max-width: 560px; }
.install__h { font: 700 20px/1.2 var(--f-head); color: var(--navy); margin: 8px 0 12px; text-transform: uppercase; letter-spacing: .05em; }
.install__links { display: flex; gap: 10px; flex-wrap: wrap; }
.install__fine { color: var(--muted); font-size: 14px; }
.install .section__h { margin-bottom: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filters__a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; text-decoration: none; color: var(--ink); background: var(--white); }
.filters__a b { color: var(--muted); font-weight: 600; margin-left: 3px; }
.filters__a.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters__a.is-on b { color: #C6D2E5; }
.search { display: flex; gap: 8px; margin-bottom: 22px; max-width: 520px; }
.search input { min-height: 40px; padding: 7px 10px; }
.empty { color: var(--muted); padding: 24px 0; }
.leads { display: grid; gap: 14px; }
.lead {
  display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  border-left: 4px solid var(--navy);
}
@media (min-width: 900px) { .lead { grid-template-columns: 1fr 300px; } }
.lead__top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 6px; }
.lead__ref { font: 700 17px/1 var(--f-head); letter-spacing: .06em; color: var(--navy); }
.lead__time { font-size: 14px; color: var(--muted); }
.lead__name { font: 700 23px/1.2 var(--f-head); color: var(--ink); }
.lead__co { color: var(--muted); font-weight: 600; }
.lead__contact { margin: 6px 0 10px; font-size: 15.5px; overflow-wrap: anywhere; }
.lead__dl { display: grid; gap: 4px 18px; margin: 0; font-size: 15px; }
@media (min-width: 640px) { .lead__dl { grid-template-columns: 1fr 1fr; } }
.lead__dl div { display: flex; gap: 8px; }
.lead__dl dt { flex: none; width: 76px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.lead__dl dd { margin: 0; overflow-wrap: anywhere; }
.lead__msg { margin: 12px 0 0; padding: 10px 12px; background: var(--tint); border-radius: var(--radius); font-size: 15px; overflow-wrap: anywhere; }
.lead__edit { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--tint); border-radius: var(--radius); }
.lead__edit label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lead__edit select { min-height: 42px; }
.lead__edit textarea { min-height: 80px; resize: vertical; }
.lead__edit .btn { margin-top: 6px; }
.lead__upd { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.badge { font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; background: var(--tint); color: var(--navy); }
.badge--new { background: #FDE6D2; color: #8A3F05; }
.badge--contacted { background: #E3ECFA; color: var(--navy); }
.badge--quoted { background: #EDE7FA; color: #4B2E83; }
.badge--won { background: #E8F5EE; color: var(--pass); }
.badge--lost { background: #EEF0F3; color: #5A6270; }
.lead:has(.badge--won) { border-left-color: var(--pass); }
.lead:has(.badge--new) { border-left-color: var(--orange); }
.lead:has(.badge--lost) { border-left-color: #A3ABB8; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 22px; }
.pager__a { min-width: 38px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pager__a.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .topbar, .dock, .footer, .hero__cta { display: none !important; } }
