@font-face { font-family: "Geist"; src: url(../vendor/fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../vendor/fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../vendor/fonts/Geist-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../vendor/fonts/GeistMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../vendor/fonts/GeistMono-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #f6f6f4;
  --panel: #ffffff;
  --panel-2: #efefec;
  --line: #e2e2de;
  --text: #1c1c1a;
  --muted: #6b6b66;
  --faint: #9a9a94;
  --accent: #2f6fe4;
  --accent-soft: rgb(47 111 228 / .12);
  --ok: #1f9d55;
  --warn: #c98a12;
  --bad: #d0453a;
  --off: #a3a39d;
  --term-bg: #fbfbfa;
  --shadow: 0 12px 40px rgb(30 30 25 / .14);
  --r: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111112;
    --panel: #18181a;
    --panel-2: #202023;
    --line: #2a2a2e;
    --text: #e8e8e6;
    --muted: #9b9b98;
    --faint: #6c6c6a;
    --accent: #5b8ff0;
    --accent-soft: rgb(91 143 240 / .16);
    --ok: #3ccf7c;
    --warn: #e2a632;
    --bad: #ef6a5e;
    --off: #5d5d60;
    --term-bg: #141416;
    --shadow: 0 16px 48px rgb(0 0 0 / .5);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 13.5px/1.45 "Geist", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
.muted { color: var(--muted); }

.app { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: 100dvh; }

/* ---------- kenar cubugu */
.side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--panel); }
.brand { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 16px; }
.brand-name { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { width: 20px; height: 20px; flex: none; }
.search { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 0 10px; height: 34px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--muted); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); min-width: 0; }
.search input::placeholder { color: var(--faint); }
.list { flex: 1; overflow-y: auto; padding: 4px 8px 16px; }
.group-h { display: flex; align-items: center; gap: 6px; padding: 14px 8px 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
/* Grup basliklari kayarken ustte kalir: hangi grupta oldugun belli olsun. */
.list > .group-h { position: sticky; top: -4px; z-index: 1; background: var(--panel); }
.group-h .n { font: 500 11px "Geist Mono", ui-monospace, monospace; color: var(--faint); }
.group-h .tag { margin-left: auto; font-weight: 400; }
button.group-h { width: 100%; border: 0; border-radius: var(--r); text-align: left; cursor: pointer; }
button.group-h:hover { color: var(--text); }
.group-h.fold i { font-size: 11px; }
.item { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 8px 9px;
  border-radius: var(--r); cursor: pointer; }
.item:hover { background: var(--panel-2); }
.item.sel { background: var(--accent-soft); }
/* Su an acik olan oturum: soldaki cizgi + kalin baslik. */
.item.cur { box-shadow: inset 3px 0 0 var(--accent); }
.item.cur .item-t { font-weight: 600; }
.item-t { display: flex; align-items: center; gap: 6px; font-weight: 500; overflow: hidden; }
.item-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-m { margin-top: 2px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; overflow: hidden; white-space: nowrap; }
.item-m .cwd { overflow: hidden; text-overflow: ellipsis; }
.item-m .when { margin-left: auto; flex: none; color: var(--faint); }
.tag { flex: none; font-size: 11px; padding: 0 6px; border-radius: 4px; line-height: 18px; background: var(--panel-2); color: var(--muted); }
.tag.live { background: var(--accent-soft); color: var(--accent); }
.tag.warn { color: var(--warn); }
.list-empty { padding: 24px 12px; color: var(--muted); }

/* ---------- ust cubuk ve hesaplar */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.accounts { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.bar-right { display: flex; align-items: center; gap: 12px; flex: none; }
.acc { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 9px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--bg); cursor: pointer; white-space: nowrap; flex: none; transition: border-color .15s, transform .1s; }
.acc:hover { border-color: var(--faint); }
.acc:active { transform: scale(.98); }
.acc.current { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.acc-name { font-weight: 500; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.acc-use { font: 11.5px "Geist Mono", ui-monospace, monospace; color: var(--muted); }
.st { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--off); }
.st.ok { background: var(--ok); }
.st.warn { background: var(--warn); }
.st.bad { background: var(--bad); }
.meter { display: grid; gap: 2px; width: 34px; }
.meter i { display: block; height: 3px; border-radius: 2px; background: var(--ok); }
.meter i.w { background: var(--warn); }
.meter i.b { background: var(--bad); }

.toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.track { width: 30px; height: 18px; border-radius: 9px; background: var(--line); position: relative; transition: background .2s; }
.knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .2s cubic-bezier(.3,.7,.4,1); }
.toggle input:checked + .track { background: var(--accent); }
.toggle input:checked + .track .knob { transform: translateX(12px); }
.toggle input:focus-visible + .track { box-shadow: 0 0 0 3px var(--accent-soft); }

.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel); cursor: pointer; white-space: nowrap; transition: transform .1s, background .15s; }
.btn:hover { background: var(--panel-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--panel-2); }
.btn:disabled { opacity: .5; cursor: default; }
.btn i, .icon-btn i { font-size: 16px; }
.icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: var(--r); background: transparent; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--panel-2); color: var(--text); }

/* ---------- sekmeler ve terminal */
.tabs { display: flex; align-items: stretch; gap: 2px; padding: 6px 10px 0; border-bottom: 1px solid var(--line); background: var(--panel); overflow-x: auto; scrollbar-width: none; min-height: 41px; }
.tab { display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 0 6px 0 12px; height: 34px; border: 1px solid transparent;
  border-bottom: 0; border-radius: var(--r) var(--r) 0 0; cursor: pointer; color: var(--muted); flex: none; background: transparent; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--term-bg); border-color: var(--line); color: var(--text); margin-bottom: -1px; box-shadow: inset 0 2px 0 var(--accent); }
.tab.on:not(.pin) .tab-title { font-weight: 600; }
/* Seridin sonundaki toplu kapatma dugmesi: serit tasinca da sagda durur. */
.tabs-more { position: sticky; right: -10px; flex: none; align-self: center; margin-left: auto; width: 30px; height: 30px; background: var(--panel); box-shadow: -10px 0 10px var(--panel); }
.tab-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.tab-acc { font: 11px "Geist Mono", ui-monospace, monospace; color: var(--faint); }
.tab .icon-btn { width: 22px; height: 22px; }
.tab .icon-btn i { font-size: 13px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--off); flex: none; }
.pulse.busy { background: var(--accent); }
.pulse.idle { background: var(--ok); }
.pulse.wait { background: var(--warn); }
.pulse.dead { background: var(--off); }
.pulse.ask { background: var(--warn); box-shadow: 0 0 0 3px rgb(226 166 50 / .25); }
.pulse.done { background: var(--ok); box-shadow: 0 0 0 3px rgb(31 157 85 / .22); }
@media (prefers-reduced-motion: no-preference) {
  .pulse.busy { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .35; } }
}

