:root {
  --bg: #f6f7f9; --panel: #ffffff; --ink: #1d2330; --muted: #667085; --line: #e3e6eb; --accent: #3800a0; --accent-soft: #efe8fb; --brand: #3800a0; --brand-ink: #2a0078;
  --sun: linear-gradient(90deg, #3800a0 0%, #8a1f8f 30%, #e83858 52%, #f08868 72%, #f8d878 100%);
  --good: #1e7b4a; --warn: #a15c00; --bad: #b42318; --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.top { display: flex; align-items: center; gap: 18px; padding: 10px 20px; background: #fff; color: var(--brand); position: sticky; top: 0; z-index: 5; flex-wrap: wrap; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--sun); }   /* the brand's sun-gradient rule */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--brand); font-weight: 700; }
.brand img { height: 26px; width: auto; display: block; }
.brand em.ver { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0; }   /* v3.50: installed version */
.brand span { font-weight: 500; font-size: 10.5px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.top nav a { color: var(--brand-ink); padding: 6px 10px; border-radius: 6px; font-weight: 500; }
.top nav a.on, .top nav a:hover { background: var(--accent-soft); color: var(--brand); text-decoration: none; }
.top select { border-color: var(--line); }
#jump { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); width: 200px; }
main { max-width: 1400px; margin: 0 auto; padding: 20px; }
footer { max-width: 1400px; margin: 0 auto; padding: 8px 20px 24px; font-size: 12px; }
footer.site { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
footer.site .maker { display: flex; align-items: center; gap: 8px; }
footer.site .maker img { height: 30px; width: auto; display: block; }
footer.site .maker:hover { text-decoration: none; }
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 24px 0 8px; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.kpis { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 140px; }
.kpi b { display: block; font-size: 20px; }
.kpi span { color: var(--muted); font-size: 12px; }
table { border-collapse: collapse; width: 100%; background: var(--panel); }
th, td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 12px; background: #fafbfc; position: sticky; top: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:hover td { background: #fafcff; }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }   /* v2.97 (Rahul: 'do we need double scroll'): one scroll, the page's */
@media (min-width: 1100px) { .scroll { overflow: clip; } .scroll thead th, table.fs thead th { position: sticky; top: 66px; z-index: 2; } }
.tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: var(--accent-soft); color: var(--accent); }
.st-Done { color: var(--good); } .st-Partial { color: var(--warn); } .st-n\/a { color: var(--muted); }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: var(--sun); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 12px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 8px 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; font: inherit; }
.tabs button.on { color: var(--ink); border-color: var(--accent); font-weight: 600; }
button.btn, a.btn { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 7px 14px; cursor: pointer; font: inherit; display: inline-block; }
button.btn.ghost, a.btn.ghost { background: var(--accent-soft); color: var(--accent); }
input, select, textarea { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
textarea { width: 100%; font-family: var(--mono); font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--accent-soft); color: var(--accent); border-radius: 14px; padding: 3px 10px; font-size: 13px; }
.chip button { border: 0; background: none; color: inherit; cursor: pointer; margin-left: 4px; }
.picker { columns: 3 220px; font-size: 13px; }
.picker label { display: block; break-inside: avoid; padding: 1px 0; }
.picker h4 { margin: 8px 0 2px; font-size: 12px; color: var(--muted); break-after: avoid; }
.err { color: var(--bad); }
.src { font-size: 11px; color: var(--muted); }
.pg { color: inherit; border-bottom: 1px dotted var(--muted); }
.pg:hover { color: var(--accent); text-decoration: none; }
svg text { font-size: 11px; fill: var(--muted); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
pre.ev { white-space: pre-wrap; font-family: var(--mono); font-size: 12px; margin: 0; max-width: 700px; }
@media (max-width: 700px) { main { padding: 12px 16px; } #jump { width: 100%; } }
/* v1.77: profile and disclosures */
h3 { font-size: 14px; margin: 0 0 8px; }
table.prof th { width: 34%; background: none; position: static; font-weight: 600; color: var(--muted); }
table.prof td, table.prof th { border-bottom: 1px solid var(--line); font-size: 13px; }
table.mini { margin: 4px 0 8px; font-size: 12px; }
table.mini td, table.mini th { padding: 3px 8px; position: static; }
.drow { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 6px 0; }
.dh { margin-bottom: 4px; }
.kvs > div { padding: 2px 0; font-size: 13px; }
.kvs b { color: var(--muted); font-weight: 600; margin-right: 6px; }
.kv { display: inline-block; margin-right: 12px; }
.kv b { color: var(--muted); font-weight: 600; margin-right: 3px; }
.quote { color: var(--muted); font-size: 12px; margin: 2px 0 4px; border-left: 3px solid var(--line); padding-left: 8px; }
.note { color: var(--muted); font-size: 12px; font-style: italic; }
.occ { color: var(--warn); font-weight: 600; }
details summary { cursor: pointer; font-size: 12px; color: var(--accent); margin: 4px 0; }
/* v1.80: standard-format statements */
.tabs.sub { margin-top: 4px; }
table.fs td { padding: 4px 10px; }
table.fs tr.k-h td { font-weight: 700; background: #f3f5f8; }
table.fs tr.k-l td:first-child { padding-left: 22px; }
table.fs tr.k-m td { color: var(--muted); font-style: italic; font-size: 12px; }
table.fs tr.k-m td:first-child { padding-left: 34px; }
table.fs tr.k-s td { font-weight: 600; border-top: 1px solid #c9ced6; }
table.fs tr.k-t td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
table.fs tr.k-c td { color: var(--good); font-size: 12px; }
/* v2.16: extracted facts */
table.facts td.fy { width: 70px; font-weight: 600; white-space: nowrap; }
table.facts td.pgs { width: 90px; }
table.facts hr { border: 0; border-top: 1px dashed var(--line); margin: 4px 0; }
.fl { margin: 2px 0; font-size: 12px; }
.fl b { color: var(--muted); font-weight: 600; }
.fl ul { margin: 2px 0 4px 18px; padding: 0; }
.fl li { margin: 1px 0; }
/* v2.18: menu layout */
.lay { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
#side { position: sticky; top: 64px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; max-height: calc(100vh - 80px); overflow: auto; }
#side a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); font-size: 13px; }
#side a:hover { background: var(--accent-soft); text-decoration: none; }
#side a.on { background: var(--accent); color: #fff; }
#side .side-h { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #667); border-top: 1px solid var(--line); margin-top: 4px; }
#side .side-h:first-child { border-top: 0; margin-top: 0; }
.l2 { margin: 2px 0 6px; }
@media (max-width: 800px) { .lay { grid-template-columns: 1fr; } #side { position: static; display: flex; flex-wrap: wrap; max-height: none; } }

/* v2.21: statement headings in All figures */
tr.grp td { background: var(--soft, #f3f5f8); padding-top: 10px; }

/* v2.22: compare across years */
.cmpbox { margin: 8px 0 12px; padding: 8px 10px; background: var(--accent-soft); border-radius: 6px; }
.cmpbox summary { cursor: pointer; }
table.cmp { margin-top: 6px; background: var(--panel); }
table.cmp th, table.cmp td { padding: 4px 8px; }
table.cmp tr.tot td { font-weight: 600; border-top: 1px solid var(--line); }
.up { color: #137333; } .down { color: #b3261e; }

/* v2.36: across-years table */
.ptable { margin: 6px 0 10px; overflow-x: auto; }
.ptable a.pv { color: inherit; text-decoration: none; border-bottom: 1px dotted #9aa7b8; }
.ptable a.pv:hover { color: #1d5fbf; }
.ptable .cmpv { font-style: italic; color: #5b6676; }
.ptable .rest { font-size: 10px; color: #b5651d; border: 1px solid #e3b88a; border-radius: 3px; padding: 0 3px; margin-left: 2px; }
.ptable td:first-child { white-space: nowrap; }

/* v2.45: year-order switch */
#yord { margin-left: 8px; margin-right: 10px; padding: 6px 8px; border-radius: 6px; border: 1px solid #c9d2de; background: #fff; font: inherit; font-size: 13px; }
.normv { font-style: italic; color: #1d5fbf; }
tr.months td { color: #5b6676; font-size: 12px; }
td.odd { color: #b5651d; font-weight: 600; }
#norm { padding: 4px 6px; }
/* v2.49: financial data pages — computed lines and counts */
table.fs tr.k-d td { color: var(--muted, #667); }
table.fs tr.k-n td { color: var(--muted, #667); font-size: 12px; border-top: 1px dashed #c9ced6; }

/* v2.57: coverage by section */
table.cov { border-collapse: collapse; margin: 4px 0 14px; font-size: 13px; }
table.cov th, table.cov td { border: 1px solid var(--line, #ddd); padding: 3px 7px; text-align: center; white-space: nowrap; }
table.cov td:first-child { text-align: left; }
.cov-c { background: #e3f4e8; color: #17663a; } .cov-p { background: #fdf3dc; color: #8a5a00; } .cov-e { background: #fbe4e4; color: #9b1c1c; } .cov-n { color: #999; }

/* v2.63: full text of a report inside the annual report */
.reptxt{max-height:70vh;overflow:auto;border:1px solid var(--line,#ddd);padding:8px;border-radius:6px}
.reptxt .pg{margin-bottom:14px}
.reptxt pre{white-space:pre-wrap;font-size:12px;line-height:1.45;margin:4px 0}
.repcardbox{padding:12px 16px;margin-bottom:14px}
.repcardbox td:first-child{color:var(--muted,#667);padding-right:18px}

/* v2.77: the Standalone / Consolidated selector beside a statement's title */
h2 .brd { margin-left: 12px; font-size: 13px; font-weight: 500; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); vertical-align: middle; }
h2 .brd-only { margin-left: 12px; font-size: 12px; font-weight: 500; color: var(--muted, #667); vertical-align: middle; }
h2 .brd.vw-on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
/* v2.79: report pages — year chips, the report bar, Key facts / Full text, readable text */
.repyears { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.ychip { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.ychip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.ychip.on span { color: #fff; }
.ychip:disabled { opacity: .45; cursor: default; }
.repbar { font-size: 13px; padding: 8px 10px; background: var(--accent-soft); border-radius: 8px; margin-bottom: 8px; }
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 6px 0 12px; }
.subtabs .st { border: 0; background: none; padding: 8px 14px; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; color: var(--ink); }
.subtabs .st.on { border-bottom-color: var(--accent); font-weight: 600; }
.reptxt { max-width: 900px; }
.reptxt .pg { border-bottom: 1px dashed var(--line); padding: 8px 0 14px; }
.reptxt .pgno { font-size: 12px; margin-bottom: 4px; }
.reptxt p { font-size: 14px; line-height: 1.55; margin: 6px 0; }
.reptxt h4 { font-size: 14px; margin: 12px 0 4px; }
.reptxt .cells { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; margin: 6px 0; font-variant-numeric: tabular-nums; }

/* v2.97: across-years tables on the menu pages */
table.xy { margin: 8px 0 10px; }
table.xy th, table.xy td { padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.xy thead th { background: #f4f6f9; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
table.xy td:first-child { color: var(--muted); font-weight: 500; width: 220px; }
table.xy td.same { color: var(--ink); }
table.xy a.pv, table.yg a.pv { color: var(--ink); text-decoration: none; }
table.xy a.pv:hover, table.yg a.pv:hover { color: var(--accent); text-decoration: underline dotted; }
.lgrid { margin: 10px 0 12px; }
.lgrid .lh { font-weight: 600; font-size: 13px; margin: 0 0 4px; }
table.yg th, table.yg td { padding: 5px 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.yg thead th { background: #f4f6f9; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
table.yg td.c, table.yg th.c { text-align: center; width: 72px; }
table.yg td.c a.pv { color: var(--accent); font-size: 14px; }
table.yg tfoot td { font-weight: 600; background: #f4f6f9; }
.chip { display: inline-block; font-size: 11.5px; font-weight: 500; padding: 1px 8px; border-radius: 10px; margin-left: 6px; vertical-align: 1px; }
.chip.part { background: #fff3e0; color: var(--warn); }
.chip.nr { background: #f1f3f6; color: var(--muted); }
.chip.na { background: #f1f3f6; color: var(--muted); }
details.qbox { margin: 8px 0 4px; }
details.qbox > summary { cursor: pointer; color: var(--accent); font-size: 13px; }
details.qbox .qy { margin: 8px 0 8px 2px; }
details.qbox .qy .fy { font-weight: 600; font-size: 12.5px; margin-bottom: 2px; }
#vwsel { border-color: var(--line); }

.doubt { margin: 4px 0; padding: 6px 10px; border-left: 3px solid var(--warn); background: #fff8ef; font-size: 12.5px; }

.msgbox .repyears { margin: 6px 0 10px; }
.msgtxt { max-width: 860px; font-size: 14px; line-height: 1.65; }
.msgtxt p { margin: 0 0 10px; }
.msgtxt h3.msgh { font-size: 15px; margin: 4px 0 10px; letter-spacing: .3px; }
.msgtxt h4.msgs { font-size: 13.5px; margin: 14px 0 6px; color: var(--brand-ink); }

/* v2.98: doubts and report health */
.doubtbox { margin: 4px 0 12px; padding: 8px 12px; border-left: 3px solid var(--warn); background: #fff8ef; border-radius: 6px; font-size: 13px; }
.doubtbox .dl { margin-top: 4px; } .doubtbox .dy { font-weight: 600; margin-right: 4px; }
.hnote { margin: 6px 0; padding: 6px 10px; border-radius: 6px; font-size: 13px; background: #f3f6fb; }
.hnote.attention { background: #fff8ef; border-left: 3px solid var(--warn); }
.attn { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 12px; background: #fff3e0; color: var(--warn); font-size: 12.5px; font-weight: 600; cursor: pointer; }
/* v2.99 corrections */
td.cx { position: relative; } td.cx:hover { outline: 1px dashed #8aa4c8; }
.ced { visibility: hidden; cursor: pointer; color: #2f6fb3; font-size: 11px; margin-left: 3px; } td.cx:hover .ced, td.csel .ced { visibility: visible; } td.csel { outline: 2px solid #2f6fb3; }
sup.corr, .corr { color: #2f6fb3; } sup.pend, .pend { color: #c47f00; }
.corrp { border: 1px solid #c9d6e8; background: #f5f8fc; border-radius: 6px; padding: 10px 12px; margin: 10px 0; max-width: 900px; }
.corrp > div { margin-top: 6px; }
.corrf { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; }
.corrf label { display: flex; flex-direction: column; font-size: 12px; color: #555; } .corrf label.wide { flex: 1 1 320px; }
.corrf input { padding: 4px 6px; font-size: 14px; } .corrf label.wide input { width: 100%; }
#mename { margin-right: 10px; }
td.cact button { font-size: 12px; margin: 1px; } td.cact input.cnote { display: block; width: 180px; margin-bottom: 3px; }
@media (prefers-color-scheme: dark) { .corrp { background: #1c2430; border-color: #34465e; } }
.attn.pendc { margin-left: 8px; color: #c47f00; cursor: pointer; }
/* v3.00 progress */
.pbar { height: 10px; background: #e6ebf2; border-radius: 5px; overflow: hidden; max-width: 700px; margin: 8px 0 4px; } .pfill { height: 100%; background: linear-gradient(90deg, #3a0ca3, #4cc9f0); }
.steps i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; background: #dde3eb; margin-right: 3px; } .steps i.sd { background: #2e9e5b; }
.sopts { display: flex; flex-direction: column; gap: 3px; } .sopts label { font-size: 13px; }
.sendp textarea { width: 100%; max-width: 860px; font: inherit; padding: 4px 6px; } button.sendr { font-size: 12px; white-space: nowrap; }
/* v3.01 sign-in */
body.signin header.top nav, body.signin #jump, body.signin #yord, body.signin #vwsel { display: none; }
.authbox { max-width: 460px; margin: 40px auto; padding: 24px 28px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
.authbox label { display: block; margin: 10px 0 2px; font-size: 13px; color: #444; }
.authbox input { display: block; width: 100%; box-sizing: border-box; padding: 7px 9px; margin-top: 3px; font-size: 14px; }
.authbox button { margin-top: 14px; padding: 7px 16px; }
.authbox .secret { font-family: ui-monospace, Consolas, monospace; font-size: 18px; letter-spacing: 1px; background: #f5f5f0; padding: 8px 10px; border-radius: 4px; }
.authbox .btn { display: inline-block; margin-top: 14px; padding: 6px 14px; border: 1px solid #888; border-radius: 4px; text-decoration: none; }
header.top .me { font-size: 13px; white-space: nowrap; }
.authbox .qr { text-align: center; margin: 8px 0; } .authbox .qr svg { width: 180px; height: 180px; }
/* v3.02: upload progress — a bar per step, a card per report with its five steps named */
.rsum { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.rsum .pbar { flex: 1; min-width: 160px; }
.sbars { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 16px; margin-bottom: 14px; }
.sbar { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12px; color: var(--muted); }
.sbar .bar { grid-column: 1 / -1; }
.sbar .bar > div { height: 100%; background: var(--good); border-radius: 4px; transition: width .6s ease; }
.rcard { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.rcard.rdone { border-left-color: var(--good); }
.rhead { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.rhead .muted { font-size: 12px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 12px 0 6px; padding: 0; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; min-width: 0; }
.stepper li::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.sd::before, .stepper li.scur::before { background: var(--good); }
.stepper .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  background: var(--panel); border: 2px solid var(--line); color: var(--muted); }
.stepper li.sd .dot { background: var(--good); border-color: var(--good); color: #fff; }
.stepper li.scur .dot { border-color: var(--warn); color: var(--warn); animation: ari-pulse 1.6s ease-in-out infinite; }
.stepper li.swarn::before { background: var(--good); }
.stepper li.swarn .dot { background: var(--warn); border-color: var(--warn); color: #fff; }   /* v3.43: read to the end, a statement not accepted */
.stepper .sl { font-size: 12px; font-weight: 600; margin-top: 6px; }
.stepper .sdet { font-size: 11px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.rnow { margin: 8px 0 0; font-size: 13px; }
@keyframes ari-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 45%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .stepper li.scur .dot { animation: none; } .sbar .bar > div { transition: none; } }
@media (max-width: 640px) { .stepper { grid-template-columns: 1fr; gap: 8px; } .stepper li { flex-direction: row; text-align: left; gap: 8px; align-items: flex-start; }
  .stepper li::before { display: none; } .stepper .sl { margin-top: 4px; } .stepper .sdet { margin-top: 5px; } }
/* v3.03: Send to REEDOS switched off on this installation (config.ini send_to_reedos = off) */
.nosend .sendr { display: none; }
/* v3.03: report notes alone (no doubts) shown quietly */
.attn.quiet { background: var(--accent-soft); color: var(--muted); font-weight: 500; }
/* v3.05: the time of each step, and the case asking REEDOS to read an uploaded report */
.stepper .stime { font-size: 10.5px; color: var(--good); margin-top: 1px; }
.rcase { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--accent-soft); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rcase.rlate { background: #fff3e0; }
.rcase.rform { display: block; }
.rcase.rform > * { margin: 4px 0; }
.rcase button { font: inherit; padding: 4px 10px; border-radius: 6px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.rcase button.ghost { background: var(--panel); color: var(--accent); border: 1px solid var(--line); }
.rcase textarea { width: 100%; }
/* v3.19 the decision page */
.dbar { background: #1f3a5f; color: #fff; padding: 10px 14px; border-radius: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dbar a { color: #fff; font-weight: 600; }
.dyour { background: #f2a900; color: #000; padding: 2px 8px; border-radius: 3px; font-weight: 600; }
.dq { margin-left: auto; } .dq a { text-decoration: none; padding: 0 4px; }
.dgrid { display: grid; grid-template-columns: minmax(320px, 46%) 1fr; gap: 14px; margin-top: 12px; }
@media (max-width: 900px) { .dgrid { grid-template-columns: 1fr; } }
.dleft { position: sticky; top: 8px; align-self: start; }
.dpgbar { margin-bottom: 6px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
#dpdf { width: 100%; height: 78vh; border: 1px solid var(--line, #ccc); background: #fff; }
.dnopdf { border: 1px dashed #bbb; padding: 18px; border-radius: 6px; }
.dwhy { border: 1px solid #f2a900; background: #fff8e6; color: #222; padding: 10px; border-radius: 6px; }
.drev { margin-top: 8px; padding: 8px; background: #e8f5e9; color: #1b5e20; border-radius: 6px; }
.dhist { margin-top: 4px; } tr.ditem td { background: #ffe9a8; color: #000; font-weight: 600; }
.dchk.ok { color: #2e7d32; } .dchk.bad { color: #b3261e; } .dhint { margin: 3px 0; }
.dtrybox { margin-top: 10px; } .dtrybox input { width: 9em; }
.dacts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dacts button { padding: 7px 12px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; }
.dok { background: #2e7d32; color: #fff; } .dcorr { background: #1f3a5f; color: #fff; } .dreal { background: #6d4c41; color: #fff; }
.dsend { background: transparent; border-color: #1f3a5f !important; color: inherit; } .dskip { color: #666; }
body.nosend .dsend { display: none; }
#dform { margin-top: 10px; } .dfoot { margin-top: 10px; } .dstmt { margin-top: 14px; }
a.dgo { font-weight: 600; white-space: nowrap; }
/* v3.20 licence */
.licban { margin: 8px 0; padding: 8px 12px; border-radius: 6px; background: #fff8e6; border: 1px solid #f2a900; color: #222; }
.licban.grace, .licban.ended, .licban.invalid, .licban.none { background: #fdecea; border-color: #b3261e; }
#licbanner .licban { margin: 8px 20px 0; }
/* v3.21 news */
.nrow { padding: 6px 0; border-bottom: 1px solid var(--line, #e5e7eb); line-height: 1.45; }
.ndate { color: var(--muted, #6b7280); font-variant-numeric: tabular-nums; margin-right: 4px; }
.nev { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 9px; background: #eef2f7; color: #334155; margin-right: 6px; }
.nev-results, .nev-deal, .nev-blockdeal, .nev-fundraise, .nev-buyback, .nev-regulation { background: #fff4e0; color: #8a4b00; }
.nchip.on { outline: 2px solid currentColor; }
.npage .row { margin: 8px 0 12px; flex-wrap: wrap; gap: 6px; }
.nchip:not(.on) { opacity: .6; }
/* v3.23 how ARI read a report */
.rbar { margin: 14px 0 10px; }
.rtrack { position: relative; height: 18px; background: #eef0f4; border-radius: 9px; overflow: hidden; }
.rseg { position: absolute; top: 0; bottom: 0; background: #c9bdf0; border-right: 1px solid #fff; }
.rpin { position: absolute; top: -2px; bottom: -2px; width: 3px; background: #3b0a9e; transition: left .6s ease; }
.rctl { margin-top: 8px; display: flex; gap: 6px; align-items: center; }
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rleft iframe { width: 100%; height: 74vh; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #525659; }
.rnopdf { height: 74vh; border: 1px dashed var(--line, #d0d4dc); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.rbig { font-size: 64px; font-weight: 700; color: #3b0a9e; font-variant-numeric: tabular-nums; }
.rright { max-height: 74vh; overflow: auto; padding-right: 6px; }
.rstep { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 8px 6px; border-bottom: 1px solid var(--line, #eceef2); cursor: pointer; border-radius: 6px; }
.rstep.sec { background: #f7f5fd; }
.rstep.on { outline: 2px solid #3b0a9e; background: #efeafd; }
.rpg { font-variant-numeric: tabular-nums; color: #555; }
.rfig { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 13px; }
.rreedos { margin-top: 18px; }
@media (max-width: 900px) { .rgrid { grid-template-columns: 1fr; } .rleft iframe, .rnopdf { height: 50vh; } }
/* v3.23 the guided decision page */
.dlead { border: 1px solid #ddd6f7; background: #faf8ff; border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.dl1 { padding: 8px 0; border-top: 1px solid #ece8fa; }
.dl1:first-of-type { border-top: 0; }
.dl1 ul { margin: 4px 0 6px 18px; padding: 0; }
.dl1 li { margin: 2px 0; }
.dl1:not(.first) { opacity: .85; font-size: 14px; }
.dstr { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 9px; text-transform: uppercase; letter-spacing: .03em; }
.dstr.strong { background: #dcfce7; color: #166534; } .dstr.likely { background: #e0e7ff; color: #3730a3; } .dstr.possible { background: #f1f5f9; color: #475569; }
.dusel { font-size: 13px; padding: 3px 10px; border-radius: 6px; border: 1px solid #3b0a9e; background: #fff; color: #3b0a9e; cursor: pointer; }
.dl1.first .dusel { background: #3b0a9e; color: #fff; }
.dcard { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; margin: 6px 0; background: #fff; }
.dcard > summary { cursor: pointer; padding: 9px 12px; list-style: none; }
.dcard > summary::-webkit-details-marker { display: none; }
.dcard.seen > summary { background: #f8fafc; }
.dtick { display: inline-block; width: 16px; color: #16a34a; }
.dcb { padding: 4px 12px 12px; }
.dspark { width: 100%; max-width: 420px; height: 70px; display: block; margin: 4px 0 8px; }
.dword { padding: 4px 0; font-size: 14px; } .dword a { margin-right: 6px; white-space: nowrap; }
.dacts .rec { outline: 3px solid #f59e0b; outline-offset: 1px; }
.dreedos { margin-top: 16px; border-top: 1px dashed #d4d4d8; padding-top: 10px; } .dreedos > summary { cursor: pointer; color: #555; }
/* v3.23 the report card: what ARI found */
.rfound { margin: 10px 0; padding: 10px 12px; border: 1px solid #e4defa; background: #fbfaff; border-radius: 8px; }
.rfh { margin-bottom: 6px; }
.rtrack.small { height: 10px; margin: 4px 0 8px; }
.rmark { position: absolute; top: 0; bottom: 0; width: 3px; background: #7c6bd6; }
.rfl td { vertical-align: top; } .rfl td.num { white-space: nowrap; color: #555; width: 70px; }

.uid { display: inline-block; font: 600 12px/1.6 ui-monospace, Consolas, monospace; color: var(--brand); background: #efedff; border-radius: 4px; padding: 0 6px; margin-right: 6px; }   /* v3.25 upload identifier */

/* v3.25 Screener: statement lines picked as the statements show them */
.pstmt { columns: 2 340px; column-gap: 28px; padding: 4px 0 8px; }
.pstmt label { display: block; padding: 2px 0; break-inside: avoid; }
.pstmt .pind { padding-left: 22px; color: var(--muted); }
.pstmt .ptot { font-weight: 600; border-top: 1px solid var(--line); }
.pstmt .phead { font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); margin: 8px 0 2px; break-after: avoid; }
details.pgrp { margin: 4px 0; } details.pgrp > summary { cursor: pointer; font-weight: 600; }

/* v3.25 Screener, second design: fields on the left as the statements show them, the screen on the right, results below */
.sx2 { display: grid; grid-template-columns: minmax(300px, 38%) 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .sx2 { grid-template-columns: 1fr; } }
.sfields, .sbuild { background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.sfields { position: sticky; top: 76px; max-height: calc(100vh - 96px); display: flex; flex-direction: column; }
#ffind { width: 100%; box-sizing: border-box; margin-bottom: 8px; }
.stabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.stabs button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 3px 10px; cursor: pointer; font-size: 13px; color: var(--muted); }
.stabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.stabs.sm button { font-size: 12px; padding: 2px 8px; }
.slist { overflow: auto; flex: 1; min-height: 200px; border-top: 1px solid var(--line); padding-top: 4px; }
.sl { display: flex; align-items: center; gap: 6px; padding: 3px 4px; border-radius: 6px; }
.sl:hover { background: #f6f4ff; }
.sl .slab { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl.ind .slab { padding-left: 18px; color: var(--muted); }
.sl.tot .slab { font-weight: 600; }
.sl.tot { border-top: 1px solid var(--line); }
.sl.on .slab { color: var(--brand); font-weight: 600; }
.sl .sg { font-size: 11px; white-space: nowrap; }
.sl button { border: 0; background: transparent; cursor: pointer; color: var(--brand); font-size: 15px; line-height: 1; padding: 2px 4px; border-radius: 4px; }
.sl button:hover { background: #e9e5ff; }
.sl .scol { color: #b9b4d6; } .sl .scol.on { color: var(--brand); }
.sh { font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 10px 4px 2px; }
.sbhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.scond { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; margin-bottom: 6px; background: #fbfaff; }
.scond .sname { font-weight: 600; min-width: 180px; }
.scond .sa, .scond .sbv { width: 120px; }
.scond .sxx { margin-left: auto; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.ssent { margin: 8px 0; line-height: 2.4; }
.chip { display: inline-block; background: #efedff; border-radius: 12px; padding: 1px 4px 1px 9px; margin: 2px 2px 0 0; }
.chip button { border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.sres { margin-top: 16px; } .sresh { margin-bottom: 6px; }
.stbl th.sortable { cursor: pointer; user-select: none; } .stbl th.sortable:hover { color: var(--brand); }
.stbl .crit { background: #f6f4ff; }
.stbl td:first-child, .stbl th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.ssent select, .sbhead select { width: auto; display: inline-block; margin: 0 2px; }
.scond select { width: auto; }
@media (max-width: 900px) { .sfields { position: static; max-height: 60vh; } .scond .sname { min-width: 0; flex-basis: 100%; } }
.sx2 > * { min-width: 0; }
.sbhead { flex-wrap: wrap; } .sbuild select { max-width: 100%; }
.sbuild .ssent select, .sbuild .sbhead select, .sbuild .scond select { width: auto !important; display: inline-block !important; min-width: 0; }
.sbuild .scond .sname { flex: 0 0 280px; }
@media (max-width: 900px) { .sbuild .scond .sname { flex-basis: 100%; } }
.stbl td.muted { white-space: nowrap; }

/* v3.26 Standard query: fields under the company-page menu */
details.mg { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.mg > summary { font-weight: 700; color: var(--brand); cursor: pointer; padding: 4px 2px; }
details.mi { margin-left: 12px; } details.mi > summary { cursor: pointer; padding: 3px 2px; font-weight: 600; }
details.mi .mf { margin: 2px 0 6px 6px; border-left: 2px solid #ece9ff; padding-left: 6px; }
.sfam { font-weight: 700; font-size: 12px; color: #444; background: #f3f1ff; padding: 3px 6px; border-radius: 4px; margin: 8px 0 2px; }
.stbl td.txt { min-width: 220px; max-width: 420px; }
.qcol { display: block; }
.qcol .qtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qcol .qopts { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.sbuild .qcol select { width: auto !important; display: inline-block !important; }
.qcol .qa, .qcol .qbv { width: 170px; } .qcol .qhint { flex-basis: 100%; }
.stbl td:first-child { min-width: 170px; }

/* v3.26 pick lists and saved queries */
.pickbox { flex-basis: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; margin-top: 6px; }
.pickbox .pkbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .pickbox .pkq { width: 180px; }
.pickbox .pklist { columns: 2 220px; max-height: 240px; overflow: auto; margin-top: 6px; } .pickbox .pklist label { display: block; break-inside: avoid; padding: 1px 0; }
.svbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); }
.sbuild .svbar select { width: auto !important; display: inline-block !important; max-width: 100%; }
.svbar [hidden], .scond [hidden], .qcol [hidden] { display: none !important; }
/* v3.28: a report read on this computer, live (Rahul: 'lively and engaging') */
.lread { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--accent-soft), var(--panel) 70%); }
.lread.lq { background: var(--accent-soft); }
.lread.lblock { background: #fff6ed; border-color: #f2c99a; }
.lhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lhead .lr-stop { margin-left: auto; padding: 3px 10px; font-size: 12px; }
.lspin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); border-right-color: transparent; animation: lspin 0.9s linear infinite; flex: none; }
@keyframes lspin { to { transform: rotate(360deg); } }
.lstages { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 8px; }
.lstages li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px 3px 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.lstages li span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--line); color: var(--ink); }
.lstages li.ld { color: var(--good); border-color: #b9dcc8; } .lstages li.ld span { background: var(--good); color: #fff; }
.lstages li.lc { color: var(--accent); border-color: var(--accent); font-weight: 600; } .lstages li.lc span { background: var(--accent); color: #fff; animation: ari-pulse 1.6s ease-in-out infinite; }
.lbar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lbar > div { height: 100%; border-radius: 4px; transition: width 0.8s ease; background: repeating-linear-gradient(45deg, var(--accent) 0 10px, #5a2bc4 10px 20px); background-size: 28px 28px; animation: lbar 1.2s linear infinite; }
@keyframes lbar { to { background-position: 28px 0; } }
.lnow { margin: 8px 0 6px; font-size: 13.5px; }
.lcounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 8px 0; }
.lcounts > div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.lcounts b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; color: var(--ink); }
.lcounts span { font-size: 11.5px; color: var(--muted); }
.lfound { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.lchip { font-size: 12.5px; background: var(--panel); border: 1px solid #b9dcc8; border-radius: 14px; padding: 3px 10px; animation: lin 0.5s ease; }
.lchip b { color: var(--good); }
@keyframes lin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lwhat { margin: 8px 0; font-size: 14px; }
.ltodo ol { margin: 4px 0 8px; padding-left: 22px; } .ltodo li { margin: 2px 0; }
.lbtns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ldet pre { white-space: pre-wrap; font-size: 11px; max-height: 200px; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
@media (prefers-reduced-motion: reduce) { .lspin, .lbar > div, .lstages li.lc span, .lchip { animation: none; } }
/* v3.28: the page being read, live */
.lview { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 12px; margin: 10px 0 6px; }
.lpage { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.lpage img { width: 100%; height: 300px; object-fit: contain; object-position: top; background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.12); animation: lin .45s ease; }
.lpcap { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.lfeed ul { list-style: none; margin: 4px 0 8px; padding: 0; }
.lfeed li { display: grid; grid-template-columns: 18px 1fr auto; gap: 6px; align-items: baseline; font-size: 12.5px; padding: 4px 6px; border-radius: 6px; }
.lfeed li.on { background: var(--accent-soft); animation: lin .4s ease; }
.lic { color: var(--accent); text-align: center; } .ltx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lpg { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ltrack { position: relative; height: 14px; background: var(--line); border-radius: 7px; margin: 6px 0 2px; overflow: hidden; }
.ltrack span { position: absolute; top: 3px; width: 3px; height: 8px; background: var(--good); border-radius: 1px; }
.ltrack i { position: absolute; top: 0; width: 3px; height: 14px; background: var(--accent); transition: left .5s ease; }
@media (max-width: 640px) { .lview { grid-template-columns: 1fr; } .lpage img { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .lpage img, .lfeed li { animation: none; } }
/* v3.30: earlier reports folded into one line each, newest first */
.rminis { margin-top: 6px; }
.rminis > .src { margin: 4px 2px 6px; }
.rmini { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--good); border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; cursor: pointer; font-size: 13.5px; }
.rmini:hover, .rmini:focus { background: var(--accent-soft); outline: none; }
.rmini .rmf { flex: 1 1 200px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmini .rmv b { color: var(--good); }
.rmini .rmexp { color: var(--muted); }
.rfold { float: right; padding: 2px 10px; font-size: 12px; margin-left: 8px; }
/* v3.32: a question in plain words, confirmed before it runs */
.askp textarea { width: 100%; font-size: 15px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; box-sizing: border-box; }
.aqx { margin: 0 2px; }
.aplan { margin-top: 12px; border: 1px solid var(--accent); border-radius: 10px; padding: 12px 14px; background: var(--accent-soft); }
.aph { margin-bottom: 8px; }
.apunk { background: #fff6ed; border: 1px solid #f2c99a; border-radius: 6px; padding: 6px 10px; margin-bottom: 8px; font-size: 13px; }
.apsec { margin: 8px 0; } .aplab { font-weight: 600; display: block; margin-bottom: 4px; }
.aprow { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; } .aprow label { font-size: 13px; }
.acond { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; }
.acond input[type=number] { width: 90px; } .ac-y { width: 56px !important; } .ac-u { color: var(--muted); font-size: 13px; }
.ac-x { margin-left: auto; padding: 2px 8px; }
.aqh { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 8px; } .aqh button { margin-left: auto; }
details.sqlbox { margin-top: 16px; } details.sqlbox > summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
/* v3.33: the profile icon and card at the top right (as in Google) */
#mename { margin-right: 0; margin-left: 4px; position: relative; order: 99; }
.avbtn { border: 0; background: none; padding: 2px; border-radius: 50%; cursor: pointer; line-height: 0; }
.avbtn:hover, .avbtn[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--accent-soft); }
.av { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .5px; }
.av.big { width: 56px; height: 56px; font-size: 22px; flex: none; }
.avcard { position: absolute; right: 0; top: 46px; width: 300px; max-width: calc(100vw - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 28px rgba(20, 20, 40, .18); padding: 16px; z-index: 50; text-align: left; line-height: 1.4; }
.avtop { display: flex; gap: 12px; align-items: center; }
.avname { font-weight: 600; font-size: 15px; color: var(--ink); }
.avrole { margin: 10px 0 6px; }
.avlinks { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 6px; }
.avlinks a { padding: 8px 6px; border-radius: 8px; color: var(--ink); }
.avlinks a:hover { background: var(--accent-soft); text-decoration: none; }
.avout { width: 100%; margin-top: 8px; padding: 8px; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; cursor: pointer; font-weight: 600; }
.avout:hover { background: var(--accent-soft); }
.avfoot { margin-top: 10px; text-align: center; }
.avcard .src, .avrole { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 640px) { #mename { position: static; } .avcard { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; } }

.yg .tick { color: var(--accent, #3b0a9e); font-weight: 600; }
.tickn { margin: 2px 0 6px; }

/* v3.35 (Rahul: 'keep years aligned'): every year table of a company page on one grid — same columns, same widths */
table.al { table-layout: fixed; width: 100%; }
table.al td, table.al th { overflow-wrap: anywhere; }
table.al td:first-child, table.al th:first-child { white-space: normal; }
table.al col.cy { width: 93px; }
table.al col.c0 { width: 304px; }                       /* the name column ends at the same place in every table: the year columns start together */
table.fin.al col.c0 { width: 316px; }                   /* the statement table sits 12px further left (no card around it) */
.lgrid table.al col.c0 { width: 303px; }
@media (max-width: 1100px) { table.al { table-layout: auto; } table.al col.c0, table.al col.cy { width: auto; } }

/* v3.36: Currency and Unit */
.fxbox { margin-left: auto; display: inline-flex; gap: 4px; }
.fxbox select { padding: 6px 8px; border-radius: 6px; border: 1px solid #c9d2de; background: #fff; font: inherit; font-size: 13px; }
body.signin .fxbox { display: none; }
.fxnote { margin: 4px 0 8px; }
table.al td.num { white-space: normal; overflow-wrap: anywhere; }   /* v3.36: a long figure (high / low) wraps inside its year column instead of running into the next */
/* v3.36: Currency and Unit in the profile card */
.avprefs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0 6px; padding: 8px 0 6px; }
.avpref { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 5px 2px; font-size: 14px; }
.avpref .avpi { color: #667; text-align: center; font-weight: 600; }
.avpref select { padding: 5px 8px; border-radius: 6px; border: 1px solid #c9d2de; background: #fff; font: inherit; font-size: 13px; min-width: 128px; }
.avpnote { margin: 4px 2px 0; }
.avpref > span:nth-child(2) { color: var(--ink, #1d2433); }
/* v3.36: a list named in one year only, with its page */
.ilist { display: flex; gap: 12px; align-items: baseline; padding: 6px 2px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ilist .ily { min-width: 150px; font-weight: 600; font-size: 13px; color: #445; white-space: nowrap; }
.ilist .inames { flex: 1; min-width: 260px; }
.ilist ul.icols { flex: 1; margin: 0; padding-left: 18px; columns: 3 220px; column-gap: 24px; }
.pgc { font-size: 12.5px; }

/* ====================================================================================================================
   v3.45 (Rahul: 'beautify all the pages — make data demarcated, segregated and easy to refer'): one look for every page.
   Each block has a titled header band; every table has a tinted header, banded rows and right-aligned figures; label
   columns are shaded so a value is easy to find; headline figures stand out. Layout and data are unchanged.
   ==================================================================================================================== */
:root { --bg: #f3f4f8; --line: #e1e4ec; --line-2: #eef0f5; --band: #f6f4fd; --band-ink: #2a0078; --head: #efeafb; --zebra: #fafbfd; --label: #f8f7fc;
        --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .04); }
main { padding: 22px 24px 28px; }
h1 { font-size: 24px; letter-spacing: -.01em; }
h2 { font-size: 16px; color: var(--band-ink); padding-bottom: 6px; border-bottom: 2px solid var(--head); margin: 26px 0 12px; }
h2::before { content: ''; display: inline-block; width: 4px; height: 14px; background: var(--accent); border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

/* blocks: a header band with the block's title, then its content */
.panel { border-radius: 12px; box-shadow: var(--shadow); padding: 0 16px 14px; overflow: hidden; }
.panel > h3:first-child, .panel > h2:first-child { margin: 0 -16px 12px; padding: 10px 16px; background: var(--band); color: var(--band-ink); font-size: 14px;
  border-bottom: 1px solid var(--line); border-left: 4px solid var(--accent); letter-spacing: .01em; }
.panel > h2:first-child::before { display: none; }
.panel > :first-child:not(h2):not(h3) { margin-top: 14px; }
.grid { gap: 18px; }

/* tables: tinted header, banded rows, figures aligned on the right in even columns */
table { font-variant-numeric: tabular-nums; }
th { background: var(--head); color: var(--band-ink); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid #d9d0f2; }
th, td { padding: 7px 10px; border-bottom: 1px solid var(--line-2); }
tbody tr:nth-child(even) > td { background: var(--zebra); }
tbody tr:hover > td { background: #f2eefc; }
.scroll { border-radius: 10px; box-shadow: var(--shadow); background: var(--panel); }
td.num { color: var(--ink); }

/* profile tables (label | value): the label column shaded, so the eye runs down the labels */
table.prof { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
table.prof th { background: var(--label); color: #475467; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 600; border-right: 1px solid var(--line-2); }
table.prof tr:last-child > td, table.prof tr:last-child > th { border-bottom: 0; }
table.prof tbody tr:nth-child(even) > td { background: none; }
table.mini th { text-transform: none; letter-spacing: 0; font-size: 11.5px; }

/* the statements: section heads banded, totals ruled */
table.fs tr.k-h td { background: var(--band); color: var(--band-ink); text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }
table.fs tr.k-t td { background: #f4f1fd; }

/* headline figures */
.kpis { gap: 14px; }
.kpi { border-radius: 12px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); padding: 12px 16px 10px; min-width: 160px; }
.kpi b { font-size: 22px; color: var(--band-ink); letter-spacing: -.01em; }
.kpi span { font-size: 11.5px; }

/* sections of a company: pill tabs; the side list of topics */
.tabs { gap: 6px; border-bottom: 0; background: var(--panel); padding: 6px; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tabs button { border-bottom: 0; border-radius: 8px; padding: 7px 14px; color: #475467; font-weight: 500; }
.tabs button:hover { background: var(--band); color: var(--band-ink); }
.tabs button.on { background: var(--accent); color: #fff; font-weight: 600; }
.tabs.sub { background: transparent; box-shadow: none; border: 0; padding: 2px 0; }
.tabs.sub button.on { background: var(--head); color: var(--band-ink); }
#side { border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
#side a { border-left: 3px solid transparent; }
#side a.on { border-left-color: #f8d878; }
#side .side-h { color: var(--band-ink); }

/* small things: page references as chips, notes set apart */
a.pg, .pg { border-bottom: 1px dotted #9b8ad1; }                     /* a figure that opens its page */
a.src { white-space: nowrap; background: var(--line-2); border-radius: 4px; padding: 0 5px; }   /* 'page 75': the page reference, as a small chip */
a.src:hover { background: var(--head); text-decoration: none; }
.quote { background: #fafafa; border-left: 3px solid #d9d0f2; padding: 4px 10px; border-radius: 0 6px 6px 0; }
.tag, .chip { font-weight: 600; }
input, select { border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #c9b8f4; outline-offset: 0; border-color: var(--accent); }
button.btn, a.btn { border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); }
@media print { .panel, .kpi, .scroll, .tabs, #side { box-shadow: none; } }
/* a figure never breaks over two lines; the correction pencil sits beside it without taking a line of its own (rows were twice as tall) */
td.num, td.cx { white-space: nowrap; }
td.cx .ced { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); margin: 0; background: #fff; border-radius: 3px; padding: 0 2px; }
table.al td.num { padding-left: 4px; padding-right: 6px; font-size: 13px; }   /* the year columns are 93 px: 1,09,059.93 fits on one line */
table.al td.num * { overflow-wrap: anywhere; word-break: normal; }   /* a figure wider still (12,48,35,31,541) wraps inside its column, as before */
td.num, td.num *, td.cx, td.cx * { overflow-wrap: normal; word-break: keep-all; }
