/* Compact daily flow; keep every field reachable without covering mobile content. */
.dy-details{margin:12px 0;padding:12px;border:1px solid #dce0e4;border-radius:8px;background:#fff}.dy-details>summary{cursor:pointer;font-weight:600;padding:5px 0}.dy-details>.panel{margin:12px 0 0;border:0;padding:8px 0}.dy-secondary{margin-top:14px}.dy-last{white-space:pre-line;padding:10px;background:#f4f6f8;border-radius:6px;font-size:.9rem}.dy-last small{font-size:.8rem}.dy-current h2{font-size:1.2rem}.dy-current>p{margin:8px 0}.dy-appointment{padding:10px;border-left:3px solid #2676bc;background:#eaf3ff}.dy-tabs{display:none}.dy-filter-status{font-size:.85rem}.ag-legend button[aria-pressed=true],.mg-filters button[aria-pressed=true]{outline:3px solid #c95b0e;outline-offset:2px;font-weight:700}.ag-legend button{min-height:40px}.dy-context-link{margin:8px 0}.dy-details[open]>.en-history{margin-top:10px}.dy-current button{white-space:normal}#dy-catalog-search{width:100%;margin:8px 0}.dy-quote-tools h2{font-size:1.1rem}
@media(max-width:700px){
 .entry-tabs{display:none!important}.dy-tabs{display:block;position:sticky;top:0;z-index:3;background:#f3f4f6;margin:0;padding:6px 0;font-size:12px}.dy-tabs select{margin:2px 0 0;font-size:16px;min-height:44px;width:100%}
 .wf-drawer-top{position:static!important;padding:8px!important}.wf-drawer-top .row{gap:6px}.wf-drawer-top button{font-size:12px;min-height:36px;padding:8px}.wf-drawer-bottom{position:sticky!important;bottom:0;gap:6px;padding:8px!important}.wf-drawer-bottom button{font-size:13px;padding:10px}.wf-drawer-bottom [data-wf=save-current]{display:none}.wf-drawer-bottom [data-focus=save-close]{flex:1}.wf-drawer-bottom .dash-save-more{font-size:13px}
 .dy-current{padding:14px!important}.dy-current h2{font-size:1rem}.dy-current>p{font-size:.95rem;line-height:1.4}.dy-current>.row>button{width:100%;min-height:44px}.dy-details{padding:10px}.mg-filters button{flex:1 1 auto!important}.ag-legend{gap:8px}.ag-legend button{font-size:12px;white-space:normal;flex:1 1 40%}.dy-details .grid{grid-template-columns:1fr}
 /* Report rows become labeled cards rather than a table wider than the viewport. */
 .dy-report,.dy-report tbody{display:block;width:100%;min-width:0!important}.dy-report thead{display:none}.dy-report tr{display:block;padding:10px;border-bottom:1px solid #dce0e4}.dy-report td{display:flex;justify-content:space-between;gap:12px;white-space:normal!important;overflow-wrap:anywhere;width:auto!important;padding:6px 0!important}.dy-report td::before{content:attr(data-label);font-weight:600;flex:0 1 45%}.dy-report td:first-child{display:block}.dy-report td:first-child::before{display:block;margin-bottom:5px}.dy-report td button{white-space:normal;max-width:100%}.en-sheet-scroll:has(.dy-report){min-width:0;max-width:100%}
}
#process-entry-summary[hidden]{display:none!important}.dy-updated{color:#58616c}.dy-record-title{font-size:1.4rem;margin:10px 0}.dy-current+.dy-details{margin-top:10px}@media(max-width:700px){.dy-record-title{font-size:1.12rem;margin:6px 0;overflow-wrap:anywhere}#dirty-label{font-size:11px;margin:6px 0}.dy-current{margin-top:10px!important}.dy-updated{font-size:11px}.dy-details .toolbar{flex-wrap:wrap}}
/* 1.11.4: clear secondary actions and recoverable page navigation. */
body>header,#wf-global{position:relative!important;top:auto!important}.dy-return-tools{position:fixed;right:12px;top:10px;z-index:24;background:#30343b;color:#fff;border:2px solid #fff;box-shadow:0 2px 8px #0003;padding:9px 13px;min-height:42px}.dy-return-tools[hidden]{display:none}.dy-action,#app button:not(.primary):not(.active):not(.mg-title),#app summary{color:#263747}.dy-action{background:#e8f0f7!important;border:1px solid #657e96!important;font-weight:600;min-height:44px}.dy-action.primary{background:#a94400!important;color:#fff!important;border-color:#a94400!important}.dy-caution{border:1px solid #a45b38!important;color:#783719!important;background:#fff6ef!important}button:focus-visible,summary:focus-visible{outline:3px solid #2469a0!important;outline-offset:3px}#app button{min-height:40px}#app button:disabled{opacity:.55;cursor:not-allowed}.dy-details>summary{border-radius:5px;background:#e8edf2;padding:10px;min-height:40px}.dy-work-description{white-space:pre-line;overflow-wrap:anywhere}.dy-task-title{margin:8px 0 14px;line-height:1.4;overflow-wrap:anywhere}#en-task-form{padding-bottom:0}#en-task-form .dy-task-footer{position:sticky;bottom:-1px;background:#fff;border-top:1px solid #aab6c1;z-index:4;padding:10px 0;margin-bottom:0;box-shadow:0 -5px 8px #fff}#en-task-form .dy-task-footer button{min-height:44px}.dy-report button{white-space:normal;overflow-wrap:anywhere;text-align:left}.dy-incident{white-space:pre-line;overflow-wrap:anywhere}.en-task:has(.dy-incident){border-left:4px solid #a8343a}#dy-payment-form label{color:#33434e;font-weight:600}
@media(max-width:700px){#en-task-form .dy-task-footer{gap:6px}#en-task-form .dy-task-footer button[type=submit]{flex:1 1 100%}.dy-return-tools{font-size:13px}#app .dy-action{min-height:44px}#app .co-cash button{width:100%}}
#app button[aria-pressed=true]{background:#354b61;color:#fff!important;border-color:#354b61}
/* RC3 M1: mobile controls stay legible and operable without disabling pinch zoom. */
@media(max-width:768px),(pointer:coarse){
 body button,#app button,body summary{min-height:44px;min-width:44px;}
 #app button,header button,.wf-drawer-top button,.wf-drawer-bottom button,.ag-legend button{font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;}
 .wf-drawer-top button{min-height:44px;}
 .wf-drawer-top .row,.wf-drawer-bottom,.row{flex-wrap:wrap;}
 #dirty-label,.dy-updated,.dy-tabs,.dy-last small,.hint,.muted,small{font-size:14px;line-height:1.4;}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:44px;}
 label.check{min-height:44px;display:flex;align-items:center;gap:8px;}
 summary{box-sizing:border-box;}
}
@media(max-width:768px),(pointer:coarse){
 body button,body summary,#app button,#dash-nav button,#dash-nav summary{min-height:44px!important;min-width:44px;}
 body.dash-office>header>button,#dash-nav .dash-more button,#process-back{font-size:14px;}
 body.dash-office #sync,body.dash-office #ag-account,.dash-hint,.dash-event small{font-size:14px;line-height:1.4;}
}
