:root {
    --yf-primary: #FF6B00;
    --yf-primary-dark: #E85D00;
    --yf-primary-light: #FFF4EB;
    --yf-danger: #FF6B00;
    --yf-success: #059669;
    --yf-warning: #D97706;
    --yf-bg: #FAFAFA;
    --yf-card: #FFFFFF;
    --yf-text: #1A1A1A;
    --yf-muted: #6B7280;
    --nav-height: 68px;
    --topbar-height: 52px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
    --radius: 4px;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { min-height: 100%; }

body.mobile-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--yf-bg);
    color: var(--yf-text);
    padding-top: var(--safe-top);
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
    line-height: 1.45;
}

.mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: calc(var(--topbar-height) + var(--safe-top));
    padding-top: var(--safe-top);
    background: #fff;
    color: var(--yf-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    border-bottom: 1px solid #f0f0f0;
}
.mobile-topbar .yf-brand { color: var(--yf-text); }
.mobile-topbar-title { font-weight: 700; color: var(--yf-text); }

.mobile-content {
    padding: calc(var(--topbar-height) + var(--safe-top) + 12px) 12px 12px;
    min-height: 100vh;
}

.mobile-card {
    background: var(--yf-card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.mobile-card h2, .mobile-card .h5, .mobile-card .h6 { margin: 0 0 8px; font-size: 1rem; }

.text-muted { color: var(--yf-muted) !important; }
.text-center { text-align: center; }
.text-danger { color: var(--yf-danger); font-size: .875rem; }
.small { font-size: .8125rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }
.w-100 { width: 100%; }

/* Form */
.form-label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: 6px; color: var(--yf-text); }
.form-control, .form-select, textarea.form-control {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    background: #fff;
    margin-bottom: 12px;
    appearance: none;
}
.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--yf-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Buttons */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
}
.btn-primary { background: var(--yf-primary); color: #fff; }
.btn-danger { background: var(--yf-danger); color: #fff; }
.btn-success { background: var(--yf-success); color: #fff; }
.btn-outline-primary {
    background: transparent;
    color: var(--yf-primary);
    border: 2px solid var(--yf-primary);
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
}

.btn-yolda-kaldim {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--yf-primary);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    min-height: 48px;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-active { background: #D1FAE5; color: #065F46; }
.badge-done { background: #E0E7FF; color: #3730A3; }

.alert-success { background: #D1FAE5; color: #065F46; padding: 12px; border-radius: 12px; margin-bottom: 12px; }
.alert-danger { background: #FEE2E2; color: #991B1B; padding: 12px; border-radius: 12px; margin-bottom: 12px; }

/* Spinner */
.spinner {
    width: 48px; height: 48px;
    border: 4px solid #E2E8F0;
    border-top-color: var(--yf-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* List item link */
.list-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.list-link:active .mobile-card { transform: scale(.98); }

/* Bottom nav */
.mobile-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: calc(var(--nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: #fff;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: stretch;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}
.mobile-nav .nav-item,
.mobile-nav .nav-item-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--yf-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    border: 0;
    background: transparent;
    padding: 6px 0;
    cursor: pointer;
    font-family: inherit;
}
.mobile-nav .nav-item.active,
.mobile-nav .nav-item-btn.active { color: var(--yf-primary); }
.mobile-nav form.nav-logout { flex: 1; display: flex; margin: 0; }
.mobile-nav .nav-fab {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FF6B00, #E85D00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: -20px;
    flex: 0 0 52px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}
.mobile-nav .nav-cta {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: -28px;
    padding: 0 4px;
    z-index: 2;
}
.mobile-nav .nav-cta-glow {
    position: absolute;
    inset: 4px -4px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.25);
    filter: blur(8px);
}
.mobile-nav .nav-cta-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FF6B00 0%, #E85D00 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45);
    white-space: nowrap;
}
.mobile-nav .nav-cta:active .nav-cta-inner { transform: scale(.96); }
.mobile-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}
.mobile-nav .nav-item small,
.mobile-nav .nav-item-btn small {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
}
.app-tabbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
}

/* Hero splash (login) */
.mobile-hero {
    text-align: center;
    padding: 24px 0 8px;
}
.mobile-hero .logo {
    width: 64px; height: 64px;
    background: var(--yf-primary);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Offer cards (customer waiting) */
.offer-card {
    border-left: 4px solid var(--yf-primary);
}
.offer-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yf-primary);
}

/* App home — mockup style */
.mobile-home-hero {
    text-align: center;
    padding: 8px 0 20px;
}
.mobile-home-hero .status {
    font-size: .8125rem;
    color: var(--yf-muted);
    margin-bottom: 12px;
}
.mobile-home-hero h1 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: 0;
}
.mobile-home-hero p {
    color: var(--yf-muted);
    margin: 0 0 16px;
    font-size: 14px;
}
.mobile-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.mobile-quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--yf-text);
    padding: 12px 8px;
    background: var(--yf-card);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.mobile-quick-item span {
    font-size: 12px;
    margin: 0;
}
.mobile-login-card {
    border-radius: 4px;
}
.mobile-phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 4px 12px;
    margin-bottom: 12px;
    background: #fff;
}
.mobile-phone-input input {
    border: 0;
    flex: 1;
    padding: 12px 0;
    font-size: 1rem;
    outline: none;
    margin: 0;
}
.mobile-phone-prefix {
    font-weight: 700;
    color: var(--yf-muted);
    white-space: nowrap;
}

.asist-service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.asist-service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}
.asist-service-option:has(input:checked) {
    border-color: var(--yf-primary);
    background: #FFF7ED;
}
.asist-service-option input {
    accent-color: var(--yf-primary);
}
.asist-status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.asist-status-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--yf-muted);
    font-size: 14px;
}
.asist-status-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
}
.asist-status-list li.done {
    color: var(--yf-text);
}
.asist-status-list li.done::before {
    background: var(--yf-success);
}
.asist-status-list li.active {
    color: var(--yf-primary);
    font-weight: 600;
}
.asist-status-list li.active::before {
    background: var(--yf-primary);
}
.asist-status-list li.pending {
    opacity: 0.45;
}
.d-none { display: none !important; }

