@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#19352f;--ink-2:#34504a;--muted:#71817b;--line:#e5ebe7;--paper:#f5f7f4;--white:#fff;--green:#08785e;--green-dark:#075d4a;--mint:#e3f3ed;--sun:#e6ae46;--red:#b5473d;--shadow:0 8px 25px rgba(28,54,46,.055)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px;line-height:1.55}a{color:var(--green);text-decoration:none}a:hover{color:var(--green-dark)}button,input,select,textarea{font:inherit}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(calc((100vw - 1170px)/2),32px);gap:56px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-family:Manrope,sans-serif;font-size:16px;font-weight:800;line-height:1.15}.brand small{display:block;color:#83918b;font:500 10px 'DM Sans',sans-serif;letter-spacing:.04em;margin-top:4px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--green);color:white;font:bold 12px Manrope,sans-serif}.topbar nav{display:flex;align-items:center;gap:27px;flex:1}.topbar nav a{color:#65756f;font-size:13px;font-weight:600}.topbar nav a:hover{color:var(--green)}.account{display:flex;align-items:center;gap:15px;color:#51625d;font-size:12px}.account form{margin:0}.link-button{border:0;background:none;color:var(--green);font-weight:700;cursor:pointer;padding:0}.container{max-width:1170px;margin:0 auto;padding:44px 24px 80px;min-height:calc(100vh - 134px)}footer{text-align:center;padding:20px;color:#899690;font-size:11px}footer span{padding:0 7px;color:#b1bcb6}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 29px;gap:20px}.page-heading h1{font:800 29px/1.2 Manrope,sans-serif;letter-spacing:-.7px;margin:7px 0}.page-heading p{margin:0;color:var(--muted);font-size:13px}.page-heading.compact{align-items:center}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em;color:#82928b}.deadline-chip{display:flex;align-items:center;gap:9px;padding:10px 15px;background:#fff;border:1px solid var(--line);border-radius:9px;color:#72817b;font-size:12px}.deadline-chip strong{color:var(--ink);font-size:13px}.pulse{width:8px;height:8px;border-radius:50%;background:#39a779;box-shadow:0 0 0 4px #e6f4ed}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:19px 22px}.stat-card>span{display:block;color:#74827d;font-size:12px;font-weight:600}.stat-card strong{display:block;margin:3px 0;font:800 28px Manrope,sans-serif}.stat-card small{color:#9aa6a0;font-size:11px}.panel{padding:22px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:0 0 17px}.panel-head h2,.panel h2{font:700 16px Manrope,sans-serif;margin:0 0 4px}.panel-head p,.panel>p{margin:0;color:var(--muted);font-size:12px}.date-label{padding:6px 10px;border-radius:6px;background:#f4f7f5;color:#64756e;font-size:11px;font-weight:600}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:11px 12px;border-bottom:1px solid var(--line);color:#88958f;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}td{padding:14px 12px;border-bottom:1px solid #eff2f0;color:#54645e;font-size:12px}tbody tr:last-child td{border-bottom:0}td strong{color:var(--ink);font-size:12px}td small{display:block;color:#95a19b;font-size:10px;margin-top:2px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700;white-space:nowrap}.badge.success{background:#e8f5ef;color:#18835e}.badge.pending{background:#fbf3e4;color:#a67721}.download-links{display:flex;gap:7px}.download-links a{padding:5px 8px;border:1px solid #dce9e3;border-radius:6px;color:#14765f;font-size:10px;font-weight:700}.download-links a:hover{background:#eaf5ef}.panel-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px;margin-top:4px;color:#82908a;font-size:11px}.panel-foot a,.text-link{font-size:11px;font-weight:700}.empty{text-align:center;padding:30px!important;color:#87948e}.site-banner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(115deg,#0c694f,#0d8060);border-radius:13px;padding:27px 32px;color:#fff;margin:0 0 20px;overflow:hidden}.site-banner h2{margin:5px 0 1px;font:800 22px Manrope,sans-serif}.site-banner p{margin:0;color:#d0e9dd;font-size:12px}.site-banner p span{padding:0 4px}.eyebrow.light{color:#c3e2d2}.sun-icon{font-size:50px;color:#edd18f;margin-right:12px}.start-panel{display:flex;justify-content:space-between;align-items:center;padding:23px 27px}.start-panel h2{margin-bottom:5px}.start-panel p{margin:0;color:var(--muted);font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;border:0;border-radius:8px;padding:11px 17px;font-weight:700;font-size:12px;cursor:pointer;text-decoration:none}.button span{font-size:17px;line-height:10px}.button.primary{background:var(--green);color:white}.button.primary:hover{background:var(--green-dark);color:#fff}.button.secondary{background:#eef4f0;color:var(--green)}.button.full{width:100%;margin-top:13px}.submitted-panel,.locked-panel{display:flex;align-items:center;gap:17px;padding:24px}.submitted-check{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e4f5ec;color:#1d9965;font-size:23px}.submitted-panel h2,.locked-panel h2{margin-top:9px}.submitted-panel p,.locked-panel p{margin:0;color:var(--muted);font-size:12px}.lock-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fbf2df;color:#a67721;font-size:24px}.activity-row{display:flex;align-items:center;gap:11px;padding:7px 1px 2px}.activity-dot{width:9px;height:9px;border-radius:50%;background:#29a876;box-shadow:0 0 0 4px #e9f6ef}.activity-row div{flex:1}.activity-row strong{display:block;font-size:12px}.activity-row small{color:var(--muted);font-size:10px}.crumb{margin:-17px 0 15px;font-size:12px;font-weight:600}.checklist-form{max-width:900px}.checklist-section{padding:0;margin-bottom:15px}.section-heading{display:flex;align-items:center;gap:11px;padding:17px 21px;border-bottom:1px solid var(--line)}.section-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e9f5ef;color:var(--green);font-size:17px}.section-heading h2{margin:0;font-size:14px}.section-heading small{font-size:10px;color:#94a099}.check-item{padding:18px 21px 17px;border-bottom:1px solid #edf1ee}.check-item:last-child{border-bottom:0}.item-top{display:flex;align-items:flex-start;gap:11px}.item-number{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:7px;background:#f1f4f2;color:#62726b;font-size:10px;font-weight:700}.item-copy{flex:1}.item-copy h3{font-size:12px;line-height:1.45;margin:1px 0 4px}.item-copy p{margin:0;color:#83918b;font-size:10px}.frequency{color:#a0aaa4}.answer-row{display:grid;grid-template-columns:110px minmax(190px,350px);align-items:center;gap:10px;margin:14px 0 10px 38px}.answer-row label,.remarks-panel label,.settings-panel label,.create-panel label{font-weight:700;color:#53645d;font-size:11px}.required{color:#c9473d;padding-left:3px}.answer-row input,.answer-row select,.settings-panel input,.create-panel input,.create-panel select,.filter-bar select{width:100%;border:1px solid #dfe7e2;background:#fff;border-radius:7px;padding:9px 11px;color:#324942;font-size:11px;outline:none}.answer-row input:focus,.answer-row select:focus,textarea:focus,.create-panel input:focus{border-color:#64a88e;box-shadow:0 0 0 3px #e9f5ef}.input-unit{display:flex;align-items:center}.input-unit input{border-radius:7px 0 0 7px}.input-unit span{padding:9px 11px;border:1px solid #dfe7e2;border-left:0;border-radius:0 7px 7px 0;background:#f6f8f6;color:#87938d;font-size:10px}.comment-label{display:block;margin-left:38px;color:#7a8982;font-size:10px;font-weight:600}.comment-label span,.remarks-panel label span,.settings-panel label span{color:#9aa49f;font-weight:400}.comment-input{display:block;margin:5px 0 0 38px;width:calc(100% - 38px);border:0;border-bottom:1px solid #e7ece8;padding:6px 0;color:#42564e;font-size:10px;outline:none}.comment-input:focus{border-color:#59a185}.remarks-panel{max-width:900px}.remarks-panel label{display:block;margin-bottom:8px}.remarks-panel textarea{width:100%;border:1px solid #e0e8e3;border-radius:7px;padding:10px 12px;font-size:11px;resize:vertical;outline:none}.form-actions{display:flex;justify-content:space-between;align-items:center;padding:5px 0 30px}.small{font-size:10px}.muted{color:var(--muted)}.admin-tabs,.workflow-tabs{display:flex;align-items:center;gap:8px;margin:-10px 0 18px;border-bottom:1px solid var(--line);overflow-x:auto}.admin-tab,.workflow-tab{display:inline-flex;align-items:center;white-space:nowrap;padding:10px 14px;color:#71817b;font-size:11px;font-weight:700;border-bottom:2px solid transparent}.admin-tab.active,.workflow-tab.active{color:var(--green);border-color:var(--green)}.workflow-tab.complete{color:#18835e}.workflow-tabs{margin:0 0 18px}.review-summary{display:flex;align-items:center;justify-content:space-between;gap:15px}.review-summary strong,.review-summary small{display:block}.review-summary small{font-size:10px;color:var(--muted);margin-top:3px}.review-table{min-width:760px}.review-table td{vertical-align:top}.review-table td strong{display:block}.review-table td small{margin-top:4px}.lockin-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;margin:18px 0 30px;background:#fff8e9;border:1px solid #f0dfb9;border-radius:12px}.lockin-panel p{font-size:11px;color:#8b7549;margin:4px 0 0}.equipment-list{margin-top:16px}.equipment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink-2);font-size:12px}.equipment-row form{margin:0}.danger-link{color:var(--red)}.table-action{font-size:11px;font-weight:700}.filter-bar{display:flex;gap:10px;align-items:center;margin-bottom:15px}.filter-bar label{color:var(--muted);font-size:11px}.filter-bar select{width:220px}.settings-panel{max-width:600px;padding:27px}.settings-panel>p{margin:5px 0 22px;color:var(--muted);font-size:12px}.settings-panel label{display:flex;justify-content:space-between;margin-bottom:8px}.settings-panel input{max-width:210px;display:block;margin-bottom:15px}.split-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.9fr);align-items:start;gap:17px}.create-panel h2{margin-bottom:4px}.create-panel>p{font-size:11px;color:var(--muted);margin:0 0 17px}.create-panel form{display:grid;gap:7px}.create-panel label{margin-top:4px}.create-panel .help-text{color:#85928c;font-size:10px}.field-error{color:#b5473d;font-size:10px}.messages{margin-bottom:17px}.message{padding:11px 15px;background:#edf5ef;border:1px solid #d9e9de;border-radius:8px;color:#23674b;font-size:12px}.message.error{background:#fff1ed;border-color:#f3d5cd;color:#a43d31}.message.info{background:#eef4fa;border-color:#d9e4f0;color:#375d80}.login-wrap{display:grid;grid-template-columns:1fr 1fr;max-width:900px;min-height:490px;margin:18px auto;background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:0 15px 45px rgba(23,60,46,.09)}.login-aside{position:relative;overflow:hidden;padding:52px 45px;background:linear-gradient(145deg,#0c684e,#0f8060);color:#fff}.login-aside h1{margin:17px 0 12px;font:800 31px/1.23 Manrope,sans-serif;letter-spacing:-.7px}.login-aside p{max-width:300px;color:#d4e9dd;font-size:13px}.login-decoration{position:absolute;right:10px;bottom:15px;color:#ffffff18;font-size:235px;line-height:1}.aside-caption{position:absolute;bottom:30px;left:45px;font-size:10px;letter-spacing:.1em;color:#d4e9dd}.login-panel{padding:61px 47px}.login-panel h2{font:800 24px Manrope,sans-serif;margin:9px 0 3px}.login-panel>p{font-size:12px}.login-panel form{margin-top:25px;display:grid;gap:8px}.login-panel label{margin-top:5px;font-weight:700;color:#51625b;font-size:11px}.login-panel input{padding:11px 12px;border:1px solid #dfe7e2;border-radius:7px;outline:none}.login-panel input:focus{border-color:#64a88e;box-shadow:0 0 0 3px #e9f5ef}.error-box{padding:9px;border-radius:6px;background:#fff1ed;color:#a43d31;font-size:10px}.login-panel .small{margin-top:20px}.login-panel .button{margin-top:8px}.login-panel .button span{margin-left:auto}.login-panel .eyebrow{margin-top:3px}@media(max-width:860px){.topbar{padding:0 20px;gap:25px}.topbar nav{gap:13px}.account>span{display:none}.split-layout{grid-template-columns:1fr}.login-wrap{margin:0 auto}.container{padding-top:30px}}@media(max-width:620px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 17px;gap:12px}.topbar nav{order:3;flex-basis:100%;overflow:auto;padding:5px 0 2px}.topbar nav a{white-space:nowrap}.account{margin-left:auto}.container{padding:25px 15px 55px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-heading h1{font-size:25px}.deadline-chip{align-self:flex-start}.stats-grid{gap:8px}.stat-card{padding:13px}.stat-card strong{font-size:23px}.stat-card small{font-size:9px}.stat-card>span{font-size:10px}.panel{padding:16px}.site-banner{padding:21px}.start-panel{align-items:flex-start;flex-direction:column;gap:15px}.checklist-section{padding:0}.check-item{padding:15px}.answer-row{grid-template-columns:1fr;gap:5px;margin-left:37px}.comment-input{margin-left:37px;width:calc(100% - 37px)}.form-actions{align-items:flex-start;flex-direction:column;gap:14px}.login-wrap{grid-template-columns:1fr}.login-aside{padding:31px;min-height:220px}.login-aside h1{font-size:25px}.login-decoration{font-size:120px;right:24px}.aside-caption{left:31px;bottom:16px}.login-panel{padding:32px}.panel-foot{gap:10px}.download-links{flex-wrap:wrap}.review-summary{align-items:flex-start;flex-direction:column}.lockin-panel{align-items:flex-start;flex-direction:column}.admin-tabs,.workflow-tabs{margin-top:0}th,td{padding:10px 9px}.split-layout{gap:10px}}
.site-tag{display:inline-block;padding:2px 8px;border-radius:12px;background:#eef4f0;color:#075d4a;font-size:11px;font-weight:600;margin:2px 0}
.checkbox-list{display:flex;flex-direction:column;gap:6px;max-height:160px;overflow-y:auto;padding:8px;background:#fbfcfb;border:1px solid #dfe7e2;border-radius:7px;margin-top:5px}
.checkbox-item{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-2);cursor:pointer}
.unit-tag{display:inline-block;padding:1px 6px;margin-left:4px;border-radius:4px;background:#f0f4f2;color:#61726a;font-size:10px;font-weight:600}
.dgpr-nav-btn{padding:6px 12px;border-radius:7px;border:1px solid #cde3da;background:#f2faf7;color:var(--green)!important;font-weight:700!important}
.dgpr-nav-btn:hover,.dgpr-nav-btn.active{background:var(--green)!important;border-color:var(--green);color:#fff!important}
.create-panel input[type="checkbox"]{width:auto;flex:0 0 auto}
.create-panel textarea{width:100%;border:1px solid #dfe7e2;background:#fff;border-radius:7px;padding:9px 11px;color:#324942;font-size:11px;outline:none;resize:vertical}
.create-panel textarea:focus{border-color:#64a88e;box-shadow:0 0 0 3px #e9f5ef}
.login-aside{display:flex;flex-direction:column;padding:30px 42px 48px}
.login-brand-bar{display:flex;align-items:center;gap:14px;position:relative;z-index:2;margin-bottom:2px}
.login-company-logo{width:50px;height:50px;border-radius:50%;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 4px 10px rgba(0,24,16,.28))}
.login-aside .eyebrow,.login-aside h1,.login-aside p{position:relative;z-index:2}
.login-aside p{margin:0 0 6px}
.aside-caption{bottom:22px}
.solar-3d-stage{position:relative;z-index:2;width:240px;height:174px;margin:10px auto 4px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:4px;perspective:680px}
.solar-sun{position:absolute;top:6px;left:50%;width:38px;height:38px;margin-left:-19px;border-radius:50%;background:radial-gradient(circle at 40% 36%,#fffef2 0%,#fef08a 30%,#fbbf24 66%,#f59e0b 92%,#d97706 100%);box-shadow:0 0 18px 6px rgba(253,224,71,.52),0 0 44px 14px rgba(245,158,11,.26);animation:solar-sun-arc 6.8s ease-in-out infinite alternate;pointer-events:none}
.solar-sun::before{content:"";position:absolute;inset:-14px;border-radius:50%;background:radial-gradient(circle,rgba(254,240,138,.32) 0%,rgba(251,191,36,.12) 45%,transparent 72%);pointer-events:none}
.solar-3d-panel{position:relative;width:110px;height:64px;transform-style:preserve-3d;transform-origin:center center;animation:solar-track-tilt 6.8s ease-in-out infinite alternate;z-index:2}
.solar-face{position:absolute;inset:0;border-radius:2.5px;backface-visibility:hidden}
.solar-front{transform:translateZ(2.5px);background:#e5ece8;border:2px solid #cfd8d3;outline:1px solid rgba(255,255,255,.45);outline-offset:-1.5px;padding:2px;box-shadow:inset 0 0 0 1px #1d2b28,0 6px 14px rgba(0,0,0,.24);overflow:hidden}
.solar-cells{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(3,1fr);gap:1.5px;width:100%;height:100%;background:#dfe8e4;padding:1px;border-radius:1px}
.solar-cells span{position:relative;background:radial-gradient(circle at 0 0,#dfe8e4 1.5px,transparent 1.9px),radial-gradient(circle at 100% 0,#dfe8e4 1.5px,transparent 1.9px),radial-gradient(circle at 0 100%,#dfe8e4 1.5px,transparent 1.9px),radial-gradient(circle at 100% 100%,#dfe8e4 1.5px,transparent 1.9px),repeating-linear-gradient(90deg,rgba(205,222,238,.28) 0 1px,transparent 1px 4.5px),repeating-linear-gradient(0deg,rgba(140,180,220,.08) 0 1px,transparent 1px 2.5px),linear-gradient(155deg,#122e4f 0%,#0b1e36 55%,#071426 100%)}
.solar-glass{position:absolute;inset:2px;background:linear-gradient(125deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,.04) 36%,transparent 52%,rgba(255,255,255,.09) 100%);pointer-events:none}
.solar-glass::after{content:"";position:absolute;inset:-30% -60%;background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.2) 50%,transparent 62%);animation:solar-sheen 6.8s ease-in-out infinite alternate}
.solar-edge{position:absolute;background:linear-gradient(90deg,#9aa7a1,#e4ece8 48%,#86948e)}
.solar-top{width:108px;height:5px;left:1px;top:-2.5px;transform:rotateX(90deg)}
.solar-bottom{width:108px;height:5px;left:1px;bottom:-2.5px;transform:rotateX(-90deg)}
.solar-left{width:5px;height:62px;left:-2.5px;top:1px;transform:rotateY(-90deg)}
.solar-right{width:5px;height:62px;right:-2.5px;top:1px;transform:rotateY(90deg)}
.solar-mount{display:flex;flex-direction:column;align-items:center;margin-top:-2px;z-index:1}
.solar-mount-post{width:5px;height:13px;background:linear-gradient(90deg,#9aa7a1,#d6e0dc,#7e8c86);border-radius:1px}
.solar-mount-base{width:30px;height:3.5px;border-radius:3px;background:linear-gradient(180deg,#cfd8d3,#93a29c)}
.solar-3d-shadow{width:88px;height:10px;margin-top:3px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(3,24,17,.42) 0%,rgba(3,24,17,0) 72%);animation:solar-shadow-track 6.8s ease-in-out infinite alternate}
@keyframes solar-sun-arc{0%{transform:translate(-78px,24px) scale(.94)}25%{transform:translate(-39px,6px) scale(.98)}50%{transform:translate(0px,0px) scale(1.03)}75%{transform:translate(39px,6px) scale(.98)}100%{transform:translate(78px,24px) scale(.94)}}
@keyframes solar-track-tilt{0%{transform:rotateX(19deg) rotateY(-28deg)}25%{transform:rotateX(22deg) rotateY(-14deg)}50%{transform:rotateX(24deg) rotateY(0deg)}75%{transform:rotateX(22deg) rotateY(14deg)}100%{transform:rotateX(19deg) rotateY(28deg)}}
@keyframes solar-shadow-track{0%{transform:translateX(7px) scaleX(.9)}50%{transform:translateX(0px) scaleX(1.04)}100%{transform:translateX(-7px) scaleX(.9)}}
@keyframes solar-sheen{0%{transform:translateX(-45%)}100%{transform:translateX(45%)}}
@media(max-width:620px){.login-aside{padding-bottom:46px}.solar-3d-stage{margin:10px auto 4px;height:158px;transform:scale(.88)}}
@media(prefers-reduced-motion:reduce){.solar-sun,.solar-3d-panel,.solar-3d-shadow,.solar-glass::after{animation:none}.solar-3d-panel{transform:rotateX(22deg) rotateY(0deg)}}

/* --- Unified Solar O&M Shell & UI Components (v6) --- */
.topbar{gap:22px;padding:0 max(calc((100vw - 1260px)/2),20px)}
.container{max-width:1260px;padding:34px 24px 80px}
.brand{white-space:nowrap;flex-shrink:0}
.brand-logo{width:40px;height:40px;border-radius:50%;object-fit:contain;flex:0 0 auto;box-shadow:0 2px 8px rgba(8,120,94,.16)}
.topbar nav{display:flex;align-items:center;gap:14px;flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.topbar nav::-webkit-scrollbar{display:none}
.topbar nav a{white-space:nowrap;flex-shrink:0}
.account{white-space:nowrap;flex-shrink:0}
.nav-sep{width:1px;height:18px;background:var(--line);flex:0 0 auto}
.role-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.03em;white-space:nowrap}
.role-chip.role-admin{background:#e6f4ee;color:#0b6b53;border:1px solid #c4e4d6}
.role-chip.role-operator{background:#fef7e6;color:#9a6715;border:1px solid #f4deb0}

/* Solar Cutoff Progress Meter */
.cutoff-card{display:flex;flex-direction:column;gap:5px;min-width:215px;padding:9px 14px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.cutoff-card.urgent{border-color:#f6c87a;background:#fffaf0}
.cutoff-card.locked{border-color:#f0c7c2;background:#fff6f5}
.cutoff-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}
.cutoff-top strong{color:var(--ink);font-size:12px}
.cutoff-track{height:5px;border-radius:999px;background:#e9efec;overflow:hidden}
.cutoff-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#18835e,#e6ae46);transition:width .3s ease}
.cutoff-card.urgent .cutoff-fill{background:linear-gradient(90deg,#d97706,#f59e0b)}
.cutoff-card.locked .cutoff-fill{background:#b5473d}
.cutoff-sub{font-size:10px;font-weight:700;color:#18835e}
.cutoff-card.urgent .cutoff-sub{color:#b45309}
.cutoff-card.locked .cutoff-sub{color:#a43d31}

/* Solar Telemetry & KPI Strips */
.solar-pulse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:20px}
.pulse-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 18px;box-shadow:var(--shadow);border-top:3px solid var(--green)}
.pulse-card.amber{border-top-color:var(--sun)}
.pulse-card.fault{border-top-color:#dc2626;background:#fffafa}
.pulse-card>span{display:block;font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pulse-card strong{display:block;margin:4px 0 2px;font:800 24px/1.15 Manrope,sans-serif;color:var(--ink)}
.pulse-card.fault strong{color:#b91c1c}
.pulse-card small{font-size:11px;color:#7a8983}

/* Clean Unified Filter Panel */
.filter-panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px 18px;margin-bottom:18px;box-shadow:var(--shadow)}
.filter-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0}
.filter-field{display:flex;flex-direction:column;gap:4px;min-width:150px;flex:1}
.filter-field.compact{flex:0 0 145px;min-width:135px}
.filter-field label{font-size:11px;font-weight:700;color:var(--muted)}
.filter-field select,.filter-field input{width:100%;padding:7px 10px;border:1px solid #d7e1dc;border-radius:7px;background:#fff;color:var(--ink);font-size:12px;outline:none}
.filter-field select:focus,.filter-field input:focus{border-color:#64a88e;box-shadow:0 0 0 3px #e9f5ef}

/* Compact Action / Export Dropdown */
.export-dropdown{position:relative;display:inline-block}
.export-dropdown summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #dce9e3;border-radius:6px;background:#f7fbf9;color:#14765f;font-size:11px;font-weight:700;user-select:none}
.export-dropdown summary::-webkit-details-marker{display:none}
.export-dropdown[open] summary{background:#e3f3ed;border-color:#9dd0be}
.export-menu{position:absolute;right:0;top:calc(100% + 4px);min-width:155px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 28px rgba(15,35,29,.14);padding:5px;z-index:40;display:grid;gap:2px}
.export-menu a{display:block;padding:6px 10px;border-radius:5px;font-size:11px;font-weight:600;color:var(--ink)}
.export-menu a:hover{background:#edf6f2;color:var(--green)}

/* Admin Site Telemetry Cards */
.site-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.site-card{background:#fff;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:11px;padding:15px 16px;display:flex;flex-direction:column;gap:10px;transition:border-color .15s ease,box-shadow .15s ease}
.site-card:hover{box-shadow:0 8px 22px rgba(25,53,47,.07)}
.site-card.inactive{border-left-color:#d1d5db;opacity:.82}
.site-card.has-fault{border-left-color:#b5473d}
.site-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.site-card-title{font:800 15px/1.25 Manrope,sans-serif;color:var(--ink);margin:0}
.site-card-sub{font-size:11px;color:var(--muted);margin-top:2px}
.site-metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px 10px;border-radius:8px;background:#f7faf8;border:1px solid #eaf0ec}
.site-metric span{display:block;font-size:9.5px;font-weight:700;color:#7a8983;text-transform:uppercase;letter-spacing:.04em}
.site-metric strong{font:700 13px Manrope,sans-serif;color:var(--ink)}
.site-card-foot{display:flex;justify-content:space-between;align-items:center;padding-top:8px;border-top:1px solid #eef2f0;gap:8px;flex-wrap:wrap}

/* Operator Shift Hero & Dual Hub */
.plant-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(120deg,#0b654c 0%,#0f8261 60%,#13946e 100%);border-radius:14px;padding:24px 28px;color:#fff;margin-bottom:20px;position:relative;overflow:hidden;box-shadow:0 12px 30px rgba(11,101,76,.16)}
.plant-hero::after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(254,240,138,.22),transparent 70%);pointer-events:none}
.plant-hero h2{margin:4px 0;font:800 23px/1.2 Manrope,sans-serif}
.plant-hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.hero-stat-pill{padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:700;color:#fff}
.operator-hub-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-bottom:20px}
.hub-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.progress-bar-wrap{height:8px;border-radius:999px;background:#ebf1ee;overflow:hidden;margin:6px 0}
.progress-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#08785e,#22a378);transition:width .25s ease}

/* Sticky Checklist Progress Bar & DGPR Grouped Tabs */
.sticky-fill-bar{position:sticky;top:10px;z-index:25;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border:1px solid #d5e2dc;border-radius:10px;padding:10px 16px;margin-bottom:14px;box-shadow:0 6px 18px rgba(15,35,29,.08);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sticky-fill-bar .progress-bar-wrap{flex:1;min-width:140px;max-width:260px;margin:0}
.dgpr-tab-groups{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;align-items:center}
.dgpr-tab-cluster{display:flex;flex-wrap:wrap;gap:5px;padding:4px;background:#eef3f0;border:1px solid #dde6e1;border-radius:10px}
.dgpr-tab-cluster-label{font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#6f8079;padding:6px 8px;align-self:center}
.dgpr-tab-cluster .admin-tab{padding:6px 11px;font-size:11.5px;border-radius:7px;margin:0}

/* Operator Monthly Logbook Strip */
.logbook-strip{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.log-dot{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:10px;font-weight:700;border:1px solid #dde6e1;background:#f8faf9;color:#7a8983}
.log-dot.logged{background:#e3f3ed;border-color:#a5d8c5;color:#08785e}
.log-dot.today{outline:2px solid #08785e;outline-offset:-1px}
.log-dot.future{opacity:.45}

/* Clean Badges */
.badge.fault{background:#fee2e2;color:#a43d31}
.badge.warn{background:#fef3c7;color:#92400e}
.badge.neutral{background:#f1f5f3;color:#334e45}

/* Yellow Alert & Workbook Preview */
.yellow-alert-icon{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#fef3c7;border:1px solid #f59e0b;color:#b45309;font-size:12px;font-weight:800;line-height:1;flex:0 0 auto}
.nav-alert-pill{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:800}
.workbook-sheet-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#eef3f0;border:1px solid #dde6e1;border-radius:10px;margin-bottom:14px}
.sheet-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid transparent;border-radius:7px;background:transparent;color:#465953;font-size:11.5px;font-weight:700;cursor:pointer}
.sheet-tab-btn:hover{background:#fff;color:var(--green)}
.sheet-tab-btn.active{background:#fff;color:var(--ink);border-color:#cfe0d8;box-shadow:0 2px 6px rgba(15,35,29,.08)}
.workbook-preview-table th,.workbook-preview-table td{padding:8px 9px;font-size:11.5px}

/* Interactive Operator Shift Calendar (compact right-side widget) */
.operator-main-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:16px;align-items:start}
.operator-main-col{min-width:0}
.operator-side-col{min-width:0;position:sticky;top:16px}
.shift-cal-panel{padding:12px 13px;margin-bottom:0}
.shift-cal-head{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px}
.shift-cal-title{margin:2px 0 0;font:800 13.5px/1.2 Manrope,sans-serif;color:var(--ink)}
.shift-cal-nav{display:flex;gap:4px;align-items:center}
.cal-nav-btn{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 6px;border-radius:6px;border:1px solid #d5e0da;background:#f8faf9;color:var(--ink);font-size:11px;font-weight:700;text-decoration:none}
.cal-nav-btn:hover{background:#e3f3ed;color:var(--green)}
.shift-cal-badges{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}
.shift-cal-badges .badge{font-size:9.5px;padding:3px 7px}
.shift-cal-bar{height:5px;margin:0 0 8px}
.shift-cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:3px;text-align:center;font-size:9px;font-weight:700;color:var(--muted)}
.shift-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.shift-cal-blank{height:30px}
.shift-cal-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:30px;padding:2px;border-radius:6px;border:1px solid #dde6e1;background:#f8faf9;color:var(--ink);text-decoration:none;transition:transform .1s ease,box-shadow .1s ease}
a.shift-cal-cell:hover{transform:translateY(-1px);box-shadow:0 3px 8px rgba(15,35,29,.12);color:var(--ink)}
.shift-cal-cell.is-locked{cursor:default}
.shift-cal-cell.complete{background:#e8f5ef;border-color:#86efac}
.shift-cal-cell.partial{background:linear-gradient(135deg,#e8f5ef 48%,#fef3c7 52%);border-color:#fcd34d}
.shift-cal-cell.missed{background:#fff5f5;border-color:#fecaca;color:#991b1b}
.shift-cal-cell.open{background:#fff;border-color:#64a88e}
.shift-cal-cell.future{background:#f9fafb;border-color:#eef2f0;opacity:.5}
.shift-cal-cell.is-unlocked{background:#fffbeb;border:1.5px solid #d97706}
.shift-cal-cell.is-today{box-shadow:inset 0 0 0 1.5px #08785e}
.shift-cal-cell.is-selected{outline:1.5px solid #123b32;outline-offset:1px}
.shift-day-num{font-size:10.5px;font-weight:700;line-height:1}
.shift-star{position:absolute;top:1px;right:2px;font-size:7.5px;color:#d97706;line-height:1}
.shift-cal-dots{display:flex;gap:2px;align-items:center}
.mini-dot{width:4px;height:4px;border-radius:999px;background:#cbd5d1;display:inline-block}
.mini-dot.done{background:#10b981}
.mini-dot.partial{background:#f59e0b}
.mini-dot.none{background:#d1d5db}
.shift-cal-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:9.5px;color:var(--muted);margin-top:8px;padding-top:7px;border-top:1px solid #eef2f0}
.shift-cal-legend span{display:inline-flex;align-items:center;gap:4px}
.legend-swatch{width:8px;height:8px;border-radius:2px;display:inline-block;border:1px solid #cbd5d1}
.legend-swatch.complete{background:#d1fae5;border-color:#10b981}
.legend-swatch.partial{background:#fef3c7;border-color:#f59e0b}
.legend-swatch.unlocked{background:#fffbeb;border-color:#d97706}
.legend-swatch.missed{background:#fee2e2;border-color:#fca5a5}
.shift-cal-gift{margin-top:8px;display:flex;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;background:#f4f9f6;border:1px solid #d5e4dd;color:var(--ink);font-size:10.5px;text-decoration:none}
.shift-cal-gift:hover{background:#e3f3ed;color:var(--green)}
.shift-cal-gift.is-eligible{background:#fffbeb;border-color:#f59e0b;color:#92400e}
.shift-reward-card{margin-top:12px;padding:12px 13px;border-top:3px solid var(--green)}
.shift-reward-card.is-eligible{border-top-color:#f59e0b;background:#fffdf6}

/* Admin Settings & Rewards Config Alignment */
.settings-stack{display:grid;gap:18px;min-width:0}
.reward-config-panel{padding:24px 27px}
.reward-config-panel .panel-head{align-items:flex-start;gap:12px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.reward-config-panel label{display:block;font-weight:700;color:#53645d;font-size:11px;margin-bottom:5px}
.reward-config-panel input[type="number"],.reward-config-panel input[type="text"]{width:100%;border:1px solid #dfe7e2;background:#fff;border-radius:7px;padding:9px 11px;color:#324942;font-size:12px;outline:none}
.reward-config-panel input[type="number"]:focus,.reward-config-panel input[type="text"]:focus{border-color:#64a88e;box-shadow:0 0 0 3px #e9f5ef}
.reward-config-panel input[type="checkbox"]{width:auto;flex:0 0 auto;margin:0}
.reward-grid-2x2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.reward-target-box{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,1.35fr);gap:12px;padding:13px 14px;border:1px solid #d7e4dd;border-radius:9px;background:#f4f9f6;margin-bottom:14px}
@media(max-width:620px){.reward-grid-2x2,.reward-target-box{grid-template-columns:1fr}}

@media(max-width:960px){.operator-main-layout{grid-template-columns:1fr}.operator-side-col{position:static;max-width:340px}}
@media(max-width:920px){.solar-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-hub-grid{grid-template-columns:1fr}}
@media(max-width:620px){.solar-pulse-grid{grid-template-columns:1fr}.plant-hero{flex-direction:column;align-items:flex-start}.operator-side-col{max-width:none}}
