/* Veli portal — Admin theme üzerine sayfa içi küçük ekler */

/* Veli panelinde hover tooltip balonları kapalı (dk-tooltip.js yüklenmez) */
.dk-shell [data-tooltip]::before,
.dk-shell [data-tooltip]::after,
.dk-shell .dk-panel-help[data-tooltip]::before,
.dk-shell .dk-panel-help[data-tooltip]::after,
.dk-shell .dk-tooltip[data-tooltip]::before,
.dk-shell .dk-tooltip[data-tooltip]::after,
.dk-sidebar.dk-collapsed .dk-nav-item[title]::before,
.dk-sidebar.dk-collapsed .dk-nav-item[title]::after,
.dk-page-header-icon-btn.dk-tooltip[data-tooltip]::after,
.dk-tooltip-float {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content: none !important;
    pointer-events: none !important;
}

.veli-hidden-logout-form {
    display: none !important;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1.25rem;
    background: #ffd7d7;
    color: #7c1212;
    z-index: 1000;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    vertical-align: middle;
    user-select: none;
}

.dk-panel-help .material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
    width: 16px;
    height: 16px;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.veli-student-picker {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 12rem;
}

.veli-student-picker-form {
    margin: 0;
    padding: 0;
}

.veli-student-picker-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.veli-student-select {
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.95rem;
}

.veli-student-chip {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #cbd5e1;
    font-weight: 600;
}

/* Öğrenci sekmeleri + hızlı aksiyonlar (KantinApp / dk panel dili) */
/* KantinApp ile aynı: içerik padding yalnızca .dk-content üzerinden */
.dk-content .pnl-page {
    padding: 0;
    max-width: none;
}

.veli-student-action-bar-wrap {
    margin-top: 0;
}

.veli-student-action-bar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 10px);
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
}

@media (min-width: 992px) {
    .veli-student-action-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .veli-student-action-bar--tabs-only {
        justify-content: flex-start;
        padding: 0.45rem 0.85rem;
    }
}

.veli-student-action-bar--tabs-only {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.veli-student-action-bar--tabs-only .veli-student-action-bar__left {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.veli-student-action-bar--tabs-only .veli-student-tabs {
    max-width: 100%;
}

.veli-student-action-bar__left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1;
}

.veli-student-action-bar__heading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    padding-right: 0.85rem;
    border-right: 1px solid #e2e8f0;
}

.veli-student-action-bar__heading-icon {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 9px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    color: var(--dk-accent, #1353d3);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.veli-student-action-bar__heading-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.veli-student-action-bar__heading-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.veli-student-action-bar__heading-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
    white-space: nowrap;
}

.veli-student-action-bar__picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.veli-student-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.25rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
}

.veli-student-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    border-radius: 9px;
    text-decoration: none;
    color: #64748b;
    border: none;
    background: transparent;
    flex-shrink: 0;
    max-width: 16rem;
    transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.veli-student-tab:hover {
    color: #334155;
    background: rgba(255, 255, 255, 0.7);
}

.veli-student-tab.is-active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.veli-student-tab.is-active .veli-student-tab__name {
    color: #0f172a;
    font-weight: 600;
}

.veli-student-tab__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.veli-student-tab.is-active .veli-student-tab__avatar,
.veli-student-single .veli-student-tab__avatar {
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
}

