/* Shared layout adaptation. Existing screen compositions and content stay intact. */
.screen,.screen>*{min-width:0}
.screen :where(.next-home-grid,.next-report-columns,.next-finance-layout,.workday-next-layout,.layout)>*{min-width:0;max-width:100%}
.screen :where(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0}
.screen :where(.text-field,.field-label,.field){min-width:0}
.coffee-responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:var(--line) transparent;scrollbar-width:thin}
.coffee-responsive-table:focus-visible{outline:2px solid var(--sand);outline-offset:3px}
@media(min-width:1280px){body:has(#content-view:not([hidden])) .app-main{max-width:1440px}}
@media(min-width:1051px){.next-home-grid,.next-report-columns,.workday-next-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.next-finance-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}}
@media(max-width:1050px){.next-home-grid,.next-report-columns,.next-finance-layout,.workday-next-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){body:has(#content-view:not([hidden])) .app-main{max-width:none}.screen :where(.next-page-heading,.section-title,.workday-page-head,.recipe-screen-head,.invoice-reference-heading)>div{min-width:0}.screen :where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:max(16px,1rem)}}
