.ux-field { margin-bottom: 18px; min-width: 0; }
.ux-field label { display: block; margin-bottom: 7px; color: #27272e; font-size: 14px; font-weight: 600; }
.ux-input-wrap { position: relative; }
.ux-field .ux-field-input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 13px 14px; border: 1px solid #dedde7; border-radius: 8px; background: #fbfbfc; color: #17171f; font: inherit; font-size: 16px; }
.ux-field .ux-field-input:focus-visible { outline: 3px solid #bcb6ed; outline-offset: 2px; }
.ux-field .ux-field-input[aria-invalid="true"] { border-color: #b4232f; }
.ux-field-help, .ux-visibility-note { display: block; margin: 7px 0 14px; color: #5e5e69; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.ux-field-error { margin: 6px 0 0; color: #b4232f; font-size: 14px; line-height: 1.5; }
.ux-field-error[hidden] { display: none; }
.ux-input-wrap--password .ux-field-input { padding-right: 56px; }
.ux-password-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #30278f; cursor: pointer; }
.ux-password-toggle i { font-size: 21px; pointer-events: none; }
.ux-error-summary, .ux-form-success { margin: 16px 0; padding: 14px; border: 1px solid #edbdc3; border-radius: 10px; background: #fff0f1; color: #912331; font-size: 14px; line-height: 1.5; }
.ux-error-summary ul { margin: 8px 0 0; padding-left: 20px; }
.ux-error-summary a { color: inherit; text-decoration: underline; }
.ux-error-summary--compact { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 10px 0 20px; padding: 10px 12px; border-color: #efc4c8; border-radius: 9px; background: #fff6f6; color: #8f2732; font-size: 13px; font-weight: 500; line-height: 1.4; }
.ux-error-summary--compact:focus { outline: 2px solid #e6a7ad; outline-offset: 2px; }
.ux-error-summary__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #f9dfe2; color: #a52d39; }
.ux-error-summary__icon i { font-size: 15px; }
.ux-error-summary__message { min-width: 0; overflow-wrap: anywhere; }
.ux-form-success { border-color: #a8d9bd; background: #eaf8f0; color: #17643b; }
.ux-step { display: block; margin: 16px 0 6px; color: #625ab7; font-size: 13px; font-weight: 600; }
.auth-page .contact-area { padding: 48px 0; }
.auth-page .contact-form { width: 100%; max-width: 765px; }
.auth-page .contact-form .shadow-box { width: 100% !important; min-width: 0; padding: 36px 40px; }
.auth-page .auth-brand { display: block; float: none; width: fit-content; max-width: 100%; margin: 0 auto 16px !important; }
.auth-page .auth-brand img { position: static; display: block; width: 220px; max-width: 100%; height: auto; }
.auth-page .contact-form h1 { float: none; margin: 12px 0 24px; font-size: 36px; gap: .2em; }
.auth-page .ux-step { margin: 0 0 6px; text-align: center; }
.auth-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-bottom: 18px; }
.auth-fields-grid > div { min-width: 0; }
.auth-fields-grid .ux-field { margin-bottom: 0; }
.auth-fields-grid .ux-field-help { margin-bottom: 0; }
.auth-page .username-help { margin: 8px 0 0; }
.auth-page .auth-intro { margin-bottom: 20px; color: #5e5e69; font-size: 14px; line-height: 1.6; }
.auth-page .auth-next-step { margin: 16px 0 10px; text-align: center; font-size: 13px; }
.auth-page .auth-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; }
.auth-page .auth-consent input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; }
.auth-page .auth-consent label { display: block; flex: 1; min-width: 0; padding: 0; font-size: 14px; line-height: 1.6; overflow-wrap: break-word; }
.auth-page .auth-consent a { display: inline; float: none; width: auto !important; margin: 0 !important; text-decoration: underline; white-space: normal; }
.auth-page .bio-editor-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.auth-page .bio-editor-heading a { width: auto; float: none; white-space: nowrap; }
.auth-page .auth-captcha { margin: 16px 0; }
.auth-page .auth-form .submit-btn { min-height: 48px; white-space: normal; }
.auth-page .auth-secondary { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 12px; }
.auth-page .auth-form .auth-secondary a { display: inline-flex; align-items: center; float: none; width: auto; max-width: 100%; min-height: 36px; margin: 0 !important; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.auth-page[data-auth-theme="dark"] .ux-field label { color: #f3f2fa; }
.auth-page[data-auth-theme="dark"] .auth-intro,
.auth-page[data-auth-theme="dark"] .ux-field-help,
.auth-page[data-auth-theme="dark"] .slug-status { color: #c8c6d2; }
.auth-page[data-auth-theme="dark"] .username-help strong { color: #c4bcff; }
.ux-optional { margin: 14px 0; }
.ux-optional summary { min-height: 44px; padding: 10px 0; color: #30278f; font-size: 14px; cursor: pointer; }
.ux-copy-button, button.public-copy-control { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d9d5f0; border-radius: 8px; background: #f0efff; color: #30278f; font: inherit; font-size: 14px; cursor: pointer; white-space: normal; }
.ux-copy-button:focus-visible, .public-copy-control:focus-visible, .ux-password-toggle:focus-visible { outline: 3px solid #bcb6ed; outline-offset: 2px; }
.ux-profile-link { display: block; margin: 10px 0; color: #30278f; font-size: 14px; overflow-wrap: anywhere; }
.dashboard-home .dashboard-qr-card__actions { flex-wrap: wrap; }
.ux-notice { position: fixed; z-index: 3000; inset: auto 16px max(16px, env(safe-area-inset-bottom)); width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 14px 18px; border-radius: 10px; background: #25203e; color: #fff; font-size: 14px; line-height: 1.5; box-shadow: 0 4px 24px #0003; }
.ux-notice[hidden] { display: none; }
.cookie-consent { max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); overflow-y: auto; overscroll-behavior: contain; }
.iban-text, .accname-text, .swift-text { flex-wrap: wrap; gap: 8px; overflow-wrap: anywhere; }
.public-copy-control i { font-size: 18px !important; color: currentColor !important; }
.public-copy-control h6 { margin: 0; font: inherit; }
.bank-public-details { gap: 20px; }
.bank-public-details .infos { min-width: 0; }
.public-details-page .bank-public-details .infos > :is(h1, h3, h4, h5) { height: auto !important; margin: 8px 0; color: #20202a; font-size: 14px !important; line-height: 1.5; overflow-wrap: anywhere; }
.public-details-page .bank-public-details .infos h3 { font-size: 16px !important; }
.public-details-page .info-box .bg-img { opacity: .15; }
.public-details-page .fixed-div > img { width: 160px !important; height: 160px !important; object-fit: cover; }
.bank-public-details .ux-account-value { min-width: 0; overflow-wrap: anywhere; }
.share-area-home { flex-wrap: wrap; gap: 8px; }
.bank-modal-grid .ux-optional { grid-column: 1 / -1; }
.ux-bank-name { margin: 10px 0; font-size: 16px; }
.onboarding-list-add { background: #f0efff; color: #30278f; box-shadow: none; border: 1px solid #d9d5f0; }
.onboarding-list-add:hover { background: #e6e3fb; color: #30278f; }
.onboarding-finish { background: #30278f; color: #fff; }
.onboarding-finish:hover { background: #231b73; color: #fff; }
.onboarding-modal:not([open]) { display: none; }
.onboarding-modal.ux-dialog-fallback[open] { position: fixed; z-index: 2000; inset: 12px; width: min(560px, calc(100% - 24px)); box-shadow: 0 0 0 100vmax #13112394; }
.dashboard-top-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 28px; }
.dashboard-home a.dashboard-top-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 16px; border: 1px solid #d9d5f0; border-radius: 10px; background: #f0efff; color: #30278f; font-size: 14px; font-weight: 600; text-decoration: none; }
.dashboard-home a.dashboard-top-action--primary { background: #30278f; color: #fff; border-color: #30278f; }
#dashboardProfilePhoto { scroll-margin-top: 24px; }
.dashboard-avatar-photo { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.public-profile-page .profile-photo-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.public-profile-page .profile-photo-button img { display: block; }
.public-profile-page .profile-photo-button.is-hinted { animation: profile-photo-pulse 1.8s ease-in-out 3; }
.public-profile-page .public-avatar-tip { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 12px); padding: 5px 7px; border-radius: 6px; background: #30278fe8; color: #fff; font-size: 11px; font-weight: 500; line-height: 1.4; text-align: center; pointer-events: none; }
.public-profile-page .public-avatar-tip[hidden], .public-profile-welcome[hidden] { display: none; }
.profile-photo-hint, .public-profile-page .profile-card .profile-photo-hint { max-width: 280px; margin: 12px auto 0; color: #656570; font-size: 12px; font-weight: 400; line-height: 1.5; text-align: center; }
.public-owner-nav { display: flex; justify-content: flex-start; margin-bottom: 12px; }
.public-profile-page a.public-owner-panel { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 0; color: #30278f; font-size: 13px; font-weight: 500; text-decoration: none; }
.public-profile-page a.public-owner-panel:hover { text-decoration: underline; }
.public-profile-welcome { position: fixed; z-index: 3000; top: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 14px; border: 1px solid #bde2cb; border-radius: 9px; background: #eaf8f0; color: #17643b; font-size: 13px; line-height: 1.5; text-align: center; box-shadow: 0 4px 18px #17643b12; opacity: 1; transition: opacity .3s ease; pointer-events: none; }
.public-profile-welcome.is-leaving { opacity: 0; }
@keyframes profile-photo-pulse { 0%, 100% { box-shadow: 0 0 0 0 #9b90e400; } 50% { box-shadow: 0 0 0 3px #9b90e4a6, 0 0 0 8px #9b90e41a; } }
.public-profile-intro > .menu { margin-bottom: 24px; }
.public-profile-page .public-bank-card { --bank-action-size: 28px; position: relative; width: 100%; min-width: 0; padding: 18px 16px; border: 1px solid #e1e7ec; border-radius: 18px; background: #f7f8fa; box-shadow: 0 3px 3px #dbe3e9; }
.public-profile-page .public-bank-card__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 10px; }
.public-profile-page .public-bank-card__logo { display: block; width: 110px; max-width: 100%; height: 30px; object-fit: contain; object-position: left center; }
.public-profile-page .public-bank-card__bank-name { min-width: 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.public-profile-page .public-bank-card__actions { display: flex; align-items: center; gap: 8px; }
.public-profile-page .public-bank-card__actions > span { color: #73737e; font-size: 11px; }
.public-profile-page .public-bank-card button.public-bank-card__action { position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--bank-action-size); width: var(--bank-action-size); height: var(--bank-action-size); min-height: var(--bank-action-size); margin: 0; padding: 0; border: 0; border-radius: 7px; background: #30278f; color: #fff; cursor: pointer; }
.public-profile-page .public-bank-card__action i { font-size: 15px; color: inherit; }
.public-profile-page .public-bank-card__currency { margin: 0 0 4px; color: #17171f; font-size: 13px; font-weight: 600; line-height: 1.5; }
.public-profile-page .public-bank-card__iban { min-width: 0; margin-top: 8px; }
.public-profile-page .public-bank-card__copy-iban { position: static; display: block; width: fit-content; min-height: 20px; margin: 0 0 2px; padding: 2px 5px; border: 1px solid #ded9f3; border-radius: 4px; background: #f0efff; color: #30278f; font: inherit; font-size: 10px; line-height: 1.4; cursor: pointer; }
.public-profile-page .public-bank-card__copy-iban:focus-visible { outline: 3px solid #9b90e4; outline-offset: 2px; }
.public-profile-page .public-bank-card__field { --bank-action-size: 24px; display: grid; grid-template-columns: minmax(0, 1fr) var(--bank-action-size); align-items: center; gap: 8px; min-width: 0; min-height: 28px; margin-top: 2px; color: #17171f; font-size: 12px; font-weight: 500; line-height: 1.6; }
.public-profile-page .public-bank-card__value { min-width: 0; overflow-wrap: anywhere; }
.public-profile-page .public-bank-card__field--owner { color: #73737e; font-size: 14px; font-weight: 600; }
.dashboard-top-action:focus-visible, .public-owner-panel:focus-visible, .dashboard-avatar-photo:focus-visible, .profile-photo-button:focus-visible, .public-bank-card__action:focus-visible { outline: 3px solid #9b90e4; outline-offset: 3px; }
@media (max-width: 767px) {
    .auth-page .contact-area { padding: 24px 0; }
    .auth-page .contact-form .shadow-box { padding: 22px 16px; }
    .auth-page .auth-brand img { width: 180px; }
    .auth-page .contact-form h1 { margin-bottom: 20px; font-size: 28px; }
    .auth-fields-grid { grid-template-columns: 1fr; gap: 16px; }
    .auth-page .auth-form .auth-secondary a { min-height: 44px; }
    .auth-page .username-help { font-size: 13px; }
    .onboarding-bank-form input, .onboarding-bank-form select,
    .onboarding-search input, .onboarding-filter select,
    .bank-modal-form input, .bank-modal-form select,
    .profile-editor-form input, .social-editor-form input,
    .invoice-editor-form input, .invoice-editor-form textarea,
    #bank-accounts-form input, #bank-accounts-form select { font-size: 16px; }
    .onboarding-account-item__content strong, .onboarding-account-item__content small,
    .onboarding-account-item__content span { white-space: normal; overflow-wrap: anywhere; }
    .onboarding-delete, .onboarding-modal__close, .onboarding-submit, .onboarding-cancel { min-width: 44px; min-height: 44px; }
    .onboarding-modal__footer { padding-bottom: env(safe-area-inset-bottom); }
    .dashboard-shortcut__copy small { white-space: normal; }
    .dashboard-home .dashboard-qr-card .ux-copy-button { width: 100%; }
    .bank-public-details { flex-direction: column; gap: 12px; }
    .bank-public-details .infos { width: 100%; }
    .share-area-home { position: static; margin-top: 16px; }
    .bank-public-details .ux-account-value { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .onboarding-account-item.is-new { animation: none; }
    .public-profile-page .profile-photo-button.is-hinted { animation: none; }
    .public-profile-welcome { transition: none; }
}
