/* Ankodi — mobile-first polish (clients ~90% on phones) */

:root {
    --ank-touch-min: 44px;
    --ank-sticky-h: 72px;
    --ank-safe-b: env(safe-area-inset-bottom, 0px);
    --ank-safe-t: env(safe-area-inset-top, 0px);
}

/* Prevent iOS input zoom — 16px minimum on form fields */
input.form-control,
select.form-select,
textarea.form-control,
.ob-field .form-control,
.ob-field .form-select {
    font-size: 16px;
}

/* ── Onboarding (client + therapist registration) ── */
@media (max-width: 991px) {
    .ob-body {
        padding-bottom: calc(var(--ank-sticky-h) + var(--ank-safe-b));
    }

    .ob-mobile-header .ob-mobile-top {
        padding-top: calc(0.65rem + var(--ank-safe-t));
    }

    .ob-form-panel {
        max-width: none;
        width: 100%;
    }

    .ob-field .form-control,
    .ob-field .form-select {
        min-height: var(--ank-touch-min);
        padding: 0.65rem 0.85rem;
    }

    .ob-choice-card {
        min-height: 96px;
        padding: 1rem;
        -webkit-tap-highlight-color: transparent;
    }

    .ob-choice-card i {
        font-size: 1.75rem;
    }

    .ob-btn-outline {
        min-height: var(--ank-touch-min);
    }

    /* Sticky primary CTA */
    .ob-form-panel form {
        padding-bottom: calc(var(--ank-sticky-h) + 8px);
    }

    .ob-btn-primary[type="submit"] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        border-radius: 0;
        min-height: calc(var(--ank-sticky-h) + var(--ank-safe-b));
        padding-bottom: calc(0.9rem + var(--ank-safe-b));
        z-index: 1030;
        box-shadow: 0 -4px 20px rgba(61, 49, 97, 0.18);
    }

    .ob-btn-primary[type="submit"]:active {
        transform: none;
    }

    .tp-portal .mobile-sticky-submit,
    .cp-portal .mobile-sticky-submit {
        position: static;
        min-height: var(--ank-touch-min);
        border-radius: 10px;
        box-shadow: none;
        padding-bottom: 0.65rem;
    }
}

