@media(min-width:768px) and (max-width:1199px){h1{font-size:2rem}.section{margin-block:3rem}}
@media(max-width:767px){h1{font-size:1.75rem;line-height:1.3;letter-spacing:0}h2{font-size:1.5rem}.page-header{align-items:stretch;flex-direction:column;margin-bottom:var(--space-lg)}.page-header__actions,.page-header__actions .app-button{width:100%}.section-header{align-items:stretch;flex-direction:column}.section{margin-block:var(--space-lg)}.app-card,.skeleton{padding:var(--space-md)}.data-view__desktop{display:none}.data-view__mobile{display:block}.dialog-backdrop{align-items:end;padding:0}.dialog-shell{width:100%;max-height:calc(100vh - var(--layout-topbar-height));border-radius:var(--radius-container) var(--radius-container) 0 0}.dialog-shell__footer{flex-direction:column-reverse}.dialog-shell__footer .app-button{width:100%}.breadcrumbs li:not(:last-child):not(:first-child){display:none}.definition-list{grid-template-columns:1fr}.definition-list dd:not(:last-child){padding-bottom:var(--space-sm);border-bottom:1px solid var(--color-border-subtle)}}

/* Mobile dialogs and form controls remain usable above notches and virtual keyboards. */
@media(max-width:767px){.dialog-backdrop{padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-left:env(safe-area-inset-left)}.dialog-shell{max-height:calc(100dvh - var(--layout-topbar-height) - env(safe-area-inset-top))}.dialog-shell__header{padding:var(--space-md)}.dialog-shell__body{padding:var(--space-md)}.dialog-shell__footer{padding-bottom:max(var(--space-md),env(safe-area-inset-bottom))}input,select,textarea{scroll-margin-bottom:calc(var(--layout-bottom-nav-height) + 8rem)}.page-header__content,.page-header__actions,.section-header>*{min-width:0}h1,h2,h3{overflow-wrap:anywhere}}
@media(max-width:767px){.page-header h1{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
