/* Trell Energy brand theme — visual reference: Hot Work Permit Checklist.
   Presentation only; no checklist or workflow content copied. */
:root{--g:#13723d;--y:#f4d313;--bg:#f7f8f3;--trell-green:#13723d;--trell-yellow:#f4d313;--trell-cream:#fff1c9;--trell-ink:#242b26;--trell-border:#c7d4ca;color-scheme:light}
html{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
body{max-width:100%;overflow-x:hidden;background:#f7f8f3;color:#242b26}
header{background:#13723d!important;color:#fff!important;border-bottom:5px solid #f4d313!important}
header h1 span{color:#f4d313!important}
main,.layout,#content,.panel,section,article{min-width:0;max-width:100%}
.panel,section{border-color:#c7d4ca}
h1,h2,h3,h4{overflow-wrap:break-word}
h2,h3{color:#125c34}
button,.btn,input[type=submit]{touch-action:manipulation;min-height:44px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6ae00;outline-offset:2px}
button:not(.danger):not(.secondary):not(.active){border-color:#b99800}
.nav button.active,.nav .active,button.active{background:#13723d!important;color:#fff!important}
.nav button.active{border-left:4px solid #f4d313}
input,select,textarea{max-width:100%;min-width:0;border-color:#a8baac;background:#fff;color:#242b26;font-size:max(16px,1em)}
label{color:#193c29}
th{background:#fff1c9;color:#203a29}
.banner,.notice{background:#fff1c9}
.metric{background:#fff9e9;border-top:3px solid #f4d313}
.pill{background:#fff1c9}
img,video,canvas,svg{max-width:100%}
/* Preserve table column relationships; scroll within their own containers on narrow screens. */
table{max-width:100%}
@media(max-width:900px){main{padding:12px!important}.layout{grid-template-columns:minmax(0,1fr)!important}.nav{display:flex;flex-direction:row;overflow-x:auto;max-width:100%;gap:6px;-webkit-overflow-scrolling:touch}.nav button{flex:0 0 auto;white-space:nowrap}.panel,section{padding:14px}.toolbar{flex-wrap:wrap}.toolbar>div{min-width:min(190px,100%)} }
@media(max-width:600px){body{font-size:15px}header{padding:12px!important}header h1{font-size:20px}main{padding:8px!important}.panel,section{padding:12px!important;border-radius:9px}.grid{grid-template-columns:minmax(0,1fr)}.userbar{flex-wrap:wrap}button{padding:11px 13px}input,select,textarea{width:100%;min-height:44px}.toolbar>div{flex:1 1 100%}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}th,td{white-space:nowrap}.loginCard{max-width:calc(100vw - 20px);padding:16px} }
@media print{body{background:#fff}header{background:#fff!important;color:#13723d!important;border-bottom:3px solid #f4d313!important}button,.nav{display:none!important}table{display:table;overflow:visible}th,td{white-space:normal}}