@media (max-width: 991px) {
    .ob-choice-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── Portal shell (therapist + client) ── */
@media (max-width: 991px) {
    .tp-body {
        padding-bottom: var(--ank-safe-b);
    }

    .tp-sidebar {
        width: min(300px, 88vw);
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .tp-sidebar.open {
        transform: translateX(0);
    }

    .tp-shell.sidebar-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 10, 30, 0.5);
        z-index: 1035;
        animation: ankFadeIn 0.2s ease;
    }

    .tp-menu-toggle {
        min-width: var(--ank-touch-min);
        min-height: var(--ank-touch-min);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tp-topbar {
        padding: 0.75rem 1rem;
        padding-top: calc(0.75rem + var(--ank-safe-t));
    }

    .tp-page-title {
        font-size: 1.15rem;
    }

    .tp-page-sub {
        font-size: 0.8rem;
    }

    .tp-content {
        padding: 1rem;
    }

    .tp-portal .tp-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .tp-portal .tp-stat {
        padding: 0.65rem 0.75rem;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .tp-portal .tp-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .tp-portal .tp-stat-value {
        font-size: 1rem;
    }

    .tp-portal .tp-card {
        padding: 0.9rem;
        border-radius: 12px;
    }

    .tp-card-head {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tp-card-head .badge {
        align-self: flex-start;
    }

    .tp-doc-grid {
        grid-template-columns: 1fr;
    }

    .tp-portal .tp-doc-card {
        min-height: auto;
        padding: 0.85rem;
    }

    .tp-portal .tp-doc-card .btn,
    .tp-portal .tp-doc-card .tp-upload-btn {
        width: 100%;
        min-height: 40px;
        font-size: 0.8125rem;
    }

    .tp-progress-ring-wrap {
        margin: 0 auto;
    }

    .tp-alert-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .doc-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .doc-row .text-end {
        text-align: left !important;
    }

    .doc-row .btn {
        width: 100%;
        min-height: var(--ank-touch-min);
    }

    .tp-nav-link {
        min-height: var(--ank-touch-min);
        padding: 0.85rem 1rem;
    }

    #btnLogout {
        min-height: var(--ank-touch-min);
    }

    .tp-content form {
        padding-bottom: calc(var(--ank-sticky-h) + 8px);
    }

    .tp-content form .mobile-sticky-submit,
    .tp-content form .btn-ank[type="submit"] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        border-radius: 0;
        min-height: calc(var(--ank-sticky-h) + var(--ank-safe-b));
        padding-bottom: calc(0.75rem + var(--ank-safe-b));
        z-index: 1025;
        box-shadow: 0 -4px 20px rgba(61, 49, 97, 0.15);
    }
}

@media (max-width: 380px) {
    .tp-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Client portal ── */
@media (max-width: 991px) {
    .cp-welcome {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .cp-welcome h2 {
        font-size: 1.25rem;
    }

    .cp-profile-grid {
        grid-template-columns: 1fr;
    }

    .cp-matching-banner {
        flex-direction: column;
        padding: 1rem;
    }

    .cp-matching-banner i {
        font-size: 1.75rem;
    }
}

/* ── Public pages (login, register, landing, admin) ── */
@media (max-width: 767px) {
    .ank-main {
        padding: 1rem 0 calc(var(--ank-sticky-h) + var(--ank-safe-b));
        min-height: calc(100vh - 120px);
    }

    .ank-navbar .navbar-brand span {
        font-size: 1rem;
    }

    .ank-navbar .btn,
    .ank-navbar .nav-link {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }

    .ank-hero {
        padding: 1.5rem 0 1rem;
        text-align: center;
    }

    .ank-hero h1 {
        font-size: 1.5rem;
    }

    .ank-hero .btn-lg {
        width: 100%;
        min-height: var(--ank-touch-min);
        margin-bottom: 0.5rem;
    }

    .ank-hero .d-flex.gap-2 {
        flex-direction: column;
    }

    /* Auth pages — button stays in card, not detached sticky bar */
    .auth-submit {
        min-height: var(--ank-touch-min);
    }

    .auth-role-cta {
        min-height: var(--ank-touch-min);
    }

    /* Admin review queue */
    .ank-admin-head {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem;
    }

    .ank-admin-head .form-select {
        max-width: none !important;
        min-height: var(--ank-touch-min);
    }

    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .table-responsive {
        margin: 0 -0.5rem;
    }

    .table .btn-sm {
        min-height: 38px;
        padding: 0.35rem 0.75rem;
    }

    .page-pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .page-link {
        min-height: var(--ank-touch-min);
        display: inline-flex;
        align-items: center;
        padding: 0 0.75rem;
    }

    #reviewModal .modal-footer {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    #reviewModal .modal-footer .btn {
        width: 100%;
        min-height: var(--ank-touch-min);
        margin: 0;
    }

    .ap-topbar-right { flex-wrap: wrap; }
    .ap-data-toolbar { flex-direction: column; align-items: stretch; }
    .ap-toolbar-controls { flex-direction: column; width: 100%; }
    .ap-search-wrap { width: 100%; }
    .ap-filter-select { width: 100%; max-width: none; }
    .ap-review-actions { flex-direction: column; }
}

@media (max-width: 400px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* Disable hover lift on touch devices */
@media (hover: none) {
    .ob-btn-primary:hover,
    .btn-ank:hover {
        transform: none;
    }
}

@keyframes ankFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Therapist and client accounts always use the phone shell. */
.app-mobile {
    background: #ddd6ea;
}

.app-mobile .tp-shell {
    width: min(430px, 100%);
    margin: 0 auto;
    min-height: 100dvh;
    position: relative;
    background: var(--tp-bg, #f4f2f8);
}

.app-mobile .tp-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: max(0px, calc(50vw - 215px));
    width: min(300px, 88%);
    transform: translateX(-110%);
    visibility: hidden;
    z-index: 1060;
}

.app-mobile .tp-sidebar.open {
    transform: none;
    visibility: visible;
}

.app-mobile .tp-shell.sidebar-open::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 30, 0.5);
    z-index: 1055;
}

.app-mobile .tp-shell {
    overflow-x: hidden;
}

.app-mobile .tp-main,
.app-mobile .ap-main,
.app-mobile.ap-body .tp-main.ap-main {
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
}

.app-mobile .ap-menu-btn,
.app-mobile .app-soon {
    display: none !important;
}

.app-mobile .ap-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.7rem 0.9rem;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
    gap: 0.5rem;
    background: #f3f5f8;
}

.app-topbar-brand {
    display: none;
}

