/* PM Ekta Mall portal - design system v2 (UI/UX review of 10.11.2026). Tokens first; components after. */
@font-face { font-family: 'Noto Sans'; src: url('../fonts/noto-sans-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy-900: #0B2545; --navy: #0F2F57; --navy-600: #1E4174; --saffron: #E07A1F;
  --bg: #F4F6F9; --surface: #FFFFFF; --border: #E2E8F0; --border-strong: #CBD5E1;
  --ink: #0F172A; --ink-2: #475569; --ink-3: #64748B; --link: #1D4ED8;
  --hi-fg: #B42318; --hi-bg: #FEF3F2; --me-fg: #B54708; --me-bg: #FFFAEB; --lo-fg: #067647; --lo-bg: #ECFDF3;
  --na-fg: #475569; --na-bg: #F1F5F9; --ok-fg: #0E7C66; --ok-bg: #E6F6F2;
  --cat-a: #E0EAF5; --cat-b: #B7CCE6; --cat-c: #7FA3D1; --cat-d: #3F6FAE; --cat-e: #0F2F57;
  --radius: 12px; --shadow: 0 1px 2px rgba(15, 23, 42, .06);
  --tblr-primary: #0F2F57; --tblr-primary-rgb: 15, 47, 87; --tblr-body-bg: #F4F6F9; --tblr-body-color: #0F172A;
  --tblr-font-sans-serif: 'Noto Sans', system-ui, 'Segoe UI', Roboto, sans-serif; --tblr-border-color: #E2E8F0;
  --tblr-secondary-color: #475569; --tblr-muted: #475569; --tblr-link-color: #1D4ED8; --tblr-link-color-rgb: 29, 78, 216;
}
html { font-size: 15px; }
html.ts-sm { font-size: 14px; } html.ts-lg { font-size: 17px; }
body { background: var(--bg); color: var(--ink); font-family: var(--tblr-font-sans-serif); font-size: 1rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
a { color: var(--link); }
.text-secondary, .text-muted { color: var(--ink-2) !important; }
small, .small { font-size: .87rem; }
.container-xl { max-width: 1240px; padding-inline: 24px; }
@media (max-width: 575px) { .container-xl { padding-inline: 16px; } }

/* ---------- type scale ---------- */
h1, .h1 { font-size: 1.87rem; line-height: 1.25; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h2, .h2 { font-size: 1.33rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
h3, .h3 { font-size: 1.07rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.page-title { font-size: 1.87rem; font-weight: 700; margin: 0 0 .25rem; color: var(--ink); }
.page-sub { font-size: 1rem; color: var(--ink-2); margin: 0; }
.crumbs { font-size: .87rem; color: var(--ink-2); margin-bottom: .35rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--link); text-decoration: underline; }
.label-caps, .subheader { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2) !important; }

/* ---------- skip link, top strip, header, nav ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 3000; }
.skip-link:focus { left: 1rem; }
.gov-strip { background: var(--navy-900); color: rgba(255,255,255,.9); font-size: .8rem; }
.gov-strip .container-xl { display: flex; align-items: center; gap: 1rem; min-height: 32px; }
.gov-strip a, .gov-strip button { color: rgba(255,255,255,.9); background: none; border: 0; padding: 0 .3rem; font-size: .8rem; text-decoration: none; }
.gov-strip button:hover, .gov-strip a:hover { color: #fff; text-decoration: underline; }
.gov-strip .tools { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.gov-strip .sep { opacity: .4; }
@media (max-width: 575px) { .gov-strip .ministry { display: none; } }
.mainbar { background: #fff; border-bottom: 1px solid var(--border); }
.mainbar .container-xl { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand img { border-radius: 10px; }
.brand b { display: block; font-size: 1.2rem; line-height: 1.2; color: var(--navy); white-space: nowrap; }
.brand span { display: block; font-size: .87rem; color: var(--ink-2); white-space: nowrap; }
.mainbar .npc { margin-left: auto; text-align: right; font-size: .8rem; color: var(--ink-2); line-height: 1.3; }
.mainbar .npc b { color: var(--navy); font-size: .87rem; }
.trial-pill { background: #FFFAEB; color: var(--me-fg); border: 1px solid #FEDF89; font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .1rem .6rem; white-space: nowrap; }
@media (max-width: 767px) { .brand span, .mainbar .npc { display: none; } .brand b { font-size: 1.02rem; white-space: normal; } }
.navbar-em { background: var(--navy); position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 6px rgba(15,23,42,.15); }
.navbar-em .container-xl { display: flex; align-items: stretch; min-height: 48px; position: relative; }
.navbar-em .links { display: flex; align-items: stretch; gap: .1rem; }
.navbar-em .links a, .navbar-em .links > .dd > button { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .35rem; padding: 0 .8rem; min-height: 48px; font-size: .93rem; font-weight: 600; border: 0; background: none; border-bottom: 3px solid transparent; }
.navbar-em .links a:hover, .navbar-em .links > .dd > button:hover { background: rgba(255,255,255,.08); }
.navbar-em .links a.active { border-bottom-color: var(--saffron); }
.navbar-em .right { margin-left: auto; display: flex; align-items: stretch; }
.navbar-em .right > .dd > button, .navbar-em .right > a { color: #fff; background: none; border: 0; display: flex; align-items: center; gap: .4rem; padding: 0 .8rem; min-height: 48px; font-weight: 600; font-size: .93rem; text-decoration: none; }
.navbar-em .burger { display: none; color: #fff; background: none; border: 0; min-width: 48px; font-size: 1.4rem; align-items: center; justify-content: center; }
.dd { position: relative; display: flex; }
.dd-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 28px rgba(15,23,42,.16); padding: .35rem; z-index: 1100; }
.dd.open > .dd-menu { display: block; }
.dd-menu a, .dd-menu button { display: flex !important; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .6rem .75rem !important; min-height: 44px; color: var(--ink) !important; text-decoration: none; border: 0 !important; background: none; border-radius: 8px; font-size: .93rem; font-weight: 500 !important; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--bg) !important; }
.dd-menu .dd-head { padding: .4rem .75rem; font-size: .8rem; color: var(--ink-2); border-bottom: 1px solid var(--border); margin-bottom: .25rem; }
@media (max-width: 1099px) {
  .navbar-em .burger { display: flex; }
  .navbar-em .links { display: none; position: absolute; left: 0; right: 0; top: 48px; background: var(--navy); flex-direction: column; padding: .4rem 0; box-shadow: 0 10px 20px rgba(15,23,42,.25); }
  .navbar-em.open .links { display: flex; }
  .navbar-em .links a, .navbar-em .links > .dd > button { padding: 0 1.2rem; border-bottom: 0; border-left: 3px solid transparent; }
  .navbar-em .links a.active { border-left-color: var(--saffron); }
  .navbar-em .links .dd { flex-direction: column; } .navbar-em .links .dd-menu { position: static; box-shadow: none; margin: 0 1rem .5rem; display: block; }
}
.tricolour { height: 3px; background: linear-gradient(90deg, #FF9933 0 33.3%, #FFFFFF 33.3% 66.6%, #138808 66.6% 100%); }

/* ---------- footer ---------- */
.em-foot { background: var(--navy-900); color: rgba(255,255,255,.85); font-size: .93rem; padding: 2.2rem 0 1.4rem; margin-top: 3rem; }
.em-foot h2 { color: #fff; font-size: .87rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .7rem; }
.em-foot a { color: rgba(255,255,255,.9); text-decoration: none; } .em-foot a:hover { color: #fff; text-decoration: underline; }
.em-foot ul { list-style: none; padding: 0; margin: 0; } .em-foot li { margin-bottom: .35rem; }
.em-foot .base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.4rem; padding-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- surfaces ---------- */
.page-body { margin-top: 1.6rem !important; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-header { background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0 !important; }
.card-title { font-size: 1.07rem; font-weight: 600; color: var(--ink); margin: 0; }
.card-body { padding: 1.25rem; }
.row-cards { --tblr-gutter-y: 1rem; --tblr-gutter-x: 1rem; }

/* ---------- buttons ---------- */
.btn { border-radius: 8px; font-weight: 600; font-size: .95rem; min-height: 40px; }
.btn-sm { min-height: 34px; font-size: .87rem; }
.btn-lg { min-height: 48px; font-size: 1rem; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.btn-secondary-em, .btn-outline-secondary { background: #fff; border: 1px solid var(--border-strong); color: var(--ink); }
.btn-secondary-em:hover, .btn-outline-secondary:hover { background: var(--bg); color: var(--ink); border-color: var(--ink-3); }
.btn-outline-primary { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline-primary:hover { background: var(--navy); color: #fff; }
.btn-danger-em { background: #fff; color: var(--hi-fg); border: 1px solid var(--hi-fg); }
.btn-danger-em:hover { background: var(--hi-bg); color: var(--hi-fg); }
.btn-accent { background: #fff; color: var(--navy); border: 1px solid #fff; }
.btn-accent:hover { background: #F1F5F9; color: var(--navy); }
.btn[aria-disabled=true], .btn:disabled { background: #E5E7EB !important; border-color: #E5E7EB !important; color: #6B7280 !important; opacity: 1; cursor: not-allowed; }
@media (max-width: 575px) { .btn { min-height: 48px; } .btn-sm { min-height: 40px; } }
:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }

/* ---------- badges (pills) ---------- */
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; line-height: 1.5; padding: .1rem .65rem; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.risk-H { color: var(--hi-fg); background: var(--hi-bg); border-color: rgba(180,35,24,.25); }
.risk-M { color: var(--me-fg); background: var(--me-bg); border-color: rgba(181,71,8,.25); }
.risk-L { color: var(--lo-fg); background: var(--lo-bg); border-color: rgba(6,118,71,.25); }
.risk-N { color: var(--na-fg); background: var(--na-bg); border-color: rgba(71,85,105,.2); }
.st-ok { color: var(--ok-fg); background: var(--ok-bg); border-color: rgba(14,124,102,.25); }
.st-info { color: var(--navy-600); background: #EEF4FB; border-color: rgba(30,65,116,.2); }
.st-warn { color: var(--me-fg); background: var(--me-bg); border-color: rgba(181,71,8,.25); }
.st-bad { color: var(--hi-fg); background: var(--hi-bg); border-color: rgba(180,35,24,.25); }
.st-none { color: var(--na-fg); background: var(--na-bg); border-color: rgba(71,85,105,.2); }
.cat { display: inline-flex; align-items: center; justify-content: center; min-width: 1.9rem; height: 1.6rem; padding: 0 .45rem; border-radius: 6px; font-weight: 700; font-size: .85rem; color: var(--ink); }
.cat-A { background: var(--cat-a); } .cat-B { background: var(--cat-b); } .cat-C { background: var(--cat-c); color: #0F172A; }
.cat-D { background: var(--cat-d); color: #fff; } .cat-E { background: var(--cat-e); color: #fff; }
.src-tag { font-size: .75rem; font-weight: 600; color: var(--ink-2); background: var(--na-bg); border-radius: 999px; padding: .05rem .55rem; white-space: nowrap; }

/* ---------- figure tiles ---------- */
.tile { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.25rem; height: 100%; color: inherit; text-decoration: none; border-left: 4px solid transparent; }
a.tile:hover { border-color: var(--border-strong); box-shadow: 0 4px 14px rgba(15,23,42,.08); color: inherit; }
.tile .num { font-size: 2.13rem; line-height: 1.2; font-weight: 700; color: var(--ink); margin: .2rem 0 .1rem; }
.tile .num small { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.tile .sub { font-size: .87rem; color: var(--ink-2); }
.tile.alert-hi { border-left-color: var(--hi-fg); } .tile.alert-hi .num { color: var(--hi-fg); }

/* ---------- tables ---------- */
.table { --tblr-table-bg: transparent; font-size: .93rem; }
.table > thead th { background: #F8FAFC; color: var(--ink-2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); padding: .7rem .75rem; white-space: nowrap; }
.table > tbody td { padding: .7rem .75rem; border-bottom: 1px solid #F1F5F9; vertical-align: middle; }
.table-hover > tbody tr:hover > * { background: #F8FAFC; }
.table .num { text-align: right; }
.sticky-col { position: sticky; left: 0; background: #fff; z-index: 1; }
thead .sticky-col { background: #F8FAFC; z-index: 2; }
.table-tight td, .table-tight th { padding: .5rem .6rem; }
.mall-cell b a { color: var(--navy); text-decoration: none; } .mall-cell b a:hover { text-decoration: underline; }
.mall-cell .meta { font-size: .8rem; color: var(--ink-2); }
.bar { position: relative; height: 8px; background: #E2E8F0; border-radius: 6px; min-width: 110px; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--navy-600); border-radius: 6px; }
.bar .ver { position: absolute; top: -3px; bottom: -3px; width: 3px; background: var(--ok-fg); border-radius: 2px; }
.bar .plan { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }

/* ---------- filters and inputs ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters .form-select, .filters .form-control { min-height: 40px; width: auto; }
.filters .search { min-width: 220px; }
@media (max-width: 575px) { .filters .form-select, .filters .form-control, .filters .search { width: 100%; } }
.form-control, .form-select { min-height: 44px; font-size: 1rem; border-color: var(--border-strong); border-radius: 8px; }
.form-label { font-weight: 600; color: var(--ink); }

/* ---------- charts ---------- */
.chart { width: 100%; height: 340px; }
.chart-sm { width: 100%; height: 220px; }
.chart-empty { font-size: .93rem; color: var(--ink-2); text-align: center; padding: .5rem 0 0; }

/* ---------- attention list ---------- */
.attn { list-style: none; padding: 0; margin: 0; }
.attn li { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid #F1F5F9; }
.attn li:last-child { border-bottom: 0; }
.attn .why { font-size: .85rem; color: var(--ink-2); }

/* ---------- mall page ---------- */
.tabbar { position: sticky; top: 48px; z-index: 1020; background: var(--bg); border-bottom: 1px solid var(--border); margin: 0 0 1.25rem; overflow-x: auto; white-space: nowrap; }
.tabbar a { display: inline-block; padding: .75rem 1rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
.tabbar a:hover, .tabbar a.active { color: var(--navy); border-bottom-color: var(--saffron); }
.anchor { scroll-margin-top: 110px; }
.mall-facts th { width: 38%; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.mall-facts td { font-size: .93rem; }
.src { font-size: .78rem; color: var(--ink-3); }
.row-late td:first-child { box-shadow: inset 4px 0 0 var(--hi-fg); }
.row-focus { background: #FFF8F1; }
details.fold > summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: '\25BE'; margin-left: auto; color: var(--ink-3); }
details.fold[open] > summary::after { content: '\25B4'; }
.empty-state { text-align: center; padding: 1.5rem 1rem; color: var(--ink-2); }
.empty-state i { font-size: 2rem; color: #98A2B3; display: block; margin-bottom: .4rem; }

/* ---------- forms (return, validation) ---------- */
.q-row { padding: .9rem 0; border-bottom: 1px solid #F1F5F9; }
.q-row:last-child { border-bottom: 0; }
.q-label { font-weight: 600; }
.q-help { color: var(--ink-2); font-size: .9rem; }
.form-selectgroup-label { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.stage-table select { min-width: 150px; }
.stage-table input[type=date] { min-width: 10rem; }
@media (max-width: 767px) {
  .stage-table thead { display: none; }
  .stage-table, .stage-table tbody { display: block; }
  .stage-table tr { display: block; border: 1px solid var(--border); border-radius: 10px; margin: 0 0 .75rem; padding: .6rem .75rem; background: #fff; }
  .stage-table tr.row-focus { background: #FFF8F1; }
  .stage-table td { display: block; border: 0 !important; padding: .3rem 0 !important; }
  .stage-table td[data-l]::before { content: attr(data-l); display: block; font-size: .8rem; color: var(--ink-2); font-weight: 600; margin-bottom: .15rem; }
  .stage-table td:first-child b { font-size: 1rem; }
  .stage-table input, .stage-table select { width: 100% !important; max-width: none !important; min-height: 44px; }
}
.actionbar { position: sticky; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 12px rgba(15,23,42,.08); padding: .6rem 0; margin-top: 1rem; }
.actionbar .inner { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.actionbar .prog { flex: 1 1 200px; min-width: 160px; }
.actionbar .prog .track { height: 4px; background: #E2E8F0; border-radius: 4px; overflow: hidden; }
.actionbar .prog .track span { display: block; height: 100%; background: var(--ok-fg); }
.actionbar .prog .txt { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-top: .2rem; }
@media (max-width: 575px) { .actionbar .btn { flex: 1 1 0; } .actionbar .prog { flex-basis: 100%; order: -1; } }
.missing-list a { color: var(--ink); } .missing-list a:hover { color: var(--link); }
.missing-group { font-weight: 600; margin: .6rem 0 .2rem; color: var(--ink-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.flash-target { outline: 2px solid var(--hi-fg) !important; outline-offset: 2px; }
.cmp-table td.num, .cmp-table th.num { text-align: right; width: 140px; }
.cmp-diff { background: var(--me-bg); }

/* ---------- photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.photo-grid figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.photo-grid img { width: 100%; height: 124px; object-fit: cover; display: block; }
.photo-grid figcaption { font-size: .8rem; padding: .4rem .5rem; }
.flag { color: var(--hi-fg); font-weight: 600; }
.point-card { border: 1px dashed var(--border-strong); border-radius: 10px; padding: .8rem; background: #fff; scroll-margin-top: 110px; }
.point-card.done { border-style: solid; border-color: var(--ok-fg); }
.cam-preview { width: 100%; max-height: 60vh; object-fit: contain; background: #111; border-radius: 10px; }
.cam-ref { position: relative; }
.cam-ref img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; opacity: .9; }
.cam-ref span { position: absolute; left: .5rem; top: .5rem; background: rgba(15,23,42,.75); color: #fff; font-size: .78rem; padding: .1rem .5rem; border-radius: 999px; }
.loc-pill { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; padding: .35rem .8rem; border-radius: 999px; }
.loc-pill.wait { background: var(--na-bg); color: var(--na-fg); } .loc-pill.good { background: var(--lo-bg); color: var(--lo-fg); }
.loc-pill.weak { background: var(--me-bg); color: var(--me-fg); } .loc-pill.bad { background: var(--hi-bg); color: var(--hi-fg); }
.back-btn { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; min-width: 44px; padding: 0 .6rem; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 8px; }
.back-btn:hover { background: var(--bg); }

/* ---------- reading pages (help, glossary, research) ---------- */
.reading { max-width: 72ch; font-size: 1.04rem; line-height: 1.65; }
.reading h2 { margin-top: 1.8rem; scroll-margin-top: 80px; } .reading h3 { margin-top: 1.4rem; scroll-margin-top: 80px; }
.reading li { margin-bottom: .35rem; }
.toc { position: sticky; top: 64px; }
.toc a { display: block; padding: .45rem .75rem; border-left: 3px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.toc a:hover { color: var(--navy); border-left-color: var(--saffron); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .8rem; font-size: .93rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--ink); text-decoration: none; background: #fff; }
.chips a:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 575px) { .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; } .chips a { white-space: nowrap; } }
.gl dt { color: var(--navy); font-weight: 600; } .gl dd { color: var(--ink); margin-bottom: .9rem; }
.keybox { background: #EEF4FB; border: 1px solid #C9DAEF; border-radius: var(--radius); padding: 1rem 1.25rem; }
.research table { font-size: .9rem; }

/* ---------- sign-in ---------- */
.signin { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(15,23,42,.08); background: #fff; }
.signin .side { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-600) 100%); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.signin .side h1 { color: #fff; font-size: 1.87rem; }
.signin .side li { margin-bottom: .6rem; color: rgba(255,255,255,.9); }
.signin .side .eyebrow { color: #FDBA74; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.signin .formside { padding: 2.5rem; display: flex; align-items: center; justify-content: center; }
.signin form { width: 100%; max-width: 400px; }
.pw-wrap { position: relative; } .pw-wrap .form-control { padding-right: 3rem; }
.pw-eye { position: absolute; right: 0; top: 0; height: 100%; width: 3rem; border: 0; background: none; color: var(--ink-2); }
@media (max-width: 767px) { .signin { grid-template-columns: 1fr; } .signin .side { padding: 1.5rem; } .signin .side ul { display: none; } .signin .formside { padding: 1.5rem; } }

/* ---------- landing ---------- */
.hero { background: linear-gradient(135deg, #0B2545 0%, var(--navy) 45%, var(--navy-600) 100%); color: #fff; padding: 3.5rem 0 3.8rem; }
.hero .eyebrow { color: #FDBA74; font-weight: 700; font-size: .87rem; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 2.93rem); line-height: 1.18; font-weight: 700; margin: .8rem 0 1rem; color: #fff; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 40rem; line-height: 1.55; }
.hero .by { color: rgba(255,255,255,.75); font-size: .93rem; }
.hero .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 1.5rem; }
.hero-card .flow { display: flex; flex-direction: column; gap: .9rem; }
.hero-card .fstep { display: flex; gap: .9rem; align-items: flex-start; }
.hero-card .fstep .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #FDBA74; }
.hero-card .fstep b { display: block; color: #fff; } .hero-card .fstep span { color: rgba(255,255,255,.78); font-size: .93rem; }
.figband { background: #fff; border-top: 3px solid var(--saffron); border-bottom: 1px solid var(--border); }
.figband .fig { text-align: center; padding: 1.3rem .5rem; }
.figband .fig b { display: block; font-size: 2.13rem; line-height: 1.15; color: var(--navy); font-weight: 700; }
.figband .fig span { font-size: .87rem; color: var(--ink-2); }
@media (min-width: 768px) { .figband .fig + .fig { border-left: 1px solid var(--border); } }
.sect { padding: 3.5rem 0; }
.sect.alt { background: #fff; }
.sect .eyebrow { color: #B54708; font-weight: 700; letter-spacing: .08em; font-size: .8rem; text-transform: uppercase; text-align: center; }
.sect h2.title { text-align: center; font-weight: 700; color: var(--ink); font-size: 1.87rem; margin: .3rem 0 .4rem; }
.sect h2.title.title-left, .sect .eyebrow.left { text-align: left; }
.sect .intro { text-align: center; color: var(--ink-2); max-width: 46rem; margin: .8rem auto 2rem; font-size: 1.07rem; }
.infocard { border-radius: var(--radius); padding: 1.5rem; height: 100%; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.infocard .ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: #EEF4FB; color: var(--navy); margin-bottom: .9rem; }
.infocard h3 { font-size: 1.13rem; }
.quote { border-left: 4px solid var(--saffron); padding: .3rem 0 .3rem 1rem; color: var(--ink); font-style: italic; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; height: 100%; box-shadow: var(--shadow); }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: .7rem; }
.step .who { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: .15rem .5rem; margin-bottom: .5rem; }
.who.dpiit { background: #E0E7FF; color: #3730A3; } .who.state { background: #FFEDD5; color: #9A3412; } .who.mo { background: #DCFCE7; color: #166534; } .who.all { background: #E5E7EB; color: #374151; }
.step h3 { font-size: 1.03rem; margin-bottom: .3rem; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.catcard { border-radius: var(--radius); padding: 1rem; height: 100%; border: 1px solid var(--border); background: #fff; }
.catcard .cat { margin-bottom: .5rem; }
.tl { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border-strong); }
.tl li { position: relative; padding: 0 0 1.1rem 1.25rem; }
.tl li::before { content: ""; position: absolute; left: -7px; top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); border: 2px solid #fff; }
.tl .d { font-weight: 700; color: var(--navy); display: block; font-size: .9rem; }
.helpcard { display: block; text-decoration: none; color: inherit; }
.helpcard:hover .infocard { border-color: var(--navy); box-shadow: 0 6px 18px rgba(15,47,87,.12); }

/* ---------- (i) buttons ---------- */
.info-i { border: 0; background: none; padding: 8px; margin: -8px -4px -8px -2px; color: var(--navy-600); cursor: pointer; line-height: 1; vertical-align: baseline; font-size: .95em; opacity: .7; position: relative; }
.info-i:hover, .info-i:focus-visible, .info-i[aria-expanded=true] { opacity: 1; color: #B54708; }
.hero .info-i, .signin .side .info-i { color: #FDBA74; }
.info-pop { position: absolute; z-index: 3000; background: #fff; color: var(--ink); border: 1px solid var(--border-strong); border-top: 3px solid var(--saffron); border-radius: 10px; padding: .8rem .95rem .75rem; box-shadow: 0 12px 30px rgba(15,23,42,.18); font-size: .9rem; text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left; line-height: 1.5; }
.info-pop b { display: block; color: var(--navy); margin: 0 1.6rem .3rem 0; font-size: .97rem; }
.info-pop p { margin: 0 0 .45rem; }
.info-pop a { font-size: .85rem; }
.info-x { position: absolute; top: .2rem; right: .3rem; width: 32px; height: 32px; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--ink-3); cursor: pointer; }

/* ---------- misc ---------- */
.em-offline { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; text-align: center; z-index: 2000; }
.alert { border-radius: 10px; }
.trail td { font-size: .9rem; }
@media print { .gov-strip, .mainbar .npc, .navbar-em, .tricolour, .em-foot, .actionbar, .btn, .info-i, .tabbar { display: none !important; } body { background: #fff; } }

/* ---------- identity: DPIIT lockup, portal mark, NPC logo (header and footer) ---------- */
.org-lockup { display: flex; align-items: center; gap: .6rem; }
.org-lockup .emblem { height: 56px; width: auto; }
.org-lockup b { display: block; font-size: 1.13rem; line-height: 1.1; color: var(--ink); letter-spacing: .02em; }
.org-lockup span span { display: block; font-size: .75rem; line-height: 1.3; color: var(--ink-2); }
.vdiv { width: 1px; align-self: stretch; margin: .7rem .2rem; background: var(--border); }
.mainbar .npc { display: flex; align-items: center; gap: .55rem; }
.mainbar .npc img { border-radius: 50%; }
@media (max-width: 991px) { .org-lockup span, .vdiv { display: none; } }
@media (max-width: 575px) { .org-lockup .emblem { height: 44px; } .mainbar .npc { display: none; } }
.foot-logos { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.logo-tile { display: inline-flex; align-items: center; gap: .6rem; background: #fff; color: var(--ink); border-radius: 10px; padding: .5rem .9rem; font-size: .8rem; line-height: 1.3; }
.logo-tile b { color: var(--navy); font-size: .9rem; }
.logo-tile img { width: auto; }

/* ---------- identity v3: DPIIT first; PM Ekta Mall as the scheme mark; NPC only as the developer credit ---------- */
.mainbar .container-xl { min-height: 76px; }
a.org-lockup { text-decoration: none; color: inherit; }
.org-lockup .emblem { height: 60px; width: auto; }
.org-lockup .dept { display: flex; flex-direction: column; line-height: 1.25; }
.org-lockup .dept .hi { font-size: .88rem; color: var(--ink); font-weight: 600; font-family: 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', sans-serif; }
.org-lockup .dept b { font-size: 1.07rem; color: var(--navy); display: block; letter-spacing: 0; }
.org-lockup .dept .min { font-size: .8rem; color: var(--ink-2); }
.org-lockup .dept .short { display: none; }
.brand.scheme { margin-left: auto; text-align: right; gap: .7rem; }
.brand.scheme b { font-size: 1.13rem; }
.brand.scheme img { border-radius: 12px; }
.mainbar .trial-pill { margin-left: .5rem; }
@media (max-width: 991px) { .org-lockup .dept .hi, .org-lockup .dept .min { display: none; } .org-lockup .dept b { font-size: .95rem; } }
@media (max-width: 767px) {
  .org-lockup .dept > b:not(.short) { display: none; } .org-lockup .dept .short { display: block; font-size: 1.1rem; }
  .org-lockup .dept::after { content: 'Ministry of Commerce & Industry'; font-size: .72rem; color: var(--ink-2); }
  .brand.scheme .txt span { display: none; } .brand.scheme b { font-size: 1rem; white-space: nowrap; }
  .org-lockup .emblem { height: 48px; } .brand.scheme img { width: 42px; height: 42px; }
}
.foot-dept { display: flex; gap: .8rem; align-items: flex-start; font-size: .87rem; line-height: 1.45; }
.foot-dept img { width: auto; flex: 0 0 auto; }
.foot-dept b { color: #fff; }
.em-foot .base .credit { margin-left: auto; opacity: .85; }
@media (max-width: 767px) { .em-foot .base .credit { margin-left: 0; } }
.foot-dept img { height: 64px !important; width: auto !important; }
@media (max-width: 767px) {
  .brand.scheme .txt { display: block !important; } .brand.scheme .txt b { display: block; }
  .gov-strip .tools > a, .gov-strip .tools > a + .sep { display: none; }
}
@media (max-width: 575px) { .brand.scheme .txt { display: none !important; } .mainbar .container-xl { gap: .5rem; } .mainbar .trial-pill { margin-left: auto; } .brand.scheme { margin-left: .4rem; } }
.em-foot .base .credit { display: inline-flex; align-items: center; gap: .5rem; }
.em-foot .base .credit img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 2px; }
