.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(225, 29, 72, 0.08), transparent 28rem),
        radial-gradient(circle at 8% 8%, rgba(15, 98, 201, 0.06), transparent 24rem),
        #f7f9fb;
    color: #1f2937;
}

body.sidebar-open {
    overflow: hidden;
}

h1,
h2,
h3,
.metric-value,
.font-headline {
    font-family: "Manrope", sans-serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

::selection {
    background: rgba(15, 98, 201, 0.18);
    color: #1f2937;
}

pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.app-shell {
    min-height: 100vh;
}

.app-shell__overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.app-shell__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    height: 100vh;
    width: 18rem;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.25rem 1.25rem;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(24px);
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 40px 0 60px -15px rgba(15, 23, 42, 0.05);
}

.app-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0 0.6rem;
    margin-bottom: 0.9rem;
}

.app-sidebar__brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.12), rgba(255, 255, 255, 0.92));
    color: #be123c;
    box-shadow: 0 16px 32px -20px rgba(190, 24, 93, 0.55);
}

.app-sidebar__brand-title {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.app-sidebar__brand-subtitle {
    color: #e11d48;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.app-sidebar__nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
}

.app-nav-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem 1rem;
    color: #64748b;
    border-radius: 1rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.app-nav-item:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    transform: translateX(2px);
}

.app-nav-item--active {
    background: rgba(225, 29, 72, 0.09);
    color: #be123c;
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.08), 0 12px 24px -20px rgba(190, 18, 60, 0.6);
}

.app-sidebar__profile {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85);
}

.app-sidebar__profile-title {
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.app-sidebar__profile-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.app-sidebar__avatar {
    display: flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
}

.app-sidebar__logout {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0.9rem;
    background: #fff;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    transition: background 0.18s ease;
}

.app-sidebar__logout:hover {
    background: #f1f5f9;
}

.app-main {
    margin-left: 18rem;
    min-height: 100vh;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.app-topbar__search {
    position: relative;
    flex: 1;
    max-width: 42rem;
}

.app-topbar__meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #64748b;
}

.app-live-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.86);
    color: #be123c;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-icon-button,
.app-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 222, 232, 0.95);
    background: rgba(255, 255, 255, 0.86);
    color: #64748b;
    transition: color 0.18s ease, background 0.18s ease;
}

.app-icon-button:hover,
.app-mobile-toggle:hover {
    color: #0f172a;
    background: #fff;
}

.app-content {
    padding: 2rem 2rem 3rem;
}

.app-content h1 {
    color: #0f172a;
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.app-content h2 {
    color: #0f172a;
    letter-spacing: -0.025em;
}

.app-content h3 {
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* ─── Sayfa Başlığı (page-hd) ──────────────────────────── */
.page-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.page-hd__left { flex: 1; min-width: 0; }

.page-hd__eye {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.08);
    color: #be123c;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.page-hd__title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.page-hd__sub {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 52rem;
}

.page-hd__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ─── Butonlar (btn) ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1.15rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(15, 23, 42, 0.2); }

