/* Shared 12.60 geometry. No permission or document changes. */
:root { --ui-header-r755: 80px; --ui-bottom-r755: 112px; }
html { scroll-padding-block: calc(var(--ui-header-r755) + 12px) calc(var(--ui-bottom-r755) + 18px); }
#appContent :is(button,input,select,textarea,summary,[tabindex]) { scroll-margin-block: calc(var(--ui-header-r755) + 18px) calc(var(--ui-bottom-r755) + 24px); }
#appContent :is(button,summary) { max-width: 100%; min-width: 0; overflow-wrap: break-word; }
#appContent :is(button,summary) > :is(span,strong,b) { min-width: 0; }
#appContent a:is(.primary-button,.secondary-button,.danger-button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 14px; border-radius: 8px; white-space: normal; overflow-wrap: break-word; line-height: 1.4; text-align: center; }
#appContent #guideContent a.secondary-button { background: #eff6fd; color: #17334d; border: 1px solid #7394b2; }
body:not(.theme-light) #appContent #guideContent a.secondary-button { background: #1d3c57; color: #eff7ff; border-color: #8aaccd; }
#appContent summary { min-height: 44px; padding-block: 10px; }
body #appContent #toaPanel details > summary { display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
#appContent .work-order-role-hint { min-height: 44px; padding: 8px 10px; border: 1px solid #8aa5bd; border-radius: 8px; background: #eff6fd; color: #254965; line-height: 1.4; }
body:not(.theme-light) #appContent .work-order-role-hint { background: #1d3c57; color: #e5f3ff; border-color: #8aaccd; }
#appContent .work-order-copy-reference { height: auto; min-height: 60px; line-height: 1.4; }
#appContent [data-datop-origin] { min-height: 44px; padding: 10px 14px; border: 1px solid #7394b2; border-radius: 8px; background: #eff6fd; color: #17334d; line-height: 1.4; white-space: normal; }
body:not(.theme-light) #appContent [data-datop-origin] { background: #1d3c57; color: #eff7ff; border-color: #8aaccd; }
#appContent .favorite-button { min-width: 44px; min-height: 44px; flex-shrink: 0; }
body.theme-light #appContent .active-time-button:not(.has-value) { color: #4d6076; }
@media(min-width:980px) { body #appContent.app-shell.desktop-layout { padding-top: calc(var(--ui-header-r755) + 14px) !important; } }
@media(min-width:980px) { body #appContent.app-shell.desktop-layout:has(> #clientIdentityPanel.app-route-active) > #activeWorkOrdersPanel.app-route-active { grid-row: 3 !important; } }
#appContent :is(.section-title,.summary-heading,.admin-users-heading,.admin-heading) { flex-wrap: wrap; gap: 12px; }
#appContent :is(.section-title,.admin-users-heading,.admin-heading) > div { min-width: 0; }
#appContent :is(.admin-user-actions,.admin-filter-actions,.team-panel-actions-r723,.dialog-actions) { flex-wrap: wrap; gap: 10px; }
#appContent :is(.admin-user-actions,.admin-filter-actions,.team-panel-actions-r723,.dialog-actions) > button { white-space: normal; line-height: 1.4; height: auto; }
#appContent .admin-picker-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 12px; align-items: end; min-width: 0; }
#appContent .admin-picker-row > :is(input,select,label,button) { width: 100%; min-width: 0; max-width: 100%; margin: 0; }
#appContent :is(.admin-picker-row,.admin-filter-actions) button { min-height: 48px; white-space: normal; line-height: 1.4; height: auto; }
#appContent .admin-cert-range { grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 12px; min-width: 0; }
#appContent .admin-filter-actions { display: flex; align-items: stretch; }
#appContent .admin-filter-actions > button { flex: 1 1 180px; }
#appContent #exportButton { width: 100%; min-height: 50px; white-space: normal; line-height: 1.4; }
#appContent #adminTeamsPanel { grid-column: 1 / -1; }
#appContent #adminTeamsPanel > header { position: sticky; top: calc(var(--ui-header-r755) + 8px); z-index: 4; padding: 14px; border: 1px solid #7394b2; border-radius: 12px; background: #f4f9ff; color: #17334d; box-shadow: 0 3px 12px #17334d15; }
#appContent #adminTeamsPanel > header > div { min-width: 0; }
#appContent #adminTeamsPanel > header .eyebrow { color: #115490; }
#appContent #adminTeamsPanel > header > button { min-height: 50px; flex: 0 1 auto; white-space: normal; }
#appContent .team-card-r723 > header { position: static; }
body:not(.theme-light) #appContent #adminTeamsPanel > header { background: #142d43; color: #eff7ff; border-color: #8aaccd; }
body:not(.theme-light) #appContent #adminTeamsPanel > header .eyebrow { color: #9cceff; }
#appContent .datop-scope-r755 { display: grid; gap: 12px; padding: 14px; border: 1px solid #7394b2; border-radius: 12px; background: #eff6fd; color: #17334d; margin-bottom: 14px; min-width: 0; }
#appContent .datop-scope-r755[hidden] { display: none; }
#appContent .datop-scope-r755 label { display: grid; gap: 7px; min-width: 0; }
#appContent .datop-scope-r755 :is(select,fieldset) { min-width: 0; width: 100%; }
#datopFarmChoicesR755 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 8px; }
#appContent #datopFarmChoicesR755 label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px; border: 1px solid #7394b2; border-radius: 8px; background: #fff; color: #17334d; }
#datopFarmChoicesR755 input { flex: 0 0 22px; width: 22px; height: 22px; }
#datopFarmChoicesR755 span { min-width: 0; overflow-wrap: break-word; }
#datopFarmChoicesR755 small { display: block; }
#appContent .toa-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
#appContent .toa-filters > label { flex: 1 1 170px; min-width: 0; }
#appContent .toa-filters > button { flex: 1 1 220px; min-height: 50px; white-space: normal; }
body:not(.theme-light) #appContent .datop-scope-r755 { background: #142d43; color: #eff7ff; border-color: #8aaccd; }
body:not(.theme-light) #appContent #datopFarmChoicesR755 label { background: #1d3c57; color: #eff7ff; border-color: #8aaccd; }
body #appContent .work-order-changes-body { grid-template-columns: minmax(0,1fr); padding: 10px; gap: 14px; }
body #appContent .work-order-changes-body > .work-order-late-guest { margin: 0; }
body #appContent .work-order-changes-body details > summary { width: auto; display: flex; align-items: center; gap: 10px; min-width: 0; line-height: 1.45; }
body #appContent .work-order-changes-body details > summary::after { flex: 0 0 auto; margin-left: auto; }
body #appContent .work-order-changes-body :is(p,small,label,legend) { min-width: 0; overflow-wrap: break-word; }
body #appContent .work-order-active-notes-heading > strong { color: #17334d; }
body:not(.theme-light) #appContent .work-order-active-notes-heading > strong { color: #eff7ff; }
body #appContent .break-submit-bar-r718 { top: calc(var(--ui-header-r755) + 8px); bottom: auto; }
@media(max-width:700px) {
 #appContent :is(.admin-user-actions,.dialog-actions) > button { flex: 1 1 160px; }
 #appContent #adminTeamsPanel > header { padding: 10px; gap: 10px; }
 #appContent #adminTeamsPanel > header > button { flex: 1 1 160px; }
 #appContent .team-card-r723 { padding: 12px; }
 #appContent :is(.admin-toolbar,.admin-users,.admin-user-filter-label) { min-width: 0; max-width: 100%; }
 body #appContent .user-work-order.work-order-card-expanded { padding-inline: 8px; }
 body #appContent #activeWorkOrdersPanel { padding-inline: 8px; }
 body #appContent .work-order-changes-body { padding: 6px; gap: 12px; }
 body #appContent .work-order-changes-details .work-order-changes-body > :is(.work-order-active-notes,.work-order-team-leave,.work-order-late-member,.work-order-breaks-field,.work-order-change-approval,.work-order-late-guest) { padding: 10px; border-left-width: 3px; }
 body #appContent .work-order-changes-body details > summary { margin: -10px -10px 0; padding: 12px 10px; font-size: 1rem; }
 body #appContent .work-order-changes-body .work-order-guest { padding: 10px 0 0; border: 0; background: transparent; }
 body #appContent .work-order-changes-body .work-order-late-member > div:first-child { padding-bottom: 8px; margin-bottom: 0; }
 body #appContent .work-order-changes-body .work-order-late-member p { margin-block: 0; line-height: 1.5; }
}
@media(forced-colors:active) { #appContent :is(.datop-scope-r755,#datopFarmChoicesR755 label,#adminTeamsPanel > header) { background: Canvas; color: CanvasText; border-color: CanvasText; } }
