/* KWI Project Data Hub, decided 2026-10-29. Loaded after kwi-design.css on Data Hub pages.
   Colour, radius and letter case only: no width, height, margin, padding or font-size rules.
   Stage colours (EIA, EBL approved, Awarded, In operation, Under construction) and the
   fixed/floating chip are data colours and keep their hue. */

/* tokens: one ink, one line colour, one alternate surface */
html body,html body .pv1{--ink:#1A1008;--line:#E8DDD0;--paper2:#FDF5EC;--card:#FDF5EC}
html body{color:#1A1008!important}

/* small orange text and fills under white text */
html body h2[style*="color:#FA6400" i],html body span[style*="font-size:18px" i][style*="color:#FA6400" i]{color:#C44600!important}
html body span.chip.o,html body span.qbtn,html body button.qbtn{background:#C44600!important;border-color:#C44600!important}
html body a.btn.pri:not(.off){background:#C44600!important;border-color:#C44600!important;color:#fff!important}

/* secondary text that sat outside the palette */
html body :not(.st)[style*="color:#9A8877" i],html body :not(.st)[style*="color:#A08B76" i]{color:#7A6555!important}

/* access and membership chips: square status badges, free access neutral, paid access orange */
html body span.acc,html body span.lk,html body span.state,html body .pmlock{border-radius:0!important}
html body span.acc.pub,html body span.acc.free,html body span.acc.mem,html body span.lk.pub,html body span.lk.mem,html body span.state.s-free{color:#7A6555!important;border-color:#7A6555!important;background:transparent!important}
html body span.acc.pre,html body span.acc.buy,html body span.lk.pm,html body span.state.s-premium,html body .pmlock{color:#C44600!important;border-color:#C44600!important;background:transparent!important}
html body span.lk:not(.pub):not(.mem):not(.pm){border-color:#E8DDD0!important}

/* data chips keep their colours, square corners; EBL approved green deepened to pass AA with white text */
html body span.st,html body span.chip{border-radius:0!important}
html body span.st[style*="#3D8B5B" i]{background:#2E7D4F!important}
html body span.chip:not(.o):not(.b){background:#FDF5EC!important;border-color:#E8DDD0!important}

/* controls 3px, cards 12px */
html body a.btn,html body button.btn,html body .stabham,html body select,html body input,html body div.qbox,html body div.tr,html body .pager button,html body nav button{border-radius:3px!important}
html body a.card,html body a.rcard,html body div.card,html body div.kpi,html body div.chart,html body div.kmap,html body div.meta{border-radius:12px!important}
html body a.card,html body a.rcard{border-color:#E8DDD0!important}
html body button.btn{background:#FDF5EC!important;border-color:#E8DDD0!important}

/* hover and focus: same colour, underline */
html body a.btn:hover,html body a.btn:focus-visible,html body button.btn:hover,html body button.btn:focus-visible{text-decoration:underline!important}
html body .langsw a.kwidd-btn{color:#7A6555!important;border-color:#E8DDD0!important}
html body .langsw .kwidd-btn.kwidd-on{background:#C44600!important;border-color:#C44600!important;color:#fff!important}
/* amber and orange stage chips: ink text instead of white (6.17 and 6.14) */
html body span.st[style*="#C08A2E" i],html body span.st[style*="#FA6400" i]{color:#1A1008!important}
