/* ==========================================================================
   Triconna brand colours. COLOURS ONLY: nothing here changes a position, size, shape, font or word.
   The choices were made in the colour picker and are applied as chosen.
   Palette: Ever Green #001F10, Deep Forest #003D20, Forest Green #008C38, Tea Green #CBFFB5, Honeydew #EDFFEA,
            Porcelain #FCFFFC, Carbon Black #1A1E16, Lawn Green #8FEB0F, Harvest Orange #F27718.
   Dark mode keeps today's page and card colours; only the brand accents change.
   ========================================================================== */
/* always on: warnings are Harvest Orange with Carbon Black text, success tags are Tea Green with Ever Green text */
:is(.spill.warn,.pill.warn,.spill.bad,.pill.bad){background:#F27718!important;color:#1A1E16!important;border-color:#F27718!important}
:is(.spill.ok,.pill.ok){background:#CBFFB5!important;color:#001F10!important;border-color:#CBFFB5!important}

/* ===== light mode ===== */
html[data-theme="light"]{--frame:#FCFFFC;--page-a:#FCFFFC;--page-b:#FCFFFC}
html[data-theme="light"]{--card:#EDFFEA;--white:#EDFFEA;--honey:#EDFFEA;--surface:#E3F6DF;--surface-2:#F4FFF2;--fill:#E3F6DF}
html[data-theme="light"] :is(.btn.primary,.btn.dark,.homebtn,.qc){background:#008C38;border-color:#008C38;color:#FCFFFC}
html[data-theme="light"] :is(.btn.primary,.btn.dark,.homebtn,.qc) svg{stroke:#FCFFFC}
html[data-theme="light"] :is(.btn.primary,.btn.dark,.homebtn,.qc):hover{background:#CBFFB5 !important;border-color:#CBFFB5 !important;color:#001F10 !important}
html[data-theme="light"] .btn:not(.primary):not(.dark):not(.danger):not(.ghost){color:#008C38;border-color:#008C38}
html[data-theme="light"] :is(.pagehead h1,.hhero h1){color:#001F10}
html[data-theme="light"] .hhero h1 span{color:#008C38}
html[data-theme="light"]{--link:#003D20;--link-hover:#003D20}
html[data-theme="light"] :is(.card .ch .ci,.card h3 .ci,.tile .th .ci,.ql .ci,.hcard .hic){background:#008C38;color:#FCFFFC}
html[data-theme="light"] :is(.tabs a.on,.seg .on,.seg button.on,.pp-chips button.on,.rp-list a.on){background:#008C38;color:#FCFFFC;border-color:#008C38}
html[data-theme="light"] :is(.tile.lime,.tile.tea){background:#CBFFB5;color:#001F10}
html[data-theme="light"] :is(.tile.lime,.tile.tea) *{color:inherit}
html[data-theme="light"] :is(.tile.lime,.tile.tea) .th .ci{background:#003D20;color:#CBFFB5}
html[data-theme="light"] .tile.dark{background:#003D20;color:#FCFFFC}
html[data-theme="light"] .tile.dark *{color:inherit}
html[data-theme="light"] .tile.dark .th .ci{background:#CBFFB5;color:#001F10}
html[data-theme="light"]{--bar:#008C38}
html[data-theme="light"] :is(.pb .bar .in,.pb .bar .d1){background:#008C38}

/* ===== dark mode ===== */
html[data-theme="dark"] :is(.btn.primary,.btn.dark,.homebtn,.qc){background:#008C38;border-color:#008C38;color:#FCFFFC}
html[data-theme="dark"] :is(.btn.primary,.btn.dark,.homebtn,.qc) svg{stroke:#FCFFFC}
html[data-theme="dark"] :is(.btn.primary,.btn.dark,.homebtn,.qc):hover{background:#008C38 !important;border-color:#008C38 !important;color:#FCFFFC !important}
html[data-theme="dark"] .btn:not(.primary):not(.dark):not(.danger):not(.ghost){color:#CBFFB5;border-color:#CBFFB5}
html[data-theme="dark"] :is(.pagehead h1,.hhero h1){color:#CBFFB5}
html[data-theme="dark"] .hhero h1 span{color:#CBFFB5}
html[data-theme="dark"]{--link:#CBFFB5;--link-hover:#CBFFB5}
html[data-theme="dark"] :is(.card .ch .ci,.card h3 .ci,.tile .th .ci,.ql .ci,.hcard .hic){background:#008C38;color:#FCFFFC}
html[data-theme="dark"] :is(.tabs a.on,.seg .on,.seg button.on,.pp-chips button.on,.rp-list a.on){background:#CBFFB5;color:#001F10;border-color:#CBFFB5}
html[data-theme="dark"] :is(.tile.lime,.tile.tea){background:#003D20;color:#FCFFFC}
html[data-theme="dark"] :is(.tile.lime,.tile.tea) *{color:inherit}
html[data-theme="dark"] :is(.tile.lime,.tile.tea) .th .ci{background:#CBFFB5;color:#001F10}
html[data-theme="dark"] .tile.dark{background:#001F10;color:#FCFFFC}
html[data-theme="dark"] .tile.dark *{color:inherit}
html[data-theme="dark"] .tile.dark .th .ci{background:#CBFFB5;color:#001F10}
html[data-theme="dark"]{--bar:#8FEB0F}
html[data-theme="dark"] :is(.pb .bar .in,.pb .bar .d1){background:#8FEB0F}
