/* Shared radius for the public SALEMDOS UI. Filament does not load this file. */
:root {
    --salemdos-card-radius: 8px;
    --salemdos-control-radius: 8px;
}

/* Native controls, Select2 and common containers, including previously square ones. */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html body select,
html body textarea,
html body button,
html body .btn,
html body .form-control,
html body .select2-container .select2-selection,
html body .select2-container .select2-dropdown,
html body .card,
html body .alert,
html body .modal-content,
html body .legacy-popup-panel,
html body .legacy-property-form-panel,
html body .frontend-empty,
html body [data-ios-install-hint],
html body [data-android-install-hint] {
    border-radius: 8px !important;
}

/* Existing component selectors retain all other approved styling. */
html #bc-entrance-add .form-control,
html #bc-entrance-add .legacy-popup-footer .btn,
html #bc-entrance-add .legacy-popup-panel,
html #bc-equipment .entrance,
html #bc-equipment .entrance .item,
html #bc-equipment .equipment-purpose-form .select2-container .select2-selection--single,
html #bc-equipment .equipment-purpose-form button[type='submit'],
html #bc-equipment .equipment-purpose-form button[type='submit']:focus,
html #bc-equipment .equipment-purpose-form button[type='submit']:hover,
html #bc-equipment .equipment-purpose-form select.form-control,
html #bc-equipment .equipment-section-heading,
html #bc-equipment .equipment-section-heading .fa-angle-down,
html #bc-equipment .etazh,
html #bc-equipment .legacy-equipment-popup .form-control,
html #bc-equipment .legacy-equipment-popup .legacy-popup-footer .btn,
html #bc-equipment .legacy-equipment-popup .legacy-popup-panel,
html #bc-equipment .page-title > .bg-primary,
html #bc-equipment .room-item,
html #bc-equipment .room-item > .row > .col-3 > button[data-legacy-popup-open],
html #bc-equipment > .room-tab > div,
html #bc-equipment button[data-legacy-popup-open],
html #bc-equipment form[data-method='DELETE'] .btn,
html #cabinet-service-phones .cabinet-delete,
html #cabinet-service-phones .cabinet-phone-add,
html #cabinet-service-phones .form-control,
html #cabinet-service-vehicles .cabinet-delete,
html #cabinet-service-vehicles .cabinet-inline-add,
html #cabinet-service-vehicles .cabinet-inline-add button[type='submit'],
html #cabinet-service-vehicles .cabinet-vehicle-row,
html #cabinet-service-vehicles .form-control,
html #check-rank-result .stars-result .item,
html #check-rank-result:not(:empty),
html #coworking-card-modal .coworking-user-result.active,
html #coworking-card-modal .form-control,
html #coworking-card-modal .modal-content,
html #coworking-card-modal .modal-footer .btn,
html #coworking-card-modal [data-coworking-delete],
html #coworking-user-modal .coworking-user-result.active,
html #coworking-user-modal .form-control,
html #coworking-user-modal .modal-content,
html #coworking-user-modal .modal-footer .btn,
html #login-form > button[type="submit"],
html #login-form input[name="phone"],
html #login-form input[name="pin"],
html #login-pin-recovery .legacy-popup-panel,
html #osi-dynamic-page .members-content .form-control,
html #osi-dynamic-page .members-content > .card,
html #osi-dynamic-page .members-content > .card.bg-primary,
html #osi-dynamic-page .members-search,
html #osi-dynamic-page .members-search .form-control,
html #osi-dynamic-page .members-search button,
html #osi-dynamic-page .members-title,
html #osi-dynamic-page.tenants-list-page .btn-primary,
html #osi-dynamic-page.tenants-list-page .form-control,
html #osi-dynamic-page.tenants-list-page > .card,
html #osi-dynamic-page.tenants-list-page > .profile,
html #osi-dynamic-page.tenants-list-page > .profile + hr + form,
html #osi-dynamic-page.tenants-list-page > .profile + hr + form button,
html #osi-dynamic-page.tenants-list-page.family-members-page > .profile + hr + form,
html #osi-equipment .entrance-osi,
html #osi-equipment .entrance-osi button,
html #osi-equipment .equipment-parking-feature,
html #osi-equipment .equipment-parking-heading,
html #osi-equipment .equipment-section-heading,
html #osi-equipment .equipment-yard-form,
html #osi-equipment .etazh,
html #osi-equipment .form-control,
html #osi-equipment .legacy-equipment-popup .legacy-popup-footer .btn,
html #osi-equipment .legacy-equipment-popup .legacy-popup-panel,
html #osi-equipment .room-item,
html #osi-equipment .room-item form[data-method='DELETE'] .btn,
html #osi-equipment > .osi-equipment-tabs > div,
html #osi-equipment button[data-legacy-popup-open],
html #panel-login-form .auth button,
html #panel-login-form input[name="phone"],
html #panel-login-form input[name="pin"],
html #poll-create .form-control,
html #poll-create .image-block > .row,
html #poll-create .osi-id,
html #poll-create .vote-body,
html #poll-create > .card-header,
html #poll-create > .row:first-child,
html #poll-create [data-poll-submit],
html #profile-face-modal .face-id-actions .btn,
html #profile-face-modal .legacy-popup-panel,
html #rental-employee-modal .employee-parking-choice span,
html #rental-employee-modal .employee-resource-title,
html #rental-employee-modal .form-control,
html #rental-employee-modal .modal-content,
html #rental-employee-modal .modal-footer .btn,
html #rental-employee-modal [data-employee-delete],
html #survey-create .form-control,
html #survey-create .osi-id,
html #survey-create .vote-body,
html #survey-create .vote-item.add,
html #survey-create > .card-header,
html #survey-create button[type='submit'],
html #voting-dynamic-page .legacy-paper-ballot .btn,
html #voting-dynamic-page .legacy-paper-ballot .form-control,
html #voting-dynamic-page .legacy-paper-ballot .frontend-empty,
html #voting-dynamic-page .legacy-paper-ballot .osi-id,
html #voting-dynamic-page .legacy-paper-ballot .paper-ballot-file-tile,
html #voting-dynamic-page .legacy-paper-ballot .paper-ballot-header,
html #voting-dynamic-page .legacy-paper-ballot .paper-ballot-question,
html #voting-dynamic-page .legacy-paper-ballot > form,
html #voting-dynamic-page .survey-detail-card,
html #voting-dynamic-page .survey-detail-card .btn,
html #voting-dynamic-page .survey-detail-card .form-check,
html #voting-dynamic-page .survey-detail-card .results,
html #voting-dynamic-page .survey-detail-card h5,
html #voting-dynamic-page .survey-list-card,
html #voting-dynamic-page .voting-overview .card.vote,
html #voting-dynamic-page .voting-overview .form-control,
html #voting-dynamic-page .voting-overview .legacy-poll-notice,
html #voting-dynamic-page .voting-overview .vote-result .btn,
html .announcement-launcher[data-announcements-open],
html .announcement-screen .announcement-screen-card,
html .announcement-screen .announcement-screen-card img,
html .announcement-screen .announcement-screen-close,
html .announcement-screen .announcement-screen-header a,
html .announcement-screen .announcement-screen-header button,
html .bc-structure-page .bc-floor-row,
html .bc-structure-page .bc-floor-row .legacy-row-button .fa-angle-down,
html .bc-structure-page .bc-floor-row > .d-flex,
html .bc-structure-page .bc-room-create,
html .bc-structure-page .bc-room-item,
html .bc-structure-page .entrance,
html .bc-structure-page .entrance .btn,
html .bc-structure-page .entrance .item,
html .bc-structure-page .form-control,
html .bc-structure-page .page-title > .bg-primary,
html .bc-structure-page > .room-tab > div,
html .bc-structure-page [data-bc-floor-add],
html .bc-structure-page [data-bc-room-add],
html .bc-structure-page form[data-method='DELETE'] .btn,
html .container > .legacy-request-tabs,
html .container > .legacy-request-tabs button,
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] .form-control,
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] button[data-request-tab="history"],
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] button[type="submit"],
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] select option,
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] select.form-control,
html .container:has(> .legacy-request-tabs) [data-request-panel="create"] select.form-control::picker(select),
html .coworking-moderator-card-popup .legacy-popup-footer .btn,
html .coworking-moderator-card-popup .legacy-popup-panel,
html .coworking-moderator-card:focus-visible,
html .coworking-moderator-phone-field .form-control,
html .coworking-moderator-popup .legacy-popup-footer .btn,
html .coworking-moderator-popup .legacy-popup-panel,
html .coworking-moderator-popup [data-phone-lookup-result]:not(:empty),
html .coworking-moderator-row .coworking-moderator-photo,
html .coworking-moderators-actions .btn,
html .coworking-moderators-page .coworking-moderator-row,
html .coworking-moderators-page .coworking-moderators-actions,
html .coworking-page #coworking-period,
html .coworking-page #coworking-period .btn,
html .coworking-page .coworking-person-card,
html .coworking-page .form-control,
html .coworking-page > .row.bg-grey,
html .coworking-page [data-coworking-open],
html .coworking-page [data-legacy-collapse="coworking-period"],
html .employee-accordion .employee-access-popup .employee-popup-person,
html .employee-accordion .employee-access-popup .form-control,
html .employee-accordion .employee-access-popup .legacy-popup-footer > .btn,
html .employee-accordion .employee-access-popup .legacy-popup-panel,
html .employee-accordion .employee-add,
html .employee-accordion .employee-add .btn,
html .employee-accordion .employee-add .form-control,
html .employee-accordion .employee-admin-warning,
html .employee-accordion .employee-admin-warning .btn,
html .employee-accordion .employee-heading,
html .employee-accordion .employee-heading::before,
html .employee-accordion .employee-person,
html .frontend-content .cards-block > .card[data-card-item],
html .frontend-content :is([data-invitation-card] form[action$='/repeat'] button[type='submit'], [data-invite-history] a.btn, .container > a.btn[href*='scope=history']),
html .frontend-content :is([data-invitation-card] form[action$='/repeat'] button[type='submit'], [data-invite-history] a.btn, .container > a.btn[href*='scope=history']):is(:hover, :active, :focus),
html .frontend-content [data-invitation-card],
html .intercom-screen .ic-card,
html .intercom-screen .ic-demo-badge,
html .intercom-screen .ic-demo-note,
html .intercom-screen .ic-permitted-entry::before,
html .intercom-screen .ic-status,
html .intercom-screen .profile-btn.ic-permitted-entry,
html .invite-form .form-control,
html .invite-form .invite-validity-text,
html .invite-form .legacy-invite-type,
html .invite-form > .row:first-of-type,
html .invite-form [data-invite-submit-result].is-error,
html .invite-form [data-phone-lookup-result].is-error,
html .invite-form button[type="submit"],
html .invite-form select option,
html .invite-form select.form-control::picker(select),
html .legacy-notification-create .choose-btn .btn,
html .legacy-notification-create .vote-body .card-header.bg-primary,
html .legacy-notification-create .vote-item.add label,
html .legacy-notification-create .with-id .osi-id,
html .legacy-notification-create > .row > .page-title.with-id,
html .legacy-notification-create button[type='submit'],
html .legacy-notification-create textarea.form-control,
html .legacy-objects-page .legacy-popup .bg-grey,
html .legacy-objects-page .legacy-popup .legacy-object-image,
html .legacy-objects-page .legacy-popup .osi-item,
html .legacy-objects-page .legacy-popup-footer .btn,
html .legacy-objects-page .legacy-popup-panel,
html .legacy-objects-page .object-delete-icon,
html .legacy-objects-page .object-delete-icon:is(:hover, :focus, :active),
html .legacy-objects-page .page-title.with-id .osi-id,
html .legacy-objects-page > .card:has(> .frontend-empty),
html .legacy-objects-page > .legacy-object-type-row,
html .legacy-objects-page > .legacy-object-type-row .num,
html .legacy-objects-page > .legacy-object-type-row:is(:hover, :focus, :active),
html .legacy-objects-page > .osi-item.card,
html .legacy-objects-page > .profile,
html .legacy-objects-page > .profile img,
html .legacy-objects-page > .row > .page-title.with-id,
html .legacy-objects-page [data-member-property-back],
html .legacy-organization-page .bc-cabinet-address-form,
html .legacy-organization-page .bc-cabinet-address-form .bc-address-map-arrow,
html .legacy-organization-page .bc-cabinet-name-form .bc-cabinet-name,
html .legacy-organization-page [data-vuz-immediate] input[name='organization_name'],
html .legacy-organization-page:has([data-vuz-immediate]) > form:has([data-cabinet-map-open]),
html .legacy-poll-result-popup .legacy-voter-card,
html .legacy-popup .legacy-object-image-count,
html .legacy-popup .legacy-popup-header,
html .legacy-popup:not(.employee-face-preview) .legacy-popup-panel,
html .legacy-rental-workspace #reception-queue[data-guest-queue] .badge-success,
html .legacy-rental-workspace #reception-queue[data-guest-queue] .guest-info > a,
html .legacy-rental-workspace #reception-queue[data-guest-queue] .guest-photo,
html .legacy-rental-workspace #reception-queue[data-guest-queue] .worker-tab-btn,
html .legacy-rental-workspace #reception-queue[data-guest-queue] .worker-tabs,
html .legacy-rental-workspace #reception-queue[data-guest-queue] [data-guest-action-card],
html .legacy-rental-workspace #reception-queue[data-guest-queue] button[type="submit"],
html .legacy-rental-workspace .employee-row .employee-face-preview-trigger,
html .legacy-rental-workspace .employee-row > .row,
html .legacy-rental-workspace .employee-search-fields,
html .legacy-rental-workspace .employee-search-fields .btn,
html .legacy-rental-workspace .employee-search-fields .form-control,
html .legacy-rental-workspace .employee-toolbar,
html .legacy-rental-workspace > .room-tab > div,
html .legacy-rental-workspace > .room-tab-content .entrance .item,
html .legacy-rental-workspace > .room-tab-content .etazh,
html .legacy-rental-workspace > .room-tab-content .rental-space-icon,
html .legacy-rental-workspace > .room-tab-content .rental-space-item,
html .legacy-rental-workspace > .row > .page-title > .bg-primary:has(+ .col-7),
html .legacy-rental-workspace [data-employee-add],
html .legacy-rental-workspace [data-employee-search],
html .legacy-rental-workspace [data-rental-modal] .form-control,
html .legacy-rental-workspace [data-rental-modal] .legacy-popup-footer > button,
html .legacy-rental-workspace [data-rental-modal] .legacy-popup-footer > button[type='submit'],
html .legacy-rental-workspace [data-rental-modal] .rental-coordinator-save,
html .legacy-rental-workspace [data-rental-modal] .rental-editor-panel,
html .legacy-rental-workspace [data-rental-modal] .rental-editor-section,
html .legacy-rental-workspace.tenant-rooms-page .room-card,
html .legacy-rental-workspace:has(.employee-toolbar) .visit-card,
html .legacy-request-history .legacy-request-card,
html .legacy-request-history .request-rating-note,
html .linked-access-popup .form-control,
html .linked-access-popup .legacy-popup-footer .btn,
html .linked-users-accordion .form-control,
html .linked-users-accordion .linked-person,
html .linked-users-accordion .linked-person-delete,
html .linked-users-accordion .linked-users-add .btn,
html .linked-users-accordion .linked-users-add.family-user-form,
html .linked-users-accordion .linked-users-add.tenant-user-form,
html .linked-users-accordion .linked-users-group,
html .linked-users-accordion .tenant-intro .btn,
html .login-screen .card-body > .row.mt-3 a:focus-visible,
html .login-screen > .card > .card-body,
html .main-menu-wrapper .osi-wrapper-list a.profile-btn,
html .main-menu-wrapper .osi-wrapper-list a.profile-btn::before,
html .manager-requests-page .manager-filter,
html .manager-requests-page .manager-filter .form-control,
html .manager-requests-page .manager-filter button[type='submit'],
html .manager-requests-page .manager-request-action .btn,
html .manager-requests-page .manager-request-card,
html .manager-requests-page .manager-request-tabs,
html .manager-requests-page .manager-request-tabs li a,
html .manager-requests-page .request-rating-note,
html .manager-requests-page > p:first-of-type,
html .menu-profile-card a.profile-btn,
html .menu-profile-card form > button,
html .menu-profile-card form > button::before,
html .notifications-screen > .row:first-child > .page-title > a,
html .notifications-screen > article.alert,
html .notifications-screen > article.alert .close,
html .notifications-screen > article.alert .content,
html .organization-registration-choices > .organization-registration-notice,
html .osi-cab-menu .bc-cabinet-menu > .cabinet-inline-section > button.cabinet-inline-toggle,
html .osi-cab-menu .bc-cabinet-menu > .cabinet-inline-section > button.cabinet-inline-toggle::before,
html .osi-cab-menu .bc-cabinet-menu > a.bc-cabinet-menu-link,
html .osi-cab-menu .bc-cabinet-menu > a.bc-cabinet-menu-link::before,
html .osi-detail-page #osi-property .osi-section-link,
html .osi-detail-page #osi-property .osi-section-link .num,
html .osi-detail-page #osi-property .osi-section-link:is(:hover, :focus, :active),
html .osi-detail-page .accordion.osi > .card,
html .osi-detail-page .accordion.osi > a.card.legacy-accordion-link,
html .osi-detail-page .archive-vote .legacy-poll-attachment,
html .osi-detail-page .archive-vote .legacy-poll-question,
html .osi-detail-page .archive-vote .legacy-poll-summary,
html .osi-detail-page .archive-vote .legacy-poll-totals > div,
html .osi-detail-page .archive-vote .legacy-user-vote,
html .osi-detail-page .archive-vote > .card-body,
html .osi-detail-page .archive-vote-header,
html .osi-detail-page .archive-vote-header:hover,
html .osi-detail-page .btn-primary,
html .osi-detail-page .form-control,
html .osi-detail-page .osi-detach-card [data-legacy-popup-open='osi-detach-confirm'],
html .osi-detail-page .osi-voting-archive > .card.vote,
html .osi-detail-page .page-title .osi-id,
html .osi-detail-page .raiting,
html .osi-detail-page .stars-result .item,
html .osi-detail-page > .panel-title,
html .osi-detail-page > .profile,
html .osi-detail-page > .row.align-items-center,
html .osi-detail-page > a.legacy-row-link,
html .osi-detail-page [data-cabinet-contacts] button[type='reset'],
html .osi-detail-page [data-cabinet-service-add],
html .osi-enter-menu > .my-osi > a,
html .osi-enter-menu > .my-osi > a::before,
html .osi-orders-menu > .my-osi > a,
html .osi-orders-menu > .my-osi > a::before,
html .osi-resident-admin-menu > a .total,
html .osi-resident-admin-menu > a.profile-btn,
html .osi-resident-admin-menu > a.profile-btn::before,
html .osi-structure-page #osi-feature-panel-4 .room-item,
html .osi-structure-page .car-yard-info,
html .osi-structure-page .form-control,
html .osi-structure-page .input-group-append > .btn,
html .osi-structure-page .osi-catalog-card,
html .osi-structure-page .osi-catalog-delete,
html .osi-structure-page .room-item,
html .osi-structure-page .room-item .btn.text-danger,
html .osi-structure-page .room-tab-content > [data-tab='1'] > form > .row,
html .osi-structure-page > .room-tab > div,
html .osi-structure-page [data-legacy-collapse],
html .osi-structure-page form[id^='feature-add-'] .input-group > .form-control,
html .osi-structure-page form[id^='feature-add-'] .input-group-append > .btn,
html .panel-new .top .salemdos-language-select,
html .panel-new > .box-result,
html .panel-new > nav .box-wrapper .box-item > a,
html .parking-history-page > .card,
html .parking-history-page > p,
html .passage-journal .card,
html .passage-journal .filter-order,
html .passage-journal .filter-order .btn,
html .passage-journal .filter-order .form-control,
html .passage-journal .filter-order .select2-container .select2-selection--single,
html .passage-journal .page-title .btn,
html .passage-journal .passage-report .passage-report-date,
html .passage-journal .passage-report .passage-report-day,
html .passage-journal .passage-report .passage-report-heading,
html .passage-journal .passage-report .passage-report-total,
html .passage-journal .passage-tabs,
html .passage-journal .passage-tabs a,
html .passage-journal .scanner .btn,
html .passage-journal .scanner iframe,
html .profile-screen,
html .profile-screen #enable-push,
html .profile-screen #profile-form > .row:has(input[readonly]) > .col-4::before,
html .profile-screen #profile-form input.form-control:not([type="file"]),
html .profile-screen .change-phone,
html .profile-screen .change-phone button[type="submit"],
html .profile-screen .change-phone input.form-control,
html .profile-screen .face-id-icon,
html .profile-screen .profile-actions .btn,
html .profile-screen .profile-delete-trigger,
html .profile-screen .profile-face-row > .col-9::before,
html .profile-screen .profile-notifications > .row > .col-8::before,
html .profile-screen .profile-personal-notice,
html .profile-screen .profile-pin-row > .col-4:first-child::before,
html .profile-screen [data-profile-phone-toggle],
html .profile-screen [data-push-install-hint]:not([hidden]),
html .profile-screen [data-push-status]:not([hidden]),
html .qr-menu > .my-osi > a,
html .qr-menu > .my-osi > a::before,
html .rating-phone-block input[name="phone"],
html .registration-screen .btn-outline-primary,
html .registration-screen .btn-outline-primary:is(:hover, :active, :focus),
html .registration-screen .btn-primary,
html .registration-screen .btn-primary:is(:hover, :active, :focus),
html .registration-screen .card-body .form-control,
html .registration-screen .card-body > .row:has([data-face-open]) > .col-9::before,
html .registration-screen .card-body > .row:has(input[name="last_name"], input[name="name"], input[name="middle_name"], input[name="iin_short"], select[name="gender"]) > .col-4:first-child::before,
html .registration-screen .card-body > .row:has(input[name="password"]) > :first-child::before,
html .registration-screen .card-body [data-push-config],
html .registration-screen .card-body select[name="gender"] + .select2-container .select2-selection--single,
html .registration-screen .registration-account > .card,
html .registration-screen .registration-notice,
html .registration-screen .registration-phone-field input,
html .registration-screen :is(.enable-push1, .enable-push2) > .row > .col-8::before,
html .registration-screen [data-registration-sms] > button[type="submit"],
html .registration-screen fieldset:disabled [data-push-config],
html .registration-screen input[name="password"],
html .registration-screen input[name="password1"],
html .safety-person-card .moderation-security-no,
html .safety-person-card .moderation-security-yes,
html .salemdos-language-select option,
html .salemdos-language-select::picker(select),
html .salemdos-notifications-link,
html .security-moderation-page #administration-guest-queue .guest-approved-status,
html .security-moderation-page #administration-guest-queue .guest-card-actions button,
html .security-moderation-page #administration-guest-queue .worker-tab-btn,
html .security-moderation-page #administration-guest-queue .worker-tabs,
html .security-moderation-page #administration-guest-queue [data-guest-action-card],
html .security-moderation-page .safety-person-card,
html .tenant-rooms-page .page-title > .bg-primary,
html .tenant-rooms-page .tenant-room-permissions > .col-4,
html .tenant-rooms-page .tenant-rooms-heading,
html .vehicle-access-card,
html .vehicle-access-icon,
html .vehicle-access-row,
html .vehicle-access-status,
html .vote-menu > .my-osi > .row,
html .vote-menu > .my-osi > .row .profile-btn::after,
html .vote-menu > .my-osi > .row::before,
html .vuz-overview-page .rental-service-vehicle > .card,
html .vuz-overview-page > .row.align-items-center,
html .vuz-overview-page > .row:first-child .page-title > .bg-primary,
html .worktime-page .hr-filter-form .btn,
html .worktime-page .hr-filter-form input,
html .worktime-page .rent-worker-list .card,
html .worktime-page .rent-worker-list > p,
html .worktime-page .search-rent-worker,
html .worktime-page > .fixed-top > .container > .row.bg-grey,
html .worktime-page [data-worktime-export],
html :is(#login-pin-recovery, .pin-recovery-screen) form > button[type="submit"],
html :is(#login-pin-recovery, .pin-recovery-screen) input.form-control,
html :is(.instruction-menu, .contact-menu) a.profile-btn,
html :is(.instruction-menu, .contact-menu) a.profile-btn::before,
html [data-bc-organization-menu] .worktime-settings-form,
html [data-bc-organization-menu] .worktime-settings-form .form-control,
html [data-bc-organization-menu] > .cabinet-address,
html [data-bc-organization-menu] > .row.align-items-center,
html [data-bc-organization-menu] > a.legacy-row-link,
html [data-bc-organization-menu] > a.legacy-row-link::before,
html [data-bc-organization-menu] > button.legacy-row-button,
html [data-bc-organization-menu] > button.legacy-row-button::before,
html [data-cabinet-map-modal] .map-search .btn,
html [data-cabinet-map-modal] .map-search textarea,
html [data-cabinet-map-modal] [data-cabinet-map-canvas],
html [data-cabinet-map-modal] [data-cabinet-map-close],
html [data-invitation-card] .invitation-type-state,
html [data-join-osi] [data-join-step="1"] > .row:first-child,
html [data-join-osi] [data-join-step="1"] button[data-join-next],
html [data-join-step="2"] .osi-in-form .form-control,
html [data-join-step="2"] .osi-in-form button[type="submit"],
html [data-join-step="2"] .osi-in-form option,
html [data-join-step="2"] .osi-in-form select::picker(select),
html [data-organization-map-modal] .map-search .btn,
html [data-organization-map-modal] [data-organization-map-canvas],
html [data-organization-map-modal] [data-organization-map-close],
html [data-organization-map-modal] textarea,
html [data-osi-registration] .btn-primary,
html [data-osi-registration] .btn-primary:active,
html [data-osi-registration] .btn-primary:focus,
html [data-osi-registration] .btn-primary:hover,
html [data-osi-registration] .form-control,
html [data-osi-registration] > .card,
html [data-osi-registration] [data-organization-map-open],
html [data-osi-registration]:is([data-organization-kind="1"], [data-organization-kind="5"]) [data-organization-map-open],
html [data-vehicle-menu] #menu-vehicle-add-form button[type="submit"],
html [data-vehicle-menu] #menu-vehicle-add-form input[name="number"],
html [data-vehicle-menu] .avto-add-wrapper-btn button,
html [data-vehicle-menu] .avto-list > [data-vehicle-row],
html body #osi-dynamic-page .employee-heading,
html body #osi-dynamic-page .linked-users-heading,
html body .btn.salemdos-cancel,
html body .btn.salemdos-cancel:active,
html body .btn.salemdos-cancel:focus,
html body .btn.salemdos-cancel:hover,
html body .legacy-rental-workspace .employee-row,
html body .legacy-rental-workspace .employee-row .employee-face-preview-trigger,
html body .osi-cab-menu .organization-registration-choices > .organization-registration-choice,
html body .osi-detail-page .accordion.osi > .card > .card-header .btn[data-legacy-collapse],
html body .osi-detail-page .accordion.osi > .card > .card-header h2 .btn[data-legacy-collapse],
html body .osi-detail-page .accordion.osi > .card:has(> .card-header .btn[data-legacy-collapse]),
html body .osi-security-page .moderation-security-no,
html body .osi-security-page .moderation-security-yes,
html body .osi-security-page .rent-worker-list > .row,
html body .osi-security-page .rent-worker-list > .text-muted,
html body .osi-security-page .worker-tab-btn,
html body .vuz-structure-page .btn-outline-primary,
html body .vuz-structure-page .btn-outline-secondary,
html body .vuz-structure-page .form-control,
html body .vuz-structure-page .legacy-popup-footer button[type='submit'],
html body .vuz-structure-page .legacy-popup-panel,
html body .vuz-structure-page .page-title > .bg-primary,
html body .vuz-structure-page .vuz-corpus-tabs .item,
html body .vuz-structure-page .vuz-level,
html body .vuz-structure-page .vuz-main-tabs > div,
html body .vuz-structure-page [data-vuz-group],
html body .vuz-structure-page form[data-method='DELETE'] button,
html body :is(.osi-detail-page, .legacy-organization-page) .legacy-accordion-link,
html body :is(.osi-detail-page, .legacy-organization-page) a.legacy-row-link:has(> .fa-angle-right),
html body [data-bc-organization-menu] .rental-parking-popup .legacy-popup-panel,
html body [data-bc-organization-menu] .rental-parking-popup button[type='submit'],
html body [data-bc-organization-menu] .rental-service-vehicle .cabinet-delete,
html body [data-bc-organization-menu] .rental-service-vehicle .cabinet-inline-add,
html body [data-bc-organization-menu] .rental-service-vehicle .cabinet-inline-add .btn,
html body [data-bc-organization-menu] .rental-service-vehicle .cabinet-inline-add .form-control,
html body [data-bc-organization-menu] .rental-service-vehicle .cabinet-vehicle-row,
html body [data-bc-organization-menu] .rental-service-vehicle > .card,
html details[data-invite-history] {
    border-radius: 8px !important;
}

/* Standalone reception page shares the public UI radius. */
html .card,
html .form-group input,
html .form-group select,
html .user-result,
html .btn,
html .result-msg,
html .cam-wrap,
html .cam-wrap video,
html .cam-wrap canvas,
html .vb-lang-btn,
html .vb-bot-text,
html .vb-heard,
html .vb-confirm-btns button,
html [data-legacy-result],
html .vb-conversation,
html .vb-chat-message {
    border-radius: 8px !important;
}

/* Bordered content blocks; navigation tiles remain outside this scope. */
html body main.frontend-content :is(.card, .alert, .profile, .frontend-empty, .legacy-accordion-link, .legacy-row-link, .room-item, .etazh, .entrance, .entrance-osi, .modal-content, .legacy-popup-panel, .legacy-property-form-panel, .menu-profile-card, .organization-registration-choice, [data-invitation-card], .legacy-request-card) {
    border-radius: 8px !important;
}

/* Action buttons stay stationary in every interactive state. */
html body main.frontend-content :is(button, input[type="submit"], input[type="reset"], a.btn):not(.profile-btn),
html body main.frontend-content :is(button, input[type="submit"], input[type="reset"], a.btn):not(.profile-btn):is(:hover, :focus, :active, :disabled) {
    transition:none !important;
    animation:none !important;
    transform:none !important;
    translate:none !important;
    scale:none !important;
    rotate:none !important;
    box-shadow:none !important;
}
html body main.frontend-content .btn.salemdos-cancel,
html body main.frontend-content .btn.salemdos-cancel:is(:hover, :focus, :active, :disabled) {
    padding:10px 16px !important;
    border-width:1px !important;
    border-style:solid !important;
}

html body :is([data-passage-filter-panel], .hr-filter-form, #coworking-period) :is(select.form-control, input.form-control:not([type='checkbox']):not([type='radio'])) {
    box-sizing: border-box;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 4px 10px !important;
    line-height: normal !important;
}
html body :is([data-passage-filter-panel], .hr-filter-form, #coworking-period) .select2-container .select2-selection--single {
    box-sizing: border-box;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 3px 10px !important;
}
html body :is([data-passage-filter-panel], .hr-filter-form, #coworking-period) .select2-selection--single .select2-selection__rendered {
    line-height: 27px !important;
}
html body :is([data-passage-filter-panel], .hr-filter-form, #coworking-period) .select2-selection--single .select2-selection__arrow {
    top: 0 !important;
    height: 33px !important;
}
html body :is([data-passage-filter-panel], .hr-filter-form, #coworking-period) select.select2-hidden-accessible {
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* Shared bottom section tabs for organization pages. */
html body main[data-organization-actions] .tab-list-header.bottom {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 425px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid #f3e9e1 !important;
    border-radius: 8px 8px 0 0 !important;
    background: #fffaf6 !important;
    box-shadow: 0 3px 12px rgb(140 87 45 / 8%) !important;
}
/* Section controls belong to the page beneath the expanded main menu. */
html body.legacy-menu-open main[data-organization-actions] .tab-list-header.bottom {
    display: none !important;
}

html body main[data-organization-actions] .tab-list-header.bottom > li {
    flex: 1 1 0;
    min-width: 0;
}
html body main[data-organization-actions] .tab-list-header.bottom > li > a,
html body main[data-organization-actions] .tab-list-header.bottom > li > a:is(:hover, :focus, :active) {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #747b84 !important;
    -webkit-text-fill-color: #747b84 !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
html body main[data-organization-actions] .tab-list-header.bottom > li > a.active,
html body main[data-organization-actions] .tab-list-header.bottom > li > a.active:is(:hover, :focus, :active) {
    background: #fff0e4 !important;
    color: #e77928 !important;
    -webkit-text-fill-color: #e77928 !important;
    font-weight: 600;
}

@media (max-width: 767px) {
    html.pwa-standalone body .tab-list-header.bottom,
    html.pwa-standalone body main[data-organization-actions] .tab-list-header.bottom {
        bottom: 80px !important;
        margin-bottom: 0 !important;
    }
}

/* Keep every section control below the expanded navigation panel. */
html body.legacy-menu-open main.page {
    isolation: isolate;
    z-index: 0;
}
