/* DITIB France · Tasarım & Sosyal Medya — arayüz */
:root {
  --navy: #16182E; --navy-2: #24274A; --red: #E42317; --green: #0C724D; --green-soft: #E3F1EB;
  --bg: #F5F5F2; --card: #FFFFFF; --line: #E6E5E0; --line-2: #D9D8D2;
  --ink: #16182E; --ink-2: #4A4C5E; --ink-3: #8A8C99;
  --pri: #16182E; --pri-ink: #fff; --acc: #0C724D;
  --r: 14px; --r-s: 10px; --sh: 0 1px 2px rgba(22,24,46,.05), 0 4px 16px rgba(22,24,46,.05);
  --st-yeni: #6B7280; --st-sirada: #7C6FD8; --st-tasarimda: #2F6FDB; --st-onayda: #D98B06; --st-revize: #E42317; --st-onaylandi: #0C724D; --st-tamam: #3F8F6E; --st-beklemede: #9A8F7A; --st-iptal: #A3A3A3;
  --side: 248px; --tab-h: 64px;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) { --bg: #0F1020; --card: #181A30; --line: #2A2C46; --line-2: #34375A; --ink: #ECECF3; --ink-2: #B6B7C8; --ink-3: #7E8098; --pri: #ECECF3; --pri-ink: #16182E; --green-soft: #12352A; --sh: none; }
}
:root[data-theme=dark] { --bg: #0F1020; --card: #181A30; --line: #2A2C46; --line-2: #34375A; --ink: #ECECF3; --ink-2: #B6B7C8; --ink-3: #7E8098; --pri: #ECECF3; --pri-ink: #16182E; --green-soft: #12352A; --sh: none; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; }
body { min-height: 100dvh; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.boot { min-height: 100dvh; display: grid; place-items: center; }
.boot img { animation: pulse 1.4s ease-in-out infinite; border-radius: 14px; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.96); } }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.s { width: 16px; height: 16px; }

