body:has(.search-workspace) .aurora-business-health,
body:has(.search-workspace) .metrics-grid { display:none; }
.search-workspace { width:100%; max-width:1120px; margin:0 auto; display:grid; gap:20px; }
.search-creditbar { display:flex; align-items:center; flex-wrap:wrap; gap:16px 26px; padding:16px 20px; border:1px solid #d6e2f2; border-radius:14px; background:#f4f8ff; }
.search-balance { display:flex; align-items:baseline; gap:10px; margin-right:auto; }
.search-balance strong { font-size:28px; color:#102d51; }
.search-balance span { font-size:14px; color:#4d6480; }
.search-creditbar details { position:relative; }
.search-workspace summary { cursor:pointer; color:#234d7c; font-weight:750; }
.search-creditbar details>p,.search-credit-history>div { position:absolute; z-index:12; right:0; top:28px; width:min(360px,75vw); max-height:300px; overflow:auto; padding:18px; background:white; border:1px solid #dce5f1; border-radius:12px; box-shadow:0 12px 38px #173b6326; font-size:13px; line-height:1.6; margin:0; }
.search-credit-history p { margin:8px 0; }
.search-credit-history strong { color:#173d6a; }
.search-main,.search-result { padding:28px!important; border-radius:16px; background:#fff; border:1px solid #dce5f1; }
.search-main .section-heading { display:block; margin:0 0 24px; }
.search-main h2 { font-size:25px; margin:6px 0 10px; color:#102d51; }
.search-main .section-heading p { max-width:780px; margin:0; font-size:14px; line-height:1.65; color:#546a84; }
.search-modes { display:inline-flex; flex-wrap:wrap; gap:6px; background:#eff4fb; padding:5px; border-radius:12px; margin-bottom:22px; }
.search-modes button { border:0; background:transparent; color:#506683; padding:10px 22px; border-radius:9px; font:inherit; font-weight:750; cursor:pointer; }
.search-modes button.active { color:white; background:linear-gradient(135deg,#244f80,#102d51); box-shadow:0 4px 12px #102d5126; }
.search-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:600px; margin-bottom:20px; }
.search-workspace label { display:grid; gap:8px; margin:0; min-width:0; }
.search-workspace label>span { color:#314f72; font-size:13px; font-weight:750; }
.search-workspace input,.search-workspace select { width:100%; min-height:46px; margin:0; border-radius:10px; border:1px solid #d5dfeb; background:#fbfcff; color:#15385f; padding:10px 12px; font:inherit; font-size:14px; box-sizing:border-box; }
.search-workspace input:disabled { background:#edf3fb; opacity:1; color:#365577; }
.search-route { display:grid; grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr); gap:16px; align-items:end; padding:20px; border-radius:12px; background:#f6f9fd; border:1px solid #e2eaf5; }
.search-route-arrow { padding-bottom:12px; text-align:center; color:#7187a1; font-size:22px; }
.search-submit-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-top:26px; padding-top:22px; border-top:1px solid #e8edf5; }
.search-cost { display:grid; gap:5px; }
.search-cost strong { font-size:18px; color:#15385f; }
.search-cost span { font-size:12px; color:#647b95; }
.search-submit-row .primary-button { min-height:48px; padding:12px 24px; border-radius:11px; }
.search-footnote { margin:18px 0 0; line-height:1.6; color:#647b95; font-size:12px; }
.search-notice { background:#edf4fe; border:1px solid #d5e4f8; color:#244f80; padding:12px 16px; border-radius:10px; font-size:13px; line-height:1.6; }
.search-notice.error { background:#fff7ed; border-color:#f1d3a9; color:#8a4b0b; }
.search-result-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.search-result-heading h2 { margin:0; font-size:20px; color:#15385f; }
.search-result-date { color:#647b95; font-size:13px; margin:10px 0 20px; }
.search-result-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.search-result-grid>div { display:grid; gap:12px; padding:16px; background:#f4f8fe; border:1px solid #e0e9f5; border-radius:10px; }
.search-result-grid span { color:#5b718c; font-size:12px; }
.search-result-grid strong { color:#173d6a; font-size:26px; font-variant-numeric:tabular-nums; }
.search-result-details { margin-top:22px; padding-top:18px; border-top:1px solid #e4ebf5; font-size:13px; color:#526b88; line-height:1.7; }
@media(max-width:700px){
 .search-main,.search-result { padding:20px!important; }
 .search-dates { grid-template-columns:1fr; max-width:none; }
 .search-route { grid-template-columns:1fr; padding:16px; }
 .search-route-arrow { padding:0; transform:rotate(90deg); }
 .search-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .search-submit-row .primary-button { width:100%; }
 .search-creditbar { align-items:flex-start; }
 .search-creditbar details[open] { flex-basis:100%; width:100%; }
 .search-creditbar details>p,.search-credit-history>div { position:static; width:auto; max-width:100%; box-sizing:border-box; margin-top:12px; }
}
