/* =====================================================================
   MARMARAS AI — MARMARAS DUSK TEMASI
   Gün batımında kızıl çayır fotoğrafı üzerinde: siyah duyuru şeridi
   (pembe yazı + ok), şeffaf üst menü, çerçeveli arama kutusu, beyaz
   "Yeni Proje" butonu, rozetli büyük başlık, beyaz + çerçeveli butonlar
   ve sağda pembe oklu dönen liste. Yalnızca body[data-mode="dusk"].
   ===================================================================== */

.dusk-only{ display:none !important; }

body[data-mode="dusk"]{
  --d-pink:#FF58AE;
  --d-pink-soft:rgba(255,88,174,.16);
  --d-white:#FFFFFF;
  --d-line:rgba(255,255,255,.14);
  --d-line-strong:rgba(255,255,255,.32);
  --d-surface:rgba(32,32,33,.8);
  --d-surface-strong:rgba(26,26,27,.92);
  --d-sunken:rgba(0,0,0,.28);
  --d-ease:cubic-bezier(.2,.8,.2,1);
  --d-wrap:1360px;
  --d-gutter:clamp(16px,4.2vw,64px);
  --dusk-dim:0;

  --coal:#1C1C1D; --coal-2:#242425; --coal-3:#2C2C2D;
  --text-primary:#FFFFFF;
  --text-secondary:rgba(255,255,255,.74);
  --text-faint:rgba(255,255,255,.5);
  --champagne:#FF58AE; --champagne-bright:#FF8CC6; --champagne-dark:#C23A80;
  --champagne-soft:rgba(255,88,174,.14);
  --on-accent:#111;
  --danger:#FF8A7A; --success:#9BE3B4;
  --radius-sm:6px; --radius-md:8px; --radius-lg:12px; --radius-xl:14px;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  color:var(--text-primary);
  background:#222223;
  min-height:100vh;
}
body[data-mode="dusk"] .dusk-only{ display:revert !important; }

