/* ============================================================
   Tender Impulse – Main Stylesheet
   Indian e-procurement portal styling (GePNIC / Tender Wizard family):
   teal header & panels, amber actions, Calibri/Tahoma type,
   tricolour accents. Sizes in rem so the A- / A / A+ controls work.
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ===== Tiranga palette =====
     India Green = structure (bars, panels, footer) · Saffron = action (buttons, highlights)
     Ashoka Chakra navy = reading accents (headings, links, focus) · warm whites + neutrals = calm base */
  /* Flag colours (stripes, slogan) */
  --saffron:     #FF9933;
  --india-green: #138808;
  --chakra:      #000080;

  /* India Green – structure */
  --brand-deep:  #040C33;   /* footer base, deepest surfaces */
  --brand-dark:  #06124A;   /* top bar, footer, dark panels */
  --brand-mid:   #0B1F66;   /* gradient partner */
  --brand:       #1A3192;   /* buttons, panel heads, borders */
  --green-100:   #CFE8CB;
  --green-50:    #E9F6E7;
  --green-25:    #F4FBF3;

  /* Saffron – action */
  --accent:      #FF9933;   /* CTA buttons, active tab, highlights on dark */
  --accent-dark: #E8730C;
  --accent-text: #9A4A00;   /* deep saffron that reads on white and on saffron tints (AA) */
  --saffron-200: #FFD3A1;
  --saffron-100: #FFE9D1;
  --saffron-50:  #FFF6EC;

  /* Ashoka Chakra navy – reading accents */
  --heading:     #0B1F66;
  --link:        #1A3192;
  --link-hover:  #06124A;
  --navy:        #1A3192;
  --navy-100:    #DCE2F5;
  --navy-50:     #F1F3FB;

  /* Status */
  --red:         #9A4A00;
  --red-50:      #FFF1E0;
  --green:       #0B5A1E;   /* success text */

  /* Neutrals (warm) */
  --white:   #FFFFFF;
  --ink:     #0A1442;
  --text:    #222B4F;
  --muted:   #4A5580;
  --line:    #DDE2F0;
  --line-2:  #EDF0F7;
  --grey-head: #F3F5FA;
  --cream:   #FFF6EC;
  --page-bg: #F8F9FC;

  --chakra-wheel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='88' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='18'/%3E%3Cline x1='122.0' y1='100.0' x2='192.0' y2='100.0'/%3E%3Cline x1='121.3' y1='105.7' x2='188.9' y2='123.8'/%3E%3Cline x1='119.1' y1='111.0' x2='179.7' y2='146.0'/%3E%3Cline x1='115.6' y1='115.6' x2='165.1' y2='165.1'/%3E%3Cline x1='111.0' y1='119.1' x2='146.0' y2='179.7'/%3E%3Cline x1='105.7' y1='121.3' x2='123.8' y2='188.9'/%3E%3Cline x1='100.0' y1='122.0' x2='100.0' y2='192.0'/%3E%3Cline x1='94.3' y1='121.3' x2='76.2' y2='188.9'/%3E%3Cline x1='89.0' y1='119.1' x2='54.0' y2='179.7'/%3E%3Cline x1='84.4' y1='115.6' x2='34.9' y2='165.1'/%3E%3Cline x1='80.9' y1='111.0' x2='20.3' y2='146.0'/%3E%3Cline x1='78.7' y1='105.7' x2='11.1' y2='123.8'/%3E%3Cline x1='78.0' y1='100.0' x2='8.0' y2='100.0'/%3E%3Cline x1='78.7' y1='94.3' x2='11.1' y2='76.2'/%3E%3Cline x1='80.9' y1='89.0' x2='20.3' y2='54.0'/%3E%3Cline x1='84.4' y1='84.4' x2='34.9' y2='34.9'/%3E%3Cline x1='89.0' y1='80.9' x2='54.0' y2='20.3'/%3E%3Cline x1='94.3' y1='78.7' x2='76.2' y2='11.1'/%3E%3Cline x1='100.0' y1='78.0' x2='100.0' y2='8.0'/%3E%3Cline x1='105.7' y1='78.7' x2='123.8' y2='11.1'/%3E%3Cline x1='111.0' y1='80.9' x2='146.0' y2='20.3'/%3E%3Cline x1='115.6' y1='84.4' x2='165.1' y2='34.9'/%3E%3Cline x1='119.1' y1='89.0' x2='179.7' y2='54.0'/%3E%3Cline x1='121.3' y1='94.3' x2='188.9' y2='76.2'/%3E%3C/svg%3E");
  --chakra-wheel-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000080' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='88' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='18'/%3E%3Cline x1='122.0' y1='100.0' x2='192.0' y2='100.0'/%3E%3Cline x1='121.3' y1='105.7' x2='188.9' y2='123.8'/%3E%3Cline x1='119.1' y1='111.0' x2='179.7' y2='146.0'/%3E%3Cline x1='115.6' y1='115.6' x2='165.1' y2='165.1'/%3E%3Cline x1='111.0' y1='119.1' x2='146.0' y2='179.7'/%3E%3Cline x1='105.7' y1='121.3' x2='123.8' y2='188.9'/%3E%3Cline x1='100.0' y1='122.0' x2='100.0' y2='192.0'/%3E%3Cline x1='94.3' y1='121.3' x2='76.2' y2='188.9'/%3E%3Cline x1='89.0' y1='119.1' x2='54.0' y2='179.7'/%3E%3Cline x1='84.4' y1='115.6' x2='34.9' y2='165.1'/%3E%3Cline x1='80.9' y1='111.0' x2='20.3' y2='146.0'/%3E%3Cline x1='78.7' y1='105.7' x2='11.1' y2='123.8'/%3E%3Cline x1='78.0' y1='100.0' x2='8.0' y2='100.0'/%3E%3Cline x1='78.7' y1='94.3' x2='11.1' y2='76.2'/%3E%3Cline x1='80.9' y1='89.0' x2='20.3' y2='54.0'/%3E%3Cline x1='84.4' y1='84.4' x2='34.9' y2='34.9'/%3E%3Cline x1='89.0' y1='80.9' x2='54.0' y2='20.3'/%3E%3Cline x1='94.3' y1='78.7' x2='76.2' y2='11.1'/%3E%3Cline x1='100.0' y1='78.0' x2='100.0' y2='8.0'/%3E%3Cline x1='105.7' y1='78.7' x2='123.8' y2='11.1'/%3E%3Cline x1='111.0' y1='80.9' x2='146.0' y2='20.3'/%3E%3Cline x1='115.6' y1='84.4' x2='165.1' y2='34.9'/%3E%3Cline x1='119.1' y1='89.0' x2='179.7' y2='54.0'/%3E%3Cline x1='121.3' y1='94.3' x2='188.9' y2='76.2'/%3E%3C/svg%3E");
  --chakra-wheel-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-opacity='0.08' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='88' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='18'/%3E%3Cline x1='122.0' y1='100.0' x2='192.0' y2='100.0'/%3E%3Cline x1='121.3' y1='105.7' x2='188.9' y2='123.8'/%3E%3Cline x1='119.1' y1='111.0' x2='179.7' y2='146.0'/%3E%3Cline x1='115.6' y1='115.6' x2='165.1' y2='165.1'/%3E%3Cline x1='111.0' y1='119.1' x2='146.0' y2='179.7'/%3E%3Cline x1='105.7' y1='121.3' x2='123.8' y2='188.9'/%3E%3Cline x1='100.0' y1='122.0' x2='100.0' y2='192.0'/%3E%3Cline x1='94.3' y1='121.3' x2='76.2' y2='188.9'/%3E%3Cline x1='89.0' y1='119.1' x2='54.0' y2='179.7'/%3E%3Cline x1='84.4' y1='115.6' x2='34.9' y2='165.1'/%3E%3Cline x1='80.9' y1='111.0' x2='20.3' y2='146.0'/%3E%3Cline x1='78.7' y1='105.7' x2='11.1' y2='123.8'/%3E%3Cline x1='78.0' y1='100.0' x2='8.0' y2='100.0'/%3E%3Cline x1='78.7' y1='94.3' x2='11.1' y2='76.2'/%3E%3Cline x1='80.9' y1='89.0' x2='20.3' y2='54.0'/%3E%3Cline x1='84.4' y1='84.4' x2='34.9' y2='34.9'/%3E%3Cline x1='89.0' y1='80.9' x2='54.0' y2='20.3'/%3E%3Cline x1='94.3' y1='78.7' x2='76.2' y2='11.1'/%3E%3Cline x1='100.0' y1='78.0' x2='100.0' y2='8.0'/%3E%3Cline x1='105.7' y1='78.7' x2='123.8' y2='11.1'/%3E%3Cline x1='111.0' y1='80.9' x2='146.0' y2='20.3'/%3E%3Cline x1='115.6' y1='84.4' x2='165.1' y2='34.9'/%3E%3Cline x1='119.1' y1='89.0' x2='179.7' y2='54.0'/%3E%3Cline x1='121.3' y1='94.3' x2='188.9' y2='76.2'/%3E%3C/svg%3E");
  --chakra-wheel-navy-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000080' stroke-opacity='0.10' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='88' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='18'/%3E%3Cline x1='122.0' y1='100.0' x2='192.0' y2='100.0'/%3E%3Cline x1='121.3' y1='105.7' x2='188.9' y2='123.8'/%3E%3Cline x1='119.1' y1='111.0' x2='179.7' y2='146.0'/%3E%3Cline x1='115.6' y1='115.6' x2='165.1' y2='165.1'/%3E%3Cline x1='111.0' y1='119.1' x2='146.0' y2='179.7'/%3E%3Cline x1='105.7' y1='121.3' x2='123.8' y2='188.9'/%3E%3Cline x1='100.0' y1='122.0' x2='100.0' y2='192.0'/%3E%3Cline x1='94.3' y1='121.3' x2='76.2' y2='188.9'/%3E%3Cline x1='89.0' y1='119.1' x2='54.0' y2='179.7'/%3E%3Cline x1='84.4' y1='115.6' x2='34.9' y2='165.1'/%3E%3Cline x1='80.9' y1='111.0' x2='20.3' y2='146.0'/%3E%3Cline x1='78.7' y1='105.7' x2='11.1' y2='123.8'/%3E%3Cline x1='78.0' y1='100.0' x2='8.0' y2='100.0'/%3E%3Cline x1='78.7' y1='94.3' x2='11.1' y2='76.2'/%3E%3Cline x1='80.9' y1='89.0' x2='20.3' y2='54.0'/%3E%3Cline x1='84.4' y1='84.4' x2='34.9' y2='34.9'/%3E%3Cline x1='89.0' y1='80.9' x2='54.0' y2='20.3'/%3E%3Cline x1='94.3' y1='78.7' x2='76.2' y2='11.1'/%3E%3Cline x1='100.0' y1='78.0' x2='100.0' y2='8.0'/%3E%3Cline x1='105.7' y1='78.7' x2='123.8' y2='11.1'/%3E%3Cline x1='111.0' y1='80.9' x2='146.0' y2='20.3'/%3E%3Cline x1='115.6' y1='84.4' x2='165.1' y2='34.9'/%3E%3Cline x1='119.1' y1='89.0' x2='179.7' y2='54.0'/%3E%3Cline x1='121.3' y1='94.3' x2='188.9' y2='76.2'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 3px rgba(21,36,79,.08), 0 1px 2px rgba(11,31,102,.06);
  --shadow-md: 0 6px 18px rgba(21,36,79,.10), 0 2px 6px rgba(11,31,102,.06);
  --radius:    4px;
  --transition: .18s ease;
  --container: 1240px;

  --font: 'Baloo 2', 'Calibri', 'Carlito', Tahoma, Verdana, Arial, sans-serif;
  --font-ui: 'Baloo 2', Tahoma, Verdana, Arial, sans-serif;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); line-height: 1.25; font-weight: 700; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
/* On the dark green bars a navy ring disappears: use saffron there */
.topbar :focus-visible, .navbar :focus-visible, .banner :focus-visible, .page-title :focus-visible,
.site-footer :focus-visible, .admin-sidebar :focus-visible, .about-cta :focus-visible { outline-color: var(--accent); }
::selection { background: var(--saffron-100); color: var(--ink); }

.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: var(--accent); color: var(--ink); padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .6rem 1.2rem;
  font-family: var(--font-ui); font-size: .87rem; font-weight: 700;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-mid) 100%); color: var(--white); border-color: var(--brand-mid); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
/* Saffron call to action */
.btn-amber { background: linear-gradient(180deg, #FFAA55 0%, var(--accent) 55%, #F08A1C 100%); color: var(--ink); border-color: var(--accent-dark); box-shadow: 0 1px 2px rgba(163,82,10,.25); }
.btn-amber:hover { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%); color: var(--ink); box-shadow: 0 3px 10px rgba(229,134,28,.35); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { background: var(--white); color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--green-50); color: var(--brand-dark); }
.btn-lg { padding: .8rem 1.5rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Tricolour + top utility bar ---------- */
.tricolor { display: flex; height: 4px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--saffron); }
.tricolor span:nth-child(2) { background: var(--white); }
.tricolor span:nth-child(3) { background: var(--india-green); }

.topbar { background: var(--brand-dark); color: rgba(255,255,255,.9); font-family: var(--font-ui); font-size: .78rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.topbar-date { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--accent); }
.topbar .sep { opacity: .4; }
.font-ctrl { display: flex; gap: 2px; }
.font-ctrl button {
  min-width: 26px; height: 22px; padding: 0 5px;
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1px solid rgba(255,255,255,.25); border-radius: 2px;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; cursor: pointer;
}
.font-ctrl button:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.font-ctrl sup { font-size: .6em; }
.topbar-account { display: flex; align-items: center; gap: 6px; }
.topbar-account form { display: contents; }
.topbar .topbar-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px;
  background: var(--accent); color: var(--ink); border: 1px solid var(--accent-dark); border-radius: 2px;
  font-family: var(--font-ui); font-size: .76rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.topbar .topbar-btn:hover, .topbar .topbar-btn.is-active { background: var(--white); color: var(--heading); border-color: var(--white); }
.topbar .topbar-btn--plain { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.25); }
.topbar-btn .ico { width: .9rem; height: .9rem; }

