.uh-history{margin-top:20px;color:#0b3454}.uh-history [hidden]{display:none!important}.uh-history .uh-ride-picker{display:grid;gap:8px;max-width:700px;font-weight:700;margin-bottom:18px}.uh-history select,.uh-history input,.uh-history button{font:inherit;min-height:44px;color:#0b3454;border:1px solid #b9cddc;border-radius:8px;padding:9px 12px;background:#fff;max-width:100%}.uh-history button{cursor:pointer;font-weight:750;background:#eaf4fb}.uh-history button:disabled{opacity:.6;cursor:default}.uh-history form{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:18px;background:#f3f8fc;border:1px solid #d4e2eb;border-radius:12px}.uh-history form label{display:grid;gap:7px;min-width:150px;font-weight:700}.uh-history .uh-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}.uh-history .uh-status{font-size:14px;line-height:1.6}.uh-history .uh-note{line-height:1.6;color:#34536b}.uh-history .uh-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.uh-history .uh-metrics>div{display:grid;gap:8px;padding:18px;border:1px solid #d4e2eb;border-radius:12px;background:#fff}.uh-history .uh-metrics strong{font-size:25px;color:#147bb5}.uh-history .uh-metrics small{line-height:1.5;color:#456176}.uh-history .uh-scroll{overflow:auto;max-width:100%;border:1px solid #d4e2eb;border-radius:10px;margin:14px 0 26px;max-height:650px}.uh-history table{border-collapse:collapse;width:100%;min-width:560px;color:#0b3454;background:#fff}.uh-history caption{text-align:left;padding:14px;font-weight:750}.uh-history th,.uh-history td{padding:12px 14px;text-align:left;border-bottom:1px solid #e1eaf0;white-space:nowrap}.uh-history th{background:#eaf4fb;position:sticky;top:0}.uh-history td:last-child{white-space:normal;min-width:150px}.uh-history .uh-chart{background:#f7fbfe;border:1px solid #d4e2eb;border-radius:12px;padding:12px;max-width:100%;margin:16px 0}.uh-history svg{display:block;width:100%;height:auto}.uh-history h2{font-size:28px}.uh-history h3{margin:28px 0 12px}.uh-history .uh-advanced{border:1px solid #d4e2eb;border-radius:10px;padding:16px;margin:20px 0}.uh-history summary{font-weight:750;cursor:pointer}.uh-history :focus-visible{outline:3px solid #147bb5;outline-offset:3px}.hub-tabs:has(#hub-tab-history){grid-template-columns:repeat(3,1fr)!important}.hub-tabs #hub-tab-history{flex:1}@media(max-width:650px){.uh-history .uh-metrics{grid-template-columns:1fr}.uh-history form{display:grid;grid-template-columns:1fr;padding:14px}.uh-history form label{min-width:0}.uh-history h2{font-size:24px}.uh-history .uh-scroll{max-height:480px}.hub-tabs:has(#hub-tab-history) button{padding:12px 6px!important;min-width:0;font-size:15px!important}}

/* UAL: consistent native-control sizing and label baselines, including Safari. */
#hub-panel-history .uh-history form,#rv-history .uh-history form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;gap:16px;align-items:end}
#hub-panel-history .uh-history form label,#rv-history .uh-history form label{display:grid;grid-template-rows:24px 48px;gap:8px;min-width:0;align-items:start;line-height:24px;margin:0}
#hub-panel-history .uh-history select,#hub-panel-history .uh-history input,#hub-panel-history .uh-history button,#rv-history .uh-history select,#rv-history .uh-history input,#rv-history .uh-history button{box-sizing:border-box;height:48px;min-height:48px;max-height:48px;line-height:normal;font:inherit;font-size:16px;margin:0;vertical-align:middle}
#hub-panel-history .uh-history select,#hub-panel-history .uh-history input,#rv-history .uh-history select,#rv-history .uh-history input{display:block;width:100%;min-width:0;padding:10px 12px;border:1px solid #b9cddc;border-radius:8px;background-color:#fff;color:#0b3454}
#hub-panel-history .uh-history select,#rv-history .uh-history select{-webkit-appearance:none;appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230b3454' stroke-width='2'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-repeat:no-repeat!important;background-size:16px!important}
#hub-panel-history .uh-history input[type=date],#rv-history .uh-history input[type=date]{-webkit-appearance:none;appearance:none;text-align:left}
#hub-panel-history .uh-history form>button,#rv-history .uh-history form>button{align-self:end;white-space:nowrap;padding:10px 16px;font-weight:750}
#hub-panel-history .uh-history .uh-ride-picker,#rv-history .uh-history .uh-ride-picker{grid-template-rows:24px 48px;gap:8px;line-height:24px}
@media(max-width:1100px){#hub-panel-history .uh-history form,#rv-history .uh-history form{grid-template-columns:repeat(2,minmax(0,1fr))}#hub-panel-history .uh-history form>button,#rv-history .uh-history form>button{justify-self:start}}
@media(max-width:600px){#hub-panel-history .uh-history form,#rv-history .uh-history form{grid-template-columns:minmax(0,1fr)}#hub-panel-history .uh-history form>button,#rv-history .uh-history form>button{justify-self:stretch;width:100%}}