/* ---------- kabuk ---------- */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100dvh; background: var(--navy); color: #E9E9F2; display: flex; flex-direction: column; padding: 18px 14px; gap: 4px; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; text-decoration: none; }
.side .brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.side .brand b { display: block; font-size: 14.5px; letter-spacing: .01em; }
.side .brand span { display: block; font-size: 11.5px; color: #A7A9C4; letter-spacing: .04em; text-transform: uppercase; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: #C9CADB; font-weight: 500; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.on { background: rgba(255,255,255,.1); color: #fff; }
.side nav a .n { margin-left: auto; font-size: 12px; background: var(--red); color: #fff; border-radius: 99px; padding: 0 7px; line-height: 19px; }
.side .sep { height: 1px; background: rgba(255,255,255,.08); margin: 10px 6px; }
.side .new { margin: 4px 0 14px; background: var(--red); color: #fff; border: 0; border-radius: 11px; padding: 11px 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; justify-content: center; cursor: pointer; text-decoration: none; }
.side .new:hover { filter: brightness(1.06); }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; text-decoration: none; color: #E9E9F2; }
.side .me:hover { background: rgba(255,255,255,.06); }
.side .me small { display: block; color: #A7A9C4; font-size: 12px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 14px 28px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top h1 { font-size: 21px; margin: 0; letter-spacing: -.01em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .back { display: none; }
.page { padding: 6px 28px 40px; max-width: 1280px; width: 100%; }
.tabbar { display: none; }
.mlogo { display: none; }

/* ---------- ögeler ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); border-radius: var(--r-s); padding: 8px 13px; font-weight: 550; cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.3; }
.btn:hover { border-color: var(--ink-3); }
.btn.pri { background: var(--pri); color: var(--pri-ink); border-color: var(--pri); }
.btn.pri:hover { filter: brightness(1.15); }
.btn.ok { background: var(--green); border-color: var(--green); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn.sm { padding: 5px 10px; font-size: 13.5px; border-radius: 8px; }
.btn.ico-only { padding: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.iconbtn { position: relative; border: 0; background: transparent; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.iconbtn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.iconbtn .dot { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--bg); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.card.pad { padding: 18px; }
.card h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card h3 .more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--ink-3); text-decoration: none; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--ink-3)) 13%, transparent); color: var(--c, var(--ink-2)); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.pill.plain::before { display: none; }
.tag { font-size: 12px; padding: 1px 8px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink-2); white-space: nowrap; }
.tag.red { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); font-weight: 600; }
.tag.amber { background: color-mix(in srgb, #D98B06 14%, transparent); color: #A86A00; font-weight: 600; }
.av { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; letter-spacing: .02em; }
.av.s { width: 24px; height: 24px; font-size: 10.5px; }
.av.l { width: 44px; height: 44px; font-size: 16px; }
.avs { display: inline-flex; } .avs .av { border: 2px solid var(--card); margin-left: -7px; } .avs .av:first-child { margin-left: 0; }
.empty { text-align: center; padding: 26px 12px; color: var(--ink-3); font-size: 14px; }
.empty b { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 4px; }
hr.d { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* form */
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label.f .h { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.in, select.in, textarea.in { width: 100%; border: 1px solid var(--line-2); background: var(--card); border-radius: var(--r-s); padding: 10px 12px; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.in:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 14%, transparent); }
textarea.in { min-height: 110px; resize: vertical; line-height: 1.5; }
.seg { display: inline-flex; background: color-mix(in srgb, var(--ink) 6%, transparent); border-radius: 11px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font-weight: 550; font-size: 14px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line-2); background: var(--card); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
:root[data-theme=dark] .chip.on { background: #ECECF3; color: #16182E; }
.chip small { opacity: .7; }
details.more { border-top: 1px solid var(--line); padding-top: 12px; }
details.more > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); list-style: none; display: flex; align-items: center; gap: 6px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "＋"; font-weight: 400; }
details.more[open] > summary::before { content: "－"; }
details.more[open] > summary { margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; }
.check input { width: 19px; height: 19px; accent-color: var(--green); }

/* ---------- Bugün ---------- */
.hello { margin: 4px 0 18px; }
.hello h2 { margin: 0; font-size: 25px; letter-spacing: -.015em; }
.hello p { margin: 3px 0 0; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 14px 16px; text-decoration: none; display: block; }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--ink-3); }
.stat.warn b { color: var(--red); }
.jl { display: flex; flex-direction: column; }
.ji { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); text-decoration: none; }
.ji:first-child { border-top: 0; }
.ji:hover .t { text-decoration: underline; text-underline-offset: 2px; }
.ji .th { width: 44px; height: 44px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 6%, transparent) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--ink-3); }
.ji .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ji .m { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.ji .r { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.days .d { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-top: 1px solid var(--line); }
.days .d:first-child { border-top: 0; }
.days .cal { width: 46px; flex: none; text-align: center; border-radius: 9px; background: var(--green-soft); color: var(--green); padding: 4px 0; line-height: 1.15; }
.days .cal b { display: block; font-size: 18px; } .days .cal small { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.days .d .grow small { color: var(--ink-3); }

/* ---------- pano ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .search { position: relative; flex: 1; min-width: 180px; max-width: 360px; }
.toolbar .search .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.toolbar .search input { padding-left: 36px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(228px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.col { background: color-mix(in srgb, var(--ink) 3.5%, transparent); border-radius: var(--r); padding: 10px; min-height: 240px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.col.over { outline: 2px dashed var(--ink-3); outline-offset: -2px; }
.col .ch { display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; font-weight: 650; font-size: 13.5px; }
.col .ch .c { color: var(--ink-3); font-weight: 500; }
.kc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; text-decoration: none; display: block; cursor: pointer; box-shadow: var(--sh); }
.kc:hover { border-color: var(--line-2); }
.kc.drag { opacity: .4; }
.kc .cv { height: 104px; margin: -11px -12px 10px; border-radius: 12px 12px 0 0; background: color-mix(in srgb, var(--ink) 5%, transparent) center/cover no-repeat; }
.kc .code { font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); letter-spacing: .03em; }
.kc .t { font-weight: 650; margin: 5px 0 8px; line-height: 1.35; }
.kc .f { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.kc .f .avs { margin-left: auto; }
.typeic { display: inline-flex; gap: 3px; }
.typeic i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; }
.typeic .td { background: color-mix(in srgb, #2F6FDB 13%, transparent); color: #2F6FDB; }
.typeic .ts { background: color-mix(in srgb, #C0368C 13%, transparent); color: #C0368C; }

/* ---------- iş detayı ---------- */
.jd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.jd-h { margin-bottom: 16px; }
.jd-h .code { font: 600 12px ui-monospace, Menlo, monospace; color: var(--ink-3); }
.jd-h h2 { margin: 4px 0 10px; font-size: 24px; letter-spacing: -.015em; line-height: 1.25; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.brief { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.brief p { margin: 0 0 8px; }
.texts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.texts .tx { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; position: relative; white-space: pre-wrap; font-size: 14.5px; }
.texts .tx .lg { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.kvs { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; font-size: 14px; align-items: center; }
.kvs dt { color: var(--ink-3); } .kvs dd { margin: 0; min-width: 0; }
.fmts .fm { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fmts .fm:first-child { border-top: 0; }
.fmts .fm small { color: var(--ink-3); }
.ver { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.ver + .ver { margin-top: 12px; }
.ver.cur { border-color: color-mix(in srgb, var(--st-onayda) 55%, var(--line)); background: color-mix(in srgb, var(--st-onayda) 4%, var(--card)); }
.ver .vh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ver .vh b { font-size: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.thumb { position: relative; border-radius: 9px; overflow: hidden; background: color-mix(in srgb, var(--ink) 6%, transparent); aspect-ratio: 4/5; cursor: zoom-in; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.file { cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; text-align: center; font-size: 12px; color: var(--ink-2); text-decoration: none; aspect-ratio: auto; min-height: 110px; }
.thumb.file b { font: 700 11px ui-monospace, Menlo, monospace; padding: 3px 7px; border-radius: 5px; background: var(--navy); color: #fff; }
.thumb .nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 5px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.decide { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dnote { margin-top: 10px; font-size: 14px; padding: 9px 11px; border-radius: 9px; white-space: pre-wrap; }
.dnote.onay { background: var(--green-soft); color: var(--green); }
.dnote.revize { background: color-mix(in srgb, var(--red) 9%, transparent); color: var(--red); }
.drop { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 18px; text-align: center; color: var(--ink-3); cursor: pointer; transition: border-color .15s, background .15s; }
.drop.over, .drop:hover { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.upl { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.upl .u { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.upl .bar { flex: 1; height: 5px; border-radius: 9px; background: var(--line); overflow: hidden; }
.upl .bar i { display: block; height: 100%; background: var(--green); width: 0; transition: width .2s; }
.cm { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.cm:first-child { border-top: 0; }
.cm .b { white-space: pre-wrap; font-size: 14.5px; overflow-wrap: anywhere; }
.cm .h { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.cm .h b { color: var(--ink); font-size: 13.5px; }
.timeline { font-size: 13px; color: var(--ink-3); }
.timeline div { padding: 5px 0; display: flex; gap: 8px; }
.timeline b { color: var(--ink-2); font-weight: 600; }

/* ---------- takvim ---------- */
.calh { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.calh h3 { margin: 0 8px 0 0; font-size: 18px; text-transform: capitalize; min-width: 150px; }
.cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cgrid .wd { background: var(--card); padding: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.cgrid .cd { background: var(--card); min-height: 112px; padding: 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.cgrid .cd.out { background: color-mix(in srgb, var(--card) 70%, var(--bg)); }
.cgrid .cd.out .dn { opacity: .4; }
.cgrid .cd.today .dn { background: var(--red); color: #fff; }
.cgrid .cd:hover { background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
.cgrid .dn { font-size: 12.5px; font-weight: 600; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.ev { font-size: 11.5px; line-height: 1.3; padding: 2px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c, var(--ink-3)) 13%, transparent); color: color-mix(in srgb, var(--c, var(--ink-2)) 85%, var(--ink)); text-decoration: none; display: block; }
.ev.day { background: var(--green-soft); color: var(--green); font-weight: 600; }
.ev.post { --c: #C0368C; }
.ev.done { opacity: .55; text-decoration: line-through; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

/* ---------- paylaşım planı ---------- */
.wk { margin-bottom: 20px; }
.wk > h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.plats { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.plat { font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 6px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); }
.plat.instagram { background: #FCE7F3; color: #B4246D; } .plat.facebook { background: #E0EAFF; color: #1F4FC9; } .plat.x { background: #E9E9EC; color: #111; } .plat.youtube { background: #FFE4E1; color: #C4161C; } .plat.whatsapp { background: #DFF7E7; color: #128C3E; } .plat.web { background: #E6F3EE; color: var(--green); }

/* ---------- arşiv ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gi { text-decoration: none; display: block; }
.gi .im { aspect-ratio: 4/5; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent) center/cover no-repeat; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); }
.gi b { display: block; margin-top: 7px; font-size: 14px; line-height: 1.3; }
.gi small { color: var(--ink-3); }

/* ---------- tablo (yönetim) ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.off td { opacity: .5; }

/* ---------- katmanlar ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(15,16,32,.45); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
.sheet { background: var(--card); border-radius: 18px; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: rise .2s cubic-bezier(.2,.8,.2,1); }
.sheet.wide { width: min(760px, 100%); }
.sheet .sh { display: flex; align-items: center; gap: 10px; padding: 16px 18px 6px; position: sticky; top: 0; background: var(--card); z-index: 2; }
.sheet .sh h3 { margin: 0; font-size: 17px; flex: 1; }
.sheet .sb { padding: 8px 18px 18px; }
.sheet .sf { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 18px 16px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--card); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.pop { position: fixed; z-index: 70; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.18); width: min(380px, calc(100vw - 24px)); max-height: 70dvh; overflow: auto; animation: rise .15s; }
.pop .ph { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 650; position: sticky; top: 0; background: var(--card); }
.pop .ph button { margin-left: auto; }
.nt { display: flex; gap: 10px; padding: 11px 14px; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.nt.new { background: color-mix(in srgb, var(--green) 6%, transparent); }
.nt small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; background: transparent; text-decoration: none; font-size: 14.5px; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8,9,18,.92); display: flex; flex-direction: column; animation: fade .15s; }
.lb .lt { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #fff; }
.lb .lt span { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .lt .btn { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.lb .li { flex: 1; display: grid; place-items: center; padding: 8px 16px 24px; min-height: 0; }
.lb .li img { max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; border-radius: 4px; }
.lb .nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb .nav.p { left: 14px; } .lb .nav.n { right: 14px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14.5px; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: rise .2s; max-width: calc(100vw - 32px); }
.toast.err { background: var(--red); }

/* ---------- giriş ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth .art { background: var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth .art::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; background: url(img/icon-512.png) center/contain no-repeat; opacity: .07; filter: grayscale(1) brightness(3); }
.auth .art .lg { height: 46px; width: auto; filter: brightness(0) invert(1); }
.auth .art h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; max-width: 460px; }
.auth .art p { color: #B9BBD3; max-width: 420px; margin: 0; }
.auth .art ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: #D9DAE8; font-size: 14.5px; }
.auth .art li { display: flex; gap: 10px; align-items: center; }
.auth .art li i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.auth .frm { display: grid; place-items: center; padding: 32px 22px; }
.auth .box { width: min(380px, 100%); }
.auth .box h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.015em; }
.auth .box p.sub { color: var(--ink-3); margin: 0 0 22px; }
.auth .box .mlg { display: none; }
.auth .err { background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }
.auth .okm { background: var(--green-soft); color: var(--green); padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }

/* ---------- duyarlı ---------- */
@media (max-width: 1100px) { .jd { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .shell { display: block; }
  .side { display: none; }
  .top { padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
  .top h1 { font-size: 18px; }
  .top .back { display: grid; }
  .mlogo { display: block; width: 30px; height: 30px; border-radius: 8px; }
  .page { padding: 4px 14px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
  .g2, .g3 { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-decoration: none; padding: 4px 0; position: relative; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a .n { position: absolute; top: 0; left: calc(50% + 6px); background: var(--red); color: #fff; font-size: 10px; border-radius: 99px; padding: 0 5px; line-height: 16px; }
  .tabbar a.plus span.pb { width: 48px; height: 48px; margin-top: -18px; border-radius: 16px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px color-mix(in srgb, var(--red) 40%, transparent); }
  .tabbar a.plus .ico { width: 24px; height: 24px; }
  .hello h2 { font-size: 22px; }
  .stats { gap: 8px; } .stat { padding: 11px 12px; } .stat b { font-size: 22px; }
  .board { grid-auto-columns: 84%; margin: 0 -14px; padding: 0 14px 12px; }
  .cgrid .cd { min-height: 64px; padding: 3px; }
  .cgrid .ev { font-size: 0; height: 6px; padding: 0; border-radius: 3px; }
  .cgrid .wd { padding: 6px 2px; text-align: center; font-size: 11px; }
  .pc { grid-template-columns: 48px 70px minmax(0, 1fr); }
  .pc .im { width: 70px; height: 88px; }
  .pc .act { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
  .sheet-bg { align-items: flex-end; padding: 0; }
  .sheet, .sheet.wide { width: 100%; border-radius: 20px 20px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .auth { grid-template-columns: 1fr; }
  .auth .art { display: none; }
  .auth .box .mlg { display: block; height: 34px; margin-bottom: 26px; }
  :root[data-theme=dark] .auth .box .mlg { filter: brightness(0) invert(1); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tbl.resp thead { display: none; }
  .tbl.resp tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl.resp td { display: flex; border: 0; padding: 4px 6px; gap: 8px; }
  .jd-h h2 { font-size: 21px; }
  .hide-m { display: none !important; }
}
@media (min-width: 861px) { .only-m { display: none !important; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .auth .box .mlg { filter: brightness(0) invert(1); } }
.grid > *, .stack > * { min-width: 0; }
.calh { flex-wrap: wrap; }
@media (max-width: 860px) {
  .ji .r { gap: 3px; }
  .ji .r .tag { font-size: 11px; padding: 0 6px; }
  .ji .r .pill { font-size: 11px; padding: 1px 7px; }
  .ji .m span:nth-child(n+3) { display: none; }
  .calh h3 { min-width: 0; flex: 1 1 100%; margin-bottom: 4px; }
  .calh .grow { display: none; }
  .calh #ics { margin-left: auto; }
}

.mlogo { border-radius: 8px; }

/* ---- v3: fotoğraflı avatar, ekip, kaynaklar, bildirimler ---- */
img.av { object-fit: cover; background: var(--line); display: inline-block; }
.av.xs { width: 20px; height: 20px; font-size: 9px; }
.av.xl { width: 68px; height: 68px; font-size: 22px; }
.avpick { position: relative; border: 0; background: none; padding: 0; cursor: pointer; flex: none; }
.avpick span { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: 2px solid var(--card); }
.avpick span .ico { width: 13px; height: 13px; }
.chip.pc { padding-left: 5px; }
.menu button.on { font-weight: 650; background: color-mix(in srgb, var(--green) 10%, transparent); }
.asgb { padding: 4px 8px 4px 4px; gap: 7px; }
.teamg { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.tc { padding: 16px; min-width: 0; }
.tc.none { border-style: dashed; background: transparent; }
.th2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.th2 b { display: block; font-size: 15.5px; } .th2 small { color: var(--ink-3, #8A8D9F); font-size: 12.5px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.nums span { background: color-mix(in srgb, var(--ink) 4%, transparent); border-radius: 9px; padding: 7px 4px; text-align: center; font-size: 11.5px; color: var(--ink-2); }
.nums b { display: block; font-size: 18px; color: var(--ink); line-height: 1.2; }
.nums .r b { color: var(--red); }
.tjl { display: flex; flex-direction: column; gap: 6px; }
.tj { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px 8px 10px; min-width: 0; }
.tj a { text-decoration: none; color: inherit; min-width: 0; }
.tj .t { font-weight: 560; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tj .m { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.swc { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--line); border-radius: 11px; padding: 8px; background: var(--card); cursor: pointer; text-align: left; color: var(--ink); }
.swc i { width: 100%; height: 44px; border-radius: 7px; margin-bottom: 5px; border: 1px solid var(--line); }
.swc b { font-size: 13px; } .swc small { font: 11.5px ui-monospace, Menlo, monospace; color: var(--ink-2); }
.rf { position: relative; }
.rf .thumb { display: block; cursor: pointer; }
.rf .x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.snips { display: flex; flex-direction: column; gap: 10px; }
.snip { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
.snip .muted { white-space: pre-wrap; margin-top: 6px; }

/* ---------- içerik (sosyal medya takibi) ---------- */
.pl { display: flex; flex-direction: column; }
.pcard { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 46px 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); cursor: pointer; width: 100%; }
.pl .pcard:first-child { border-top: 0; }
.pcard:hover .t { text-decoration: underline; text-underline-offset: 2px; }
.pcard:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 8px; }
.pcard .dt { text-align: center; line-height: 1.15; border-radius: 9px; background: color-mix(in srgb, var(--ink) 5%, transparent); padding: 4px 0; }
.pcard .dt b { display: block; font-size: 17px; } .pcard .dt small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; }
.pcard .im { width: 52px; height: 65px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 6%, transparent) center/cover no-repeat; display: grid; place-items: center; color: var(--ink-3); }
.pcard .grow { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pcard .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .m { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pcard .cap { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard.ok { opacity: .78; }
.grid.g2c { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cbox { border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px; }
.plat.tiktok { background: #E9E9EC; color: #111; } .plat.linkedin { background: #E0EEFA; color: #0A66C2; }
:root[data-theme=dark] .plat { filter: saturate(.8) brightness(.92); }
@media (max-width: 860px) { .grid.g2c { grid-template-columns: minmax(0, 1fr); } .grid.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pcard { grid-template-columns: 42px 44px minmax(0, 1fr) auto; gap: 10px; } .pcard .im { width: 44px; height: 55px; } }
