/* Version 19: screenshot-led presentation changes. Budget values and storage are unchanged. */
.app-shell .topbar{gap:12px;padding:10px 18px}
.app-shell .brand-button{min-width:220px;gap:12px}
.app-shell .top-actions{gap:7px;min-width:0}
.app-shell .top-actions>.secondary-action{min-height:44px}
.app-shell .agm-working-context{padding:10px 14px;margin-bottom:12px}
.app-shell .agm-context-fields{margin-top:7px;gap:8px 16px}
.app-shell .agm-route-bar{padding:10px 16px}
.app-shell .agm-route-heading>strong{font-size:1rem}
.app-shell .agm-route-heading .action-row{gap:7px}
.app-shell .agm-route-heading button{min-height:44px}
.agm-journey-details{margin:4px 0}
.agm-journey-details>summary{display:list-item;width:fit-content;max-width:100%;min-height:44px;padding:11px 2px;cursor:pointer;font-size:.86rem;font-weight:700;color:var(--agm-route)}
.agm-journey-details>summary:focus-visible{outline:3px solid #be5a00;outline-offset:3px}
.agm-journey-details:not([open])>.agm-route-stations{display:none}
.agm-journey-details[open]>.agm-route-stations{margin:8px 0 10px}
.app-shell .agm-route-next{padding-top:9px;gap:9px}
.app-shell .agm-route-next .action-row{gap:7px}
.app-shell .agm-route-detour{padding:9px 12px}
.app-shell .agm-page-guidance{padding:7px 14px;gap:10px}
.app-shell .agm-sidebar .side-nav button{min-height:46px;padding-block:10px}
.app-shell .agm-nav-label{padding-top:10px!important}
.app-shell .input-library-page .section-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.app-shell .input-library-page .section-hero>div:first-child{flex:1 1 400px;min-width:0}
.app-shell .input-library-page .section-hero h1{font-family:Georgia,serif;font-size:clamp(1.7rem,2.5vw,2.5rem);line-height:1.15;font-weight:700;color:#19394d;margin:8px 0 10px}
.app-shell .input-library-page .section-hero p:not(.eyebrow){font-size:.94rem;line-height:1.5;color:#506674;max-width:850px}
.app-shell .input-library-page .hero-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:7px;background:#eef4f8;color:#506674;font-size:.8rem;overflow-wrap:anywhere}
.app-shell .shopping-list-panel>h2{font-family:Georgia,serif;font-size:1.7rem;line-height:1.2;font-weight:700;color:#19394d;margin:0 0 16px}
@media screen and (min-width:821px){
  .app-shell .workspace{padding-top:16px}
  .app-shell .agm-journey-details[open] .agm-route-stations button{min-height:76px}
}
@media screen and (max-width:820px){
  .app-shell .topbar{padding:10px 12px;gap:10px}
  .app-shell .brand-button{min-width:0}
  .app-shell .top-actions{justify-content:flex-start;width:100%}
  .app-shell .top-actions>.secondary-action{display:inline-flex;align-items:center;gap:6px}
  .app-shell .input-library-page .section-hero>div:first-child{flex-basis:100%}
}
@media screen and (max-width:760px){
  .app-shell .agm-working-context{padding:10px 12px}
  .app-shell .agm-context-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .app-shell .agm-route-bar{padding:10px 12px}
  .app-shell .agm-route-next .action-row{display:flex;flex-wrap:wrap;width:100%}
  .app-shell .agm-route-next .action-row>button{max-width:100%;white-space:normal;min-height:44px}
  .app-shell .agm-route-detour{align-items:flex-start}
  .app-shell .agm-route-detour button{max-width:100%;white-space:normal;min-height:44px}
  .app-shell .agm-journey-details[open] .agm-route-stations button{min-height:54px}
}
@media print{
  .app-shell .agm-working-context{padding:10px;border:1px solid #aaa}
  .agm-journey-details{display:none!important}
}
