/* Page-local styles; shared Yenra styles remain unchanged. */
#fuel-cost{margin:1.5rem 0;padding:clamp(.8rem,3vw,1.5rem);border:2px solid #006b77;border-radius:12px;background:#f5fafb;color:#12324b;scroll-margin-top:1rem;overflow-wrap:anywhere}
#fuel-cost *{box-sizing:border-box}
#fuel-cost [hidden]{display:none!important}
#fuel-cost h3{margin:.2rem 0 .7rem;font-size:1.55rem;line-height:1.25}
#fuel-cost h4{margin:0 0 .6rem;font-size:1.1rem}
#fuel-cost .fc-kicker{margin:0;color:#35575f;font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
#fuel-cost .fc-small,#fuel-cost .fc-hint{font-size:.9rem;line-height:1.45;color:#35575f}
#fuel-cost .fc-hint{margin:.3rem 0 .8rem}
#fuel-cost .fc-workspace{display:grid;gap:1.2rem;align-items:start}
#fuel-cost .fc-workspace>*{min-width:0}
#fuel-cost label{display:block;font-weight:600;line-height:1.4;margin:.5rem 0 .3rem}
#fuel-cost input{width:100%;min-width:0;min-height:44px;padding:.5rem;font:inherit;color:#12324b;background:white;border:1px solid #597781;border-radius:5px}
#fuel-cost .fc-cases{display:grid;gap:.8rem}
#fuel-cost fieldset{min-width:0;margin:0;padding:.6rem .8rem .8rem;border:1px solid #9fbec6;border-radius:8px}
#fuel-cost legend{font-weight:700;padding:0 .3rem;color:#12324b}
#fuel-cost .fc-output{background:white;border:1px solid #9fbec6;border-radius:8px;padding:1rem}
#fuel-cost .fc-difference{font-size:1.2rem;line-height:1.4;font-weight:700}
#fuel-cost .fc-case-result{margin:1.1rem 0}
#fuel-cost .fc-bar-heading{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:0 0 .3rem}
#fuel-cost svg{display:block;width:100%;height:28px}
#fuel-cost .fc-detail{margin:.4rem 0 .2rem;font-weight:600;font-size:.95rem}
#fuel-cost .fc-case-result .fc-small{margin:.2rem 0}
#fuel-cost .fc-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}
#fuel-cost button{font:inherit;font-size:.95rem;font-weight:600;line-height:1.4;min-height:44px;padding:.55rem .75rem;border:2px solid #006b77;border-radius:6px;color:#005762;background:white;cursor:pointer}
#fuel-cost button[type=submit]{color:white;background:#006b77}
#fuel-cost button:disabled{color:#52646b;border-color:#9fb0b7;background:#edf2f4;cursor:default}
#fuel-cost :is(input,button,summary,a):focus-visible{outline:3px solid #a24f00;outline-offset:3px}
#fuel-cost [aria-invalid=true]{border:2px solid #a32a1e}
#fuel-cost .fc-field-error,#fuel-cost #fc-error{color:#912819;font-size:.95rem;font-weight:600}
#fuel-cost .fc-field-error:empty,#fuel-cost #fc-error:empty{display:none}
#fuel-cost .fc-method{margin-top:1rem;border-top:1px solid #bacfd5;padding-top:.8rem}
#fuel-cost summary{font-weight:700;cursor:pointer}
#fuel-cost li{margin:.5rem 0}
#fuel-cost .fc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:1000px){#fuel-cost .fc-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}
@media(min-width:520px){#fuel-cost .fc-cases{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{
  #fuel-cost form,#fuel-cost .fc-actions,#fuel-cost .fc-method,#fuel-cost .fc-sr-only{display:none!important}
  #fuel-cost{background:white;border:1px solid #597781;padding:.5rem}
  #fuel-cost .fc-workspace{display:block}
  #fuel-cost .fc-output{border:0;padding:0}
  body.fc-print .gridContainer>:not(article),body.fc-print article>:not(.energy-guide),body.fc-print .energy-guide>:not(#trip),body.fc-print #trip>:not(#fuel-cost){display:none!important}
  body.fc-print,body.fc-print .gridContainer,body.fc-print article{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:white!important}
  body.fc-print #fuel-cost{border:0;margin:0;padding:0;font:10pt/1.35 system-ui,sans-serif}
  body.fc-print #fuel-cost>:not(h3):not(#fc-print-record){display:none!important}
  body.fc-print #fc-print-record[hidden]{display:block!important}
  body.fc-print #fuel-cost h3{font-size:16pt}
  body.fc-print #fuel-cost h4{font-size:11pt;margin:.7rem 0 .3rem}
  body.fc-print #fuel-cost dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem 1rem}
  body.fc-print #fuel-cost dl>div,body.fc-print #fuel-cost .fc-case-result{break-inside:avoid}
  body.fc-print #fuel-cost dt{font-weight:700}
  body.fc-print #fuel-cost dd{margin:0}
  body.fc-print #fuel-cost .fc-case-result{margin:.5rem 0}
  body.fc-print #fuel-cost li{margin:.3rem 0}
  body.fc-print #fuel-cost svg{height:6mm;print-color-adjust:exact}
}
