﻿/* Ana sayfa durum paneli */
.dash-home-loading {
    margin: 0;
    padding: 0.65rem 0.15rem;
    font-size: 0.8125rem;
    color: #64748b;
}
.dash-home {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.dash-home__tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .dash-home__tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .dash-home__tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1400px) {
    .dash-home__tiles { grid-template-columns: repeat(6, 1fr); }
}

.ht-card {
    display: flex;
    flex-direction: column;
    min-height: 8.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ht-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.ht-card__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    color: #fff;
    min-height: 3.4rem;
}
.ht-card__total {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.ht-card__title {
    font-size: 0.85rem;
    font-weight: 650;
    opacity: 0.95;
}
.ht-card__body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    color: #475569;
    flex: 1;
}
.ht-card__foot {
    padding: 0.55rem 1rem;
    background: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 650;
    color: #334155;
    border-top: 1px solid #e2e8f0;
}
.ht-card--blue .ht-card__head { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.ht-card--gib .ht-card__head { background: linear-gradient(135deg, #0284c7, #0369a1); }
.ht-card--orange .ht-card__head { background: linear-gradient(135deg, #ea580c, #c2410c); }
.ht-card--green .ht-card__head { background: linear-gradient(135deg, #15803d, #166534); }
.ht-card--lime .ht-card__head { background: linear-gradient(135deg, #65a30d, #4d7c0f); }
.ht-card--pink .ht-card__head { background: linear-gradient(135deg, #db2777, #be185d); }
.ht-card--navy .ht-card__head { background: linear-gradient(135deg, #1e3a8a, #1e40af); }
.ht-card--purple .ht-card__head { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ht-card--violet .ht-card__head { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.ht-card--teal .ht-card__head { background: linear-gradient(135deg, #0d9488, #0f766e); }
.ht-card--slate .ht-card__head { background: linear-gradient(135deg, #475569, #334155); }
.ht-card--indigo .ht-card__head { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.ht-card--sky .ht-card__head { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.ht-card--duyuru .ht-card__total--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0;
}
.ht-card--duyuru .ht-card__total--icon svg {
    width: 1.2rem;
    height: 1.2rem;
}
.ht-card__duyuru-title {
    flex-basis: 100%;
    font-weight: 700;
    color: #0f172a;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ht-card__duyuru-text {
    flex-basis: 100%;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
}
.ht-card__duyuru-media {
    flex-basis: 100%;
    margin-top: 0.15rem;
    border-radius: 0.45rem;
    overflow: hidden;
    max-height: 3.25rem;
    background: #e0f2fe;
}
.ht-card__duyuru-media img {
    display: block;
    width: 100%;
    height: 3.25rem;
    object-fit: cover;
}

.ht-card__meter {
    display: flex;
    height: 0.35rem;
    width: 100%;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
    margin-top: 0.15rem;
}
.ht-card__meter i { display: block; height: 100%; min-width: 0; }
.ht-card__meter-ok { background: #16a34a; }
.ht-card__meter-wait { background: #eab308; }
.ht-card__meter-err { background: #ef4444; }
.ht-card__meter-rest { background: #94a3b8; }
.ht-card__body span { white-space: nowrap; }

.ht-ok { color: #15803d; font-weight: 650; }
.ht-warn { color: #c2410c; font-weight: 650; }
.ht-err { color: #dc2626; font-weight: 650; }
.ht-info { color: #1d4ed8; font-weight: 650; }
.ht-muted { color: #64748b; }

/* Kompakt beyanname durum paneli */
.dash-home-durum-compact { overflow: hidden; }
.dash-home-durum__head--compact {
    padding: 0.65rem 0.85rem;
}
.dash-home-durum__head--compact .dash-home-durum__title {
    font-size: 0.88rem;
}
.dash-home-durum__summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    padding: 0 0.85rem 0.65rem;
}
@media (min-width: 640px) {
    .dash-home-durum__summary { grid-template-columns: repeat(4, 1fr); }
}
.ht-kpi {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.ht-kpi__val {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}
.ht-kpi__lbl {
    font-size: 0.62rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}
.ht-kpi--ok { border-color: rgba(22, 163, 74, 0.25); background: rgba(22, 163, 74, 0.06); }
.ht-kpi--ok .ht-kpi__val { color: #15803d; }
.ht-kpi--wait { border-color: rgba(234, 179, 8, 0.35); background: rgba(234, 179, 8, 0.08); }
.ht-kpi--wait .ht-kpi__val { color: #a16207; }
.ht-kpi--err { border-color: rgba(239, 68, 68, 0.25); background: rgba(239, 68, 68, 0.06); }
.ht-kpi--err .ht-kpi__val { color: #dc2626; }
.ht-kpi--rest .ht-kpi__val { color: #475569; }

.dash-home-durum__viz {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 0.85rem 0.75rem;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
@media (min-width: 768px) {
    .dash-home-durum__viz {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}
.dash-home-donut {
    display: flex;
    justify-content: center;
}
.ht-donut {
    position: relative;
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.ht-donut--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
}
.ht-donut__center {
    position: absolute;
    inset: 22%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.8);
}
.ht-donut__pct {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}
.ht-donut__lbl {
    margin-top: 0.1rem;
    font-size: 0.58rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
}

.dash-home-chart-inline { min-width: 0; }
.ht-hbars {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ht-hbar {
    display: grid;
    grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr) 2.4rem;
    align-items: center;
    gap: 0.5rem;
}
.ht-hbar__code {
    font-size: 0.68rem;
    font-weight: 750;
    color: #334155;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ht-hbar__track,
.ht-type-row__bar {
    display: flex;
    height: 0.42rem;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}
.ht-hbar__track i,
.ht-type-row__bar i {
    display: block;
    height: 100%;
    min-width: 0;
}
.ht-hbar__ok, .ht-type-row__bar .ht-hbar__ok { background: #16a34a; }
.ht-hbar__wait, .ht-type-row__bar .ht-hbar__wait { background: #eab308; }
.ht-hbar__err, .ht-type-row__bar .ht-hbar__err { background: #ef4444; }
.ht-hbar__rest, .ht-type-row__bar .ht-hbar__rest { background: #cbd5e1; }
.ht-hbar__pct {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-align: right;
}

.dash-home-durum__list {
    padding: 0.35rem 0.85rem 0.65rem;
    max-height: 14rem;
    overflow: auto;
}
.ht-type-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ht-type-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f8fafc;
}
.ht-type-row__main {
    min-width: 0;
}
.ht-type-row__main strong {
    display: block;
    font-size: 0.72rem;
    color: #0f172a;
}
.ht-type-row__main span {
    display: block;
    font-size: 0.62rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ht-type-row__nums {
    display: flex;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
}
.ht-type-row__pct {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    min-width: 2rem;
    text-align: right;
}
.ht-type-more {
    display: block;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.45rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.45rem;
    background: #f8fafc;
    font-size: 0.72rem;
    font-weight: 650;
    color: #0f766e;
    cursor: pointer;
}
.ht-type-more:hover { background: rgba(13, 148, 136, 0.08); }
.dash-home-empty--inline {
    padding: 0.5rem 0;
    text-align: left;
}

.dash-home-durum__head,
.dash-home-chart__head,
.dash-home-today__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #fff);
}
.dash-home-durum__title,
.dash-home-chart__title,
.dash-home-today__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 750;
    color: #0f172a;
}
.dash-home-durum__sub {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}
.dash-home-durum__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    font-size: 0.68rem;
    color: #64748b;
}
.dash-home-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    margin-right: 0.25rem;
    vertical-align: middle;
}
.dash-home-dot--ok { background: #16a34a; }
.dash-home-dot--wait { background: #eab308; }
.dash-home-dot--err { background: #ef4444; }
.dash-home-dot--rest { background: #cbd5e1; }

.dash-home-durum__table-wrap {
    overflow: auto;
    max-height: 22rem;
    overscroll-behavior: contain;
}
.dash-home-chart__body {
    padding: 1rem 0.75rem 0.5rem;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 18rem;
    overscroll-behavior: contain;
}
.dash-home-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}
.dash-home-table th,
.dash-home-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    white-space: nowrap;
}
.dash-home-table th {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
}
.dash-home-table__sub {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
}
.ht-progress {
    display: inline-block;
    vertical-align: middle;
    width: 4.5rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-right: 0.35rem;
}
.ht-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: inherit;
}
.ht-progress__pct {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 650;
}

.ht-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    min-height: 12rem;
    padding-bottom: 0.25rem;
}
.ht-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.6rem;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.ht-bar__stack {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    width: 1.65rem;
    border-radius: 0.35rem 0.35rem 0 0;
    overflow: hidden;
    background: #f1f5f9;
}
.ht-bar__ok { display: block; background: #16a34a; width: 100%; }
.ht-bar__wait { display: block; background: #eab308; width: 100%; }
.ht-bar__rest { display: block; background: #cbd5e1; width: 100%; }
.ht-bar__val {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 750;
    color: #0f172a;
}
.ht-bar__lbl {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    color: #64748b;
    transform: rotate(-38deg);
    transform-origin: top center;
    max-width: 3.5rem;
    text-align: center;
    line-height: 1.1;
}

.dash-home-today__badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.dash-home-today__list {
    padding: 0;
}
.dash-home-today__scroll {
    max-height: 14.5rem;
    overflow: auto;
    overscroll-behavior: contain;
}
.dash-home-today-row {
    display: grid;
    grid-template-columns: 0.45rem 1fr;
    align-items: start;
    gap: 0.55rem;
    width: 100%;
    padding: 0.45rem 0.85rem;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.dash-home-today-row:last-child { border-bottom: 0; }
.dash-home-today-row:hover { background: rgba(13, 148, 136, 0.06); }
.dash-home-today-row__dot {
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: #94a3b8;
}
.dash-home-today-row__dot--not { background: #0284c7; }
.dash-home-today-row__dot--ajanda { background: #db2777; }
.dash-home-today-row__dot--hatirlatma { background: #ea580c; }
.dash-home-today-row__dot--vergi { background: #1d4ed8; }
.dash-home-today-row__dot--sgk { background: #0f766e; }
.dash-home-today-row__dot--tebligat { background: #b45309; }
.dash-home-today-row__dot--ozel { background: #7c3aed; }
.dash-home-today-row__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.dash-home-today-row__title {
    font-size: 0.78rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-home-today-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: #64748b;
}
.dash-home-today-row__tag {
    font-weight: 700;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.1);
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
}
.dash-home-today-row__who {
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-home-empty {
    margin: 0;
    padding: 1rem;
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: center;
}

.dash-home-durum__donem-pill {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
    background: #ccfbf1;
    vertical-align: middle;
}
.dash-home-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    margin-left: 0.25rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    cursor: help;
}
.dash-home-table__row--click { cursor: pointer; }
.dash-home-table__row--click:hover { background: #f0fdfa; }
.dash-widget--durum-kontrol {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.dash-home-genel { overflow: hidden; }

.dash-home-servis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 900px) {
    .dash-home-servis { grid-template-columns: repeat(3, 1fr); }
}
.ht-svc {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ht-svc:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}
.ht-svc:disabled,
.ht-svc[disabled] { cursor: default; opacity: 0.92; }
.ht-svc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #fff;
}
.ht-svc--sgk .ht-svc__head { background: linear-gradient(135deg, #059669, #047857); }
.ht-svc--iskur .ht-svc__head { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ht-svc--edefter .ht-svc__head { background: linear-gradient(135deg, #ea580c, #c2410c); }
.ht-svc__title { font-size: 0.95rem; font-weight: 750; }
.ht-svc__donem { font-size: 0.72rem; opacity: 0.9; }
.ht-svc__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0 1rem;
}
.ht-svc__metrics strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.ht-svc__metrics span {
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ht-svc__foot {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem 0.85rem;
    font-size: 0.72rem;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.ht-svc__foot .ht-progress { margin-left: auto; }

/* Verilmemiş mükellef / e-defter modal */
.dash-missing-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.dash-missing-modal.hidden { display: none; }
.dash-missing-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.dash-missing-modal__panel {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    max-height: min(88vh, 900px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}
.dash-missing-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: #1e3a5f;
    color: #fff;
}
.dash-missing-modal__head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}
.dash-missing-modal__x {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}
.dash-missing-modal__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.25rem;
}
.dash-missing-dl {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 0.45rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 650;
    cursor: pointer;
}
.dash-missing-dl--xls { border-color: #86efac; color: #166534; background: #f0fdf4; }
.dash-missing-dl--pdf { border-color: #fca5a5; color: #991b1b; background: #fef2f2; }
.dash-missing-dl--list { border-color: #c4b5fd; color: #5b21b6; }
.dash-missing-modal__tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.5rem 1rem 0;
}
.dash-missing-tab {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0.45rem 0.45rem 0 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
}
.dash-missing-tab.is-active {
    background: #fff;
    color: #0f172a;
    border-bottom-color: #fff;
}
.dash-missing-modal__hint {
    margin: 0.5rem 1rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.78rem;
    line-height: 1.4;
}
.dash-missing-modal__body {
    flex: 1;
    overflow: auto;
    padding: 0.75rem 1rem 1rem;
}
.dash-missing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.dash-missing-table th,
.dash-missing-table td {
    padding: 0.55rem 0.35rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    vertical-align: top;
}
.dash-missing-table th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.dash-missing-note {
    width: 100%;
    min-width: 10rem;
    border: 0;
    border-bottom: 1px solid #93c5fd;
    background: transparent;
    padding: 0.35rem 0.15rem;
    font-size: 0.82rem;
    outline: none;
}
.dash-missing-note:focus { border-bottom-color: #2563eb; }

.dash-edefter-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.dash-edefter-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    background: #fff;
}
.dash-edefter-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin-bottom: 0.45rem;
}
.dash-edefter-card__head strong {
    font-size: 0.95rem;
    color: #0f172a;
    margin-right: auto;
}
.dash-edefter-badge {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: #dbeafe;
    color: #1d4ed8;
}
.dash-edefter-badge--muted { background: #f1f5f9; color: #475569; }
.dash-edefter-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.75rem;
    color: #64748b;
}
.dash-edefter-card__meta em { color: #ea580c; font-style: normal; font-weight: 700; }
.dash-edefter-status { color: #dc2626; font-weight: 700; }
.dash-edefter-card__msg {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: #475569;
}
.dash-edefter-note {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.55rem;
    font-size: 0.72rem;
    color: #64748b;
}
.dash-edefter-note .dash-missing-note {
    width: 100%;
}

.theme-dark .ht-card { background: #0f172a; border-color: #334155; }
.theme-dark .ht-card__body { color: #cbd5e1; }
.theme-dark .ht-card__foot { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.theme-dark .dash-home-durum__head,
.theme-dark .dash-home-chart__head,
.theme-dark .dash-home-today__head { background: #0f172a; border-color: #334155; }
.theme-dark .ht-kpi { background: #1e293b; border-color: #334155; }
.theme-dark .ht-kpi__val { color: #f1f5f9; }
.theme-dark .ht-donut__center { background: #0f172a; }
.theme-dark .ht-type-more { background: #1e293b; border-color: #475569; color: #5eead4; }
.theme-dark .dash-home-durum__title,
.theme-dark .dash-home-chart__title,
.theme-dark .dash-home-today__title { color: #f1f5f9; }
.theme-dark .dash-home-table th { background: #1e293b; color: #94a3b8; }
.theme-dark .dash-home-table td { border-color: #334155; color: #e2e8f0; }
