/**
 * MOBILE REDESIGN — Phones & small screens (max-width: 768px)
 * Must match JS `innerWidth <= 768` and stay *below* desktop `min-width: 769px` rules
 * so iOS/Android never get desktop sidebar margins + mobile markup at the same time.
 * Loads last to override base styles. Desktop unchanged from 769px up.
 */
@media (max-width: 768px) {
    /* ========== SAFE AREAS & SHELL ========== */
    .topbar {
        height: 52px;
        min-height: 52px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        background: var(--bg);
        border-bottom: none;
        box-shadow: 0 1px 0 var(--border);
    }

    /* Auth shells hide bottom nav — do not reserve 72px or clip fixed .login-root */
    #app:not(.auth-page) {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        background: var(--bg);
        max-width: 100%;
        min-width: 0;
    }

    /* ========== BOTTOM NAV — Native app bar ========== */
    .bottomnav {
        height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0);
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        background: var(--bg);
        border-top: 1px solid var(--border);
        border-radius: 0;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    }

    .bottomnav-item {
        flex-direction: column;
        gap: 2px;
        padding: 8px 4px;
        font-size: 10px;
        font-weight: 500;
        color: var(--muted);
        min-height: 48px;
        border-radius: 12px;
    }

    .bottomnav-item.active {
        color: var(--primary);
        font-weight: 600;
    }

    .bottomnav-icon {
        width: 24px;
        height: 24px;
    }

    .bottomnav-badge {
        top: 2px;
        right: 50%;
        transform: translate(8px, 0);
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 16px;
        padding: 0 4px;
    }

    [dir="rtl"] .bottomnav-badge {
        right: auto;
        left: 50%;
        transform: translate(-8px, 0);
    }

    .bottomnav-label--desktop {
        display: none;
    }
    .bottomnav-label--mobile {
        display: inline;
    }

    /* ========== MOBILE HEADER (Dashboard, Browse, Messages, etc.) ========== */
    .mobile-header {
        background: linear-gradient(165deg, #2d7a52 0%, var(--primary) 35%, var(--primary-2) 100%);
        padding: 18px 20px 26px;
        border-bottom: none;
        border-radius: 0 0 30px 30px;
        box-shadow: 0 10px 32px rgba(45, 122, 82, 0.35);
        position: relative;
        overflow: hidden;
    }

    .mobile-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
        pointer-events: none;
    }

    .mobile-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 26px;
        background: var(--bg);
        border-radius: 26px 26px 0 0;
    }

    [data-theme="dark"] .mobile-header {
        background: linear-gradient(165deg, #1e5c3d 0%, var(--primary) 40%, var(--primary-2) 100%);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    }

    .mobile-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 22px;
        gap: 10px;
        position: relative;
        z-index: 1;
    }

    .mobile-menu-btn,
    .mobile-notification-btn {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.2s, background 0.2s;
        outline: none;
    }

    .mobile-menu-btn:focus-visible,
    .mobile-notification-btn:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.8);
        outline-offset: 2px;
    }

    .mobile-menu-btn:active,
    .mobile-notification-btn:active {
        background: rgba(255, 255, 255, 0.28);
        transform: scale(0.96);
    }

    .mobile-logo-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-logo {
        height: 34px;
        width: auto;
        max-width: 150px;
        filter: brightness(0) invert(1);
        opacity: 0.95;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-notification-btn {
        position: relative;
    }

    .mobile-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        background: #fff;
        color: var(--danger);
        font-size: 10px;
        font-weight: 700;
        padding: 3px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
        border: 2px solid var(--primary);
        line-height: 1;
    }

    .mobile-header-main {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }

    .mobile-header-user {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .mobile-header-avatar-wrapper {
        position: relative;
        flex-shrink: 0;
        outline: none;
    }

    .mobile-header-avatar-wrapper:focus,
    .mobile-header-avatar-wrapper:focus-visible {
        outline: none;
    }

    .mobile-header-avatar,
    .mobile-header-avatar-fallback {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        outline: none;
    }

    .mobile-header-avatar:focus,
    .mobile-header-avatar-fallback:focus {
        outline: none;
    }

    .mobile-header-avatar-fallback {
        background: #fff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.125rem;
        letter-spacing: -0.02em;
        font-family: var(--font-family), -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .mobile-header-status-indicator {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 14px;
        height: 14px;
        background: #22c55e;
        border: 2.5px solid #fff;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .mobile-header-user-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-header-greeting-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 4px;
    }

    .mobile-greeting {
        font-size: 1.375rem;
        font-weight: 700;
        color: #fff;
        margin: 0;
        letter-spacing: -0.03em;
        line-height: 1.25;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    .mobile-header-rating {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.22);
        border-radius: 12px;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #fff;
    }

    .mobile-header-rating svg {
        color: #fcd34d;
        width: 14px;
        height: 14px;
    }

    .mobile-header-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .mobile-status-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: rgba(255, 255, 255, 0.95);
        color: #1a4d2e;
        border: none;
        border-radius: 20px;
        font-size: 0.8125rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    [data-theme="dark"] .mobile-status-pill {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        box-shadow: none;
    }

    .mobile-status-dot {
        width: 6px;
        height: 6px;
        background: #22c55e;
        border-radius: 50%;
        animation: mobile-pulse 2s ease-in-out infinite;
    }

    [data-theme="dark"] .mobile-status-dot {
        background: #86efac;
    }

    @keyframes mobile-pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.85; transform: scale(1.05); }
    }

    .mobile-location {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 14px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 14px;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.98);
        font-weight: 500;
    }

    .mobile-location svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        opacity: 0.9;
    }

    /* ========== MOBILE MENU DRAWER ========== */
    .mobile-menu-drawer {
        width: min(300px, 88vw);
        max-width: 300px;
        background: var(--bg);
        border-radius: 0 24px 24px 0;
        box-shadow: 12px 0 40px rgba(0, 0, 0, 0.15);
    }

    [dir="rtl"] .mobile-menu-drawer {
        border-radius: 24px 0 0 24px;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
    }

    .mobile-menu-header {
        position: relative;
        padding: 24px 20px;
        padding-right: 56px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        border-bottom: none;
    }

    [dir="rtl"] .mobile-menu-header {
        padding-right: 20px;
        padding-left: 56px;
    }

    .mobile-menu-user {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mobile-menu-avatar,
    .mobile-menu-avatar-fallback {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        overflow: hidden;
    }

    .mobile-menu-avatar-fallback {
        background: rgba(255, 255, 255, 0.3);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.125rem;
    }

    .mobile-menu-user-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-menu-user-name {
        font-size: 1.0625rem;
        font-weight: 700;
        color: white;
        margin: 0 0 2px 0;
    }

    .mobile-menu-user-email {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
    }

    .mobile-menu-close {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    [dir="rtl"] .mobile-menu-close {
        right: auto;
        left: 12px;
    }

    .mobile-menu-nav {
        padding: 16px 0;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        padding: 14px 20px;
        border: none;
        background: transparent;
        color: var(--text);
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
        transition: background 0.2s;
        border-radius: 0;
    }

    [dir="rtl"] .mobile-menu-item {
        text-align: right;
    }

    .mobile-menu-item:hover {
        background: var(--surface);
    }

    .mobile-menu-item svg {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-menu-item:hover svg {
        color: var(--primary);
    }

    .mobile-menu-item-danger {
        color: var(--danger);
    }

    .mobile-menu-item-danger:hover {
        background: rgba(220, 38, 38, 0.08);
    }

    .mobile-menu-item-danger svg {
        color: var(--danger);
    }

    .mobile-menu-divider {
        height: 1px;
        background: var(--border);
        margin: 8px 20px;
    }

    /* ========== PRIMARY ACTION (My Projects CTA) ========== */
    .mobile-primary-action {
        padding: 20px 20px 8px;
    }

    .mobile-create-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 56px;
        padding: 16px 24px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: white;
        border: none;
        border-radius: 20px;
        font-size: 1.0625rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 24px rgba(62, 143, 106, 0.35);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-create-btn:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(62, 143, 106, 0.3);
    }

    .mobile-helper-text {
        text-align: center;
        color: var(--muted);
        font-size: 0.8125rem;
        margin-top: 10px;
        margin-bottom: 0;
    }

    /* ========== ATTENTION CARD ========== */
    .mobile-attention-card {
        margin: 16px 20px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border: none;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
    }

    [data-theme="dark"] .mobile-attention-card {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(251, 191, 36, 0.2) 100%);
        border: 1px solid rgba(245, 158, 11, 0.4);
    }

    .mobile-attention-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .mobile-attention-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(245, 158, 11, 0.4);
        color: #92400e;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-attention-content {
        flex: 1;
        min-width: 0;
    }

    .mobile-attention-title {
        font-size: 1rem;
        font-weight: 700;
        color: #78350f;
        margin: 0 0 2px 0;
    }

    [data-theme="dark"] .mobile-attention-title {
        color: var(--text);
    }

    .mobile-attention-subtitle {
        font-size: 0.8125rem;
        color: #a16207;
        margin: 0;
    }

    [data-theme="dark"] .mobile-attention-subtitle {
        color: var(--muted);
    }

    .mobile-attention-badge {
        background: #d97706;
        color: white;
        font-size: 0.875rem;
        font-weight: 700;
        padding: 6px 12px;
        border-radius: 14px;
        min-width: 28px;
        text-align: center;
    }

    .mobile-attention-items {
        padding: 0 20px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-attention-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 14px;
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        font-size: 0.9375rem;
        transition: background 0.2s;
    }

    .mobile-attention-item:active {
        background: rgba(255, 255, 255, 0.9);
    }

    .mobile-attention-item svg:last-child {
        margin-left: auto;
        color: var(--muted);
    }

    [dir="rtl"] .mobile-attention-item svg:last-child {
        margin-left: 0;
        margin-right: auto;
    }

    /* ========== SECTIONS (Recent Messages, Activity, etc.) ========== */
    .mobile-section {
        margin-top: 24px;
        padding: 0 20px;
    }

    .mobile-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
        padding: 0;
    }

    .mobile-section-title {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
        letter-spacing: -0.02em;
    }

    .mobile-section-link {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
    }

    .mobile-messages-preview {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: var(--bg);
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-message-preview-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
        text-decoration: none;
        color: inherit;
        border-bottom: 1px solid var(--border);
        transition: background 0.2s;
    }

    .mobile-message-preview-item:last-child {
        border-bottom: none;
    }

    .mobile-message-preview-item:active {
        background: var(--surface);
    }

    .mobile-message-avatar {
        position: relative;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        background: var(--surface);
    }

    .mobile-message-avatar img,
    .mobile-message-avatar-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-message-avatar-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: white;
        font-weight: 600;
        font-size: 0.9375rem;
    }

    .mobile-message-unread-dot {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 12px;
        height: 12px;
        background: var(--primary);
        border: 2px solid var(--bg);
        border-radius: 50%;
    }

    .mobile-message-content {
        flex: 1;
        min-width: 0;
    }

    .mobile-message-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 4px;
    }

    .mobile-message-name {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        margin: 0;
    }

    .mobile-message-time {
        font-size: 0.75rem;
        color: var(--muted);
    }

    .mobile-message-preview {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-message-badge {
        background: var(--primary);
        color: white;
        font-size: 0.6875rem;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
    }

    /* ========== ACTIVITY CARD ========== */
    .mobile-activity-card {
        margin: 0 20px 24px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-activity-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding: 0;
        cursor: pointer;
    }

    .mobile-activity-title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
    }

    .mobile-activity-chevron {
        color: var(--muted);
        transition: transform 0.2s;
    }

    .mobile-activity-summary {
        display: flex;
        justify-content: space-around;
        padding: 16px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        margin: 0 -4px;
    }

    .mobile-stat-item {
        text-align: center;
        flex: 1;
    }

    .mobile-stat-value {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text);
    }

    .mobile-stat-label {
        font-size: 0.75rem;
        color: var(--muted);
        margin-top: 4px;
    }

    /* ========== MOBILE DASHBOARD CONTAINER ========== */
    .mobile-dashboard {
        padding: 0 0 calc(72px + env(safe-area-inset-bottom, 0px)) 0;
        background: var(--bg);
    }

    /* ========== DASHBOARD PAGE — Professional mobile design ========== */
    .mobile-dashboard .mobile-header {
        padding: 20px 24px 30px;
        border-radius: 0 0 34px 34px;
        box-shadow: 0 12px 40px rgba(45, 122, 82, 0.3);
    }

    .mobile-dashboard .mobile-header::after {
        height: 30px;
        border-radius: 30px 30px 0 0;
    }

    .mobile-dashboard .mobile-header-top {
        margin-bottom: 26px;
    }

    .mobile-dashboard .mobile-menu-btn,
    .mobile-dashboard .mobile-notification-btn {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .mobile-dashboard .mobile-header-avatar,
    .mobile-dashboard .mobile-header-avatar-fallback {
        width: 62px;
        height: 62px;
        border: 3px solid rgba(255, 255, 255, 0.98);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    }

    .mobile-dashboard .mobile-header-avatar-fallback {
        font-size: 1.25rem;
    }

    .mobile-dashboard .mobile-header-status-indicator {
        width: 15px;
        height: 15px;
        border-width: 2.5px;
    }

    .mobile-dashboard .mobile-greeting {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        margin: 0 0 6px 0;
    }

    .mobile-dashboard .mobile-header-meta {
        margin-top: 12px;
        gap: 10px;
    }

    .mobile-dashboard .mobile-status-pill {
        padding: 9px 16px;
        font-size: 0.8125rem;
    }

    .mobile-dashboard .mobile-primary-action {
        padding: 24px 24px 20px;
    }

    .mobile-dashboard .mobile-create-btn {
        min-height: 58px;
        padding: 18px 28px;
        font-size: 1.125rem;
        border-radius: 22px;
        box-shadow: 0 10px 32px rgba(62, 143, 106, 0.38);
    }

    .mobile-dashboard .mobile-create-btn:active {
        box-shadow: 0 6px 20px rgba(62, 143, 106, 0.3);
    }

    .mobile-dashboard .mobile-helper-text {
        font-size: 0.8125rem;
        margin-top: 12px;
        color: var(--muted);
    }

    /* Profile completeness card (dashboard only) */
    .mobile-profile-completeness-card {
        display: flex;
        align-items: center;
        gap: 16px;
        margin: 0 24px 20px;
        padding: 18px 20px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.08) 0%, rgba(62, 143, 106, 0.04) 100%);
        border: 1px solid rgba(62, 143, 106, 0.2);
        border-radius: 20px;
        text-decoration: none;
        color: inherit;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-profile-completeness-card:active {
        transform: scale(0.99);
    }

    .mobile-profile-completeness-progress {
        flex-shrink: 0;
    }

    .mobile-profile-completeness-ring {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: conic-gradient(var(--primary) calc(var(--progress) * 1%), var(--border) 0);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .mobile-profile-completeness-ring::before {
        content: '';
        position: absolute;
        inset: 5px;
        border-radius: 50%;
        background: var(--bg);
    }

    .mobile-profile-completeness-value {
        font-size: 0.6875rem;
        font-weight: 800;
        color: var(--primary);
        position: relative;
        z-index: 1;
    }

    .mobile-profile-completeness-content {
        flex: 1;
        min-width: 0;
    }

    .mobile-profile-completeness-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 4px 0;
    }

    .mobile-profile-completeness-text {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0;
    }

    .mobile-profile-completeness-chevron {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-dashboard .mobile-attention-card {
        margin: 0 24px 24px;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 6px 24px rgba(245, 158, 11, 0.18);
    }

    .mobile-dashboard .mobile-attention-header {
        padding: 18px 22px;
    }

    .mobile-dashboard .mobile-attention-items {
        padding: 0 22px 18px;
        gap: 10px;
    }

    .mobile-dashboard .mobile-attention-item {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .mobile-dashboard .mobile-section {
        margin-top: 28px;
        padding: 0 24px;
    }

    .mobile-dashboard .mobile-section-header {
        margin-bottom: 16px;
    }

    .mobile-dashboard .mobile-section-title {
        font-size: 1.1875rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .mobile-dashboard .mobile-messages-preview {
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .mobile-dashboard .mobile-message-preview-item {
        padding: 18px 20px;
    }

    .mobile-dashboard .mobile-activity-card {
        margin: 0 24px 28px;
        padding: 22px;
        border-radius: 22px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .mobile-dashboard .mobile-activity-header {
        margin-bottom: 18px;
    }

    .mobile-dashboard .mobile-activity-title {
        font-size: 1.125rem;
        font-weight: 800;
    }

    .mobile-dashboard .mobile-activity-summary {
        padding: 18px 0;
        margin: 0 -8px;
    }

    .mobile-dashboard .mobile-stat-item {
        padding: 0 8px;
    }

    .mobile-dashboard .mobile-stat-value {
        font-size: 1.625rem;
        font-weight: 800;
    }

    .mobile-dashboard .mobile-stat-label {
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        margin-top: 6px;
    }

    .mobile-dashboard .mobile-requests-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-dashboard .mobile-request-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 20px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-dashboard .mobile-request-card:active {
        transform: scale(0.99);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .mobile-dashboard .mobile-request-content {
        flex: 1;
        min-width: 0;
    }

    .mobile-dashboard .mobile-request-title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
        line-height: 1.35;
    }

    .mobile-dashboard .mobile-request-meta {
        font-size: 0.75rem;
        color: var(--muted);
        margin: 0;
    }

    .mobile-dashboard .mobile-status-badge {
        flex-shrink: 0;
        padding: 8px 14px;
        border-radius: 14px;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .mobile-dashboard .mobile-status-primary {
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
    }

    .mobile-dashboard .mobile-status-warning {
        background: rgba(245, 158, 11, 0.12);
        color: #b45309;
    }

    .mobile-dashboard .mobile-status-success {
        background: rgba(22, 163, 74, 0.12);
        color: var(--success);
    }

    /* Empty state (dashboard) */
    .mobile-dashboard .mobile-empty-state {
        text-align: center;
        padding: 32px 24px;
        background: var(--bg);
        border: 1px dashed var(--border);
        border-radius: 22px;
    }

    .mobile-dashboard .mobile-empty-icon {
        font-size: 3rem;
        margin-bottom: 16px;
        opacity: 0.6;
    }

    .mobile-dashboard .mobile-empty-title {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 8px 0;
    }

    .mobile-dashboard .mobile-empty-text {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0 0 20px 0;
    }

    .mobile-dashboard .mobile-empty-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 22px;
        background: var(--primary);
        color: white;
        border-radius: 16px;
        font-size: 0.9375rem;
        font-weight: 600;
        text-decoration: none;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-dashboard .mobile-empty-action:active {
        transform: scale(0.98);
    }

    .mobile-dashboard .mobile-providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0;
    }

    .mobile-dashboard .mobile-provider-card {
        padding: 20px 16px;
        border-radius: 20px;
        text-align: center;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-dashboard .mobile-provider-card:active {
        transform: scale(0.98);
    }

    .mobile-dashboard .mobile-provider-avatar {
        width: 56px;
        height: 56px;
        margin: 0 auto 12px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--border);
    }

    .mobile-dashboard .mobile-provider-name {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 4px 0;
    }

    .mobile-dashboard .mobile-provider-profession {
        font-size: 0.75rem;
        color: var(--muted);
        margin: 0 0 8px 0;
    }

    .mobile-dashboard .mobile-provider-rating {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--text);
    }

    /* ========== BROWSE PAGE MOBILE ========== */
    .mobile-browse-page {
        min-height: 100vh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        background: var(--bg);
    }

    /* Same header as Requests page – uses .mobile-requests-header */
    .mobile-browse-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    [dir="rtl"] .mobile-browse-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    /* Toolbar: actions + categories + search */
    .mobile-browse-toolbar {
        margin: -12px 20px 0;
        padding: 16px 20px 20px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-browse-toolbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-browse-toolbar-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-browse-toolbar-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        background: rgba(62, 143, 106, 0.1);
        border: 1px solid rgba(62, 143, 106, 0.25);
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

    .mobile-browse-toolbar-btn:active {
        transform: scale(0.97);
    }

    .mobile-browse-toolbar-btn--secondary {
        color: var(--muted);
        background: var(--bg);
        border-color: var(--border);
    }

    .mobile-browse-toolbar-btn--secondary:active {
        background: var(--border);
    }

    .mobile-browse-category-chips-wrapper {
        margin-bottom: 14px;
    }

    .mobile-browse-category-chips {
        display: flex;
        gap: 8px;
        padding: 0 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mobile-browse-category-chips::-webkit-scrollbar {
        display: none;
    }

    .mobile-browse-category-chip {
        flex-shrink: 0;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 0.8125rem;
        font-weight: 600;
        background: var(--bg);
        color: var(--text);
        border: 1px solid var(--border);
        transition: background 0.2s, color 0.2s, transform 0.15s;
    }

    .mobile-browse-category-chip.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .mobile-browse-category-chip:active {
        transform: scale(0.97);
    }

    .mobile-browse-search-section {
        padding: 0;
    }

    .mobile-browse-search-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 12px 16px;
    }

    .mobile-browse-search-icon {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-browse-search-input {
        flex: 1;
        min-width: 0;
        border: none;
        background: transparent;
        font-size: 16px;
        color: var(--text);
        outline: none;
    }

    .mobile-browse-search-input::placeholder {
        color: var(--muted);
    }

    .mobile-browse-search-clear {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: var(--muted);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-browse-search-clear:active {
        background: var(--border);
    }

    .mobile-browse-main {
        padding: 20px 20px 28px;
    }

    .mobile-browse-results-label {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--muted);
        margin: 0 0 14px 0;
    }

    .mobile-browse-requests-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-browse-list-item {
        margin: 0;
        padding: 0;
    }

    /* Browse request cards */
    .mobile-browse-page .mobile-browse-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        position: relative;
    }

    .mobile-browse-page .mobile-browse-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--primary);
        border-radius: 4px 0 0 4px;
    }

    .mobile-browse-page .mobile-browse-card:active {
        transform: scale(0.99);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .mobile-browse-page .mobile-browse-card-header {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 18px 14px 22px;
    }

    .mobile-browse-page .mobile-browse-card-avatar {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        flex-shrink: 0;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.12) 0%, rgba(62, 143, 106, 0.06) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
    }

    .mobile-browse-page .mobile-browse-card-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-browse-page .mobile-browse-card-avatar-fallback {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-browse-page .mobile-browse-card-avatar-fallback svg {
        width: 24px;
        height: 24px;
    }

    .mobile-browse-page .mobile-browse-card-main {
        flex: 1;
        min-width: 0;
    }

    .mobile-browse-page .mobile-browse-card-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 4px 0;
        line-height: 1.35;
    }

    .mobile-browse-page .mobile-browse-card-category {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0 0 10px 0;
    }

    .mobile-browse-page .mobile-browse-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .mobile-browse-page .mobile-browse-card-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        color: var(--muted);
    }

    .mobile-browse-page .mobile-browse-card-meta-item svg {
        flex-shrink: 0;
        width: 14px;
        height: 14px;
    }

    .mobile-browse-page .mobile-browse-card-status-pill {
        flex-shrink: 0;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .mobile-browse-page .mobile-browse-card-status-awaiting {
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
    }

    .mobile-browse-page .mobile-browse-card-status-urgent {
        background: rgba(220, 38, 38, 0.12);
        color: var(--danger);
    }

    .mobile-browse-page .mobile-browse-card-status-featured {
        background: rgba(245, 158, 11, 0.12);
        color: #b45309;
    }

    .mobile-browse-page .mobile-browse-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px 16px 22px;
        background: var(--bg);
        border-top: 1px solid var(--border);
    }

    .mobile-browse-page .mobile-browse-card-budget {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--primary);
    }

    .mobile-browse-page .mobile-browse-card-send-offer-btn {
        padding: 10px 18px;
        border-radius: 14px;
        font-size: 0.875rem;
        font-weight: 600;
        background: var(--primary);
        color: #fff;
        border: none;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-browse-page .mobile-browse-card-send-offer-btn:active {
        transform: scale(0.98);
    }

    [dir="rtl"] .mobile-browse-page .mobile-browse-card::before {
        left: auto;
        right: 0;
        border-radius: 0 4px 4px 0;
    }

    /* Tip banner */
    .mobile-browse-tip-banner {
        margin: 16px 20px 0;
        padding: 16px 18px;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.1) 0%, rgba(62, 143, 106, 0.05) 100%);
        border: 1px solid rgba(62, 143, 106, 0.18);
    }

    .mobile-browse-tip-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mobile-browse-tip-icon {
        flex-shrink: 0;
        color: var(--primary);
    }

    .mobile-browse-tip-primary {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 2px 0;
    }

    .mobile-browse-tip-secondary {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.4;
    }

    .mobile-browse-tip-link {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
    }

    .mobile-browse-tip-link:active {
        opacity: 0.8;
    }

    /* Empty state */
    .mobile-browse-empty {
        text-align: center;
        padding: 48px 28px;
        background: var(--surface);
        border: 2px dashed var(--border);
        border-radius: 24px;
    }

    .mobile-browse-empty-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
        opacity: 0.6;
    }

    .mobile-browse-empty-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 8px 0;
    }

    .mobile-browse-empty-text {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
    }

    /* End hint */
    .mobile-browse-end-hint {
        text-align: center;
        padding: 20px 20px 8px;
    }

    .mobile-browse-end-hint p {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0;
    }

    .mobile-request-card {
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-request-card:active {
        transform: scale(0.99);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    }

    .mobile-request-card-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 8px 0;
        line-height: 1.3;
    }

    .mobile-request-card-header {
        margin-bottom: 12px;
    }

    /* ========== MESSAGES PAGE MOBILE ========== */
    .mobile-messages-page {
        min-height: 100vh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        background: var(--bg);
    }

    .mobile-messages-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    [dir="rtl"] .mobile-messages-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    .mobile-messages-toolbar {
        margin: -12px 20px 0;
        padding: 16px 20px 18px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-messages-toolbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-messages-toolbar-actions {
        margin-bottom: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-messages-toolbar-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        background: rgba(62, 143, 106, 0.1);
        border: 1px solid rgba(62, 143, 106, 0.25);
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

    .mobile-messages-toolbar-btn:active {
        transform: scale(0.97);
    }

    .mobile-messages-page .mobile-messages-search-section {
        margin-bottom: 14px;
        padding: 0;
    }

    .mobile-messages-page .mobile-messages-search-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
    }

    .mobile-messages-page .mobile-messages-search-icon {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-messages-page .mobile-messages-search-input {
        flex: 1;
        min-width: 0;
        border: none;
        background: transparent;
        font-size: 16px;
        outline: none;
    }

    .mobile-messages-page .mobile-messages-search-clear {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: var(--muted);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-messages-page .mobile-messages-search-clear:active {
        background: var(--border);
    }

    .mobile-messages-page .mobile-messages-filter-chips-wrapper {
        padding: 0;
    }

    .mobile-messages-page .mobile-messages-filter-chips {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0;
    }

    .mobile-messages-page .mobile-messages-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .mobile-messages-page .mobile-messages-filter-chip {
        flex-shrink: 0;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 0.8125rem;
        font-weight: 600;
        background: var(--bg);
        color: var(--text);
        border: 1px solid var(--border);
        transition: background 0.2s, color 0.2s, transform 0.15s;
    }

    .mobile-messages-page .mobile-messages-filter-chip.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .mobile-messages-page .mobile-messages-filter-chip:active {
        transform: scale(0.97);
    }

    .mobile-messages-main {
        padding: 20px 20px 28px;
    }

    .mobile-messages-results-label {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--muted);
        margin: 0 0 14px 0;
    }

    .mobile-messages-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-messages-list-item {
        margin: 0;
        padding: 0;
    }

    .mobile-messages-page .mobile-messages-conversation-card {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-messages-page .mobile-messages-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 48px 28px;
        min-height: 240px;
        border-radius: 24px;
        border: 2px dashed var(--border);
        background: var(--surface);
    }

    .mobile-messages-page .mobile-messages-empty-icon {
        font-size: 3.5rem;
        margin-bottom: 16px;
        opacity: 0.6;
    }

    .mobile-messages-page .mobile-messages-empty-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 8px 0;
        text-align: center;
        width: 100%;
    }

    .mobile-messages-page .mobile-messages-empty-text {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0 0 20px 0;
        line-height: 1.5;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }

    .mobile-messages-page .mobile-messages-empty-btn {
        text-align: center;
    }

    .mobile-messages-conversation-header {
        padding: 14px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
    }

    /* ========== MOBILE PROFILE PAGE ========== */
    .mobile-profile-page {
        min-height: 100%;
        background: var(--bg);
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-profile-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    [dir="rtl"] .mobile-profile-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    .mobile-profile-main {
        max-width: 640px;
        margin: 0 auto 0;
        padding: 0 20px 32px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-profile-sections {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-profile-hero {
        margin: -12px 0 0;
        padding: 26px 20px 24px;
        background: var(--surface);
        border-radius: 24px;
        text-align: center;
        border: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-profile-hero {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-profile-avatar-wrap {
        width: 88px;
        height: 88px;
        border-radius: 50%;
        margin: 0 auto 16px;
        overflow: hidden;
        border: 3px solid var(--primary);
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-profile-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-profile-avatar-fallback {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary);
        letter-spacing: 0.02em;
    }

    .mobile-profile-name {
        font-size: 1.375rem;
        font-weight: 800;
        color: var(--text);
        margin: 0 0 4px 0;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

    .mobile-profile-job {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0 0 8px 0;
    }

    .mobile-profile-location {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.875rem;
        color: var(--muted);
        margin-bottom: 12px;
    }

    .mobile-profile-location svg {
        flex-shrink: 0;
        color: var(--primary);
    }

    .mobile-profile-hero-meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }

    .mobile-profile-hero-meta .mobile-profile-rating {
        margin-bottom: 0;
    }

    .mobile-profile-hero-meta .mobile-profile-meta {
        margin-bottom: 0;
    }

    .mobile-profile-edit-link {
        display: inline-block;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
        padding: 8px 0;
        border-radius: 10px;
        transition: color 0.2s, background 0.2s;
    }

    .mobile-profile-edit-link:active {
        color: var(--primary-2);
    }

    .mobile-profile-rating {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .mobile-profile-stars {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .mobile-profile-stars .star-filled,
    .mobile-profile-stars .star-half {
        color: #f59e0b;
    }

    .mobile-profile-stars .star-empty {
        color: var(--border);
    }

    .mobile-profile-rating-value {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
    }

    .mobile-profile-rating-count {
        font-size: 0.8125rem;
        color: var(--muted);
    }

    .mobile-profile-meta {
        display: inline-block;
        font-size: 0.8125rem;
        color: var(--muted);
        margin-bottom: 0;
    }

    .mobile-profile-edit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 20px;
        border-radius: 16px;
        font-size: 1rem;
        font-weight: 600;
        color: white;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        box-shadow: 0 4px 14px rgba(62, 143, 106, 0.35);
        text-decoration: none;
        transition: transform 0.15s, box-shadow 0.2s;
    }

    .mobile-profile-edit-btn:active {
        transform: scale(0.98);
    }

    .mobile-profile-completeness-cta {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 18px 20px;
        background: var(--surface);
        border-radius: 20px;
        border: 2px solid var(--border);
        text-decoration: none;
        color: var(--text);
        transition: background 0.2s, border-color 0.2s;
    }

    .mobile-profile-completeness-cta:active {
        background: var(--bg);
    }

    .mobile-profile-completeness-cta-ring {
        position: relative;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: conic-gradient(var(--primary) calc(var(--p, 0) * 1%), var(--border) 0);
        flex-shrink: 0;
    }

    .mobile-profile-completeness-cta-ring::before {
        content: '';
        position: absolute;
        inset: 5px;
        border-radius: 50%;
        background: var(--surface);
    }

    .mobile-profile-completeness-cta-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .mobile-profile-completeness-cta-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--text);
    }

    .mobile-profile-completeness-cta-value {
        font-size: 1.125rem;
        font-weight: 800;
        color: var(--primary);
    }

    .mobile-profile-completeness-cta-text {
        font-size: 0.8125rem;
        color: var(--muted);
    }

    .mobile-profile-completeness-cta-chevron {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-profile-card,
    .mobile-profile-bio-card,
    .mobile-profile-actions-card,
    .mobile-profile-completion-section,
    .mobile-profile-danger-card {
        background: var(--surface);
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    [data-theme="dark"] .mobile-profile-card,
    [data-theme="dark"] .mobile-profile-bio-card,
    [data-theme="dark"] .mobile-profile-actions-card,
    [data-theme="dark"] .mobile-profile-completion-section,
    [data-theme="dark"] .mobile-profile-danger-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .mobile-profile-block-label {
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--muted);
        margin: 0 0 12px 0;
    }

    .mobile-profile-section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 16px 0;
    }

    .mobile-profile-section-title svg {
        flex-shrink: 0;
        color: var(--primary);
    }

    .mobile-profile-bio-text {
        font-size: 0.9375rem;
        color: var(--text);
        line-height: 1.55;
        margin: 0;
    }

    .mobile-profile-actions-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-profile-actions-list li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-profile-actions-list li:last-child {
        border-bottom: none;
    }

    .mobile-profile-action-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 0;
        text-decoration: none;
        color: var(--text);
        transition: background 0.15s;
        border-radius: 12px;
    }

    .mobile-profile-action-item:active {
        background: var(--bg);
    }

    .mobile-profile-action-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-profile-action-icon--blue {
        background: rgba(59, 130, 246, 0.15);
        color: #3b82f6;
    }

    .mobile-profile-action-icon--green {
        background: rgba(34, 197, 94, 0.15);
        color: #22c55e;
    }

    .mobile-profile-action-icon--purple {
        background: rgba(139, 92, 246, 0.15);
        color: #8b5cf6;
    }

    .mobile-profile-action-icon--orange {
        background: rgba(249, 115, 22, 0.15);
        color: #f97316;
    }

    .mobile-profile-action-icon--gray {
        background: rgba(107, 114, 128, 0.15);
        color: #6b7280;
    }

    .mobile-profile-action-label {
        flex: 1;
        min-width: 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .mobile-profile-action-arrow {
        flex-shrink: 0;
        color: var(--muted);
    }

    .mobile-profile-completion-content {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 16px;
    }

    .mobile-profile-completion-ring {
        position: relative;
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: conic-gradient(var(--primary) calc(var(--p, 0) * 1%), var(--border) 0);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-profile-completion-ring::before {
        content: '';
        position: absolute;
        inset: 6px;
        border-radius: 50%;
        background: var(--surface);
    }

    .mobile-profile-completion-value {
        font-size: 1.125rem;
        font-weight: 800;
        color: var(--primary);
        position: relative;
        z-index: 1;
    }

    .mobile-profile-completion-tips {
        list-style: none;
        margin: 0;
        padding: 0;
        flex: 1;
        min-width: 0;
    }

    .mobile-profile-completion-tips li {
        margin: 0 0 10px 0;
        padding: 0;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.875rem;
        color: var(--muted);
    }

    .mobile-profile-completion-tips li.completed {
        color: var(--text);
    }

    .mobile-profile-completion-tips li.completed svg {
        color: var(--success);
    }

    .mobile-profile-completion-tips li:last-child {
        margin-bottom: 0;
    }

    .mobile-profile-completion-tips svg {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .mobile-profile-completion-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 20px;
        border-radius: 14px;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--primary);
        background: rgba(62, 143, 106, 0.12);
        border: 1px solid rgba(62, 143, 106, 0.3);
        text-decoration: none;
        transition: background 0.2s, transform 0.15s;
    }

    .mobile-profile-completion-btn:active {
        transform: scale(0.98);
    }

    .mobile-profile-danger-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--danger);
        margin: 0 0 8px 0;
    }

    .mobile-profile-danger-title svg {
        flex-shrink: 0;
    }

    .mobile-profile-danger-desc {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0 0 16px 0;
    }

    .mobile-profile-danger-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-profile-danger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        padding: 12px 20px;
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: transform 0.15s, background 0.2s;
    }

    .mobile-profile-danger-btn:active {
        transform: scale(0.98);
    }

    .mobile-profile-danger-btn--secondary {
        background: var(--bg);
        color: var(--text);
        border: 1px solid var(--border);
    }

    .mobile-profile-danger-btn--danger {
        background: var(--danger);
        color: white;
        border: 1px solid var(--danger);
    }

    /* ========== EDIT PROFILE PAGE (mobile) ========== */
    .mobile-profile-edit-page {
        min-height: 100%;
        background: var(--bg);
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-profile-edit-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    .mobile-profile-edit-header-spacer {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    [dir="rtl"] .mobile-profile-edit-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    .mobile-profile-edit-main {
        max-width: 640px;
        margin: 0 auto;
        padding: 0 20px 28px;
    }

    .mobile-profile-edit-hero {
        margin: -12px 0 0;
        padding: 24px 20px;
        background: var(--surface);
        border-radius: 24px;
        border: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
    }

    [data-theme="dark"] .mobile-profile-edit-hero {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-profile-edit-avatar-wrapper {
        position: relative;
        display: inline-block;
    }

    .mobile-profile-edit-avatar {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        overflow: hidden;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--primary);
    }

    .mobile-profile-edit-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-profile-edit-avatar-fallback {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-weight: 700;
        font-size: 2rem;
        letter-spacing: 0.02em;
    }

    .mobile-profile-edit-avatar-btn {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: white;
        border: 3px solid var(--surface);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 2px 12px rgba(62, 143, 106, 0.4);
    }

    .mobile-profile-edit-avatar-btn:active {
        transform: scale(0.95);
    }

    .mobile-profile-edit-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
    }

    .mobile-profile-edit-section.mobile-profile-edit-card {
        background: var(--surface);
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    [data-theme="dark"] .mobile-profile-edit-section.mobile-profile-edit-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .mobile-profile-edit-section-title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 16px 0;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-profile-edit-field {
        margin-bottom: 16px;
    }

    .mobile-profile-edit-field:last-child {
        margin-bottom: 0;
    }

    .mobile-profile-edit-field-row {
        display: flex;
        gap: 12px;
    }

    .mobile-profile-edit-field-row .mobile-profile-edit-field {
        flex: 1;
        min-width: 0;
    }

    .mobile-profile-edit-label {
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
    }

    .mobile-profile-edit-input {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        font-size: 1rem;
        color: var(--text);
        background: var(--bg);
        transition: border-color 0.2s, box-shadow 0.2s;
        font-family: inherit;
        box-sizing: border-box;
    }

    .mobile-profile-edit-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(62, 143, 106, 0.12);
    }

    .mobile-profile-edit-input:disabled {
        background: var(--surface);
        color: var(--muted);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .mobile-profile-edit-input::placeholder {
        color: var(--muted);
    }

    textarea.mobile-profile-edit-input {
        min-height: 96px;
        resize: vertical;
        font-family: inherit;
    }

    .mobile-profile-edit-hint {
        font-size: 0.8125rem;
        color: var(--muted);
        margin-top: 6px;
        margin-bottom: 0;
    }

    .mobile-profile-edit-skills-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
        min-height: 32px;
    }

    .mobile-profile-edit-skill-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: rgba(62, 143, 106, 0.1);
        border: 1px solid rgba(62, 143, 106, 0.25);
        border-radius: 20px;
        font-size: 0.875rem;
        color: var(--primary);
        font-weight: 600;
    }

    .mobile-profile-edit-skill-remove {
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

    .mobile-profile-edit-skill-remove:active {
        opacity: 1;
    }

    .mobile-profile-edit-experience-item {
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 12px;
    }

    .mobile-profile-edit-experience-item:last-child {
        margin-bottom: 0;
    }

    .mobile-profile-edit-experience-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-profile-edit-experience-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
    }

    .mobile-profile-edit-experience-remove {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: transparent;
        border: none;
        color: var(--danger);
        cursor: pointer;
        transition: background 0.2s;
    }

    .mobile-profile-edit-experience-remove:active {
        background: rgba(220, 38, 38, 0.1);
    }

    .mobile-profile-edit-add-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        border: 2px dashed var(--border);
        border-radius: 14px;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--muted);
        background: transparent;
        cursor: pointer;
        transition: border-color 0.2s, color 0.2s, background 0.2s;
        margin-top: 8px;
    }

    .mobile-profile-edit-add-btn:active {
        background: rgba(62, 143, 106, 0.06);
        border-color: var(--primary);
        color: var(--primary);
    }

    .mobile-profile-edit-submit-section {
        padding: 8px 0 0;
    }

    .mobile-profile-edit-submit-btn {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: white;
        border: none;
        border-radius: 16px;
        font-size: 1.0625rem;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 4px 16px rgba(62, 143, 106, 0.35);
    }

    .mobile-profile-edit-submit-btn:active {
        transform: scale(0.98);
    }

    /* ========== NOTIFICATIONS PAGE (mobile) ========== */
    .mobile-notifications-page {
        min-height: 100%;
        background: var(--bg);
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-notifications-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    .mobile-my-projects .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    /* My Projects — toolbar (overlapping stats card) */
    .mobile-projects-toolbar {
        margin: -12px 20px 0;
        padding: 20px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-projects-toolbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-projects-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mobile-projects-stat {
        text-align: center;
        padding: 16px 12px;
        border-radius: 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        position: relative;
        overflow: hidden;
    }

    .mobile-projects-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--primary);
    }

    .mobile-projects-stat:nth-child(1)::before { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
    .mobile-projects-stat:nth-child(2)::before { background: #22c55e; }

    .mobile-projects-stat-num {
        display: block;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text);
        line-height: 1.2;
        margin-bottom: 4px;
        letter-spacing: -0.03em;
    }

    .mobile-projects-stat-txt {
        display: block;
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--muted);
    }

    /* My Projects — main content */
    .mobile-projects-main {
        padding: 24px 20px calc(32px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .mobile-projects-section {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 18px 18px 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-projects-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .mobile-projects-section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
    }

    .mobile-projects-section-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.14) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-projects-section-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-projects-section-link {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
    }

    .mobile-projects-section-link:active {
        opacity: 0.8;
    }

    .mobile-projects-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-projects-list-item {
        margin: 0;
        padding: 0;
    }

    /* My Projects — empty state */
    .mobile-projects-empty {
        text-align: center;
        padding: 28px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .mobile-projects-empty-icon {
        color: var(--muted);
        opacity: 0.7;
    }

    .mobile-projects-empty-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
    }

    .mobile-projects-empty-text {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0;
        max-width: 260px;
        line-height: 1.45;
    }

    .mobile-projects-empty-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 20px;
        font-size: 0.9375rem;
        font-weight: 600;
        color: #fff;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        border-radius: 14px;
        text-decoration: none;
        margin-top: 4px;
        box-shadow: 0 4px 14px rgba(62, 143, 106, 0.3);
    }

    .mobile-projects-empty-cta:active {
        transform: scale(0.98);
    }

    /* My Projects — project card (active project) */
    .mobile-project-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        position: relative;
        overflow: hidden;
    }

    .mobile-project-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 4px 0 0 4px;
        background: var(--primary);
    }

    .mobile-project-card--warning::before { background: #d97706; }
    .mobile-project-card--success::before { background: var(--success); }

    .mobile-project-card:active {
        transform: scale(0.99);
    }

    .mobile-project-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.14) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-project-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .mobile-project-card__body {
        flex: 1;
        min-width: 0;
    }

    .mobile-project-card__title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
        line-height: 1.3;
    }

    .mobile-project-card__desc {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0 0 10px 0;
        line-height: 1.4;
    }

    .mobile-project-card__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 16px;
        margin-bottom: 10px;
    }

    .mobile-project-card__meta-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.75rem;
        color: var(--muted);
    }

    .mobile-project-card__meta-item svg {
        flex-shrink: 0;
        opacity: 0.8;
    }

    .mobile-project-card__status {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
    }

    .mobile-project-card--warning .mobile-project-card__status {
        background: rgba(217, 119, 6, 0.12);
        color: #b45309;
    }

    .mobile-project-card--success .mobile-project-card__status {
        background: rgba(22, 163, 74, 0.12);
        color: var(--success);
    }

    /* My Projects — offer card */
    .mobile-offer-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        position: relative;
        overflow: hidden;
    }

    .mobile-offer-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 4px 0 0 4px;
        background: var(--primary);
    }

    .mobile-offer-card--warning::before { background: #d97706; }
    .mobile-offer-card--success::before { background: var(--success); }
    .mobile-offer-card--danger::before { background: var(--danger); }
    .mobile-offer-card--muted::before { background: var(--muted); }

    .mobile-offer-card:active {
        transform: scale(0.99);
    }

    .mobile-offer-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.14) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-offer-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .mobile-offer-card__body {
        flex: 1;
        min-width: 0;
    }

    .mobile-offer-card__title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
        line-height: 1.3;
    }

    .mobile-offer-card__meta {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .mobile-offer-card__price {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
    }

    .mobile-offer-card__status {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
    }

    .mobile-offer-card--warning .mobile-offer-card__status {
        background: rgba(217, 119, 6, 0.12);
        color: #b45309;
    }

    .mobile-offer-card--success .mobile-offer-card__status {
        background: rgba(22, 163, 74, 0.12);
        color: var(--success);
    }

    .mobile-offer-card--danger .mobile-offer-card__status {
        background: rgba(239, 68, 68, 0.12);
        color: var(--danger);
    }

    .mobile-offer-card__chevron {
        flex-shrink: 0;
        color: var(--muted);
    }

    [dir="rtl"] .mobile-project-card::before,
    [dir="rtl"] .mobile-offer-card::before {
        left: auto;
        right: 0;
        border-radius: 0 4px 4px 0;
    }

    /* ========== ABOUT PAGE — Full mobile layout ========== */
    .mobile-about-page .mobile-requests-header {
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
    }

    .mobile-about-hero {
        margin: -12px 20px 0;
        padding: 20px 18px 24px;
        background: var(--surface);
        border-radius: 20px;
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .mobile-about-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        margin-bottom: 14px;
        background: color-mix(in srgb, var(--primary) 10%, var(--bg));
        border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
        border-radius: 999px;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--text);
    }

    .mobile-about-hero-badge svg {
        color: var(--primary);
        flex-shrink: 0;
    }

    .mobile-about-hero-logo {
        margin-bottom: 10px;
    }

    .mobile-about-logo {
        max-width: 110px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .mobile-about-hero-title {
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 4px 0;
        line-height: 1.2;
    }

    .mobile-about-hero-tagline {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0 0 18px 0;
        line-height: 1.45;
    }

    .mobile-about-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .mobile-about-hero-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        min-width: 120px;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .mobile-about-hero-btn--primary {
        background: var(--primary);
        color: #fff;
        border: 1px solid var(--primary);
    }

    .mobile-about-hero-btn--primary:hover,
    .mobile-about-hero-btn--primary:active {
        background: var(--primary-2);
        border-color: var(--primary-2);
        color: #fff;
    }

    .mobile-about-hero-btn--secondary {
        background: transparent;
        color: var(--text);
        border: 1px solid var(--border);
    }

    .mobile-about-hero-btn--secondary:hover,
    .mobile-about-hero-btn--secondary:active {
        border-color: var(--primary);
        color: var(--primary);
    }

    [dir="rtl"] .mobile-about-hero-actions {
        flex-direction: row-reverse;
    }

    .mobile-about-main {
        padding: 24px 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .site-footer--mobile {
        margin: 0 20px 0;
        padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0px));
        border-radius: 16px;
        border: 1px solid var(--border);
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .site-footer--mobile .site-footer-inner {
        text-align: center;
        width: 100%;
    }

    .site-footer--mobile .site-footer-brand,
    .site-footer--mobile .site-footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer--mobile .site-footer-heading {
        text-align: center;
    }

    .site-footer--mobile .site-footer-section .site-footer-link {
        display: inline-block;
        text-align: center;
    }

    .site-footer-top--stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .site-footer--mobile .site-footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .site-footer--mobile .site-footer-copy {
        text-align: center;
    }

    .site-footer--mobile .site-footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .site-footer--mobile .site-footer-nav-link {
        min-height: 44px;
        padding: 0.5rem 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-footer--mobile .site-footer-scroll-top {
        position: static;
        align-self: center;
        width: 48px;
        height: 48px;
    }

    .mobile-about-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-about-card-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 14px 0;
    }

    .mobile-about-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.14) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-about-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-about-card-text {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--text);
        margin: 0 0 12px 0;
    }

    .mobile-about-card-text:last-of-type {
        margin-bottom: 0;
    }

    .mobile-about-card-subtitle {
        font-size: 0.875rem;
        color: var(--muted);
        margin: -8px 0 16px 0;
    }

    .mobile-about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 20px;
    }

    .mobile-about-feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 14px 18px;
        background: var(--surface);
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        position: relative;
        overflow: hidden;
    }

    .mobile-about-feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
        opacity: 0.9;
    }

    .mobile-about-feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: linear-gradient(145deg, rgba(62, 143, 106, 0.2) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-bottom: 12px;
        border: 1px solid rgba(62, 143, 106, 0.25);
    }

    .mobile-about-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .mobile-about-feature-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

    .mobile-about-feature-desc {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.45;
        max-width: 100%;
    }

    [data-theme="dark"] .mobile-about-feature {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    [data-theme="dark"] .mobile-about-feature-icon {
        border-color: rgba(62, 143, 106, 0.35);
    }

    .mobile-about-mission-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-about-mission-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
        background: var(--bg);
        border-radius: 12px;
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .mobile-about-mission-list li svg {
        color: var(--primary);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .mobile-about-steps {
        list-style: none;
        margin: 0;
        padding: 0;
        counter-reset: step;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-about-steps li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        counter-increment: step;
    }

    .mobile-about-step-num {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-about-step-body strong {
        display: block;
        font-size: 0.9375rem;
        margin-bottom: 4px;
    }

    .mobile-about-step-body p {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
    }

    .mobile-about-note {
        display: flex;
        gap: 12px;
        margin-top: 18px;
        padding: 14px;
        background: rgba(62, 143, 106, 0.08);
        border-radius: 14px;
        border: 1px solid rgba(62, 143, 106, 0.2);
    }

    .mobile-about-note svg {
        color: var(--primary);
        flex-shrink: 0;
    }

    .mobile-about-note p {
        font-size: 0.875rem;
        color: var(--text);
        margin: 0;
        line-height: 1.5;
    }

    .mobile-about-contact-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-about-contact-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        background: var(--bg);
        border-radius: 14px;
        border: 1px solid var(--border);
        text-decoration: none;
        color: inherit;
    }

    a.mobile-about-contact-item:active {
        opacity: 0.9;
    }

    .mobile-about-contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-about-contact-body {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-about-contact-label {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
    }

    .mobile-about-contact-value {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--text);
    }

    .mobile-about-contact-empty {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0;
        padding: 16px;
        text-align: center;
    }

    .mobile-about-legal {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-about-legal-item {
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        background: var(--bg);
    }

    .mobile-about-legal-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        text-align: left;
    }

    .mobile-about-legal-arrow {
        flex-shrink: 0;
        color: var(--primary);
        transition: transform 0.25s ease;
    }

    .mobile-about-legal-content {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .mobile-about-legal-content:not(.hidden) {
        max-height: 55vh;
        overflow-y: auto;
    }

    .mobile-about-legal-content.hidden {
        display: block;
    }

    .mobile-about-legal-text {
        padding: 0 18px 18px;
        font-size: 0.9375rem;
        line-height: 1.65;
        color: var(--muted);
    }

    .mobile-about-legal-text p {
        margin: 0 0 12px 0;
    }

    .mobile-about-legal-text p:last-child {
        margin-bottom: 0;
    }

    [dir="rtl"] .mobile-about-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    /* FAQ / Help page (mobile) */
    .mobile-faq-page .mobile-profile-edit-header-spacer {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    .mobile-faq-hero {
        margin: -12px 20px 0;
        padding: 24px 20px 22px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-faq-hero {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-faq-hero-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.18) 0%, rgba(62, 143, 106, 0.08) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
    }

    .mobile-faq-hero-icon svg {
        width: 28px;
        height: 28px;
    }

    .mobile-faq-hero-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
    }

    .mobile-faq-hero-subtitle {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0 0 18px 0;
    }

    .mobile-faq-search-wrap {
        position: relative;
    }

    .mobile-faq-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        pointer-events: none;
    }

    .mobile-faq-search-input {
        width: 100%;
        padding: 14px 16px 14px 44px;
        font-size: 0.9375rem;
        font-family: inherit;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--bg);
        color: var(--text);
        outline: none;
        transition: border-color 0.2s ease;
    }

    .mobile-faq-search-input:focus {
        border-color: var(--primary);
    }

    .mobile-faq-main {
        padding: 24px 20px calc(32px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-faq-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-faq-card-title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 16px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-faq-card-desc {
        font-size: 0.875rem;
        color: var(--muted);
        margin: 0 0 14px 0;
    }

    .mobile-faq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 !important;
    }

    .mobile-faq-list .faq-item {
        border-radius: 14px;
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .mobile-faq-list .faq-question {
        padding: 16px 18px;
        font-size: 0.9375rem;
    }

    .mobile-faq-list .faq-answer {
        padding: 0 18px 16px;
    }

    .mobile-faq-list .faq-answer-content {
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .mobile-faq-list .faq-answer-content p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .mobile-faq-list .help-empty-state {
        padding: 24px 16px;
    }

    .mobile-faq-categories {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-faq-category-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px;
        background: var(--bg);
        border-radius: 16px;
        border: 1px solid var(--border);
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease;
    }

    .mobile-faq-category-card:active {
        background: rgba(62, 143, 106, 0.08);
    }

    .mobile-faq-category-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.15) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-faq-category-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
    }

    .mobile-faq-category-desc {
        font-size: 0.8125rem;
        color: var(--muted);
        line-height: 1.45;
    }

    .mobile-faq-category-link {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
    }

    .mobile-faq-contact {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        padding: 0 !important;
    }

    .mobile-faq-contact .help-contact-card {
        margin: 0;
        padding: 16px 18px;
        border-radius: 14px;
    }

    [dir="rtl"] .mobile-faq-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    .mobile-notifications-page .mobile-profile-edit-header-spacer {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    [dir="rtl"] .mobile-notifications-page .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    .mobile-notifications-toolbar {
        margin: -12px 20px 0;
        padding: 16px 20px 18px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-notifications-toolbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-notifications-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 16px;
    }

    .mobile-notifications-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 14px 12px;
        background: var(--bg);
        border-radius: 16px;
        border: 1px solid var(--border);
    }

    .mobile-notifications-stat-num {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1.2;
    }

    .mobile-notifications-stat-txt {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        margin-top: 2px;
    }

    .mobile-notifications-filters {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .mobile-notifications-filter-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 0.9375rem;
        font-weight: 600;
        border: 1px solid var(--border);
        background: var(--bg);
        color: var(--text);
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .mobile-notifications-filter-chip svg {
        flex-shrink: 0;
    }

    .mobile-notifications-filter-chip--active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        border-color: var(--primary);
        color: white;
    }

    .mobile-notifications-filter-count {
        font-weight: 700;
        opacity: 0.9;
    }

    .mobile-notifications-actions {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
    }

    .mobile-notifications-mark-all {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--primary);
        background: rgba(62, 143, 106, 0.1);
        border: 1px solid rgba(62, 143, 106, 0.25);
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

    .mobile-notifications-mark-all:active {
        transform: scale(0.98);
    }

    .mobile-notifications-main {
        padding: 20px 20px 28px;
    }

    .mobile-notifications-results-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--muted);
        margin: 0 0 12px 0;
    }

    .mobile-notifications-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-notifications-list-item {
        margin: 0;
        padding: 0;
    }

    .mobile-notification-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        background: var(--surface);
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        position: relative;
        cursor: pointer;
        transition: transform 0.15s, box-shadow 0.2s;
        text-align: left;
    }

    .mobile-notification-card:active {
        transform: scale(0.99);
    }

    [data-theme="dark"] .mobile-notification-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .mobile-notification-card__accent {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 4px 0 0 4px;
    }

    .mobile-notification-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-notification-card__body {
        flex: 1;
        min-width: 0;
    }

    .mobile-notification-card__top {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 4px;
    }

    .mobile-notification-card__title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
        line-height: 1.3;
        flex: 1;
        min-width: 0;
    }

    .mobile-notification-card__unread {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--primary);
        flex-shrink: 0;
        margin-top: 6px;
    }

    .mobile-notification-card__time {
        font-size: 0.8125rem;
        color: var(--muted);
        display: block;
        margin-bottom: 6px;
    }

    .mobile-notification-card__text {
        font-size: 0.9375rem;
        color: var(--text);
        line-height: 1.5;
        margin: 0 0 8px 0;
    }

    .mobile-notification-card__type {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .mobile-notification-card__delete {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: none;
        background: transparent;
        color: var(--muted);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, color 0.2s;
    }

    .mobile-notification-card__delete:active {
        background: rgba(220, 38, 38, 0.1);
        color: var(--danger);
    }

    .mobile-notifications-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 48px 24px;
        min-height: 280px;
        border-radius: 24px;
        border: 2px dashed var(--border);
        background: var(--surface);
    }

    .mobile-notifications-empty-ico {
        color: var(--muted);
        margin-bottom: 20px;
    }

    .mobile-notifications-empty-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 8px 0;
    }

    .mobile-notifications-empty-text {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
        max-width: 280px;
    }

    /* ========== MY PROJECTS MOBILE ========== */
    .mobile-page-title {
        font-size: 1.375rem;
        font-weight: 700;
        color: white;
        margin: 0 0 4px 0;
    }

    .mobile-page-subtitle {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
    }

    .mobile-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 20px;
        margin-top: 20px;
    }

    /* ========== GLOBAL PAGE PADDING ========== */
    .requests-page,
    .messages-page,
    .my-projects-page,
    .notifications-page,
    .profile-page-container,
    .settings-page,
    .browse-page-container,
    .browse-page-premium,
    .vp-page {
        padding: 20px;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    /* ========== CARDS (global) ========== */
    .card {
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        margin-bottom: 16px;
    }

    /* ========== BUTTONS ========== */
    .btn {
        min-height: 48px;
        padding: 14px 22px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 16px;
    }

    .btn-primary {
        box-shadow: 0 4px 14px rgba(62, 143, 106, 0.3);
    }

    /* ========== INPUTS ========== */
    .input,
    .textarea,
    .select {
        min-height: 52px;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 16px;
        border: 1px solid var(--border);
    }

    .textarea {
        min-height: 120px;
    }

    /* ========== MODALS — Bottom sheet ========== */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal {
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        margin: 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    }

    .modal-header {
        padding: 20px 20px 16px;
    }

    .modal-title {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .modal-body {
        padding: 16px 20px;
    }

    .modal-footer {
        padding: 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .modal-footer .btn {
        flex: 1;
        min-width: 0;
    }

    /* ========== TOAST ========== */
    .toast-container {
        left: 16px;
        right: 16px;
        top: 64px;
        max-width: none;
    }

    .toast {
        width: 100%;
        min-width: 0;
        border-radius: 16px;
    }

    /* ========== REQUESTS PAGE (desktop-style when on small viewport) ========== */
    .requests-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .requests-title {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .requests-toolbar {
        flex-direction: column;
        padding: 16px;
        border-radius: 20px;
        gap: 12px;
    }

    .request-card {
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    /* ========== REQUESTS PAGE — Mobile (phones) ========== */
    /* Layout & shell */
    .mobile-requests-page {
        min-height: 100vh;
        background: var(--bg);
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    /* Header: back, title, notifications */
    .mobile-requests-header {
        background: linear-gradient(160deg, #256f47 0%, #2d7a52 25%, var(--primary) 40%, var(--primary-2) 100%);
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 28px;
        border-radius: 0 0 32px 32px;
        box-shadow: 0 12px 36px rgba(37, 99, 67, 0.35);
        position: relative;
        overflow: hidden;
    }

    .mobile-requests-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 120% 70% at 50% -15%, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
        pointer-events: none;
    }

    .mobile-requests-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        pointer-events: none;
    }

    [data-theme="dark"] .mobile-requests-header {
        background: linear-gradient(160deg, #1a5235 0%, #256f47 40%, var(--primary) 100%);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    }

    .mobile-requests-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: relative;
        z-index: 1;
    }

    .mobile-requests-back,
    .mobile-requests-notif {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.22);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-shrink: 0;
        transition: transform 0.2s, background 0.2s, border-color 0.2s;
    }

    .mobile-requests-back:hover,
    .mobile-requests-notif:hover {
        background: rgba(255, 255, 255, 0.24);
        border-color: rgba(255, 255, 255, 0.32);
    }

    .mobile-requests-back:active,
    .mobile-requests-notif:active {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(0.95);
    }

    .mobile-requests-back:focus-visible,
    .mobile-requests-notif:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.8);
        outline-offset: 2px;
    }

    .mobile-requests-back.mobile-header-menu-btn {
        cursor: pointer;
        padding: 0;
        font: inherit;
    }

    [dir="rtl"] .mobile-requests-back svg {
        transform: scaleX(-1);
    }

    [dir="rtl"] .mobile-requests-back.mobile-header-menu-btn svg {
        transform: none;
    }

    .mobile-requests-notif {
        position: relative;
    }

    .mobile-requests-notif.mobile-notification-btn-header,
    button.mobile-requests-notif {
        cursor: pointer;
        padding: 0;
        font: inherit;
        box-sizing: border-box;
    }

    .mobile-requests-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 9px;
        background: #fff;
        color: var(--primary);
        font-size: 10px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }

    .mobile-requests-header-center {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 0 8px;
    }

    .mobile-requests-title {
        font-size: 1.3125rem;
        font-weight: 800;
        color: #fff;
        margin: 0 0 2px 0;
        letter-spacing: -0.03em;
        line-height: 1.2;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .mobile-requests-header-subtitle {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.88);
        margin: 0;
        font-weight: 500;
        letter-spacing: 0.01em;
    }

    /* Toolbar: stats + filters + search (single card) */
    .mobile-requests-toolbar {
        margin: -12px 20px 0;
        padding: 20px;
        background: var(--surface);
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    [data-theme="dark"] .mobile-requests-toolbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-requests-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .mobile-requests-stat {
        text-align: center;
        padding: 14px 10px;
        border-radius: 16px;
        border: 1px solid transparent;
        position: relative;
        overflow: hidden;
        background: var(--bg);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-requests-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--primary);
    }

    .mobile-requests-stat:nth-child(1)::before {
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mobile-requests-stat:nth-child(2)::before {
        background: #22c55e;
    }

    .mobile-requests-stat:nth-child(3)::before {
        background: #d97706;
    }

    .mobile-requests-stat:nth-child(4)::before {
        background: #16a34a;
    }

    .mobile-requests-stat-num {
        display: block;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text);
        line-height: 1.2;
        margin-bottom: 4px;
        letter-spacing: -0.03em;
    }

    .mobile-requests-stat-txt {
        display: block;
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--muted);
        line-height: 1.3;
    }

    [data-theme="dark"] .mobile-requests-stat {
        background: color-mix(in srgb, var(--surface) 95%, var(--bg));
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }

    [data-theme="dark"] .mobile-requests-stat::before {
        opacity: 0.9;
    }

    /* Main content */
    .mobile-requests-main {
        padding: 24px 20px 32px;
    }

    .mobile-requests-results-count {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--muted);
        margin: 0 0 14px 0;
    }

    .mobile-requests-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-requests-list-item {
        margin: 0;
        padding: 0;
    }

    /* Request card */
    .mobile-request-card {
        display: block;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        position: relative;
    }

    .mobile-request-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 4px 0 0 4px;
        background: var(--primary);
    }

    .mobile-request-card--warning::before {
        background: #d97706;
    }

    .mobile-request-card--success::before {
        background: var(--success);
    }

    .mobile-request-card:active {
        transform: scale(0.99);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .mobile-request-card:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    .mobile-request-card__top {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 18px 14px 22px;
    }

    .mobile-request-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(62, 143, 106, 0.14) 0%, rgba(62, 143, 106, 0.06) 100%);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-request-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .mobile-request-card__info {
        flex: 1;
        min-width: 0;
    }

    .mobile-request-card__title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 4px 0;
        line-height: 1.35;
    }

    .mobile-request-card__category {
        font-size: 0.8125rem;
        color: var(--muted);
        margin: 0 0 10px 0;
    }

    .mobile-request-card__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .mobile-request-card__meta-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.75rem;
        color: var(--muted);
    }

    .mobile-request-card__meta-item svg {
        flex-shrink: 0;
    }

    .mobile-request-card__status {
        flex-shrink: 0;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .mobile-request-card--primary .mobile-request-card__status {
        background: rgba(62, 143, 106, 0.12);
        color: var(--primary);
    }

    .mobile-request-card--warning .mobile-request-card__status {
        background: rgba(217, 119, 6, 0.12);
        color: #b45309;
    }

    .mobile-request-card--success .mobile-request-card__status {
        background: rgba(22, 163, 74, 0.12);
        color: var(--success);
    }

    .mobile-request-card__bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px 16px 22px;
        background: var(--bg);
        border-top: 1px solid var(--border);
    }

    .mobile-request-card__budget {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--primary);
    }

    .mobile-request-card__action {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
    }

    /* Empty state */
    .mobile-requests-empty {
        text-align: center;
        padding: 48px 28px;
        background: var(--surface);
        border: 2px dashed var(--border);
        border-radius: 24px;
    }

    .mobile-requests-empty-ico {
        color: var(--muted);
        margin-bottom: 20px;
    }

    .mobile-requests-empty-ico svg {
        opacity: 0.5;
    }

    .mobile-requests-empty-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 8px 0;
    }

    .mobile-requests-empty-desc {
        font-size: 0.9375rem;
        color: var(--muted);
        margin: 0 0 24px 0;
        line-height: 1.5;
    }

    .mobile-requests-empty-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 28px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: #fff;
        border-radius: 16px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 8px 24px rgba(62, 143, 106, 0.35);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-requests-empty-cta:active {
        transform: scale(0.98);
    }

    /* FAB */
    .mobile-requests-fab {
        position: fixed;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px) + 16px);
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
        z-index: 100;
        text-decoration: none;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-requests-fab:active {
        transform: scale(0.94);
    }

    .mobile-requests-fab svg {
        width: 26px;
        height: 26px;
    }

    [dir="rtl"] .mobile-requests-fab {
        right: auto;
        left: 20px;
    }

    [dir="rtl"] .mobile-request-card::before {
        left: auto;
        right: 0;
        border-radius: 0 4px 4px 0;
    }

    /* ========== AUTH PAGES ========== */
    .auth-form-section {
        padding: 24px 20px 32px;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .login-input,
    .login-submit-btn,
    .auth-form-group .input {
        min-height: 52px;
        font-size: 16px;
        border-radius: 16px;
    }

    .login-submit-btn {
        font-weight: 700;
        border-radius: 16px;
    }

    /* ========== TOPBAR (global app bar) ========== */
    .topbar-logo {
        height: 32px;
    }

    .topbar-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    /* ========== NOTIFICATION POPOVER ========== */
    .notif-popover {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        border-radius: 20px;
    }

    .sidebar-dropdown--notifications {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        border-radius: 20px;
    }

    /* ========== EMPTY STATE ========== */
    .empty-state {
        padding: 48px 24px;
    }

    .empty-state-title {
        font-size: 1.25rem;
    }

    /* ========== PROFILE CARD (dashboard sidebar style on mobile) ========== */
    .mobile-profile-card {
        margin: 0 20px 20px;
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    /* ========== PAGE TITLES (when no mobile header) ========== */
    .page-title {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .page-header {
        margin-bottom: 20px;
    }

    /* ========== REQUEST CARDS (requests list) ========== */
    .request-card {
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .request-card__title h3 {
        font-size: 1.0625rem;
    }

    /* ========== STATS / DASHBOARD CARDS ========== */
    .stats-modern,
    .stats-row,
    .dashboard-stats-grid,
    .stats-grid-advanced {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-modern,
    .stat-box,
    .stat-card-modern,
    .stat-card-advanced {
        border-radius: 20px;
        padding: 20px;
    }

    /* ========== PROVIDER CARDS ========== */
    .mobile-providers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 20px;
    }

    .mobile-provider-card {
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .mobile-header {
        padding: 14px 16px 20px;
    }

    .mobile-greeting {
        font-size: 1.25rem;
    }

    .mobile-create-btn {
        min-height: 52px;
        font-size: 1rem;
    }

    .mobile-section,
    .mobile-activity-card,
    .mobile-attention-card {
        margin-left: 16px;
        margin-right: 16px;
    }

    .mobile-primary-action {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}
