/* IBCCI Trade Hub — additive stylesheet, reuses tokens from style.css */
.th-hero{background:var(--g);color:#fff;border-bottom:6px solid var(--r);padding:64px 0 48px}
.th-hero h1{font-size:clamp(2rem,4.2vw,3rem);font-weight:700;margin-bottom:14px}
.th-hero p{max-width:66ch;color:#d9e9e2;font-size:1.05rem}
.th-hero .kick{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#b9d3c8;margin-bottom:10px}
.th-sub{background:var(--surface);border-bottom:1px solid var(--line)}
.th-sub .wrap{display:flex;gap:6px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.th-sub a{padding:7px 14px;border:1px solid var(--line);text-decoration:none;font-size:.9rem;font-weight:500;background:var(--bg)}
.th-sub a:hover{border-color:var(--r)}
.th section{padding:56px 0}
.th h2{margin-bottom:6px}
.th .lead{margin-bottom:22px}
.th-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:18px 0}
.th-kpi{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--g);padding:14px 16px}
.th-kpi.ir{border-top-color:var(--r)}
.th-kpi small{display:block;color:var(--mute);font-size:.8rem}
.th-kpi b{display:block;font:600 1.5rem/1.2 var(--serif);margin:2px 0}
.th-kpi span{font-size:.78rem;color:var(--mute)}
.th-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.th-box{background:var(--surface);border:1px solid var(--line);padding:18px}
.th-box h3{margin-bottom:10px}
.th-status{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--mute);margin:8px 0 0}
.th-dot{width:9px;height:9px;border-radius:50%;background:#b8860b;flex:none}
.th-dot.ok{background:#239f40}.th-dot.bad{background:var(--r)}
.th-leg{display:flex;gap:16px;flex-wrap:wrap;font-size:.84rem;color:var(--mute);margin:6px 0 10px}
.th-leg i{display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:-1px}
.th-chart{width:100%;height:auto;display:block}
.th-chart text{fill:var(--mute);font:11px var(--sans)}
.th-chart .ax{stroke:var(--line)}
.th-note{font-size:.88rem;color:var(--mute);margin:10px 0 0}
.th-list{list-style:none;margin:0;padding:0}
.th-list li{padding:11px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.th-list li:last-child{border:0}
.th-list a,.th-tbl a{color:var(--g2);text-underline-offset:2px}
:root[data-theme="dark"] .th-list a,:root[data-theme="dark"] .th-tbl a{color:#7fd1ad}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .th-list a,:root:not([data-theme="light"]) .th-tbl a{color:#7fd1ad}}
.th-ctl{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px;align-items:center}
.th-ctl input,.th-ctl select,.th-est input,.th-est select{font:inherit;padding:9px 12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:2px;min-height:42px}
.th-ctl input[type=search]{flex:1;min-width:200px}
.th-btn{font:600 .9rem var(--sans);padding:9px 16px;border:2px solid var(--g);background:var(--g);color:#fff;cursor:pointer;border-radius:2px;text-decoration:none;display:inline-block;min-height:42px}
.th-btn.o{background:transparent;color:var(--g)}
:root[data-theme="dark"] .th-btn.o{color:#7fd1ad;border-color:#2a6b53}
.th-wrapt{overflow-x:auto;border:1px solid var(--line);background:var(--surface)}
.th-tbl{width:100%;border-collapse:collapse;font-size:.92rem;min-width:620px}
.th-tbl th{text-align:left;background:var(--band);padding:10px 12px;font-weight:600;border-bottom:1px solid var(--line);white-space:nowrap}
.th-tbl td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.th-tbl tr:last-child td{border:0}
.th-tbl code{font:600 .88rem ui-monospace,Menlo,Consolas,monospace;background:var(--band);padding:2px 6px}
.th-tag{display:inline-block;font-size:.74rem;font-weight:600;padding:2px 8px;border:1px solid var(--g2);color:var(--g2);white-space:nowrap}
.th-tag.ir{border-color:var(--r);color:var(--r)}
.th-tag.both{border-color:var(--mute);color:var(--mute)}
.th-tag.v{border-color:#b8860b;color:#b8860b}
:root[data-theme="dark"] .th-tag{color:#7fd1ad}
.th-count{font-size:.85rem;color:var(--mute);margin:8px 0 0}
.th-est{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end}
.th-est label{display:block;font-size:.8rem;color:var(--mute);margin-bottom:4px}
.th-est input,.th-est select{width:100%}
.th-res{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
.th-res div{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed var(--line)}
.th-res div.t{font-weight:700;border-bottom:0;font-size:1.05rem}
.th-agr{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.th-agr article{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--g);padding:16px}
.th-agr h3{font-size:1.05rem}
.th-agr p{font-size:.92rem;color:var(--mute);margin:8px 0}
.th-agr .meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:.82rem;color:var(--mute)}
.th-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.th-links a{font-size:.85rem;padding:5px 10px;border:1px solid var(--g2);color:var(--g2);text-decoration:none}
.th-links a:hover{background:var(--band)}
:root[data-theme="dark"] .th-links a{color:#7fd1ad;border-color:#2a6b53}
.th-disc{background:var(--band);border-left:4px solid var(--r);padding:14px 18px;font-size:.9rem;color:var(--mute);margin-top:24px}
@media(max-width:820px){.th-cols{grid-template-columns:1fr}.th section{padding:40px 0}}

/* ---- Hub switcher, directory, tender board ---- */
.hub{background:#0b2a1f}
.hub .wrap{display:flex;gap:4px;flex-wrap:wrap}
.hub a{color:#c8d9d1;text-decoration:none;font-weight:600;font-size:.92rem;padding:11px 16px;border-bottom:3px solid transparent}
.hub a:hover{color:#fff}
.hub a[aria-current="page"]{color:#fff;border-bottom-color:var(--r)}
.th-seg{display:flex;gap:6px;flex-wrap:wrap}
.th-seg button{font:600 .88rem var(--sans);padding:8px 16px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:2px;min-height:42px}
.th-seg button[aria-pressed="true"]{background:var(--g);color:#fff;border-color:var(--g)}
.dr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.dr-card{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--g);padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.dr-card.ir{border-top-color:var(--r)}
.dr-card h3{font-size:1rem;margin:0}
.dr-card p{font-size:.9rem;color:var(--mute);margin:0}
.dr-card .m{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:.8rem;color:var(--mute)}
.dr-card a.w{margin-top:auto;font-size:.88rem;color:var(--g2);word-break:break-all}
:root[data-theme="dark"] .dr-card a.w{color:#7fd1ad}
.dr-empty{background:var(--surface);border:1px dashed var(--line);padding:22px;text-align:center;color:var(--mute)}
.th-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.th-form label{display:block;font-size:.8rem;color:var(--mute);margin-bottom:4px}
.th-form input,.th-form select,.th-form textarea{width:100%;font:inherit;padding:9px 12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:2px;min-height:42px}
.th-form .full{grid-column:1/-1}
.th-chk{display:flex;gap:8px;align-items:flex-start;font-size:.88rem}
.th-chk input{width:auto;min-height:0;margin-top:4px}
.td-list{display:grid;gap:12px}
.td{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--g);padding:14px 16px}
.td.soon{border-left-color:#b8860b}.td.closed{border-left-color:var(--mute);opacity:.75}
.td-h{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:6px}
.td h3{font-size:1.02rem;margin:0 0 4px}
.td .m{font-size:.88rem;color:var(--mute);margin:0 0 6px}
.td .n{font-size:.92rem;margin:0 0 8px}
.td-f{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:.88rem}
.td-f a{padding:6px 12px;border:1px solid var(--g2);color:var(--g2);text-decoration:none;font-weight:600}
.td-f a:hover{background:var(--band)}
:root[data-theme="dark"] .td-f a{color:#7fd1ad;border-color:#2a6b53}
.th-tag.soon{border-color:#b8860b;color:#b8860b}
.th-tag.cl{border-color:var(--mute);color:var(--mute)}
.pt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.pt{background:var(--surface);border:1px solid var(--line);padding:12px 14px}
.pt a{font-weight:600;color:var(--g2);text-underline-offset:2px}
:root[data-theme="dark"] .pt a{color:#7fd1ad}
.pt p{font-size:.86rem;color:var(--mute);margin:4px 0 0}

/* Global Business Desk */
.gd-h{margin:26px 0 10px;font-family:"Source Serif 4",serif}.gd-h small{color:var(--mute);font:500 .85rem "Public Sans",sans-serif;margin-left:6px}
.gd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.gd-grid a{display:block;padding:10px 12px;border:1px solid var(--line,#d9e2dd);border-radius:6px;background:#fff;text-decoration:none;color:inherit;font-weight:500}
.gd-grid a:hover,.gd-grid a:focus-visible{border-color:#0b6b4b;background:#f1f8f4}
.gd-back{display:inline-block;margin-bottom:10px;font-weight:500}

/* Investment Hub */
.ih-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.ih-card{text-align:left;font:inherit;color:inherit;padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--surface,#fff);cursor:pointer;display:flex;flex-direction:column;gap:6px}
.ih-card span{font-size:.85rem;color:var(--mute)}
.ih-card:hover,.ih-card:focus-visible,.ih-card[aria-pressed="true"]{border-color:#0b6b4b;background:#f1f8f4}
.ih-card[aria-pressed="true"]{box-shadow:inset 3px 0 0 #0b6b4b}
.ih-law{border-left:4px solid #0b6b4b;background:#f1f8f4;padding:14px 16px;border-radius:4px;margin:0 0 4px}
.ih-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;counter-reset:s;padding:0;list-style:none}
.ih-steps li{counter-increment:s;border:1px solid var(--line);border-radius:6px;padding:12px 12px 12px 44px;position:relative;background:var(--surface,#fff)}
.ih-steps li:before{content:counter(s);position:absolute;left:12px;top:12px;width:22px;height:22px;border-radius:50%;background:#0b6b4b;color:#fff;font-size:.8rem;display:grid;place-items:center}

.ih-hero{background:linear-gradient(105deg,rgba(6,40,28,.94) 0%,rgba(6,40,28,.80) 55%,rgba(6,40,28,.55) 100%),url(img/invest-factory.jpg) center/cover no-repeat var(--g)}
.ih-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.ih-ph{position:relative;margin:0;border-radius:6px;overflow:hidden;aspect-ratio:3/2;background:#0b2e22}
.ih-ph img{width:100%;height:100%;object-fit:cover;display:block}
.ih-ph figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 12px;color:#fff;font-weight:600;background:linear-gradient(transparent,rgba(0,0,0,.72))}
