/* V178: owner-reported responsive overflow and saved-plan visibility repairs. */
body.v78-atlas #history .v78-history{display:grid!important;grid-template-columns:minmax(320px,350px) minmax(0,1fr)!important;gap:18px!important;align-items:start!important;max-width:100%!important}
body.v78-atlas #history .v78-history-intro,body.v78-atlas #history .v78-history-stream{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.v78-atlas #history .v78-history-intro .vault-hero{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding:18px 16px!important}
body.v78-atlas #history .v78-history-intro .vault-hero>div{width:100%!important;min-width:0!important}
body.v78-atlas #history .v78-history-intro .vault-hero h1{font-size:clamp(29px,2.25vw,39px)!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;letter-spacing:-.035em!important;line-height:1.12!important;margin:4px 0!important}
body.v78-atlas #history .v78-history-intro .history-kmz-export{align-self:flex-start!important}
body.v78-atlas #history .v78-history-stream .history-saved-plan-card{margin:0 0 15px!important;min-width:0!important;width:100%!important;overflow:visible!important}
body.v78-atlas #history .history-saved-plan-card>summary{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;white-space:normal!important}
body.v78-atlas #history #historySavedTripPlans{display:grid!important;gap:10px!important;min-width:0!important}
body.v78-atlas #history #historySavedTripPlans .saved-trip-item{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
body.v78-atlas #trips .v78-trip-side .trip-intelligence-brief,
body.v78-atlas #trips .v78-trip-side .trip-brief-section,
body.v78-atlas #trips .v78-trip-side .trip-split,
body.v78-atlas #trips .v78-trip-side .recCards,
body.v78-atlas #trips .v78-trip-side .recCard{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.v78-atlas #trips .v78-trip-side .trip-split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
body.v78-atlas #trips .v78-trip-side .trip-split>div,
body.v78-atlas #trips .v78-trip-side .trip-split>div+div{display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;padding:0!important;border-left:0!important;overflow:visible!important}
body.v78-atlas #trips .v78-trip-side .recCard,
body.v78-atlas #trips .v78-trip-side .recCards *{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;box-sizing:border-box!important}
body.v78-atlas #trips .v78-trip-side :is(.trip-brief-section,.trip-brief-header,.trip-brief-footer,.saved-trip-item) :is(p,b,strong,span,small){overflow-wrap:anywhere!important;white-space:normal!important}
body.v78-atlas #trips .trip-water-matches:not([hidden]){display:block!important;position:relative!important;z-index:25!important;max-height:min(310px,45vh)!important;overflow-y:auto!important;background:var(--ui-surface)!important;border:1px solid var(--ui-accent)!important;border-radius:8px!important;padding:6px!important}
body.v78-atlas #trips .trip-water-search-shell{min-width:0!important;overflow:visible!important}
body.v78-atlas #trips .trip-water-matches .v177-trip-matches{max-height:none!important;overflow:visible!important}
@media(max-width:950px){body.v78-atlas #history .v78-history{grid-template-columns:minmax(0,1fr)!important}body.v78-atlas #history .v78-history-intro .vault-hero h1{font-size:clamp(29px,6vw,42px)!important}}
@media(max-width:390px){body.v78-atlas #history .v78-history-intro .vault-hero h1{font-size:29px!important}}

body.v78-atlas #history .v178-saved-plans-stat{grid-column:1/-1!important;min-width:0!important;text-align:center!important;border-top:1px solid var(--ui-accent-border)!important}
body.v78-atlas #history .v178-saved-plans-stat b{font-variant-numeric:tabular-nums!important}
