:root {
  --bg: #f4f6fa; --panel: #ffffff; --ink: #14233d; --muted: #5d6b82; --line: #e1e6ee;
  --brand: #0f2747; --brand-hover: #173763; --brand2: #0a6cf0; --accent: #0a74ff; --soft: #eaf2ff;
  --ok: #15803d; --okbg: #e7f6ec; --warn: #b45309; --warnbg: #fdf3e3; --bad: #b91c1c; --badbg: #fdecec;
  --info: #1d4ed8; --infobg: #eaf0fd;
  --P: #0f766e; --I: #7c3aed; --C: #c2410c; --O: #1d4ed8;
  --r: 12px; --shadow: 0 1px 2px rgba(15,39,71,.06), 0 4px 16px rgba(15,39,71,.05);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14.5px/1.55 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand2); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; } h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
p { margin: 0 0 .8em; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 10px 24px; background: var(--brand); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brandlogo { height: 38px; width: auto; display: block; }
.tagline { font-size: 11px; opacity: .6; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
@media (max-width: 960px) { .tagline { display: none; } }
.homelogo { width: min(340px, 100%); height: auto; display: block; margin: 4px 0 14px; }
.projectbar { flex: 1; display: flex; gap: 8px; align-items: center; }
.projectbar select, .projectbar input { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.projectbar select option { color: #000; }
.statusbar { display: flex; gap: 8px; font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; background: var(--soft); color: var(--brand); white-space: nowrap; }
.topbar .pill { background: rgba(255,255,255,.14); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; }
.dot.on { background: #4ade80; } .dot.off { background: #f87171; }

.stepper { display: flex; gap: 4px; padding: 10px 24px; background: var(--panel); border-bottom: 1px solid var(--line); overflow-x: auto; position: sticky; top: 54px; z-index: 19; }
.step { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; white-space: nowrap; font-weight: 500; font-size: 13.5px; }
.step:hover { background: var(--bg); }
.step .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--line); color: var(--muted); font-weight: 600; }
.step.active { background: var(--soft); color: var(--brand); }
.step.active .n { background: var(--brand); color: #fff; }
.step.done .n { background: var(--ok); color: #fff; }

.app { max-width: 1320px; margin: 0 auto; padding: 24px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.side { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); align-items: start; }
@media (max-width: 960px) { .g2, .g3, .g4, .side { grid-template-columns: 1fr; } .app { padding: 16px; } .topbar { flex-wrap: wrap; padding: 10px 16px; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.tint { background: var(--soft); border-color: #cddfff; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
/* Yapışkan sağ sütun: ekrandan uzunsa kendi içinde kaydırılır (alt kısmı her zaman erişilebilir) */
.sticky { position: sticky; top: 126px; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
@media (max-width: 960px) { .sticky { position: static; max-height: none; overflow: visible; } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 10px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .tiny { font-size: 11.5px; }
.right { margin-left: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

button, .btn { font: inherit; font-weight: 500; border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: 7px 14px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
button:hover, .btn:hover { border-color: #c5cfdd; background: #f8fafd; }
button.primary, .btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
button.primary:hover { background: var(--brand-hover); }
button.ghost { background: transparent; border-color: transparent; color: var(--brand2); padding: 4px 8px; }
button.danger { color: var(--bad); }
button.sm, .btn.sm { padding: 3px 9px; font-size: 12.5px; border-radius: 7px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.ok, .btn.ok { background: var(--okbg); color: var(--ok); border-color: #bfe3cb; }
button.no { background: var(--badbg); color: var(--bad); border-color: #f3c7c7; }

input[type=text], input[type=number], input[type=password], input[type=date], textarea, select { font: inherit; border: 1px solid color-mix(in srgb, var(--muted) 38%, white); border-radius: 8px; padding: 7px 10px; background: color-mix(in srgb, var(--bg) 45%, white); box-shadow: inset 0 1px 2px rgba(18, 38, 74, .06); color: var(--ink); width: 100%; }
textarea { resize: vertical; min-height: 70px; }
input:focus, textarea:focus, select:focus { outline: 2px solid #9cc3ff; border-color: var(--brand2); }
label.f { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.inline { width: auto !important; }
input[type=checkbox] { accent-color: var(--brand2); width: 15px; height: 15px; }

.callout { padding: 12px 14px; border-radius: 10px; border: 1px solid; font-size: 13.5px; }
.callout.info { background: var(--infobg); border-color: #cddbfb; color: #1e3a8a; }
.callout.warn { background: var(--warnbg); border-color: #f5ddb5; color: #78350f; }
.callout.ok { background: var(--okbg); border-color: #bfe3cb; color: #14532d; }
.callout.bad { background: var(--badbg); border-color: #f3c7c7; color: #7f1d1d; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.stat { padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.stat b { display: block; font-size: 22px; }
.stat span { font-size: 12px; color: var(--muted); }

.flow { counter-reset: s; display: grid; gap: 12px; }
.flow .fs { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.flow .fs .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 700; font-size: 18px; }
.flow .fs.done .num { background: var(--ok); color: #fff; }

/* PICO */
.alt { border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; background: #fff; }
.alt.on { border-color: var(--brand2); box-shadow: 0 0 0 2px #9cc3ff; }
.alt dl { display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; margin: 8px 0 0; font-size: 13px; }
.alt dt { font-weight: 700; color: var(--brand2); }
.alt dd { margin: 0; }
.q { padding: 12px 0; border-top: 1px dashed var(--line); }
.q:first-child { border-top: 0; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; color: #fff; background: var(--muted); margin-right: 6px; }
.tag.P { background: var(--P); } .tag.I, .tag.E { background: var(--I); } .tag.C { background: var(--C); } .tag.O { background: var(--O); } .tag.S, .tag.T { background: #475569; }

/* Equalizer */
.eq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eqcol { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; background: #fff; display: flex; flex-direction: column; align-items: center; }
/* Hizalama: başlık, sürgü, bilgi ve "aramaya dahil" her sütunda aynı yükseklikte */
.eqhead { height: 40px; width: 100%; display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.eqlabel { font-size: 12.5px; line-height: 1.3; text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eqhead .tag { flex: none; margin: 1px 0 0; }
.eqslider { height: 150px; display: flex; align-items: center; justify-content: center; }
.eqinfo { min-height: 58px; margin-top: 6px; }
.eqinc { margin-top: auto; padding-top: 10px; white-space: nowrap; }
.eqticks { height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 7px 0; }
.eqcol.off { opacity: .55; }
.eqcol input[type=range] { writing-mode: vertical-lr; direction: rtl; height: 140px; width: 28px; accent-color: var(--c, var(--brand2)); }
.eqcol .lv { font-weight: 600; font-size: 13px; }
.eqcol .cnt { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.eqscale { display: flex; flex-direction: column; padding-top: 15px; font-size: 11px; color: var(--muted); text-align: left; white-space: nowrap; }

/* Term table */
.concept { border-left: 4px solid var(--c); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
tr.inactive td { color: #9aa6b8; }
tr.suggested td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.fbadge { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #eef2ff; color: #3730a3; }
.fbadge.mesh { background: #fef3c7; color: #92400e; }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; min-width: 60px; }
.bar i { display: block; height: 100%; background: var(--c, var(--brand2)); }
.gain { color: var(--ok); font-weight: 600; }
.entrytag { font-size: 10px; font-weight: 600; padding: 0 5px; border-radius: 4px; background: #fef3c7; color: #92400e; white-space: nowrap; }
select.tier { width: auto; min-width: 112px; padding: 2px 22px 2px 6px; font-size: 12px; }

.query { font-family: var(--mono); font-size: 12px; white-space: pre-wrap; word-break: break-word; background: var(--brand); color: #dbeafe; padding: 14px; border-radius: 10px; max-height: 260px; overflow: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.tab { padding: 8px 12px; border: 0; background: none; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tab:hover { background: none; color: var(--ink); }

ol.steps { padding-left: 20px; margin: 0; }
ol.steps li { margin: 6px 0; }
kbd { font-family: var(--mono); font-size: 12px; background: var(--bg); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; }

.drop { border: 2px dashed #b9c8e0; border-radius: 12px; padding: 28px; text-align: center; background: #f9fbfe; cursor: pointer; }
.drop.over { border-color: var(--brand2); background: var(--soft); }

/* Records */
.rec { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.rec + .rec { margin-top: 8px; }
.rec .t { font-weight: 600; }
.rec .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rec .abs { font-size: 13px; margin-top: 8px; color: #33425c; max-height: 4.6em; overflow: hidden; }
.rec.open .abs { max-height: none; }
.rec .ai { margin-top: 8px; font-size: 12.5px; padding: 7px 10px; border-radius: 8px; background: var(--bg); }
.dec { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; text-transform: uppercase; }
.dec.include { background: var(--okbg); color: var(--ok); } .dec.exclude { background: var(--badbg); color: var(--bad); } .dec.uncertain { background: var(--warnbg); color: var(--warn); }

.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand2); transition: width .3s; }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.toasts { position: fixed; bottom: 18px; right: 18px; display: grid; gap: 8px; z-index: 50; }
.toast { background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); max-width: 420px; font-size: 13.5px; }
.toast.err { background: #7f1d1d; }

.prisma svg { width: 100%; height: auto; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 12px; }
.empty { text-align: center; padding: 40px; color: var(--muted); }

/* Ana sayfa: logonun tasarlandığı koyu zemin */
.card.hero { background: var(--brand); border-color: var(--brand); color: #dbe4f0; }
.card.hero p { color: #b8c4d6; }
.card.hero label.f { color: #8fa0b8; }
.card.hero input[type=text] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.card.hero input::placeholder { color: #8fa0b8; }
.card.hero button.primary { background: var(--accent); border-color: var(--accent); }
.card.hero button.primary:hover { background: #2b86ff; }


/* Tema seçici (sağ üst) */
.themesw { display: inline-flex; border-radius: 999px; padding: 2px; background: rgba(255,255,255,.12); gap: 2px; }
.themesw button { border: 0; background: transparent; color: inherit; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; opacity: .75; }
.themesw button:hover { background: rgba(255,255,255,.12); opacity: 1; }
.themesw button.on { background: #fff; color: var(--brand); opacity: 1; }
html[data-theme="v2"] .themesw, html[data-theme="v3"] .themesw { background: var(--soft); }
html[data-theme="v2"] .themesw button:hover, html[data-theme="v3"] .themesw button:hover { background: #d4ecff; }
html[data-theme="v2"] .themesw button.on, html[data-theme="v3"] .themesw button.on { background: var(--brand); color: #fff; }

/* ================= TEMALAR =================
   v1 ve v3: yukarıdaki :root (lacivert site); yalnız logolar farklı.
   v2: Logo2'nin orijinal renkleri — lacivert #12264a, gök mavisi #24a9f8, flamingo #eb6364, güneş #f2b84b */
.only-v1, .only-v2, .only-v3 { display: none !important; }
html[data-theme="v1"] .only-v1, html[data-theme="v2"] .only-v2, html[data-theme="v3"] .only-v3 { display: block !important; }

html[data-theme="v2"], html[data-theme="v3"] {
  --bg: #f3f8fd; --panel: #ffffff; --ink: #12264a; --muted: #5a6b86; --line: #dfe8f3;
  --brand: #12264a; --brand-hover: #1d3a6b; --brand2: #0b86e0; --accent: #24a9f8; --soft: #e6f5ff;
  --coral: #eb6364; --sun: #f2b84b;
  --info: #0b6fc0; --infobg: #e8f5ff;
  --P: #1d9bf0; --I: #eb6364; --C: #e0892c; --O: #12264a;
  --shadow: 0 1px 2px rgba(18,38,74,.06), 0 4px 16px rgba(18,38,74,.06);
}
html[data-theme="v2"] .topbar, html[data-theme="v3"] .topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
html[data-theme="v2"] .topbar::after, html[data-theme="v3"] .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 45%, var(--coral) 45% 78%, var(--sun) 78% 100%); }
html[data-theme="v2"] .brandlogo, html[data-theme="v3"] .brandlogo { height: 40px; }
html[data-theme="v2"] .tagline, html[data-theme="v3"] .tagline { color: var(--muted); opacity: 1; border-left-color: var(--line); }
html[data-theme="v2"] .topbar .pill, html[data-theme="v3"] .topbar .pill { background: var(--soft); color: var(--ink); }
html[data-theme="v2"] .projectbar select, html[data-theme="v3"] .projectbar select, html[data-theme="v2"] .projectbar input, html[data-theme="v3"] .projectbar input { background: #fff; color: var(--ink); border-color: var(--line); }
html[data-theme="v2"] .stepper, html[data-theme="v3"] .stepper { top: 57px; }
html[data-theme="v2"] .step.active, html[data-theme="v3"] .step.active { background: var(--soft); color: var(--ink); }
html[data-theme="v2"] .step.active .n, html[data-theme="v3"] .step.active .n { background: var(--accent); }
html[data-theme="v2"] .callout.info, html[data-theme="v3"] .callout.info { border-color: #bfe3fb; color: #0c3d6b; }
html[data-theme="v2"] .card.tint, html[data-theme="v3"] .card.tint { border-color: #c9e8fc; }
html[data-theme="v2"] .card.hero, html[data-theme="v3"] .card.hero { background: #fff; border-color: var(--line); color: var(--ink); position: relative; overflow: hidden; }
html[data-theme="v2"] .card.hero::before, html[data-theme="v3"] .card.hero::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 45%, var(--coral) 45% 78%, var(--sun) 78% 100%); }
html[data-theme="v2"] .card.hero p, html[data-theme="v3"] .card.hero p { color: var(--muted); }
html[data-theme="v2"] .card.hero label.f, html[data-theme="v3"] .card.hero label.f { color: var(--muted); }
html[data-theme="v2"] .card.hero input[type=text], html[data-theme="v3"] .card.hero input[type=text] { background: color-mix(in srgb, var(--bg) 45%, white); border-color: color-mix(in srgb, var(--muted) 38%, white); color: var(--ink); }
html[data-theme="v2"] .card.hero input::placeholder, html[data-theme="v3"] .card.hero input::placeholder { color: #94a3b8; }
html[data-theme="v2"] .card.hero button.primary, html[data-theme="v3"] .card.hero button.primary { background: var(--brand); border-color: var(--brand); }
html[data-theme="v2"] .card.hero button.primary:hover, html[data-theme="v3"] .card.hero button.primary:hover { background: var(--brand-hover); }

/* ---------- Görev bazlı renk sistemi (tüm temalar) ----------
   Her tema kendi logosundan şu rolleri doldurur:
   --sky   etkileşim/seçim (odak, seçili çip, bağlantı, ilerleme)   --coral dikkat/dışlama
   --sun   uyarı/öneri                                               --acc1..4 istatistik kartı şeritleri
   --tabline aktif sekme alt çizgisi · --sugline öneri satırı vurgusu · --grad ilerleme/şerit gradyanı */
:root, html[data-theme="v1"] {
  /* v1: ilk logo — mavi #0a74ff + gümüş gri */
  --sky: #0a74ff; --sky-d: #0a5fd0; --sky-soft: #eaf2ff; --sky-line: #c9dcff;
  --coral: #dc2626; --coral-d: #b91c1c; --coral-soft: #fdecec; --coral-line: #f3c7c7;
  --sun: #d99a2b; --sun-d: #8a5a00; --sun-soft: #fff6df; --sun-line: #f5dc9e;
  --acc1: #0a74ff; --acc2: #9aa3ad; --acc3: #7fb4ff; --acc4: #0f2747;
  --tabline: #0a74ff; --sugline: #0a74ff;
  --grad: linear-gradient(90deg, #0a74ff, #7fb4ff 60%, #c5ccd6);
  --grad-soft: linear-gradient(90deg, #0a74ff, #4f97ff 45%, #9cc2ff 80%, #c5ccd6);
}
html[data-theme="v2"], html[data-theme="v3"] {
  /* v2 ve v3 (aynı palet; v3 yalnız logoda ayrışır — Justifex): Logo2 — lacivert, gök mavisi, mercan, sarı */
  --sky: #24a9f8; --sky-d: #0b78c9; --sky-soft: #e6f5ff; --sky-line: #bfe3fb;
  --coral: #eb6364; --coral-d: #c9464a; --coral-soft: #fdeeee; --coral-line: #f7c9ca;
  --sun: #f2b84b; --sun-d: #8a5a00; --sun-soft: #fff6df; --sun-line: #f5dc9e;
  --acc1: #24a9f8; --acc2: #eb6364; --acc3: #f2b84b; --acc4: #12264a;
  --tabline: #eb6364; --sugline: #f2b84b;
  --grad: linear-gradient(90deg, #24a9f8 0 45%, #eb6364 45% 78%, #f2b84b 78% 100%);
  /* ilerleme çubukları: renkler birbirine yumuşakça geçer */
  --grad-soft: linear-gradient(90deg, #24a9f8, #eb6364 62%, #f2b84b);
}
html { --brand2: var(--sky-d); --warn: var(--sun-d); --warnbg: var(--sun-soft); --bad: var(--coral-d); --badbg: var(--coral-soft); }

/* Üst bar şeridi (v1; v2 ve v3'te kendi kuralı var) */
html[data-theme="v1"] .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
html[data-theme="v1"] .topbar::after { background: linear-gradient(90deg, #0a74ff, #7fb4ff 55%, #c5ccd6); opacity: .9; }

/* Bağlantılar — adımlar, düğme görünümlü bağlantılar ve logo hariç */
a:not(.step):not(.btn):not(.brand) { color: var(--sky-d); }
.btn { color: var(--ink); }
.btn.primary { color: #fff; }
input:focus, textarea:focus, select:focus { outline-color: color-mix(in srgb, var(--sky) 45%, white); border-color: var(--sky); }
input[type=checkbox], input[type=range] { accent-color: var(--sky-d); }

/* Düğmeler */
button:hover, .btn:hover { border-color: var(--sky-line); background: #f7fbff; }
button.primary, .btn.primary { box-shadow: inset 0 -2px 0 var(--sky); }
button.primary:hover, .btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
button.ghost { color: var(--sky-d); }
button.danger, button.ghost.danger { color: var(--coral-d); }
button.no { background: var(--coral-soft); color: var(--coral-d); border-color: var(--coral-line); }
.card.hero button.primary { box-shadow: none; }

/* Uyarı kutuları */
.callout.info { background: var(--sky-soft); border-color: var(--sky-line); color: #0c3d6b; }
.callout.warn { background: var(--sun-soft); border-color: var(--sun-line); color: #6b4400; }
.callout.bad { background: var(--coral-soft); border-color: var(--coral-line); color: #7a1f1a; }
.card.tint { background: var(--sky-soft); border-color: var(--sky-line); }

/* Çipler, rozetler, sekmeler */
.pill { background: var(--sky-soft); color: var(--ink); }
.chip:hover { border-color: var(--sky-line); }
.chip.on { background: var(--sky-soft); color: var(--ink); border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); font-weight: 600; }
.tab.on { color: var(--ink); border-bottom-color: var(--tabline); }
.tab:hover { color: var(--sky-d); }
.fbadge { background: var(--sky-soft); color: var(--sky-d); }
.fbadge.mesh, .entrytag { background: var(--sun-soft); color: var(--sun-d); }
.dec.exclude { background: var(--coral-soft); color: var(--coral-d); }
.dec.uncertain { background: var(--sun-soft); color: var(--sun-d); }

/* Adımlar, iş akışı, istatistik kartları */
.step.active .n { background: var(--sky); }
.step.done .n { background: var(--sky-soft); color: var(--sky-d); box-shadow: inset 0 0 0 1.5px var(--sky); }
.flow .fs .num { background: var(--sky-soft); color: var(--sky-d); }
.flow .fs.done .num { background: var(--sky); color: #fff; }
.flow .fs:hover { border-color: var(--sky-line); }
.stat { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--acc1); }
.grid > .stat:nth-child(4n+2) { border-left-color: var(--acc2); }
.grid > .stat:nth-child(4n+3) { border-left-color: var(--acc3); }
.grid > .stat:nth-child(4n+4) { border-left-color: var(--acc4); }

/* PICO alternatifleri, hedge tablosu, ekolayzır */
.alt:hover { border-color: var(--sky-line); }
.alt.on { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky-line); }
.alt dt { color: var(--sky-d); }
tr.suggested td:first-child { box-shadow: inset 3px 0 0 var(--sugline); }
.gain { color: var(--sky-d); }
.eqcol { border-top: 3px solid var(--c, var(--sky)); }

/* Sorgu kutusu, ilerleme, yükleme alanı, kayıtlar, bildirimler */
.query { border-left: 3px solid var(--sky); }
.progress i { background: var(--grad-soft); }
.drop { border-color: var(--sky-line); background: #f7fbff; }
.drop:hover, .drop.over { border-color: var(--sky); background: var(--sky-soft); }
.rec:hover { border-color: var(--sky-line); }
.rec .ai { background: var(--sky-soft); }
.toast { box-shadow: inset 3px 0 0 var(--sky), var(--shadow); }
.toast.err { background: var(--coral-d); box-shadow: var(--shadow); }


/* ---------- Animasyonlu "E" (bekleme göstergesi) ---------- */
.eanim { display: inline-block; vertical-align: middle; flex: none; overflow: visible; margin: 3px; }
.eanim .e-splash { transform-box: view-box; transform-origin: 50% 50%; }
.eanim.busy .e-splash { animation: eBreath 4.2s linear infinite; filter: url(#eWobble); }
/* Belirgin, yavaş "nefes": büyür, küçülür, hafifçe salınır */
@keyframes eBreath {
  0%   { transform: scale(1)    rotate(0deg);    animation-timing-function: ease-in-out; }
  25%  { transform: scale(1.2)  rotate(-4deg);   animation-timing-function: ease-in-out; }
  50%  { transform: scale(.88)  rotate(2deg);    animation-timing-function: ease-in-out; }
  75%  { transform: scale(1.12) rotate(3.5deg);  animation-timing-function: ease-in-out; }
  100% { transform: scale(1)    rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .eanim.busy .e-splash { animation-duration: 5s; filter: none; } }
.jobbar { display: flex; align-items: center; gap: 10px; }
.eanim.corner { margin: -10px -6px -14px 0; }
button .eanim { margin: -3px 0; }

.cmode { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--C); border-radius: 10px; background: #fff; display: grid; gap: 6px; font-size: 13px; }
.cmode label { display: flex; gap: 8px; align-items: flex-start; }
.cmode input { margin-top: 3px; accent-color: var(--sky-d); }
tr.curcombo td { font-weight: 600; background: var(--sky-soft); }
details.advice { margin-top: 10px; }
details.advice summary { cursor: pointer; font-size: 12.5px; color: var(--sky-d); font-weight: 600; }
.concept { overflow-x: auto; }

/* Terim satırı: arama alanı seçimi (rozet görünümlü) */
select.fsel { width: auto; min-width: 92px; padding: 2px 22px 2px 7px; font-size: 11.5px; font-weight: 600; border-radius: 6px; border: 1px solid transparent; background-color: var(--sky-soft); color: var(--sky-d); cursor: pointer; }
select.fsel.mesh { background-color: var(--sun-soft); color: var(--sun-d); }
select.fsel.custom { border-color: currentColor; }
select.fsel:hover { border-color: var(--sky-line); }

tr.dangerrow td { background: var(--coral-soft); }

/* Sağ sütundaki ana düğme: sütun kaydırılsa da altta sabit, her zaman görünür */
/* Sağ sütun = [kendi içinde kayan içerik] + [ayrı duran ana düğme]: ikisi asla çakışmaz */
.sticky.stickycol { display: flex; flex-direction: column; gap: 10px; overflow: visible; padding-right: 0; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
.stickycol > .stickyscroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 2px 2px 0; }
.stickycol > .stickyfoot { flex: none; width: 100%; justify-content: center; }
@media (max-width: 960px) { .sticky.stickycol { max-height: none; } .stickycol > .stickyscroll { overflow: visible; } }

/* Hedge danışmanı */
.advpanel { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--sky-line); border-radius: 10px; background: var(--sky-soft); }
tr.advrow td { border-bottom: 1px solid var(--line); padding-top: 0; }
.adv { display: flex; gap: 10px; align-items: flex-start; padding: 7px 10px; border-radius: 8px; border-left: 3px solid var(--sky); background: #fff; font-size: 12.5px; }
.adv.keep { border-left-color: var(--ok); background: #f3fbf5; }
.adv.off { border-left-color: var(--coral); background: var(--coral-soft); }
.adv.warn { border-left-color: var(--sun); background: var(--sun-soft); }
.adv.done { opacity: .55; }
.advtag { font-weight: 700; white-space: nowrap; min-width: 118px; }
.adv.keep .advtag { color: var(--ok); } .adv.off .advtag { color: var(--coral-d); } .adv.warn .advtag { color: var(--sun-d); }
.advtxt { flex: 1; min-width: 0; }
.advbtns { display: flex; gap: 4px; flex: none; }

input.mini { width: 132px; min-width: 0; padding: 3px 6px; font-size: 12px; border-radius: 6px; }
.slog td { white-space: nowrap; }
.slog td:last-child { white-space: normal; min-width: 70px; }
input.mini.num { width: 78px; text-align: right; }

.kbdhint { font-size: 12px; color: var(--muted); margin: -2px 0 10px; }
.kbdhint kbd { margin: 0 1px; }
.rec.cur { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky-line); }

input.numsm { width: 76px !important; padding: 4px 8px; margin-left: 4px; }
/* Terim tablosu: başlıklar kırılabilir, yatay taşma azalır (taşarsa kaydırma konumu korunur) */
.concept th.num { white-space: normal; font-family: inherit; font-size: 11px; line-height: 1.25; min-width: 64px; }
.concept td { padding: 6px 6px; }
.concept select.tier { min-width: 0; }
.concept .bar.minibar { min-width: 0; width: 100%; height: 4px; margin-top: 3px; }
.concept td:last-child, .concept th:last-child { padding-left: 2px; padding-right: 2px; }
.concept { scrollbar-width: thin; }
/* İpucu katmanı (yeniden çizimden bağımsız) */
.tiplayer { position: fixed; z-index: 1000; max-width: 340px; padding: 8px 11px; border-radius: 8px; background: var(--brand, #0f2747); color: #fff; font-size: 12.5px; line-height: 1.45; box-shadow: 0 6px 22px rgba(10, 25, 50, .22); pointer-events: auto; opacity: 0; visibility: hidden; transition: opacity .12s; white-space: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.tiplayer.on { opacity: 1; visibility: visible; }
.help { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--sky-d, #0a74ff); font-size: 13px; padding: 0 3px; border-radius: 50%; user-select: none; }
.help:hover { background: var(--sky-soft, #e8f1ff); }
/* Doğrulama seti, tam metin kutusu */
.valline { margin-top: 10px; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; background: var(--sky-soft); }
.valline.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.valline.bad { background: color-mix(in srgb, var(--coral, #e5533d) 12%, transparent); }
table.valtab td { vertical-align: top; }
.ftbox { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ftbox select.ftreason { max-width: 260px; font-size: 12px; }
.pmfetch { border-left: 3px solid var(--sky); }
.adv.peek.ok { border-left-color: var(--ok); background: #f3fbf5; }
.adv.peek.no { border-left-color: var(--coral); background: var(--coral-soft); }
/* Kapalı terim önizlemesi */
button.peekbtn { white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; line-height: 1.4; font-size: 11px; padding: 1px 8px; margin-left: 6px; border-radius: 999px; border: 1px solid var(--sky-line); background: var(--sky-soft); color: var(--sky-d); font-weight: 600; vertical-align: 1px; }
button.peekbtn:hover { background: var(--sky-soft); border-color: var(--sky); }
.adv.peek { border-left-style: dashed; }
.peeklist { margin-top: 6px; font-size: 12px; }
.peeklist summary { cursor: pointer; color: var(--sky-d); font-weight: 600; }
.peeklist ol { margin: 6px 0 0 18px; padding: 0; }
.peeklist li { margin: 2px 0; }

/* ===== 2026-11-11: yol gösterici, akıllı ayar, kaçırma kontrolü, tema cilası (tüm temalar) ===== */
/* Yol gösterici şerit */
.guide { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 16px; padding: 9px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; position: relative; overflow: hidden; }
.guide::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-soft); }
.guide .gicon { color: var(--sky-d); font-weight: 700; padding-left: 4px; }
.guide > span:nth-child(2) { flex: 1; min-width: 220px; }

/* Akıllı ayar */
.card.tuner { border-color: var(--sky-line); position: relative; overflow: hidden; }
.card.tuner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-soft); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.topt { border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; background: var(--panel); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.topt:hover { border-color: var(--sky-line); box-shadow: 0 4px 14px rgba(15, 39, 71, .07); }
.topt.rec { border-color: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 16%, transparent); }
.topt.on { background: color-mix(in srgb, var(--ok) 6%, var(--panel)); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.topt .tlabel { font-weight: 700; font-size: 13px; }
.topt.rec .tlabel { color: var(--sky-d); }
.topt .tcount { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 2px; font-variant-numeric: tabular-nums; }
.topt .tcount span { font-size: 12px; font-weight: 500; color: var(--muted); }
.topt > button { margin-top: auto !important; }
table.tmeta { margin-top: 6px; }
table.tmeta td { border: 0; padding: 2px 0; font-size: 11.5px; vertical-align: top; }
table.tmeta td:first-child { color: var(--muted); width: 92px; padding-right: 6px; }
.tmissed { margin-top: 6px; font-size: 11.5px; }
.tmissed summary { cursor: pointer; color: var(--coral-d); font-weight: 600; }
.tmissed ul { margin: 4px 0 0 16px; padding: 0; }

/* Sürgü açıklaması */
.lvdesc { font-size: 10.5px; line-height: 1.3; color: var(--muted); margin: 2px 0 3px; min-height: 2.6em; }
table.lvtable { margin-top: 12px; table-layout: fixed; }
table.lvtable th, table.lvtable td { font-size: 11px; padding: 4px 6px; vertical-align: top; text-transform: none; letter-spacing: 0; }
table.lvtable th { width: 62px; color: var(--muted); }

/* Kaçırma kontrolü */
.safety { margin: 12px 0 4px; padding: 9px 11px; border-radius: 9px; background: var(--sky-soft); border: 1px solid var(--sky-line); }
.rec .ai.second { border-left: 3px solid var(--sun); padding-left: 8px; }
.upd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* Tema cilası: daha yumuşak kartlar, net odak halkası, sakin hover */
:root { --r: 14px; --shadow: 0 1px 2px rgba(15, 39, 71, .05), 0 6px 22px rgba(15, 39, 71, .055); }
.card { transition: box-shadow .2s; }
button, .btn { transition: background-color .15s, border-color .15s, box-shadow .15s, transform .05s; }
button:active:not(:disabled), .btn:active { transform: translateY(1px); }
button:focus-visible, .btn:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid color-mix(in srgb, var(--sky) 60%, white); outline-offset: 2px; }
button:disabled { opacity: .55; cursor: not-allowed; }
.stat { transition: transform .15s; }
h2 { letter-spacing: -.01em; }
::selection { background: color-mix(in srgb, var(--sky) 28%, transparent); }
/* Akıllı ayar: karşılaştırma satırları */
.tlist { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.trow { display: grid; grid-template-columns: minmax(150px, 1.3fr) 92px minmax(170px, 1.7fr) 118px 74px; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.trow:first-child { border-top: 0; }
.trow.thead { background: var(--bg); font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 7px; padding-bottom: 7px; }
.trow.rec { background: color-mix(in srgb, var(--sky) 7%, var(--panel)); box-shadow: inset 3px 0 0 var(--sky); }
.trow.on { box-shadow: inset 3px 0 0 var(--ok); }
.trow .tlabel { font-weight: 700; font-size: 13.5px; }
.trow.rec .tlabel { color: var(--sky-d); }
.trow .tnum { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.trow .tnum span { font-size: 11px; font-weight: 500; color: var(--muted); }
.trow .tact { text-align: right; }
.trow .tdet { grid-column: 1 / -1; font-size: 12px; margin-top: -2px; }
.trow .tdet summary { cursor: pointer; color: var(--sky-d); font-weight: 600; font-size: 11.5px; }
.trow .tdet ul { margin: 4px 0 0 16px; padding: 0; }
.riskpill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.riskpill.none, .riskpill.low { background: var(--okbg); color: var(--ok); }
.riskpill.mid { background: var(--sun-soft); color: var(--sun-d); }
.riskpill.high { background: var(--coral-soft); color: var(--coral-d); }
.riskpill.unk { background: var(--bg); color: var(--muted); }
@media (max-width: 760px) { .trow { grid-template-columns: 1fr 1fr; } .trow.thead { display: none; } .trow .tact { text-align: left; } }
/* Kriter hatırlatma çipleri tek satırda kalsın */
.q .chips .chip { white-space: nowrap; }
.q .row > .small { flex: 1; min-width: 0; }
/* Yardım kutuları: çok satırlı, uzun metin kaydırılır */
.tiplayer { white-space: pre-line; max-width: 420px; max-height: 72vh; overflow-y: auto; font-size: 12.5px; line-height: 1.5; padding: 11px 14px; }
h2 .help, h3 .help { font-size: 14px; vertical-align: 2px; }
.help { font-weight: 600; }
/* Arama genişliği tablosu */
table.lvmatrix { margin-top: 12px; table-layout: fixed; }
table.lvmatrix th, table.lvmatrix td { font-size: 11.5px; padding: 5px 6px; text-align: center; text-transform: none; letter-spacing: 0; }
table.lvmatrix th:first-child { text-align: left; width: 34%; color: var(--ink); font-weight: 600; }
table.lvmatrix thead th { color: var(--muted); font-weight: 600; }
table.lvmatrix .yes { color: var(--ok); font-weight: 700; }
table.lvmatrix .no { color: #c3cad6; }
.oolv { font-size: 10.5px; color: var(--sun-d); background: var(--sun-soft); border-radius: 999px; padding: 0 6px; margin-left: 4px; white-space: nowrap; }
.lv { font-weight: 700; }
/* Kavram harfleri (P, I, C, O) metin içinde renkli ve kalın */
b.ck { font-weight: 800; padding: 0 1px; }
b.ck.P { color: var(--P); } b.ck.I { color: var(--I); } b.ck.C { color: var(--C); } b.ck.O { color: var(--O); }
html[data-theme="v2"] b.ck.O, html[data-theme="v3"] b.ck.O { color: #3b5b8f; }
/* PICO açılımı */
.picolegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 8px 0 10px; padding: 7px 11px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; }
.picolegend .pl { white-space: nowrap; cursor: help; }
.picolegend .ck { font-size: 14px; }
/* Adım adım rehber penceresi */
.guidecall { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--sky-soft); border: 1px solid var(--sky-line); font-size: 13px; }
.guidecall > span { font-size: 22px; }
.guidecall > div { flex: 1; min-width: 220px; }
.guideov { position: fixed; inset: 0; z-index: 900; background: rgba(10, 22, 44, .55); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(2px); }
.gbox { width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--panel); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); padding: 16px 18px; position: relative; }
.ghead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ghead > b { font-size: 15px; }
.gtabs { display: flex; gap: 4px; margin-left: auto; }
.gtabs button { padding: 4px 11px; font-size: 12.5px; border-radius: 999px; }
.gtabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.gx { padding: 3px 9px; }
.gimg { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #f8fafc; }
.gimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gimg .mock { display: block; width: 100%; height: auto; }
.gimg.ev { max-height: 56vh; margin: 0 auto; }
.ghl { position: absolute; border: 3px solid #f59e0b; border-radius: 10px; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); animation: ghl 1.4s ease-in-out infinite; pointer-events: none; }
.mock .mhl { fill: none; stroke: #f59e0b; stroke-width: 4; animation: ghls 1.4s ease-in-out infinite; }
@keyframes ghl { 50% { box-shadow: 0 0 0 9px rgba(245, 158, 11, .08); } }
@keyframes ghls { 50% { stroke-opacity: .35; } }
.greal { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgba(15, 39, 71, .75); color: #fff; padding: 2px 8px; border-radius: 999px; }
.gcap { display: flex; gap: 12px; align-items: flex-start; margin: 14px 2px 10px; font-size: 14px; line-height: 1.55; min-height: 66px; }
.gnum { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.gnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gdots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.gdots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: var(--line); border: 0; }
.gdots button.on { background: var(--sky); transform: scale(1.25); }
.gprog { height: 3px; background: var(--line); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.gprog i { display: block; height: 100%; width: 0; background: var(--grad-soft); animation: gprog linear forwards; }
@keyframes gprog { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ghl, .mock .mhl { animation: none; } }

/* Önerilen PICO alternatifi: çok hafif ton farkı (tüm temalar) */
.alt.rec { background: color-mix(in srgb, var(--brand2) 6%, #fff); border-color: color-mix(in srgb, var(--brand2) 22%, var(--line)); }

/* Filtre kutucukları: ✓ taramaya girer, ✕ dışlanır (tüm temalar) */
.chip.fchip { background: #fff; color: var(--ink); box-shadow: none; font-weight: 500; }
.chip.fchip.out { background: color-mix(in srgb, var(--bad, #c0392b) 9%, #fff); border-color: color-mix(in srgb, var(--bad, #c0392b) 45%, #fff); color: var(--bad, #c0392b); text-decoration: line-through; box-shadow: none; }
/* 679 → 45 akış şeması */
.ffwrap { margin-top: 14px; }
.ffwrap > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.ff { margin-top: 10px; display: grid; gap: 4px; }
.ffrow { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 12px; align-items: center; }
.ffbox { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.ffbox b { font-size: 18px; }
.ffbox.final { border-color: var(--ok, #2e7d32); background: color-mix(in srgb, var(--ok, #2e7d32) 7%, #fff); }
.ffarrow { text-align: center; color: var(--muted); font-size: 18px; line-height: 1; }
.ffout { border-left: 3px solid var(--bad, #c0392b); padding: 4px 10px; font-size: 13px; background: color-mix(in srgb, var(--bad, #c0392b) 5%, #fff); border-radius: 0 8px 8px 0; }
.ffout b { color: var(--bad, #c0392b); }
@media (max-width: 700px) { .ffrow { grid-template-columns: 1fr; } }

/* Tarifle tarama */
.pcard textarea { width: 100%; }
.pq { border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 10px; padding: 10px 12px; margin-top: 8px; background: #fff; font-size: 14px; }
.pq.done { border-left-color: var(--ok); display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 12px; }
.pqhead { display: flex; gap: 8px; align-items: baseline; margin-bottom: 2px; }

/* Daha kolay seçilen sekme ve küçük düğmeler (tüm temalar; renkler temanın değişkenlerinden) */
.tabs { gap: 6px; padding-bottom: 6px; }
.tab { padding: 9px 16px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--brand) 4%, var(--panel, #fff)); color: var(--ink); font-weight: 500; cursor: pointer; }
.tab:hover { background: color-mix(in srgb, var(--brand) 10%, var(--panel, #fff)); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); color: var(--ink); }
.tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 2px 6px color-mix(in srgb, var(--brand) 30%, transparent); }
.tab.on:hover { background: var(--brand); color: #fff; }
button.sm, .btn.sm { padding: 6px 12px; min-height: 32px; font-size: 13.5px; border-radius: 8px; }
button.ghost, button.ghost.sm { border: 1px solid transparent; }
button.ghost:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.btn.sm:not(.primary):not(.ok):not(.ghost), button.sm:not(.primary):not(.ok):not(.no):not(.ghost):not(.peekbtn) { border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }

/* Giriş: iki çalışma türü */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.mode { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--panel, #fff); }
.mode.quick { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 5%, var(--panel, #fff)); }
.mode .mhead { font-weight: 700; font-size: 16px; }
.mode p { margin: 0; flex: 1; }
.mode button { align-self: flex-start; margin-top: 4px; }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } }
/* Hızlı tarama */
.qbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.qreview h4 { margin: 14px 0 4px; }
.qreview p { margin: 0 0 6px; line-height: 1.6; }
.qreview a[data-act="qJump"] { font-weight: 600; text-decoration: none; }
.qitem { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; transition: background-color .4s; }
.qitem.flash { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.qitem .qnum { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.qitem .t a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qitem .t a:hover { text-decoration: underline; }
.pill.dz.hi { background: color-mix(in srgb, var(--ok, #15803d) 14%, #fff); color: var(--ok, #15803d); }
.pill.dz.mid { background: color-mix(in srgb, var(--warn, #b45309) 12%, #fff); color: var(--warn, #b45309); }
.pill.dz.lo { background: color-mix(in srgb, var(--muted, #6b7280) 12%, #fff); }

/* Tarifle tarama sürerken kutunun altındaki durum alanı */
.pjob { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--panel, #fff)); }
.pjobhead { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.pjobhead .tiny { margin-left: auto; }
.pcard textarea:disabled { opacity: .7; }

/* Tarif kutusu: belirgin (tüm temalar) */
.pcard textarea { background: var(--panel, #fff); color: var(--ink); border: 2px solid color-mix(in srgb, var(--brand) 40%, var(--line)); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.55; box-shadow: inset 0 1px 2px rgba(0,0,0,.04); }
.pcard textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.pcard textarea::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.pcard textarea:disabled { opacity: 1; background: color-mix(in srgb, var(--brand) 4%, var(--panel, #fff)); color: color-mix(in srgb, var(--ink) 75%, transparent); }
.abs.noabs { display: flex; flex-direction: column; background: color-mix(in srgb, var(--warn, #b45309) 6%, var(--panel, #fff)); border-radius: 10px; padding: 10px 12px; }

/* Aşama sonu kontrol kartı */
.card.finish { border: 1px solid var(--line); }
.card.finish.ready { border-color: var(--ok, #15803d); background: color-mix(in srgb, var(--ok, #15803d) 6%, var(--panel, #fff)); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.checks li > span { flex: 0 0 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1.5px solid var(--line); color: var(--muted); }
.checks li.ok > span { background: var(--ok, #15803d); border-color: var(--ok, #15803d); color: #fff; }

/* ---- Sonraki aşama düğmesi (tüm aşamalarda aynı; renkler temadan) ----
   Koyu ana renk zemin + altta temanın şerit gradyanı + sağda yuvarlak ok. Sıradan düğmelerden belirgin biçimde ayrışır. */
.nextbtn { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px 14px 18px; border: 0; border-radius: 14px; background: var(--brand); color: #fff; text-align: left; cursor: pointer; overflow: hidden; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent); transition: transform .12s, box-shadow .15s, background-color .15s; }
.nextbtn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad, linear-gradient(90deg, var(--acc1), var(--acc2), var(--acc3))); }
.nextbtn:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 38%, transparent); }
.nextbtn:active { transform: translateY(0); }
.nextbtn .nb-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nextbtn .nb-k { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.nextbtn .nb-t { font-size: 17px; font-weight: 700; line-height: 1.25; }
.nextbtn .nb-arrow { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; background: var(--acc1, #24a9f8); color: #fff; transition: transform .15s; }
.nextbtn:hover .nb-arrow { transform: translateX(3px); }
/* henüz hazır değilken: aynı biçim, sakin renk (yine tıklanabilir) */
.nextbtn.soft { background: var(--panel, #fff); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: none; }
.nextbtn.soft:hover { background: color-mix(in srgb, var(--brand) 5%, var(--panel, #fff)); box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 12%, transparent); }
.nextbtn.soft .nb-arrow { background: color-mix(in srgb, var(--brand) 12%, var(--panel, #fff)); color: var(--brand); }
.stickycol > .nextbtn.stickyfoot { margin-top: 12px; }

/* Sayfa başı: "Sıradaki" şeridi + sağ üstte sonraki aşama düğmesi */
.pagehead { display: flex; gap: 14px; align-items: stretch; margin-bottom: 18px; }
.pagehead .guide { flex: 1; min-width: 0; margin-bottom: 0; }
.pagehead .nextbtn.pagenext { flex: 0 0 340px; width: 340px; min-height: 58px; }
@media (max-width: 900px) { .pagehead { flex-direction: column; } .pagehead .nextbtn.pagenext { flex: none; width: 100%; } }
/* Eksik hatırlatma penceresi */
.gateov { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: grid; place-items: center; z-index: 1000; padding: 16px; }
.gatebox { background: var(--panel, #fff); color: var(--ink); border-radius: 16px; padding: 20px 22px; max-width: 520px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.gatebox h3 { margin: 0 0 4px; }
.gatebox .checks li:not(.ok) > span { border-color: var(--warn, #b45309); color: var(--warn, #b45309); font-weight: 700; }
.trbar { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.abs.trabs { border-left: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); padding-left: 10px; }
.guide .backbtn { background: var(--panel, #fff); color: var(--brand); border: 1.5px solid color-mix(in srgb, var(--brand) 35%, var(--line)); font-weight: 600; }
.guide .backbtn:hover { background: color-mix(in srgb, var(--brand) 6%, var(--panel, #fff)); }

/* Ayak izi · isteğe bağlı hedge güncelleme adımları */
.card.hupd { border-top: 3px solid color-mix(in srgb, var(--brand) 40%, var(--line)); }
.hsteps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.hstep { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.hstep b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, var(--panel, #fff)); color: var(--brand); font-size: 12px; }
.hstep.on { border-color: var(--brand); color: var(--ink); font-weight: 600; }
.hstep.on b { background: var(--brand); color: #fff; }
.hstep.done b { background: var(--ok, #15803d); color: #fff; }
.hfetch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.newrecs { padding: 8px 0 4px; }
.newrec { font-size: 13.5px; padding: 4px 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.newrec a { color: var(--ink); font-weight: 600; text-decoration: none; }
.newrec a:hover { text-decoration: underline; }
.ai.carried { background: color-mix(in srgb, var(--ok, #15803d) 7%, var(--panel, #fff)); }

/* Yapay zekâ kullanım sınırı uyarısı */
.limitbar { display: flex; align-items: center; gap: 12px; margin: -6px 0 14px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--warn, #b45309) 45%, var(--line)); background: color-mix(in srgb, var(--warn, #b45309) 9%, var(--panel, #fff)); font-size: 14px; }
.limitbar .lbicon { font-size: 22px; }

/* v2 (flamingo logosu): üst bar v1'deki gibi koyu, logo beyaz; sayfanın geri kalanı v2 renkleriyle */
html[data-theme="v2"] .topbar { background: var(--brand); color: #fff; border-bottom: 0; }
html[data-theme="v2"] .brandlogo { height: 36px; }
html[data-theme="v2"] .tagline { color: #fff; opacity: .65; border-left-color: rgba(255,255,255,.25); }
html[data-theme="v2"] .topbar .pill { background: rgba(255,255,255,.14); color: #fff; }
html[data-theme="v2"] .projectbar select, html[data-theme="v2"] .projectbar input { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
html[data-theme="v2"] .projectbar select option { color: #000; }
html[data-theme="v2"] .themesw { background: rgba(255,255,255,.12); }
html[data-theme="v2"] .themesw button:hover { background: rgba(255,255,255,.12); }
html[data-theme="v2"] .themesw button.on { background: #fff; color: var(--brand); }
html[data-theme="v2"] .homelogo { width: min(380px, 100%); }


/* ---- Flamingo simgesi (harf animasyonunun yerine) ----
   Durağan: logonun kendi rengi. İşlem sürerken: flamingo şeklinde gökkuşağı renkleri akar. */
.flam { display: inline-block; vertical-align: middle; flex: none; margin: 3px; background: url(img/flamingo.png) center / contain no-repeat; }
.flam.busy { background: linear-gradient(165deg, #eb6364, #f2b84b, #4cc38a, #24a9f8, #8b5cf6, #eb6364, #f2b84b, #4cc38a, #24a9f8) 0 0 / 100% 300%;
  -webkit-mask: url(img/flamingo.png) center / contain no-repeat; mask: url(img/flamingo.png) center / contain no-repeat;
  animation: flamRainbow 2.4s linear infinite; }
@keyframes flamRainbow { to { background-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) { .flam.busy { animation-duration: 8s; } }
.flam.corner { margin: -8px -4px -10px 0; }
button .flam { margin: -3px 0; }
.toast.undo { display: flex; align-items: center; gap: 10px; }
.toast.undo button { background: #fff; color: var(--brand); border: 0; font-weight: 700; }

/* ---- Flamingo: kafa sağa-sola dönme animasyonu (FLAM_MODE = "head") ----
   Gövde ve boyun ayrı katman; boyun, gövdeye bağlandığı noktanın (≈ %64,5 · %50) etrafında döner.
   Döngü 3,6 sn: hızla iner → yerde oyalanıp suyu karıştırır (küçük salınımlar) → kalkar → kısa bekleyip yine iner. */
.flamx { position: relative; display: inline-block; vertical-align: middle; flex: none; margin: 3px; overflow: visible; }
.flamx .fb, .flamx .fn { position: absolute; inset: 0; background: linear-gradient(165deg, #eb6364, #f2b84b, #4cc38a, #24a9f8, #8b5cf6, #eb6364, #f2b84b, #4cc38a, #24a9f8) 0 0 / 100% 300%; animation: flamRainbow 2.4s linear infinite; }
.flamx .fb { -webkit-mask: url(img/flamingo-body.png) center / contain no-repeat; mask: url(img/flamingo-body.png) center / contain no-repeat; }
.flamx .fn { -webkit-mask: url(img/flamingo-neck.png) center / contain no-repeat; mask: url(img/flamingo-neck.png) center / contain no-repeat;
  transform-origin: 66.2% 51.6%; animation: flamRainbow 2.4s linear infinite, flamTurn 2.6s ease-in-out infinite; }
@keyframes flamTurn { /* boyun + kafa birlikte sırayla sağa ve sola döner: boynun gövdeye bağlandığı noktada aynalanır (kopukluk olmaz) */
  0%, 38%  { transform: scaleX(1); }    /* sağa bakar */
  50%, 88% { transform: scaleX(-1); }   /* sola bakar */
  100%     { transform: scaleX(1); }
}
}
@media (prefers-reduced-motion: reduce) { .flamx .fn { animation: flamRainbow 8s linear infinite; } }
.flamx.corner { margin: -8px -4px -10px 0; }
button .flamx { margin: -3px 0; }

/* ---- Kart tonları: beyaz kartlar arasında kaybolmasın ----
   Zemin bir ton koyu; araç kartları ana içerikten farklı tonda ve sol kenarı renkli.
   sky = Evidoxia'ya iş yaptıran araçlar · sun = kontrol/güvence (doğrulama seti, kaçırma kontrolü) · coral = isteğe bağlı hedge güncellemesi */
html[data-theme="v2"] { --bg: #eaf1f8; }
.card { border-color: #d9e3ef; box-shadow: 0 1px 2px rgba(18,38,74,.07), 0 6px 18px rgba(18,38,74,.07); }
.card.tool { border-left: 5px solid var(--tc); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 9%, #fff), color-mix(in srgb, var(--tc) 4%, #fff) 70%); border-color: color-mix(in srgb, var(--tc) 30%, #d9e3ef); border-left-color: var(--tc); }
.card.tool.sky { --tc: #24a9f8; }
.card.tool.sun { --tc: #f2b84b; }
.card.tool.coral { --tc: #eb6364; }
.card.tool h3 { color: var(--ink); }
.card.tool .callout { background: rgba(255,255,255,.75); }
/* kaçırma kontrolü kutusu (eleme kriterleri içinde) */
.safety { background: color-mix(in srgb, #f2b84b 12%, #fff) !important; border: 1px solid color-mix(in srgb, #f2b84b 40%, #d9e3ef) !important; border-left: 4px solid #f2b84b !important; }

/* Ana yazma alanları (PICO fikri, yeni çalışma adı, notlar, doğrulama makaleleri): belirgin kenarlık, odakta çerçeve */
.bigbox { background: var(--panel, #fff); color: var(--ink); border: 2px solid color-mix(in srgb, var(--brand) 40%, var(--line)); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.55; box-shadow: inset 0 1px 2px rgba(0,0,0,.04); }
.bigbox:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.bigbox::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }

/* Hızlı tarama · çalışmalar tablosu */
.qtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qtable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--line); }
.qtable td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qtable tr:hover td { background: color-mix(in srgb, var(--brand) 3%, transparent); }
.qtable a { color: var(--ink); text-decoration: none; }
.qtable .qt-title { max-width: 260px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qtable td:nth-child(4) { min-width: 190px; } .qtable td:nth-child(5) { min-width: 140px; } .qtable .qt-title { max-width: 180px; } .qtable td:last-child { white-space: nowrap; }
.pill.st-yes { background: color-mix(in srgb, var(--ok, #15803d) 14%, #fff); color: var(--ok, #15803d); }
.pill.st-no { background: color-mix(in srgb, #eb6364 16%, #fff); color: #b8383c; }
.pill.st-mixed { background: color-mix(in srgb, #f2b84b 20%, #fff); color: #8a5a00; }
.meter { display: flex; height: 24px; border-radius: 999px; overflow: hidden; margin: 10px 0 6px; font-size: 12px; font-weight: 600; color: #fff; }
.meter span { display: grid; place-items: center; white-space: nowrap; }
.meter .m-yes { background: #2f9e6a; } .meter .m-mixed { background: #e0a83a; } .meter .m-no { background: #eb6364; }
.qintro { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.qintro > .flam, .qintro > .flamx { flex: none; }
/* Zotero gönderim sonucu */
.zok { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--ok, #15803d) 45%, var(--line)); background: color-mix(in srgb, var(--ok, #15803d) 8%, #fff); border-left: 5px solid var(--ok, #15803d); }
.zok .zcheck { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ok, #15803d); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.zok .zt { font-size: 16px; font-weight: 700; color: var(--ok, #15803d); margin-bottom: 2px; }

/* ===================== Yeni düzen (2026-11-12): yan menü, hesap, yönetim, duyarlılık testi ===================== */
/* Yan menü: her basamak tek iş; ad + kısa açıklama (Nebaria prototipindeki anlaşılır adım listesinden) */
.shell { display: block; }
body.withnav .shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: start; }
.stepper { flex-direction: column; gap: 2px; padding: 14px 10px 24px; border-bottom: 0; border-right: 1px solid var(--line); position: sticky; top: 60px; height: calc(100vh - 60px); height: calc(100dvh - 60px); overflow-y: auto; z-index: 5; }
html[data-theme="v2"] .stepper, html[data-theme="v3"] .stepper { top: 60px; }
.stepper .navtitle { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 6px; }
.stepper .navgroup { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); opacity: .8; padding: 10px 8px 3px; border-top: 1px dashed var(--line); margin-top: 6px; }
.stepper .step { white-space: normal; align-items: flex-start; padding: 7px 8px; font-size: 13.5px; }
.stepper .step .n { flex: none; margin-top: 1px; }
.stepper .step .st { display: flex; flex-direction: column; min-width: 0; }
.stepper .step .sl { line-height: 1.25; }
.stepper .step small { font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.3; margin-top: 1px; }
.stepper .step.active small { color: var(--ink); opacity: .75; }
body.withnav .app { margin: 0; max-width: 1240px; }
@media (max-width: 960px) {
  body.withnav .shell { display: block; }
  .stepper { flex-direction: row; height: auto; position: sticky; top: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; overflow-x: auto; }
  .stepper .navtitle, .stepper .navgroup, .stepper .step small { display: none; }
  .stepper .step { white-space: nowrap; align-items: center; }
}

/* Kullanıcı menüsü */
.usermenu { margin-left: 4px; }
.umenu { position: relative; }
.umenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 8px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.umenu summary::-webkit-details-marker { display: none; }
.umenu .avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; }
.umenu .uname { font-size: 13px; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu-box { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; z-index: 50; display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.umenu-box a, .umenu-box button { display: block; text-align: left; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 13.5px; width: 100%; }
.umenu-box a:hover, .umenu-box button:hover { background: var(--soft); }
.rolepill { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--brand); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.rolepill.superadmin { background: #fde8e8; color: #b4232c; }
.rolepill.admin { background: #fff4dc; color: #8a5a00; }
@media (max-width: 960px) { .umenu .uname, .umenu .rolepill { display: none; } }

/* Giriş ekranı */
.authwrap { min-height: calc(100vh - 140px); display: grid; place-items: center; }
.authcard { width: min(420px, 100%); }
.authcard h2 { text-align: center; }
.authcard p.small { text-align: center; }
.annbar { margin-bottom: 14px; }

/* Ortak küçük parçalar */
.tablewrap { overflow: auto; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; border-radius: 0; padding: 4px 10px; font-size: 12.5px; background: var(--panel); color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--soft); color: var(--brand); font-weight: 600; }
.seg button:disabled { opacity: .35; }
.modeseg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; padding: 8px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.modeseg button { border-radius: 8px; padding: 6px 12px; }
.modeseg button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.modeseg button.on .tiny { opacity: .8; }
.vpill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.vpill.good { background: var(--okbg); color: var(--ok); }
.vpill.warn { background: var(--warnbg); color: var(--warn); }
.vpill.bad { background: var(--badbg); color: var(--bad); }
.vpill.info { background: var(--infobg); color: var(--info); }
.okc { color: var(--ok); } .badc { color: var(--bad); }
.kpline { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 13px; }
.kpline b { font-size: 20px; }
.bar.sensbar { height: 8px; border-radius: 999px; margin-top: 4px; }
.bar.sensbar i { background: var(--ok); border-radius: 999px; }
.bar.sensbar.mid i { background: var(--warn); } .bar.sensbar.low i { background: var(--bad); }
.senstab tr.srow { cursor: pointer; }
.senstab tr.srow:hover td { background: var(--bg); }
.senstab tr.srow.sel td { background: var(--soft); }
.samp { margin-top: 10px; padding: 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.samplist { margin: 6px 0; padding-left: 20px; font-size: 12.5px; }
.samplist li { margin: 3px 0; }
.samplist label { display: flex; gap: 6px; align-items: flex-start; cursor: pointer; }
.samplist input { margin-top: 3px; flex: none; }
.sampout { margin-top: 8px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.disc { display: flex; flex-direction: column; }
.rvlist, .cands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.rvlist li { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; padding: 8px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); }
.rvlist li.sel { border-color: var(--brand2); box-shadow: 0 0 0 2px var(--soft); }
.cands { max-height: 320px; overflow: auto; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.cands label { display: flex; gap: 6px; align-items: flex-start; cursor: pointer; }
.cands input { margin-top: 3px; flex: none; }
/* Doygunluk eğrisi */
.cwrap { margin-top: 10px; }
.cwrap.stale svg { opacity: .45; }
.curvesvg { display: block; width: 100%; height: auto; overflow: visible; }
.curvesvg text { font: 10.5px var(--mono); fill: var(--muted); }
.curvesvg text.cl { font: 600 10.5px Inter, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-area { fill: var(--soft); }
.c-line { fill: none; stroke: var(--brand2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-line.c2 { stroke: var(--ok); }
.c-dot { fill: var(--panel); stroke: var(--brand2); stroke-width: 2; }
.c-dot.c2 { stroke: var(--ok); }
.c-dot.sat { fill: var(--brand2); } .c-dot.c2.sat { fill: var(--ok); }
.c-sat { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.curvesvg text.c-satl { fill: var(--ink); }
.csum { font-size: 12.5px; padding: 8px 10px; border-radius: 8px; background: var(--bg); border-left: 3px solid var(--brand2); margin: 8px 0; }
.csum.warn { border-left-color: var(--warn); }
/* Yönetim */
.plantab input.mini { width: 100%; min-width: 90px; margin: 2px 0; }
.plantab td:first-child { font-size: 12.5px; color: var(--muted); }
a.tab { text-decoration: none; display: inline-block; }
select.mini { padding: 2px 6px; font-size: 12px; }
body.withnav .sticky { top: 76px; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); }
@media (max-width: 960px) { body.withnav .sticky { max-height: none; } }
.umenu summary { color: var(--ink); }
/* telefon: geniş tablo/kartlar sayfayı yana taşırmasın */
.grid > * { min-width: 0; }
@media (max-width: 960px) { .side, .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } .stepper { max-width: 100vw; } .shell, .app { max-width: 100vw; } }
/* Olası kopyalar */
.duppair { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.duppair.same { border-color: var(--ok); } .duppair.diff { opacity: .75; }
.duptwo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.duprec { background: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .duptwo { grid-template-columns: minmax(0, 1fr); } }
/* Akıllı ayar tablosu: yan menüyle daralan sütunda butonlar kesilmesin */
.tlist { overflow-x: auto; }
.trow { grid-template-columns: minmax(0, 1.3fr) minmax(76px, .6fr) minmax(0, 1.5fr) minmax(0, 1fr) auto; }
.trow > * { min-width: 0; }
.trow .tact button { white-space: nowrap; }
@media (max-width: 1280px) { body.withnav .trow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } body.withnav .trow.thead { display: none; } body.withnav .trow .tact { text-align: left; } }
/* Makale kartları: varsayılan kapalı, başlığa tıklayınca açılır */
.rec.collapsed { padding: 9px 14px; }
.rec .rectoggle { cursor: pointer; display: inline; }
.rec .rectoggle:hover { color: var(--brand2); }
.rec .chev { display: inline-block; width: 16px; color: var(--muted); font-size: 12px; }
.rec.expanded .chev { color: var(--brand2); }
.rec .recbody { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 2px; }
.rec.collapsed .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Kavram kartları: varsayılan kapalı, tıklayınca açılır */
.concept .conhead { cursor: pointer; border-radius: 8px; margin: -4px -6px; padding: 4px 6px; }
.concept .conhead:hover { background: var(--bg); }
.concept .chev { width: 14px; color: var(--muted); }
.concept .contoggle { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 8px; color: var(--brand2); white-space: nowrap; }
.concept .contoggle.primary { background: var(--brand); color: #fff; }
.concept.cclosed .conhint { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--line); cursor: pointer; }
.concept.cclosed .conhint:hover { border-color: var(--brand2); }
.conbar { margin: 18px 2px 6px; }

/* ===================== Nebaria sayfa yapısı, Evidoxia temasıyla (2026-11-12) ===================== */
/* sayfa başlığı + sıradaki iş + alt gezinme */
.page-h { margin: 2px 0 12px; }
.page-h h2 { font-size: 22px; margin: 0 0 4px; }
.page-h p { color: var(--muted); max-width: 78ch; margin: 0; }
.pbanner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--line); background: var(--warnbg); border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; font-size: 13px; }
.pbanner b { color: var(--warn); }
.pbanner.here { background: var(--soft); } .pbanner.here b { color: var(--brand2); }
.pbanner button { margin-left: auto; }
.nav-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.nav-foot .nfr { display: flex; align-items: center; gap: 10px; }
.nav-foot button.primary { padding: 9px 18px; font-size: 14.5px; }
/* hedge: bileşenler + sağ panel */
.hedge-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 420px); gap: 18px; align-items: start; }
.comps { min-width: 0; }
.comps > .card + .card, .comps > details + .card, .comps > .card + details { margin-top: 14px; }
.panel { display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.panel > .card { box-shadow: none; padding: 12px; margin: 0; border-radius: 10px; }
.panel .grid.g3, .panel .grid.g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.panel .how { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.kpi1 { padding: 2px 2px 0; }
@media (max-width: 1180px) { .hedge-wrap { grid-template-columns: minmax(0, 1fr); } .panel.sticky { position: static; max-height: none; } }
details.fold > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
details.fold > summary::before { content: "▸"; color: var(--muted); }
details.fold[open] > summary::before { content: "▾"; }
.comphead { display: flex; gap: 12px; align-items: center; }
.comphead .grow { flex: 1; min-width: 0; }
.badge { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; font: 700 13px var(--mono); flex: none; background: var(--c, var(--brand)); }
.badge.P { background: var(--P); } .badge.I { background: var(--I); } .badge.C { background: var(--C); } .badge.O { background: var(--O); }
.switch { display: flex; gap: 6px; align-items: center; cursor: pointer; font-size: 13px; white-space: nowrap; }
.switch input { width: 34px; height: 18px; appearance: none; -webkit-appearance: none; background: var(--line); border-radius: 999px; position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--brand2); }
.switch input:checked::after { transform: translateX(16px); }
.offnote { margin-top: 8px; padding: 7px 10px; font-size: 12px; border-radius: 8px; background: var(--bg); color: var(--muted); }
.compfoot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.compfoot b { color: var(--ink); }
.qline { margin: 8px 0 0; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: 11.5px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 140px; overflow: auto; }
section.final { border: 1px solid var(--brand2); }
/* veritabanı sorguları */
.qgrid { display: flex; flex-direction: column; gap: 14px; max-width: 1040px; }
.qgrid > .card + .card { margin-top: 0; }
.qhead { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qhead h3 { margin: 0 auto 0 0; }
pre.code { margin: 8px 0 0; padding: 10px 12px; background: var(--brand); color: #dbeafe; border-radius: 10px; font: 12px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; }
.notes { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; }
.qcard .pmfetch { margin-top: 12px; }
details.steps-d { margin-top: 10px; }
details.steps-d > summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--brand2); }
/* dosya yükleme */
.upgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.upgrid > .card + .card { margin-top: 0; }
.upc { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fmts { font: 500 11px var(--mono); color: var(--muted); }
.upc .drop { padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.upc .drop small { color: var(--muted); font-size: 12px; }
.flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.flist li { background: var(--bg); border-radius: 8px; padding: 7px 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; font-size: 12.5px; }
.flist .fn { font-family: var(--mono); overflow-wrap: anywhere; }
.flist .fm { grid-column: 1; color: var(--muted); font-size: 12px; }
.flist .rm { grid-row: 1 / span 2; grid-column: 2; align-self: center; border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0 4px; }
.flist .rm:hover { color: var(--bad); }
.flist .callout { grid-column: 1 / -1; margin: 4px 0 0; }
.uptotal { margin-top: 14px; }
.uptotal .num b { font-size: 20px; }
.drop.mini { padding: 6px 12px; font-size: 12.5px; border-width: 1.5px; }
/* duplike */
.ddwrap { display: flex; flex-direction: column; gap: 14px; }
.ddwrap > .card + .card, .ddwrap .card + .card { margin-top: 0; }
.kpi4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small { color: var(--muted); display: block; font-size: 12px; }
.kpi b { font-size: 24px; display: block; margin-top: 2px; }
.kpi.fin { border-color: var(--brand2); box-shadow: inset 3px 0 0 var(--brand2); }
/* başlık-özet tarama */
.ai-card { margin-bottom: 14px; }
.scr-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin-top: 14px; }
.scr-wrap .side-c > .card + .card { margin-top: 0; }
@media (max-width: 1100px) { .scr-wrap { grid-template-columns: minmax(0, 1fr); } .side-c.sticky { position: static; max-height: none; } }
.scr-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.scr-bar .pos { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.scr-card.empty { padding: 30px; text-align: center; color: var(--muted); }
.rec.cur.expanded { padding: 18px 20px; }
.rec.expanded .t { font-size: 17px; line-height: 1.35; }
.rec.expanded .abs { font-size: 14.5px; line-height: 1.65; color: var(--ink); }
mark.hg { background: var(--okbg); box-shadow: inset 0 -1px 0 var(--ok); color: inherit; border-radius: 3px; padding: 0 2px; }
.decs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.dec-b { padding: 9px 16px; font-weight: 600; border-radius: 9px; }
.dec-b kbd { font: 500 11px var(--mono); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; color: var(--muted); background: var(--bg); margin-left: 4px; }
.dec-b.inc:hover, .dec-b.inc.on { background: var(--okbg); border-color: var(--ok); color: var(--ok); }
.dec-b.exc:hover, .dec-b.exc.on { background: var(--badbg); border-color: var(--bad); color: var(--bad); }
.stack3 { display: flex; height: 9px; border-radius: 999px; overflow: hidden; background: var(--line); gap: 2px; margin: 6px 0 8px; }
.stack3 i { display: block; height: 100%; }
.legend3 { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12.5px; }
.legend3 > span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--c); }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12.5px; color: var(--muted); align-items: center; }
.keys kbd { font: 500 11px var(--mono); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; text-align: center; color: var(--ink); background: var(--bg); }
@media (max-width: 960px) {
  .card table { display: block; overflow-x: auto; max-width: 100%; }
  .card { overflow-wrap: anywhere; }
  .nav-foot { flex-wrap: wrap; } .nav-foot button { white-space: normal; text-align: left; }
  .picolegend { flex-wrap: wrap; }
}
@media (max-width: 960px) { .chips { flex-wrap: wrap; } .chip { white-space: normal; max-width: 100%; } }
@media (max-width: 960px) { html, body { overflow-x: hidden; } }
/* Süper yönetici paneli */
.minichart { display: block; width: 100%; height: auto; overflow: visible; }
.minichart text { font: 10.5px var(--mono); fill: var(--muted); }
.minichart .bar1 { fill: var(--brand2); }
.minichart .c-hit { fill: transparent; }
.minichart .c-hit:hover { fill: color-mix(in srgb, var(--brand2) 10%, transparent); }
.meterrow { margin: 8px 0; }
.featlist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.featrow { display: flex; gap: 12px; align-items: center; padding: 7px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.featrow.off span:last-child { color: var(--muted); text-decoration: line-through; }
.featrow .switch span { min-width: 44px; font-size: 12px; color: var(--muted); }
a.tab.on { color: #fff; }
html .tabs a.tab.on { color: #fff !important; }

/* ---- ikonlar: tümü logodaki flamingo renginde ---- */
:root { --flamingo: #eb6364; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; color: var(--flamingo); flex: none; display: inline-block; }
h1 .ico, h2 .ico, h3 .ico { width: 1.05em; height: 1.05em; margin-right: 2px; }
.umenu-box a .ico, .umenu-box button .ico { margin-right: 4px; }

/* ---- düzenleme modu (süper yönetici) ---- */
body.editing .txe { outline: 1px dashed rgba(235, 99, 100, .55); outline-offset: 2px; border-radius: 3px; }
.txe-pen { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; background: var(--flamingo); cursor: pointer; vertical-align: middle; box-shadow: 0 1px 3px rgba(0,0,0,.2); font-size: 0; }
.txe-pen .ico { width: 11px; height: 11px; color: #fff; vertical-align: 0; }
.txe-pen:hover { transform: scale(1.15); }
.txe-modal { position: fixed; inset: 0; background: rgba(18, 38, 74, .45); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.txe-box { width: min(640px, 100%); max-height: 90vh; overflow: auto; }
.editbar { border-left: 4px solid var(--flamingo); }

/* ---- ana sayfa: platform tanıtımı ---- */
.homeabout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 6px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(235,99,100,.05), transparent 70%); }
.homeabout .ha-h { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 14.5px; }
.homeabout .ha-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.homeabout .ha-list li { display: flex; gap: 8px; align-items: flex-start; }
.homeabout .ha-list li .ico { margin-top: 2px; }
.homeabout .ha-list b { color: var(--ink); }
@media (max-width: 760px) { .homeabout { grid-template-columns: 1fr; } }

/* ---- ana sayfa yerleşimi: üstte tanıtım (tam genişlik), altta 2/3 başlat + 1/3 projelerim ---- */
.home-top { margin-bottom: 16px; }
.home-top .homeabout { margin-bottom: 4px; }
.home-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.home-grid > * { min-width: 0; }
.home-start .modes { margin-top: 14px; }
@media (max-width: 960px) { .home-grid { grid-template-columns: 1fr; } }

/* ---- Projelerim kartı ---- */
.pj-card { padding-bottom: 12px; }
.pj-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.pj-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 11px; background: var(--coral-soft, #fdeeee); color: var(--flamingo); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.pj-list { display: grid; gap: 8px; }
.pj { position: relative; }
.pj-main { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pj-main:hover { border-color: rgba(235, 99, 100, .45); box-shadow: 0 4px 14px rgba(235, 99, 100, .12); transform: translateY(-1px); text-decoration: none; }
.pj-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(235, 99, 100, .1); }
.pj-ico .ico { width: 20px; height: 20px; vertical-align: 0; }
.pj-ico.q { background: rgba(242, 184, 75, .16); }
.pj-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pj-name { font-weight: 650; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 22px; }
.pj-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; color: var(--muted); }
.pj-tag { padding: 1px 7px; border-radius: 6px; background: var(--soft); color: var(--brand); font-weight: 600; font-size: 11px; }
.pj-tag.sh { background: var(--sun-soft, #fff6df); color: var(--sun-d, #8a5a00); }
.pj-inc { color: var(--ok); font-weight: 600; }
.pj-time { font-size: 11.5px; color: var(--muted); opacity: .85; }
.pj-go { flex: none; font-size: 22px; line-height: 1; color: var(--muted); transition: color .15s, transform .15s; }
.pj-main:hover .pj-go { color: var(--flamingo); transform: translateX(2px); }
.pj-del { position: absolute; top: 7px; right: 30px; padding: 4px; border: 0; background: transparent; border-radius: 6px; opacity: 0; transition: opacity .15s; }
.pj-del .ico { width: 15px; height: 15px; color: var(--muted); }
.pj:hover .pj-del, .pj-del:focus-visible { opacity: 1; }
.pj-del:hover { background: var(--coral-soft, #fdeeee); }
.pj-del:hover .ico { color: var(--flamingo); }
@media (hover: none) { .pj-del { opacity: .7; } }
.pj-empty { display: flex; gap: 12px; align-items: center; padding: 18px 12px; border: 1px dashed var(--line); border-radius: 12px; }
.pj-empty > .ico { width: 28px; height: 28px; }
.pj-all { display: block; margin-top: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--brand2); }
.home-grid > .card { margin-top: 0 !important; }
.pj-main .pj-name { color: var(--ink); }
.pj-main:hover .pj-name { color: var(--brand); }

/* ana sayfa tanıtımı: 3 sütun (Neler yapar · Sistematik için · Hızlı için) */
.homeabout { grid-template-columns: 1.15fr 1fr 1fr; }
.homeabout .ha-col + .ha-col { border-left: 1px solid var(--line); padding-left: 20px; }
.homeabout .ha-h .ico { vertical-align: -.18em; margin-right: 2px; }
@media (max-width: 1100px) { .homeabout { grid-template-columns: 1fr 1fr; } .homeabout .ha-col:first-child { grid-column: 1 / -1; } .homeabout .ha-col:nth-child(2) { border-left: 0; padding-left: 0; } }
@media (max-width: 760px) { .homeabout { grid-template-columns: 1fr; } .homeabout .ha-col + .ha-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; } }

/* ---- PICO: giriş yolu seçimi ---- */
.pmodes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.pmode { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.pmode:hover { border-color: rgba(235, 99, 100, .5); background: var(--panel); }
.pmode.on { border-color: var(--flamingo); box-shadow: 0 0 0 3px rgba(235, 99, 100, .12); }
.pm-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(235, 99, 100, .1); }
.pm-ico .ico { width: 21px; height: 21px; vertical-align: 0; }
.pm-txt { display: grid; gap: 2px; }
.pm-txt b { font-size: 15px; color: var(--ink); }
.pm-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; font-weight: 400; }
.pm-check { position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--flamingo); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .pmodes { grid-template-columns: 1fr; } }

/* ---- PICO: elle giriş kutuları (her kutu paletten bir renkle) ---- */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pbox { --c: var(--brand); position: relative; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 12px; padding: 10px 12px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, var(--panel)), var(--panel) 55%); transition: box-shadow .15s, border-color .15s; }
.pbox.wide { grid-column: 1 / -1; }
.pbox:focus-within { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); border-top-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); }
.pb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.pb-letter { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.pb-label { font-weight: 650; font-size: 13.5px; color: var(--ink); }
.pb-req { color: var(--c); }
.pbox textarea { width: 100%; border: 1px solid transparent; background: rgba(255, 255, 255, .7); border-radius: 8px; padding: 7px 9px; resize: vertical; font: inherit; font-size: 14px; }
.pbox textarea:focus { outline: none; border-color: color-mix(in srgb, var(--c) 35%, transparent); background: #fff; }
.ptips ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--muted); }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } }

/* ---- üst çubuk: Evidoxia hakkında düğmesi ---- */
.aboutbtn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background .15s; }
.aboutbtn:hover { background: rgba(235, 99, 100, .25); border-color: rgba(235, 99, 100, .6); }
.aboutbtn .ico { width: 15px; height: 15px; vertical-align: 0; }
@media (max-width: 760px) { .aboutbtn span { display: none; } .aboutbtn { padding: 5px 8px; } }
.homeabout .ha-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--flamingo); }

/* ---- Evidoxia hakkında sayfası ---- */
.about { max-width: 1120px; margin: 0 auto; display: grid; gap: 28px; }
.ab-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; padding: 32px; background: radial-gradient(120% 140% at 100% 0%, rgba(235,99,100,.10), transparent 55%), var(--panel); }
.ab-logo { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.ab-hero h1 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.ab-lead { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.ab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-stats > div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 2px; }
.ab-stats b { font-size: 26px; color: var(--flamingo); line-height: 1.1; }
.ab-stats span { font-size: 12.5px; color: var(--muted); }
.ab-sec h2 { margin: 0 0 6px; font-size: 22px; color: var(--ink); }
.ab-sec > p { margin: 0 0 14px; }
.ab-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.ab-phase { --c: var(--brand); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 14px; background: var(--panel); padding: 14px; display: grid; gap: 10px; align-content: start; }
.ab-ph-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.ab-ph-n { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.ab-step b { font-size: 13.5px; color: var(--ink); }
.ab-step p { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ab-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.ab-feat { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.ab-feat:hover { border-color: rgba(235,99,100,.45); box-shadow: 0 4px 14px rgba(235,99,100,.10); }
.ab-f-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(235,99,100,.1); }
.ab-f-ico .ico { width: 20px; height: 20px; vertical-align: 0; }
.ab-feat b { font-size: 14px; color: var(--ink); }
.ab-feat p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ab-cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-top: 14px; }
.ab-cmp table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ab-cmp th, .ab-cmp td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ab-cmp tbody tr:last-child > * { border-bottom: 0; }
.ab-cmp thead th { background: var(--soft); color: var(--ink); font-size: 14px; }
.ab-cmp tbody th { color: var(--muted); font-weight: 600; width: 18%; white-space: nowrap; }
.ab-who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ab-who-c { --c: var(--brand); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 14px; background: var(--panel); padding: 16px 18px; }
.ab-who-c h3 { margin: 0 0 8px; font-size: 16px; }
.ab-who-c ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ab-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.ab-trust > div { padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.ab-t-ico { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--flamingo); color: #fff; font-size: 13px; margin-bottom: 8px; }
.ab-trust b { display: block; font-size: 14px; color: var(--ink); }
.ab-trust p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ab-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-left: 4px solid var(--flamingo); }
@media (max-width: 1000px) { .ab-hero { grid-template-columns: 1fr; } .ab-phases, .ab-trust { grid-template-columns: 1fr 1fr; } .ab-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ab-hero { padding: 20px; } .ab-phases, .ab-trust, .ab-feats, .ab-who { grid-template-columns: 1fr; } .ab-logo { height: 48px; } }
.home-lead { font-size: 16px; line-height: 1.6; margin-bottom: 4px; }
.home-lead .ha-more { white-space: nowrap; font-weight: 600; color: var(--flamingo); margin-left: 4px; }
.card.hero .home-lead a.ha-more, html .card.hero .home-lead a.ha-more { color: var(--flamingo); text-decoration: none; } .card.hero .home-lead a.ha-more:hover { text-decoration: underline; }
@media (max-width: 560px) { #statusBar { flex-wrap: wrap; row-gap: 6px; max-width: 100%; } }

/* ---- ana sayfa: hafif renk cilası (önceki düzen korunur) ---- */
.home-top { background: radial-gradient(90% 160% at 100% 0%, rgba(235, 99, 100, .07), transparent 55%), var(--panel) !important; }
.home-top .home-lead { color: var(--muted); max-width: 980px; }
.home-start h3 { display: flex; align-items: center; gap: 10px; }
.home-start h3::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--flamingo); }
.home-start .modes { gap: 14px; }
.home-start .mode { position: relative; background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.home-start .mode::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--sun); }
.home-start .mode.full::before { background: var(--P); }
.home-start .mode.quick { background: linear-gradient(180deg, rgba(242, 184, 75, .08), var(--panel) 45%) !important; }
.home-start .mode.full { background: linear-gradient(180deg, rgba(29, 155, 240, .07), var(--panel) 45%) !important; }
.home-start .mode:hover { border-color: rgba(235, 99, 100, .4) !important; box-shadow: 0 6px 18px rgba(18, 38, 74, .07); transform: translateY(-1px); }
.home-start .mode .mhead { font-size: 16.5px; }
.home-start .mode.quick .mhead .ico { color: #d99a2b; }
.home-start .mode.full .mhead .ico { color: var(--P); }
.home-start .mode.full button { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.home-start .mode.full button:hover { background: var(--ink); color: #fff; }
.home-start input#newName:focus { border-color: var(--flamingo); box-shadow: 0 0 0 3px rgba(235, 99, 100, .12); outline: none; }
.pj-card h3 { display: flex; align-items: center; gap: 0; }
.pj-card h3::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--flamingo); margin-right: 10px; }
.pj-ico.s { background: rgba(29, 155, 240, .10); }
.pj-ico.s .ico { color: var(--P); }
.pj-ico.q .ico { color: #d99a2b; }
.pj-main:hover { border-color: rgba(29, 155, 240, .35); box-shadow: 0 4px 14px rgba(18, 38, 74, .07); }
.pj-main:hover .pj-go { color: var(--P); }

/* ---- Projelerim: temanın gök mavisinin yumuşak tonu (sakin, soldaki beyaz blokla dengeli) ---- */
.pj-card { position: relative; overflow: hidden; background: linear-gradient(180deg, #f2f9ff 0%, #e9f4fd 100%) !important; border: 1px solid #cfe4f7 !important; color: var(--ink); }
.pj-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sky, #24a9f8); }
.pj-card h3 { color: var(--ink); }
.pj-card h3::before { background: var(--sky, #24a9f8) !important; }
.pj-card .pj-count { background: #d6ecfb; color: #0b6fc0; }
.pj-card .pj-main { background: #fff; border-color: #dbe9f6; box-shadow: 0 1px 2px rgba(18, 38, 74, .04); }
.pj-card .pj-main:hover { background: #fff; border-color: #9fd0f5; box-shadow: 0 4px 14px rgba(11, 111, 192, .10); }
html .pj-card a.pj-main .pj-name { color: var(--ink); }
.pj-card .pj-main:hover .pj-go { color: #0b6fc0; }
.pj-card .pj-empty { border-color: #bcdaf3; background: rgba(255, 255, 255, .6); }
.pj-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
html .pj-card .pj-foot a.pj-all { margin: 0; color: #0b6fc0; font-weight: 700; text-decoration: none; }
html .pj-card .pj-foot a.pj-all:hover { text-decoration: underline; }
html .pj-card .pj-foot a.pj-admin { color: var(--muted); font-size: 12px; text-decoration: none; }
html .pj-card .pj-foot a.pj-admin:hover { color: var(--ink); text-decoration: underline; }
.pj-more { font-weight: 600; opacity: .9; }

/* ana sayfa kutu gibi: Projelerim bloğu soldaki blok kadar; fazlası gizlenir */
.home-grid { align-items: stretch; }
.home-grid > .pj-card { contain: size; display: flex; flex-direction: column; min-height: 0; }
.home-grid > .pj-card .pj-list { flex: 1 1 auto; min-height: 0; overflow: hidden; align-content: start; }
.home-grid > .pj-card .pj-empty { flex: 1 1 auto; }
@media (max-width: 960px) {
  .home-grid > .pj-card { contain: none; }
  .home-grid > .pj-card .pj-list { overflow: visible; }
  .home-grid > .pj-card .pj-list > .pj:nth-child(n + 4) { display: none; }
}

/* ---- Tüm projelerim sayfası ---- */
.allpj { max-width: 1180px; margin: 0 auto; }
.allpj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.allpj .pj-main { background: var(--panel); }
.pb-ex { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pb-ex label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pb-ex input { flex: 1; min-width: 0; font-size: 13px; padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.7); font-family: var(--mono); }
.pb-src { margin-top: 6px; color: var(--ok); }
.allpj-tools { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; } .allpj-tools input { width: 260px; margin: 0; } @media (max-width: 560px) { .allpj-tools { width: 100%; } .allpj-tools input { flex: 1; width: auto; min-width: 0 !important; } }

/* ---- Referanslar bandı (ana sayfa + giriş sayfası) ---- */
.refband-slot:empty { display: none; }
.refband { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 30px auto 6px; max-width: 900px; }
.rb-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--muted); opacity: .8; }
.rb-box { width: 100%; max-width: 720px; overflow: hidden; }
.rb-box.scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rb-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: nowrap; }
.rb-track { display: flex; align-items: center; gap: 14px; width: max-content; animation: rbScroll 44s linear infinite; }
.rb-track:hover { animation-play-state: paused; }
@keyframes rbScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rb-track { animation-duration: 120s; } }
.rb-logo { display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 10px; flex-shrink: 0; transition: transform .15s, filter .15s; filter: drop-shadow(0 2px 5px rgba(18, 38, 74, .12)); }
.rb-logo:hover { transform: translateY(-2px); filter: drop-shadow(0 4px 10px rgba(18, 38, 74, .2)); }
.rb-logo img { height: 100%; width: auto; max-width: 195px; object-fit: contain; display: block; }
.rb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flamingo); box-shadow: 0 0 6px rgba(235, 99, 100, .5); flex-shrink: 0; }
.authwrap .refband { margin-top: 26px; }

/* ---- Yönetim: Referanslar sekmesi ---- */
.refadm { display: grid; gap: 8px; }
.refadm-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.refadm-row.off { opacity: .55; }
.refadm-img { height: 44px; display: flex; align-items: center; justify-content: center; background: #f6f8fb; border-radius: 8px; padding: 4px 6px; }
.refadm-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.refadm-body { min-width: 0; } .refadm-body .tiny { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.refadm-act { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.refadd { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.refadd-pv { display: flex; align-items: center; justify-content: center; min-height: 110px; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; background: #f8fafd; text-align: center; padding: 8px; }
.refadd-pv:hover { border-color: var(--flamingo); }
.refadd-pv img { max-width: 100%; max-height: 90px; object-fit: contain; }
.refadd-pv span { display: grid; gap: 4px; font-weight: 600; font-size: 13px; color: var(--ink); } .refadd-pv small { font-weight: 400; color: var(--muted); font-size: 11px; }
.refadd-f { display: grid; gap: 8px; align-content: start; } .refadd-f input { width: 100%; } .refadd-f button { justify-self: start; }
@media (max-width: 640px) { .refadm-row { grid-template-columns: 70px minmax(0, 1fr); } .refadm-act { grid-column: 1 / -1; justify-content: flex-start; } .refadd { grid-template-columns: 1fr; } }

/* ---- TÜM İKONLAR logodaki flamingo mercan renginde (yer fark etmeksizin) ---- */
html body .ico, html body svg.ico { color: var(--flamingo) !important; }
html body .pj-ico, html body .pj-ico.s, html body .pj-ico.q, html body .pj-card .pj-ico.s, html body .pj-card .pj-ico.q, html body .ab-f-ico, html body .pm-ico { background: rgba(235, 99, 100, .10) !important; }
/* flamingo zemin üstünde (kalem düğmesi) beyaz kalır */
html body .txe-pen .ico { color: #fff !important; }
.tracebar { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tracebar button { flex: none; }
.fwarn { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: var(--warnbg); color: var(--warn); font-size: 11px; font-weight: 600; cursor: help; white-space: nowrap; }
.pj-tag.tst { background: var(--warnbg); color: var(--warn); }
.qcheck { margin: 10px 0 4px; padding: 6px 10px; border-radius: 8px; background: var(--okbg); color: var(--ok); }

/* ---- Sol adım menüsü: sayfadan ayrışan, palete uygun panel ---- */
body.withnav .stepper { background: linear-gradient(180deg, #ffffff 0%, #f3f8fe 55%, #eaf3fc 100%); border-right: 1px solid #d6e6f5; box-shadow: 4px 0 18px -12px rgba(18, 38, 74, .25); }
body.withnav .stepper .navtitle { color: var(--ink); opacity: .7; letter-spacing: .12em; padding-top: 2px; }
body.withnav .stepper .navgroup { display: flex; align-items: center; gap: 8px; border-top: 1px solid #dde9f5; color: var(--ink); opacity: .72; letter-spacing: .1em; padding: 12px 8px 4px; margin-top: 8px; }
body.withnav .stepper .navgroup::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--muted); flex: none; }
body.withnav .stepper .navgroup.g1::before { background: var(--sky, #24a9f8); }
body.withnav .stepper .navgroup.g2::before { background: var(--coral, #eb6364); }
body.withnav .stepper .navgroup.g3::before { background: var(--sun, #f2b84b); }
body.withnav .stepper .navgroup.g4::before { background: var(--brand, #12264a); }
body.withnav .stepper .step { position: relative; border-radius: 10px; margin: 1px 0; transition: background .15s, box-shadow .15s; }
body.withnav .stepper .step:hover:not(.active) { background: rgba(36, 169, 248, .07); }
body.withnav .stepper .step.active { background: #fff; box-shadow: 0 2px 10px rgba(18, 38, 74, .09), inset 0 0 0 1px #d6e6f5; }
body.withnav .stepper .step.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--flamingo); }
body.withnav .stepper .step.active .sl { font-weight: 700; color: var(--ink); }
body.withnav .stepper .step.active .n { background: var(--flamingo); color: #fff; box-shadow: none; }
@media (max-width: 960px) { body.withnav .stepper { background: #f6faff; box-shadow: none; } body.withnav .stepper .step.active::before { display: none; } }
body.withnav .stepper { background: linear-gradient(180deg, #e9f1fa 0%, #e1ecf8 100%); border-right: 1px solid #cddff1; }
body.withnav .stepper .navgroup { border-top-color: #cfe0f1; }
body.withnav .stepper .step:hover:not(.active) { background: rgba(255, 255, 255, .55); }
body.withnav .stepper .step .n { background: rgba(255, 255, 255, .8); }
body.withnav .stepper .step.done .n { background: #fff; }
body.withnav .stepper { background: linear-gradient(180deg, #dde8f5 0%, #d3e2f2 100%); border-right: 1px solid #c2d6ec; box-shadow: inset 3px 0 0 0 transparent, 4px 0 16px -10px rgba(18, 38, 74, .3); }
body.withnav .stepper::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--sky, #24a9f8) 0 33%, var(--coral, #eb6364) 33% 66%, var(--sun, #f2b84b) 66% 100%); }
body.withnav .stepper .navgroup { border-top-color: #c4d7ec; opacity: .8; }
body.withnav .stepper .step small { color: #4f6280; }
body.withnav .stepper .step:hover:not(.active) { background: rgba(255, 255, 255, .5); }
body.withnav .stepper .step .n { background: rgba(255, 255, 255, .85); }
body.withnav .stepper .step.done .n { background: #fff; }
body.withnav .stepper .step.active { background: #fff; box-shadow: 0 3px 12px rgba(18, 38, 74, .12); }
body.withnav .stepper .step.active .n { background: var(--flamingo) !important; color: #fff !important; box-shadow: none !important; }
body.withnav .stepper { background: linear-gradient(180deg, #d3e4f6 0%, #c7dcf2 100%); border-right: 1px solid #b3cde9; }
body.withnav .stepper .navgroup { border-top-color: #b6cfe9; }
body.withnav .stepper .navtitle, body.withnav .stepper .navgroup { color: #1d3a6b; opacity: .85; }
body.withnav .stepper .step small { color: #44597a; }
.gbtn { color: var(--flamingo) !important; font-weight: 600; } .gbtn:hover { background: rgba(235, 99, 100, .08) !important; }
.subhow { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.subhow > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--ink); }
.subhow-body { padding: 0 16px 14px; }
.substeps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.substeps li::marker { color: var(--flamingo); font-weight: 800; }
.cmdl { display: flex; align-items: center; gap: 8px; margin: 5px 0; padding: 6px 6px 6px 10px; border-radius: 8px; background: #12264a; max-width: 100%; }
.cmdl code { flex: 1; min-width: 0; color: #e6f1ff; font-family: var(--mono); font-size: 12.5px; background: none; overflow-x: auto; white-space: nowrap; }
.cmdl button { color: #fff !important; flex: none; } .cmdl button .ico { color: #fff !important; }
.subnote { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 13px; }
.subnote ul { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.pico-help { margin-top: 14px; } .pico-help > .callout { margin: 0 0 10px !important; }

/* ---- Ana sayfa: hızlı / detaylı tarama başlıkları belirgin ---- */
.home-start .mode .mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 21px !important; font-weight: 750; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.home-start .mode .mh-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: rgba(235, 99, 100, .12); box-shadow: inset 0 0 0 1px rgba(235, 99, 100, .22); }
.home-start .mode .mh-ico .ico { width: 24px; height: 24px; vertical-align: 0; margin: 0; }
.home-start .mode .mh-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.home-start .mode .mh-eye { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--flamingo); }
.home-start .mode .tiny.muted { display: inline-block; margin-top: 2px; padding: 3px 10px; border-radius: 999px; background: rgba(18, 38, 74, .06); color: var(--ink) !important; font-weight: 500; }
@media (max-width: 560px) { .home-start .mode .mhead { font-size: 18px !important; } .home-start .mode .mh-ico { width: 40px; height: 40px; } }
.home-start .mode .tiny.muted { display: block; border-radius: 9px; padding: 5px 10px; }
.subwarn { display: block; margin: 4px 0; padding: 6px 10px; border-radius: 8px; background: var(--warnbg); color: var(--warn); font-weight: 600; font-size: 12.5px; }
#subcard.flash { box-shadow: 0 0 0 4px rgba(235, 99, 100, .35); transition: box-shadow .3s; }
.submodel { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }

/* ---- Üst çubuk: model seçme menüsü ---- */
.mpill { position: relative; padding: 0 !important; }
.mpill > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; }
.mpill > summary::-webkit-details-marker { display: none; }
.mpill > summary:hover { background: rgba(255, 255, 255, .08); }
.mp-caret { opacity: .7; font-size: 11px; }
.mp-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; padding: 8px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 12px 32px rgba(18, 38, 74, .22); border: 1px solid var(--line); }
.mp-h { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 8px 6px; }
button.mp-opt { position: relative; display: grid; gap: 2px; width: 100%; text-align: left; padding: 8px 30px 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); }
button.mp-opt:hover { background: var(--soft); border-color: transparent; }
button.mp-opt.on { background: rgba(235, 99, 100, .08); border-color: rgba(235, 99, 100, .35); }
button.mp-opt b { font-size: 14px; } button.mp-opt small { font-size: 12px; color: var(--muted); font-weight: 400; }
.mp-ok { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--flamingo); font-weight: 800; }
.mp-foot { font-size: 11.5px; color: var(--muted); padding: 6px 8px 2px; border-top: 1px solid var(--line); margin-top: 6px; }
.mdl-list { display: grid; gap: 8px; }
.mdl-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr auto auto auto; gap: 6px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.mdl-row input[type=text] { min-width: 0; font-size: 13px; }
.mdl-row .mono { font-family: var(--mono); }
.mdl-def { white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.mdl-res { grid-column: 1 / -1; padding: 4px 8px; border-radius: 6px; } .mdl-res.ok { background: var(--okbg); color: var(--ok); } .mdl-res.bad { background: var(--badbg); color: var(--bad); }
@media (max-width: 760px) { .mdl-row { grid-template-columns: 1fr 1fr; } }
.mp-menu, .mp-menu * { white-space: normal; } .mp-menu { box-sizing: border-box; max-width: calc(100vw - 24px); } .mp-foot { line-height: 1.4; }
.sm-link { font-size: 12.5px; font-weight: 600; color: var(--flamingo) !important; text-decoration: none; margin-left: auto; }
.sm-link:hover { text-decoration: underline; }
.mp-manage { display: block; margin-top: 6px; font-weight: 700; color: var(--flamingo) !important; text-decoration: none; }
.mp-manage:hover { text-decoration: underline; }
#mdlcard.flash { box-shadow: 0 0 0 4px rgba(235, 99, 100, .35); transition: box-shadow .3s; }
.mdl-avail { margin: 0 0 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; max-height: 320px; overflow: auto; display: grid; gap: 6px; }
.mdl-av { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px; border-radius: 8px; background: var(--panel); }
.mdl-av.new { background: var(--okbg); }
.mdl-av code { font-size: 12px; } .mdl-av .tiny.muted { margin-left: auto; } .mdl-in { color: var(--ok); font-weight: 600; }
.mdl-newbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }

/* ---- Hesabım: tahmini API maliyeti tablosu ---- */
.costest { margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.costest > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--ink); }
.costest > *:not(summary) { margin-left: 14px; margin-right: 14px; }
.costest > p:last-child { margin-bottom: 12px !important; }
.ct-wrap { overflow-x: auto; margin-bottom: 10px; }
table.ct { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.ct caption { text-align: left; font-weight: 700; font-size: 13px; padding: 4px 0 6px; color: var(--ink); }
table.ct th, table.ct td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.ct tbody th, table.ct tfoot th { text-align: left; font-weight: 500; color: var(--muted); white-space: normal; }
table.ct thead th { font-size: 12px; color: var(--ink); }
table.ct .rec { background: rgba(235, 99, 100, .07); }
table.ct thead th.rec { color: var(--ink); }
.ctag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--flamingo); color: #fff; font-size: 10px; font-weight: 700; vertical-align: 1px; }
table.ct tfoot td b { display: block; font-size: 14px; color: var(--ink); }
table.ct tfoot td small { color: var(--muted); font-size: 11px; }
table.ct th { text-transform: none; letter-spacing: 0; } table.ct tbody th, table.ct tfoot th { font-size: 12.5px; }

/* ---- Yapay zekâ maliyet simgesi ve açılan pencere ---- */
.cico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; background: rgba(235, 99, 100, .10); cursor: help; vertical-align: middle; flex: none; transition: background .15s; }
.cico:hover, .cico:focus-visible { background: rgba(235, 99, 100, .22); outline: none; }
.cico .ico { width: 13px; height: 13px; vertical-align: 0; margin: 0; }
.cpop { position: absolute; z-index: 9998; display: none; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 12px 32px rgba(18, 38, 74, .22); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; }
.cpop.on { display: block; }
.cp-h { font-weight: 700; font-size: 13px; margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.cp-note { color: var(--muted); margin-bottom: 8px; }
.cpop table { width: 100%; border-collapse: collapse; }
.cpop th, .cpop td { padding: 4px 0; text-align: left; font-weight: 500; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.cpop tr:first-child th { color: var(--muted); font-size: 11.5px; }
.cpop td { text-align: right; font-weight: 700; white-space: nowrap; }
.cpop tr.cur th, .cpop tr.cur td { color: var(--flamingo); }
.cpop th small { color: var(--muted); font-weight: 400; }
.cp-tot { margin-top: 8px; padding: 6px 8px; border-radius: 8px; background: var(--soft); }
.cp-link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--flamingo) !important; text-decoration: none; }
.cp-link:hover { text-decoration: underline; }
table.ct.fcl td.unit { text-align: left; color: var(--muted); font-size: 11.5px; white-space: normal; }
/* giriş sayfası: tek cümlelik tanıtım */
.authlead { text-align: center; font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }
html .authcard .authlead a { color: var(--flamingo); font-weight: 600; text-decoration: none; white-space: nowrap; }
html .authcard .authlead a:hover { text-decoration: underline; }
/* giriş sayfası: kart ve referans bandı alt alta, telefonda taşmadan */
.authwrap { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0 12px; box-sizing: border-box; max-width: 100vw; }
.authwrap > .authcard { width: min(420px, 100%); box-sizing: border-box; }
.authwrap > .refband-slot { width: 100%; max-width: 900px; overflow: hidden; }
html .authcard .authlead a:not(.x) { color: var(--flamingo); font-weight: 600; text-decoration: none; }

/* ---- Ana sayfa yerleşimi: solda logolu kutu + Yeni çalışma (aynı genişlik), sağda Projelerim iki kutu boyunca ---- */
.home-grid.hg3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "hero proj" "start proj"; align-items: stretch; }
.hg3 > .home-top { grid-area: hero; margin: 0 !important; }
.hg3 > .home-start { grid-area: start; }
.hg3 > .pj-card { grid-area: proj; }
@media (max-width: 960px) { .home-grid.hg3 { grid-template-columns: 1fr; grid-template-areas: "hero" "start" "proj"; } }

/* ---- Ana sayfa: hızlı / detaylı tarama kutucuklarında yazılar biraz büyük ---- */
.home-start .modes { margin-top: 4px; }
.home-start .mode p, .home-start .mode .small { font-size: 15px !important; line-height: 1.6; }
.home-start .mode .tiny.muted { font-size: 13.5px !important; }
.home-start .mode .mhead { font-size: 22px !important; }
.home-start .mode .mh-eye { font-size: 11.5px; }
.home-start .mode button { font-size: 15px; padding: 9px 18px; }

/* ---- Girişsiz ana sayfa ---- */
.loginbtn { padding: 6px 16px !important; border-radius: 999px !important; background: var(--flamingo) !important; border-color: var(--flamingo) !important; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.loginbtn:hover { filter: brightness(1.05); }
.pj-card.guest .guest-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 10px 8px 4px; }
.guest-ico { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: rgba(235, 99, 100, .1); }
.guest-ico .ico { width: 26px; height: 26px; vertical-align: 0; }
.pj-card.guest p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 30ch; }
html .pj-card.guest a.guest-login { padding: 9px 26px; font-size: 15px; color: #fff !important; text-decoration: none; }
.authback { display: inline-block; font-size: 13px; color: var(--muted) !important; text-decoration: none; margin-bottom: 6px; }
.authback:hover { color: var(--ink) !important; }

/* ---- Hızlı tarama: araştırma sorusu belirgin ---- */
.pq-box { padding: 14px 18px 14px 20px; border-radius: 12px; background: linear-gradient(90deg, rgba(235, 99, 100, .07), rgba(235, 99, 100, .02) 60%, transparent); border-left: 4px solid var(--flamingo); margin-bottom: 6px; }
.pq-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--flamingo); margin-bottom: 6px; }
html .pq-label a.pq-edit { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--muted); text-decoration: none; }
html .pq-label a.pq-edit:hover { color: var(--ink); text-decoration: underline; }
.pq-q { font-size: 19px; line-height: 1.45; font-weight: 650; color: var(--ink); letter-spacing: -.005em; }
.pq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pq-tag { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); font-size: 12.5px; color: var(--ink); max-width: 100%; }
.pq-tag b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: 11px; }
@media (max-width: 560px) { .pq-q { font-size: 16.5px; } }
button[data-act=qApply]:disabled { opacity: 1; cursor: progress; }

/* ---- Hızlı tarama: sağ sütun dar, tablo geniş; tabloda yöntem ve istatistik ---- */
@media (min-width: 1101px) { .grid.side.qside { grid-template-columns: minmax(0, 1fr) 290px !important; } }
.qside .qtable .qdes { min-width: 170px; max-width: 230px; }
.qmethod { margin-top: 5px; font-size: 12px; line-height: 1.4; color: var(--ink); }
.qstats { margin-top: 5px; padding: 4px 8px; border-radius: 6px; background: var(--soft); font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: var(--ink); }
.qside .chips .chip { font-size: 12.5px; }

.qlist-toggle{display:flex;align-items:center;gap:8px;width:100%;text-align:left;justify-content:flex-start;background:var(--soft,rgba(37,99,235,.06));border:1px dashed var(--line,#cbd5e1);color:var(--ink,inherit);font-weight:600;padding:10px 14px;border-radius:10px;margin:2px 0 6px;cursor:pointer}
.qlist-toggle:hover{border-style:solid}
.qlist-toggle.on{border-style:solid;margin-bottom:10px}
.qlist-toggle .qlt-ar{font-size:14px;opacity:.8}

.aicost{margin:14px 10px 6px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);display:flex;flex-direction:column;gap:1px;transition:box-shadow .3s,border-color .3s}
.aicost .ac-l{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:700}
.aicost .ac-v{font-family:var(--mono);font-size:20px;font-weight:700;color:var(--ink)}
.aicost .ac-n{font-size:11.5px;color:var(--muted)}
.aicost.bump{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}

.qfill{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 12px;padding:12px 14px;border-radius:12px;background:var(--warnbg);border:1px solid color-mix(in srgb,var(--warn) 40%,transparent)}
.qfill button{white-space:nowrap}

.qsflag{margin-top:5px;font-size:11.5px;line-height:1.35;padding:4px 8px;border-radius:7px}
.qsflag.warn{background:var(--warnbg);color:var(--warn)}
.qsflag.mid{background:var(--soft);color:var(--muted)}

/* Veritabanı sorguları sayfası: üç adımlık akış ve kart altı "sonraki adımda yükleyin" notu */
.qflow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--panel, #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qflow .qf { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; color: var(--muted); }
.qflow .qf.on { background: color-mix(in srgb, var(--brand) 7%, transparent); color: var(--ink); }
.qflow .qn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); flex: none; }
.qflow .qf.on .qn { background: var(--brand); color: #fff; }
.qflow .qa { color: var(--muted); font-size: 18px; }
.qflow > button { margin-left: auto; }
.qnext { margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, #f2b84b 12%, #fff); border: 1px dashed color-mix(in srgb, #f2b84b 60%, var(--line)); font-size: 13.5px; }
.aicost .ac-w{font-size:10.5px;line-height:1.35;color:var(--muted);margin-top:4px;padding-top:4px;border-top:1px dashed var(--line)}
/* "Nasıl yapılır?" penceresi: sahne her slaytta aynı boyutta (16:10), altta adım adım metin */
.gstage { width: 100%; aspect-ratio: 16 / 10; max-height: 56vh; margin: 0 auto; display: grid; place-items: center; background: #f3f7fb; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gstage .gimg { border: 0; border-radius: 0; max-width: 100%; max-height: 100%; background: transparent; }
.gstage .gimg.ev { max-height: 100%; }
.gstage .gimg.mockw { width: 100%; height: 100%; display: grid; place-items: center; padding: 10px; }
.gstage .gimg.mockw .mock { width: auto; height: 100%; max-width: 100%; }
.gcap { min-height: 72px; }
.gsteps { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.gsteps h4 { margin: 0 0 8px; }
.gsteps h5 { margin: 0 0 4px; font-size: 13px; }
.gsteps .steps { margin: 0; padding-left: 20px; }
.gsteps .steps li { margin: 4px 0; line-height: 1.5; }
button.howto { background: color-mix(in srgb, #eb6364 10%, #fff); border: 1.5px solid color-mix(in srgb, #eb6364 45%, var(--line)); color: #b8383c; font-weight: 700; }
button.howto:hover { background: color-mix(in srgb, #eb6364 18%, #fff); }

/* ===== v2 sadeleştirme (2026-11-13) ===== */
/* Akış şeması: PRISMA şeması tam genişlik; düğmelerdeki simgeler normal boyutta (dev ok hatası) */
.prisma svg { width: auto; height: auto; }
.prisma #prismaSvg svg { width: 100%; height: auto; }
.prisma button .ico, .prisma .btn .ico { width: 1.15em; height: 1.15em; }
/* Telefon: üst bar tek satır, adım çubuğu ince ve yatay kaydırmalı */
@media (max-width: 960px) {
  .topbar { flex-wrap: wrap; gap: 6px 8px; padding: 8px 12px; }
  .topbar .tagline, .topbar .aboutbtn span, .topbar .uname, .topbar .rolepill { display: none; }
  .topbar .brandlogo { height: 26px; }
  .topbar .projectbar { order: 10; flex: 1 1 100%; min-width: 0; }
  .projectbar select { width: 100%; max-width: 100%; font-size: 13px; padding: 4px 8px; }
  .statusbar { flex-wrap: nowrap; margin-left: auto; min-width: 0; }
  .statusbar .mpill summary, .statusbar .pill { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  body.withnav .stepper { height: auto !important; max-height: none; flex-direction: row; align-items: center; top: 0; padding: 6px 10px; box-shadow: none; }
  body.withnav .stepper .navgroup, body.withnav .stepper .navtitle, body.withnav .stepper .aicost { display: none !important; }
  body.withnav .stepper .step { padding: 5px 8px; margin: 0; }
  body.withnav .stepper .step small { display: none; }
}
/* Sol menü: başka aşamada bekleyen iş */
body.withnav .stepper .step.todo .sl::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; margin-left: 6px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
.page-h p { margin: 2px 0 10px; }
/* "Bu sayfada" şeridi: nötr renk (sarı yalnız uyarı için) */
.pbanner.here { background: var(--panel); border-color: var(--line); }
pre.code.qclamp { max-height: 5.6em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
button.linkbtn { background: none; border: 0; padding: 2px 0; color: var(--brand2); cursor: pointer; font-weight: 600; }
/* Genel bakış: her aşama tek satır */
.flow.compact { display: flex; flex-direction: column; gap: 6px; }
.fsrow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; }
.fsrow:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 3%, var(--panel)); }
.fsrow .num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); }
.fsrow.done .num { background: var(--ok, #15803d); color: #fff; }
.fsrow b { flex: 1; min-width: 0; }
.fsrow .pill { white-space: nowrap; }
.fsrow .go { color: var(--muted); font-weight: 700; }
.adv-d > summary { cursor: pointer; list-style: none; } .adv-d > summary::-webkit-details-marker { display: none; } .adv-d > summary::before { content: "▸ "; color: var(--muted); } .adv-d[open] > summary::before { content: "▾ "; }
.card-sub { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--panel); } .card-sub > summary, details.more > summary { cursor: pointer; } details.more > summary { color: var(--brand2); font-weight: 600; margin-top: 6px; }
.gloss { max-width: 640px; max-height: 80vh; overflow-y: auto; } .gloss dl { margin: 12px 0 0; } .gloss dt { font-weight: 700; margin-top: 10px; } .gloss dd { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; } a.glink { margin-left: 10px; font-weight: 600; text-decoration: none; color: var(--brand2); vertical-align: middle; }
/* Hedge sayfası: iki sekme */
.htabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.htabs button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.htabs button b { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); align-self: center; }
.htabs button small { font-weight: 400; font-size: 12px; color: var(--muted); }
.htabs button.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.htabs button.on b { background: var(--brand); color: #fff; }
@media (max-width: 760px) { .htabs { grid-template-columns: 1fr; } }
/* Menü: biten aşamada ✓ ile numara birlikte ("✓ 1") — sıra hep görünür */
.stepper .step.done .n { width: auto; min-width: 22px; padding: 0 7px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.stepper .step.done .n .nck { font-style: normal; font-size: 11px; }
/* Giriş kutuları beyaz kart üstünde görünür olsun: kenar koyu, zemin hafif tonlu (temel kural 74. satırda); üzerine gelince ve odakta belirginleşir */
input[type=text]:hover:not(:focus), input[type=number]:hover:not(:focus), input[type=password]:hover:not(:focus), input[type=date]:hover:not(:focus), textarea:hover:not(:focus), select:not(.fsel):hover:not(:focus) { border-color: color-mix(in srgb, var(--muted) 60%, white); }
input[type=text]:focus, input[type=number]:focus, input[type=password]:focus, input[type=date]:focus, textarea:focus, select:focus { background-color: #fff; }
.projectbar select, .projectbar input { box-shadow: none; }
.projectbar select:hover, .projectbar input:hover { border-color: rgba(255,255,255,.45); }
.projectbar select:focus { background-color: rgba(255,255,255,.12); }
/* Arama stratejisi sayfası: A · Kavramlar / B · Sonuç / C · Kontrol et ve bitir */
.hs-h { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.hs-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 12px var(--mono); flex: none; }
.hs-a .picolegend { margin-top: 10px; }
.advpanel.slim { margin-top: 10px; padding: 10px 12px; }
.advbadge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--sun-soft, #fff4d6); color: var(--sun-d, #8a5a00); vertical-align: middle; }
.moremenu { position: relative; flex: none; }
.moremenu > summary { list-style: none; cursor: pointer; } .moremenu > summary::-webkit-details-marker { display: none; }
.moremenu .mm-box { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(18, 38, 74, .14); padding: 6px; display: flex; flex-direction: column; gap: 2px; min-width: 250px; }
.moremenu .mm-box button { justify-content: flex-start; text-align: left; width: 100%; }
.hverdict { margin-top: 6px; font-size: 13.5px; font-weight: 600; padding: 7px 10px; border-radius: 8px; background: var(--sky-soft, #eef5fd); }
.hverdict.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, white); }
.hverdict.mid { color: var(--sun-d, #8a5a00); background: var(--sun-soft, #fff4d6); }
.hverdict.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 9%, white); font-weight: 500; }
.hverdict.muted { color: var(--muted); font-weight: 500; }
.hs-b, .hs-c { margin-bottom: 12px; }
.combotbl { margin: 4px 0 8px; } .combotbl .curcombo td { font-weight: 700; background: var(--sky-soft, #eef5fd); }
.senstab td.tick, .senstab th:first-child { width: 34px; text-align: center; }
.senstab td.tick input { width: 17px; height: 17px; cursor: pointer; }
.senstab tr.inactive td:not(.tick) { opacity: .5; }
/* Eleme: Dahil / Dışla düğmeleri belirgin (yeşil / kırmızı); seçili ya da üzerine gelince dolu renk */
.dec-b { padding: 10px 18px; font-size: 15px; border-width: 1.5px; }
.dec-b.inc { background: var(--okbg); border-color: var(--ok); color: var(--ok); }
.dec-b.exc { background: var(--badbg); border-color: var(--bad); color: var(--bad); }
.dec-b.inc:hover, .dec-b.inc.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.dec-b.exc:hover, .dec-b.exc.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.dec-b.inc kbd, .dec-b.exc kbd { background: rgba(255, 255, 255, .7); border-color: currentColor; color: inherit; }
button.sm.ok { background: var(--okbg); border-color: var(--ok); color: var(--ok); font-weight: 600; }
button.sm.no { background: var(--badbg); border-color: var(--bad); color: var(--bad); font-weight: 600; }
/* Bildirimler: alt-ortada (sağ alttaki "Devam" düğmesinin üstüne binmesin), açık zemin + renkli şerit (düğmelerle karışmasın) */
.toasts { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; justify-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--panel, #fff); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--sky); box-shadow: 0 10px 30px rgba(18, 38, 74, .22); padding: 10px 14px; }
.toast.err { background: var(--badbg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, white); border-left-color: var(--bad); box-shadow: 0 10px 30px rgba(18, 38, 74, .18); }
.toast.undo button { background: transparent; color: var(--sky-d); border: 1.5px solid var(--sky); padding: 5px 12px; }
.toast.undo button:hover { background: var(--sky-soft); }
.toast.undo .muted, .toast.undo small { color: var(--muted); }
/* Yönetim paneli başlığı: koyu bant, alttaki içerik kartlarından ayrışsın */
.card.adminhead { background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 82%, var(--sky)) 100%); color: #fff; border: 0; padding-bottom: 16px; margin-bottom: 22px; box-shadow: 0 10px 28px rgba(18, 38, 74, .22); }
.card.adminhead h2 { color: #fff; }
.card.adminhead h2 .ico, .card.adminhead h2 svg { color: var(--coral, #eb6364); }
.card.adminhead .ah-sub { color: rgba(255, 255, 255, .72); }
.card.adminhead .rolepill { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.card.adminhead .tabs { border-bottom: 0; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; }
.card.adminhead .tab { background: rgba(255, 255, 255, .08) !important; color: rgba(255, 255, 255, .92) !important; border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
.card.adminhead .tab .ico, .card.adminhead .tab svg { color: inherit; }
.card.adminhead .tab:hover { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
.card.adminhead .tab.on, .card.adminhead .tab.on:hover { background: #fff !important; color: var(--ink) !important; border-color: #fff; font-weight: 700; }
.card.adminhead .tab.on .ico, .card.adminhead .tab.on svg { color: var(--coral-d, #c94a4b); }
/* Sol üst logo: imleç her yerde el işareti (resim üzerinde de) */
.brand, .brand * { cursor: pointer; }
.brand img { -webkit-user-drag: none; user-select: none; }
/* Hedge sekmeleri daha belirgin: seçili sekme dolu lacivert, diğeri açık tonlu; numara büyük */
.htabs button { padding: 14px 18px; border-width: 2px; background: color-mix(in srgb, var(--sky) 7%, var(--panel, #fff)); font-size: 17px; transition: background .15s, border-color .15s; }
.htabs button:hover:not(.on) { border-color: var(--sky); background: color-mix(in srgb, var(--sky) 14%, var(--panel, #fff)); }
.htabs button b { width: 36px; height: 36px; font-size: 16px; }
.htabs button small { font-size: 13px; margin-top: 2px; }
.htabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(18, 38, 74, .22); }
.htabs button.on small { color: rgba(255, 255, 255, .78); }
.htabs button.on b { background: #fff; color: var(--ink); }
