/* Operator dashboard: light surfaces, consistent controls, scoped chart visuals. */
:root{--green:#164c3a;--ink:#233d32;--line:#d8e4dc;--mint:#d8eddd}
body{background:#f5f8f6;color:#233d32}body>aside{background:#eef5f0;color:#164c3a;border-right:1px solid #d8e4dc}body>aside .brand,body>aside .workspace strong{color:#164c3a}body>aside .workspace,body>aside .asideFoot,body>aside .asideFoot small{color:#496354}body>aside nav button{color:#375846}body>aside nav button.active{background:#d6e8dc;color:#164c3a}body>aside nav button.active:before{background:#164c3a}
h1,h2,h3{color:#164c3a}p,.help,.muted,.sub,.tiny{color:#52675b}header{background:#fff}.panel,.stat,.tankCard{background:#fff;border-color:#d8e4dc;border-radius:14px;box-shadow:0 3px 14px #164c3a05}.hero,.startHere{background:#e4f0e7;border:1px solid #d0e3d5;color:#164c3a}.hero h2,.hero p,.hero .eyebrow{color:#164c3a}.hero .primary{background:#164c3a;color:#fff}.primary,.secondary,.danger,button[data-tab],select{min-height:44px}button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #1569a0;outline-offset:3px}.badge.amber,.note.warn{background:#fff1d7;color:#775015}.badge.red,.danger{background:#fce6e2;color:#9d2828}.dialogFoot{position:sticky;bottom:0;background:white;z-index:2}.dashboardIntro{margin-bottom:22px}.dashboardChart{margin-bottom:24px;min-width:0}.dashboardChart p{font-size:14px}.dashboardChart .panelHead{gap:16px;flex-wrap:wrap}.chartControls{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0}.chartControls fieldset{border:0;padding:0;display:flex;gap:12px;flex-wrap:wrap}.chartControls legend{font-size:13px;margin-bottom:8px}.gradeToggle{display:flex;align-items:center;gap:7px;min-height:44px;margin:0}.gradeToggle input{width:20px;height:20px}.gradeDot{width:11px;height:11px;border-radius:3px}/* Grade colors are independent of urgency/status colors. */
.grade0{--grade-color:#ffffff}.grade1{--grade-color:#ad7108}.grade2{--grade-color:#c62828}.grade3{--grade-color:#167544}.gradeUnknown{--grade-color:#64748b}
.gradeDot,.salesStack i{background:var(--grade-color,#64748b);box-shadow:inset 0 0 0 1px #233d32}
.gradeDot{display:inline-block;flex-shrink:0;margin-right:6px;vertical-align:middle}
.tankCard .tankVisual .fill,.tankRow .bar span,.marginChartRow .actualBar{background:var(--grade-color,#64748b);box-shadow:inset 0 0 0 1px #233d32}
.tankCard .tankVisual b{color:#233d32;background:#fff;padding:3px 8px;border-radius:4px;z-index:1}
.outlookBars .forecastColumn{background:repeating-linear-gradient(135deg,var(--grade-color,#64748b),var(--grade-color,#64748b) 5px,#e4eae7 5px,#e4eae7 10px);border:1px dashed #233d32}
.salesBars{display:flex;gap:4px;overflow-x:auto;max-width:100%;padding:10px 4px 12px;align-items:flex-end;border-bottom:1px solid #d8e4dc}.salesDay{flex:1 0 42px;border:0;background:transparent;color:#284b38;padding:4px;min-height:165px;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;align-items:center}.salesStack{height:130px;width:100%;display:flex;flex-direction:column-reverse;justify-content:flex-start;max-width:55px}.salesStack i{display:block;flex-shrink:0}.salesGap{border-bottom:2px dashed #879b8d}.salesDay small{font-size:11px}.chartReadout{padding:12px;background:#eef5f0;border-radius:8px;min-height:48px}.chartDetails{margin:16px 0}.chartDetails summary{cursor:pointer;padding:12px;border:1px solid #d8e4dc;border-radius:8px;font-weight:600;min-height:44px}.chartDetails table{min-width:540px}.chartDetails th,.chartDetails td{font-size:13px}.outlookBars{display:flex;gap:12px;align-items:flex-end;overflow-x:auto;padding:16px 0}.outlookBars>div{flex:1 0 66px;display:flex;flex-direction:column;align-items:center;font-size:12px;gap:6px}.forecastColumn{background:repeating-linear-gradient(135deg,#acd1ba,#acd1ba 5px,#e2eee6 5px,#e2eee6 10px);border:1px dashed #427653;width:36px}.outlookBars small{white-space:nowrap}.marginChartRow{padding:16px 0;border-bottom:1px solid #d8e4dc}.marginMetric{display:grid;grid-template-columns:160px minmax(35px,1fr) 125px;gap:12px;align-items:center;margin-top:10px;font-size:13px}.marginTrack{height:14px;background:#edf3ef;border-radius:4px;overflow:hidden}.marginTrack i{height:100%;display:block}.actualBar{background:#26734c}.targetBar{background:#64748b}.negative{background:#b73535}.dashboardChart label{color:#284b38}.dashboardChart select{max-width:100%}.content,#view,main,.panel{min-width:0}.tableWrap{max-width:100%;overflow-x:auto}.googlePlacesResults{overflow-wrap:anywhere}
@media(max-width:700px){.content{padding:20px 14px 0}.dashboardChart{padding:18px}.dashboardChart .panelHead{display:block}.dashboardChart .panelHead>label{display:block;margin-top:16px}.chartControls{display:block}.chartControls fieldset{margin-top:14px}.marginMetric{grid-template-columns:1fr 100px;gap:8px}.marginMetric>span{grid-column:1/-1}.dashboardChart .actions{flex-wrap:wrap}.titleRow{flex-wrap:wrap}.titleRow button{max-width:100%;white-space:normal}.panelHead{flex-wrap:wrap}.headerActions{gap:6px;flex-wrap:wrap}footer{overflow-wrap:anywhere}.salesDay{flex-basis:38px}.dialogFoot{flex-wrap:wrap}.dashboardIntro h1{font-size:27px}}
body>aside #moreFuelTools summary{color:#164c3a;border-color:#ccdcd1}.dashboardChart .tableWrap:focus-visible{outline:3px solid #1569a0;outline-offset:2px}
.attachmentRow{min-width:0;border:1px solid #d8e4dc;border-radius:10px;margin:20px 0;padding:16px}.attachmentRow legend{font-weight:700;color:#164c3a}.attachmentRow p{overflow-wrap:anywhere}#supplierAttachment{max-width:100%}