.app-mobile .app-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #1f1633;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.app-mobile .app-topbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
}

.app-mobile .ap-topbar-title,
.app-mobile .ap-topbar-eyebrow {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-mobile .ap-topbar-left {
    position: relative;
    min-height: 32px;
}

.app-mobile .ap-user-info,
.app-mobile .ap-user-chevron {
    display: none;
}

.app-mobile .ap-user-pill {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.app-mobile .ap-content,
.app-mobile.tp-portal .ap-content {
    max-width: none;
    padding: 0.85rem 0.85rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
    background: #f3f5f8;
}

.app-mobile .row > [class*="col-"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.app-mobile .ap-kpi-grid,
.app-mobile .tp-stat-grid,
.app-mobile .ap-doc-grid,
.app-mobile .tp-doc-grid,
.app-mobile .cp-profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.app-mobile .ap-doc-grid,
.app-mobile .tp-doc-grid,
.app-mobile .cp-profile-grid {
    grid-template-columns: 1fr;
}

.app-mobile .ap-kpi-card {
    min-height: 0;
    padding: 0.75rem 2.2rem 0.75rem 0.8rem;
    border-radius: 14px;
}

.app-mobile .ap-kpi-value {
    font-size: 1.35rem;
}

.app-mobile .ap-data-toolbar,
.app-mobile .ap-toolbar-controls {
    width: 100%;
    margin-left: 0 !important;
}

.app-mobile .ap-filter-select,
.app-mobile .ap-search-wrap {
    width: 100%;
    max-width: none;
}

.app-mobile .tp-bottom-nav,
.app-mobile .cp-bottom-nav {
    position: fixed;
    left: 50%;
    right: auto;
    width: min(430px, 100%);
    transform: translateX(-50%);
    z-index: 1040;
}

.app-mobile .ob-btn-primary[type="submit"],
.app-mobile .tp-content form .btn-ank[type="submit"] {
    position: static;
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    box-shadow: none;
    margin-top: 0.75rem;
}

.app-mobile .ap-profile-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.app-mobile .ap-profile-tab {
    white-space: nowrap;
}

.app-mobile #cpEngagementRateBtn,
.app-mobile .app-pill {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--tp-primary, #5b4b8a);
    color: #fff;
    font-weight: 700;
}

.app-mobile .app-page-lead {
    margin: 0 0 0.75rem;
    color: #6d657c;
    font-size: 0.86rem;
    line-height: 1.45;
}

.app-mobile .app-sessions-page .app-section-head {
    margin-top: 0.35rem;
}

.app-mobile .app-schedule-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 48px;
    margin: 0.75rem 0;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #5b4b8a;
    box-shadow: 0 10px 28px rgba(91, 75, 138, 0.35);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
}

.app-mobile .app-schedule-cta i {
    font-size: 1.25rem;
}

.app-mobile .app-sessions-list-head .app-list-meta {
    color: #8b849c;
    font-size: 0.78rem;
    font-weight: 600;
}

.app-mobile .app-pick-client-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    margin: 0.5rem 0 0.25rem;
}

.app-mobile .app-pick-client-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 16px;
    background: #f7f5fb;
    color: inherit;
    text-align: left;
}

.app-mobile .app-pick-client-row .bx-chevron-right {
    margin-left: auto;
    color: #c4bfd0;
    font-size: 1.2rem;
}

.app-mobile .app-sessions-page .ap-kpi-grid {
    margin-bottom: 0.15rem;
}

.app-mobile .app-wallet-page .ap-kpi-grid {
    margin-bottom: 0.15rem;
}

.app-mobile .app-wallet-hero {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0.65rem 0 0.25rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #fff4d6 0%, #ffe9a8 100%);
    box-shadow: 0 12px 32px rgba(183, 121, 31, 0.12);
}

.app-mobile .app-wallet-kicker {
    color: #8b6914;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-mobile .app-wallet-balance {
    color: #1f1633;
    font-size: 1.75rem;
    line-height: 1.1;
}

.app-mobile .app-wallet-sub {
    color: #6d657c;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.app-mobile .app-wallet-cta {
    background: #b7791f;
    box-shadow: 0 10px 28px rgba(183, 121, 31, 0.35);
}

.app-mobile .app-wallet-payout-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 14px;
    background: #fff4d6;
    color: #b7791f;
    font-size: 1.25rem;
}