/* ---------- Masthead ---------- */
.masthead {
  background:
    linear-gradient(90deg, var(--white) 0%, var(--white) 50%, var(--saffron-50) 78%, var(--green-50) 100%);
  border-bottom: 1px solid var(--line);
}
.masthead-inner { display: flex; align-items: center; gap: 24px; min-height: 86px; padding-top: 8px; padding-bottom: 8px; }
.logo img { height: 58px; width: auto; }
.masthead-title {
  display: flex; flex-direction: column;
  padding-left: 22px; border-left: 2px solid var(--line);
  flex: 1; min-width: 0;
}
.masthead-title strong { font-size: 1.25rem; color: var(--heading); line-height: 1.2; }
.masthead-title span { font-family: var(--font-ui); font-size: .8rem; color: var(--muted); margin-top: 3px; }
.masthead-search {
  display: flex; width: 320px; max-width: 100%;
  border: 1px solid var(--brand); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.masthead-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .55rem .8rem; font-size: .9rem; color: var(--ink); }
.masthead-search button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; border: 0; background: var(--brand); color: var(--white); cursor: pointer;
}
.masthead-search button:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 40px; padding: 0 9px; margin-left: auto;
  background: var(--brand); border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Navbar ---------- */
.navbar {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-mid) 100%);
  border-bottom: 3px solid var(--accent);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.navbar ul { display: flex; flex-wrap: wrap; }
.navbar li + li { border-left: 1px solid rgba(255,255,255,.18); }
.navbar a {
  display: flex; align-items: center; gap: 6px;
  padding: .7rem 1.05rem;
  font-family: var(--font-ui); font-size: .84rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.navbar a:hover { background: var(--brand-dark); color: var(--accent); text-decoration: none; }
.navbar a.active { background: var(--accent); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(163,82,10,.35); }
/* Logged-in users get three more links (My Tenders, Expired Tenders, Contract Awards): keep them on one row */
.navbar .nav-compact > li > a { padding-left: .62rem; padding-right: .62rem; }

/* ---------- "Browse By" dropdown ---------- */
.nav-has-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: .7rem 1.05rem;
  font-family: var(--font-ui); font-size: .84rem; font-weight: 700;
  color: var(--white); background: none; border: 0; cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform var(--transition); flex-shrink: 0; }
.nav-dropdown-trigger:hover,
.nav-has-dropdown:hover .nav-dropdown-trigger,
.nav-has-dropdown.open .nav-dropdown-trigger { background: var(--brand-dark); color: var(--accent); }
.nav-has-dropdown.open .nav-dropdown-trigger svg,
.nav-has-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-active > .nav-dropdown-trigger { background: var(--accent); color: var(--ink); }
.nav-dropdown-active > .nav-dropdown-trigger:hover,
.nav-has-dropdown.nav-dropdown-active:hover > .nav-dropdown-trigger { background: var(--brand-dark); color: var(--accent); }

/* specificity 0-2-0 beats .navbar ul (0-1-1) so display:none wins */
.nav-has-dropdown > .nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0; z-index: 200;
  min-width: 180px;
  background: var(--brand-dark);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  flex-direction: column; list-style: none; margin: 0; padding: 0;
}
.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown.open > .nav-dropdown { display: flex; }
.nav-has-dropdown > .nav-dropdown li + li { border-top: 1px solid rgba(255,255,255,.12); }
.nav-has-dropdown > .nav-dropdown a {
  padding: .62rem 1.1rem;
  font-size: .82rem;
  display: block;
  color: var(--white);
}
.nav-has-dropdown > .nav-dropdown a:hover { background: rgba(255,255,255,.1); color: var(--accent); }
/* override .navbar a.active amber background — amber-on-amber is invisible */
.nav-has-dropdown > .nav-dropdown a.active { background: rgba(255,255,255,.15); color: var(--accent); font-weight: 700; }

/* ---------- News ticker ---------- */
.ticker { background: var(--saffron-50); border-bottom: 1px solid var(--saffron-200); }
.ticker-inner { display: flex; align-items: stretch; min-height: 36px; padding-left: 0; padding-right: 0; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 0 14px;
  background: var(--red); color: var(--white);
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; text-transform: uppercase;
  position: relative;
}
.ticker-label::after {
  content: ''; position: absolute; right: -10px; top: 0; bottom: 0;
  border-left: 10px solid var(--red); border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.ticker-track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; padding-left: 18px; scrollbar-width: none; }
.ticker-track::-webkit-scrollbar { display: none; }
.ticker-move { display: inline-flex; white-space: nowrap; }
.ticker-move.running { animation: ticker 60s linear infinite; }
.ticker-track:hover .ticker-move, .ticker-track:focus-within .ticker-move { animation-play-state: paused; }
.ticker-item { padding: 0 28px 0 0; font-size: .92rem; color: var(--heading); font-weight: 700; }
.ticker-item::before { content: '\25B8'; color: var(--red); margin-right: 8px; }
.ticker-item em { font-style: normal; font-weight: 400; color: var(--red); }
a.ticker-item:hover { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Home banner ---------- */
.banner {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 18px 18px,
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(255,153,51,.16), transparent 70%),
    radial-gradient(ellipse 55% 80% at 100% 100%, rgba(35,63,146,.30), transparent 70%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  overflow: hidden;
}
/* Ashoka Chakra, very faint, behind the flag */
.banner::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; right: -90px; top: -150px;
  background: var(--chakra-wheel) center / contain no-repeat; opacity: .06;
  animation: chakra-spin 120s linear infinite;
}
@keyframes chakra-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .banner::before { animation: none; } }
@media (max-width: 900px) { .banner::before { width: 300px; height: 300px; right: -120px; top: -110px; opacity: .07; } }
.banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 4;
  background: linear-gradient(90deg, var(--saffron) 0 33.33%, var(--white) 33.33% 66.66%, var(--india-green) 66.66% 100%);
}
.banner-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: center;
}
.banner-text { padding: 40px 0 22px; position: relative; z-index: 2; }
.banner-kicker {
  display: inline-block;
  font-family: var(--font-ui); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); background: var(--accent);
  padding: 4px 10px; border-radius: 2px; margin-bottom: 16px;
}
.banner h1 { color: var(--white); font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; margin-bottom: 14px; }
.banner h1 span { color: var(--accent); }
.banner p { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 24px; }
.banner-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.banner-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); background: rgba(0,0,0,.12);
  width: max-content; max-width: 100%;
}
.banner-stats li { display: flex; flex-direction: column; padding: 10px 22px; }
.banner-stats li + li { border-left: 1px solid rgba(255,255,255,.22); }
.banner-stats strong { font-size: 1.45rem; color: var(--accent); line-height: 1.1; }
.banner-stats span { font-family: var(--font-ui); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.8); }

/* Right side of banner: flag + Hindi slogan lockup, with the Enterprise API promo below it */
.banner-side {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 22px 0 18px; position: relative; z-index: 2;
}
.banner-lockup { display: flex; align-items: center; justify-content: center; gap: 14px; }
.pm-flag {
  width: 138px; height: auto; flex-shrink: 0;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.3));
  animation: flag-sway 6s ease-in-out infinite;
  transform-origin: 18% 100%;
}
@keyframes flag-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.slogan-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.banner .slogan {
  display: flex; flex-direction: column; align-items: flex-start;
  margin: 0; max-width: none; color: var(--white);
  font-family: 'Rozha One', 'Noto Serif Devanagari', 'Mangal', serif;
  font-size: 3.3rem; line-height: 1.02; font-weight: 400;
  text-shadow: 0 3px 10px rgba(0,0,0,.35);
}
.slogan-1 { color: var(--saffron); }
.slogan-2 { color: var(--white); position: relative; padding-bottom: 12px; }
.slogan-2::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--saffron) 0 33.33%, var(--white) 33.33% 66.66%, var(--india-green) 66.66% 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.slogan-en {
  margin-top: 10px;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
@media (prefers-reduced-motion: reduce) { .pm-flag { animation: none; } }

/* Sector photo strip (cut from the Tender Impulse poster) */
.banner-strip {
  position: relative; z-index: 1;
  max-width: 1536px; margin: -36px auto 0; padding-bottom: 14px;
}
.banner-strip img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.strip-links { position: absolute; inset: 8% 0 14px 0; }
.strip-links a { position: absolute; top: 0; bottom: 0; }
.strip-links a:hover { background: linear-gradient(180deg, transparent 55%, rgba(249,160,63,.28)); }
.strip-links a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* ---------- Panels (shared) ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: .6rem .9rem;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: var(--white);
  font-family: var(--font-ui); font-size: .85rem; font-weight: 700;
}
.panel-head--alert { background: linear-gradient(180deg, #B85A00 0%, #8A4200 100%); }
.panel-body { padding: 1rem 1.1rem; }
.panel--teal { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.panel--teal .panel-head { background: var(--brand-deep); }
.panel-head .ico { color: var(--accent); }

/* ---------- Home portal (3 columns) ---------- */
.portal { padding: 26px 0 36px; }
.portal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 270px; gap: 20px; align-items: start; }
.portal-left, .portal-right, .portal-main { display: flex; flex-direction: column; gap: 18px; }

.quick-links { display: flex; flex-direction: column; gap: 8px; }
.quick-links a {
  display: flex; align-items: center; gap: 10px;
  padding: .62rem .85rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5FA 100%);
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  font-family: var(--font-ui); font-size: .83rem; font-weight: 700; color: var(--heading);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), background var(--transition);
}
.quick-links a .ico { color: var(--brand); }
.quick-links a:hover { background: var(--green-50); border-left-color: var(--accent); text-decoration: none; color: var(--link-hover); }

.sector-links li + li { border-top: 1px dotted var(--line); }
.sector-links a {
  display: flex; align-items: center; gap: 9px;
  padding: .5rem .9rem; font-size: .93rem; color: var(--text);
}
.sector-links a .ico { color: var(--brand); width: 1rem; height: 1rem; }
.sector-links a:hover { background: var(--green-25); color: var(--link-hover); text-decoration: none; }

.welcome {
  background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.welcome h2 { font-size: 1.3rem; margin-bottom: 6px; }
.welcome p { font-size: .98rem; color: var(--text); }

/* Folder-tab style section headers (GePNIC "Latest Tenders") */
.tab-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tab-head {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  padding: 10px 10px 0;
  border-bottom: 3px solid var(--brand);
  background: var(--grey-head);
  border-radius: var(--radius) var(--radius) 0 0;
}
.tab-title {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5rem 1rem;
  background: var(--brand); color: var(--white);
  border-radius: 6px 6px 0 0;
  font-size: 1.12rem; font-weight: 700; font-style: italic;
}
.tab-title .ico { color: var(--accent); }
.tab-head--alert { border-bottom-color: var(--red); }
.tab-head--alert .tab-title { background: var(--red); }
.tab-head--alert .tab-title .ico { color: var(--white); }
.tab-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: .55rem .9rem;
  background: var(--grey-head); border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 700; color: var(--heading);
  border-radius: 0 0 var(--radius) var(--radius);
}
.tab-foot a { font-weight: 700; }

/* Government-style data table */
.table-wrap { overflow-x: auto; }
.gov-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.gov-table th {
  background: var(--grey-head); color: var(--heading);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700;
  text-align: left; padding: .55rem .7rem;
  border-bottom: 1px solid var(--line);
}
.gov-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--text); }
.gov-table tbody tr:nth-child(even) td { background: #FAFBFE; }
.gov-table tbody tr:hover td { background: var(--green-25); }
.gov-table td a { color: var(--link); font-weight: 700; }
.gov-table td a:hover { color: var(--link-hover); }
.gov-table .col-sno { width: 52px; color: var(--muted); }
.gov-table .col-id { width: 100px; font-family: var(--font-ui); font-size: .8rem; white-space: nowrap; }
.gov-table .col-date { width: 118px; white-space: nowrap; font-weight: 700; color: var(--ink); }
.gov-table .col-status { width: 110px; }
.gov-table .table-msg { text-align: center; color: var(--muted); padding: 1.4rem; }

/* Right column widgets */
.side-search { display: flex; flex-direction: column; gap: 8px; padding: .9rem .9rem .4rem; }
.side-search input {
  width: 100%; padding: .55rem .7rem;
  border: 1px solid var(--brand-mid); border-radius: var(--radius); outline: 0; color: var(--ink);
}
.side-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(249,160,63,.4); }
.side-adv { display: block; padding: 0 .9rem .9rem; font-weight: 700; color: var(--accent); }
.side-adv:hover { color: var(--white); }

.info-list { padding: .8rem 1rem; display: flex; flex-direction: column; gap: 8px; }
.info-list li { position: relative; padding-left: 16px; font-size: .92rem; color: var(--text); }
.info-list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
}
.ext-links li + li { border-top: 1px dotted var(--line); }
.ext-links a { display: block; padding: .5rem 1rem; font-size: .93rem; font-weight: 700; }

