@charset "UTF-8";
/* ASTOR V4 eklentisi: koyu tema, mod şeridi, ekip yükü, süre analizi. Düz (mat) tasarım: gradient / parlama / gölge yok. */
html[data-mod="guc"]{--mod:#da291c}
html[data-mod="dagitim"]{--mod:#1f6fb2}
html[data-mod="hepsi"],html:not([data-mod]){--mod:#36393a}
body::before{content:"";position:fixed;left:0;right:0;top:0;height:3px;background:var(--mod,#36393a);z-index:200;pointer-events:none}
#ek-mod{display:inline-flex;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--paper)}
#ek-mod button{border:0;border-radius:0;background:transparent;padding:6px 11px;font-size:12px;font-weight:600;color:var(--muted)}
#ek-mod button:hover{background:var(--soft)}
#ek-mod button.aktif{background:var(--mod,#36393a);color:#fff}
#ek-tema{font-size:12px;padding:6px 10px}

/* Ekip yükü */
.ek-ekip>summary{list-style:none;cursor:pointer}.ek-ekip>summary::-webkit-details-marker{display:none}
.ek-grid{table-layout:fixed;min-width:760px}.ek-grid th:first-child{width:200px;position:sticky;left:0;background:var(--soft);z-index:1}
.ek-grid th small{display:block;font-weight:400;margin-top:3px}
.ek-grid td{text-align:center;padding:9px 4px;font-weight:700;font-size:12px;border-left:1px solid var(--line)}
.ek-grid thead th:not(:first-child){text-align:center;padding:10px 4px}
.ek-var{background:#e8eff8;color:#2f5b91}.ek-dolu{background:#fbf1db;color:#8a6420}.ek-fazla{background:#f8e0de;color:#a52a22}.ek-iz{background:#e9eaed;color:#707572}
.ek-key{display:inline-block;width:11px;height:11px;border-radius:2px;vertical-align:-1px;margin:0 3px 0 10px}
.ek-ok{color:#217955}.ek-kotu{color:#b4251a}

.ek-seg{display:inline-flex;align-items:center;gap:0;margin-left:auto;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--paper)}
.ek-seg small{padding:0 9px;color:var(--muted);font-size:11px}
.ek-seg button{border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;padding:6px 11px;font-size:12px;font-weight:600;color:var(--muted)}
.ek-seg button.aktif{background:var(--mod,#36393a);color:#fff}
.gantt-scroll{scrollbar-gutter:stable}
.ek-ekip{margin-top:16px}
/* Dashboard (V4) */
#dashboard-results>.kpis{display:none}
:root{--okc:#217955;--badc:#b4251a;--warnc:#8a6420}
.ek-kpi8{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.ek-k small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.ek-k strong{font-size:26px!important}
.ek-k.kotu strong{color:var(--badc)}.ek-k.uyari strong{color:var(--warnc)}.ek-k.iyi strong{color:var(--okc)}
.ek-iki{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px}
.ek-iki .panel,.ek-dash>.panel{margin-bottom:16px}
.ek-mil,.ek-cap{display:grid;grid-template-columns:150px minmax(0,1fr) 78px;align-items:center;gap:12px;margin:0 0 11px;font-size:12px}
.ek-cap{grid-template-columns:190px minmax(0,1fr) 92px}.ek-cap span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ek-cap b,.ek-mil b{text-align:right;font-weight:600}
.ek-bar{height:10px;background:var(--soft);border-radius:2px;overflow:hidden;border:1px solid var(--line)}.ek-bar i{display:block;height:100%;background:var(--okc)}
.ek-capbar{position:relative;height:14px;background:var(--soft);border:1px solid var(--line);border-radius:2px;display:flex}
.ek-capbar i{display:block;height:100%}.ek-base{background:#5d6b7a}.ek-rev{background:#da291c}
.ek-capbar u{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--ink);text-decoration:none}
.ek-k1{display:inline-block;width:11px;height:11px;border-radius:2px;vertical-align:-1px;margin:0 4px 0 12px}
.ek-trend{width:100%;height:auto;display:block}.ek-lej{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:6px}.ek-lej i{display:inline-block;width:14px;height:3px;margin-right:6px;vertical-align:middle}
.ek-gs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}
.ek-gs-blok h3{font-size:13px;margin:0 0 6px}.ek-gs-blok ul{margin:0;padding-left:18px;font-size:12px;line-height:1.7}
details.panel>summary.panel-head{cursor:pointer;list-style:none}details.panel>summary.panel-head::-webkit-details-marker{display:none}
@media(max-width:1100px){.ek-kpi8{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ek-iki,.ek-gs{grid-template-columns:1fr}.ek-cap,.ek-mil{grid-template-columns:110px minmax(0,1fr) 70px}}
@media print{.sidebar,.topbar,#ek-mod,.report-tabs,#dashboard-filter,.toolbar button{display:none!important}.shell{display:block}body::before{display:none}}
html[data-theme="dark"] .ek-base{background:#7d8b9a}html[data-theme="dark"] .ek-bar,html[data-theme="dark"] .ek-capbar{background:#17181a}
html[data-theme="dark"]{--okc:#6fcfa1;--badc:#f08b86;--warnc:#e6bd6b}
/* Kontrol aracı: tek tıkla onay çubuğu */
.ek-kontrol{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid var(--line);border-left:4px solid var(--mod,#36393a);border-radius:8px;background:var(--paper);margin:0 0 12px}
.ek-k-bilgi small{display:block;color:var(--muted);margin-top:2px}.ek-k-hata{display:flex;align-items:center;gap:8px;font-weight:600}.ek-k-hata input{width:80px}
.ek-k-durum{font-size:12px;flex:1;min-width:200px}
/* Koyu tema */
html[data-theme="dark"]{color-scheme:dark;background:#131415;color:#e7e8e5;--paper:#1d1f20;--ink:#e7e8e5;--line:#33363a;--muted:#9aa09d;--soft:#252729;--nav:#191a1b;--shadow:none}
html[data-theme="dark"] body{background:#131415;color:#e7e8e5}
html[data-theme="dark"] .sidebar{background:#191a1b;border-right:1px solid #2c2e30}
html[data-theme="dark"] .nav button,html[data-theme="dark"] .brand small,html[data-theme="dark"] .sidebar-foot{color:#aeb4b0}
html[data-theme="dark"] .nav button.active,html[data-theme="dark"] .nav button:hover{background:#26282a;color:#fff}
html[data-theme="dark"] .brand img{filter:brightness(1.6) contrast(.9)}
html[data-theme="dark"] .topbar{background:#1d1f20;border-color:#33363a}
html[data-theme="dark"] button{background:#232527;color:#e7e8e5;border-color:#3a3d41}
html[data-theme="dark"] button:hover{background:#2c2e31;border-color:#5a5e63}
html[data-theme="dark"] button.primary{background:#da291c;border-color:#da291c;color:#fff}
html[data-theme="dark"] button.primary:hover{background:#c2241a}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#17181a;color:#e7e8e5;border-color:#3a3d41}
html[data-theme="dark"] a{color:#7fb0ea}
html[data-theme="dark"] .avatar{background:#2d3033;color:#d6dbe0}
html[data-theme="dark"] .badge{background:#2a2d30;color:#b8beba}
html[data-theme="dark"] .badge.green,html[data-theme="dark"] .badge.onay,html[data-theme="dark"] .badge.tamam,html[data-theme="dark"] .badge.kapali{background:#16312a;color:#6fcfa1}
html[data-theme="dark"] .badge.red,html[data-theme="dark"] .badge.iptal{background:#3a1c1e;color:#f08b86}
html[data-theme="dark"] .badge.amber,html[data-theme="dark"] .badge.bekliyor{background:#3a2f16;color:#e6bd6b}
html[data-theme="dark"] .badge.devam{background:#1b2c44;color:#8fb8ee}
html[data-theme="dark"] .badge.hazir{background:#26292d;color:#a9b4c2}
html[data-theme="dark"] .notice{background:#33291a;border-color:#5a4720;color:#e6c98a}
html[data-theme="dark"] .error{background:#361b1d;border-color:#6a2d31;color:#f09a9a}
html[data-theme="dark"] .toast{background:#2c2f32}
html[data-theme="dark"] dialog{background:#1d1f20;color:#e7e8e5;border:1px solid #3a3d41}
html[data-theme="dark"] dialog::backdrop{background:#000a}
html[data-theme="dark"] .panel,html[data-theme="dark"] .kpi,html[data-theme="dark"] .task-card{background:#1d1f20;border-color:#33363a;box-shadow:none}
html[data-theme="dark"] .tabs button.active{background:#26282a;box-shadow:none}
html[data-theme="dark"] th{background:#232527}
html[data-theme="dark"] tbody tr:hover{background:#232527}
html[data-theme="dark"] .gantt-track{background:#1a2420}
html[data-theme="dark"] .gantt-scroll,html[data-theme="dark"] .gantt{background:#1d1f20;color:#e7e8e5}
html[data-theme="dark"] .gantt *{border-color:#33363a}
html[data-theme="dark"] .ek-var{background:#1b2c44;color:#8fb8ee}
html[data-theme="dark"] .ek-dolu{background:#3a2f16;color:#e6bd6b}
html[data-theme="dark"] .ek-fazla{background:#3d1c1e;color:#f08b86}
html[data-theme="dark"] .ek-iz{background:#2b2d30;color:#9aa09d}
html[data-theme="dark"] .ek-ok{color:#6fcfa1}
html[data-theme="dark"] .ek-kotu{color:#f08b86}
html[data-theme="dark"] #ek-mod{border-color:#3a3d41}

/* ================= V4 cila: ritim, hiyerarşi, yoğunluk (mat, gradient / gölge yok) ================= */
:root{--ctl:34px;--rad:8px}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{scrollbar-width:thin;scrollbar-color:#c3c5c1 transparent}
html[data-theme="dark"] *{scrollbar-color:#4a4d51 transparent}
body{line-height:1.5}
:focus-visible{outline:2px solid #da291c66;outline-offset:2px;border-radius:4px}
.content{padding:26px 36px 56px}
.page-heading{align-items:flex-end;margin-bottom:20px}
h1{font-size:26px;font-weight:650;letter-spacing:-.4px;margin-bottom:5px}
.page-heading p{font-size:13.5px;line-height:1.5;max-width:70ch}

/* üst çubuk */
.topbar{min-height:60px;padding:0 28px;gap:14px}
.topbar-title{font-size:11px;letter-spacing:.9px;text-transform:uppercase;font-weight:650;color:var(--muted)}
.top-actions{gap:8px}
.top-actions button{height:var(--ctl);padding:0 12px;font-size:12.5px;display:inline-flex;align-items:center;gap:6px}
.sync{font-size:11px;color:var(--muted);padding-right:4px;white-space:nowrap}
#ek-mod button{padding:0 12px;height:calc(var(--ctl) - 2px)}
#ek-tema{width:var(--ctl);padding:0!important;justify-content:center;font-size:15px}
.profile-button{height:var(--ctl)!important;padding:0 4px!important}
.profile-button .user-name{font-size:13px;font-weight:600}

/* kenar menü */
.nav{gap:2px}
.nav button{border-radius:8px;padding:9px 12px;font-size:13.5px;font-weight:550;gap:12px}
.nav-icon{width:20px;font-size:15px;opacity:.8}
.nav button.active .nav-icon{opacity:1}
.sidebar-foot{font-size:10.5px;line-height:1.7;opacity:.8}

/* düğmeler ve alanlar */
button{border-radius:7px;font-size:13px;font-weight:600;min-height:var(--ctl);padding:0 14px}
button.small{min-height:28px;padding:0 10px;font-size:12px}
button.primary{font-weight:650}
button:not(.primary):not(.danger):not(.nav-btn):not(.profile-button){background:var(--paper)}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select{height:var(--ctl);padding:0 10px;font-size:13px}
textarea{padding:9px 10px;font-size:13px;line-height:1.5}
label{font-size:12px;font-weight:600;color:var(--ink)}
label small{font-weight:400;color:var(--muted)}
input:focus,select:focus,textarea:focus{outline:2px solid #da291c40;outline-offset:0;border-color:#da291c99}

/* paneller, tablolar, göstergeler */
.panel{border-radius:10px;margin-bottom:18px}
.panel-head{padding:15px 20px}
.panel-head h2{font-size:15px;font-weight:650;letter-spacing:-.1px}
.panel-body{padding:18px 20px}
.toolbar{padding:12px 18px;gap:8px}
th{font-size:10.5px;text-transform:uppercase;letter-spacing:.55px;font-weight:650;padding:10px 16px}
td{padding:11px 16px}
td strong{font-weight:650}
tbody tr{transition:background .1s}
.kpis{gap:12px;margin-bottom:18px}
.kpi{padding:15px 18px;border-radius:10px}
.kpi span{font-size:11.5px;font-weight:550;letter-spacing:.1px}
.kpi strong{font-size:27px;font-weight:650;margin-top:6px;letter-spacing:-.5px}
.badge{border-radius:4px;font-size:10.5px;padding:3px 8px;font-weight:650;letter-spacing:.1px}
.tabs button{border-radius:7px}

/* görev kartları: durum rengi sol çizgide (anlamsal) */
.task-grid{gap:14px}
.task-card{padding:16px 18px;gap:10px;border-radius:10px;border-left-width:3px;transition:border-color .12s,background .12s}
.task-card:hover{border-color:#b6b9b4}
.task-card[data-state="devam"]{border-left-color:#1f6fb2}
.task-card[data-state="bekliyor"]{border-left-color:#bb923d}
.task-card[data-state="hazir"]{border-left-color:#8a9096}
.task-card[data-state="tamam"]{border-left-color:#5f9179}
.task-card h3{font-size:15px;line-height:1.35;font-weight:650}
.task-card .task-meta{font-size:12.5px;line-height:1.75}
.task-card .actions{padding-top:12px;gap:8px}
.task-card>div:first-child small,.task-card .row small{font-size:11.5px}

/* iletişim kutuları */
dialog{border-radius:12px}
.dialog-head{padding:18px 24px}
.dialog-head h2{font-size:17px;font-weight:650}
.dialog-body{padding:22px 24px}
.dialog-actions{margin-top:22px;padding-top:16px;gap:8px}
.notice{border-radius:8px;font-size:12.5px}
.toast{border-radius:8px;font-size:13px}

/* ekran boşlukları */
.empty{padding:40px 24px}
@media(max-width:900px){.content{padding:18px 14px 40px}.topbar{padding:0 12px}h1{font-size:22px}}html[data-theme="dark"] .task-card:hover{border-color:#52565b}
html[data-theme="dark"] :focus-visible{outline-color:#f08b8688}
html[data-theme="dark"] button:not(.primary):not(.danger){background:#232527}