.app-mobile .app-payout-card .app-session-foot {
    margin-top: 0.15rem;
}

.app-mobile .app-filter-pill {
    width: 100%;
    min-height: 40px;
    padding: 0.35rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31, 22, 51, 0.06);
    color: #1f1633;
    font-size: 0.82rem;
    font-weight: 700;
}

.app-mobile .app-client-board {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.app-mobile .app-client-board-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 22, 51, 0.06);
    cursor: pointer;
}

.app-mobile .app-client-board-card.is-active {
    box-shadow: 0 0 0 2px #5b4b8a, 0 10px 24px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: #5b4b8a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.app-mobile .app-btn-pill.is-muted {
    background: #f3f5f8;
    color: #5c566b;
}

.app-mobile .app-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.app-mobile .app-chip-row.is-tight {
    margin-top: 0.15rem;
}

.app-mobile .app-panel {
    margin-bottom: 0.75rem;
}

.app-mobile .app-request-quote {
    margin: 0;
    color: #6d657c;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.4;
}

.app-mobile .app-request-note {
    margin: 0.25rem 0 0;
    color: #5b4b8a;
    font-size: 0.78rem;
    font-weight: 600;
}

.app-mobile .app-session-foot {
    margin: 0;
    color: #8b849c;
    font-size: 0.74rem;
    font-weight: 600;
}

.app-mobile .app-quiet.is-inline {
    margin-bottom: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(31, 22, 51, 0.04);
}

.app-mobile .app-session.app-session--flat {
    border: 0;
    box-shadow: 0 10px 24px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-session-list--flush {
    padding-left: 0;
    padding-right: 0;
}

.app-session-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.15rem 0.85rem 1rem;
}

.app-session {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--tp-border, #e8e3f0);
    border-radius: 16px;
    background: #fff;
}

.app-session-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
}

.app-session-name {
    font-weight: 700;
    color: var(--tp-primary-dark, #3d3161);
    font-size: 0.95rem;
}

.app-session-meta {
    font-size: 0.8rem;
    color: var(--tp-muted, #6b7280);
}

.app-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.app-session-actions .ap-btn-row {
    min-height: 36px;
}

.app-session-when {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.15rem;
}

.app-session-when div {
    background: #f7f5fb;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

.app-session-when span {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.app-session-when strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.84rem;
    color: #1f2937;
}

.app-session-actions .app-pill {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    border: 0;
}

.app-mobile .tp-bottom-nav-item.active,
.app-mobile .cp-bottom-nav-item.active {
    background: transparent;
    color: #5b4b8a;
}

.app-mobile .tp-bottom-nav-item.active i,
.app-mobile .cp-bottom-nav-item.active i {
    background: #efeaf8;
    border-radius: 14px;
    padding: 0.22rem 0.75rem;
}

.app-mobile .app-hero {
    background: linear-gradient(145deg, #6d5b9a 0%, #4c3d78 100%);
    color: #fff;
    border: 0;
    border-radius: 22px;
    padding: 1.15rem 1.15rem 1.05rem;
}

.app-mobile .app-hero .tp-card-title,
.app-mobile .app-hero p {
    color: rgba(255, 255, 255, 0.88);
}

.app-mobile .app-hero .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 0.35rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #3d3161;
    font-weight: 700;
}

.app-mobile .app-screen {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.15rem;
}

.app-mobile #tpFocus,
.app-mobile #cpFocus {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-mobile .app-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 22, 51, 0.06);
    color: inherit;
    text-decoration: none;
}

.app-mobile .app-me-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.app-mobile .app-me-kicker {
    color: #8b849c;
    font-size: 0.78rem;
    font-weight: 600;
}

.app-mobile .app-me-name {
    color: #1f1633;
    font-size: 1.35rem;
    line-height: 1.15;
}

.app-mobile .app-me-sub {
    color: #6d657c;
    font-size: 0.82rem;
    font-weight: 600;
}

.app-mobile .app-me-place {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.15rem;
    color: #17945a;
    font-size: 0.78rem;
    font-weight: 600;
}

.app-mobile .app-me-photo {
    width: 56px;
    height: 56px;
    font-size: 1rem;
}

.app-mobile .app-home-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 22, 51, 0.05);
    color: #9aa1ab;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.app-mobile .app-home-search i {
    font-size: 1.15rem;
}

