#settingsLocation.layout.content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#settingsLocation.layout.content[hidden] {
    display: none;
}

.settings-location.viewport {
    position: relative;
    display: grid;
    width: 100%;
}

.settings-location.view {
    grid-area: 1 / 1;
    min-width: 0;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.settings-location.view.primary {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings-location.view.detail {
    opacity: 0;
    transform: translateX(56px);
    pointer-events: none;
}

#settingsLocation.settings-location-detail-active .settings-location.view.primary {
    opacity: 0;
    transform: translateX(-56px);
    pointer-events: none;
}

#settingsLocation.settings-location-detail-active .settings-location.view.detail {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings.title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;

    color: var(--primary-text);
}

.settings.sub-title {
    margin-top: 12px;

    font-size: 16px;

    color: var(--secondary-text);
}

.settings.title.mini {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;

    color: var(--primary-text);
}

.settings.sub-title.mini {
    margin-top: 6px;

    font-size: 14px;

    color: var(--secondary-text);
}

.settings.input-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding-top: 12px;
    margin-bottom: 0px;
    gap: 6px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    color: var(--secondary-text);
}

.settings.input-sublabel {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;

    color: var(--primary-accent);
}

.settings-location.initials-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-text-alt);
    background-color: var(--primary-accent);
    border: none;
}

.settings-location.active-location {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 0px 0px 24px 0px;

    border-bottom: 1px solid var(--primary-border);
}

.settings-location.details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.settings-location.name {
    font-weight: 700;
}

.settings-location.status {
    font-weight: 400;
    color: var(--secondary-text);
}

.settings-location.section-wrapper {
    display: flex;
    flex-direction: column;

    padding: 24px 0px;
}

.settings-location.list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    margin-top: 24px;
    gap: 12px;
}


.settings-location.list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;

    height: 100%;

    gap: 24px;
    padding: 12px;
    border-radius: 20px;

    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.025), 0px 2px 15px rgba(0, 0, 0, 0.025);


    background-color: var(--toolbar-buttonBG);
    transition: all 0.25s cubic-bezier(0.00, 1.13, 0.00, 0.97);
}

.settings-location.list-item:hover {
    background-color: var(--toolbarBG);
}

.settings-location.list-item:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.settings-location.list-item.active {
    background-color: var(--toolbarBG);
}

.settings-location.header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 12px;
}

.settings-location.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 8px;

    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-location.list-chevron {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--secondary-text);
}

.settings-location.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 320px;
    padding: 12px 0px 0px 0px;
}

.settings-location.detail-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-location.general-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.settings-location.general-form[hidden] {
    display: none;
}

.settings-location.general-row {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.settings-location.general-label {
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-text);
}

.settings-location.general-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.settings-location.general-grid {
    display: grid;
    gap: 12px;
}

.settings-location.general-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-location.general-input {
    width: 100%;
    min-height: 50px;
    border-radius: 18px;
    border: 1px solid var(--primary-border);
    background-color: var(--toolbarBG);
    color: var(--primary-text);
    padding: 0px 18px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.settings-location.general-input::placeholder {
    color: var(--secondary-text);
}

select.settings-location.general-input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--secondary-text) 50%),
        linear-gradient(135deg, var(--secondary-text) 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% + 1px), calc(100% - 16px) calc(50% + 1px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

.settings-location.general-input.readonly {
    cursor: not-allowed;
    background-color: var(--headerBG);
    color: var(--secondary-text);
}

.settings-location.general-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

#settingsProfileSecurityActions.settings-location.general-actions {
    justify-content: flex-end;
    gap: 16px;
}

.settings-location.general-status {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-text);
}
#settingsLocationBillsStatus.settings-location.general-status {
    margin-top: 12px;
}

#settingsLocationDetailView:not(.settings-location-general-active) #settingsLocationGeneralForm {
    display: none !important;
}

.settings-location.bills-form {
    width: 100%;
}