.stage { position: relative; flex: 1; min-height: 0; background: var(--term-bg); }
.term-wrap { position: absolute; inset: 0; display: none; flex-direction: column; }
.term-wrap.on { display: flex; }
.term-tools { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.term-tools .path { font-family: "Geist Mono", ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-tools .sp { flex: 1; }
.term-tools .notice { color: var(--warn); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.term-tools select { height: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 0 6px; }
.term-tools .btn { height: 28px; padding: 0 10px; font-size: 12.5px; }
.term { flex: 1; min-height: 0; padding: 8px 4px 4px 12px; }
.term .xterm { height: 100%; }
.term .xterm-viewport { scrollbar-width: thin; }

.empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.empty[hidden] { display: none; }
.card { width: min(560px, 100%); }
.card h1 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; line-height: 1.3; }
.card .path { font: 12.5px "Geist Mono", ui-monospace, monospace; color: var(--muted); word-break: break-all; }
.card .quote { margin: 18px 0; padding: 12px 14px; border-left: 2px solid var(--line); color: var(--muted); max-height: 9em; overflow: hidden; }
.card .quote b { display: block; font-weight: 500; color: var(--faint); font-size: 12px; margin-bottom: 4px; }
.card .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.card select { height: 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 0 8px; }
.card .warnbox { margin-top: 14px; color: var(--warn); font-size: 12.5px; }
.steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.steps li { display: flex; gap: 10px; }
.steps i { color: var(--accent); font-size: 18px; flex: none; }

/* ---------- pencereler */
.dlg { border: 1px solid var(--line); border-radius: 12px; padding: 0; background: var(--panel); color: var(--text); box-shadow: var(--shadow); width: min(520px, calc(100vw - 32px)); }
.dlg::backdrop { background: rgb(10 10 10 / .45); }
.dlg form { padding: 20px; display: grid; gap: 14px; }
.dlg h2 { margin: 0; font-size: 16px; font-weight: 600; }
.dlg p { margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); }
.field input, .field select { height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 0 10px; outline: 0; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder { color: var(--faint); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.actions { display: flex; justify-content: flex-end; gap: 8px; }
.login-term { height: 190px; border: 1px solid var(--line); border-radius: var(--r); background: var(--term-bg); padding: 6px 4px 6px 10px; overflow: hidden; }
.status-line { min-height: 1.2em; font-size: 12.5px; color: var(--muted); }
.status-line.ok { color: var(--ok); }
.status-line.bad { color: var(--bad); }

.menu { position: fixed; z-index: 30; min-width: 230px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.menu-h { padding: 6px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-h b { display: block; font-weight: 500; }
.menu-h span { font-size: 12px; color: var(--muted); display: block; }
.menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--panel-2); }
.menu button.danger { color: var(--bad); }
.menu button:disabled { opacity: .45; cursor: default; }

.toast { position: fixed; z-index: 40; right: 16px; bottom: 16px; max-width: 380px; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) {
  .toast:not([hidden]) { animation: rise .22s cubic-bezier(.2,.8,.3,1); }
  .menu:not([hidden]) { animation: pop .14s cubic-bezier(.2,.8,.3,1); transform-origin: top left; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
  @keyframes pop { from { opacity: 0; transform: scale(.97); } }
}

@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: 38dvh minmax(0, 1fr); }
  .side, .main { min-width: 0; }
  .bar { padding: 8px 12px; }
  .bar-right { width: 100%; justify-content: space-between; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
  .bar { flex-wrap: wrap; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- kota */
.tab.pin { gap: 6px; }
.tab.pin i { font-size: 15px; }
.quota { position: absolute; inset: 0; overflow-y: auto; padding: 28px 32px 48px; }
.q-wrap { max-width: 1120px; margin: 0 auto; display: grid; gap: 28px; }
.q-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.q-head h1 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.q-head .sp { flex: 1; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--panel-2); color: var(--text); }
.seg.lang { padding: 2px; }
.seg.lang button { height: 24px; padding: 0 8px; font-size: 12px; }
.q-advice { display: grid; gap: 8px; }
.q-advice .lead { font-size: 15px; font-weight: 500; line-height: 1.5; }
.q-advice ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); display: grid; gap: 4px; }
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.q-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px 16px 14px; display: grid; gap: 12px; }
.q-card.first { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.q-card.off { opacity: .6; }
.q-top { display: flex; align-items: flex-start; gap: 10px; }
.q-rank { flex: none; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font: 500 12px "Geist Mono", ui-monospace, monospace; background: var(--panel-2); color: var(--muted); }
.q-card.first .q-rank { background: var(--accent); color: #fff; }
.q-name { font-weight: 600; }
.q-sub { font-size: 12px; color: var(--muted); }
.q-badge { margin-left: auto; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.q-badge.bad { color: var(--bad); }
.q-badge.ok { color: var(--ok); }
.q-row { display: grid; gap: 5px; }
.q-row-h { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
.q-row-h b { font-weight: 500; }
.q-row-h .pct { margin-left: auto; font: 500 12.5px "Geist Mono", ui-monospace, monospace; }
.q-bar { height: 6px; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.q-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ok); transition: width .4s cubic-bezier(.2,.8,.3,1); }
.q-bar i.w { background: var(--warn); }
.q-bar i.b { background: var(--bad); }
.q-reset { font-size: 12px; color: var(--faint); }
.q-fore { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.q-pool { display: flex; gap: 32px; flex-wrap: wrap; }
.q-stat b { display: block; font: 600 22px "Geist", sans-serif; letter-spacing: -.02em; }
.q-stat span { font-size: 12.5px; color: var(--muted); }
.q-tips h2, .q-pool-h { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.q-tips ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.q-tips li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; }
.q-tips .tp { font: 600 15px "Geist Mono", ui-monospace, monospace; color: var(--accent); }
.q-tips .tt { font-weight: 500; }
.q-tips .ta { font-size: 12.5px; color: var(--muted); }
.q-note { font-size: 12px; color: var(--faint); }
@media (max-width: 760px) { .quota { padding: 18px 14px 32px; } }

.seg.src { display: flex; margin: 0 12px 6px; }
.seg.src button { flex: 1; height: 26px; font-size: 12.5px; padding: 0 8px; }
.cloud-h { display: flex; align-items: center; gap: 8px; padding: 14px 8px 6px; font-size: 12px; color: var(--faint); font-weight: 500; }
.cloud-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-h .when { margin-left: auto; flex: none; }
.list-tools { display: flex; justify-content: flex-end; padding: 2px 4px 0; }
.list-tools .btn { height: 26px; font-size: 12px; padding: 0 8px; }

/* ---------- dikkat, git, palet */
.pulse.ask { background: var(--warn); }
.pulse.done { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .pulse.ask { animation: pulse 1s ease-in-out infinite; } }
.tag.ask { background: rgb(226 166 50 / .15); color: var(--warn); }
.term-tools .git { display: inline-flex; align-items: center; gap: 5px; flex: none; font: 12px "Geist Mono", ui-monospace, monospace; color: var(--text); }
.term-tools .git i { font-size: 14px; color: var(--muted); }
.term-tools .git b { font-weight: 500; color: var(--warn); }
.term-tools .git span { color: var(--muted); }
.term-tools .icon-btn { width: 28px; height: 28px; }
.palette-back { position: fixed; inset: 0; z-index: 50; background: rgb(10 10 10 / .35); display: grid; justify-items: center; align-items: start; padding-top: 12vh; }
.palette { width: min(620px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.palette .search { margin: 10px; height: 40px; }
.pal-list { max-height: 52vh; overflow-y: auto; padding: 0 6px 6px; }
.pal-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; }
.pal-item i { font-size: 16px; color: var(--muted); flex: none; }
.pal-item .pl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-item small { margin-left: 8px; color: var(--faint); font-size: 12px; }
.pal-item kbd { font: 11px "Geist Mono", ui-monospace, monospace; color: var(--faint); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.pal-item.on { background: var(--accent-soft); }
@media (prefers-reduced-motion: no-preference) { .palette { animation: pop .14s cubic-bezier(.2,.8,.3,1); transform-origin: top center; } }

/* ---------- tur 2: proje filtresi, onizleme */
.proj { margin: 0 12px 4px; }
.proj select { width: 100%; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); padding: 0 8px; font-size: 12.5px; color: var(--muted); }
.item .snip { margin-top: 3px; font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .snip mark { background: var(--accent-soft); color: var(--text); border-radius: 2px; }
.pin-ic { color: var(--accent); font-size: 12px; flex: none; }
.card.wide { width: min(760px, 100%); }
.meta-line { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.meta-line span { display: inline-flex; align-items: center; gap: 5px; }
.msgs { margin: 18px 0 0; display: grid; gap: 10px; max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.msg { display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
.msg b { font-size: 12px; font-weight: 500; color: var(--faint); padding-top: 1px; }
.msg.claude b { color: var(--accent); }
.msg div { white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.msgs-skel { height: 120px; border-radius: 8px; background: linear-gradient(90deg, var(--panel-2), var(--panel), var(--panel-2)); background-size: 200% 100%; margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) { .msgs-skel { animation: shimmer 1.2s linear infinite; } @keyframes shimmer { to { background-position: -200% 0; } } }

/* ---------- tur 3: kota cizelgesi */
.spark { position: relative; display: grid; gap: 4px; }
.spark-h { font-size: 12.5px; color: var(--muted); }
.spark svg { width: 100%; height: 64px; display: block; overflow: visible; }
.sp-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sp-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sp-limit { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.sp-cross { stroke: var(--faint); stroke-width: 1; }
.sp-dot, .sp-hover { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--panel); pointer-events: none; }
.sp-plot { position: relative; }
.spark-x { display: flex; justify-content: space-between; font: 11px "Geist Mono", ui-monospace, monospace; color: var(--faint); }
.sp-tip { position: absolute; top: -8px; transform: translate(-50%, -100%); padding: 6px 9px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 12px; line-height: 1.35; white-space: nowrap; pointer-events: none; z-index: 2; }
.sp-tip b { font-weight: 600; }
.sp-tip span { opacity: .75; }
.spark.hovering .sp-dot { opacity: .35; }

/* ---------- takip paneli */
.tab .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warn); color: #1a1a1a; font: 600 11px "Geist Mono", ui-monospace, monospace; display: grid; place-items: center; }
.t-sec h2 { margin: 0 0 10px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.t-sec h2 span { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.t-list { display: grid; gap: 10px; }
.t-item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 16px; display: grid; gap: 10px; }
.t-item.acil { border-color: rgb(239 106 94 / .55); }
.t-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-head .t-title { font-weight: 600; flex: 1; min-width: 200px; }
.t-head .when { font-size: 12px; color: var(--faint); }
.badge { font-size: 11.5px; padding: 1px 8px; border-radius: 99px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.badge.acil { color: var(--bad); background: rgb(239 106 94 / .12); }
.badge.bugun { color: var(--warn); background: rgb(226 166 50 / .12); }
.t-sum { font-size: 13px; color: var(--muted); white-space: pre-wrap; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.t-sum.open { -webkit-line-clamp: unset; }
.t-reply { width: 100%; min-height: 64px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); padding: 8px 10px; font: 13px/1.45 "Geist", sans-serif; outline: 0; }
.t-reply:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.t-reply::placeholder { color: var(--faint); }
.t-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.t-acts .btn { height: 30px; font-size: 12.5px; padding: 0 10px; }
.t-acts .sp { flex: 1; }
.t-note { font-size: 12px; color: var(--warn); }
.badge.ok { color: var(--ok); background: rgb(31 157 85 / .12); }
.badge.run { color: var(--accent); background: var(--accent-soft); }
.k-new { display: grid; gap: 10px; }
.k-new .t-reply { min-height: 84px; }
.k-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.k-row .field { flex: 1; min-width: 240px; }
.k-meta { font-size: 12px; color: var(--faint); display: flex; gap: 6px; flex-wrap: wrap; }
.k-err { font-size: 12px; color: var(--bad); }
.t-mini { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.t-mini div { display: flex; gap: 8px; }
.t-mini time { color: var(--faint); flex: none; font: 11.5px "Geist Mono", ui-monospace, monospace; padding-top: 1px; }
.t-set { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); }
.t-set label { display: inline-flex; gap: 6px; align-items: center; }
.t-set input[type=number] { width: 56px; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); padding: 0 6px; }
.t-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
/* Takip > Ayarlar: telefon bildirimi denemesi (public/ntfy-test.js). Gonderildi yesil + onay simgesi, gonderilemedi kirmizi + uyari simgesi. */
/* Kart Gelisim basligiyla ayni dil: hafif renkli isik, ince cerceve, derinlik. Renk yalniz simge ve kisa baslikta; aciklama normal metin. */
.nt-test { --nt-ok-t: #166534; --nt-bad-t: #b3261e; --nt-warn-t: #8a5a00; --nt-a: rgb(47 111 228 / .10); --nt-b: rgb(124 92 214 / .07);
  position: relative; margin-top: 16px; max-width: 880px; padding: 16px; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, var(--nt-a), transparent 55%), radial-gradient(90% 120% at 100% 0%, var(--nt-b), transparent 60%), var(--panel);
  box-shadow: 0 1px 2px rgb(30 30 25 / .05), 0 8px 24px -12px rgb(30 30 25 / .14); }
@media (prefers-color-scheme: dark) { .nt-test { --nt-ok-t: #3ccf7c; --nt-bad-t: #f07b70; --nt-warn-t: #e2a632; --nt-a: rgb(91 143 240 / .13); --nt-b: rgb(167 139 250 / .08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 10px 28px -14px rgb(0 0 0 / .6); } }
/* Ust satir: simge | baslik + aciklama | dugme. Dar ekranda simge yalniz basligin yaninda, aciklama ve dugme tam genislik. */
.nt-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic ttl btn" "ic desc btn"; align-items: center; gap: 2px 14px; }
.nt-h .nt-ic { grid-area: ic; }
.nt-ttl { grid-area: ttl; align-self: end; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.nt-desc { grid-area: desc; align-self: start; margin: 0; font-size: 13px; line-height: 1.5; color: color-mix(in srgb, var(--text) 68%, var(--panel)); }
.nt-h .nt-btn { grid-area: btn; }
.nt-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: var(--accent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, var(--panel)), color-mix(in srgb, var(--accent) 6%, var(--panel))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent); }
.nt-btn { flex: none; height: 34px; font-size: 13px; font-weight: 500; background: var(--panel); box-shadow: 0 1px 2px rgb(30 30 25 / .06); }
.nt-res { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.5; color: var(--text); min-width: 0; }
.nt-ri { flex: none; font-size: 18px; margin-top: 0; }
.nt-rb { display: grid; gap: 3px; min-width: 0; }
.nt-rb p { margin: 0; overflow-wrap: anywhere; }
.nt-rt { font-size: 13px; font-weight: 600; }
.nt-rt time { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 4px; }
/* Ayarlar icinde alt gruplar (Hatirlatmalar / Bildirimler): ayni baslik dili ve aralik, kart ayri bir parca gibi durmaz. */
.nt-sec { margin: 22px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.nt-sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.nt-sec.first { margin-top: 2px; }
.nt-sec + .nt-test { margin-top: 0; }
.nt-meta { color: color-mix(in srgb, var(--text) 72%, var(--panel)); font-size: 13px; }
.nt-link { color: var(--text); overflow-wrap: anywhere; }
.nt-more { font-size: 13px; color: color-mix(in srgb, var(--text) 80%, var(--panel)); margin-top: 2px; }
/* Acilir satir dugme gibi gorunur: cerceve, ok simgesi, ustune gelince belirginlesir. */
.nt-more summary { cursor: pointer; width: fit-content; list-style: none; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 7px;
  border-radius: 7px; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); background: color-mix(in srgb, var(--text) 5%, var(--panel));
  color: color-mix(in srgb, var(--text) 85%, var(--panel)); font-size: 13px; font-weight: 500; }
.nt-more summary::-webkit-details-marker { display: none; }
.nt-more summary i { font-size: 12px; }
@media (prefers-reduced-motion: no-preference) { .nt-more summary i { transition: transform .15s ease-out; } }
.nt-more[open] summary i { transform: rotate(90deg); }
.nt-more summary:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.nt-more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nt-more > div { margin-top: 8px; line-height: 1.55; overflow-wrap: anywhere; }
.nt-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; }
.nt-dl dt { color: color-mix(in srgb, var(--text) 62%, var(--panel)); }
.nt-dl dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.nt-more code { font: 12px "Geist Mono", ui-monospace, monospace; padding: 1px 6px; border-radius: 5px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; }
.nt-chip { display: inline-block; padding: 0 9px; border-radius: 99px; font-size: 12px; line-height: 22px; font-weight: 500; white-space: nowrap;
  background: color-mix(in srgb, var(--text) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); color: var(--text); }
.nt-res.idle { padding: 0 2px; color: var(--faint); }
.nt-res.ok { background: color-mix(in srgb, var(--ok) 7%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 28%, transparent), inset 3px 0 0 var(--ok); }
.nt-res.bad { background: color-mix(in srgb, var(--bad) 7%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 30%, transparent), inset 3px 0 0 var(--bad); }
.nt-res.ok .nt-ri, .nt-res.ok .nt-rt { color: var(--nt-ok-t); }
.nt-res.bad .nt-ri, .nt-res.bad .nt-rt { color: var(--nt-bad-t); }
.nt-res.warn { background: color-mix(in srgb, var(--warn) 8%, var(--panel)); }
.nt-res.warn .nt-ri { color: var(--nt-warn-t); }
@media (prefers-reduced-motion: no-preference) {
  .nt-res.ok, .nt-res.bad { animation: nt-in .2s cubic-bezier(.2, .8, .3, 1); }
  .nt-spin { animation: nt-spin .8s linear infinite; }
  @keyframes nt-in { from { opacity: 0; transform: translateY(3px); } }
  @keyframes nt-spin { to { transform: rotate(360deg); } }
}
/* Ayarlar > Hatirlatmalar alanlari bildirim kartiyla ayni kart dilinde (cerceve, yuvarlak kose, panel zemini). */
.t-set.nt-card { max-width: 880px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); gap: 12px 22px; font-size: 13px;
  box-shadow: 0 1px 2px rgb(30 30 25 / .05); }
@media (prefers-color-scheme: dark) { .t-set.nt-card { box-shadow: inset 0 1px 0 rgb(255 255 255 / .03); } }
@media (max-width: 520px) {
  .nt-test { padding: 14px; gap: 12px; }
  .nt-h { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic ttl" "desc desc" "btn btn"; gap: 10px 12px; }
  .nt-ttl { align-self: center; }
  .nt-btn { width: 100%; justify-content: center; }
  .nt-dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nt-dl dd { margin-bottom: 6px; }
}
.t-head-sum { font-weight: 500; }
.t-why { font-size: 12.5px; color: var(--muted); }
.t-why b { font-weight: 500; color: var(--text); }

/* ---------- mesaj kuyrugu */
.menu.wide { width: 380px; display: grid; gap: 8px; padding: 10px; }
.menu.wide .menu-h { margin: 0; padding: 0 2px 8px; }
.q-row-item { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.q-row-item span { flex: 1; white-space: pre-wrap; word-break: break-word; max-height: 4.5em; overflow: hidden; }
.term-tools .qadd { height: 28px; font-size: 12.5px; }
.menu.wide button.btn { width: auto; display: inline-flex; padding: 0 12px; height: 30px; }
.menu.wide button.icon-btn { width: 24px; height: 24px; padding: 0; display: grid; place-items: center; flex: none; }
.menu.wide .t-reply { min-height: 70px; }

/* ---------- yan yana */
.term-wrap.side { border-left: 1px solid var(--line); }

/* cagrilar */
.t-call { font-size: 12px; color: var(--bad); display: flex; gap: 6px; align-items: center; }
.c-list { display: grid; gap: 8px; margin-bottom: 12px; }
.c-row { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); cursor: pointer; font: inherit; transition: border-color .15s, background-color .15s; }
.c-row:hover { border-color: var(--accent); }
.c-row:active { transform: scale(.995); }
.c-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.c-title { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.c-meta { font-size: 12px; color: var(--faint); }
.c-text { font-size: 12.5px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c-side { flex: none; display: grid; justify-items: end; gap: 2px; font-size: 12px; color: var(--muted); }
.c-side b { font: 600 13px "Geist Mono", ui-monospace, monospace; color: var(--bad); }
.c-h3 { margin: 4px 0 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.c-h3 span { color: var(--faint); font-weight: 400; }
.t-mini a { color: var(--text); text-decoration: none; }
.t-mini a:hover { text-decoration: underline; }

/* ekipler / mcp */
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; }
.m-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); cursor: pointer; }
.m-switch input { accent-color: var(--accent); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; margin-left: auto; }
.link-btn:hover { text-decoration: underline; }
#mcp-form .t-reply { min-height: 64px; }
.field select { appearance: auto; }
.tm-card { border-left: 0; }
.tm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); flex: none; }
.ag-list { display: grid; gap: 6px; }
.ag-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ag-row > .k-new { flex-basis: 100%; }
.ag-main { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.ag-acts { display: flex; gap: 6px; align-items: center; }
.ag-acts .btn { height: 28px; font-size: 12px; padding: 0 9px; }
/* zamanlanmis gorevler */
.sf-in { height: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--text); padding: 0 8px; font: inherit; }
#sf-hours { width: 72px; }
.sf-days { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.sf-day { display: inline-flex; }
.sf-day input { position: absolute; opacity: 0; pointer-events: none; }
.sf-day span { display: inline-block; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; color: var(--muted); cursor: pointer; user-select: none; transition: background-color .15s, color .15s, border-color .15s; }
.sf-day input:checked + span { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.sf-day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
/* hazir ekipler ve ekip isleri */
.tp-panel { gap: 12px; }
.tp-chips { gap: 6px; }
.tp-chip { height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tp-chip:hover { color: var(--text); }
.tp-chip.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tp-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tp-card { display: grid; gap: 6px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .15s; }
.tp-card:hover { border-color: var(--faint); }
.tp-card.sug { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tp-card .btn { justify-self: start; height: 28px; font-size: 12.5px; }
.tp-roles { display: flex; flex-wrap: wrap; gap: 4px; }
.tp-roles span { font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: var(--panel-2); color: var(--muted); }
.wk-plan { gap: 8px; }
.wk-prompt { white-space: pre-wrap; max-height: 5.4em; overflow: hidden; }
.wk-list { display: grid; gap: 4px; }
.wk-row { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.wk-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-sum { border-left: 2px solid var(--warn); padding-left: 8px; }
/* sabah ozeti */
.rep-card { border-color: var(--accent); }
.rep-text { white-space: pre-wrap; font-size: 13px; line-height: 1.55; color: var(--text); }
.mcp-auth { display: grid; gap: 8px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); }
.mcp-auth select { height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 0 8px; }
.mcp-acc { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.dev-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.dev-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 12px; color: var(--muted); cursor: pointer; }
.dev-chip span { font-size: 11px; opacity: .7; }
.dev-chip.on { color: var(--text, inherit); border-color: var(--accent); background: rgb(80 140 255 / .12); }
.dev-chip.mach i { font-size: 13px; }
.remote { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.remote .r-head { display: flex; align-items: flex-start; gap: 10px; }
.remote .r-head h1 { font-size: 16px; margin: 0 0 2px; }
.remote .r-head .sp { flex: 1; }
.remote .r-note { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.remote .r-term { flex: 1; min-height: 200px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 6px; background: var(--panel); }
.remote .r-keys { display: flex; gap: 6px; flex-wrap: wrap; }
.remote .r-say { display: flex; gap: 8px; align-items: stretch; }
.remote .r-say textarea { flex: 1; resize: vertical; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 8px; font: inherit; color: inherit; }
.bell { position: relative; }
.bell-n { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--warn); color: #111; font-size: 10px; line-height: 16px; text-align: center; }
.bell-pop { width: min(420px, calc(100vw - 24px)); max-height: 70vh; overflow-y: auto; }
.bell-pop .menu-h span { display: block; font-size: 11.5px; margin-top: 2px; }
.bell-list { display: grid; gap: 2px; }
.bell-it { display: grid; gap: 3px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.bell-it:hover { background: var(--panel-2); }
.bell-it.new { box-shadow: inset 3px 0 0 var(--accent); }
.bell-it.dim { opacity: .65; }
.bell-t { display: flex; gap: 8px; justify-content: space-between; font-size: 13px; }
.bell-t b { font-weight: 500; }
.bell-t .when { font-size: 11px; color: var(--muted); flex: none; }
.bell-m { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bell-f { display: flex; gap: 8px; align-items: center; font-size: 11px; }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.bell-pop .bell-it { display: grid; justify-items: stretch; align-items: start; height: auto; white-space: normal; }
.bell-pop .bell-it > div { min-width: 0; }
.bell-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bell-chips { padding: 8px 6px 4px; }
.bell-tabs { padding: 8px 6px 0; gap: 6px; }
.bell-tabs .dev-chip { gap: 6px; }
/* ntfy sekmesi: mesajin tamami, satir sonlari korunur, adresler tiklanir */
.bell-rm { font-size: 12px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.bell-url { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.bell-raw:not([data-ntfy]) { cursor: default; }
.bell-sec { padding: 10px 10px 4px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.bell-sec span { opacity: .7; }
.bell-pop .bell-it { gap: 4px; }
.bell-t { justify-content: flex-start; align-items: center; }
.bell-t b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bell-f { flex-wrap: wrap; color: var(--muted); }
.bell-f .sp { flex: 1; }
.bell-go { color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.bell-why { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--panel-2); font-size: 12px; color: var(--text); display: grid; gap: 8px; }
.bell-why .row { display: flex; gap: 6px; }
.bell-pop .dev-chip { display: inline-flex; width: auto; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; }
.bell-pop .dev-chip.on { border-color: var(--accent); background: rgb(80 140 255 / .12); }
.bell-pop .link-btn { width: auto; padding: 2px 6px; flex: none; }
.bell-h > div { min-width: 0; }
/* ---------------------------------------------------------------- ekipler v2: sikistirilmis kart + is akisi */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.tm-card { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px 14px; display: grid; gap: 10px; overflow: hidden; }
.tm-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tc); opacity: .85; }
.tm-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.tm-dot.busy { animation: hub-pulse 1.6s ease-in-out infinite; }
.tm-id { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tm-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.tm-ic { color: var(--ok); font-size: 14px; }
.tm-sub { display: flex; gap: 0; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; min-width: 0; }
.tm-sub > span { flex: none; }
.tm-sub > span + span::before { content: "·"; margin: 0 7px; }
.tm-sub .tm-note { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tm-crew { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .16s var(--ease-out); }
.ag-chip:active { transform: scale(0.97); }
.ag-chip.on { border-color: var(--accent); background: var(--accent-soft); }
.ag-chip.busy { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.ag-chip.add { width: 32px; padding: 0; justify-content: center; color: var(--muted); border-style: dashed; }
@media (hover: hover) and (pointer: fine) { .ag-chip:hover { border-color: var(--faint); } .ag-chip.on:hover { border-color: var(--accent); } }
.ag-nm { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { position: relative; flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  color: hsl(var(--h) 70% 92%); background: linear-gradient(140deg, hsl(var(--h) 62% 52%), hsl(calc(var(--h) + 35) 58% 40%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); }
.av.lg { width: 36px; height: 36px; font-size: 13px; }
.av.sm { width: 22px; height: 22px; font-size: 9.5px; }
.av.xs { width: 18px; height: 18px; font-size: 8px; }
.av.you { background: var(--panel-2); color: var(--muted); font-size: 13px; box-shadow: none; }
.av-crown { position: absolute; top: -7px; right: -5px; font-size: 11px; color: #e2a632; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .4)); }
.av.xs .av-crown, .av.sm .av-crown { display: none; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 5px; vertical-align: 1px; animation: hub-pulse 1.4s ease-in-out infinite; }
.ag-chip .live-dot { margin: 0 0 0 -2px; }
@keyframes hub-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* ajan ayrintisi */
.ag-panel { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ag-panel-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ag-recent { display: grid; gap: 4px; }
.ag-rt { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.ag-rt > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-rt:disabled { cursor: default; }
@media (hover: hover) and (pointer: fine) { .ag-rt:not(:disabled):hover { background: var(--panel-2); } }
.tm-more { display: grid; gap: 8px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; }
/* yazma kutusu (ekler) */
.cmp { display: grid; gap: 6px; padding: 8px 8px 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease; }
.cmp:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cmp.sm { background: var(--panel); }
.cmp-in { width: 100%; min-height: 22px; max-height: 260px; resize: none; border: 0; outline: 0; background: transparent; color: var(--text); font: 13px/1.5 "Geist", sans-serif; padding: 4px 0 0; }
.cmp-in::placeholder { color: var(--faint); }
.cmp-bar { display: flex; align-items: center; gap: 6px; }
.cmp-bar .sp { flex: 1; }
.cmp-bar .btn { height: 30px; font-size: 12.5px; padding: 0 12px; }
.cmp-hint { font-size: 11.5px; opacity: 0; transition: opacity .15s ease; }
.cmp:focus-within .cmp-hint { opacity: 1; }
.att-chips, .msg-files { display: flex; flex-wrap: wrap; gap: 6px; }
.att-chips:empty { display: none; }
.att { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; height: 30px; padding: 0 4px 0 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 12px; color: var(--muted); }
.att img { width: 22px; height: 22px; object-fit: cover; border-radius: 5px; }
.att > i { font-size: 15px; padding-left: 3px; }
.att > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att.busy { opacity: .55; }
.att-x { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 5px; background: transparent; color: var(--faint); cursor: pointer; }
.att-x:hover { color: var(--text); background: var(--panel-2); }
.msg-files .att { padding-right: 8px; }
.att-drag { outline: 2px dashed var(--accent); outline-offset: 2px; }
.term.att-drag { outline-offset: -4px; }
/* is listesi ve konusma akisi */
.wk-list { display: grid; gap: 6px; }
.wk { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.wk.open { background: var(--panel); }
.wk-top { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; border-radius: 10px; }
.wk-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-avs { display: inline-flex; }
.wk-avs .av { margin-left: -5px; box-shadow: 0 0 0 2px var(--bg); }
.wk.open .wk-avs .av { box-shadow: 0 0 0 2px var(--panel); }
.wk-prog { width: 54px; height: 4px; border-radius: 2px; background: var(--panel-2); overflow: hidden; flex: none; }
.wk-prog span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.wk-when { font-size: 11.5px; flex: none; }
.wk-caret { color: var(--faint); transition: transform .2s var(--ease-out); }
.wk.open .wk-caret { transform: rotate(180deg); }
.wk-thread { position: relative; display: grid; gap: 12px; padding: 4px 14px 14px; }
.wk-thread::before { content: ""; position: absolute; left: 26px; top: 8px; bottom: 22px; width: 1px; background: var(--line); }
.wm { position: relative; display: flex; gap: 10px; align-items: flex-start; }
.wm > .av { margin-top: 1px; box-shadow: 0 0 0 3px var(--panel); }
.wm.reply { margin-left: 30px; }
.wm.reply::before { content: ""; position: absolute; left: -18px; top: -6px; width: 14px; height: 16px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); border-bottom-left-radius: 8px; }
.msg-b { flex: 1; min-width: 0; display: grid; gap: 5px; }
.msg-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.msg-h .link-btn { margin-left: 0; display: inline-flex; align-items: center; gap: 3px; }
.msg-title { color: var(--muted); }
.msg-text { font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.msg-text.muted { color: var(--muted); }
.msg-text code { font: 12px "Geist Mono", ui-monospace, monospace; padding: 0 4px; border-radius: 4px; background: var(--panel-2); }
.msg-text.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--l, 5); overflow: hidden; }
.msg-text.live { color: var(--muted); }
.wm .more { margin-left: 0; justify-self: start; }
.wm.final .msg-b { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--tc) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--tc) 28%, var(--line)); }
.wm.is-live .msg-b { padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); }
.tool-line { display: flex; align-items: center; gap: 6px; font: 11.5px "Geist Mono", ui-monospace, monospace; color: var(--muted); min-width: 0; }
.tool-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-line .spin { animation: hub-spin 1.6s linear infinite; }
@keyframes hub-spin { to { transform: rotate(360deg); } }
.asg-mini { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.asg-mini > span { display: inline-flex; align-items: center; gap: 5px; }
.asg-mini b { color: var(--text); font-weight: 500; }
.asg { display: grid; gap: 6px; }
.asg-row { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.asg-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.asg-main .msg-text { font-size: 12.5px; color: var(--muted); }
.wk-wait { display: flex; align-items: center; gap: 4px; margin-left: 32px; font-size: 12px; color: var(--muted); }
/* yeni gelen mesaj: bir kez, kisa */
.wm.in { animation: msg-in .24s var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mcp-fold { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.mcp-fold .muted { font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) {
  .wm.in { animation: msg-fade .2s ease both; }
  .live-dot, .tm-dot.busy, .tool-line .spin { animation: none; }
}
@keyframes msg-fade { from { opacity: 0; } to { opacity: 1; } }
/* ekip sayfasi, son 2 is, devam kutusu */
.tm-link { padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tm-link:hover { color: var(--accent); } }
.tm-open { height: 28px; font-size: 12px; padding: 0 10px; flex: none; }
.tm-head.big { align-items: flex-start; }
.tm-head.big .tm-dot { margin-top: 9px; }
.tm-head.big h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.tm-sub.wrap { white-space: normal; flex-wrap: wrap; row-gap: 2px; font-size: 12.5px; }
.tm-sub.wrap .tm-note { flex-basis: 100%; overflow: visible; }
.tm-sub.wrap .tm-note::before { content: none; }
.wk-more { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border: 1px dashed var(--line); border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .wk-more:hover { color: var(--text); border-color: var(--faint); } }
.wk-reply { margin-left: 36px; }
.tpg { gap: 16px; }
.tpg-head { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tpg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.tpg-main { display: grid; gap: 12px; min-width: 0; }
.tpg-side { display: grid; gap: 10px; position: sticky; top: 12px; }
.tpg-h { margin: 6px 0 0; font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.tpg-h span { font-weight: 400; color: var(--muted); font-size: 12px; }
.mb-list { display: grid; gap: 4px; }
.mb-row { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.mb-row.on { border-color: var(--accent); }
.mb-main { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.mb-txt { display: grid; min-width: 0; font-size: 12.5px; }
.mb-txt b { font-weight: 500; }
.mb-txt .muted { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-st { display: flex; align-items: center; gap: 4px; margin-left: 35px; font-size: 11.5px; min-width: 0; border: 0; background: none; padding: 0; font-family: inherit; text-align: left; }
.mb-st.live { color: var(--accent); cursor: pointer; }
.mb-st.live span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .tpg-grid { grid-template-columns: 1fr; } .tpg-side { position: static; } }
/* promptla taslagi ve plan onayi */
.cmp.pd { padding: 10px 10px 8px 12px; background: color-mix(in srgb, var(--tc, var(--accent)) 6%, var(--panel)); border-color: color-mix(in srgb, var(--tc, var(--accent)) 30%, var(--line)); }
.pd-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; flex-wrap: wrap; }
.pd-h .sp { flex: 1; }
.pd-h .btn { height: 28px; font-size: 12px; }
.pd-in { min-height: 140px; max-height: 420px; resize: vertical; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.pd-q { display: grid; gap: 3px; font-size: 12.5px; color: var(--muted); padding: 8px 10px; border-radius: 8px; background: rgb(226 166 50 / .08); }
.pd-q b { color: var(--warn); font-weight: 500; }
.pd-note { width: 100%; min-height: 34px; max-height: 260px; resize: none; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); padding: 7px 10px; font: 13px/1.45 "Geist", sans-serif; outline: 0; }
.pd-qa { display: grid; gap: 4px; margin-top: 6px; cursor: text; }
.pd-qa > span { color: var(--text); font-size: 12.5px; }
.pd-note:focus { border-color: var(--accent); }
.asg-row.off { opacity: .45; }
.asg-row.off .msg-text { text-decoration: line-through; }
.wk-stop { margin-left: 36px; }
.pd-notes { display: grid; gap: 3px; font-size: 12.5px; color: var(--muted); padding: 8px 10px; border-radius: 8px; background: rgb(31 157 85 / .08); }
.pd-notes b { color: var(--ok); font-weight: 500; }
.pd-notes i { color: var(--ok); margin-right: 6px; }
.perm-row { display: grid; gap: 6px; padding-top: 4px; }
.perm-cmd { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--term-bg); border: 1px solid var(--line); font: 11.5px/1.5 "Geist Mono", ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow: auto; color: var(--text); }
.perm-all { display: grid; gap: 6px; margin-left: 36px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgb(226 166 50 / .45); background: rgb(226 166 50 / .07); }
.perm-all .pd-h i { color: var(--warn); }
.perm-li { display: flex; align-items: center; gap: 6px; font-size: 12px; min-width: 0; }
.perm-li .mono { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bell-perm { display: flex; gap: 6px; margin-top: 6px; }
.bell-perm .btn { height: 28px; font-size: 12px; padding: 0 10px; }
/* akis sohbet gibi: sabit yukseklik, en yeni altta, devam kutusu altta sabit */
.wk-thread[data-w] { max-height: min(72vh, 820px); overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 80px; padding-top: 8px; }
.wk-thread[data-w]::before { display: none; }
.wk-thread .wk-reply { position: sticky; top: 0; z-index: 2; box-shadow: 0 10px 18px var(--panel); margin-left: 0; }
.wk-thread .perm-all, .wk-thread .wk-wait, .wk-thread .wk-stop { margin-left: 0; }
.wm.flash .msg-b { animation: wm-flash 1.6s var(--ease-out); }
@keyframes wm-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--accent); border-radius: 10px; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* uyeler: izin bekleyen */
.mb-row.need { border-color: rgb(226 166 50 / .6); background: rgb(226 166 50 / .06); }
.mb-main .badge { margin-left: auto; }
.mb-need { display: flex; align-items: center; gap: 6px; margin-left: 35px; font-size: 11.5px; color: var(--warn); }
.mb-need .sp { flex: 1; }
.btn.sm { height: 26px; font-size: 11.5px; padding: 0 9px; }
/* uye penceresi */
.mm-bg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / .45); animation: mm-fade .16s ease-out; }
.mm { width: min(680px, 100%); max-height: 86vh; overflow-y: auto; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); animation: mm-in .2s var(--ease-out); }
@keyframes mm-fade { from { opacity: 0; } }
@keyframes mm-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.mm-h { display: flex; align-items: center; gap: 12px; }
.mm-mode { display: grid; gap: 4px; font-size: 12.5px; }
.mm-mode select { height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); padding: 0 8px; justify-self: start; }
.mm-mode .muted { font-size: 11.5px; }
.mm-sec { display: grid; gap: 8px; }
.mm-task { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.mm-task.need { border-color: rgb(226 166 50 / .6); }
.mm-task .msg-h .sp { flex: 1; }
@media (prefers-reduced-motion: reduce) { .mm-bg, .mm { animation: none; } }
/* zil: bekleyis e-postasi ayari (listenin altinda, kayarken gorunur kalir) */
.bell-mail { position: sticky; bottom: -1px; margin-top: 6px; padding: 10px 10px 8px; border-top: 1px solid var(--line); background: var(--panel); display: grid; gap: 6px; font-size: 12px; }
.bell-mail .bm-h { display: flex; align-items: center; gap: 8px; }
.bell-mail .bm-h .sp { flex: 1; }
.bell-mail .toggle { color: var(--text); font-size: 13px; }
.bell-mail .bm-t { color: var(--muted); line-height: 1.45; }
.bell-mail .bm-t b { color: var(--text); font-weight: 500; }
.bell-mail select { height: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); padding: 0 4px; font-size: 12px; color: var(--text); }
.bell-mail .bm-warn { color: var(--warn); }
.bell-mail .bm-last { color: var(--muted); }
.bell-mail .bm-last.bad { color: var(--bad); }
.bell-mail .link-btn:disabled { opacity: .4; cursor: default; }
/* yapilacaklar */
.todo-box { display: grid; gap: 2px; margin: 0 12px 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.todo-box.side { margin: 0; background: var(--panel); }
.todo-h { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; padding: 2px 2px 4px; }
.todo-parts { display: grid; gap: 2px; padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.todo { display: flex; align-items: flex-start; gap: 8px; padding: 4px 2px; border-radius: 6px; font-size: 13px; min-width: 0; }
.todo.part { font-size: 12px; color: var(--muted); align-items: center; }
.todo.part .todo-text b { color: var(--text); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .todo:not(.part):hover { background: var(--panel-2); } .todo .todo-acts { opacity: 0; transition: opacity .12s ease; } .todo:hover .todo-acts, .todo:focus-within .todo-acts { opacity: 1; } }
.todo-cb { flex: none; display: grid; place-items: center; width: 17px; height: 17px; margin-top: 1px; padding: 0; border: 1.5px solid var(--faint); border-radius: 5px; background: transparent; color: #fff; cursor: pointer; transition: background-color .12s ease, border-color .12s ease, transform .12s var(--ease-out); }
.todo-cb:active { transform: scale(.92); }
.todo-cb i { font-size: 11px; }
.todo.done .todo-cb, .todo.part.done .todo-cb { background: var(--ok); border-color: var(--ok); }
.todo-cb.ro { cursor: default; width: 15px; height: 15px; }
.todo-cb.ro .live-dot { margin: 0; width: 6px; height: 6px; }
.todo-text { flex: 1; min-width: 0; line-height: 1.45; overflow-wrap: anywhere; }
.todo-text code { font: 11.5px "Geist Mono", ui-monospace, monospace; padding: 0 4px; border-radius: 4px; background: var(--panel-2); }
.todo.done .todo-text { color: var(--faint); text-decoration: line-through; }
.todo-w { display: block; margin: 1px 0 0; font-size: 11.5px; color: var(--muted); text-align: left; }
.todo-own { flex: none; font-size: 11px; padding: 1px 7px; border-radius: 99px; margin-top: 1px; }
.todo-own.me { color: var(--warn); background: rgb(226 166 50 / .14); }
.todo-own.team { color: var(--accent); background: var(--accent-soft); }
.todo-acts { flex: none; display: flex; align-items: center; gap: 8px; }
.todo-acts .link-btn { margin: 0; font-size: 11.5px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.todo-x { width: 22px; height: 22px; }
.todo-more { margin: 2px 0 0 25px; justify-self: start; font-size: 11.5px; }
.todo-add { margin-top: 4px; height: 30px; border: 1px dashed var(--line); border-radius: 8px; background: transparent; color: var(--text); padding: 0 10px; font: inherit; font-size: 12.5px; outline: 0; }
.todo-add:focus { border-style: solid; border-color: var(--accent); }
.todo.flash { animation: wm-flash 1.6s var(--ease-out); }
.todo-n { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); flex: none; }
.tpg-side .todo-box.side { max-height: 46vh; overflow-y: auto; }
.todo-box.side .todo { flex-wrap: wrap; }
.todo-box.side .todo-acts { display: none; flex-basis: 100%; padding-left: 25px; opacity: 1; }
.todo-box.side .todo:hover .todo-acts, .todo-box.side .todo:focus-within .todo-acts { display: flex; }
/* karar sorulari: oneri + cevap */
.todo-q { flex-basis: 100%; display: grid; gap: 5px; margin: 2px 0 4px 25px; }
.todo { flex-wrap: wrap; }
.todo-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--muted); padding: 6px 8px; border-radius: 8px; background: var(--accent-soft); }
.todo-hint > i { color: var(--accent); margin-top: 2px; }
.todo-hint > span { flex: 1; min-width: 0; }
.todo-hint b { color: var(--text); font-weight: 500; }
.todo-hint .link-btn { margin: 0; flex: none; font-size: 11.5px; }
.todo-ans { width: 100%; min-height: 32px; max-height: 200px; resize: none; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); padding: 6px 9px; font: 12.5px/1.45 "Geist", sans-serif; outline: 0; }
.todo-ans:focus { border-color: var(--accent); }
.todo-ok { font-size: 11.5px; color: var(--ok); }
.todo-ok.ask { color: var(--warn); }
/* soruya soruyla cevap ve "Acikla" */
.todo-asked, .todo-exp { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.5; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); }
.todo-asked > i, .todo-exp > i { margin-top: 2px; color: var(--muted); }
.todo-asked > span, .todo-exp > span { flex: 1; min-width: 0; }
.todo-asked b { font-weight: 500; }
.todo-exp { background: var(--panel); color: var(--text); }
.todo-exp > span { white-space: pre-line; }
.todo-exp p { margin: 0 0 4px; }
.todo-exp p:last-child, .todo-exp ol:last-child, .todo-exp ul:last-child { margin-bottom: 0; }
.todo-exp ol, .todo-exp ul { margin: 0 0 4px; padding-left: 18px; }
.todo-expr { display: flex; }
.todo-expr .link-btn { margin: 0; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.todo-h .sp { flex: 1; }
.todo-h { align-items: center; }
/* ilerleme paneli */
.mx { display: flex; gap: 14px; align-items: center; margin: 0 12px 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.mx-ring { --p: 0; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--panel-2) 0); }
.mx-ring::before { content: ""; grid-area: 1 / 1; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); }
.mx-ring span { grid-area: 1 / 1; position: relative; font: 600 13px "Geist", sans-serif; font-variant-numeric: tabular-nums; }
.mx-ring.live { box-shadow: 0 0 0 3px var(--accent-soft); }
.mx-main { flex: 1; min-width: 0; display: grid; gap: 8px; }
.mx-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.mx-eta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--accent); }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.mx-c { display: grid; gap: 1px; min-width: 0; }
.mx-c span { font-size: 11px; color: var(--faint); }
.mx-c b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-c em { font-style: normal; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-tag { font-size: 11px; color: var(--muted); padding: 0 6px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }
.wk-pct { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; width: 34px; flex: none; }
.mm-row2 { display: flex; gap: 14px; flex-wrap: wrap; }
.mm-hint { font-size: 11.5px; margin-top: -6px; }

/* Otonom is: ekibe is verme kutusundaki secim ve is akisinin ustundeki onizleme karti */
.oto-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 6px 2px 0; }
.oto-in { flex: 1 1 220px; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; font-size: 12px; }
.oto-in.sm { flex: 0 1 170px; }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.oto-card { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; display: grid; gap: 8px; }
.oto-card.ok { border-left-color: var(--ok); }
.oto-card.bad { border-left-color: var(--bad); }
.oto-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.oto-br { margin-left: auto; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.oto-p { display: flex; gap: 12px; align-items: flex-start; }
.oto-shot { width: 96px; border-radius: 8px; border: 1px solid var(--line); display: block; }
.oto-pt { display: grid; gap: 4px; min-width: 0; font-size: 12.5px; }
.oto-pt a { word-break: break-all; }
.oto-ok { color: var(--ok); }
.oto-bad { color: var(--bad); }
.oto-iss { margin: 0; padding-left: 16px; font-size: 11px; color: var(--muted); }
.oto-iss li { word-break: break-all; }
.oto-hint { font-size: 11.5px; }

/* 16 Eki toparlama: tek sutunlu gridler icerikle sismesin (uzun is basligi ana sutunu Uyeler'in altina itiyordu) */
.q-wrap, .t-list, .t-item, .tpg-main, .tpg-side, .wk-list, .wk-thread, .msg-b, .cmp, .todo-box, .mx-main, .asg, .asg-main,
.oto-card, .tm-card, .mb-list, .mb-row, .ag-panel, .k-new { grid-template-columns: minmax(0, 1fr); }
.wk, .wk-top, .wk-zone { min-width: 0; }
.tm-desc { display: grid; gap: 2px; max-width: 72ch; }
.tm-desc .msg-text { font-size: 12.5px; color: var(--muted); }
/* ust cubuk dar pencerede: hesaplar sigsin, sigmazsa kenar yumusakca solsun */
.accounts { mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
@media (max-width: 1560px) {
  .acc .meter { display: none; }
  #btn-add-acc .lbl { display: none; }
  .bar-right .btn.ghost#btn-add-acc { padding: 0 9px; }
  .bar-right { gap: 8px; }
}

/* ---------------------------------------------------------------- 16 Eki: Takip yeni duzen */
.tk-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -10px; }
.tk-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s ease, transform .16s var(--ease-out); }
.tk-pill b { font: 600 15px "Geist", sans-serif; color: var(--text); font-variant-numeric: tabular-nums; }
.tk-pill.me { border-color: rgb(226 166 50 / .5); background: rgb(226 166 50 / .08); }
.tk-pill.me b { color: var(--warn); }
.tk-pill.run b { color: var(--accent); }
.tk-pill.ok b { color: var(--ok); }
.tk-pill:active:not(:disabled) { transform: scale(.97); }
.tk-pill:disabled { cursor: default; opacity: .6; }
@media (hover: hover) and (pointer: fine) { .tk-pill:not(:disabled):hover { border-color: var(--faint); } }
.rep-fold { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.rep-top { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.rep-top b { color: var(--text); font-weight: 500; flex: none; }
.rep-top .rep-line { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-top .when { flex: none; font-size: 12px; color: var(--faint); }
.rep-fold.open .wk-caret { transform: rotate(180deg); }
.rep-body { display: grid; gap: 10px; padding: 0 14px 12px 40px; }
.t-sec { scroll-margin-top: 16px; }
.tk-grp { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.tk-grp-h { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tk-grp-h .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); flex: none; }
.tk-grp-h b { color: var(--text); font-weight: 600; font-size: 13px; flex: none; }
.tk-grp-h > span:not(.sp):not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tk-grp-h .mono { font-size: 11.5px; color: var(--faint); }
.tk-grp-h .tk-n { flex: none; }
.tk-grp-h .sp { flex: 1; }
.tk-it { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 16px; }
.tk-it + .tk-it { border-top: 1px solid var(--line); }
.tk-it.acil { box-shadow: inset 3px 0 0 var(--bad); }
.tk-q { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.45; }
.tk-q .badge { margin-top: 2px; flex: none; }
.tk-meta { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: var(--faint); }
.tk-meta .badge { flex: none; }
.tk-ctx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-meta .when { flex: none; margin-left: auto; }
.tk-sum { -webkit-line-clamp: 2; font-size: 12.5px; cursor: pointer; }
.tk-ans { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.tk-ans > span { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-ans > span i { color: var(--accent); margin-right: 6px; }
.tk-ans > span b { font-weight: 500; }
.tk-ans .btn { height: 28px; font-size: 12.5px; padding: 0 10px; }
.tk-it .t-acts .icon-btn, .tk-ans .icon-btn { width: 28px; height: 28px; }
.tk-more { width: 100%; height: 38px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--accent); font: inherit; font-size: 12.5px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tk-more:hover { background: var(--panel-2); } }
@media (max-width: 1100px) { .tk-ans { flex-wrap: wrap; } .tk-ans > span { flex-basis: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* ---------------------------------------------------------------- 16 Eki: Ekipler satirlari */
.tm-rows { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.tm-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.tm-row + .tm-row { border-top: 1px solid var(--line); }
.tm-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc); opacity: .85; }
.tr-main { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 14px 12px 20px; }
.tr-n { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 6px; min-width: 0; }
.tr-n .tm-link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.tr-n .mono { grid-column: 1 / -1; font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-w { display: grid; gap: 3px; min-width: 0; padding: 4px 6px; margin: -4px -6px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tr-w:hover { background: var(--panel-2); } }
.tr-l1 { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.tr-l1 .badge { flex: none; }
.tr-l1 .tr-t, .tr-l1 .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tr-l2 { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-me { color: var(--warn); }
.tr-avs { display: inline-flex; padding-left: 6px; }
.tr-avs .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--panel); }
.tr-acts { display: flex; align-items: center; gap: 6px; }
.tr-acts .btn { height: 30px; font-size: 12.5px; padding: 0 10px; }
.btn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tr-cmp { padding: 0 14px 14px 20px; }
.tm-row > .tm-more, .tm-row > .t-item, .tm-row > .ag-panel { margin: 0 14px 14px 20px; }
@media (max-width: 1180px) { .tr-avs { display: none; } .tr-main { grid-template-columns: minmax(130px, 190px) minmax(0, 1fr) auto; } }

/* ---------------------------------------------------------------- 16 Eki: ekip sayfasi */
.q-wrap.wide { max-width: 1400px; }
.tpg-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
.tm-head.big > .btn { flex: none; }
/* senden bekleyen kararlar */
.dc-box { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid rgb(226 166 50 / .45); border-radius: 12px; background: var(--panel); overflow: hidden; }
.dc-h { display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-size: 13px; }
.dc-h i { color: var(--warn); font-size: 16px; }
.dc-h b { font-weight: 600; }
.dc-w { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: 12px; color: var(--muted); }
.dc-wt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-w .badge { flex: none; }
.dc-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.dc-list > .todo { padding: 12px 16px; border-top: 1px solid var(--line); border-radius: 0; }
.dc-list > .todo > .todo-text { font-size: 13.5px; font-weight: 500; }
.dc-list .todo-q { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .dc-list > .todo:not(.part):hover { background: transparent; } }
/* is kutusu: icteki kutular duz, bolumler cizgiyle ayrilir */
.wk.open > .mx-s, .wk.open > .todo-box, .wk.open > .wk-thread { border-top: 1px solid var(--line); }
.wk.open > .todo-box { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 10px 14px; }
.mx-s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 10px 14px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mx-s > span { white-space: nowrap; }
.mx-s b { color: var(--text); font-weight: 600; margin-right: 4px; }
.mx-pct { display: inline-flex; align-items: center; gap: 8px; }
.mx-pct i { --p: 0; width: 16px; height: 16px; border-radius: 50%; flex: none; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--panel-2) 0); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.mx-pct b { margin-right: 0; }
.wk-steps { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.wk-step { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 26px; padding: 0 10px 0 6px; border-radius: 99px; background: var(--bg); font-size: 12px; color: var(--text); min-width: 0; }
.wk-step > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.wk-step > i { font-size: 14px; color: var(--faint); flex: none; }
.wk-step.done { color: var(--muted); }
.wk-step.done > i { color: var(--ok); }
.wk-step .live-dot { margin: 0 2px; }
/* uyeler: kutusuz liste */
.tpg-side .mb-list { gap: 0; }
.tpg-side .mb-row { padding: 9px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.tpg-side .mb-row:last-child { border-bottom: 0; }
.tpg-side .mb-row.on { background: var(--accent-soft); border-radius: 8px; }
.tpg-side .mb-row.need { background: rgb(226 166 50 / .07); border-radius: 8px; border-bottom-color: transparent; }
.tpg-side > .btn { justify-self: start; }
.tm-desc .more { justify-self: start; margin-left: 0; }
.dc-list .todo-own.me { display: none; }

/* ---------------------------------------------------------------- 16 Eki: duraklat / devam / otonoma devret */
.jobs-btn .n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--panel-2); color: var(--muted); font: 600 11px "Geist Mono", ui-monospace, monospace; display: grid; place-items: center; }
.jobs-btn .n:empty { display: none; }
.jobs-btn.resume { border-color: rgb(226 166 50 / .55); background: rgb(226 166 50 / .1); color: var(--warn); }
.jobs-btn.resume .n { background: rgb(226 166 50 / .2); color: var(--warn); }
.wk-ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.wk-ctl .sp { flex: 1; }
.wk-ctl.paused { padding: 8px 10px; border-radius: 10px; background: rgb(226 166 50 / .09); border: 1px solid rgb(226 166 50 / .35); color: var(--text); }
.wk-ctl.paused > i { color: var(--warn); font-size: 16px; }
.hand-p { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 10px; background: var(--accent-soft); font-size: 12.5px; }
.hand-p > b { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.hand-p ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--muted); }
.hand-files { max-height: 120px; overflow: auto; padding: 6px 8px; border-radius: 6px; background: var(--panel); font-size: 11.5px; color: var(--muted); }
.hand-p .k-row { gap: 6px; }
.hand-p .oto-in { flex: 1 1 260px; }
.badge > i.ph { margin-right: 4px; vertical-align: -1px; }

/* ---------------------------------------------------------------- 16 Eki: devam kutusu her zaman, madde durumu */
.wk-busy { display: flex; align-items: center; gap: 4px; padding: 2px 2px 2px; font-size: 11.5px; color: var(--muted); }
.todo-own.team.ok { color: var(--ok); background: rgb(31 157 85 / .12); }
.todo-own.team.q { color: var(--muted); background: var(--panel-2); }
.todo-own.team .live-dot { width: 6px; height: 6px; margin-right: 4px; vertical-align: 1px; }
@media (max-width: 1560px) { .jobs-btn .lbl { display: none; } .jobs-btn { padding: 0 9px; } }

/* Hizli is: Ekipler sekmesinin en ustundeki tek kutu */
.qk { margin: 0 0 18px; }
.qk-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.qk-head h1 { margin: 0; font-size: 22px; }
.qk-head .muted { font-size: 13px; max-width: 720px; }
.qk-box { margin-bottom: 12px; }
.qk-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 2px 0; }
.qk-accs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 8px 2px 0; font-size: 12px; }
.qk-accs .chip { border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.qk-accs .chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.qk-hint { font-size: 11.5px; }
.adv-fold { margin: 8px 0 12px; }

/* Takip: Senin adimlarin (public/adimlar.js). Plan dosyalarindan okunur, isaretleme dugmesi yok. */
.ys-card { position: relative; border: 1px solid rgb(201 138 18 / .32); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgb(226 166 50 / .085), rgb(226 166 50 / 0) 120px), var(--panel);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 1px 2px rgb(30 30 25 / .04), 0 8px 24px -12px rgb(150 100 10 / .18); }
.ys-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 12px; }
.ys-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--warn);
  background: linear-gradient(160deg, rgb(226 166 50 / .22), rgb(226 166 50 / .08)); box-shadow: 0 0 0 1px rgb(201 138 18 / .2) inset; }
.ys-ttl { min-width: 0; flex: 1; }
.ys-ttl h2 { margin: 0; font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; letter-spacing: -.005em; }
.ys-ttl p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); text-wrap: pretty; }
.ys-count { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding-left: 12px; margin-top: -2px; }
.ys-count b { font: 600 24px/1 "Geist", sans-serif; color: var(--warn); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ys-count span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ys-list { list-style: none; margin: 0; padding: 0 8px 8px; display: grid; }
.ys-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 10px; border-top: 1px solid var(--line); min-width: 0; }
.ys-item:first-child { border-top-color: rgb(201 138 18 / .18); }
.ys-key { flex: none; min-width: 30px; height: 22px; padding: 0 7px; margin-top: -1px; border-radius: 6px; display: inline-grid; place-items: center;
  font: 500 11.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--text); background: rgb(226 166 50 / .16); box-shadow: 0 0 0 1px rgb(201 138 18 / .22) inset; }
.ys-key.dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.ys-body { flex: 1; min-width: 0; display: flex; gap: 6px 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.ys-text { flex: 1 1 320px; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; text-wrap: pretty; }
.ys-file { flex: none; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 22px; padding: 0 8px; border-radius: 99px;
  font: 11.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--muted); background: var(--panel-2); white-space: nowrap; }
.ys-file .ph { font-size: 13px; color: var(--faint); }
.ys-fn { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ys-ln { color: var(--faint); }
@media (prefers-color-scheme: dark) {
  .ys-card { border-color: rgb(226 166 50 / .26); background: linear-gradient(180deg, rgb(226 166 50 / .07), rgb(226 166 50 / 0) 120px), var(--panel);
    box-shadow: 0 1px 0 rgb(255 255 255 / .03) inset, 0 10px 30px -14px rgb(0 0 0 / .6); }
}
@media (max-width: 560px) {
  .ys-head { padding: 14px 14px 10px; gap: 10px; }
  .ys-ic { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .ys-list { padding: 0 4px 6px; }
  .ys-item { gap: 10px; padding: 10px; }
  .ys-key { min-width: 30px; padding: 0 5px; }
  .ys-text { flex-basis: 100%; }
  .ys-count b { font-size: 20px; }
}
