/* FuelPilot's refreshed operator dashboard: graphite evergreen, warm gold and crisp paper. */
:root {
  --green: #12483d;
  --mint: #d8ede0;
  --ink: #152b28;
  --muted: #596d68;
  --line: #dbe5e0;
  --bg: #f2f6f5;
  --fp-gold: #d6a33d;
  --fp-gold-soft: #f3dfad;
  --fp-deep: #0c2523;
  --fp-card-shadow: 0 14px 35px rgba(16, 48, 41, .07), 0 2px 5px rgba(16, 48, 41, .04);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 92% 0%, rgba(211, 173, 91, .12), transparent 28rem),
    radial-gradient(ellipse at 48% 14%, rgba(109, 165, 144, .08), transparent 38rem),
    var(--bg);
  font-family: 'DM Sans', Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
button:hover { filter: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #d3a13c;
  outline-offset: 3px;
}

body > aside {
  width: 262px;
  padding: 25px 17px 18px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(42, 113, 91, .35), transparent 23rem),
    linear-gradient(180deg, #102e2a 0%, #0b211f 100%);
  border-right: 1px solid rgba(231, 203, 139, .2);
  box-shadow: 10px 0 40px rgba(13, 37, 32, .08);
  scrollbar-color: #58746a #102e2a;
}
body > aside .brand { position: relative; width: max-content; max-width: 100%; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
body > aside .brandWordmark { display: block; width: 196px; max-width: 100%; height: auto; filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .2)); }
body > aside .brandMotto { color: #e9c66d; font: 650 11px/1.35 Manrope, Arial, sans-serif; letter-spacing: .2px; padding-left: 4px; }
body > aside .brand::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 49px;
  height: 49px;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 15%, rgba(255,255,255,.1) 34%, #fff5d2 48%, #d5a13a 56%, transparent 72%);
  background-size: 230% 100%;
  -webkit-mask: url('/fuelpilot-mark.svg') center / 49px 49px no-repeat;
  mask: url('/fuelpilot-mark.svg') center / 49px 49px no-repeat;
  animation: fp-gold-shimmer 5.8s ease-in-out infinite;
}
@keyframes fp-gold-shimmer { 0%, 58% { background-position: 150% 0; } 78%, 100% { background-position: -20% 0; } }
body > aside .workspace { color: #a6c1b5; margin: 31px 9px 14px; letter-spacing: 1.45px; }
body > aside .workspace strong { color: #f1f5f0; font-size: 14px; font-weight: 650; }
body > aside nav { gap: 5px; }
body > aside nav .navCategory {
  color: #d9bd79;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 20px 11px 6px;
}
body > aside nav button,
body > aside nav button span {
  color: #c0d0c9;
  font-size: 14px;
  font-weight: 600;
}
body > aside nav button {
  position: relative;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 43px;
  padding: 10px 12px 10px 16px;
  line-height: 1.35;
}
body > aside nav button:hover { background: rgba(242, 247, 243, .08); color: #fff; }
body > aside nav button.active,
body > aside nav button[aria-current="page"] {
  color: #fff;
  background: linear-gradient(100deg, rgba(45, 108, 85, .48), rgba(25, 66, 55, .62));
  border-color: rgba(219, 183, 102, .26);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 5px 18px rgba(0,0,0,.12);
}
body > aside nav button.active:before,
body > aside nav button[aria-current="page"]:before {
  left: 0;
  top: 9px;
  width: 3px;
  height: calc(100% - 18px);
  background: linear-gradient(180deg, #ffe9a8, #c68e29);
  box-shadow: 0 0 12px rgba(236, 190, 81, .6);
}
body > aside .asideFoot { color: #d6e2dc; border-top: 1px solid rgba(227, 237, 231, .12); }
body > aside .asideFoot small { color: #9eb6ab; }
body > aside .dot { background: #e2ba59; box-shadow: 0 0 9px rgba(235, 191, 75, .55); }
main { margin-left: 262px; min-width: 0; }
body > main > header {
  min-height: 76px;
  height: auto;
  padding: 14px clamp(22px, 3vw, 46px);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(201, 216, 208, .8);
  box-shadow: 0 4px 18px rgba(18, 58, 48, .035);
  backdrop-filter: blur(16px);
}
.breadcrumb { color: #778b84; font-size: 10px; letter-spacing: 1.25px; font-weight: 700; }
.breadcrumb b { color: #173c34; font-weight: 700; font-size: 13px; }
.headerActions { gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.headerActions .badge { background: #f7edcf; color: #6e5015; border: 1px solid #ead8a4; }
.accountBar { background: rgba(255,255,255,.9); border-bottom: 1px solid #dce6e1; border-left: 3px solid #d5a13b; color: #24483d; }
.accountBar small { color: #5d7169; }
.accountLoading { background: rgba(9, 34, 29, .58); color: #f4f7f3; }
.accountLoading > div { padding: 26px; border: 1px solid rgba(227,195,120,.45); border-radius: 16px; background: #123b32; box-shadow: 0 24px 70px rgba(0,0,0,.27); }
.content { max-width: 1700px; padding: clamp(22px, 3vw, 42px) clamp(18px, 3vw, 44px) 0; }
.titleRow { margin-bottom: 23px; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', Inter, sans-serif; color: #173c34; }
h1 { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.14; letter-spacing: -1.5px; font-weight: 800; }
h2 { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.55px; line-height: 1.28; font-weight: 750; }
h3 { font-size: 15px; letter-spacing: -.2px; font-weight: 750; }
p { color: #5e716b; }
.eyebrow { color: #6c8178; font-size: 10px; letter-spacing: 1.5px; font-weight: 800; }

.primary, .secondary, .danger, .startButton {
  min-height: 42px;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 750;
}
.primary, .startButton {
  color: #fff;
  background: linear-gradient(135deg, #165243, #0e3932);
  border: 1px solid #286b55;
  box-shadow: 0 6px 16px rgba(16, 70, 56, .16), inset 0 1px rgba(255,255,255,.12);
}
.primary:hover, .startButton:hover { transform: translateY(-1px); background: linear-gradient(135deg, #1d654f, #12483d); box-shadow: 0 9px 20px rgba(16, 70, 56, .22); }
.secondary { color: #254a40; background: rgba(255,255,255,.93); border: 1px solid #ccdcd4; box-shadow: 0 2px 5px rgba(20, 55, 47, .04); }
.secondary:hover { border-color: #cba24b; background: #fffaf0; transform: translateY(-1px); }
.danger { border: 1px solid #efd5cd; background: #fff3ef; color: #934438; }
.badge { border-radius: 999px; padding: 6px 10px; font-size: 10px; font-weight: 750; }
.badge.green { background: #e4f3e8; color: #236243; border: 1px solid #c7e3cf; }
.badge.amber { background: #fff3d5; color: #77571a; border: 1px solid #ead8aa; }
.badge.red { background: #ffebe5; color: #9b4233; border: 1px solid #efcfc6; }

.hero, .startHere {
  position: relative;
  overflow: hidden;
  color: #f3f7f3;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(220, 173, 69, .2), transparent 22rem),
    linear-gradient(120deg, #164a3e, #0b2827 83%);
  border: 1px solid rgba(233, 199, 125, .35);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11, 43, 35, .13);
}
.hero h2, .startHere h2 { color: #fbfcfa; }
.hero p, .startHere p { color: #d0e0d7; }
.hero .eyebrow, .startHere .eyebrow { color: #e4c276; }
.hero .primary { color: #1b382f; background: linear-gradient(115deg, #f7e6b4, #d7aa50 55%, #f4d986); border: 1px solid #f0d68e; }
.startButton { background: linear-gradient(115deg, #f5e2ad, #d5a13b 55%, #f4d983); color: #263c32; border-color: #f0d68e; }
.hero:after { border-color: rgba(255, 232, 176, .08); }

.stat, .panel, .tankCard, .liveQuote, .setupTank, .marketCard, .googlePlacesResults {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--fp-card-shadow);
}
.panel, .tankCard { padding: clamp(18px, 2vw, 27px); }
.stat { padding: 20px; }
.stat .label, .stat .sub { color: #60756d; }
.stat strong { color: #153e34; }
.panelHead { margin-bottom: 18px; }
.marketCard { background: linear-gradient(145deg, #f9fbf8, #f0f6f3); }
.liveQuote { background: linear-gradient(155deg, #fff, #f4f8f6); transition: transform .18s ease, box-shadow .18s ease; }
.liveQuote:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(16, 48, 41, .11); }
.quotePrice { color: #143d34; font-variant-numeric: tabular-nums; }
.quoteMove { font-size: 14px; }
.quoteUp { color: #16734f; }
.quoteDown { color: #b34236; }
.quoteDetails { color: #6b7f77; }
.quoteDetails b { color: #23453c; font-size: 12px; }
.quoteTime, .quoteStamp { color: #61766d; font-size: 11px; }

.startHere { padding: clamp(22px, 3vw, 34px); margin-bottom: 24px; }
.startHere .startButton { box-shadow: 0 8px 22px rgba(2, 19, 16, .22); }
.privacyStrip, .contextHelp, .privacyPledge, .setupExplain {
  background: linear-gradient(115deg, #eaf4ed, #f5f8f4);
  border: 1px solid #d4e4d9;
  border-radius: 13px;
  color: #294b40;
}
.note, .note.warn, .sessionStatus { border-radius: 11px; }
.tableWrap { border: 1px solid #e1e9e5; border-radius: 12px; background: #fff; }
table { font-size: 13px; }
th { color: #526c62; background: #f1f6f3; font-weight: 750; }
td { border-bottom-color: #e7eeea; }
input, select, textarea {
  border: 1px solid #cbd9d2;
  border-radius: 9px;
  background: #fff;
  color: #173c34;
  min-height: 42px;
}
input:focus, select:focus, textarea:focus { border-color: #b78a30; box-shadow: 0 0 0 3px rgba(215, 170, 73, .18); outline: none; }
label { color: #38584d; font-size: 12px; font-weight: 750; }
.help, small, .tiny, .muted { color: #5e716b; }
.textButton { color: #23614c; font-size: 12px; }
.textButton:hover { color: #8a641d; text-decoration: underline; }
.empty { color: #596e66; }
.empty h2 { color: #173c34; }
dialog, .setupCard, .visualGuide { border-radius: 18px; border: 1px solid #cfdcd5; box-shadow: 0 28px 80px rgba(7, 35, 28, .24); }
dialog::backdrop { background: rgba(8, 29, 26, .55); backdrop-filter: blur(4px); }
#assistantLauncher {
  color: #1d352d;
  background: linear-gradient(115deg, #f5e2ad, #d5a13b 55%, #f5df9a);
  border: 1px solid #bd8b2c;
  box-shadow: 0 10px 30px rgba(20, 55, 41, .25), inset 0 1px rgba(255,255,255,.52);
}
#assistantLauncher:hover { transform: translateY(-2px); }
footer { color: #647970; border-top: 1px solid #dce6e1; }
footer a { color: #285e4d; font-weight: 700; }

#marketTicker {
  color: #f2f7f3;
  background: linear-gradient(105deg, #102f2b, #16493e 72%, #12392f);
  border: 1px solid rgba(226, 191, 107, .47);
  border-left: 4px solid #d5a13b;
  border-radius: 15px;
  box-shadow: 0 10px 26px rgba(13, 48, 39, .12);
}
.tickerHeading b, #tickerQuote { color: #fff; }
.tickerHeading span, #tickerQuote small { color: #c2d5cb; }
.tickerControls button { color: #f0e4c5; background: rgba(255,255,255,.08); border-color: rgba(236, 219, 172, .3); border-radius: 8px; }
.tickerControls button:hover { background: rgba(255,255,255,.15); }
.tickerControls a { color: #f1d78f; }
.actionHelp > summary { border-color: #d7b45d; color: #745514; background: #fff6dd; }

.eiaRetail { border-top: 3px solid #d0a145; }
.eiaRetail .eiaUp { color: #16734f; }
.eiaRetail .eiaDown { color: #b34236; }
.eiaRetail .eiaSourceLinks article { border-radius: 12px; background: #f8fbf9; }
.publicGuidance { margin: 18px 0 22px; padding: 18px; border: 1px solid #dce8e1; border-left: 3px solid #d3a13c; border-radius: 13px; background: linear-gradient(125deg, #f8fbf8, #f1f7f3); }
.publicGuidanceTop { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.publicGuidanceTop h3 { margin: 4px 0 0; }
.publicGuidance .help { margin: 8px 0; }
.publicGuidance ul { display: grid; gap: 7px; margin: 10px 0 2px; padding-left: 1.2rem; color: #34574a; }
.publicGuidance li { padding-left: 3px; }
.publicGuidance li::marker { color: #b17d24; }
.helpIcon { border-color: #d3b25e; color: #71521b; background: #fff8e8; }
.helpIcon:hover { background: #f8edce; transform: translateY(-1px); }

@media (min-width: 1500px) {
  body > aside { width: 278px; }
  main { margin-left: 278px; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  body > aside { width: 220px; padding: 22px 13px 16px; }
  main { margin-left: 220px; }
  .content { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 700px) {
  /* The desktop main margin must reset after the theme's base rule. */
  body > main { margin-left: 0; width: 100%; min-width: 0; }
  body > aside { width: 100%; padding: 14px 16px 10px; border-right: 0; border-bottom: 1px solid rgba(231, 203, 139, .25); }
  body > aside .brandWordmark { width: 174px; }
  body > aside .brand::after { width: 44px; height: 44px; -webkit-mask-size: 44px 44px; mask-size: 44px 44px; }
  body > aside nav { margin-top: 12px; padding-bottom: 3px; }
  body > aside nav .navCategory { color: #e5c46f; }
  body > aside nav button, body > aside nav button span { color: #e0eae4; }
  body > aside nav button.active, body > aside nav button[aria-current="page"] { background: rgba(255,255,255,.1); }
  body > main > header { min-height: 58px; padding: 10px 14px; }
  .headerActions { gap: 6px; }
  .headerActions .secondary { min-height: 38px; padding: 7px 10px; }
  .content { padding: 22px 14px 0; }
  .titleRow { align-items: flex-start; }
  .hero, .startHere { border-radius: 15px; }
  #marketTicker { margin: 0 12px; }
  .panel, .tankCard { padding: 17px; }
  .publicGuidance { padding: 15px; }
  .publicGuidanceTop { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Each field carries a persistent, local motto; original help and validation stay visible. */
.inputMotto{margin:5px 0 13px;padding:0 0 0 10px;border-left:2px solid #c59330;color:#49675d;font-size:.78rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.morningStart{margin:0 0 22px;padding:22px;border:1px solid #d8e3da;border-radius:18px;background:linear-gradient(135deg,#f4f8f2,#fffdf7)}
.morningStartHead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.morningStartHead h2{margin:4px 0 5px;color:#173b32}.morningStartHead p,.marketOptIn p{margin:0;color:#63766e;font-size:.9rem}.morningTime{white-space:nowrap;padding:7px 10px;border-radius:20px;background:#e6efe8;color:#285244;font-size:.78rem;font-weight:700}
.morningSteps{list-style:none;padding:0;margin:17px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.morningSteps li{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid #e1e8e1;border-radius:12px;background:#fff}.morningSteps li>div{flex:1;min-width:0}.morningSteps li b,.marketOptIn b{display:block;color:#24463b;font-size:.9rem}.morningSteps li small{display:block;margin-top:3px;color:#6a7b73;font-size:.77rem;line-height:1.35}.morningSteps .textButton{white-space:nowrap;font-size:.8rem}.morningNumber{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#153d33;color:#fff;font-weight:700;font-size:.8rem}
.marketOptIn{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e7d6a9;border-radius:13px;background:#fff9e9}.marketOptIn .eyebrow{margin-bottom:4px;color:#806326}.marketOptIn .primary{white-space:nowrap}
@media(max-width:700px){.morningStart{padding:16px}.morningStartHead{gap:8px}.morningTime{font-size:.7rem}.morningSteps{grid-template-columns:1fr}.morningSteps li{flex-wrap:wrap}.morningSteps li .textButton{margin-left:38px}.marketOptIn{align-items:flex-start;flex-direction:column}}
.accountBar .accountBrand{background:#123c33;border-radius:10px}

#pushNotifications { min-width: 0; overflow-wrap: anywhere; }
#pushNotifications .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#pushNotifications [data-push-action] { white-space: normal; min-height: 46px; }
#pushSetupStatus { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .content, #view, .panel, .twoCol > *, .formGrid > * { min-width: 0; }
  .formGrid { grid-template-columns: minmax(0, 1fr); }
  #pushNotifications .actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  #pushNotifications [data-push-action] { width: 100%; text-align: center; }
  #pushNotifications .secondary[href] { display: inline-block; max-width: 100%; white-space: normal; }
}


.notificationRoutePrompt{position:fixed;z-index:90;right:16px;bottom:82px;width:min(450px,calc(100vw - 32px));padding:18px;border:2px solid #c99c38;border-radius:12px;background:#fffdf4;box-shadow:0 8px 35px #173f3530}.notificationRoutePrompt p{margin:0 0 12px}.notificationRoutePrompt button{max-width:100%;white-space:normal}