.btn--dark    { background: #0f172a; color: #fff; }
.btn--blue    { background: rgba(15, 98, 201, 0.1); color: #0f62c9; border: 1px solid rgba(15,98,201,0.2); }
.btn--danger  { background: rgba(225, 29, 72, 0.09); color: #be123c; border: 1px solid rgba(225,29,72,0.18); }
.btn--ghost   { background: rgba(255,255,255,0.88); color: #475569; border: 1px solid rgba(209,218,230,0.95); }
.btn--sm      { padding: 0.45rem 0.85rem; font-size: 0.72rem; border-radius: 0.55rem; }

/* ─── KPI Metric Kartlar ─────────────────────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(209, 218, 230, 0.9);
    background: rgba(255, 255, 255, 0.92);
    padding: 1.4rem 1.4rem 1.25rem 1.75rem;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.18);
}

.kpi-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    border-radius: 4px 0 0 4px;
    background: #e2e8f0;
}

.kpi-card--danger::before  { background: linear-gradient(180deg, #e11d48, #f43f5e); }
.kpi-card--warning::before { background: linear-gradient(180deg, #f59e0b, #fbbf24); }
.kpi-card--success::before { background: linear-gradient(180deg, #10b981, #34d399); }
.kpi-card--info::before    { background: linear-gradient(180deg, #0f62c9, #3b82f6); }

.kpi-card--danger  { background: linear-gradient(135deg, rgba(254,242,242,0.8), rgba(255,255,255,0.95)); }
.kpi-card--warning { background: linear-gradient(135deg, rgba(255,251,235,0.8), rgba(255,255,255,0.95)); }
.kpi-card--success { background: linear-gradient(135deg, rgba(240,253,244,0.8), rgba(255,255,255,0.95)); }
.kpi-card--info    { background: linear-gradient(135deg, rgba(239,246,255,0.8), rgba(255,255,255,0.95)); }

.kpi-label {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}

.kpi-value {
    font-family: "Manrope", sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.kpi-note {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.5;
}

.kpi-note strong { color: #0f172a; font-weight: 800; }

/* ─── Veri Paneli (dp) ───────────────────────────────────── */
.dp {
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(209, 218, 230, 0.9);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.14);
}

.dp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.dp__eye {
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.dp__title {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.dp__sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.15rem;
    line-height: 1.5;
}

.dp__link {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #be123c;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.dp__link:hover { opacity: 0.7; color: #be123c; }

.dp__body { padding: 1.25rem 1.5rem; }
.dp__body--flush { padding: 0; }
.dp__body--sm { padding: 0.9rem 1.25rem; }

.inventory-panel-head {
    align-items: flex-start;
    flex-wrap: wrap;
}

.inventory-filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inventory-filter__segments {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.85);
}

.inventory-filter__segment {
    border: 0;
    border-right: 1px solid rgba(226, 232, 240, 0.95);
    background: transparent;
    padding: 0.58rem 0.75rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    white-space: nowrap;
}

.inventory-filter__segment:last-child {
    border-right: 0;
}

.inventory-filter__segment.is-active {
    background: #0f172a;
    color: #fff;
}

.inventory-filter__select {
    min-width: 13rem;
    max-width: 18rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.58rem 0.75rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.inventory-table th,
.inventory-table td {
    padding: 0.78rem 1.15rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    font-size: 0.78rem;
}

.inventory-table td {
    color: #64748b;
    font-weight: 650;
}

.inventory-table__product {
    display: block;
    max-width: 26rem;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.83rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.inventory-table__empty {
    padding: 2rem !important;
    text-align: center;
    color: #94a3b8 !important;
}

/* ─── Durum Etiketleri (badge) ───────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.badge--danger  { background: rgba(225,29,72,0.1);   color: #be123c; }
.badge--warning { background: rgba(245,158,11,0.12); color: #b45309; }
.badge--success { background: rgba(16,185,129,0.1);  color: #065f46; }
.badge--info    { background: rgba(15,98,201,0.1);   color: #1e40af; }
.badge--neutral { background: rgba(148,163,184,0.12);color: #475569; }
.badge--lg      { padding: 0.4rem 0.9rem; font-size: 0.7rem; }

/* ─── Liste/Feed Satırları (item-row) ────────────────────── */
.item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(226,232,240,0.9);
    background: rgba(248,250,252,0.72);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.item-row:hover {
    background: rgba(255,255,255,0.95);
    border-color: rgba(209,218,230,0.95);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -10px rgba(15,23,42,0.1);
}

a.item-row:hover { color: inherit; }

.item-row--danger  { border-left: 3px solid #e11d48; padding-left: 0.85rem; }
.item-row--warning { border-left: 3px solid #f59e0b; padding-left: 0.85rem; }
.item-row--success { border-left: 3px solid #10b981; padding-left: 0.85rem; }
.item-row--info    { border-left: 3px solid #0f62c9; padding-left: 0.85rem; }

.item-row__icon {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    border-radius: 0.55rem;
    background: rgba(226,232,240,0.5);
    color: #64748b;
}

.item-row__body  { flex: 1; min-width: 0; }
.item-row__title { font-size: 0.88rem; font-weight: 700; color: #0f172a; line-height: 1.35; }
.item-row__meta  { margin-top: 0.2rem; font-size: 0.72rem; color: #64748b; line-height: 1.5; }
.item-row__aside { flex-shrink: 0; text-align: right; }

/* ─── Veri Tabloları (dtable) ────────────────────────────── */
.dtable {
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(209,218,230,0.9);
    background: rgba(255,255,255,0.94);
    box-shadow: 0 10px 28px -18px rgba(15,23,42,0.12);
}

.dtable__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid rgba(226,232,240,0.9);
    background: rgba(248,250,252,0.5);
}

.dtable__scroll { overflow-x: auto; }

.dtable table { width: 100%; border-collapse: collapse; }

.dtable thead tr {
    background: rgba(241,245,249,0.7);
    border-bottom: 1px solid rgba(226,232,240,0.9);
}

.dtable th {
    padding: 0.75rem 1.25rem;
    font-size: 0.58rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8 !important;
    text-align: left;
    white-space: nowrap;
}

.dtable td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(241,245,249,0.9);
    font-size: 0.83rem;
    color: #0f172a;
}

.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover { background: rgba(248,250,252,0.6); }
.dtable .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.dtable .muted { color: #94a3b8; }

/* ─── Boş Durumlar (empty-state) ────────────────────────── */
.empty-state {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3rem 2rem; text-align: center;
}

.empty-state__icon {
    display: flex; align-items: center; justify-content: center;
    width: 3.2rem; height: 3.2rem;
    border-radius: 1rem;
    background: rgba(226,232,240,0.6);
    color: #94a3b8;
    margin-bottom: 0.9rem;
}

.empty-state__title {
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem; font-weight: 800;
    color: #0f172a; margin-bottom: 0.35rem;
}

.empty-state__note {
    font-size: 0.8rem; color: #64748b;
    line-height: 1.65; max-width: 26rem;
}

/* ─── Izgara Yardımcıları ─────────────────────────────────── */
.pg { display: grid; gap: 1.25rem; }
.pg--2   { grid-template-columns: repeat(2, minmax(0,1fr)); }
.pg--3   { grid-template-columns: repeat(3, minmax(0,1fr)); }
.pg--4   { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pg--7-5 { grid-template-columns: 7fr 5fr; }
.pg--5-7 { grid-template-columns: 5fr 7fr; }
.pg--3-2 { grid-template-columns: 3fr 2fr; }

/* ─── Bölüm Spacer ───────────────────────────────────────── */
.section { margin-bottom: 1.5rem; }
.section + .section { margin-top: 0; }

/* ─── Satır bant rengi ───────────────────────────────────── */
.zebra tbody tr:nth-child(even) { background: rgba(248,250,252,0.4); }

/* ─── Detay açma ─────────────────────────────────────────── */
details.dp-details summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1.25rem;
    cursor: pointer; list-style: none;
    font-size: 0.85rem; font-weight: 700; color: #0f172a;
    border-radius: 0.85rem;
    background: rgba(248,250,252,0.7);
    border: 1px solid rgba(226,232,240,0.9);
    transition: background 0.15s;
}

details.dp-details summary:hover { background: rgba(255,255,255,0.95); }
details.dp-details summary::after {
    content: "expand_more";
    font-family: "Material Symbols Outlined";
    font-size: 18px; color: #94a3b8;
    transition: transform 0.2s;
}

details.dp-details[open] summary::after { transform: rotate(180deg); }

details.dp-details .dp-details__body {
    margin-top: 0.5rem;
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(248,250,252,0.7);
}

details.dp-details .dp-details__body pre {
    padding: 1rem 1.25rem;
    font-size: 0.72rem;
    line-height: 1.7;
    color: #475569;
    overflow-x: auto;
}

/* ─── Cron Adımı ─────────────────────────────────────────── */
.cron-step {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(226,232,240,0.9);
    background: rgba(248,250,252,0.7);
}

.cron-step__time {
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: #0f172a;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.3rem 0.55rem;
    letter-spacing: 0.04em;
    margin-top: 1px;
}

.cron-step__name { font-size: 0.82rem; font-weight: 700; color: #0f172a; }
.cron-step__desc { font-size: 0.7rem; color: #64748b; margin-top: 0.1rem; }

/* ─── Ölçü çubuğu (quality-bar) ─────────────────────────── */
.qbar { margin-bottom: 1rem; }
.qbar__header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.qbar__label { font-size: 0.72rem; font-weight: 700; color: #475569; }
.qbar__value { font-size: 0.72rem; font-weight: 800; color: #0f172a; }
.qbar__track {
    height: 6px; border-radius: 999px;
    background: rgba(226,232,240,0.8);
    overflow: hidden;
}

.qbar__fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.6s ease;
}

.qbar__fill--warn  { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.qbar__fill--danger{ background: linear-gradient(90deg, #e11d48, #f43f5e); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1279px) {
    .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .pg--2, .pg--3, .pg--4, .pg--7-5, .pg--5-7, .pg--3-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .kpi-grid { grid-template-columns: 1fr; }
    .app-content { padding: 1rem 0.85rem 2rem; }
    .dp__body { padding: 1rem; }
    .dp__head { padding: 1rem; }
}

/* ─── .app-content override eski stiller ─────────────────── */
.app-content > .mx-auto > .page-hd {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(209,218,230,0.95);
    border-radius: 24px;
    padding: 24px 28px;
    background:
        radial-gradient(circle at top right, rgba(225,29,72,0.09), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.93));
    box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}

.app-content > .mx-auto > .page-hd::before {
    content: "";
    position: absolute;
    left: 0; top: 24px;
    width: 5px; height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e11d48, #f43f5e);
}

/* ─── Eski .mb-10 compat ─────────────────────────────────── */
.app-content > .mx-auto > .mb-10:first-child {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(209,218,230,0.95);
    border-radius: 24px;
    padding: 24px 28px;
    background:
        radial-gradient(circle at top right, rgba(225,29,72,0.09), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.93));
    box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}

.app-content > .mx-auto > .mb-10:first-child::before {
    content: "";
    position: absolute;
    left: 0; top: 24px;
    width: 5px; height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e11d48, #f43f5e);
}

.app-content .shadow-panel { box-shadow: 0 14px 36px -22px rgba(15,23,42,0.2); }
.app-content .bg-surface { background: rgba(255,255,255,0.92); }
.app-content .bg-surface-card, .app-content .bg-surface-container-lowest { background: rgba(248,250,252,0.72); }
.app-content .border-outline { border-color: rgba(209,218,230,0.95); }
.app-content .border-outline-variant,
.app-content .divide-outline-variant > :not([hidden]) ~ :not([hidden]) { border-color: rgba(226,232,240,0.92); }
.app-content .rounded-\[24px\], .app-content .rounded-xl { border-radius: 1.15rem; }
.app-content .rounded-\[22px\] { border-radius: 1rem; }
.app-content table { border-collapse: collapse; }
.app-content thead { background: rgba(241,245,249,0.72); }
.app-content th { color: #94a3b8 !important; font-size: 0.6rem !important; font-weight: 900 !important; letter-spacing: 0.18em !important; text-transform: uppercase; }
.app-content tbody tr { transition: background 0.16s ease; }
.app-content tbody tr:hover { background: rgba(248,250,252,0.6); }
.app-content a { transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease; }
.app-content a:hover { color: #be123c; }
.app-content button { transition: opacity 0.16s ease, background 0.16s ease, transform 0.16s ease; }
.app-content button:hover, .app-content a[class*="inline-flex"]:hover { transform: translateY(-1px); }
.app-content a.item-row:hover, .app-content a.dp__link:hover, .app-content a.btn:hover { color: inherit; }

.app-content .shadow-panel {
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, 0.22);
}

.app-content .bg-surface {
    background: rgba(255, 255, 255, 0.92);
}

.app-content .bg-surface-card,
.app-content .bg-surface-container-lowest {
    background: rgba(248, 250, 252, 0.72);
}

.app-content .border-outline {
    border-color: rgba(209, 218, 230, 0.95);
}

.app-content .border-outline-variant,
.app-content .divide-outline-variant > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(226, 232, 240, 0.92);
}

.app-content .rounded-\[24px\],
.app-content .rounded-xl {
    border-radius: 1.2rem;
}

.app-content .rounded-\[22px\] {
    border-radius: 1.05rem;
}

.app-content table {
    border-collapse: collapse;
}

.app-content thead {
    background: rgba(241, 245, 249, 0.72);
}

.app-content th {
    color: #94a3b8 !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
}

.app-content tbody tr {
    transition: background 0.16s ease;
}

.app-content tbody tr:hover {
    background: rgba(248, 250, 252, 0.6);
}

.app-content a {
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.app-content a:hover {
    color: #be123c;
}

.app-content button {
    transition: opacity 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.app-content button:hover,
.app-content a[class*="inline-flex"]:hover {
    transform: translateY(-1px);
}

.inventory-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(209, 218, 230, 0.95);
    border-radius: 32px;
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(225, 29, 72, 0.14), transparent 26%),
        radial-gradient(circle at 16% 18%, rgba(241, 180, 76, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.inventory-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 98, 201, 0.08);
    color: #0f62c9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.inventory-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.inventory-stat-card {
    border: 1px solid rgba(209, 218, 230, 0.95);
    border-radius: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.inventory-stat-card--warning {
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.95), rgba(255, 255, 255, 0.95));
}

.inventory-stat-card--danger {
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.95), rgba(255, 255, 255, 0.95));
}

.inventory-stat-card--neutral {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.inventory-stat-card--muted {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.95));
}

.inventory-stat-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inventory-stat-value {
    margin-top: 14px;
    color: #0f172a;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.inventory-stat-note {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.inventory-panel {
    overflow: hidden;
    border: 1px solid rgba(209, 218, 230, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.inventory-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 28px 8px;
}

.inventory-panel__intro {
    padding: 0 28px 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.inventory-risk-card {
    display: block;
    border: 1px solid rgba(209, 218, 230, 0.9);
    border-radius: 22px;
    padding: 18px;
    background: rgba(248, 250, 252, 0.74);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.inventory-risk-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 98, 201, 0.22);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.inventory-risk-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.inventory-risk-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
}

.inventory-risk-card__metrics strong {
    color: #0f172a;
    font-weight: 800;
}

.inventory-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.inventory-badge--warning {
    background: rgba(241, 180, 76, 0.16);
    color: #b87009;
}

.inventory-badge--danger {
    background: rgba(244, 63, 94, 0.12);
    color: #be123c;
}

.inventory-badge--muted {
    background: rgba(148, 163, 184, 0.12);
    color: #475569;
}

.inventory-empty-state {
    border: 1px dashed rgba(191, 202, 216, 0.95);
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(255, 255, 255, 0.96));
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.inventory-empty-state__title {
    margin-bottom: 6px;
    color: #0f172a;
    font-weight: 700;
}

.inventory-two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inventory-table thead {
    background: rgba(241, 245, 249, 0.8);
}

.inventory-inline-link {
    transition: color 0.16s ease;
}

.inventory-inline-link:hover {
    color: #0f62c9;
}

.inventory-page-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.inventory-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.inventory-summary-card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.03);
    border-bottom: 2px solid #e2e8f0;
}

.inventory-summary-card--rose { border-bottom-color: #e11d48; }
.inventory-summary-card--amber { border-bottom-color: #f59e0b; }
.inventory-summary-card--slate { border-bottom-color: #94a3b8; }
.inventory-summary-card--soft { border-bottom-color: #b80035; }

.inventory-summary-card__label {
    margin-bottom: 0.35rem;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.inventory-summary-card__row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.inventory-summary-card__value {
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
}

.inventory-summary-card__note {
    margin-bottom: 0.2rem;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.inventory-section {
    margin-bottom: 2.5rem;
}

.inventory-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.inventory-section__head--filters {
    align-items: flex-end;
}

.inventory-section__title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inventory-section__bar {
    width: 0.5rem;
    height: 2rem;
    border-radius: 999px;
    background: #e11d48;
}

.inventory-section__link {
    color: #b80035;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.inventory-filter-form {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inventory-filter-form label {
    display: grid;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inventory-filter-form input {
    min-width: 10.5rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.68rem 0.8rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
}

.inventory-filter-form button,
.inventory-filter-form a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    border-radius: 0.7rem;
    padding: 0.68rem 0.95rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.inventory-filter-form button {
    background: #0f172a;
    color: #ffffff;
}

.inventory-filter-form a {
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.95);
    color: #64748b;
}

.inventory-data-table,
.inventory-panel--tablelike {
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.1);
}

.inventory-data-table__scroll,
.inventory-mini-table {
    overflow-x: auto;
}

.inventory-data-table table,
.inventory-mini-table table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-data-table thead tr,
.inventory-mini-table thead tr {
    background: rgba(241, 245, 249, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.inventory-data-table th,
.inventory-mini-table th {
    padding: 1rem 1.2rem;
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
}

.inventory-data-table td,
.inventory-mini-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    font-size: 0.82rem;
    color: #0f172a;
}

.inventory-data-table tbody tr:hover,
.inventory-mini-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.55);
}

.inventory-product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.inventory-product-cell__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    background: #f1f5f9;
    color: #64748b;
}

.inventory-product-cell__name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}

.inventory-product-cell__meta,
.inventory-mini-product__sku,
.inventory-inline-soft {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 600;
}

.inventory-risk-number {
    font-style: italic;
    font-weight: 900;
}

.inventory-risk-number--danger {
    color: #e11d48;
}

.inventory-split-grid,
.inventory-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.inventory-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inventory-panel--stack {
    padding: 0.75rem;
}

.inventory-panel__header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.2rem 1.2rem 0.8rem;
}

.inventory-compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inventory-compact-list__item {
    border-left: 4px solid #ba1a1a;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.95rem 1rem;
}

.inventory-compact-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.inventory-compact-list__meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.inventory-compact-list__status {
    border-radius: 0.55rem;
    background: #f1f5f9;
    padding: 0.2rem 0.45rem;
    color: #0f172a;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.inventory-action-label {
    color: #b80035;
    font-size: 0.65rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inventory-empty-state--table {
    margin: 0.75rem;
}

.inventory-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.2rem 1.1rem;
    border-top: 1px solid rgba(241, 245, 249, 0.95);
    background: rgba(248, 250, 252, 0.45);
}

.inventory-pagination--inside {
    margin-top: 0.4rem;
    padding: 0.9rem 0.3rem 0.2rem;
    border-top: 0;
    background: transparent;
}

.inventory-pagination__meta {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.inventory-pagination__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.inventory-pagination__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.3rem;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.16s ease, transform 0.16s ease;
}

.inventory-pagination__button:hover {
    background: #fff5f7;
    transform: translateY(-1px);
}

@media (max-width: 1279px) {
    .inventory-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inventory-summary-grid,
    .inventory-split-grid,
    .inventory-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

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

    .app-main {
        margin-left: 0;
    }

    .app-topbar {
        padding: 1rem 1rem 0.85rem;
    }

    .app-topbar__search {
        max-width: none;
    }

    .app-content {
        padding: 1.25rem 1rem 2rem;
    }
}

@media (max-width: 767px) {
    .inventory-hero {
        padding: 22px;
        border-radius: 26px;
    }

    .inventory-stat-grid,
    .inventory-two-column-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .inventory-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .inventory-panel__head {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 22px 8px;
    }

    .inventory-panel__intro {
        padding: 0 22px 18px;
    }

    .inventory-section__head,
    .inventory-panel__header-compact,
    .inventory-compact-list__row,
    .inventory-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-data-table th,
    .inventory-data-table td,
    .inventory-mini-table th,
    .inventory-mini-table td {
        padding: 0.85rem;
    }

    .app-topbar {
        flex-wrap: wrap;
        align-items: center;
    }

    .app-topbar__search {
        order: 3;
        flex-basis: 100%;
    }

    .app-topbar__meta {
        margin-left: auto;
    }
}
