.hm{--hm-navy:#0d1d34;--hm-orange:#f15e00;--hm-yellow:#fed91a;--hm-line:#e0e5eb;max-width:1160px;margin:0 auto;color:var(--hm-navy);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;padding:20px 24px 36px;background:#f6f8fa;border-radius:12px}.hm *{box-sizing:border-box}.hm [hidden]{display:none!important}.hm h2{font-size:clamp(27px,3vw,38px);font-weight:750;line-height:1.2;margin:0 0 12px;color:var(--hm-navy)}.hm h3{font-size:23px;line-height:1.35;color:var(--hm-navy)}.hm p{padding:0;margin:0 0 18px}.hm a{color:#a94200;text-decoration:underline}.hm-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--hm-line);padding:6px 0 24px}.hm-brand{display:flex;gap:22px;align-items:center;font-size:18px;font-weight:700}.hm .hm-brand img{width:128px;height:64px;object-fit:contain;background:white;border-radius:8px}.hm-account{font-size:12px;overflow-wrap:anywhere;color:#526073}.hm-tabs{display:flex;gap:8px;margin:24px 0 30px}.hm button{cursor:pointer;font-family:inherit;font-weight:650;line-height:1.3;border-radius:8px;transition:background .15s}.hm button:disabled{cursor:wait;opacity:.55}.hm-tabs button{border:0;background:transparent;padding:12px 16px;font-size:14px;color:#526073}.hm-tabs .hm-active{background:var(--hm-navy);color:white}.hm-eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;color:#a94200}.hm .hm-muted{color:#526073}.hm-small{font-size:12px}.hm-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:28px;margin-top:30px}.hm-card{background:white;border:1px solid var(--hm-line);border-radius:12px;padding:30px;box-shadow:0 5px 18px #0d1d3405}.hm .hm-step{font-size:11px;letter-spacing:.1em;font-weight:750;color:#687588;margin-bottom:18px}.hm label,.hm-field{display:block;font-size:13px;font-weight:650;margin-bottom:20px}.hm input:not([type=checkbox]),.hm select,.hm textarea{display:block;width:100%;font:inherit;font-weight:400;color:var(--hm-navy);border:1px solid #c6cfda;background:white;border-radius:7px;min-height:46px;padding:10px 12px;margin-top:7px;box-shadow:none}.hm input[readonly]{background:#f5f7f9}.hm textarea{height:90px;resize:vertical}.hm input:focus,.hm select:focus,.hm textarea:focus,.hm button:focus-visible{outline:3px solid #fed91a;outline-offset:2px}.hm-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hm .hm-check{display:flex;align-items:flex-start;gap:12px;font-weight:400;line-height:1.6;color:#526073}.hm-check input{accent-color:var(--hm-navy);width:18px;height:18px;flex-shrink:0;margin-top:2px}.hm-button,.hm a.hm-button{display:inline-block;background:var(--hm-navy);border:0;border-bottom:3px solid var(--hm-orange);color:white;text-decoration:none;padding:14px 22px;font-size:15px}.hm-wide{width:100%}.hm-button:hover{background:#1b3659}.hm-secondary{background:white;border:1px solid #bec9d6;color:var(--hm-navy);padding:11px 16px;font-size:13px}.hm #hm-retry{margin-bottom:20px}.hm-estimate{background:var(--hm-navy);color:white;border-radius:12px;padding:30px;position:relative;overflow:hidden}.hm-estimate:before{content:"";height:5px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,var(--hm-orange) 72%,var(--hm-yellow) 72%)}.hm-estimate .hm-eyebrow{color:#dce5f1;margin-top:5px}.hm-estimate strong{display:block;font-size:clamp(38px,4vw,54px);line-height:1.2;font-weight:750;margin:8px 0 12px}.hm-estimate>p:not(.hm-eyebrow){font-size:12px;color:#c6d0e0}.hm #hm-rate{display:inline-block;padding:7px 12px;color:var(--hm-yellow);background:#ffffff13;border-radius:20px;font-weight:650;font-size:13px;margin:8px 0 24px}.hm-total-line{display:flex;justify-content:space-between;border-top:1px solid #ffffff20;padding:12px 0;font-size:12px}.hm-estimate .hm-small{margin-top:18px;margin-bottom:0}.hm-aside{padding:26px 10px}.hm-aside p,.hm-aside a{font-size:13px}.hm-notice{background:#e8f5ed;border:1px solid #bedec9;padding:14px 18px;border-radius:8px}.hm-error{background:#fff0eb;color:#973717;border-color:#e9b6a3}.hm-toolbar{display:flex;gap:18px;align-items:flex-end}.hm-toolbar label{flex:1}.hm-toolbar button{margin-bottom:20px}.hm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.hm-stats>div{background:white;border:1px solid var(--hm-line);border-radius:10px;padding:20px}.hm-stats span{display:block;font-size:12px;color:#526073}.hm-stats strong{font-size:26px}.hm-table-wrap{overflow:auto}.hm table{width:100%;border-collapse:collapse;font-size:12px;border:0}.hm th{text-align:left;color:#526073;font-size:11px}.hm td,.hm th{padding:14px 10px;border:0;border-bottom:1px solid var(--hm-line);vertical-align:top;white-space:pre-line}.hm td:nth-last-child(-n+2){white-space:pre}.hm #hm-empty{text-align:center;color:#526073;padding:20px}.hm-footer{border-top:1px solid var(--hm-line);margin-top:32px;padding-top:20px;color:#667487;font-size:11px}.hm-address{position:relative}.hm .hm-suggestions{position:absolute;z-index:99;top:100%;left:0;right:0;max-height:260px;overflow:auto;list-style:none!important;margin:3px 0 0!important;padding:0!important;background:white;border:1px solid #bcc8d7;border-radius:6px;box-shadow:0 12px 22px #0d1d3420;font-weight:400}.hm-suggestions li{padding:11px 13px;border-bottom:1px solid var(--hm-line);font-size:13px;cursor:pointer;line-height:1.45}.hm-suggestions li:hover,.hm-suggestions li[aria-selected=true]{background:#fff4d1}.hm gmp-place-autocomplete{display:block;width:100%;margin-top:7px;color-scheme:light}@media(max-width:760px){.hm{padding:18px 14px}.hm-header{align-items:flex-start;flex-direction:column;gap:6px}.hm-grid{grid-template-columns:1fr}.hm-card,.hm-estimate{padding:22px}.hm-toolbar{flex-wrap:wrap}.hm-toolbar label{min-width:40%}.hm-toolbar button{margin-top:-12px}.hm-stats{gap:8px}.hm-stats>div{padding:12px}.hm-stats strong{font-size:20px}.hm-tabs{gap:2px}.hm-tabs button{padding:11px;font-size:13px}.hm-row{grid-template-columns:1fr;gap:0}}
.hm-purchase-editor{background:#f6f8fa;border:1px solid var(--hm-line);border-radius:8px;padding:18px;margin-bottom:20px}.hm-purchase-summary{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid var(--hm-line);padding:12px;border-radius:8px;margin:12px 0;font-size:13px;overflow-wrap:anywhere}.hm-purchase-summary button{flex-shrink:0}.hm-purchase-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.hm #hm-purchase-status{font-size:13px}.hm #hm-expense-history{margin-top:28px}.hm-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.hm input[type=file]{font-size:12px;max-width:100%}@media(max-width:760px){.hm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-purchase-summary{align-items:flex-start;flex-direction:column}}

/* Keep theme typography and intrinsic input widths from squeezing the form. */
.hm{box-sizing:border-box}
.hm h2,.hm h3{font-family:inherit;text-transform:none;letter-spacing:normal;padding:0}
.hm .hm-grid>* , .hm .hm-row>* , .hm .hm-toolbar>* , .hm .hm-brand{min-width:0}
.hm .hm-brand span{line-height:1.3}
.hm label,.hm-field{font-size:14px}
.hm input:not([type=checkbox]),.hm select,.hm textarea{min-width:0;max-width:100%;font-size:16px;min-height:48px}
.hm input[type=date]{appearance:none;-webkit-appearance:none}
.hm input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.5em}
.hm button,.hm a.hm-button{min-height:44px;touch-action:manipulation}
.hm gmp-place-autocomplete{min-width:0;max-width:100%;font-size:16px}
.hm .hm-account,.hm .hm-muted,.hm #hm-route-status,.hm #hm-client-totals,.hm #hm-pdf-links{overflow-wrap:anywhere}
.hm input[type=file]{font-size:14px;line-height:1.5;padding:8px;overflow:hidden}
.hm input[type=file]::file-selector-button{font:inherit;padding:8px 10px;margin-right:8px;border:0;border-radius:5px;background:#e9eef4;color:var(--hm-navy)}
.hm .hm-stats strong{display:block;overflow-wrap:anywhere;line-height:1.3}

@media(max-width:980px){
  body.help-mileage-page #main-content .container{width:calc(100% - 24px);max-width:1160px;padding-top:22px}
  body.help-mileage-page #main-content .main_title{font-size:22px;line-height:1.25;letter-spacing:0;text-transform:none;padding:0;margin-bottom:18px}
  .hm{padding:18px 12px 24px;border-radius:12px;width:100%;min-width:0}
  .hm .hm-header{padding:0 0 16px;gap:10px}
  .hm .hm-brand{gap:12px;font-size:17px;width:100%}
  .hm .hm-brand img{width:96px;height:48px;flex-shrink:0}
  .hm .hm-account{font-size:12px;line-height:1.5}
  .hm .hm-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;margin:18px 0 24px}
  .hm .hm-tabs button{padding:10px 6px;font-size:13px;min-width:0;white-space:normal}
  .hm h2{font-size:27px;line-height:1.15;margin-bottom:10px;overflow-wrap:break-word}
  .hm h3{font-size:22px;line-height:1.3}
  .hm .hm-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:22px}
  .hm .hm-card,.hm .hm-estimate{padding:20px 16px}
  .hm .hm-row{grid-template-columns:minmax(0,1fr);gap:0}
  .hm label,.hm .hm-field{margin-bottom:20px;line-height:1.45}
  .hm .hm-small{font-size:13px;line-height:1.5}
  .hm .hm-check{font-size:13px;gap:10px;line-height:1.5}
  .hm .hm-check input{width:22px;height:22px;margin:0}
  .hm .hm-purchase-editor{padding:16px 12px;margin-left:-4px;margin-right:-4px}
  .hm .hm-purchase-actions{display:grid;grid-template-columns:1fr;width:100%}
  .hm #hm-add-purchase{width:100%}
  .hm .hm-purchase-summary{gap:10px}
  .hm .hm-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
  .hm .hm-toolbar label{min-width:0;width:100%}
  .hm .hm-toolbar button{margin:0 0 18px;width:100%}
  .hm .hm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hm .hm-stats>div{padding:14px 12px}
  .hm .hm-stats span{font-size:12px;line-height:1.4;margin-bottom:7px}
  .hm .hm-stats strong{font-size:22px}
  .hm .hm-estimate strong{font-size:42px}
  .hm .hm-aside{padding:22px 4px 0}
  .hm .hm-footer{font-size:12px;line-height:1.6;margin-top:24px;padding-top:18px}
}