.settings-location.bills-viewport {
    position: relative;
    display: grid;
    width: 100%;
}

.settings-location.bills-view {
    grid-area: 1 / 1;
    min-width: 0;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.settings-location.bills-view.primary {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings-location.bills-view.detail {
    opacity: 0;
    transform: translateX(56px);
    pointer-events: none;
}

#settingsLocationBillsForm.settings-location-bill-edit-active .settings-location.bills-view.primary {
    opacity: 0;
    transform: translateX(-56px);
    pointer-events: none;
}

#settingsLocationBillsForm.settings-location-bill-edit-active .settings-location.bills-view.detail {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings-location.bills-card-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 6px;
    width: 100%;

    border-radius: 20px;

    background-color: var(--cardBG);
}

.settings-location.bills-card-grid .card {
    min-width: 0;
}

.settings-location.bills-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.settings-location.bills-list-item {
    gap: 16px;
    min-width: 0;

    border: none;
    background-color: var(--toolbar-buttonBG);
}

.settings-location.bills-list-item:hover {
    background-color: var(--toolbarBG);
}

.settings-location.bills-list-header {
    min-width: 0;
    width: 100%;
}

.settings-location.bills-list-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.settings-location.bills-list-amount {
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-accent);
    white-space: nowrap;
}

#settingsLocationDetailView:not(.settings-location-bills-active) #settingsLocationBillsForm {
    display: none !important;
}

.settings-location.bills-detail-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.settings-location.bills-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

#settingsProfileEmailVerificationPanel {
    z-index: 1201;
    --app-panel-max-width: 860px;
    --app-panel-bg: color-mix(in srgb, var(--cardBG) 92%, var(--bodyBG));
    --app-panel-border: color-mix(in srgb, var(--primary-border) 85%, transparent);
    --app-panel-backdrop: color-mix(in srgb, var(--primary-text) 38%, transparent);
    --app-panel-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

#settingsProfileEmailVerificationPanel::part(body) {
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
    padding-bottom: 48px;
}

.settings-profile.email-verification.dialog {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    color: var(--primary-text);
}

.settings-profile.email-verification.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-profile.email-verification.title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--primary-text);
}

.settings-profile.email-verification.panel-shell {
    width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    border: none;
    padding: 0px 24px 0px 24px;
    box-sizing: border-box;
}

.settings-profile.email-verification.panel-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-profile.email-verification.subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0px;
    color: var(--secondary-text);
}

.settings-profile.email-verification.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1024px) {
    .settings-location.general-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .settings-location.general-label {
        padding-top: 0px;
        font-size: 16px;
    }
}

#toolbarSettings {
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

#controllerSettings.settings-location-detail-active #toolbarSettings .toolbar.controller-wrapper {
    transform: translateX(0px);
}

#controllerSettings.settings-location-detail-active #settingsToolbarCreateButtonWrapper,
#controllerSettings.settings-location-detail-active #settingsToolbarSignOutButtonWrapper {
    display: none;
}

.bills-overview.card {

    width: 100%;
    padding: 20px;

    border-right: 1px solid var(--primary-border);
}

.bills-overview.card.last {

    width: 100%;
    padding: 20px;

    border: none;
}

.card.border-wrapper {
    padding: 1px;
    border-radius: 20px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.025), 0px 2px 15px rgba(0, 0, 0, 0.025);

    background: linear-gradient(135deg, var(--toolbar-border1) 0%, var(--toolbar-border2) 50%, var(--toolbar-border1) 100%);
}

#settingsProfileSecurityUIDCopy.button.nonprefer {
    margin-top: 0px;
}

#settingsProfileSecurityStripeCopy.button.nonprefer {
    margin-top: 0px;
}






#settingsProfile.layout.content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 12px;
}

#settingsProfile.layout.content[hidden] {
    display: none;
}

.settings-profile.viewport {
    position: relative;
    display: grid;
    width: 100%;
}

