/* V191.5: compact measures and safer detail positioning */
#measureV35{padding:14px!important}
#measureV35 h2{margin:2px 0 12px!important;font-size:1.5rem}
#measureV35 h3{margin:14px 0 8px!important;font-size:1.12rem}
#measureFormV35{display:block}
#measureFormV35>p{margin:8px 0!important}
#measureFormV35 .grid{gap:9px!important}
#measureFormV35 label{margin:4px 0!important}
#measureFormV35 input,#measureFormV35 select{margin-top:3px!important}
#measureFormV35 .m35-switch{margin:7px 0!important;gap:8px!important}
#measureFormV35 .m35-switch button{padding:9px 12px!important;min-height:42px!important}
#measureFormV35 .m36-resource{margin:7px 0!important}
#measureFormV35 .m36-resource>summary{padding:10px 12px!important;min-height:42px}
#measureFormV35 .v90-template-picker{margin:0 0 8px!important;padding:0!important}
#measureFormV35 #v90TemplateMsg:empty,#measureFormV35 #v87Status:empty{display:none}
#measureFormV35 .m68-rates{margin:10px 0!important}
#measureFormV35 #m35Selected{margin:6px 0!important}
#measureFormV35 .v1915-closed{display:none!important}
#measureFormV35 .m35-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#measureFormV35 .m35-actions button{flex:1 1 160px;min-width:0;padding:11px 9px!important}
#measureFormV35 #m1915Discard{background:#fff4f0!important;color:#963c2e!important;border:1px solid #d9afa6!important}
#v89MachineDetails>summary{display:flex!important;flex-wrap:wrap;align-items:center;gap:3px 9px}
#v89MachineDetails .m1915-selected{display:block;flex:1 0 100%;font-size:.77rem;font-weight:500;color:#476a54;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#fm73TypeList .crop-master-row{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:7px 2px!important}
#fm73TypeList .fm1915-delete{flex:none;padding:7px 11px!important;font-size:.78rem;background:#fff4f0!important;color:#963c2e!important;border:1px solid #dfb7af!important;min-height:36px}
#v56Detail{top:calc(145px + env(safe-area-inset-top,0px))!important;max-height:calc(100dvh - 245px - env(safe-area-inset-top,0px))!important;scroll-margin-top:150px}
.mobile-bottom-nav .v1914-side-action{flex-direction:column;gap:2px!important}
.mobile-bottom-nav .v1914-side-action>span:first-child{font-size:23px!important;line-height:1.1}
.mobile-bottom-nav .v1914-side-action>span:last-child{font-size:clamp(10px,2.8vw,14px)!important}
@media(max-height:700px){#v56Detail{top:115px!important;max-height:calc(100dvh - 200px)!important}}