/* Keep the same table headings for assistive technology; show labelled cards on phones. */
@media(max-width:600px){
  .hm .hm-table-wrap{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
  .hm table,.hm tbody{display:block;width:100%}
  .hm thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .hm tbody tr{display:block;background:white;border:1px solid var(--hm-line);border-radius:10px;margin-bottom:12px;padding:6px 14px}
  .hm tbody td{display:grid;grid-template-columns:minmax(0,100px) minmax(0,1fr);gap:12px;padding:12px 0;font-size:14px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
  .hm tbody td::before{content:attr(data-label);font-size:11px;font-weight:700;line-height:1.5;color:#526073;white-space:normal}
  .hm tbody td:last-child{border-bottom:0}
  .hm tbody td a{display:inline-block;min-height:44px}
  .hm #hm-empty,.hm #hm-no-expenses{padding:20px 12px;background:white;border:1px solid var(--hm-line);border-radius:10px}
  .hm #hm-pdf-links a{display:block;padding:14px;background:white;border:1px solid var(--hm-line);border-radius:8px;font-size:14px;line-height:1.6}
}
@media(max-width:360px){
  body.help-mileage-page #main-content .container{width:calc(100% - 16px)}
  .hm{padding:16px 10px 22px}
  .hm .hm-card,.hm .hm-estimate{padding:18px 12px}
  .hm .hm-brand{font-size:16px;gap:10px}
  .hm .hm-tabs button{font-size:12px;padding:10px 4px}
  .hm h2{font-size:25px}
  .hm tbody td{grid-template-columns:minmax(0,86px) minmax(0,1fr);gap:10px}
}