.app-mobile .app-me-shell {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
    overflow: visible;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-me-shell > .app-me {
    box-shadow: none;
    border-radius: 24px 24px 0 0;
}

.app-mobile .app-stat-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #f0edf5;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.app-mobile .app-stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-height: 58px;
    padding: 0.5rem 0.2rem;
    border: 0;
    background: #fff;
    color: #1f1633;
    text-align: center;
}

.app-mobile .app-stat-cell:not(:first-child) {
    box-shadow: inset 1px 0 0 #f0edf5;
}

.app-mobile .app-stat-cell strong {
    font-size: 1.05rem;
    line-height: 1.15;
}

.app-mobile .app-stat-cell.is-money strong {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-mobile .app-stat-cell span {
    color: #8b849c;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-mobile .app-stat-cell:active {
    background: #f7f5fb;
}

.app-mobile .app-home-page .app-schedule-cta {
    margin-top: 0.35rem;
    text-decoration: none;
}

.app-mobile .app-client-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.app-mobile .app-home-focus {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-mobile .app-day-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.65rem;
}

.app-mobile .app-tile-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.45rem;
}

.app-mobile .app-tile {
    display: flex;
    flex: 0 0 72px;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 72px;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

.app-mobile .app-tile-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 22, 51, 0.07);
    font-size: 1.45rem;
}

.app-mobile .app-tile-label {
    max-width: 72px;
    color: #1f1633;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.app-mobile .app-tile.is-session .app-tile-icon {
    background: #efeaf8;
    color: #5b4b8a;
}

.app-mobile .app-tile.is-profile .app-tile-icon {
    background: #e8f0fa;
    color: #4a6fa5;
}

.app-mobile .app-tile.is-docs .app-tile-icon {
    background: #e7f6ee;
    color: #17945a;
}

.app-mobile .app-tile.is-wallet .app-tile-icon {
    background: #fff4d6;
    color: #b7791f;
}

.app-mobile .app-day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    border-radius: 20px;
    background: linear-gradient(165deg, #3dce8c 0%, #17945a 100%);
    color: #fff;
}

.app-mobile .app-day-date span,
.app-mobile .app-day-date em {
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 600;
    opacity: 0.92;
}

.app-mobile .app-day-date strong {
    font-size: 1.65rem;
    line-height: 1;
}

.app-mobile .app-day-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 92px;
    padding: 0.85rem 1rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 22, 51, 0.05);
    color: inherit;
    text-decoration: none;
}

.app-mobile .app-day-side strong {
    color: #1f1633;
    font-size: 0.95rem;
}

.app-mobile .app-day-side span {
    color: #6d657c;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-mobile .app-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: #fff;
}

.app-mobile .app-status-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 16px;
    background: #efeaf8;
    color: #5b4b8a;
    font-size: 1.35rem;
}

.app-mobile .app-status.is-done .app-status-mark {
    background: #e7f6ee;
    color: #1f8a4c;
}

.app-mobile .app-status strong {
    display: block;
    color: #1f1633;
    font-size: 1rem;
}

.app-mobile .app-status span span {
    display: block;
    margin-top: 0.1rem;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.35;
}

.app-mobile .app-kicker {
    margin: 0.85rem 0.15rem 0.4rem;
    color: #8b849c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-mobile .app-list {
    display: flex;
    flex-direction: column;
    margin: 0 0 0.35rem;
    padding: 0.15rem 0;
    list-style: none;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
}

.app-mobile .app-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin: 0;
    padding: 0.8rem 0.85rem;
    border: 0;
    border-bottom: 1px solid #f3f0f7;
    background: transparent;
    text-align: left;
    font: inherit;
}

.app-mobile .app-list > .app-row:last-child,
.app-mobile .app-list > li:last-child {
    border-bottom: 0;
}

.app-mobile .app-row-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 14px;
    background: #f4f0fa;
    color: #5b4b8a;
    font-size: 1.15rem;
}

.app-mobile .app-row-main {
    flex: 1;
    min-width: 0;
}

.app-mobile .app-row-title {
    display: block;
    color: #2a2340;
    font-size: 0.92rem;
    font-weight: 700;
}

.app-mobile .app-row-sub {
    display: block;
    margin-top: 0.1rem;
    overflow: hidden;
    color: #8b849c;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-mobile .app-mini {
    flex: none;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #f4f0fa;
    color: #6b6578;
    font-size: 0.68rem;
    font-weight: 700;
}