/* Offer badges */
.offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.offer-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.offer-badge--fast {
    background: #FFF7ED;
    color: var(--yf-primary);
}
.offer-badge--cheap {
    background: #ECFDF5;
    color: #059669;
}
.offer-badge--verified {
    background: var(--yf-gray-50);
    color: var(--yf-muted);
}

/* Profile */
.profile-hero { text-align: center; }
.profile-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.profile-name { margin: 0 0 4px; font-size: 1.125rem; }
.profile-phone { font-weight: 600; margin-bottom: 4px; }
.section-title { margin: 0 0 12px; font-size: .9375rem; font-weight: 700; }
.btn-link-sm { font-size: .8125rem; font-weight: 600; color: var(--yf-primary); text-decoration: none; }
.vehicle-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.vehicle-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.compliance-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    font-size: .75rem;
}
.compliance-item span { display: block; color: var(--yf-muted); margin-bottom: 2px; }
.compliance-item strong { display: block; font-size: .8125rem; }
.compliance-item small { color: var(--yf-muted); }
.compliance-item.is-ok strong { color: var(--yf-success); }
.compliance-item.is-warn strong { color: var(--yf-warning); }
.compliance-item.is-expired strong { color: #dc2626; }
.compliance-item.is-empty strong { color: var(--yf-muted); }
.request-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.request-row:last-child { border-bottom: 0; }

/* Native app shell */
.app-profile--hub { padding-top: 0; }
.app-profile--page { padding-top: 0; }

.app-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    height: calc(48px + var(--safe-top));
    padding-top: var(--safe-top);
    display: grid;
    grid-template-columns: 48px 1fr 64px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.app-header-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
}
.app-header-back,
.app-header-action,
.app-header-spacer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: var(--yf-primary);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
}
.app-header-back { justify-self: start; padding-left: 8px; }
.app-header-action { justify-self: end; padding-right: 12px; }

.app-main--hub { padding: 0; min-height: 100vh; }
.app-main--page {
    padding: calc(48px + var(--safe-top) + 12px) 16px 16px;
    min-height: 100vh;
}

