/* =====================================================================
   AdvaitCommerce — the business (B2B) side of ADVAITHAAT
   Ledger navy + ADVAITHAAT saffron, verified green. Numbers in tabular figures so prices line up.
   ===================================================================== */
:root {
  --ac-navy: #0d2a4a; --ac-navy-2: #16406b; --ac-ink: #102033; --ac-muted: #5b6b7f;
  --ac-saffron: #f2a516; --ac-saffron-2: #ffcf5c; --ac-green: #12805c; --ac-green-bg: #e3f4ec;
  --ac-paper: #f4f6f9; --ac-card: #ffffff; --ac-line: #d9e0ea; --ac-blue-bg: #e8f0fa; --ac-red: #b42318;
  --ac-r: 10px;
}
.ac-body { background: var(--ac-paper); color: var(--ac-ink); }
.ac-main { font-variant-numeric: tabular-nums; }
.ac-main .wrap { max-width: 1240px; }
.ac-muted { color: var(--ac-muted); }
.ac-main h1, .ac-main h2, .ac-main h3 { color: var(--ac-ink); letter-spacing: -0.01em; }

/* top strip: AdvaitCommerce tab */
.brand-tab.ac-tab .brand-icon-circle { background: linear-gradient(135deg, #16406b, #0d2a4a); }

/* ---------- AdvaitCommerce bar ---------- */
.ac-nav { background: var(--ac-navy); color: #fff; position: relative; z-index: 5; }
.ac-nav-in { display: flex; align-items: center; gap: 18px; min-height: 52px; padding-top: 6px; padding-bottom: 6px; }
.ac-logo { color: #fff; text-decoration: none; font-size: 19px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ac-logo b { font-weight: 800; color: var(--ac-saffron-2); }
.ac-logo small { font-size: 11px; opacity: .75; font-weight: 500; margin-left: 4px; letter-spacing: .02em; }
.ac-mark { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, var(--ac-saffron) 0 50%, #fff 50% 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.ac-links { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.ac-links::-webkit-scrollbar { display: none; }
.ac-nav .ac-links a[href] { color: #dbe6f3; text-decoration: none; padding: 7px 11px; border-radius: 7px; font-size: 14px; white-space: nowrap; }
.ac-nav .ac-links a[href]:hover { background: rgba(255,255,255,.08); color: #fff; }
.ac-nav .ac-links a[aria-current="page"][href] { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }

/* ---------- buttons ---------- */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; line-height: 1.2; }
.ac-btn-primary { background: var(--ac-navy); color: #fff; }
.ac-btn-primary:hover { background: var(--ac-navy-2); }
.ac-btn-accent { background: var(--ac-saffron); color: #1b1300; }
.ac-btn-accent:hover { background: var(--ac-saffron-2); }
.ac-btn-ghost { background: #fff; color: var(--ac-navy); border-color: var(--ac-line); }
.ac-btn-ghost:hover { border-color: var(--ac-navy); }
.ac-btn-sm { padding: 7px 11px; font-size: 13px; }
.ac-btn-block { width: 100%; }
.ac-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- hero ---------- */
.ac-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(242,165,22,.18), transparent 60%), linear-gradient(180deg, #0d2a4a 0%, #123a63 100%); color: #fff; padding: 44px 0 56px; }
.ac-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.ac-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; margin: 0 0 14px; font-weight: 800; max-width: 17ch; }
.ac-hero .ac-lead { color: #d3e0ef; font-size: 17px; line-height: 1.55; max-width: 56ch; margin: 0 0 22px; }
.ac-search { display: flex; background: #fff; border-radius: 10px; padding: 5px; gap: 5px; max-width: 620px; box-shadow: 0 10px 30px rgba(3, 15, 30, .3); }
.ac-search input { flex: 1; min-width: 0; border: 0; font-size: 16px; padding: 10px 12px; color: var(--ac-ink); background: transparent; }
.ac-search input:focus { outline: none; }
.ac-search:focus-within { box-shadow: 0 0 0 3px var(--ac-saffron), 0 10px 30px rgba(3, 15, 30, .3); }
.ac-search-hint { color: #b9cbe0; font-size: 13px; margin: 10px 0 0; }
.ac-hero .ac-search-hint a[href] { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ac-hero-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.ac-hero-facts div { min-width: 110px; }
.ac-hero-facts b { display: block; font-size: 26px; color: var(--ac-saffron-2); font-weight: 800; }
.ac-hero-facts span { color: #c7d6e7; font-size: 13px; }

/* ---------- the trade slip (requirement form) ---------- */
.ac-slip { background: #fffdf7; color: var(--ac-ink); border-radius: 12px; padding: 22px 22px 18px; position: relative; box-shadow: 0 20px 40px rgba(3, 15, 30, .35); }
.ac-slip::before { content: ""; position: absolute; left: 14px; right: 14px; top: -7px; height: 14px; background: radial-gradient(circle at 7px 7px, transparent 6px, #fffdf7 6.5px) repeat-x; background-size: 18px 14px; }
.ac-slip h2 { font-size: 19px; margin: 0 0 2px; }
.ac-slip .ac-slip-sub { color: var(--ac-muted); font-size: 13.5px; margin: 0 0 14px; }
.ac-slip-no { position: absolute; top: 16px; right: 18px; font: 600 11px/1 ui-monospace, Menlo, monospace; color: #9aa7b6; letter-spacing: .08em; }
.ac-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; min-width: 0; }
.ac-field label { font-size: 12.5px; font-weight: 700; color: #2d3e52; }
.ac-field input, .ac-field select, .ac-field textarea { border: 1px solid var(--ac-line); border-radius: 8px; padding: 10px 11px; font-size: 15px; background: #fff; color: var(--ac-ink); width: 100%; box-sizing: border-box; font-family: inherit; }
.ac-field textarea { min-height: 76px; resize: vertical; }
.ac-field input:focus, .ac-field select:focus, .ac-field textarea:focus { outline: none; border-color: var(--ac-navy-2); box-shadow: 0 0 0 3px rgba(22, 64, 107, .15); }
.ac-field .ac-err { color: var(--ac-red); font-size: 12.5px; }
.ac-field.has-err input, .ac-field.has-err select, .ac-field.has-err textarea { border-color: var(--ac-red); }
.ac-qty { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 6px; }
.ac-fine { font-size: 12px; color: var(--ac-muted); margin: 10px 0 0; }
.ac-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; border: 0; padding: 0; }
.ac-kinds legend { font-size: 12.5px; font-weight: 700; color: #2d3e52; margin-bottom: 5px; padding: 0; }
.ac-kinds label { border: 1px solid var(--ac-line); border-radius: 999px; padding: 6px 11px; font-size: 13px; cursor: pointer; background: #fff; }
.ac-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.ac-kinds input:checked + span { color: var(--ac-navy); font-weight: 700; }
.ac-kinds label:has(input:checked) { border-color: var(--ac-navy); background: var(--ac-blue-bg); }
.ac-kinds label:has(input:focus-visible) { outline: 3px solid var(--ac-saffron); outline-offset: 2px; }

/* ---------- sections ---------- */
.ac-sec { padding: 40px 0; }
.ac-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ac-sec-head h2 { font-size: clamp(21px, 2.4vw, 27px); margin: 0; font-weight: 800; }
.ac-sec-head p { margin: 4px 0 0; color: var(--ac-muted); }
.ac-sec-head a[href] { white-space: nowrap; font-weight: 700; color: var(--ac-navy-2); }
.ac-white { background: #fff; border-top: 1px solid var(--ac-line); border-bottom: 1px solid var(--ac-line); }

/* trade hubs */
.ac-hubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ac-hub { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-r); padding: 10px 12px; text-decoration: none; color: var(--ac-ink); min-width: 0; }
.ac-hub:hover { border-color: var(--ac-navy-2); }
.ac-hub img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.ac-hub span { font-weight: 700; font-size: 14px; line-height: 1.25; }
.ac-hub small { display: block; color: var(--ac-muted); font-weight: 500; font-size: 12px; }

/* how it works — a real sequence */
.ac-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border: 1px solid var(--ac-line); border-radius: 12px; background: #fff; overflow: hidden; }
.ac-step { padding: 20px 22px; position: relative; border-right: 1px solid var(--ac-line); }
.ac-step:last-child { border-right: 0; }
.ac-step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ac-navy); color: #fff; font-weight: 800; margin-bottom: 10px; }
.ac-step h3 { margin: 0 0 6px; font-size: 17px; }
.ac-step p { margin: 0; color: var(--ac-muted); line-height: 1.5; }

/* why — trade features */
.ac-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ac-why div { background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-r); padding: 16px; }
.ac-why b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.ac-why p { margin: 0; color: var(--ac-muted); font-size: 14px; line-height: 1.5; }
.ac-why .ac-ico { font-size: 22px; display: block; margin-bottom: 6px; }

/* product cards with the price ladder */
.ac-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ac-pcard { background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.ac-pimg { display: block; aspect-ratio: 4 / 3; background: #f7f9fc; }
.ac-pimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ac-pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ac-pbody h3 { font-size: 15px; margin: 0; line-height: 1.35; font-weight: 700; }
.ac-pbody h3 a[href] { color: var(--ac-ink); text-decoration: none; }
.ac-pbody h3 a[href]:hover { color: var(--ac-navy-2); text-decoration: underline; }
.ac-ladder { margin: 0; border: 1px solid var(--ac-line); border-radius: 8px; overflow: hidden; }
.ac-ladder div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; font-size: 13.5px; }
.ac-ladder div + div { border-top: 1px dashed var(--ac-line); }
.ac-ladder dt { color: var(--ac-muted); margin: 0; }
.ac-ladder dd { margin: 0; font-weight: 800; }
.ac-ladder-bulk { background: var(--ac-green-bg); }
.ac-ladder-bulk dd { color: var(--ac-green); }
.ac-lock { font-size: 12.5px; font-weight: 700; color: var(--ac-green); }
.ac-pmeta { margin: 0; color: var(--ac-muted); font-size: 12.5px; }
.ac-pseller { margin: 0; font-size: 13px; color: #2d3e52; }
.ac-pbody .ac-btn { margin-top: auto; align-self: flex-start; }

/* badges */
.ac-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.ac-badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .02em; }
.ac-b-gst { background: var(--ac-blue-bg); color: var(--ac-navy-2); }
.ac-b-plus { background: var(--ac-green); color: #fff; }
.ac-b-house { background: #fff4d6; color: #7a5200; }
.ac-stats { display: block; color: var(--ac-muted); font-size: 12.5px; margin-top: 6px; }

/* supplier cards */
.ac-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ac-scard { background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-r); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ac-shead { display: flex; gap: 12px; align-items: center; }
.ac-shead h3 { margin: 0; font-size: 16px; }
.ac-shead p { margin: 2px 0 0; font-size: 13px; }
.ac-avatar { width: 42px; height: 42px; border-radius: 10px; background: var(--ac-navy); color: var(--ac-saffron-2); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.ac-sactions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }

/* assurance band */
.ac-assure { background: var(--ac-navy); color: #fff; border-radius: 14px; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.ac-assure h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.ac-assure p { margin: 0; color: #cfdcec; line-height: 1.55; max-width: 70ch; }
.ac-assure ul { margin: 10px 0 0; padding-left: 18px; color: #e3ecf6; line-height: 1.7; }

/* split CTA for buyers and sellers */
.ac-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-split > div { background: #fff; border: 1px solid var(--ac-line); border-radius: 12px; padding: 22px; }
.ac-split h3 { margin: 0 0 6px; font-size: 19px; }
.ac-split p { color: var(--ac-muted); margin: 0 0 14px; line-height: 1.55; }

/* ---------- inner pages ---------- */
.ac-page { padding: 26px 0 50px; }
.ac-page h1 { font-size: clamp(23px, 3vw, 30px); margin: 0 0 6px; font-weight: 800; }
.ac-crumbs { font-size: 13px; color: var(--ac-muted); margin-bottom: 10px; }
.ac-crumbs a[href] { color: var(--ac-navy-2); }
.ac-card { background: #fff; border: 1px solid var(--ac-line); border-radius: 12px; padding: 18px; }
.ac-card + .ac-card { margin-top: 14px; }
.ac-card h2 { font-size: 18px; margin: 0 0 12px; }
.ac-two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.ac-alert { padding: 12px 14px; border-radius: 9px; margin: 0 0 14px; font-size: 14.5px; }
.ac-alert-ok { background: var(--ac-green-bg); color: #0b5a40; }
.ac-alert-err { background: #fdecea; color: #8a1c12; }
.ac-alert-info { background: var(--ac-blue-bg); color: #13365b; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-table th { text-align: left; font-size: 12px; color: var(--ac-muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--ac-line); background: #f8fafc; }
.ac-table td { padding: 10px; border-bottom: 1px solid #edf1f6; vertical-align: top; }
.ac-table .num { text-align: right; white-space: nowrap; }
.ac-scroll { overflow-x: auto; }
.ac-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef2f7; color: #334155; white-space: nowrap; }
.ac-pill-new { background: #fff4d6; color: #7a5200; }
.ac-pill-ok { background: var(--ac-green-bg); color: #0b5a40; }
.ac-pill-wait { background: var(--ac-blue-bg); color: #13365b; }
.ac-pill-no { background: #f1f1f1; color: #6b6b6b; }
.ac-quote { border: 1px solid var(--ac-line); border-radius: 10px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: start; }
.ac-quote + .ac-quote { margin-top: 10px; }
.ac-quote .ac-price { font-size: 22px; font-weight: 800; color: var(--ac-ink); }
.ac-quote .ac-price small { font-size: 13px; color: var(--ac-muted); font-weight: 500; }
.ac-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin: 0; }
.ac-kv dt { color: var(--ac-muted); }
.ac-kv dd { margin: 0; font-weight: 600; }
.ac-otp { letter-spacing: .5em; font-size: 22px !important; text-align: center; font-weight: 800; }

/* dashboard */
.ac-dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.ac-w4 { grid-column: span 4; } .ac-w6 { grid-column: span 6; } .ac-w8 { grid-column: span 8; } .ac-w12 { grid-column: span 12; }
.ac-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.ac-kpi { background: #fff; border: 1px solid var(--ac-line); border-radius: 12px; padding: 14px 16px; }
.ac-kpi span { color: var(--ac-muted); font-size: 12.5px; font-weight: 600; }
.ac-kpi b { display: block; font-size: 22px; margin-top: 4px; }
.ac-kpi a[href] { font-size: 12.5px; font-weight: 700; color: var(--ac-navy-2); }
.ac-quick textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; min-height: 120px; }
.ac-list { list-style: none; margin: 0; padding: 0; }
.ac-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf1f6; font-size: 14px; align-items: center; }
.ac-list li:last-child { border-bottom: 0; }
.ac-empty { color: var(--ac-muted); font-size: 14px; margin: 4px 0; }
.ac-status-box { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* catalogue / price list */
.ac-cat-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.ac-tiers { font-size: 12.5px; color: var(--ac-green); font-weight: 700; }

/* supplier pages */
.ac-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-cities a[href] { background: #fff; border: 1px solid var(--ac-line); border-radius: 999px; padding: 5px 11px; font-size: 13px; text-decoration: none; color: var(--ac-ink); }
.ac-cities a:hover, .ac-cities a[aria-current="page"] { border-color: var(--ac-navy); background: var(--ac-blue-bg); }

@media (max-width: 960px) {
  .ac-hero-grid, .ac-two { grid-template-columns: 1fr; }
  .ac-steps { grid-template-columns: 1fr; }
  .ac-step { border-right: 0; border-bottom: 1px solid var(--ac-line); }
  .ac-step:last-child { border-bottom: 0; }
  .ac-w4, .ac-w6, .ac-w8 { grid-column: span 12; }
  .ac-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-assure, .ac-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ac-nav-in { flex-wrap: wrap; gap: 6px 12px; padding-top: 8px; }
  .ac-logo small { display: none; }
  .ac-nav-cta { margin-left: auto; padding: 7px 11px; font-size: 13px; }
  .ac-links { order: 3; flex-basis: 100%; margin: 0 -4px; padding-bottom: 6px; }
  .ac-hero { padding: 26px 0 34px; }
  .ac-hero .ac-lead { font-size: 15.5px; }
  .ac-hero-facts { gap: 16px; }
  .ac-hero-facts b { font-size: 21px; }
  .ac-form-row { grid-template-columns: 1fr; gap: 0; }
  .ac-sec { padding: 28px 0; }
  .ac-sec-head { flex-direction: column; align-items: start; gap: 6px; }
  .ac-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ac-pbody { padding: 10px; }
  .ac-pbody h3 { font-size: 14px; }
  .ac-ladder div { padding: 5px 7px; font-size: 12.5px; flex-direction: column; gap: 0; }
  .ac-quote { grid-template-columns: 1fr; }
  .ac-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .site-header, .ac-nav, .site-footer, .ac-noprint, .advi-fab, #adviFab { display: none !important; }
  .ac-body { background: #fff; }
  .ac-card { border: 0; padding: 0; }
}

.ac-main a[href]:not([class]) { color: var(--ac-navy-2); }
.ac-logo .ac-word { white-space: nowrap; }

/* requirement form */
.ac-card h2 + .ac-field, .ac-card form h2 { margin-top: 0; }
form.ac-card h2 { font-size: 16px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid #edf1f6; }
form.ac-card h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.ac-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.ac-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.ac-linkbtn { background: none; border: 0; padding: 0; color: var(--ac-navy-2); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ac-inline-forms { margin-top: 12px; font-size: 14px; color: var(--ac-muted); }
.ac-next { margin: 0; padding-left: 20px; color: #2d3e52; font-size: 14px; line-height: 1.55; }
.ac-next li + li { margin-top: 6px; }
aside > .ac-card + .ac-card { margin-top: 14px; }
@media (max-width: 640px) { .ac-grid2, .ac-grid3 { grid-template-columns: 1fr; } }

/* seller: buyer requests, verification */
.ac-meter { height: 6px; background: #edf1f6; border-radius: 99px; overflow: hidden; margin: 8px 0 6px; }
.ac-meter i { display: block; height: 100%; background: var(--ac-saffron); }
.ac-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ac-line); margin: 4px 0 14px; overflow-x: auto; }
.ac-tabs a[href] { padding: 9px 14px; color: var(--ac-muted); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.ac-tabs a[aria-current="page"][href] { color: var(--ac-navy); border-bottom-color: var(--ac-saffron); }
.ac-req-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ac-req-head h2 { margin: 0 0 4px; }
.ac-req.is-focus { border-color: var(--ac-saffron); box-shadow: 0 0 0 3px rgba(242,165,22,.18); }
.ac-respond summary { cursor: pointer; font-weight: 700; color: var(--ac-navy-2); margin: 6px 0 10px; }
.ac-decline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf1f6; font-size: 13.5px; color: var(--ac-muted); }
.ac-decline select { border: 1px solid var(--ac-line); border-radius: 8px; padding: 6px 8px; }
.seller-portal .ac-card a[href]:not([class]), .seller-portal .ac-kpi a[href] { color: var(--ac-navy-2); }

/* dashboard, catalogue, price list, supplier pages */
.ac-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ac-dash-head h1 { margin: 0 0 2px; }
.ac-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ac-card-head h2 { margin: 0; }
.ac-main .ac-list a[href]:not([class]) { color: var(--ac-ink); font-weight: 600; }
.ac-supplier-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.ac-supplier-head h1 { margin: 0 0 4px; }
.ac-avatar-lg { width: 64px; height: 64px; font-size: 28px; border-radius: 14px; }
.ac-supplier-cta { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.ac-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0; }
.ac-trust dt { font-size: 12.5px; color: var(--ac-muted); font-weight: 600; }
.ac-trust dd { margin: 3px 0 0; font-weight: 700; font-size: 14.5px; }
.ac-filter { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.ac-filter select { border: 1px solid var(--ac-line); border-radius: 8px; padding: 7px 9px; font-size: 14px; }
.ac-pl-cat th { background: var(--ac-paper); color: var(--ac-ink); font-size: 13px; padding: 8px 10px; }
.ac-pl-table td a[href]:not([class]) { color: var(--ac-ink); font-weight: 600; }
.ac-search-page { box-shadow: none; border: 1px solid var(--ac-line); margin: 6px 0 18px; max-width: 760px; }
.ac-search-page:focus-within { box-shadow: 0 0 0 3px rgba(22,64,107,.18); }
.ac-search-page input + input { border-left: 1px solid var(--ac-line); max-width: 210px; }
.ac-catcity h2 { font-size: 17px; margin: 0 0 10px; }
.ac-catcity h2 a[href] { color: var(--ac-ink); text-decoration: none; }
.ac-catcity h2 a[href]:hover { text-decoration: underline; }
.ac-cities-sm { align-items: center; font-size: 13px; }
.ac-results-head { align-items: start; margin-bottom: 8px; }
.ac-mini-post h2 { font-size: 16px; }
.ac-sec-compact { margin-top: 20px; }
.ac-h2 { font-size: 19px; margin: 0 0 12px; }
@media (max-width: 960px) { .ac-supplier-head { grid-template-columns: auto minmax(0, 1fr); } .ac-supplier-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; } }
@media (max-width: 640px) { .ac-search-page { flex-wrap: wrap; } .ac-search-page input + input { border-left: 0; border-top: 1px solid var(--ac-line); max-width: none; flex-basis: 100%; } .ac-search-page .ac-btn { width: 100%; } .ac-avatar-lg { width: 48px; height: 48px; font-size: 22px; } }
@media print { .ac-pricelist .ac-card { border: 0; } .ac-pl-table { font-size: 11px; } .ac-pl-table a { color: #000 !important; text-decoration: none; } }

/* spacing: the site's .wrap rules load later and reset padding */
.ac-main .wrap.ac-page { padding-top: 22px; padding-bottom: 56px; }
.ac-dash > .ac-card, .ac-dash > .ac-card + .ac-card { margin-top: 0; }
aside .ac-card p, .ac-card p.ac-muted { font-size: 14px; line-height: 1.55; }
.seller-portal .seller-wrap > .ac-card:last-child, .seller-portal .seller-wrap > article:last-of-type { margin-bottom: 36px; }
.seller-portal .ac-kpis { margin-top: 6px; }
.cq-in { width: 110px; padding: 7px 9px; border: 1.5px solid var(--ac-line); border-radius: 8px; font-size: 15px; text-align: right; }
.cq-in:focus { border-color: var(--ac-navy-2); outline: none; box-shadow: 0 0 0 3px rgba(22,64,107,.15); }
.lo-table td { vertical-align: middle; }
.lo-miss td { background: #fff9f0; }
.lo-sel { max-width: 340px; width: 100%; padding: 7px 8px; border: 1.5px solid var(--ac-line); border-radius: 8px; font-size: 14px; }
.lo-q { width: 80px; }
.lo-unit { padding: 7px 6px; border: 1.5px solid var(--ac-line); border-radius: 8px; margin-left: 4px; }
.ac-or { display: flex; align-items: center; gap: 10px; color: var(--ac-muted); font-size: 13px; margin: 6px 0 10px; }
.ac-or::before, .ac-or::after { content: ""; flex: 1; height: 1px; background: var(--ac-line); }
/* GST input credit bars */
.itc-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 190px; margin: 6px 0 4px; }
.itc-bar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; text-decoration: none; color: var(--ac-ink); border-radius: 8px; padding: 2px; }
.itc-bar:hover, .itc-bar:focus-visible { background: var(--ac-paper); }
.itc-val { font-size: 12px; font-weight: 700; color: var(--ac-muted); min-height: 16px; }
.itc-col { display: flex; align-items: flex-end; justify-content: center; }
.itc-col i { display: block; width: min(44px, 70%); background: #9fb8d6; border-radius: 4px 4px 0 0; }
.itc-bar.is-on .itc-col i { background: var(--ac-navy-2); }
.itc-bar.is-on .itc-val { color: var(--ac-ink); }
.itc-m { font-size: 12.5px; font-weight: 600; color: var(--ac-muted); padding-top: 4px; border-top: 1px solid var(--ac-line); }
