/* Mamore final refinement: original brand palette and workflows untouched */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
:where(button,a,input,select,textarea,[role="button"]){touch-action:manipulation;scroll-margin-block:4rem}
:where(button,a,input,select,textarea,[role="button"]):focus-visible{outline:3px solid #FEAA03;outline-offset:3px}
:where(dialog,.dialog){max-height:92dvh;overflow-y:auto;overscroll-behavior:contain}
:where(.shell__content,.workspace,.content,#tracking-map){min-width:0}
:where(#tracking-map svg){max-width:100%}
@media(max-width:760px){
 :where(.shell__content,.content){padding-bottom:max(5rem,calc(env(safe-area-inset-bottom) + 4rem))}
 :where(dialog,.dialog){max-width:calc(100vw - 20px);max-height:90dvh}
 :where(input,select,textarea){font-size:max(16px,1rem)}
 :where(.form-grid,.grid)>*{min-width:0}
}
@media(prefers-reduced-motion:reduce){:where(.shell__content,#tracking-map){scroll-behavior:auto}}
@media print{:where(.no-print,.sidebar,.shell__topbar,.m24-tools){display:none!important}}