.app-mobile .app-mini.approved {
    background: #e7f6ee;
    color: #1f8a4c;
}

.app-mobile .app-mini.pending,
.app-mobile .app-mini.asked {
    background: #efeaf8;
    color: #5b4b8a;
}

.app-mobile .app-mini.rejected {
    background: #fde8e8;
    color: #b42318;
}

.app-mobile .app-chevron {
    flex: none;
    color: #c4bdd2;
    font-size: 1.25rem;
}

.app-mobile .app-footnote {
    margin: 0.65rem 0.2rem 0;
    color: #8b849c;
    font-size: 0.75rem;
    line-height: 1.4;
}

.app-mobile a.app-row,
.app-mobile a.app-appt {
    color: inherit;
    text-decoration: none;
}

.app-mobile .app-place {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 220px;
    margin: 0.05rem 0 0;
    overflow: hidden;
    color: #6d657c;
    font-size: 0.78rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-mobile .app-place i {
    color: #17945a;
    font-size: 0.95rem;
}

.app-mobile .ap-user-avatar.has-photo,
.app-mobile .ap-sidebar-user-avatar.has-photo {
    overflow: hidden;
    padding: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e4dcf3;
}

.app-mobile .ap-user-avatar img,
.app-mobile .ap-sidebar-user-avatar img,
.app-mobile .app-initials img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.app-mobile .app-initials.has-photo {
    overflow: hidden;
    padding: 0;
    background: #efeaf8;
}

.app-mobile .app-personal {
    margin: 0 0.15rem;
    color: #6d657c;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-mobile .app-today {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-today-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    flex: none;
    border-radius: 18px;
    background: linear-gradient(160deg, #3dce8c 0%, #17945a 100%);
    color: #fff;
}

.app-mobile .app-today-date span,
.app-mobile .app-today-date em {
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 600;
    opacity: 0.9;
}

.app-mobile .app-today-date strong {
    font-size: 1.7rem;
    line-height: 1;
}

.app-mobile .app-today p {
    margin: 0;
    color: #1f1633;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.app-mobile .app-todos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.app-mobile .app-todo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-height: 118px;
    padding: 0.9rem 0.85rem;
    border-radius: 22px;
    text-decoration: none;
}

.app-mobile .app-todo strong {
    color: #1f1633;
    font-size: 0.95rem;
}

.app-mobile .app-todo span {
    color: #5c566b;
    font-size: 0.75rem;
    font-weight: 600;
}

.app-mobile .app-todo i {
    font-size: 1.45rem;
}

.app-mobile .app-todo.is-session {
    background: #efe7ff;
}

.app-mobile .app-todo.is-session i { color: #5b4b8a; }

.app-mobile .app-todo.is-wallet {
    background: #ffe9a8;
}

.app-mobile .app-todo.is-wallet i { color: #b7791f; }

.app-mobile .app-feature {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    border-radius: 26px;
    background: #ddd4fb;
}

.app-mobile .app-feature .app-row-sub,
.app-mobile .app-feature .app-appt-name {
    color: #1f1633;
}

.app-mobile .app-feature .app-appt-status.is-ok { color: #176b3a; }
.app-mobile .app-feature .app-appt-status.is-wait { color: #3d3161; }

.app-mobile .app-feature .app-initials {
    background: #fff;
}

.app-mobile .app-feature .app-session-when div {
    background: #fff;
}

.app-mobile .app-feature .app-session-when span,
.app-mobile .app-feature .app-session-when strong,
.app-mobile .app-feature .app-session-when em {
    letter-spacing: 0;
    text-transform: none;
}

.app-mobile .app-feature-btn,
.app-mobile .app-feature-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.app-mobile .app-feature-btn,
.app-mobile .app-feature-actions .is-solid {
    background: #fff;
    color: #1f1633;
}

.app-mobile .app-feature-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.app-mobile .app-feature-actions .is-ghost {
    border: 1.5px solid #1f1633;
    color: #1f1633;
    background: transparent;
}

.app-mobile .app-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.app-mobile .app-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.3rem 0.75rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 22, 51, 0.05);
    color: #1f1633;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.app-mobile .app-quick i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 1.25rem;
}

.app-mobile .app-quick .is-green i { background: #e7f6ee; color: #17945a; }
.app-mobile .app-quick .is-amber i { background: #fff4e5; color: #d97706; }
.app-mobile .app-quick .is-purple i { background: #efeaf8; color: #5b4b8a; }

.app-mobile .app-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.15rem 0.1rem 0.15rem;
}

.app-mobile .app-section-head h2 {
    margin: 0;
    color: #1f1633;
    font-size: 1.05rem;
    font-weight: 700;
}

.app-mobile .app-section-head a {
    color: #17945a;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.app-mobile .app-appt {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    padding: 0.95rem 0.95rem 0.85rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 22, 51, 0.08);
}

.app-mobile .app-appt--lead {
    padding: 1rem;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(31, 22, 51, 0.1);
}

.app-mobile .app-appt--compact {
    gap: 0.65rem;
    margin-bottom: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex: none;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #eef0f3;
    color: #5c566b;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.app-mobile .app-status-pill.is-ok {
    background: #e7f6ee;
    color: #17945a;
}

.app-mobile .app-status-pill.is-wait {
    background: #efeaf8;
    color: #5b4b8a;
}

.app-mobile .app-appt-top {
    align-items: flex-start;
}

.app-mobile .app-appt .app-initials {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
}

.app-mobile .app-appt-name {
    font-size: 1rem;
    line-height: 1.2;
}

.app-mobile .app-appt-status {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin-top: 0.28rem;
    color: #8b849c;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-mobile .app-appt-status.is-ok {
    color: #1f8a4c;
}

.app-mobile .app-appt-status.is-wait {
    color: #5b4b8a;
}

.app-mobile .app-appt .app-session-when {
    gap: 0.55rem;
    margin-top: 0;
}

.app-mobile .app-appt .app-session-when div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 14px;
    background: #f4f5f7;
}

.app-mobile .app-appt .app-session-when i {
    color: #9aa1ab;
    font-size: 1.2rem;
}

.app-mobile .app-appt .app-session-when span {
    display: block;
    letter-spacing: 0;
    text-transform: none;
}

.app-mobile .app-appt .app-session-when em {
    display: block;
    color: #9aa1ab;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 600;
    text-transform: none;
}

.app-mobile .app-appt .app-session-when strong {
    margin-top: 0.05rem;
    color: #1f2937;
    font-size: 0.84rem;
}

.app-mobile .app-appt-top {
    display: flex;
    gap: 0.7rem;
}

.app-mobile .app-appt-name {
    display: block;
    color: #1f1633;
    font-weight: 700;
}

.app-mobile .app-initials {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: #efeaf8;
    color: #5b4b8a;
    font-size: 0.82rem;
    font-weight: 700;
}

.app-mobile .app-prefs {
    margin-bottom: 0.9rem;
    padding: 1rem 1.05rem 0.85rem;
    border-radius: 22px;
    background: #fff;
}

.app-mobile .app-prefs h2 {
    margin: 0 0 0.25rem;
    color: #1f1633;
    font-size: 1.05rem;
    font-weight: 700;
}

.app-mobile .app-prefs p {
    margin: 0 0 0.35rem;
    color: #6d657c;
    font-size: 0.84rem;
    line-height: 1.4;
}

.app-mobile .app-prefs label {
    display: block;
    margin: 0.65rem 0 0.3rem;
    color: #1f1633;
    font-size: 0.82rem;
    font-weight: 600;
}

.app-mobile .app-prefs .form-select {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
}

.app-mobile .app-prefs-skip {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: #6d657c;
    font-weight: 600;
}

.app-mobile .app-filter-pills {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
}

.app-mobile .app-filter-pill {
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #6d657c;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
}

.app-mobile .app-filter-pill.is-on {
    background: #5b4b8a;
    color: #fff;
}

.app-mobile .cp-plan-card {
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(31, 22, 51, 0.06);
}

.app-mobile .cp-plan-actions {
    flex-direction: column;
    align-items: stretch;
    border-top: 0;
    padding-top: 0.25rem;
}

.app-mobile .cp-plan-buttons {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    gap: 0.15rem;
}

.app-mobile .cp-plan-skip {
    display: block;
    min-height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: 600;
}

.app-mobile .app-quiet .app-pill {
    margin-top: 0.75rem;
}

.ss-stars--gold .ss-star {
    width: 48px;
    height: 48px;
    color: #e6d7a4;
    font-size: 1.65rem;
}

.ss-stars--gold .ss-star.is-on {
    background: #fff8e6;
    border-color: #f0d48a;
    color: #e0a106;
}

.app-mobile .app-profile-hero {
    padding: 1.35rem 1.1rem 1.15rem;
    border-radius: 24px;
    background: linear-gradient(165deg, #6d5b9a 0%, #3c315c 100%);
    color: #fff;
    text-align: center;
}

.app-mobile .app-profile-hero .app-initials {
    width: 88px;
    height: 88px;
    margin: 0 auto 0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.5rem;
}

.app-mobile .app-profile-hero h2 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

.app-mobile .app-profile-hero p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.app-mobile .app-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.7rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
}

.app-mobile .app-profile-about,
.app-mobile .app-profile-facts,
.app-mobile .app-plan-now,
.app-mobile .app-plan-pick {
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 22, 51, 0.06);
}

.app-mobile .app-profile-about,
.app-mobile .app-profile-facts {
    padding: 1rem 1.05rem;
}

.app-mobile .app-profile-about h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.app-mobile .app-profile-about p {
    margin: 0;
    color: #4b445c;
    font-size: 0.9rem;
    line-height: 1.45;
}

.app-mobile .app-profile-fact {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-top: 1px solid #f0edf5;
    font-size: 0.88rem;
}

.app-mobile .app-profile-fact:first-child {
    border-top: 0;
    padding-top: 0;
}

.app-mobile .app-profile-fact span {
    color: #8b849c;
}

.app-mobile .app-profile-fact strong {
    color: #1f1633;
    text-align: right;
}

.app-mobile .app-plan-now {
    padding: 1.05rem 1.1rem 1.1rem;
}

.app-mobile .app-plan-now h2 {
    margin: 0.45rem 0 0.2rem;
    font-size: 1.25rem;
}

.app-mobile .app-plan-now p,
.app-mobile .app-plan-now span {
    margin: 0;
    color: #6d657c;
    font-size: 0.88rem;
}

.app-mobile .app-plan-now strong {
    display: block;
    margin: 0.35rem 0 0.15rem;
    color: #1f1633;
    font-size: 1.35rem;
}

.app-mobile .app-plan-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.app-mobile .app-plan-pick {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    padding: 1rem 1.05rem;
    text-align: left;
}

.app-mobile .app-plan-pick em {
    color: #5b4b8a;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-mobile .app-plan-pick strong {
    color: #1f1633;
    font-size: 1.05rem;
}

.app-mobile .app-plan-pick span,
.app-mobile .app-plan-pick small {
    color: #6d657c;
    font-size: 0.82rem;
}

.app-mobile .app-plan-pick b {
    margin-top: 0.35rem;
    color: #1f1633;
    font-size: 1.2rem;
}

.app-mobile .app-plan-pick.is-on {
    outline: 2px solid #5b4b8a;
    background: #f7f4fc;
}

.app-mobile .app-quiet {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: #fff;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.app-mobile .app-rate {
    margin-top: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: #fff;
}

.app-mobile .app-rate h2 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.app-mobile .app-meter {
    display: flex;
    margin: 0.85rem 0 0.35rem;
    padding: 0.85rem 0.2rem;
    border-radius: 22px;
    background: #fff;
}

.app-mobile .app-meter div {
    flex: 1;
    text-align: center;
}

.app-mobile .app-meter div + div {
    border-left: 1px solid #f1eef6;
}

.app-mobile .app-meter strong {
    display: block;
    color: #1f1633;
    font-size: 1.2rem;
}

.app-mobile .app-meter span {
    display: block;
    margin-top: 0.1rem;
    color: #8b849c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-mobile #tpTimelineCard .app-kicker {
    margin-top: 0.2rem;
}

.app-mobile .cp-welcome--calm {
    border-radius: 22px;
    padding: 1.15rem 1.15rem 1.05rem;
}

@media (min-width: 480px) {
    .app-mobile {
        background:
            radial-gradient(70% 40% at 50% 0%, rgba(255, 255, 255, 0.55), transparent 70%),
            #d9d2e8;
    }

    .app-mobile .tp-shell {
        box-shadow: 0 24px 60px rgba(45, 36, 73, 0.16);
    }
}

/* Account menu: email updates switch */
.ank-email-pref { display: flex !important; align-items: center; justify-content: space-between; gap: 0.75rem; cursor: pointer; }
.ank-email-pref .form-check-input { cursor: pointer; width: 2.2em; height: 1.2em; }
.ank-email-pref .form-check-input:checked { background-color: #5b4b8a; border-color: #5b4b8a; }
