/* Evoa Kâr Paneli — ortak stiller (tokens.css üzerine). Mockup site.css'in canlı karşılığı. */
:root { --surface-1:#fcfcfb; --series-1:#2a78d6; --series-2:#eb6834; --loss:#c62f2e; --good:#0c7a43; --ink-2:#52514e; --grid:#e6e5e1; }
@media (prefers-color-scheme: dark){
  :root:where(:not([data-theme="light"])){ --surface-1:#1a1a19; --series-1:#3987e5; --series-2:#d95926; --loss:#e66767; --good:#3fb97a; --ink-2:#c3c2b7; --grid:#33322f; }
}
body{ background:var(--color-surface); font-family:var(--font-body); }
.layout{ display:flex; }
.sidebar{ width:230px; background:var(--color-primary-dark); min-height:100vh; padding:1rem; flex-shrink:0; display:flex; flex-direction:column; }
.sidebar .brand{ color:#fff; font-weight:700; font-size:1.2rem; margin-bottom:1.5rem; }
.sidebar .brand span{ font-weight:400; opacity:.75; }
.sidebar a, .sidebar button.nav-btn{ color:#cfe0f0; text-decoration:none; display:block; padding:.55rem .9rem; border-radius:var(--radius); width:100%; text-align:left; background:none; border:0; font:inherit; }
.sidebar a.active,.sidebar a:hover,.sidebar button.nav-btn:hover{ background:rgba(255,255,255,.12); color:#fff; }
.sidebar hr{ border-color:rgba(255,255,255,.2); }
.sidebar .kullanici{ margin-top:auto; color:#cfe0f0; font-size:var(--fs-sm); padding:.5rem .9rem; opacity:.85; }
main{ flex:1; padding:1.5rem; min-width:0; }
.card{ border-color:var(--color-border); box-shadow:var(--shadow-sm); }
.kpi__label{ color:var(--color-muted); font-size:var(--fs-sm); }
.kpi__value{ font-size:1.7rem; font-weight:650; font-variant-numeric:tabular-nums; }
.kpi__sub{ font-size:var(--fs-sm); color:var(--color-muted); }
.neg{ color:var(--loss); } .pos{ color:var(--good); }
.num{ font-variant-numeric:tabular-nums; text-align:right; white-space:nowrap; }
.viz{ background:var(--surface-1); } .viz svg{ width:100%; height:auto; display:block; }
.viz text{ fill:var(--ink-2); font-size:11px; font-family:inherit; }
.viz .bar{ fill:var(--series-1); } .viz .bar.s2{ fill:var(--series-2); } .viz .bar.loss{ fill:var(--loss); }
.viz .grid{ stroke:var(--grid); stroke-width:1; } .viz .bar:hover{ opacity:.8; }
.hbar{ height:10px; border-radius:5px; background:var(--series-1); }
.dropzone{ border:2px dashed var(--color-border); border-radius:var(--radius); background:var(--color-bg); padding:1.5rem; text-align:center; color:var(--color-muted); }
.table-pl td:first-child, .table-pl th:first-child{ position:sticky; left:0; background:var(--color-bg); z-index:1; white-space:nowrap; }
.row-total td{ font-weight:650; background:var(--color-surface); }
.row-total td:first-child{ background:var(--color-surface); }
.login{ max-width:380px; margin:12vh auto; }
.progress-metin{ min-height:1.5rem; }
.pagination-sm .page-link{ min-width:2rem; text-align:center; }
@media (max-width: 991px){ .layout{ flex-direction:column; } .sidebar{ width:100%; min-height:auto; } main{ padding:1rem; } }