/* ---------- zemin: gün batımı çayırı + okunabilirlik perdesi ---------- */
body[data-mode="dusk"]::before,
body[data-mode="dusk"]::after{ content:''; position:fixed; inset:0; pointer-events:none; z-index:0; }
body[data-mode="dusk"]::before{ background:#232324; }
body[data-mode="dusk"]:not(.dusk-map)::after{ display:none; }
body[data-mode="dusk"]::after{
  background:
    linear-gradient(90deg,rgba(20,20,21,.4) 0%,rgba(20,20,21,.1) 55%,rgba(20,20,21,.05) 100%),
    linear-gradient(180deg,rgba(0,0,0,.12) 0%,rgba(0,0,0,0) 30%,rgba(16,16,17,.35) 100%),
    rgba(20,20,21,0);
  transition:background-color .35s ease;
}
body[data-mode="dusk"].dusk-scrolled::after{ background-color:rgba(20,20,21,.5); }

/* ---------- vektörel, animasyonlu dünya haritası (gri zemin + bej) ---------- */
.dusk-world{ display:none; }
body[data-mode="dusk"].dusk-map .dusk-world{ display:block !important; position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; contain:strict; }
.dusk-world-stage{
  position:absolute; left:50%; top:52%; width:max(100vw,170vh); aspect-ratio:1600 / 640;
  transform:translate(var(--map-shift,-50%),-50%);
}
.dusk-world-stage img, .dusk-world-stage svg{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.dusk-world-stage img{ opacity:.5; }
.dusk-arc-base{ fill:none; stroke:#CDBB9A; stroke-width:1; opacity:.3; }
.dusk-arc-run{
  fill:none; stroke:#EADBBE; stroke-width:1.6; stroke-linecap:round; opacity:.85;
  stroke-dasharray:12 200; stroke-dashoffset:12;
  animation:dArcRun 4.8s cubic-bezier(.45,0,.25,1) infinite; animation-delay:var(--d,0s);
}
.dusk-city{ fill:#E6D5B4; }
.dusk-city.hub{ fill:#F3E7CF; }
.dusk-pulse{
  fill:none; stroke:#E6D5B4; stroke-width:1.2; transform-box:fill-box; transform-origin:center;
  animation:dPulse 3.2s ease-out infinite; animation-delay:var(--d,0s);
}
.dusk-city-label{ fill:rgba(230,213,180,.7); font:500 10px 'Inter',sans-serif; letter-spacing:.08em; }
@keyframes dArcRun{ 0%{ stroke-dashoffset:12; opacity:0; } 8%{ opacity:.9; } 80%{ opacity:.9; } 100%{ stroke-dashoffset:-100; opacity:0; } }
@keyframes dPulse{ 0%{ transform:scale(.4); opacity:.9; } 100%{ transform:scale(3.4); opacity:0; } }
@media (max-width:900px){
  .dusk-world-stage{ --map-shift:-57%; top:46%; }
  .dusk-city-label{ display:none; }
}
body[data-mode="dusk"] #app,
body[data-mode="dusk"] #modal-root{ position:relative; z-index:1; }
body[data-mode="dusk"] .bg-decor{ display:none; }

/* ---------- tipografi ---------- */
body[data-mode="dusk"] .font-display,
body[data-mode="dusk"] h1, body[data-mode="dusk"] h2, body[data-mode="dusk"] h3,
body[data-mode="dusk"] .data-card-title,
body[data-mode="dusk"] .chat-widget-header{
  font-family:'Inter Tight','Inter',sans-serif; letter-spacing:-.02em; color:#fff;
}
body[data-mode="dusk"] h3.font-display{ font-weight:700; }
body[data-mode="dusk"] .font-mono,
body[data-mode="dusk"] .badge,
body[data-mode="dusk"] .progress-row-pct,
body[data-mode="dusk"] .stat-label,
body[data-mode="dusk"] .chat-sidebar-section-label,
body[data-mode="dusk"] .bell-badge{ font-family:'Inter',sans-serif !important; font-variant-numeric:tabular-nums; }
body[data-mode="dusk"] .muted{ color:var(--text-secondary); }
body[data-mode="dusk"] ::placeholder{ color:rgba(255,255,255,.55); }
body[data-mode="dusk"] ::selection{ background:rgba(255,88,174,.45); color:#fff; }
body[data-mode="dusk"] ::-webkit-scrollbar{ width:10px; height:10px; }
body[data-mode="dusk"] ::-webkit-scrollbar-track{ background:transparent; }
body[data-mode="dusk"] ::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.22); border-radius:999px; border:3px solid transparent; background-clip:padding-box; }
body[data-mode="dusk"] ::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.38); background-clip:padding-box; border:3px solid transparent; }

body[data-mode="dusk"] .section-label{
  display:flex; align-items:center; gap:10px;
  font-family:'Inter Tight','Inter',sans-serif; font-size:13px; font-weight:600; letter-spacing:.02em; text-transform:none;
  color:#fff; margin:30px 0 14px;
}
body[data-mode="dusk"] .section-label::before{
  content:''; width:0; height:0; border-style:solid; border-width:6px 0 6px 10px; border-color:transparent transparent transparent var(--d-pink);
}

/* ---------- yüzeyler ---------- */
body[data-mode="dusk"] .glass{
  background:var(--d-surface) !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border:1px solid var(--d-line) !important;
  border-radius:var(--radius-lg);
  box-shadow:0 18px 40px rgba(0,0,0,.22) !important;
}
body[data-mode="dusk"] .glass-strong{
  background:var(--d-surface-strong) !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border:1px solid var(--d-line) !important;
  border-radius:var(--radius-xl);
  box-shadow:0 30px 80px rgba(0,0,0,.5) !important;
}
body[data-mode="dusk"] .data-card.project-card{ background:var(--d-surface) !important; }
body[data-mode="dusk"] .data-card{ transition:border-color .2s ease, transform .2s var(--d-ease), background .2s ease; }
body[data-mode="dusk"] .data-card:hover{ border-color:rgba(255,255,255,.34) !important; transform:translateY(-2px); background:rgba(38,38,39,.68) !important; }
body[data-mode="dusk"] .modal-overlay{ background:rgba(12,12,13,.72) !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
body[data-mode="dusk"] .empty-state, body[data-mode="dusk"] .empty-state p{ color:var(--text-secondary); }

/* ---------- butonlar: beyaz dolgu + beyaz çerçeve ---------- */
body[data-mode="dusk"] .btn{ border-radius:6px; font-weight:500; letter-spacing:-.005em; transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--d-ease); }
body[data-mode="dusk"] .btn-primary{ background:#fff !important; color:#111 !important; box-shadow:none !important; }
body[data-mode="dusk"] .btn-primary:hover{ background:#EDEDED !important; opacity:1; }
body[data-mode="dusk"] .btn-secondary{ background:transparent !important; color:#fff !important; border:1px solid rgba(255,255,255,.7); }
body[data-mode="dusk"] .btn-secondary:hover{ background:rgba(255,255,255,.1) !important; border-color:#fff; opacity:1; }
body[data-mode="dusk"] .btn-filter-active{ background:#fff !important; color:#111 !important; border:1px solid #fff !important; box-shadow:none !important; transform:none; }
body[data-mode="dusk"] .icon-btn:hover{ background:rgba(255,255,255,.1); }
body[data-mode="dusk"] :focus-visible{ outline:2px solid var(--d-pink) !important; outline-offset:2px; }

/* ---------- form alanları ---------- */
body[data-mode="dusk"] .field label{ color:var(--text-secondary); font-weight:500; letter-spacing:0; font-size:12.5px; text-transform:none; }
body[data-mode="dusk"] .field input, body[data-mode="dusk"] .field select, body[data-mode="dusk"] .field textarea,
body[data-mode="dusk"] .search-wrap input, body[data-mode="dusk"] .filter-select,
body[data-mode="dusk"] .chat-input-row textarea,
body[data-mode="dusk"] .glass-strong select{
  background:var(--d-sunken) !important; border:1px solid rgba(255,255,255,.26) !important; color:#fff !important;
  border-radius:8px; transition:border-color .15s ease, box-shadow .15s ease;
}
body[data-mode="dusk"] .field input:focus, body[data-mode="dusk"] .field select:focus, body[data-mode="dusk"] .field textarea:focus,
body[data-mode="dusk"] .search-wrap input:focus, body[data-mode="dusk"] .filter-select:focus,
body[data-mode="dusk"] .chat-input-row textarea:focus{
  outline:none !important; border-color:rgba(255,255,255,.75) !important; box-shadow:0 0 0 3px rgba(255,255,255,.1);
}
body[data-mode="dusk"] select option{ color:#fff; background:#262627; }
body[data-mode="dusk"] input[type="checkbox"], body[data-mode="dusk"] input[type="radio"]{ accent-color:var(--d-pink); }
body[data-mode="dusk"] input[type="date"]::-webkit-calendar-picker-indicator,
body[data-mode="dusk"] input[type="datetime-local"]::-webkit-calendar-picker-indicator{ filter:invert(1); opacity:.7; }

/* ---------- ilerleme / sekmeler / tablolar ---------- */
body[data-mode="dusk"] .progress-row + .progress-row{ border-top:1px solid rgba(255,255,255,.08); }
body[data-mode="dusk"] .progress-row[style*="cursor:pointer"]:hover{ background:rgba(255,255,255,.04); }
body[data-mode="dusk"] .progress-row-bar{ background:rgba(255,255,255,.12); height:6px; }
body[data-mode="dusk"] .progress-row-fill{ background:linear-gradient(90deg,#C23A80 0%,#FF58AE 70%,#FF9ACF 100%); box-shadow:0 0 12px rgba(255,88,174,.35); }
body[data-mode="dusk"] .progress-row-pct{ color:#fff; font-weight:600; }
body[data-mode="dusk"] .upcoming-type{ color:var(--text-faint); }
body[data-mode="dusk"] .settings-tab{ border-radius:6px; background:transparent; border:1px solid rgba(255,255,255,.26); color:rgba(255,255,255,.82); }
body[data-mode="dusk"] .settings-tab:hover{ color:#fff; border-color:rgba(255,255,255,.6); }
body[data-mode="dusk"] .settings-tab.active{ background:#fff; color:#111; border-color:#fff; font-weight:600; }
body[data-mode="dusk"] .mode-seg-btn.active{ background:#fff !important; color:#111 !important; }
body[data-mode="dusk"] .report-table th, body[data-mode="dusk"] .rapor-cizelge th{ color:var(--text-faint); border-bottom-color:var(--d-line) !important; font-weight:600; }
body[data-mode="dusk"] .report-table td, body[data-mode="dusk"] .rapor-cizelge td{ border-bottom-color:rgba(255,255,255,.07) !important; }
body[data-mode="dusk"] .stat-value{ color:#fff; font-family:'Inter Tight','Inter',sans-serif; font-weight:700; letter-spacing:-.03em; }
body[data-mode="dusk"] .tree-card{ background:var(--d-surface) !important; border-color:var(--d-line) !important; }
body[data-mode="dusk"] .tree-card:hover{ border-color:rgba(255,255,255,.34) !important; }
body[data-mode="dusk"] .notif-panel{ background:rgba(28,28,29,.97) !important; border:1px solid var(--d-line) !important; box-shadow:0 24px 60px rgba(0,0,0,.5) !important; }
body[data-mode="dusk"] .ivory-palette-lock{ display:flex; align-items:center; gap:8px; color:var(--text-secondary); font-size:13px; }
body[data-mode="dusk"] .nav-badge, body[data-mode="dusk"] .bell-badge{ background:var(--d-pink); color:#fff; border:none; box-shadow:none; }
body[data-mode="dusk"] .scroll-top-btn{ background:#fff !important; color:#111 !important; }

/* Proje kartı ilerleme halkaları: yeşil yerine pembe */
body[data-mode="dusk"] svg circle[stroke="rgba(143,191,134,0.18)"]{ stroke:rgba(255,255,255,.14); }
body[data-mode="dusk"] svg circle[stroke="#3F9468"]{ stroke:var(--d-pink); filter:drop-shadow(0 0 3px rgba(255,88,174,.45)); }
body[data-mode="dusk"] svg text[fill="#3F9468"]{ fill:#fff; font-family:'Inter',sans-serif; }

/* =====================================================================
   KABUK — duyuru şeridi + şeffaf üst menü
   ===================================================================== */
body[data-mode="dusk"] .app-shell{ padding:0 !important; position:relative; z-index:1; }
body[data-mode="dusk"] .main-content{
  max-width:calc(var(--d-wrap) + var(--d-gutter) * 2); margin:0 auto !important;
  padding:0 var(--d-gutter) 72px !important;
}

/* Siyah duyuru şeridi */
body[data-mode="dusk"] .dusk-announce{ display:flex !important; }
.dusk-announce{
  align-items:center; justify-content:center; gap:10px;
  height:58px; padding:0 16px; background:#000; color:var(--d-pink, #FF58AE);
  font-family:'Inter',sans-serif; font-size:17px; font-weight:500; letter-spacing:-.005em; text-decoration:none;
  position:relative; z-index:85;
}
.dusk-announce span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.dusk-announce svg{ flex-shrink:0; transition:transform .2s var(--d-ease, ease); }
a.dusk-announce:hover svg{ transform:translateX(4px); }

/* Üst menü */
body[data-mode="dusk"] .app-topbar{
  position:sticky !important; top:0 !important; z-index:80;
  display:flex !important; align-items:center; gap:clamp(18px,2.4vw,40px);
  width:100%; min-height:92px; margin:0 !important;
  padding:0 clamp(16px,3.4vw,70px) !important;
  border-radius:0 !important; border:none !important; box-shadow:none !important;
  background:transparent !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border-bottom:1px solid transparent !important;
  transition:background-color .3s ease, border-color .3s ease;
  grid-template-columns:none;
}
body[data-mode="dusk"].dusk-scrolled .app-topbar{ background:rgba(26,26,27,.95) !important; border-bottom-color:rgba(255,255,255,.07) !important; }
body[data-mode="dusk"] .app-topbar-brand{ display:none !important; }
body[data-mode="dusk"] .dusk-topbar-brand{ display:flex !important; align-items:center; flex-shrink:0; color:#fff; padding:6px 0; }
.dusk-brand{ display:inline-flex; align-items:center; gap:12px; color:#fff; white-space:nowrap; }
.dusk-brand .dusk-mark{ width:34px; height:28px; flex-shrink:0; }
.dusk-wordmark{ font-family:'Inter Tight','Inter',sans-serif; font-size:31px; font-weight:600; letter-spacing:-.03em; line-height:1; color:#fff; }

body[data-mode="dusk"] .top-nav{
  display:flex !important; flex:1; min-width:0; gap:clamp(14px,2.4vw,40px); overflow:visible;
  padding:0 !important; border:none !important; width:auto;
}
body[data-mode="dusk"] .top-nav-item{
  padding:8px 0; background:none !important; box-shadow:none !important; border-radius:0;
  color:#fff; font-size:19px; font-weight:300; letter-spacing:0; gap:0; opacity:.92;
  transition:opacity .15s ease;
}
body[data-mode="dusk"] .top-nav-item svg{ display:none !important; }
body[data-mode="dusk"] .top-nav-item:hover{ opacity:1; background:none; color:#fff; }
body[data-mode="dusk"] .top-nav-item.active{ color:#fff; opacity:1; }
body[data-mode="dusk"] .top-nav-item.active::after{
  content:''; position:absolute; top:5px; right:-9px; width:6px; height:6px; border-radius:50%; background:var(--d-pink);
}
body[data-mode="dusk"] .top-nav-item .nav-badge{ top:-4px; right:-22px; }


/* Sistem ikonları: sade beyaz */
body[data-mode="dusk"] .app-topbar-actions-wrap{ flex-direction:row; align-items:center; gap:0; flex-shrink:0; }
body[data-mode="dusk"] .app-topbar-datetime{ display:none !important; }
body[data-mode="dusk"] .app-topbar-actions{ gap:4px; padding-left:0; border-left:none; }
body[data-mode="dusk"] .app-topbar .icon-btn-fixed,
body[data-mode="dusk"] .app-topbar .topbar-system-btn,
body[data-mode="dusk"] .app-topbar .bell-btn,
body[data-mode="dusk"] .app-topbar .icon-btn-fixed.chat-fab{
  width:40px; height:40px; border-radius:8px !important; color:#fff !important; background:transparent !important; border:1px solid transparent !important; box-shadow:none !important;
}
body[data-mode="dusk"] .app-topbar .topbar-system-btn svg, body[data-mode="dusk"] .app-topbar .bell-btn svg{ color:#fff !important; }
body[data-mode="dusk"] .app-topbar .icon-btn-fixed:hover,
body[data-mode="dusk"] .app-topbar .topbar-system-btn:hover,
body[data-mode="dusk"] .app-topbar .bell-btn:hover,
body[data-mode="dusk"] .app-topbar .icon-btn-fixed.chat-fab:hover{ background:rgba(255,255,255,.1) !important; color:#fff !important; border-color:transparent !important; }
body[data-mode="dusk"] #profile-topbar-btn{ display:none !important; }
body[data-mode="dusk"] .bell-badge{ box-shadow:0 0 0 2px rgba(0,0,0,.4); }

/* "Log in" tarzı metin + "Sign up" tarzı beyaz buton */
body[data-mode="dusk"] .dusk-login-link{
  display:inline-flex !important; align-items:center; flex-shrink:0; padding:8px 4px; max-width:140px;
  color:#fff; font-size:18px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body[data-mode="dusk"] .dusk-login-link:hover{ opacity:.8; }
body[data-mode="dusk"] .dusk-cta{
  display:inline-flex !important; align-items:center; justify-content:center; flex-shrink:0;
  height:50px; padding:0 20px; border-radius:6px; background:#fff; color:#111;
  font-size:18px; font-weight:500; letter-spacing:-.01em; white-space:nowrap;
  transition:background .15s ease;
}
body[data-mode="dusk"] .dusk-cta:hover{ background:#E9E9E9; }
body[data-mode="dusk"] .dusk-burger{ display:none !important; }

/* =====================================================================
   HERO
   ===================================================================== */
body[data-mode="dusk"] .dusk-hero{
  display:grid !important; grid-template-columns:minmax(0,1fr) auto; column-gap:clamp(24px,5vw,96px);
  max-width:calc(var(--d-wrap) + var(--d-gutter) * 2); margin:0 auto; padding:0 var(--d-gutter);
}
body[data-mode="dusk"] .dusk-hero.is-empty{ display:block !important; height:18px; }
body[data-mode="dusk"] .dusk-hero.is-full{
  min-height:calc(100vh - 58px - 92px); min-height:calc(100svh - 58px - 92px);
  grid-template-rows:1fr auto; align-items:center; padding-top:40px; padding-bottom:28px; margin-bottom:40px;
}
body[data-mode="dusk"] .dusk-hero.is-compact{ padding-top:clamp(28px,5vh,64px); padding-bottom:clamp(28px,4vh,48px); }
.dusk-hero-main{ min-width:0; max-width:880px; animation:dRise .9s var(--d-ease) backwards; }

.dusk-badge{
  display:inline-flex; align-items:center; gap:14px; max-width:100%;
  height:46px; padding:0 18px 0 20px; border-radius:6px;
  background:rgba(44,44,46,.7); border:1px solid rgba(255,255,255,.2);
  font-family:'Inter',sans-serif; font-size:15.5px; text-align:left; color:#fff;
  transition:border-color .15s ease, background .15s ease;
}
button.dusk-badge:hover{ border-color:rgba(255,255,255,.4); background:rgba(52,52,54,.7); }
.dusk-badge-main{ font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.dusk-badge-link{ color:rgba(255,255,255,.6); white-space:nowrap; }
.dusk-badge svg{ color:var(--d-pink,#FF58AE); flex-shrink:0; transition:transform .2s ease; }
button.dusk-badge:hover svg{ transform:translateX(3px); }

.dusk-title{
  margin-top:40px;
  font-family:'Inter Tight','Inter',sans-serif !important; font-weight:700 !important;
  font-size:clamp(42px,5.4vw,80px); line-height:1.08; letter-spacing:-.045em !important; color:#fff !important;
  text-wrap:balance;
}
.is-compact .dusk-title{ margin-top:28px; font-size:clamp(38px,4.6vw,68px); }
.dusk-sub{
  margin-top:28px; max-width:830px;
  font-size:clamp(17px,1.4vw,22px); line-height:1.55; font-weight:400; color:rgba(255,255,255,.9);
}
.is-compact .dusk-sub{ margin-top:18px; font-size:clamp(16px,1.2vw,19px); }
.dusk-actions{ display:flex; flex-wrap:wrap; gap:20px; margin-top:44px; }
.dusk-btn-white, .dusk-btn-outline{
  display:inline-flex; align-items:center; justify-content:center; gap:14px;
  height:50px; padding:0 30px; border-radius:6px;
  font-family:'Inter',sans-serif; font-size:18px; font-weight:500; letter-spacing:-.01em; white-space:nowrap;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.dusk-btn-white{ background:#fff; color:#111; border:1.5px solid #fff; }
.dusk-btn-white:hover{ background:#EAEAEA; border-color:#EAEAEA; }
.dusk-btn-outline{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.92); }
.dusk-btn-outline:hover{ background:rgba(255,255,255,.1); }
.dusk-play{ width:0; height:0; border-style:solid; border-width:8px 0 8px 13px; border-color:transparent transparent transparent #fff; }

/* Sağdaki dönen liste */
.dusk-rotator{ list-style:none; display:flex; flex-direction:column; gap:clamp(10px,1.8vh,22px); padding-right:clamp(0px,2vw,40px); }
.dusk-rot-item{
  position:relative; display:flex; align-items:center; gap:20px; padding:2px 0;
  font-family:'Inter Tight','Inter',sans-serif; font-weight:700; font-size:clamp(26px,2.5vw,38px); line-height:1.15; letter-spacing:-.035em;
  color:rgba(255,255,255,.2); text-align:left; white-space:nowrap;
  transition:color .45s var(--d-ease,ease);
  animation:dFade .9s var(--d-ease,ease) backwards;
}
.dusk-rotator li:nth-child(1) .dusk-rot-item{ animation-delay:.10s; }
.dusk-rotator li:nth-child(2) .dusk-rot-item{ animation-delay:.16s; }
.dusk-rotator li:nth-child(3) .dusk-rot-item{ animation-delay:.22s; }
.dusk-rotator li:nth-child(4) .dusk-rot-item{ animation-delay:.28s; }
.dusk-rotator li:nth-child(5) .dusk-rot-item{ animation-delay:.34s; }
.dusk-rotator li:nth-child(6) .dusk-rot-item{ animation-delay:.40s; }
.dusk-rotator li:nth-child(7) .dusk-rot-item{ animation-delay:.46s; }
.dusk-rot-item:hover{ color:rgba(255,255,255,.55); }
.dusk-rot-item.on{ color:#fff; }
.dusk-tri{
  display:block; width:0; height:0; flex-shrink:0; margin-left:-50px;
  border-style:solid; border-width:14px 0 14px 24px; border-color:transparent transparent transparent var(--d-pink,#FF58AE);
  opacity:0; transform:translateX(-10px); transition:opacity .35s ease, transform .45s var(--d-ease,ease);
}
.dusk-rot-item.on .dusk-tri{ opacity:1; transform:none; }

/* Alt "trusted by" satırı → ekip */
.dusk-trusted{ grid-column:1 / -1; align-self:end; text-align:center; padding-top:48px; animation:dFade 1.1s var(--d-ease,ease) .5s backwards; }
.dusk-trusted p{ font-size:17px; color:#fff; }
.dusk-logos{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:14px clamp(28px,4vw,72px); margin-top:26px; }
.dusk-logo{ color:rgba(255,255,255,.42); font-size:28px; line-height:1; white-space:nowrap; }
.dusk-logo.serif-i{ font-family:'Cormorant Garamond',Georgia,serif; font-style:italic; font-weight:600; font-size:32px; }
.dusk-logo.serif{ font-family:'Cormorant Garamond',Georgia,serif; font-weight:500; }
.dusk-logo.block{ font-family:'Inter Tight','Inter',sans-serif; font-weight:800; letter-spacing:-.04em; font-size:25px; }
.dusk-logo.sans{ font-family:'Sora',sans-serif; font-weight:600; letter-spacing:-.03em; }
.dusk-logo.wide{ font-family:'Cormorant Garamond',Georgia,serif; font-weight:600; letter-spacing:.2em; text-transform:uppercase; font-size:26px; }
.dusk-logo.italic{ font-family:'Inter',sans-serif; font-style:italic; font-weight:700; font-size:22px; letter-spacing:-.02em; }

/* Mobil menü */
body[data-mode="dusk"] .dusk-menu{
  display:flex !important; flex-direction:column; position:fixed; inset:0; z-index:200;
  padding:0 var(--d-gutter) calc(24px + env(safe-area-inset-bottom));
  background:rgba(20,20,21,.97);
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility 0s linear .25s;
}
body[data-mode="dusk"] .dusk-menu.open{ opacity:1; visibility:visible; transition:opacity .25s ease; }
.dusk-menu-head{ display:flex; align-items:center; justify-content:space-between; height:84px; }
.dusk-menu-head .dusk-wordmark{ font-size:26px; }
.dusk-menu-close{ display:grid; place-items:center; width:44px; height:44px; border-radius:8px; color:#fff; }
.dusk-menu-close:hover{ background:rgba(255,255,255,.1); }
.dusk-menu-nav{ flex:1; display:flex; flex-direction:column; justify-content:center; gap:8px; padding-left:44px; overflow:auto; }
.dusk-menu-item{
  display:flex; align-items:center; gap:18px; padding:8px 0; text-align:left;
  font-family:'Inter Tight','Inter',sans-serif; font-size:clamp(30px,8vw,44px); font-weight:700; letter-spacing:-.04em; color:rgba(255,255,255,.3);
}
.dusk-menu-item .dusk-tri{ margin-left:-44px; border-width:11px 0 11px 19px; }
.dusk-menu-item.active{ color:#fff; }
.dusk-menu-item.active .dusk-tri{ opacity:1; transform:none; }
.dusk-menu-foot{ display:flex; gap:12px; }
.dusk-menu-foot > *{ flex:1; padding:0 14px; font-size:16px; gap:8px; }
body.dusk-menu-open{ overflow:hidden; }

/* =====================================================================
   PANEL İÇERİĞİ
   ===================================================================== */
body[data-mode="dusk"] .dash-side-grid{ margin-top:0; }
.dusk-dash{
  display:flex; flex-direction:column; gap:48px;
  min-height:calc(100vh - 92px - 90px); min-height:calc(100svh - 92px - 90px); padding-top:24px;
}
.dusk-dash-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.dusk-dash-card{ min-width:0; }
@media (max-width:900px){ .dusk-dash-grid{ grid-template-columns:1fr; } }
.dusk-dash-card .section-label{ margin-top:0; }
.dusk-dash-words{
  margin-top:auto; display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:14px clamp(40px,7vw,120px); padding-bottom:8px;
}
body[data-mode="dusk"] .main-content > :first-child .section-label:first-child{ margin-top:0; }

/* =====================================================================
   GİRİŞ EKRANI
   ===================================================================== */
body[data-mode="dusk"] .dusk-login-top{ display:block !important; position:absolute; top:0; left:0; right:0; z-index:5; }
.dusk-announce-static{ cursor:default; }
.dusk-login-bar{ display:flex; align-items:center; height:92px; padding:0 clamp(16px,3.4vw,70px); }
body[data-mode="dusk"] .center-screen.login-screen{
  display:grid; grid-template-columns:minmax(0,1fr) 400px; align-items:center; gap:clamp(24px,6vw,110px);
  max-width:calc(var(--d-wrap) + var(--d-gutter) * 2); margin:0 auto; padding:120px var(--d-gutter) 60px;
}
body[data-mode="dusk"] .dusk-login-hero{ display:block !important; min-width:0; animation:dRise .9s var(--d-ease) backwards; }
.dusk-login-hero .dusk-title{ margin-top:36px; }
.dusk-badge.static{ cursor:default; }
body[data-mode="dusk"] .login-card{ max-width:400px; padding:34px 32px 30px; text-align:left !important; animation:dRise .9s var(--d-ease) .15s backwards; }
body[data-mode="dusk"] .login-brand-large{ display:block; font-family:'Inter Tight','Inter',sans-serif; font-size:26px; font-weight:700; letter-spacing:-.03em; color:#fff; text-transform:none; }
body[data-mode="dusk"] .login-card .field:first-of-type{ margin-top:22px !important; }
body[data-mode="dusk"] .login-card .btn-primary{ height:50px; font-size:17px; }
body[data-mode="dusk"] .remember-row label{ color:var(--text-secondary); }

/* =====================================================================
   DUYARLI DÜZEN
   ===================================================================== */
@media (max-width:1620px){
  body[data-mode="dusk"] .top-nav-item{ font-size:17px; }
  body[data-mode="dusk"] .app-topbar{ gap:22px; }
  body[data-mode="dusk"] .top-nav{ gap:26px; }
}
@media (max-width:1480px){
  body[data-mode="dusk"] .dusk-login-link{ display:none !important; }
}
@media (max-width:1240px){
  body[data-mode="dusk"] .top-nav{ display:none !important; }
  body[data-mode="dusk"] .dusk-topbar-brand{ margin-right:auto; }
  body[data-mode="dusk"] .dusk-burger{ display:grid !important; place-items:center; width:44px; height:44px; border-radius:8px; color:#fff; flex-shrink:0; }
  body[data-mode="dusk"] .dusk-burger:hover{ background:rgba(255,255,255,.1); }
}
@media (max-width:1100px){
  body[data-mode="dusk"] #fullscreen-toggle-btn{ display:none; }
  body[data-mode="dusk"] .dusk-hero{ grid-template-columns:1fr; }
  body[data-mode="dusk"] .dusk-hero.is-full{ min-height:0; padding-top:36px; }
  .dusk-rotator{ gap:6px; margin-top:48px; padding:0 0 0 40px; }
  .dusk-rot-item{ font-size:30px; gap:16px; }
  .dusk-rot-item .dusk-tri{ margin-left:-40px; border-width:11px 0 11px 19px; }
  body[data-mode="dusk"] .center-screen.login-screen{ grid-template-columns:1fr; padding-top:120px; }
  body[data-mode="dusk"] .login-card{ justify-self:start; }
}
@media (max-width:900px){
  body[data-mode="dusk"] .app-topbar{ gap:6px; }
  body[data-mode="dusk"] .app-topbar-actions{ gap:0; }
    .dusk-wordmark{ font-size:26px; }
  .dusk-brand .dusk-mark{ width:30px; height:25px; }
  .chat-widget-panel{ top:150px; }
}
@media (max-width:640px){
  .dusk-announce{ height:46px; font-size:14px; gap:8px; }
  body[data-mode="dusk"] .app-topbar{ min-height:68px; padding:0 12px 0 16px !important; }
  .dusk-wordmark{ font-size:23px; }
  .dusk-brand{ gap:9px; }
  .dusk-brand .dusk-mark{ width:27px; height:22px; }
  body[data-mode="dusk"] .dusk-cta{ height:40px; padding:0 13px; font-size:15px; }
  body[data-mode="dusk"] .app-topbar .icon-btn-fixed,
  body[data-mode="dusk"] .app-topbar .bell-btn{ width:36px; height:36px; }
  body[data-mode="dusk"] #darkmode-toggle-btn{ display:none; }
  .dusk-badge{ height:auto; min-height:40px; padding:9px 12px 9px 14px; gap:10px; font-size:13.5px; }
  .dusk-badge-link{ display:none; }
  .dusk-title{ margin-top:26px; font-size:clamp(36px,10.5vw,48px); line-height:1.08; }
  .is-compact .dusk-title{ font-size:clamp(34px,10vw,44px); margin-top:20px; }
  .dusk-sub{ margin-top:18px; font-size:16.5px; }
  .dusk-actions{ gap:12px; margin-top:30px; }
  .dusk-actions > *{ flex:1 1 auto; padding:0 18px; font-size:16px; }
  .dusk-rotator{ margin-top:38px; gap:4px; padding-left:34px; }
  .dusk-rot-item{ font-size:25px; gap:14px; }
  .dusk-rot-item .dusk-tri{ margin-left:-34px; border-width:10px 0 10px 17px; }
  .dusk-trusted p{ font-size:14px; }
  .dusk-logo{ font-size:21px; }
  .dusk-logo.serif-i{ font-size:24px; }
  .dusk-logo.wide{ font-size:18px; }
  .dusk-logo.block, .dusk-logo.italic{ font-size:19px; }
  body[data-mode="dusk"] .main-content{ padding-bottom:48px !important; }
  body[data-mode="dusk"] .center-screen.login-screen{ padding-top:96px; }
  .dusk-login-bar{ height:72px; }
  body[data-mode="dusk"] .login-card{ padding:26px 22px 24px; }
}
@media (max-width:380px){
  body[data-mode="dusk"] .chat-fab{ display:none; }
}

/* =====================================================================
   HAREKET
   ===================================================================== */
@keyframes dRise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@keyframes dFade{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion:reduce){
  body[data-mode="dusk"] *, body[data-mode="dusk"] *::before, body[data-mode="dusk"] *::after{ animation:none !important; transition:none !important; }
}

/* Yazdırma: tema dekorunu gizle */
@media print{
  body[data-mode="dusk"]::before, body[data-mode="dusk"]::after,
  body[data-mode="dusk"] .dusk-announce, body[data-mode="dusk"] .dusk-hero, body[data-mode="dusk"] .dusk-menu{ display:none !important; }
  body[data-mode="dusk"] .main-content{ padding:0 !important; max-width:none; }
}

/* =====================================================================
   PROJE DETAYI — iş akış ağacı sağa doğru genişler, durum kutuları oranlanır
   ===================================================================== */
body[data-mode="dusk"].dusk-detail .main-content{ max-width:none !important; }
body[data-mode="dusk"] .project-detail-layout{ grid-template-columns:minmax(260px,320px) minmax(0,1fr); gap:22px; }
body[data-mode="dusk"] .tree-flow{ max-width:1500px; }
body[data-mode="dusk"] .tree-card-wrap,
body[data-mode="dusk"] .tree-subitems{ max-width:680px; }
body[data-mode="dusk"] .tree-card{ max-width:none; }
body[data-mode="dusk"] .tree-card .checklist-decision-row{ gap:6px; }
body[data-mode="dusk"] .tree-card .checklist-current,
body[data-mode="dusk"] .tree-card .checklist-decision-btn{
  flex:1 1 auto; min-width:0; justify-content:center; text-align:center;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:10.5px; padding:5px 8px; line-height:1.25;
}
body[data-mode="dusk"] .tree-card .checklist-current{ flex:0 0 auto; }
@media (max-width:1100px){
  body[data-mode="dusk"] .tree-card .checklist-decision-btn{ white-space:normal; }
}

/* =====================================================================
   PROJE KARTLARI — vektörel kapak + ilerleme (örnek tasarım)
   ===================================================================== */
body[data-mode="dusk"] .results-grid.dusk-pgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
@media (min-width:1760px){ body[data-mode="dusk"] .results-grid.dusk-pgrid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1100px){ body[data-mode="dusk"] .results-grid.dusk-pgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } }
@media (max-width:640px){ body[data-mode="dusk"] .results-grid.dusk-pgrid{ grid-template-columns:1fr; } }

body[data-mode="dusk"] .dusk-pcard{
  --dp-gold:#D6BC8E;
  display:flex; flex-direction:column; padding:0 !important; overflow:hidden;
  border-radius:18px !important; border:1px solid rgba(214,188,142,.16) !important;
  background:linear-gradient(180deg,#2B2B2F 0%,#252528 100%) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.28) !important;
  transition:transform .22s var(--d-ease), border-color .22s ease, box-shadow .22s ease;
}
body[data-mode="dusk"] .dusk-pcard:hover{
  transform:translateY(-6px); border-color:rgba(214,188,142,.38) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.38) !important; background:linear-gradient(180deg,#2B2B2F 0%,#252528 100%) !important;
}
.dp-cover{
  position:relative; height:clamp(170px,15vw,230px); padding:34px 22px 0;
  background:linear-gradient(180deg,#141312 0%,#1D1B18 55%,#26231F 100%);
  border-bottom:1px solid rgba(214,188,142,.1);
  display:flex; align-items:flex-end;
}
.dp-cover-art{
  width:100%; height:100%; display:block;
  fill:none; stroke:var(--dp-gold,#D6BC8E); stroke-width:2.4; stroke-linejoin:round; stroke-linecap:round;
  vector-effect:non-scaling-stroke;
}
.dp-cover-art *{ vector-effect:non-scaling-stroke; }
.dp-phase{
  position:absolute; top:18px; right:18px; padding:7px 16px; border-radius:999px;
  background:rgba(18,17,16,.85); border:1px solid rgba(214,188,142,.35);
  color:#EFDDBA; font-size:14px; font-weight:600; letter-spacing:-.005em; white-space:nowrap;
}
.dp-kod{
  position:absolute; top:22px; left:20px; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(214,188,142,.6); transition:opacity .18s ease;
}
.dp-actions{ position:absolute; top:14px; left:14px; display:flex; gap:6px; opacity:0; transform:translateY(-4px); transition:opacity .18s ease, transform .18s ease; }
.dusk-pcard:hover .dp-actions, .dusk-pcard:focus-within .dp-actions{ opacity:1; transform:none; }
.dusk-pcard:hover .dp-kod, .dusk-pcard:focus-within .dp-kod{ opacity:0; }
@media (hover:none){ .dp-actions{ opacity:1; transform:none; } .dp-kod{ display:none; } }
.dp-act{
  display:grid; place-items:center; width:32px; height:32px; border-radius:9px;
  background:rgba(18,17,16,.88); border:1px solid rgba(214,188,142,.28); color:#E6D2AB;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.dp-act:hover{ background:#2E2A24; border-color:rgba(214,188,142,.6); }
.dp-act.danger:hover{ color:#FF8A7A; border-color:rgba(255,138,122,.5); }
.dp-act.favorite-btn.active{ color:#1A1712; background:#D6BC8E; border-color:#D6BC8E; }
.dp-act.favorite-btn.active svg{ fill:currentColor; }
.dp-actions:has(.favorite-btn.active){ opacity:1; transform:none; }
.dp-actions:has(.favorite-btn.active) .dp-act:not(.favorite-btn){ opacity:0; transition:opacity .18s ease; }
.dusk-pcard:hover .dp-actions .dp-act{ opacity:1 !important; }

.dp-body{ padding:26px 30px 30px; display:flex; flex-direction:column; flex:1; }
.dp-title{
  font-family:'Inter Tight','Inter',sans-serif !important; font-size:clamp(20px,1.55vw,25px); font-weight:600 !important;
  letter-spacing:-.02em !important; line-height:1.2; color:#F4EEE4 !important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.dp-place{ display:flex; align-items:center; gap:8px; margin-top:8px; font-size:15.5px; color:rgba(230,220,204,.62); min-width:0; }
.dp-place svg{ flex-shrink:0; color:rgba(214,188,142,.7); }
.dp-place span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dp-bar{ position:relative; height:8px; margin-top:24px; border-radius:999px; background:rgba(255,255,255,.07); overflow:hidden; }
.dp-bar span{
  position:absolute; left:0; top:0; bottom:0; border-radius:999px;
  background:linear-gradient(90deg,#A88A5E 0%,#D9BD8C 55%,#F6E6C4 100%);
  box-shadow:0 0 12px rgba(217,189,140,.3);
}
.dp-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; }
.dp-avatars{ display:flex; align-items:center; }
.dp-av{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%;
  font-size:13px; font-weight:700; color:#2A2218;
  border:2px solid #29292C; margin-left:-9px;
  background:radial-gradient(circle at 32% 28%,#F5E7CA 0%,#DCC296 60%,#B89A6A 100%);
}
.dp-av:first-child{ margin-left:0; }
.dp-av-1{ background:radial-gradient(circle at 32% 28%,#E2C593 0%,#C6A26C 60%,#9C7B4E 100%); }
.dp-av-2{ background:radial-gradient(circle at 32% 28%,#FBF1DD 0%,#E8D5B0 60%,#C9AD7F 100%); }
.dp-av-empty{ background:rgba(255,255,255,.08); color:rgba(255,255,255,.5); }
.dp-pct{ font-size:16px; color:rgba(230,220,204,.66); white-space:nowrap; }
.dp-pct b{ color:#F4EEE4; font-weight:700; }
@media (max-width:640px){
  .dp-body{ padding:20px 20px 22px; }
  .dp-phase{ font-size:13px; padding:6px 13px; top:14px; right:14px; }
  .dp-pct{ font-size:14.5px; }
}
