/* Shared interaction rhythm: no page-slide, no geometry-changing hover effects. */
html{scrollbar-gutter:stable}
.workspace-main,[data-workspace-view]{min-width:0}
/* Page focus is for screen-reader navigation, not an outline around the entire panel. */
[data-workspace-view][tabindex="-1"]:focus,#workspaceTitle:focus{outline:none}
.workspace-menu a,.button,.text-button,.native-date-strip button,.db-pick,.db-supervisor,
.booking-days>button,.module-card{transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
.module-card:hover,.native-date-strip button:hover{transform:none}
.workspace-menu a:focus-visible,button:focus-visible,a.button:focus-visible,
select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #118d85;outline-offset:3px}
.workspace-menu a:focus-visible{outline-offset:-3px}
.native-heading,.db-title,.wb-heading,.feed-toolbar{min-width:0}
.native-heading>div,.db-title>div,.wb-heading>div{min-width:0}
.native-heading h1,.db-title h1,.wb-heading h2{overflow-wrap:anywhere}
.nova-hourly-clock{min-width:132px;justify-content:center}
.nova-hourly-clock.is-error{color:#97521e;background:#fff5e6;border-color:#e9c88c}
.toast{transition:opacity 160ms ease,transform 160ms ease}
/* Dialogs fade only. The surrounding page and focused input never move. */
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:laundry-dialog-in 160ms ease-out}
 dialog[open]::backdrop{animation:laundry-dialog-in 160ms ease-out}
}
@keyframes laundry-dialog-in{from{opacity:0}to{opacity:1}}
/* Respect OS accessibility preferences in every module, including legacy sheets. */
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
@media(max-width:760px){
 .native-heading,.db-title,.feed-toolbar{flex-wrap:wrap;gap:12px}
 .native-date-nav{flex-wrap:wrap}
 .app-header .header-right{min-width:0;max-width:100%}
}
@media print{html{scrollbar-gutter:auto}dialog[open]{animation:none}}
/* Phone header: two compact rows rather than a third row just for Help. */
@media(max-width:480px){
 .app-header,body.is-daily-page .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 10px;padding:8px 12px}
 .app-header .brand{grid-column:1 / 3;grid-row:1;min-width:0;gap:8px}
 .app-header .header-right{display:contents}
 .app-header .language-switch{grid-column:3;grid-row:1;margin:0;justify-self:end}
 .app-header #syncTop{grid-column:1;grid-row:2;justify-self:start}
 .app-header #logout{grid-column:2;grid-row:2}
 .app-header .page-help-bar{grid-column:3;grid-row:2;justify-self:end}
 .app-header #pageHelpButton{white-space:nowrap}
 .native-date-nav{flex-wrap:nowrap;gap:6px}
 .native-date-nav>label{min-width:0;flex:1}
 .native-date-nav input{min-width:0;width:100%;padding-left:8px;padding-right:8px}
 .native-date-nav>.button{padding-left:10px;padding-right:10px;flex:none}
}