/* How it works */
.steps-band { background: var(--white); border-top: 1px solid var(--line); padding: 34px 0 40px; }
.band-title { font-size: 1.45rem; text-align: center; margin-bottom: 22px; }
.band-title::after { content: ''; display: block; width: 70px; height: 3px; background: var(--accent); margin: 10px auto 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream);
}
.step-no {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: var(--white); font-weight: 700; font-size: 1.1rem;
  border: 3px solid var(--green-100);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 2px; }
.steps p { font-size: .9rem; color: var(--muted); }

/* ---------- Inner page title bar ---------- */
.page-title {
  background:
    var(--chakra-wheel-faint) right 6% center / 220px no-repeat,
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 18px 18px,
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(35,63,146,.28), transparent 70%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
  color: var(--white);
  padding: 18px 0 20px;
  border-bottom: 3px solid var(--accent);
}
.page-title h1 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 4px; }
.page-title p { color: rgba(255,255,255,.85); font-size: .98rem; margin-top: 2px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--font-ui); font-size: .78rem; }
.breadcrumb li { color: rgba(255,255,255,.75); }
.breadcrumb li:not(:last-child)::after { content: '\00BB'; margin-left: 6px; color: var(--accent); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: var(--accent); font-weight: 700; }

/* ---------- Tenders page ---------- */
.tenders-page { padding: 22px 0 44px; }
.tenders-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 56px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .9rem;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-mid) 100%);
  position: sticky; top: 0; z-index: 2;
}
.filter-sidebar-header h2 { display: flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-ui); font-size: .88rem; }
.filter-reset {
  font-family: var(--font-ui); font-size: .75rem; font-weight: 700;
  color: var(--ink); background: var(--accent);
  border: 0; padding: 3px 10px; border-radius: 2px; cursor: pointer;
}
.filter-reset:hover { background: var(--white); }
#filterForm { padding: .9rem; }

.filter-group { margin-bottom: 14px; }
.filter-hint { margin-top: 4px; font-family: var(--font-ui); font-size: .7rem; line-height: 1.4; color: var(--muted); }
.filter-group > label {
  display: block; margin-bottom: 5px;
  font-family: var(--font-ui); font-size: .76rem; font-weight: 700; color: var(--heading);
}
.filter-group input[type="text"],
.filter-group input[type="number"],
.filter-group input[type="date"],
.filter-group select {
  width: 100%; height: 2.4rem; padding: 0 .65rem;
  border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-size: .93rem; color: var(--ink); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-group input:focus, .filter-group select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16);
}
.filter-group select {
  appearance: none; cursor: pointer; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B77' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 14px;
}
.input-ico { position: relative; }
.input-ico .ico { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-group .input-ico input[type="text"] { padding-left: 2.1rem; }

.date-range { display: flex; flex-direction: column; gap: 4px; }
.date-range .date-input { cursor: pointer; }
.date-range .date-input::-webkit-calendar-picker-indicator { cursor: pointer; }
.date-sep { font-family: var(--font-ui); font-size: .7rem; color: var(--muted); text-align: center; text-transform: uppercase; }

.sector-search-input { margin-bottom: 6px; }
.sector-list {
  max-height: 200px; overflow-y: auto;
  border: 1px solid #C5CCE3; border-radius: var(--radius); background: var(--white);
  scrollbar-width: thin;
}
.sector-item {
  display: flex; align-items: center; gap: 8px;
  padding: .4rem .65rem; font-size: .9rem; cursor: pointer; user-select: none;
}
.sector-item + .sector-item { border-top: 1px dotted var(--line); }
.sector-item:hover { background: var(--green-25); }
.sector-item input[type="checkbox"] { accent-color: var(--brand); width: 15px; height: 15px; flex-shrink: 0; }
.sector-item.hidden { display: none; }
.sector-loading { padding: 12px; font-size: .88rem; color: var(--muted); text-align: center; }

.cpv-wrap { position: relative; }
.cpv-dropdown {
  position: absolute; top: calc(100% + 3px); left: 0; right: 0; z-index: 50;
  max-height: 230px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--brand); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.cpv-option { padding: .5rem .65rem; font-size: .88rem; line-height: 1.4; cursor: pointer; }
.cpv-option + .cpv-option { border-top: 1px dotted var(--line); }
.cpv-option:hover { background: var(--green-50); color: var(--link-hover); }
.cpv-empty { padding: .5rem .65rem; font-size: .88rem; color: var(--muted); text-align: center; }

.selected-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.selected-tags:empty { display: none; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 2px 4px 2px 8px;
  background: var(--green-50); color: var(--link-hover);
  border: 1px solid var(--green-100); border-radius: 2px;
  font-size: .8rem; font-weight: 700;
}
.tag-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border: 0; border-radius: 2px;
  background: transparent; color: var(--link-hover); font-size: .9rem; line-height: 1; cursor: pointer;
}
.tag-remove:hover { background: var(--red); color: var(--white); }

.results-panel { min-width: 0; }
.results-info {
  margin-left: auto; align-self: center; padding-bottom: 6px;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--muted);
}
.btn-filter-toggle {
  display: none; align-items: center; gap: 6px; align-self: center; margin-bottom: 6px;
  padding: .4rem .8rem; background: var(--brand); color: var(--white);
  border: 0; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; cursor: pointer;
}

.tender-table .col-title a { display: block; line-height: 1.4; }
.row-org, .row-meta { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.35; color: var(--muted); }

/* Organisation hidden from logged-out visitors: blurred dummy text + login link */
.org-locked { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; vertical-align: middle; }
.org-blur {
  filter: blur(5px); user-select: none; pointer-events: none;
  color: var(--ink); font-weight: 700; white-space: nowrap;
}
.org-locked .org-login {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px;
  background: var(--saffron-50); color: var(--accent-text); border: 1px solid var(--saffron-200); border-radius: 10px;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700; line-height: 1.5; white-space: nowrap; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
/* Soft saffron chip (many per table): turns solid on hover */
.org-locked .org-login:hover { background: var(--accent); border-color: var(--accent-dark); color: var(--ink); text-decoration: none; }
.org-locked .org-login .ico { width: .8rem; height: .8rem; }

/* "Save to Favourites" (tender detail) and My Favourites list */
.fav-btn { background: var(--white); color: var(--red); border-color: var(--red); margin-bottom: 4px; }
.fav-btn:hover { background: var(--red-50); color: var(--red); }
.fav-btn.is-saved { background: var(--red); color: var(--white); }
.fav-btn.is-saved:hover { background: #9A4A00; color: var(--white); }
.fav-btn.is-saved .ico { fill: currentColor; }
.fav-btn:disabled { opacity: .7; cursor: wait; }
.fav-note { min-height: 1.2em; margin: 0 0 14px; font-size: .85rem; text-align: center; color: var(--muted); }
.fav-table .col-action { width: 96px; text-align: right; }
.fav-remove {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--muted);
}
.fav-remove:hover { border-color: var(--red); background: var(--red-50); color: var(--red); }
.fav-remove .ico { width: .8rem; height: .8rem; }
.fav-table tr.is-removing td { opacity: .45; }
.row-meta { font-family: var(--font-ui); font-size: .72rem; }
.status-chip {
  display: inline-block; padding: 2px 8px; border-radius: 2px;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700; white-space: nowrap;
  background: var(--green-50); color: var(--green); border: 1px solid var(--green-100);
}
.status-chip.is-urgent { background: var(--red-50); color: var(--red); border-color: #FFD3A1; }
.status-chip.is-closed { background: var(--grey-head); color: var(--muted); border-color: var(--line); }

/* Empty / error state */
.empty-state {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 20px; margin: 12px;
  border: 1px dashed #C5CCE3; border-radius: var(--radius); background: var(--green-25);
}
.empty-state > .ico { width: 46px; height: 46px; color: var(--brand); margin-bottom: 12px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 4px; }
.empty-state p { color: var(--muted); max-width: 420px; }
.empty-state .btn { margin-top: 16px; }

/* Skeleton */
.tender-skeleton { display: flex; flex-direction: column; padding: 10px; gap: 6px; }
.skeleton-row { padding: 12px; border-bottom: 1px solid var(--line-2); }
.sk-line {
  background: linear-gradient(90deg, var(--line-2) 25%, #F6F8FC 50%, var(--line-2) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 3px; height: 13px; margin-bottom: 8px;
}
.sk-line:last-child { margin-bottom: 0; }
.sk-title { width: 78%; }
.sk-sub { width: 40%; height: 10px; }
.sk-title-lg { width: 85%; height: 24px; margin-bottom: 14px; }
.sk-block { width: 100%; height: 180px; border-radius: var(--radius); background: var(--line-2); animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.pagination:empty { display: none; }
.pagination button {
  padding: .45rem 1rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700;
  border: 1px solid var(--brand); background: var(--white); color: var(--brand); cursor: pointer;
}
.pagination button:hover:not(:disabled) { background: var(--brand); color: var(--white); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.pagination .page-info {
  padding: .45rem .9rem; border-radius: var(--radius);
  background: var(--brand); color: var(--white);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700;
}

/* ---------- Tender detail ---------- */
.detail-wrap { padding-top: 22px; padding-bottom: 44px; }
.detail-skeleton { max-width: 820px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 18px; }
.detail-side { position: sticky; top: 56px; }

.tdc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tdc-badge {
  display: inline-block; padding: 2px 9px; border-radius: 2px;
  font-family: var(--font-ui); font-size: .74rem; font-weight: 700;
  background: var(--green-50); color: var(--link-hover); border: 1px solid var(--green-100);
}
.tdc-badge.badge-alert { background: var(--accent); color: var(--ink); border-color: var(--accent-dark); }
.tdc-title { font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--ink); margin-bottom: 14px; }
.tdc-meta-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px;
  padding: 10px 12px; margin-bottom: 16px;
  background: var(--cream); border: 1px solid var(--saffron-200); border-radius: var(--radius);
}
.tdc-meta-item { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.tdc-meta-item > .ico { width: 1.4rem; height: 1.4rem; color: var(--brand); margin-top: 2px; }
.tdc-meta-item strong {
  display: block; font-family: var(--font-ui); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; color: var(--muted);
}

/* Key / value table (GePNIC "Basic Details") */
.kv-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv-table .tdc-dl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.kv-table .tdc-dl-row + .tdc-dl-row { border-top: 1px solid var(--line); }
.kv-table dt {
  padding: .5rem .75rem; background: var(--grey-head);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--heading);
  border-right: 1px solid var(--line);
}
.kv-table dd { padding: .5rem .75rem; font-size: .95rem; color: var(--ink); word-break: break-word; }
.kv-table--compact .tdc-dl-row { grid-template-columns: 130px minmax(0, 1fr); }

.tdc-description { font-size: 1rem; line-height: 1.7; color: var(--text); white-space: pre-wrap; }

.countdown {
  display: flex; align-items: baseline; gap: 8px;
  padding: .7rem .9rem; margin-bottom: 12px;
  background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius);
}
.cd-num { font-size: 2rem; font-weight: 700; color: var(--green); line-height: 1; }
.cd-label { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--green); }
.countdown.is-urgent { background: var(--red-50); border-color: #FFD3A1; }
.countdown.is-urgent .cd-num, .countdown.is-urgent .cd-label { color: var(--red); }
.countdown.is-closed { background: var(--grey-head); border-color: var(--line); }
.countdown.is-closed .cd-num { font-size: 1.4rem; color: var(--muted); }
.countdown.is-closed .cd-label { color: var(--muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  padding: 4px 10px; border-radius: 2px;
  background: var(--green-25); border: 1px solid var(--green-100);
  font-size: .9rem; color: var(--link-hover);
}
.tdc-doc-link { padding: .75rem 1rem; }
.tdc-doc-link + .tdc-doc-link { margin-top: 8px; }
a.tag-item:hover { background: var(--green-50); text-decoration: none; }

.cpv-list { list-style: none; }
.cpv-list li { padding: .45rem 0; font-size: .95rem; color: var(--text); }
.cpv-list li + li { border-top: 1px dotted var(--line); }
.cpv-code { display: inline-block; min-width: 6.5em; margin-right: 6px; font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--link-hover); }
.tdc-doc-note { margin-top: 8px; font-family: var(--font-ui); font-size: .74rem; color: var(--muted); text-align: center; }
.tdc-links { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tdc-links:first-child { margin-top: 0; padding-top: 0; border-top: 0; } /* links only, no documents */
.tdc-links-title { margin-bottom: 6px; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--heading); text-transform: uppercase; letter-spacing: .03em; }
.tdc-link-list { list-style: none; counter-reset: doclink; }
.tdc-link-list li { counter-increment: doclink; display: flex; gap: 6px; padding: .4rem 0; font-size: .85rem; line-height: 1.4; }
.tdc-link-list li + li { border-top: 1px dotted var(--line); }
.tdc-link-list li::before { content: counter(doclink) "."; flex-shrink: 0; min-width: 1.2em; font-family: var(--font-ui); font-weight: 700; color: var(--muted); }
.tdc-link-list a { display: flex; align-items: flex-start; gap: 5px; min-width: 0; color: var(--link); word-break: break-all; }
.tdc-link-list a:hover { color: var(--link-hover); }
/* My Tenders: the user's saved CPVs */
.my-cpvs-bar { background: var(--green-50); border-bottom: 1px solid var(--green-100); padding: 10px 0; }
.my-cpvs-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.my-cpvs-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--heading); }
.my-cpv {
  padding: 2px 9px; background: var(--white); color: var(--heading); border: 1px solid var(--green-100); border-radius: 12px;
  font-family: var(--font-ui); font-size: .76rem;
}