/* Profile hub header */
.app-hub-header {
    background: linear-gradient(160deg, #FF6B00 0%, #D94F00 55%, #B83D00 100%);
    padding: calc(var(--safe-top) + 12px) 16px 36px;
    color: #fff;
}
.app-hub-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.app-hub-brand { font-size: .875rem; font-weight: 600; opacity: .9; }
.app-hub-action {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}
.app-hub-user { text-align: center; }
.app-avatar {
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
}
.app-avatar--lg { width: 72px; height: 72px; font-size: 1.375rem; margin-bottom: 12px; }
.app-avatar--md { width: 48px; height: 48px; font-size: 1.125rem; flex-shrink: 0; }
.app-hub-name { margin: 0 0 6px; font-size: 1.375rem; font-weight: 700; }
.app-hub-phone {
    display: inline-block;
    background: rgba(0,0,0,.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
}
.app-hub-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.app-hub-stat {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}
.app-hub-stat strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.app-hub-stat span { font-size: .625rem; text-transform: uppercase; letter-spacing: .06em; opacity: .88; }
.app-hub-stat.is-live strong { color: #FEF08A; }

.app-sheet {
    background: var(--yf-bg);
    border-radius: 24px 24px 0 0;
    margin-top: -22px;
    padding: 20px 16px 8px;
    position: relative;
    z-index: 2;
}

.app-flash {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: .875rem;
    font-weight: 600;
}
.app-flash--ok { background: #D1FAE5; color: #065F46; }
.app-flash--err { background: #FEE2E2; color: #991B1B; }

.app-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #FECACA;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}
.app-alert--static { box-shadow: none; }
.app-alert-icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border-radius: 12px;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-alert-text strong { display: block; font-size: .875rem; margin-bottom: 2px; }
.app-alert-text span { font-size: .75rem; color: var(--yf-muted); }
.app-alert-chevron { margin-left: auto; color: #cbd5e1; }

.app-quick-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.app-quick-scroll::-webkit-scrollbar { display: none; }
.app-quick-tile {
    position: relative;
    flex: 0 0 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: var(--yf-text);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.app-quick-tile:active { transform: scale(.96); }
.app-quick-tile--sos .app-quick-tile-icon { background: #FEE2E2; color: #DC2626; }
.app-quick-tile-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-quick-tile-label { font-size: .6875rem; font-weight: 700; text-align: center; }
.app-quick-tile-badge {
    position: absolute;
    top: 8px; right: 8px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--yf-primary);
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-quick-tile-badge.is-warn { background: #DC2626; }

.app-block { margin-bottom: 22px; }
.app-block--tight { margin-bottom: 14px; }
.app-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.app-block-head h2,
.app-block-title {
    margin: 0 0 10px;
    font-size: .9375rem;
    font-weight: 700;
}
.app-block-head a { font-size: .8125rem; font-weight: 600; color: var(--yf-primary); text-decoration: none; }

.app-group {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-group-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f3f4f6;
}
.app-group-row:last-child { border-bottom: 0; }
.app-group-row:active { background: #fafafa; }
.app-group-main { flex: 1; min-width: 0; }
.app-group-main strong { display: block; font-size: .875rem; }
.app-group-main span { display: block; font-size: .75rem; color: var(--yf-muted); margin-top: 2px; }
.app-group-row--nav { padding: 15px 14px; }
.app-group-row--static {
    cursor: default;
    justify-content: flex-start;
    gap: 10px;
}
.app-group-row--static:active { background: transparent; }
.app-group-row--static .btn-sm {
    margin-left: auto;
    padding: 6px 14px;
    font-size: .75rem;
    font-weight: 800;
}
.app-group-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.app-group-icon--car { background: #EFF6FF; color: #2563EB; }
.app-group-icon--doc { background: #F0FDF4; color: #059669; }
.app-group-icon--settings { background: #F5F3FF; color: #7C3AED; }
.app-group-icon--list { background: #FFF7ED; color: #EA580C; }
.app-group-label { flex: 1; font-size: .9375rem; font-weight: 500; }
.app-group-value { font-size: .8125rem; color: var(--yf-muted); font-weight: 600; }
.app-group-chevron { color: #d1d5db; display: flex; }

.app-pill {
    font-size: .6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.app-pill.is-pending { background: #FEF3C7; color: #92400E; }
.app-pill.is-active { background: #D1FAE5; color: #065F46; }
.app-pill.is-done { background: #E0E7FF; color: #3730A3; }

.app-vehicle {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}
.app-vehicle.has-alert { border-color: #FECACA; }
.app-vehicle-inner {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}
.app-vehicle-inner:active { background: #fafafa; }
.app-vehicle-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.app-plate { font-size: 1.0625rem; font-weight: 800; letter-spacing: .03em; }
.app-plate--hero { font-size: 1.75rem; margin-bottom: 8px; }
.app-vehicle-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.app-tag {
    font-size: .625rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.app-tag.is-primary { background: var(--yf-primary-light); color: var(--yf-primary); }
.app-tag.is-warn { background: #FEF3C7; color: #92400E; }
.app-vehicle-sub { font-size: .8125rem; color: var(--yf-muted); margin-bottom: 10px; }

.app-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.app-status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
}
.app-status-dot.is-ok { background: var(--yf-success); }
.app-status-dot.is-warn { background: var(--yf-warning); }
.app-status-dot.is-expired { background: #dc2626; }
.app-status-legend { font-size: .625rem; color: var(--yf-muted); margin-left: 4px; }

.app-doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.app-doc-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
    min-height: 96px;
}
.app-doc-icon {
    display: flex;
    color: var(--yf-muted);
    margin-bottom: 6px;
}
.app-doc-label { display: block; font-size: .6875rem; color: var(--yf-muted); margin-bottom: 4px; }
.app-doc-card strong { display: block; font-size: .8125rem; line-height: 1.35; }
.app-doc-card small { display: block; font-size: .6875rem; color: var(--yf-muted); margin-top: 3px; }
.app-doc-card.is-ok strong { color: var(--yf-success); }
.app-doc-card.is-warn strong { color: var(--yf-warning); }
.app-doc-card.is-expired strong { color: #dc2626; }
.app-doc-card.is-empty strong { color: var(--yf-muted); }

.app-empty-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-empty-card--tall { padding: 40px 20px; }
.app-empty-card h2 { margin: 0 0 8px; font-size: 1.125rem; }
.app-empty-card p { color: var(--yf-muted); font-size: .875rem; margin: 0 0 16px; }
.app-empty-icon { color: var(--yf-primary); margin-bottom: 12px; }
.app-empty-icon--round {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--yf-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.app-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.app-kpi {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-kpi strong { display: block; font-size: 1.5rem; font-weight: 800; }
.app-kpi span { font-size: .6875rem; color: var(--yf-muted); text-transform: uppercase; letter-spacing: .04em; }
.app-kpi.is-ok strong { color: var(--yf-success); }
.app-kpi.is-warn strong { color: var(--yf-warning); }
.app-kpi.is-expired strong { color: #dc2626; }
.app-kpi.is-empty strong { color: var(--yf-muted); }

.app-page-sub { margin: 0 0 14px; font-size: .8125rem; color: var(--yf-muted); }
.app-more-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--yf-primary);
    text-decoration: none;
}
.app-footnote {
    font-size: .75rem;
    color: var(--yf-muted);
    text-align: center;
    margin: 20px 0 0;
}

.app-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-profile-card strong { display: block; font-size: 1rem; }
.app-profile-card span { font-size: .8125rem; color: var(--yf-muted); }

.app-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-form-heading { margin: 0 0 14px; font-size: 1rem; font-weight: 700; }
.app-form-section {
    margin: 18px 0 10px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--yf-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.app-form-section:first-child { margin-top: 0; }
.app-field { margin-bottom: 4px; }
.app-field label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.app-field .form-control,
.app-field .form-select { margin-bottom: 0; }
.app-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: .875rem;
    font-weight: 500;
}
.app-form-submit { margin-top: 16px; }
.app-info-box {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: .75rem;
    color: var(--yf-muted);
    margin-bottom: 14px;
    text-align: center;
}
.app-logout { margin-top: 4px; }

.app-vehicle-hero {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-vehicle-hero-sub { margin: 8px 0 0; font-size: .875rem; color: var(--yf-muted); }

.app-action-stack { display: flex; flex-direction: column; gap: 10px; }
.app-sticky-action { margin-top: 8px; padding-bottom: 8px; }

/* App home (.ah-*) */
.app-home { padding-top: 0; }
.app-main--home { padding: 0; min-height: 100vh; }

.ah-hero {
    background: linear-gradient(165deg, #FF6B00 0%, #E85D00 45%, #C24100 100%);
    padding: calc(var(--safe-top) + 16px) 20px 40px;
    color: #fff;
}
.ah-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.ah-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ah-brand-mark {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
}
.ah-brand-logo {
    width: 36px; height: 36px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
}
.ah-brand-name { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.ah-hero-link {
    color: #fff;
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 700;
    background: rgba(255,255,255,.16);
    padding: 8px 14px;
    border-radius: 999px;
}
.ah-greeting {
    margin: 0 0 8px;
    font-size: .8125rem;
    opacity: .9;
    font-weight: 600;
}
.ah-title {
    margin: 0 0 10px;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
}
.ah-lead {
    margin: 0 0 20px;
    font-size: .9375rem;
    line-height: 1.55;
    opacity: .92;
    max-width: 34ch;
}
.ah-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: var(--yf-text);
    border-radius: 18px;
    padding: 16px 18px;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.ah-cta:active { transform: scale(.98); }
.ah-cta-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ah-cta-text { flex: 1; min-width: 0; }
.ah-cta-text strong { display: block; font-size: 1rem; font-weight: 800; color: var(--yf-text); }
.ah-cta-text small { display: block; font-size: .75rem; color: var(--yf-muted); margin-top: 2px; }
.ah-cta-arrow { color: var(--yf-muted); display: flex; }

.ah-live-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 600;
}
.ah-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.35);
    animation: ah-pulse 2s ease infinite;
}
@keyframes ah-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.ah-sheet {
    background: #F4F4F5;
    border-radius: 28px 28px 0 0;
    margin-top: -24px;
    padding: 24px 16px 12px;
    position: relative;
    z-index: 2;
}
.ah-section { margin-bottom: 24px; }
.ah-section-title {
    margin: 0 0 6px;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.ah-section-desc {
    margin: 0 0 14px;
    font-size: .8125rem;
    color: var(--yf-muted);
    line-height: 1.5;
}

.ah-about-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ah-about-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.ah-about-icon {
    grid-row: 1 / 3;
    width: 44px; height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ah-about-icon--orange { background: #FFF7ED; color: #EA580C; }
.ah-about-icon--blue { background: #EFF6FF; color: #2563EB; }
.ah-about-icon--green { background: #ECFDF5; color: #059669; }
.ah-about-card strong { font-size: .9375rem; }
.ah-about-card span { font-size: .75rem; color: var(--yf-muted); line-height: 1.4; }

.ah-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ah-service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px 14px;
    background: #fff;
    border-radius: 18px;
    text-decoration: none;
    color: var(--yf-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    min-height: 108px;
}
.ah-service:active { transform: scale(.97); }
.ah-service--primary {
    background: linear-gradient(160deg, #FFF7ED, #FFEDD5);
    border: 1px solid #FDBA74;
}
.ah-service-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ah-service--primary .ah-service-icon {
    background: #FF6B00;
    color: #fff;
}
.ah-service-icon--shield { background: #EFF6FF; color: #2563EB; }
.ah-service-icon--fine { background: #FEF2F2; color: #DC2626; }
.ah-service-icon--wrench { background: #F0FDF4; color: #059669; }
.ah-service-icon--car { background: #F5F3FF; color: #7C3AED; }
.ah-service-icon--list { background: #FFF7ED; color: #EA580C; }
.ah-service-label { font-size: .75rem; font-weight: 800; text-align: center; }
.ah-service-hint { font-size: .625rem; color: var(--yf-muted); text-align: center; margin-top: -4px; }
.ah-service-badge {
    position: absolute;
    top: 8px; right: 8px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--yf-primary);
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ah-service-badge.is-live { background: #16A34A; }

.ah-steps {
    background: #fff;
    border-radius: 18px;
    padding: 6px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    overflow: hidden;
}
.ah-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f4f4f5;
}
.ah-step:last-child { border-bottom: 0; }
.ah-step-num {
    flex: 0 0 28px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    font-size: .8125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ah-step strong { display: block; font-size: .875rem; margin-bottom: 2px; }
.ah-step span { font-size: .75rem; color: var(--yf-muted); line-height: 1.4; }

.ah-asist-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, #1E293B, #334155);
    color: #fff;
    border-radius: 18px;
    padding: 18px 16px;
    margin-bottom: 16px;
}
.ah-asist-banner-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FDBA74;
}
.ah-asist-banner strong { display: block; font-size: .9375rem; margin-bottom: 4px; }
.ah-asist-banner p { margin: 0; font-size: .75rem; opacity: .85; line-height: 1.5; }

.ah-footnote {
    text-align: center;
    font-size: .75rem;
    color: var(--yf-muted);
    margin: 0 0 8px;
    padding: 0 12px;
}

.ah-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ah-support-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 16px 12px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: var(--yf-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    font-size: .8125rem;
    font-weight: 700;
}
.ah-support-btn svg { color: var(--yf-primary); }
.ah-support-btn:active { transform: scale(.97); }
.ah-support-btn--wa {
    background: var(--yf-primary);
    color: #fff;
}
.ah-support-btn--wa svg { color: #fff; }
.ah-support-btn--wa:active { background: var(--yf-primary-dark); }

.app-home {
    padding-bottom: calc(110px + var(--safe-bottom));
    background: #F3F4F6;
}

/* Ana sayfa — sade menü düzeni */
.app-home .app-main--home { padding: 0; }

.ah-page {
    padding: calc(var(--safe-top) + 16px) 16px 8px;
}

.ah-user {
    margin: 0 0 12px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--yf-text);
}

.ah-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    text-decoration: none;
    color: var(--yf-text);
    font-size: .8125rem;
    font-weight: 600;
}
.ah-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #16A34A;
    flex-shrink: 0;
}

.ah-main-btn {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 15px 16px;
    background: #1A1A1A;
    color: #fff;
    border: 0;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.ah-main-btn:active { background: #333; }

.ah-note {
    display: block;
    margin-bottom: 20px;
    font-size: .8125rem;
    color: var(--yf-muted);
    text-decoration: none;
}
.ah-note:active { color: var(--yf-text); }

.ah-block { margin-bottom: 20px; }
.ah-block-title {
    margin: 0 0 8px;
    padding: 0 2px;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--yf-muted);
}

.ah-menu {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}
.ah-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 14px;
    text-decoration: none;
    color: var(--yf-text);
    border-bottom: 1px solid #F3F4F6;
}
.ah-menu-row:last-child { border-bottom: 0; }
.ah-menu-row:active { background: #F9FAFB; }
.ah-menu-icon {
    flex: 0 0 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
}
.ah-menu-icon svg { stroke-width: 1.5; }
.ah-menu-label {
    flex: 1;
    font-size: .9375rem;
    font-weight: 500;
}
.ah-menu-meta {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--yf-muted);
    margin-right: 2px;
}
.ah-menu-arrow {
    flex: 0 0 16px;
    display: flex;
    color: #D1D5DB;
}
.ah-menu-arrow svg { stroke-width: 2; }

.app-home .home-tabbar {
    background: #fff;
    border-top: 1px solid #E5E7EB;
    box-shadow: none;
}
.app-home .home-tab { color: #9CA3AF; }
.app-home .home-tab.is-active { color: #1A1A1A; }
.app-home .home-tab-logo {
    background: #fff;
    border: 1px solid #D1D5DB;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.app-home .home-tab-logo-ring { border-color: #F3F4F6; }

/* Legacy profile helpers */
/* Profile hub — mobile app style (.mp-*) */
.mp-flash {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: .875rem;
    font-weight: 600;
}
.mp-flash--ok { background: #D1FAE5; color: #065F46; }
.mp-flash--err { background: #FEE2E2; color: #991B1B; }

.mp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yf-primary);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.mp-back-icon { font-size: 1.125rem; line-height: 1; }

.mp-hero {
    background: linear-gradient(145deg, #FF6B00 0%, #E85D00 100%);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 12px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
}
.mp-hero-inner { text-align: center; }
.mp-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    border: 2px solid rgba(255,255,255,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.mp-avatar--sm { width: 44px; height: 44px; font-size: 1rem; margin: 0; }
.mp-hero-name { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.mp-hero-phone { font-size: .9375rem; opacity: .95; margin-bottom: 14px; }
.mp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
}
.mp-stat {
    background: rgba(255,255,255,.16);
    border-radius: 12px;
    padding: 10px 8px;
}
.mp-stat strong { display: block; font-size: 1.125rem; line-height: 1.2; }
.mp-stat span { font-size: .6875rem; opacity: .9; text-transform: uppercase; letter-spacing: .04em; }
.mp-stat--active strong { color: #FEF3C7; }

.mp-alert-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}
.mp-alert-banner--static { cursor: default; }
.mp-alert-icon {
    flex: 0 0 28px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .875rem;
}
.mp-alert-banner strong { display: block; font-size: .875rem; margin-bottom: 2px; }
.mp-alert-banner span { font-size: .75rem; color: var(--yf-muted); }
.mp-alert-chevron { margin-left: auto; color: var(--yf-muted); font-size: 1.25rem; }

.mp-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.mp-quick-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 6px;
    background: var(--yf-card);
    border-radius: 14px;
    text-decoration: none;
    color: var(--yf-text);
    font-size: .6875rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    min-height: 76px;
}
.mp-quick-item:active { transform: scale(.97); }
.mp-quick-icon { font-size: 1.25rem; line-height: 1; }
.mp-quick-icon--help {
    font-size: .625rem;
    font-weight: 800;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    padding: 6px 8px;
    border-radius: 8px;
}
.mp-quick-badge {
    position: absolute;
    top: 6px; right: 6px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--yf-primary);
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-quick-badge--warn { background: #DC2626; }

.mp-section { margin-bottom: 16px; }
.mp-section--flat .mp-section-head { padding: 0 2px; }
.mp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.mp-section-head h2 { margin: 0; font-size: .9375rem; font-weight: 700; }
.mp-link { font-size: .8125rem; font-weight: 600; color: var(--yf-primary); text-decoration: none; }
.mp-text-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--yf-primary);
    text-decoration: none;
}

.mp-page-head { margin-bottom: 16px; }
.mp-page-head h1 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.mp-page-head p { margin: 0; font-size: .8125rem; color: var(--yf-muted); }

.mp-vehicle-card {
    background: var(--yf-card);
    border-radius: 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.mp-vehicle-card.has-alert { border-color: #FECACA; }
.mp-vehicle-link {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}
.mp-vehicle-link:active { background: #fafafa; }
.mp-vehicle-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.mp-plate {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.mp-plate--lg { font-size: 1.5rem; margin-bottom: 8px; }
.mp-tag {
    font-size: .625rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.mp-tag--primary { background: var(--yf-primary-light); color: var(--yf-primary); }
.mp-tag--warn { background: #FEF3C7; color: #92400E; }
.mp-vehicle-meta, .mp-vehicle-detail-meta {
    font-size: .8125rem;
    color: var(--yf-muted);
    margin-bottom: 8px;
}
.mp-vehicle-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.mp-chip {
    font-size: .625rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--yf-muted);
}
.mp-chip.is-ok { background: #D1FAE5; color: #065F46; }
.mp-chip.is-warn { background: #FEF3C7; color: #92400E; }
.mp-chip.is-expired { background: #FEE2E2; color: #991B1B; }

.mp-compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.mp-compliance-item {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px;
    font-size: .75rem;
}
.mp-compliance-icon { flex: 0 0 auto; font-size: .875rem; line-height: 1.4; }
.mp-compliance-body { min-width: 0; }
.mp-compliance-label { display: block; color: var(--yf-muted); font-size: .6875rem; margin-bottom: 2px; }
.mp-compliance-body strong { display: block; font-size: .8125rem; line-height: 1.3; }
.mp-compliance-body small { display: block; color: var(--yf-muted); font-size: .6875rem; margin-top: 2px; }
.mp-compliance-item.is-ok strong { color: var(--yf-success); }
.mp-compliance-item.is-warn strong { color: var(--yf-warning); }
.mp-compliance-item.is-expired strong { color: #dc2626; }
.mp-compliance-item.is-empty strong { color: var(--yf-muted); }

.mp-list {
    background: var(--yf-card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.mp-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
}
.mp-list-row:last-child { border-bottom: 0; }
.mp-list-row:active { background: #fafafa; }
.mp-list-row strong { display: block; font-size: .875rem; }
.mp-list-row span { display: block; font-size: .75rem; color: var(--yf-muted); margin-top: 2px; }

.mp-menu {
    background: var(--yf-card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}
.mp-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9375rem;
    font-weight: 500;
}
.mp-menu-row:last-child { border-bottom: 0; }
.mp-menu-row:active { background: #fafafa; }
.mp-menu-icon { font-size: 1.125rem; width: 24px; text-align: center; }
.mp-menu-chevron { margin-left: auto; color: #cbd5e1; font-size: 1.25rem; }

.mp-empty {
    text-align: center;
    padding: 8px 0;
}
.mp-empty--card {
    background: var(--yf-card);
    border-radius: 14px;
    padding: 24px 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.mp-empty-icon { font-size: 2rem; margin-bottom: 8px; }
.mp-empty p { color: var(--yf-muted); font-size: .875rem; margin: 0 0 12px; }

.mp-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.mp-summary-card {
    background: var(--yf-card);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow);
}
.mp-summary-card strong { display: block; font-size: 1.375rem; font-weight: 800; }
.mp-summary-card span { font-size: .6875rem; color: var(--yf-muted); text-transform: uppercase; letter-spacing: .04em; }
.mp-summary-card.is-ok strong { color: var(--yf-success); }
.mp-summary-card.is-warn strong { color: var(--yf-warning); }
.mp-summary-card.is-expired strong { color: #dc2626; }
.mp-summary-card.is-empty strong { color: var(--yf-muted); }

.mp-hint {
    font-size: .75rem;
    color: var(--yf-muted);
    text-align: center;
    margin: 16px 0 0;
    padding: 0 8px;
}

.mp-form-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
}
.mp-form-title--section {
    margin-top: 20px;
    padding-top: 4px;
    font-size: .875rem;
    color: var(--yf-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.mp-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
}
.mp-settings-card { margin-bottom: 12px; }
.mp-settings-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-settings-user strong { display: block; font-size: .9375rem; }
.mp-settings-user span { font-size: .8125rem; color: var(--yf-muted); }
.mp-info-card { margin-bottom: 12px; }
.mp-logout-btn { margin-top: 4px; }
.mp-fab-btn { margin-top: 8px; }
.mp-vehicle-detail { text-align: center; margin-bottom: 16px; }
.mp-action-stack { display: flex; flex-direction: column; gap: 8px; }

/* ── Mobil ana sayfa v2 (kurumsal) ── */
.app-home-v2 {
    padding-top: 0;
    padding-bottom: calc(110px + var(--safe-bottom));
    background: #F5F5F5;
}
.app-home-v2 .app-main--home { padding: 0; }

.yx-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    color: #fff;
}
.yx-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, #0f1419 0%, #1a2332 45%, #2a3444 100%);
}
.yx-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 115%;
    object-fit: cover;
    object-position: center 5%;
    transform: translateY(-14%);
}
.yx-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.35) 38%, rgba(8, 8, 8, 0.15) 62%, rgba(8, 8, 8, 0.55) 100%);
}
.yx-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: calc(var(--safe-top) + 10px) 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.yx-greeting {
    margin: 0 auto 6px;
    font-size: .8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: .02em;
}
.yx-headline {
    margin: 0 auto 10px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    max-width: 26ch;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.yx-headline em {
    font-style: normal;
    color: var(--yf-primary);
}
.yx-lead {
    margin: 0 auto 16px;
    font-size: .8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.yx-cta {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    background: var(--yf-primary);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 12px 18px;
    font-size: .8125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.yx-cta:active { background: var(--yf-primary-dark); }
.yx-hint-link {
    display: inline-block;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.yx-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px auto 0;
    padding: 10px 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 600;
}
.yx-active-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
}

.yx-services-card {
    margin: -28px 16px 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    padding: 20px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.yx-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 4px;
}
.yx-svc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--yf-text);
    border-radius: 10px;
}
.yx-svc:active { background: #F9FAFB; }
.yx-svc svg { color: #374151; stroke-width: 1.5; }
.yx-svc span {
    font-size: .625rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    color: #4B5563;
}

.yx-trust {
    padding: 20px 16px;
}
.yx-trust-title {
    margin: 0 0 16px;
    font-size: 1.125rem;
    font-weight: 800;
    text-align: center;
    color: var(--yf-text);
}
.yx-trust-title em { font-style: normal; color: var(--yf-primary); }
.yx-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.yx-trust-item {
    text-align: center;
    padding: 16px 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.yx-trust-icon {
    display: inline-flex;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--yf-primary-light);
    color: var(--yf-primary);
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.yx-trust-item strong {
    display: block;
    font-size: .6875rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.3;
}
.yx-trust-item > span {
    font-size: .625rem;
    color: var(--yf-muted);
    line-height: 1.35;
}

.yx-footer {
    padding: 8px 16px 0;
    margin-top: 4px;
}
.yx-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.yx-contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    text-decoration: none;
    color: var(--yf-text);
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FAFAFA;
}
.yx-contact-phone svg { color: var(--yf-primary); flex-shrink: 0; }
.yx-contact-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--yf-primary);
    color: #fff;
    padding: 13px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
}
.yx-contact-wa:active { background: var(--yf-primary-dark); }

.yx-emergency {
    text-align: center;
    font-size: .75rem;
    color: var(--yf-muted);
    margin: 12px 0 0;
    padding-bottom: 4px;
}

/* Ana sayfa alt menü — çıkıntılı logo */
.home-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: end;
    height: calc(64px + var(--safe-bottom));
    padding: 0 8px var(--safe-bottom);
    background: #fff;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}
.home-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 10px;
    text-decoration: none;
    color: #9CA3AF;
    min-height: 56px;
}
.home-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
}
.home-tab-label {
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.home-tab.is-active { color: var(--yf-primary); }
.home-tab.is-active .home-tab-icon svg { stroke-width: 2.25; }

.home-tab-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    margin: 0 auto -22px;
    border-radius: 14px;
    background: var(--yf-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    z-index: 2;
    align-self: start;
    margin-top: -24px;
}
.home-tab-logo-ring {
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    border: 2px solid #fff;
    pointer-events: none;
}
.home-tab-logo-img {
    width: 36px; height: 36px;
    object-fit: contain;
    border-radius: 8px;
}
.home-tab-logo:active { transform: scale(.95); }

/* Çekici canlı bildirim toast */
.yf-toast {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    left: 16px;
    right: 16px;
    z-index: 9999;
    background: #fff;
    border-left: 4px solid var(--yf-primary, #FF6B00);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: yf-toast-in .25s ease;
}
.yf-toast strong { font-size: .9rem; }
.yf-toast span { font-size: .8rem; color: #666; }
@keyframes yf-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-badge {
    display: inline-block;
    min-width: 18px;
    padding: 0 5px;
    margin-left: 2px;
    border-radius: 9px;
    background: var(--yf-primary, #FF6B00);
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    vertical-align: top;
}
.nav-badge[hidden] { display: none; }

.yf-hub-partner {
    margin: 20px 0 8px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8f9fa;
    text-align: center;
}
.yf-hub-partner-text {
    font-size: .8rem;
    color: #666;
    margin: 0 0 6px;
}
.yf-hub-partner-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--yf-primary, #FF6B00);
    text-decoration: none;
}
.yf-hub-partner-sep { color: #ccc; margin: 0 6px; }