.settings-profile.view {
    grid-area: 1 / 1;
    min-width: 0;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.settings-profile.view.primary {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings-profile.view.detail {
    opacity: 0;
    transform: translateX(56px);
    pointer-events: none;
}

#settingsProfile.settings-profile-detail-active .settings-profile.view.primary {
    opacity: 0;
    transform: translateX(-56px);
    pointer-events: none;
}

#settingsProfile.settings-profile-detail-active .settings-profile.view.detail {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

#primary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: row;

    gap: 12px;
    margin-bottom: 12px;
}

#secondary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 12px;
}

#tertiary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: row;

    gap: 12px;
}

.settings-profile.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    gap: 0px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--primary-border);
    background-color: var(--cardBG);
}

#accountHolder.settings-profile.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#accountHolderAnalytics.settings-profile.card {
    display: flex;
    flex-direction: row;
    align-items: start;

    height: 100%;
}

#accountHolderDetails.settings-profile.card {
    display: flex;

    width: 100%;
}

.settings-profile.card-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    gap: 12px;
}

.button.toolbar.settings-profile {
    height: 24px;

    color: var(--primary-accent);
    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-profile.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 999px;

    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-profile.card-details-wrapper {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin-top: 12px;
}

.settings-profile.card-details-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    font-size: 14px;
    gap: 12px;
    width: 100%;
    padding: 12px 0px;

    border-bottom: 1px solid var(--primary-border);
}

.settings-profile.card-details-label {
    font-weight: 500;
}

.settings-profile.card-details-result {
    text-align: right;

    color: var(--secondary-text);
}

.settings-profile.analytics-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0px;

    margin-left: 12px;
}

.card.title.account-holder-analytics {
    margin: 0px;
}

.settings-profile.account-holder.initials {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
    aspect-ratio: 1 / 1;

    font-size: 18px;
    font-weight: 900;

    background-color: var(--primary-accent);
    color: var(--primary-text-alt);
}

.settings-profile.account-holder.name {
    white-space: nowrap;

    margin-bottom: 6px;

    font-size: 32px;
    font-weight: 900;

    color: var(--primary-text);
}

.settings-profile.account-holder.status {
    text-align: center;
    margin-top: 0px;
    color: var(--secondary-text);
}

#settingsSubscription.layout.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;

    padding: 0px;

    gap: 12px;
}

#settingsSubscription.layout.content[hidden] {
    display: none;
}

.subscription-overview.card {
    display: flex;
    flex-direction: column;

    background-color: var(--cardBG);
    border-radius: 20px;
    padding: 0px;
    border: 1px solid var(--primary-border);
}

.subscription-overview.card-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    width: 100%;
    padding: 12px 12px 12px 12px;
    gap: 12px;
}

.subscription-overview.card-wrapper .subscription-overview.card {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}

#subscriptionLocationCardLabel.card.label {
    padding: 20px 20px 0px 20px;
}

#subscriptionCardTitle.card.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 56px;
    width: 100%;
    padding: 0px 20px;
}

.subscription.plan.title-wrapper {
    white-space: nowrap;
}

.subscription.amount {
    color: var(--primary-accent);
}

.subscription.amount-range {
    font-size: 14px;
}

#subscriptionRenewalWrapper.card.sub-title {
    padding: 0px 20px 48px 20px;
}

.subscription-overview.card-action-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;

    gap: 12px;
    padding: 12px 20px;

    border-top: 1px solid var(--primary-border);
}

.subscription-overview.card-action-wrapper .button[hidden] {
    display: none !important;
}

.button.subscription {
    font-size: 14px;
    min-width: 30px;
    padding: 7px 15px;
    line-height: 1.43;

    margin: 0px;
}

#subscriptionUpgradePlan.button.subscription {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-text-alt);
}

#subscriptionCancelPlan.button.subscription {
    color: var(--warning);
}