/* Contract award detail */
.rank-list { list-style: none; }
.rank-list li { display: flex; align-items: baseline; gap: 8px; padding: .3rem 0; }
.rank-list li + li { border-top: 1px dotted var(--line); }
.rank-badge {
  flex: none; min-width: 2.1rem; padding: 0 5px; text-align: center;
  background: var(--grey-head); color: var(--muted); border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700; line-height: 1.6;
}
.rank-list li.is-winner { font-weight: 700; color: var(--heading); }
.rank-list li.is-winner .rank-badge { background: var(--green); color: var(--white); border-color: var(--green); }
.ext-link { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--link); word-break: break-all; }
.ext-link .ico { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 3px; }
.kv-table dd.is-empty { color: var(--muted); font-style: italic; }
.countdown.countdown--info { background: var(--green-25); border-color: var(--green-100); }
.countdown--info .cd-num { font-size: 1.5rem; color: var(--heading); }
.countdown--info .cd-label { color: var(--link); }

/* Documents hidden from logged-out visitors */
.docs-locked { position: relative; min-height: 140px; }
.docs-blur { filter: blur(4px); user-select: none; pointer-events: none; opacity: .7; }
.docs-blur-line { display: block; height: .8rem; margin-top: 12px; border-radius: 2px; background: var(--line); }
.docs-blur-line + .docs-blur-line { width: 70%; }
.docs-locked-msg {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; background: rgba(255,255,255,.55);
}
.docs-locked-msg > .ico { width: 1.4rem; height: 1.4rem; color: var(--brand); }
.docs-locked-msg p { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--heading); }
.docs-locked-msg .btn { padding: .4rem 1rem; }
.tdc-link-list a .ico { flex-shrink: 0; width: .95rem; height: .95rem; margin-top: 2px; }

/* ---------- 404 ---------- */
.error-page { padding: 50px 0 70px; }
.error-page-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.error-code { font-size: 5rem; font-weight: 700; color: var(--link); line-height: 1; margin: 6px 0 8px; }
.error-page h1 { font-size: 1.6rem; margin-bottom: 6px; }
.error-page p { color: var(--muted); margin-bottom: 20px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Login / Profile ---------- */
.auth-page { padding: 40px 0 60px; }
.auth-card { max-width: 420px; margin: 0 auto; }
.auth-form .btn { margin-top: 6px; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; margin-bottom: 5px;
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--heading);
}
.form-field input {
  width: 100%; height: 2.6rem; padding: 0 .75rem;
  border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16); }
.form-alert {
  margin-bottom: 14px; padding: .6rem .8rem;
  background: var(--red-50); color: var(--red); border: 1px solid #FFD3A1; border-left: 4px solid var(--red);
  border-radius: var(--radius); font-family: var(--font-ui); font-size: .82rem; font-weight: 700;
}
.profile-card { max-width: 640px; margin: 0 auto; }
.profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.profile-head strong { display: block; font-size: 1.2rem; color: var(--heading); }
.profile-head span { font-family: var(--font-ui); font-size: .82rem; color: var(--muted); }
.profile-avatar {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: var(--white); font-size: 1.5rem; font-weight: 700; border: 3px solid var(--accent);
}
.profile-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: .55rem 0; border-bottom: 1px solid var(--line-2); }
.profile-list dt { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--muted); }
.profile-list dd { color: var(--ink); overflow-wrap: anywhere; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: rgba(255,255,255,.82); border-top: 0;
  background: radial-gradient(ellipse 45% 90% at 100% 0%, rgba(35,63,146,.25), transparent 70%), var(--brand-dark);
}
.site-footer::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg, var(--saffron) 0 33.33%, var(--white) 33.33% 66.66%, var(--india-green) 66.66% 100%);
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; padding-top: 34px; padding-bottom: 28px; }
.footer-col h4 {
  color: var(--accent); font-family: var(--font-ui); font-size: .85rem; text-transform: uppercase;
  padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-about p { font-size: .95rem; line-height: 1.65; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-size: .95rem; }
.footer-col a .ico { width: .85rem; height: .85rem; color: var(--accent); }
.footer-col a:hover { color: var(--white); }
.footer-disclaimer { background: rgba(0,0,0,.15); padding: 12px 0; font-size: .88rem; color: rgba(255,255,255,.75); }
.footer-disclaimer strong { color: var(--accent); }
.footer-bottom { background: var(--brand-deep); padding: 10px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-family: var(--font-ui); font-size: .75rem; color: rgba(255,255,255,.65); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .banner-inner { grid-template-columns: minmax(0, 1fr) 330px; }
  .banner .slogan { font-size: 2.7rem; }
  .pm-flag { width: 112px; }
  .portal-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .portal-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .masthead-title { display: none; }
  .masthead-search { margin-left: auto; }
}

@media (max-width: 900px) {
  .banner-inner { grid-template-columns: 1fr; gap: 0; }
  .banner-text { padding-bottom: 6px; }
  .banner-side { justify-content: flex-start; padding: 14px 0 6px; }
  .banner-strip { margin-top: 0; }
  .portal-grid { grid-template-columns: minmax(0, 1fr); }
  .portal-left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .portal-right { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tenders-layout, .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }

  /* Navbar collapses behind the toggle */
  .nav-toggle { display: flex; }
  .masthead-search { display: none; }
  .navbar { position: static; display: none; }
  .navbar.open { display: block; }
  .navbar ul { flex-direction: column; }
  .navbar li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }

  /* Browse By dropdown: static/inline on mobile */
  .nav-has-dropdown:hover > .nav-dropdown { display: none; }
  .nav-has-dropdown.open > .nav-dropdown {
    display: flex; position: static;
    border-top: 1px solid rgba(255,255,255,.15); border-radius: 0; box-shadow: none;
    background: rgba(0,0,0,.18);
  }
  .nav-dropdown-trigger { width: 100%; }

  /* Off-canvas filters */
  .filter-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: min(320px, 88vw); max-height: 100vh;
    border-radius: 0; transform: translateX(-100%); transition: transform .28s ease;
  }
  .filter-sidebar.open { transform: translateX(0); }
  .btn-filter-toggle { display: inline-flex; }
  .filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 199; }
  .filter-overlay.open { display: block; }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .topbar-date { font-size: .72rem; }
  .topbar-right > a, .topbar-right > .sep { display: none; }
  .logo img { height: 46px; }
  .banner-inner { grid-template-columns: 1fr; gap: 0; }
  .banner-text { padding: 28px 0 8px; }
  .banner-side { justify-content: center; }
  .pm-flag { width: 84px; }
  .banner .slogan { font-size: 2.1rem; }
  .slogan-en { font-size: .62rem; letter-spacing: .2em; }
  /* Strip stays readable: swipe sideways on small screens */
  .banner-strip { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-top: 0; }
  .banner-strip::-webkit-scrollbar { display: none; }
  .banner-strip img, .strip-links { width: 760px; }
  .banner-strip img { max-width: none; }
  .strip-links { right: auto; }
  .banner-stats { grid-template-columns: repeat(2, auto); width: 100%; }
  .banner-stats li:nth-child(3) { border-left: 0; }
  .banner-stats li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .portal-left { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }

  /* Home tables: hide the ID column */
  #latestTable .col-id, #closingTable .col-id { display: none; }
  .gov-table .col-date { width: auto; }

  /* Tender list table becomes stacked cards */
  .tender-table thead { display: none; }
  .tender-table, .tender-table tbody, .tender-table tr, .tender-table td { display: block; width: 100%; }
  .tender-table tr { padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
  .tender-table tbody tr:nth-child(even) td { background: transparent; }
  .tender-table td { padding: 2px 0; border: 0; }
  .tender-table .col-sno { display: none; }
  .tender-table .col-id::before { content: 'Tender ID: '; color: var(--muted); }
  .tender-table .col-date, .tender-table .col-status { display: inline-block; width: auto; margin-right: 10px; }
  .tender-table .col-date::before { content: 'Closing: '; font-weight: 400; color: var(--muted); }
  .fav-table .col-action { display: inline-block; width: auto; float: right; }
  .award-table .col-date::before { content: 'Published: '; }
  .award-table .col-id::before { content: 'Award ID: '; }

  .kv-table .tdc-dl-row, .kv-table--compact .tdc-dl-row { grid-template-columns: 1fr; }
  .kv-table dt { border-right: 0; border-bottom: 1px solid var(--line); }

  .profile-list > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 420px) {
  .topbar-btn-label { display: none; }
}

/* ---------- About Us ---------- */
.about-section { padding: 36px 0; background: var(--white); }
.about-section--alt { background: var(--page-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.about-heading { font-size: 1.35rem; color: var(--heading); margin-bottom: 10px; }
.about-heading::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent); margin-top: 8px; }
.about-text p { margin-bottom: 14px; line-height: 1.7; color: var(--text); }
.about-text p + .about-heading { margin-top: 26px; }

.about-highlight { text-align: center; }
.about-highlight .panel-body { padding: 1.6rem 1.4rem; }
.about-slogan { font-family: 'Rozha One', serif; font-size: 2.2rem; line-height: 1.2; color: var(--accent); }
.about-slogan-en { font-family: var(--font-ui); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.about-stats li { padding: 12px 6px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.about-stats strong { display: block; font-size: 1.45rem; color: var(--white); }
.about-stats span { font-size: .85rem; opacity: .85; }
.about-kicker { font-size: .8rem; opacity: .8; }


.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-grid--4 { grid-template-columns: repeat(4, 1fr); }
.about-card {
  display: flex; flex-direction: column; gap: 10px; padding: 1.1rem 1.15rem;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.about-card h3 { font-size: 1.05rem; color: var(--ink); margin: 0; }
.about-card p { font-size: .92rem; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.about-card-head { display: flex; align-items: center; gap: 10px; }
.about-card-head h3 { flex: 1; }
.about-card--center { align-items: center; text-align: center; border-top-color: var(--accent); }
.about-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%; background: var(--green-50); color: var(--link);
}
.about-icon .ico { width: 1.1rem; height: 1.1rem; }
.about-icon--lg { width: 52px; height: 52px; }
.about-icon--lg .ico { width: 1.5rem; height: 1.5rem; }
.about-badge { font-family: var(--font-ui); font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; }
.about-badge.is-free { background: var(--green-50); color: var(--green); }
.about-badge.is-member { background: var(--saffron-100); color: #8A4706; }
.about-card-link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--link); }
.about-card-link .ico { width: .85rem; height: .85rem; }

.about-commit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.about-commit li { display: flex; gap: 14px; align-items: flex-start; }
.about-commit h3 { font-size: 1.02rem; margin-bottom: 3px; }
.about-commit p { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.about-note {
  margin-top: 26px; padding: .9rem 1.1rem; font-size: .9rem; line-height: 1.6;
  background: var(--cream); border: 1px solid var(--saffron-200); border-left: 4px solid var(--accent); border-radius: var(--radius);
}

.about-cta { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%); color: var(--white); padding: 34px 0; }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.about-cta h2 { color: var(--white); font-size: 1.45rem; margin-bottom: 4px; }
.about-cta p { opacity: .9; }
.about-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-grid, .about-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-grid, .about-grid--4, .about-commit { grid-template-columns: 1fr; }
  .about-section { padding: 26px 0; }
  .about-cta-actions .btn { width: 100%; justify-content: center; }
}

/* "Go to page" box next to the pagination buttons */
.pagination .page-jump { display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: .8rem; color: var(--muted); }
.pagination .page-jump input {
  width: 5.5rem; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-ui); font-size: .8rem;
}
.pagination .page-jump input:focus { outline: 2px solid var(--navy-100); border-color: var(--navy); }
.pagination .page-jump button { padding: .45rem .8rem; }

/* Numbered pages: ← Previous 1 … 5 6 7 … 3,524 Next → */
.pagination .page-numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.pagination .page-num { min-width: 2.4rem; padding: .45rem .55rem; text-align: center; }
.pagination .page-num.is-current {
  display: inline-block; border: 1px solid var(--brand); border-radius: var(--radius);
  background: var(--brand); color: var(--white);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700;
}
.pagination .page-gap { padding: 0 2px; color: var(--muted); font-weight: 700; }
@media (max-width: 640px) {
  .pagination .page-numbers { order: -1; flex-basis: 100%; }
  .pagination .page-num { min-width: 2.1rem; padding: .4rem .4rem; }
}

/* ---------- Profile → API Access ---------- */
.api-card { margin-top: 24px; scroll-margin-top: 70px; }
.api-intro { color: var(--muted); margin-bottom: 12px; }
.api-flash { padding: .6rem .8rem; margin-bottom: 12px; border-left: 4px solid var(--navy); background: var(--navy-50); font-size: .9rem; }
.api-new-token {
  padding: .9rem 1rem; margin-bottom: 14px; border: 1px solid var(--saffron-200); border-left: 4px solid var(--accent);
  border-radius: var(--radius); background: var(--saffron-50);
}
.api-new-token strong { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.api-new-token p { margin: 4px 0 10px; font-size: .88rem; color: var(--text); }
.api-secret { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.api-secret code { flex: 1 1 260px; padding: .5rem .6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; overflow-wrap: anywhere; }
.api-list code { font-size: .85rem; overflow-wrap: anywhere; }
.api-value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.api-muted { font-size: .8rem; color: var(--muted); }
.api-empty { margin-bottom: 4px; }
.api-copy--sm {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--font-ui); font-size: .75rem; font-weight: 700; color: var(--link);
}
.api-copy--sm:hover { border-color: var(--brand); background: var(--green-25); }
.api-copy .ico, .code-copy .ico { width: .85rem; height: .85rem; }
.btn-danger { color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red-50); color: var(--red); }