.veli-student-tab__name {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.veli-student-single {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.15rem 0.35rem 0.15rem 0.15rem;
    border: none;
    background: transparent;
    box-shadow: none;
}

.veli-student-single .veli-student-tab__avatar {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
}

.veli-student-single .veli-student-tab__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.veli-student-single__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.veli-student-tab__meta {
    font-size: 0.6875rem;
    color: var(--dk-btn-muted, #64748b);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.veli-student-action-bar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.veli-student-action-bar__actions a.dk-btn {
    text-decoration: none;
    height: var(--dk-btn-h, 36px);
    min-height: var(--dk-btn-h, 36px);
    padding: 0 0.85rem;
}

/* KPI şeridi — mobilde kompakt 2 sütun */
@media (max-width: 767.98px) {
    .veli-student-action-bar-wrap.rz-mb-4 {
        margin-bottom: 0.65rem !important;
    }

    .veli-student-action-bar {
        padding: 0.65rem 0.75rem;
        gap: 0.55rem;
        border-radius: 12px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-student-action-bar__left {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        width: 100%;
    }

    .veli-student-action-bar__heading {
        padding: 0;
        border: none;
        gap: 0.35rem;
    }

    .veli-student-action-bar__heading-icon {
        display: none;
    }

    .veli-student-action-bar__heading-sub {
        display: none;
    }

    .veli-student-action-bar__heading-title {
        font-size: 0.6875rem;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .veli-student-action-bar__picker {
        width: 100%;
        min-width: 0;
    }

    .veli-student-tabs {
        width: 100%;
        padding: 0.2rem;
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .veli-student-tab {
        max-width: 10.5rem;
        padding: 0.22rem 0.5rem 0.22rem 0.22rem;
    }

    .veli-student-tab__avatar {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.625rem;
    }

    .veli-student-tab__name {
        font-size: 0.75rem;
    }

    .veli-student-single {
        padding: 0.2rem 0.25rem;
    }

    .veli-student-single .veli-student-tab__avatar {
        width: 2rem;
        height: 2rem;
    }

    .veli-student-single .veli-student-tab__name {
        font-size: 0.8125rem;
    }

    .veli-student-action-bar__actions {
        display: none !important;
    }

    .dk-content .veli-kpi-strip {
        --rz-gap: 0.5rem !important;
    }

    .dk-content .veli-history-kpi {
        --rz-gap: 0.35rem !important;
        gap: 0.35rem !important;
        row-gap: 0.35rem !important;
        column-gap: 0.35rem !important;
    }

    .dk-content .veli-kpi-strip.rz-mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .dk-content .veli-history-kpi.rz-mb-4 {
        margin-bottom: 0.5rem !important;
    }

    .dk-content .veli-history-kpi > .rz-col {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding: 0 !important;
    }

    .dk-content .veli-history-kpi > .rz-col:last-child:nth-child(odd) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .dk-content .veli-history-kpi .dk-kpi-body {
        padding: 0.28rem 0.4rem 0.32rem;
    }

    .dk-content .dk-kpi-card {
        min-height: 0;
        border-radius: 10px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .dk-content .dk-kpi-icon {
        flex: 0 0 2.35rem;
        width: 2.35rem;
    }

    .dk-content .dk-kpi-icon .rzi {
        font-size: 1.05rem;
    }

    .dk-content .dk-kpi-body {
        padding: 0.35rem 0.45rem 0.4rem;
        gap: 0.05rem;
    }

    .dk-content .dk-kpi-title {
        font-size: 0.625rem;
        font-weight: 600;
        line-height: 1.15;
        color: #94a3b8;
    }

    .dk-content .dk-kpi-amount {
        font-size: 0.8125rem;
        font-weight: 800;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
    }

    .dk-content .dk-kpi-sub {
        font-size: 0.5625rem;
        line-height: 1.2;
        margin-top: 0.05rem;
    }

    .dk-content .dk-page-header.card.card-body.py-3 {
        min-height: 0;
        padding: 0.5rem 0.75rem !important;
        border-radius: 10px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .dk-content .dk-page-header.rz-mb-4 {
        margin-bottom: 0.6rem !important;
    }

    .dk-content .veli-student-action-bar-wrap.rz-mb-4 {
        margin-bottom: 0.65rem !important;
    }

    .dk-content .dk-page-header-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.45rem;
    }

    .dk-content .dk-page-header-title,
    .dk-content .dk-page-header .card-title {
        font-size: 0.9375rem;
        line-height: 1.25rem;
        font-weight: 700;
    }

    .dk-content .dk-page-header-title-row {
        gap: 0.35rem;
        flex-wrap: nowrap;
    }

    .dk-content .dk-page-header-sub {
        display: none;
    }

    .dk-content .dk-page-header-badge.badge {
        height: auto;
        min-height: 1.125rem;
        padding: 0.12rem 0.4rem;
        font-size: 0.5625rem;
        letter-spacing: 0.03em;
    }

    /* Öğrenci şeridi zaten var — tekrarlayan rozet */
    .dk-content .dk-page-header:has(+ .veli-student-action-bar-wrap) .dk-page-header-badge {
        display: none;
    }

    .dk-content .dk-page-header .dk-panel-help {
        width: 1.5rem;
        height: 1.5rem;
        padding: 0;
    }

    .dk-content .dk-page-header .dk-panel-help .material-symbols-outlined {
        font-size: 1rem;
    }

    .dk-content .dk-page-header-actions {
        width: auto;
        flex-wrap: nowrap;
    }

    .dk-content .dk-page-header-nav:empty {
        display: none;
    }
}

@media (max-width: 767.98px) and (hover: none) {
    .dk-content .dk-kpi-card {
        transform: none !important;
    }
}

.veli-header-school {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(28rem, 52vw);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.25;
    color: var(--dk-header-fg, #eef1f8);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.veli-page-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 12rem;
    color: #64748b;
}

.veli-empty-hint {
    color: #64748b;
    font-size: 0.92rem;
}

.veli-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.veli-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.veli-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 140px;
    padding-top: 0.5rem;
}

.veli-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 0.35rem;
}

.veli-bar-fill {
    width: 100%;
    max-width: 2.5rem;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #3b82f6 0%, #1353d3 100%);
    min-height: 4px;
}

.veli-bar-label {
    font-size: 0.72rem;
    color: #64748b;
}

.veli-home-wallets {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.veli-home-wallet-card {
    position: relative;
    padding: 0.7rem 0.85rem 0.75rem;
    border-radius: 12px;
    color: #f8fafc;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2744 0%, #1353d3 52%, #1e6bff 100%);
    box-shadow: 0 4px 14px rgba(19, 83, 211, 0.2);
}

.veli-home-wallet-card:nth-child(even) {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 52%, #14b8a6 100%);
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.22);
}

.veli-home-wallet-card::after {
    content: "";
    position: absolute;
    top: -2rem;
    right: -1.5rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.veli-home-wallet-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    position: relative;
    z-index: 1;
}

.veli-home-wallet-card-top .material-symbols-outlined {
    font-size: 1.35rem;
    opacity: 0.92;
}

.veli-home-wallet-card-mark {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.veli-home-wallet-card-label {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veli-home-wallet-card-operator {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.72;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    letter-spacing: normal;
}

.veli-home-wallet-card-balance {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.veli-home-wallets-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.55rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.75rem;
    color: #64748b;
}

.veli-home-wallets-total strong {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.veli-table-wrap {
    overflow: auto;
    border-radius: var(--dk-grid-radius, 10px);
    border: 1px solid #e2e8f0;
}

.veli-table-pager {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.report-toolbar-filters .dk-filter-toggle.is-on {
    color: var(--dk-accent, #1d63ed) !important;
    border-color: color-mix(in srgb, var(--dk-accent, #1d63ed) 35%, #e2e8f0) !important;
    background: var(--dk-accent-soft, #e8f0ff) !important;
}

.veli-toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
}

.veli-toolbar-field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.veli-toolbar-input {
    height: var(--dk-btn-h-sm, 32px);
    min-height: var(--dk-btn-h-sm, 32px);
    padding: 0 0.65rem;
    border: 1px solid var(--dk-btn-border, #e2e8f0);
    border-radius: var(--dk-btn-radius, 8px);
    font-size: 0.875rem;
    background: #fff;
    color: #0f172a;
    min-width: 10rem;
}

.veli-toolbar-input:focus {
    outline: 2px solid color-mix(in srgb, var(--dk-accent, #1d63ed) 35%, transparent);
    border-color: var(--dk-accent, #1d63ed);
}

.report-toolbar form.report-toolbar-filters,
form.report-toolbar .report-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.6rem 0.75rem;
    flex: 1 1 280px;
    min-width: 0;
}

form.report-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.75rem;
    margin-bottom: 0.75rem;
}

.veli-query-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.veli-query-pager-summary {
    font-size: 0.8125rem;
    color: #64748b;
}

.veli-query-pager-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.veli-query-pager-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--dk-accent, #1353d3);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

.veli-query-pager-link:hover {
    background: #f8fafc;
    text-decoration: none;
}

.veli-query-pager-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    background: var(--dk-accent-soft, #e8f0ff);
    color: var(--dk-accent, #1353d3);
    font-size: 0.8125rem;
    font-weight: 700;
}

.veli-query-pager-ellipsis {
    padding: 0 0.25rem;
    color: #94a3b8;
}

.veli-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
}

.veli-table th,
.veli-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.veli-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.veli-num {
    text-align: right !important;
    white-space: nowrap;
}

.veli-receipt-no {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #475569;
}

/* Harcama: mobil kart listesi / masaüstü tablo */
.veli-sales-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.veli-sale-card {
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.veli-sale-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.veli-sale-card-product {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0f172a;
    line-height: 1.35;
}

.veli-sale-card-amount.is-negative,
.veli-num-negative {
    color: #c2410c;
}

.veli-balance-load-detail {
    margin-left: 0.35rem;
    font-weight: 500;
    color: #334155;
}

.veli-yukleme-raporu.rz-card {
    overflow: hidden;
}

.veli-yukleme-raporu .veli-yukleme-row-icon {
    border-radius: 8px;
    font-size: 1.05rem;
}

.veli-yukleme-raporu .veli-yukleme-row-icon.veli-tag-ok {
    background: #ecfdf5;
    color: #047857;
    border-color: transparent;
}

.veli-yukleme-raporu .veli-yukleme-row-icon.veli-tag-warn {
    background: #fff7ed;
    color: #c2410c;
    border-color: transparent;
}

.veli-yukleme-raporu .veli-yukleme-row-icon.veli-tag-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: transparent;
}

.veli-yukleme-raporu .veli-yukleme-row-title {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .pnl-page:has(.veli-yukleme-raporu) {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .veli-yukleme-raporu.rz-card {
        padding: 0.45rem 0.75rem 0.6rem;
        border-radius: 10px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-yukleme-raporu .veli-empty-hint {
        margin: 0;
        padding: 0.65rem 0;
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .veli-yukleme-raporu .veli-yukleme-row-icon {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.95rem;
        border-radius: 999px;
    }

    .veli-yukleme-raporu .veli-sale-card--compact {
        padding: 0.48rem 0;
        gap: 0.55rem;
        align-items: center;
    }

    .veli-yukleme-raporu .veli-yukleme-row-title {
        font-size: 0.8125rem;
        line-height: 1.25;
    }

    .veli-yukleme-raporu .veli-sale-card-meta-line {
        margin-top: 0.06rem;
        font-size: 0.6875rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .veli-yukleme-raporu .veli-sale-card-amount {
        font-size: 0.8125rem;
        font-weight: 800;
    }

    .veli-yukleme-raporu .veli-sale-card-amount:not(.is-negative) {
        color: #0f172a;
    }
}

.veli-sale-card-product .veli-tag {
    vertical-align: middle;
}

.veli-sale-card-amount {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--dk-accent, #1353d3);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.veli-sale-card-meta {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    flex-wrap: wrap;
}

.veli-sale-card-dot {
    margin: 0 0.2rem;
    opacity: 0.6;
}

.veli-table-wrap--desktop {
    display: none;
}

/* Para yükle — cüzdan özeti (4 kart) */
.py-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .py-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    /* Eşit yükseklik: flex + stretch (grid satırında hero bazen kısa kalıyordu) */
    .py-overview {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .py-overview-card--hero {
        flex: 1.2 1 0;
        min-width: 0;
        align-self: stretch;
    }

    .py-stat-card {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
    }
}

.py-overview-card {
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 12px);
    padding: 1rem 1.05rem;
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.py-stat-card {
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
    min-height: 0;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .py-stat-card .py-stat-sub {
        display: none;
    }
}

.py-stat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.py-stat-head-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 0;
}

.py-stat-head-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.py-stat-head-icon .rzi {
    font-size: 1.2rem;
}

.py-stat-head-icon--teal {
    background: #ecfdf5;
    color: #059669;
}

.py-stat-head-icon--blue {
    background: var(--dk-accent-soft, #e8f0ff);
    color: var(--dk-accent, #1353d3);
}

.py-stat-head-text {
    min-width: 0;
}

.py-stat-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.py-stat-sub {
    margin: 0.12rem 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
}

.py-stat-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.py-stat-action:hover:not(:disabled) {
    color: var(--dk-accent, #1353d3);
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 30%, #e2e8f0);
    background: #fff;
}

.py-stat-action:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* Yükleme durumu kartı */
.py-load-sync {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.65rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.py-load-sync-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}

.py-load-sync-parts {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
}

.py-load-sync-part {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.8125rem;
}

.py-load-sync-part-k {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}

.py-load-sync-part-v {
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.py-load-pending {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 9px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    flex-shrink: 0;
}

.py-load-pending--active {
    border-style: solid;
    border-color: #fcd34d;
    background: #fffbeb;
}

.py-load-pending-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.py-load-pending-icon {
    font-size: 1.25rem;
    color: #94a3b8;
    flex-shrink: 0;
}

.py-load-pending--active .py-load-pending-icon {
    color: #d97706;
}

.py-load-pending-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.25;
}

.py-load-pending-amount {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.py-load-last {
    margin-top: auto;
    padding: 0.38rem 0.55rem;
    border-radius: 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.py-load-last--ok {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #bbf7d0;
}

.py-load-last-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0;
}

.py-load-last-kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.py-load-last-chip {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #475569;
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.py-load-last-body {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-width: 0;
}

.py-load-last-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.py-load-last-detail {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.py-load-last-meta {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.py-load-last-icon {
    font-size: 1.05rem;
    color: #059669;
    flex-shrink: 0;
}

.py-load-last-amount {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.py-load-last-date {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 600;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.35;
}

.py-load-last-empty {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

/* Günlük limit kartı */
.py-limit-summary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.py-limit-scope {
    align-self: flex-start;
    font-size: 0.625rem;
    font-weight: 600;
    color: #475569;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.py-limit-meter {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-shrink: 0;
}

.py-limit-meter-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.py-limit-meter-pct {
    font-variant-numeric: tabular-nums;
    color: var(--dk-accent, #1353d3);
}

.py-limit-bar {
    height: 0.4rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.py-limit-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6 0%, var(--dk-accent, #1353d3) 100%);
    transition: width 0.25s ease;
    min-width: 0;
}

.py-limit-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    flex-shrink: 0;
}

.py-limit-summary .py-limit-stat {
    background: #fff;
}

.py-limit-stat {
    padding: 0.3rem 0.35rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.py-limit-stat--accent {
    background: var(--dk-accent-soft, #e8f0ff);
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 18%, #e2e8f0);
}

.py-limit-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.py-limit-stat-value {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-limit-stat--accent .py-limit-stat-value {
    color: var(--dk-accent, #1353d3);
}

.py-limit-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.py-limit-foot-icon {
    font-size: 1rem;
    line-height: 1.2;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.py-limit-foot-text {
    font-size: 0.6875rem;
    line-height: 1.35;
    color: #64748b;
    min-width: 0;
}

.py-limit-foot-k {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.08rem;
}

.py-limit-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem 0.25rem;
}

.py-limit-empty-icon {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.py-limit-empty-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.py-limit-empty-hint {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 16rem;
}

.py-limit-empty-link {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dk-accent, #1353d3);
    text-decoration: none;
}

.py-limit-empty-link:hover {
    text-decoration: underline;
}

/* Para yükle — online hub (mockup / yakında) */
.py-hub {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.py-hub-side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

@media (min-width: 1100px) {
    .py-hub {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        align-items: start;
    }
}

.py-hub-card {
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 12px);
    padding: 1rem 1.05rem 1.05rem;
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
    min-width: 0;
}

.py-hub-card--instant {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
    overflow: hidden;
    /* Anında yükleme — hub içi ortak vurgu (preset / işletme / CTA ile uyumlu) */
    --py-hub-accent: #0f766e;
    --py-hub-accent-hover: #0d9488;
    --py-hub-accent-soft: #ecfdf5;
    --py-hub-accent-border: #99f6e4;
    --py-hub-surface: #fff;
    --py-hub-ink: #0f172a;
    --py-hub-ink-muted: #475569;
}

.py-hub-card--rules {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.py-hub-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.py-hub-head--compact {
    align-items: center;
}

.py-hub-head-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 0;
}

.py-hub-head-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: #ecfdf5;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.py-hub-head-icon--teal {
    background: #ecfdf5;
    color: #0f766e;
}

.py-hub-head-icon--slate {
    background: #f1f5f9;
    color: #475569;
}

.py-hub-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.py-hub-sub {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
}

.py-hub-badge {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}

.py-hub-badge--sync {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.py-hub-badge--soon {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.py-hub-soon-strip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
}

.py-hub-soon-strip .material-symbols-outlined {
    font-size: 1.1rem;
}

.py-hub-soon-strip--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Hub — online yükleme kapalı / bilgi kartı (modüler notice) */
.py-hub-notice {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #475569;
}

.py-hub-notice--muted {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.py-hub-notice__head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.py-hub-notice__icon {
    font-size: 1.15rem;
    color: #64748b;
    flex-shrink: 0;
}

.py-hub-notice__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.py-hub-notice__body {
    margin: 0;
    font-weight: 500;
    color: #475569;
}

.py-hub-notice__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
    padding-top: 0.45rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f766e;
}

.py-hub-notice__hint .material-symbols-outlined {
    font-size: 1rem;
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.py-hub-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
}

.py-hub-block-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.py-hub-kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.py-hub-context {
    margin: -0.15rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
}

.py-hub-context--soft {
    font-weight: 500;
    color: #64748b;
}

.py-hub-card--instant .py-hub-student {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 48%, #fff 100%);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.08);
    min-width: 0;
    box-sizing: border-box;
}

.py-hub-student-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: #fff;
    color: var(--py-hub-accent, #0f766e);
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.py-hub-student-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.py-hub-student-kicker {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--py-hub-accent, #0f766e);
    line-height: 1.2;
}

.py-hub-student-name {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--py-hub-ink, #0f172a);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-student-meta {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0d9488;
}

.py-hub-card--instant .py-hub-operator {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 9px;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    background: #f8fafc;
}

.py-hub-operator-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--py-hub-accent-soft, #ecfdf5);
    color: var(--py-hub-accent, #0f766e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.py-hub-operator-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.py-hub-operator-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--py-hub-ink, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-operator-meta {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--py-hub-ink-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-pay-trust {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.1rem 0 0;
    padding: 0 0.05rem;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.45;
    color: #64748b;
}

.py-hub-pay-trust .material-symbols-outlined {
    font-size: 0.9rem;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 0.02rem;
}

.py-hub-pay-trust strong {
    font-weight: 600;
    color: #475569;
}

.py-hub-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

@media (min-width: 480px) {
    .py-hub-presets {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.py-hub-card--instant .py-hub-preset {
    position: relative;
    padding: 0.55rem 0.35rem;
    border-radius: 9px;
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    background: var(--py-hub-surface, #fff);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--py-hub-ink, #0f172a);
}

.py-hub-card--instant .py-hub-preset:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.py-hub-card--instant .py-hub-preset:not(:disabled):hover {
    border-color: var(--py-hub-accent, #0f766e);
    background: var(--py-hub-accent-soft, #ecfdf5);
    color: var(--py-hub-accent, #0f766e);
}

.py-hub-card--instant .py-hub-preset:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    border-color: var(--dk-sidebar-border, #e6e8ec);
    background: var(--py-hub-surface, #fff);
    color: var(--dk-statusbar-fg, #667085);
}

.py-hub-card--instant .py-hub-preset.is-active {
    border-color: var(--py-hub-accent, #0f766e);
    background: var(--py-hub-accent, #0f766e);
    color: #fff;
    opacity: 1;
}

.py-hub-card--instant .py-hub-preset.is-active:not(:disabled):hover {
    border-color: var(--py-hub-accent-hover, #0d9488);
    background: var(--py-hub-accent-hover, #0d9488);
    color: #fff;
}

.py-hub-card--instant .py-hub-preset.is-popular:not(.is-active) {
    border-color: var(--py-hub-accent-border, #99f6e4);
}

.py-hub-preset-tag {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.py-hub-presets-wrap {
    margin-top: 0.15rem;
}

.py-hub-amount-wrap {
    margin-top: 0.65rem;
}

.py-hub-amount-label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--py-hub-ink-muted, #475569);
}

.py-hub-card--instant .py-hub-amount {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    height: 2.75rem;
    border-radius: 9px;
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    background: var(--py-hub-surface, #fff);
    cursor: text;
    overflow: hidden;
    touch-action: manipulation;
}

.py-hub-card--instant .py-hub-amount.is-disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.py-hub-amount-suffix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.65rem;
    padding: 0 0.7rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 800;
    border-left: 1px solid #e2e8f0;
    user-select: none;
    pointer-events: none;
}

.py-hub-amount-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 0.65rem;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    user-select: text;
    -webkit-user-select: text;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.py-hub-amount-input:focus,
.py-hub-amount-input:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
}

.py-hub-amount-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.py-hub-amount-input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.py-hub-card--instant .py-hub-amount:focus-within {
    border-color: var(--py-hub-accent, #0f766e);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.py-hub-link-mock {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f766e;
    opacity: 0.65;
    cursor: default;
}

.py-hub-card--instant .py-hub-pay {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 9px;
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    background: var(--py-hub-accent-soft, #ecfdf5);
    text-align: left;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
    overflow: hidden;
}

.py-hub-card--instant .py-hub-pay--selected {
    border-color: var(--py-hub-accent, #0f766e);
    background: var(--py-hub-accent-soft, #ecfdf5);
}

.py-hub-pay--alt {
    justify-content: flex-start;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.8;
}

.py-hub-pay--alt .material-symbols-outlined {
    font-size: 1.25rem;
    color: #64748b;
}

.py-hub-pay-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    overflow: hidden;
}

.py-hub-pay-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.py-hub-pay-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.py-hub-pay-tag {
    flex-shrink: 0;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
}

.py-hub-pay-meta {
    display: block;
    font-size: 0.6875rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-pay-check {
    color: #0f766e;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.py-hub-pay-mp {
    flex-shrink: 0;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    max-width: 4.5rem;
    line-height: 1.1;
    text-align: center;
}

.py-hub-secure {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8125rem;
    color: #475569;
    cursor: not-allowed;
}

.py-hub-secure input {
    margin-top: 0.15rem;
    accent-color: #0f766e;
}

.py-hub-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: #0f766e;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    opacity: 1;
}

.py-hub-cta:hover:not(:disabled) {
    background: #0d6b64;
}

.py-hub-cta:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.py-hub-cta .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Bakiye işlemleri — ödeme katmanı arkasındaki içerik */
.py-page-stack {
    transition: opacity 0.2s ease;
}

.py-page-stack--dimmed {
    pointer-events: none;
    user-select: none;
    opacity: 0.42;
}

.pnl-page--pay-open {
    position: relative;
}

@media (max-width: 767.98px) {
    .pnl-page--pay-open .py-page-stack--dimmed {
        max-height: 100vh;
        overflow: hidden;
    }
}

/* Oturum sona erdi — veli kabuğu üzerinde modal */
.veli-session-ended-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.veli-session-ended-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
}

.veli-session-ended-overlay__card {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    padding: 1.5rem 1.35rem 1.35rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.veli-session-ended-overlay__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fffbeb;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veli-session-ended-overlay__icon .material-symbols-outlined {
    font-size: 28px;
}

.veli-session-ended-overlay__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.veli-session-ended-overlay__text {
    margin: 0 0 1.15rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.veli-session-ended-overlay__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 10px;
    background: var(--login-accent, #2563eb);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}

.veli-session-ended-overlay__action:hover {
    filter: brightness(1.05);
}

.py-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.py-pay-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.py-pay-overlay-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: min(92vh, 860px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.py-pay-overlay-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #475569;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.py-pay-overlay-close:hover {
    color: #0f172a;
    background: #fff;
}

.py-pay-overlay-close .material-symbols-outlined {
    font-size: 1.35rem;
}

/* Paynkolay — bakiye işlemleri sayfası içinde (dk-content) */
.py-pay-inline {
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.py-pay-inline--in-modal {
    max-width: none;
    margin: 0;
}

.py-pay-inline--in-modal .py-pay-inline-card {
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
}

.py-pay-inline-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.py-pay-inline-card {
    padding: 1.25rem 1.15rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.py-pay-inline-head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.py-pay-inline-icon {
    font-size: 1.75rem;
    color: #0f766e;
}

.py-pay-inline-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.py-pay-inline-sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}

.py-pay-inline-redirect-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--py-hub-accent-border, #99f6e4);
    background: var(--py-hub-accent-soft, #ecfdf5);
    color: #065f46;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.py-pay-inline-redirect-note .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #0f766e;
}

.py-pay-inline-redirect-note p {
    margin: 0;
}

.py-pay-inline-frame-wrap {
    position: relative;
    min-height: 560px;
    margin-bottom: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.py-pay-inline-frame {
    display: block;
    width: 100%;
    min-height: 560px;
    border: 0;
    background: #fff;
}

.py-pay-inline-frame-timeout {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
}

.py-pay-inline-frame-timeout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.py-pay-inline-retry {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    background: #fff;
    color: #334155;
    cursor: pointer;
}

.py-pay-inline-retry--primary {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

/* İyzico / PayTR: doğrudan link (Blazor/JS olmadan tam sayfa) */
a.py-pay-inline-external-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.py-pay-inline-retry:hover {
    filter: brightness(0.97);
}

.py-pay-inline-frame--dimmed {
    opacity: 0.35;
    pointer-events: none;
}

.py-pay-inline-frame-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.8125rem;
    color: #64748b;
    background: rgba(248, 250, 252, 0.92);
    pointer-events: none;
}

.py-pay-inline-form {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.py-pay-inline-cancel {
    display: block;
    width: 100%;
    padding: 0.55rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    cursor: pointer;
    text-align: center;
}

.py-pay-inline-cancel:hover {
    color: #0f172a;
}

/* Ödeme sonuç bildirimi — ortada özel kart (Radzen Dialog değil) */
.veli-pay-receipt-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
}

.veli-pay-receipt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.veli-pay-receipt-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    padding: 1.5rem 1.35rem 1.25rem;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.veli-pay-receipt-panel--success {
    border-color: #abefc6;
    background: linear-gradient(180deg, #f6fef9 0%, #ecfdf5 100%);
    color: #065f46;
}

.veli-pay-receipt-panel--fail {
    border-color: #fedf89;
    background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
    color: #b54708;
}

.veli-pay-receipt-icon {
    display: block;
    margin: 0 auto 0.65rem;
    font-size: 2.75rem;
    line-height: 1;
}

.veli-pay-receipt-panel--success .veli-pay-receipt-icon {
    color: #059669;
}

.veli-pay-receipt-panel--fail .veli-pay-receipt-icon {
    color: #d97706;
}

.veli-pay-receipt-title {
    margin: 0 0 0.55rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.veli-pay-receipt-message {
    margin: 0 0 1.15rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: inherit;
    opacity: 0.95;
}

.veli-pay-receipt-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.55rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.veli-pay-receipt-panel--success .veli-pay-receipt-ok {
    background: #059669;
    color: #fff;
}

.veli-pay-receipt-panel--success .veli-pay-receipt-ok:hover {
    background: #047857;
}

.veli-pay-receipt-panel--fail .veli-pay-receipt-ok {
    background: #d97706;
    color: #fff;
}

.veli-pay-receipt-panel--fail .veli-pay-receipt-ok:hover {
    background: #b45309;
}

.veli-pay-receipt-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    color: inherit;
    opacity: 0.65;
    cursor: pointer;
}

.veli-pay-receipt-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
}

.veli-pay-receipt-close .material-symbols-outlined {
    font-size: 1.25rem;
}

@media (max-width: 767.98px) {
    .py-pay-inline {
        max-width: none;
    }

    .py-pay-overlay {
        padding: 0;
        align-items: stretch;
    }

    .py-pay-overlay-panel {
        max-width: none;
        max-height: none;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .py-pay-inline--in-modal {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    .py-pay-inline--in-modal .py-pay-inline-card {
        flex: 1 1 auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .py-pay-overlay-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .py-pay-inline-frame-wrap,
    .py-pay-inline-frame {
        min-height: min(560px, calc(var(--veli-vvh, 100vh) - 14rem));
    }

    .py-pay-inline--in-modal .py-pay-inline-frame-wrap,
    .py-pay-inline--in-modal .py-pay-inline-frame {
        min-height: min(560px, calc(var(--veli-vvh, 100vh) - 8rem));
    }
}

/* Eski modal stilleri (kaldırıldı) — geriye dönük referans yok */
.py-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.py-pay-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.py-pay-overlay-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 1.5rem 1.35rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.py-pay-overlay-card--vpos {
    width: min(100%, 400px);
    max-height: min(calc(var(--veli-vvh, 100vh) - 1.5rem), 720px);
    padding: 1rem 1rem 0.85rem;
    display: flex;
    flex-direction: column;
}

.py-pay-overlay-head--compact {
    margin-bottom: 0.65rem;
    align-items: center;
}

.py-pay-overlay-head-text {
    flex: 1;
    min-width: 0;
}

.py-pay-overlay-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: -0.25rem -0.25rem 0 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.py-pay-overlay-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.py-pay-overlay-close .material-symbols-outlined {
    font-size: 1.25rem;
}

.py-pay-overlay-frame-wrap {
    position: relative;
    flex: 1;
    min-height: 520px;
    margin-bottom: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.py-pay-overlay-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    background: #fff;
}

.py-pay-overlay-frame-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.8125rem;
    color: #64748b;
    background: rgba(248, 250, 252, 0.92);
    pointer-events: none;
}

.py-pay-overlay-card--vpos .py-pay-overlay-form {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.py-pay-overlay-card--vpos .py-pay-overlay-cancel {
    flex-shrink: 0;
    margin-bottom: 0.15rem;
}

@media (max-width: 767.98px) {
    .py-pay-overlay-card--vpos {
        width: min(100%, calc(100vw - 1.5rem));
        max-height: calc(var(--veli-vvh, 100vh) - 1rem);
    }

    .py-pay-overlay-frame-wrap,
    .py-pay-overlay-frame {
        min-height: min(560px, calc(var(--veli-vvh, 100vh) - 11rem));
    }
}

.py-pay-overlay-head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.py-pay-overlay-icon {
    font-size: 1.75rem;
    color: #0f766e;
}

.py-pay-overlay-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.py-pay-overlay-sub,
.py-pay-overlay-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}

.py-pay-overlay-hint {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0f766e;
}

.py-pay-overlay-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    color: #64748b;
    font-size: 0.875rem;
}

.py-pay-overlay-form {
    margin-bottom: 0.75rem;
}

.py-pay-overlay-cancel {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    cursor: pointer;
}

.py-pay-overlay-cancel:hover {
    color: #0f172a;
}

.py-hub-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}

.py-hub-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.py-hub-trust .material-symbols-outlined {
    font-size: 0.95rem;
}

.py-hub-rule-card {
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.py-hub-rule-card + .py-hub-rule-card {
    margin-top: 0.15rem;
}

.py-hub-rule-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.py-hub-rule-icon {
    font-size: 1.2rem;
    color: #0f766e;
    flex-shrink: 0;
}

.py-hub-rule-title {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-rule-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.py-hub-rule-on {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f766e;
}

.py-hub-rule-desc {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.py-hub-rule-desc strong {
    color: #334155;
    font-weight: 700;
}

.py-hub-toggle {
    width: 2.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    flex-shrink: 0;
    opacity: 0.7;
}

.py-hub-toggle span {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
}

.py-hub-toggle.is-on {
    background: #0f766e;
}

.py-hub-toggle.is-on span {
    left: calc(100% - 1.125rem);
}

.py-hub-rule-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid #eef2f7;
}

.py-hub-rule-meta {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.py-hub-cap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    color: #64748b;
}

.py-hub-cap strong {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.py-hub-cap-edit {
    font-size: 1rem;
    color: #94a3b8;
}

.py-hub-transfer-panel {
    margin-top: 0.35rem;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.py-hub-transfer-row {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

.py-hub-transfer-person {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.py-hub-transfer-copy {
    min-width: 0;
    flex: 1;
}

.py-hub-transfer-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e8f0ff;
    color: var(--dk-accent, #1353d3);
    font-size: 0.6875rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.py-hub-transfer-avatar--alt {
    background: #fce7f3;
    color: #be185d;
}

.py-hub-transfer-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.py-hub-transfer-role {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-hub-transfer-arrow {
    color: #94a3b8;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.py-hub-transfer-action {
    display: flex;
    gap: 0.45rem;
    min-width: 0;
}

.py-hub-transfer-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.6rem;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    font-size: 0.9375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: #f8fafc;
    cursor: not-allowed;
}

.py-hub-transfer-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9px;
    background: #0f766e;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.55;
    white-space: nowrap;
}

.py-hub-transfer-hint {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #94a3b8;
    text-align: center;
}

.py-hub-transfer-hint strong {
    color: #64748b;
    font-weight: 700;
}

.py-hub-transfer-empty {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

.py-overview-card--hero {
    background: linear-gradient(145deg, #0f2744 0%, #1353d3 52%, #1e6bff 100%);
    border: none;
    color: #f8fafc;
    box-shadow: 0 10px 28px rgba(19, 83, 211, 0.22);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.py-overview-card--hero-picker {
    min-height: 0;
}

/* Tek işletme: üst şerit (öğrenci) + alt panel (bakiye ortada) */
.py-overview-card--hero-solo .py-overview-hero-main {
    flex: 1 1 auto;
    min-height: 100%;
    padding: 0;
    gap: 0;
}

.py-overview-card--hero-solo .py-overview-hero-top {
    flex-shrink: 0;
    padding: 1rem 1.05rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.py-overview-card--hero-solo .py-overview-hero-balance {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 6.5rem;
    padding: 1rem 1.05rem 1.1rem;
    background: rgba(6, 16, 36, 0.22);
}

.py-overview-card--hero-solo .py-overview-label {
    margin-bottom: 0.35rem;
    opacity: 0.82;
}

.py-overview-card--hero-solo .py-overview-balance {
    font-size: clamp(1.65rem, 4.5vw, 2.15rem);
    line-height: 1.05;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.py-overview-hero-main {
    padding: 1rem 1.05rem 0.85rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.py-overview-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.py-overview-hero-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
}

.py-overview-hero-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.py-overview-kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.py-overview-hero-name {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.py-overview-pill {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e8f0ff;
    color: var(--dk-accent, #1353d3);
}

.py-overview-pill--on-hero {
    background: rgba(255, 255, 255, 0.16);
    color: #ecfdf5;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.py-overview-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 0.2rem;
}

.py-overview-hero-balance {
    padding-top: 0.15rem;
    text-align: center;
}

.py-overview-hero-balance .py-overview-label {
    display: block;
}

.py-overview-balance-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.py-overview-balance {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.py-overview-bonus {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
}

.py-overview-hero-total-hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    opacity: 0.88;
}

.py-overview-hero-total-hint strong {
    font-weight: 700;
}

.py-wallet-picker {
    margin-top: auto;
    padding: 0.65rem 0.75rem 0.7rem;
    background: rgba(8, 20, 40, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.py-wallet-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0 0.1rem;
}

.py-wallet-picker-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.82);
}

.py-wallet-picker-count {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.65);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.py-wallet-picker-scroll-wrap {
    position: relative;
    margin: 0 -0.15rem;
}

.py-wallet-picker-scroll {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.15rem;
    padding: 0.15rem 0.15rem 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.py-wallet-picker-scroll::-webkit-scrollbar {
    height: 4px;
}

.py-wallet-picker-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.py-wallet-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(11.5rem, 78vw);
    max-width: 14rem;
    padding: 0.45rem 0.55rem 0.45rem 0.45rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #f8fafc;
    cursor: pointer;
    text-align: left;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.py-wallet-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.py-wallet-chip.is-active {
    background: #fff;
    color: #0f172a;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    transform: none;
}

.py-wallet-chip-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.py-wallet-chip.is-active .py-wallet-chip-avatar {
    background: var(--dk-accent-soft, #e8f0ff);
    color: var(--dk-accent, #1353d3);
}

.py-wallet-chip-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.py-wallet-chip-name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-wallet-chip-operator {
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.78;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py-wallet-chip-meta {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgba(248, 250, 252, 0.78);
}

.py-wallet-chip.is-active .py-wallet-chip-meta {
    color: var(--dk-accent, #1353d3);
}

.py-wallet-chip-check {
    flex-shrink: 0;
    font-size: 1.125rem;
    color: var(--dk-accent, #1353d3);
    opacity: 0.95;
}

/* Para yükle hub — işletme seçici (overview .py-wallet-picker / .py-wallet-chip üzerine) */
.py-hub-card--instant .py-wallet-picker.py-wallet-picker--hub {
    margin-top: 0.15rem;
    padding: 0;
    background: transparent;
    border-top: none;
    backdrop-filter: none;
}

.py-hub-card--instant .py-wallet-picker--hub .py-wallet-picker-scroll-wrap {
    margin: 0;
    background: transparent;
}

.py-hub-card--instant .py-wallet-picker--hub .py-wallet-picker-scroll {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 0.55rem;
    padding: 0.15rem 0 0.25rem;
    background: transparent;
    scrollbar-color: rgba(15, 118, 110, 0.25) transparent;
}

.py-hub-card--instant .py-wallet-picker--hub .py-wallet-picker-scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.22);
}

.py-hub-card--instant .py-wallet-chip.py-wallet-chip--hub {
    min-width: min(10.5rem, 42vw);
    max-width: 13rem;
    border: 1px solid var(--py-hub-accent-border);
    background: var(--py-hub-surface);
    color: var(--py-hub-ink);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.06);
}

.py-hub-card--instant .py-wallet-chip.py-wallet-chip--hub:hover {
    border-color: var(--py-hub-accent);
    background: var(--py-hub-accent-soft);
    transform: translateY(-1px);
}

.py-hub-card--instant .py-wallet-chip.py-wallet-chip--hub.is-active {
    border-color: var(--py-hub-accent);
    background: var(--py-hub-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
    transform: none;
}

.py-hub-card--instant .py-wallet-chip--hub .py-wallet-chip-avatar {
    background: var(--py-hub-accent-soft);
    color: var(--py-hub-accent);
}

.py-hub-card--instant .py-wallet-chip--hub.is-active .py-wallet-chip-avatar {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.py-hub-card--instant .py-wallet-chip--hub .py-wallet-chip-name {
    color: inherit;
}

.py-hub-card--instant .py-wallet-chip--hub .py-wallet-chip-meta {
    color: var(--py-hub-ink-muted);
    font-weight: 600;
}

.py-hub-card--instant .py-wallet-chip--hub.is-active .py-wallet-chip-meta,
.py-hub-card--instant .py-wallet-chip--hub.is-active .py-wallet-chip-name {
    color: #fff;
}

.py-hub-card--instant .py-wallet-chip--hub.is-active .py-wallet-chip-check {
    color: #fff;
}

.py-overview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.py-overview-title {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.py-overview-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.py-overview-icon-btn:hover:not(:disabled) {
    color: var(--dk-accent, #1353d3);
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 35%, #e2e8f0);
    background: var(--dk-accent-soft, #e8f0ff);
}

.py-overview-icon-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.py-overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.py-overview-row-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
}

.py-overview-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #10b981;
}

.py-overview-row-value {
    font-weight: 700;
    color: #0f172a;
}

.py-overview-hint {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.py-overview-inset {
    margin-top: auto;
    padding: 0.65rem 0.75rem;
    border-radius: 9px;
    background: #f1f5f9;
}

.py-overview-inset-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.py-overview-inset-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.py-overview-inset-amount {
    font-size: 1.15rem;
    color: #0f172a;
}

.py-overview-inset-date {
    font-size: 0.8125rem;
    color: #64748b;
    white-space: nowrap;
}

.py-overview-inset-empty {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.py-overview-limit-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.py-overview-limit-ratio {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: #0f172a;
}

.py-overview-limit-ratio strong {
    font-weight: 800;
}

.py-overview-limit-sep {
    margin: 0 0.2rem;
    color: #94a3b8;
    font-weight: 500;
}

.py-overview-ring {
    --py-ring-pct: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: conic-gradient(
        var(--dk-accent, #1353d3) calc(var(--py-ring-pct) * 1%),
        #e2e8f0 0
    );
    position: relative;
}

.py-overview-ring::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: #fff;
}

.py-overview-ring-label {
    position: relative;
    z-index: 1;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #334155;
}

.py-overview-footnote {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
}

.py-overview-footnote .rzi {
    font-size: 1rem;
}

.py-overview-limit-open {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.py-overview-text-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dk-accent, #1353d3);
    text-decoration: none;
}

.py-overview-text-link:hover {
    text-decoration: underline;
}

.veli-form-card {
    max-width: 28rem;
}

.veli-form-card--wide {
    max-width: none;
}

.veli-coming-soon {
    text-align: center;
    padding: 1.25rem 0 0.5rem;
}

.veli-coming-soon-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--dk-accent, #1353d3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.veli-coming-soon-icon .material-symbols-outlined {
    font-size: 28px;
}

@media (min-width: 768px) {
    .veli-sales-cards {
        display: none;
    }

    .veli-table-wrap--desktop {
        display: block;
    }
}

.veli-link {
    color: var(--dk-accent, #1353d3);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.veli-link:hover {
    text-decoration: underline;
}

/* Anasayfa */
.veli-home-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .veli-home-grid {
        grid-template-columns: minmax(0, 1fr) min(320px, 30%);
    }
}

.veli-home-main,
.veli-home-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.veli-home-panel.rz-card {
    padding: 1.15rem 1.25rem;
}

.veli-home .veli-home-panel.rz-card {
    padding: 1.2rem 1.35rem;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.veli-home .veli-home-panel--feed .veli-home-panel-head {
    margin-bottom: 0.65rem;
    padding-bottom: 0.85rem;
}

.veli-home .veli-home-panel--feed .veli-sale-card--compact {
    padding: 0.65rem 0;
}

.veli-home .veli-home-panel--feed .veli-sale-card--compact:hover {
    background: transparent;
}

.veli-home .veli-home-panel--feed .veli-sale-card-compact-icon {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 999px;
    background: #f4f6f8;
    border-color: transparent;
    color: #94a3b8;
    font-size: 1rem;
}

.veli-home-charts {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

@media (min-width: 900px) {
    .veli-home-charts {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

.veli-home-chart-panel.rz-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.veli-home-week-chart {
    margin: 0;
    padding: 0.25rem 0 0;
}

.veli-home-week-chart-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 168px;
}

.veli-home-week-chart-grid {
    stroke: #eef2f6;
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.veli-home-week-chart-axis {
    stroke: #e2e8f0;
    stroke-width: 1.25;
}

.veli-home-week-chart-area {
    pointer-events: none;
}

.veli-home-week-chart-line {
    stroke: #1353d3;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.55;
    pointer-events: none;
}

.veli-home-week-chart-bar rect {
    transition: opacity 0.15s ease;
}

.veli-home-week-chart-bar:hover rect {
    opacity: 0.88;
}

.veli-home-week-chart-bar--today rect {
    filter: drop-shadow(0 4px 10px rgba(19, 83, 211, 0.28));
}

.veli-home-week-chart-value {
    fill: #64748b;
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    font-variant-numeric: tabular-nums;
}

.veli-home-week-chart-value--today {
    fill: #1353d3;
}

.veli-home-week-chart-day {
    fill: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
}

.veli-home-week-chart-day--today {
    fill: #0f172a;
    font-weight: 800;
}

.veli-home-product-chart {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 0.2rem;
}

.veli-home-product-chart-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.veli-home-product-chart-rank {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e8ecf1;
    margin-top: 0.1rem;
}

.veli-home-product-chart-rank--lead {
    color: #fff;
    background: linear-gradient(135deg, #5b8def 0%, var(--dk-accent, #1353d3) 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(19, 83, 211, 0.25);
}

.veli-home-product-chart-body {
    flex: 1 1 auto;
    min-width: 0;
}

.veli-home-product-chart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.veli-home-product-chart-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.veli-home-product-chart-amount {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.veli-home-product-chart-track {
    height: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}

.veli-home-product-chart-fill {
    height: 100%;
    border-radius: 999px;
    min-width: 6px;
    transition: width 0.3s ease;
}

.veli-home-product-chart-fill--1 {
    background: linear-gradient(90deg, #5b8def 0%, var(--dk-accent, #1353d3) 100%);
}

.veli-home-product-chart-fill--2 {
    background: linear-gradient(90deg, #2dd4bf 0%, #0f766e 100%);
}

.veli-home-product-chart-fill--3 {
    background: linear-gradient(90deg, #94a3b8 0%, #64748b 100%);
}

.veli-home-product-chart-meta {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .veli-home {
        width: 100%;
        max-width: 100%;
    }

    .veli-home {
        padding-bottom: 0.5rem;
    }

    .veli-home-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 0.6rem;
    }

    /* Mobilde blok sırası: hızlı → cüzdan → son harcamalar → grafikler */
    .veli-home-main,
    .veli-home-aside {
        display: contents;
    }

    .veli-home-panel--quick,
    .veli-home-panel--wallets,
    .veli-home-panel--feed,
    .veli-home-charts {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .veli-home-panel--quick {
        order: 1;
    }

    .veli-home-panel--wallets {
        order: 2;
    }

    .veli-home-panel--feed {
        order: 3;
    }

    .veli-home-charts {
        order: 4;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .veli-home-panel--quick .veli-home-quick {
        width: 100%;
    }

    .veli-home .veli-home-charts {
        gap: 0.6rem;
    }

    .veli-home .veli-home-chart-panel.veli-home-panel.rz-card {
        padding: 0.75rem 0.85rem !important;
        border-radius: 12px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-home-chart-panel .veli-home-panel-head--compact {
        margin-bottom: 0.35rem;
        padding-bottom: 0.45rem;
    }

    .veli-home-chart-panel .veli-home-panel-sub {
        display: none;
    }

    .veli-home-charts > .veli-home-chart-panel:first-child .veli-home-panel-sub {
        display: block;
        margin: 0.1rem 0 0;
        font-size: 0.6875rem;
        line-height: 1.3;
    }

    .veli-home-chart-panel .veli-home-panel-title {
        font-size: 0.8125rem !important;
    }

    .veli-home-week-chart {
        padding-top: 0;
    }

    .veli-home-week-chart-svg {
        min-height: 118px;
        max-height: 132px;
    }

    .veli-home-week-chart-area,
    .veli-home-week-chart-line {
        opacity: 0;
    }

    .veli-home-week-chart-value:not(.veli-home-week-chart-value--today) {
        opacity: 0;
        pointer-events: none;
    }

    .veli-home-week-chart-bar--today rect {
        filter: none;
    }

    .veli-home-week-chart-day {
        font-size: 9px;
    }

    .veli-home-product-chart {
        gap: 0.5rem;
        padding-top: 0;
    }

    .veli-home-product-chart-row:nth-child(n + 4) {
        display: none;
    }

    .veli-home-product-chart-row {
        gap: 0.5rem;
    }

    .veli-home-product-chart-rank {
        width: 1.3rem;
        height: 1.3rem;
        font-size: 0.5625rem;
        margin-top: 0.05rem;
    }

    .veli-home-product-chart-rank--lead {
        box-shadow: none;
    }

    .veli-home-product-chart-head {
        margin-bottom: 0.2rem;
        align-items: center;
    }

    .veli-home-product-chart-name {
        font-size: 0.6875rem;
        font-weight: 600;
    }

    .veli-home-product-chart-amount {
        font-size: 0.6875rem;
        font-weight: 800;
    }

    .veli-home-product-chart-track {
        height: 5px;
    }

    .veli-home-product-chart-meta {
        font-size: 0.5625rem;
        margin-top: 0.12rem;
    }

    .veli-home-aside {
        gap: 0.6rem;
    }

    .veli-home-aside .veli-home-panel.rz-card,
    .veli-home-aside .veli-home-panel--quick.veli-home-panel.rz-card {
        padding: 0.75rem 0.85rem !important;
        border-radius: 12px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-home-aside .veli-home-panel-head--compact {
        margin-bottom: 0.45rem;
        padding-bottom: 0.4rem;
    }

    .veli-home-aside .veli-home-panel-icon {
        display: none;
    }

    .veli-home-aside .veli-home-panel-title {
        font-size: 0.8125rem !important;
    }

    .veli-home-panel--wallets .veli-home-wallets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .veli-home-panel--wallets .veli-home-wallet-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0.55rem 0.6rem 0.6rem;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    }

    .veli-home-panel--wallets .veli-home-wallet-card::after {
        width: 3.5rem;
        height: 3.5rem;
        top: -1.25rem;
        right: -1rem;
    }

    .veli-home-panel--wallets .veli-home-wallet-card-top {
        margin-bottom: 0.35rem;
    }

    .veli-home-panel--wallets .veli-home-wallet-card-top .material-symbols-outlined {
        display: none;
    }

    .veli-home-panel--wallets .veli-home-wallet-card-mark {
        font-size: 0.5625rem;
        padding: 0.1rem 0.32rem;
    }

    .veli-home-panel--wallets .veli-home-wallet-card-label {
        font-size: 0.5625rem;
        letter-spacing: 0.02em;
        text-transform: none;
        margin-bottom: 0.08rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .veli-home-panel--wallets .veli-home-wallet-card-balance {
        font-size: 0.875rem;
        margin-top: auto;
    }

    .veli-home-panel--wallets .veli-home-wallets-total {
        grid-column: 1 / -1;
        margin: 0.15rem 0 0;
        padding-top: 0.45rem;
        font-size: 0.6875rem;
    }

    .veli-home-panel--wallets .veli-home-wallets-total strong {
        font-size: 0.75rem;
    }

    .veli-home-panel--wallets .veli-home-wallets:has(.veli-home-wallet-card:only-child) {
        grid-template-columns: 1fr;
    }

    .veli-home-panel--wallets .veli-home-wallets:has(.veli-home-wallet-card:only-child) .veli-home-wallet-card {
        flex-direction: row;
        align-items: center;
        gap: 0.55rem;
        padding: 0.55rem 0.65rem;
    }

    .veli-home-panel--wallets .veli-home-wallets:has(.veli-home-wallet-card:only-child) .veli-home-wallet-card-top {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .veli-home-panel--wallets .veli-home-wallets:has(.veli-home-wallet-card:only-child) .veli-home-wallet-card-label {
        flex: 1 1 auto;
        min-width: 0;
        -webkit-line-clamp: 1;
    }

    .veli-home-panel--wallets .veli-home-wallets:has(.veli-home-wallet-card:only-child) .veli-home-wallet-card-balance {
        flex-shrink: 0;
        font-size: 0.9375rem;
    }

    .veli-home-panel--quick.veli-home-panel.rz-card {
        padding: 0.65rem 0.7rem !important;
        border-radius: 12px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-home-panel--quick .veli-home-panel-head--compact {
        margin-bottom: 0.35rem;
        padding-bottom: 0;
        border-bottom: none;
    }

    .veli-home-panel--quick .veli-home-panel-icon {
        display: none;
    }

    .veli-home-panel--quick .veli-home-panel-title {
        font-size: 0.75rem !important;
    }

    .veli-home-panel--quick .veli-home-quick {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        width: 100%;
    }

    .veli-home-panel--quick .veli-home-quick-btn,
    .veli-home-panel--quick .veli-home-quick-btn:visited {
        width: 100%;
        max-width: none;
        min-height: 2.5rem;
        padding: 0.5rem 0.55rem;
        gap: 0.4rem;
        border-radius: 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .veli-home-panel--quick .veli-home-quick-btn--primary {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        min-height: 2.65rem;
    }

    .veli-home-panel--quick .veli-home-quick-btn:not(.veli-home-quick-btn--primary) {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.45rem 0.3rem;
        min-height: 3.65rem;
    }

    .veli-home-panel--quick .veli-home-quick-btn-desc {
        display: none;
    }

    .veli-home-panel--quick .veli-home-quick-btn-arrow {
        display: none;
    }

    .veli-home-panel--quick .veli-home-quick-btn--primary .veli-home-quick-btn-arrow {
        display: inline-flex;
        margin-left: auto;
        font-size: 1.05rem;
    }

    .veli-home-panel--quick .veli-home-quick-btn:not(.veli-home-quick-btn--primary) .veli-home-quick-btn-copy {
        align-items: center;
        width: 100%;
    }

    .veli-home-panel--quick .veli-home-quick-btn-title {
        font-size: 0.625rem;
        line-height: 1.25;
    }

    .veli-home-panel--quick .veli-home-quick-btn--primary .veli-home-quick-btn-title {
        font-size: 0.75rem;
        font-weight: 700;
    }

    .veli-home-panel--quick .veli-home-quick-btn-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.05rem;
        flex-shrink: 0;
    }

    .veli-home-panel--quick .veli-home-quick-btn:not(.veli-home-quick-btn--primary) .veli-home-quick-btn-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.95rem;
    }

    .veli-home-panel--quick .veli-home-quick-btn:active {
        transform: scale(0.98);
    }

    .veli-home .veli-home-panel--feed.veli-home-panel.rz-card {
        padding: 0.75rem 0.85rem !important;
        border-radius: 12px;
        box-shadow: none;
        border-color: #eef2f6;
    }

    .veli-home .veli-home-panel--feed .veli-home-panel-action {
        padding: 0.3rem 0.65rem;
        font-size: 0.75rem;
    }

    .veli-home .veli-home-panel--feed .veli-sale-card--compact {
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .veli-home .veli-home-panel--feed .veli-sale-card-compact-body {
        min-width: 0;
    }

    .veli-home .veli-home-panel--feed .veli-sale-card--compact .veli-sale-card-product {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.75rem;
    }

    .veli-home .veli-home-panel--feed .veli-sale-card-meta-line {
        font-size: 0.625rem;
    }

    .veli-home .veli-home-panel--feed .veli-sale-card--compact .veli-sale-card-amount {
        font-size: 0.75rem;
        padding-top: 0.1rem;
    }
}

.veli-home-panel-head-lead {
    min-width: 0;
}

.veli-home-panel-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: border-color 0.12s ease, color 0.12s ease, background-color 0.12s ease;
}

.veli-home-panel-action:hover {
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 35%, #e2e8f0);
    color: var(--dk-accent, #1353d3);
    background: #fafbfc;
    text-decoration: none;
}

.veli-home-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dk-sidebar-border, #e2e8f0);
}

.veli-home-panel-head--compact {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
}

.veli-home-panel-head-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.veli-home-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--dk-content-bg, #f7f8fa);
    color: var(--dk-accent, #1353d3);
    flex-shrink: 0;
}

.veli-home-panel-icon .rzi {
    font-size: 20px;
}

.veli-home-panel-title {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
}

.veli-home-panel-sub {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--dk-btn-muted, #64748b);
    line-height: 1.35;
}

.veli-home-panel--quick .veli-home-panel-head {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
}

.veli-home-quick {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.veli-home-quick-btn,
.veli-home-quick-btn:visited {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.veli-home-quick-btn:hover {
    border-color: #d5dbe4;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
    text-decoration: none;
}

.veli-home-quick-btn-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #fff;
    border: 1px solid #eef2f6;
    color: #64748b;
}

.veli-home-quick-btn-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.veli-home-quick-btn-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.veli-home-quick-btn-desc {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.3;
}

.veli-home-quick-btn-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #cbd5e1;
    transition: color 0.12s ease, transform 0.12s ease;
}

.veli-home-quick-btn:hover .veli-home-quick-btn-arrow {
    color: var(--dk-accent, #1353d3);
    transform: translateX(2px);
}

.veli-home-quick-btn--primary {
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 22%, #e8ecf1);
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
}

.veli-home-quick-btn--primary .veli-home-quick-btn-icon {
    color: #fff;
    background: linear-gradient(135deg, #5b8def 0%, var(--dk-accent, #1353d3) 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(19, 83, 211, 0.22);
}

.veli-home-quick-btn--primary:hover {
    border-color: color-mix(in srgb, var(--dk-accent, #1353d3) 35%, #d5dbe4);
}

.veli-sales-table--cards-only .veli-table-wrap--desktop {
    display: none !important;
}

.veli-sales-table--cards-only .veli-sales-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.veli-sales-table--compact .veli-sales-cards {
    gap: 0;
}

.veli-sale-card--compact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.veli-sale-card--compact + .veli-sale-card--compact {
    border-top: 1px solid #f1f5f9;
}

.veli-sale-card-compact-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--dk-content-bg, #f7f8fa);
    border: 1px solid #eef2f7;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.veli-sale-card-compact-body {
    flex: 1 1 auto;
    min-width: 0;
}

.veli-sale-card--compact .veli-sale-card-product {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veli-sale-card-meta-line {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.veli-sale-card--compact .veli-sale-card-amount {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a;
}

.veli-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.veli-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.88rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.veli-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(19, 83, 211, 0.15);
    color: var(--dk-accent, #1353d3);
}

.veli-quick-card .rzi {
    font-size: 28px;
    color: var(--dk-accent, #1353d3);
}

.veli-panel-desc {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.92rem;
}

.veli-panel-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.veli-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

.veli-btn-primary {
    background: var(--dk-accent, #1353d3);
    color: #fff;
}

.veli-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.veli-input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.veli-form-field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.veli-form-field--row {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.veli-field-hint {
    font-size: 0.8rem;
    color: #64748b;
}

.veli-form-actions {
    margin-top: 0.5rem;
}

@media (max-width: 720px) {
    .veli-form-actions--sticky {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin: 0 -0.85rem -0.5rem;
        padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0));
        background: linear-gradient(180deg, transparent 0%, #fff 28%);
        border-top: 1px solid #f1f5f9;
    }
}

.veli-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 20rem;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.veli-category-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    cursor: pointer;
}

.veli-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.veli-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Kısa bildirimler (InteractiveServer sayfaları) */
.veli-toast-stack {
    position: fixed;
    top: calc(60px + 0.75rem);
    right: 1rem;
    z-index: 10050;
    max-width: min(22rem, calc(100vw - 2rem));
    pointer-events: none;
}

.veli-toast {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    pointer-events: auto;
    animation: veli-toast-in 0.22s ease-out;
}

.veli-toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.veli-toast--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.veli-toast--success .veli-toast-icon {
    color: #059669;
}

.veli-toast--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.veli-toast--error .veli-toast-icon {
    color: #dc2626;
}

@keyframes veli-toast-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.veli-alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.veli-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.veli-stat-grid--compact {
    max-width: 32rem;
}

.veli-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.veli-stat-label {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.veli-stat-value {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.veli-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.veli-tag-ok {
    background: #ecfdf5;
    color: #047857;
}

.veli-tag-warn {
    background: #fff7ed;
    color: #c2410c;
}

/* İptal ve iade fiş ibaresi */
.veli-tag-refund {
    background: #fee2e2;
    color: #b91c1c;
}

/* Mağaza fişi ibaresi */
.veli-tag-store {
    background: #f1f5f9;
    color: #334155;
}

.veli-tag-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.veli-sale-variant {
    display: block;
    margin-top: 0.1rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.veli-page-header-sub {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

/* Mobil öncelik: dokunma alanları ve sıkı düzen */
.veli-btn,
.veli-student-select,
.veli-category-row {
    min-height: 44px;
}

.veli-category-row {
    padding: 0.5rem 0.25rem;
    border-radius: 8px;
}

.veli-category-row:active {
    background: #f1f5f9;
}

.veli-student-picker {
    width: 100%;
    min-width: 0;
}

.veli-student-select {
    width: 100%;
    font-size: 1rem;
}

.veli-form-actions .veli-btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
}

.veli-category-list {
    max-height: min(55vh, 24rem);
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
    .veli-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dk-content .pnl-page {
        padding: 0;
    }

    .veli-quick-card {
        padding: 0.85rem 0.65rem;
        font-size: 0.82rem;
    }

    .veli-quick-card .rzi {
        font-size: 26px;
    }
}

@media (max-width: 720px) {
    form.report-toolbar .report-toolbar-filters {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    form.report-toolbar .veli-toolbar-field,
    form.report-toolbar .veli-toolbar-input {
        width: 100%;
        min-width: 0;
    }

    form.report-toolbar .rz-button {
        width: 100%;
        justify-content: center;
    }

    .dk-list-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .dk-header-center {
        display: none;
    }

    .dk-header > .app-titlebar-content {
        width: 100%;
    }

    .dk-header-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dk-header-right {
        margin-left: auto;
        flex-shrink: 0;
    }

    .dk-badge-panel {
        display: none;
    }

    .dk-logo-brand {
        max-height: 28px;
        width: auto;
    }

    .dk-statusbar {
        display: none;
    }

    .veli-stat-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .veli-table-wrap {
        margin: 0 -0.15rem;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .veli-table th,
    .veli-table td {
        padding: 0.65rem 0.5rem;
        font-size: 0.8125rem;
    }

    .veli-bar-chart {
        height: 120px;
    }
}

@media (max-width: 380px) {
    .veli-quick-actions {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

/* Harcama geçmişi (prototip HistoryView) */
.veli-history-page {
    min-width: 0;
}

.veli-history-page .report-toolbar:not(:has(+ .dk-list-filters)) {
    margin-bottom: 0.75rem;
}

.veli-history-page .report-toolbar:has(+ .dk-list-filters) {
    margin-bottom: 0;
}

.veli-history-page .report-toolbar + .dk-list-filters {
    margin-bottom: 0.75rem;
}

.veli-history-custom-range {
    gap: 0.5rem 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.65rem;
}

.veli-history-custom-range .veli-history-date-field {
    min-width: 9.5rem;
    max-width: 11rem;
}

.veli-history-page .veli-history-search-field {
    min-width: 12.5rem;
    max-width: 20rem;
    flex: 0 1 16rem;
}

@media (max-width: 767.98px) {
    .veli-history-page .report-toolbar {
        margin-bottom: 0.65rem;
    }

    .veli-history-page .report-toolbar-filters {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.45rem 0.5rem;
    }

    .veli-history-page .veli-history-search-field {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        width: auto;
    }

    .veli-history-page .report-toolbar-filters > .rz-button.rz-light {
        flex: 0 0 auto;
        align-self: center;
        margin: 0;
    }

    .veli-history-page .report-toolbar-period-seg {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .veli-history-page .report-toolbar-period-seg::-webkit-scrollbar {
        display: none;
    }

    .veli-history-page .report-toolbar-period-seg .report-toolbar-period.rz-button {
        flex: 0 0 auto;
        padding: 0 0.65rem;
        font-size: 0.75rem;
    }

    .veli-history-page .report-toolbar + .dk-list-filters.veli-history-custom-range {
        flex-direction: column;
        align-items: stretch;
        padding: 0.55rem 0.75rem 0.65rem;
    }

    .veli-history-page .veli-history-custom-range .veli-history-date-field {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .veli-history-page .veli-history-layout {
        gap: 0.65rem;
    }

    .veli-history-page .veli-history-aside--desktop {
        display: none;
    }

    .veli-history-page .veli-history-table-card {
        border-radius: 10px;
        box-shadow: none;
    }

    .veli-history-page .veli-history-table-head {
        padding: 0.55rem 0.75rem;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .veli-history-page .veli-history-table-head-range {
        font-size: 0.6875rem;
        line-height: 1.35;
    }

    .veli-history-page .veli-receipt-list-btn {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
        align-items: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .veli-history-page .veli-receipt-list-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 8px;
    }

    .veli-history-page .veli-receipt-list-icon .rzi {
        font-size: 18px;
    }

    .veli-history-page .veli-receipt-list-no,
    .veli-history-page .veli-receipt-list-amount {
        font-size: 0.8125rem;
    }

    .veli-history-page .veli-receipt-list-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.35rem;
        row-gap: 0.1rem;
    }

    .veli-history-page .veli-receipt-list-dot {
        display: none;
    }

    .veli-history-page .veli-receipt-list-products {
        font-size: 0.6875rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .veli-history-page .veli-receipt-list-chevron .rzi {
        font-size: 20px;
    }

    .veli-history-page .veli-receipt-list-detail-mobile {
        list-style: none;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--dk-sidebar-border, #e2e8f0);
        background: color-mix(in srgb, var(--dk-accent-soft, #dbeafe) 35%, #fff);
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-accent {
        display: none;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-body {
        padding: 0.65rem 0.75rem 0.75rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-head {
        margin-bottom: 0.55rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-no {
        font-size: 0.9375rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-icon {
        width: 2rem;
        height: 2rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-facts {
        margin-bottom: 0.55rem;
        padding: 0.5rem 0.6rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-facts > div {
        flex-direction: column;
        align-items: stretch;
        gap: 0.08rem;
        padding: 0.3rem 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-facts > div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-facts dd {
        text-align: left;
        font-size: 0.8125rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-facts-dd--truncate {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-divider {
        margin: 0.5rem 0 0.65rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-lines {
        gap: 0.5rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-lines li {
        font-size: 0.75rem;
        gap: 0.45rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-total {
        margin-top: 0.55rem;
        padding: 0.5rem 0.6rem;
        font-size: 0.8125rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-total strong {
        font-size: 0.9375rem;
    }

    .veli-history-page .veli-history-table-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        padding: 0.55rem 0.75rem;
        font-size: 0.6875rem;
    }

    .veli-history-page .veli-history-table-summary {
        text-align: center;
    }

    .veli-history-page .veli-history-pager {
        justify-content: center;
        width: 100%;
    }

    .veli-history-page .veli-history-empty {
        padding: 1.25rem 0.75rem;
    }

    .veli-history-page {
        padding-bottom: 0.5rem;
    }

    .veli-history-page .veli-receipt-list-detail-mobile .veli-receipt-slip-body {
        padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 768px) {
    .veli-receipt-list-detail-mobile {
        display: none !important;
    }
}

.veli-history-layout {
    display: grid;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 1200px) {
    .veli-history-layout {
        grid-template-columns: minmax(0, 1fr) min(340px, 32%);
    }

    .veli-history-aside {
        position: sticky;
        top: 5.5rem;
    }
}

.veli-history-table-card {
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 10px);
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
    overflow: hidden;
}

.veli-history-table-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--dk-content-bg, #f7f8fa);
    border-bottom: 1px solid var(--dk-sidebar-border, #e2e8f0);
}

.veli-history-table-head-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dk-btn-fg, #0f172a);
}

.veli-history-table-head-title .rzi {
    color: var(--dk-accent, #1353d3);
    font-size: 18px;
}

.veli-history-table-head-range {
    font-size: 0.75rem;
    color: var(--dk-btn-muted, #64748b);
}

.veli-rapor-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.veli-history-table-card .veli-rapor-empty {
    margin: 0;
    padding: 1rem 1.05rem;
}

.veli-history-table-card .veli-table-pager {
    margin-top: 0;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--dk-sidebar-border, #e2e8f0);
    background: var(--dk-content-bg, #f7f8fa);
}

.veli-rapor-sales .veli-empty-hint {
    margin: 0;
    padding: 1rem 1.05rem;
}

.veli-rapor-sales .veli-sales-table {
    margin: 0;
}

.veli-rapor-table thead tr {
    background: #e8edf3;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.6875rem;
}

@media (max-width: 767.98px) {
    .pnl-page:has(.veli-rapor-stack) {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .veli-rapor-stack {
        gap: 0.65rem;
    }

    .veli-rapor-stack .veli-history-table-card {
        border-radius: 10px;
        box-shadow: none;
    }

    .veli-rapor-stack .veli-history-table-head {
        padding: 0.55rem 0.75rem;
        align-items: center;
        gap: 0.35rem;
    }

    .veli-rapor-stack .veli-history-table-head-title {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.6875rem;
        gap: 0.4rem;
    }

    .veli-rapor-stack .veli-history-table-head-title .rzi {
        font-size: 1.05rem;
    }

    .veli-rapor-stack .veli-history-table-head-range {
        flex: 0 1 auto;
        max-width: 46%;
        font-size: 0.625rem;
        line-height: 1.35;
        text-align: right;
    }

    .veli-rapor-stack .veli-history-table-wrap {
        -webkit-overflow-scrolling: touch;
    }

    .veli-rapor-stack .veli-rapor-table th,
    .veli-rapor-stack .veli-rapor-table td {
        padding: 0.45rem 0.65rem;
        font-size: 0.8125rem;
    }

    .veli-rapor-stack .veli-rapor-table thead tr {
        font-size: 0.5625rem;
        letter-spacing: 0.02em;
    }

    .veli-rapor-stack .veli-history-table-card .veli-rapor-empty,
    .veli-rapor-stack .veli-rapor-sales .veli-empty-hint {
        padding: 0.85rem 0.75rem;
        font-size: 0.8125rem;
    }

    .veli-rapor-stack .veli-rapor-sales {
        padding: 0 0.75rem 0.1rem;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sales-table--compact .veli-sales-cards {
        gap: 0;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sale-card--compact {
        padding: 0.48rem 0;
        gap: 0.55rem;
        align-items: center;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sale-card-compact-icon {
        width: 1.875rem;
        height: 1.875rem;
        border-radius: 999px;
        font-size: 0.95rem;
        background: #f4f6f8;
        border-color: transparent;
        color: #94a3b8;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sale-card--compact .veli-sale-card-product {
        font-size: 0.8125rem;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sale-card-meta-line {
        margin-top: 0.06rem;
        font-size: 0.6875rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .veli-rapor-stack .veli-rapor-sales .veli-sale-card--compact .veli-sale-card-amount {
        flex-shrink: 0;
        font-size: 0.8125rem;
        font-weight: 800;
        color: #0f172a;
    }

    .veli-rapor-stack .veli-history-table-card .veli-table-pager {
        padding: 0.55rem 0.75rem;
    }

    .veli-rapor-stack .veli-table-pager.veli-query-pager {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .veli-rapor-stack .veli-query-pager-summary {
        text-align: center;
        font-size: 0.6875rem;
    }

    .veli-rapor-stack .veli-query-pager-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .veli-rapor-stack .veli-query-pager-link,
    .veli-rapor-stack .veli-query-pager-current {
        min-width: 2.25rem;
        min-height: 44px;
        padding: 0 0.55rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

.veli-history-table-wrap {
    overflow-x: auto;
}

.veli-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.veli-history-table thead tr {
    background: #e8edf3;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.6875rem;
}

.veli-history-table th,
.veli-history-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--dk-sidebar-border, #e2e8f0);
    text-align: left;
    vertical-align: top;
}

.veli-history-table tbody tr {
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.veli-history-table tbody tr:hover {
    background: rgba(247, 248, 250, 0.9);
}

.veli-history-table tbody tr.is-selected {
    background: color-mix(in srgb, var(--dk-accent-soft, #dbeafe) 55%, #fff);
}

.veli-history-date-main {
    display: block;
    font-weight: 600;
    color: var(--dk-btn-fg, #0f172a);
}

.veli-history-date-sub {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    color: var(--dk-btn-muted, #64748b);
}

.veli-history-product {
    display: block;
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.veli-history-amount {
    font-weight: 700;
    color: var(--dk-accent, #1353d3);
    white-space: nowrap;
}

.veli-history-col-action {
    width: 1%;
    white-space: nowrap;
}

.veli-history-inspect {
    appearance: none;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    background: var(--dk-content-bg, #f7f8fa);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--dk-btn-fg, #0f172a);
    cursor: pointer;
}

.veli-history-inspect.is-active {
    background: var(--dk-accent, #1353d3);
    border-color: var(--dk-accent, #1353d3);
    color: #fff;
}

.veli-history-empty {
    padding: 2rem 1rem;
    text-align: center;
}

.veli-history-table-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--dk-content-bg, #f7f8fa);
    border-top: 1px solid var(--dk-sidebar-border, #e2e8f0);
    font-size: 0.75rem;
    color: var(--dk-btn-muted, #64748b);
}

.veli-history-pager {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.veli-history-pager-label {
    min-width: 3.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--dk-btn-fg, #0f172a);
}

.veli-receipt-slip {
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 10px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.veli-receipt-slip--empty {
    padding: 2rem 1.25rem;
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
}

.veli-receipt-slip-accent {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--dk-accent, #1353d3),
        color-mix(in srgb, var(--dk-accent, #1353d3) 70%, #22c55e)
    );
}

.veli-receipt-slip-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.veli-receipt-slip-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.veli-receipt-slip-kicker {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dk-accent, #1353d3);
}

.veli-receipt-slip-no {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.veli-receipt-slip-meta {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--dk-btn-muted, #64748b);
}

.veli-receipt-slip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--dk-content-bg, #f7f8fa);
    color: var(--dk-accent, #1353d3);
}

.veli-receipt-slip-facts {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: var(--dk-content-bg, #f7f8fa);
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
}

.veli-receipt-slip-facts > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.75rem;
    padding: 0.2rem 0;
}

.veli-receipt-slip-facts dt {
    margin: 0;
    color: var(--dk-btn-muted, #64748b);
    flex-shrink: 0;
}

.veli-receipt-slip-facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    line-height: 1.35;
    min-width: 0;
}

.veli-receipt-slip-facts-dd--truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.veli-receipt-slip-divider {
    position: relative;
    margin: 0.75rem 0 1rem;
    text-align: center;
}

.veli-receipt-slip-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px dashed var(--dk-sidebar-border, #cbd5e1);
}

.veli-receipt-slip-divider span {
    position: relative;
    padding: 0 0.5rem;
    background: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-btn-muted, #64748b);
}

.veli-receipt-slip-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.veli-receipt-slip-lines li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.veli-receipt-slip-line-main {
    min-width: 0;
}

.veli-receipt-slip-line-name {
    display: block;
    font-weight: 600;
    line-height: 1.35;
}

.veli-receipt-slip-line-qty {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    color: var(--dk-btn-muted, #64748b);
}

.veli-receipt-slip-line-amount {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.veli-receipt-slip-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--dk-accent-soft, #dbeafe) 45%, #fff);
    border: 1px solid color-mix(in srgb, var(--dk-accent, #1353d3) 15%, transparent);
    font-size: 0.875rem;
}

.veli-receipt-slip-total strong {
    font-size: 1.05rem;
    color: var(--dk-accent, #1353d3);
}

/* İptal ve iade fişinde şerit, başlık ve tutar kırmızı */
.veli-receipt-slip.is-refund .veli-receipt-slip-accent {
    background: #b91c1c;
}

.veli-receipt-slip.is-refund .veli-receipt-slip-kicker {
    color: #b91c1c;
}

.veli-receipt-slip.is-refund .veli-receipt-slip-lines li.is-refund .veli-receipt-slip-line-amount,
.veli-receipt-slip.is-refund .veli-receipt-slip-total strong {
    color: #b91c1c;
}

.veli-receipt-slip.is-refund .veli-receipt-slip-total {
    background: #fff5f5;
    border-color: #fecaca;
}

.veli-receipt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.veli-receipt-list-item {
    border-bottom: 1px solid var(--dk-sidebar-border, #e2e8f0);
}

.veli-receipt-list-item:last-child {
    border-bottom: 0;
}

.veli-receipt-list-btn {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background-color 0.12s ease;
}

.veli-receipt-list-item:hover .veli-receipt-list-btn {
    background: rgba(247, 248, 250, 0.95);
}

.veli-receipt-list-item.is-selected .veli-receipt-list-btn {
    background: color-mix(in srgb, var(--dk-accent-soft, #dbeafe) 55%, #fff);
}

.veli-receipt-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--dk-content-bg, #f7f8fa);
    color: var(--dk-accent, #1353d3);
    flex-shrink: 0;
    align-self: center;
}

.veli-receipt-list-item.is-selected .veli-receipt-list-icon {
    background: var(--dk-accent, #1353d3);
    color: #fff;
}

.veli-receipt-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.veli-receipt-list-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.veli-receipt-list-no {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--dk-btn-fg, #0f172a);
    font-variant-numeric: tabular-nums;
}

.veli-receipt-list-amount {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--dk-accent, #1353d3);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.veli-receipt-list-meta {
    font-size: 0.6875rem;
    color: var(--dk-btn-muted, #64748b);
    line-height: 1.35;
}

.veli-receipt-list-dot {
    margin: 0 0.15rem;
}

.veli-receipt-list-products {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.veli-receipt-list-chevron {
    display: inline-flex;
    align-items: center;
    align-self: center;
    color: var(--dk-btn-muted, #64748b);
    transition: transform 0.12s ease, color 0.12s ease;
}

.veli-receipt-list-chevron.is-open {
    color: var(--dk-accent, #1353d3);
    transform: rotate(90deg);
}

/* İptal ve iade satırı: kırmızı ibare, ikon ve tutar */
.veli-receipt-list-item.is-refund .veli-receipt-list-btn {
    background: #fff5f5;
}

.veli-receipt-list-item.is-refund.is-selected .veli-receipt-list-btn {
    background: #fee2e2;
}

.veli-receipt-list-item.is-refund .veli-receipt-list-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.veli-receipt-list-item.is-refund.is-selected .veli-receipt-list-icon {
    background: #b91c1c;
    color: #fff;
}

.veli-receipt-list-item.is-refund .veli-receipt-list-amount.is-refund {
    color: #b91c1c;
}

.veli-receipt-list-item.is-refund .veli-receipt-list-chevron,
.veli-receipt-list-item.is-refund.is-selected .veli-receipt-list-chevron.is-open {
    color: #b91c1c;
}

/* —— Ürün kısıtlama (veli) —— */
.vr-page {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 4.25rem;
}

.vr-pane-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.vr-pane-head--tight {
    margin-bottom: 0.5rem;
}

.vr-editor--restrict-header.veli-home-panel.rz-card {
    padding: 0;
    overflow: hidden;
}

.vr-editor-card-head.vr-pane-head--restrict,
.vr-editor-card-head.vr-pane-head--exception,
.vr-editor-card-head.vr-pane-head--extra {
    margin-bottom: 0;
    padding: 0.85rem 1.15rem;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
}

.vr-editor-card-head.vr-pane-head--restrict {
    background: #fff1f2;
    border-bottom-color: #fecdd3;
}

.vr-editor-card-head.vr-pane-head--exception {
    background: #f0fdf4;
    border-bottom-color: #bbf7d0;
}

.vr-editor-card-head.vr-pane-head--extra {
    background: #fffbeb;
    border-bottom-color: #fde68a;
}

.vr-pane-head--restrict,
.vr-pane-head--exception,
.vr-pane-head--extra {
    align-items: center;
}

.vr-editor-body {
    padding: 1rem 1.1rem 1.1rem;
}

.vr-pane-head-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
}

.vr-pane-head-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.vr-pane-head--restrict .vr-pane-head-icon:not(.vr-pane-head-icon--exception):not(.vr-pane-head-icon--extra) {
    background: #fff;
    color: #e11d48;
    border-color: #fecdd3;
}

.vr-pane-head--restrict .vr-pane-title,
.vr-pane-head--exception .vr-pane-title,
.vr-pane-head--extra .vr-pane-title {
    color: #0f172a;
}

.vr-pane-head--restrict .vr-pane-sub,
.vr-pane-head--exception .vr-pane-sub,
.vr-pane-head--extra .vr-pane-sub {
    color: #64748b;
    opacity: 1;
}

.vr-pane-reset {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.vr-pane-reset .rzi {
    font-size: 1rem;
}

.vr-pane-reset:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.vr-pane-reset--exception,
.vr-pane-reset--extra {
    border-color: #e2e8f0;
    color: #475569;
}

.vr-pane-reset--exception:hover:not(:disabled),
.vr-pane-reset--extra:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.vr-pane-reset:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vr-pane-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.vr-pane-sub {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.vr-text-btn {
    border: none;
    background: none;
    padding: 0.35rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dk-accent, #1353d3);
    cursor: pointer;
    border-radius: 8px;
}

.vr-text-btn:hover {
    background: rgba(19, 83, 211, 0.08);
}

.vr-text-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vr-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #e2e8f0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
}

.vr-search-clear .rzi {
    font-size: 1rem;
}

.vr-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.vr-banner--ok {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.vr-banner--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.vr-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vr-aside > .vr-aside-note {
    margin-bottom: 0;
}

.vr-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .vr-grid {
        grid-template-columns: minmax(0, 1fr) min(340px, 34%);
    }

    .vr-aside {
        position: sticky;
        top: 1rem;
    }
}

.vr-aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.vr-segments {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    margin-bottom: 0.85rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vr-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.vr-segment .rzi {
    font-size: 1.1rem;
}

.vr-segment.is-active {
    background: var(--dk-accent, #1353d3);
    color: #fff;
    box-shadow: 0 4px 14px rgba(19, 83, 211, 0.35);
}

.vr-segment.is-muted:not(.is-active) {
    opacity: 0.45;
    cursor: not-allowed;
}

.vr-segment-badge {
    min-width: 1.25rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.vr-segment:not(.is-active) .vr-segment-badge {
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
}

.vr-segment-badge--soft {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.vr-segment-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vr-segment-label-short {
    display: none;
}

.vr-editor.veli-home-panel {
    min-height: 280px;
}

.vr-editor--minimal.veli-home-panel.rz-card {
    padding: 1rem 1.1rem 1.1rem;
}

.vr-editor--minimal.vr-editor--restrict-header.veli-home-panel.rz-card {
    padding: 0;
}

.vr-search {
    position: relative;
    margin-bottom: 0.85rem;
}

.vr-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.vr-search-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 0.5rem 2.5rem 0.5rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    background: #fff;
    transition: border-color 0.12s ease;
}

.vr-search-input:focus {
    outline: none;
    border-color: #94a3b8;
}

.vr-groups {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Kategori ağacı */
.vr-cat-tree {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vr-cat-tree-branch {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vr-cat-row-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.vr-cat-chevron {
    flex-shrink: 0;
    width: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8fafc;
    border-right: 1px solid #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.vr-cat-chevron--spacer {
    cursor: default;
    background: #fafafa;
}

.vr-cat-chevron .rzi {
    font-size: 1.25rem;
}

.vr-cat-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    min-height: 46px;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.vr-cat-row--root.is-free {
    background: #fff;
}

.vr-cat-row--root.is-banned {
    background: #fafafa;
}

.vr-cat-row--root.is-partial {
    background: #fffbeb;
}

.vr-cat-children {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.35rem 0.65rem 0.5rem 0.5rem;
    background: #fafafa;
    border-top: 1px solid #f1f5f9;
}

.vr-cat-row--child {
    border-radius: 8px;
    min-height: 40px;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    background: #fff;
    border: 1px solid transparent;
}

.vr-cat-children--grouped {
    gap: 0.35rem;
}

.vr-cat-tree-branch--nested {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.vr-cat-tree-branch--nested .vr-cat-children {
    background: #fafafa;
    padding-left: 0.35rem;
}

.vr-cat-row--subcat {
    min-height: 42px;
    border: none;
    border-radius: 0;
}

.vr-cat-row--subcat.is-free {
    background: #fff;
}

.vr-cat-row--subcat.is-banned {
    background: #fef2f2;
}

.vr-cat-row--subcat.is-partial {
    background: #fffbeb;
}

.vr-cat-row--subcat .vr-cat-name {
    font-weight: 600;
    color: #0f172a;
}

.vr-pane-head-icon .rzi {
    font-size: 1.15rem;
}

.vr-pane-head-icon--exception {
    background: #fff;
    color: #059669;
    border-color: #a7f3d0;
}

.vr-pane-head-icon--extra {
    background: #fff;
    color: #d97706;
    border-color: #fde68a;
}

.vr-cat-row--child.is-free {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.vr-cat-row--child.is-banned {
    background: #fef2f2;
    border-color: #fecaca;
}

.vr-cat-row--child.is-banned .vr-cat-branch-mark {
    color: #f87171;
}

.vr-cat-branch-mark {
    flex-shrink: 0;
    width: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.vr-cat-branch-mark .rzi {
    font-size: 1.1rem;
}

.vr-cat-meta-pill {
    flex-shrink: 0;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.vr-cat-row-trail {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vr-cat-price {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #475569;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    line-height: 1.25;
}

.vr-cat-row--child.is-free .vr-cat-price {
    background: #fff;
    border-color: #bbf7d0;
    color: #047857;
}

.vr-cat-row--child.is-banned .vr-cat-price {
    background: #fff;
    border-color: #fecaca;
    color: #b91c1c;
}

.vr-ban-seg {
    flex-shrink: 0;
    display: inline-flex;
    align-items: stretch;
    padding: 2px;
    gap: 2px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.vr-ban-seg--triple {
    max-width: 100%;
}

.vr-ban-seg__btn {
    border: none;
    background: transparent;
    padding: 0.28rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.vr-ban-seg--triple .vr-ban-seg__btn {
    padding: 0.28rem 0.42rem;
}

.vr-ban-seg__btn:hover:not(:disabled):not(.is-active) {
    color: #334155;
    background: rgba(255, 255, 255, 0.65);
}

.vr-ban-seg__btn:disabled:not(.is-active) {
    opacity: 0.45;
    cursor: default;
}

.vr-ban-seg__btn.is-active {
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.vr-ban-seg__btn.is-active--free {
    color: #15803d;
}

.vr-ban-seg__btn.is-active--partial {
    color: #b45309;
    cursor: default;
}

.vr-ban-seg__btn.is-active--ban {
    color: #b91c1c;
}

.vr-cat-name {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.35;
}

.vr-cat-row--root .vr-cat-name {
    font-weight: 600;
    color: #0f172a;
}

.vr-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vr-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 0.35rem;
}

.vr-tile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.vr-tile:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.vr-tile.is-on {
    border-color: var(--dk-accent, #1353d3);
    background: #f8fafc;
}

.vr-tile--root {
    font-weight: 600;
}

.vr-tile-mark {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.vr-tile.is-on .vr-tile-mark {
    border-color: var(--dk-accent, #1353d3);
    background: var(--dk-accent, #1353d3);
    color: #fff;
}

.vr-tile-mark .rzi {
    font-size: 0.75rem;
}

.vr-tile-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.vr-tile-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.35;
}

.vr-tile--root .vr-tile-name {
    font-weight: 600;
    color: #0f172a;
}

.vr-tile-meta {
    font-size: 0.7rem;
    color: #94a3b8;
}

.vr-hint-center {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    padding: 2rem 1rem;
}

.vr-dropdown {
    margin-top: 0.25rem;
}

.vr-aside-note {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: #ffe4e6;
    border: 1px solid #fda4af;
    color: #0f172a;
}

.vr-aside-note-summary {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #9f1239;
}

.vr-aside-note-body {
    margin: 0.65rem 0 0;
    padding-left: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.vr-aside-note strong {
    color: #e11d48;
    font-weight: 700;
}

.vr-aside-note-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
}

.vr-aside-note-icon .rzi {
    font-size: 0.95rem;
    font-weight: 700;
}

.vr-summary.veli-home-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vr-summary.veli-home-panel.vr-editor--minimal.rz-card {
    overflow: hidden;
}

.vr-summary-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: -1rem -1.1rem 0.15rem;
    padding: 0.9rem 1.1rem;
    background: var(--dk-nav-hover-bg, #f1f3f5);
    border-bottom: 1px solid var(--dk-sidebar-border, #e6e8ec);
}

.vr-summary-avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
}

.vr-summary-head-text {
    min-width: 0;
    flex: 1 1 auto;
}

.vr-summary-kicker {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.2;
}

.vr-summary-name {
    margin: 0.1rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vr-summary-rule-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vr-summary-rule-badge-num {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--dk-accent, #1353d3);
    line-height: 1;
}

.vr-summary-rule-badge-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
}

.vr-summary-rule-badge--none {
    padding: 0.35rem 0.65rem;
}

.vr-summary-rule-badge--none .vr-summary-rule-badge-label {
    color: #94a3b8;
}

.vr-summary-block {
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
}

.vr-summary-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #475569;
}

.vr-summary-label-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.vr-summary-label-dot--ban { background: #e11d48; }
.vr-summary-label-dot--ok { background: #059669; }
.vr-summary-label-dot--extra { background: #d97706; }

.vr-summary-count {
    margin-left: auto;
    min-width: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 700;
    text-align: center;
}

.vr-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.vr-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    max-width: 100%;
    padding: 0.2rem 0.35rem 0.2rem 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.vr-summary-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vr-summary-chip--ban {
    background: #fff1f2;
    border-color: #fecdd3;
}

.vr-summary-chip--ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.vr-summary-chip--extra {
    background: #fffbeb;
    border-color: #fde68a;
}

.vr-summary-chip:hover {
    filter: brightness(0.98);
}

.vr-summary-chip .rzi {
    font-size: 0.9rem;
    opacity: 0.65;
}

.vr-summary-empty {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.vr-save-bar {
    position: fixed;
    z-index: 30;
    left: calc(var(--dk-sidebar-w, 248px) + 1.5rem);
    right: 1.5rem;
    bottom: 2.35rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid var(--dk-sidebar-border, #e2e8f0);
    border-radius: var(--dk-grid-radius, 10px);
    box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
}

.dk-sidebar.dk-collapsed ~ .dk-content .vr-save-bar,
html.pnl-sidebar-collapsed-pending .vr-save-bar {
    left: calc(var(--dk-sidebar-collapsed-w, 60px) + 1.5rem);
}

.vr-save-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dk-btn-muted, #64748b);
    line-height: 1.3;
}

.vr-save-status-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vr-save-status-dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #94a3b8;
}

.vr-save-status.is-dirty {
    color: #9a3412;
}

.vr-save-status.is-dirty .vr-save-status-dot {
    background: #f59e0b;
}

.vr-save-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.vr-save-btn {
    min-height: var(--dk-btn-h, 36px);
}

.vr-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.vr-empty-illus {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-empty-illus .rzi {
    font-size: 2rem;
}

.vr-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.vr-empty-text {
    margin: 0 auto;
    max-width: 26rem;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .dk-content .pnl-page {
        overflow: visible;
        max-height: none;
    }

    .vr-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    /* Özet kartı sekmeler ile editör arasında */
    .vr-main {
        display: contents;
    }

    .vr-aside {
        display: contents;
    }

    .vr-aside > .vr-aside-note {
        order: 1;
        min-width: 0;
    }

    .vr-main > .vr-segments {
        order: 2;
    }

    .vr-aside > .vr-summary {
        order: 3;
        min-width: 0;
    }

    .vr-main > .rz-card {
        order: 4;
        min-width: 0;
    }

    .vr-aside-note {
        padding: 0.65rem 0.75rem;
    }

    .vr-aside-note-body {
        margin: 0.55rem 0 0;
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .vr-segments {
        margin-bottom: 0.65rem;
        padding: 0.3rem;
        gap: 0.3rem;
        border-radius: 12px;
    }

    .vr-segment {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.28rem;
        min-height: 44px;
        padding: 0.35rem 0.4rem;
        font-size: 0.6875rem;
    }

    .vr-segment .rzi {
        font-size: 1.05rem;
        flex-shrink: 0;
    }

    .vr-segment-label-long {
        display: none;
    }

    .vr-segment-label-short {
        display: inline;
    }

    .vr-segment-badge {
        min-width: 1.1rem;
        padding: 0.05rem 0.32rem;
        font-size: 0.625rem;
    }

    .vr-editor-card-head.vr-pane-head--restrict,
    .vr-editor-card-head.vr-pane-head--exception,
    .vr-editor-card-head.vr-pane-head--extra {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.45rem 0.5rem;
        padding: 0.55rem 0.75rem;
    }

    .vr-pane-head-brand {
        flex: 1 1 12rem;
        min-width: 0;
        gap: 0.45rem;
        align-items: center;
    }

    .vr-pane-head-icon {
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 8px;
    }

    .vr-pane-head-icon .rzi {
        font-size: 0.95rem;
    }

    .vr-pane-title {
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.25;
    }

    .vr-pane-sub {
        margin-top: 0.08rem;
        font-size: 0.6875rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .vr-pane-reset {
        margin-left: auto;
        padding: 0.32rem 0.45rem;
        font-size: 0;
        gap: 0;
        min-width: 2rem;
        min-height: 2rem;
        justify-content: center;
    }

    .vr-pane-reset .rzi {
        font-size: 1.05rem;
    }

    .vr-pane-reset > span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .vr-editor-body {
        padding: 0.75rem 0.75rem 0.85rem;
    }

    .vr-search {
        margin-bottom: 0.65rem;
    }

    .vr-search-input {
        min-height: 44px;
        font-size: 1rem;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .vr-cat-chevron {
        width: 2rem;
    }

    .vr-cat-chevron .rzi {
        font-size: 1.1rem;
    }

    .vr-cat-row--root,
    .vr-cat-row--subcat {
        flex-wrap: wrap;
        align-content: flex-start;
        row-gap: 0.35rem;
        column-gap: 0.35rem;
        min-height: auto;
        padding: 0.45rem 0.5rem;
    }

    .vr-cat-row--child {
        min-height: 44px;
        padding: 0.35rem 0.45rem;
    }

    .vr-cat-name {
        flex: 1 1 8rem;
        font-size: 0.8125rem;
    }

    .vr-cat-meta-pill {
        flex: 0 0 auto;
        font-size: 0.6rem;
        padding: 0.12rem 0.38rem;
    }

    .vr-ban-seg {
        flex: 1 1 100%;
        width: 100%;
        justify-content: stretch;
        box-sizing: border-box;
    }

    .vr-ban-seg--triple {
        display: flex;
    }

    .vr-ban-seg--triple .vr-ban-seg__btn,
    .vr-ban-seg:not(.vr-ban-seg--triple) .vr-ban-seg__btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.38rem 0.25rem;
        font-size: 0.625rem;
        text-align: center;
    }

    .vr-cat-row-trail {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.35rem;
    }

    .vr-cat-price {
        font-size: 0.6875rem;
        padding: 0.15rem 0.4rem;
    }

    .vr-summary.veli-home-panel.vr-editor--minimal.rz-card {
        padding: 0.75rem 0.85rem 0.85rem;
    }

    .vr-summary.veli-home-panel {
        gap: 0.55rem;
    }

    .vr-summary-head {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        margin: -0.75rem -0.85rem 0.45rem;
        padding: 0.5rem 0.75rem;
        min-height: 0;
    }

    .vr-summary-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.5625rem;
    }

    .vr-summary-head-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .vr-summary-kicker {
        display: none;
    }

    .vr-summary-name {
        margin: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .vr-summary-rule-badge {
        flex: 0 0 auto;
        align-items: center;
        gap: 0.15rem;
        margin: 0;
        padding: 0.22rem 0.45rem;
        border-radius: 999px;
    }

    .vr-summary-rule-badge-num {
        font-size: 0.8125rem;
        font-weight: 700;
    }

    .vr-summary-rule-badge-label {
        font-size: 0.625rem;
        font-weight: 600;
    }

    .vr-summary-rule-badge--none {
        padding: 0.22rem 0.5rem;
    }

    .vr-summary-block {
        padding-top: 0.5rem;
    }

    .vr-summary-block:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    .vr-summary-label {
        font-size: 0.6875rem;
        margin-bottom: 0.35rem;
    }

    .vr-summary-list {
        gap: 0.35rem;
    }

    .vr-summary-chip {
        flex: 1 1 calc(50% - 0.2rem);
        max-width: 100%;
        min-height: 34px;
        padding: 0.3rem 0.4rem 0.3rem 0.45rem;
        font-size: 0.6875rem;
        box-sizing: border-box;
    }

    .vr-summary-chip .rzi {
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .vr-summary-empty {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .vr-page:has(.vr-save-bar) {
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }

    .vr-save-bar,
    .dk-sidebar.dk-collapsed ~ .dk-content .vr-save-bar,
    html.pnl-sidebar-collapsed-pending .vr-save-bar {
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        z-index: 110;
        column-gap: 0.5rem;
        padding: 0.5rem max(0.75rem, env(safe-area-inset-left, 0px)) calc(0.5rem + env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-right, 0px));
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--dk-sidebar-border, #e2e8f0);
        box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.07);
    }

    .vr-save-status {
        font-size: 0.75rem;
    }

    .vr-save-status:not(.is-dirty) .vr-save-status-dot {
        display: none;
    }

    .vr-save-status:not(.is-dirty) {
        color: #94a3b8;
    }

    .vr-save-actions {
        gap: 0.4rem;
    }

    .vr-save-actions .dk-btn {
        min-height: 36px;
        padding-inline: 0.7rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 768px) {
    .vr-save-bar,
    .dk-sidebar.dk-collapsed ~ .dk-content .vr-save-bar,
    html.pnl-sidebar-collapsed-pending .vr-save-bar {
        left: calc(var(--dk-sidebar-w, 248px) + 1.5rem);
        right: 1.5rem;
        bottom: 2.35rem;
        width: auto;
        border-radius: var(--dk-grid-radius, 10px);
        border: 1px solid var(--dk-sidebar-border, #e2e8f0);
        box-shadow: var(--veli-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
    }

    .dk-sidebar.dk-collapsed ~ .dk-content .vr-save-bar,
    html.pnl-sidebar-collapsed-pending .vr-save-bar {
        left: calc(var(--dk-sidebar-collapsed-w, 60px) + 1.5rem);
    }
}

/* Para yükle — mobil (bakiye işlemleri) */
@media (max-width: 767.98px) {
    /* Anında yükleme hub'ı, yükleme durumu kartının üstünde */
    .py-wallet-layout {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .py-wallet-layout > .py-overview {
        display: contents;
        margin-bottom: 0;
    }

    .py-wallet-layout > .py-hub {
        order: 2;
        margin-bottom: 0;
    }

    .py-wallet-layout .py-overview-card--hero {
        order: 1;
    }

    .py-wallet-layout .py-stat-card--load {
        order: 3;
    }

    .py-wallet-layout .py-stat-card--limit {
        order: 4;
    }

    .pnl-page:has(.py-overview) {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .py-overview {
        gap: 0.65rem;
        margin-bottom: 0.85rem;
    }

    .py-overview-card:not(.py-overview-card--hero) {
        padding: 0.65rem 0.75rem;
        gap: 0.55rem;
    }

    .py-stat-card {
        padding: 0.65rem 0.75rem;
    }

    .py-stat-head {
        align-items: center;
        gap: 0.45rem;
    }

    .py-stat-head-brand {
        align-items: center;
        gap: 0.45rem;
    }

    .py-stat-head-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 8px;
    }

    .py-stat-head-icon .rzi {
        font-size: 1.05rem;
    }

    .py-stat-title {
        font-size: 0.8125rem;
        line-height: 1.25;
    }

    .py-stat-sub {
        font-size: 0.6875rem;
        margin-top: 0.06rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .py-load-sync {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.35rem 0.45rem;
    }

    .py-load-sync-parts {
        gap: 0.35rem 0.65rem;
    }

    .py-load-pending {
        padding: 0.4rem 0.5rem;
    }

    .py-load-pending-label {
        font-size: 0.75rem;
    }

    .py-load-pending-amount {
        font-size: 0.875rem;
    }

    .py-load-last-chip {
        max-width: 42%;
        font-size: 0.625rem;
    }

    .py-limit-stats {
        gap: 0.28rem;
    }

    .py-limit-stat-label {
        font-size: 0.5625rem;
    }

    .py-limit-stat-value {
        font-size: 0.75rem;
    }

    .py-limit-foot-text {
        font-size: 0.625rem;
    }

    .py-overview-card--hero-picker .py-overview-hero-main {
        padding: 0.75rem 0.85rem 0.7rem;
        gap: 0.55rem;
    }

    .py-overview-card--hero-solo .py-overview-hero-top {
        padding: 0.75rem 0.85rem 0.65rem;
    }

    .py-overview-card--hero-solo .py-overview-hero-balance {
        min-height: 5.25rem;
        padding: 0.85rem 0.85rem 0.95rem;
    }

    .py-overview-hero-top {
        align-items: center;
        gap: 0.45rem;
    }

    .py-overview-hero-brand {
        align-items: center;
        gap: 0.45rem;
    }

    .py-overview-hero-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.15rem;
        border-radius: 8px;
    }

    .py-overview-kicker {
        font-size: 0.5625rem;
    }

    .py-overview-hero-name {
        font-size: 0.875rem;
        margin-top: 0.08rem;
    }

    .py-overview-pill--on-hero {
        font-size: 0.5625rem;
        padding: 0.15rem 0.4rem;
    }

    .py-overview-balance {
        font-size: 1.55rem;
    }

    .py-overview-label {
        font-size: 0.625rem;
        margin-bottom: 0.12rem;
    }

    .py-overview-hero-total-hint {
        font-size: 0.6875rem;
    }

    .py-wallet-picker {
        padding: 0.55rem 0.65rem 0.6rem;
    }

    .py-wallet-chip {
        min-width: min(10rem, 72vw);
        max-width: 12rem;
        padding: 0.4rem 0.5rem;
    }

    .py-wallet-chip-avatar {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.5625rem;
    }

    .py-wallet-chip-name {
        font-size: 0.75rem;
    }

    .py-wallet-chip-meta {
        font-size: 0.6875rem;
    }

    .py-hub {
        gap: 0.65rem;
        margin-bottom: 0.85rem;
    }

    .py-hub-side {
        gap: 0.65rem;
    }

    .py-hub-card {
        padding: 0.65rem 0.75rem 0.75rem;
    }

    .py-hub-card--instant {
        gap: 0.65rem;
    }

    .py-hub-head {
        flex-direction: row;
        align-items: center;
        gap: 0.45rem;
    }

    .py-hub-head-brand {
        flex: 1 1 auto;
        align-items: center;
        gap: 0.45rem;
        min-width: 0;
    }

    .py-hub-head-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .py-hub-title {
        font-size: 0.8125rem;
        font-weight: 700;
    }

    .py-hub-sub {
        font-size: 0.6875rem;
        margin-top: 0.06rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .py-hub-badge {
        font-size: 0.5rem;
        padding: 0.18rem 0.38rem;
        max-width: 38%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .py-hub-soon-strip {
        font-size: 0.6875rem;
        padding: 0.35rem 0.5rem;
    }

    .py-hub-presets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .py-hub-preset {
        padding: 0.45rem 0.25rem;
        font-size: 0.75rem;
    }

    .py-hub-card--instant .py-hub-amount {
        height: 2.75rem;
    }

    .py-hub-amount-input {
        font-size: 16px;
        padding: 0 0.6rem;
    }

    .py-hub-amount-suffix {
        min-width: 2.75rem;
    }

    .py-hub-pay {
        padding: 0.45rem 0.55rem;
    }

    .py-hub-pay-name {
        font-size: 0.75rem;
    }

    .py-hub-pay-meta {
        font-size: 0.625rem;
    }

    .py-hub-secure {
        font-size: 0.75rem;
    }

    .py-hub-cta {
        min-height: 44px;
        padding: 0.65rem 0.85rem;
        font-size: 0.8125rem;
    }

    .py-hub-trust {
        gap: 0.45rem 0.65rem;
        font-size: 0.625rem;
    }

    .py-hub-rule-card {
        padding: 0.55rem 0.6rem;
    }

    .py-hub-rule-title {
        font-size: 0.75rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .py-hub-rule-desc {
        font-size: 0.6875rem;
    }

    .py-hub-cap {
        flex-wrap: wrap;
        font-size: 0.6875rem;
        padding: 0.45rem 0.5rem;
    }

    .py-hub-transfer-panel {
        padding: 0.55rem 0.6rem;
    }

    .py-hub-transfer-action {
        flex-direction: column;
        align-items: stretch;
    }

    .py-hub-transfer-btn {
        width: 100%;
        min-height: 44px;
        text-align: center;
    }

    .py-hub-transfer-input {
        font-size: 1rem;
        min-height: 44px;
    }
}

/* Günlük limit — harcama / bütçe kartı */
.gl-limit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
    gap: 0.85rem;
    align-items: start;
    width: 100%;
    max-width: none;
}

.pnl-page .gl-limit-layout {
    box-sizing: border-box;
}

.gl-limit-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.gl-limit-form {
    max-width: none;
}

.gl-limit-card {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: clip;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.gl-limit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.gl-limit-head-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.gl-limit-head-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.gl-limit-head-icon .rzi {
    font-size: 1.35rem;
}

.gl-limit-head-icon--security,
.gl-limit-head-icon--parent {
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
    border-color: #bfdbfe;
}

.gl-limit-head--security {
    border-bottom: 1px solid #e2e8f0;
}

.gl-limit-sub strong {
    color: var(--dk-accent, #1353d3);
    font-weight: 700;
}

.gl-limit-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.gl-limit-sub {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.gl-limit-badge {
    flex-shrink: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dk-accent, #1353d3);
    background: var(--dk-accent-soft, #dbeafe);
    border: 1px solid #bfdbfe;
}

.gl-limit-badge--student {
    max-width: min(14rem, 42vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}

.gl-limit-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gl-limit-mode {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px;
    gap: 3px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.gl-limit-mode-btn {
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    cursor: pointer;
}

.gl-limit-mode-btn.is-active {
    background: var(--dk-accent, #1353d3);
    color: #fff;
    box-shadow: 0 2px 8px rgba(19, 83, 211, 0.25);
}

.gl-limit-slider-block.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.gl-limit-slider-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.gl-limit-slider-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.gl-limit-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.gl-limit-value-currency {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.gl-limit-value-input {
    width: 5.5rem;
    min-width: 3rem;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    text-align: center;
    -moz-appearance: textfield;
}

.gl-limit-value-input:focus {
    outline: none;
}

.gl-limit-value-input::-webkit-outer-spin-button,
.gl-limit-value-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gl-limit-value-amount {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.gl-limit-value-amount--muted {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.gl-limit-value-suffix {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
}

.gl-limit-hint {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

.gl-limit-range {
    --gl-range-pct: 50%;
    width: 100%;
    height: 6px;
    margin: 0.25rem 0 0.5rem;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--dk-accent, #1353d3) 0%,
        var(--dk-accent, #1353d3) var(--gl-range-pct),
        #e2e8f0 var(--gl-range-pct),
        #e2e8f0 100%
    );
    outline: none;
    cursor: pointer;
}

.gl-limit-range:disabled {
    cursor: not-allowed;
}

.gl-limit-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--dk-accent, #1353d3);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
}

.gl-limit-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--dk-accent, #1353d3);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
}

.gl-limit-presets {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 0.35rem;
    width: 100%;
}

.gl-limit-preset {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.45rem 0.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.gl-limit-preset:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.gl-limit-preset:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gl-limit-preset-amount {
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.gl-limit-preset-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.1;
    min-height: 0.85rem;
}

.gl-limit-preset-label--spacer {
    visibility: hidden;
}

.gl-limit-preset-star {
    font-size: 0.65rem;
    line-height: 1;
    width: 0.65rem;
    height: 0.65rem;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
    color: #94a3b8;
}

.gl-limit-preset--temel {
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.gl-limit-preset--temel .gl-limit-preset-amount {
    color: #475569;
}

.gl-limit-preset--temel .gl-limit-preset-label {
    color: #64748b;
}

.gl-limit-preset--recommended {
    border-color: #e2e8f0;
    background: #fff;
}

.gl-limit-preset--recommended:not(.is-active) .gl-limit-preset-star {
    color: #b45309;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.gl-limit-preset--genis {
    border-color: #c4b5fd;
    background: linear-gradient(180deg, #faf5ff 0%, #ede9fe 100%);
}

.gl-limit-preset--genis .gl-limit-preset-amount {
    color: #6d28d9;
}

.gl-limit-preset--genis .gl-limit-preset-label {
    color: #7c3aed;
}

.gl-limit-preset.is-active {
    border-color: var(--dk-accent, #1353d3);
    background: var(--dk-accent-soft, #dbeafe);
    box-shadow: 0 0 0 2px rgba(19, 83, 211, 0.2);
}

.gl-limit-preset.is-active .gl-limit-preset-label {
    color: var(--dk-accent, #1353d3);
}

.gl-limit-preset--recommended.is-active .gl-limit-preset-star {
    color: var(--dk-accent, #1353d3);
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.gl-limit-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem 1.1rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.gl-limit-foot-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    font-size: 0.74rem;
    line-height: 1.45;
    color: #64748b;
}

.gl-limit-foot-note-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.05rem;
    border-radius: 8px;
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
}

.gl-limit-foot-note-icon .material-symbols-outlined {
    font-size: 1.05rem;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.gl-limit-foot-note-text strong {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.gl-limit-foot-save {
    flex-shrink: 0;
}

.gl-limit-features {
    box-sizing: border-box;
    padding: 0.85rem 1.15rem 1.15rem;
    background: #fff;
}

.gl-limit-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: stretch;
}

.gl-limit-feature {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    min-height: 100%;
}

.gl-limit-feature--soon {
    background: var(--dk-content-bg, #f7f8fa);
}

.gl-limit-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
}

.gl-limit-feature-head-text {
    flex: 1;
    min-width: 0;
}

.gl-limit-feature-kicker {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.3;
}

.gl-limit-feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--dk-accent-soft, #dbeafe);
    color: var(--dk-accent, #1353d3);
    border: 1px solid #bfdbfe;
}

.gl-limit-feature-icon .rzi {
    font-size: 1.15rem;
}

.gl-limit-feature-title {
    margin: 0.15rem 0 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.gl-limit-feature-value-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid #e2e8f0;
}

.gl-limit-feature-value {
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem;
    min-width: 0;
}

.gl-limit-feature-value-main {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.15;
}

.gl-limit-feature-value-unit {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.gl-limit-feature-action {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dk-accent, #1353d3);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.4;
    cursor: not-allowed;
    user-select: none;
}

.gl-limit-feature-desc {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.gl-limit-perm-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 1rem 1.1rem;
    background: #fff;
}

.gl-limit-perm {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    background: var(--dk-content-bg, #f7f8fa);
    border: 1px solid #e2e8f0;
}

.gl-limit-perm-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.55rem;
}

.gl-limit-perm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.gl-limit-perm-icon .rzi {
    font-size: 1.05rem;
}

.gl-limit-perm-title-wrap {
    min-width: 0;
    padding-top: 0.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.gl-limit-perm-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.gl-limit-perm-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.gl-limit-perm-tag {
    display: inline-block;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    vertical-align: middle;
}

.gl-limit-perm-switch {
    position: relative;
    flex-shrink: 0;
    width: 2.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #cbd5e1;
    opacity: 0.65;
    cursor: not-allowed;
}

.gl-limit-perm-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    transition: transform 0.15s ease;
}

.gl-limit-perm-switch.is-on {
    background: #059669;
}

.gl-limit-perm-switch.is-on::after {
    transform: translateX(1rem);
}

.gl-limit-perm-desc {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
}

.gl-limit-perm-desc strong {
    color: #334155;
    font-weight: 700;
}

@media (max-width: 980px) {
    .gl-limit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .pnl-page:has(.gl-limit-layout) {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .gl-limit-layout {
        gap: 0.65rem;
    }

    .gl-limit-stack {
        gap: 0.65rem;
    }

    .gl-limit-card {
        border-radius: 12px;
    }

    .gl-limit-head {
        flex-direction: row;
        align-items: center;
        gap: 0.45rem;
        padding: 0.6rem 0.75rem;
    }

    .gl-limit-head-brand {
        flex: 1 1 auto;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
    }

    .gl-limit-head-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 8px;
    }

    .gl-limit-head-icon .rzi {
        font-size: 1.05rem;
    }

    .gl-limit-title {
        font-size: 0.8125rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .gl-limit-sub {
        margin-top: 0.1rem;
        font-size: 0.6875rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .gl-limit-badge {
        padding: 0.2rem 0.45rem;
        font-size: 0.5625rem;
    }

    .gl-limit-badge--student {
        max-width: 36%;
        font-size: 0.625rem;
        padding: 0.22rem 0.45rem;
        letter-spacing: 0;
    }

    .gl-limit-body {
        padding: 0.65rem 0.75rem 0.75rem;
        gap: 0.75rem;
    }

    .gl-limit-mode {
        align-self: stretch;
        width: 100%;
        display: flex;
        padding: 2px;
    }

    .gl-limit-mode-btn {
        flex: 1 1 0;
        min-height: 44px;
        padding: 0.35rem 0.5rem;
        font-size: 0.8125rem;
    }

    .gl-limit-slider-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        margin-bottom: 0.5rem;
    }

    .gl-limit-slider-label {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .gl-limit-value {
        align-self: flex-start;
        padding: 0.3rem 0.55rem;
    }

    .gl-limit-value-input {
        width: 4.25rem;
        font-size: 1rem;
    }

    .gl-limit-presets {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .gl-limit-preset {
        flex: none;
        min-width: 0;
        padding: 0.4rem 0.2rem;
    }

    .gl-limit-preset-amount {
        font-size: 0.8125rem;
    }

    .gl-limit-preset-label {
        font-size: 0.5625rem;
    }

    .gl-limit-hint {
        font-size: 0.6875rem;
        line-height: 1.4;
    }

    .gl-limit-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding: 0.65rem 0.75rem 0.8rem;
    }

    .gl-limit-foot-note {
        font-size: 0.6875rem;
        padding: 0.45rem 0.55rem;
        gap: 0.45rem;
    }

    .gl-limit-foot-note-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .gl-limit-foot-note-icon .material-symbols-outlined {
        font-size: 0.95rem;
    }

    .gl-limit-foot-note-text strong {
        display: inline;
        margin-bottom: 0;
        font-size: inherit;
    }

    .gl-limit-foot-save {
        width: 100%;
        min-height: 44px;
    }

    .gl-limit-features {
        padding: 0.65rem 0.75rem 0.8rem;
    }

    .gl-limit-feature-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .gl-limit-feature {
        padding: 0.65rem 0.7rem;
    }

    .gl-limit-feature-title {
        font-size: 0.8125rem;
    }

    .gl-limit-feature-desc {
        font-size: 0.6875rem;
    }

    .gl-limit-perm-list {
        padding: 0.65rem 0.75rem 0.8rem;
        gap: 0.45rem;
    }

    .gl-limit-perm {
        padding: 0.55rem 0.6rem;
    }

    .gl-limit-perm-title {
        font-size: 0.75rem;
    }

    .gl-limit-perm-title-wrap {
        gap: 0.22rem;
    }

    .gl-limit-perm-desc {
        font-size: 0.6875rem;
    }

    .gl-limit-perm-tag {
        font-size: 0.5rem;
    }
}

/* Sidebar — KantinApp senkron durumu */
.veli-sidebar-sync {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    background: #f4f6f8;
    border: 1px solid #e8ecf1;
    min-width: 0;
}

.veli-sidebar-sync-dot {
    position: relative;
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #16a34a;
}

.veli-sidebar-sync.is-online .veli-sidebar-sync-dot::before {
    content: "";
    position: absolute;
    inset: -0.28rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.28);
    animation: veli-sidebar-sync-pulse 2.2s ease-out infinite;
}

.veli-sidebar-sync.is-stale .veli-sidebar-sync-dot {
    background: #d97706;
}

.veli-sidebar-sync.is-stale .veli-sidebar-sync-dot::before {
    content: "";
    position: absolute;
    inset: -0.22rem;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.22);
}

@keyframes veli-sidebar-sync-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.35;
    }
}

.veli-sidebar-sync-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.veli-sidebar-sync-title {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #334155;
    line-height: 1.25;
}

.veli-sidebar-sync-sub {
    font-size: 0.625rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veli-sidebar-sync-shield {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #94a3b8;
}

.veli-sidebar-sync.is-online .veli-sidebar-sync-shield {
    color: #64748b;
}

.dk-sidebar.dk-collapsed .veli-sidebar-sync {
    justify-content: center;
    padding: 0.5rem 0.35rem;
}

.dk-sidebar.dk-collapsed .veli-sidebar-sync-text,
.dk-sidebar.dk-collapsed .veli-sidebar-sync-shield {
    display: none;
}

/* Ayarlar & profil */
.veli-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0.85rem;
    align-items: start;
}

.veli-profile-main-stack,
.veli-profile-aside-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.veli-profile-card--full {
    grid-column: 1 / -1;
}

.veli-profile-security-lead {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 400;
}

.veli-profile-security-form {
    padding: 0 1rem 1rem;
}

.veli-profile-security-fields {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    /* veli-profile-fields ile aynı yatay iç boşluk */
    padding: 0 1rem;
}

.veli-profile-input--editable {
    background: #fff;
    color: #0f172a;
}

.veli-profile-input--editable:focus {
    outline: 2px solid rgba(19, 83, 211, 0.35);
    outline-offset: 1px;
    border-color: var(--dk-accent, #1353d3);
}

/* Okul kaynaklı, velinin düzenleyemediği alanlar */
.veli-profile-input--readonly {
    background: #eef2f6;
    border-color: #dbe3ec;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.veli-profile-input--readonly:focus {
    outline: none;
    border-color: #dbe3ec;
}

.veli-profile-field--locked .veli-profile-label {
    color: #94a3b8;
}

.veli-profile-label-note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #94a3b8;
}

.veli-profile-security-alert {
    margin: 0.75rem 1rem 0;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
    line-height: 1.4;
}

.veli-profile-validation {
    font-size: 0.75rem;
    color: #b91c1c;
}

.veli-profile-edit-form {
    padding: 0 1rem 1rem;
}

.veli-profile-sync-hint {
    margin: 0.65rem 1rem 0;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    line-height: 1.4;
}

.veli-profile-success-banner {
    margin: 0.65rem 1rem 0;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.78rem;
    line-height: 1.4;
}

.veli-profile-security-alert--inset {
    margin-left: 1rem;
    margin-right: 1rem;
}

.veli-profile-card.rz-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.veli-profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eef2f6;
    background: #fafbfc;
}

.veli-profile-card-head-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
}

.veli-profile-card-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0ff;
    color: var(--dk-accent, #1353d3);
}

.veli-profile-card-icon--shield {
    background: #fef2f2;
    color: #e11d48;
}

.veli-profile-card-icon .rzi {
    font-size: 1.1rem;
}

.veli-profile-card-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.veli-profile-verified {
    flex-shrink: 0;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
}

.veli-profile-soon-badge {
    flex-shrink: 0;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.veli-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
    padding: 0.85rem 1rem 0.65rem;
}

.veli-profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin: 0;
    min-width: 0;
}

.veli-profile-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.veli-profile-input {
    width: 100%;
    min-height: 2.35rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 600;
}

.veli-profile-update-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem 0.85rem;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--dk-accent, #1353d3);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.veli-profile-update-btn:hover:not(:disabled) {
    filter: brightness(1.05);
}

.veli-profile-update-btn:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* Eski «Yakında» mock butonları */
.veli-profile-update-btn:not(.veli-profile-update-btn--active):disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background: #0f766e;
}

.veli-profile-students {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #eef2f6;
    background: #fafbfc;
}

.veli-profile-students--aside {
    border-top: none;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.veli-profile-students-title {
    margin: 0 0 0.55rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.veli-profile-student-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.veli-profile-student-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef2f6;
}

.veli-profile-student-avatar {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    background: #e8f0ff;
    color: var(--dk-accent, #1353d3);
}

.veli-profile-student-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.veli-profile-student-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.veli-profile-student-meta {
    font-size: 0.6875rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veli-profile-student-balance {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.veli-profile-freeze {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    margin: 0.65rem 1rem 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 52%, #fef2f2 100%);
    border: 1px solid #fda4af;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 2px 10px rgba(225, 29, 72, 0.1);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.veli-profile-freeze.is-frozen {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    border-color: #f43f5e;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(244, 63, 94, 0.14),
        0 4px 16px rgba(190, 18, 60, 0.18);
}

.veli-profile-freeze.is-busy {
    opacity: 0.88;
}

.veli-profile-freeze-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

.veli-profile-freeze.is-frozen .veli-profile-freeze-icon {
    background: #fff;
    color: #be123c;
    border-color: #fda4af;
}

.veli-profile-freeze-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.veli-profile-freeze-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.veli-profile-freeze-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.veli-profile-freeze-pill.is-active {
    background: #ffe4e6;
    color: #be123c;
}

.veli-profile-freeze-pill.is-pending {
    background: #ffedd5;
    color: #c2410c;
}

.veli-profile-freeze-desc {
    margin: 0.12rem 0 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #9f1239;
}

.veli-profile-freeze .veli-profile-switch--freeze:not(.is-on) {
    background: #fb7185;
    opacity: 1;
}

.veli-profile-switch {
    position: relative;
    flex-shrink: 0;
    width: 2.35rem;
    height: 1.35rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.veli-profile-switch:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.veli-profile-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    transition: transform 0.15s ease;
}

.veli-profile-switch--freeze.is-on {
    background: #e11d48;
}

.veli-profile-switch.is-on::after,
.veli-profile-switch--freeze.is-on::after {
    transform: translateX(1rem);
}

.veli-profile-freeze-student {
    display: block;
    margin: 0.65rem 1rem 0;
    padding: 0;
}

.veli-profile-freeze-student-select {
    cursor: pointer;
}

.veli-profile-freeze-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.65rem 1rem 0;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    line-height: 1.4;
}

.veli-profile-freeze-callout-icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.05rem;
}

.veli-profile-freeze-callout-text {
    min-width: 0;
}

.veli-profile-freeze-callout-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.veli-profile-freeze-callout-detail {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    opacity: 0.92;
}

.veli-profile-freeze-callout.is-ok {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.veli-profile-freeze-callout.is-ok .veli-profile-freeze-callout-icon {
    color: #059669;
}

.veli-profile-freeze-callout.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.veli-profile-freeze-callout.is-error .veli-profile-freeze-callout-icon {
    color: #dc2626;
}

.veli-profile-freeze-callout.is-pending {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.veli-profile-freeze-callout.is-pending .veli-profile-freeze-callout-icon {
    color: #d97706;
}

.veli-freeze-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.veli-freeze-confirm-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: none;
    background: rgba(15, 23, 42, 0.48);
    cursor: default;
}

.veli-freeze-confirm-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 1.15rem 1.15rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.veli-freeze-confirm-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.veli-freeze-confirm-icon.is-danger {
    color: #e11d48;
}

.veli-freeze-confirm-icon.is-neutral {
    color: var(--dk-accent, #1353d3);
}

.veli-freeze-confirm-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.veli-freeze-confirm-lead {
    margin: 0 0 0.45rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #334155;
}

.veli-freeze-confirm-note {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
}

.veli-freeze-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.veli-freeze-confirm-btn {
    min-height: 2.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.veli-freeze-confirm-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.veli-freeze-confirm-btn--ghost {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.veli-freeze-confirm-btn--ghost:hover:not(:disabled) {
    background: #f1f5f9;
}

.veli-freeze-confirm-btn--danger {
    background: #e11d48;
    color: #fff;
}

.veli-freeze-confirm-btn--danger:hover:not(:disabled) {
    background: #be123c;
}

.veli-freeze-confirm-btn--primary {
    background: var(--dk-accent, #1353d3);
    color: #fff;
}

.veli-freeze-confirm-btn--primary:hover:not(:disabled) {
    filter: brightness(0.95);
}

@media (max-width: 980px) {
    .veli-profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .veli-profile-fields {
        grid-template-columns: 1fr;
        padding: 0.65rem 0.75rem 0.55rem;
    }

    .veli-profile-security-fields {
        padding: 0 0.75rem;
    }

    .veli-profile-card-head {
        padding: 0.65rem 0.75rem;
    }

    .veli-profile-update-btn {
        margin: 0 0.75rem 0.65rem;
        width: calc(100% - 1.5rem);
    }

    .veli-profile-freeze {
        margin: 0.65rem 0.75rem;
    }

    .veli-profile-students {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .veli-profile-edit-form .veli-profile-submit-btn,
    .veli-profile-security-form .veli-profile-submit-btn {
        margin-left: 0.75rem;
        width: calc(100% - 0.75rem);
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Profil / güvenlik kaydet — pasif mock stillerinden ayrı, yüksek özgüllük */
.veli-profile-edit-form .veli-profile-submit-btn,
.veli-profile-security-form .veli-profile-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Form padding + alan padding ile input sol hizası (1rem + 1rem) */
    margin: 0 0 0.85rem 1rem;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 8px;
    background: var(--dk-accent, #1353d3);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.veli-profile-edit-form .veli-profile-submit-btn:hover:not(:disabled),
.veli-profile-security-form .veli-profile-submit-btn:hover:not(:disabled) {
    filter: brightness(1.06);
}

.veli-profile-edit-form .veli-profile-submit-btn:disabled,
.veli-profile-security-form .veli-profile-submit-btn:disabled {
    opacity: 0.68;
    cursor: wait;
}
