/* Shared surfaces, adapted from the supplied calendar and restaurant references.
   The dock and safe-area layout intentionally retain their existing implementation. */
/* Dynamic Type bridge: generated by tools/dynamic-type-bridge.mjs. Do not edit by hand. */
.avatar{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.pill{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.ghostbtn,.primarybtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.person{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.amount{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.details h2{font-size:calc(1.375rem*var(--dsg-text-title,1))}
.info .key{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.account-list h3{font-size:calc(1.0625rem*var(--dsg-text-body,1))}
.workspace-heading>span{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.workspace-heading strong,.workspace-heading h1{font-size:calc(1.4375rem*var(--dsg-text-title,1))}
.workspace-content>p{font-size:var(--ui-subheadline)}
.account h1{font-size:var(--ui-large-title)}
.account h2{font-size:calc(1.375rem*var(--dsg-text-title,1))}
.account h3{font-size:calc(1.125rem*var(--dsg-text-body,1))}
.account .primarybtn{font-size:var(--ui-callout)}
.account .ghostbtn,.native-context{font-size:var(--ui-subheadline)}
.profile-control{font-size:var(--ui-subheadline)}
.account .account-list>li p{font-size:var(--ui-subheadline)}
.account .account-list>li small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.account label{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.account input:not([type=checkbox]),.account select,.account textarea{font-size:var(--ui-body)}
.account legend{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.account summary{font-size:var(--ui-callout)}
.account-message{font-size:var(--ui-subheadline)}
.overview-title h1{font-size:var(--ui-large-title)}
.overview-title p{font-size:var(--ui-callout)}
.overview-tile strong{font-size:var(--ui-large-title)}
.overview-tile>span{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.overview-section-heading h2{font-size:calc(1.375rem*var(--dsg-text-title,1))}
.overview-section-heading .ghostbtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.overview-object strong,.search-result strong,.profile-row strong{font-size:var(--ui-callout)}
.overview-object small,.search-result small,.profile-row small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.object-card-top strong{font-size:calc(1.125rem*var(--dsg-text-body,1))}
.object-card-address,.object-card-hours{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.object-status{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.native-info dt{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.native-info dd{font-size:var(--ui-callout)}
.shift-view-switch button{font-size:var(--ui-subheadline)}
.month-weekday{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.month-day small{font-size:calc(0.625rem*var(--dsg-text-note,1))}
.calendar-partial,.selected-date-summary p,.section-subtitle{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.selected-date-summary h2{font-size:calc(1.375rem*var(--dsg-text-title,1))}
.sheet-header h2{font-size:calc(1.25rem*var(--dsg-text-title,1))}
.sheet-body .profile-identity h1{font-size:calc(1.6875rem*var(--dsg-text-title,1))}
.profile-identity h1{font-size:calc(1.6875rem*var(--dsg-text-title,1))}
.profile-identity p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.profile-group>h2{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.search-group-title{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.empty-state{font-size:var(--ui-subheadline)}
.native-section-top p{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.staff-avatar{font-size:var(--ui-body)}
.staff-card-main strong{font-size:var(--ui-body)}
.staff-card-main small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.staff-card-state{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.native-empty h2,.native-empty h3{font-size:calc(1.25rem*var(--dsg-text-title,1))}
.native-empty p{font-size:var(--ui-subheadline)}
.staff-avatar.large{font-size:calc(1.5625rem*var(--dsg-text-title,1))}
.staff-detail-identity p{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.native-ledger li{font-size:var(--ui-subheadline)}
.native-ledger small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.native-choice-list strong{font-size:var(--ui-callout)}
.native-choice-list small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.finance-balance span{font-size:var(--ui-subheadline)}
.finance-balance strong{font-size:var(--ui-large-title)}
.finance-balance small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
@media(max-width:650px){.overview-section-heading h2{font-size:calc(1.25rem*var(--dsg-text-title,1))}}
.ios-menu button{font-size:var(--ui-subheadline)}
.object-brand{font-size:calc(0.6875rem*var(--dsg-text-note,1))!important}
.object-curator{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.object-card-top strong{font-size:calc(1.125rem*var(--dsg-text-body,1))!important}
.object-card-hours{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.object-status{font-size:calc(0.6875rem*var(--dsg-text-note,1))!important}
.restaurant-hero h2{font-size:calc(1.6875rem*var(--dsg-text-title,1))}
.restaurant-hero p{font-size:var(--ui-subheadline)}
.card-information small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.card-information strong{font-size:var(--ui-subheadline)}
.compact-actions button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.shift-detail-heading{font-size:var(--ui-subheadline)}
.worker-person strong{font-size:var(--ui-callout)}
.shift-worker-card p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.sheet-body form>label:not(.native-checkbox){font-size:calc(0.75rem*var(--dsg-text-note,1))}
.inline-search .search-group-title{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.search-hint{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.inline-search input{font-size:var(--ui-body)!important}
.system-toast{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.staff-sectors button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.object-multiselect-options label{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.finance-action>summary{font-size:var(--ui-subheadline)}
.workspace-content[data-tab=finance] .primarybtn,.workspace-content[data-tab=finance] .ghostbtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.workspace-content[data-tab=finance] .finance-balance strong{font-size:calc(2.375rem*var(--dsg-text-title,1))}
.workspace-content[data-tab=finance] .account-list h3{font-size:calc(1.0625rem*var(--dsg-text-body,1))}
.restaurant-hero h2{font-size:calc(1.6875rem*var(--dsg-text-title,1))}
#cover-form input[type=file]{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.account .primarybtn{font-size:var(--ui-subheadline)}
.account .ghostbtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.account input:not([type=checkbox]):not([type=file]),.account select,.account textarea{font-size:var(--ui-subheadline)!important}
.account input[type=search]{font-size:var(--ui-body)!important}
.native-field{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.staff-sectors button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.staff-card-main>strong{font-size:var(--ui-body)}
.staff-card-main>small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.staff-card-state{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.staff-object-chips>span{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.staff-detail-identity h2{font-size:calc(1.5rem*var(--dsg-text-title,1))}
.staff-detail-identity p{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.staff-summary-tiles strong{font-size:calc(1.3125rem*var(--dsg-text-title,1))}
.staff-summary-tiles small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.staff-detail-section h3{font-size:var(--ui-callout)}
.staff-object-row strong{font-size:var(--ui-subheadline)}
.staff-object-row small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.native-info dt{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.native-info dd{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.inline-search .search-group-title{font-size:calc(0.6875rem*var(--dsg-text-note,1))!important}
@media(max-width:430px){.staff-summary-tiles strong{font-size:calc(1.1875rem*var(--dsg-text-title,1))}}
@media(pointer:coarse),(max-width:650px){.account input:not([type=checkbox]):not([type=file]),.account select,.account textarea{font-size:var(--ui-body)!important}}
.shift-view-switch button,.staff-sectors button{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.notification-device{font-size:var(--ui-subheadline)}
@media(max-width:650px){.account input:not([type=checkbox]),.account select,.account textarea{font-size:var(--ui-body)!important}}
@media(max-width:650px){.staff-sectors button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}}
.filter-arrow{font-size:calc(1.5rem*var(--dsg-text-title,1))}
.staff-detail-identity .staff-avatar.large{font-size:calc(1.75rem*var(--dsg-text-title,1))}
.photo-crop>p{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
@media(max-width:480px){.staff-detail-actions .ghostbtn{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}}
.recent-object-art{font-size:var(--ui-subheadline)}
.staff-detail-actions .ghostbtn{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.staff-rate-row{font-size:var(--ui-subheadline)}
.staff-rate-row small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.payroll-period h2,.clock-card h2,.attendance-list h2{font-size:calc(1.125rem*var(--dsg-text-body,1))}
.payroll-dates label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.payroll-dates input{font-size:var(--ui-body)!important}
.period-total strong{font-size:calc(1.875rem*var(--dsg-text-title,1))}
.period-total small,.clock-card p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.payroll-rows strong{font-size:var(--ui-subheadline)}
.payroll-rows small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.payroll-rows b{font-size:var(--ui-subheadline)}
.period-confirm>span{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.period-confirm .primarybtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.clock-card small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.clock-card form label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.attendance-list article strong{font-size:var(--ui-subheadline)}
.attendance-list article small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.attendance-status{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.review-actions button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.overview-object strong{font-size:var(--ui-callout)}
.overview-object small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.account .account-actions>button{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.account-actions>button span{font-size:calc(1.125rem*var(--dsg-text-body,1))}
.context-action-list>button{font-size:var(--ui-subheadline)!important}
.context-card>small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.context-card h3{font-size:calc(1.3125rem*var(--dsg-text-title,1))}
.context-card p{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.security-settings h3{font-size:calc(1.0625rem*var(--dsg-text-body,1))}
.security-settings label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.security-settings .primarybtn{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.login-requests h3{font-size:var(--ui-body)}
.login-requests article>p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.compact-actions button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.context-actions-caption{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.profile-app-about>p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.weekday-picker legend{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.weekday-picker button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}
.split-rates label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.finance-tabs button{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.finance-filters label{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.finance-filters select,.finance-filters input{font-size:var(--ui-body)!important}
.finance-extra>summary{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.staff-filters label{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.staff-filters select{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.work-checkin small,.workflow-row small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.workflow-row button,.work-checkin button{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
.incident-state{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.home-shift-card h3{font-size:calc(1.125rem*var(--dsg-text-body,1))}
.home-shift-status{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.home-shift-foot{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.presence-label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.shift-count{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.shift-person-row>.worker-person>strong{font-size:var(--ui-body)}
.shift-person-avatar{font-size:var(--ui-body)}
.shift-worker-card>p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.shift-menu-caption{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.account .shift-menu-row{font-size:var(--ui-subheadline)}
.notification-event span{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.account .inbox-clear{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.finance-records>summary{font-size:var(--ui-subheadline)}
.account :is(.restaurant-departments,.service-tabs)>button{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.shift-count{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.availability-object,.availability-form label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.availability-empty p,.availability-footnote{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.availability-dependencies summary{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.upcoming-shift-group>summary{font-size:var(--ui-subheadline)}
.upcoming-shift-group>summary span{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.hospitality-object{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.hospitality-panel select,.hospitality-form select,.hospitality-form input:not([type=checkbox]),.hospitality-form textarea,.hospitality-toolbar input{font-size:var(--ui-body)}
.hospitality-toolbar .glass-control,.hospitality-section-heading .glass-control{font-size:calc(1.5rem*var(--dsg-text-title,1))}
.category-strip button{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.compact-switch{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.allergen-chips small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.hospitality-section-heading small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.promotion-symbol{font-size:calc(1.25rem*var(--dsg-text-title,1))}
.offer-state{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.promotion-card h3{font-size:calc(1.0625rem*var(--dsg-text-body,1))}
.promotion-card p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.promotion-card footer{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.promotion-card footer small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.hospitality-footnote{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.hospitality-empty h3{font-size:var(--ui-body)}
.hospitality-empty p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.stock-actions button{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.stock-document-history>summary,.ingredient-picker>summary{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.stock-document-row strong{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.stock-document-row small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.document-state{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.hospitality-form>label,.hospitality-form-grid>label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.hospitality-editor-actions button{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.quiet-danger{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.hospitality-editor-actions .quiet-danger{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.ingredient-picker>div>label{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.ingredient-picker p{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.hospitality-form .switch-label{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.switch-label>span small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.document-banner strong{font-size:var(--ui-subheadline)}
.document-banner small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.count-table strong{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.count-table small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.count-table b{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.stock-warning{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.stock-detail-quantity{font-size:calc(2.25rem*var(--dsg-text-title,1))}
.stock-detail-quantity small{font-size:var(--ui-body)}
.menu-detail-price{font-size:calc(1.75rem*var(--dsg-text-title,1))}
.menu-detail-category{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.menu-item-detail p,.promotion-detail p{font-size:var(--ui-subheadline)}
.work-add{font-size:calc(1.5rem*var(--dsg-text-title,1))}
.work-card strong{font-size:var(--ui-body)}
.work-card small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.work-status{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.work-tabs>button{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.staff-detail-actions>button{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important}
@media(max-width:360px){.work-tabs>button{font-size:calc(0.75rem*var(--dsg-text-note,1))}}
@media(max-width:360px){.native-section-top>button{font-size:calc(0.75rem*var(--dsg-text-note,1))!important}}
.job-picker-options h4{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.account .native-section-top>.glass-control{font-size:calc(1.5rem*var(--dsg-text-title,1))}
.nav-center-intro{font-size:var(--ui-subheadline)}
.nav-center-filters label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.nav-center-filters input,.nav-center-filters select{font-size:var(--ui-body)}
.nav-center-object{font-size:var(--ui-subheadline)}
.nav-center-group h3{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.nav-center-row strong{font-size:var(--ui-subheadline)}
.nav-center-row small{font-size:calc(0.75rem*var(--dsg-text-note,1))}
@media(max-width:500px){.nav-center-row small{font-size:calc(0.75rem*var(--dsg-text-note,1))}}
.published-menu-heading h3{font-size:calc(1.1875rem*var(--dsg-text-title,1))}
.published-menu-heading p,.published-menu-source{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.published-menu-card strong{font-size:calc(0.8125rem*var(--dsg-text-note,1))}
.published-menu-card small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.dining-panel label{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.dining-panel :is(input,select,textarea){font-size:var(--ui-body)}
.dining-item strong{font-size:var(--ui-callout)}
.dining-item small{font-size:calc(0.6875rem*var(--dsg-text-note,1))}
.dining-item p{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.dining-item b{font-size:var(--ui-subheadline)}
.dining-pos-note{font-size:calc(0.75rem*var(--dsg-text-note,1))}
.dining-total{font-size:calc(1.0625rem*var(--dsg-text-body,1))}
/* End of Dynamic Type bridge. */
:root{--workspace-shadow:0 5px 22px #202b3d05;--surface-shadow:0 5px 22px #202b3d05;--surface-coral:#b2422e}
html[data-theme=dark]{--workspace-shadow:0 6px 24px #00000018;--surface-shadow:0 6px 24px #00000018;--surface-coral:#ff9c85}
.account :is(.account-card,.production-object-card,.staff-card,.home-shift-card,.account-list>li,.work-card,.work-checkin,.workflow-row,.nav-center-group,.nav-center-rows,.incident-row,.overview-object,.profile-rows,.search-result-list,.published-menu-card,.shift-worker-card,.context-card,.promotion-card,.stock-document-row,.attendance-list,.clock-card){background:var(--workspace-panel)!important;border:1px solid var(--workspace-line)!important;border-radius:24px!important;box-shadow:var(--surface-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.account :is(.production-object-card,.staff-card,.home-shift-card,.work-card,.overview-object){overflow:hidden}
.account :is(.production-object-card,.staff-card,.home-shift-card,.account-card)::before{display:none!important}
.account .native-sheet{border:1px solid var(--workspace-line)!important}
.account .workspace-content{padding-top:calc(var(--header-height,86px) + 18px)}
.account :is(.ghostbtn,.compact-add,.native-context){min-height:44px!important;border-radius:999px!important;background:var(--workspace-panel)!important;border:1px solid var(--workspace-line)!important;box-shadow:var(--surface-shadow)!important;padding:11px 16px!important;line-height:1.25!important;gap:8px!important;flex-shrink:0;white-space:normal;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.account .primarybtn{border-radius:999px!important;box-shadow:none!important;min-height:46px!important}
.account :is(input:not([type=checkbox]),select,textarea){border-radius:17px!important;background:var(--workspace-field)!important;min-height:46px;border:1px solid var(--workspace-control-border)!important;font-size:var(--ui-body)!important;color:var(--workspace-ink)!important}
.account :is(.category-strip,.shift-view-switch,.staff-sectors){gap:8px;padding:3px 0 8px;scrollbar-width:none}
.account :is(.category-strip,.shift-view-switch,.staff-sectors)>button{min-height:44px!important;padding:10px 17px!important;border-radius:999px!important;border:1px solid var(--workspace-line)!important;background:var(--workspace-panel)!important;color:var(--workspace-ink)!important;font-size:calc(0.8125rem*var(--dsg-text-note,1))!important;white-space:nowrap;box-shadow:none!important;flex:none}
.account :is(.category-strip,.shift-view-switch,.staff-sectors)>button[aria-pressed=true]{background:var(--workspace-ink)!important;color:var(--workspace-canvas)!important;border-color:var(--workspace-ink)!important}
.account :is(.account-actions,.workflow-actions,.dining-order-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.account :is(.account-actions,.workflow-actions,.dining-order-actions)>button{margin:0!important;min-height:44px;max-width:100%;flex:1 1 140px}

.account .overview-title h1{font-size:var(--ui-large-title);letter-spacing:-1.1px;margin:4px 0 6px}
.account .overview-title p{font-size:var(--ui-subheadline);margin-bottom:22px}
.account .overview-object-tiles{margin-bottom:20px}
.account .overview-tile{position:relative;background:var(--workspace-panel)!important;border:1px solid var(--workspace-line)!important;border-radius:24px;box-shadow:var(--surface-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:hidden;gap:10px}
.account .overview-tile strong{font-size:var(--ui-large-title);color:var(--workspace-ink)}
.account .overview-tile>span{font-size:calc(0.8125rem*var(--dsg-text-note,1));color:var(--workspace-muted);max-width:calc(100% - 32px)}
.overview-tile>.tile-symbol{position:absolute;right:14px;bottom:14px;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--surface-blue)}
.overview-tile:nth-child(2)>.tile-symbol{background:var(--surface-peach)}.overview-tile:nth-child(3)>.tile-symbol{background:var(--surface-lavender)}.overview-tile>.tile-symbol>.ui-icon{width:18px;height:18px}
.account .overview-section-heading{margin:26px 0 12px;align-items:center}.account .overview-section-heading h2{font-size:calc(1.25rem*var(--dsg-text-title,1));letter-spacing:-.5px}.account .overview-section-heading .ghostbtn{font-size:calc(0.75rem*var(--dsg-text-note,1));padding:9px 13px!important}
.account .overview-object{min-height:88px;padding:14px;gap:13px}.account .recent-object-art{width:58px!important;height:58px!important;border-radius:19px!important;flex:0 0 58px!important}.account .recent-object-art img{width:100%;height:100%;object-fit:cover}


.account .month-calendar{padding:18px!important;margin-top:14px}.month-calendar>label{display:grid;gap:7px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:12px 0 18px}.account .week-date{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;border:0;border-radius:14px;background:var(--workspace-panel);color:var(--workspace-ink);box-shadow:0 5px 14px #192c4a0b;min-width:0;min-height:76px}.week-date>span{display:block;padding:6px 1px;background:var(--surface-lavender);color:var(--workspace-accent);font-size:calc(0.6875rem*var(--dsg-text-note,1));font-weight:600}.week-date>strong{display:block;padding:9px 0 11px;font-size:calc(1.4375rem*var(--dsg-text-title,1));font-weight:600;line-height:1.2}.account .week-date.is-weekend>span{background:var(--surface-peach);color:var(--surface-coral)}.account .week-date.is-weekend>strong{color:var(--surface-coral)}.account .week-date[aria-pressed=true]{box-shadow:0 5px 16px #635edc25}.week-date>small{height:5px;width:5px;border-radius:50%;background:currentColor;align-self:center;margin:0 0 6px}.month-picker>summary{font-size:calc(0.8125rem*var(--dsg-text-note,1))!important;color:var(--workspace-muted)}.account .month-grid{gap:5px}.account .month-day{border-radius:12px!important;min-height:54px!important;padding:8px 3px!important}.account .month-day small{display:none}.selected-date-summary{margin:24px 0 12px}.selected-date-summary h2{font-size:calc(1.3125rem*var(--dsg-text-title,1));text-transform:capitalize}.selected-date-summary p{font-size:calc(0.75rem*var(--dsg-text-note,1));color:var(--workspace-muted)}
.account .workspace-content[data-tab=shifts] .shift-list-card{position:relative;margin-left:17px!important;border:0!important;border-radius:22px!important;padding:19px 18px 18px 22px!important;background:var(--surface-blue)!important;box-shadow:none!important;overflow:visible;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.account .workspace-content[data-tab=shifts] .shift-list-card:nth-child(3n+2){background:var(--surface-peach)!important}.account .workspace-content[data-tab=shifts] .shift-list-card:nth-child(3n){background:var(--surface-lavender)!important}.workspace-content[data-tab=shifts] .shift-list-card::before{display:block!important;content:'';position:absolute;left:-17px;top:0;bottom:-13px;width:2px;background:var(--workspace-line)}.workspace-content[data-tab=shifts] .shift-list-card::after{content:'';position:absolute;left:-21px;top:25px;width:8px;height:8px;border-radius:50%;background:var(--workspace-accent);box-shadow:0 0 0 4px var(--workspace-canvas)}.account .shift-list-card h3{font-size:calc(1.0625rem*var(--dsg-text-body,1))}.account .shift-list-card p{font-size:calc(0.75rem*var(--dsg-text-note,1))}.account .upcoming-shift-group{border:0}.account .dining-item{padding:17px 15px;border-radius:24px;background:var(--workspace-panel);border:1px solid var(--workspace-line);box-shadow:var(--surface-shadow);backdrop-filter:none;-webkit-backdrop-filter:none;gap:14px;align-items:center}.account .dining-item strong{font-size:var(--ui-callout);line-height:1.4;font-weight:600}.account .dining-item small{font-size:calc(0.75rem*var(--dsg-text-note,1));line-height:1.4}.account .dining-item p{font-size:calc(0.75rem*var(--dsg-text-note,1));line-height:1.5;margin:7px 0}.account .dining-item b{font-size:var(--ui-body);margin-top:8px}.dining-panel .category-strip{flex-wrap:nowrap;overflow-x:auto;display:flex}.dining-panel>.category-strip{margin-block:-2px}.account .dining-item.is-stopped{opacity:.65}
@media(min-width:700px){.overview-object-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-week{max-width:620px;margin-inline:auto}.account .week-date{min-height:86px}}
@media(max-width:360px){.calendar-week{gap:4px}.week-date>strong{font-size:calc(1.3125rem*var(--dsg-text-title,1))}.account .dining-item{padding:14px 12px;gap:10px}.account .overview-tile{padding:15px;min-height:116px}}
@media(prefers-reduced-motion:reduce){.account :is(.week-date,.dining-item,.overview-tile){transition:none}}

.selected-date-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.selected-date-summary h2{margin:0 0 5px}.selected-date-summary p{margin:0}.account .selected-date-summary>.compact-add{width:44px;min-width:44px;padding:0!important;font-size:calc(1.5rem*var(--dsg-text-title,1))}.startup-recovery{margin-top:25vh!important}

/* QA: keep the dark overview quiet and bring more timeline above the fold. */


.account .month-calendar>label select{margin:0!important;min-height:44px}


.account .calendar-week{margin:4px 0 10px}
.account .month-picker>summary{min-height:40px;padding-block:8px}

/* One control rhythm: equal touch height and balanced paired actions. */
.account :is(.shift-view-switch,.staff-sectors,.finance-tabs){height:auto;min-height:52px;padding:4px;gap:4px;align-items:stretch}
.account :is(.shift-view-switch,.staff-sectors,.finance-tabs)>button{height:auto!important;min-height:44px!important;max-height:none!important;margin:0!important;display:flex;align-items:center;justify-content:center;line-height:1.25;flex:1 1 0;min-width:0}
.account .finance-tabs>button{border-radius:999px!important}
.account .finance-tabs>button[aria-pressed=true]{background:var(--workspace-ink)!important;color:var(--workspace-canvas)!important;border-color:var(--workspace-ink)!important}
.account .compact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.account .compact-actions>button{min-height:44px!important;width:100%;height:100%;margin:0!important;white-space:normal;min-width:0;display:flex;align-items:center;justify-content:center;text-align:center}
.account :is(.objects-toolbar){display:flex;align-items:center;gap:10px}
.account :is(.objects-toolbar)>.compact-add{width:46px;min-width:46px;height:46px;padding:0!important;margin:0!important;align-self:center}
/* The measured root uses the visible viewport, so this inset is applied once. */
.account>.workspace-dock{bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 8px);max-width:470px;box-sizing:border-box;align-items:center}
.account .workspace-tabs{flex:1 1 auto;min-width:0}
.account .workspace-dock[data-compact=true] .workspace-tabs{flex:none}
.account .workspace-search{flex:0 0 auto;align-self:center}

.account .overview-section-heading .ghostbtn{min-height:44px!important}
.account .sheet-body form>.primarybtn{display:flex;align-items:center;justify-content:center;width:100%;margin:20px 0 0!important;min-height:48px!important}


.account>.workspace-header{background:linear-gradient(180deg,#f7f8fa 0,rgba(247,248,250,.92) env(safe-area-inset-top,0px),rgba(247,248,250,.55) 48%,rgba(247,248,250,.3) 100%)}
html[data-theme=dark] .account>.workspace-header{background:linear-gradient(180deg,#111111 0,rgba(17,17,17,.92) env(safe-area-inset-top,0px),rgba(17,17,17,.55) 48%,rgba(17,17,17,.3) 100%)}

/* Audit v3: explicit readable native/custom fields; dock geometry is unchanged. */
.account :is(select,textarea,input:not([type=checkbox]):not([type=radio])){color:var(--workspace-ink);-webkit-text-fill-color:var(--workspace-ink);background-color:var(--workspace-panel);border-color:var(--workspace-control-border);font-size:var(--ui-body);max-width:100%;box-sizing:border-box}
.account select{color-scheme:light}html[data-theme=dark] .account select{color-scheme:dark}
.account :is(input,textarea)::placeholder{color:var(--workspace-muted);opacity:1}
.account :is(input,select,textarea,button):focus-visible{outline:2px solid var(--workspace-accent);outline-offset:3px}
.account :is(input,select,textarea):disabled{opacity:1;color:var(--workspace-muted);-webkit-text-fill-color:var(--workspace-muted);background:var(--workspace-field);cursor:not-allowed}
.account :is(input,select,textarea)[aria-invalid=true]{border-color:var(--surface-coral);outline:1px solid var(--surface-coral)}
.account>.workspace-header{background:linear-gradient(180deg,var(--workspace-canvas),color-mix(in srgb,var(--workspace-canvas) 90%,transparent) 30%,color-mix(in srgb,var(--workspace-canvas) 35%,transparent))}
html[data-theme=dark] .account>.workspace-header{background:linear-gradient(180deg,var(--workspace-canvas),color-mix(in srgb,var(--workspace-canvas) 90%,transparent) 30%,color-mix(in srgb,var(--workspace-canvas) 35%,transparent))}
.account .week-entry{width:100%;min-height:44px;margin-bottom:16px!important}
.week-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--workspace-line);border-radius:16px;margin:18px 0}
.week-table{border-collapse:separate;border-spacing:0;width:100%;font-variant-numeric:tabular-nums;font-size:var(--ui-subheadline);background:var(--workspace-panel);color:var(--workspace-ink)}
.week-table th,.week-table td{padding:12px;white-space:nowrap;border-bottom:1px solid var(--workspace-line);text-align:right}
.week-table th:first-child{position:sticky;left:0;z-index:1;background:var(--workspace-panel);text-align:left;min-width:150px;max-width:220px;white-space:normal}
.week-table thead th{position:sticky;top:0;background:var(--workspace-field);z-index:2}.week-table thead th:first-child{z-index:3}
.week-table small{display:block;color:var(--workspace-muted);font-size:calc(0.8125rem*var(--dsg-text-note,1));font-weight:400}.week-mobile-rows{display:none}
.closed-week header p,.closed-week .section-subtitle{color:var(--workspace-muted);font-size:var(--ui-subheadline);line-height:1.5}
.week-closed-label{font-size:calc(0.8125rem*var(--dsg-text-note,1));color:var(--workspace-accent);font-weight:600}
.week-warning{padding:14px;border-left:3px solid var(--surface-coral);background:var(--workspace-field);color:var(--workspace-ink);border-radius:12px;line-height:1.5}
.account .week-link{display:flex;flex-direction:column;width:100%;align-items:flex-start;padding:14px;min-height:52px;background:var(--workspace-panel);color:var(--workspace-ink);border:1px solid var(--workspace-line);border-radius:14px;margin:8px 0}.week-link span{font-size:calc(0.8125rem*var(--dsg-text-note,1));color:var(--workspace-muted)}
.week-action,.week-decision{margin:18px 0;padding:16px;border:1px solid var(--workspace-line);border-radius:16px;background:var(--workspace-panel)}
.week-action summary{min-height:44px;display:flex;align-items:center;font-weight:600;cursor:pointer}.week-action form,.week-decision{display:grid;gap:12px}.week-action label{display:grid;gap:6px}
.week-events{padding:0;list-style:none}.week-events li{padding:14px 0;border-bottom:1px solid var(--workspace-line)}.week-events strong,.week-events span{display:block}.week-events span{font-size:calc(0.8125rem*var(--dsg-text-note,1));color:var(--workspace-muted)}.week-events p{font-size:var(--ui-subheadline);overflow-wrap:anywhere}
.account .native-sheet:has(.closed-week){max-width:1180px!important;width:min(1180px,calc(100% - 32px))!important}.closed-week{min-width:0}
@media(max-width:699px){.week-table-wrap{display:none}.week-mobile-rows{display:grid;gap:12px;margin:16px 0}.week-mobile-rows article{padding:16px;background:var(--workspace-panel);border:1px solid var(--workspace-line);border-radius:16px}.week-mobile-rows h3{font-size:calc(1.0625rem*var(--dsg-text-body,1));margin:0}.week-mobile-rows p{color:var(--workspace-muted);font-size:var(--ui-subheadline)}.week-mobile-rows dl{margin:0;display:grid;gap:8px}.week-mobile-rows dl>div{display:flex;justify-content:space-between;gap:12px}.week-mobile-rows dt{color:var(--workspace-muted)}.week-mobile-rows dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}.week-action,.week-decision{padding:12px}}

/* Every monochrome glyph uses the surrounding semantic color, including external SVGs. */
html[data-theme] .account svg.ui-icon.ui-icon{display:inline-block;vertical-align:middle;pointer-events:none;filter:none!important;background:none!important}
.object-detail-placeholder{display:grid;gap:10px;min-height:62px;padding:12px 0}
.object-detail-placeholder>span{display:block;height:12px;border-radius:6px;background:var(--workspace-field)}
.object-detail-placeholder>span:last-child{width:65%}
/* Restaurant team: one manager row, two compact role tiles, clean expanded lists. */
































html[data-theme] .account i.ui-icon.ui-icon{display:inline-block;background-color:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;filter:none!important;vertical-align:middle;pointer-events:none}
html[data-theme] .account .workspace-tab[aria-current=page] i.ui-icon,html[data-theme] .account .workspace-tab[data-preview=true] i.ui-icon{color:var(--workspace-accent)}
@media(forced-colors:active){html[data-theme] .account i.ui-icon.ui-icon{background-color:CanvasText;forced-color-adjust:none}html[data-theme] .account .workspace-tab[aria-current=page] i.ui-icon{background-color:Highlight}}

.account i.ui-icon[data-icon="archive"]{-webkit-mask-image:url("/assets/ui/archive.svg");mask-image:url("/assets/ui/archive.svg")}
.account i.ui-icon[data-icon="audit"]{-webkit-mask-image:url("/assets/ui/audit.svg");mask-image:url("/assets/ui/audit.svg")}
.account i.ui-icon[data-icon="bell"]{-webkit-mask-image:url("/assets/ui/bell.svg");mask-image:url("/assets/ui/bell.svg")}
.account i.ui-icon[data-icon="calendar"]{-webkit-mask-image:url("/assets/ui/calendar.svg");mask-image:url("/assets/ui/calendar.svg")}
.account i.ui-icon[data-icon="check"]{-webkit-mask-image:url("/assets/ui/check.svg");mask-image:url("/assets/ui/check.svg")}
.account i.ui-icon[data-icon="chevron"]{-webkit-mask-image:url("/assets/ui/chevron.svg");mask-image:url("/assets/ui/chevron.svg")}
.account i.ui-icon[data-icon="close"]{-webkit-mask-image:url("/assets/ui/close.svg");mask-image:url("/assets/ui/close.svg")}
.account i.ui-icon[data-icon="crop"]{-webkit-mask-image:url("/assets/ui/crop.svg");mask-image:url("/assets/ui/crop.svg")}
.account i.ui-icon[data-icon="edit"]{-webkit-mask-image:url("/assets/ui/edit.svg");mask-image:url("/assets/ui/edit.svg")}
.account i.ui-icon[data-icon="home"]{-webkit-mask-image:url("/assets/ui/home.svg");mask-image:url("/assets/ui/home.svg")}
.account i.ui-icon[data-icon="import"]{-webkit-mask-image:url("/assets/ui/import.svg");mask-image:url("/assets/ui/import.svg")}
.account i.ui-icon[data-icon="lock"]{-webkit-mask-image:url("/assets/ui/lock.svg");mask-image:url("/assets/ui/lock.svg")}
.account i.ui-icon[data-icon="logout"]{-webkit-mask-image:url("/assets/ui/logout.svg");mask-image:url("/assets/ui/logout.svg")}
.account i.ui-icon[data-icon="menu-bar"]{-webkit-mask-image:url("/assets/ui/menu-bar.svg");mask-image:url("/assets/ui/menu-bar.svg")}
.account i.ui-icon[data-icon="menu-children"]{-webkit-mask-image:url("/assets/ui/menu-children.svg");mask-image:url("/assets/ui/menu-children.svg")}
.account i.ui-icon[data-icon="menu-food"]{-webkit-mask-image:url("/assets/ui/menu-food.svg");mask-image:url("/assets/ui/menu-food.svg")}
.account i.ui-icon[data-icon="menu-tea"]{-webkit-mask-image:url("/assets/ui/menu-tea.svg");mask-image:url("/assets/ui/menu-tea.svg")}
.account i.ui-icon[data-icon="more"]{-webkit-mask-image:url("/assets/ui/more.svg");mask-image:url("/assets/ui/more.svg")}
.account i.ui-icon[data-icon="objects"]{-webkit-mask-image:url("/assets/ui/objects.svg");mask-image:url("/assets/ui/objects.svg")}
.account i.ui-icon[data-icon="people"]{-webkit-mask-image:url("/assets/ui/people.svg");mask-image:url("/assets/ui/people.svg")}
.account i.ui-icon[data-icon="pin"]{-webkit-mask-image:url("/assets/ui/pin.svg");mask-image:url("/assets/ui/pin.svg")}
.account i.ui-icon[data-icon="search"]{-webkit-mask-image:url("/assets/ui/search.svg");mask-image:url("/assets/ui/search.svg")}
.account i.ui-icon[data-icon="theme"]{-webkit-mask-image:url("/assets/ui/theme.svg");mask-image:url("/assets/ui/theme.svg")}
.account i.ui-icon[data-icon="trash"]{-webkit-mask-image:url("/assets/ui/trash.svg");mask-image:url("/assets/ui/trash.svg")}
.account i.ui-icon[data-icon="wallet"]{-webkit-mask-image:url("/assets/ui/wallet.svg");mask-image:url("/assets/ui/wallet.svg")}

/* One catalog: detail and edit refer to the same dish id. */
.dining-item{grid-template-columns:minmax(0,1fr) auto}.menu-official-documents{margin-top:24px;border-top:1px solid var(--workspace-line);padding-top:18px}.menu-official-documents>summary{cursor:pointer;font-weight:600}

.journal-panel>label{display:grid;gap:8px}.journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}.journal-detail>form{display:grid;gap:14px;margin-top:24px}.journal-detail>form label{display:grid;gap:7px}.journal-snapshot{padding:16px 0;border-bottom:1px solid var(--workspace-line)}.journal-detail>.primarybtn{margin-top:24px;width:100%;min-height:46px}.journal-panel .work-card strong{white-space:normal}.journal-detail .work-description{overflow-wrap:anywhere}@media(min-width:760px){.journal-panel .work-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Screenshot review: one surface per group; titles stay outside the list. */
.account .nav-center .nav-center-group{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-width:0;margin:24px 0}
.account .nav-center-group>h3{position:static;margin:0 8px 10px;padding:0;font-size:calc(0.8125rem*var(--dsg-text-note,1));line-height:1.45;overflow-wrap:anywhere}
.account .nav-center-rows{overflow:hidden;isolation:isolate}
.account .nav-center-row{width:100%;min-height:72px;box-sizing:border-box;gap:14px;padding:16px;white-space:normal;touch-action:pan-y}
.account .nav-center-row>span{min-width:0;flex:1}.account .nav-center-row strong,.account .nav-center-row small{overflow-wrap:anywhere;line-height:1.4}
.account .nav-center-row>.ui-icon{flex-shrink:0}.account .nav-center-row>.ui-icon:first-child{width:24px;height:24px}
/* The photo remains visible beneath a progressive dark blur in both themes. */
.account .restaurant-hero.has-cover{isolation:isolate}
.account .restaurant-hero.has-cover .restaurant-hero-content{text-shadow:0 1px 12px #0008}
.account .restaurant-hero.has-cover p{color:#f0f2f5}/* A complete rounded perimeter, instead of independent square white rows. */
.account .staff-object-list{border:1px solid var(--workspace-line);border-radius:20px;overflow:hidden;background:var(--workspace-panel);isolation:isolate}
.account .staff-object-row{box-sizing:border-box;padding:16px;min-height:68px;border-radius:0;margin:0;background:transparent;white-space:normal;box-shadow:none}
.account .staff-object-row:last-child{border-bottom:0}.account .staff-object-row>.ui-icon{flex-shrink:0}
.account :is(.staff-detail-actions){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.account :is(.staff-detail-actions)>button{min-width:0;min-height:48px;margin:0!important;padding:12px 14px!important;box-sizing:border-box;display:flex;justify-content:center;align-items:center;gap:8px;border-radius:18px!important;white-space:normal;line-height:1.35;text-align:center}
.account :is(.staff-detail-actions)>button .ui-icon{flex-shrink:0;width:19px;height:19px}
.account :is(.staff-rate-row){min-height:64px;box-sizing:border-box;width:100%;gap:12px}.account .staff-rate-row>span{min-width:0;overflow-wrap:anywhere}
/* Fast contextual feedback and finger-following rows, without changing dock motion. */
.account .context-preview-body{animation:context-reveal 220ms cubic-bezier(.2,.8,.2,1)}
.account .context-action-list>button{min-height:52px;transition:background-color 120ms ease}.account .context-action-list>button:active{background:var(--workspace-field)!important}
.account :is(.context-card,[data-context-row],.production-object-card,.overview-object,.staff-card,.home-shift-card,.work-card){touch-action:pan-y}
.account .swipe-shell{
 --swipe-width:min(78%,264px);
 position:relative;isolation:isolate;overflow:hidden;min-width:0;border-radius:26px;
}
.account .swipe-shell>.swipe-item,.account .swipe-actions{transition:transform 205ms cubic-bezier(.2,.85,.28,1)}
.account .swipe-shell>.swipe-item{width:100%;box-sizing:border-box;transform:translateX(var(--swipe-x,0px))}
.account .swipe-actions{
 position:absolute;inset:0 0 0 auto;width:var(--swipe-width);
 display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
 background:var(--glass-reflection),var(--workspace-field);transform:translateX(calc(100% + var(--swipe-x,0px)));
}
.account .swipe-shell.is-revealed:not(.is-dragging)>.swipe-item{transform:translateX(calc(-1 * var(--swipe-width)))}
.account .swipe-shell.is-revealed:not(.is-dragging)>.swipe-actions{transform:translateX(0)}
.account .swipe-shell.is-dragging>*{transition:none!important}
.account .swipe-actions>button{
 display:grid;place-content:center;justify-items:center;gap:7px;padding:6px;min-width:0;margin:0;
 border:0;border-inline-end:1px solid var(--glass-divider);border-radius:0;background:transparent;
 color:var(--glass-ink);font-size:calc(0.6875rem*var(--dsg-text-note,1));line-height:1.25;text-align:center;overflow-wrap:anywhere;white-space:normal;
}
.account .swipe-actions>button:active{background:var(--glass-rim)}
.account .swipe-actions>button:focus-visible{outline-offset:-4px}
.account .swipe-actions .ui-icon[data-icon=chevron]{display:none}
.account .swipe-actions .context-danger{color:#ad2835}
html[data-theme=dark] .account .swipe-actions .context-danger{color:#ff9299}
.account :is(.nav-center-row,.staff-object-row,.context-action-list>button,.staff-detail-actions>button){-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
@keyframes context-reveal{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:360px){.account .nav-center-row{padding:14px 12px;gap:10px}.account :is(.staff-detail-actions)>button{padding:11px 8px!important;font-size:calc(0.8125rem*var(--dsg-text-note,1))}}
@media(prefers-reduced-motion:reduce){.account .context-preview-body{animation:none}.account [data-context-row],.account .context-action-list>button{transition:none!important}}

.account i.ui-icon[data-icon="approvals"]{-webkit-mask-image:url("/assets/ui/approvals.svg");mask-image:url("/assets/ui/approvals.svg")}
.account i.ui-icon[data-icon="qr"]{-webkit-mask-image:url("/assets/ui/qr.svg");mask-image:url("/assets/ui/qr.svg")}
.account i.ui-icon[data-icon="arrival"]{-webkit-mask-image:url("/assets/ui/arrival.svg");mask-image:url("/assets/ui/arrival.svg")}
.account i.ui-icon[data-icon="guest-orders"]{-webkit-mask-image:url("/assets/ui/guest-orders.svg");mask-image:url("/assets/ui/guest-orders.svg")}
.account i.ui-icon[data-icon="promotions"]{-webkit-mask-image:url("/assets/ui/promotions.svg");mask-image:url("/assets/ui/promotions.svg")}
.account i.ui-icon[data-icon="stoplist"]{-webkit-mask-image:url("/assets/ui/stoplist.svg");mask-image:url("/assets/ui/stoplist.svg")}
.account i.ui-icon[data-icon="inventory"]{-webkit-mask-image:url("/assets/ui/inventory.svg");mask-image:url("/assets/ui/inventory.svg")}
.account i.ui-icon[data-icon="factory-orders"]{-webkit-mask-image:url("/assets/ui/factory-orders.svg");mask-image:url("/assets/ui/factory-orders.svg")}
.account i.ui-icon[data-icon="work-center"]{-webkit-mask-image:url("/assets/ui/work-center.svg");mask-image:url("/assets/ui/work-center.svg")}

.journal-master{display:none}.journal-detail{min-width:0}.journal-master>button{display:grid;gap:6px;text-align:left;width:100%;border:0;border-bottom:1px solid var(--workspace-line);padding:16px 12px;background:transparent;color:var(--workspace-ink);white-space:normal;overflow-wrap:anywhere}.journal-master>button[aria-current=true]{background:var(--workspace-field);border-radius:14px}.journal-master small{font-size:calc(0.75rem*var(--dsg-text-note,1));color:var(--workspace-muted)}.journal-master strong{font-size:var(--ui-subheadline);line-height:1.4}
@media(min-width:900px){.account .native-sheet:has(.journal-entry-layout){max-width:1100px!important;width:calc(100% - 48px)!important}.journal-entry-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}.journal-master{display:block;border-right:1px solid var(--workspace-line);padding-right:16px;position:sticky;top:0;align-self:start;max-height:65dvh;overflow:auto}}

.notification-event{min-width:0}.notification-event :is(h3,p,dt,dd){overflow-wrap:anywhere;white-space:normal}
.notification-event .work-description{white-space:pre-wrap}
.notification-event-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;margin-block:18px}
.notification-event-actions>button,.notification-event>button,.notification-event form>button{min-height:46px!important;width:100%;white-space:normal}

/* Distinct functions use distinct symbols; every symbol inherits theme color. */
.account i.ui-icon[data-icon="person"]{-webkit-mask-image:url("/assets/ui/person.svg");mask-image:url("/assets/ui/person.svg")}
.account i.ui-icon[data-icon="phone"]{-webkit-mask-image:url("/assets/ui/phone.svg");mask-image:url("/assets/ui/phone.svg")}
.account i.ui-icon[data-icon="smartphone"]{-webkit-mask-image:url("/assets/ui/smartphone.svg");mask-image:url("/assets/ui/smartphone.svg")}
.account i.ui-icon[data-icon="assignment"]{-webkit-mask-image:url("/assets/ui/assignment.svg");mask-image:url("/assets/ui/assignment.svg")}
.account i.ui-icon[data-icon="attention"]{-webkit-mask-image:url("/assets/ui/attention.svg");mask-image:url("/assets/ui/attention.svg")}
.account i.ui-icon[data-icon="settings"]{-webkit-mask-image:url("/assets/ui/settings.svg");mask-image:url("/assets/ui/settings.svg")}

/* A person row shares the card's content box with a fixed menu hit area. */
.account .shift-worker-card{padding:16px!important;min-width:0;box-sizing:border-box}
.account .shift-person-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;min-width:0;width:100%}
.account .shift-person-row:not(:has(>.shift-options)){grid-template-columns:minmax(0,1fr)}
.account .shift-person-row>.worker-person{display:grid!important;grid-template-columns:38px minmax(0,1fr) 20px;gap:10px;width:100%;max-width:100%;box-sizing:border-box;min-width:0}
.account .shift-person-row>.worker-person>strong{min-width:0;overflow-wrap:anywhere;text-align:left}

.account .shift-worker-card>p{padding-left:48px;overflow-wrap:anywhere;min-width:0}
.account .period-review{display:grid;gap:14px}.account .period-conflicts{padding:0;list-style:none;display:grid;gap:10px}
.account .period-conflicts li{padding:12px;border:1px solid var(--workspace-line);border-radius:16px;overflow-wrap:anywhere}
.account .period-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.account .period-actions>button{min-width:0;white-space:normal;min-height:46px}

.permission-groups{display:grid;gap:16px}.permission-groups fieldset{min-width:0;margin:0;border:1px solid var(--workspace-line);border-radius:18px;padding:12px}.permission-groups fieldset[hidden]{display:none}.permission-groups legend{font-weight:600;font-size:var(--ui-subheadline);padding:0 6px}.account .permission-groups .switch-label{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 2px;min-height:48px}.permission-groups .switch-label>span{min-width:0;flex:1;line-height:1.4;overflow-wrap:anywhere}.permission-groups .switch-label>input{flex:none}.permission-summary{margin:20px 0;padding:16px;border:1px solid var(--workspace-line);border-radius:18px;background:var(--workspace-field)}.permission-summary h3{font-size:var(--ui-callout)}.permission-summary li{font-size:var(--ui-subheadline);line-height:1.6}.assignment-list-row{position:relative}.assignment-list-row>.work-card{padding-right:60px}.assignment-list-row>.row-menu-trigger{position:absolute;right:12px;top:12px;width:44px;height:44px;border-radius:50%;background:var(--workspace-field);border:1px solid var(--workspace-line);color:var(--workspace-ink)}
@media(min-width:800px){.permission-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}

.delegations-panel>label{display:grid;gap:8px}.delegation-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:18px 0}.delegation-toolbar .glass-control{width:46px;height:46px;flex:none}.delegation-permissions{margin:18px 0;padding:16px;border:1px solid var(--workspace-line);border-radius:18px;min-width:0}.delegation-permissions legend{font-size:var(--ui-callout);font-weight:600;padding:0 6px}.account .delegation-permissions .switch-label{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;min-height:48px}.delegation-permissions .switch-label span{min-width:0;line-height:1.4;overflow-wrap:anywhere}.delegation-permissions input{flex:none}.delegation-powers{padding:16px 16px 16px 36px;background:var(--workspace-field);border-radius:18px;line-height:1.7}.delegation-detail{min-width:0}.delegation-detail h2{overflow-wrap:anywhere}.delegations-panel select{max-width:100%;width:100%}

.account .temporary-permission-note{display:block;width:100%;text-align:left;min-height:44px;border:1px solid var(--workspace-line);border-radius:14px;background:var(--workspace-field);color:var(--workspace-ink);padding:12px;margin:12px 0;line-height:1.4}
/* Restaurant planning uses the common surfaces; the navigation dock is unchanged. */
.roster-panel,.roster-panel form,.roster-person>span{min-width:0}
.roster-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block:14px;flex-wrap:wrap}

.roster-actions>button{min-height:44px;flex:1 1 120px;white-space:normal}





.roster-open{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;background:transparent;border:0;color:inherit;padding:5px;min-height:66px;font:inherit}
.roster-open strong,.roster-open span,.roster-open small{overflow-wrap:anywhere;max-width:100%;white-space:normal}
.roster-open small,.roster-person small{display:block;font-size:calc(0.75rem*var(--dsg-text-note,1));opacity:.72}


.roster-person{display:flex;gap:12px;align-items:center;padding:14px 6px;min-height:48px;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.roster-person input{flex:0 0 22px;width:22px;height:22px}
.roster-person strong,.roster-person small{overflow-wrap:anywhere;white-space:normal}
.roster-panel form>.primarybtn{width:100%;margin-block:12px}
@media(min-width:900px){.roster-open{font-size:calc(0.8125rem*var(--dsg-text-note,1))}}

.account .roster-actions>button{border-radius:999px!important;min-height:64px!important;height:64px;box-sizing:border-box;font:inherit;font-size:var(--ui-subheadline)!important;line-height:1.25!important;font-weight:600;text-align:center;justify-content:center}

.roster-day-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-block:14px}
.roster-day-picker button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:58px;padding:7px 0;border-radius:13px;border:1px solid color-mix(in srgb,currentColor 10%,transparent);background:color-mix(in srgb,#9ca5d0 10%,transparent);color:inherit;font:inherit}
.roster-day-picker button small{font-size:calc(0.6875rem*var(--dsg-text-note,1));text-transform:capitalize}.roster-day-picker button[aria-pressed=true]{background:color-mix(in srgb,#8680f5 28%,transparent);border-color:#8680f5}


@media(min-width:900px){.roster-day-picker{display:none}}

/* One disclosure indicator, with a real inset around both title and action. */
.account .upcoming-shift-group{padding:0!important;overflow:hidden}
.account .upcoming-shift-group>summary{padding:17px 18px!important;gap:10px;min-height:56px;min-width:0;list-style:none}
.account summary::-webkit-details-marker{display:none}.account summary::marker{content:''}
.account summary>i[aria-hidden=true]:not(.ui-icon){display:none}
.account summary::after{content:''!important;background:currentColor!important;-webkit-mask:url('/assets/ui/chevron.svg') center/contain no-repeat;mask:url('/assets/ui/chevron.svg') center/contain no-repeat}
.account .upcoming-shift-group>summary::after{flex:none;width:20px;height:20px;margin-left:auto}
.account .upcoming-shift-group .shift-list{padding:0 14px 14px}
.account :is(h1,h2,h3,.period-total>strong,.finance-balance>strong,.overview-tile>strong){font-family:ui-rounded,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-variant-numeric:lining-nums tabular-nums}
.account :is(h1,h2,h3){text-wrap:balance}
.account :is(.account-card,.production-object-card,.staff-card,.home-shift-card,.work-card,.overview-tile,.finance-balance,.payroll-period,.profile-rows,.shift-worker-card){background:linear-gradient(155deg,color-mix(in srgb,var(--workspace-panel) 98%,#c8c4ed),var(--workspace-panel) 65%,color-mix(in srgb,var(--workspace-panel) 94%,#b8d9df))!important;box-shadow:0 8px 25px #141d2b06,inset 0 1px 0 #ffffff55,inset 0 -14px 26px -27px #9084dc!important}
html[data-theme=dark] .account :is(.account-card,.production-object-card,.staff-card,.home-shift-card,.work-card,.overview-tile,.finance-balance,.payroll-period,.profile-rows,.shift-worker-card){box-shadow:0 8px 28px #00000020,inset 0 1px 0 #ffffff12,inset 0 -12px 24px -23px #a69acb70!important}
.account .restaurant-hero.has-cover:after{inset:25% 0 0}
.account .calendar-week .week-date{font-variant-numeric:tabular-nums}

.account .curator-week-summary{margin:16px 0;padding:18px;border:1px solid var(--workspace-line);border-radius:24px;background:var(--workspace-panel);display:grid;gap:10px}.account .curator-week-summary>strong{font-size:calc(1.75rem*var(--dsg-text-title,1));font-weight:600;font-variant-numeric:tabular-nums}.account .curator-week-summary>small,.account .curator-week-summary p{color:var(--workspace-muted);font-size:calc(0.75rem*var(--dsg-text-note,1));margin:0}.account .curator-week-summary>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--workspace-line);font-size:calc(0.8125rem*var(--dsg-text-note,1))}.account .curator-week-summary>div>span{min-width:0;overflow-wrap:anywhere}


/* DSG Liquid Glass — approved neutral light / black smoked material.
   Public component aliases share the existing semantic components and handlers. */
:root {--glass-raised:#ffffff;--glass-ink:#161616;--glass-muted:#525252;--glass-fill:rgba(255,255,255,.72);--glass-line:rgba(255,255,255,.68);--glass-divider:rgba(35,35,35,.14);--glass-blur:44px;--glass-rim:rgba(255,255,255,.95);--glass-shadow:0 10px 32px rgba(32,30,26,.08),inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 1px rgba(255,255,255,.7);--glass-reflection:linear-gradient(145deg,rgba(255,255,255,.4),transparent 45%,rgba(255,255,255,.16));--glass-ambient:none;--workspace-canvas:var(--glass-canvas);--workspace-panel:var(--glass-card);--workspace-ink:var(--glass-ink);--workspace-muted:var(--glass-muted);--workspace-line:var(--glass-divider);--workspace-control-border:rgba(30,30,30,.24);--workspace-accent:#0066cc;--surface-lavender:rgba(135,135,135,.1);--surface-blue:rgba(135,135,135,.08);--surface-peach:rgba(135,135,135,.09);}
html[data-theme=dark] {color-scheme:dark;--glass-ink:#f7f7f5;--glass-muted:#bcbcb8;--glass-fill:rgba(255,255,255,.10);--glass-line:rgba(255,255,255,.14);--glass-divider:rgba(255,255,255,.16);--glass-blur:40px;--glass-rim:rgba(255,255,255,.25);--glass-shadow:0 12px 36px rgba(0,0,0,.28),inset 0 1px 1px rgba(255,255,255,.25),inset 0 -1px 1px rgba(255,255,255,.18),inset 0 -7px 12px -11px rgba(255,255,255,.42);--glass-reflection:linear-gradient(155deg,rgba(255,255,255,.10),transparent 24%,transparent 70%,rgba(255,255,255,.04));--glass-ambient:none;--workspace-canvas:var(--glass-canvas);--workspace-panel:var(--glass-card);--workspace-ink:var(--glass-ink);--workspace-muted:var(--glass-muted);--workspace-line:var(--glass-divider);--workspace-control-border:rgba(255,255,255,.25);--workspace-accent:#409cff;--surface-lavender:rgba(255,255,255,.08);--surface-blue:rgba(255,255,255,.07);--surface-peach:rgba(255,255,255,.08);}
html:not([data-theme=dark]){color-scheme:light}
html,body,.account{background-color:var(--glass-canvas)!important;color:var(--glass-ink)}
.account[data-authenticated=true]{background-image:var(--glass-ambient)!important}
.account .workspace-content{background:transparent!important}
.account .workspace-header{background:color-mix(in srgb,var(--glass-canvas) 64%,transparent)!important;backdrop-filter:blur(32px);-webkit-backdrop-filter:blur(32px);box-shadow:none!important}
/* GlassCard / GlassPanel / GlassMetric: no blur on content, only the backdrop. */
.account :is(.account-card,.production-object-card,.staff-card,.home-shift-card,.account-list>li,.work-card,.overview-tile,.finance-balance,.payroll-period,.profile-rows,.shift-worker-card,.curator-week-summary,.month-calendar,.promotion-card,.dining-item,.work-checkin,.workflow-row,.nav-center-rows,.incident-row,.published-menu-card,.context-card,.stock-document-row,.attendance-list,.clock-card,.staff-rate-row,.staff-summary-tiles>div,.staff-detail-identity,.staff-object-list),
.account button.overview-object,
.account .workspace-content[data-tab=shifts] .shift-list-card:nth-child(n){
 background:var(--glass-card)!important;
 border:1px solid var(--glass-line)!important;border-radius:26px!important;
 box-shadow:var(--glass-shadow)!important;color:var(--glass-ink);
 /* Lists keep the reflected glass finish without a separate blur layer on every row. */
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 background-clip:padding-box!important;min-width:0;
}


.account :is(.overview-tile,.stock-overview>span){--card-glass-tint:transparent}
.account .overview-tile>strong{font-size:clamp(32px,4vw,42px);font-weight:500;letter-spacing:-.04em;line-height:1.15}
.account .overview-tile>span{font-size:calc(0.8125rem*var(--dsg-text-note,1));font-weight:450;line-height:1.45;padding-right:30px}
.account .overview-tile{padding:22px 18px;min-height:138px}
.account .overview-tile>.tile-symbol{background:var(--glass-fill);border:1px solid var(--glass-line);box-shadow:inset 0 1px 1px var(--glass-rim);color:var(--glass-ink);bottom:16px;right:14px}

.account :is(h1,h2,h3){font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:600;letter-spacing:-.035em}
.account :is(.overview-object)>span{min-width:0}
.account :is(.overview-object) :is(strong,small){overflow-wrap:anywhere}
/* GlassButton retains semantic danger/disabled/primary states. */
.account :is(.ghostbtn,.compact-add,.native-context,.glass-control,.sheet-back,.mini-icon-button,.admin-brief-links>button){border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important;color:var(--glass-ink);backdrop-filter:none!important;-webkit-backdrop-filter:none!important;min-height:44px;}
.account :is(.ghostbtn,.glass-control,.row-menu-trigger,.primarybtn){
 box-shadow:inset 0 1px 1px var(--glass-rim),inset 0 -1px 1px var(--glass-divider),0 3px 10px #0001!important;
 transition:scale 135ms cubic-bezier(.22,.8,.3,1),box-shadow 155ms ease;
}
.account .primarybtn{
 background:linear-gradient(157deg,#fff4,transparent 51%,#fff1),var(--glass-ink)!important;
 color:var(--glass-canvas)!important;border:1px solid color-mix(in srgb,var(--glass-ink),var(--glass-canvas) 24%)!important;
}
html[data-theme=dark] .account .primarybtn{
 background:linear-gradient(157deg,#fff8,transparent 50%,#0001),var(--glass-ink)!important;
}
.account :is(.ghostbtn,.glass-control,.row-menu-trigger,.primarybtn):active:not(:disabled){scale:.97}
.account .row-menu-trigger[data-row-menu] [data-icon=chevron]{transform:rotate(180deg)}
.account :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--workspace-accent);outline-offset:4px}
.account :is(.danger,[data-destructive=true]){color:#b52c37!important}
html[data-theme=dark] .account :is(.danger,[data-destructive=true]){color:#ff9299!important}
/* GlassInput */
.account :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background:var(--workspace-field)!important;border:1px solid var(--workspace-control-border)!important;color:var(--glass-ink)!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.035)!important}
.account input::placeholder,.account textarea::placeholder{color:var(--glass-muted);opacity:1}
.account select option{background:var(--glass-canvas);color:var(--glass-ink)}
/* GlassModal: raised opacity keeps nested surfaces and long forms readable. */
.account :is(.native-sheet,.inline-search,.system-toast){background:var(--glass-modal)!important;border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important;backdrop-filter:blur(48px)!important;-webkit-backdrop-filter:blur(48px)!important;color:var(--glass-ink)}
.account .sheet-header{background:var(--glass-modal)!important;border-bottom:1px solid var(--glass-divider)!important}
.account .sheet-body{background:transparent!important}
.account :is(table,th,td){border-color:var(--glass-divider)}
.account th{background:var(--glass-modal);color:var(--glass-muted)}
.account :is(.staff-object-row,.profile-row,.nav-center-row){background:transparent!important;color:var(--glass-ink)}
/* GlassNavigation: mobile positioning and safe-area ownership remain untouched. */
.account :is(.GlassNavigation,.workspace-tabs,.workspace-search){background:var(--glass-reflection),var(--glass-fill)!important;border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important;backdrop-filter:blur(44px)!important;-webkit-backdrop-filter:blur(44px)!important;color:var(--glass-ink)}
.account .workspace-tab{color:var(--glass-muted)!important}
.account .workspace-tab[aria-current=page],.account .workspace-tab[aria-pressed=true]{color:var(--glass-ink)!important}
.account .workspace-tabs .workspace-selection,.account .workspace-tabs[data-dragging=true] .workspace-selection{background:var(--glass-reflection),var(--glass-fill)!important;border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important;backdrop-filter:blur(36px)!important;-webkit-backdrop-filter:blur(36px)!important}
.account :is(.staff-sectors,.finance-tabs,.shift-view-switch,.restaurant-departments,.service-tabs){background:var(--workspace-field)!important;border-color:var(--glass-divider)!important}
.account :is(.category-strip,.shift-view-switch,.staff-sectors,.finance-tabs,.restaurant-departments,.service-tabs)>button{background:transparent!important;color:var(--glass-muted)!important;border-color:transparent!important}
.account :is(.category-strip,.shift-view-switch,.staff-sectors,.finance-tabs,.restaurant-departments,.service-tabs)>button[aria-pressed=true]{background:var(--glass-fill)!important;color:var(--glass-ink)!important;border-color:var(--glass-line)!important;box-shadow:var(--glass-shadow)!important}
.account .week-date[aria-pressed=true]{background:var(--workspace-field)!important;color:var(--glass-ink)!important}
.account .week-date[aria-pressed=true]>span{background:var(--glass-ink);color:var(--glass-canvas)}
.account :is(.overview-tile,.overview-object,.work-card){transition:background-color .22s ease,color .22s ease,box-shadow .22s ease,transform .18s cubic-bezier(.2,.8,.2,1)}
/* No press imitation on buttons (owner, 20 Nov 2026): only shift rows answer a tap. */
.account .overview-object-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:700px){
 .account .overview-object-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
 .account :is(.overview-objects){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .account .overview-object{width:100%;margin:0}
}
@media(prefers-reduced-motion:reduce){.account *,.account *::before,.account *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){
 :root{--glass-fill:#ffffff;--glass-modal:#fafafa;--glass-blur:0px;--glass-reflection:none}
 html[data-theme=dark]{--glass-fill:#262626;--glass-modal:#121212;--glass-blur:0px;--glass-reflection:none}
 .account *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@supports not (backdrop-filter:blur(1px)){
 :root{--glass-fill:#ffffff;--glass-modal:#fafafa}
 html[data-theme=dark]{--glass-fill:#262626;--glass-modal:#121212}
}

.account .workspace-tab .ui-icon{filter:none!important;color:inherit}
.account .workspace-tab[aria-current=page] .ui-icon{color:var(--workspace-accent)}

/* Neutral sub-surfaces and legible navigation affordances in both themes. */


.account .restaurant-hero:not(.has-cover){background:var(--glass-reflection),var(--glass-fill)!important;border:1px solid var(--glass-line);box-shadow:var(--glass-shadow);backdrop-filter:blur(var(--glass-blur));-webkit-backdrop-filter:blur(var(--glass-blur))}
.account .roster-day-picker button{background:var(--workspace-field);border-color:var(--glass-divider)}
.account .roster-day-picker button[aria-pressed=true]{background:var(--glass-fill);border-color:var(--workspace-accent)}

/* Progressive disclosure: concise identity first; financial history on demand. */
.account .staff-disclosure{margin:14px 0;border:1px solid var(--glass-line);border-radius:20px;background:var(--glass-reflection),var(--glass-fill);padding:0 16px;box-shadow:var(--glass-shadow)}
.account .staff-disclosure>summary{display:flex;align-items:center;gap:12px;min-height:56px;padding:14px 0;list-style:none;font-size:var(--ui-subheadline);font-weight:500;cursor:pointer;overflow-wrap:anywhere}
.account .staff-disclosure>summary::after{flex:none;width:18px;height:18px;margin-left:auto}
.account .staff-disclosure>summary>b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:var(--ui-callout);font-weight:550}
.account .staff-disclosure[open]{padding-bottom:16px}.account .staff-disclosure .native-info{margin-top:0}
.account .staff-finance-compact{padding:12px 16px;gap:8px}
.account .staff-finance-compact .staff-disclosure{margin:0;padding:0;background:none;box-shadow:none;border:0}
.account .staff-finance-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--glass-divider);font-size:calc(0.8125rem*var(--dsg-text-note,1))}.account .staff-finance-line>span{min-width:0;overflow-wrap:anywhere}
.account .staff-finance-line>b{white-space:nowrap;font-weight:550}
.account .staff-settings .staff-detail-actions{margin-top:18px}
.account .period-date-preview{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:10px}.account .period-date-preview>span{padding:7px 10px;background:var(--workspace-field);border-radius:10px;font-size:calc(0.75rem*var(--dsg-text-note,1))}
#period-form [hidden]{display:none!important}
@media(max-width:430px){.account .staff-disclosure>summary{flex-wrap:wrap}.account .staff-disclosure>summary>b{font-size:var(--ui-subheadline)}}
/* Compact employee identity leaves daily actions above the fold. */
.account .staff-detail-identity{display:grid!important;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto auto;gap:6px 18px;align-items:center;text-align:left!important;padding:22px!important;min-height:136px!important}
.account .staff-detail-identity>.staff-avatar{grid-column:1;grid-row:1 / 4;width:72px!important;height:72px!important;margin:0!important;font-size:calc(1.625rem*var(--dsg-text-title,1))}
.account .staff-detail-identity>h2{grid-column:2;margin:0!important;font-size:calc(1.4375rem*var(--dsg-text-title,1))!important;line-height:1.2;overflow-wrap:anywhere}
.account .staff-detail-identity>p{grid-column:2;margin:0!important;font-size:calc(0.75rem*var(--dsg-text-note,1));line-height:1.45}
.account .staff-detail-identity>.presence-label{grid-column:2;justify-self:start;margin:0}
.account .staff-detail-identity::after{display:none}
@media(max-width:390px){.account .staff-detail-identity{grid-template-columns:56px minmax(0,1fr);padding:18px!important;gap:6px 12px}.account .staff-detail-identity>.staff-avatar{width:56px!important;height:56px!important}.account .staff-detail-identity>h2{font-size:calc(1.3125rem*var(--dsg-text-title,1))!important}}
.account .staff-detail-identity>.staff-avatar{min-width:72px!important;max-width:72px!important;min-height:72px!important;padding:0!important;aspect-ratio:1;flex:none;border-radius:50%}
@media(max-width:390px){.account .staff-detail-identity>.staff-avatar{min-width:56px!important;max-width:56px!important;min-height:56px!important}}

/* Search stays within the header; the result panel spans its available width. */
.account .workspace-header[data-search-open=true]{isolation:isolate}
.account .header-search.inline-search{position:static;min-width:0}
.account .header-search .workspace-search-page,.account .header-search .search-field{position:static;min-width:0;max-width:100%}
.account .header-search input{width:100%;min-width:0;box-sizing:border-box}
.account .header-search #workspace-search-results:has(.search-result-list){width:auto;min-width:0;max-width:100%;box-sizing:border-box;top:calc(100% + 8px)}
.account .header-search .search-result>span{min-width:0;overflow-wrap:anywhere}
.account .workspace-header[data-search-open=true] .workspace-tools{flex-shrink:0}
/* The photograph remains transparent through the progressive blur, with no white wash. */
.account .restaurant-hero.has-cover:after{background:linear-gradient(180deg,transparent,rgba(0,0,0,.08) 55%,rgba(0,0,0,.32));backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);mask-image:linear-gradient(transparent,#000);-webkit-mask-image:linear-gradient(transparent,#000)}


/* Floating results need an opaque-enough backing above scrolling page text. */
.account .header-search.inline-search{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.account .header-search #workspace-search-results:has(.search-result-list){left:16px;right:16px;background:rgba(250,250,249,.96)!important;box-shadow:0 12px 32px #0002;border:1px solid var(--glass-line)}
[data-theme=dark] .account .header-search #workspace-search-results:has(.search-result-list){background:rgba(22,22,21,.96)!important}

@media(min-width:768px){
 .account .workspace-heading{min-width:0}
 .account .workspace-heading>strong{line-height:1.24;white-space:normal;overflow-wrap:anywhere}
 .account .workspace-tools{flex:none}
 .account .overview-brand-logo{display:block;max-width:100%;object-fit:contain}
}
.account .workspace-tools>[data-section=notifications]{position:relative}
.unread-indicator:not([hidden]){position:absolute;top:7px;right:7px;width:10px;height:10px;border:2px solid var(--workspace-panel);border-radius:50%;background:#ea4b55;pointer-events:none}
.foreground-notice{
 position:fixed;z-index:100;inset:calc(env(safe-area-inset-top,0px) + 12px) 0 auto;margin:0 auto;
 display:flex;align-items:center;gap:4px;width:min(440px,calc(100% - 24px));max-width:none;padding:7px;
 color:var(--workspace-ink);border:1px solid var(--glass-line);border-radius:24px;
 background:var(--glass-reflection),color-mix(in srgb,var(--workspace-panel) 86%,transparent);
 box-shadow:var(--glass-shadow),0 8px 24px #0002;
 backdrop-filter:blur(42px) saturate(1.15);-webkit-backdrop-filter:blur(42px) saturate(1.15);
 animation:foreground-notice-in .23s cubic-bezier(.2,.8,.2,1) both;
}
.foreground-notice:popover-open{display:flex}
.foreground-notice button{display:flex;align-items:center;min-height:44px;color:inherit;border:0;background:transparent;border-radius:17px}
.foreground-notice-event{flex:1;min-width:0;gap:10px;padding:8px 10px;text-align:left}
.foreground-notice-close{flex:none;width:44px;justify-content:center}
.foreground-notice button .ui-icon{flex:none;width:19px;height:19px}
.foreground-notice-event span,.foreground-notice-event strong,.foreground-notice-event small{display:block;min-width:0;overflow-wrap:anywhere}
.foreground-notice-event small{margin-top:3px;color:var(--workspace-muted);line-height:1.35}
.management-summary{padding:24px;border:1px solid var(--glass-line);border-radius:26px;background:var(--glass-fill);box-shadow:var(--glass-shadow)}
.management-summary h1{margin:8px 0;font-size:clamp(21px,4vw,30px)}
.management-summary strong{font-size:clamp(27px,6vw,44px);overflow-wrap:anywhere}
.management-summary p,.management-summary small{color:var(--workspace-muted)}
@keyframes foreground-notice-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.foreground-notice{animation:none}}
@media(prefers-reduced-transparency:reduce){.foreground-notice{background:var(--workspace-panel);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Wide workspaces scroll below the title, with the dock layered alongside. */
@media(min-width:768px){
 .account[data-authenticated=true]{--wide-rail:0px;--wide-content:1180px;--wide-right:0px}
 .account>.workspace-header{
  left:0;right:0;width:100%;
  padding-inline-start:max(calc(var(--wide-rail) + 20px),calc((100% - var(--wide-content) + var(--wide-rail) - var(--wide-right))/2 + 20px));
  padding-inline-end:max(calc(var(--wide-right) + 20px),calc((100% - var(--wide-content) - var(--wide-rail) + var(--wide-right))/2 + 20px));
 }
 .account>.workspace-header::after{display:none}
 .account[data-authenticated=true]>.workspace-content{
  top:var(--header-height);left:var(--wide-rail);right:var(--wide-right);
  width:min(calc(100% - var(--wide-rail) - var(--wide-right)),var(--wide-content));margin-inline:auto;
  padding-top:16px;scroll-padding-top:16px;
 }
}
/* The sidebar takes the place of the bottom bar from 1024 px: every iPad held landscape and a computer (owner, 20 Nov
   2026: the bar at the bottom covered the cards on an iPad). Narrower screens keep the bottom bar. */
@media(min-width:1024px){
 /* The rail floats over the screen like the bottom bar does on a phone (owner, 20 Nov 2026): content is centred on the
    whole width with equal margins that clear the folded rail; the open rail lies over it for a moment. */
 .account[data-authenticated=true]{--wide-rail:96px;--wide-right:96px}
 .account[data-authenticated=true]>.workspace-content{padding:16px 20px 36px;scroll-padding:16px 0 36px}
 .account>.workspace-dock{
  position:fixed!important;top:110px!important;left:24px!important;bottom:auto!important;right:auto!important;
  width:max-content!important;max-width:none!important;transform:none!important;translate:none!important;
  flex-direction:column;gap:14px;align-items:flex-start;
 }
 .account .workspace-dock .workspace-tabs,.account .workspace-dock[data-compact=true] .workspace-tabs{
  --rail-width:56px;
  display:flex!important;flex:none;flex-direction:column;align-items:stretch;
  width:var(--rail-width)!important;height:auto!important;max-width:none!important;
  gap:4px;padding:5px;overflow:hidden;touch-action:pan-y;border-radius:28px;
  transform:none!important;transition:width .35s cubic-bezier(.22,1,.36,1)!important;
 }
 .account .workspace-dock[data-expanded=true] .workspace-tabs{--rail-width:204px}
 .account .workspace-dock .workspace-tab,.account .workspace-dock[data-compact=true] .workspace-tab{
  display:flex!important;flex:none!important;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;
  width:100%!important;height:50px!important;min-width:0!important;
  padding:0 11px!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
 }
 .account .workspace-dock .workspace-tab .ui-icon{flex:none;width:22px;height:22px}
 .account .workspace-dock .workspace-tab span{display:block!important;opacity:0!important;font-size:var(--ui-subheadline);white-space:nowrap;}
 .account .workspace-dock[data-expanded=true] .workspace-tab span{opacity:1!important}
 .account .workspace-dock .workspace-selection{
  display:block!important;pointer-events:none;left:5px;right:5px;
  top:calc(7px + var(--active-tab)*54px);bottom:auto;height:46px;width:auto;
 }
 .account .workspace-dock>.workspace-search{width:56px!important;height:56px!important;align-self:flex-start}
}
.account .workspace-dock .workspace-selection{
 border-radius:24px!important;
 background:radial-gradient(ellipse at var(--glass-flow,35%) 0%,#fff8,transparent 62%),var(--glass-fill)!important;
 border:1px solid var(--glass-line)!important;
 box-shadow:inset 0 1px 2px #fffc,inset 0 -2px 7px #fff4,0 3px 10px #0002!important;
}
html[data-theme=dark] .account .workspace-dock .workspace-selection{
 background:radial-gradient(ellipse at var(--glass-flow,35%) 0%,#fff4,transparent 62%),var(--glass-fill)!important;
 box-shadow:inset 0 1px 2px #fff6,inset 0 -1px 5px #fff2,0 3px 12px #0006!important;
}
@media(max-width:1023px){
 .account .workspace-dock[data-tabs='3']{--tab-count:3}
 .account .workspace-dock:not([data-compact=true]) .workspace-selection{
  left:calc(7px + (100% - 10px)/var(--tab-count)*var(--active-tab));
  width:calc((100% - 10px)/var(--tab-count) - 4px);top:6px;bottom:6px;
 }
}
.account .native-sheet{
 background:var(--glass-modal)!important;
 box-shadow:var(--glass-shadow),inset 0 1px 0 var(--glass-rim)!important;
}
html[data-theme=dark] .account .native-sheet{
 background:var(--glass-modal)!important;
}
.account .native-sheet .sheet-header{background:transparent!important;border-bottom-color:var(--glass-divider)!important}
.account .native-sheet .sheet-header h2{line-height:1.24;white-space:normal}

@keyframes glass-sheet-in{from{opacity:.9;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.account .restaurant-hero.has-cover{background:transparent;color:var(--workspace-ink);padding-top:clamp(156px,31vw,222px)}
.account .restaurant-hero.has-cover .restaurant-cover{
 height:clamp(165px,33vw,235px);
 filter:none;
 mask-image:linear-gradient(#000 24%,#000c 50%,#0009 70%,#0004 89%,transparent 100%);
 -webkit-mask-image:linear-gradient(#000 24%,#000c 50%,#0009 70%,#0004 89%,transparent 100%);
}
.account .restaurant-hero.has-cover::after{content:none}
.account .restaurant-hero.has-cover .restaurant-hero-content,.account .restaurant-hero.has-cover h2{
 color:var(--workspace-ink)!important;text-shadow:none;
}
.account .restaurant-hero.has-cover .restaurant-hero-content>p{color:var(--workspace-muted)!important}
.account .restaurant-hero.has-cover .status-badge{background:var(--workspace-field)}



.account .workspace-content[data-tab=shifts] .shift-list:has(>.shift-list-card){position:relative;padding-inline-start:24px}
.account .workspace-content[data-tab=shifts] .shift-list:has(>.shift-list-card)::before{
 content:'';position:absolute;inset:0 auto 0 7px;width:2px;border-radius:999px;
 background:linear-gradient(transparent,var(--workspace-line) 22px,var(--workspace-line) calc(100% - 22px),transparent);
}
.account .workspace-content[data-tab=shifts] .shift-list>.shift-list-card{margin-left:0!important}
.account .workspace-content[data-tab=shifts] .shift-list>.shift-list-card::before{display:none!important}
.account .workspace-content[data-tab=shifts] .shift-list>.shift-list-card::after{left:-20px;top:27px}
.account .calendar-week{
 position:relative;display:grid;grid-template-columns:none;grid-auto-flow:column;
 grid-auto-columns:calc((100% - (var(--date-slots) - 1) * var(--date-gap))/var(--date-slots));
 gap:var(--date-gap);--date-gap:7px;--date-slots:7;
 width:100%;max-width:none;overflow-x:auto;overflow-y:hidden;padding:5px 0 9px;
 scrollbar-width:none;scroll-snap-type:x mandatory;touch-action:pan-x pan-y;overscroll-behavior-x:contain;
}
.account .calendar-week::-webkit-scrollbar{display:none}
.account .calendar-week .week-date{scroll-snap-align:center}
@media(max-width:360px){.account .calendar-week{--date-gap:4px}}
@media(min-width:768px){.account .calendar-week{--date-slots:9}}
@media(min-width:1100px){.account .calendar-week{--date-slots:11}}
@media(min-width:1450px){.account .calendar-week{--date-slots:13}}
@media(prefers-reduced-motion:reduce){
 .account .workspace-dock .workspace-tabs,.account .workspace-dock .workspace-tab span{transition:none!important}
}
@media(prefers-reduced-transparency:reduce){
 .account .native-sheet,html[data-theme=dark] .account .native-sheet{background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}


/* Elevation: recessed fields < canvas < content < raised controls.
   Keep translucent glass exclusive to navigation and its selection capsule. */
.account :is(.staff-disclosure,.restaurant-hero:not(.has-cover)){
 background:var(--glass-card)!important;
}
.account :is(.ghostbtn,.compact-add,.native-context,.glass-control,.sheet-back,.mini-icon-button,.admin-brief-links>button){
 background:var(--glass-reflection),var(--glass-raised)!important;
}

/* Transient notices own their touch region; page scrolling outside stays native. */
.system-toast,.foreground-notice{touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:auto}
.system-toast{display:flex;align-items:center;gap:10px;inset:calc(18px + env(safe-area-inset-top,0px)) auto auto 50%;margin:0;overflow:visible}
.system-toast>span{flex:1;min-width:0;overflow-wrap:anywhere}
.system-toast .toast-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}
.system-toast .toast-close .ui-icon{width:18px;height:18px}
.system-toast:popover-open{display:flex}
/* Continuous row surfaces: a transparent translated row otherwise exposes its actions. */
.account :is(.contact-person[data-context-row],.post-card[data-context-row],.staff-card,.shift-list-card){touch-action:pan-y}
.account .swipe-shell>.swipe-item{backface-visibility:hidden}
/* Preserve the modal's fixed backdrop while its content participates in back navigation. */
.account .native-sheet>.sheet-body{background:var(--glass-modal)!important}
html[data-theme=light] .account .workspace-tab[aria-current=page] .ui-icon{color:var(--workspace-accent)!important}
html[data-theme=light] .account .workspace-tab[aria-current=page]{color:var(--workspace-accent)!important}
@media(min-width:768px){
 .account .workspace-dock .workspace-tabs{transition:width 300ms cubic-bezier(.22,.8,.25,1),padding 300ms cubic-bezier(.22,.8,.25,1),border-radius 300ms ease!important}
 .account .workspace-dock .workspace-tab{transition:padding 300ms cubic-bezier(.22,.8,.25,1),gap 300ms ease,color 160ms ease}
 .account .workspace-dock .workspace-tab .ui-icon{transition:color 160ms ease}
}
@media(min-width:1024px){
 .account .workspace-dock .workspace-tab span{flex:none;width:126px;max-width:126px;overflow:visible;text-overflow:clip;transform:translateX(-4px);transition:opacity 160ms ease,transform 260ms cubic-bezier(.22,.8,.25,1)!important}
 .account .workspace-dock[data-expanded=true] .workspace-tab span{transform:translateX(0);transition-delay:70ms!important}
}
@media(prefers-reduced-motion:reduce){
 .system-toast,.foreground-notice,.account .swipe-shell>*,.account .workspace-dock .workspace-tabs,.account .workspace-dock .workspace-tab,.account .workspace-dock .workspace-tab span{animation:none!important;transition:none!important}
}

/* Compact curator tiles retain readable names when both call and admin actions exist. */


@media(prefers-reduced-motion:reduce){
 html[data-theme] .account .workspace-dock :is(.workspace-tabs,.workspace-tab,.workspace-tab span){transition:none!important;animation:none!important}
}

/* Navigation chrome shares one neutral icon colour; the active section keeps its accent. */
html[data-theme] .account .workspace-dock .workspace-tab:not([aria-current=page]) .ui-icon,
html[data-theme] .account .workspace-dock>[data-section=search] .ui-icon{color:var(--glass-ink)!important}
/* Swipe actions are complete commands; a trailing chevron repeats the affordance. */
html[data-theme] .account .swipe-actions>button>.ui-icon[data-icon=chevron]{display:none!important}

/* Contact details: quiet information surfaces, glass only on interactive chrome. */
:root{--dsg-control-fill:rgba(255,255,255,.58);--dsg-avatar-rim:rgba(255,255,255,.94);--dsg-avatar-edge:rgba(60,60,67,.22);}
html[data-theme=dark]{
 --dsg-control-fill:rgba(255,255,255,.09);
 --dsg-avatar-rim:rgba(255,255,255,.48);
 --dsg-avatar-edge:rgba(255,255,255,.16);
}
html .account{font-family:var(--dsg-font-text);font-size:var(--ui-callout);letter-spacing:normal;-webkit-font-smoothing:antialiased}
.account :is(button,input,select,textarea){font-family:var(--dsg-font-text);font-size:inherit}
html .account :is(h1,h2,h3){font-family:var(--dsg-font-text);font-weight:600;text-wrap:pretty}
.account :is(.profile-row,.staff-object-row,.search-result) strong{font-weight:600;letter-spacing:-.012em}
.account :is(.profile-row,.staff-object-row,.search-result) small{font-size:calc(0.8125rem*var(--dsg-text-note,1));line-height:1.4}
.account .identity-avatar{
 position:relative;display:inline-grid!important;place-items:center;flex:0 0 44px!important;
 width:44px;height:44px;min-width:0;overflow:hidden;isolation:isolate;border-radius:50%!important;
 border:2px solid var(--dsg-avatar-rim);background:var(--workspace-field);color:var(--glass-ink);
 box-shadow:0 0 0 1px var(--dsg-avatar-edge),0 3px 8px #00000010,inset 0 1px 1px var(--glass-rim);
 font-size:var(--ui-body);font-weight:600;line-height:1;gap:0!important;
}
.account .identity-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.account .identity-avatar.is-large{width:100px;height:100px;flex:none!important;border-width:3px;font-size:var(--ui-large-title);box-shadow:0 0 0 1px var(--dsg-avatar-edge),0 8px 22px #00000018}
.account .identity-avatar>.ui-icon{width:45%;height:45%}
html[data-theme] .account .profile-control{overflow:visible;border-radius:50%;background:var(--glass-reflection),var(--dsg-control-fill)!important;}
.account .profile-control .identity-avatar{width:100%;height:100%;border-width:2px;transition:box-shadow 160ms ease,scale 160ms ease}
.account .profile-control:focus-visible .identity-avatar{box-shadow:0 0 0 2px var(--workspace-accent)}
html[data-theme] .account .identity-header{display:block!important;position:relative;isolation:isolate;min-height:0!important;margin:0 0 20px;text-align:center!important;}


.account .identity-header .identity-content{position:relative;display:flex;align-items:center;flex-direction:column;gap:10px;min-width:0}
.account .identity-header h2{margin:4px 0 0!important;font-size:clamp(24px,4vw,29px)!important;line-height:1.18;overflow-wrap:anywhere;max-width:100%}
.account .identity-header p{margin:0!important;color:var(--glass-muted);font-size:calc(0.8125rem*var(--dsg-text-note,1));line-height:1.45;max-width:36em;overflow-wrap:anywhere}
.account .identity-header .presence-label{margin:0;font-size:calc(0.75rem*var(--dsg-text-note,1));line-height:1.4;padding:5px 10px}
html[data-theme] .account :is(.profile-rows,.staff-object-list,.staff-summary-tiles>div,.staff-disclosure){
 background:var(--glass-card)!important;box-shadow:none!important;border:1px solid var(--glass-divider)!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.account .profile-group h2{font-size:calc(0.8125rem*var(--dsg-text-note,1));font-weight:500;letter-spacing:0;color:var(--glass-muted);margin:22px 14px 9px}
.account .profile-rows{padding:0 16px!important}
.account .profile-row{padding:16px 0;min-height:72px}
.account .profile-row>.ui-icon:first-child{box-sizing:content-box;padding:8px;border-radius:50%;background:var(--workspace-field);width:20px;height:20px;color:var(--glass-ink)}
.account .profile-row>.ui-icon:last-child{opacity:.65;flex:none}
html[data-theme] .account :is(.profile-identity,.staff-detail-identity)~:is(.native-info,.staff-detail-section){margin-top:20px}
html[data-theme] .account :is(.sheet-back,.notifications-trigger,.staff-detail-actions>.ghostbtn){
 background:var(--glass-reflection),var(--dsg-control-fill)!important;border:1px solid var(--glass-line)!important;
 box-shadow:inset 0 1px 1px var(--glass-rim),inset 0 -1px 1px var(--glass-divider),0 3px 12px #0000000a!important;
 backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
@media(prefers-reduced-motion:reduce){.account .identity-avatar{transition:none!important}}
@media(prefers-reduced-transparency:reduce){
 html[data-theme] .account :is(.sheet-back,.notifications-trigger,.profile-control,.staff-detail-actions>.ghostbtn){background:var(--glass-raised)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 
}

/* SF Pro uses the installed/system face; no remote font download at startup. */
:root{--dsg-font-text:"SF Pro Text","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html .account :is(h1,h2,h3,strong,b){font-family:var(--dsg-font-text)}
html .account :is(button,input,select,textarea){font-family:var(--dsg-font-text)}
/* Retain the approved search appearance while avoiding its old positioning bug. */
html[data-theme] .account .header-search.inline-search{transform:none!important;animation:none!important}
.account .staff-summary-tiles:has(>div:only-child){grid-template-columns:minmax(0,1fr)}

/* The photo belongs to the object header. A neutral scrim protects its text. */
html[data-theme] .account .restaurant-hero.has-cover{isolation:isolate;color:#fff;}
html[data-theme] .account .restaurant-hero.has-cover::after{position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;background:linear-gradient(180deg,rgba(0,0,0,.02) 10%,rgba(0,0,0,.3) 45%,rgba(0,0,0,.85));mask-image:none;-webkit-mask-image:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
html[data-theme] .account .restaurant-hero.has-cover .restaurant-hero-content{width:100%;min-width:0;color:#fff!important}
html[data-theme] .account .restaurant-hero.has-cover :is(h2,.restaurant-hero-content>p){color:#fff!important;text-shadow:0 1px 3px #0008;overflow-wrap:anywhere}
html[data-theme] .account .restaurant-hero.has-cover .object-brand{color:#fff!important;opacity:.8}
html[data-theme] .account .restaurant-hero.has-cover .object-status-open{background:rgba(5,45,28,.85)!important;color:#b9f2d3!important}
html[data-theme] .account .restaurant-hero.has-cover .object-status-closed{background:rgba(55,16,20,.85)!important;color:#ffdade!important}

/* One restrained overshoot on opening/releasing controls, never a looping bounce. */
.account .native-sheet[open][data-entering=true]{animation:glass-sheet-in 340ms cubic-bezier(.2,.75,.25,1)}
@keyframes glass-sheet-in{0%{opacity:.6;transform:translateY(18px) scale(.985)}72%{opacity:1;transform:translateY(-2px) scale(1.003)}100%{opacity:1;transform:translateY(0) scale(1)}}
html .account :is(.glass-control,.ghostbtn,.primarybtn){transition:scale 280ms cubic-bezier(.2,1.45,.35,1),box-shadow 160ms ease}
html .account :is(.glass-control,.ghostbtn,.primarybtn):active:not(:disabled){transform:none;scale:.965}
@media(prefers-reduced-motion:reduce){
 html .account .native-sheet[open][data-entering=true]{animation:none!important}
 html .account :is(.glass-control,.ghostbtn,.primarybtn){transition:none!important}
}

/* Contact sheets have one stationary photographic background, outside the scroller. */
.sheet-photo-background{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:0}
.sheet-photo-background img{display:block;width:100%;height:100%;object-fit:cover;filter:blur(28px);transform:scale(1.1)}
.sheet-photo-background::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(250,250,250,.78),rgba(250,250,250,.9))}
html[data-theme=dark] .sheet-photo-background::after{background:linear-gradient(rgba(9,9,9,.6),rgba(9,9,9,.8))}
html[data-theme] .account .native-sheet[data-photo-background=true]>.sheet-body{position:relative;z-index:1;background:transparent!important}
.account .native-sheet>.sheet-header{z-index:2}
html[data-theme] .account .native-sheet[data-photo-background=true] :is(.staff-object-list,.staff-disclosure,.card-information,.contact-notes,.native-info,.staff-rate-row){background:rgba(255,255,255,.72)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme=dark] .account .native-sheet[data-photo-background=true] :is(.staff-object-list,.staff-disclosure,.card-information,.contact-notes,.native-info,.staff-rate-row){background:rgba(24,24,24,.72)!important}
/* A translated swipe row needs a continuous solid backing so its actions never shine through. */

/* A portrait and its rim are not a card within a card. */
html[data-theme] .account .identity-header{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible;padding:20px 12px 12px!important;margin-bottom:0}
html[data-theme] .account .identity-header .identity-avatar.is-large{width:clamp(120px,24vw,168px);height:clamp(120px,24vw,168px);font-size:clamp(44px,9vw,64px);font-weight:300;border:1px solid var(--dsg-avatar-rim);background:var(--dsg-control-fill);box-shadow:inset 0 1px 2px var(--glass-rim),inset 0 -2px 3px var(--glass-divider),0 0 0 1px var(--dsg-avatar-edge),0 6px 24px #00000012}
html[data-theme] .account .profile-control{display:grid!important;place-items:center;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px;min-height:44px;line-height:1}
html[data-theme] .account .profile-control>.identity-avatar{display:grid!important;position:relative;inset:auto;align-self:center;justify-self:center;margin:0!important;flex:none!important;box-sizing:border-box;aspect-ratio:1}
.contact-primary-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:10px 0 24px}
.account .contact-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:88px;min-height:72px;padding:12px 16px;border:1px solid var(--glass-line);border-radius:24px;text-decoration:none;color:var(--glass-ink);background:var(--glass-reflection),var(--dsg-control-fill);box-shadow:inset 0 1px 1px var(--glass-rim),0 3px 12px #0000000a;font-size:calc(0.75rem*var(--dsg-text-note,1))}
.contact-action .ui-icon{width:23px;height:23px}
.account .contact-notes{margin:12px 0 24px;padding:18px;border:1px solid var(--glass-divider);border-radius:22px;background:var(--glass-card)}
.account .contact-notes h3{font-size:calc(0.8125rem*var(--dsg-text-note,1));font-weight:300!important;color:var(--glass-muted);margin:0 0 10px}
.contact-note-text{white-space:pre-wrap;overflow-wrap:anywhere;min-height:56px;margin:0}
.account .contact-notes textarea{resize:vertical;min-height:100px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;line-height:1.5}
html[data-theme] .account .contact-notes #staff-contact-notes{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.contact-notes .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.contact-notes form{display:grid;gap:12px}.contact-notes form>button{justify-self:end}
.account .native-sheet[data-sheet=staff] .native-info{margin:0 0 12px;padding:14px 18px;border:1px solid var(--glass-divider);border-radius:22px;background:var(--glass-card)}
.account .native-sheet[data-sheet=staff] .native-info>div{padding:6px 0;border:0}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info a{color:var(--glass-ink);text-decoration:none}
/* Object identity uses the same unboxed portrait treatment over its own photo. */
html[data-theme] .account .restaurant-hero.has-cover{flex-direction:column;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] .account .restaurant-hero.has-cover .restaurant-cover{flex:none;z-index:auto}
html[data-theme] .account .restaurant-hero.has-cover::after{content:none}
html[data-theme] .account .restaurant-hero.has-cover :is(.restaurant-hero-content,h2,.restaurant-hero-content>p,.object-brand){color:var(--glass-ink)!important;text-shadow:none;opacity:1}
html[data-theme] .account .restaurant-hero.has-cover .object-status{background:var(--workspace-field)!important;color:var(--glass-ink)!important;border:1px solid var(--glass-divider)}
@media(prefers-reduced-transparency:reduce){.sheet-photo-background{display:none}html[data-theme] .account .native-sheet[data-photo-background=true] :is(.staff-object-list,.staff-disclosure,.card-information,.contact-notes,.native-info,.staff-rate-row){background:var(--glass-card)!important}}

/* Contact references: quiet grouped information, glass reserved for controls. */
:root{--dsg-contact-surface:rgba(255,255,255,.8);--dsg-contact-muted:#6e6e73}
html[data-theme=dark]{--dsg-contact-surface:rgba(255,255,255,.075);--dsg-contact-muted:#aeaeb2}
html .account{font-size:var(--ui-body);font-weight:400;line-height:1.4}
html .account :is(p,small,label,input,select,textarea){font-weight:400}
html .account :is(button,summary){font-weight:500}
html .account :is(h1,h2,h3){letter-spacing:-.02em}
html .account h1{font-weight:700}
html .account :is(h2,h3,strong,b){font-weight:600}
html .account :is(.profile-row,.staff-object-row,.search-result) strong{font-weight:600!important}
html .account :is(.card-information strong,.overview-tile>strong,.finance-balance>strong,.period-total>strong){font-weight:400!important}
html .account :is(.section-subtitle,.identity-header p,.profile-row small,.staff-object-row small){color:var(--dsg-contact-muted);line-height:1.4}
html .account .identity-header h2{font-size:calc(1.75rem*var(--dsg-text-title,1))!important;font-weight:700;line-height:1.2}
html .account .identity-header p{font-size:var(--ui-callout)}
html .account :is(.profile-row,.staff-object-row){font-size:calc(1.0625rem*var(--dsg-text-body,1))}
html .account :is(.profile-row,.staff-object-row) small{font-size:var(--ui-callout)}
html[data-theme] .account :is(.account-card,.work-card,.production-object-card,.overview-tile,.card-information,.staff-object-list,.staff-rate-row,.staff-disclosure,.profile-rows,.native-info,.contact-notes){border-color:transparent!important;box-shadow:none!important}
html[data-theme] .account .native-sheet :is(.card-information,.native-info,.contact-notes,.staff-object-list,.staff-rate-row,.staff-disclosure){border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

html .account .native-sheet[data-sheet=staff] :is(.native-info,.contact-notes){padding:18px 20px;border-radius:24px}
html .account .native-sheet[data-sheet=staff] :is(.native-info dt,.contact-notes h3){font-size:var(--ui-callout);font-weight:400!important;letter-spacing:normal;line-height:1.3;color:var(--glass-ink)}
html .account .native-sheet[data-sheet=staff] :is(.native-info dd,.contact-notes textarea,.contact-note-text){font-size:calc(1.0625rem*var(--dsg-text-body,1))!important;line-height:1.4}
html .account .contact-primary-actions{gap:12px;margin:18px 0 24px}
html .account .contact-action{display:grid;place-items:center;min-width:56px;width:56px;min-height:56px;height:56px;padding:0;border-radius:50%;background:var(--dsg-control-fill);box-shadow:inset 0 1px 1px var(--glass-rim);color:var(--glass-ink)}
.note-save-status:empty{display:none}.note-save-status{font-size:calc(0.8125rem*var(--dsg-text-note,1));line-height:1.35;color:var(--dsg-contact-muted)}.note-save-status[data-error=true]{color:var(--glass-ink);padding-top:8px}
html[data-theme] .account .contact-notes #staff-contact-notes{resize:none!important;overflow:hidden;min-height:112px}
/* Equal hit targets and one rim: the image does not draw a second ring. */
html[data-theme] .account .workspace-tools>:is(.notifications-trigger,.profile-control){box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px;min-height:44px;flex:0 0 44px;border-radius:50%}
html[data-theme] .account .profile-control{padding:3px!important;border:1px solid var(--glass-line)!important;box-shadow:inset 0 1px 1px var(--glass-rim),0 2px 8px #0000000a!important}
html[data-theme] .account .profile-control>.identity-avatar{border:0!important;outline:0;box-shadow:none!important;width:100%;height:100%;border-radius:50%;background:transparent}
/* Keep the stationary photo backdrop, restore a full-width cover above it. */
html[data-theme] .account .restaurant-hero.has-cover{display:flex;position:relative;align-items:stretch;justify-content:flex-end;min-height:280px;height:clamp(280px,42vw,340px);gap:0;padding:24px!important;text-align:left;overflow:hidden;border-radius:24px!important}
html[data-theme] .account .restaurant-hero.has-cover .restaurant-cover{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:cover;border-radius:inherit!important;border:0!important;box-shadow:none!important;filter:none;mask-image:linear-gradient(to top,transparent 0%,rgba(0,0,0,.5) 50%,#000 90%);-webkit-mask-image:linear-gradient(to top,transparent 0%,rgba(0,0,0,.5) 50%,#000 90%)}
html[data-theme] .account .restaurant-hero.has-cover .restaurant-hero-content{position:relative;z-index:2;margin-top:auto;text-align:left}
/* A restrained refractive lens follows the finger; no animated blur filters. */
html[data-theme] .account .workspace-tabs[data-dragging=true] .workspace-selection{background:radial-gradient(ellipse at var(--glass-flow,50%) 0%,#ffffff90,transparent 56%),linear-gradient(125deg,#ffffff3d,#ffffff08 45%,#ffffff36)!important;border:1px solid #ffffff99!important;box-shadow:inset 0 2px 2px #ffffffa0,inset 0 -2px 5px #ffffff45,0 5px 18px #00000018!important;backdrop-filter:blur(30px) saturate(1.5)!important;-webkit-backdrop-filter:blur(30px) saturate(1.5)!important;transform-origin:center;will-change:transform,left}
html[data-theme=dark] .account .workspace-tabs[data-dragging=true] .workspace-selection{background:radial-gradient(ellipse at var(--glass-flow,50%) 0%,#ffffff55,transparent 58%),linear-gradient(125deg,#ffffff25,#ffffff06 45%,#ffffff20)!important;border-color:#ffffff66!important}
@media(prefers-reduced-motion:reduce){html[data-theme] .account .workspace-tabs[data-dragging=true] .workspace-selection{will-change:auto;transform:none!important}}
@media(prefers-reduced-transparency:reduce){html[data-theme] .account .native-sheet :is(.card-information,.native-info,.contact-notes,.staff-object-list,.staff-rate-row,.staff-disclosure){background:var(--glass-card)!important}}

/* One content material across profiles, objects, staff and their nested tools. */
html[data-theme] .account :is(.account-card,.work-card,.production-object-card,.staff-card,.home-shift-card,.overview-tile,.finance-balance,.payroll-period,.profile-rows,.card-information,.staff-object-list,.staff-rate-row,.staff-disclosure,.native-info,.contact-notes){background:var(--dsg-content-fill)!important;border:0!important;box-shadow:none!important}
html[data-theme] .account .native-sheet :is(.card-information,.native-info,.contact-notes,.staff-object-list,.staff-rate-row,.staff-disclosure){background:var(--dsg-content-fill)!important}
html[data-theme] .account .native-sheet[data-photo-background] :is(.card-information,.native-info,.contact-notes,.staff-object-list,.staff-rate-row,.staff-disclosure,.profile-rows){background:var(--dsg-content-fill)!important}
html[data-theme] .account .native-sheet[data-sheet=profile] .profile-rows{backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;background:var(--dsg-content-fill)!important}
html[data-theme] .account .profile-row{background:transparent!important;box-shadow:none!important;border-radius:0}

html .account .contact-action.is-unavailable{opacity:.3;cursor:default;pointer-events:none;box-shadow:none!important}



/* Keep controls compact without reducing their touch targets. */
html .account .staff-sectors{margin:0 0 10px!important}
html .account .workspace-content[data-tab=employees]>.native-section-top{margin:8px 0!important;min-height:44px}
html .account .workspace-content[data-tab=employees]>.native-section-top p{margin:0!important;font-size:var(--ui-subheadline)}
html .account .staff-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px!important;padding:0!important}
html .account .staff-filters>.native-field{display:grid;gap:6px;margin:0!important;padding:0!important;font-size:var(--ui-subheadline);line-height:1.3}
html .account .staff-filters>.staff-object-filter{grid-column:1/-1}
html .account .staff-filters select{margin:0!important;min-height:44px!important;padding:9px 12px!important}
html .account .staff-grid{gap:12px}
html .account .staff-card{padding:16px!important;gap:12px!important;min-height:0!important;align-items:flex-start!important}
html .account .staff-card-main{display:grid;gap:5px;min-width:0}
html .account .staff-card-main>:is(strong,small,.staff-card-state,.staff-object-chips){margin:0!important;line-height:1.3}
html .account .staff-card-main>strong{font-size:calc(1.0625rem*var(--dsg-text-body,1));font-weight:600!important}
html .account .staff-card-main>small{font-size:var(--ui-subheadline);font-weight:400!important}
html .account .staff-card-state{font-size:calc(0.75rem*var(--dsg-text-note,1));font-weight:400!important}
html .account .staff-object-chips{gap:4px;padding-top:3px}
html .account .staff-object-chips>span{padding:3px 6px;font-size:calc(0.6875rem*var(--dsg-text-note,1));font-weight:500!important}
/* Primary actions use a shallow tint rather than a convex bevel. */
html[data-theme] .account .primarybtn{min-height:44px;padding:11px 18px!important;background:var(--glass-ink)!important;color:var(--glass-canvas)!important;border:0!important;box-shadow:0 2px 5px #0000000c!important;line-height:1.3;font-weight:600}
html .account .shift-period-form{padding:16px!important;gap:12px!important}
html .account .shift-period-form label{margin:0!important;gap:6px}
html .account .shift-period-form button{min-height:44px!important;margin-top:0!important}
@media(prefers-reduced-transparency:reduce){html[data-theme]{--dsg-content-fill:var(--glass-card)}html[data-theme] .account .native-sheet[data-sheet=profile] .profile-rows{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Shared action surfaces. Keep content rows independent from floating controls. */
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close),
.dsg-confirmation .confirmation-actions button {
  --action-edge: color-mix(in srgb,currentColor 12%,transparent);
  --action-fill: color-mix(in srgb,var(--glass-card,#fff) 82%,transparent);
  min-block-size:44px;
  box-shadow:none;
  transition:background-color .16s ease,opacity .16s ease;
}
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close) {
  display:inline-grid;place-items:center;flex:0 0 44px;
  inline-size:44px;block-size:44px;min-inline-size:44px;padding:0;
  border:1px solid var(--action-edge);border-radius:50%;
  color:var(--glass-ink);background:var(--action-fill);
}
.account .dsg-add span {font-family:system-ui,sans-serif;font-size:calc(1.5rem*var(--dsg-text-title,1));font-weight:500;line-height:1}
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close) svg {inline-size:19px;block-size:19px}
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close):active,
.dsg-confirmation button:active,.contact-context-dialog :is(button,a):active {opacity:.68}
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close):disabled {opacity:.45}
.account :is(.dsg-add,.dsg-icon-control,.native-sheet-close):focus-visible,
.dsg-confirmation button:focus-visible,.contact-context-dialog :is(button,a):focus-visible {
  outline:2px solid currentColor;outline-offset:2px;
}










.account .object-status:is(.object-status-open,.object-status-closed) {
  display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;font-size:calc(.75rem*var(--dsg-text-note,1));
  background:color-mix(in srgb,currentColor 10%,var(--glass-card));
}
.account .object-status-open {color:#22664b}
.account .object-status-closed {color:#963b43}
html[data-theme="dark"] .account .object-status-open {color:#a0e0bf}
html[data-theme="dark"] .account .object-status-closed {color:#f9adb1}

.dsg-confirmation,.contact-context-dialog {
  box-sizing:border-box;color:var(--glass-ink,#191919);background:color-mix(in srgb,var(--glass-card,#fff) 95%,transparent);
  border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:22px;
  box-shadow:0 14px 42px #0003;backdrop-filter:blur(20px);
  animation:dsg-overlay-in .16s ease-out;
}
.dsg-confirmation {width:min(calc(100% - 32px),344px);padding:18px}
.dsg-confirmation::backdrop,.contact-context-dialog::backdrop {background:#0005}
.dsg-confirmation h2 {font-size:calc(1.03rem*var(--dsg-text-body,1));line-height:1.35;margin:0}
.dsg-confirmation p {font-size:calc(.87rem*var(--dsg-text-note,1));margin:8px 0 0;line-height:1.4}
.confirmation-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.confirmation-actions.is-stacked {grid-template-columns:1fr}
.confirmation-actions .is-preferred {background:var(--workspace-accent,#0a7aff);color:#fff}
.confirmation-actions button {min-height:44px;border:0;border-radius:14px;font:inherit;font-weight:600;background:color-mix(in srgb,currentColor 9%,transparent);color:inherit}
.confirmation-actions .quiet-danger {color:#a22937}
html[data-theme="dark"] :is(.confirmation-actions .quiet-danger,.account .notification-actions .quiet-danger) {color:#ffadb1}
.contact-context-dialog {position:fixed;inset:auto;margin:0;width:min(268px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;overscroll-behavior:contain}
.contact-context-name {display:block;padding:12px;overflow-wrap:anywhere}
.contact-context-dialog :is(a,button) {display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:6px 11px;text-align:start;color:inherit;text-decoration:none;border:0;border-radius:10px;background:none;font:inherit}
.contact-context-dialog svg {width:18px;height:18px;flex:none}
.contact-context-dialog .context-danger {color:#a22937}
html[data-theme="dark"] .contact-context-dialog .context-danger {color:#ffadb1}
.is-contact-target {filter:brightness(1.06)}
@keyframes dsg-overlay-in {from {opacity:0;transform:translateY(4px)} to {opacity:1;transform:none}}

.account .notification-inbox,.warehouse-list {padding:0;margin:10px 0;list-style:none}
.account .notification-inbox > li,.warehouse-list > li {min-width:0;padding:8px 0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.account .notification-inbox > li {display:flex;align-items:center;justify-content:space-between;gap:6px}
.account .notification-inbox .notification-event {display:grid;gap:3px;flex:1;min-width:0;min-height:44px;text-align:start;border:0;border-radius:10px;background:none;box-shadow:none;overflow-wrap:anywhere;}
.notification-event time {font-size:calc(.75rem*var(--dsg-text-note,1));color:var(--glass-muted)}
.warehouse-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}



.warehouse-toolbar {display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.warehouse-toolbar label {width:100%}
.warehouse-line {min-width:0;padding:8px 10px;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:16px;margin:8px 0 12px}
.warehouse-line legend {padding:0 4px}
.warehouse-difference,.warehouse-notice {display:block;margin-block:8px;font-size:calc(.86rem*var(--dsg-text-note,1))}


.warehouse-record {border:0!important;background:none!important;box-shadow:none!important;width:100%;text-align:start;min-height:44px;color:inherit}
.warehouse-record,.warehouse-list > li {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;overflow-wrap:anywhere}
.warehouse-list small,.warehouse-ocr,.warehouse-ocr details {grid-column:1/-1}
.warehouse-ocr pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:calc(.8rem*var(--dsg-text-note,1))}
.warehouse-upload {position:relative;display:inline-flex;align-items:center;min-height:44px;overflow:hidden}
.warehouse-upload input {
  position:absolute;inset:0;opacity:0;
  box-sizing:border-box;width:100%;height:100%;min-width:0;max-width:100%;
  padding:0;border:0;cursor:pointer;
}
.warehouse-upload:focus-within {outline:2px solid currentColor;outline-offset:2px}
.warehouse-summary dd {margin:0}
.warehouse-document :is(input,select,summary) {min-height:44px}






.warehouse-document,.warehouse-document :is(form,fieldset,label,output) {min-width:0;max-width:100%;box-sizing:border-box}
.warehouse-line legend {max-width:100%;overflow-wrap:anywhere}
.warehouse-wide,.warehouse-list > .warehouse-original {grid-column:1/-1}
.warehouse-original img {display:block;max-width:100%;max-height:380px;object-fit:contain;margin-block:6px}
.warehouse-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:8px}
.warehouse-section-heading h3 {margin:0}
@media(prefers-reduced-motion:reduce) {
  .dsg-confirmation,.contact-context-dialog {animation:none}
  .account :is(.dsg-add,.dsg-icon-control,.native-sheet-close) {transition:none}
}
@media(prefers-reduced-transparency:reduce) {
  .dsg-confirmation,.contact-context-dialog {background:var(--glass-card,#fff);backdrop-filter:none}
}
html[data-theme] .account .restaurant-hero.has-cover .object-status:is(.object-status-open,.object-status-closed) {
  border:0;
  background:color-mix(in srgb,var(--glass-card) 86%,transparent)!important;
}
html[data-theme="light"] .account .restaurant-hero.has-cover .object-status-open {color:#22664b!important}
html[data-theme="light"] .account .restaurant-hero.has-cover .object-status-closed {color:#963b43!important}
html[data-theme="dark"] .account .restaurant-hero.has-cover .object-status-open {color:#a0e0bf!important}
html[data-theme="dark"] .account .restaurant-hero.has-cover .object-status-closed {color:#f9adb1!important}

/* DSG semantic controls and grouped forms. See docs/design-system.md. */
:root {
  --ui-large-title: calc(2rem*var(--dsg-text-title,1)); --ui-title: calc(1.25rem*var(--dsg-text-title,1)); --ui-headline: calc(1.0625rem*var(--dsg-text-title,1));
  --ui-body: calc(1rem*var(--dsg-text-body,1)); --ui-callout: calc(.9375rem*var(--dsg-text-body,1)); --ui-subheadline: calc(.875rem*var(--dsg-text-body,1));
  --ui-footnote: calc(.8125rem*var(--dsg-text-note,1)); --ui-caption: calc(.75rem*var(--dsg-text-note,1));
  --ui-menu-text: var(--ui-callout); --ui-dialog-text: var(--ui-body);
  --ui-input-text: var(--ui-body); --ui-action-text: var(--ui-callout);
  --ui-space-1: .25rem; --ui-space-2: .5rem; --ui-space-3: .75rem; --ui-space-4: 1rem;
  --ui-hit: 44px; --ui-icon: 1.1875rem; --ui-radius: 1rem; --ui-sheet-radius: 1.5rem;
  --ui-divider: color-mix(in srgb,currentColor 15%,transparent);
  --ui-danger: #a22937; --ui-motion: 150ms;
}
/* iOS text styles (owner, 22 Nov 2026: «размер стандартов iOS»). On iPhone and iPad the DSG tokens are the iOS Dynamic
   Type sizes at the default text size — Large Title 34, Headline 17, Body 17, Callout 16, Subheadline 15, Footnote 13,
   Caption 12 — and scale with the person's text size, as rem follows -apple-system-body. A computer keeps 16 px body. */
@media (pointer:coarse) {:root {--ui-large-title:calc(2.125rem*var(--dsg-text-title,1));--ui-body:calc(1.0625rem*var(--dsg-text-body,1));--ui-callout:calc(1rem*var(--dsg-text-body,1));--ui-subheadline:calc(.9375rem*var(--dsg-text-body,1))}}
html[data-theme="dark"] {--ui-danger:#ffadb1}
.account .dsg-icon-control {min-inline-size:var(--ui-hit);min-block-size:var(--ui-hit)}
.account .dsg-icon-control .ui-icon {inline-size:var(--ui-icon);block-size:var(--ui-icon)}
.account .ui-grouped-form {display:grid;gap:var(--ui-space-4);min-inline-size:0}
.account .ui-field-group {display:grid;gap:var(--ui-space-2);min-inline-size:0;margin:0;padding:var(--ui-space-3);border:1px solid var(--ui-divider);border-radius:var(--ui-radius);background:var(--dsg-content-fill)}
.account .ui-field-group legend {padding-inline:var(--ui-space-1);font-size:var(--ui-headline);font-weight:600}
.account .ui-field-group :is(label,.ui-field-label,summary) {font-size:var(--ui-subheadline)}
.account .ui-field-group :is(input:not([type=checkbox],[type=hidden]),select) {box-sizing:border-box;inline-size:100%;min-inline-size:0;min-block-size:var(--ui-hit);font-size:var(--ui-input-text)}
.account .ui-form-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:var(--ui-space-2)}
.account .ui-form-actions button {min-block-size:var(--ui-hit);font-size:var(--ui-action-text)}
.dsg-confirmation h2 {font-size:var(--ui-dialog-text)}
.contact-context-dialog {font-size:var(--ui-menu-text)}
.account .notification-event time {font-size:var(--ui-footnote)}
.account .native-sheet .sheet-header h2 {font-size:var(--ui-title);overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce) { :root {--ui-motion:0ms} }

.account .notification-inbox {overflow:hidden}
.account .notification-inbox > li {touch-action:pan-y}
.account .notification-inbox .notification-event {font-size:var(--ui-body);padding:var(--ui-space-2)}
.account .notification-inbox .notification-event span {font-size:var(--ui-subheadline)}





.dsg-confirmation .quiet-danger,.contact-context-dialog .context-danger {color:var(--ui-danger)}
.account .ui-form-actions button,.account .ui-field-group summary {overflow-wrap:anywhere}

/* These two declarations supersede legacy form-wide important rules for grouped rows. */








/* Shared operational controls and content surfaces */
:root {
  --ui-track: color-mix(in srgb,var(--glass-ink) 9%,var(--glass-card));
  --ui-selection: var(--glass-card);
  --ui-interaction: color-mix(in srgb,currentColor 8%,transparent);
  --ui-status-positive: #19633c;
  --ui-status-attention: #a84800;
}
html[data-theme="dark"] {
  --ui-track: color-mix(in srgb,var(--glass-ink) 12%,var(--glass-card));
  --ui-selection: color-mix(in srgb,var(--glass-ink) 20%,var(--glass-card));
  --ui-status-positive: #9bdfb4;
  --ui-status-attention: #ffb340;
}
@media (pointer:coarse), (max-width:799px) {
  :root {--ui-body:1.0625rem;--ui-headline:var(--ui-body)}
}
.account .ui-action {
  min-block-size:var(--ui-hit);
  font-size:var(--ui-action-text);
  line-height:1.25;
}
.account .ui-action:disabled {opacity:.48;cursor:default}
.account .ui-quiet-action {
  padding:var(--ui-space-2) var(--ui-space-3);
  color:inherit;background:transparent;border:0;box-shadow:none;border-radius:var(--ui-radius);
}
.account .ui-quiet-action.quiet-danger {color:var(--ui-danger)}
.account .ui-content-group {
  padding:var(--ui-space-3);
  background:var(--dsg-content-fill);
  border:0;border-radius:var(--ui-radius);
}
.account .ui-content-group h3,.account .ui-section-title {
  margin:0 0 var(--ui-space-2);
  color:inherit;font-size:var(--ui-headline);font-weight:600;line-height:1.3;
}
.account .ui-empty-note {margin:0;padding:var(--ui-space-2) 0;color:var(--glass-muted);font-size:var(--ui-callout)}
.account .ui-status {
  display:inline-flex;align-items:center;gap:var(--ui-space-1);
  padding:var(--ui-space-1) var(--ui-space-2);border-radius:var(--ui-radius);
  background:var(--ui-interaction);color:inherit;font-size:var(--ui-footnote);line-height:1.25;
}
.account .ui-status::before {content:"";inline-size:.35em;block-size:.35em;flex:none;border-radius:50%;background:currentColor}
.account .ui-status[data-tone="attention"] {color:var(--ui-status-attention)}
.account .ui-status[data-tone="positive"] {color:var(--ui-status-positive)}
.account .ui-status[data-tone="negative"] {color:var(--ui-danger)}
.account .ui-segments {
  --segments:2;--selected:0;
  display:grid;grid-template-columns:repeat(var(--segments),minmax(0,1fr));
  position:relative;isolation:isolate;padding:var(--ui-space-1);
  border-radius:var(--ui-radius);background:var(--ui-track);
}
.account .ui-segments:has(button:nth-of-type(3)) {--segments:3}
.account .ui-segments:has(button:nth-of-type(4)) {--segments:4}
.account .ui-segments:has(button:nth-of-type(5)) {--segments:5}
.account .ui-segments:has(button:nth-of-type(2)[aria-selected="true"]) {--selected:1}
.account .ui-segments:has(button:nth-of-type(3)[aria-selected="true"]) {--selected:2}
.account .ui-segments:has(button:nth-of-type(4)[aria-selected="true"]) {--selected:3}
.account .ui-segments:has(button:nth-of-type(5)[aria-selected="true"]) {--selected:4}
.account .ui-segment-indicator {
  position:absolute;inset:var(--ui-space-1) auto var(--ui-space-1) var(--ui-space-1);
  inline-size:calc((100% - 2 * var(--ui-space-1)) / var(--segments));
  border-radius:calc(var(--ui-radius) - var(--ui-space-1));background:var(--ui-selection);
  transform:translateX(calc(100% * var(--selected)));transition:transform var(--ui-motion) ease-out;
  pointer-events:none;z-index:-1;
}
.account .ui-segments button {
  min-inline-size:0;min-block-size:var(--ui-hit);
  padding:var(--ui-space-1);border:0;border-radius:calc(var(--ui-radius) - var(--ui-space-1));
  background:none;box-shadow:none;color:var(--glass-muted);font-size:var(--ui-subheadline);
  line-height:1.2;font-weight:500;overflow-wrap:anywhere;
}
.account .ui-segments button[aria-selected="true"] {color:var(--glass-ink);font-weight:600}
.account .ui-navigation-row {
  display:flex;align-items:center;gap:var(--ui-space-2);min-inline-size:0;min-block-size:var(--ui-hit);
  inline-size:100%;box-sizing:border-box;padding:var(--ui-space-2);
  text-align:start;background:transparent;border:0;box-shadow:none;color:inherit;cursor:pointer;
}
.account .ui-navigation-row::marker {content:""}
.account summary.ui-navigation-row::after {content:none;display:none!important}
.account details[open] > summary.ui-navigation-row {margin-bottom:0}
.account .ui-navigation-row::-webkit-details-marker {display:none}
.account .ui-navigation-row > .ui-icon {flex:none;inline-size:var(--ui-icon);block-size:var(--ui-icon);color:var(--glass-muted)}
.account .ui-navigation-row > [data-icon="chevron"] {inline-size:var(--ui-footnote)}
.account details[open] > .ui-navigation-row > [data-icon="chevron"] {rotate:90deg}
.account .ui-row-copy {display:grid;flex:1;min-inline-size:0;gap:var(--ui-space-1);overflow-wrap:anywhere}
.account .ui-row-copy strong {font-size:var(--ui-body);font-weight:500;line-height:1.25}
.account .ui-row-copy small {color:var(--glass-muted);font-size:var(--ui-footnote);line-height:1.35}
.account :is(.ui-action,.ui-navigation-row,.ui-segments button,.ui-switch-row):focus-visible {
  outline:2px solid currentColor;outline-offset:-3px;
}
.account .ui-switch-row {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);position:relative;min-block-size:var(--ui-hit);padding:var(--ui-space-2);cursor:pointer;font-size:var(--ui-body)}
.account .ui-switch-row input {position:absolute;inset-inline-end:var(--ui-space-2);opacity:0;inline-size:var(--ui-hit);block-size:var(--ui-hit);margin:0;cursor:inherit}
.account .ui-switch-track {display:flex;align-items:center;flex:none;inline-size:3rem;block-size:1.75rem;padding:var(--ui-space-1);box-sizing:border-box;background:var(--ui-track);border-radius:2rem;pointer-events:none}
.account .ui-switch-track::after {content:"";inline-size:1.25rem;block-size:1.25rem;background:var(--glass-card);border-radius:50%;transition:transform var(--ui-motion)}
.account .ui-switch-row input:checked + .ui-switch-track {background:var(--ui-status-positive)}
.account .ui-switch-row input:checked + .ui-switch-track::after {transform:translateX(1.25rem)}
.account .ui-switch-row input:focus-visible + .ui-switch-track {outline:2px solid currentColor;outline-offset:3px}
.account .ui-switch-row input:disabled + .ui-switch-track {opacity:.55}

.account :is(.warehouse-module,.warehouse-document) {display:grid;gap:var(--ui-space-3)}
.account .warehouse-module .warehouse-list {margin:var(--ui-space-2) 0 0;padding-block:0}
.account .warehouse-module .warehouse-list > li {padding:0;border-color:var(--ui-divider)}
.account .warehouse-list > li:last-child {border-bottom:0}
.account .warehouse-module .warehouse-list > :is(.warehouse-balance,.warehouse-history-row) {
  padding:var(--ui-space-2);min-block-size:var(--ui-hit);font-size:var(--ui-body);
}
.account .warehouse-balance > span:last-child {font-variant-numeric:tabular-nums;text-align:end}
.account .warehouse-panel-actions {display:flex;justify-content:flex-end}
.account .warehouse-settings {display:grid;gap:var(--ui-space-3)}
.account .warehouse-catalog {padding-block:0;margin:0}
.account .warehouse-catalog form {padding:var(--ui-space-2)}
.account .warehouse-module .warehouse-toolbar {flex-wrap:nowrap;gap:var(--ui-space-2)}
.account .warehouse-module .warehouse-toolbar > label {flex:1;min-inline-size:0;margin:0}
.account .warehouse-attachments > small,.account .warehouse-notice {font-size:var(--ui-footnote);color:var(--glass-muted)}
.account .warehouse-attachments > small {display:block;margin-block-start:var(--ui-space-2)}
.account .warehouse-notice:empty {display:none}
.account .warehouse-attachments .warehouse-list {margin-block:0 var(--ui-space-2)}
.account .warehouse-attachments .warehouse-list > li {display:block}
.account .warehouse-summary {display:grid;gap:var(--ui-space-1);margin:0}
.account .warehouse-summary > div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:var(--ui-space-2);padding-block:var(--ui-space-1);overflow-wrap:anywhere}
.account .warehouse-summary dt {font-size:var(--ui-footnote);color:var(--glass-muted)}
.account .warehouse-summary dd {font-size:var(--ui-callout)}
.account .warehouse-file-row {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--ui-space-2)}
.account .warehouse-file-row a {display:inline-flex;align-items:center;min-block-size:var(--ui-hit);color:inherit;font-size:var(--ui-callout)}
.account .warehouse-upload {background:var(--ui-interaction);cursor:pointer}
.account .warehouse-upload:has(input:disabled) {opacity:.48;cursor:default}
.account fieldset.warehouse-line {border:0!important;border-top:1px solid var(--ui-divider)!important;border-radius:0;padding-inline:0}
.account .warehouse-line legend {font-size:var(--ui-callout);font-weight:600}
.account .warehouse-section-heading {margin:0}
.account .warehouse-section-heading h3 {margin:0}


.account .warehouse-footer {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  flex:none;gap:var(--ui-space-2);
  padding:var(--ui-space-2) var(--ui-space-4) max(var(--ui-space-2),env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--ui-divider);
  background:var(--glass-modal);
}
.account .native-sheet:has(>.warehouse-footer) > .sheet-body {padding-block-end:var(--ui-space-3)}
.account .warehouse-footer > small {flex-basis:100%}
.account .warehouse-footer .ui-form-actions {order:2;margin-inline-start:auto}
.account .warehouse-footer > .ui-quiet-action {order:1}
.account .warehouse-footer .ui-action.quiet-danger {color:var(--ui-danger)!important}
.account .warehouse-footer #warehouse-confirm:disabled {background:var(--ui-track)!important;color:var(--glass-muted)!important;box-shadow:none!important}
@media (max-width:480px) {
  
  .account .warehouse-footer .ui-form-actions {order:0;margin-inline:0;justify-content:flex-start}
}
.account .object-tool-section {margin-block-start:var(--ui-space-4)}
.account :is(.object-tool-rows,.restaurant-posts) {padding-block:0}
.account .object-tool-rows > * + *, .account .restaurant-posts > article + article,
.account .object-settings-rows, .account .post-detail-schedule > li + li {border-top:1px solid var(--ui-divider)}
.account .object-settings-rows {padding-inline-start:var(--ui-space-4)}
.account .restaurant-posts:has(>article) {padding-inline:var(--ui-space-2);background:var(--dsg-content-fill);border-radius:var(--ui-radius)}
.account .security-post-row {touch-action:pan-y}
.account .post-detail {display:grid;gap:var(--ui-space-3)}
.account .post-meta {display:flex;align-items:center;flex-wrap:wrap;gap:var(--ui-space-2);font-size:var(--ui-callout)}
.account .post-detail-schedule {list-style:none;padding:0;margin:0}
.account .post-detail-schedule > li {display:flex;align-items:center;flex-wrap:wrap;gap:var(--ui-space-2);padding:var(--ui-space-2) 0}


.contact-context-dialog {
  padding:var(--ui-space-1);
  border-radius:var(--ui-radius);
  background:color-mix(in srgb,var(--glass-card,#fff) 89%,transparent);
  box-shadow:0 .5rem 1.5rem #0002;
}
.contact-context-dialog .contact-context-name {font-size:var(--ui-subheadline);color:var(--glass-muted);font-weight:500;padding:var(--ui-space-2) var(--ui-space-3)}
.contact-context-dialog :is(button,a) {gap:var(--ui-space-2);min-block-size:var(--ui-hit);padding:var(--ui-space-1) var(--ui-space-3)}
.contact-context-dialog :is(button,a):focus:not(:focus-visible) {outline:none}
.contact-context-dialog:focus {outline:none}
.contact-context-dialog hr {border:0;border-top:1px solid var(--ui-divider);margin:var(--ui-space-1) var(--ui-space-2)}
@media (hover:hover) {
  .contact-context-dialog :is(button,a):hover {background:var(--ui-interaction)}
}
@media (prefers-reduced-transparency:reduce) {
  .contact-context-dialog {background:var(--glass-card,#fff);backdrop-filter:none}
}

/* iOS 27 alignment. See docs/design-system.md, "Platform baseline". */
.account .ui-visually-hidden {position:absolute!important;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Fields: one control height and one input text role across DSG. */
html[data-theme] .account :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=range],[type=file],[type=color]),select):not(.header-search *,#workspace-query) {
  block-size:auto!important;max-block-size:none!important;min-block-size:var(--ui-hit)!important;font-size:var(--ui-input-text)!important;
}
html[data-theme] .account textarea {font-size:var(--ui-input-text)!important}
html[data-theme] .account :is(input,select,textarea):focus-visible {outline:2px solid var(--workspace-accent)!important;outline-offset:1px!important}
/* Grouped forms: the group heading sits inside the inset group instead of cutting its edge. */
.account .ui-field-group {border-color:transparent!important;padding-block-start:var(--ui-space-1)}
.account .ui-field-group > legend {float:inline-start;inline-size:100%;margin:0;padding:var(--ui-space-2) 0 0;font-size:var(--ui-headline);font-weight:600;overflow-wrap:anywhere}
.account .ui-grouped-form small {font-size:var(--ui-footnote)}
/* Sheet forms keep Cancel and Save reachable at the bottom edge, as on iPhone. */
.account .native-sheet .sheet-body form > .ui-form-actions:last-child {
  position:sticky;inset-block-end:calc(-1 * (28px + env(safe-area-inset-bottom,0px)));z-index:2;
  margin:var(--ui-space-2) 0 calc(-1 * (28px + env(safe-area-inset-bottom,0px)));
  padding:var(--ui-space-3) 0 calc(var(--ui-space-3) + env(safe-area-inset-bottom,0px));
  background:var(--glass-modal,var(--glass-card));border-block-start:1px solid var(--ui-divider);
  box-shadow:0 0 0 100vmax var(--glass-modal,var(--glass-card));clip-path:inset(0 -100vmax);
}
/* Object card: a decorative glyph never overlaps the title; groups keep their rhythm. */
.account .restaurant-hero:not(.has-cover) .restaurant-hero-content {padding-inline-end:3.5rem}
.account .restaurant-hero + .card-information {margin-block-start:var(--ui-space-3)}
/* Notifications: unread is a leading dot plus text; row actions stay quiet. */

/* Post details: Delete is separated from routine commands. */



/* iOS 27 sheet commands: Cancel ✕ leading, title centered, primary ✓ trailing. */
.account .native-sheet .sheet-header.sheet-header-form {display:grid;grid-template-columns:var(--ui-hit) minmax(0,1fr) var(--ui-hit);align-items:center;gap:var(--ui-space-2)}
.account .native-sheet .sheet-header-form h2 {font-size:var(--ui-headline)!important;font-weight:600;text-align:center;margin:0}
.account .sheet-header-form :is(.sheet-cancel,.sheet-confirm) {display:grid;place-items:center;inline-size:var(--ui-hit);block-size:var(--ui-hit);min-block-size:var(--ui-hit);padding:0;border-radius:50%;border:1px solid var(--ui-divider)}
.account .sheet-header-form .sheet-confirm {background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 55%),var(--ui-glass-fill)!important;color:var(--glass-ink)!important;border:1px solid var(--ui-glass-edge)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),inset 0 -1px 0 rgba(0,0,0,.06),var(--ui-glass-shadow)!important;backdrop-filter:blur(16px) saturate(1.8);-webkit-backdrop-filter:blur(16px) saturate(1.8);cursor:pointer}
.account .sheet-header-form .sheet-confirm .ui-icon {inline-size:1.375rem;block-size:1.375rem}
.account .sheet-header-form .sheet-confirm:disabled {color:var(--glass-muted,currentColor)!important;opacity:.55;cursor:default}
.account .sheet-header-form .sheet-confirm:not(:disabled):active {transform:scale(.94)}
/* Something to save (owner, 20 Nov 2026): the ✓ fills with the DSG action colour, the same as the default button. */
html[data-theme] .account .sheet-header-form .sheet-confirm[data-changed="true"]:not(:disabled) {background:var(--workspace-accent)!important;color:var(--workspace-panel,#fff)!important;border-color:transparent!important;box-shadow:0 2px 8px color-mix(in srgb,var(--workspace-accent) 35%,transparent)!important;transition:background-color var(--ui-motion,200ms),color var(--ui-motion,200ms)}
.account .sheet-header-form :is(.sheet-cancel,.sheet-confirm):focus-visible {outline:2px solid var(--workspace-accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce) {.account .sheet-header-form .sheet-confirm:active {transform:none}}

/* Contact-style employee form (Apple Contacts reference: employee create/edit only). */
.account .ui-contact-form {gap:var(--ui-space-4)}
.account .ui-contact-header {display:grid;justify-items:center;gap:var(--ui-space-3);padding-block:var(--ui-space-2) 0;text-align:center}
.account .ui-contact-header .identity-avatar.ui-contact-avatar {inline-size:6.5rem;block-size:6.5rem;font-size:calc(2.25rem*var(--dsg-text-title,1))}
.account .ui-contact-header .automatic-login-note {margin:0;font-size:var(--ui-footnote);line-height:1.4;color:var(--glass-muted,currentColor);overflow-wrap:anywhere}
.account .ui-contact-photo-action {min-block-size:var(--ui-hit);padding-inline:var(--ui-space-4);border-radius:999px;font-size:var(--ui-callout);font-weight:600}
.account .ui-inset-section {display:grid;gap:var(--ui-space-2);min-inline-size:0;margin:0;padding:0;border:0!important;background:none}
.account .ui-inset-header {float:inline-start;inline-size:100%;padding:0 var(--ui-space-4);margin:0;font-size:var(--ui-footnote);font-weight:500;color:var(--glass-muted,currentColor)}
.account .ui-inset-group {container-type:inline-size;display:grid;min-inline-size:0;border-radius:var(--ui-radius);background:var(--dsg-content-fill,var(--glass-card));overflow:hidden}
.account .ui-inset-group + .ui-inset-group {margin-block-start:var(--ui-space-2)}
.account .ui-inset-row {display:grid!important;grid-template-columns:7rem minmax(0,1fr);align-items:center;gap:var(--ui-space-3);min-block-size:var(--ui-hit);margin:0!important;padding:0 var(--ui-space-4)!important;font-size:var(--ui-body);position:relative}
.account .ui-inset-row + .ui-inset-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
.account .ui-inset-label {color:var(--glass-ink,currentColor);font-size:var(--ui-body);overflow-wrap:normal;hyphens:auto}
html[data-theme] .account .ui-inset-group .ui-inset-row :is(input:not([type=checkbox]),select) {inline-size:100%;margin:0!important;padding:var(--ui-space-2) 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit}
html[data-theme] .account .ui-inset-row :is(input,select):focus-visible {outline:none!important}
.account .ui-inset-row:focus-within {outline:2px solid var(--workspace-accent);outline-offset:-2px;border-radius:var(--ui-radius)}
.account .ui-inset-row.ui-switch-row:focus-within {outline:none}
html[data-theme] .account .ui-inset-group .ui-inset-row.is-menu select {color:var(--glass-muted);padding-inline-end:1.5rem!important;cursor:pointer}
html[data-theme] .account .ui-inset-group .ui-inset-row input::placeholder {color:var(--glass-muted,currentColor);opacity:.75}
.account .ui-inset-row.is-menu::after {content:"";position:absolute;inset-inline-end:var(--ui-space-4);inset-block-start:calc(50% - .5rem);inline-size:1rem;block-size:1rem;background:url('/assets/ui/chevron.svg') center/contain no-repeat;opacity:.7;transform:rotate(90deg);pointer-events:none}
.account .ui-inset-row.ui-switch-row {display:flex!important;justify-content:space-between}
.account .ui-inset-row.ui-switch-row input {inset-inline-end:var(--ui-space-4)}
.account .ui-inset-row.is-picker .job-picker {margin:0;min-inline-size:0}
.account .ui-inset-row.is-picker summary {min-block-size:var(--ui-hit);display:flex;align-items:center;color:var(--glass-muted);font-size:var(--ui-body)!important;cursor:pointer;list-style:none}
.account .ui-inset-row.is-picker:has(details[open]) {grid-template-columns:minmax(0,1fr);padding-block-end:var(--ui-space-2)!important}
.account .ui-inset-row.is-disclosure {display:block!important;border:0!important;border-radius:0!important;padding:0 var(--ui-space-4)!important}
.account .ui-inset-row.is-disclosure > summary {display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:var(--ui-hit);font-size:var(--ui-body)!important;font-weight:400;cursor:pointer;list-style:none}
.account .ui-inset-row.is-disclosure > summary span {font-size:var(--ui-subheadline)!important;color:var(--glass-muted,currentColor)}
.account .ui-inset-row :is(summary)::-webkit-details-marker {display:none}
@container (max-width: 18rem) {
  .account .ui-inset-row:not(.ui-switch-row,.is-disclosure) {grid-template-columns:minmax(0,1fr);gap:0;padding-block-start:var(--ui-space-2)!important}
  .account .ui-inset-label {font-size:var(--ui-subheadline);color:var(--glass-muted,currentColor)}
}

/* iOS 27 view sheets: title centered, Close trailing, Back leading only in nested sheets. */
.account .native-sheet .sheet-header.sheet-header-view {display:grid;grid-template-columns:var(--ui-hit) minmax(0,1fr) var(--ui-hit);align-items:center;gap:var(--ui-space-2)}
.account .native-sheet .sheet-header-view h2 {margin:0;text-align:center;font-size:var(--ui-headline)!important;font-weight:600;transition:opacity var(--ui-motion)}
.account .native-sheet[data-large-title=expanded] .sheet-header-view h2 {opacity:0}
.account .sheet-header-spacer {inline-size:var(--ui-hit)}
@media (prefers-reduced-motion:reduce) {.account .native-sheet .sheet-header-view h2 {transition:none}}

/* Object team: one grouped list, one row per person; the row opens the person, a quiet glyph calls. */
.account .object-team-list {display:grid;min-inline-size:0;margin:0 0 var(--ui-space-4);border-radius:var(--ui-radius);background:var(--glass-card);overflow:hidden}
.account .object-team-list.is-empty {background:none;border-radius:0}
.account .object-team-list > * {position:relative;min-inline-size:0}
.account .object-team-list > * + *::before {content:"";position:absolute;z-index:1;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider);pointer-events:none}
.account .ui-team-row {display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2);padding-inline:var(--ui-space-4) var(--ui-space-1);background:var(--glass-card)}
.account .ui-team-open {display:flex;align-items:center;flex:1;min-inline-size:0;min-block-size:3.5rem;margin:0;padding:var(--ui-space-2) 0;border:0;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer}
.account .ui-team-open > span {display:grid;gap:2px;min-inline-size:0}
.account .ui-team-open small {font-size:var(--ui-footnote);color:var(--glass-muted,currentColor);overflow-wrap:anywhere}
.account .ui-team-open strong {font-size:var(--ui-body);font-weight:500;color:var(--glass-ink);overflow-wrap:anywhere}
.account :is(.ui-team-call,.ui-phone-glyph) {display:inline-grid;place-items:center;flex:none;inline-size:var(--ui-hit);block-size:var(--ui-hit);border-radius:50%;color:var(--workspace-accent)}
.account :is(.ui-team-call,.ui-phone-glyph) .ui-icon {inline-size:1.25rem;block-size:1.25rem}
.account .ui-phone-link {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);min-block-size:var(--ui-hit);color:var(--workspace-accent);text-decoration:none;overflow-wrap:anywhere}
.account .ui-phone-link .ui-phone-glyph {margin-inline-end:calc(-1 * var(--ui-space-3))}
.account .ui-team-phones {flex-basis:100%;min-inline-size:0;padding-block-end:var(--ui-space-2)}
.account .ui-team-phones > summary {min-block-size:var(--ui-hit);font-size:var(--ui-subheadline);font-weight:400;color:var(--glass-muted,currentColor)}
.account :is(.ui-team-open,.ui-team-call,.ui-phone-link):focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-3px;border-radius:var(--ui-space-2)}

/* Row title with a shared status: the same uiStatus pill as in the detail sheet sits beside the title. */
.account .ui-row-title {display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-1) var(--ui-space-2);min-inline-size:0}
.account .ui-row-title > strong {min-inline-size:0}

/* Overview (iOS 27): the brand mark at its reviewed size beside the tools, one large title, plain tile glyphs and grouped lists. */
html[data-theme] .account .overview-title p {text-transform:none}
/* Tile glyphs label the tile; the whole tile is the button. */
html[data-theme] .account .overview-tile > .tile-symbol {inline-size:1.5rem;block-size:1.5rem;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;color:var(--glass-muted,currentColor)}
html[data-theme] .account .overview-tile > .tile-symbol > .ui-icon {inline-size:1.375rem;block-size:1.375rem}
html[data-theme] .account .overview-tile[data-tone=attention] > .tile-symbol {color:var(--ui-status-attention)}
html[data-theme] .account .overview-tile[data-tone=attention] > strong {color:var(--ui-status-attention)}
/* Summary: a calm content block instead of an inverted, bordered card. */




/* Entry points and recent objects: one grouped list each, hairline separators, no per-row border or glow. */
html[data-theme] .account :is(.overview-objects) {display:grid;grid-template-columns:minmax(0,1fr);gap:0!important;border-radius:var(--ui-radius);background:var(--glass-card);overflow:hidden}
html[data-theme] .account :is(.overview-objects) > :is(.overview-object) {position:relative;min-block-size:3.75rem!important;margin:0;padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme] .account :is(.overview-objects) > * + *::before {content:"";position:absolute;inset-block-start:0;inset-inline:calc(var(--ui-space-4) + 3.25rem) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .overview-objects > .section-subtitle {padding:var(--ui-space-4);margin:0}
html[data-theme] .account .overview-object > .recent-object-art {flex:0 0 2.75rem!important;inline-size:2.75rem!important;block-size:2.75rem!important;min-inline-size:2.75rem!important;max-inline-size:2.75rem!important;border-radius:var(--ui-space-3)!important}
html[data-theme] .account .overview-object > .recent-object-art img {inline-size:100%!important;block-size:100%!important;max-inline-size:none}
html[data-theme] .account .overview-object .object-status {align-self:flex-start;margin-block-start:2px}

html[data-theme] .account .overview-object .object-status {display:inline-flex!important;flex:none!important;flex-direction:row!important;gap:5px!important;inline-size:fit-content}

/* Desktop (pointer, wide window): macOS-style form commands — text Cancel and default action at the bottom
   trailing edge; Return submits, Esc cancels. Touch and compact widths keep the header ✕ / ✓. */
.account .sheet-desktop-actions {display:none}
@media (min-width:1200px) and (hover:hover) and (pointer:fine) {
  .account .native-sheet .sheet-header-form :is(.sheet-cancel,.sheet-confirm) {visibility:hidden}
  .account .native-sheet[open] > .sheet-desktop-actions {display:flex;justify-content:flex-end;align-items:center;gap:var(--ui-space-3);flex:none;padding:var(--ui-space-3) var(--ui-space-4);border-block-start:1px solid var(--ui-divider);background:var(--glass-modal,var(--glass-card))}
  html[data-theme] .account .native-sheet .sheet-desktop-actions > button {block-size:auto!important;line-height:1.2!important;box-shadow:none!important;font-size:var(--ui-callout)!important}
  html[data-theme] .account .native-sheet .sheet-desktop-actions > button.ghostbtn {background:var(--glass-card)!important}
  html[data-theme] .account .native-sheet .sheet-desktop-actions > button.primarybtn {background:var(--workspace-accent)!important;color:var(--workspace-panel,#fff)!important}
  .account .sheet-desktop-actions > button:disabled {opacity:.45;cursor:default}
}

/* One tint for everything interactive, and text that meets 4.5:1. Legacy palette tokens resolve to the
   current theme tokens, so older rules inherit the same tint and readable secondary text. */
:root,:root[data-theme] {--accent:var(--workspace-accent);--accentSoft:color-mix(in srgb,var(--workspace-accent) 12%,transparent);--sub:var(--glass-muted);--muted:var(--glass-muted)}
html[data-theme] .account .quiet-danger {color:var(--ui-danger)!important}
html[data-theme] .account .object-status-closed:not(.restaurant-hero.has-cover *) {color:var(--ui-danger)!important}
/* Increase Contrast: stronger secondary text, separators and group edges. */
@media (prefers-contrast:more) {
  :root,:root[data-theme] {--glass-muted:#3a3a3a;--ui-divider:color-mix(in srgb,currentColor 45%,transparent)}
  :root[data-theme=dark] {--glass-muted:#e2e2de}
  html[data-theme] .account :is(.ui-inset-group,.object-team-list,.overview-objects,.ui-content-group,.card-information,.overview-tile) {box-shadow:inset 0 0 0 1px var(--ui-divider)!important}
  html[data-theme] .account .ui-inset-group .ui-inset-row input::placeholder {opacity:1}
  html[data-theme] .account :is(button,a,input,select,textarea,summary):focus-visible {outline-width:3px!important}
}

/* Pull to refresh: the list follows the finger; a spinner shows readiness, then progress. */
.account .workspace-content > .pull-refresh {display:grid;place-items:center;block-size:0;overflow:visible;pointer-events:none}
.account .pull-refresh-spinner {inline-size:1.5rem;block-size:1.5rem;margin-block-start:calc(var(--pull-distance,0px) - 2.25rem);border:2px solid var(--ui-divider);border-block-start-color:var(--glass-muted);border-radius:50%;opacity:0}
.account .workspace-content[data-pull-refresh=pulling] .pull-refresh-spinner {opacity:.5}
.account .pull-refresh[data-ready=true] .pull-refresh-spinner {opacity:1}
.account .pull-refresh-label {position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%)}
.account .workspace-content[data-pull-refresh=pulling] > :not(.pull-refresh) {transform:translateY(var(--pull-distance,0px))}
.account .workspace-content[data-pull-refresh=refreshing] > :not(.pull-refresh) {transform:translateY(var(--pull-distance,0px));transition:transform var(--ui-motion)}
.account .workspace-content[data-pull-refresh=refreshing] .pull-refresh-spinner {opacity:1;animation:dsg-pull-spin .8s linear infinite}
.account .workspace-content[data-pull-refresh=ready] > :not(.pull-refresh) {transition:transform var(--ui-motion)}
@keyframes dsg-pull-spin {to {transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce) {.account .workspace-content[data-pull-refresh] > * {transform:none!important;transition:none!important}.account .workspace-content[data-pull-refresh=refreshing] .pull-refresh-spinner {animation:none}}

/* Large title collapses into the bar when content scrolls under it (compact widths). */
@media (max-width:799px) {
  html[data-theme] .account .workspace-heading strong:not(:has(.overview-brand-logo)) {transition:font-size var(--ui-motion)}
  html[data-theme] .account[data-title-collapsed=true] .workspace-heading strong:not(:has(.overview-brand-logo)) {font-size:var(--ui-headline)}
  html[data-theme] .account[data-title-collapsed=true] .workspace-header {box-shadow:0 1px 0 var(--ui-divider)}
}
/* Sheet grabber on iPhone-sized sheets: the visible handle for the existing drag-to-dismiss and expand. */
@media (max-width:799px) {
  .account .native-sheet > .sheet-header {position:relative}
  .account .native-sheet > .sheet-header::before {content:"";position:absolute;inset-block-start:6px;inset-inline-start:calc(50% - 18px);inline-size:36px;block-size:5px;border-radius:3px;background:var(--ui-divider)}
}

/* Object card: one inset-group style for information, team, posts and tools — the reviewed
   «Режим работы» rows are the reference: translucent content fill, 14px row padding, footnote label
   (12px, secondary) above a regular value (14px). */
:root {--ui-group-radius:1.375rem;--ui-row-label:0.75rem;--ui-row-value:0.875rem}
html[data-theme] .account .native-sheet :is(.card-information,.object-team-list,.restaurant-posts,.object-tool-rows) {border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;border:0!important}
html[data-theme] .account .native-sheet .restaurant-posts {display:grid;gap:0!important;padding:0!important;overflow:hidden}
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) > *,html[data-theme] .account .native-sheet .ui-team-group-rows > *,html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts,.ui-team-group-rows) .swipe-shell > .swipe-item {background:none!important;border:0!important;box-shadow:none!important}
html[data-theme] .account .native-sheet .ui-team-row {padding:var(--ui-space-1) var(--ui-space-1) var(--ui-space-1) var(--ui-space-4)!important}
html[data-theme] .account .native-sheet .ui-team-open {min-block-size:3.25rem;padding-block:0.625rem!important}
html[data-theme] .account .native-sheet .ui-team-open > span {gap:7px}
/* Shared row type: label like «Режим работы», value like «Мурино · Девяткино». */
html[data-theme] .account .native-sheet :is(.card-information small,.ui-team-open small,.ui-team-group > summary small) {font-size:var(--ui-row-label)!important;line-height:1.5;font-weight:400!important;color:var(--glass-muted)}
html[data-theme] .account .native-sheet :is(.card-information strong,.ui-team-open strong,.ui-team-group > summary strong,.restaurant-posts .ui-row-copy strong,.object-tool-rows .ui-row-copy strong,.object-tool-rows summary .ui-row-copy strong,.ui-phone-link) {font-size:var(--ui-row-value)!important;line-height:1.6;font-weight:400!important;color:var(--glass-ink)}
html[data-theme] .account .native-sheet .ui-phone-link {color:var(--workspace-accent)}
html[data-theme] .account .native-sheet .restaurant-posts .ui-row-copy small {font-size:var(--ui-row-label)!important;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .restaurant-posts .ui-navigation-row {padding:0.875rem var(--ui-space-4)!important}
html[data-theme] .account .native-sheet .restaurant-posts > * + *::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .restaurant-posts > * {position:relative}
html[data-theme] .account .native-sheet .ui-row-title .ui-status {font-size:var(--ui-caption)}
/* A role held by several people: one disclosure row inside the same group; expanded rows are inset. */
html[data-theme] .account .ui-team-group > summary {display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:3.25rem;padding:0.625rem var(--ui-space-4);list-style:none;cursor:pointer}
html[data-theme] .account .ui-team-group > summary::-webkit-details-marker {display:none}
html[data-theme] .account .ui-team-group > summary::after {content:none!important}
html[data-theme] .account .ui-team-group > summary > span {display:grid;gap:7px;flex:1;min-inline-size:0}
html[data-theme] .account .ui-team-group > summary > .ui-icon {inline-size:0.875rem;block-size:0.875rem;color:var(--glass-muted);transform:rotate(90deg);transition:transform var(--ui-motion)}
html[data-theme] .account .ui-team-group[open] > summary > .ui-icon {transform:rotate(-90deg)}
/* Expanded: the names move into the rows below, so the header keeps only the role label. */
html[data-theme] .account .ui-team-group[open] > summary {min-block-size:var(--ui-hit);margin-block-end:0;padding-block:var(--ui-space-2)}
html[data-theme] .account .native-sheet .ui-team-group[open] > summary .ui-team-names {display:none!important}
html[data-theme] .account .ui-team-group-rows .ui-team-open > span {gap:0}
html[data-theme] .account .ui-team-group-rows {position:relative}
html[data-theme] .account .ui-team-group-rows > .ui-team-row {position:relative}
html[data-theme] .account .ui-team-group-rows > *::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .ui-team-group-rows > * {position:relative}
html[data-theme] .account .ui-team-group > summary:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-3px;border-radius:var(--ui-group-radius)}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .ui-team-group > summary > .ui-icon {transition:none}}

/* iOS detail actions: full-width rows in an inset group; Delete alone, red, in its own group. */
.account .ui-action-group {display:grid;min-inline-size:0;margin-block-start:var(--ui-space-3);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill);overflow:hidden}
html[data-theme] .account .ui-action-group > .ui-action-row {position:relative;display:flex;align-items:center;inline-size:100%;min-block-size:var(--ui-hit);margin:0;padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-body)!important;font-weight:400!important;text-align:start;cursor:pointer}
html[data-theme] .account .ui-action-group > .ui-action-row + .ui-action-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .ui-action-group > .ui-action-row.is-destructive {color:var(--ui-danger)!important}
html[data-theme] .account .ui-action-group > .ui-action-row:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-3px;border-radius:var(--ui-group-radius)!important}
/* Section header, group and footer, as in iOS settings lists. */
.account .post-schedule-section {display:grid;gap:var(--ui-space-2);min-inline-size:0}
.account .post-schedule-section > .ui-inset-header {float:none;margin:0}
.account .ui-group-footer {margin:0;padding:0 var(--ui-space-4);font-size:var(--ui-footnote);line-height:1.4;color:var(--glass-muted)}
/* Callout: an explanation that needs attention, not loose text. */
.account .ui-callout {display:flex;align-items:flex-start;gap:var(--ui-space-3);margin-block-start:var(--ui-space-3);padding:var(--ui-space-3) var(--ui-space-4);border-radius:var(--ui-group-radius);background:color-mix(in srgb,var(--ui-status-attention) 12%,var(--dsg-content-fill))}
.account .ui-callout > .ui-icon {flex:none;inline-size:1.25rem;block-size:1.25rem;margin-block-start:2px;color:var(--ui-status-attention)}
.account .ui-callout > p {margin:0;font-size:var(--ui-subheadline);line-height:1.45;color:var(--glass-ink)}
.account .ui-callout > p > strong {display:block;margin-block-end:2px;font-weight:600}
html[data-theme] .account .native-sheet .post-schedule-section > .ui-content-group {border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;border:0!important}
html[data-theme] .account .native-sheet .post-detail-schedule .ui-row-copy strong {font-size:var(--ui-row-value)!important;font-weight:400!important;line-height:1.6;color:var(--glass-ink)}
html[data-theme] .account .native-sheet .post-detail-schedule .ui-row-copy small {font-size:var(--ui-row-label)!important;line-height:1.5;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .post-detail > .post-meta {font-size:var(--ui-row-value)}

/* Liquid Glass for circular controls (Back, Close, Cancel, Add, header tools): a tinted translucent
   fill with blur, a light rim on top and a soft shadow, so the control reads as glass on any surface.
   The prominent ✓ keeps its accent fill; the reviewed dock is not affected. */
:root {--ui-glass-fill:color-mix(in srgb,var(--glass-ink) 7%,rgba(255,255,255,.55));--ui-glass-rim:rgba(255,255,255,.85);--ui-glass-edge:color-mix(in srgb,var(--glass-ink) 12%,transparent);--ui-glass-shadow:0 2px 10px rgba(0,0,0,.12),0 0 1px rgba(0,0,0,.18)}
:root[data-theme=dark] {--ui-glass-fill:rgba(255,255,255,.12);--ui-glass-rim:rgba(255,255,255,.28);--ui-glass-edge:rgba(255,255,255,.14);--ui-glass-shadow:0 2px 12px rgba(0,0,0,.45),0 0 1px rgba(0,0,0,.6)}
html[data-theme] .account :is(.dsg-add,.dsg-icon-control,.glass-control,.sheet-back,.native-sheet-close):not(.sheet-confirm) {
  background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 55%),var(--ui-glass-fill)!important;
  border:1px solid var(--ui-glass-edge)!important;
  box-shadow:inset 0 1px 0 var(--ui-glass-rim),inset 0 -1px 0 rgba(0,0,0,.06),var(--ui-glass-shadow)!important;
  backdrop-filter:blur(16px) saturate(1.8)!important;-webkit-backdrop-filter:blur(16px) saturate(1.8)!important;
  color:var(--glass-ink)!important;
}
@media (prefers-reduced-transparency:reduce) {
  html[data-theme] .account :is(.dsg-add,.dsg-icon-control,.glass-control,.sheet-back,.native-sheet-close):not(.sheet-confirm) {background:color-mix(in srgb,var(--glass-ink) 10%,var(--glass-card))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}

/* iOS search field: a filled pill with a leading magnifier, no border and no focus ring; the keyboard's
   «Найти» key submits (enterkeyhint="search"). */
html[data-theme] .account .ui-search-field {position:relative;display:block!important;margin:0 0 var(--ui-space-3)!important;min-inline-size:0}
html[data-theme] .account .ui-search-field > .ui-search-glyph {position:absolute;inset-inline-start:0.75rem;inset-block-start:50%;transform:translateY(-50%);display:grid;place-items:center;color:var(--glass-muted);pointer-events:none}
html[data-theme] .account .ui-search-field > .ui-search-glyph .ui-icon {inline-size:1.125rem;block-size:1.125rem}


html[data-theme] .account .ui-search-field > input::placeholder {color:var(--glass-muted);opacity:1}
/* Scope filter as an iOS pull-down: tinted text with a down chevron, no capsule. */
html[data-theme] .account .objects-toolbar #open-object-filter {inline-size:auto!important;justify-content:flex-start!important;min-block-size:var(--ui-hit)!important;padding:0 var(--ui-space-1)!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-body)!important;font-weight:500;gap:var(--ui-space-1)}
html[data-theme] .account .objects-toolbar #open-object-filter .filter-arrow .ui-icon {inline-size:0.875rem;block-size:0.875rem;transform:rotate(90deg)}
html[data-theme] .account .objects-toolbar #open-object-filter[aria-expanded=true] .filter-arrow .ui-icon {transform:rotate(-90deg)}

/* Context menus and alerts in Liquid Glass: a translucent, strongly blurred panel with a light rim;
   the content behind is dimmed only slightly. Reduce Transparency keeps a solid panel. */
html[data-theme] :is(.contact-context-dialog,.dsg-confirmation) {background:color-mix(in srgb,var(--glass-card,#fff) 62%,transparent)!important;backdrop-filter:blur(30px) saturate(1.9)!important;-webkit-backdrop-filter:blur(30px) saturate(1.9)!important;border:1px solid var(--ui-glass-edge)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),0 12px 40px rgba(0,0,0,.22)!important}
html[data-theme] :is(.contact-context-dialog,.dsg-confirmation)::backdrop {background:rgba(0,0,0,.18)}
html[data-theme] .contact-context-dialog hr {border-block-start-color:var(--ui-divider)}
@media (prefers-reduced-transparency:reduce) {html[data-theme] :is(.contact-context-dialog,.dsg-confirmation) {background:var(--glass-card,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Every pull-down menu (scope filters) uses the same Liquid Glass as context menus. */
html[data-theme] .account .ios-menu {background:color-mix(in srgb,var(--glass-card,#fff) 62%,transparent)!important;backdrop-filter:blur(30px) saturate(1.9)!important;-webkit-backdrop-filter:blur(30px) saturate(1.9)!important;border:1px solid var(--ui-glass-edge)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),0 12px 40px rgba(0,0,0,.22)!important;border-radius:var(--ui-group-radius)!important}
html[data-theme] .account .ios-menu button[aria-checked=true] {background:none!important;color:var(--glass-ink)!important;font-weight:500}
html[data-theme] .account .ios-menu button + button {box-shadow:inset 0 1px 0 var(--ui-divider)}

/* Long-press preview (iOS context menu): a glass sheet, the lifted card, then the actions. */
html[data-theme] .account .native-sheet[data-sheet=context-preview] {background:color-mix(in srgb,var(--glass-modal) 70%,transparent)!important;backdrop-filter:blur(34px) saturate(1.8)!important;-webkit-backdrop-filter:blur(34px) saturate(1.8)!important}
html[data-theme] .account .native-sheet[data-sheet=context-preview] > .sheet-body {background:none!important}
html[data-theme] .account .context-preview-body .context-card {border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:0 10px 30px rgba(0,0,0,.14)!important;padding:var(--ui-space-4)!important;overflow:hidden}
html[data-theme] .account .context-preview-body .context-card > small {font-size:var(--ui-row-label)!important;text-transform:none!important;letter-spacing:normal!important;color:var(--glass-muted)}
html[data-theme] .account .context-preview-body .context-card > h3 {font-size:var(--ui-title)!important;margin:var(--ui-space-1) 0!important}
html[data-theme] .account .context-preview-body .context-card > p {font-size:var(--ui-row-value)!important;color:var(--glass-ink)!important}
/* Object cover in the preview: soft, blurred edges instead of hard corners. */
html[data-theme] .account .context-preview-body .preview-visual.has-cover {position:relative;block-size:9.5rem!important;margin:calc(-1 * var(--ui-space-4)) calc(-1 * var(--ui-space-4)) var(--ui-space-3)!important;overflow:hidden;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .context-preview-body .preview-visual.has-cover > img {position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;-webkit-mask-image:linear-gradient(180deg,#000 45%,transparent 85%);mask-image:linear-gradient(180deg,#000 45%,transparent 85%)}
/* As on the object card: the cover keeps only the card's top corners and dissolves into the card
   through its own blur, so no bottom edge or bottom corners are ever visible. */
html[data-theme] .account .context-preview-body .preview-visual.has-cover {-webkit-mask-image:linear-gradient(180deg,#000 40%,#0009 70%,transparent);mask-image:linear-gradient(180deg,#000 40%,#0009 70%,transparent)}
html[data-theme] .account .context-preview-body .preview-visual.has-cover > .preview-cover-backdrop {inset:-24px;inline-size:calc(100% + 48px);block-size:calc(100% + 48px);filter:blur(22px) saturate(1.3);opacity:.85;-webkit-mask-image:none;mask-image:none}
html[data-theme] .account .context-preview-body .context-actions-caption {display:none}
html[data-theme] .account .context-preview-body .context-action-list {margin-block-start:var(--ui-space-3);border-radius:var(--ui-group-radius);background:color-mix(in srgb,var(--glass-card,#fff) 62%,transparent);backdrop-filter:blur(30px) saturate(1.9);-webkit-backdrop-filter:blur(30px) saturate(1.9);box-shadow:inset 0 1px 0 var(--ui-glass-rim);overflow:hidden}

/* Shifts: an iOS segmented control height, a compact period filter, and rows that never shift on press. */
html[data-theme] .account .shift-view-switch {min-block-size:2.25rem;padding:2px!important;border:0!important;border-radius:0.6rem!important;background:var(--ui-track)!important;box-shadow:none!important;margin-block-end:var(--ui-space-3)!important}
html[data-theme] .account .shift-view-switch > button {min-block-size:2rem!important;padding:0 var(--ui-space-3)!important;border-radius:0.5rem!important;font-size:var(--ui-subheadline)!important}
html[data-theme] .account section.account-card:has(> .shift-period-form) {padding:var(--ui-space-3) var(--ui-space-4)!important;margin:0 0 var(--ui-space-4)!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;border:0!important;box-shadow:none!important}
html[data-theme] .account .shift-period-form {padding:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2) var(--ui-space-3)!important;margin:0!important}
html[data-theme] .account .shift-period-form > label {display:grid!important;gap:var(--ui-space-1)!important;margin:0!important;font-size:var(--ui-row-label)!important;color:var(--glass-muted)}
html[data-theme] .account .shift-period-form > label:first-child,html[data-theme] .account .shift-period-form > button {grid-column:1 / -1}
html[data-theme] .account .shift-period-form > button {min-block-size:var(--ui-hit)!important;margin:var(--ui-space-1) 0 0!important}
html[data-theme] .account .workspace-content .shift-list-card:active {transform:none!important;scale:none!important;background:color-mix(in srgb,var(--glass-ink) 6%,var(--workspace-panel))!important}



/* Object tools: the same row geometry as posts; settings rows inset one level; Delete as a red row. */
html[data-theme] .account .native-sheet .object-tool-rows {display:grid;gap:0!important;padding:0!important;overflow:hidden}
html[data-theme] .account .native-sheet .object-tool-rows > .ui-navigation-row,html[data-theme] .account .native-sheet .object-tool-rows > details > summary.ui-navigation-row,html[data-theme] .account .native-sheet .object-tool-rows .object-settings-rows > .ui-navigation-row {position:relative;min-block-size:var(--ui-hit);margin:0!important;padding:0.875rem var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .native-sheet .object-tool-rows .object-settings-rows > .ui-navigation-row {padding-inline-start:calc(var(--ui-space-4) * 2)!important}
html[data-theme] .account .native-sheet .object-tool-rows > * + *::before,html[data-theme] .account .native-sheet .object-tool-rows .object-settings-rows > *::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .object-tool-rows > details {position:relative}
html[data-theme] .account .native-sheet .object-tool-rows .object-settings-rows {display:grid;padding:0!important;margin:0!important;gap:0!important}
html[data-theme] .account .native-sheet .object-tool-rows .object-settings-rows > .quiet-danger {position:relative;justify-content:flex-start!important;inline-size:100%;min-block-size:var(--ui-hit);margin:0!important;padding:0.875rem var(--ui-space-4) 0.875rem calc(var(--ui-space-4) * 2)!important;border:0!important;border-radius:0!important;background:none!important;font-size:var(--ui-row-value)!important;font-weight:400!important}
html[data-theme] .account .native-sheet .object-tool-section > h3 {margin:var(--ui-space-5,1.25rem) 0 var(--ui-space-2)!important}
html[data-theme] .account .native-sheet .object-tool-rows > details,html[data-theme] .account .native-sheet .object-tool-rows > details[open] > summary {border:0!important;margin-block-end:0!important;box-shadow:none!important}
/* Work center: search first, then the object as an inset menu row; groups match the object card. */
html[data-theme] .account .nav-center-filters {display:grid;gap:var(--ui-space-3);margin-block-end:var(--ui-space-4)}
html[data-theme] .account .nav-center-filters > :is(.ui-search,.ui-search-field) {margin:0!important}
html[data-theme] .account .nav-center-object-picker {border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important}
html[data-theme] .account .nav-center-object-picker .ui-inset-row {grid-template-columns:auto minmax(0,1fr)}
html[data-theme] .account .nav-center-object-picker select {text-align:end;text-align-last:end}
html[data-theme] .account .nav-center-rows {border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important}
html[data-theme] .account .nav-center-row .ui-row-copy strong,html[data-theme] .account .nav-center-row strong {font-size:var(--ui-row-value)!important;font-weight:400!important}
html[data-theme] .account .nav-center-row small {font-size:var(--ui-row-label)!important;color:var(--glass-muted)}
html[data-theme] .account .nav-center-group > h3:not(.ui-visually-hidden) {margin:var(--ui-space-4) var(--ui-space-4) var(--ui-space-2)!important;font-size:var(--ui-footnote)!important;font-weight:500!important;color:var(--glass-muted)!important}
html[data-theme] .account .nav-center-object-picker :is(.ui-inset-label,select,span) {font-size:var(--ui-row-value)!important}
/* «How it works» explainer: a collapsible inset group, open while the list is empty. */
.account .ui-explainer {margin-block:var(--ui-space-2) var(--ui-space-4);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill);overflow:hidden}
html[data-theme] .account .ui-explainer > summary {display:flex;align-items:center;justify-content:space-between;min-block-size:var(--ui-hit);padding:0 var(--ui-space-4);font-size:var(--ui-row-value)!important;font-weight:400!important;color:var(--workspace-accent);list-style:none;cursor:pointer}
.account .ui-explainer > summary::-webkit-details-marker {display:none}
.account .ui-explainer > ol {margin:0;padding:0 var(--ui-space-4) 0 calc(var(--ui-space-4) * 2);display:grid;gap:var(--ui-space-2);font-size:var(--ui-row-value);line-height:1.45}
.account .ui-explainer > ol strong {font-weight:600}
.account .ui-explainer > p {margin:var(--ui-space-3) 0 0;padding:0 var(--ui-space-4) var(--ui-space-3);font-size:var(--ui-footnote);line-height:1.45;color:var(--glass-muted)}

/* Photo editors (cover, staff photo): the image, then iOS action rows; Save is the header ✓. */
.account .photo-editor-form {display:grid;gap:0}
html[data-theme] .account .photo-editor-form :is(.cover-preview,.photo-upload-card) {margin:0 0 var(--ui-space-2)!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .photo-editor-form .cover-preview img {inline-size:100%;aspect-ratio:16 / 10;object-fit:cover;border-radius:var(--ui-group-radius)}
html[data-theme] .account .photo-editor-form .ui-action-row.photo-file-button {position:relative;display:flex!important;justify-content:flex-start!important;min-block-size:var(--ui-hit)!important;margin:0!important;overflow:hidden;cursor:pointer}
html[data-theme] .account .photo-editor-form .photo-file-button > input[type=file] {position:absolute;inset:0;opacity:0;cursor:pointer;min-block-size:0!important}
html[data-theme] .account .photo-editor-form .ui-action-row.photo-file-button:focus-within {outline:2px solid var(--workspace-accent);outline-offset:-3px}

/* Sheet editor forms: label directly above its field, compact rhythm (iOS form spacing). */
html[data-theme] .account .native-sheet .sheet-body form.ui-grouped-form {gap:var(--ui-space-3)!important}
html[data-theme] .account .native-sheet .sheet-body form > label.native-field,html[data-theme] .account .native-sheet .sheet-body form > label:not(.native-checkbox):not(.ui-inset-row):not(.switch-label) {display:grid!important;gap:var(--ui-space-1)!important;margin:0!important;font-size:var(--ui-row-label)!important;color:var(--glass-muted)}
/* Russian dates: only the first letter is capitalized («Воскресенье, 1 ноября», «Ноябрь 2026 г.»). */
html[data-theme] .account :is(.selected-date-summary h2) {text-transform:none!important}
html[data-theme] .account :is(.selected-date-summary h2)::first-letter {text-transform:uppercase}

/* Shift card, as an iOS detail view: date and status, title, timeline, one information group,
   «Сотрудники на смене» as a section header over one group of rows with assign actions below,
   incidents as a section, then routine actions and Delete in its own group. */
html[data-theme] .account .native-sheet .shift-detail {display:grid;gap:calc(var(--ui-space-4) * 1.5);min-inline-size:0}
html[data-theme] .account .native-sheet .shift-detail > * {margin:0!important}
html[data-theme] .account .native-sheet .shift-detail > .shift-detail-heading {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);margin-block-end:calc(var(--ui-space-4) * -1.25)!important;font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .native-sheet .shift-detail > .shift-detail-heading > strong {font-weight:500;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .shift-detail > .shift-title {font-size:var(--ui-title);font-weight:700;line-height:1.25;color:var(--glass-ink)}

html[data-theme] .account .native-sheet .shift-detail > .ui-action-group + .ui-action-group {margin-block-start:calc(var(--ui-space-3) - var(--ui-space-4) * 1.5)!important}
html[data-theme] .account .native-sheet .shift-workers-section {display:grid;gap:var(--ui-space-2);min-inline-size:0}
html[data-theme] .account .native-sheet .shift-workers-section > .ui-inset-header {float:none;margin:0}
html[data-theme] .account .native-sheet .shift-workers-section > .ui-action-group {margin-block-start:var(--ui-space-1)}
html[data-theme] .account .native-sheet .shift-worker-list {display:grid;padding:0 0 0 var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important}
html[data-theme] .account .native-sheet .shift-worker-list > .ui-empty-note {padding:var(--ui-space-3) var(--ui-space-4) var(--ui-space-3) 0}
html[data-theme] .account .native-sheet .shift-worker-card {position:relative;display:grid;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
html[data-theme] .account .native-sheet .shift-worker-card + .shift-worker-card::before {content:"";position:absolute;inset-block-start:0;inset-inline:0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .shift-worker-card.is-cancelled {opacity:.6}
html[data-theme] .account .native-sheet .shift-person-row {display:flex;align-items:center;gap:0;min-inline-size:0;margin:0}
html[data-theme] .account .native-sheet .shift-person-row > .worker-person {display:flex;flex:1;align-items:center;gap:var(--ui-space-3);min-inline-size:0;min-block-size:var(--ui-hit);margin:0;padding:var(--ui-space-3) var(--ui-space-2) var(--ui-space-3) 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink);text-align:start;cursor:pointer}
html[data-theme] .account .native-sheet .shift-person-row .shift-person-avatar {flex:none;inline-size:2.5rem;block-size:2.5rem;font-size:var(--ui-body)}
html[data-theme] .account .native-sheet .shift-person-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .native-sheet .shift-person-copy > strong {font-size:var(--ui-body);font-weight:400;line-height:1.3;color:var(--glass-ink)}
html[data-theme] .account .native-sheet .shift-person-copy > small {font-size:var(--ui-footnote);line-height:1.35;color:var(--glass-muted)}
/* «…» for the assignment's actions: a quiet tinted glyph with a 44 pt target, not a glass bubble. */
html[data-theme] .account .native-sheet .shift-worker-more {display:grid;place-items:center;flex:none;inline-size:var(--ui-hit);block-size:var(--ui-hit);margin:0 var(--ui-space-2) 0 0;padding:0!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:none!important;cursor:pointer}
html[data-theme] .account .native-sheet .shift-worker-more .ui-icon {inline-size:1.375rem;block-size:1.375rem}
html[data-theme] .account .native-sheet .shift-worker-more:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html[data-theme] .account .native-sheet .shift-worker-commands {margin:0 0 0 calc(2.5rem + var(--ui-space-3))!important;border-radius:0!important;background:none!important}
html[data-theme] .account .native-sheet .shift-worker-commands > .ui-action-row {padding-inline:0 var(--ui-space-4)!important;font-size:var(--ui-subheadline)!important}
html[data-theme] .account .native-sheet .shift-worker-commands > .ui-action-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .shift-worker-card > .worker-proof {margin:0 var(--ui-space-4) var(--ui-space-3) calc(2.5rem + var(--ui-space-3))}
html[data-theme] .account .native-sheet .shift-detail .workflow-section {display:grid;gap:var(--ui-space-2);margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .native-sheet .shift-detail .workflow-section > header {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);margin:0;padding:0 var(--ui-space-4)}
html[data-theme] .account .native-sheet .shift-detail .workflow-section > header > h3 {margin:0;font-size:var(--ui-footnote);font-weight:500;color:var(--glass-muted)}
/* «Сообщить» in the section header is a plain tinted text action, as in iOS section headers. */
html[data-theme] .account .native-sheet .shift-detail .workflow-section > header > button {min-block-size:var(--ui-hit);margin:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-subheadline)!important;font-weight:400!important}
html[data-theme] .account .native-sheet .shift-detail .workflow-section > .section-subtitle {margin:0;padding:var(--ui-space-3) var(--ui-space-4);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill);color:var(--glass-muted);font-size:var(--ui-callout)}

/* Swipe actions, as in the iOS notification center: the row slides aside and keeps its own shape and
   fill, and separate Liquid Glass buttons grow out beside it in proportion to the swipe. Closed, the
   actions take no space, so nothing can show through a translucent row. */
html[data-theme] .account .swipe-shell {--swipe-p:0;position:relative;overflow:visible;border-radius:0!important;background:none!important;isolation:auto}
html[data-theme] .account .swipe-shell.is-revealed {--swipe-p:1}
html[data-theme] .account .swipe-shell > .swipe-item {transform:translateX(var(--swipe-x,0px));transition:transform 320ms cubic-bezier(.2,.9,.25,1.12)}
html[data-theme] .account .swipe-shell.is-revealed:not(.is-dragging) > .swipe-item {transform:translateX(calc(-1 * var(--swipe-width)))}
html[data-theme] .account .swipe-actions {position:absolute;inset-block:0;inset-inline:auto 0;display:flex;gap:var(--ui-space-2);align-items:stretch;box-sizing:border-box;inline-size:calc(-1 * var(--swipe-x,0px));padding:var(--ui-space-1) 0 var(--ui-space-1) var(--ui-space-2);overflow:hidden;background:none!important;transform:none!important;transition:inline-size 320ms cubic-bezier(.2,.9,.25,1.12)}
html[data-theme] .account .swipe-shell.is-revealed:not(.is-dragging) > .swipe-actions {inline-size:var(--swipe-width)}
html[data-theme] .account .swipe-shell:not(.is-revealed):not(.is-dragging) > .swipe-actions {inline-size:0;padding-inline-start:0}
html[data-theme] .account .swipe-actions > :is(button,a) {display:grid;grid-template-rows:1.25rem auto;grid-template-columns:minmax(0,1fr);overflow:hidden;align-content:center;justify-items:center;gap:var(--ui-space-1);min-inline-size:0;margin:0;padding:var(--ui-space-1) var(--ui-space-1)!important;border:0!important;border-radius:var(--ui-group-radius)!important;background-color:var(--swipe-fill,var(--ui-glass-fill))!important;background-image:var(--swipe-image,none)!important;backdrop-filter:var(--swipe-filter,blur(20px) saturate(1.8));-webkit-backdrop-filter:var(--swipe-filter,blur(20px) saturate(1.8));box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-caption,0.75rem)!important;font-weight:500!important;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:normal;hyphens:auto}
html[data-theme] .account .swipe-actions > :is(button,a) > .ui-icon {inline-size:1.25rem;block-size:1.25rem;align-self:center}
/* iOS 27 swipe actions (owner, 18 Nov 2026): the capsule grows with the reveal, but its symbol and label keep their final
   layout from the first frame (the label is sized for the fully open button, so it never re-wraps) and simply fade in. */
html[data-theme] .account .swipe-actions > :is(button,a) > span {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;inline-size:calc((var(--swipe-width,84px) - var(--ui-space-2) * var(--swipe-count,1)) / var(--swipe-count,1) - 2 * var(--ui-space-1));max-inline-size:none;justify-self:center}
html[data-theme] .account .swipe-actions > :is(button,a) > .ui-icon {opacity:clamp(0, calc((var(--swipe-p) - .35) / .4), 1);transition:opacity 180ms ease}
html[data-theme] .account .swipe-actions > :is(button,a) > span {opacity:clamp(0, calc((var(--swipe-p) - .72) / .26), 1);transition:opacity 200ms ease}
html[data-theme] .account .swipe-shell.is-dragging > .swipe-actions > :is(button,a) > :is(span,.ui-icon) {transition:none!important}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .swipe-actions > :is(button,a) {background:var(--glass-raised,var(--glass-card))!important;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .swipe-shell > *,html[data-theme] .account .swipe-actions > :is(button,a) {transition:none!important}}

/* Text fields show focus with the caret only, as in iOS: no ring that could spill past rounded corners.
   Pickers keep a keyboard focus indicator drawn inside their own shape on pointer-and-keyboard devices. */
html[data-theme] .account :is(input:not([type=checkbox],[type=radio],[type=range]),select,textarea):is(:focus,:focus-visible) {outline:none!important}
@media (hover:hover) and (pointer:fine) {html[data-theme] .account select:focus-visible {box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--workspace-accent) 55%,transparent)!important}}
html .account :is(input,select,textarea,button,a,summary,label) {-webkit-tap-highlight-color:transparent}
/* iOS zooms the page into any field under 16 px; touch devices keep every field at 16 px or more. */
@media (pointer:coarse) {html[data-theme] .account :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden]),select,textarea) {font-size:max(16px,var(--ui-input-text,1rem))!important}}
/* Opening search: the field grows out of the search button, results follow. */
@keyframes ui-search-open {from {opacity:0;clip-path:inset(0 0 0 82% round 999px)} to {opacity:1;clip-path:inset(0 0 0 0 round 999px)}}
@keyframes ui-search-results {from {opacity:0;transform:translateY(-6px)} to {opacity:1;transform:none}}
html[data-theme] .account .header-search.is-entering :is(.section-subtitle,#workspace-search-results) {animation:ui-search-results 260ms 120ms ease-out both}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .header-search.is-entering :is(.search-field,.section-subtitle,#workspace-search-results) {animation:none}}
/* Header avatar, as in Apple Maps: the photo fills the same 44 pt circle as the search button, with a
   thin grey ring (below), so both controls read as the same size. */
html[data-theme] .account .workspace-tools > .profile-control {position:relative;padding:3px!important;border:0!important;background:rgba(255,255,255,.55)!important;box-shadow:none!important;backdrop-filter:blur(18px) saturate(1.6)!important;-webkit-backdrop-filter:blur(18px) saturate(1.6)!important;overflow:visible}
html[data-theme=dark] .account .workspace-tools > .profile-control {background:rgba(72,72,74,.55)!important}
html[data-theme] .account .workspace-tools > .profile-control > .identity-avatar {inline-size:100%!important;block-size:100%!important;border:0!important;border-radius:50%;background:var(--ui-glass-fill)!important;overflow:hidden}
/* Avatar ring as in the App Store «Today» header (owner, 15 Nov 2026): the photo sits inside a separate 3 pt
   Liquid Glass ring. The ring is the control's own translucent, blurred material (slightly darker than the
   page), so it never takes the colours of the photo; hairline specular edges inside and out. */
html[data-theme] .account .workspace-tools > .profile-control::after {content:"";position:absolute;inset:0;border-radius:50%;border:0;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.7),0 0 0 .5px rgba(0,0,0,.12);pointer-events:none}
html[data-theme=dark] .account .workspace-tools > .profile-control::after {box-shadow:inset 0 0 0 .5px rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.22),0 0 0 .5px rgba(0,0,0,.4)}
html[data-theme] .account .workspace-tools > .profile-control:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:3px}
/* Owner-approved exception to the one blue tint: the tab bar keeps DSG gold for the active icon. The
   active label stays in the text colour; nothing in the bar turns blue. */
:root {--dock-tint:#c5ac65}
html[data-theme=dark] {--dock-tint:#d7c59b}
html[data-theme] .account .workspace-tab:is([aria-current=page],[data-preview=true]) .ui-icon {color:var(--dock-tint)!important}
html[data-theme] .account .workspace-tab:is([aria-current=page],[data-preview=true]) {color:var(--glass-ink)!important}
/* iPhone and iPad tab bar, as in iOS 26: the bell is a separate glass circle exactly as tall as the bar,
   expanded (62 pt) and minimized while scrolling (52 pt), and it resizes together with the bar. */
@media (max-width:1023px) {
 html[data-theme] .account .workspace-dock .workspace-tabs {box-sizing:border-box;block-size:62px!important;min-block-size:62px!important;padding-block:4px!important}
 html[data-theme] .account .workspace-dock .workspace-tab {block-size:54px!important;min-block-size:54px!important}
 html[data-theme] .account .workspace-dock .workspace-selection {inset-block:4px!important;block-size:auto!important}
 html[data-theme] .account .workspace-dock > [data-section=search] {box-sizing:border-box;inline-size:62px!important;block-size:62px!important;min-inline-size:62px!important;min-block-size:62px!important;transition:inline-size 300ms cubic-bezier(.22,.8,.25,1),block-size 300ms cubic-bezier(.22,.8,.25,1),min-inline-size 300ms cubic-bezier(.22,.8,.25,1),min-block-size 300ms cubic-bezier(.22,.8,.25,1)}
 html[data-theme] .account .workspace-dock[data-compact=true] .workspace-tabs {inline-size:52px!important;block-size:52px!important;min-block-size:52px!important}
 html[data-theme] .account .workspace-dock[data-compact=true] .workspace-tab {block-size:44px!important;min-block-size:44px!important}
 html[data-theme] .account .workspace-dock[data-compact=true] > [data-section=search] {inline-size:52px!important;block-size:52px!important;min-inline-size:52px!important;min-block-size:52px!important}
 /* Minimized bar: the one remaining tab and its glass selection are centred in the 52 pt circle. */
 html[data-theme] .account .workspace-dock[data-compact=true] .workspace-tabs {padding:3px!important;justify-content:center}
 html[data-theme] .account .workspace-dock[data-compact=true] .workspace-tab[aria-current=page] {flex:none!important;inline-size:44px!important}
 html[data-theme] .account .workspace-dock[data-compact=true] .workspace-selection {inset:3px!important;inline-size:auto!important;block-size:auto!important;transform:none!important}
}
@media (max-width:1023px) and (prefers-reduced-motion:reduce) {html[data-theme] .account .workspace-dock > [data-section=search] {transition:none}}
/* While a finger drags across the tab bar the selection becomes a clear Liquid Glass lens: it grows past
   the bar, blurs less and brightens what is under it, then settles back into the selected tab. */
html[data-theme] .account .workspace-dock .workspace-tabs {overflow:visible!important}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .workspace-tabs .workspace-selection {transition:none!important}}
/* Entry rows on the overview, as in iOS Settings: a 30 pt rounded-square tile with a white glyph
   (blue for the Work center, gray like Settings for System management), title and one-line subtitle. */





/* Segmented controls, one shape everywhere (iOS 26): a 36 pt capsule track, equal segments, a glass thumb
   that flows to the selected segment. Full width on iPhone; on iPad and Mac it fits its labels. */
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs) {position:relative;isolation:isolate;display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0!important;box-sizing:border-box;inline-size:100%;min-block-size:2.25rem!important;block-size:auto!important;margin:0 0 var(--ui-space-3)!important;padding:2px!important;border:0!important;border-radius:999px!important;background:var(--ui-track)!important;box-shadow:none!important;overflow:visible!important}
html[data-theme] .account .restaurant-departments {inline-size:auto;justify-self:start;min-inline-size:12rem;margin-block-start:calc(var(--ui-space-1) * -1)!important}
@media (min-width:768px) {html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.finance-tabs,.service-tabs) {max-inline-size:26rem}}
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs) > button {position:relative;z-index:1;display:flex!important;align-items:center;justify-content:center;min-inline-size:0;min-block-size:2rem!important;block-size:auto!important;margin:0!important;padding:0 var(--ui-space-1)!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;font-weight:500!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs) > button[aria-pressed=true] {font-weight:600!important}
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs):not(.has-thumb) > button[aria-pressed=true] {background:var(--ui-selection)!important;box-shadow:0 1px 3px rgba(0,0,0,.12),inset 0 0 0 .5px rgba(0,0,0,.04)!important}
html[data-theme] .account .ui-seg-thumb {position:absolute;z-index:0;inset-block:2px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 60%),var(--ui-selection);box-shadow:0 1px 3px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06),inset 0 0 0 .5px rgba(0,0,0,.05),inset 0 1px 0 rgba(255,255,255,.6);pointer-events:none;transform-origin:center}
html[data-theme=dark] .account .ui-seg-thumb {background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 60%),var(--ui-selection);box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 0 0 .5px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.14)}
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs) > button:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html[data-theme] .account .ui-segments {min-block-size:2.25rem;padding:2px!important;border-radius:999px!important}
html[data-theme] .account .ui-segments button {min-block-size:2rem!important;padding:0 var(--ui-space-2)!important;border-radius:999px!important}
html[data-theme] .account .ui-segment-indicator {inset-block:2px!important;inset-inline-start:2px!important;inline-size:calc((100% - 4px) / var(--segments))!important;border-radius:999px!important;box-shadow:0 1px 3px rgba(0,0,0,.12),inset 0 0 0 .5px rgba(0,0,0,.05)}
/* Shifts calendar, as in iOS Calendar. The object is a menu row above. The card has the month title with a
   chevron (opens the month) and one pair of arrows: by week, or by month while the month is open. Days are
   numbers in circles: the selected day filled with the tint, today in the tint, a dot under days with shifts. */
html[data-theme] .account .calendar-object-picker {margin:0 0 var(--ui-space-3)!important}
html[data-theme] .account .month-calendar {position:relative;margin:0 0 var(--ui-space-4)!important;padding:var(--ui-space-3) var(--ui-space-3) var(--ui-space-2)!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill,var(--glass-card))!important;box-shadow:none!important}
html[data-theme] .account .month-calendar .month-picker {margin:0;border:0;background:none}
html[data-theme] .account .month-calendar .month-title {display:inline-flex!important;align-items:center;gap:var(--ui-space-1);min-block-size:var(--ui-hit);margin:0 0 var(--ui-space-1);padding:0 var(--ui-space-1)!important;list-style:none;cursor:pointer;color:var(--glass-ink)!important;font-size:inherit!important}
html[data-theme] .account .month-calendar .month-title::-webkit-details-marker {display:none}
html[data-theme] .account .month-calendar .month-title::after {content:none!important}
html[data-theme] .account .month-calendar .month-title h2 {margin:0;font-size:var(--ui-headline,1.0625rem);font-weight:600;text-transform:none}
html[data-theme] .account .month-calendar .month-title h2::first-letter {text-transform:uppercase}
html[data-theme] .account .month-calendar .month-title > .ui-icon {inline-size:0.875rem;block-size:0.875rem;color:var(--workspace-accent);transform:rotate(0deg);transition:transform var(--ui-motion,200ms) ease}
html[data-theme] .account .month-calendar .month-picker[open] > .month-title > .ui-icon {transform:rotate(90deg)}
html[data-theme] .account .calendar-arrows {position:absolute;inset-block-start:var(--ui-space-3);inset-inline-end:var(--ui-space-2);display:flex}
html[data-theme] .account .calendar-arrows > span {display:flex}
html[data-theme] .account .month-calendar:has(.month-picker[open]) .calendar-arrows-week,html[data-theme] .account .month-calendar:not(:has(.month-picker[open])) .calendar-arrows-month {display:none}
html[data-theme] .account .calendar-arrow {display:grid;place-items:center;inline-size:var(--ui-hit);block-size:var(--ui-hit);margin:0;padding:0!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;cursor:pointer}
html[data-theme] .account .calendar-arrow .ui-icon {inline-size:1.125rem;block-size:1.125rem}
html[data-theme] .account .calendar-arrow:first-child .ui-icon {transform:scaleX(-1)}
html[data-theme] .account .month-calendar:has(.month-picker[open]) .calendar-week {display:none!important}
/* The week strip scrolls freely by any number of days, like a slider: momentum carries it and it settles on a
   day (owner, 15 Nov 2026), never only on Mondays. */
html[data-theme] .account .month-calendar .calendar-week .week-date {scroll-snap-align:start;scroll-snap-stop:normal}
html[data-theme] .account .month-calendar .calendar-week {scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;contain:layout paint}
html[data-theme] .account .month-calendar .calendar-week .week-date > small.is-empty {visibility:hidden}
/* The month opens in the same style as the week strip: day cards, weekends in the weekend colour, the selected
   day filled, today in the tint, a dot under days with shifts. */
html[data-theme] .account .month-calendar .month-grid {display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important;padding:0 0 var(--ui-space-2)}
html[data-theme] .account .month-calendar .month-weekday {padding:var(--ui-space-1) 0;text-align:center;font-size:var(--ui-caption,.75rem);font-weight:600;color:var(--workspace-accent)}
html[data-theme] .account .month-calendar .month-weekday:nth-child(n+6):nth-child(-n+7) {color:var(--surface-coral)}
html[data-theme] .account .month-calendar .month-day {display:grid!important;justify-items:center;align-content:center;gap:3px;min-inline-size:0;min-block-size:3rem!important;margin:0!important;padding:.375rem 0!important;border:0!important;border-radius:12px!important;background:var(--workspace-panel)!important;box-shadow:0 3px 10px rgba(25,44,74,.06)!important;color:var(--glass-ink)!important;cursor:pointer;font-variant-numeric:tabular-nums}
html[data-theme] .account .month-calendar .month-day > strong {font-size:calc(1.125rem*var(--dsg-text-body,1))!important;font-weight:600!important;line-height:1.1;color:inherit}
html[data-theme] .account .month-calendar .month-day.is-weekend > strong {color:var(--surface-coral)}
html[data-theme] .account .month-calendar .month-day.is-today > strong {color:var(--workspace-accent)}
html[data-theme] .account .month-calendar .month-day[aria-pressed=true] {background:var(--glass-ink)!important;color:var(--glass-canvas)!important}
html[data-theme] .account .month-calendar .month-day[aria-pressed=true] > strong {color:inherit!important}
html[data-theme] .account .month-calendar .month-day > small {display:block!important;inline-size:5px;block-size:5px;margin:0!important;border-radius:50%;background:currentColor;opacity:.7}
html[data-theme] .account .month-calendar .month-day > small.is-empty {visibility:hidden}
html[data-theme] .account .month-calendar .month-day:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html .ui-haptic {position:fixed;inline-size:1px;block-size:1px;overflow:hidden;opacity:0;pointer-events:none;inset:0 auto auto 0}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .month-calendar .month-title > .ui-icon,html[data-theme] .account .month-calendar :is(.week-date,.month-day) > strong {transition:none}}
/* Notifications, as in iOS: the device switch is a labelled switch row; «Очистить всё» is a plain tinted
   text action; each notification is its own rounded card with the title, the time at the top trailing edge,
   the text below and a blue dot when unread. Swipe left hides (with Undo), swipe right opens. */
html[data-theme] .account .notification-device {display:block;margin:0 0 var(--ui-space-4)!important;padding:0!important;border:0!important;background:var(--dsg-content-fill,var(--glass-card))!important;border-radius:var(--ui-group-radius)!important;box-shadow:none!important}
html[data-theme] .account .notification-push-row {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-block-size:var(--ui-hit);padding:var(--ui-space-2) var(--ui-space-4);font-size:var(--ui-body)}
html[data-theme] .account .ui-switch-button {display:grid;place-items:center;flex:none;min-inline-size:var(--ui-hit);min-block-size:var(--ui-hit);margin:calc(var(--ui-space-2) * -1) calc(var(--ui-space-1) * -1);padding:0!important;border:0!important;background:none!important;box-shadow:none!important;cursor:pointer}
html[data-theme] .account .ui-switch-button[aria-checked=true] .ui-switch-track {background:var(--ui-status-positive)}
html[data-theme] .account .ui-switch-button[aria-checked=true] .ui-switch-track::after {transform:translateX(1.25rem)}
html[data-theme] .account .ui-switch-button:focus-visible .ui-switch-track {outline:2px solid var(--workspace-accent);outline-offset:3px}
html[data-theme] .account .notification-list-head {display:flex;align-items:center;justify-content:space-between;margin:0 0 var(--ui-space-2);padding:0 var(--ui-space-1) 0 var(--ui-space-4);font-size:var(--ui-footnote);font-weight:500;color:var(--glass-muted)}
html[data-theme] .account .notification-list-head .inbox-clear {font-size:var(--ui-subheadline)!important}
html[data-theme] .account .notification-inbox {display:grid;gap:var(--ui-space-2);margin:0;padding:0;list-style:none}
html[data-theme] .account .notification-inbox > li {position:relative;margin:0!important;padding:0!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill,var(--glass-card))!important;box-shadow:none!important;touch-action:pan-y}
html[data-theme] .account .notification-inbox > li + li::before {content:none!important}
html[data-theme] .account .notification-inbox .notification-event {display:grid;gap:3px;inline-size:100%;margin:0;padding:var(--ui-space-3) var(--ui-space-4) var(--ui-space-3) calc(var(--ui-space-4) + 0.75rem)!important;border:0!important;border-radius:inherit!important;background:none!important;box-shadow:none!important;color:var(--glass-ink);text-align:start;cursor:pointer}
html[data-theme] .account .notification-inbox .notification-top {display:flex;align-items:baseline;justify-content:space-between;gap:var(--ui-space-2);min-inline-size:0}
html[data-theme] .account .notification-inbox .notification-top > strong {min-inline-size:0;font-size:var(--ui-subheadline)!important;font-weight:600!important;line-height:1.3;color:var(--glass-ink)!important}
html[data-theme] .account .notification-inbox .notification-top > time {flex:none;font-size:var(--ui-caption,.75rem);color:var(--glass-muted)}
html[data-theme] .account .notification-inbox .notification-text {font-size:var(--ui-subheadline);line-height:1.35;color:var(--glass-ink)}
html[data-theme] .account .notification-inbox > li.is-unread::after {content:"";position:absolute;inset-block-start:calc(var(--ui-space-3) + 0.4rem);inset-inline-start:var(--ui-space-2);inline-size:0.5rem;block-size:0.5rem;border-radius:50%}
html[data-theme] .account .notification-inbox > li:not(.is-unread) .notification-text {color:var(--glass-muted)}
/* A glass surface keeps its glass rim on the swipe buttons too. */
html[data-theme] .account .swipe-shell[data-swipe-glass=true] > .swipe-actions > :is(button,a) {box-shadow:inset 0 1px 0 var(--ui-glass-rim),inset 0 0 0 1px var(--ui-glass-edge)!important}
/* Person card, after the iOS Contacts card: ✕ leading and a «Правка» glass capsule trailing, the name joins the
   bar once scrolled; a large portrait with a glass rim, a 28 pt name, 64 pt round actions, then separate rounded
   blocks (26 pt radius, 14 pt apart) with a 15 pt label over a 17 pt value, notes as a tall block, and plain
   command rows. Colours stay DSG's. */
html[data-theme] .account .sheet-text-action {display:inline-grid;place-items:center;min-inline-size:var(--ui-hit);min-block-size:var(--ui-hit);margin:0;padding:0 1.125rem!important;border-radius:999px!important;font-size:var(--ui-body)!important;font-weight:500!important;color:var(--glass-ink)!important;white-space:nowrap;cursor:pointer}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity .identity-avatar.is-large {inline-size:clamp(136px,40vw,168px)!important;block-size:clamp(136px,40vw,168px)!important;border:1.5px solid rgba(255,255,255,.55)!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.6),0 0 0 .5px rgba(0,0,0,.18),0 10px 30px rgba(0,0,0,.18)!important}
/* An avatar without a photo has no ring or rim (owner, 20 Nov 2026), as the iOS Contacts monogram: only the filled circle. */
/* An avatar without a photo is the iOS 27 Contacts monogram (owner, 20 Nov 2026): a glass disc — translucent fill, a
   bright rim along the top, a soft shade below — with large thin white initials. In the light theme the glass is tinted
   grey so the white initials stand out on the light card; reduced transparency gets a solid disc. No outline ring. */
html[data-theme] .account {--dsg-monogram:radial-gradient(120% 70% at 50% 0%,rgba(255,255,255,.32),transparent 60%),linear-gradient(180deg,rgba(138,144,158,.78),rgba(108,113,126,.66));--dsg-monogram-rim:rgba(255,255,255,.9)}
html[data-theme=dark] .account {--dsg-monogram:radial-gradient(120% 70% at 50% 0%,rgba(255,255,255,.14),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.07));--dsg-monogram-rim:rgba(255,255,255,.55)}
html[data-theme] .account .identity-avatar:not(.has-photo):not(.profile-control *),html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity .identity-avatar.is-large:not(.has-photo) {border:0!important;background:var(--dsg-monogram)!important;color:rgba(255,255,255,.95)!important;-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);box-shadow:inset 0 1.5px .5px var(--dsg-monogram-rim),inset 0 -1.5px 2px rgba(255,255,255,.16),inset 0 0 0 .5px rgba(255,255,255,.3),0 8px 24px rgba(0,0,0,.16)!important;text-shadow:0 1px 2px rgba(0,0,0,.14)}
html[data-theme] .account .identity-avatar.is-large:not(.has-photo):not(.profile-control *),html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity .identity-avatar.is-large:not(.has-photo) {font-weight:300!important;letter-spacing:-.01em}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity .identity-avatar.is-large:not(.has-photo) {font-size:clamp(56px,17vw,72px)!important}
html[data-theme] .account .ui-contact-header .identity-avatar.ui-contact-avatar:not(.has-photo) {font-size:calc(2.875rem*var(--dsg-text-title,1))!important}
@media (prefers-reduced-transparency:reduce){html[data-theme] .account .identity-avatar:not(.has-photo):not(.profile-control *) {-webkit-backdrop-filter:none;backdrop-filter:none;background:#7d828e!important}html[data-theme=dark] .account .identity-avatar:not(.has-photo):not(.profile-control *) {background:#4a4a50!important}}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity h2 {margin-block:var(--ui-space-4) var(--ui-space-1)!important;font-size:calc(1.75rem*var(--dsg-text-title,1))!important;font-weight:700!important;line-height:1.15;letter-spacing:-.01em}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity p {font-size:var(--ui-subheadline)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-primary-actions {display:flex!important;justify-content:center;gap:0.875rem!important;margin:var(--ui-space-4) 0 var(--ui-space-4)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-action {display:grid!important;place-items:center;inline-size:4rem!important;block-size:4rem!important;min-inline-size:4rem;border-radius:50%!important;background:linear-gradient(180deg,rgba(255,255,255,.16),transparent 60%),var(--ui-glass-fill)!important;border:1px solid var(--ui-glass-edge)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),var(--ui-glass-shadow)!important;backdrop-filter:blur(16px) saturate(1.8);-webkit-backdrop-filter:blur(16px) saturate(1.8);color:var(--glass-ink)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-action .ui-icon {inline-size:1.625rem!important;block-size:1.625rem!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-action.is-unavailable {opacity:.45}
html[data-theme] .account .native-sheet[data-sheet=staff] .sheet-body > :is(.native-info,.contact-notes,.staff-detail-section,.staff-rate-row,.staff-disclosure) {margin:0 0 0.875rem!important}
html[data-theme] .account .native-sheet[data-sheet=staff] :is(.native-info,.contact-notes,.staff-object-list,.staff-rate-row,.staff-disclosure) {border-radius:1.625rem!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info > div {padding:0.875rem 1.25rem!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info > div + div {border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info dt {margin:0 0 2px!important;font-size:var(--ui-subheadline)!important;font-weight:400!important;color:var(--glass-ink)!important;opacity:.85}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info dd {margin:0!important;font-size:var(--ui-body)!important;font-weight:400!important;color:var(--glass-ink)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info dd a {color:inherit!important;text-decoration:none}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes h3 {font-size:var(--ui-body)!important;font-weight:400!important;color:var(--glass-ink)!important;opacity:.85}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes textarea {font-size:var(--ui-body)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-section > h3 {display:block!important;margin:var(--ui-space-2) 0 var(--ui-space-2)!important;padding:0 1.25rem;font-size:var(--ui-footnote)!important;font-weight:500!important;color:var(--glass-muted)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] :is(.staff-object-row,.staff-rate-row,.staff-disclosure > summary) {min-block-size:3.25rem;padding:0.75rem 1.25rem!important;font-size:var(--ui-body)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] :is(.staff-object-row,.staff-rate-row) strong {font-size:var(--ui-body)!important;font-weight:400!important}
html[data-theme] .account .native-sheet .sheet-header .sheet-text-action.glass-control {width:auto!important;min-width:var(--ui-hit)!important;flex:none!important;inline-size:auto!important;min-inline-size:var(--ui-hit)!important;padding-inline:1.125rem!important;border-radius:999px!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .sheet-header-view h2 {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .account .native-sheet[data-sheet=staff] .staff-detail-identity h2 {font-size:min(1.75rem,6.4vw)!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:manual;text-wrap:balance;max-inline-size:100%}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info {padding:0!important}
html[data-theme] .account .native-sheet .sheet-header-view:has(> .sheet-text-action) {grid-template-columns:minmax(max-content,1fr) minmax(0,auto) minmax(max-content,1fr)!important}
html[data-theme] .account .native-sheet .sheet-header-view:has(> .sheet-text-action) > .sheet-text-action {justify-self:end}
html[data-theme] .account .native-sheet .sheet-header-view:has(> .sheet-text-action) > :first-child {justify-self:start}
/* Tab bar material, as in iOS 26, Telegram and WhatsApp: the bar and the separate bell circle are one and the
   same Liquid Glass (identical fill, sheen, blur, edge and shadow), so they read as one surface split in two.
   The selected tab is not a raised lens but a recess cut into that glass: a slightly darker capsule with an
   inner shadow. While a finger drags across the bar the selection becomes the clear lens instead. */
:root {--dock-fill:rgba(255,255,255,.6);--dock-sheen:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0) 55%);--dock-edge:rgba(255,255,255,.75);--dock-shadow:0 10px 30px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.07),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.45);--dock-blur:blur(24px) saturate(1.8);--dock-recess:rgba(0,0,0,.075);--dock-recess-shadow:inset 0 1px 3px rgba(0,0,0,.14),inset 0 -1px 0 rgba(255,255,255,.7)}
html[data-theme=dark] {--dock-fill:rgba(44,44,48,.58);--dock-sheen:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 55%);--dock-edge:rgba(255,255,255,.14);--dock-shadow:0 10px 30px rgba(0,0,0,.45),0 0 0 .5px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(255,255,255,.05);--dock-recess:rgba(0,0,0,.34);--dock-recess-shadow:inset 0 1px 3px rgba(0,0,0,.5),inset 0 -1px 0 rgba(255,255,255,.09)}
@media all {
 html[data-theme] .account .workspace-dock .workspace-tabs,html[data-theme] .account .workspace-dock > [data-section=search] {background:var(--dock-sheen),var(--dock-fill)!important;border:1px solid var(--dock-edge)!important;box-shadow:var(--dock-shadow)!important;backdrop-filter:var(--dock-blur)!important;-webkit-backdrop-filter:var(--dock-blur)!important}
 html[data-theme] .account .workspace-dock .workspace-tabs:not([data-dragging=true]):not(.is-travelling) .workspace-selection {background:var(--dock-recess)!important;background-image:none!important;border:0!important;box-shadow:var(--dock-recess-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html[data-theme] .account .workspace-dock .workspace-tabs:not([data-dragging=true]):not(.is-travelling) .workspace-selection::after {content:none!important}
}
@media (prefers-reduced-transparency:reduce) {
 html[data-theme] .account .workspace-dock .workspace-tabs,html[data-theme] .account .workspace-dock > [data-section=search] {background:var(--glass-card)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
/* «Очистить всё», as in iOS Notification Center: a glass ✕ circle that opens into an «Очистить» capsule. */
html[data-theme] .account .notification-list-head .inbox-clear {display:inline-flex!important;align-items:center;justify-content:center;gap:0;inline-size:auto;min-inline-size:2rem;block-size:2rem;min-block-size:2rem!important;margin:6px var(--ui-space-2) 6px 0!important;padding:0 .4375rem!important;border:1px solid var(--ui-glass-edge)!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 55%),var(--ui-glass-fill)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),var(--ui-glass-shadow)!important;backdrop-filter:blur(16px) saturate(1.8);-webkit-backdrop-filter:blur(16px) saturate(1.8);color:var(--glass-ink)!important;font-size:var(--ui-footnote)!important;font-weight:600!important;overflow:hidden;transition:padding 260ms cubic-bezier(.22,1,.36,1),gap 260ms cubic-bezier(.22,1,.36,1)}
html[data-theme] .account .notification-list-head .inbox-clear > .ui-icon {inline-size:1rem;block-size:1rem;flex:none}
html[data-theme] .account .notification-list-head .inbox-clear > span {max-inline-size:0;opacity:0;white-space:nowrap;transition:max-inline-size 260ms cubic-bezier(.22,1,.36,1),opacity 180ms ease}
html[data-theme] .account .notification-list-head .inbox-clear[aria-expanded=true] {gap:.25rem;padding-inline:.75rem!important}
html[data-theme] .account .notification-list-head .inbox-clear[aria-expanded=true] > .ui-icon {display:none}
html[data-theme] .account .notification-list-head .inbox-clear[aria-expanded=true] > span {max-inline-size:8rem;opacity:1}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .notification-list-head .inbox-clear,html[data-theme] .account .notification-list-head .inbox-clear > span {transition:none}}
/* Unread: a DSG orange dot (Chaikhona orange) in the list, and an iOS red count badge on the bell. */
:root {--ui-unread:#e2700a}
html[data-theme=dark] {--ui-unread:#ff9a3d}
html[data-theme] .account .notification-inbox > li.is-unread::after {background:var(--ui-unread)!important}
html[data-theme] .account .workspace-tools [data-section=notifications] .unread-indicator:not([hidden]) {position:absolute;z-index:2;inset-block-start:-4px;inset-inline-end:-4px;top:-4px;right:-4px;box-shadow:0 1px 3px rgba(0,0,0,.25);display:grid;place-items:center;box-sizing:border-box;width:auto;height:auto;min-inline-size:1.25rem;block-size:1.25rem;padding:0 .3125rem;border:0;border-radius:999px;background:#ff3b30;color:#fff;font-size:calc(.75rem*var(--dsg-text-note,1));font-weight:600;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}
html[data-theme=dark] .account .workspace-tools [data-section=notifications] .unread-indicator:not([hidden]) {background:#ff453a}
html[data-theme] .account .workspace-tools [data-section=notifications] .unread-indicator:not([hidden]):empty {min-inline-size:.625rem;block-size:.625rem;padding:0;inset-block-start:.5rem;inset-inline-end:.5rem;top:.5rem;right:.5rem}
/* Period assignment review, one iOS detail layout: a summary group with value rows, the counts as value rows,
   conflicts as one list, overlapping rules as navigation rows, and the two commands at the end. */
html[data-theme] .account .period-review {display:grid;gap:var(--ui-space-2);min-inline-size:0}
html[data-theme] .account .period-review > * {margin:0!important;min-inline-size:0}
html[data-theme] .account .period-review > .ui-inset-header {float:none;margin:var(--ui-space-3) 0 0!important}
html[data-theme] .account .period-review .ui-content-group {display:grid;padding:0!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill,var(--glass-card))!important;box-shadow:none!important;overflow:hidden;list-style:none}
html[data-theme] .account .period-review .ui-content-group > * {position:relative;margin:0!important;min-inline-size:0}
html[data-theme] .account .period-review .ui-content-group > * + *::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .period-review .period-summary-head,html[data-theme] .account .period-review .period-conflicts > li {padding:var(--ui-space-3) var(--ui-space-4)}
html[data-theme] .account .period-review .period-value-row {display:flex;align-items:baseline;justify-content:space-between;gap:var(--ui-space-3);min-block-size:var(--ui-hit);box-sizing:border-box;padding:var(--ui-space-3) var(--ui-space-4);font-size:var(--ui-body)}
html[data-theme] .account .period-review .period-value-row > span {color:var(--glass-ink)}
html[data-theme] .account .period-review .period-value-row > strong {font-weight:400;color:var(--glass-muted);text-align:end;overflow-wrap:anywhere}
html[data-theme] .account .period-review .ui-navigation-row {padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .period-review .period-dates > summary {list-style:none;cursor:pointer}
html[data-theme] .account .period-review .period-dates > summary::-webkit-details-marker {display:none}
html[data-theme] .account .period-review .period-dates[open] > summary {margin:0!important}
html[data-theme] .account .period-review .period-date-preview {display:flex;flex-wrap:wrap;gap:var(--ui-space-1) var(--ui-space-2);padding:0 var(--ui-space-4) var(--ui-space-3);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .period-review .ui-callout {margin-block-start:var(--ui-space-2)!important}
html[data-theme] .account .period-review .period-actions {display:grid;grid-template-columns:1fr 1fr;gap:var(--ui-space-3);margin-block-start:var(--ui-space-4)!important}
html[data-theme] .account .period-review .period-actions > button {min-block-size:var(--ui-hit);margin:0!important}
html[data-theme] .account .period-review .period-conflicts > li {border:0!important;border-radius:0!important}
html[data-theme] .account .period-review .period-date-preview > span {padding:0!important;background:none!important;font-size:var(--ui-footnote)!important}
/* Focus rings only for keyboard navigation, as on iPhone, iPad and Mac: touch, pencil, mouse and trackpad never
   leave a highlight on a row, field, menu or button. Pressing Tab turns the rings on until the next pointer use. */
html:not([data-keyboard-nav]) .account :is(*,*::before,*::after):is(:focus,:focus-visible,:focus-within) {outline:none!important}
html:not([data-keyboard-nav]) :is(.dsg-confirmation,.contact-context-dialog,.ios-menu) :is(*):is(:focus,:focus-visible) {outline:none!important}
html:not([data-keyboard-nav]) .account select:focus-visible {box-shadow:none!important}
html:not([data-keyboard-nav]) .account .month-calendar .month-day:focus-visible,html:not([data-keyboard-nav]) .account .shift-worker-more:focus-visible {outline:none!important}
/* Shift card colour: the tint marks only what needs it («Сообщить», the timeline); command rows read in the text
   colour, Delete stays red, and the assignment «…» is quiet. */
html[data-theme] .account .native-sheet .shift-detail .ui-action-row:not(.is-destructive) {color:var(--glass-ink)!important}
html[data-theme] .account .native-sheet .shift-worker-more {color:var(--glass-muted)!important}
/* Assignment menu («Назначение сотрудника») and shift settings: one inset group of rows with a leading glyph,
   clipped to its corners, no pressed highlight left behind; the destructive row in red. */
html[data-theme] .account .native-sheet .shift-menu-caption {margin:0 0 var(--ui-space-2)!important;padding:0 var(--ui-space-4);font-size:var(--ui-footnote)!important;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .shift-action-list {display:grid;margin:0;padding:0!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill,var(--glass-card))!important;box-shadow:none!important;overflow:hidden;isolation:isolate}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row {position:relative;display:flex;align-items:center;gap:var(--ui-space-3);min-block-size:var(--ui-hit);margin:0!important;padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-body)!important;font-weight:400!important;text-align:start;cursor:pointer}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row + .shift-menu-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:calc(var(--ui-space-4) + 1.25rem + var(--ui-space-3)) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row > .ui-icon:first-child {flex:none;inline-size:1.25rem;block-size:1.25rem}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row > span {flex:1}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row > .ui-icon[data-icon=chevron] {inline-size:.875rem;block-size:.875rem;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row.is-destructive {color:var(--ui-danger)!important}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row.is-destructive > .ui-icon[data-icon=chevron] {display:none}
html[data-theme] .account .native-sheet .shift-action-list > .shift-menu-row:active {background:var(--ui-interaction)!important}
/* «Настройки сотрудника», as in iOS Settings: one list of rows inside the disclosure (a value row, tinted
   «Выдать приглашение», navigation rows, plain command rows), no nested blocks; Delete alone in red below. */
html[data-theme] .account .native-sheet .staff-settings {padding:0!important;overflow:hidden}
html[data-theme] .account .native-sheet .staff-settings > summary {min-block-size:3.25rem;padding:0.75rem 1.25rem!important;font-size:var(--ui-body)!important;font-weight:400!important}
html[data-theme] .account .native-sheet .staff-settings-list {display:grid;margin:0;padding:0}
html[data-theme] .account .native-sheet .staff-settings-list > * {position:relative;margin:0!important}
html[data-theme] .account .native-sheet .staff-settings-list > *::before {content:"";position:absolute;inset-block-start:0;inset-inline:1.25rem 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .staff-settings-value {display:flex;align-items:baseline;justify-content:space-between;gap:var(--ui-space-3);min-block-size:var(--ui-hit);padding:0.75rem 1.25rem;font-size:var(--ui-body)}
html[data-theme] .account .native-sheet .staff-settings-value > strong {font-weight:400;color:var(--glass-muted);text-align:end}
html[data-theme] .account .native-sheet .staff-settings-row {display:flex!important;align-items:center;justify-content:space-between;gap:var(--ui-space-3);inline-size:100%;min-block-size:var(--ui-hit);padding:0.75rem 1.25rem!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-body)!important;font-weight:400!important;text-align:start;cursor:pointer}
html[data-theme] .account .native-sheet .staff-settings-row > span {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .native-sheet .staff-settings-row small {font-size:var(--ui-footnote)!important;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .staff-settings-row > .ui-icon {flex:none;inline-size:.875rem;block-size:.875rem;color:var(--glass-muted)}
html[data-theme] .account .native-sheet .staff-settings-row.is-tinted {color:var(--workspace-accent)!important}
html[data-theme] .account .native-sheet .staff-settings-list > .staff-invitation {padding:0.75rem 1.25rem!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .native-sheet .staff-delete {margin:0 0 0.875rem!important;border-radius:1.625rem!important}
html[data-theme] .account .native-sheet .staff-delete > .ui-action-row {padding:0.75rem 1.25rem!important}
html[data-theme] .account .notification-inbox > li.notification-empty {padding:var(--ui-space-4) var(--ui-space-4)!important;background:none!important;text-align:center;font-size:var(--ui-subheadline);color:var(--glass-muted)}
/* The badge sits over the bell's edge, as on iOS app icons: the bell never clips it. */
html[data-theme] .account .workspace-dock,html[data-theme] .account .workspace-dock > [data-section=search] {overflow:visible!important}
/* A clear Liquid Glass lens, as in iOS 26: no painted highlight, only a thin bright rim, a soft inner edge and a
   slight brightening of what is under it. The selection changes between recess and lens by transitioning its
   fill and shadow, so nothing flashes; the same lens is used while dragging and while it travels to a tapped tab. */
html[data-theme] .account .workspace-dock .workspace-tabs .workspace-selection {transition:left 520ms cubic-bezier(.32,.72,0,1),top 520ms cubic-bezier(.32,.72,0,1),width 520ms cubic-bezier(.32,.72,0,1),height 520ms cubic-bezier(.32,.72,0,1),background-color 220ms ease,box-shadow 220ms ease,border-color 220ms ease!important}
html[data-theme] .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {z-index:2;background-image:none!important}
html[data-theme] .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection::after {content:none!important}
html:not([data-theme=dark]) .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {border-color:rgba(255,255,255,.9)!important}
/* Curators on an object card: one line each; only the line naming the viewer is highlighted. */
html[data-theme] .account .object-curator {display:grid;justify-items:start;gap:2px;margin:5px 0;padding:0!important;background:none!important}
html[data-theme] .account .object-curator-line {font-size:var(--ui-footnote)}
html[data-theme] .account .object-curator-line.is-mine {padding:2px 8px;border-radius:8px;background:color-mix(in srgb,var(--workspace-accent) 12%,transparent);color:var(--workspace-accent)}
html[data-theme] .account .workspace-dock .workspace-tabs[data-dragging=true] .workspace-selection {transition:background-color 220ms ease,box-shadow 220ms ease,border-color 220ms ease!important}
/* The search button keeps still when search opens: no glyph bounce or tint change; only the field animates. */
/* Notes as in iOS Contacts: the label and about two lines; the field grows with its text. */
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes {min-block-size:0!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes textarea {block-size:auto;field-sizing:content;max-block-size:16rem;resize:none!important}
/* Phone numbers as in iOS Contacts: the number in the text colour with a small filled handset at the trailing edge,
   the same glyph on every card (team, restaurant phone, person card). */
html[data-theme] .account :is(.ui-phone-link,.native-sheet .ui-phone-link) {color:var(--glass-ink)!important;text-decoration:none}
html[data-theme] .account :is(.ui-team-call,.ui-phone-glyph) {color:var(--glass-ink)!important}
html[data-theme] .account :is(.ui-team-call,.ui-phone-glyph) .ui-icon {inline-size:1.0625rem!important;block-size:1.0625rem!important;fill:currentColor;stroke-width:1.25}
html[data-theme] .account .native-sheet[data-sheet=staff] .native-info .ui-phone-link {display:flex;align-items:center;justify-content:space-between;min-block-size:0}
/* Sheet bars, as in iOS 26: a translucent bar over the content (it scrolls under it with a blur), no hairline. */
html[data-theme] .account .native-sheet > .sheet-header {position:relative;z-index:4;border-block-end:0!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* iOS 27 scroll edge (owner, 18 Nov 2026): no header bar and no edge line under the controls. Only when content scrolls
   under them does a soft blur appear, fading out downwards without an edge. */
html[data-theme] .account .native-sheet > .sheet-header::after {content:""!important;position:absolute;inset:0 0 calc(-1 * var(--ui-space-6,1.5rem)) 0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb,var(--glass-modal) 78%,transparent) 0%,color-mix(in srgb,var(--glass-modal) 36%,transparent) 58%,transparent 100%);backdrop-filter:blur(12px) saturate(1.4);-webkit-backdrop-filter:blur(12px) saturate(1.4);-webkit-mask-image:linear-gradient(180deg,#000 40%,transparent);mask-image:linear-gradient(180deg,#000 40%,transparent);opacity:0;transition:opacity 200ms ease}
html[data-theme] .account .native-sheet[data-scrolled=true] > .sheet-header::after {opacity:1}
html[data-theme] .account .native-sheet[style*="--sheet-header-h"] > .sheet-body {margin-block-start:calc(-1 * var(--sheet-header-h))!important;padding-block-start:calc(var(--sheet-header-h) + var(--ui-space-3))!important;scroll-padding-block-start:var(--sheet-header-h)}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .native-sheet > .sheet-header {background:var(--glass-modal)!important;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Warehouse, in the shared iOS language: the object as a menu row (settings gear beside it), one prominent
   «Сфотографировать документ» row that opens the camera, «Документы» as a section header with a trailing ＋,
   documents as one inset list, and «Удалить документ» in red for administrators. */
html[data-theme] .account .warehouse-module .warehouse-toolbar {display:flex;align-items:center;gap:var(--ui-space-2);margin:0 0 var(--ui-space-3)}
html[data-theme] .account .warehouse-module .warehouse-object {flex:1;min-inline-size:0;margin:0!important}
html[data-theme] .account .warehouse-quick-photo {position:relative;display:flex;align-items:center;gap:var(--ui-space-3);min-block-size:3.5rem;margin:var(--ui-space-3) 0;padding:var(--ui-space-3) var(--ui-space-4);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill,var(--glass-card));color:var(--glass-ink);cursor:pointer}
html[data-theme] .account .warehouse-quick-photo > .ui-icon {flex:none;inline-size:1.875rem;block-size:1.875rem;padding:.3rem;box-sizing:border-box;border-radius:.5rem;background:linear-gradient(180deg,#3a8dff,#0a6cf0);color:#fff}
html[data-theme] .account .warehouse-quick-photo > span {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .warehouse-quick-photo strong {font-size:var(--ui-body);font-weight:600}
html[data-theme] .account .warehouse-quick-photo small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .warehouse-quick-photo > input {position:absolute;inset:0;inline-size:100%;block-size:100%;opacity:0;cursor:pointer}
html[data-theme] .account .warehouse-module .warehouse-section-heading {display:flex;align-items:center;justify-content:space-between;margin:var(--ui-space-2) 0 var(--ui-space-2);padding-inline-start:var(--ui-space-1)}
html[data-theme] .account .warehouse-module .warehouse-section-heading > h3 {margin:0;font-size:var(--ui-headline);font-weight:600}
html[data-theme] .account .warehouse-document .warehouse-delete {margin-block-start:var(--ui-space-4)}
/* Month timesheet, as a spreadsheet: a sticky name column and header row, a fine grid, weekends tinted, today
   outlined, planned hours faded, totals and money on the right; it scrolls both ways inside its frame. The sheet
   uses the full width on iPad and Mac. */
html[data-theme] .account .native-sheet[data-sheet=timesheet] {inline-size:min(100vw - 2rem,1400px)!important;max-inline-size:none!important}
html[data-theme] .account .timesheet-object {margin:0 0 var(--ui-space-2)!important}
html[data-theme] .account .timesheet-bar {display:flex;align-items:center;gap:var(--ui-space-1);margin:0 0 var(--ui-space-2)}
html[data-theme] .account .timesheet-bar h3 {margin:0;min-inline-size:9rem;text-align:center;font-size:var(--ui-headline);font-weight:600}
html[data-theme] .account .timesheet-bar .calendar-arrow:first-child .ui-icon {transform:scaleX(-1)}
html[data-theme] .account .timesheet-export {margin-inline-start:auto;min-block-size:var(--ui-hit);padding:0 var(--ui-space-3)!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-subheadline)!important;font-weight:500!important;cursor:pointer}
html[data-theme] .account .timesheet-export:disabled {color:var(--glass-muted)!important;cursor:default}
/* Timesheet «＋» and the object's own columns (owner, 24 Nov 2026): the shared add control, a column heading that opens
   the column, and the «без аккаунта» caption under a name. */
html[data-theme] .account .timesheet-add {flex:none}
/* Column and row resize grips (owner, 24 Nov 2026, as in Excel): an invisible edge zone inside the cell (a neighbouring sticky cell would cover an overhang) that shows
   a thin accent line on hover, focus and while dragging. */
html[data-theme] .account .timesheet-grid .ts-grip {position:absolute;z-index:4;touch-action:none;outline:none}
html[data-theme] .account .timesheet-grid .ts-grip.is-col {inset-block:0;inset-inline-end:0;inline-size:10px;cursor:col-resize}
html[data-theme] .account .timesheet-grid .ts-grip.is-row {inset-inline:0;inset-block-end:0;block-size:10px;cursor:row-resize}
html[data-theme] .account .timesheet-grid .ts-grip::after {content:"";position:absolute;background:var(--workspace-accent);opacity:0;transition:opacity .15s ease}
html[data-theme] .account .timesheet-grid .ts-grip.is-col::after {inset-block:0;inset-inline-end:0;inline-size:2px}
html[data-theme] .account .timesheet-grid .ts-grip.is-row::after {inset-inline:0;inset-block-end:0;block-size:2px}
html[data-theme] .account .timesheet-grid .ts-grip:is(:hover,:focus-visible,.is-dragging)::after {opacity:1}
html[data-theme] .account .timesheet-grid .is-sized {overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .timesheet-grid tr.is-sized > :is(th,td) {vertical-align:middle}
@media (pointer:coarse){html[data-theme] .account .timesheet-grid .ts-grip.is-col {inline-size:18px}html[data-theme] .account .timesheet-grid .ts-grip.is-row {block-size:16px}}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .timesheet-grid .ts-grip::after {transition:none}}
html[data-theme] .account .timesheet-grid thead th.is-article > button {display:block;inline-size:100%;padding:0 var(--ui-space-2)!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font:inherit!important;font-size:var(--ui-subheadline)!important;font-weight:600!important}
html[data-theme] .account .timesheet-grid thead th.is-article {padding-inline:var(--ui-space-2)}
html[data-theme] .account .timesheet-grid tbody th .timesheet-external {display:block;font-size:var(--ui-caption,calc(.75rem*var(--dsg-text-note,1)));font-weight:400;color:var(--glass-muted);line-height:1.2}
html[data-theme] .account .timesheet-grid {overflow:auto;max-block-size:min(70vh,46rem);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill,var(--glass-card));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html[data-theme] .account .timesheet-grid table {border-collapse:separate;border-spacing:0;font-size:var(--ui-footnote);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .account .timesheet-grid :is(th,td) {min-inline-size:2.4rem;block-size:2.5rem;padding:0;border-inline-end:1px solid var(--ui-divider);border-block-end:1px solid var(--ui-divider);text-align:center;color:var(--glass-ink);background:var(--glass-modal)}
html[data-theme] .account .timesheet-grid thead th {position:sticky;inset-block-start:0;z-index:2;padding:var(--ui-space-1) 0;font-weight:600;background:color-mix(in srgb,var(--glass-ink) 4%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid thead th > span {display:block;font-size:var(--ui-subheadline)}
html[data-theme] .account .timesheet-grid thead th > small {display:block;font-size:calc(.6875rem*var(--dsg-text-note,1));font-weight:500;color:var(--glass-muted)}
html[data-theme] .account .timesheet-grid :is(tbody,tfoot) th,html[data-theme] .account .timesheet-grid .timesheet-person {position:sticky;inset-inline-start:0;z-index:1;min-inline-size:11rem;max-inline-size:14rem;padding:0 var(--ui-space-3);text-align:start;font-weight:500;background:color-mix(in srgb,var(--glass-ink) 3%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid thead .timesheet-person {z-index:3}
html[data-theme] .account .timesheet-grid tbody th > button {inline-size:100%;min-block-size:2.5rem;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font:inherit!important;text-align:start;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
html[data-theme] .account .timesheet-grid td > button {inline-size:100%;block-size:100%;min-block-size:2.5rem;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:500!important;cursor:pointer}
html[data-theme] .account .timesheet-grid .is-weekend {background:color-mix(in srgb,var(--surface-coral,#c45) 6%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid thead .is-weekend > * {color:var(--surface-coral,#c45)}
html[data-theme] .account .timesheet-grid thead .is-today {box-shadow:inset 0 -2px 0 var(--workspace-accent)}
html[data-theme] .account .timesheet-grid td.is-planned {color:var(--glass-muted)}
html[data-theme] .account .timesheet-grid .is-total {min-inline-size:3.5rem;font-weight:600;background:color-mix(in srgb,var(--glass-ink) 3%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid .is-money {min-inline-size:7rem;padding:0 var(--ui-space-2);text-align:end;background:color-mix(in srgb,var(--glass-ink) 3%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid .is-due {font-weight:700}
html[data-theme] .account .timesheet-grid tfoot :is(th,td) {position:sticky;inset-block-end:0;font-weight:700;background:color-mix(in srgb,var(--glass-ink) 6%,var(--glass-modal))}
html[data-theme] .account .timesheet-grid tfoot th {z-index:2}
html[data-theme] .account .timesheet-grid .is-due {position:sticky;inset-inline-end:0;z-index:1;box-shadow:-1px 0 0 var(--ui-divider)}
html[data-theme] .account .timesheet-grid thead .is-due,html[data-theme] .account .timesheet-grid tfoot .is-due {z-index:3}
html[data-theme] .account .native-sheet[data-sheet=timesheet] .ui-group-footer {margin-block-start:var(--ui-space-2)}
/* Month timesheet letters and payout split: T-13 letters in the day cells (Б, ОТ, НД in the label colour, a passed
   free day «В» in the secondary colour), a legend under the grid, and the shared segmented track for Месяц/недели/половины. */


html[data-theme] .account .timesheet-grid td.is-code {font-weight:600;font-size:calc(.6875rem*var(--dsg-text-note,1));letter-spacing:.02em}
html[data-theme] .account .timesheet-grid td.is-off {font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .timesheet-grid thead .is-period > span {font-size:var(--ui-footnote)}
html[data-theme] .account .timesheet-legend {display:flex;flex-wrap:wrap;gap:var(--ui-space-1) var(--ui-space-3);margin:var(--ui-space-2) 0 0;padding:0 var(--ui-space-4);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .timesheet-legend b {margin-inline-end:.25em;font-weight:600;color:var(--glass-ink)}
html[data-theme] .account .timesheet-legend b.is-planned {color:var(--glass-muted)}
@media (max-width:600px) {
 html[data-theme] .account .timesheet-grid :is(tbody,tfoot) th,html[data-theme] .account .timesheet-grid .timesheet-person {min-inline-size:7.5rem;max-inline-size:9rem;padding:0 var(--ui-space-2)}
 html[data-theme] .account .timesheet-grid .is-money {min-inline-size:5.5rem}
}
html[data-theme] .account .timesheet-export {white-space:nowrap}
/* Timesheet payout period: two date rows; the period's days marked in the header; the last sticky column shows what
   each person gets for the period with a ✓ button that records the payout, and a positive checkmark once paid. */
html[data-theme] .account .timesheet-payout {margin:0 0 var(--ui-space-3)!important;inline-size:100%;max-inline-size:26rem}
html[data-theme] .account .timesheet-payout input[type=date] {color:var(--workspace-accent)!important;min-block-size:var(--ui-hit)}
html[data-theme] .account .timesheet-grid thead .is-in-payout {box-shadow:inset 0 3px 0 color-mix(in srgb,var(--workspace-accent) 55%,transparent)}
html[data-theme] .account .timesheet-grid thead .is-in-payout.is-today {box-shadow:inset 0 3px 0 color-mix(in srgb,var(--workspace-accent) 55%,transparent),inset 0 -2px 0 var(--workspace-accent)}
html[data-theme] .account .timesheet-grid .is-payout {min-inline-size:9.5rem}
html[data-theme] .account .timesheet-grid thead .is-payout > span {display:block}
html[data-theme] .account .timesheet-grid thead .is-payout > small {display:block;font-size:calc(.6875rem*var(--dsg-text-note,1));font-weight:500;color:var(--glass-muted);text-align:end}
html[data-theme] .account .timesheet-grid :is(tbody,tfoot) td.is-payout > span:first-child {vertical-align:middle}
html[data-theme] .account .timesheet-grid td.is-debt {font-weight:600}
html[data-theme] .account .timesheet-grid .timesheet-pay {display:inline-grid;place-items:center;inline-size:1.75rem;block-size:1.75rem;min-inline-size:0!important;min-block-size:0!important;margin-inline-start:var(--ui-space-2);padding:0!important;border:1.5px solid var(--workspace-accent)!important;border-radius:50%!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;vertical-align:middle;cursor:pointer;position:relative}
html[data-theme] .account .timesheet-grid .timesheet-pay::after {content:"";position:absolute;inset:-.5rem}
html[data-theme] .account .timesheet-grid .timesheet-pay .ui-icon {inline-size:1rem;block-size:1rem}
html[data-theme] .account .timesheet-grid td.is-paid {color:var(--ui-status-positive)}
html[data-theme] .account :is(.timesheet-paid,.timesheet-legend-paid) .ui-icon {inline-size:1.1rem;block-size:1.1rem;margin-inline-start:var(--ui-space-1);vertical-align:-.2em;color:var(--ui-status-positive)}
html[data-theme] .account .timesheet-legend-paid .ui-icon {margin:0 .2em 0 0}
html[data-theme] .account .timesheet-pay-row .ui-icon {color:var(--workspace-accent)}

/* «Предстоящие смены» is a collapsible section of the same list, not a card: a section header with the count and a
   chevron, and the shift cards below at the same level as the cards above it (no window inside a window). */
html[data-theme] .account .upcoming-shift-group {margin-block-start:var(--ui-space-4)!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important}
html[data-theme] .account .upcoming-shift-group > summary {min-block-size:var(--ui-hit);padding:0 var(--ui-space-1)!important;font-size:var(--ui-headline)!important;font-weight:600;cursor:pointer}
html[data-theme] .account .upcoming-shift-group .shift-list {padding:0 0 0 24px!important}
/* Timesheet period track: Месяц · Неделя · 2 недели · Свои даты, then a stepper for weeks and fortnights. */
html[data-theme] .account .timesheet-split {margin:0 0 var(--ui-space-2)}
html[data-theme] .account .timesheet-split .ui-segments {max-inline-size:30rem}
html[data-theme] .account .timesheet-period {display:flex;align-items:center;gap:var(--ui-space-1);margin:0 0 var(--ui-space-2)}
html[data-theme] .account .timesheet-period strong {min-inline-size:11rem;text-align:center;font-size:var(--ui-headline);font-weight:600}
html[data-theme] .account .timesheet-period .calendar-arrow:first-child .ui-icon {transform:scaleX(-1)}
/* Tab lens as in iOS 26 (owner's Telegram recording): at rest a dark recessed pill; while it travels or is dragged
   it is clear glass, taller than the bar, with a thin prismatic rim and no brightening of what lies under it. */
html[data-theme] .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {background:transparent!important;border:0!important;backdrop-filter:saturate(1.35)!important;-webkit-backdrop-filter:saturate(1.35)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.34),inset 1.5px 0 1px -1px rgba(255,92,120,.55),inset -1.5px 0 1px -1px rgba(90,170,255,.6),inset 0 1.5px 1px -1px rgba(255,255,255,.7),inset 0 -1.5px 1px -1px rgba(255,214,90,.4),0 8px 22px rgba(0,0,0,.22)!important}
html:not([data-theme=dark]) .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),inset 1.5px 0 1px -1px rgba(255,92,120,.5),inset -1.5px 0 1px -1px rgba(90,170,255,.55),inset 0 1.5px 1px -1px #fff,0 8px 22px rgba(0,0,0,.14)!important}
/* «Табель» capsule in the Shifts section header, before ＋. */
html[data-theme] .account .native-section-top > h2 {margin-inline-end:auto}
html[data-theme] .account .native-section-top > .timesheet-entry.glass-control {margin-inline-start:auto;width:auto!important;min-width:var(--ui-hit)!important;inline-size:auto!important;flex:none!important;padding-inline:1.125rem!important;border-radius:999px!important;font-size:var(--ui-body)!important;font-weight:500}
html[data-theme] .account .native-section-top > h2 + .timesheet-entry.glass-control {margin-inline-start:0}
/* Warehouse document as an iOS form: inset groups of rows, section headers with a trailing ＋, positions as groups. */
html[data-theme] .account .warehouse-document .warehouse-inset-header {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);min-block-size:var(--ui-hit)}
html[data-theme] .account .warehouse-document .warehouse-inset-header .ui-inset-header {margin:0}
html[data-theme] .account .warehouse-document .ui-inset-section {margin:0;padding:0;border:0}
html[data-theme] .account .warehouse-document fieldset.warehouse-line {display:grid;gap:var(--ui-space-1);margin:0;padding:0!important;border:0!important}
html[data-theme] .account .warehouse-document fieldset.warehouse-line > legend {float:left;inline-size:100%;padding:0;margin-block-end:var(--ui-space-1)}
html[data-theme] .account .warehouse-document .warehouse-line .warehouse-actions {justify-content:space-between;padding-inline:var(--ui-space-2)}
html[data-theme] .account .warehouse-document .warehouse-difference {margin:0;padding-inline:var(--ui-space-4);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .warehouse-document .warehouse-difference:empty {display:none}
html[data-theme] .account .warehouse-document .warehouse-upload {gap:var(--ui-space-2)}
html[data-theme] .account .warehouse-document .warehouse-upload .ui-icon {inline-size:1.15rem;block-size:1.15rem}
html[data-theme] .account .warehouse-document .ui-inset-row input[type=date] {color:var(--workspace-accent)}
/* Notes as in iOS Contacts: a one-line cell (label over a single line) that grows with the text. */
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes {padding:0.625rem 1.25rem!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes h3 {margin:0!important;font-size:var(--ui-subheadline)!important}
html[data-theme] .account .native-sheet[data-sheet=staff] .contact-notes textarea {min-height:1.5em!important;padding-block:0.125rem!important;line-height:1.3}
/* Context menu as on iOS 26: a translucent glass panel (the content shows through), a small centred title,
   44 pt rows with the label leading and the symbol trailing, groups split by a hairline; destructive in red. */
html[data-theme] .contact-context-dialog {inline-size:min(17.5rem,calc(100% - 24px))!important;padding:0.375rem 0!important;border-radius:1.375rem!important;border:0.5px solid rgba(255,255,255,.55)!important;background:rgba(248,248,250,.58)!important;backdrop-filter:blur(36px) saturate(1.9)!important;-webkit-backdrop-filter:blur(36px) saturate(1.9)!important;box-shadow:0 18px 50px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.08)!important;font-size:calc(1.0625rem*var(--dsg-text-body,1))!important}
html[data-theme=dark] .contact-context-dialog {border-color:rgba(255,255,255,.14)!important;background:rgba(44,44,48,.52)!important;box-shadow:0 18px 50px rgba(0,0,0,.5)!important}
html[data-theme] .contact-context-dialog::backdrop {background:rgba(0,0,0,.12)!important}
html[data-theme] .contact-context-dialog .contact-context-name {padding:0.375rem 1rem 0.5rem!important;font-size:calc(0.8125rem*var(--dsg-text-note,1))!important;font-weight:400!important;text-align:center;color:var(--glass-muted)!important}
html[data-theme] .contact-context-dialog :is(button,a) {flex-direction:row-reverse;justify-content:space-between;gap:0.75rem!important;min-block-size:2.75rem!important;padding:0.6875rem 1rem!important;border-radius:0!important;font-size:calc(1.0625rem*var(--dsg-text-body,1))!important;font-weight:400!important;line-height:1.25;letter-spacing:-.01em}
html[data-theme] .contact-context-dialog :is(button,a) > span {flex:1;min-inline-size:0;text-align:start}
html[data-theme] .contact-context-dialog :is(button,a) > span > small {display:block;margin-block-start:.125rem;font-size:var(--ui-footnote);line-height:1.25;color:var(--glass-muted)}
html[data-theme] .contact-context-dialog :is(button,a) svg {inline-size:1.25rem!important;block-size:1.25rem!important}
html[data-theme] .contact-context-dialog :is(button,a):active {opacity:1;background:rgba(127,127,127,.18)!important}
html[data-theme] .contact-context-dialog hr {margin:0.375rem 0!important;border:0!important;border-block-start:0.5px solid rgba(127,127,127,.32)!important}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .contact-context-dialog {background:var(--glass-card,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
/* A long press never selects text or opens the system callout: only fields stay selectable (owner, 15 Nov 2026). */
html[data-theme] .account,html[data-theme] :is(.contact-context-dialog,.dsg-confirmation,.native-sheet) {-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html[data-theme] .account :is(input,textarea,select,[contenteditable]),html[data-theme] .native-sheet :is(input,textarea,select,[contenteditable]) {-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
/* Shift card: the attention line carries its own «Назначить» capsule. */




html[data-theme] .account .native-section-top > p {margin-inline-end:auto}
/* Home shortcuts are counter tiles with a title in place of the number: same surface, the plain symbol at the bottom
   trailing corner; a count badge only when there is work. */

/* Glass physics of the moving lens, matched frame by frame to the owner's iOS 26 recording (Telegram tab bar):
   the lens itself is clear, with no fill and no light on it; what lies under it is magnified; along its edge runs a
   wide refraction band where the content behind is smeared and faintly split into colour, as through the curved rim
   of real glass. While it travels it is taller than the bar and its edges pass beyond it. */
html[data-theme] .account .workspace-tab > * {transition:transform 200ms cubic-bezier(.32,.72,0,1)}
html[data-theme] .account .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-tab[data-under=true] > * {transform:scale(1.18)}
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {background:transparent!important;background-image:none!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection::before,
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection::after {content:""!important;position:absolute;inset:0;border-radius:inherit;padding:0.5625rem;pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection::before {content:none!important}
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection::after {content:none!important}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .workspace-tabs .workspace-tab[data-under=true] > * {transform:none}}
/* Segmented tracks with long labels keep a margin inside the track (owner: «Безопасность» and «Руководство» must not
   touch the edge): a 3 pt inset, labels padded and scaled down slightly on narrow phones. */
html[data-theme] .account :is(.staff-sectors,.shift-view-switch,.finance-tabs,.service-tabs) {padding:3px!important}
html[data-theme] .account .staff-sectors > button {padding-inline:0.625rem!important;font-size:clamp(0.75rem,3.3vw,var(--ui-subheadline))!important}
html[data-theme] .account .staff-sectors {grid-auto-columns:auto!important}
html[data-theme] .account .staff-sectors > button {overflow:visible!important}
/* The clear lens is told apart from the bar only by thin specular arcs on its top and bottom edges, as the glass in
   the owner's recording catches light; there is no ring, fill or band. */
html[data-theme] .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {box-shadow:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1px 0 rgba(255,255,255,.14)!important}
html:not([data-theme=dark]) .account .workspace-dock .workspace-tabs:is([data-dragging=true],.is-travelling) .workspace-selection {box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06)!important}
/* «Переместить в архив» reads as a consequential action: the destructive tint, not a plain settings row. */
html[data-theme] .account .staff-settings-row.is-archive {color:var(--ui-danger)!important}
html[data-theme] .account .staff-detail-section .ui-empty-note {margin:0;padding:var(--ui-space-3) var(--ui-space-4)}
/* «Объекты доступа» as an iOS checklist: one 44 pt row per object, the name leading and a tint checkmark trailing
   on chosen rows; the native checkbox stays for forms and accessibility but is drawn as the checkmark. */
html[data-theme] .account .object-multiselect-options {display:grid;margin:var(--ui-space-1) calc(var(--ui-space-4) * -1) 0;padding:0}
html[data-theme] .account .object-multiselect-options > label {position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-block-size:var(--ui-hit);margin:0!important;padding:0 var(--ui-space-4)!important;font-size:var(--ui-body)!important;font-weight:400!important;color:var(--glass-ink)!important;cursor:pointer}
html[data-theme] .account .object-multiselect-options > label + label::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .object-multiselect-options > label > input[type=checkbox] {order:2;flex:none;appearance:none;-webkit-appearance:none;border:0;background:none;box-shadow:none;cursor:pointer}
html[data-theme] .account .object-multiselect-options > label > input[type=checkbox]:checked {background:var(--workspace-accent);-webkit-mask:url('/assets/ui/checkmark.svg') center/1.25rem no-repeat;mask:url('/assets/ui/checkmark.svg') center/1.25rem no-repeat}
html[data-theme] .account .object-multiselect-options > label > input[type=checkbox]:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
/* Hand corrections in the timesheet: a corrected day carries a small tint dot; while edited the cell is a field with
   a checkmark button. */
html[data-theme] .account .timesheet-grid td.is-manual {position:relative}
html[data-theme] .account .timesheet-grid td.is-manual::after {content:"";position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:5px;block-size:5px;border-radius:50%;background:var(--workspace-accent)}
html[data-theme] .account .timesheet-grid td.is-editing {min-inline-size:5.25rem;padding:2px!important}
html[data-theme] .account .timesheet-grid .timesheet-cell-input {inline-size:2.75rem;block-size:2rem;margin:0;padding:0 4px!important;border:1px solid var(--workspace-accent)!important;border-radius:8px!important;background:var(--glass-modal)!important;color:var(--glass-ink)!important;font:inherit!important;text-align:center}
html[data-theme] .account .timesheet-grid .timesheet-cell-save {display:inline-grid;place-items:center;inline-size:2rem!important;block-size:2rem!important;min-block-size:0!important;margin-inline-start:2px;padding:0!important;border-radius:50%!important;background:var(--workspace-accent)!important;color:#fff!important;vertical-align:middle}
html[data-theme] .account .timesheet-grid .timesheet-cell-save .ui-icon {inline-size:1rem;block-size:1rem}
html[data-theme] .account .timesheet-legend-manual::before {content:"";display:inline-block;inline-size:6px;block-size:6px;margin-inline-end:0.375rem;border-radius:50%;background:var(--workspace-accent);vertical-align:0.15em}
/* Section headers: the title leading, its buttons grouped at the trailing edge (sort before ＋). */
html[data-theme] .account .native-section-top {display:flex!important;align-items:center;gap:var(--ui-space-2)!important}
html[data-theme] .account .native-section-top > :is(p,h2) {margin-inline-end:auto!important}
html[data-theme] .account .workspace-content .native-section-top > .staff-sort {margin-inline-start:auto!important}
/* «Требуется назначение охранника»: a calm tinted strip in the accent family with an accent «Назначить» capsule. */



html[data-theme] .dsg-confirmation .confirmation-actions.is-single {grid-template-columns:1fr!important}
/* Three or more actions stack full width, one per row, as iOS and macOS alerts do (owner, 24 Nov 2026: «Эту и следующие» was cut off). */
html[data-theme] .dsg-confirmation .confirmation-actions.is-stacked {grid-template-columns:1fr!important}
/* Calendar view: «Табель» sits beside ＋ in the selected day's header, as it does beside ＋ in the list view. */
html[data-theme] .account .selected-date-actions {display:flex;align-items:center;gap:var(--ui-space-2);flex:none}
html[data-theme] .account .selected-date-actions > .timesheet-entry.glass-control {width:auto!important;min-width:var(--ui-hit)!important;inline-size:auto!important;padding-inline:1.125rem!important;border-radius:999px!important;font-size:var(--ui-body)!important;font-weight:500}
/* Section rows of the timesheet: a quiet heading band across the grid. */
html[data-theme] .account .timesheet-grid tr.timesheet-section > :is(th,td) {block-size:1.75rem;padding-block:0;font-size:var(--ui-footnote);font-weight:600;color:var(--glass-muted);text-transform:none;background:color-mix(in srgb,var(--glass-ink) 6%,var(--glass-modal))}
html[data-theme] .account .selected-date-actions {align-self:center}
html[data-theme] .account .selected-date-actions > * {margin:0!important;block-size:var(--ui-hit)!important;min-block-size:var(--ui-hit)!important;box-sizing:border-box}
html[data-theme] .account .native-section-top > .timesheet-entry.glass-control {margin-block:0!important;block-size:var(--ui-hit)!important;min-block-size:var(--ui-hit)!important;box-sizing:border-box}
/* Position form: «Временное назначение» reveals the end date; only temporary positions are listed on the home
   screen (owner, 15 Nov 2026). The end-date row joins the inset group seamlessly. */
html[data-theme] .account #work-assignment-form:has(input[name=temporary]:not(:checked)) .assignment-end {display:none}
html[data-theme] .account #work-assignment-form .assignment-end {display:contents}
/* «Объекты доступа»: the checkbox is invisible but stays focusable over the whole row; a separate checkmark
   (shown for chosen objects) is drawn, because Safari does not paint masks on form controls. The summary
   carries the chosen objects as a trailing value. */
html[data-theme] .account .object-multiselect-options > label > input[type=checkbox] {position:absolute!important;inset:0;inline-size:100%!important;block-size:100%!important;margin:0!important;opacity:0;-webkit-mask:none!important;mask:none!important}
html[data-theme] .account .object-multiselect-options > label > span:not(.ui-check) {flex:1;min-inline-size:0}
html[data-theme] .account .object-multiselect-options > label > .ui-check {flex:none;inline-size:1.375rem;block-size:1.375rem;background:var(--workspace-accent);-webkit-mask:url('/assets/ui/checkmark.svg') center/1.25rem no-repeat;mask:url('/assets/ui/checkmark.svg') center/1.25rem no-repeat;visibility:hidden}
html[data-theme] .account .object-multiselect-options > label:has(input:checked) > .ui-check {visibility:visible}
html[data-theme] .account .object-multiselect-options > label:has(input:focus-visible) {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html[data-theme] .account .object-multiselect > summary [data-selected-count] {flex:1 1 auto;min-inline-size:0;padding-inline:var(--ui-space-3) var(--ui-space-1);text-align:end;color:var(--glass-muted,var(--workspace-muted));font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .object-multiselect > summary > .ui-summary-label {flex:none;white-space:nowrap}
html[data-theme] .account .object-multiselect {min-inline-size:0;max-inline-size:100%}
html[data-theme] .account .object-multiselect > summary > span {font-size:var(--ui-body)!important;line-height:1.3}
html[data-theme] .account .object-multiselect > summary > .ui-summary-label {color:var(--glass-ink)!important}
html[data-theme] .account .post-detail > .post-meta + .post-schedule-section {margin-block-start:var(--ui-space-3)}
/* «Экран приложения»: metrics as an inset group (label leading, value trailing) with the standard row insets. */


/* «Аккаунты и доступ»: one inset list of account rows with hairline separators, the status filter as a menu row. */
html[data-theme] .account .account-rows > .account-row {position:relative}
html[data-theme] .account .account-rows > .account-row + .account-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .account-filter-group {margin-block-end:var(--ui-space-3)}
/* Section pattern (owner, 15 Nov 2026): the segmented control first, then the «Объект» inset menu row, then the
   section's toolbar and list, with the same spacing in every work-center tool. */
html[data-theme] .account .ui-object-picker {margin-block:0 var(--ui-space-3)!important;inline-size:100%}
html[data-theme] .account .ui-object-picker select {text-align:end;text-align-last:end}
html[data-theme] .account .work-toolbar:has(> .ui-object-picker) {display:flex;align-items:center;gap:var(--ui-space-3)}
html[data-theme] .account .work-toolbar > .ui-object-picker {flex:1;min-inline-size:0;margin:0!important}
html[data-theme] .account .ui-object-picker .ui-inset-label {flex:none;white-space:nowrap}
html[data-theme] .account .ui-object-picker select {flex:1 1 auto;min-inline-size:0;inline-size:auto!important}
html[data-theme] .account .journal-toolbar {display:flex;justify-content:flex-end;align-items:center;gap:var(--ui-space-3);margin-block-end:var(--ui-space-3)}
/* Days of the week (owner, 16 Nov 2026), as the iOS Clock «Repeat» and Fitness day rings: a caption like an inset
   header, then one inset group with seven round toggles. Selected days are filled with the tint; others show the
   tint on the group's material. No fieldset frame, so nothing is cut. */
html[data-theme] .account .weekday-picker {margin:0 0 var(--ui-space-4)!important;padding:0!important;border:0!important;min-inline-size:0}
html[data-theme] .account .weekday-picker > legend {float:inline-start;inline-size:100%;margin:0 0 var(--ui-space-1);padding:0 var(--ui-space-4)!important;font-size:var(--ui-footnote)!important;font-weight:500;color:var(--glass-muted,currentColor)}
html[data-theme] .account .weekday-picker > [role=group] {clear:both;display:flex;justify-content:space-between;gap:var(--ui-space-1);padding:var(--ui-space-2) var(--ui-space-3);border-radius:var(--ui-radius);background:var(--dsg-content-fill,var(--glass-card))}
html[data-theme] .account .weekday-picker [data-weekday] {display:grid;place-items:center;flex:none;inline-size:2.5rem;block-size:2.5rem;min-block-size:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;font-weight:600;transition:background-color 160ms ease,color 160ms ease}
html[data-theme] .account .weekday-picker [data-weekday][aria-pressed=true] {background:var(--workspace-accent)!important;color:#fff!important}
html[data-theme] .account .weekday-picker [data-weekday]:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account :is(#period-form,#shift-form) [hidden] {display:none!important}
html[data-theme] .account :is(#period-form,#shift-form) > .primarybtn {margin-block-start:var(--ui-space-2)}
/* Sign-in (owner, 16 Nov 2026), after Apple ID, Revolut and Linear: the DSG mark, a large title, one grouped pair
   of fields, «Оставаться в системе» as a switch, one primary action and a quiet link. Centered on every device. */
html[data-theme] .account[data-authenticated=false] {display:grid;place-items:center;min-block-size:100dvh;max-inline-size:none!important;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))!important}
html[data-theme] .account .login-screen {display:grid;gap:var(--ui-space-4);inline-size:min(100%,24rem);text-align:center}
html[data-theme] .account .login-brand {justify-self:center;inline-size:9.5rem;max-inline-size:60%;block-size:auto;margin-block-end:var(--ui-space-3)}
html[data-theme=dark] .account .login-brand {filter:invert(1)}
html[data-theme] .account .login-title {margin:0;font-size:var(--ui-large-title,2.125rem)!important;line-height:1.15;font-weight:700;letter-spacing:-0.02em;color:var(--glass-ink)}
html[data-theme] .account .login-form {display:grid;gap:var(--ui-space-3);margin:0;text-align:start}
html[data-theme] .account .login-fields {display:grid;border-radius:var(--ui-radius);background:var(--dsg-content-fill,var(--glass-card));overflow:hidden}
html[data-theme] .account .login-fields > input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) {box-sizing:border-box;inline-size:100%;min-block-size:3.25rem;margin:0!important;padding:0 var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:max(16px,var(--ui-body))!important}
html[data-theme] .account .login-fields > input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) + input {border-block-start:0.5px solid var(--ui-divider)!important}
html[data-theme] .account .login-fields > input::placeholder {color:var(--glass-muted);opacity:1}
html[data-theme] .account .login-fields > input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus-visible {outline:none;background:var(--ui-interaction,transparent)!important}
html[data-theme] .account .login-remember {display:flex;align-items:center;justify-content:space-between;min-block-size:3.25rem;padding:0 var(--ui-space-4)!important;border-radius:var(--ui-radius);background:var(--dsg-content-fill,var(--glass-card));color:var(--glass-ink)!important;font-size:var(--ui-body)!important;font-weight:400!important}
html[data-theme] .account .login-submit {inline-size:100%;min-block-size:3.25rem;margin-block-start:var(--ui-space-2)!important;border-radius:999px!important;font-size:var(--ui-headline)!important;font-weight:600!important}
html[data-theme] .account .login-link {justify-self:center;min-block-size:var(--ui-hit);padding:0 var(--ui-space-3)!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-subheadline)!important;font-weight:500}
html[data-theme] .account .login-hint {margin:0;padding:0 var(--ui-space-4);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .login-screen .account-message {margin:0;text-align:start}
/* App lock (owner, 16 Nov 2026): the iOS passcode screen and the «Защитите приложение» card from the owner's
   reference. The layer covers the app (which is inert below); keys are 78 pt glass circles. */
html[data-theme] .app-lock {position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));background:var(--workspace-canvas,#f6f5f2);color:var(--glass-ink,#1c1c1e);outline:none;animation:lock-in 220ms ease-out both}
html[data-theme] .app-lock[data-kind=card] {place-items:end center;padding-block-end:0;padding-inline:0;background:rgba(0,0,0,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
@keyframes lock-in {from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce) {html[data-theme] .app-lock {animation:none}}
html[data-theme] .app-lock .lock-pad {display:grid;justify-items:center;gap:var(--ui-space-3,12px);inline-size:min(100%,20rem);text-align:center}
html[data-theme] .app-lock .lock-brand {inline-size:7rem;block-size:auto;margin-block-end:var(--ui-space-3,12px)}
html[data-theme=dark] .app-lock .lock-brand {filter:invert(1)}
html[data-theme] .app-lock .lock-title {margin:0;font-size:calc(1.25rem*var(--dsg-text-title,1));font-weight:600}
html[data-theme] .app-lock .lock-subtitle {min-block-size:1.25em;margin:0;font-size:var(--ui-callout);color:var(--glass-muted,#6e6e73)}
html[data-theme] .app-lock .lock-dots {display:flex;gap:1.1rem;margin-block:var(--ui-space-2,8px) var(--ui-space-5,24px)}
html[data-theme] .app-lock .lock-dots i {inline-size:0.8125rem;block-size:0.8125rem;border-radius:50%;border:1.5px solid currentColor;transition:background-color 120ms ease}
html[data-theme] .app-lock .lock-dots i.is-filled {background:currentColor}
html[data-theme] .app-lock .lock-dots.is-shaking {animation:lock-shake 380ms cubic-bezier(.36,.07,.19,.97)}
@keyframes lock-shake {20%,60%{transform:translateX(-10px)}40%,80%{transform:translateX(10px)}}
html[data-theme] .app-lock .lock-keys {display:grid;grid-template-columns:repeat(3,4.875rem);gap:1rem 1.5rem}
html[data-theme] .app-lock .lock-key {display:grid;place-items:center;inline-size:4.875rem;block-size:4.875rem;margin:0;padding:0;border:0;border-radius:50%;background:rgba(120,120,128,.14);color:inherit;font:inherit;font-size:var(--ui-large-title);font-weight:400;font-variant-numeric:tabular-nums;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color 90ms ease}
html[data-theme=dark] .app-lock .lock-key {background:rgba(255,255,255,.12)}
html[data-theme] .app-lock .lock-key:active {background:rgba(120,120,128,.38)}
html[data-theme] .app-lock .lock-key.is-plain {background:none}
html[data-theme] .app-lock .lock-key .ui-icon {inline-size:1.75rem;block-size:1.75rem}
html[data-theme] .app-lock .lock-key:focus-visible,html[data-theme] .app-lock button:focus-visible {outline:2px solid var(--workspace-accent,#0a84ff);outline-offset:3px}
html[data-theme] .app-lock .lock-link {margin-block-start:var(--ui-space-3,12px);min-block-size:44px;padding:0 12px;border:0;background:none;color:var(--workspace-accent,#0a84ff);font:inherit;font-size:var(--ui-callout);cursor:pointer}
html[data-theme] .app-lock .lock-card {display:grid;justify-items:center;gap:var(--ui-space-3,12px);inline-size:min(100%,32rem);padding:var(--ui-space-6,32px) 24px max(24px,env(safe-area-inset-bottom));border-radius:32px 32px 0 0;background:var(--workspace-panel,#fff);text-align:center;animation:lock-up 300ms cubic-bezier(.22,1,.36,1) both}
@media (min-width:768px) {html[data-theme] .app-lock[data-kind=card] {place-items:center;padding-block-end:24px} html[data-theme] .app-lock .lock-card {border-radius:32px;padding-block-end:28px}}
@keyframes lock-up {from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
html[data-theme] .app-lock .lock-card-icon {display:grid;place-items:center;inline-size:4.5rem;block-size:4.5rem;border-radius:50%;background:rgba(120,120,128,.16)}
html[data-theme] .app-lock .lock-card-icon .ui-icon {inline-size:2rem;block-size:2rem}
html[data-theme] .app-lock .lock-card h2 {margin:var(--ui-space-2,8px) 0 0;font-size:calc(1.5rem*var(--dsg-text-title,1));font-weight:700}
html[data-theme] .app-lock .lock-card p {margin:0 0 var(--ui-space-4,16px);max-inline-size:22rem;font-size:var(--ui-body);line-height:1.4;color:var(--glass-muted,#6e6e73)}
html[data-theme] .app-lock .lock-primary,html[data-theme] .app-lock .lock-secondary {inline-size:100%;min-block-size:3.5rem;border:0;border-radius:999px;font:inherit;font-size:calc(1.0625rem*var(--dsg-text-body,1));font-weight:600;cursor:pointer}
html[data-theme] .app-lock .lock-primary {background:var(--glass-ink,#1c1c1e);color:var(--workspace-panel,#fff)}
html[data-theme] .app-lock .lock-secondary {background:rgba(120,120,128,.16);color:inherit}
/* Staff notes (owner, 16 Nov 2026): one line that grows with the text, starting exactly under «Заметки» with the
   same inset as the other card values, and a placeholder; the older 112 px minimum (id selector) is overridden. */
html[data-theme] .account .native-sheet .contact-notes #staff-contact-notes {min-height:1.5em!important;padding:0!important;margin:0!important;text-indent:0;line-height:1.35}
html[data-theme] .account .native-sheet .contact-notes #staff-contact-notes::placeholder {color:var(--glass-muted);opacity:1}
html[data-theme] .account .native-sheet .contact-notes form {gap:var(--ui-space-1)!important}
/* Pointer hover never changes tone (owner, 16 and 18 Nov 2026), app-wide: rows, plates, tiles, capsules, segments,
   timesheet cells and controls keep their colour under the pointer; the cursor and the chevron show what opens.
   Only drop-down menus highlight the item under the pointer, as macOS menus do. Pressed (:active) and keyboard
   focus (:focus-visible) states stay. */
/* Desktop drop-down for every <select> (owner, 16 Nov 2026): a translucent panel under the field in the app's own
   material, 36 pt rows with an inset hover, a checkmark on the chosen value, scrolling for long lists. */
html[data-theme] .select-menu {position:fixed;z-index:10050;inset-inline-start:var(--menu-left);inset-block-start:var(--menu-top,auto);inset-block-end:var(--menu-bottom,auto);inline-size:var(--menu-width);max-block-size:var(--menu-max);overflow-y:auto;overscroll-behavior:contain;padding:6px;border-radius:14px;background:rgba(255,255,255,.86);border:0.5px solid rgba(0,0,0,.12);box-shadow:0 12px 40px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.08);backdrop-filter:blur(28px) saturate(1.8);-webkit-backdrop-filter:blur(28px) saturate(1.8);animation:select-menu-in 140ms ease-out both;scrollbar-width:thin}
html[data-theme=dark] .select-menu {background:rgba(44,44,46,.86);border-color:rgba(255,255,255,.1);box-shadow:0 12px 40px rgba(0,0,0,.5)}
@keyframes select-menu-in {from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
html[data-theme] .select-menu[data-up=true] {animation-name:select-menu-up}
@keyframes select-menu-up {from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce) {html[data-theme] .select-menu {animation:none}}
html[data-theme] .select-menu-option {display:grid;grid-template-columns:1.25rem 1fr;align-items:center;gap:8px;inline-size:100%;min-block-size:2.25rem;margin:0;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--glass-ink,#1c1c1e);font:inherit;font-size:var(--ui-callout);text-align:start;cursor:pointer}
html[data-theme] .select-menu-option > span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .select-menu-option .ui-icon {inline-size:1rem;block-size:1rem;color:var(--workspace-accent);visibility:hidden}
html[data-theme] .select-menu-option[aria-selected=true] .ui-icon {visibility:visible}
html[data-theme] .select-menu-option[aria-selected=true] {font-weight:600}
html[data-theme] .select-menu-option:is(:hover,:focus-visible) {background:var(--workspace-accent);color:#fff;outline:none}
html[data-theme] .select-menu-option:is(:hover,:focus-visible) .ui-icon {color:#fff}
html[data-theme] .select-menu-option:disabled {opacity:.4;cursor:default;background:transparent;color:inherit}
html[data-theme] .select-menu[popover] {margin:0;color:inherit}
/* Theme tones (owner, 16 Nov 2026: «более премиальные»). Light A: the iOS grouped background (#F2F2F7) with white
   cards, so content separates from the page without a glare. Dark B: deep graphite (#141416) with lifted cards
   (#232326) instead of near-black, keeping depth while the cards read clearly. */
:root {--glass-canvas:#f2f2f7;--glass-card:#ffffff;--glass-modal:#f2f2f7;--dsg-content-fill:rgba(255,255,255,.72);--workspace-field:#e9e9ee}
html[data-theme=dark] {--glass-canvas:#0b0b0d;--glass-card:#1c1c1f;--glass-modal:#111114;--dsg-content-fill:rgba(44,44,50,.55);--workspace-field:#26262b;--glass-raised:#26262b}
/* Grouped rows in cards keep a light translucency (owner, 16 Nov 2026), as iOS grouped cells on a material: the
   page shows through faintly instead of a flat solid fill. Dark is deeper (owner): page #0B0B0D, sheets #111114. */
/* Switches in the app's one tint (owner, 16 Nov 2026): «on» is the accent blue of checkmarks, day toggles and
   links instead of the status green; the knob is always white with a soft shadow, as on iOS, in both themes. */
html[data-theme] .account .ui-switch-row input:checked + .ui-switch-track,html[data-theme] .account .ui-switch-button[aria-checked=true] .ui-switch-track {background:var(--workspace-accent)!important}
html[data-theme] .account .ui-switch-track::after {background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.22),0 0 0 .5px rgba(0,0,0,.06)}
html[data-theme] .account .ui-switch-track {transition:background-color var(--ui-motion,200ms ease)}
html[data-theme] .account input[type=checkbox] {accent-color:var(--workspace-accent)}
/* «Центр управления»: inset groups in the order of the admin centres — health, attention, people in the app, shifts
   now, recent actions; status pills trail the health rows, counts trail the attention rows. */
html[data-theme] .account .control-center {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .control-center .cc-updated {margin:0;padding:0 var(--ui-space-4);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .control-center .cc-section > .ui-inset-header {float:none;margin:0 0 var(--ui-space-1)}
html[data-theme] .account .control-center .cc-rows {display:grid;overflow:hidden}
html[data-theme] .account .control-center .cc-row {position:relative;display:flex;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:3.25rem;padding:0.625rem var(--ui-space-4)!important;text-align:start}
html[data-theme] .account .control-center .cc-row > .ui-row-copy,html[data-theme] .account .control-center .cc-row > .ui-row-title {flex:1;min-inline-size:0}
html[data-theme] .account .control-center .cc-row + .cc-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .control-center .cc-count {min-inline-size:1.75rem;padding:0 0.5rem;border-radius:999px;background:var(--workspace-accent);color:#fff;font-size:var(--ui-footnote);font-weight:600;line-height:1.5rem;text-align:center}
html[data-theme] .account .control-center .ui-group-footer {margin-block-start:calc(var(--ui-space-2) * -1)}
html[data-theme] .account .control-center .cc-row > .ui-icon[data-icon=chevron] {flex:none;inline-size:0.875rem;block-size:0.875rem;color:var(--glass-muted)}
html[data-theme] .account .control-center .cc-calm > summary {list-style:none;cursor:pointer}
html[data-theme] .account .control-center .cc-calm > summary::-webkit-details-marker {display:none}
/* One quarter turn only (owner, 20 Nov 2026): closed points right, open points down; the generic details rule above
   already turns it, so a second turn made it point left. */
html[data-theme] .account .control-center .cc-calm > summary .ui-icon[data-icon=chevron] {transform:none;transition:rotate 200ms ease}
html[data-theme] .account .control-center .cc-calm[open] > summary .ui-icon[data-icon=chevron] {rotate:90deg;transform:none}
html[data-theme] .account .control-center .cc-calm > .cc-row::before,html[data-theme] .account .control-center .cc-calm > summary::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .control-center .cc-rows > .cc-calm:first-child > summary::before {display:none}
/* Action journal: filters as one inset group, the list as rows with hairline separators. */
html[data-theme] .account .audit-page {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .audit-rows {display:grid;overflow:hidden}
html[data-theme] .account .audit-row {position:relative;padding:0.625rem var(--ui-space-4)!important;cursor:default}
html[data-theme] .account .audit-row + .audit-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
/* Factory orders (owner, 16 Nov 2026): tabs by stage, rows with route, date, size and a status pill; the order shows
   a four-step line, a quantities table with shortfalls in red, then the step's actions. */
html[data-theme] .account .ui-status[data-tone="info"] {color:var(--workspace-accent);background:color-mix(in srgb,var(--workspace-accent) 14%,transparent)}
html[data-theme] .account .order-rows {display:grid;overflow:hidden}
html[data-theme] .account .order-row {position:relative;display:flex;align-items:center;gap:var(--ui-space-3);padding:0.75rem var(--ui-space-4)!important;text-align:start}
html[data-theme] .account .order-row > .ui-row-copy {flex:1;min-inline-size:0}
html[data-theme] .account .order-row + .order-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .order-detail {display:grid;gap:var(--ui-space-4)}
html[data-theme] .account .order-steps {display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;list-style:none;counter-reset:none}
html[data-theme] .account .order-steps li {position:relative;display:grid;justify-items:center;gap:6px;font-size:var(--ui-caption,0.75rem);color:var(--glass-muted);text-align:center}
html[data-theme] .account .order-steps li > span {position:relative;z-index:1;inline-size:0.875rem;block-size:0.875rem;border-radius:50%;background:var(--ui-track);box-shadow:0 0 0 3px var(--workspace-canvas)}
html[data-theme] .account .order-steps li + li::before {content:"";position:absolute;inset-block-start:0.375rem;inset-inline:-50% 50%;block-size:2px;background:var(--ui-track)}
html[data-theme] .account .order-steps li:is(.is-done,.is-current) > span,html[data-theme] .account .order-steps li:is(.is-done,.is-current)::before {background:var(--workspace-accent)}
html[data-theme] .account .order-steps li.is-current {color:var(--glass-ink);font-weight:600}
html[data-theme] .account .order-cancelled {margin:0;color:var(--ui-status-negative,#d70015);font-weight:600}
html[data-theme] .account .order-table {display:grid;border-radius:var(--ui-radius);background:var(--dsg-content-fill);overflow:hidden}
html[data-theme] .account .order-table > [role=row] {display:grid;grid-template-columns:minmax(0,1fr) repeat(4,3.75rem);align-items:center;gap:var(--ui-space-2);padding:0.625rem var(--ui-space-4);font-variant-numeric:tabular-nums}
html[data-theme] .account .order-table > [role=row] > span:not(:first-child) {text-align:end}
html[data-theme] .account .order-table > .order-head {font-size:var(--ui-caption,0.6875rem);color:var(--glass-muted)}
html[data-theme] .account .order-table > .order-line {border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .order-table > .order-line > span:first-child {display:grid}
html[data-theme] .account .order-table small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .order-table .is-short {color:var(--ui-status-negative,#d70015);font-weight:600}
html[data-theme] .account .order-rows ~ *, html[data-theme] .account .work-toolbar:has(+ .ui-content-group.order-rows),html[data-theme] .account .work-toolbar:has(~ .order-rows) {justify-content:space-between}
/* «Столы» (owner, 16 Nov 2026): open tables as tiles — name large, guests and time open, total; a draft not yet taken
   carries an attention pill. Two columns on phones, more on wider sheets. */
html[data-theme] .account .table-tiles {display:grid;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:var(--ui-space-3)}
html[data-theme] .account .table-tile {display:grid;align-content:start;gap:4px;min-block-size:7rem;margin:0;padding:var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important;text-align:start;cursor:pointer}
html[data-theme] .account .table-tile .table-tile-name {font-size:calc(1.5rem*var(--dsg-text-title,1));font-weight:700;line-height:1.1}
html[data-theme] .account .table-tile .table-tile-meta {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .table-tile strong {margin-block-start:auto;font-size:var(--ui-headline);font-variant-numeric:tabular-nums}
html[data-theme] .account .table-tile .ui-status {justify-self:start}
html[data-theme] .account .table-tile:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
/* Employees → «Выбрать»: cards gain a round mark (tint-filled when chosen); a sticky bar above the tab bar carries the
   count and the actions; «В архив» is destructive and asks once. */
html[data-theme] .account .staff-select-toggle {margin-inline-start:auto;min-block-size:var(--ui-hit);padding:0 var(--ui-space-3)!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-body)!important;font-weight:500}
html[data-theme] .account .native-section-top > .staff-select-toggle + .staff-sort {margin-inline-start:0!important}
html[data-theme] .account .staff-card.is-selecting {position:relative}
html[data-theme] .account .staff-select-mark {display:grid;place-items:center;flex:none;inline-size:1.5rem;block-size:1.5rem;border-radius:50%;border:1.5px solid var(--glass-muted);color:transparent}
html[data-theme] .account .staff-select-mark .ui-icon {inline-size:0.875rem;block-size:0.875rem}
html[data-theme] .account .staff-card.is-selected .staff-select-mark {border-color:var(--workspace-accent);background:var(--workspace-accent);color:#fff}
html[data-theme] .account .staff-card.is-selecting > .ui-icon[data-icon=chevron] {display:none}
html[data-theme] .account .staff-bulk-bar {position:sticky;inset-block-end:calc(env(safe-area-inset-bottom,0px) + 6rem);z-index:5;display:flex;align-items:center;gap:var(--ui-space-2);margin-block-start:var(--ui-space-3);padding:var(--ui-space-2) var(--ui-space-3);border-radius:999px;background:var(--glass-fill);box-shadow:var(--glass-shadow);backdrop-filter:blur(var(--glass-blur)) saturate(1.6);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.6)}
html[data-theme] .account .staff-bulk-bar > span {flex:1;padding-inline-start:var(--ui-space-2);font-weight:600}
html[data-theme] .account .staff-bulk-bar .is-destructive {color:var(--ui-status-negative,#d70015)!important}
@media (min-width:1024px) {html[data-theme] .account .staff-bulk-bar {inset-block-end:var(--ui-space-4)}}
html[data-theme] .account .staff-bulk-bar > * {white-space:nowrap}
html[data-theme] .account .staff-bulk-bar > button {min-block-size:2.5rem;padding:0 var(--ui-space-3)!important;font-size:var(--ui-subheadline)!important}
/* No text selection or iOS callout on the lock screen and its keys (owner, 16 Nov 2026). */
html[data-theme] .app-lock,html[data-theme] .app-lock * {-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
/* Employees toolbar: the count leads, «Выбрать», sort and ＋ form one trailing group with equal 8 pt gaps. */
html[data-theme] .account .workspace-content .native-section-top:has(> .staff-select-toggle) {gap:var(--ui-space-2)}
html[data-theme] .account .workspace-content .native-section-top:has(> .staff-select-toggle) > p {margin-inline-end:auto!important}
html[data-theme] .account .workspace-content .native-section-top:has(> .staff-select-toggle) > :not(p) {margin:0!important}
/* Curator lines on object cards (owner, 16 Nov 2026): every curator is marked with a dot at the leading edge — the
   tint for the viewer's own line, a close neighbouring tone for other curators — so the text never shifts. */
html[data-theme] .account .object-curator-line {position:relative;padding:0 0 0 0.875rem!important;border-radius:0!important;background:none!important;color:var(--glass-ink)!important}
html[data-theme] .account .object-curator-line::before {content:"";position:absolute;inset-inline-start:0;inset-block-start:50%;inline-size:0.4375rem;block-size:0.4375rem;margin-block-start:-0.21875rem;border-radius:50%;background:color-mix(in srgb,var(--workspace-accent) 55%,#8e8e93);opacity:.5}
html[data-theme] .account .object-curator-line.is-mine::before {background:var(--workspace-accent);opacity:1}
html[data-theme] .account .object-curator-line.is-mine {font-weight:600}
/* Control centre, second pass (owner, 16 Nov 2026): four summary tiles that jump to their section, trailing pills and
   counts aligned on the trailing edge before the chevron, folded lists for calm restaurants and pending activations,
   push failures explained with actions, and recent actions as readable sentences. */
html[data-theme] .account .control-center .cc-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2)}
@media (min-width:768px) {html[data-theme] .account .control-center .cc-tiles {grid-template-columns:repeat(4,minmax(0,1fr))}}
html[data-theme] .account .control-center .cc-tile {display:grid;justify-items:start;gap:2px;margin:0;padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important;text-align:start;cursor:pointer}
html[data-theme] .account .control-center .cc-tile strong {font-size:calc(1.75rem*var(--dsg-text-title,1));line-height:1.1;font-weight:700;font-variant-numeric:tabular-nums}
html[data-theme] .account .control-center .cc-tile span {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .control-center .cc-tile.is-attention strong {color:var(--ui-status-attention)}
html[data-theme] .account .control-center .cc-trailing {display:flex;flex:none;align-items:center;margin-inline-start:auto}
html[data-theme] .account .control-center .cc-count.is-attention {background:var(--ui-status-attention)}
html[data-theme] .account .control-center .cc-count.is-quiet {background:var(--ui-track);color:var(--glass-ink)}
html[data-theme] .account .control-center .cc-row > .ui-row-copy {flex:1;min-inline-size:0}
html[data-theme] .account .control-center .cc-row small.cc-who {color:var(--glass-muted);opacity:.85}
html[data-theme] .account .control-center .cc-actions {display:flex;gap:var(--ui-space-2);padding:0 var(--ui-space-4) var(--ui-space-3)}
html[data-theme] .account .control-center .cc-actions > button {min-block-size:2.25rem;padding:0 var(--ui-space-3)!important;font-size:var(--ui-subheadline)!important}
html[data-theme] .account .control-center .cc-section {scroll-margin-block-start:var(--ui-space-4)}
/* Restaurant summary (owner, 16 Nov 2026): the same tiles as the control centre, read-only. */
html[data-theme] .account .control-center .cc-tile.is-static {cursor:default}
html[data-theme] .account .restaurant-summary .cc-tile strong {font-size:calc(1.375rem*var(--dsg-text-title,1))}
html[data-theme] .account .restaurant-summary > .ui-content-group + .cc-tiles {margin-block-start:var(--ui-space-3)}
/* Shifts by sector (owner, 16 Nov 2026): the Employees sector tabs above the list, and a small tag on each card
   naming the department or post in its sector's tone: restaurant warm, security accent blue, factory teal. */
html[data-theme] .account .shift-sector-tag {display:inline-flex;align-items:center;inline-size:fit-content;max-inline-size:100%;margin-block:2px 4px;padding:2px 10px;border-radius:999px;font-size:var(--ui-footnote);font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tag:var(--workspace-accent)}
html[data-theme] .account .shift-sector-tag.is-restaurant {--tag:#c7772a}
html[data-theme] .account .shift-sector-tag.is-factory {--tag:#1f9a8a}
html[data-theme] .account .shift-sector-tag {color:color-mix(in srgb,var(--tag) 82%,var(--glass-ink));background:color-mix(in srgb,var(--tag) 14%,transparent)}
html[data-theme="dark"] .account .shift-sector-tag {color:color-mix(in srgb,var(--tag) 70%,white)}
/* «График ресторана», stage 3 (owner, 16 Nov 2026): grouped pickers, the week bar centred, a day strip of calendar
   pills with a dot on days that have shifts (also on desktop), tools as glass capsules, and each shift as a grouped
   row — time column, person and position, status pill, chevron — with a selection circle for drafts. */
html[data-theme] .account .roster-panel {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .roster-panel > * {margin-block:0}
html[data-theme] .account .roster-week-bar {justify-content:center;margin:var(--ui-space-1) 0 0}
html[data-theme] .account .roster-day-picker {display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0}
html[data-theme] .account .roster-day-picker button {position:relative;min-height:3.5rem;gap:2px;border:0!important;border-radius:14px;background:transparent!important;color:var(--glass-ink)}
html[data-theme] .account .roster-day-picker button small {color:var(--glass-muted);font-size:var(--ui-caption)}
html[data-theme] .account .roster-day-picker button strong {display:grid;place-items:center;inline-size:2rem;block-size:2rem;border-radius:50%;font-size:var(--ui-body);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] .account .roster-day-picker button[aria-pressed=true] strong {background:var(--workspace-accent);color:#fff}
html[data-theme] .account .roster-day-picker button i {inline-size:5px;block-size:5px;border-radius:50%;background:transparent}
html[data-theme] .account .roster-day-picker button i.has-shifts {background:var(--glass-muted)}
html[data-theme] .account .roster-tools {display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}
html[data-theme] .account .roster-tools > .dsg-add {margin-inline-start:auto}
html[data-theme] .account .roster-day-title {margin:var(--ui-space-2) 0 0;font-size:var(--ui-title3,1.25rem);font-weight:700}
html[data-theme] .account .roster-group {padding:0}
html[data-theme] .account .roster-row {display:flex;align-items:center}
html[data-theme] .account .roster-row + .roster-row {border-block-start:.5px solid var(--glass-divider)}
html[data-theme] .account .roster-row > .roster-open {flex:1;min-inline-size:0;gap:var(--ui-space-3);border:0!important;background:transparent!important;min-height:3.75rem}
html[data-theme] .account .roster-row.is-cancelled {opacity:.55}
html[data-theme] .account .roster-time {display:grid;flex:none;text-align:start;font-variant-numeric:tabular-nums}
html[data-theme] .account .roster-time strong {font-size:var(--ui-subheadline);font-weight:600}
html[data-theme] .account .roster-time small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .roster-pick {display:grid;place-items:center;flex:none;inline-size:2.75rem;block-size:2.75rem;margin-inline-start:var(--ui-space-2);cursor:pointer}
html[data-theme] .account .roster-pick input {appearance:none;margin:0;border-radius:50%;border:1.5px solid var(--glass-muted);background:transparent;cursor:pointer}
html[data-theme] .account .roster-pick input:checked {border-color:var(--workspace-accent);background:var(--workspace-accent) radial-gradient(circle,#fff 0 3px,transparent 3.5px)}
html[data-theme] .account .roster-pick input:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .roster-publish {display:grid;gap:var(--ui-space-2);margin-block-start:var(--ui-space-3)}
html[data-theme] .account .roster-publish > .primarybtn {inline-size:100%}
html[data-theme] .account .roster-people .roster-person {display:flex;gap:var(--ui-space-3);align-items:center;border:0;padding-block:0}
html[data-theme] .account .roster-row > .roster-open {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:start!important;padding:var(--ui-space-2) var(--ui-space-4)!important;color:var(--glass-ink)}
html[data-theme] .account .roster-row > .roster-open > .ui-row-copy {flex:1;min-inline-size:0;align-items:flex-start;text-align:start}
html[data-theme] .account .roster-row > .roster-open > .ui-icon {flex:none;color:var(--glass-muted)}
html[data-theme] .account .roster-row:has(.roster-pick) > .roster-open {padding-inline-start:var(--ui-space-1)!important}
html[data-theme] .account .roster-pick input {flex:none;inline-size:1.375rem!important;min-inline-size:0!important;max-inline-size:1.375rem!important;block-size:1.375rem!important;min-block-size:0!important;padding:0!important;box-shadow:none!important}
html[data-theme] .account .roster-tools > .sheet-text-action {inline-size:auto!important;min-inline-size:0!important;block-size:2.75rem;padding:0 var(--ui-space-4)!important;border-radius:999px!important;white-space:nowrap;font-size:var(--ui-subheadline)!important}
html[data-theme] .account .roster-pickers .ui-inset-label {flex:none;white-space:nowrap;margin-inline-end:var(--ui-space-3)}
html[data-theme] .account .ui-content-group > .ui-navigation-row[data-roster-swap] {display:flex;flex-direction:row;align-items:center;text-align:start}
html[data-theme] .account .ui-content-group > .ui-navigation-row[data-roster-swap] > .ui-row-copy {flex:1;min-inline-size:0}
html[data-theme] .account .roster-time {inline-size:auto;min-inline-size:3.25rem;white-space:nowrap}
html[data-theme] .account .roster-copy {justify-self:start}
html[data-theme] .account .roster-row > .roster-open .ui-row-copy strong {overflow-wrap:normal;word-break:normal;hyphens:none}
html[data-theme] .account .roster-day-title {text-transform:none}
html[data-theme] .account .roster-day-title::first-letter {text-transform:uppercase}
/* Announcements (owner, 16 Nov 2026, stage 4): content cards on Сегодня — a readable surface, not glass — with the
   place and a bell badge, the text, author and time, and «Ознакомлен» as the primary action. Urgent ones carry a
   warm attention tint and border. */
html[data-theme] .account .announcement-cards {display:grid;gap:var(--ui-space-3);margin-block-end:var(--ui-space-4)}
html[data-theme] .account .announcement-card {display:grid;gap:var(--ui-space-2);padding:var(--ui-space-4);border-radius:var(--ui-radius);background:var(--workspace-card,var(--dsg-content-fill));border:1px solid var(--glass-divider);color:var(--glass-ink)}
html[data-theme] .account .announcement-card.is-urgent {background:color-mix(in srgb,var(--ui-status-attention) 10%,var(--workspace-card,var(--dsg-content-fill)));border-color:color-mix(in srgb,var(--ui-status-attention) 45%,transparent)}
html[data-theme] .account .announcement-card header,html[data-theme] .account .announcement-card footer {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);flex-wrap:wrap}
html[data-theme] .account .announcement-card header small,html[data-theme] .account .announcement-card footer small {color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .announcement-badge {display:inline-flex;align-items:center;gap:6px;font-size:var(--ui-footnote);font-weight:600;color:var(--workspace-accent)}
html[data-theme] .account .announcement-card.is-urgent .announcement-badge {color:var(--ui-status-attention)}
html[data-theme] .account .announcement-badge .ui-icon {inline-size:1rem;block-size:1rem}
html[data-theme] .account .announcement-card h3 {margin:0;font-size:var(--ui-headline);font-weight:600}
html[data-theme] .account .announcement-card p {margin:0;font-size:var(--ui-body);line-height:1.4;white-space:pre-line}
html[data-theme] .account .announcement-card footer .primarybtn {min-block-size:2.75rem;padding-inline:var(--ui-space-4)}
html[data-theme] .account .announcements-page {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .announcement-text textarea {inline-size:100%;min-block-size:7rem;resize:vertical;border:0;background:transparent;font:inherit;color:inherit}
/* Dish card (owner, 16 Nov 2026, stage 4): a 4:3 photo with a stable box, composition and yield; the editor adds
   photo upload and cost with the margin at the current price. */
html[data-theme] .account .dish-card {margin-block-start:var(--ui-space-4)}



html[data-theme] .account .dish-card h3 {margin:var(--ui-space-2) 0 0;font-size:var(--ui-headline)}
html[data-theme] .account .dish-card p {margin:0;white-space:pre-line}
html[data-theme] .account .dish-yield {color:var(--glass-muted);font-size:var(--ui-subheadline)}


html[data-theme] .account .dish-text textarea {inline-size:100%;min-block-size:6rem;resize:vertical;border:0;background:transparent;font:inherit;color:inherit}
html[data-theme] .account .control-center .cc-row small.cc-time {flex:none;color:var(--glass-muted);font-size:var(--ui-footnote);font-variant-numeric:tabular-nums}
html[data-theme] .account .order-line-tools {display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}
html[data-theme] .account .control-center .cc-tile.is-static strong {font-size:calc(1.375rem*var(--dsg-text-title,1))}
/* «Добавить смену» from the timesheet (owner, 17 Nov 2026): checks as plain notes under the form — a block in the
   negative tone, a question about reinforcement in the attention tone. */
html[data-theme] .account .ts-shift-note {margin:var(--ui-space-2) var(--ui-space-4) 0;font-size:var(--ui-footnote);line-height:1.4}
html[data-theme] .account .ts-shift-note.is-block {color:var(--ui-status-negative)}
html[data-theme] .account .ts-shift-note.is-confirm {color:var(--ui-status-attention)}
/* Shifts screen (owner, 17 Nov 2026): sector tabs first, then Список/Календарь, then a two-row filter whose period
   folds open; the period row shows the chosen dates and a disclosure chevron. */
html[data-theme] .account .shift-sectors {margin-block:0 var(--ui-space-2)}
html[data-theme] .account .shift-period-form {margin-block:var(--ui-space-2) var(--ui-space-3)}
html[data-theme] .account .shift-period > summary {list-style:none;cursor:pointer}
html[data-theme] .account .shift-period > summary::-webkit-details-marker {display:none}
html[data-theme] .account .shift-period > summary .ui-inset-value {margin-inline-start:auto;color:var(--glass-muted)}
html[data-theme] .account .shift-period[open] > summary .ui-inset-value {color:var(--workspace-accent)}
html[data-theme] .account form.shift-period-form {display:block!important;inline-size:100%;max-inline-size:none;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-theme] .account form.shift-period-form .ui-inset-row {display:flex!important;flex-direction:row!important;align-items:center;gap:var(--ui-space-3);inline-size:100%}
html[data-theme] .account form.shift-period-form .ui-inset-row > .ui-inset-label {flex:none;font-size:var(--ui-body)}
html[data-theme] .account form.shift-period-form .ui-inset-row > select,html[data-theme] .account form.shift-period-form .ui-inset-row > input {flex:1;min-inline-size:0;text-align:end}
html[data-theme] .account .shift-period > summary .ui-inset-value {padding-inline-end:1.5rem}
html[data-theme] .account form.shift-period-form .ui-inset-group > * + * {border-block-start:.5px solid var(--glass-divider)}
/* Employees filters (owner, 17 Nov 2026): one row of pill menus — restaurant, status, role — instead of three
   labelled fields, as filter chips in Apple Mail and App Store; the row scrolls sideways when it does not fit. */


html[data-theme] .account .filter-chip {position:relative;display:inline-flex;flex:none;align-items:center;margin:0!important}
html[data-theme] .account .filter-chip select {appearance:none;-webkit-appearance:none;min-block-size:2.25rem!important;block-size:2.25rem;inline-size:auto!important;max-inline-size:14rem;padding:0 2rem 0 .875rem!important;border:0!important;border-radius:999px!important;background:var(--dsg-content-fill)!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;font-weight:500;text-overflow:ellipsis;box-shadow:none!important;cursor:pointer}
html[data-theme] .account .filter-chip::after {content:"";position:absolute;inset-inline-end:.8rem;inset-block-start:50%;inline-size:.45rem;block-size:.45rem;border-inline-end:1.5px solid var(--glass-muted);border-block-end:1.5px solid var(--glass-muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}
html[data-theme] .account .filter-chip select:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .native-section-top:has(+ .staff-filters) {margin-block-end:var(--ui-space-1)!important}

/* Profile (owner, 17 Nov 2026): appearance is one row — label and a small three-part switch — not a sheet. */
html[data-theme] .account .theme-row {align-items:center;justify-content:space-between;gap:var(--ui-space-3);border-radius:var(--ui-radius);background:var(--dsg-content-fill)}


html[data-theme] .account .theme-picker {display:inline-flex;gap:2px;padding:2px;border-radius:999px;background:var(--ui-track,rgba(120,120,128,.16))}
html[data-theme] .account .theme-choice {min-block-size:2rem;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-footnote)!important;font-weight:500;cursor:pointer}
html[data-theme] .account .theme-choice[aria-checked=true] {background:var(--workspace-card,#fff)!important;box-shadow:0 1px 3px rgba(0,0,0,.18)!important;font-weight:600}
html[data-theme="dark"] .account .theme-choice[aria-checked=true] {background:#3a3a3f!important}
html[data-theme] .account .theme-choice:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:1px}
/* «Логин и пароль»: two rows; each opens a short form in place. */
html[data-theme] .account .security-settings .security-item > summary {list-style:none;cursor:pointer}
html[data-theme] .account .security-settings .security-item > summary::-webkit-details-marker {display:none}
html[data-theme] .account .security-settings .security-item > summary .ui-inset-value {margin-inline-start:auto;padding-inline-end:1.5rem;color:var(--glass-muted)}
html[data-theme] .account .security-settings .security-item + .security-item {border-block-start:.5px solid var(--glass-divider)}
html[data-theme] .account .security-settings form {display:block;margin:0;padding:0 0 var(--ui-space-3)}
html[data-theme] .account .security-settings form .ui-inset-row {border-block-start:.5px solid var(--glass-divider)}
html[data-theme] .account .security-settings form .ui-inset-row input {flex:1;min-inline-size:0;text-align:end;border:0;background:transparent}
html[data-theme] .account .security-actions {padding:var(--ui-space-3) var(--ui-space-4) 0}
html[data-theme] .account .security-actions .primarybtn {inline-size:100%}
html[data-theme] .account .control-center .report-value {font-size:var(--ui-body);font-weight:600;font-variant-numeric:tabular-nums}
/* «Выдано» in the timesheet (owner, 17 Nov 2026): the amount is a quiet button that opens a field in place. */
html[data-theme] .account .timesheet-grid td.is-issued > button {inline-size:100%;min-block-size:2rem;border:0;background:transparent;color:var(--workspace-accent);font:inherit;font-variant-numeric:tabular-nums;text-align:end;cursor:pointer}
html[data-theme] .account .timesheet-grid td.is-issued > button:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px;border-radius:6px}
/* «Сменить код-пароль» is a plain settings row (owner, 17 Nov 2026), not a capsule button. */
html[data-theme] .account .lock-settings .lock-change {display:flex!important;align-items:center;inline-size:100%;min-block-size:var(--ui-hit);margin:0!important;padding:0 var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--workspace-accent)!important;font:inherit;font-size:var(--ui-body)!important;text-align:start;cursor:pointer}
html[data-theme] .account .lock-settings .lock-change .ui-inset-label {color:inherit;font-weight:400}
html[data-theme] .account .lock-settings .lock-change::after {display:none!important}
html[data-theme] .account .lock-settings .ui-inset-group > * + * {border-block-start:.5px solid var(--glass-divider)}
/* Segmented controls share one width rule (owner, 17 Nov 2026; Apple HIG for iPad): the full content width on a
   phone, and the same moderate width — never stretched — on iPad and desktop, at the content's leading edge. */
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs,.timesheet-split .ui-segments) {inline-size:100%!important;min-inline-size:0!important;justify-self:stretch!important}
@media (min-width:768px) {html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs,.timesheet-split .ui-segments) {max-inline-size:26rem!important;margin-inline-end:auto!important}}
/* Filter chips (owner, 17 Nov 2026): small capsules with footnote text, as filter chips in Apple Mail and the App
   Store. The visible text is a label; the native menu lies over it transparently at 16px so iOS never zooms. */





/* «NEW» above the status pill (owner, 17 Nov 2026): filled in the accent while the new object is open, a quiet
   outline while it is closed. */
html[data-theme] .account .object-badges {display:inline-flex;flex-direction:column;align-items:flex-end;gap:4px}
html[data-theme] .account .object-new {display:inline-flex;align-items:center;block-size:1.25rem;padding:0 .5rem;border-radius:999px;font-size:var(--ui-caption);font-weight:700;color:var(--glass-muted);border:1px solid var(--glass-divider);background:transparent}
html[data-theme] .account .object-new.is-live {color:#fff;border-color:transparent;background:linear-gradient(135deg,#ff7a1a,#ff2d55)}
/* Grouped form text area and date rows (owner, 18 Nov 2026): a multi-line field fills its row like the Notes field in
   iOS forms — no inner box —, and a date or time row keeps its label on one line with the value at the trailing edge. */
html[data-theme] .account .ui-inset-group .ui-inset-row:has(> textarea) {display:block!important;padding-block:var(--ui-space-2)}
html[data-theme] .account .ui-inset-group .ui-inset-row > textarea:not([hidden]):not([readonly]) {display:block;grid-column:1/-1;inline-size:100%;min-block-size:7.5rem;margin:0!important;padding:var(--ui-space-1) 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;resize:vertical;line-height:1.4;color:var(--glass-ink)}
html[data-theme] .account .ui-inset-group .ui-inset-row > textarea:focus-visible {outline:none!important}
html[data-theme] .account .ui-inset-group .ui-inset-row:has(> input:is([type=date],[type=time],[type=datetime-local])) {display:flex;align-items:center;gap:var(--ui-space-3)}
html[data-theme] .account .ui-inset-group .ui-inset-row:has(> input:is([type=date],[type=time],[type=datetime-local])) > .ui-inset-label {flex:none;white-space:nowrap}
html[data-theme] .account .ui-inset-group .ui-inset-row > input:is([type=date],[type=time],[type=datetime-local]) {flex:1;min-inline-size:0;inline-size:auto;text-align:end;color:var(--workspace-accent)}
html[data-theme] .account .ui-inset-group label.ui-switch-row {color:var(--glass-ink)}
/* «Личная информация» (owner, 18 Nov 2026): iOS contact card header, inset name and phone, read-only account facts. */
html[data-theme] .account .profile-edit .ui-contact-header {margin-block-end:var(--ui-space-4)}
html[data-theme] .account .profile-edit .ui-contact-photo-action {position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
html[data-theme] .account .profile-edit .ui-inset-row > .ui-inset-label {flex:none;min-inline-size:5.5rem}
html[data-theme] .account .ui-inset-row.is-static {display:flex;align-items:center;gap:var(--ui-space-3)}
html[data-theme] .account .ui-inset-row.is-static > .ui-inset-value {margin-inline-start:auto;text-align:end;color:var(--glass-muted);overflow-wrap:anywhere}
/* Photo crop (owner, 18 Nov 2026): the mask is drawn on the canvas, so the frame itself is a plain rounded card. */
html[data-theme] .account .photo-crop .crop-viewport,html[data-theme] .account .photo-crop .crop-viewport.is-avatar {max-inline-size:26rem;margin:0 auto var(--ui-space-3);border-radius:var(--ui-group-radius);background:#0b0b0d;touch-action:none}
html[data-theme] .account .photo-crop .crop-scale {inline-size:100%;box-sizing:border-box;display:flex!important;flex-direction:row!important;align-items:center;gap:var(--ui-space-3);max-inline-size:26rem;margin-inline:auto;padding-inline:var(--ui-space-2)}
html[data-theme] .account .photo-crop .crop-scale input[type=range] {flex:1;min-inline-size:0;inline-size:auto!important;margin:0!important;-webkit-appearance:auto!important;appearance:auto!important;accent-color:var(--workspace-accent)}
html[data-theme] .account .photo-crop .crop-scale-icon {flex:none;inline-size:1.125rem;block-size:1.125rem;border:2px solid var(--glass-muted);border-radius:.25rem}
html[data-theme] .account .photo-crop .crop-scale-icon.is-small {inline-size:.75rem;block-size:.75rem;border-width:1.5px}
html[data-theme] .account .photo-crop .crop-hint {text-align:center;max-inline-size:26rem;margin-inline:auto}
/* Long-press context menu (owner, 18 Nov 2026): as in iOS, the screen behind is blurred and dimmed, the preview card
   floats on it, and the action list is the one Liquid Glass layer. The sheet itself has no fill and no blur of its own —
   a blurred sheet would become the glass root, and the menu would only blur the sheet's flat colour and look opaque. */
html[data-theme] #workspace-sheet[data-sheet=context-preview]::backdrop {background:rgba(0,0,0,.16)!important}
html[data-theme=dark] #workspace-sheet[data-sheet=context-preview]::backdrop {background:rgba(0,0,0,.38)!important}
html[data-theme] .account .native-sheet[data-sheet=context-preview],html[data-theme] .native-sheet[data-sheet=context-preview] {background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border-color:transparent!important}
html[data-theme] .native-sheet[data-sheet=context-preview] :is(.sheet-header,.sheet-body) {background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme] .account .context-preview-body .context-action-list,html[data-theme] .context-preview-body .context-action-list {background:color-mix(in srgb,var(--glass-card,#fff) 55%,transparent)!important;backdrop-filter:blur(36px) saturate(1.6)!important;-webkit-backdrop-filter:blur(36px) saturate(1.6)!important;border:0.5px solid rgba(255,255,255,.5);box-shadow:0 18px 50px rgba(0,0,0,.22),inset 0 1px 0 var(--ui-glass-rim)!important}
html[data-theme=dark] .context-preview-body .context-action-list {background:rgba(44,44,48,.5)!important;border-color:rgba(255,255,255,.14)}
html[data-theme] .context-preview-body .context-action-list > button {background:transparent!important}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .context-preview-body .context-action-list {background:var(--glass-card,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-theme] #workspace-sheet[data-sheet=context-preview]::backdrop {backdrop-filter:none;background:rgba(0,0,0,.45)!important}}
/* In recently opened objects the badges follow the address on one line, aligned with the text (owner, 18 Nov 2026). */
html[data-theme] .account .overview-object .object-badges {display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:0.375rem;margin-block-start:0.25rem}
html[data-theme] .account .overview-object .object-badges > .object-status {margin:0!important}
html[data-theme] .account .overview-object .object-badges > span {flex:none!important;inline-size:auto!important;min-inline-size:0!important;max-inline-size:none!important}
html[data-theme] .account .photo-crop .ui-action-group > label.ui-action-row {justify-content:flex-start;text-align:start;cursor:pointer}
/* The person's own day (owner, 18 Nov 2026): «Моя смена», the weekly question and the hub rows on Сегодня, and the
   sheets behind them. Content surfaces are the plain content fill; glass stays on controls. Rows reuse the control
   centre's row metrics so every list in DSG lines up the same way. */
html[data-theme] .account .staff-hub {display:grid;gap:var(--ui-space-2);margin-block:var(--ui-space-3)}
html[data-theme] .account .staff-hub > .ui-inset-header {margin-block:var(--ui-space-3) 0}
html[data-theme] .account .my-shift {display:grid;gap:var(--ui-space-3);padding:var(--ui-space-4);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill)}
html[data-theme] .account .my-shift-head {display:flex;align-items:baseline;justify-content:space-between;gap:var(--ui-space-3);min-inline-size:0}
html[data-theme] .account .my-shift-heading,html[data-theme] .account .pulse-title {margin:0;font-size:var(--ui-headline);font-weight:600;line-height:1.3;color:var(--glass-ink)}
html[data-theme] .account .my-shift-left {flex:none;font-size:var(--ui-subheadline);font-weight:600;color:var(--workspace-accent);font-variant-numeric:tabular-nums}
html[data-theme] .account .my-shift-main {position:relative;display:grid;gap:2px;inline-size:100%;margin:0;padding:0 1.5rem 0 0!important;border:0!important;background:none!important;box-shadow:none!important;text-align:start;color:inherit;cursor:pointer}
html[data-theme] .account .my-shift-main > .ui-icon[data-icon=chevron] {position:absolute;inset-inline-end:0;inset-block-start:50%;inline-size:0.875rem;block-size:0.875rem;margin-block-start:-0.4375rem;color:var(--glass-muted)}
html[data-theme] .account .my-shift-place {font-size:var(--ui-title);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
html[data-theme] .account .my-shift-time {font-size:var(--ui-body);font-variant-numeric:tabular-nums}
html[data-theme] .account :is(.my-shift-next,.my-shift-empty) {margin:0;font-size:var(--ui-subheadline);color:var(--glass-muted);line-height:1.35}
html[data-theme] .account .my-shift-actions {display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}
html[data-theme] .account .my-shift-actions > :is(a,button) {display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-space-1);flex:1 1 8rem;min-block-size:var(--ui-hit);margin:0!important;text-decoration:none}
html[data-theme] .account .my-shift-actions .ui-icon {inline-size:1.125rem;block-size:1.125rem}
html[data-theme] .account .pulse-card {display:grid;gap:var(--ui-space-2);padding:var(--ui-space-4);border-radius:var(--ui-group-radius);background:var(--dsg-content-fill)}
html[data-theme] .account .pulse-scale {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--ui-space-2)}
html[data-theme] .account .pulse-scale > button {min-block-size:var(--ui-hit);margin:0;padding:0;border:0;border-radius:999px;background:var(--ui-track);color:var(--glass-ink);font-size:var(--ui-headline);font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer}
html[data-theme] .account .pulse-scale > button:active {background:var(--ui-selection,var(--ui-interaction))}
html[data-theme] .account .pulse-legend {display:flex;justify-content:space-between;font-size:var(--ui-footnote);color:var(--glass-muted)}

html[data-theme] .account .hub-rows {display:grid;padding:0!important;overflow:hidden;border-radius:var(--ui-group-radius)}
html[data-theme] .account .hub-row {position:relative;display:flex;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:3.25rem;margin:0;padding:0.625rem var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:start;color:inherit}
html[data-theme] .account .hub-row + .hub-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:calc(var(--ui-space-4) + 1.75rem + var(--ui-space-3)) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .hub-row:not(:has(> .ui-icon:first-child)) + .hub-row::before,html[data-theme] .account .hub-row:not(:has(> .ui-icon:first-child))::before {inset-inline-start:var(--ui-space-4)}
html[data-theme] .account .hub-row > .ui-icon:first-child {flex:none;inline-size:1.75rem;block-size:1.375rem;color:var(--workspace-accent)}
html[data-theme] .account .hub-row > .ui-row-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .hub-row > .ui-row-copy strong {font-size:var(--ui-body);font-weight:400;line-height:1.3}
html[data-theme] .account .hub-row > .ui-row-copy small {font-size:var(--ui-subheadline);color:var(--glass-muted);line-height:1.3}
html[data-theme] .account .hub-row > .ui-row-copy .ui-row-title {display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}
html[data-theme] .account .hub-row > .ui-icon[data-icon=chevron] {flex:none;inline-size:0.875rem;block-size:0.875rem;color:var(--glass-muted)}
html[data-theme] .account .hub-row > :is(.hub-row-action,.ui-status,.hub-amount,.ui-count-badge) {flex:none}
html[data-theme] .account .hub-row-action {min-block-size:2.25rem!important;margin:0!important;padding-inline:var(--ui-space-4)!important}
html[data-theme] .account .hub-thanks > .ui-row-copy strong {font-weight:400}
html[data-theme] .account .hub-thanks > .ui-icon:first-child {color:#ff375f}
html[data-theme] .account .hub-amount {font-size:var(--ui-body);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .account .hub-amount[data-tone=positive] {color:var(--ui-status-positive)}
html[data-theme] .account .hub-amount[data-tone=negative] {color:var(--ui-danger)}
html[data-theme] .account .ui-count-badge {display:inline-grid;place-items:center;min-inline-size:1.375rem;block-size:1.375rem;padding:0 0.375rem;border-radius:999px;background:#ff3b30;color:#fff;font-size:var(--ui-footnote);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme=dark] .account .ui-count-badge {background:#ff453a}



html[data-theme] .account .hub-sheet {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .hub-sheet > .ui-inset-header {margin-block:var(--ui-space-3) 0}
html[data-theme] .account .hub-split {margin-block-end:var(--ui-space-2)}
html[data-theme] .account .hub-split .ui-segments {inline-size:100%}
@media (min-width:768px) {html[data-theme] .account .hub-split .ui-segments {max-inline-size:26rem;margin-inline-end:auto}}
html[data-theme] .account .hub-text {display:block;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-theme] .account .ui-inset-row.is-static.is-total > .ui-inset-label,html[data-theme] .account .ui-inset-row.is-static.is-total > .ui-inset-value {font-weight:600;color:var(--glass-ink)}
html[data-theme] .account .ui-inset-row.is-static.is-positive > .ui-inset-value {color:var(--ui-status-positive)}
html[data-theme] .account .ui-inset-row.is-static.is-negative > .ui-inset-value {color:var(--ui-danger)}
html[data-theme] .account .ui-inset-row.is-static > .ui-inset-value {font-variant-numeric:tabular-nums}
html[data-theme] .account .pulse-objects {display:grid;gap:0;padding:0!important;overflow:hidden;border-radius:var(--ui-group-radius)}
html[data-theme] .account .pulse-object {position:relative;display:grid;gap:var(--ui-space-2);padding:var(--ui-space-3) var(--ui-space-4)}
html[data-theme] .account .pulse-object + .pulse-object::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .pulse-object-head {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--ui-space-2)}
html[data-theme] .account .pulse-object-head strong {font-size:var(--ui-body);font-weight:600;overflow-wrap:anywhere}
html[data-theme] .account .pulse-bars {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--ui-space-2);align-items:end}
html[data-theme] .account .pulse-bar {display:grid;gap:4px;justify-items:center}
html[data-theme] .account .pulse-bar > i {display:block;inline-size:100%;block-size:3rem;border-radius:6px;background:linear-gradient(to top,var(--workspace-accent) calc(var(--level) * 100%),var(--ui-track) 0)}
html[data-theme] .account .pulse-bar.is-empty > i {background:var(--ui-track)}
html[data-theme] .account .pulse-bar > small {font-size:var(--ui-caption);color:var(--glass-muted);white-space:nowrap}
html[data-theme] .account .quiz-progress {margin:0;font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .quiz-dish {margin:0;font-size:var(--ui-title);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
html[data-theme] .account .quiz-category {margin:0;font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .quiz-options > .quiz-option {justify-content:flex-start;text-align:start;white-space:normal;line-height:1.35;color:var(--glass-ink)}
html[data-theme] .account .quiz-options > .quiz-option:disabled {opacity:1}
html[data-theme] .account .quiz-options > .quiz-option.is-right {color:var(--ui-status-positive);font-weight:600}
html[data-theme] .account .quiz-options > .quiz-option.is-wrong {color:var(--ui-danger)}
html[data-theme] .account .quiz-feedback {margin:0;font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .hub-offline {margin:0}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .pulse-scale > button {transition:none}}
@media (min-width:768px) {
 html[data-theme] .account .my-shift-actions > :is(a,button) {flex:0 1 12rem}
 html[data-theme] .account :is(.pulse-scale,.pulse-legend) {max-inline-size:26rem}
}
html[data-theme] .account .ui-inset-row.is-static > .ui-inset-label {flex:0 0 auto;min-inline-size:0;max-inline-size:none;inline-size:auto;white-space:nowrap}
html[data-theme] .account .ui-inset-row.is-static > .ui-inset-value {flex:1 1 0;min-inline-size:0}
html[data-theme] .account .ui-inset-row.is-static.hub-text {display:block!important;inline-size:100%;box-sizing:border-box}
html[data-theme] .account #request-fields > .ui-group-footer + .ui-inset-group,html[data-theme] .account .hub-sheet .ui-group-footer + :is(.ui-inset-group,form) {margin-block-start:var(--ui-space-4)}
html[data-theme] .account :is(.quiz-progress,.quiz-dish,.quiz-category,.quiz-feedback) {padding-inline:var(--ui-space-4)}
html[data-theme] .account .hub-row {flex-wrap:wrap}
html[data-theme] .account .hub-row > .ui-row-copy {flex:1 1 9rem}
html[data-theme] .account .hub-row > .ui-row-copy strong {overflow-wrap:break-word;hyphens:manual}
html[data-theme] .account .hub-row:has(> .hub-row-action) > .ui-row-copy {padding-block:2px}
html[data-theme] .account .hub-row > .hub-row-action {margin-inline-start:auto}
/* Pulse bars: half-point steps without inline styles (CSP). */
html[data-theme] .account .pulse-bar[data-level="0"] {--level:0.0}
html[data-theme] .account .pulse-bar[data-level="1"] {--level:0.1}
html[data-theme] .account .pulse-bar[data-level="2"] {--level:0.2}
html[data-theme] .account .pulse-bar[data-level="3"] {--level:0.3}
html[data-theme] .account .pulse-bar[data-level="4"] {--level:0.4}
html[data-theme] .account .pulse-bar[data-level="5"] {--level:0.5}
html[data-theme] .account .pulse-bar[data-level="6"] {--level:0.6}
html[data-theme] .account .pulse-bar[data-level="7"] {--level:0.7}
html[data-theme] .account .pulse-bar[data-level="8"] {--level:0.8}
html[data-theme] .account .pulse-bar[data-level="9"] {--level:0.9}
html[data-theme] .account .pulse-bar[data-level="10"] {--level:1.0}
/* «Мои дела» on Сегодня use the work-centre row; a count keeps its own size next to the chevron. */
html[data-theme] .account .nav-center-row > .ui-count-badge {flex:none;margin-inline-start:auto}
html[data-theme] .account .staff-hub > .nav-center-rows {margin:0}

/* «Без объекта» in «Сотрудники» (owner, 18 Nov 2026): the shared attention tone, not the red of news. */


/* Window header (owner, 19 Nov 2026, revising 18 Nov): a sheet is already a glass surface, so its title is plain
   centred text between the round glass controls, as iOS sheets show it — no capsule, which would be glass inside glass.
   A large-title window shows it only once the large title has scrolled away. */
html[data-theme] .account .native-sheet .sheet-title-island {justify-self:center;display:grid;justify-items:center;align-content:center;gap:1px;min-inline-size:0;max-inline-size:100%;min-block-size:var(--ui-hit);box-sizing:border-box;padding:0 .5rem;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--glass-ink);transition:opacity var(--ui-motion),transform var(--ui-motion)}
html[data-theme] .account .native-sheet .sheet-title-island > h2 {margin:0!important;max-inline-size:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:var(--ui-headline)!important;font-weight:600;line-height:1.2;opacity:1!important;transition:none}
html[data-theme] .account .native-sheet .sheet-title-island > small {max-inline-size:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--ui-footnote);line-height:1.2;color:var(--glass-muted)}
html[data-theme] .account .native-sheet[data-large-title=expanded] .sheet-title-island {opacity:0;transform:scale(.92);pointer-events:none}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .native-sheet .sheet-title-island {transition:none}}

/* Motion (owner, 18 Nov 2026). Rolling digits: each digit is a two-line column that slides up to the new value. */
html[data-theme] .account .ui-roll {display:inline-flex!important;overflow:hidden;block-size:1.15em!important;line-height:1.15em!important;vertical-align:top;font:inherit}
html[data-theme] .account .ui-roll-digit {display:inline-flex!important;flex-direction:column;line-height:1.15em!important}
html[data-theme] .account .ui-roll-digit > span {display:block!important;block-size:1.15em!important;line-height:1.15em!important;margin:0!important;padding:0!important}
/* Success capsule: Liquid Glass, bottom centre above the tab bar (at the bottom edge inside a window), so it never
   covers a window's title island; a check that draws itself. */
.ui-success-capsule.in-sheet {inset-block-end:calc(env(safe-area-inset-bottom,0px) + 24px)!important}
.ui-success-capsule {position:fixed;inset:auto;margin:0;overflow:visible;inset-inline-start:50%;inset-block-end:calc(env(safe-area-inset-bottom,0px) + 104px);z-index:100000;display:flex;align-items:center;gap:.625rem;max-inline-size:calc(100vw - 32px);box-sizing:border-box;padding:.75rem 1.125rem;border-radius:999px;transform:translate(-50%,0);font:600 var(--ui-subheadline,0.9375rem)/1.25 -apple-system,system-ui,sans-serif;color:var(--glass-ink,#161616);background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 55%),var(--ui-glass-fill,rgba(255,255,255,.7));border:1px solid var(--ui-glass-edge,rgba(0,0,0,.1));box-shadow:inset 0 1px 0 var(--ui-glass-rim,#fff),var(--ui-glass-shadow,0 8px 24px rgba(0,0,0,.18));backdrop-filter:blur(24px) saturate(1.8);-webkit-backdrop-filter:blur(24px) saturate(1.8);pointer-events:none}
.ui-success-capsule > span {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ui-success-capsule > svg {flex:none;inline-size:1.375rem;block-size:1.375rem;fill:none;stroke:var(--ui-status-positive,#248a3d);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ui-success-capsule > svg circle {stroke-width:1.8;opacity:.35}
.ui-success-capsule > svg path {stroke-dasharray:1;stroke-dashoffset:0}
@media (prefers-reduced-transparency:reduce) {.ui-success-capsule {background:var(--glass-raised,var(--glass-card,#fff));backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Press: rows, cards and tiles shrink a little while pressed and spring back on release (iOS / Liquid Glass press). */
html[data-theme] .account :is(.overview-tile,.staff-card,.production-object-card,.recent-object,.overview-object,.nav-center-row,.hub-row,.profile-row,.search-result,.ui-team-open,.ui-navigation-row,.shift-row) {-webkit-tap-highlight-color:transparent}
/* Press feedback (owner, 20 Nov 2026): only a shift row in «Смены» answers a tap — an accent tint and a short spring
   dip, so it is clear which shift opens. No other row, tile or card imitates a press. */
html[data-theme] .account .shift-row[data-shift-preview] {transition:background-color 320ms ease-out,transform 460ms var(--ui-spring,cubic-bezier(.2,.9,.25,1.12))}
html[data-theme] .account .shift-row[data-shift-preview].is-pressed {background-color:color-mix(in srgb,var(--workspace-accent) 16%,transparent)!important;transform:scale(.985)!important;transition:background-color 0s,transform 120ms ease-out}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .shift-row[data-shift-preview].is-pressed {transform:none!important}}
:root {--ui-spring:linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.104, 1.088 30.3%, 1.019 39.5%, 0.999 43.8%, 0.989 48%, 0.991 57.2%, 1.001 73.4%, 1)}

/* Search (owner, 18 Nov 2026), one field everywhere as in iOS 27.2 App Store search:
   - at rest: a plain filled capsule across the full width (no shadow, no highlight, no ✕);
   - searching (focused, or a query typed): the capsule narrows as a round ✕ grows in beside it; the field shows only
     the caret, never a focus ring. On a phone's main screen the large title and header controls also step away and
     the field rises to the top, as App Store does. */
:root {--ui-search-fill:rgba(118,118,128,.12)}
html[data-theme=dark] {--ui-search-fill:rgba(118,118,128,.24)}
@media (prefers-color-scheme:dark) {html:not([data-theme=light]) {--ui-search-fill:rgba(118,118,128,.24)}}
html[data-theme] .account .ui-search {display:flex;align-items:center;gap:0;min-inline-size:0;margin:0 0 var(--ui-space-3)}
html[data-theme] .account .ui-search > .ui-search-field {flex:1 1 auto;position:relative;display:flex!important;align-items:center;margin:0!important;min-inline-size:0;block-size:var(--ui-hit);box-sizing:border-box;border-radius:999px;border:0;background:var(--ui-search-fill);box-shadow:none!important;outline:none!important;backdrop-filter:blur(16px) saturate(1.6);-webkit-backdrop-filter:blur(16px) saturate(1.6)}
html[data-theme] .account .ui-search > .ui-search-field > .ui-search-glyph {position:absolute;inset-inline-start:0.875rem;inset-block-start:50%;transform:translateY(-50%);display:grid;place-items:center;color:var(--glass-ink);pointer-events:none}
html[data-theme] .account .ui-search > .ui-search-field > .ui-search-glyph .ui-icon {inline-size:1.25rem;block-size:1.25rem}
html[data-theme] .account .ui-search > .ui-search-field > input[type=search] {flex:1 1 auto;inline-size:100%;min-inline-size:0;block-size:100%!important;min-block-size:0!important;margin:0!important;padding:0 1rem 0 2.625rem!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:var(--glass-ink);caret-color:var(--workspace-accent);-webkit-appearance:none;appearance:none}
html[data-theme] .account .ui-search > .ui-search-field > input[type=search]:is(:focus,:focus-visible) {outline:none!important;box-shadow:none!important;border:0!important}
html[data-theme] .account .ui-search > .ui-search-field > input[type=search]::placeholder {color:var(--glass-muted);opacity:1}
html[data-theme] .account .ui-search > .ui-search-field > input[type=search]::-webkit-search-cancel-button {-webkit-appearance:none;display:none}
html[data-theme] .account .ui-search > .ui-search-field:is(:focus-within,:focus-visible) {outline:none!important}
/* Searching: the capsule becomes Liquid Glass like the ✕ beside it — a light rim and a soft top highlight
   (App Store, iOS 27.2); at rest it stays a plain fill. Still no focus ring. */
html[data-theme] .account .ui-search > .ui-search-field {transition:background-color 220ms ease,box-shadow 220ms ease}
html[data-theme] .account .ui-search:is(:focus-within,:has(input:not(:placeholder-shown))) > .ui-search-field {background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 60%),var(--ui-search-fill)!important;box-shadow:inset 0 0 0 1px var(--ui-glass-edge),inset 0 1px 0 var(--ui-glass-rim),var(--ui-glass-shadow)!important}
/* The ✕ is always in the row but zero-wide at rest, so the field narrows smoothly while it grows in. */
html[data-theme] .account .ui-search > .ui-search-cancel {flex:none;display:grid!important;place-items:center;inline-size:0!important;width:0!important;min-inline-size:0!important;min-width:0!important;margin-inline-start:0!important;padding:0!important;border-width:0!important;opacity:0;visibility:hidden;overflow:hidden;transform:scale(.6);transition:inline-size 420ms var(--ui-spring),width 420ms var(--ui-spring),margin 420ms var(--ui-spring),transform 420ms var(--ui-spring),opacity 180ms ease,visibility 0s linear 420ms}
html[data-theme] .account .ui-search:is(:focus-within,:has(input:not(:placeholder-shown))) > .ui-search-cancel {inline-size:var(--ui-hit)!important;width:var(--ui-hit)!important;min-inline-size:var(--ui-hit)!important;min-width:var(--ui-hit)!important;margin-inline-start:var(--ui-space-2)!important;border-width:1px!important;opacity:1;visibility:visible;transform:none;transition:inline-size 420ms var(--ui-spring),width 420ms var(--ui-spring),margin 420ms var(--ui-spring),transform 420ms var(--ui-spring),opacity 180ms ease,visibility 0s}
/* Phone main screen: the header steps away and the field rises to the top while searching. */
@media (max-width:767px) {
 html[data-theme] .account .workspace-header {transition:opacity 220ms ease,transform 320ms var(--ui-spring)}
 html[data-theme] .account .workspace-content {transition:padding-block-start 380ms var(--ui-spring)}
 html[data-theme] .account:has(.workspace-content .ui-search:is(:focus-within,:has(input:not(:placeholder-shown)))) .workspace-header {opacity:0;transform:translateY(-14px);pointer-events:none}
 html[data-theme] .account:has(.workspace-content .ui-search:is(:focus-within,:has(input:not(:placeholder-shown)))) .workspace-content {padding-block-start:calc(env(safe-area-inset-top,0px) + var(--ui-space-3))!important}
}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .ui-search > .ui-search-cancel,html[data-theme] .account .workspace-header,html[data-theme] .account .workspace-content {transition:none!important}}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .ui-search > .ui-search-field {backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Confirmation alert as iOS 27.2 (owner, 18 Nov 2026): a compact Liquid Glass card with a large radius, the question
   and at most one short line centred, and two capsule buttons side by side; the destructive verb is red on a soft red
   tint, «Отмена» on the neutral fill. Detail text stays one short line — never a paragraph. */
html[data-theme] .dsg-confirmation {inline-size:min(calc(100% - 48px),18.75rem)!important;width:min(calc(100% - 48px),18.75rem)!important;box-sizing:border-box;padding:1.375rem 1rem 1rem!important;border-radius:2rem!important;border:1px solid var(--ui-glass-edge)!important;box-shadow:inset 0 1px 0 var(--ui-glass-rim),0 24px 64px rgba(0,0,0,.28)!important;text-align:center}
html[data-theme] .dsg-confirmation h2 {margin:0 .25rem!important;font-size:var(--ui-headline,1.0625rem)!important;font-weight:600!important;line-height:1.25;text-align:center}
html[data-theme] .dsg-confirmation p {margin:.375rem .25rem 0!important;font-size:var(--ui-subheadline,0.9375rem)!important;line-height:1.35;color:var(--glass-muted);text-align:center}
html[data-theme] .dsg-confirmation .confirmation-actions {display:grid!important;grid-template-columns:1fr 1fr;gap:.625rem;margin-block-start:1.25rem!important}
html[data-theme] .dsg-confirmation .confirmation-actions > button {min-block-size:var(--ui-hit)!important;margin:0!important;padding:0 .75rem!important;border:0!important;border-radius:999px!important;background:var(--ui-search-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-body,1.0625rem)!important;font-weight:500!important}
html[data-theme] .dsg-confirmation .confirmation-actions > button:last-child {font-weight:600!important}
html[data-theme] .dsg-confirmation .confirmation-actions > button.quiet-danger {background:color-mix(in srgb,var(--ui-danger) 14%,transparent)!important;color:var(--ui-danger)!important}
html[data-theme] .dsg-confirmation .confirmation-actions > button:active {opacity:1;transform:scale(.96);transition:transform 90ms}
html[data-theme] .dsg-confirmation .confirmation-actions > button:not(:active) {transition:transform 420ms var(--ui-spring)}

/* Today stays marked in the scrolling day strip (owner, 18 Nov 2026), as iOS Calendar does: the number in the accent
   colour on a soft accent tint; when today is also the selected day the selection takes the accent fill. */

/* ── Shift agenda (owner, 19 Nov 2026) ────────────────────────────────────────────────────────────────────────────
   Days as sections and one compact row per shift — start/end, place, post and people, one status — instead of a
   card per shift, so a day of 30 posts reads at a glance (iOS Calendar list, supervisor views of scheduling apps).
   A long day shows its first six rows and «Ещё N»; leaders filter to the shifts that need them. */
html[data-theme] .account .shift-focus {display:flex;gap:var(--ui-space-2);margin:0 0 var(--ui-space-3);padding:2px 0;overflow-x:auto;scrollbar-width:none}
html[data-theme] .account .shift-focus::-webkit-scrollbar {display:none}
html[data-theme] .account .shift-focus-chip {flex:none;display:inline-flex;align-items:center;gap:6px;min-block-size:2.25rem;padding:0 0.75rem!important;border:0!important;border-radius:999px!important;background:var(--dsg-content-fill)!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;font-weight:500!important;box-shadow:none!important}
html[data-theme] .account .shift-focus-chip span {color:var(--glass-muted);font-variant-numeric:tabular-nums}
html[data-theme] .account .shift-focus-chip.is-attention span {color:var(--ui-status-attention,#c2410c)}
html[data-theme] .account .shift-focus-chip[aria-pressed=true] {background:var(--glass-ink)!important;color:var(--glass-card,#fff)!important}
html[data-theme] .account .shift-focus-chip[aria-pressed=true] span {color:inherit;opacity:.72}
html[data-theme] .account .shift-agenda {display:grid;gap:var(--ui-space-4);margin:0;padding:0;list-style:none}
html[data-theme] .account .shift-day {margin:0;padding:0;list-style:none}
html[data-theme] .account .shift-day-title {display:flex;align-items:baseline;gap:6px;margin:0 0 var(--ui-space-2);padding:0 var(--ui-space-1);font-size:var(--ui-callout);font-weight:600;line-height:1.25;color:var(--glass-ink)}
html[data-theme] .account .shift-day-title small {min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .shift-day-title em {margin-inline-start:auto;flex:none;font-style:normal;font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted);font-variant-numeric:tabular-nums}
html[data-theme] .account .shift-rows {margin:0;padding:0;list-style:none;border-radius:var(--ui-group-radius);background:var(--dsg-content-fill);overflow:hidden}
html[data-theme] .account .workspace-content .shift-rows > .shift-row,
html[data-theme] .account .native-sheet .shift-rows > .shift-row {position:relative;display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;align-items:center;column-gap:var(--ui-space-2);min-block-size:3.25rem;margin:0!important;padding:0.5rem var(--ui-space-3) 0.5rem var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}
html[data-theme] .account .shift-rows > .shift-row::before {display:none!important}
html[data-theme] .account .shift-rows > .shift-row::after {content:"";position:absolute;inset:auto 0 0 calc(3.25rem + var(--ui-space-4) + var(--ui-space-2));top:auto!important;left:auto;block-size:0.5px;width:auto;border-radius:0;background:var(--glass-line,rgba(60,60,67,.29));box-shadow:none}
html[data-theme] .account .shift-rows > .shift-row:last-child::after {display:none}
html[data-theme] .account .shift-row-time {display:grid;gap:1px;font-variant-numeric:tabular-nums;line-height:1.2}
html[data-theme] .account .shift-row-time b {font-size:var(--ui-footnote);font-weight:600;color:var(--glass-ink)}
html[data-theme] .account .shift-row-time span {font-size:var(--ui-caption);color:var(--glass-muted)}
html[data-theme] .account .shift-row-time sup {margin-inline-start:2px;font-size:calc(0.6875rem*var(--dsg-text-note,1));vertical-align:super;line-height:0}
html[data-theme] .account .shift-row-main {display:grid;gap:1px;min-inline-size:0;padding-inline-start:var(--ui-space-2);border-inline-start:2.5px solid var(--sector-tone,#3478f6);border-radius:1px}
html[data-theme] .account .shift-row[data-sector=restaurant] {--sector-tone:#c7772a}
html[data-theme] .account .shift-row[data-sector=factory] {--sector-tone:#1f9a8a}
html[data-theme] .account .shift-row-main strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ui-callout);font-weight:600;line-height:1.25;color:var(--glass-ink)}
html[data-theme] .account .shift-row-main small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ui-footnote);line-height:1.3;color:var(--glass-muted)}
html[data-theme] .account .shift-row.is-mine .shift-row-main strong::after {content:" · вы";font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .shift-row.is-cancelled :is(.shift-row-time,.shift-row-main) {opacity:.5}
html[data-theme] .account .shift-row.is-cancelled .shift-row-main strong {text-decoration:line-through}
html[data-theme] .account .shift-row-status {display:flex;align-items:center;flex:none;white-space:nowrap}
html[data-theme] .account .shift-row-flag {display:inline-flex;align-items:center;gap:5px;font-size:var(--ui-caption);font-weight:600;color:var(--glass-muted);white-space:nowrap}
html[data-theme] .account .shift-row-flag.is-live {color:var(--ui-status-positive,#248a3d)}
html[data-theme] .account .shift-row-flag.is-live::before {content:"";inline-size:7px;block-size:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 22%,transparent)}
html[data-theme] .account .shift-row-flag.is-attention {color:var(--ui-status-attention,#c2410c)}
html[data-theme] .account .shift-row .assignment-quick {position:relative;min-block-size:1.75rem;padding:0 0.625rem!important;border:0!important;border-radius:999px!important;background:var(--workspace-accent)!important;color:#fff!important;font-size:var(--ui-caption)!important;font-weight:600!important;white-space:nowrap}
html[data-theme] .account .shift-row .assignment-quick::after {content:"";position:absolute}
html[data-theme] .account .shift-row.is-live .shift-row-time b {color:var(--ui-status-positive,#248a3d)}
html[data-theme] .account .shift-row:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html[data-theme] .account .shift-more {display:block;inline-size:100%;min-block-size:var(--ui-hit);margin:var(--ui-space-1) 0 0;padding:0 var(--ui-space-4)!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-size:var(--ui-subheadline)!important;font-weight:500!important;text-align:start}
html[data-theme] .account .workspace-content[data-tab=shifts] .shift-agenda::before {display:none!important}

/* Today in the calendars (owner, 19 Nov 2026): never repainted, only a soft neon ring drawn inside the cell — a
   2px accent line with a faint inner glow — so it stays recognisable whether or not it is selected. */
html[data-theme] .account :is(.calendar-week .week-date,.month-calendar .month-day).is-today {position:relative}
html[data-theme] .account :is(.calendar-week .week-date,.month-calendar .month-day).is-today::after {content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--workspace-accent) 70%,transparent),inset 0 0 4px 1px color-mix(in srgb,var(--workspace-accent) 40%,transparent),inset 0 0 12px color-mix(in srgb,var(--workspace-accent) 16%,transparent)}
html[data-theme=dark] .account :is(.calendar-week .week-date,.month-calendar .month-day).is-today::after {box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--workspace-accent) 80%,white),inset 0 0 5px 1px color-mix(in srgb,var(--workspace-accent) 55%,transparent),inset 0 0 14px color-mix(in srgb,var(--workspace-accent) 22%,transparent)}
html[data-theme] .account .calendar-week .week-date.is-today:not([aria-pressed=true]) > :is(strong,span) {color:var(--workspace-accent)!important}

/* Phone type (owner, 19 Nov 2026): a word on a counter tile (Вне смены, На смене, Сводка) is a title, not a 34pt
   figure; a row action such as «Поздравить» is a compact capsule in the callout size. */
html[data-theme] .account .overview-tile>strong.is-word {font-size:var(--ui-title)!important;font-weight:600!important;letter-spacing:-.01em;line-height:1.2}
html[data-theme] .account .hub-row .hub-row-action {flex:none;min-block-size:2rem;padding:0 0.875rem!important;font-size:var(--ui-subheadline)!important}
html[data-theme] .account .my-shift-main .my-shift-place {font-weight:600!important}
html[data-theme] .account .my-shift-main .my-shift-time {font-size:var(--ui-body)!important;font-weight:400!important;line-height:1.3}
/* Title bar (owner, 19 Nov 2026), as the translucent navigation bar of iOS: in a window with a title, once content
   scrolls under the header, the header becomes a semi-transparent material bar — the content shows through blurred,
   a hairline separates it. At the top of the window, and in windows without a title (cards with a cover or a contact
   header), no bar is drawn: only the soft scroll edge. */
html[data-theme] .account .native-sheet:not([data-presentation="page"]) > .sheet-header:has(.sheet-title-island)::after {inset:0!important;-webkit-mask-image:none!important;mask-image:none!important;background:color-mix(in srgb,var(--glass-modal) 42%,transparent)!important;backdrop-filter:blur(24px) saturate(1.9)!important;-webkit-backdrop-filter:blur(24px) saturate(1.9)!important;box-shadow:inset 0 -0.5px 0 color-mix(in srgb,var(--glass-ink) 14%,transparent)}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .native-sheet:not([data-presentation="page"]) > .sheet-header:has(.sheet-title-island)::after {background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
html[data-theme] .account .shift-row.is-presence {cursor:default}
/* «Расчёты охраны» guard setting: the guard's own rate only while «Зарплату выдаю я» is on. */

/* A later day folded into one row (owner, 19 Nov 2026): the day, its count and a chevron; a tap opens its shifts. */
html[data-theme] .account .shift-day-fold {display:flex;align-items:center;gap:6px;inline-size:100%;min-block-size:var(--ui-hit);margin:0;padding:0 var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-group-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-callout)!important;font-weight:600!important;text-align:start}
html[data-theme] .account .shift-day-fold small {min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .shift-day-fold em {margin-inline-start:auto;flex:none;font-style:normal;font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .shift-day-fold .ui-icon {flex:none;align-self:center;inline-size:.875rem;block-size:.875rem;color:var(--glass-muted)}
/* Swipe actions in the dark theme (owner, 19 Nov 2026, softened): as the iOS glass capsules — a faint lighter glass
   and a barely visible hairline rim show the shape without standing out; Delete keeps the same glass and only its
   label and symbol are red. */
html[data-theme=dark] .account .swipe-actions > :is(button,a) {background-color:rgba(255,255,255,.09)!important;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.13),inset 0 1px 0 rgba(255,255,255,.08)!important}
/* Phone rows (owner, 20 Nov 2026; iOS Contacts in DSG colours), for a person and for a restaurant alike. A leading
   column holds the ⊖ that removes the row or the add mark of «Добавить телефон», both the same neutral circle —
   never iOS's red or green. A person's numbers also have a label column (the label in the text colour with a
   small muted ⌃⌄ menu mark, a hairline after it) and then the number. */
html[data-theme] .account .ui-inset-group .phone-edit-row {display:grid!important;grid-template-columns:1.375rem minmax(0,1fr)!important;align-items:center;column-gap:.5rem}
html[data-theme] .account .ui-inset-group .phone-edit-row.is-labelled {grid-template-columns:1.375rem 6.25rem minmax(0,1fr)!important}
html[data-theme] .account .ui-inset-group .phone-edit-row.is-labelled > input[type=tel] {font-size:max(16px,var(--ui-callout,1rem))!important}
/* A narrow iPhone (375 pt): the label column narrows and drops its menu mark so a whole number still fits. */
@media (max-width:380px){html[data-theme] .account .ui-inset-group .phone-edit-row.is-labelled {grid-template-columns:1.375rem 5.5rem minmax(0,1fr)!important}html[data-theme] .account .phone-edit-row .phone-kind > .ui-icon {display:none}}
html[data-theme] .account .ui-inset-group .phone-edit-row input:not([type=hidden]) {inline-size:100%!important;max-inline-size:none!important;min-inline-size:0;text-align:start!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;font-size:var(--ui-input-text,var(--ui-body))!important;color:var(--glass-ink)}
html[data-theme] .account .phone-edit-row .phone-remove {position:relative;display:grid;place-items:center;inline-size:1.375rem;block-size:1.375rem;margin:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .account .phone-edit-row button.phone-remove::after {content:"";position:absolute;inset:-.6875rem}
html[data-theme] .account .phone-mark {display:grid;place-items:center;inline-size:1.375rem;block-size:1.375rem;border-radius:50%}
html[data-theme] .account .phone-mark > .ui-icon {inline-size:.875rem!important;block-size:.875rem!important;stroke-width:2.5}
/* Owner, 20 Nov 2026: the ⊖ is not red — the same neutral circle as the add mark, told apart by its sign. */
html[data-theme] .account .phone-mark:is(.is-remove,.is-add) {background:color-mix(in srgb,var(--glass-ink) 14%,transparent);color:var(--glass-ink)}
html[data-theme] .account .phone-edit-group .phone-add {display:grid!important;grid-template-columns:1.375rem minmax(0,1fr);column-gap:.5rem;align-items:center;inline-size:100%!important;max-inline-size:none!important;white-space:nowrap;border:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-body)!important;font-weight:400!important;text-align:start}
html[data-theme] .account .phone-edit-group .phone-add[hidden] {display:none!important}
html[data-theme] .account .phone-edit-row .phone-kind {display:inline-flex!important;align-items:center;justify-content:flex-start;gap:.125rem;inline-size:100%!important;min-inline-size:0;min-block-size:var(--ui-hit);margin:0;padding:0 .375rem 0 0!important;border:0!important;border-inline-end:.5px solid var(--glass-divider,var(--ui-divider))!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font:inherit;font-size:var(--ui-subheadline)!important;font-weight:400!important;text-align:start;cursor:pointer}
html[data-theme] .account .phone-edit-row .phone-kind.is-static {cursor:default}
/* The hairline after the label runs the full height of its row, top edge to bottom edge, as in iOS 27 Contacts — also
   when a larger text size makes the row taller than the label (owner, 20 Nov 2026). */
html[data-theme] .account .ui-inset-group .phone-edit-row.is-labelled {padding-block:0!important}
html[data-theme] .account .ui-inset-group .phone-edit-row.is-labelled > .phone-kind {align-self:stretch;block-size:auto!important}
html[data-theme] .account .phone-edit-row .phone-kind > span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .phone-edit-row .phone-kind > .ui-icon {flex:none;inline-size:.625rem;block-size:.625rem;color:var(--glass-muted)}
html[data-theme] .account .phone-edit-row .phone-kind[hidden] {display:none!important}
html[data-theme] .account #workspace-sheet .ui-inset-group .phone-edit-row.is-labelled > input.phone-kind-input[data-phone-kind-input] {grid-column:2;grid-row:1;inline-size:100%!important;block-size:var(--ui-hit)!important;min-block-size:0!important;margin:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;text-align:start!important}
html[data-theme] .account .phone-edit-row .phone-kind-input[hidden] {display:none!important}
html[data-theme] .account .phone-edit-row.is-labelled > input[type=tel] {grid-column:3}
/* Header search (owner, 20 Nov 2026): the field runs from the leading edge to the search button and slides out from the
   button towards the leading edge, as the iOS search field does, on every width. */
html[data-theme] .account .header-search .search-field > .ui-search {flex:1 1 auto;inline-size:100%;max-inline-size:none}
/* The expanded header search sits on the same 44 pt line as the header buttons (owner, 19 Nov 2026): no bottom margin
   from the in-page search, and a box as tall as the field so centring does not lift it. */
html[data-theme] .account .header-search .search-field {block-size:var(--ui-hit,44px);min-block-size:var(--ui-hit,44px)}
html[data-theme] .account .header-search .search-field > .ui-search {margin:0!important;block-size:var(--ui-hit,44px)}
html[data-theme] .account .header-search .search-field > .ui-search > .ui-search-field {flex:1 1 auto;min-inline-size:0}
@keyframes ui-search-slide {from {opacity:.2;clip-path:inset(0 0 0 calc(100% - 2.75rem) round 999px)} to {opacity:1;clip-path:inset(0 0 0 0 round 999px)}}
html[data-theme] .account .header-search.is-entering .search-field {animation:ui-search-slide 420ms cubic-bezier(.2,.9,.25,1.02) both}
/* Shift preview (owner, 20 Nov 2026): as an iOS context menu — the screen blurred evenly behind, the preview and its
   actions float without a title bar or a shaded band; a shift without a photo shows a compact card. */
html[data-theme] .native-sheet[data-sheet=context-preview] > .sheet-header::after {display:none!important}
html[data-theme] .native-sheet[data-sheet=context-preview] .sheet-title-island {visibility:hidden}
html[data-theme] #workspace-sheet[data-sheet=context-preview]::backdrop {backdrop-filter:blur(28px) saturate(1.4)!important;-webkit-backdrop-filter:blur(28px) saturate(1.4)!important}
html[data-theme] .context-preview-body .context-card.is-compact {padding-block:var(--ui-space-4)!important}
html[data-theme] .account .context-preview-body .preview-visual.has-cover,html[data-theme] .account .context-preview-body .preview-visual.has-cover > img {-webkit-mask-image:none!important;mask-image:none!important}
html[data-theme] .account .context-preview-body .preview-visual.has-cover > .preview-cover-backdrop {display:none}
/* «Расчёты охраны»: guards the manager pays fold under one row (owner, 20 Nov 2026). */




/* Promotions inside the waiter's menu (owner, 20 Nov 2026): a readable card of what is on now (each row opens its
   conditions), a struck base price with the promo price, and real-text capsules — green for a price promotion, neutral
   for one that depends on the guest and does not change the price. */
html[data-theme] .account .menu-promos {margin-block:var(--ui-space-3)}
html[data-theme] .account .menu-promo > summary {display:flex;align-items:center;gap:var(--ui-space-3);list-style:none;min-block-size:var(--ui-hit)}
html[data-theme] .account .menu-promo > summary::-webkit-details-marker {display:none}
html[data-theme] .account .menu-promo > summary [data-icon=chevron] {margin-inline-start:auto;transition:rotate 200ms ease}
html[data-theme] .account .menu-promo[open] > summary [data-icon=chevron] {rotate:90deg;transform:none}
html[data-theme] .account .menu-promo-value {flex:none;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,var(--ui-status-positive,#248a3d) 16%,transparent);color:var(--ui-status-positive,#248a3d);font-size:var(--ui-footnote);font-weight:600}
html[data-theme] .account .menu-promo-copy {display:grid;gap:1px;min-inline-size:0}
html[data-theme] .account .menu-promo-copy strong {font-size:var(--ui-callout);font-weight:600}
html[data-theme] .account .menu-promo-copy small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .menu-promo-conditions {margin:0;padding:0 var(--ui-space-4) var(--ui-space-3) calc(var(--ui-space-4) + 3.25rem + var(--ui-space-3));font-size:var(--ui-subheadline);color:var(--glass-muted)}


html[data-theme] .account .menu-promo-badge {display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--ui-status-positive,#248a3d) 14%,transparent);color:var(--ui-status-positive,#248a3d);font-size:var(--ui-caption);font-weight:600}
html[data-theme] .account .menu-promo-badge.is-condition {background:color-mix(in srgb,var(--glass-ink) 9%,transparent);color:var(--glass-ink)}

/* Control centre empty rows (20 Nov 2026): an empty section reads as a row — same inset and height as its neighbours. */
html[data-theme] .account .control-center .cc-rows > .ui-empty-note {margin:0;min-block-size:52px;display:flex;align-items:center;padding:10px var(--ui-space-4);color:var(--glass-muted)}
/* Site offers and time prices in the waiter's menu (20 Nov 2026): the same inset rows as own promotions; current price
   rule marked with the accent, the rest folded under «Другие акции ресторана». */
html[data-theme] .account .menu-promo-conditions p {margin:0 0 var(--ui-space-2)}
html[data-theme] .account .menu-promo-conditions a {color:var(--workspace-accent)}
html[data-theme] .account .menu-price-rule {padding:10px var(--ui-space-4);display:grid;gap:4px}
html[data-theme] .account .menu-price-rule + .menu-price-rule {border-block-start:0.5px solid var(--ui-divider)}
html[data-theme] .account .menu-price-rule > strong {font-size:var(--ui-callout);font-weight:600}
html[data-theme] .account .menu-price-rule ul {list-style:none;margin:0;padding:0;display:grid;gap:2px}
html[data-theme] .account .menu-price-rule li {display:flex;justify-content:space-between;gap:var(--ui-space-3);font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .menu-price-rule li b {font-variant-numeric:tabular-nums;font-weight:500}
html[data-theme] .account .menu-price-rule li.is-now {color:var(--glass-ink)}
html[data-theme] .account .menu-price-rule li.is-now b {color:var(--workspace-accent);font-weight:600}
html[data-theme] .account .menu-promos-later > summary {list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;min-block-size:var(--ui-hit)}
html[data-theme] .account .menu-promos-later > summary::-webkit-details-marker {display:none}
html[data-theme] .account .menu-promos-later > summary [data-icon=chevron] {inline-size:12px;block-size:12px;transition:rotate 200ms ease}
html[data-theme] .account .menu-promos-later[open] > summary [data-icon=chevron] {rotate:90deg;transform:none}
html[data-theme] .account .menu-promos {display:grid;gap:6px}
html[data-theme] .account .menu-promos > .ui-content-group + .ui-inset-header,html[data-theme] .account .menu-promos > .ui-group-footer + .menu-promos-later {margin-block-start:var(--ui-space-3)}
html[data-theme] .account .menu-promos-later {display:grid;gap:6px}
html[data-theme] .account .menu-promo-value {inline-size:5.25rem;min-inline-size:5.25rem;box-sizing:border-box;text-align:center;white-space:nowrap}
html[data-theme] .account .menu-promo-conditions {padding-inline-start:calc(var(--ui-space-4) + 5.25rem + var(--ui-space-3))}
/* Toolbars with a search field (owner, 21 Nov 2026): every control beside the search — an object picker, a pill button,
   a round button — has the search field's height and sits on its centre line; the search keeps no bottom margin there. */
html[data-theme] .account :is(.nav-center-filters,.availability-toolbar,.hospitality-toolbar) {align-items:center}
html[data-theme] .account :is(.nav-center-filters,.availability-toolbar,.hospitality-toolbar) > .ui-search {margin:0!important}
html[data-theme] .account :is(.nav-center-filters,.availability-toolbar,.hospitality-toolbar) > :is(.ui-inset-group,.ghostbtn,select) {align-self:center;block-size:var(--ui-hit);min-block-size:var(--ui-hit);box-sizing:border-box}
html[data-theme] .account :is(.nav-center-filters,.availability-toolbar,.hospitality-toolbar) > .ui-inset-group > .ui-inset-row {block-size:var(--ui-hit);min-block-size:var(--ui-hit)}
html[data-theme] .account :is(.nav-center-filters,.availability-toolbar,.hospitality-toolbar) > .ghostbtn {display:inline-flex;align-items:center;padding-block:0}
/* Every object picker row is exactly as tall as the search field (owner, 21 Nov 2026), on every screen size. */
html[data-theme] .account :is(.ui-object-picker,.nav-center-object-picker) > .ui-inset-row {block-size:var(--ui-hit);min-block-size:var(--ui-hit)}
html[data-theme] .account .ui-object-picker > .ui-inset-row > select {block-size:var(--ui-hit);min-block-size:0;padding-block:0!important}
html[data-theme] .account .nav-center-filters > .ui-object-picker {margin:0!important}
/* A single available object reads like a picker value: trailing, on the row's end (owner, 21 Nov 2026). */
html[data-theme] .account .nav-center-object-picker > .ui-inset-row > span:not(.ui-inset-label) {justify-self:end;text-align:end;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* A leader's working day (owner, 21 Nov 2026): the same card as a scheduled shift, read-only body, presence action below. */
html[data-theme] .account .my-shift-main.is-static {cursor:default;pointer-events:none}
html[data-theme] .account .my-shift.is-workday .my-shift-left {color:var(--ui-status-positive,#248a3d)}
/* «Гости» (owner, 21 Nov 2026): the host's sheet — segmented Брони · Ожидание · Столы, the shared day bar, inset rows. */
html[data-theme] .account .guests-panel {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .guests-toolbar {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-block-size:var(--ui-hit)}
html[data-theme] .account .guests-toolbar > .nav-center-object {margin:0}
html[data-theme] .account .guests-closed > summary {list-style:none;cursor:pointer;min-block-size:var(--ui-hit);display:flex;align-items:center}
html[data-theme] .account .guests-closed > summary::-webkit-details-marker {display:none}
html[data-theme] .account .guest-actions {display:grid;gap:var(--ui-space-2);margin-block-start:var(--ui-space-3)}
html[data-theme] .account #guest-seat-form {display:grid;gap:var(--ui-space-3);margin-block-start:var(--ui-space-3)}
html[data-theme] .account .guest-row .ui-row-title {display:flex;align-items:center;gap:var(--ui-space-2);justify-content:space-between}
html[data-theme] .account #guests-panel,html[data-theme] .account .guests-closed {display:grid;gap:6px}
html[data-theme] .account #guests-panel > .ui-content-group + .guests-closed,html[data-theme] .account #guests-panel > .ui-content-group + .ui-group-footer {margin-block-start:var(--ui-space-2)}
/* Uncovered post hours on the home screen (owner, 21 Nov 2026): the attention card above the day. */
html[data-theme] .account .coverage-card .work-card-symbol {color:var(--ui-status-attention,#b25000)}
/* Labour-law warnings in the roster (owner, 21 Nov 2026): attention text under the candidate, a group above publish. */

/* Post orders (owner, 21 Nov 2026): the text in an inset group, the acknowledgement under it. */
html[data-theme] .account .post-orders {display:grid;gap:6px;margin-block-end:var(--ui-space-4)}
html[data-theme] .account .post-orders .hub-text {white-space:pre-line}
html[data-theme] .account .my-shift-orders {color:var(--ui-status-attention,#b25000);font-weight:600}
/* Labour plan and fact (owner, 21 Nov 2026): fact over plan as the row's trailing pair. */
html[data-theme] .account .plan-fact-money {display:grid;justify-items:end;gap:1px;font-variant-numeric:tabular-nums}
html[data-theme] .account .plan-fact-money small {font-size:var(--ui-footnote);color:var(--glass-muted)}
/* Objects filter (owner, 19 Nov 2026): an iOS menu — the checkmark leads, the label, then the count in secondary ink. */
html[data-theme] .account .object-filter-anchor .ios-menu button {display:grid!important;grid-template-columns:1.25rem minmax(0,1fr) auto;align-items:center;column-gap:0.5rem;text-align:start;justify-content:stretch}
html[data-theme] .account .object-filter-anchor .ios-menu .object-filter-check {color:var(--workspace-accent);font-weight:600;text-align:center}
html[data-theme] .account .object-filter-anchor .ios-menu .object-filter-count {color:var(--glass-muted);font-variant-numeric:tabular-nums}
html[data-theme] .account .object-filter-anchor .objects-scope-title {margin:0;font:var(--ui-font-headline,600 1.0625rem/1.3 system-ui);color:var(--glass-ink);display:flex;align-items:center;min-block-size:var(--ui-hit,44px)}
html[data-theme] .account .production-object-grid > .empty-state {grid-column:1/-1;display:grid;justify-items:center;gap:0.75rem;text-align:center;color:var(--glass-muted)}
html[data-theme] .account .object-filter-anchor .ios-menu {overflow:hidden}
html[data-theme] .account .object-filter-anchor .ios-menu button {border-radius:0!important;box-shadow:none!important}
html[data-theme] .account .object-filter-anchor .ios-menu button + button {box-shadow:inset 0 0.5px 0 var(--ui-divider)!important}
html[data-theme] .account .objects-toolbar #open-object-filter .filter-arrow {transform:none!important}
/* Promotion conditions as published (owner, 19 Nov 2026): paragraphs, a list heading, numbered or bulleted items that
   hang from one left edge — the numbers line up and wrapped lines start under the text, not under the number. */
html[data-theme] .account .menu-promo-conditions .menu-promo-list-title {margin:var(--ui-space-3) 0 var(--ui-space-1);color:var(--glass-ink);font-weight:600}
html[data-theme] .account .menu-promo-conditions .menu-promo-list {margin:0 0 var(--ui-space-2);padding-inline-start:1.75em;display:grid;gap:0.375rem}
html[data-theme] .account .menu-promo-conditions ol.menu-promo-list {list-style:decimal}
html[data-theme] .account .menu-promo-conditions ul.menu-promo-list {list-style:disc}
html[data-theme] .account .menu-promo-conditions .menu-promo-list li {padding-inline-start:0.25em}
html[data-theme] .account .menu-promo-conditions .menu-promo-list li::marker {color:var(--glass-muted);font-variant-numeric:tabular-nums}
/* On a phone the conditions use the row's full width: indenting them under the title left a column of three words. */
@media (max-width: 559px) {html[data-theme] .account .menu-promo-conditions {padding-inline-start:var(--ui-space-4)}}
/* A brand's official menu offered to the administrator above the menu (owner, 19 Nov 2026). */
html[data-theme] .account .brand-menu-offer {display:grid;gap:var(--ui-space-1);margin-block:var(--ui-space-3)}
html[data-theme] .account .brand-menu-offer .ui-inset-header {margin:0 0 0 var(--ui-space-4)}

/* Waiter order (owner, 19 Nov 2026; Toast Go · Lightspeed K-Series · TouchBistro): seat + course context, compact
   photo-free menu rows, one section at a time, check over the menu on a phone and beside it on a wide sheet. */
html[data-theme] .account .waiter {container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-3);min-inline-size:0}
html[data-theme] .account :is(.waiter-menu,.waiter-side,.waiter-bar,.waiter-check) {min-inline-size:0}
html[data-theme] .account .waiter-top {display:flex;align-items:center;gap:var(--ui-space-2);min-inline-size:0}
html[data-theme] .account .waiter-top .nav-center-object {margin:0;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .waiter-back {display:inline-flex;align-items:center;gap:2px;min-block-size:var(--ui-hit,44px);padding-inline:0 var(--ui-space-2);color:var(--workspace-accent);flex:none}
html[data-theme] .account .waiter-back .ui-icon {transform:scaleX(-1);inline-size:20px;block-size:20px}
html[data-theme] .account .waiter-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-4)}
html[data-theme] .account .waiter-side {display:none}
html[data-theme] .account .waiter[data-check-open="true"] .waiter-menu {display:none}
html[data-theme] .account .waiter[data-check-open="true"] .waiter-side {display:block}
@container (min-width: 600px){
 html[data-theme] .account .waiter-layout {grid-template-columns:minmax(0,1fr) minmax(300px,36%)}
 html[data-theme] .account .waiter .waiter-menu {display:block}
 html[data-theme] .account .waiter .waiter-side {display:block;position:sticky;inset-block-start:0;align-self:start;max-block-size:calc(100dvh - 160px);overflow:auto}
 html[data-theme] .account .waiter-bar .waiter-bar-row {display:none}
}
html[data-theme] .account .waiter-sticky {position:sticky;inset-block-start:0;z-index:2;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-2);padding-block:var(--ui-space-2);background:var(--glass-modal)}
html[data-theme] .account .waiter-context {display:flex;align-items:center;gap:var(--ui-space-2);min-inline-size:0}
html[data-theme] .account .waiter-seats {display:flex;overflow-x:auto;scrollbar-width:none;flex:1;min-inline-size:0}
html[data-theme] .account .waiter-seats::-webkit-scrollbar {display:none}
html[data-theme] .account :is(.waiter-seat,.waiter-course,.waiter-choice) {flex:none;min-inline-size:40px;min-block-size:40px;padding:0 12px;border-radius:999px;border:1px solid var(--glass-divider,var(--workspace-line));background:var(--dsg-content-fill);color:var(--glass-ink);font-size:var(--ui-subheadline);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] .account :is(.waiter-seat,.waiter-choice)[aria-pressed="true"] {background:var(--workspace-ink);border-color:var(--workspace-ink);color:var(--workspace-canvas)}
html[data-theme] .account .waiter-seat.is-add {padding:0;display:inline-grid;place-items:center}
html[data-theme] .account .waiter-seat.is-add .ui-icon {inline-size:18px;block-size:18px}
html[data-theme] .account .waiter-course {color:var(--workspace-accent);background:color-mix(in srgb,var(--workspace-accent) 14%,transparent);border-color:transparent}





html[data-theme] .account .waiter-list {padding:0!important}
html[data-theme] .account .waiter-row {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:2.75rem;margin:0;padding:0.625rem var(--ui-space-3) 0.625rem var(--ui-space-4);border:0;border-radius:0;background:transparent;color:var(--glass-ink);text-align:start;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html[data-theme] .account .waiter-row+.waiter-row {box-shadow:inset 0 1px 0 var(--glass-divider,var(--workspace-line))}
html[data-theme] .account .waiter-row:not(:disabled):active {background:color-mix(in srgb,var(--glass-ink) 6%,transparent)}
html[data-theme] .account .waiter-row:disabled {opacity:.5}
html[data-theme] .account .waiter-row-copy {display:grid;gap:1px;min-inline-size:0}
html[data-theme] .account .waiter-row-copy strong {font-size:var(--ui-body);font-weight:500;line-height:1.25}
html[data-theme] .account .waiter-row.has-count .waiter-row-copy strong {color:var(--workspace-accent)}
html[data-theme] .account .waiter-row-copy small {font-size:var(--ui-footnote);color:var(--glass-muted);line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html[data-theme] .account .waiter-row-off {color:var(--ui-status-attention)}
html[data-theme] .account .waiter-row-price {font-size:var(--ui-subheadline);font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .account .waiter-row-price s {color:var(--glass-muted);font-weight:400}
html[data-theme] .account .waiter-count {display:inline-grid;place-items:center;min-inline-size:32px;block-size:32px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--workspace-accent) 14%,transparent);color:var(--workspace-accent);font-weight:700;font-variant-numeric:tabular-nums}
html[data-theme] .account .waiter-row.has-count .waiter-count {background:var(--workspace-accent);color:var(--workspace-canvas)}
html[data-theme] .account .waiter-count .ui-icon {inline-size:18px;block-size:18px}
html[data-theme] .account .waiter-next {display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:var(--ui-space-2) 0 0 auto;min-block-size:44px;padding:0 var(--ui-space-3);border:0;background:transparent;color:var(--workspace-accent);font-weight:600}
html[data-theme] .account .waiter-next .ui-icon {inline-size:18px;block-size:18px}




html[data-theme] .account .waiter-bar {position:sticky;inset-block-end:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-2);padding-block:var(--ui-space-2) calc(var(--ui-space-2) + env(safe-area-inset-bottom,0px));background:var(--glass-modal)}
html[data-theme] .account .waiter-bar-row {display:flex;gap:var(--ui-space-2)}
html[data-theme] .account .waiter[data-check-open="true"] :is(.waiter-bar-row .primarybtn,.waiter-undo) {display:none}
html[data-theme] .account .waiter-bar-row .primarybtn {flex:none;min-block-size:50px;padding-inline:var(--ui-space-4)}
html[data-theme] .account .waiter-bar-check {flex:1;min-inline-size:0;display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:50px;padding:0 var(--ui-space-4);border:0;border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink);font-weight:600}
html[data-theme] .account .waiter-bar-check strong {margin-inline-start:auto;font-variant-numeric:tabular-nums}
html[data-theme] .account .waiter-undo {display:flex;align-items:center;gap:var(--ui-space-2);padding:6px 6px 6px var(--ui-space-3);border-radius:var(--ui-radius);background:var(--glass-ink);color:var(--workspace-canvas);font-size:var(--ui-subheadline)}
html[data-theme] .account .waiter-undo span {flex:1;min-inline-size:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .waiter-undo button {min-block-size:36px;padding:0 var(--ui-space-3);border:0;border-radius:10px;background:color-mix(in srgb,var(--workspace-canvas) 16%,transparent);color:inherit;font-weight:600}
html[data-theme] .account .waiter-check {display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-2)}
html[data-theme] .account .waiter-group-head {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2)}
html[data-theme] .account .waiter-fire {min-block-size:32px;padding:0 var(--ui-space-3);border:0;border-radius:999px;background:var(--workspace-accent);color:var(--workspace-canvas);font-size:var(--ui-footnote);font-weight:600;text-transform:none;letter-spacing:0}
html[data-theme] .account .waiter-line {display:grid;grid-template-columns:2.25rem minmax(0,1fr) auto;align-items:start;gap:var(--ui-space-2);inline-size:100%;margin:0;padding:10px var(--ui-space-3);border:0;background:transparent;color:var(--glass-ink);text-align:start}
html[data-theme] .account .waiter-line+.waiter-line {box-shadow:inset 0 1px 0 var(--glass-divider,var(--workspace-line))}
html[data-theme] .account .waiter-line-qty {font-weight:700;color:var(--glass-muted);font-variant-numeric:tabular-nums}
html[data-theme] .account .waiter-line-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .waiter-line-copy strong {font-weight:500}
html[data-theme] .account .waiter-line-copy small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .waiter-line-comment {color:var(--ui-status-attention)}
html[data-theme] .account .waiter-line b {font-variant-numeric:tabular-nums;font-weight:500}
html[data-theme] .account .waiter-send {inline-size:100%;min-block-size:50px}
html[data-theme] .account .waiter-editor {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .waiter-editor-head h2 {margin:0;font-size:var(--ui-title);text-wrap:balance}
html[data-theme] .account .waiter-editor-head p {margin:4px 0 0;color:var(--glass-muted)}
html[data-theme] .account .waiter-editor-composition {color:var(--glass-ink)!important}
html[data-theme] .account .waiter-editor-composition.is-empty {color:var(--glass-muted)!important;font-size:var(--ui-footnote)}
html[data-theme] .account .waiter-choices {display:flex;flex-wrap:wrap;gap:6px}
/* Stepper (owner, 21 Nov 2026: the capsule filled the whole row). iOS UIStepper: the value as plain text, then a compact 94×32 capsule
   with − and + split by a hairline; each half keeps a 44 pt touch area. */
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) {display:inline-flex;align-items:center;gap:0;margin-inline-start:auto;padding:0;border-radius:0;background:none}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) output {order:-1;min-inline-size:2ch;margin-inline-end:12px;text-align:end;font:inherit;font-weight:400;color:inherit;font-variant-numeric:tabular-nums}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button {position:relative;display:inline-grid;place-items:center;inline-size:47px;block-size:32px;min-block-size:0;margin:0;padding:0;border:0;border-radius:0;background:var(--ui-search-fill,var(--workspace-field));color:currentColor;box-shadow:none;-webkit-tap-highlight-color:transparent}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button:first-of-type {border-start-start-radius:999px;border-end-start-radius:999px}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button:last-of-type {border-start-end-radius:999px;border-end-end-radius:999px}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button:last-of-type::before {content:"";position:absolute;inset-inline-start:0;inset-block:8px;inline-size:1px;background:var(--workspace-line)}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button::after {content:"";position:absolute;inset:-6px 0}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button:active:not(:disabled) {background:color-mix(in srgb,currentColor 14%,var(--ui-search-fill,var(--workspace-field)))}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) button:disabled {color:var(--glass-muted);opacity:.55}
html[data-theme] .account :is(.waiter-stepper,.ui-stepper) .ui-icon {inline-size:17px;block-size:17px;stroke-width:2}
html[data-theme] .account .waiter-legend {display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}
html[data-theme] .account .waiter-tile {position:relative;overflow:hidden}
html[data-theme] .account .waiter-tile::before {content:"";position:absolute;inset:0 0 auto;block-size:4px;background:transparent}
html[data-theme] .account .waiter-tile[data-state="new"]::before {background:var(--ui-status-attention)}
html[data-theme] .account .waiter-tile[data-state="held"]::before {background:var(--workspace-accent)}
html[data-theme] .account .waiter-tile[data-state="fired"]::before {background:var(--ui-status-positive)}
/* Status-lit table tiles (owner, 20 Nov 2026): the tile takes a faint wash and a hairline ring of its status colour,
   so a waiter reads the floor at a glance; «Не отправлено» breathes softly until it is sent (not with reduced motion). */
html[data-theme] .account .waiter-tile[data-state] {--tile-tone:transparent}
html[data-theme] .account .waiter-tile[data-state="new"] {--tile-tone:var(--ui-status-attention)}
html[data-theme] .account .waiter-tile[data-state="held"] {--tile-tone:var(--workspace-accent)}
html[data-theme] .account .waiter-tile[data-state="fired"] {--tile-tone:var(--ui-status-positive)}
html[data-theme] .account .waiter-tile:is([data-state="new"],[data-state="held"],[data-state="fired"]) {background:color-mix(in srgb,var(--tile-tone) 10%,var(--dsg-content-fill))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tile-tone) 38%,transparent)!important}
html[data-theme] .account .waiter-tile[data-state="new"] {animation:waiter-tile-breathe 2.4s ease-in-out infinite}
@keyframes waiter-tile-breathe {50% {box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tile-tone) 60%,transparent),0 0 0 4px color-mix(in srgb,var(--tile-tone) 16%,transparent)}}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .waiter-tile[data-state="new"] {animation:none}}
/* The waiter's working home: the restaurant, one primary «Принять заказ», four blocks and «Мои столы». */
html[data-theme] .account .work-zone {display:grid;gap:var(--ui-space-3);margin-block-end:var(--ui-space-5)}
html[data-theme] .account .work-zone-place {display:flex;align-items:center;gap:6px;margin:0;color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .work-zone-place .ui-icon {inline-size:1rem;block-size:1rem}
html[data-theme] .account .work-zone-start {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:4.25rem;margin:0;padding:var(--ui-space-3) var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-radius)!important;background:var(--workspace-accent)!important;color:#fff!important;text-align:start;box-shadow:none!important}
html[data-theme] .account .work-zone-start > span:not(.work-zone-start-symbol) {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .work-zone-start strong {font-size:var(--ui-headline);font-weight:600;line-height:1.2}
html[data-theme] .account .work-zone-start small {font-size:var(--ui-footnote);color:rgb(255 255 255 / .82)!important}
html[data-theme] .account .work-zone-start-symbol {display:grid;place-items:center;inline-size:2.5rem;block-size:2.5rem;border-radius:50%;background:rgb(255 255 255 / .2)}
html[data-theme] .account .work-zone-start .ui-icon {inline-size:1.25rem;block-size:1.25rem;color:currentColor}
html[data-theme] .account .work-zone-start > .ui-icon:last-child {opacity:.7}
html[data-theme] .account .work-zone-start:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:3px}
html[data-theme] .account .work-zone-start:active {transform:scale(.985)}
/* Tool blocks of the working zone: a tinted glyph square, a count capsule, the title on one line and a live detail. */
html[data-theme] .account .work-blocks {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-3)}
@media (min-width:600px) {html[data-theme] .account .work-blocks {grid-template-columns:repeat(auto-fill,minmax(11.5rem,1fr))}}
@media (max-width:599px) {html[data-theme] .account .work-block:last-child:nth-child(odd) {grid-column:1/-1;min-block-size:0;grid-template-columns:auto minmax(0,1fr);align-items:center}}
html[data-theme] .account .work-block {position:relative;display:grid;align-content:space-between;gap:var(--ui-space-3);min-block-size:6.25rem;margin:0;padding:var(--ui-space-3) var(--ui-space-4) var(--ui-space-4)!important;border:0!important;border-radius:var(--ui-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important;text-align:start;transition:transform .18s ease}
html[data-theme] .account .work-block:active {transform:scale(.97)}
html[data-theme] .account .work-block:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .work-block-symbol {display:grid;place-items:center;inline-size:2.25rem;block-size:2.25rem;border-radius:0.75rem;background:color-mix(in srgb,var(--workspace-accent) 14%,transparent);color:var(--workspace-accent)}
html[data-theme] .account .work-block[data-tone="attention"] .work-block-symbol {background:color-mix(in srgb,var(--ui-status-attention) 16%,transparent);color:var(--ui-status-attention)}
html[data-theme] .account .work-block-symbol .ui-icon {inline-size:1.25rem;block-size:1.25rem}
html[data-theme] .account .work-block-count {position:absolute;inset-block-start:var(--ui-space-3);inset-inline-end:var(--ui-space-3);min-inline-size:1.5rem;block-size:1.5rem;padding:0 7px;border-radius:999px;background:var(--workspace-accent);color:#fff;font-size:var(--ui-footnote);font-weight:600;line-height:1.5rem;text-align:center;font-variant-numeric:tabular-nums}
html[data-theme] .account .work-block-count[data-tone="attention"] {background:var(--ui-status-attention)}
html[data-theme=dark] .account .work-block-count[data-tone="attention"] {color:#1c1300}
html[data-theme] .account .work-block-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .work-block-copy strong {overflow:hidden;font-size:var(--ui-body);font-weight:600;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .work-block-copy small {overflow:hidden;color:var(--glass-muted);font-size:var(--ui-footnote);line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .work-block {transition:none}}
/* «На стопе» on the kitchen's home: the stopped dishes as quiet capsules. */
html[data-theme] .account .work-zone-chips {display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}
html[data-theme] .account .work-zone-chip {padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--ui-status-attention) 12%,var(--dsg-content-fill));color:var(--glass-ink);font-size:var(--ui-subheadline)}
html[data-theme] .account .work-zone-chip.is-more {background:var(--dsg-content-fill);color:var(--glass-muted)}
html[data-theme=dark] .account .work-zone-start {background:color-mix(in srgb,var(--workspace-accent) 76%,#000)!important}
html[data-theme] .account .work-zone-heading {margin:var(--ui-space-2) 0 0!important}
html[data-theme] .account .work-zone .dining-pos-note {margin:0}
html[data-theme] .account .work-zone-tables .ui-empty-note {grid-column:1/-1}
@media (prefers-reduced-motion:no-preference){html[data-theme] .account .waiter-undo {animation:waiter-undo-in .2s ease-out}@keyframes waiter-undo-in{from{opacity:.3;transform:translateY(6px)}}}

/* Pages (owner, 19 Nov 2026): a destination screen (object, its team, a person, a post) fills the content area as a
   page in the DSG style — same glass Back, title island and grouped content — under the dock, which stays usable. */
html[data-theme] .account .native-sheet[data-presentation="page"]:not([open]) {display:none!important}
html[data-theme] .account .native-sheet[data-presentation="page"] {position:fixed!important;inset:0!important;inline-size:auto!important;max-inline-size:none!important;block-size:100dvh!important;max-block-size:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;z-index:30;background:var(--workspace-canvas)!important;display:flex;flex-direction:column}
html[data-theme] .account .native-sheet[data-presentation="page"] > .sheet-header {padding-top:calc(10px + env(safe-area-inset-top,0px))!important}
html[data-theme] .account .native-sheet[data-presentation="page"] > .sheet-body {flex:1;min-block-size:0;overflow:auto;padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important;background:transparent!important}
@media (min-width:768px){html[data-theme] .account .native-sheet[data-presentation="page"] > .sheet-body {padding-inline:max(24px,calc((100% - 820px) / 2))!important}}
@media (prefers-reduced-motion:no-preference){html[data-theme] .account .native-sheet[data-presentation="page"][open][data-entering=true] {animation:dsg-page-in 280ms cubic-bezier(.2,.8,.2,1)!important}@keyframes dsg-page-in{from{transform:translateX(24%);opacity:.35}}}
html[data-theme] .account .native-sheet.page-underlay {pointer-events:none;animation:none!important}
html[data-theme] .account .native-sheet.page-underlay > .sheet-body {overflow:hidden}
/* Dimming behind a window or sheet, as UIKit's dimming view: the content stays where it is, only darker; no blur
   (owner, 20 Nov 2026; Apple blurs the background only for the long-press context menu preview, which keeps its own). */
html[data-theme] .account .native-sheet::backdrop {background:rgba(0,0,0,.2);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme=dark] .account .native-sheet::backdrop {background:rgba(0,0,0,.48)}
/* iPad and computer: a window does not take the sidebar or the tab bar away; they stay in place under the dimming. */
@media (min-width:800px){html[data-theme] .account[data-sheet-open="true"] .workspace-dock {opacity:1}}
html[data-theme] .account .object-team-section + .object-team-section {margin-top:var(--ui-space-4)}
html[data-theme] .account .object-team-page {display:grid;grid-template-columns:minmax(0,1fr)}
html[data-theme] .account .object-team-section {display:grid;grid-template-columns:minmax(0,1fr)}
html[data-theme] .account .object-team-section > .object-team-list {inline-size:auto;margin:0}
html[data-theme] .account .native-sheet[data-presentation="page"] > .sheet-header::before {display:none!important}
/* Page titles (owner, 19 Nov 2026, Liquid Glass): the title of a page is plain text over the content, as Apple's
   navigation bars show it — glass only on the round controls. A page with a large title shows the small title (and its
   second line) only once the large title has scrolled under the bar; the soft scroll edge keeps it legible. */
html[data-theme] .account .native-sheet[data-presentation="page"] > .sheet-header::after {inset:0 0 -18px 0!important;background:linear-gradient(var(--workspace-canvas) 45%,color-mix(in srgb,var(--workspace-canvas) 0%,transparent))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;-webkit-mask-image:none!important;mask-image:none!important}
/* Sheets on a phone (owner, 19–20 Nov 2026, Liquid Glass): a window rests on the bottom edge of the screen and runs
   down past it (only the top corners are rounded), on translucent glass; its top never rises above the status bar and
   the Dynamic Island (safe area + 10 pt). Pulled up to full height (data-extended) it turns opaque. Pages, alerts and
   Reduce Transparency keep the solid surface. */
@media (max-width:799px){
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]):not([data-extended="true"]) {inset:auto 0 0 0!important;inline-size:auto!important;margin:0!important;border-radius:34px 34px 0 0!important;background:color-mix(in srgb,var(--glass-modal) 74%,transparent)!important;backdrop-filter:blur(30px) saturate(1.8)!important;-webkit-backdrop-filter:blur(30px) saturate(1.8)!important;border:0!important;box-shadow:0 -8px 40px rgba(0,0,0,.18)!important;max-block-size:calc(100dvh - max(20px,env(safe-area-inset-top,0px)) - 10px)!important}
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]):not([data-extended="true"]) > .sheet-body {background:transparent!important}
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]):not([data-extended="true"]) > .sheet-header {background:transparent!important}
}
@media (prefers-reduced-transparency:reduce){html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]) {background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
/* Captions with «ⓘ» (owner, 19 Nov 2026): one line under a group; the button opens the full explanation. */
html[data-theme] .account .ui-note {display:flex;align-items:center;gap:6px}
html[data-theme] .account .ui-note-info {flex:none;display:inline-grid;place-items:center;inline-size:28px;block-size:28px;margin:-6px 0;border:0;border-radius:999px;background:transparent;color:var(--workspace-accent);padding:0;position:relative}
html[data-theme] .account .ui-note-info::after {content:"";position:absolute;inset:-8px}
html[data-theme] .account .ui-note-info .ui-icon {inline-size:18px;block-size:18px}
/* «Смены» header (owner, 19 Nov 2026, Liquid Glass): a live second line under the title and one glass capsule holding
   the view switch, «Табель» and ＋ beside search and the profile; the object and period are one filter button. */
html[data-theme] .account .workspace-heading {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .workspace-subtitle {font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .ui-toolbar-group {display:inline-flex;align-items:center;gap:0;block-size:var(--ui-hit,44px);padding:0 2px;border-radius:999px}
html[data-theme] .account .ui-toolbar-item {display:inline-grid;place-items:center;inline-size:40px;block-size:44px;border:0;background:transparent;color:var(--glass-ink);border-radius:999px}
html[data-theme] .account .ui-toolbar-item .ui-icon {inline-size:21px;block-size:21px}
html[data-theme] .account .ui-toolbar-item:active {background:color-mix(in srgb,var(--glass-ink) 10%,transparent)}
html[data-theme] .account .shift-filter-chip {display:inline-flex;align-items:center;gap:6px;max-inline-size:100%;min-block-size:40px;margin:2px 0 var(--ui-space-3);padding:0 14px;border:0;border-radius:999px;background:var(--dsg-content-fill);color:var(--glass-ink);font-size:var(--ui-subheadline);font-weight:500}
html[data-theme] .account .shift-filter-chip span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .shift-filter-chip .ui-icon {inline-size:14px;block-size:14px;flex:none;color:var(--glass-muted)}
html[data-theme] .account .workspace-tools > .ui-toolbar-group.glass-control {width:auto!important;inline-size:auto!important;min-width:0!important;min-inline-size:0!important;padding:0 3px!important;border-radius:999px!important;flex:none!important;display:inline-flex!important;gap:0!important}
@media (max-width:420px){html[data-theme] .account .ui-toolbar-item {inline-size:36px}}
/* Dock minimize and the shift accessory (owner, 19 Nov 2026, Liquid Glass). While a list scrolls down the dock folds to
   its current tab at the leading edge; the accessory «На смене · place · до 21:00 · Уход» sits above the dock and moves
   inline beside the folded tab. Phone only. */
@media (max-width:799px){
 html[data-theme] .account .workspace-dock .workspace-tabs {transition:width .34s cubic-bezier(.2,.8,.2,1),max-width .34s cubic-bezier(.2,.8,.2,1)}
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock {width:auto!important;left:max(16px,env(safe-area-inset-left,0px))!important;right:max(16px,env(safe-area-inset-right,0px))!important;transform:none!important;justify-content:space-between}
 /* The folded tab is a circle the size of the bell beside it (owner, 23 Nov 2026: it kept the bar's oval until tapped). */
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock .workspace-tabs {flex:none!important;width:52px!important;max-width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;padding:0!important;border-radius:50%!important;transition:width .34s cubic-bezier(.2,.8,.2,1),max-width .34s cubic-bezier(.2,.8,.2,1),border-radius .34s cubic-bezier(.2,.8,.2,1)}
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock .workspace-tab:not([aria-current="page"]) {display:none!important}
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock .workspace-tab[aria-current="page"] {flex:1 1 auto!important;width:100%!important}
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock .workspace-tab span:not(.ui-icon) {display:none!important}
 html[data-theme] .account[data-dock-minimized="true"] .workspace-dock .workspace-selection {opacity:0!important}
 html[data-theme] .account .dock-accessory {position:fixed;z-index:39;left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px));bottom:calc(env(safe-area-inset-bottom,0px) + 94px);display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:50px;padding:4px 4px 4px var(--ui-space-3);border-radius:999px;border:1px solid var(--ui-glass-edge);background:var(--ui-glass-fill);backdrop-filter:blur(22px) saturate(1.8);-webkit-backdrop-filter:blur(22px) saturate(1.8);box-shadow:inset 0 1px 0 var(--ui-glass-rim),var(--ui-glass-shadow);transition:left .34s cubic-bezier(.2,.8,.2,1),right .34s cubic-bezier(.2,.8,.2,1),bottom .34s cubic-bezier(.2,.8,.2,1)}
 html[data-theme] .account[data-dock-minimized="true"] .dock-accessory {left:calc(max(16px,env(safe-area-inset-left,0px)) + 60px);right:calc(max(16px,env(safe-area-inset-right,0px)) + 60px);bottom:calc(env(safe-area-inset-bottom,0px) + 26px)}
 html[data-theme] .account[data-sheet-open="true"] .dock-accessory {opacity:0;pointer-events:none}
 html[data-theme] .account .workspace-content:has(~ .dock-accessory) {padding-bottom:calc(196px + env(safe-area-inset-bottom,0px))!important}
}
@media (min-width:800px){html[data-theme] .account .dock-accessory {display:none}}
html[data-theme] .account .dock-accessory-main {flex:1;min-inline-size:0;display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:44px;border:0;background:transparent;color:var(--glass-ink);text-align:start;padding:0}
html[data-theme] .account .dock-accessory-copy {min-inline-size:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--ui-subheadline)}
html[data-theme] .account .dock-accessory-dot {flex:none;inline-size:8px;block-size:8px;border-radius:50%;background:var(--glass-muted)}
html[data-theme] .account .dock-accessory-dot.is-on {background:var(--ui-status-positive);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-status-positive) 22%,transparent)}
/* Приход / Уход is the inline primary action of a row, the same component as «Назначить» (owner, 20 Nov 2026): a compact
   capsule in the DSG action colour with white text, its touch area widened to 44 pt. */
html[data-theme] .account .dock-accessory-action {position:relative;flex:none;min-block-size:2rem;padding:0 0.875rem!important;border:0!important;border-radius:999px!important;background:var(--workspace-accent)!important;color:#fff!important;font-size:var(--ui-subheadline)!important;font-weight:600!important;box-shadow:none!important}
html[data-theme] .account .dock-accessory-action::after {content:"";position:absolute;inset:-6px -4px}
html[data-theme] .account .shift-filter-bar {display:flex;flex-wrap:wrap;gap:var(--ui-space-2);margin:2px 0 var(--ui-space-3)}
/* iPhone, «Смены» (owner, 20 Nov 2026): the title stays on one line with the buttons, at the same height as on every
   screen (21 px under the safe area, like the centred one-row header); only the live subtitle runs on its own
   full-width line under them, so it is never cut. */
@media (max-width:599px) {
  html[data-theme] .account[data-authenticated=true]:has(.workspace-tools > .ui-toolbar-group) {--header-height:calc(100px + env(safe-area-inset-top,0px))}
  html[data-theme] .account .workspace-header:has(.workspace-tools > .ui-toolbar-group) {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:start;column-gap:var(--ui-space-2);row-gap:2px;padding-top:calc(21px + env(safe-area-inset-top,0px))!important}
  html[data-theme] .account .workspace-header:has(.workspace-tools > .ui-toolbar-group) > .workspace-heading {display:contents}
  html[data-theme] .account .workspace-header:has(.workspace-tools > .ui-toolbar-group) > .workspace-heading > strong {grid-row:1;grid-column:1;min-inline-size:0}
  html[data-theme] .account .workspace-header:has(.workspace-tools > .ui-toolbar-group) > .workspace-tools {grid-row:1;grid-column:2}
  html[data-theme] .account .workspace-header:has(.workspace-tools > .ui-toolbar-group) > .workspace-heading > .workspace-subtitle {grid-row:2;grid-column:1 / -1}
}
/* Shift filter (owner, 20 Nov 2026): two small pop-up buttons; their menus are the shared context menu. «Свои даты…»
   adds two date rows inside that menu, set in the menu's own text style. */
html[data-theme] .account .shift-filter-bar .shift-filter-chip {position:relative;margin:0;min-block-size:36px;padding:0 12px;gap:4px;font-size:var(--ui-footnote)}
html[data-theme] .account .shift-filter-bar .shift-filter-chip::before {content:"";position:absolute;inset:-4px 0}
html[data-theme] .account .shift-filter-bar .shift-filter-chip .ui-icon {inline-size:13px;block-size:13px}
.contact-context-dialog .context-dates {display:grid;margin:0}
.contact-context-dialog .context-dates label {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);min-block-size:var(--ui-hit);padding:var(--ui-space-1) var(--ui-space-3)}
.contact-context-dialog .context-dates input {inline-size:auto;min-inline-size:0;min-block-size:34px;margin:0;padding:0 var(--ui-space-2);border:0;border-radius:8px;background:var(--ui-interaction,rgba(120,120,128,.12));color:inherit;font:inherit;font-variant-numeric:tabular-nums}
/* Windows on an iPad or a computer (owner, 20 Nov 2026): as on a phone, a form or a choice opens as a window sized to its
   content on translucent glass; pulled up by its header it fills the screen and turns opaque. Pages, alerts and Reduce
   Transparency keep the solid surface. */
@media (min-width:800px){
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]):not([data-extended="true"]) {background:color-mix(in srgb,var(--glass-modal) 74%,transparent)!important;backdrop-filter:blur(30px) saturate(1.8)!important;-webkit-backdrop-filter:blur(30px) saturate(1.8)!important;border:0!important;box-shadow:0 24px 70px rgba(0,0,0,.26)!important}
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]):not([data-extended="true"]) > :is(.sheet-body,.sheet-header) {background:transparent!important}
 html[data-theme] .account .native-sheet[open][data-extended="true"]:not([data-presentation="page"]) {inset:0!important;margin:0!important;inline-size:100%!important;width:100%!important;max-inline-size:none!important;block-size:100dvh!important;height:100dvh!important;max-block-size:none!important;max-height:none!important;border-radius:0!important;border:0!important;background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html[data-theme] .account .native-sheet[open][data-extended="true"]:not([data-presentation="page"]) > .sheet-body {padding-inline:max(24px,calc((100% - 760px) / 2))!important}
}
.account .shift-split-mode {margin-block-end:var(--ui-space-2)}
/* Computer (owner, 20 Nov 2026): windows, alerts and the sidebar as on a Mac (macOS 26 Tahoe). A window is a sheet of
   fixed width sized to its content, never stretched to the screen: the title is bold and leading, the commands are
   capsules at the bottom trailing edge (secondary, then the default action), with no bar or divider under the content;
   a window without a form closes with «Готово» there. An alert puts the app icon, the title and the text on the leading
   side and its buttons at the bottom trailing edge. Sidebar labels are leading, as in Finder and Mail. */
@media (min-width:1200px) and (hover:hover) and (pointer:fine) {
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"]) {inline-size:min(600px,calc(100% - 64px))!important;width:min(600px,calc(100% - 64px))!important;border-radius:26px!important}
 html[data-theme] .account .native-sheet[open]:not([data-presentation="page"])[data-extended="true"] {inset:0!important;margin:auto!important;block-size:fit-content!important;height:fit-content!important;max-block-size:min(85dvh,850px)!important;max-height:min(85dvh,850px)!important;border-radius:26px!important}
 html[data-theme] .account .native-sheet:not([data-presentation="page"]) > .sheet-header {display:flex!important;justify-content:flex-start!important;align-items:center;gap:var(--ui-space-2);padding:22px 24px 6px!important;min-block-size:0!important}
 html[data-theme] .account .native-sheet:not([data-presentation="page"]) > .sheet-header :is(.sheet-cancel,.sheet-confirm,#close-native-sheet,.sheet-header-spacer,.sheet-title-gap) {display:none!important}
 html[data-theme] .account .native-sheet:not([data-presentation="page"]) .sheet-title-island {position:static!important;transform:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;justify-items:start!important;justify-self:start!important;align-items:flex-start!important;text-align:start!important;max-inline-size:none!important;flex:1 1 auto}
 html[data-theme] .account .native-sheet:not([data-presentation="page"]) .sheet-title-island > h2 {font-size:var(--ui-title3)!important;font-weight:700!important;text-align:start!important}
 html[data-theme] .account .native-sheet:not([data-presentation="page"]) > .sheet-body {padding-inline:24px!important}
 html[data-theme] .account .native-sheet[open] > .sheet-desktop-actions {border-block-start:0!important;background:transparent!important;padding:14px 24px 22px!important;gap:var(--ui-space-3)!important}
 html[data-theme] .account .native-sheet .sheet-desktop-actions > button {border-radius:999px!important;min-block-size:32px!important;min-inline-size:88px!important;padding:0 18px!important;border:0!important;font-weight:500!important}
 html[data-theme] .account .native-sheet .sheet-desktop-actions > button.ghostbtn {background:color-mix(in srgb,var(--glass-ink) 9%,transparent)!important;color:var(--glass-ink)!important;border:0!important}
 html[data-theme] .dsg-confirmation {inline-size:300px!important;max-inline-size:calc(100vw - 48px)!important;padding:20px 20px 16px!important;text-align:start!important;display:grid!important;justify-items:start;gap:6px!important;border-radius:22px!important}
 html[data-theme] .dsg-confirmation::before {content:"";inline-size:48px;block-size:48px;border-radius:11px;background:url("assets/icon-192.png") center/cover no-repeat;margin-block-end:6px}
 html[data-theme] .dsg-confirmation > :is(h2,p) {text-align:start!important;margin:0!important;justify-self:stretch}
 html[data-theme] .dsg-confirmation > h2 {font-size:var(--ui-headline)!important;font-weight:700!important}
 html[data-theme] .dsg-confirmation > p {font-size:var(--ui-footnote)!important;color:var(--glass-muted)!important}
 html[data-theme] .dsg-confirmation .confirmation-actions {display:flex!important;justify-content:flex-end!important;gap:8px!important;justify-self:stretch;margin-block-start:12px!important;grid-template-columns:none!important}
 html[data-theme] .dsg-confirmation .confirmation-actions > button {flex:none!important;inline-size:auto!important;min-inline-size:76px!important;min-block-size:30px!important;block-size:auto!important;padding:0 16px!important;border-radius:999px!important;border:0!important;background:color-mix(in srgb,var(--glass-ink) 9%,transparent)!important;color:var(--glass-ink)!important;font-size:var(--ui-subheadline)!important;font-weight:500!important}
 html[data-theme] .dsg-confirmation .confirmation-actions > button:last-child:not(.quiet-danger) {background:var(--workspace-accent)!important;color:#fff!important}
 html[data-theme] .dsg-confirmation .confirmation-actions > button.quiet-danger {color:var(--ui-danger)!important;background:color-mix(in srgb,var(--glass-ink) 9%,transparent)!important}
 html[data-theme] .dsg-confirmation .confirmation-actions.is-stacked {flex-direction:column!important;align-items:stretch!important}
 html[data-theme] .dsg-confirmation .confirmation-actions.is-stacked > button {min-block-size:32px!important}
 html[data-theme] .dsg-confirmation .confirmation-actions.is-stacked > button:last-child:not(.is-preferred) {background:color-mix(in srgb,var(--glass-ink) 9%,transparent)!important;color:var(--glass-ink)!important}
 html[data-theme] .dsg-confirmation .confirmation-actions.is-stacked > button.is-preferred {background:var(--workspace-accent)!important;color:#fff!important}
 html[data-theme] .account .workspace-dock .workspace-tab span {text-align:start!important;flex:1 1 auto!important}
}

/* «Мои назначения» (owner, 20 Nov 2026): an inset group per object, no card inside the window. */
html[data-theme] .account .nav-assignment-group {margin-block-end:var(--ui-space-4)}
html[data-theme] .account .nav-assignment-row {display:flex!important;align-items:center;min-block-size:var(--ui-hit);padding-block:var(--ui-space-2)!important}
html[data-theme] .account .nav-assignment-row .ui-row-copy {display:grid;gap:2px}
html[data-theme] .account .nav-assignment-row strong {font-size:var(--ui-body);font-weight:400;color:var(--glass-ink)}
html[data-theme] .account .nav-assignment-row small {font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .nav-assignment-actions ul {margin:0 0 var(--ui-space-3);padding-inline-start:1.25rem;color:var(--glass-muted);font-size:var(--ui-subheadline)}
/* «Смена идёт» (owner, 20 Nov 2026): the accessory is swiped away sideways (touch-action keeps vertical scrolling); the
   current shift also heads «Уведомления» as one inset row with the same Приход/Уход action. */
html[data-theme] .account .dock-accessory {touch-action:pan-y}
html[data-theme] .account .shift-notice {margin-block-end:var(--ui-space-4)}
html[data-theme] .account .shift-notice-row {display:flex!important;align-items:center;gap:var(--ui-space-3);padding-block:var(--ui-space-2)!important}
html[data-theme] .account .shift-notice-main {flex:1;min-inline-size:0;display:flex;align-items:center;gap:var(--ui-space-3);min-block-size:var(--ui-hit);padding:0;border:0;background:none;color:var(--glass-ink);text-align:start;font:inherit}
html[data-theme] .account .shift-notice-main .ui-row-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .shift-notice-main strong {font-size:var(--ui-body);font-weight:600}
html[data-theme] .account .shift-notice-main small {font-size:var(--ui-subheadline);color:var(--glass-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* «Рабочий центр» / «Управление системой» on the home screen (owner, 20 Nov 2026): one inset group of rows, as «Мои дела». */
html[data-theme] .account .navigation-shortcuts {margin-block:var(--ui-space-3)}
/* Home section headings (owner, 20 Nov 2026): the title stays on one line next to its count and «Все». */
html[data-theme] .account .overview-section-heading {display:flex;align-items:center;gap:var(--ui-space-3)}
html[data-theme] .account .overview-section-heading > h2 {flex:1;min-inline-size:0;white-space:nowrap}

html[data-theme] .account .overview-section-heading > .ghostbtn {flex:none;white-space:nowrap}
/* Header profile button (owner, 20 Nov 2026): Safari resolved the avatar's 100 % height inside the <button> grid
   differently and drew an oval in the circle; the avatar is now pinned 3 px inside the button on all four sides,
   with no percentage size, so it is always the same circle. */
html[data-theme] .account .profile-control {position:relative}
html[data-theme] .account .workspace-tools > .profile-control > .identity-avatar,html[data-theme] .account .profile-control > .identity-avatar {position:absolute!important;inset:3px!important;inline-size:auto!important;block-size:auto!important;width:auto!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;border-radius:50%!important;place-self:stretch!important}
/* Objects in search results show the object's cover (or brand initials) like «Недавно открытые», not a pushpin. */
html[data-theme] .account .search-result > .search-object-art {flex:0 0 2.5rem!important;inline-size:2.5rem!important;block-size:2.5rem!important;min-inline-size:2.5rem!important;border-radius:var(--ui-space-3)!important;border:0!important}
html[data-theme] .account .search-result > .search-object-art img {display:block;inline-size:100%!important;block-size:100%!important;object-fit:cover}
/* «Маршрут» is a tinted action (accent label and glyph on a soft accent fill), as Maps directions; «Приход» stays neutral. */
html[data-theme] .account .my-shift-actions > .my-shift-route {background:color-mix(in srgb,var(--workspace-accent) 13%,transparent)!important;border-color:transparent!important;box-shadow:none!important;color:var(--workspace-accent)!important;font-weight:600}
html[data-theme] .account .my-shift-actions > .my-shift-route .ui-icon {color:currentColor}
/* ── uiList: the iOS inset grouped list for dishes, products and stop-list positions (owner, 20 Nov 2026) ── */
html[data-theme] .account .ui-list {display:grid;margin:0 0 var(--ui-space-4);padding:0!important;border:0!important;border-radius:var(--ui-group-radius,var(--ui-radius))!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;overflow:hidden}
html[data-theme] .account .ui-list-header {float:none;display:flex;align-items:center;gap:6px;margin:var(--ui-space-2) 0 6px!important}
html[data-theme] .account .ui-list-header[data-tone]::before {content:"";inline-size:0.5rem;block-size:0.5rem;border-radius:50%;background:var(--glass-muted)}
html[data-theme] .account .ui-list-header[data-tone="attention"]::before {background:var(--ui-status-attention)}
html[data-theme] .account .ui-list-header[data-tone="info"]::before {background:var(--workspace-accent)}
html[data-theme] .account .ui-list-row {position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:2.75rem;margin:0!important;padding:0.6875rem var(--ui-space-4)!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;text-align:start;font:inherit}
html[data-theme] .account .ui-list-row + .ui-list-row::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .ui-list-row:active {background:color-mix(in srgb,var(--glass-ink) 8%,transparent)!important}
html[data-theme] .account .ui-list-row:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}
html[data-theme] .account .ui-list-row > .ui-row-copy {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .ui-list-row > .ui-row-copy > strong {font-size:var(--ui-body);font-weight:400;line-height:1.3}
html[data-theme] .account .ui-list-row > .ui-row-copy > small {display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--glass-muted);font-size:var(--ui-footnote);line-height:1.3}
html[data-theme] .account .ui-list-value {color:var(--glass-muted);font-size:var(--ui-body);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .account .ui-list-value[data-tone="attention"] {color:var(--ui-status-attention)}
html[data-theme] .account .ui-list-value[data-tone="strong"] {color:var(--glass-ink);font-weight:500}
html[data-theme] .account .ui-list-row > .ui-icon[data-icon="chevron"] {inline-size:0.875rem;block-size:0.875rem;color:var(--glass-muted);opacity:.7}
html[data-theme] .account .ui-list-row.is-off > .ui-row-copy > strong {color:var(--glass-muted)}
html[data-theme] .account .ui-list-row[disabled] {opacity:.55}
/* Search and «＋» share one line in the catalogue and stock toolbars, as in the stop-list. */
html[data-theme] .account .hospitality-toolbar {display:flex!important;flex-wrap:nowrap!important;gap:var(--ui-space-2)}
html[data-theme] .account .hospitality-toolbar > .ui-search {flex:1 1 auto;min-inline-size:0}
html[data-theme] .account .hospitality-toolbar > .dsg-add {flex:none}
html[data-theme] .account .menu-book-tabs {margin-block-end:var(--ui-space-3)}
/* The weekly pulse in steps (owner, 20 Nov 2026): the chosen mark stays lit, the next question and the comment follow. */
html[data-theme] .account .pulse-step {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .pulse-step + .pulse-step {padding-block-start:var(--ui-space-3);border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .pulse-scale > button[aria-pressed="true"] {background:var(--workspace-accent)!important;color:#fff!important;font-weight:600}
html[data-theme] .account .pulse-comment {display:grid;gap:6px;padding-block-start:var(--ui-space-3);border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .pulse-comment > span {font-size:var(--ui-headline);font-weight:600;color:var(--glass-ink)}
html[data-theme] .account .pulse-comment textarea {inline-size:100%;min-block-size:5.5rem;box-sizing:border-box;padding:var(--ui-space-3);border:0;border-radius:var(--ui-radius);background:var(--ui-track);color:var(--glass-ink);font:inherit;font-size:max(1rem,var(--ui-body));line-height:1.35;resize:vertical}
html[data-theme] .account .pulse-comment textarea:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:1px}
html[data-theme] .account .pulse-actions {display:flex;justify-content:flex-end}
html[data-theme] .account .pulse-actions > .primarybtn {background:var(--workspace-accent)!important;color:#fff!important}
html[data-theme] .account .pulse-scores {display:flex;flex-wrap:wrap;gap:var(--ui-space-3);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .pulse-scores > span {display:inline-flex;align-items:center;gap:6px}
html[data-theme] .account .pulse-comments {display:grid;gap:var(--ui-space-2);margin:0;padding:0;list-style:none}
html[data-theme] .account .pulse-comments > li {display:grid;gap:2px;padding:var(--ui-space-2) var(--ui-space-3);border-radius:var(--ui-radius);background:var(--ui-track)}
html[data-theme] .account .pulse-comments p {margin:0;font-size:var(--ui-subheadline);line-height:1.35;color:var(--glass-ink);overflow-wrap:anywhere}
html[data-theme] .account .pulse-comments small {font-size:var(--ui-caption);color:var(--glass-muted)}
html[data-theme] .account .pulse-more > summary {cursor:pointer;color:var(--workspace-accent);font-size:var(--ui-footnote)}
html[data-theme] .account .pulse-more[open] > summary {margin-block-end:var(--ui-space-2)}
html[data-theme=dark] .account :is(.pulse-scale > button[aria-pressed="true"],.pulse-actions > .primarybtn) {background:color-mix(in srgb,var(--workspace-accent) 76%,#000)!important}
html[data-theme] .account .ui-list-row.is-static:active {background:none!important}
html[data-theme] .account a.ui-list-row {text-decoration:none}
html[data-theme] .account .my-shift-route-row > .ui-icon {inline-size:1.25rem;block-size:1.25rem;color:var(--workspace-accent)}
html[data-theme] .account .my-shift-route-row strong {color:var(--workspace-accent)}
html[data-theme] .account .my-shift-sheet {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .my-shift-sheet > .ui-inset-group {margin-block-end:var(--ui-space-2)}
/* Profile (owner, 20 Nov 2026: «слишком много места занимает подпись, доработай отступы»): an iOS Settings rhythm —
   two-line rows of about 56 pt, a 32 pt glyph, section titles close to their group, and the app credit as two
   centred caption lines under the last group instead of a block with rules and capitals. */
html[data-theme] .account .profile-group > h2 {margin:var(--ui-space-5) var(--ui-space-4) 6px!important}
html[data-theme] .account .profile-row {padding:0.625rem 0!important;gap:var(--ui-space-3)}
html[data-theme] .account .profile-row > .ui-icon:first-child {padding:6px!important;inline-size:1.25rem!important;block-size:1.25rem!important}
html[data-theme] .account .profile-row strong {font-size:var(--ui-body)!important;line-height:1.25}
html[data-theme] .account .profile-row small {font-size:var(--ui-footnote)!important}
html[data-theme] .account .profile-group + .profile-group:has(> .theme-row) {margin-block-start:var(--ui-space-4)}
/* The app credit (owner, 20 Nov 2026): two short groups as an Apple «about» footer — the name over its version, a short
   hairline, the author over the copyright — centred captions with 10 px around the rule, nothing run together. */
html[data-theme] .account .profile-app-about {display:grid;justify-items:center;gap:4px;margin:var(--ui-space-5) 0 var(--ui-space-2)!important;padding:0!important;border:0!important;background:none!important;text-align:center}
html[data-theme] .account .profile-app-about > .app-about-name {font-size:var(--ui-footnote)!important;font-weight:600;color:var(--glass-ink)!important}
html[data-theme] .account .profile-app-about > .app-about-rule {justify-self:stretch;inline-size:auto;block-size:0;margin:var(--ui-space-4) 0;border:0;border-block-start:1px solid var(--workspace-line,var(--ui-divider))}
html[data-theme] .account .profile-app-about > p {margin:0!important;max-inline-size:none!important;font-size:var(--ui-caption,0.75rem)!important;line-height:1.45!important;color:var(--glass-muted)}
html[data-theme] .account .profile-app-about strong {font-weight:600;color:var(--glass-ink)}
/* The theme row never pushes its segmented control off the group: the label gives way first, and with large text the
   control wraps under the label instead of being clipped. */
html[data-theme] .account .theme-row {flex-wrap:wrap;row-gap:var(--ui-space-2);overflow:hidden}


html[data-theme] .account .theme-picker {flex:none;margin-inline-start:auto}
html[data-theme] .account .theme-choice {padding:0 .625rem!important}
/* «Оформление» is a section title like the others, and its three choices share the full width of the group. */
html[data-theme] .account .theme-row {display:block;min-block-size:0;padding:var(--ui-space-2)!important}
html[data-theme] .account .theme-row > .theme-picker {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));inline-size:100%;margin:0}
html[data-theme] .account .theme-row .theme-choice {min-block-size:2.25rem;font-size:var(--ui-subheadline)!important}
/* Liquid Glass belongs to navigation and toolbar controls (owner, 20 Nov 2026: «стеклянные кнопки в ненужных местах»).
   Buttons inside content and sheets are plain iOS buttons: a quiet grey fill for secondary actions, a solid fill for
   the primary one — no reflection, rim, border or shadow. Header and toolbar controls keep .glass-control. */
html[data-theme] .account :is(.workspace-content,.sheet-body) .ghostbtn:not(.glass-control,.my-shift-route,[data-scan-attendance]) {background:color-mix(in srgb,var(--glass-ink) 8%,transparent)!important;border:0!important;box-shadow:none!important;color:var(--glass-ink)!important;font-weight:500}
html[data-theme] .account :is(.workspace-content,.sheet-body) .ghostbtn:not(.glass-control,.my-shift-route,[data-scan-attendance]):active:not(:disabled) {background:color-mix(in srgb,var(--glass-ink) 14%,transparent)!important}
html[data-theme] .account :is(.workspace-content,.sheet-body) .primarybtn {background:var(--glass-ink)!important;border:0!important;box-shadow:none!important}
/* «Моя смена»: «Приход»/«Уход» is the action of the card — filled in the DSG action colour, as in the «Смена идёт»
   accessory; «Маршрут» is tinted; «Опаздываю» stays grey. */
html[data-theme] .account .my-shift-actions > [data-scan-attendance] {background:var(--workspace-accent)!important;border:0!important;box-shadow:none!important;color:#fff!important;font-weight:600}
html[data-theme=dark] .account .my-shift-actions > [data-scan-attendance] {background:color-mix(in srgb,var(--workspace-accent) 76%,#000)!important}
/* The section bar of the menu (owner, 20 Nov 2026): one grey capsule group — ‹ step, the section name with its count
   that opens the popup list, › step — the same in the waiter's menu, the restaurant menu and the catalogue. */
html[data-theme] .account .waiter-section-bar {grid-template-columns:2.75rem minmax(0,1fr) 2.75rem;align-items:stretch;gap:2px;border-radius:var(--ui-radius)}
html[data-theme] .account .waiter-section-bar > button {display:flex;align-items:center;justify-content:center;min-block-size:2.75rem;margin:0;padding:0;border:0!important;border-radius:calc(var(--ui-radius) - 2px)!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important}
html[data-theme] .account .waiter-section-bar > button:active:not(:disabled) {background:color-mix(in srgb,var(--glass-ink) 10%,transparent)!important}
html[data-theme] .account .waiter-section-bar > button:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:-2px}



html[data-theme] .account .waiter-section-menu {gap:var(--ui-space-2);padding:0 var(--ui-space-3)!important;background:var(--dsg-content-fill)!important}
html[data-theme] .account .waiter-section-menu > span {display:grid;justify-items:center;min-inline-size:0;line-height:1.2}
html[data-theme] .account .waiter-section-menu strong {overflow:hidden;max-inline-size:100%;font-size:var(--ui-body);font-weight:600;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .waiter-section-menu small {font-size:var(--ui-caption);color:var(--glass-muted)}
html[data-theme] .account .waiter-section-menu > .ui-icon {flex:none;inline-size:1rem;block-size:1rem;color:var(--glass-muted)}
/* Dish rows are one solid grouped list everywhere — never glass, also over a photo background. */
html[data-theme] .account .waiter-list {background:var(--dsg-content-fill)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:0!important;border-radius:var(--ui-group-radius,var(--ui-radius))!important;overflow:hidden}
/* The guest picker of a table reads like every segmented control (owner, 20 Nov 2026: one style for the menu): a grey
   track, the chosen guest a raised segment; «＋» adds a guest; «N подача» stays a tinted action. */
html[data-theme] .account .waiter-seats {gap:2px;padding:2px;border-radius:999px;background:color-mix(in srgb,var(--glass-ink) 8%,transparent)}
html[data-theme] .account .waiter-seat {min-block-size:2.5rem!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--glass-ink)!important;font-weight:500}
html[data-theme] .account .waiter-seat[aria-pressed="true"] {background:var(--dsg-segment-selected,var(--workspace-card,#fff))!important;box-shadow:0 1px 3px rgba(0,0,0,.16)!important;color:var(--glass-ink)!important;font-weight:600}
html[data-theme=dark] .account .waiter-seat[aria-pressed="true"] {background:#3a3a3f!important}
html[data-theme] .account .waiter-seat.is-add {color:var(--workspace-accent)!important}
html[data-theme] .account .waiter-course {min-block-size:2.75rem;border:0!important}
html[data-theme] .account .search-result > .search-result-value {flex:none;margin-inline-start:auto;color:var(--glass-muted);font-size:var(--ui-subheadline);font-variant-numeric:tabular-nums;white-space:nowrap}
/* Service timing (owner, 20 Nov 2026): guests waiting for a waiter and dishes ready to carry out light up like an
   unsent table; past three minutes of waiting the tile breathes. */
html[data-theme] .account .waiter-tile:is([data-state="waiting"],[data-state="waiting-late"],[data-state="ready"]) {--tile-tone:var(--ui-status-attention);background:color-mix(in srgb,var(--tile-tone) 10%,var(--dsg-content-fill))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tile-tone) 38%,transparent)!important}
html[data-theme] .account .waiter-tile[data-state="waiting"] {--tile-tone:var(--workspace-accent)}
html[data-theme] .account .waiter-tile[data-state="served"] {--tile-tone:var(--glass-muted)}
html[data-theme] .account .waiter-tile:is([data-state="waiting-late"],[data-state="ready"]) {animation:waiter-tile-breathe 2.4s ease-in-out infinite}
html[data-theme] .account .waiter-tile[data-state="waiting"]::before {background:var(--workspace-accent)}
html[data-theme] .account .waiter-tile:is([data-state="waiting-late"],[data-state="ready"])::before {background:var(--ui-status-attention)}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .waiter-tile:is([data-state="waiting-late"],[data-state="ready"]) {animation:none}}
html[data-theme] .account div.waiter-tile {cursor:default}
html[data-theme] .account .waiter-fire.is-ready {background:var(--ui-status-attention)!important;color:#fff!important}
html[data-theme=dark] .account .waiter-fire.is-ready {color:#1c1300!important}
/* The kitchen screen: one group per table, each dish with its time at the kitchen and one action. */
html[data-theme] .account .kitchen-line {grid-template-columns:minmax(0,1fr) auto auto!important}
html[data-theme] .account .kitchen-line[data-state="ready"] > .ui-row-copy > strong {color:var(--glass-muted)}
html[data-theme] .account .kitchen-all {display:flex;justify-content:flex-end;margin:-6px 0 var(--ui-space-4)}
html[data-theme] .account .control-center .cc-tiles.service-tiles {grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-theme] .account .service-tiles .cc-tile[data-tone="positive"] > strong {color:var(--ui-status-positive)}
html[data-theme] .account .service-tiles .cc-tile[data-tone="attention"] > strong {color:var(--ui-status-attention)}
html[data-theme] .account .pulse-bars.service-trend {grid-template-columns:repeat(7,minmax(0,1fr));margin-block-end:var(--ui-space-4)}
/* The dish card page (owner, 20 Nov 2026): a detail page — photo, name, price, facts, composition, allergens. */
html[data-theme] .account .dish-card {display:grid;gap:var(--ui-space-2)}


html[data-theme] .account .dish-card-head {display:grid;gap:2px;margin:0 var(--ui-space-1) var(--ui-space-2)}
html[data-theme] .account .dish-card-head h2 {margin:0;font-size:var(--ui-title2,1.375rem);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
html[data-theme] .account .dish-card-head p {margin:0;color:var(--glass-muted);font-size:var(--ui-subheadline)}
html[data-theme] .account .dish-card-price {margin-block-start:var(--ui-space-1);font-size:var(--ui-title3,1.25rem);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] .account .dish-card-price s {color:var(--glass-muted);font-weight:400}
html[data-theme] .account .dish-card-text > p {margin:0;padding:var(--ui-space-3) var(--ui-space-4);font-size:var(--ui-body);line-height:1.4}
html[data-theme] .account .dish-missing {color:var(--glass-muted)}
html[data-theme] .account .dish-state.is-stopped {color:var(--ui-status-attention)}
html[data-theme] .account .dish-state.is-on {color:var(--ui-status-positive)}
html[data-theme] .account .dish-promo {display:grid!important;gap:2px}
html[data-theme] .account .dish-promo small {color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .dish-card-allergens {padding:0 var(--ui-space-1)}
/* The hall (owner, 20 Nov 2026): table numbers to tap in «Открыть стол»; «Добавить столы» rows in the plan. */
html[data-theme] .account .table-picker {display:grid;gap:4px;margin-block-end:var(--ui-space-3)}
html[data-theme] .account .table-chips {display:grid;grid-template-columns:repeat(auto-fill,minmax(3.5rem,1fr));gap:var(--ui-space-2);margin-block-end:var(--ui-space-2)}
html[data-theme] .account .table-chip {display:grid;justify-items:center;gap:0;min-block-size:3.25rem;margin:0;padding:6px 4px!important;border:0!important;border-radius:var(--ui-radius)!important;background:var(--dsg-content-fill)!important;box-shadow:none!important;color:var(--glass-ink)!important}
html[data-theme] .account .table-chip strong {font-size:var(--ui-headline);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] .account .table-chip small {font-size:var(--ui-caption);color:var(--glass-muted)}
html[data-theme] .account .table-chip[aria-pressed="true"] {background:var(--workspace-accent)!important;color:#fff!important}
html[data-theme] .account .table-chip[aria-pressed="true"] small {color:rgb(255 255 255 / .8)}
html[data-theme] .account .table-chip:disabled {opacity:.45}
html[data-theme] .account .table-chip:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .ui-list-row.is-add > .ui-row-copy > strong {color:var(--workspace-accent)}
html[data-theme] .account .work-zone-places {display:grid;gap:4px}
html[data-theme] .account .work-zone-places > .work-zone-place {margin:0;min-block-size:0}
html[data-theme] .account .floor-staff-row {display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center}
/* «О разделе» (owner, 20 Nov 2026): a quiet ⓘ row at the end of a page or window; the help opens in the alert. */
html[data-theme] .account .section-help, html[data-theme] .native-sheet .section-help {display:flex;justify-content:center;margin:var(--ui-space-5) 0 var(--ui-space-2)}
html[data-theme] .section-help-button {display:inline-flex;align-items:center;gap:6px;min-block-size:var(--ui-hit,44px);padding:0 var(--ui-space-3)!important;border:0!important;border-radius:999px;background:none!important;box-shadow:none!important;color:var(--glass-muted)!important;font-size:var(--ui-footnote)!important;font-weight:400}
html[data-theme] .section-help-button .ui-icon {inline-size:1.0625rem;block-size:1.0625rem}
html[data-theme] .section-help-button:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .dsg-confirmation.is-help {inline-size:min(calc(100% - 48px),20rem)!important;width:min(calc(100% - 48px),20rem)!important}
html[data-theme] .dsg-confirmation.is-help .confirmation-help {max-block-size:min(60vh,26rem);overflow-y:auto;margin:var(--ui-space-2) .25rem 0;text-align:start;overscroll-behavior:contain}
html[data-theme] .dsg-confirmation.is-help .confirmation-help > p {margin:0 0 var(--ui-space-2)!important;font-size:var(--ui-subheadline,.9375rem)!important;line-height:1.4;color:var(--glass-ink);text-align:start}
html[data-theme] .dsg-confirmation.is-help .confirmation-help > h3 {margin:var(--ui-space-3) 0 var(--ui-space-1);font-size:var(--ui-footnote,.8125rem);font-weight:600;color:var(--glass-muted)}
html[data-theme] .dsg-confirmation.is-help .confirmation-help > ul {margin:0 0 var(--ui-space-2);padding-inline-start:1.1rem;display:grid;gap:4px}
html[data-theme] .dsg-confirmation.is-help .confirmation-help > ul > li {font-size:var(--ui-subheadline,.9375rem);line-height:1.35;color:var(--glass-ink)}
html[data-theme] .dsg-confirmation.is-help .confirmation-help > :last-child {margin-block-end:0!important}
/* A chosen value is data, not an action (owner, 20 Nov 2026: «нужен ли этот цвет у должности?»): menus and pickers show
   it in the secondary label colour, as iOS Settings and Contacts do; the tint stays for actions such as «Добавить телефон». */
html[data-theme] :is(.account,.native-sheet) .ui-inset-row:is(.is-menu,.is-picker) :is(select,summary,[data-job-label]) {color:var(--glass-muted)!important}
/* One Delete in windows (owner, 20 Nov 2026): its own rounded group at the end, the verb in red, a full-width button with
   the row's pressed highlight — as «Удалить контакт» in iOS Contacts. */
html[data-theme] .account .ui-delete-group {margin-block-start:var(--ui-space-5)!important}
html[data-theme] .account :is(.ui-delete-group,.ui-action-group) > .ui-action-row.is-destructive {justify-content:flex-start;font-size:var(--ui-body)!important;font-weight:400;cursor:pointer;transition:background-color .15s ease}
html[data-theme] .account :is(.ui-delete-group,.ui-action-group) > .ui-action-row:active {background:color-mix(in srgb,var(--glass-ink) 10%,transparent)!important}
html[data-theme] .account :is(.ui-delete-group,.ui-action-group) > .ui-action-row:disabled {opacity:.4;cursor:default}
/* ⊖ → «Удалить» as in iOS 26 Contacts (owner's screenshots, 20 Nov 2026): the row lifts out of its group as its own
   rounded plate and slides left; a separate red capsule «Удалить» slides in beside it with its label, inset from the
   edge. The group's fill lives on its rows so the gap behind the plate shows the window, not the group. */
html[data-theme] .account .ui-inset-group.phone-edit-group {background:none!important}
html[data-theme] .account .phone-edit-group > :is(.phone-edit-row,.phone-add) {background:var(--dsg-content-fill,var(--glass-card))!important}
html[data-theme] .account .ui-inset-group .phone-edit-row {position:relative;overflow:hidden;min-block-size:3.25rem;--row-shift:calc(5.75rem + 2 * .625rem)}
html[data-theme] .account .phone-edit-row > :not(.row-delete,.row-fill) {position:relative;z-index:1;transition:transform .34s cubic-bezier(.32,.72,0,1)}
html[data-theme] .account .phone-edit-row.is-deleting {background:none!important}
html[data-theme] .account .phone-edit-row.is-deleting > :not(.row-delete,.row-fill) {transform:translateX(calc(-1 * var(--row-shift)))}
html[data-theme] .account .phone-edit-row > .row-fill {position:absolute;inset:0;z-index:0;background:var(--dsg-content-fill,var(--glass-card));border-start-end-radius:var(--ui-radius);border-end-end-radius:var(--ui-radius);transition:transform .34s cubic-bezier(.32,.72,0,1)}
html[data-theme] .account .phone-edit-row.is-deleting > .row-fill {transform:translateX(calc(-1 * var(--row-shift)))}
html[data-theme] .account .phone-edit-row .phone-mark.is-remove > .ui-icon {transition:transform .34s cubic-bezier(.32,.72,0,1)}
html[data-theme] .account .phone-edit-row.is-deleting .phone-mark.is-remove > .ui-icon {transform:rotate(90deg)}
html[data-theme] .account .phone-edit-row > .row-delete {position:absolute;z-index:3;inset-block:.4375rem;inset-inline-end:.625rem;inline-size:5.75rem;display:grid;place-items:center;margin:0;padding:0!important;border:0!important;border-radius:999px!important;background:var(--ui-danger-fill)!important;box-shadow:none!important;color:#fff!important;font-size:var(--ui-callout,1rem)!important;font-weight:500;transform:translateX(calc(100% + 1.25rem));transition:transform .34s cubic-bezier(.32,.72,0,1)}
html[data-theme] .account .phone-edit-row.is-deleting > .row-delete {transform:none}
html[data-theme] .account .phone-edit-row > .row-delete:active {filter:brightness(.88)}
html[data-theme] .account .phone-edit-row > .row-delete:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .phone-edit-row.is-collapsing {transition:block-size .24s ease,opacity .2s ease;opacity:0;min-block-size:0!important;padding-block:0!important}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .phone-edit-row > *,html[data-theme] .account .phone-edit-row.is-collapsing {transition:none!important}}
/* The swipe button slides in whole (owner, 20 Nov 2026: «текст не отдельно анимируется, а общая кнопка выезжает»): each
   capsule has its final width from the first frame and rides the row's edge, so its glyph and label move with it; the
   container only clips what is not yet revealed. The glass separating from the group stays as it was. */
html[data-theme] .account .swipe-actions {justify-content:flex-start}
html[data-theme] .account .swipe-actions > :is(button,a) {flex:0 0 calc((var(--swipe-width,84px) - var(--ui-space-2) * var(--swipe-count,1)) / var(--swipe-count,1))!important;opacity:1!important}
html[data-theme] .account .swipe-actions > :is(button,a) > :is(span,.ui-icon) {opacity:1!important;transition:none!important}
/* A filled destructive button (white label on red, contrast ≥ 4.5:1): the swipe Delete and the ⊖ «Удалить». The text red
   (--ui-danger) stays for red labels on light fills. */
html[data-theme] {--ui-danger-fill:#d0303a}
html[data-theme="dark"] {--ui-danger-fill:#d93a40}
/* Delete revealed by a swipe is the same red button as the one ⊖ reveals: red fill, white glyph and label; the other
   actions keep the glass of the row they come from. */
html[data-theme] .account .swipe-actions > :is(button,a):is(.context-danger,.is-destructive,[data-purge-kind]) {background:var(--ui-danger-fill)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;color:#fff!important}
html[data-theme] .account .swipe-actions > :is(button,a):is(.context-danger,.is-destructive,[data-purge-kind]):active {filter:brightness(.88)}
/* Swipe in grouped lists (owner, 20 Nov 2026: «блок отъезжает целиком со своим закруглением, а сзади кнопок — общий
   фон»): the group's fill lives on its rows, so a swiped row leaves as its own plate with rounded trailing corners and
   the window shows behind the buttons; the buttons take the row's fill in their own capsule shape and grow out of the
   plate's edge as the swipe goes (scale and corner radius follow the reveal), so one shape seems to part into several. */
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) {background:none!important;box-shadow:none!important}
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) > :not(.swipe-shell,.ui-team-group),
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .ui-team-group > summary,
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .ui-team-group-rows > :not(.swipe-shell),
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell > .swipe-item {background:var(--dsg-content-fill)!important}
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell > .swipe-item {transition:transform 320ms cubic-bezier(.2,.9,.25,1.12),border-radius 220ms ease}
html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell:is(.is-dragging,.is-revealed) > .swipe-item {border-start-end-radius:var(--ui-group-radius)!important;border-end-end-radius:var(--ui-group-radius)!important}
html[data-theme] .account .swipe-actions > :is(button,a) {transform-origin:left center;transform:scale(calc(.7 + .3 * var(--swipe-p,1)))!important;transition:transform 320ms cubic-bezier(.2,.9,.25,1.12)!important}
html[data-theme] .account .swipe-shell.is-dragging > .swipe-actions > :is(button,a) {transition:none!important}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .swipe-actions > :is(button,a) {transform:none!important}}
/* Restaurant phones keep the card's rhythm (owner, 20 Nov 2026): a number sits under «Телефон ресторана» as close as
   any value under its label; the 44 pt tap area overlaps the padding instead of pushing the first and last number. */
html[data-theme] .account .card-information .ui-phone-link:first-of-type {margin-block-start:calc((var(--ui-hit) - 1.5em) / -2)}
html[data-theme] .account .card-information .ui-phone-link:last-of-type {margin-block-end:calc((var(--ui-hit) - 1.5em) / -2)}
html[data-theme] .account .card-information .ui-phone-link + .ui-phone-link {margin-block-start:-7px;border-block-start:1px solid var(--ui-divider)}
/* A row slid aside never pushes its text into the very edge (owner, 20 Nov 2026): the text fades out at the row's own
   inset, as iOS masks a swiped cell's content, while the plate itself runs on to the group's edge. A short gradient of
   the row's fill sits over the leading inset only while the row is open or moving. */
html[data-theme] {--row-solid:#ffffff}
html[data-theme="dark"] {--row-solid:#202024}
html[data-theme] .account .phone-edit-row.is-deleting > .row-fill,html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell:is(.is-dragging,.is-revealed) > .swipe-item {background:var(--row-solid)!important}
html[data-theme] .account .phone-edit-row::after,html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell::after {content:"";position:absolute;z-index:2;inset-block:0;inset-inline-start:0;inline-size:calc(var(--ui-space-4) + 1.25rem);background:linear-gradient(to right,var(--row-solid) 0,var(--row-solid) var(--ui-space-4),transparent);opacity:0;pointer-events:none;transition:opacity .2s ease}
html[data-theme] .account .phone-edit-row.is-deleting::after,html[data-theme] .account .native-sheet :is(.object-team-list,.restaurant-posts) .swipe-shell:is(.is-dragging,.is-revealed)::after {opacity:1}
/* A window left under a page (owner, 21 Nov 2026): it stays where it was, solid, over the dimmed screen, so the back swipe
   uncovers it rather than the home screen. */
html[data-theme] .account .native-sheet.window-underlay[open][inert]:not([data-presentation="page"]):not([data-extended="true"]), html[data-theme] .account .native-sheet.window-underlay[open][inert][data-extended="true"] {z-index:30!important;display:flex;flex-direction:column;background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:0 0 0 100vmax rgb(0 0 0 / .45)!important}
html[data-theme] .account .native-sheet.window-underlay > .sheet-body {flex:1;min-block-size:0}
/* Windows (owner, 21 Nov 2026: «убери боковой эффект стекла, сохрани прозрачность»): the body keeps its translucent
   material and the see-through header, without the glass rim along its edges or a line at the bottom; glass stays on the
   round controls and the segmented controls only.
   «Мой профиль» opens at a medium height, a little over half the screen, and a pull up takes it to the large height,
   still translucent (iOS sheet detents .medium and .large). */
@media (max-width:799px){
 html[data-theme] .account .native-sheet[open][data-sheet="profile"]:not([data-extended="true"]) {block-size:70dvh!important;max-block-size:70dvh!important}
 html[data-theme] .account .native-sheet[open][data-sheet="profile"][data-extended="true"] {inset:auto 0 0 0!important;block-size:calc(100dvh - max(20px,env(safe-area-inset-top,0px)) - 10px)!important;height:calc(100dvh - max(20px,env(safe-area-inset-top,0px)) - 10px)!important;max-block-size:none!important;border-radius:34px 34px 0 0!important;background:color-mix(in srgb,var(--glass-modal) 74%,transparent)!important;backdrop-filter:blur(30px) saturate(1.8)!important;-webkit-backdrop-filter:blur(30px) saturate(1.8)!important;box-shadow:0 -8px 40px rgba(0,0,0,.18)!important}
 html[data-theme] .account .native-sheet[open][data-sheet="profile"] > .sheet-body {flex:1;min-block-size:0;overflow-y:auto}
}
/* A list still arriving shows quiet rows in place (owner, 21 Nov 2026), not a «Загрузка…» line that jumps to content. */
html[data-theme] .account .work-row-skeleton {display:grid;gap:8px;padding:14px var(--ui-space-4);min-block-size:4rem;align-content:center}
html[data-theme] .account .work-row-skeleton + .work-row-skeleton {border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .work-row-skeleton > i {display:block;block-size:.75rem;inline-size:62%;border-radius:6px;background:color-mix(in srgb,var(--glass-ink) 9%,transparent)}
html[data-theme] .account .work-row-skeleton > i + i {inline-size:38%;block-size:.625rem}
@media (prefers-reduced-motion:no-preference){html[data-theme] .account .work-row-skeleton > i {animation:dsg-skeleton 1.2s ease-in-out infinite alternate}@keyframes dsg-skeleton{to{opacity:.45}}}
/* One primary action (owner, 21 Nov 2026: «в разных окнах разные кнопки действия»): the main button of a page or window —
   «Включить камеру», «Приход», «Создать QR-код», «Сохранить черновик» — is the same tinted capsule everywhere (iOS
   .borderedProminent): the accent fill with a white label, 44 pt high; secondary buttons stay the plain grey capsule. */
html[data-theme] .account :is(.workspace-content,.sheet-body,.native-sheet) .primarybtn {background:var(--workspace-accent)!important;color:#fff!important;border:0!important;box-shadow:none!important;min-block-size:var(--ui-hit,44px);border-radius:999px!important;font-weight:600}
html[data-theme] .account :is(.workspace-content,.sheet-body,.native-sheet) .primarybtn:disabled {opacity:.45}
html[data-theme] .account :is(.workspace-content,.sheet-body,.native-sheet) .primarybtn:active {filter:brightness(.9)}
/* The initials of an object without a cover sit in the middle of their square (owner, 21 Nov 2026). */
html[data-theme] .account .recent-object-art {display:grid!important;place-items:center!important;line-height:1!important;padding:0!important}
html[data-theme] .account .recent-object-art > span {display:block;line-height:1;text-align:center}
/* Search results as one list (owner, 21 Nov 2026: «выглядит как окно в окне»): the panel is the only surface; sections
   are small headers and each result a flat row split by a hairline — no card, border or fill of its own. The «nothing
   found» line is plain text in the panel. */
html[data-theme] .account .header-search #workspace-search-results {padding:var(--ui-space-2) 0!important;border:0!important;border-radius:var(--ui-group-radius,22px)!important}
html[data-theme] .account .header-search #workspace-search-results .search-group-title {margin:var(--ui-space-2) var(--ui-space-4) var(--ui-space-1)!important;font-size:var(--ui-footnote)!important;font-weight:400!important;color:var(--glass-muted)!important}
html[data-theme] .account .header-search #workspace-search-results .search-result-list {display:grid;gap:0!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-theme] .account .header-search #workspace-search-results .search-result {position:relative;margin:0!important;padding:10px var(--ui-space-4)!important;min-block-size:3.25rem;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme] .account .header-search #workspace-search-results .search-result + .search-result::before {content:"";position:absolute;inset-block-start:0;inset-inline:calc(var(--ui-space-4) + 2.5rem + 12px) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .header-search #workspace-search-results .search-result:active {background:color-mix(in srgb,var(--glass-ink) 8%,transparent)!important}
html[data-theme] .account .header-search #workspace-search-results :is(.search-hint,.search-empty) {margin:var(--ui-space-3) var(--ui-space-4)!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--glass-muted);font-size:var(--ui-subheadline)}

/* QR arrival (owner, 21 Nov 2026: the empty black box and the white button). A square viewfinder with corner marks: idle it shows the QR
   glyph and «Камера выключена», live it shows the camera. One primary button under it, a footnote about who confirms. */
html[data-theme] .account .attendance-scan {display:grid;gap:var(--ui-space-3);justify-items:center;padding-block:var(--ui-space-2) var(--ui-space-4);text-align:center}

html[data-theme] .account .attendance-viewfinder {position:relative;inline-size:min(100%,300px);aspect-ratio:1;border-radius:28px;overflow:hidden;background:var(--ui-search-fill,var(--workspace-field))}
html[data-theme] .account .attendance-viewfinder .attendance-camera {position:absolute;inset:0;inline-size:100%;block-size:100%;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:0;background:#000;opacity:0;transition:opacity .25s ease}
html[data-theme] .account .attendance-viewfinder[data-live="true"] .attendance-camera {opacity:1}
html[data-theme] .account .attendance-idle {position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:var(--ui-space-2);color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .attendance-idle .ui-icon {inline-size:56px;block-size:56px;stroke-width:1.25}
html[data-theme] .account .attendance-viewfinder[data-live="true"] .attendance-idle {visibility:hidden}


html[data-theme] .account .attendance-scan .scanner-message {margin:0;font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .attendance-scan .scanner-message:empty {display:none}



html[data-theme] .account .attendance-scan-note {margin:0;max-inline-size:300px;font-size:var(--ui-footnote);color:var(--glass-muted)}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .attendance-viewfinder .attendance-camera {transition:none}}
/* Guard document photos (owner, 21 Nov 2026): a quiet form — direction segments, a strip of 3:4 thumbnails with a remove
   button, an add tile in the field fill, two inset rows and the shared primary button. */
html[data-theme] .account .doc-capture {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .doc-capture-place {margin:0 0 var(--ui-space-1);font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .doc-capture-photos {display:flex;flex-wrap:wrap;gap:10px;padding-inline:4px}
html[data-theme] .account :is(.doc-capture-photo,.doc-capture-add) {position:relative;inline-size:84px;block-size:112px;border-radius:14px;overflow:hidden;flex:none}
html[data-theme] .account .doc-capture-photo img {display:block;inline-size:100%;block-size:100%;object-fit:cover}
html[data-theme] .account .doc-capture-remove {position:absolute;inset-block-start:4px;inset-inline-end:4px;display:grid;place-items:center;inline-size:26px;block-size:26px;padding:0;border:0;border-radius:999px;background:rgb(0 0 0 / .55);color:#fff}
html[data-theme] .account .doc-capture-remove::after {content:"";position:absolute;inset:-9px}
html[data-theme] .account .doc-capture-remove .ui-icon {inline-size:14px;block-size:14px}
html[data-theme] .account .doc-capture-add {display:grid;place-content:center;justify-items:center;gap:6px;padding:6px;background:var(--ui-search-fill,var(--workspace-field));color:var(--workspace-accent);font-size:var(--ui-footnote);text-align:center;cursor:pointer}
html[data-theme] .account .doc-capture-add .ui-icon {inline-size:26px;block-size:26px}
html[data-theme] .account .doc-capture-add:focus-within {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .doc-capture-send {inline-size:100%;margin-block-start:var(--ui-space-2)}

/* «Зал сейчас» (owner, 21 Nov 2026): the manager's lead card reads the floor's state on a readable content surface; an
   urgent state tints the symbol orange. «Принять заказ» is the quiet ＋ beside «Столы зала». */
html[data-theme] .account .work-zone-now {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-3);inline-size:100%;min-block-size:4.25rem;margin:0;padding:var(--ui-space-3) var(--ui-space-4);border:0;border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink);text-align:start;box-shadow:none}
html[data-theme] .account .work-zone-now > span:not(.work-zone-now-symbol) {display:grid;gap:2px;min-inline-size:0}
html[data-theme] .account .work-zone-now strong {font-size:var(--ui-headline);font-weight:600;line-height:1.25}
html[data-theme] .account .work-zone-now small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .work-zone-now .work-zone-now-label {font-size:var(--ui-caption,12px);font-weight:600;letter-spacing:.02em;text-transform:none}
html[data-theme] .account .work-zone-now-symbol {display:grid;place-items:center;inline-size:2.5rem;block-size:2.5rem;border-radius:50%;background:color-mix(in srgb,var(--ui-status-positive) 16%,transparent);color:var(--ui-status-positive)}
html[data-theme] .account .work-zone-now[data-tone="attention"] .work-zone-now-symbol {background:color-mix(in srgb,var(--ui-status-attention) 16%,transparent);color:var(--ui-status-attention)}
html[data-theme] .account .work-zone-now .ui-icon {inline-size:1.25rem;block-size:1.25rem}
html[data-theme] .account .work-zone-now > .ui-icon:last-child {color:var(--glass-muted)}
html[data-theme] .account .work-zone-now:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:3px}
html[data-theme] .account .work-zone-now:active {transform:scale(.985)}
html[data-theme] .account .work-zone-heading-actions {display:inline-flex;align-items:center;gap:var(--ui-space-2)}
/* Flat lists in windows and pages (owner, 21 Nov 2026: «Да, везде», as the search results): a list inside a sheet has no
   card of its own — rows run edge to edge of the sheet's content with hairlines inset from the text, so a list is never a
   window inside the window. Forms keep their inset groups. */
html[data-theme] .account .native-sheet .ui-list {background:none!important;border-radius:0!important;overflow:visible;margin-inline:calc(-1 * var(--ui-space-4))!important;inline-size:auto}
html[data-theme] .account .native-sheet .ui-list > .ui-list-row {inline-size:auto;border-radius:0!important}
html[data-theme] .account .native-sheet .ui-list > .ui-list-row:last-child::after {content:"";position:absolute;inset-block-end:0;inset-inline:var(--ui-space-4) 0;border-block-end:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .ui-list > .ui-list-row:first-child::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .ui-content-group.warehouse-list {background:none!important;border-radius:0!important;box-shadow:none!important;margin-inline:calc(-1 * var(--ui-space-4))!important;padding:0!important}
html[data-theme] .account .native-sheet .ui-content-group.warehouse-list > li {position:relative;border:0!important;border-radius:0!important;background:none!important}
html[data-theme] .account .native-sheet .ui-content-group.warehouse-list > li::after {content:"";position:absolute;inset-block-end:0;inset-inline:var(--ui-space-4) 0;border-block-end:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .ui-content-group.warehouse-list > li:first-child::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .native-sheet .ui-content-group:is(.waiter-list,.hub-rows,.order-rows,.audit-rows) {background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible;margin-inline:calc(-1 * var(--ui-space-4))!important}
html[data-theme] .account .native-sheet .ui-content-group:is(.waiter-list,.hub-rows,.order-rows,.audit-rows) > * {border-radius:0!important}
html[data-theme] .account .native-sheet .ui-content-group:is(.waiter-list,.hub-rows,.order-rows,.audit-rows) {border-block:0.5px solid var(--ui-divider)!important}
/* The edge-to-edge run belongs to the phone, whose sheet has a 16 pt gutter. On iPad and Mac the sheet's content is a
   wider-guttered or centred column (audit, 21 Nov 2026): the list keeps to that column instead of sticking 16 pt out of it. */
@media (min-width:768px) {html[data-theme] .account .native-sheet :is(.ui-list,.ui-content-group.warehouse-list,.ui-content-group:is(.waiter-list,.hub-rows,.order-rows,.audit-rows)) {margin-inline:0!important}}
/* «Фиксация охраны» (owner, 21 Nov 2026): a strip of the guard's photographs, the facts as inset rows, the lines as a flat
   list, one «Ознакомлен». */
html[data-theme] .account .secdoc, html[data-theme] .account .secdocs {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .secdoc-photos {display:flex;gap:10px;overflow-x:auto;padding-block-end:2px;scroll-snap-type:x mandatory}
html[data-theme] .account .secdoc-photo {flex:none;inline-size:7.5rem;block-size:10rem;border-radius:14px;object-fit:cover;background:var(--ui-search-fill,var(--workspace-field));scroll-snap-align:start}
html[data-theme] .account .secdoc-row > span:last-child {margin-inline-start:auto;text-align:end;color:var(--glass-muted);overflow-wrap:anywhere}
html[data-theme] .account .secdoc-ack {inline-size:100%}
html[data-theme] .account .secdoc-again {color:var(--workspace-accent)}

/* Section control (owner, 21 Nov 2026): one iOS pop-up button — the name in headline weight with ⌃⌄ right after it and the
   count as a quiet value at the trailing edge; no ‹ › steppers in the same cell. */
html[data-theme] .account .waiter-section-bar {display:block!important;margin:var(--ui-space-2) 0;padding:0!important;background:none!important;border:0!important}
html[data-theme] .account .waiter-section-bar > .waiter-section-menu {display:flex!important;align-items:center;justify-content:flex-start;gap:6px;inline-size:100%;min-block-size:2.75rem;padding:0 var(--ui-space-4)!important;border-radius:var(--ui-radius)!important;background:var(--dsg-content-fill)!important;color:var(--glass-ink);text-align:start}
html[data-theme] .account .waiter-section-bar > .waiter-section-menu > strong {overflow:hidden;min-inline-size:0;font-size:var(--ui-headline);font-weight:600;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .waiter-section-bar > .waiter-section-menu > .ui-icon {flex:none;inline-size:0.9375rem;block-size:0.9375rem;color:var(--workspace-accent)}
html[data-theme] .account .waiter-section-bar > .waiter-section-menu > small {flex:none;margin-inline-start:auto;font-size:var(--ui-subheadline);color:var(--glass-muted)}

/* The pulse comment is optional (owner, 21 Nov 2026): «необязательно» beside the label, «Пропустить» before «Отправить». */
html[data-theme] .account .pulse-comment > span > small {margin-inline-start:6px;font-size:var(--ui-footnote);font-weight:400;color:var(--glass-muted)}
html[data-theme] .account .pulse-actions {gap:var(--ui-space-2)}
html[data-theme] .account .pulse-actions > .pulse-skip {min-block-size:var(--ui-hit,44px);padding-inline:var(--ui-space-4);border:0;border-radius:999px;background:var(--ui-search-fill,var(--workspace-field));color:var(--glass-ink);font-weight:600}

/* Announcement answers (owner, 21 Nov 2026): «Выполнено» opens the task with a comment and up to five files; the author
   sees each answer under the person, files as quiet links. */
html[data-theme] .account .announcement-reply {display:grid;gap:var(--ui-space-2)}
html[data-theme] .account .announcement-files {display:grid;gap:6px}
html[data-theme] .account :is(.announcement-file,.announcement-add) {display:flex;align-items:center;gap:var(--ui-space-2);min-block-size:var(--ui-hit,44px);padding:0 var(--ui-space-4);border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink);font-size:var(--ui-subheadline);text-decoration:none}
html[data-theme] .account .announcement-file > span {flex:1;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .announcement-file .ui-icon {flex:none;inline-size:1.125rem;block-size:1.125rem;color:var(--workspace-accent)}
html[data-theme] .account .announcement-file > button {display:grid;place-items:center;inline-size:var(--ui-hit,44px);block-size:var(--ui-hit,44px);margin-inline-end:calc(-1 * var(--ui-space-3));border:0;background:none;color:var(--glass-muted)}
html[data-theme] .account .announcement-add {color:var(--workspace-accent);cursor:pointer}
html[data-theme] .account .announcement-add .ui-icon {inline-size:1.125rem;block-size:1.125rem}
html[data-theme] .account .announcement-add:focus-within {outline:2px solid var(--workspace-accent);outline-offset:2px}
html[data-theme] .account .announcement-done {inline-size:100%}
html[data-theme] .account .announcement-reader {flex-wrap:wrap}
html[data-theme] .account .announcement-answer {flex-basis:100%;display:grid;gap:6px;padding-block:0 var(--ui-space-2)}
html[data-theme] .account .announcement-answer > p {margin:0;font-size:var(--ui-subheadline);color:var(--glass-ink);overflow-wrap:anywhere}
html[data-theme] .account .announcement-answer > .announcement-file {background:var(--ui-search-fill,var(--workspace-field))}

/* «Роли и доступ» (owner, 21 Nov 2026): one inset group per role, each line a readable row. */
html[data-theme] .account .roles-guide {display:grid;gap:var(--ui-space-1)}
html[data-theme] .account .roles-guide .roles-guide-row {display:block!important;grid-template-columns:none!important;inline-size:auto;min-block-size:0;margin:0;padding-block:0.6875rem!important;font-size:var(--ui-subheadline);line-height:1.35;color:var(--glass-ink);white-space:normal}
/* Touch targets (audit, 21 Nov 2026). A compact control keeps its drawn size — a 36 pt segmented track, a 36 pt
   capsule, the 32 pt «Очистить» circle — and answers to touch on at least 44 pt: the hit area reaches past the drawing,
   as iOS does for compact controls. */
html[data-theme] .account :is(.hub-row-action,.shift-focus-chip,.theme-choice,.ui-segments > button,.notification-list-head .inbox-clear) {position:relative}
html[data-theme] .account :is(.shift-view-switch,.staff-sectors,.restaurant-departments,.finance-tabs,.service-tabs,.ui-segments) > button::after,
html[data-theme] .account :is(.hub-row-action,.shift-focus-chip,.theme-choice,.shift-filter-chip)::after {content:"";position:absolute;inset:-6px 0}
html[data-theme] .account .notification-list-head .inbox-clear::after {content:"";position:absolute;inset:-6px}
/* Announcements on «Сегодня» sit under the title (audit, 21 Nov 2026): the screen opens with its name and date. */
html[data-theme] .account .overview-title + .announcement-cards {margin-block-start:var(--ui-space-3)}
/* The manager's own working day (owner, 21 Nov 2026): one slim row under the lead — «Моя смена» and a capsule «Мой
   приход» or «Мой уход» — instead of a second card. «Ещё» keeps the tools opened now and then: a disclosure row that
   opens them as a window, like every disclosure of the app. */
html[data-theme] .account .work-zone-own {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-block-size:3.5rem;padding:var(--ui-space-2) var(--ui-space-3) var(--ui-space-2) var(--ui-space-4);border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink)}
html[data-theme] .account .work-zone-own > span {display:grid;gap:1px;min-inline-size:0}
html[data-theme] .account .work-zone-own small {color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .work-zone-own strong {font-size:var(--ui-subheadline);font-weight:600}
html[data-theme] .account .work-zone-own-action {position:relative;flex:none;min-block-size:2.25rem;margin:0;padding:0 var(--ui-space-4)!important;border:0!important;border-radius:999px!important;background:var(--workspace-accent)!important;color:#fff!important;font-size:var(--ui-subheadline)!important;font-weight:600!important;white-space:nowrap;box-shadow:none!important}
html[data-theme] .account .work-zone-own-action::after {content:"";position:absolute;inset:-6px 0}
html[data-theme] .account .work-zone-more {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .work-zone-more > summary {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-block-size:3.5rem;padding:var(--ui-space-2) var(--ui-space-4);border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink);list-style:none;cursor:pointer}
html[data-theme] .account .work-zone-more > summary::-webkit-details-marker {display:none}
html[data-theme] .account .work-zone-more > summary > span {display:grid;gap:1px;min-inline-size:0}
html[data-theme] .account .work-zone-more > summary strong {font-size:var(--ui-body);font-weight:600}
html[data-theme] .account .work-zone-more > summary small {color:var(--glass-muted);font-size:var(--ui-footnote);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .work-zone-more > summary::after {flex:none;inline-size:1rem;block-size:1rem;color:var(--glass-muted)}
html[data-theme] .account .work-zone-more > summary:focus-visible {outline:2px solid var(--workspace-accent);outline-offset:2px}
/* «Мои деньги» (owner, 21 Nov 2026): what is due leads as one large figure on a content surface, with what was accrued
   and paid beneath; the month's three figures follow in one row. */
html[data-theme] .account .money-figure {display:grid;gap:var(--ui-space-1);padding:var(--ui-space-4) var(--ui-space-5,1.25rem);border-radius:var(--ui-radius);background:var(--dsg-content-fill);color:var(--glass-ink)}
html[data-theme] .account .money-figure small {color:var(--glass-muted);font-size:var(--ui-footnote)}
html[data-theme] .account .money-figure strong {font-size:var(--ui-large-title,2.125rem);line-height:1.1;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html[data-theme] .account .control-center .cc-tiles.money-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-theme] .account .control-center .cc-tiles.money-stats .cc-tile {padding-inline:var(--ui-space-3)!important;min-inline-size:0}
html[data-theme] .account .control-center .cc-tiles.money-stats .cc-tile strong {font-size:var(--ui-headline);white-space:nowrap}
/* Passes for taking goods out (owner, 21 Nov 2026): the list is the shared flat list; a pass opens as a window with what
   leaves as the large line (the money figure's surface at title size), the facts as inset rows and two answers. */
html[data-theme] .account .passes {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .money-figure.pass-figure strong {font-size:var(--ui-title2,1.375rem);line-height:1.2;letter-spacing:0;font-variant-numeric:normal}
html[data-theme] .account .money-figure.pass-figure small[data-tone=attention] {color:var(--ui-status-attention)}
html[data-theme] .account .money-figure.pass-figure small[data-tone=positive] {color:var(--ui-status-positive,var(--workspace-accent))}
/* The tab bar leaves a phone window by fading (owner, 22 Nov 2026: it froze, then vanished). The fade is an opacity
   transition the compositor runs, so it keeps moving while the window is being built. */
@media (max-width:799px) and (prefers-reduced-motion:no-preference) {html[data-theme] .account .workspace-dock {transition:opacity 180ms ease}}
/* The dim under a window follows the drag and fades with the window's dissolve (owner, 22 Nov 2026), so the progress
   is a registered number the browser can animate. */
@property --sheet-dismiss-progress {syntax:'<number>';inherits:true;initial-value:0}
/* Informational text a little larger (owner, 22 Nov 2026): notes under a group, footers of lists and windows, subtitles
   that explain a screen, and the version footer of the profile go from 13 to 14 pt (12 to 13 pt for the smallest). Rows,
   badges and counters keep their sizes. */
:root {--ui-note:var(--ui-footnote);--ui-note-small:var(--ui-caption)}
html[data-theme] .account :is(.ui-group-footer,.ui-inset-footer,.section-subtitle,.ui-empty-note,.dining-pos-note) {font-size:var(--ui-note)!important;line-height:1.4}
html[data-theme] .account .profile-app-about > .app-about-name {font-size:var(--ui-note)!important}
html[data-theme] .account .profile-app-about > p {font-size:var(--ui-note-small)!important}
/* «Оформление» is a group like the others in the profile (owner, 22 Nov 2026): the same surface, hairline, radius and
   material as «Мой аккаунт», with the three choices inside it. */
html[data-theme] .account .native-sheet .profile-group > .theme-row {background:var(--dsg-content-fill)!important;border:1px solid var(--glass-divider)!important;border-radius:26px!important;padding:10px!important;box-shadow:none!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-theme] .account .native-sheet .profile-group > .theme-row > .theme-picker {border-radius:999px}
html[data-theme] .account .native-sheet .profile-group > .theme-row .theme-choice {min-block-size:2.5rem}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .native-sheet .profile-group > .theme-row {backdrop-filter:none;-webkit-backdrop-filter:none}}
/* The administrator's «Просмотр по ролям» groups in the profile take the same surface, so every group of the profile
   reads as one family. */
html[data-theme] .account .native-sheet[data-sheet=profile] .profile-group > :is(.ui-inset-group,.ui-action-group) {background:var(--dsg-content-fill)!important;border:1px solid var(--glass-divider)!important;border-radius:26px!important;overflow:hidden;box-shadow:none!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-theme] .account .native-sheet[data-sheet=profile] .profile-group > :is(.ui-inset-group,.ui-action-group) > * {padding-inline:16px}
html[data-theme] .account .native-sheet[data-sheet=profile] .profile-group > :is(.ui-inset-group,.ui-action-group) > * {min-block-size:3.5rem}

/* Back from anywhere (owner, 22 Nov 2026): page and window content leaves sideways movement to the back swipe and keeps
   vertical scrolling; horizontal scrollers inside keep their own panning. */
html[data-theme] .account :is(.native-sheet > .sheet-body,.native-sheet[data-presentation=page],.workspace-content) {touch-action:pan-y}
/* Range row (owner, 22 Nov 2026): a native slider between a small and a large glyph, as in iOS Settings → Text Size. */
html[data-theme] .account .ui-range-row {display:flex!important;align-items:center;gap:var(--ui-space-3);min-block-size:var(--ui-hit);padding-block:var(--ui-space-2)}
html[data-theme] .account .ui-range-row input[type=range] {flex:1;min-inline-size:0;inline-size:auto!important;min-block-size:var(--ui-hit);margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;-webkit-appearance:auto!important;appearance:auto!important;accent-color:var(--workspace-accent)}
html[data-theme] .account .text-size-glyph {flex:none;color:var(--workspace-ink);line-height:1}
html[data-theme] .account .text-size-glyph.is-small {font-size:var(--ui-footnote)}
html[data-theme] .account .text-size-glyph.is-large {font-size:calc(1.375rem*var(--dsg-text-title,1))}
html[data-theme] .account .text-size-preview > .ui-inset-row {display:block!important;padding-block:var(--ui-space-3)!important}
html[data-theme] .account .text-size-sample {display:grid;gap:.125rem;min-inline-size:0}
html[data-theme] .account .text-size-sample strong {font-size:var(--ui-body);font-weight:600}
html[data-theme] .account .text-size-sample small {font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .text-style-row {justify-content:space-between;gap:var(--ui-space-3);padding-block:var(--ui-space-2)!important}
html[data-theme] .account .text-style-label {display:grid;flex:1 1 auto;gap:.125rem;min-inline-size:0;font-size:var(--ui-body)}
html[data-theme] .account .text-style-row > .ui-stepper {flex:none}
html[data-theme] .account .text-style-label small {font-size:var(--ui-footnote);color:var(--glass-muted)}
/* «Что изменится» (owner, 22 Nov 2026): the dry-run result under a pay form, ordinary inset groups at full width. */
html[data-theme] .account .pay-preview {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--ui-space-2);inline-size:100%;min-inline-size:0;margin:0;padding:0}
html[data-theme] .account .pay-preview > * {grid-column:1;inline-size:auto;min-inline-size:0}
html[data-theme] .account .pay-preview .ui-inset-row.is-static > .ui-inset-label {flex:1 1 auto;min-inline-size:0;white-space:normal;overflow-wrap:anywhere}
html[data-theme] .account .pay-preview .ui-inset-row.is-static > .ui-inset-value {flex:0 0 auto;white-space:nowrap;margin-inline-start:var(--ui-space-2)}
html[data-theme] .account .pay-preview .ui-inset-row.is-static {display:flex!important;align-items:center;justify-content:space-between}
/* Running shift in the list (owner, 22 Nov 2026): the sector line becomes a track that fills from the shift's start to its
   end, with a softly pulsing «now» dot; it grows in once, later redraws show it at once. */
html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main {position:relative;border-inline-start-color:color-mix(in srgb,var(--sector-tone,#3478f6) 22%,transparent)}
html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main::before {content:"";position:absolute;inset-inline-start:-2.5px;inset-block-start:0;inline-size:2.5px;block-size:var(--shift-progress,0%);border-radius:2px;background:linear-gradient(var(--ui-status-positive,#34c759),var(--sector-tone,#3478f6));transition:block-size .9s cubic-bezier(.2,.8,.2,1)}
html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main::after {content:"";position:absolute;inset-inline-start:-6.25px;inset-block-start:calc(var(--shift-progress,0%) - 5px);inline-size:10px;block-size:10px;box-sizing:border-box;border-radius:50%;background:var(--glass-card,#fff);border:2.5px solid var(--sector-tone,#3478f6);box-shadow:0 0 0 0 color-mix(in srgb,var(--sector-tone,#3478f6) 40%,transparent);transition:inset-block-start .9s cubic-bezier(.2,.8,.2,1);animation:shift-now-pulse 2.4s ease-in-out infinite}
html[data-theme] .account .shift-row.is-live.is-settled .shift-row-main::before,html[data-theme] .account .shift-row.is-live.is-settled .shift-row-main::after {transition:none}
@keyframes shift-now-pulse {0%,100% {box-shadow:0 0 0 0 color-mix(in srgb,var(--sector-tone,#3478f6) 35%,transparent)} 50% {box-shadow:0 0 0 5px color-mix(in srgb,var(--sector-tone,#3478f6) 0%,transparent)}}
@media (prefers-reduced-motion:reduce) {html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main::after {animation:none} html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main::before,html[data-theme] .account .shift-row.is-live[data-progress-start] .shift-row-main::after {transition:none}}
/* Value rows (owner, 22 Nov 2026: «текст 3000 расположен непонятно»): as in iOS Settings, the label leads on one line and
   the value sits at the trailing edge with its unit; private sums are grouped under «Только для вас» with one lock in the
   header instead of a lock on every row. */
html[data-theme] .account .ui-inset-row.ui-value-row {display:flex!important;align-items:center;gap:var(--ui-space-2);min-inline-size:0;max-inline-size:100%;overflow:hidden}
html[data-theme] .account .ui-value-row > .ui-inset-label {flex:0 0 auto;white-space:nowrap;inline-size:auto;max-inline-size:none}
html[data-theme] .account .ui-value-row > :is(input,select) {flex:1 1 0;min-inline-size:0;inline-size:0!important;max-inline-size:none!important;text-align:end;background:none!important;border:0!important;box-shadow:none!important;padding-inline:0!important}
html[data-theme] .account .ui-value-row > input::placeholder {color:var(--glass-muted)}
html[data-theme] .account .ui-value-row > .ui-value-unit {flex:none;color:var(--glass-muted)}
html[data-theme] .account .ui-value-row > .ui-inset-value {margin-inline-start:auto;text-align:end;font-variant-numeric:tabular-nums}
html[data-theme] .account .private-header {display:flex;align-items:center;gap:.25rem}
html[data-theme] .account .private-header > .ui-icon,html[data-theme] .account .shift-facts .is-private small > .ui-icon {display:inline-block;inline-size:.875em;block-size:.875em;vertical-align:-.1em}
/* «Что изменится» rows: who or which post over the day, the new sum trailing over «было …». */
html[data-theme] .account .pay-preview .ui-inset-row.pay-change {display:flex!important;align-items:center;justify-content:space-between;gap:var(--ui-space-3);padding-block:var(--ui-space-2)!important}
html[data-theme] .account .pay-change-copy {display:grid;gap:.125rem;min-inline-size:0;flex:1 1 auto}
html[data-theme] .account .pay-change-copy strong {font-size:var(--ui-body);font-weight:400;color:var(--glass-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .account .pay-change-copy small,html[data-theme] .account .pay-change-value small {font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .pay-change-value {display:grid;gap:.125rem;flex:none;text-align:end;font-variant-numeric:tabular-nums}
html[data-theme] .account .pay-change-value strong {font-size:var(--ui-body);font-weight:400;color:var(--glass-ink);white-space:nowrap}
html[data-theme] .account .ui-grouped-form:has(input[name=collects]:not(:checked)) .guard-rate-row {display:none!important}
/* «Выплатить» (owner, 22 Nov 2026): revealed like «Удалить» on a contact's phone in iOS 27 — a solid capsule with white
   text inside the row's height at the trailing edge, here green; no glyph, one verb. */
html[data-theme] {--ui-positive-fill:#1f8a3e}
html[data-theme="dark"] {--ui-positive-fill:#2a9a4a}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions {padding:.4375rem .625rem .4375rem var(--ui-space-2)}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button {display:grid!important;grid-template-rows:none!important;place-items:center;border-radius:999px!important;background:var(--ui-positive-fill)!important;color:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;font-size:var(--ui-callout)!important;font-weight:500}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button > .ui-icon {display:none!important}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button > span {display:block!important;inline-size:auto!important;white-space:nowrap;-webkit-line-clamp:unset;color:#fff}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button:active {filter:brightness(.88)}
/* A guard's row with «Выплатить» (owner, 22 Nov 2026), as UIKit's trailing swipe: the row follows the finger and its
   leading edge leaves the row; the capsule grows from the trailing edge with the swipe, its word fading in; a full swipe
   stretches it across the row (is-armed) and releasing pays. */
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) {overflow:hidden}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button {transition:border-radius 200ms ease}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button {flex:1 1 auto!important;inline-size:auto!important;min-inline-size:2.75rem;max-inline-size:none!important;overflow:hidden}
html[data-theme] .account .swipe-shell:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button > span {opacity:clamp(0, calc((var(--swipe-p,1) - .8) / .18), 1)!important}
html[data-theme] .account .swipe-shell.is-revealed:not(.is-dragging):has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button > span {opacity:1!important}
html[data-theme] .account .swipe-shell.is-armed:has(> .swipe-item[data-context-row="pay"]) > .swipe-actions > button {justify-items:start;padding-inline-start:var(--ui-space-4)!important}
/* Form group header with a trailing ⓘ (owner, 23 Nov 2026): the explanation opens in the alert, no footer under the group. */
html[data-theme] .account .ui-info-header {display:flex;align-items:center;gap:.25rem}
html[data-theme] .account .ui-info-header > span {flex:1 1 auto;min-inline-size:0}
html[data-theme] .account .ui-info-header .ui-note-info {flex:none;display:inline-grid;place-items:center;inline-size:28px;block-size:28px;margin:-6px -4px -6px 0;border:0;border-radius:999px;background:transparent;color:var(--workspace-accent);padding:0;position:relative;text-transform:none}
html[data-theme] .account .ui-info-header .ui-note-info::after {content:"";position:absolute;inset:-8px}
html[data-theme] .account .ui-info-header .ui-note-info .ui-icon {inline-size:18px;block-size:18px}
/* A segmented choice inside a form: radio inputs in the `.ui-segments` capsule. */
html[data-theme] .account .ui-choice-segments:has(label:nth-of-type(2) input:checked) {--selected:1}
html[data-theme] .account .ui-choice-segments:has(label:nth-of-type(3)) {--segments:3}
html[data-theme] .account .ui-choice-segments:has(label:nth-of-type(3) input:checked) {--selected:2}
html[data-theme] .account .ui-choice-segments > label {position:relative;display:grid;place-items:center;min-inline-size:0;min-block-size:2rem;padding:0 var(--ui-space-2);border-radius:999px;color:var(--glass-muted);font-size:var(--ui-subheadline);font-weight:500;line-height:1.2;cursor:pointer;white-space:nowrap}
html[data-theme] .account .ui-choice-segments > label:has(input:checked) {color:var(--glass-ink);font-weight:600}
html[data-theme] .account .ui-choice-segments > label:has(input:focus-visible) {outline:2px solid var(--workspace-accent);outline-offset:1px}
html[data-theme] .account .ui-choice-segments input {position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
html[data-theme] .account .ui-choice-segments > label::after {content:"";position:absolute;inset:-6px 0}
html[data-theme] .account .shift-payer-row {display:grid!important;grid-template-columns:minmax(0,1fr);align-items:center;gap:var(--ui-space-2);padding-block:var(--ui-space-2)!important}
html[data-theme] .account .shift-payer-row > .ui-inset-label {white-space:nowrap}
html[data-theme] .account .shift-payer-row .ui-choice-segments {inline-size:100%;min-inline-size:0}
html[data-theme] .account .shift-payer-row .ui-choice-segments > label {padding:0 var(--ui-space-1);overflow:hidden;text-overflow:ellipsis}
html[data-theme] .account .shift-private-group:has(input[name=shift-payer][value=manager]:checked) .shift-guard-rows {display:none}
html[data-theme] .account .shift-guard-rows {display:contents}
html[data-theme] .account .shift-guard-rows > .ui-inset-row:first-child::before {content:"";position:absolute;inset-block-start:0;inset-inline:var(--ui-space-4) 0;border-block-start:1px solid var(--ui-divider)}
html[data-theme] .account .post-private-group:has(input[name=post-collects]:not(:checked)) .ui-value-row:has([data-guard-rate]) {display:none!important}
/* Post page values (owner, 23 Nov 2026): a title leading and its value trailing, as in iOS Settings; no switches here. */
html[data-theme] .account .post-value-row {display:flex;align-items:center;gap:var(--ui-space-2)}
html[data-theme] .account .post-value-row .ui-row-title {flex:1 1 auto;min-inline-size:0;font-size:var(--ui-body);color:var(--glass-ink)}
html[data-theme] .account .post-value-row .ui-row-value {flex:0 1 auto;min-inline-size:0;text-align:end;font-size:var(--ui-body);color:var(--glass-muted)}
html[data-theme] .account .post-value-row .ui-row-value.is-positive {color:var(--ui-status-positive)}
html[data-theme] .account .post-value-row .ui-row-value.is-negative {color:var(--ui-danger)}
html[data-theme] .account .post-value-row > .ui-icon {flex:none;color:var(--glass-muted)}
html[data-theme] .account .post-instructions-text {margin:0;padding:var(--ui-space-2) var(--ui-space-4);white-space:pre-line;font-size:var(--ui-body);color:var(--glass-ink)}
/* Shift card time as a Live Activity (owner, 23 Nov 2026): state and remaining time, one bar, start and end at its edges. */
html[data-theme] .account .shift-live {--progress:0%;display:grid;gap:6px;margin:var(--ui-space-2) 0 var(--ui-space-3);padding:var(--ui-space-2) var(--ui-space-4) 10px;border-radius:var(--ui-group-radius,20px);background:var(--ui-group-fill,var(--glass-fill))}
html[data-theme] .account .shift-live-head {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .5rem;margin:0}
html[data-theme] .account .shift-live-state {font-size:calc(1.0625rem*var(--dsg-text-title,1));font-weight:700;color:var(--glass-ink)}
html[data-theme] .account .shift-live-left {font-size:var(--ui-subheadline);font-weight:600;color:var(--glass-muted)}
html[data-theme] .account .shift-live[data-state=running] .shift-live-left {color:var(--ui-status-positive)}
html[data-theme] .account .shift-live-track {position:relative;block-size:8px;border-radius:999px;background:var(--ui-track);overflow:visible}
html[data-theme] .account .shift-live-fill {position:absolute;inset-block:0;inset-inline-start:0;inline-size:var(--progress);border-radius:inherit;background:var(--workspace-accent);transition:inline-size .8s cubic-bezier(.2,.8,.2,1)}
html[data-theme] .account .shift-live[data-state=running] .shift-live-fill {background:linear-gradient(90deg,var(--ui-status-positive),var(--workspace-accent))}
html[data-theme] .account .shift-live[data-state=running] .shift-live-fill::after {content:"";position:absolute;inset-inline-end:-7px;inset-block-start:50%;inline-size:16px;block-size:16px;margin-block-start:-8px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgb(0 0 0 / .3)}
html[data-theme] .account .shift-live:is([data-state=finished],[data-state=cancelled]) .shift-live-fill {background:var(--glass-muted);opacity:.45}
html[data-theme] .account .shift-live-times {display:flex;justify-content:space-between;gap:var(--ui-space-3)}
html[data-theme] .account .shift-live-times > span {display:flex;align-items:baseline;gap:.375rem}
html[data-theme] .account .shift-live-times > span:last-child {text-align:end}
html[data-theme] .account .shift-live-times strong {font-size:var(--ui-body);font-weight:600;font-variant-numeric:tabular-nums;color:var(--glass-ink)}
html[data-theme] .account .shift-live-times small {font-size:calc(.8125rem*var(--dsg-text-note,1));color:var(--glass-muted)}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .shift-live-fill {transition:none}}
/* Full screen for complex, long scenarios (owner, 23 Nov 2026, iOS fullScreenCover): on a phone and an iPad the window
   covers the whole screen on the opaque modal surface, its header below the status bar, no rounded corners and no
   grabber; it slides up from the bottom edge and is left only with «Отмена» or ✓. On a computer it stays a Mac window,
   wider and taller than a simple one. Simple tasks keep the content-sized sheet; «Мой профиль» is unchanged. */
@media not ((min-width:1200px) and (hover:hover) and (pointer:fine)){
 html[data-theme] .account .native-sheet[open][data-cover="true"] {inset:0!important;margin:0!important;inline-size:100%!important;width:100%!important;max-inline-size:none!important;block-size:100dvh!important;height:100dvh!important;max-block-size:none!important;max-height:none!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:var(--glass-modal)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html[data-theme] .account .native-sheet[open][data-cover="true"] > .sheet-header {padding-top:calc(10px + env(safe-area-inset-top,0px))!important}
 html[data-theme] .account .native-sheet[open][data-cover="true"] > .sheet-header::before {display:none!important}
 html[data-theme] .account .native-sheet[open][data-cover="true"] > .sheet-body {flex:1;min-block-size:0;overflow-y:auto;padding-block-end:calc(var(--ui-space-6,32px) + env(safe-area-inset-bottom,0px))!important}
 html[data-theme] .account .native-sheet[open][data-cover="true"][data-entering=true] {animation:dsg-cover-in 420ms cubic-bezier(.32,.72,0,1)!important}
}
@media (min-width:800px) and (not ((min-width:1200px) and (hover:hover) and (pointer:fine))){
 html[data-theme] .account .native-sheet[open][data-cover="true"] > .sheet-body {padding-inline:max(24px,calc((100% - 760px) / 2))!important}
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
 html[data-theme] .account .native-sheet[open][data-cover="true"] {inline-size:min(760px,calc(100% - 64px))!important;width:min(760px,calc(100% - 64px))!important;max-block-size:min(90dvh,960px)!important;max-height:min(90dvh,960px)!important}
}
@keyframes dsg-cover-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){html[data-theme] .account .native-sheet[open][data-cover="true"][data-entering=true] {animation:none!important}}
/* Hints (owner, 23 Nov 2026: «выровняй текст везде», then «заголовок по центру»): every ⓘ explanation and «О разделе»
   have a centred title over a left-aligned text, closed by «Понятно»; confirmations keep the centred iOS alert. */
html[data-theme] .dsg-confirmation.is-help > h2 {text-align:center!important;justify-self:stretch;margin-inline:.25rem!important}
/* The shift card's facts: one-line value rows; its header ⓘ replaces the caption under the assignment actions. */
html[data-theme] .account .shift-facts {margin-block:0 var(--ui-space-3)}
html[data-theme] .account .shift-facts .post-value-row {min-block-size:var(--ui-hit);padding-block:.5rem}
html[data-theme] .account .shift-facts .is-private .ui-row-title > .ui-icon {display:inline-block;inline-size:.8em;block-size:.8em;vertical-align:-.05em;color:var(--glass-muted)}
html[data-theme] .account .shift-live-times > span:last-child {justify-content:flex-end;flex-direction:row-reverse}
html[data-theme] .account .ui-content-group.shift-facts {padding-block:0!important}
/* A shift that has not started yet (owner, 23 Nov 2026): its line is its own sector colour made translucent; a running
   shift fills it from the start, a finished one keeps the full colour. */
html[data-theme] .account .shift-row.is-upcoming .shift-row-main {border-inline-start-color:color-mix(in srgb,var(--sector-tone,#3478f6) 35%,transparent)}
/* «Оформление» in «Мой профиль» is one group (owner, 23 Nov 2026): the theme choice, a hairline, «Размер текста». */
html[data-theme] .account .profile-rows.appearance-rows > .theme-row {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:12px 0!important;margin:0!important}
html[data-theme] .account .profile-rows.appearance-rows > .theme-row + .profile-row {border-block-start:.5px solid var(--glass-divider)}
/* Timesheet on a phone (owner, 23 Nov 2026): the month grid does not fit a phone, so there it is a list of people with
   shifts, hours and what is due; a person opens their figures and «Дни». iPad and computer keep the grid. */
html[data-theme] .account .timesheet-list {display:none}
@media (max-width:599px){
 html[data-theme] .account .timesheet-grid {display:none}
 html[data-theme] .account .timesheet-list {display:grid;gap:0}
 html[data-theme] .account .timesheet-list > .ui-inset-header:first-child {margin-block-start:var(--ui-space-2)}
}
html[data-theme] .account .timesheet-list-row {gap:var(--ui-space-2)}
html[data-theme] .account .timesheet-list-row + .timesheet-list-row {border-block-start:.5px solid var(--ui-divider)}
html[data-theme] .account .timesheet-list-due {flex:none;display:inline-flex;align-items:center;gap:.25rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--glass-ink)}
html[data-theme] .account .timesheet-list-due.is-paid {color:var(--ui-status-positive)}
html[data-theme] .account .timesheet-list-due .ui-icon {inline-size:1em;block-size:1em}
html[data-theme] .account .timesheet-list-row > .ui-icon:last-child {flex:none;color:var(--glass-muted)}
html[data-theme] .account .timesheet-days {padding-block:0}
html[data-theme] .account .timesheet-day-row {display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);min-block-size:var(--ui-hit);padding:0 var(--ui-space-4);font-size:var(--ui-body);font-variant-numeric:tabular-nums}
html[data-theme] .account .timesheet-day-row + .timesheet-day-row {border-block-start:.5px solid var(--ui-divider)}
html[data-theme] .account .timesheet-day-row.is-off {color:var(--glass-muted)}
html[data-theme] .account .timesheet-day-row.is-planned .timesheet-day-value {color:var(--glass-muted)}
html[data-theme] .account .timesheet-day-row.is-manual .timesheet-day-value {font-style:italic}
html[data-theme] .account .timesheet-day-value {display:inline-flex;align-items:center;gap:.375rem}
html[data-theme] .account .timesheet-day-value > button {min-block-size:var(--ui-hit);padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--workspace-accent)!important;font:inherit!important}
html[data-theme] .account .timesheet-day-value .timesheet-cell-input {inline-size:4.5rem;min-block-size:2rem;text-align:end}
/* Empty notifications as iOS «content unavailable» (owner, 23 Nov 2026): a large quiet glyph, a title and one line. */
html[data-theme] .account .notification-empty.is-unavailable {display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:center;gap:6px;padding:var(--ui-space-6,32px) var(--ui-space-4)!important;text-align:center;list-style:none;background:none!important;border:0!important}
html[data-theme] .account .notification-empty.is-unavailable > .ui-icon {inline-size:2.75rem;block-size:2.75rem;margin-block-end:var(--ui-space-2);color:var(--glass-muted);stroke-width:1.4}
html[data-theme] .account .notification-empty.is-unavailable > strong {font-size:calc(1.25rem*var(--dsg-text-title,1));font-weight:700;color:var(--glass-ink)}
html[data-theme] .account .notification-empty.is-unavailable > small {font-size:var(--ui-subheadline);color:var(--glass-muted);max-inline-size:18rem}
/* «Сотрудники»: one «Фильтр» button over one inset group of menu rows (owner, 23 Nov 2026). */
html[data-theme] .account .staff-filter-bar {display:flex;gap:var(--ui-space-2);margin-block:var(--ui-space-2)}
html[data-theme] .account .staff-filter-toggle {display:inline-flex;align-items:center;gap:.375rem;min-block-size:2.25rem;padding:0 var(--ui-space-3);border:0;border-radius:999px;background:var(--ui-track);color:var(--glass-ink);font-size:var(--ui-subheadline);font-weight:500}
html[data-theme] .account .staff-filter-toggle.is-set {background:color-mix(in srgb,var(--workspace-accent) 16%,transparent);color:var(--workspace-accent);font-weight:600}
html[data-theme] .account .staff-filter-toggle .ui-icon {inline-size:1rem;block-size:1rem}
html[data-theme] .account .staff-filter-panel {margin-block-end:var(--ui-space-3)}
/* An empty note is one line (owner, 23 Nov 2026: a tall empty «Заметки» block); it grows with the text, as in Contacts. */
html[data-theme] .account .native-sheet .contact-notes #staff-contact-notes {block-size:auto!important;height:auto!important;min-block-size:1.5em!important;field-sizing:content}
/* A person's row in «Сотрудники» is two lines with an optional trailing word (owner, 23 Nov 2026). */
html[data-theme] .account .staff-card-flag {flex:none;font-size:var(--ui-footnote);font-weight:600;color:var(--glass-muted);text-align:end;max-inline-size:8.5rem}
html[data-theme] .account .staff-card-flag.is-active {color:var(--ui-status-positive)}
html[data-theme] .account .staff-card-flag.is-attention {color:var(--ui-status-attention)}
html[data-theme] .account .staff-card .staff-card-main > small {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* «Рабочий журнал»: «＋» sits beside the object row, as in «Задачи» (owner, 23 Nov 2026). */
html[data-theme] .account .journal-panel:has(> .journal-toolbar > .work-add) {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--ui-space-2);align-items:center}
html[data-theme] .account .journal-panel:has(> .journal-toolbar > .work-add) > :not(.journal-toolbar,.ui-object-picker,.ui-inset-group) {grid-column:1/-1}
html[data-theme] .account .journal-panel:has(> .journal-toolbar > .work-add) > .journal-toolbar {margin:0}
/* Security posts at a glance (owner, 23 Nov 2026), read-only for the head of administration and security: a status dot,
   the post with how many guards it needs and who stands there, a trailing state word. */
html[data-theme] .account .post-glance-row {gap:var(--ui-space-3)}
html[data-theme] .account .post-glance-dot {flex:none;inline-size:.625rem;block-size:.625rem;border-radius:50%;background:var(--ui-track)}
html[data-theme] .account .post-glance-row[data-state=live] .post-glance-dot {background:var(--ui-status-positive);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-status-positive) 22%,transparent)}
html[data-theme] .account .post-glance-row[data-state=attention] .post-glance-dot {background:var(--ui-status-attention)}
html[data-theme] .account .post-glance-row[data-state=negative] .post-glance-dot {background:var(--ui-danger)}
html[data-theme] .account .post-glance-state {flex:none;font-size:var(--ui-footnote);font-weight:600;color:var(--glass-muted)}
html[data-theme] .account .post-glance-row[data-state=live] .post-glance-state {color:var(--ui-status-positive)}
html[data-theme] .account .post-glance-row[data-state=attention] .post-glance-state {color:var(--ui-status-attention)}
html[data-theme] .account .post-glance-row[data-state=negative] .post-glance-state {color:var(--ui-danger)}
/* Mark sheet (owner, 23 Nov 2026): front camera, place and Face ID checks, one primary button, a footnote. */
html[data-theme] .account .attendance-proof {display:grid;gap:var(--ui-space-3);padding-block:var(--ui-space-2) var(--ui-space-4)}
html[data-theme] .account .attendance-proof .attendance-viewfinder {justify-self:center;inline-size:min(100%,260px);aspect-ratio:3/4}
html[data-theme] .account .attendance-proof .attendance-camera {transform:scaleX(-1)}
html[data-theme] .account .attendance-proof-place {margin:0;text-align:center;font-size:var(--ui-headline);font-weight:600;color:var(--glass-ink)}
html[data-theme] .account .attendance-check {gap:var(--ui-space-3)}
html[data-theme] .account .attendance-check-dot {flex:none;inline-size:.625rem;block-size:.625rem;border-radius:50%;background:var(--ui-track)}
html[data-theme] .account .attendance-check[data-state=ok] .attendance-check-dot {background:var(--ui-status-positive)}
html[data-theme] .account .attendance-check[data-state=attention] .attendance-check-dot {background:var(--ui-status-attention)}
html[data-theme] .account .attendance-check[data-state=negative] .attendance-check-dot {background:var(--ui-danger)}
html[data-theme] .account .attendance-check[data-state=negative] small {color:var(--ui-danger)}
html[data-theme] .account .attendance-proof .scanner-message {margin:0;text-align:center;font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .attendance-proof .scanner-message:empty {display:none}
html[data-theme] .account .attendance-proof #attendance-mark {inline-size:100%;min-block-size:50px}
html[data-theme] .account .attendance-proof .attendance-scan-note {margin:0;text-align:center;font-size:var(--ui-footnote);color:var(--glass-muted)}
html[data-theme] .account .attendance-proof-shot {display:block;inline-size:72px;block-size:96px;border-radius:12px;object-fit:cover;background:var(--ui-track)}
html[data-theme] .account .attendance-review {display:grid;gap:var(--ui-space-3)}
html[data-theme] .account .attendance-review-who {display:grid;gap:2px;margin:0;text-align:center}
html[data-theme] .account .attendance-review-who strong {font-size:var(--ui-headline);color:var(--glass-ink)}
html[data-theme] .account .attendance-review-who small {font-size:var(--ui-subheadline);color:var(--glass-muted)}
html[data-theme] .account .attendance-review-approve {inline-size:100%;min-block-size:50px}
/* Animated icons (owner, 23 Nov 2026): the official Animate UI Lucide animations play on the existing glyphs through the
   Web Animations API (ICON_MOTION in icons-ui.mjs). Only their pivots live here; the dock's own transforms stay untouched
   because the animations use the individual translate / scale / rotate properties. */
html[data-theme] .account .ui-icon[data-icon=home] .ai-door {transform-box:fill-box;transform-origin:0% 50%}
html[data-theme] .account .ui-icon[data-icon=search] {transform-origin:100% 100%}
html[data-theme] .account .ui-icon[data-icon=bell] {transform-origin:50% 0}
/* Chip rows fade where more chips wait (owner, 23 Nov 2026), as iOS scrolling rows do; set by bindFadingRows. */
html[data-theme] .account .shift-focus[data-fade=end] {mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
html[data-theme] .account .shift-focus[data-fade=start] {mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent)}
html[data-theme] .account .shift-focus[data-fade="start end"] {mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent)}
/* Hit areas reach 44 pt where the visible control is smaller (owner, 23 Nov 2026). */
html[data-theme] .account .shift-row .assignment-quick::after {inset:-8px -4px}
html[data-theme] .account .filter-chip::before {content:"";position:absolute;inset:-4px 0}
/* iPad and desktop (owner, 23 Nov 2026): the agenda flows in two columns, days read top to bottom then on to the second
   column, so a 1194 px screen is not one stretched list. A day never splits across columns. */
@media (min-width:760px) {
 html[data-theme] .account .workspace-content .shift-agenda.is-columns {display:block;column-count:2;column-gap:var(--ui-space-4)}
 html[data-theme] .account .workspace-content .shift-agenda.is-columns > :is(.shift-day,.native-empty) {break-inside:avoid;display:block;margin-block-end:var(--ui-space-4)}
}
/* «Фильтр» keeps room for its chevron at every text size (owner, 23 Nov 2026: the chevron sat on the word on iPad). */
html[data-theme] .account .filter-chip {padding-inline-end:calc(.8rem + .45rem + 10px)!important}
/* Search in the bottom bar (owner, 24 Nov 2026; iOS 26): the search circle sits where the bell was. On a phone an open
   search replaces the tabs with a field of the bar's glass and height, stays above the keyboard, and lists results
   above itself; the circle becomes Close. With the sidebar the field opens in the header. */
html[data-theme] .account .workspace-dock[data-search-open=true] .workspace-tabs {display:none!important}
html[data-theme] .account.editing-field>.workspace-dock[data-search-open=true] {opacity:1;pointer-events:auto;bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 8px + var(--keyboard-inset,0px))}
html[data-theme] .account.editing-field>.workspace-dock[data-search-open=true]>* {pointer-events:auto}
html[data-theme] .account .workspace-dock .dock-search {flex:1 1 auto;min-inline-size:0;align-self:stretch;display:flex}
html[data-theme] .account .workspace-dock .dock-search .workspace-search-page {flex:1 1 auto;display:flex;min-inline-size:0}
html[data-theme] .account .workspace-dock .dock-search .search-field {flex:1 1 auto;block-size:48px;min-block-size:48px;padding:0 6px!important;border-radius:999px;background:var(--dock-sheen),var(--dock-fill)!important;border:1px solid var(--dock-edge)!important;box-shadow:var(--dock-shadow)!important;backdrop-filter:var(--dock-blur);-webkit-backdrop-filter:var(--dock-blur)}
html[data-theme] .account .workspace-dock .dock-search .search-field>.ui-search {block-size:100%!important}
html[data-theme] .account .workspace-dock .dock-search .ui-search:is(*,:focus-within,:has(input:not(:placeholder-shown))) > .ui-search-field {block-size:100%;background:none!important;box-shadow:none!important}  /* one glass layer: the bar's */
html[data-theme] .account .workspace-dock .dock-search #workspace-search-results:not(:has(.search-result-list)) {display:none}
html[data-theme] .account .workspace-dock .dock-search #workspace-search-results:has(.search-result-list) {position:absolute;inset-inline:0;inset-block:auto calc(100% + 10px);top:auto;inline-size:auto;max-inline-size:none;max-block-size:min(55dvh,calc(100dvh - var(--keyboard-inset,0px) - 180px));overflow:auto;overscroll-behavior:contain;z-index:2}
@media (prefers-reduced-transparency:reduce) {html[data-theme] .account .workspace-dock .dock-search .search-field {background:var(--glass-card)!important;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media (min-width:1024px) {
 /* With the sidebar the results hang under the header field only, so the sidebar's search circle (now Close) stays in reach. */
 html[data-theme] .account .workspace-header .header-search.inline-search {position:relative}
 html[data-theme] .account .workspace-header .header-search #workspace-search-results:has(.search-result-list) {left:0;right:0;inline-size:auto;max-inline-size:none}
 html[data-theme] .account.editing-field:has(>.workspace-header[data-search-open=true])>.workspace-dock {opacity:1;pointer-events:auto}
 html[data-theme] .account.editing-field:has(>.workspace-header[data-search-open=true])>.workspace-dock>* {pointer-events:auto}
}
/* Profile rows as iOS Settings (owner, 24 Nov 2026): one regular-weight label; a current state sits at the trailing
   edge in the secondary colour, on the same line, before the chevron. */
html[data-theme] .account .profile-row {min-height:3.25rem!important}
html[data-theme] .account .profile-row > span {flex-direction:row!important;align-items:center;justify-content:space-between;gap:var(--ui-space-3)}
html[data-theme] .account .profile-row strong {font-weight:400!important}
html[data-theme] .account .profile-row strong {flex:1 1 auto;min-inline-size:0}
html[data-theme] .account .profile-row small {flex:none;font-size:var(--ui-body)!important;line-height:1.25!important;color:var(--glass-muted)!important;text-align:end;white-space:nowrap}
/* Notes (owner, 24 Nov 2026: the «Д» of «Добавить заметку» was cut): the text field keeps 2 px inside its clipping
   edge for glyph overhang and moves out by the same 2 px, so the text still lines up with «Заметки». */
html[data-theme] .account .contact-notes #staff-contact-notes {padding-inline:2px!important;margin-inline:-2px;inline-size:calc(100% + 4px);box-sizing:border-box}
/* Open search keeps the bar's place (owner, 24 Nov 2026: it jumped and looked heavy): the dock keeps its height so the
   field and ✕ stay on the tabs' centre line; both are 48 pt, as iOS 26's tab bar search; Safari's own search-field
   capsule is removed so the bar's glass is the only layer. */
html[data-theme] .account .workspace-dock[data-search-open=true] {min-block-size:62px}
html[data-theme] .account .workspace-dock[data-search-open=true][data-compact=true] {min-block-size:52px}
html[data-theme] .account .workspace-dock[data-search-open=true] > [data-section=search] {inline-size:48px!important;block-size:48px!important;min-inline-size:48px!important;min-block-size:48px!important}
html[data-theme] .account .workspace-dock .dock-search input[type=search] {-webkit-appearance:none;appearance:none;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-theme] .account .workspace-dock .dock-search input[type=search]::-webkit-search-decoration {-webkit-appearance:none}