/* ---------- API documentation ---------- */
.api-docs { padding: 30px 0 50px; }
.api-docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.api-docs-nav {
  position: sticky; top: 64px; padding: 1rem; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); font-size: .88rem;
}
.api-docs-nav strong { display: block; margin-bottom: 6px; font-family: var(--font-ui); font-size: .78rem; text-transform: uppercase; color: var(--muted); }
.api-docs-nav li + li { margin-top: 4px; }
.api-docs-nav a { color: var(--link); }
.api-section {
  padding: 1.3rem 1.4rem; margin-bottom: 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 70px;
}
.api-section h2 { font-size: 1.3rem; color: var(--heading); margin-bottom: 10px; }
.api-section h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.api-section p, .api-section li { line-height: 1.65; }
.api-section p { margin-bottom: 10px; }
.api-section code { font-family: Consolas, 'Courier New', monospace; font-size: .86em; }
.api-section :not(pre) > code { overflow-wrap: anywhere; padding: 1px 5px; background: var(--green-25); border: 1px solid var(--line-2); border-radius: 3px; }
.api-steps { list-style: decimal; padding-left: 1.3rem; margin: 10px 0; }
.api-notes { list-style: disc; padding-left: 1.3rem; margin-top: 10px; }
.api-notes li + li, .api-steps li + li { margin-top: 4px; }
.api-callout { padding: .7rem .9rem; border-left: 4px solid var(--accent); background: var(--saffron-50); font-size: .92rem; }
.api-callout--ok { border-left-color: var(--green); background: var(--green-50); }
.api-callout .ico { vertical-align: -3px; margin-right: 4px; }
.api-endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px; }
.api-endpoint code { overflow-wrap: anywhere; font-weight: 700; color: var(--ink); }
.api-method { padding: 2px 8px; border-radius: 3px; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; color: var(--white); background: var(--brand); }
.api-method--post { background: var(--green); }
.api-method--delete { background: var(--red); }
.api-params { margin-bottom: 12px; font-size: .9rem; }
.api-params td { vertical-align: top; }
.api-params td:first-child { white-space: nowrap; }
.api-type { white-space: nowrap; color: var(--muted); font-size: .85rem; }
.api-req { font-family: var(--font-ui); font-size: .66rem; font-weight: 700; text-transform: uppercase; color: var(--red); }
.code-block { margin: 10px 0 14px; border: 1px solid #24305A; border-radius: var(--radius); overflow: hidden; background: #0F1733; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 4px 12px; background: #172244; font-family: var(--font-ui); font-size: .75rem; color: #A9B5D6; }
.code-copy {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; cursor: pointer;
  border: 1px solid #33427A; border-radius: 3px; background: transparent; color: #DCE3F5; font-family: var(--font-ui); font-size: .72rem;
}
.code-copy:hover { background: #24315E; }
.code-block pre { margin: 0; padding: .8rem 1rem; overflow-x: auto; }
.code-block code { font-family: Consolas, 'Courier New', monospace; font-size: .84rem; line-height: 1.55; color: #E7ECF8; white-space: pre; }
.api-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--brand); margin-top: 8px; }
.api-tabs [role="tab"] {
  padding: .45rem .9rem; cursor: pointer; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grey-head); font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--muted);
}
.api-tabs [role="tab"][aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.api-docs-footer { color: var(--muted); font-size: .9rem; text-align: center; }

@media (max-width: 900px) {
  .api-docs-layout { grid-template-columns: minmax(0, 1fr); }
  .api-docs-nav { position: static; }
  .api-docs-nav ol { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .api-docs-nav li + li { margin-top: 0; }
}
@media (max-width: 640px) {
  .api-section { padding: 1rem; }
  .api-params td:first-child { white-space: normal; }
}

/* ---------- Registration, email verification, CPV picker ---------- */
.auth-card--wide { max-width: 680px; }
.register-form fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.register-form legend {
  width: 100%; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  font-family: var(--font-ui); font-size: .9rem; font-weight: 700; color: var(--heading);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.req { color: var(--red); }
.optional { font-weight: 400; color: var(--muted); }
.field-hint { margin-top: 4px; font-family: var(--font-ui); font-size: .74rem; line-height: 1.45; color: var(--muted); }
.field-error { margin-top: 4px; font-family: var(--font-ui); font-size: .76rem; font-weight: 700; color: var(--red); }
.form-field input.is-invalid, .cpv-picker-input.is-invalid { border-color: var(--red); background: #FFF8F0; }
.fieldset-intro { margin-bottom: 10px; font-size: .9rem; color: var(--text); line-height: 1.55; }
.show-password { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: .8rem; color: var(--muted); cursor: pointer; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice {
  margin-bottom: 14px; padding: .6rem .8rem; font-size: .9rem; line-height: 1.5;
  background: var(--navy-50); border: 1px solid var(--navy-100); border-left: 4px solid var(--navy); border-radius: var(--radius);
}
.form-notice--ok { display: flex; gap: 8px; align-items: flex-start; background: var(--green-50); border-color: var(--green-100); border-left-color: var(--green); color: #0E5A26; }
.form-notice--ok .ico { flex: none; margin-top: 3px; }
.auth-switch { margin-top: 14px; text-align: center; font-size: .92rem; color: var(--muted); }
.verify-intro { margin-bottom: 14px; line-height: 1.6; }
.otp-input { height: 3.2rem !important; text-align: center; font-size: 1.6rem !important; letter-spacing: .5em; font-family: Consolas, 'Courier New', monospace; }
.verify-help { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); text-align: center; font-size: .88rem; color: var(--muted); }
.verify-help p { margin-bottom: 8px; }
.resend-form { margin-bottom: 10px; }
.resend-form .btn:disabled { opacity: .55; cursor: not-allowed; }
.edit-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; }
.edit-link .ico { width: .85rem; height: .85rem; }
.form-label { display: block; margin-bottom: 6px; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; color: var(--heading); }
.cpv-picker-input {
  width: 100%; height: 2.6rem; padding: 0 .75rem; border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-size: .95rem; color: var(--ink); background: var(--white);
}
.cpv-picker-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16); }
.cpv-picker-input:disabled { background: var(--grey-head); cursor: not-allowed; }
.cpv-picker .cpv-option.is-active { background: var(--green-50); color: var(--link-hover); }
.cpv-picker .selected-tags { margin-top: 10px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Saved CPV codes: locked (cannot be removed) */
.tag--locked { background: var(--grey-head); border-color: var(--line); color: var(--ink); cursor: default; }
.tag--locked .ico { width: .75rem; height: .75rem; color: var(--muted); }
.form-notice .ico { width: .9rem; height: .9rem; vertical-align: -2px; margin-right: 2px; }
.cpv-full { margin-bottom: 8px; font-weight: 700; color: var(--heading); }

/* ---------- Plans & pricing ---------- */
.pricing-page { padding: 32px 0 56px; }
.pricing-page > .container > .form-notice, .pricing-page .form-alert { max-width: 980px; margin-left: auto; margin-right: auto; }
.pricing-test { max-width: 980px; margin: 0 auto 16px; padding: .55rem .8rem; font-size: .88rem; background: var(--saffron-50); border: 1px dashed var(--accent-dark); border-radius: var(--radius); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 8px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.2rem 1.2rem;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.plan-card--featured { border-top-color: var(--accent); box-shadow: var(--shadow-md); }
.plan-card--current { outline: 2px solid var(--green); outline-offset: -1px; }
.plan-badge {
  position: absolute; top: -12px; right: 14px; padding: 2px 10px; border-radius: 12px;
  background: var(--accent); color: var(--ink); font-family: var(--font-ui); font-size: .7rem; font-weight: 700; text-transform: uppercase;
}
.plan-card h2 { font-size: 1.2rem; color: var(--heading); margin-bottom: 4px; }
.plan-summary { font-size: .88rem; color: var(--muted); min-height: 2.6em; }
.plan-price { margin: 12px 0 14px; }
.plan-price strong { font-size: 1.8rem; color: var(--ink); }
.plan-price span { font-size: .85rem; color: var(--muted); }
.plan-features { flex: 1; margin-bottom: 16px; }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: .9rem; line-height: 1.45; }
.plan-features .ico { flex: none; width: .95rem; height: .95rem; margin-top: 3px; color: var(--green); }
.plan-current-note { margin-top: 8px; text-align: center; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--green); }
.plan-current-note .ico { width: .8rem; height: .8rem; vertical-align: -1px; }
.pricing-notes { max-width: 980px; margin: 30px auto 0; padding: 1.1rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pricing-notes h2 { font-size: 1.05rem; color: var(--heading); margin-bottom: 8px; }
.pricing-notes li { padding: 4px 0 4px 14px; position: relative; font-size: .9rem; line-height: 1.55; }
.pricing-notes li::before { content: '•'; position: absolute; left: 0; color: var(--accent-dark); }
.topbar .topbar-btn--plan { background: var(--accent); color: var(--ink); border-color: var(--accent-dark); }
.topbar .topbar-btn--plan:hover, .topbar .topbar-btn--plan.is-active { background: var(--accent-dark); color: var(--ink); border-color: var(--accent-dark); }
.plan-panel { margin-top: 24px; }
.plan-history-title { margin: 20px 0 8px; font-size: 1rem; color: var(--heading); }
.plan-history { font-size: .88rem; }
.tdc-doc-allowance { margin-top: 6px; text-align: center; font-family: var(--font-ui); font-size: .76rem; font-weight: 700; color: var(--heading); }

/* ---------- Admin: email alerts ---------- */
.admin-alerts { max-width: 900px; }
.admin-alerts .panel + .panel { margin-top: 20px; }
.admin-alerts textarea {
  width: 100%; padding: .6rem .75rem; border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-family: inherit; font-size: .95rem; resize: vertical;
}
.admin-summary { margin-bottom: 10px; }
.admin-table td { vertical-align: top; }
.admin-tender-list li { padding: 3px 0; line-height: 1.45; }
.admin-tender-list li span { display: block; font-size: .8rem; }

@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- GST: price note, billing details dialog ---------- */
.plan-gst { margin: -8px 0 12px; font-family: var(--font-ui); font-size: .76rem; color: var(--muted); }
.pricing-error.is-info { background: var(--navy-50); color: var(--heading); border-color: var(--navy-100); border-left-color: var(--navy); }
.billing-dialog {
  margin: auto; /* the global reset removes the browser's centring of modal dialogs */
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; overflow: auto;
  border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.billing-dialog::backdrop { background: rgba(7, 46, 28, .55); }
.billing-form { padding: 1.1rem 1.3rem 1.3rem; }
.billing-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.billing-head h2 { font-size: 1.2rem; color: var(--heading); }
.billing-close { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.billing-close:hover { color: var(--red); }
.billing-plan { margin-bottom: 12px; color: var(--muted); }
.billing-form .form-field { margin-bottom: 10px; }
.billing-form textarea, .billing-form select {
  width: 100%; padding: .5rem .75rem; border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--white);
}
.billing-form select { height: 2.6rem; }
.billing-form textarea:focus, .billing-form select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16); }
.billing-form .is-invalid { border-color: var(--red) !important; }
.billing-summary { width: 100%; margin: 8px 0 12px; border-collapse: collapse; font-size: .92rem; }
.billing-summary td { padding: 5px 0; border-bottom: 1px dotted var(--line); }
.billing-summary td:last-child { text-align: right; white-space: nowrap; }
.billing-summary tr[hidden] { display: none; }
.billing-summary .billing-total td { padding-top: 8px; border-bottom: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.billing-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .billing-actions .btn { flex: 1 1 100%; } }

/* ---------- Contact details (footer, About Us) ---------- */
.footer-contact { display: grid; gap: 6px; margin-top: 14px; font-style: normal; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.footer-contact span, .footer-contact a { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--white); }
.footer-contact .ico { flex: none; width: .9rem; height: .9rem; margin-top: 3px; color: var(--accent); }
.footer-contact .footer-gstin { font-size: .8rem; color: rgba(255,255,255,.6); }
.about-contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.about-contact-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 1rem 1.1rem;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius);
}
.about-contact-item h3 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.about-contact-item address, .about-contact-item p, .about-contact-item a { font-style: normal; font-size: .92rem; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.about-contact-item a { color: var(--link); font-weight: 700; }
@media (max-width: 1100px) { .about-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .about-contact { grid-template-columns: minmax(0, 1fr); } }

/* Login: "Forgot password?" next to the password label */
.form-field .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.form-field .label-row label { margin-bottom: 0; }
.forgot-link { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; }

/* Home banner: "Start Your Own Tender Business" (Enterprise API) under Har Ghar Vyapar — meant to catch the eye first */
.banner-inner { grid-template-columns: minmax(0, 1fr) min(530px, 43%); }
/* Sits straight on the banner (no panel): the text and button blend with the banner background */
.biz-promo {
  position: relative; width: 100%; max-width: 530px; padding: 0; background: none; border: 0; box-shadow: none;
  container-type: inline-size;
}
.banner-side { gap: 28px; padding-bottom: 34px; }
.biz-promo-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.biz-promo-ribbon {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--saffron);
}
.biz-promo-ribbon::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.biz-promo-kicker {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 2px;
  background: var(--accent); color: var(--ink); font-family: var(--font-ui); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.biz-promo-kicker .ico { width: .8rem; height: .8rem; }
/* One line, same type as the banner h1: its size, but never wider than the promo column (6.6cqi keeps the whole line inside the column with the Baloo 2 font) */
.banner .biz-promo h2 {
  margin: 0 0 14px; white-space: nowrap; color: var(--white);
  font-size: min(clamp(1.75rem, 3.6vw, 2.6rem), 6.6cqi); line-height: 1.15; letter-spacing: normal; text-shadow: none;
}
.biz-promo h2 span { color: var(--accent); }
.banner .biz-promo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 12px; max-width: none; }
.biz-promo-for { font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.biz-promo-price strong { font-size: 1.45rem; line-height: 1; color: var(--accent); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.biz-promo-per { font-family: var(--font-ui); font-size: .78rem; color: rgba(255,255,255,.85); }
/* Same body text as the left side (.banner p), a little smaller for the narrower column */
.banner .biz-promo-text { margin: 0 0 24px; max-width: 470px; font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.biz-promo .biz-promo-btn { position: relative; overflow: hidden; display: inline-flex; width: auto; padding-left: 1.8rem; padding-right: 1.8rem; justify-content: center; font-size: 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.biz-promo-btn .ico { width: 1rem; height: 1rem; transition: transform var(--transition); }
.biz-promo-btn:hover .ico { transform: translateX(4px); }
.biz-promo-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
  animation: biz-shine 3.2s ease-in-out infinite;
}
@keyframes biz-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .biz-promo-btn::after { animation: none; } }

/* Pricing: highlight the plan a link points to (e.g. /pricing#plan-api_1y from the home page) */
.plan-card:has(h2:target) { outline: 3px solid var(--accent); outline-offset: 2px; animation: plan-pulse 1.4s ease-out 2; }
.plan-card h2:target { scroll-margin-top: 120px; }
@keyframes plan-pulse { 0% { box-shadow: 0 0 0 0 rgba(249,160,63,.7); } 100% { box-shadow: 0 0 0 16px rgba(249,160,63,0); } }
@media (prefers-reduced-motion: reduce) { .plan-card:has(h2:target) { animation: none; } }
@media (max-width: 1100px) {
  .banner-inner { grid-template-columns: minmax(0, 1fr) 400px; }
  .biz-promo-price strong { font-size: 1.35rem; }
}
@media (max-width: 900px) {
  .banner-inner { grid-template-columns: 1fr; }
  .banner-side { align-items: flex-start; }
  .biz-promo { max-width: 560px; }
}
@media (max-width: 640px) {
  .banner-side { align-items: flex-start; }
  .banner-side .banner-lockup { justify-content: flex-start; }
  .biz-promo { max-width: none; }
  .biz-promo .biz-promo-btn { display: flex; width: 100%; }
  .biz-promo-price strong { font-size: 1.3rem; }
}
/* Small phones: the account buttons (Plans, Login, Register…) need the room more than the date does */
@media (max-width: 520px) {
  .topbar-date { display: none; }
  .topbar-inner { justify-content: flex-end; }
}

/* ===================== Admin panel (/admin) ===================== */
.btn-sm { padding: .35rem .7rem; font-size: .78rem; }
.form-notice--error { background: var(--red-50); border-color: #FFD3A1; border-left-color: var(--red); color: #9A4A00; }
.form-notice--error .ico, .form-notice .ico { width: .95rem; height: .95rem; vertical-align: -2px; }
.admin-body { background: var(--page-bg); }
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column;
  background: var(--brand-dark); color: var(--white); border-right: 4px solid var(--accent);
}
.admin-brand { display: block; padding: 18px 18px 14px; background: var(--white); text-decoration: none; border-bottom: 1px solid var(--line); }
.admin-brand img { width: 170px; height: auto; display: block; }
.admin-brand span { display: block; margin-top: 4px; font-family: var(--font-ui); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.admin-sidebar nav { flex: 1; padding: 12px 0; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 10px; padding: .65rem 1.2rem; color: rgba(255,255,255,.88);
  font-family: var(--font-ui); font-size: .86rem; font-weight: 700; text-decoration: none; border-left: 4px solid transparent;
}
.admin-sidebar nav a .ico { width: 1rem; height: 1rem; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: var(--accent); }
.admin-sidebar nav a.is-active { background: rgba(255,255,255,.12); color: var(--accent); border-left-color: var(--accent); }
.admin-sidebar-foot { padding: 12px 1.2rem 18px; border-top: 1px solid rgba(255,255,255,.15); }
.admin-sidebar-foot a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .82rem; }
.admin-sidebar-foot .ico { width: .85rem; height: .85rem; }
.admin-topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: .7rem 1.6rem;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.admin-topbar h1 { flex: 1; margin: 0; font-size: 1.3rem; color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-who { display: flex; align-items: center; gap: 12px; }
.admin-who form { margin: 0; }
.admin-who-name { font-weight: 700; font-size: .9rem; }
.admin-menu-btn { display: none; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.admin-menu-btn span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--brand-dark); }
.admin-main { padding: 1.4rem 1.6rem 3rem; }
.admin-main > .form-notice { margin-bottom: 16px; }
.admin-role { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-family: var(--font-ui); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: 2px; }
.admin-role--super { background: var(--accent); color: var(--ink); }
.admin-role--admin { background: var(--green-50); color: var(--link-hover); border: 1px solid var(--green-100); }
.admin-intro { margin-bottom: 16px; color: var(--text); line-height: 1.6; }
.admin-back { margin-bottom: 12px; font-family: var(--font-ui); font-size: .85rem; font-weight: 700; }

.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-stat {
  display: block; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
}
a.admin-stat:hover { border-top-color: var(--accent); text-decoration: none; }
.admin-stat span { display: block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-stat strong { display: block; margin: 4px 0 2px; font-size: 1.7rem; color: var(--heading); }
.admin-stat em { font-style: normal; font-size: .8rem; color: var(--muted); }
.admin-stat--money { border-top-color: var(--green); }
.admin-stat--money strong { color: var(--green); }

.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-span-2 { grid-column: 1 / -1; }
.admin-card { padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.admin-grid > .admin-card { margin-bottom: 0; }
.admin-card h2 { margin: 0 0 12px; font-size: 1.1rem; color: var(--heading); }
.admin-card h3 { margin: 18px 0 8px; font-size: .95rem; color: var(--ink); }
.admin-count, .admin-note, .admin-summary { margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { padding: .55rem .6rem; text-align: left; background: var(--grey-head); border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.admin-table td { padding: .6rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.admin-table tr:hover td { background: var(--green-25); }
.admin-table .num { text-align: right; white-space: nowrap; }
.admin-table tr.is-ended td { color: var(--muted); }
.admin-table form { margin: 0; }
.admin-badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: var(--grey-head); border: 1px solid var(--line); font-family: var(--font-ui); font-size: .7rem; font-weight: 700; color: var(--muted); white-space: nowrap; vertical-align: 2px; }
.admin-badge--ok { background: var(--green-50); border-color: var(--green-100); color: var(--green); }
.admin-badge--off { background: var(--red-50); border-color: #FFD3A1; color: var(--red); }
.admin-badge--plan { background: var(--saffron-100); border-color: var(--saffron-200); color: #8A4706; }
.admin-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: .5rem 0; border-bottom: 1px dotted var(--line); font-size: .9rem; }
.admin-list li:last-child { border-bottom: 0; }
.admin-list time { margin-left: auto; font-family: var(--font-ui); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.admin-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-filters .form-field { margin: 0; min-width: 160px; }
.admin-filters .form-field:first-child { flex: 1 1 260px; }
.admin-filters input, .admin-filters select, .admin-form select, .admin-form textarea {
  width: 100%; height: 2.5rem; padding: 0 .7rem; border: 1px solid #C5CCE3; border-radius: var(--radius); font: inherit; font-size: .92rem; background: var(--white);
}
.admin-form textarea { height: auto; padding: .5rem .7rem; resize: vertical; }
.admin-filter-actions, .admin-actions-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-actions-row { margin-top: 12px; }
.admin-actions-row form { margin: 0; }
.admin-form .form-field { margin-bottom: 12px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-pages { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; font-family: var(--font-ui); font-size: .85rem; }
.admin-pages .is-disabled { color: var(--line); }
.admin-customer-head { display: flex; align-items: center; gap: 16px; }
.admin-customer-head h2 { margin: 0 0 4px; font-size: 1.3rem; }
.admin-customer-head p { margin: 2px 0; font-size: .88rem; }
.admin-avatar { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 1.4rem; font-weight: 700; border: 3px solid var(--accent); }
.admin-cpvs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: .35rem 0; border-bottom: 1px dotted var(--line); font-size: .9rem; }
.admin-cpvs form { margin: 0; }
.admin-danger { border-color: #FFD3A1; border-top: 3px solid var(--red); }
.admin-danger h2 { color: var(--red); }
.admin-tender-list li { padding: 3px 0; line-height: 1.45; }
.admin-tender-list li span { display: block; font-size: .8rem; }
.admin-auth-body { display: flex; min-height: 100vh; }
.admin-auth { margin: auto; width: min(440px, calc(100vw - 32px)); padding: 32px 0; }
.admin-auth-logo { display: block; margin: 0 auto 16px; width: 220px; }
.admin-auth-logo img { width: 100%; height: auto; }
.admin-auth .auth-card { max-width: none; }
.admin-auth-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.admin-auth-foot { margin-top: 14px; text-align: center; font-size: .85rem; }

@media (max-width: 1100px) {
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: 250px; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 4px 0 20px rgba(0,0,0,.25); }
  .admin-sidebar.open { transform: none; }
  .admin-menu-btn { display: inline-flex; }
  .admin-topbar { padding: .6rem 1rem; }
  .admin-main { padding: 1rem 1rem 2.5rem; }
  .admin-who-name { display: none; }
}
@media (max-width: 640px) {
  .admin-stats, .admin-stats--3 { grid-template-columns: minmax(0, 1fr); }
  .form-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .admin-customer-head { align-items: flex-start; }
  .admin-topbar h1 { font-size: 1.05rem; }
}

/* ============================================================
   Search-engine pages, lead forms & global promotion
   ============================================================ */
.btn-sm { padding: .4rem .8rem; font-size: .8rem; }
.btn .ico { flex: none; }

/* Main menu: worldwide website */
.navbar .nav-global a { color: var(--accent); }
.navbar .nav-global a:hover { color: var(--white); }

/* Tender detail */
.page-title--tender h1 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.35; overflow-wrap: anywhere; }
.detail-closed { margin-bottom: 16px; }
.detail-closed a { color: inherit; text-decoration: underline; }
.empty-title { font-size: 1.25rem; margin-bottom: 4px; }
.similar-tenders { margin-top: 24px; }
.detail-help .panel-body { padding: 14px; }

/* Worldwide website promotion */
.global-strip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 18px 0 0; padding: 12px 16px;
  background: var(--green-25); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}
.global-strip > .ico { width: 1.4rem; height: 1.4rem; color: var(--brand); flex: none; }
.global-strip p { flex: 1 1 280px; margin: 0; font-size: .95rem; color: var(--text); }
.global-strip strong { color: var(--heading); }
.global-strip .btn .ico { width: .85rem; height: .85rem; }
.global-card {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
}
.global-card-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: var(--brand); }
.global-card strong { color: var(--heading); }
.global-card p { margin: 2px 0 6px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.global-card a { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; }
.global-card a .ico { width: .8rem; height: .8rem; }

/* Lead forms */
.lead-form-title { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; margin-bottom: 4px; }
.lead-form-title .ico { color: var(--accent-dark); }
.lead-form-text { font-size: .92rem; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
.lead-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-grid--2 .lead-span-2 { grid-column: 1 / -1; }
.lead-form .form-field { margin-bottom: 12px; }
.lead-form select, .lead-form textarea {
  width: 100%; padding: .5rem .75rem;
  border: 1px solid #C5CCE3; border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); background: var(--white);
}
.lead-form select { height: 2.6rem; }
.lead-form textarea { resize: vertical; min-height: 3.2rem; font-family: inherit; }
.lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16); }
.lead-form [aria-invalid="true"] { border-color: var(--red); }
.lead-form .req { color: var(--red); }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form-note { margin-top: 8px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.lead-form-note .ico { width: .8rem; height: .8rem; vertical-align: -1px; margin-right: 3px; }
.lead-form--compact .form-field input { height: 2.4rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Landing pages */
.landing-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-family: var(--font-ui); font-size: .85rem; color: #3A4570; }
.landing-facts li { display: inline-flex; align-items: center; gap: 6px; }
.landing-facts .ico { width: .95rem; height: .95rem; color: var(--accent-dark); }
.landing-facts strong { color: var(--heading); }
.landing-page, .browse-page, .legal-page, .contact-page { padding: 24px 0 40px; }
.landing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.landing-intro { margin-bottom: 18px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.landing-intro p { line-height: 1.7; }
.landing-intro p + p { margin-top: 10px; }
.landing-pages { padding: 0 12px 14px; }
.pagination a.page-btn, .pagination span.page-btn {
  display: inline-flex; align-items: center; min-width: 2.2rem; justify-content: center; padding: .45rem .75rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--link);
}
.pagination a.page-btn:hover { background: var(--brand); color: var(--white); text-decoration: none; }
.pagination .page-btn.is-current { background: var(--brand); border-color: var(--brand); color: var(--white); }
.pagination .page-gap { color: var(--muted); }
.tab-foot a { display: inline-flex; align-items: center; gap: 5px; }
.tab-foot a .ico { width: .9rem; height: .9rem; }
.landing-links { margin-top: 22px; }
.landing-links h2, .landing-faq h2 { font-size: 1.2rem; margin-bottom: 10px; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chips a {
  display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white);
  font-size: .9rem; color: var(--heading);
}
.link-chips a:hover { border-color: var(--brand); background: var(--green-50); text-decoration: none; }
.chip-count { display: inline-block; margin-left: 4px; padding: 0 .45rem; border-radius: 10px; background: var(--green-50); color: var(--muted); font-size: .78rem; font-weight: 600; }
.daily-days { margin-bottom: 6px; }
.sitemap-wide { margin-top: 8px; }
.sitemap-wide .link-chips { margin-bottom: 6px; }
.sitemap-sub { font-size: .98rem; margin: 14px 0 6px; }
.landing-faq { margin-top: 24px; }
.landing-faq details, .faq-body details {
  margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.landing-faq summary, .faq-body summary {
  padding: .7rem 1rem; cursor: pointer; font-weight: 700; color: var(--heading); list-style-position: inside;
}
.landing-faq summary:hover, .faq-body summary:hover { background: var(--green-25); }
.landing-faq details p, .faq-body details p { padding: 0 1rem .9rem; line-height: 1.7; color: var(--text); }
.landing-side .panel { margin-bottom: 14px; }
.lead-panel { border-top: 3px solid var(--accent); }
.lead-panel .panel-body { padding: 14px; }
.side-plan p { font-size: .93rem; line-height: 1.6; margin-bottom: 10px; }
.side-plan-price strong { font-size: 1.15rem; color: var(--heading); }
.side-plan-price span { font-size: .82rem; color: var(--muted); }
.side-links { padding: 6px 0; }
.side-links a { display: block; padding: .38rem 1rem; font-size: .93rem; border-bottom: 1px dotted var(--line-2); }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { background: var(--green-25); text-decoration: none; }

/* Browse pages & sitemap */
.browse-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.browse-tabs a {
  display: inline-flex; align-items: center; gap: 6px; padding: .45rem 1rem; border: 1px solid var(--brand); border-radius: var(--radius);
  background: var(--white); font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--brand);
}
.browse-tabs a.is-active, .browse-tabs a:hover { background: var(--brand); color: var(--white); text-decoration: none; }
.browse-tabs .ico { width: .9rem; height: .9rem; }
.browse-intro { max-width: 860px; margin-bottom: 16px; line-height: 1.7; }
.browse-group { font-size: 1.15rem; margin: 18px 0 10px; }
.browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.browse-grid a {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: .65rem .85rem;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius);
  font-weight: 700; color: var(--heading);
}
.browse-grid a .ico { flex: none; color: var(--brand); width: 1rem; height: 1rem; }
.browse-grid a:hover { border-left-color: var(--accent); background: var(--green-25); text-decoration: none; }
.home-states { background: var(--page-bg); border-top: 1px solid var(--line); padding: 32px 0 36px; }
.home-states-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.home-states-more .ico { width: .9rem; height: .9rem; }
.sitemap-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sitemap-list li { padding: 3px 0; font-size: .93rem; }

/* Contact & thank-you */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin: 14px 0; }
.contact-cards li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-cards strong { display: block; color: var(--heading); margin-bottom: 2px; }
.contact-cards a { overflow-wrap: anywhere; }
.contact-cards address { font-style: normal; line-height: 1.6; margin-bottom: 4px; }
.contact-cards a .ico { width: .9rem; height: .9rem; vertical-align: -2px; }
.about-icon--wa { background: #E8F8EE; color: #128C4B; }
.contact-gst { font-family: var(--font-ui); font-size: .8rem; color: var(--muted); }
.contact-help { margin-top: 18px; padding: 14px 16px; background: var(--green-25); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-help h3 { display: flex; align-items: center; gap: 6px; font-size: 1.02rem; margin-bottom: 6px; }
.contact-help li { padding: 2px 0; }
.contact-form-panel .panel-body { padding: 18px; }
.thanks-card { max-width: 600px; margin: 0 auto; text-align: center; }
.thanks-card .panel-body { padding: 32px 24px; }
.thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--green-50); color: var(--green); }
.thanks-icon .ico { width: 2rem; height: 2rem; }
.thanks-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.thanks-card p { line-height: 1.6; margin-bottom: 10px; }
.thanks-card .error-actions { margin-top: 18px; }

/* Pricing: call-back */
.pricing-help {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center;
  max-width: 980px; margin: 24px auto 0; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
}
.pricing-help h2 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin-bottom: 6px; }
.pricing-help p { line-height: 1.6; color: var(--muted); }
.pricing-help .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Policies & FAQ */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.legal-toc {
  position: sticky; top: 12px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem;
}
.legal-toc strong { display: block; margin-bottom: 6px; color: var(--heading); }
.legal-toc ol { list-style: decimal; padding-left: 1.2rem; }
.legal-toc li { padding: 2px 0; }
.legal-body { padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.75; }
.legal-body h2 { font-size: 1.18rem; margin: 22px 0 8px; scroll-margin-top: 12px; }
.legal-body h2:first-child, .legal-body section:first-child h2 { margin-top: 0; }
.legal-body p { margin-bottom: 10px; }
.legal-body ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 12px; }
.legal-body li { margin-bottom: 6px; }
.faq-body section { scroll-margin-top: 12px; }
.faq-more { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.faq-more p { margin-bottom: 12px; }
.faq-more .btn { margin: 0 8px 8px 0; }

/* Footer additions */
.footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
.footer-global { background: rgba(0,0,0,.1); border-top: 1px solid rgba(255,255,255,.1); padding: 10px 0; }
.footer-global p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.85); }
.footer-global .ico { width: 1rem; height: 1rem; color: var(--accent); }
.footer-global a { color: var(--accent); font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-legal a { font-family: var(--font-ui); font-size: .75rem; color: rgba(255,255,255,.75); }
.footer-legal a:hover { color: var(--white); }

/* WhatsApp chat button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; padding: .7rem 1rem;
  background: var(--green); color: var(--white); border-radius: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
  font-family: var(--font-ui); font-size: .85rem; font-weight: 700;
}
.wa-float:hover { background: #084416; color: var(--white); text-decoration: none; }
.wa-float .ico { width: 1.3rem; height: 1.3rem; }
@media print { .wa-float { display: none; } }

/* Admin: leads */
.admin-nav-badge { display: inline-block; min-width: 1.3rem; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.3rem; }
.admin-badge--new { background: var(--saffron-100); border-color: var(--saffron-200); color: #8A4706; }
.admin-table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.lead-contact { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.lead-msg-title { font-size: 1rem; margin: 14px 0 6px; }
.lead-msg { padding: 10px 12px; background: var(--page-bg); border-radius: var(--radius); line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .browse-grid, .sitemap-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .landing-layout, .contact-layout, .legal-layout, .pricing-help { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .browse-grid, .sitemap-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lead-grid--2, .pricing-help .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .browse-grid, .sitemap-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .legal-body { padding: 16px; }
  .wa-float { right: 12px; bottom: 12px; padding: .75rem; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .global-strip .btn { width: 100%; }
}

/* CPV & city index pages */
.cpv-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 720px; margin-bottom: 8px; }
.cpv-search input { flex: 1 1 260px; height: 2.6rem; padding: 0 .75rem; border: 1px solid #C5CCE3; border-radius: var(--radius); font-size: 1rem; }
.cpv-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(35,63,146,.16); }
.cpv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; padding: 10px 14px 14px; }
.cpv-grid a { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; font-size: .93rem; }
.cpv-grid .cpv-code { flex: none; }
.browse-page > .container > .cpv-grid { padding: 0; }
.cpv-division { margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cpv-division summary { padding: .65rem 1rem; cursor: pointer; font-weight: 700; color: var(--heading); }
.cpv-division summary:hover { background: var(--green-25); }
.cpv-division summary .cpv-code { margin-right: 6px; }
.city-groups { columns: 4 220px; column-gap: 28px; }
.city-groups section { break-inside: avoid; margin-bottom: 6px; }
.city-groups .browse-group { margin-top: 10px; font-size: 1.05rem; }
.landing-links-sub { margin-top: 16px; }
.cpv-list a { display: flex; gap: 8px; align-items: baseline; color: inherit; }
.cpv-list a:hover { color: var(--link); }
@media (max-width: 640px) { .cpv-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tender guides (/guides) ---------- */
.page-title .guide-meta { font-family: var(--font-ui); font-size: .85rem; opacity: .9; }
.guide-side { position: sticky; top: 12px; display: grid; gap: 14px; }
.guide-side .legal-toc { position: static; }
.guide-cta { padding: 14px 16px; background: var(--green-25); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.guide-cta strong { display: flex; align-items: center; gap: 6px; color: var(--heading); margin-bottom: 4px; }
.guide-cta p { margin-bottom: 10px; color: var(--muted); }
.guide-body h2 { scroll-margin-top: 12px; }
.guide-body ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 12px; }
.guide-body ol li { margin-bottom: 6px; }
.guide-faq details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.guide-faq summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.guide-faq details p { margin: 8px 0 4px; }
.guide-note { margin-top: 18px; padding: 10px 12px; background: var(--page-bg); border-radius: var(--radius); font-size: .9rem; color: var(--muted); }
.guide-lead { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--green-25); }
.guide-related { margin-top: 22px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0 0 10px; }
.guide-card { display: flex; gap: 14px; height: 100%; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(21,36,79,.10); }
.guide-card-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); color: var(--brand); }
.guide-card-text { display: grid; gap: 4px; }
.guide-card-text strong { color: var(--heading); font-size: 1.05rem; }
.guide-card-text span { color: var(--text); font-size: .92rem; line-height: 1.5; }
.guide-card-text small { color: var(--muted); font-family: var(--font-ui); }
.guide-cards--small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.legal-body .guide-cards--small { list-style: none; padding-left: 0; }
.guide-cards--small a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--heading); font-weight: 700; }
.guide-cards--small a:hover { border-color: var(--brand); }
.guide-cards--small .ico { flex: none; color: var(--brand); }
@media (max-width: 900px) { .guide-side { position: static; } }

/* Footer social media icons */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; padding: 0; }
.footer-social li { margin: 0; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: rgba(255,255,255,.9); }
.footer-social a .ico { width: 1.05rem; height: 1.05rem; color: currentColor; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* =====================================================================
   Theme 5 · "Tiranga Utsav" — all three flag colours in balance
   India Green top bar · Kesaria (saffron) menu and main actions · white page
   Ashoka navy headings, panels and footer · light saffron→white→green heroes
   with a faint navy Ashoka Chakra and a skyline of Indian monuments.
   ===================================================================== */
.btn-green { background: var(--green); color: var(--white); border-color: #084416; }
.btn-green:hover { background: #084416; color: var(--white); }

/* Top bar: India Green */
.topbar { background: var(--green); }

/* Masthead: white, tricolour divider, Hindi subtitle */
.masthead { background: var(--white); }
.masthead-title { border-left: 3px solid; border-image: linear-gradient(180deg, var(--saffron) 0 33.33%, #E3E7F2 33.33% 66.66%, var(--india-green) 66.66% 100%) 1; }
.masthead-title span { font-family: var(--font); font-size: .98rem; font-weight: 700; color: var(--accent-text); margin-top: 1px; }
.masthead-search { border: 2px solid var(--brand-mid); border-radius: 6px; }
.masthead-search button { background: var(--brand-mid); }

/* Main menu: Kesaria with navy text; the current page is a navy tab */
.navbar { background: linear-gradient(180deg, #FFAA55 0%, var(--saffron) 100%); border-bottom: 3px solid var(--brand-mid); }
.navbar li + li { border-left-color: rgba(6,18,74,.14); }
.navbar a, .nav-dropdown-trigger { color: var(--brand-dark); }
.navbar a:hover, .nav-dropdown-trigger:hover,
.nav-has-dropdown:hover .nav-dropdown-trigger,
.nav-has-dropdown.open .nav-dropdown-trigger { background: rgba(6,18,74,.10); color: var(--brand-dark); }
.navbar a.active, .nav-dropdown-active > .nav-dropdown-trigger,
.nav-dropdown-active > .nav-dropdown-trigger:hover,
.nav-has-dropdown.nav-dropdown-active:hover > .nav-dropdown-trigger { background: var(--brand-mid); color: var(--white); box-shadow: none; }
.nav-has-dropdown > .nav-dropdown { background: var(--brand-dark); border-top-color: var(--saffron); }
.navbar .nav-global a { color: var(--brand-mid); }
.navbar .nav-global a:hover { color: var(--brand-dark); background: rgba(6,18,74,.10); }
.navbar :focus-visible, .banner :focus-visible, .page-title :focus-visible { outline-color: var(--navy); }
.nav-has-dropdown > .nav-dropdown :focus-visible { outline-color: var(--accent); }

/* Home hero: light tricolour wash, navy chakra, flag + हर घर व्यापार, monument skyline */
.banner {
  color: var(--ink);
  background: linear-gradient(180deg, #FFE3C2 0%, #FFF6EC 26%, #FFFFFF 50%, #F1F9EF 74%, #D7EEDA 100%);
}
.banner::before {
  width: 520px; height: 520px; right: auto; left: 50%; top: 50%; margin: -300px 0 0 -260px;
  background-image: var(--chakra-wheel-navy); opacity: .045;
}
.banner-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 6px; border-radius: 20px;
  background: var(--brand-mid); color: var(--white); letter-spacing: .03em;
}
.banner-kicker::before { content: ''; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--white) var(--chakra-wheel-navy) center / 86% no-repeat; }
.banner-kicker [lang="hi"] { font-size: 1.05em; text-transform: none; letter-spacing: 0; }
.banner h1 { color: var(--heading); font-weight: 800; }
.banner h1 span { color: #C25A06; }
.banner h1 .h-green { color: var(--green); }
.banner p { color: #3A4570; }
.banner .btn-amber { color: var(--brand-dark); }
.banner-stats { background: var(--white); border: 0; border-radius: 8px; box-shadow: 0 4px 16px rgba(11,31,102,.09); overflow: hidden; }
.banner-stats li { border-top: 4px solid var(--brand-mid); }
.banner-stats li:nth-child(1) { border-top-color: var(--saffron); }
.banner-stats li:nth-child(3) { border-top-color: var(--india-green); }
.banner-stats li + li { border-left-color: var(--line-2); }
.banner-stats strong { color: var(--heading); font-weight: 800; }
.banner-stats li:nth-child(1) strong { color: var(--accent-text); }
.banner-stats li:nth-child(3) strong { color: var(--green); }
.banner-stats span { color: var(--muted); }
.pm-flag { filter: drop-shadow(0 8px 14px rgba(11,31,102,.22)); }
.banner .slogan { text-shadow: none; }
.slogan-1 { color: #C25A06; }
.slogan-2 { color: var(--green); }
.slogan-2::after { box-shadow: 0 0 0 1px var(--navy-100); }
.slogan-en { color: var(--heading); }
/* Enterprise API promo on the light hero */
.biz-promo-ribbon { color: var(--accent-text); }
.banner .biz-promo h2 { color: var(--heading); font-weight: 800; }
.biz-promo h2 span { color: var(--green); }
.biz-promo-for, .biz-promo-per { color: var(--muted); }
.biz-promo-price strong { color: var(--accent-text); text-shadow: none; }
.banner .biz-promo-text { color: #3A4570; }
.biz-promo .biz-promo-btn { background: var(--brand-mid); border-color: var(--brand-dark); color: var(--white); box-shadow: 0 8px 20px rgba(11,31,102,.25); }
.biz-promo .biz-promo-btn:hover { background: var(--brand-dark); color: var(--white); }
/* Skyline: Qutub Minar, Charminar, Hawa Mahal, India Gate, Lotus Temple, Gateway of India, Gopuram */
.banner-skyline { position: relative; z-index: 1; display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto; opacity: .88; }
.banner-strip { margin-top: -18px; }
.banner-strip img { filter: drop-shadow(0 10px 18px rgba(11,31,102,.22)); }

/* Inner page headers: the same light tricolour wash, navy text, tricolour bottom edge */
.page-title {
  color: var(--ink);
  background:
    var(--chakra-wheel-navy-faint) right 6% center / 200px no-repeat,
    linear-gradient(180deg, #FFEBD3 0%, #FFFFFF 55%, #EAF6E8 100%);
  border-bottom: 4px solid; border-image: linear-gradient(90deg, var(--saffron) 0 33.33%, #E3E7F2 33.33% 66.66%, var(--india-green) 66.66% 100%) 1;
  position: relative;
}
.page-title h1 { color: var(--heading); font-weight: 800; }
.page-title p { color: #3A4570; }
.breadcrumb li { color: var(--muted); }
.breadcrumb a { color: var(--link); }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb li:last-child { color: var(--accent-text); }

/* Panels: navy heads with a thin tricolour line under the home "Latest Tenders" tab */
.tab-head { border-bottom-color: var(--brand-mid); }

/* Footer: navy */
.footer-made { display: inline-flex; align-items: center; gap: 8px; }
.footer-made [lang="hi"] { font-family: 'Rozha One', serif; font-size: 1rem; color: var(--accent); }

/* ---------- Theme 5 · Tiranga Utsav — admin panel ---------- */
.admin-shell { min-height: calc(100vh - 4px); }
.admin-sidebar {
  height: calc(100vh - 4px);
  background:
    var(--chakra-wheel-faint) center bottom -60px / 260px no-repeat,
    linear-gradient(180deg, var(--brand-mid) 0%, var(--brand-dark) 55%, var(--brand-deep) 100%);
  border-right: 4px solid var(--saffron);
}
.admin-brand { border-bottom: 3px solid var(--saffron); }
.admin-brand span { color: var(--heading); font-size: .72rem; }
.admin-brand span [lang="hi"] { display: block; margin-top: 2px; }
.admin-brand span [lang="hi"], .admin-auth-title [lang="hi"] { color: var(--accent-text); letter-spacing: 0; text-transform: none; font-size: 1.05em; }
.admin-sidebar nav { padding: 14px 10px; }
.admin-sidebar nav li + li { margin-top: 2px; }
.admin-sidebar nav a { border-left: 0; border-radius: 6px; color: rgba(255,255,255,.9); }
.admin-sidebar nav a .ico { color: var(--accent); }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.10); color: var(--white); }
.admin-sidebar nav a.is-active { background: var(--saffron); color: var(--brand-dark); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.admin-sidebar nav a.is-active .ico { color: var(--brand-dark); }
.admin-sidebar nav a.is-active .admin-nav-badge { background: var(--brand-dark); color: var(--white); }
.admin-sidebar-foot a:hover { color: var(--accent); }
.admin-topbar {
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--saffron) 0 33.33%, #E3E7F2 33.33% 66.66%, var(--india-green) 66.66% 100%) 1;
}
.admin-topbar h1 { font-weight: 800; }
.admin-stat { border-top-width: 4px; border-radius: 8px; }
.admin-stats > .admin-stat:nth-child(4n+1) { border-top-color: var(--saffron); }
.admin-stats > .admin-stat:nth-child(4n+2) { border-top-color: var(--brand-mid); }
.admin-stats > .admin-stat:nth-child(4n+3) { border-top-color: var(--india-green); }
.admin-stats > .admin-stat:nth-child(4n+4) { border-top-color: var(--brand-mid); }
a.admin-stat:hover { box-shadow: var(--shadow-md); }
.admin-stat strong { font-weight: 800; }
.admin-card { border-radius: 8px; }
.admin-card h2 { font-weight: 800; }
.admin-table th { background: var(--navy-50); color: var(--heading); border-bottom-color: var(--navy-100); }
.admin-filters { border-radius: 8px; border-top: 3px solid var(--saffron); }
.admin-avatar { background: var(--brand-mid); border-color: var(--saffron); }
/* Login and password pages: the light tricolour wash with a faint chakra */
.admin-auth-body {
  flex-direction: column;
  background:
    var(--chakra-wheel-navy-faint) right -120px bottom -120px / 420px no-repeat,
    linear-gradient(180deg, #FFE3C2 0%, #FFF6EC 26%, #FFFFFF 50%, #F1F9EF 74%, #D7EEDA 100%) fixed;
}
.admin-auth-tricolor { width: 100%; }
.admin-auth-title { margin: -6px 0 14px; text-align: center; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }

/* ---------- Admin → Festivals ---------- */
.fest-toolbar { justify-content: space-between; align-items: center; }
.fest-checklist { margin: 6px 0 0 18px; list-style: disc; }
.fest-checklist li { margin: 2px 0; }
.fest-table td { vertical-align: middle; }
.fest-swatch { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; margin-right: 8px; vertical-align: middle; }
.fest-swatch i { width: 9px; height: 9px; border-radius: 50%; }
.fest-local { display: block; margin-left: 34px; font-size: .9rem; }
.admin-customer-head .fest-local { display: inline; margin: 0 0 0 8px; font-weight: 400; color: var(--muted); }
.fest-row-actions { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.fest-row-actions form { margin: 0; }
.fest-rules { margin: 0 0 0 18px; list-style: disc; line-height: 1.6; }
.fest-avatar { color: var(--white); border: 3px solid; }
.fest-avatar .ico { width: 1.6rem; height: 1.6rem; }
.fest-head-text { flex: 1; min-width: 0; }
.fest-head-actions { margin-top: 0; }
.fest-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.fest-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0 12px; }
.fest-colors input[type="color"] { width: 100%; height: 2.4rem; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.fest-check { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 10px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.fest-check input { width: 1.05rem; height: 1.05rem; margin-top: 3px; accent-color: var(--brand); flex: none; }
.admin-card h3 { margin-top: 14px; }
.fest-save { margin: 4px 0 20px; }
.fest-dates { display: grid; gap: 8px; }
.fest-date { display: grid; grid-template-columns: 150px 150px 150px 110px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 0; }
.fest-date input[type="date"], .fest-date input[name="note"] { width: 100%; height: 2.3rem; padding: 0 .55rem; border: 1px solid #C5CCE3; border-radius: var(--radius); font: inherit; font-size: .88rem; background: var(--white); }
.fest-date-head { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fest-date.is-past { opacity: .6; }
.fest-date-new { padding-top: 10px; border-top: 1px dashed var(--line); }
.fest-confirm { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.fest-confirm input { accent-color: var(--green); width: 1rem; height: 1rem; }
.fest-date-btns { display: inline-flex; gap: 6px; }
.fest-image { max-width: 220px; max-height: 220px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--grey-head); margin-bottom: 10px; }
.fest-upload { margin-top: 12px; }
.fest-upload input[type="file"] { width: 100%; font-size: .9rem; }
@media (max-width: 900px) {
  .fest-date { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fest-date-head { display: none; }
  .fest-date > label:nth-child(n+5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .fest-two { grid-template-columns: 1fr; } }
.scroll-x { overflow-x: auto; }
.biz-promo-docs { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; font-family: var(--font-ui); font-size: .92rem; font-weight: 700; color: var(--link); vertical-align: middle; }
.biz-promo-docs .ico { width: 1rem; height: 1rem; }
@media (max-width: 640px) { .biz-promo-docs { display: flex; justify-content: center; margin: 12px 0 0; } }
/* Logged-in menu (three extra links) on desktop: tighter spacing and no icons, so all 13 links stay on one row */
@media (min-width: 901px) {
  .navbar .nav-compact > li > a, .navbar .nav-compact .nav-dropdown-trigger { padding-left: .5rem; padding-right: .5rem; font-size: .8rem; gap: 4px; }
  .navbar .nav-compact > li > a > .ico { display: none; }
}
@media (min-width: 901px) and (max-width: 1099px) {
  .navbar > .container { padding-left: 8px; padding-right: 8px; }
  .navbar ul > li > a, .navbar .nav-dropdown-trigger { padding-left: .55rem; padding-right: .55rem; font-size: .78rem; gap: 4px; }
  .navbar .nav-compact > li > a, .navbar .nav-compact .nav-dropdown-trigger { padding-left: .34rem; padding-right: .34rem; font-size: .74rem; }
  .navbar ul > li > a > .ico { display: none; }
}

/* ---------- API docs: "What you get" ---------- */
.api-lead { font-size: 1.05rem; color: #3A4570; margin-bottom: 14px; }
.api-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 8px; }
.api-stat { padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand-mid); border-radius: 8px; }
.api-stat:nth-child(3n+1) { border-top-color: var(--saffron); }
.api-stat:nth-child(3n+3) { border-top-color: var(--india-green); }
.api-stat strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.15; color: var(--heading); font-variant-numeric: tabular-nums; }
.api-stat span { display: block; font-size: .9rem; color: var(--text); }
.api-stat em { display: block; margin-top: 2px; font-style: normal; font-size: .8rem; color: var(--muted); }
.api-stats-note { margin: 0 0 18px; font-size: .8rem; color: var(--muted); }
.api-feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.api-feature-card { padding: 16px 18px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 10px; }
.api-feature-card--leads { background: var(--saffron-50); border-color: var(--saffron-200); }
.api-feature-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; font-size: 1.05rem; color: var(--heading); }
.api-feature-card h3 .ico { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.api-feature-card ul { display: grid; gap: 7px; }
.api-feature-card li { display: flex; align-items: flex-start; gap: 8px; font-size: .93rem; line-height: 1.45; }
.api-feature-card li .ico { flex: none; width: 1rem; height: 1rem; margin-top: 3px; color: var(--green); }
.api-feature-note { margin: 12px 0 0; font-size: .88rem; color: #3A4570; }
.api-badge { padding: 1px 9px; border-radius: 999px; background: var(--accent); color: var(--brand-dark); font-family: var(--font-ui); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.api-built-title { margin: 4px 0 8px; font-size: 1rem; color: var(--heading); }
.api-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.api-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .88rem; font-weight: 600; color: var(--heading); }
.api-chips .ico { width: .95rem; height: .95rem; color: var(--accent-dark); }
.api-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark)); color: var(--white); }
.api-cta strong { display: block; font-size: 1.1rem; color: var(--white); }
.api-cta span { font-size: .9rem; color: #DCE2F5; }
.api-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.api-cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.api-cta .btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
@media (max-width: 900px) { .api-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .api-feature-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .api-stat { padding: 10px 12px; } .api-stat strong { font-size: 1.35rem; } .api-stat span { font-size: .84rem; } }
@media (max-width: 330px) { .api-stats { grid-template-columns: 1fr; } }
