:root {
  --bg: #f5f6f8; --surface: #fff; --surface-2: #f9fafb; --ink: #111827; --ink-2: #374151; --mute: #6b7280; --line: #e5e7eb; --line-2: #eef0f3;
  --brand: #4f46e5; --brand-ink: #fff; --brand-soft: #eef2ff;
  --ok: #059669; --ok-soft: #ecfdf5; --warn: #b45309; --warn-soft: #fffbeb; --bad: #dc2626; --bad-soft: #fef2f2; --info: #0369a1; --info-soft: #f0f9ff;
  --side: #0f172a; --side-ink: #cbd5e1; --side-active: #1e293b;
  --r: 10px; --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 1px 3px rgb(0 0 0 / .06); --shadow-lg: 0 20px 40px -12px rgb(0 0 0 / .25);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
h1 { font-size: 20px; margin: 0; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 15px; margin: 0; font-weight: 600; }
.muted { color: var(--mute); }
.small { font-size: 12px; }
.hidden { display: none !important; }

/* Shell */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; padding: 4px 10px 18px; }
.logo i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #6366f1, #06b6d4); display: grid; place-items: center; font-style: normal; font-size: 14px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--side-ink); font-weight: 500; }
.side a:hover { background: var(--side-active); color: #fff; }
.side a.on { background: var(--side-active); color: #fff; }
.side a .ct { margin-left: auto; background: #6366f1; color: #fff; border-radius: 99px; font-size: 11px; padding: 0 7px; }
.side svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side .foot { margin-top: auto; padding: 10px; border-top: 1px solid #1e293b; font-size: 12px; }
.side .foot b { color: #fff; display: block; font-weight: 600; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { height: 60px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 24px; position: sticky; top: 0; z-index: 5; }
.top .sp { flex: 1; }
.content { padding: 24px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head .sp { flex: 1; }

/* Controls */
.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 500; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); border-color: #d1d5db; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: #4338ca; }
.btn.success { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.danger { background: var(--surface); border-color: #fecaca; color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { padding: 4px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn { position: relative; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.icon-btn .dot { position: absolute; top: -4px; right: -4px; background: var(--bad); color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; }
input, select, textarea { font: inherit; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); width: 100%; outline: none; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); padding: 0; }
select.inline { width: auto; padding: 6px 30px 6px 10px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 13px; user-select: none; }
.chip-check:has(input:checked) { background: var(--brand-soft); border-color: #c7d2fe; color: #3730a3; }
.chip-check input { display: none; }

/* Cards & tables */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.card-h .sp { flex: 1; }
.card-b { padding: 16px; }
.card-empty { padding: 22px 16px; color: var(--mute); text-align: center; font-size: 13px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { padding: 16px; }
.kpi .v { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.kpi .l { color: var(--mute); font-size: 12px; font-weight: 500; }
.kpi.alert .v { color: var(--bad); }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--mute); padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 11px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr.link { cursor: pointer; }
.t tr.link:hover td { background: var(--surface-2); }
.list-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--surface-2); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatch { width: 8px; height: 8px; border-radius: 3px; display: inline-block; flex: none; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 99px; white-space: nowrap; background: #f3f4f6; color: #374151; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.st-draft { background: #f3f4f6; color: #4b5563; }
.st-content_review { background: #eef2ff; color: #4338ca; }
.st-compliance_review { background: var(--warn-soft); color: var(--warn); }
.st-final_approval { background: #fdf4ff; color: #a21caf; }
.st-approved { background: var(--info-soft); color: var(--info); }
.st-live { background: var(--ok-soft); color: var(--ok); }
.st-completed { background: #f3f4f6; color: #6b7280; }
.st-cancelled { background: var(--bad-soft); color: var(--bad); }
.pr-high { color: var(--bad); font-weight: 600; } .pr-low { color: var(--mute); }
.late { color: var(--bad); font-weight: 600; }
.progress { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; width: 80px; }
.progress > i { display: block; height: 100%; background: var(--ok); }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.step { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: var(--mute); }
.step .n { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--surface); }
.step.done { color: var(--ink-2); } .step.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.cur { color: var(--ink); font-weight: 600; } .step.cur .n { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.step-line { flex: 1; min-width: 24px; height: 2px; background: var(--line); margin: 0 10px; }
.step-line.done { background: var(--ok); }

/* Detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); padding: 0 8px; }
.tabs button { font: inherit; font-weight: 500; color: var(--mute); background: none; border: 0; padding: 12px 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--brand); }
.tabs .ct { font-size: 11px; background: var(--line-2); border-radius: 99px; padding: 1px 7px; margin-left: 4px; }
.alert-box { display: flex; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.alert-box.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #fde68a; }
.alert-box.info { background: var(--info-soft); color: var(--info); border: 1px solid #bae6fd; }
.alert-box.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #a7f3d0; }
.check-row { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.check-row:last-child { border-bottom: 0; }
.check-row .grow { flex: 1; }
.check-row.on .lbl { color: var(--mute); }
.meta-list { display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; font-size: 13px; }
.meta-list dt { color: var(--mute); } .meta-list dd { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px var(--surface); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.rejected::before, .timeline li.cancelled::before { background: var(--bad); }
.timeline li.status_changed::before { background: var(--ok); }
.timeline .who { font-weight: 600; }
.progress-ring { font-size: 13px; font-weight: 600; }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal .dow { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cal .day { min-height: 116px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.out { background: var(--surface-2); } .cal .day.out .num { color: #c0c4cc; }
.cal .num { font-size: 12px; font-weight: 600; color: var(--ink-2); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.cal .day.today .num { background: var(--brand); color: #fff; }
.cal .day.drop { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); }
.ev { font-size: 12px; padding: 2px 7px; border-radius: 5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; font-weight: 500; }
.ev[draggable=true] { cursor: grab; }
.ev.dim { opacity: .55; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Modal, toast, popover */
.overlay { position: fixed; inset: 0; background: rgb(15 23 42 / .45); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .12s; }
.modal { background: var(--surface); border-radius: 14px; width: min(560px, 100%); box-shadow: var(--shadow-lg); max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.modal.wide { width: min(760px, 100%); }
.modal-h { padding: 18px 20px 6px; } .modal-h p { margin: 4px 0 0; color: var(--mute); font-size: 13px; }
.modal-b { padding: 14px 20px; overflow: auto; }
.modal-f { padding: 14px 20px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line-2); }
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: #111827; color: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-lg); font-size: 13px; max-width: 360px; animation: fade .15s; }
.toast.err { background: var(--bad); }
.pop { position: absolute; right: 24px; top: 56px; width: 360px; max-height: 440px; overflow: auto; z-index: 40; }
.notif { padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; cursor: pointer; }
.notif.unread { background: var(--brand-soft); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login .art { background: radial-gradient(circle at 30% 20%, #312e81, #0f172a 70%); color: #e0e7ff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login .art h2 { font-size: 30px; line-height: 1.2; color: #fff; max-width: 420px; font-weight: 650; letter-spacing: -.02em; }
.login .art ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.login .art li::before { content: "✓"; color: #34d399; margin-right: 10px; font-weight: 700; }
.login form { align-self: center; justify-self: center; width: min(380px, 90%); display: grid; gap: 14px; }
.demo { font-size: 12px; color: var(--mute); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; }
.demo button { font: inherit; border: 0; background: none; color: var(--brand); cursor: pointer; padding: 1px 0; display: block; }

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } .detail { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 8px; }
  .side .logo, .side .foot, .side a span.lbl { display: none; }
  .content { padding: 16px; } .top { padding: 0 16px; }
  .g2, .g3, .kpis, .form-grid { grid-template-columns: 1fr; }
  .cal .day { min-height: 70px; } .ev { font-size: 10px; padding: 1px 4px; }
  .login { grid-template-columns: 1fr; } .login .art { display: none; }
  .hide-sm { display: none; }
}

/* ---- Ek bileşenler ---- */
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side .foot span { display: block; color: var(--side-ink); }
button.link { display: block; background: none; border: 0; padding: 6px 0 0; color: #a5b4fc; font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
button.link:hover { color: #fff; }
a.list-row { color: inherit; }
.task-row { cursor: pointer; } .task-row input { flex: none; }
.mb { margin-bottom: 16px; }
.row-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-wrap .sp { flex: 1; }
.right { text-align: right; justify-content: flex-end; }
.center { text-align: center !important; }
.nowrap { white-space: nowrap; }
.strong { font-weight: 550; color: var(--ink); }
.scroll-x { overflow-x: auto; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input:not([type=date]) { flex: 1; min-width: 160px; }
.inline-form input[type=date] { width: 150px; }
.inline-form select { width: auto; }
.card-b.inline-form { border-top: 1px solid var(--line-2); }
.row-sep { border-bottom: 1px solid var(--line-2); }
.pre { white-space: pre-wrap; margin-top: 4px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 520px; }
.bad { color: var(--bad); }
.yes { color: var(--ok); font-weight: 700; }
.ok-dot { color: var(--ok); }
.alert-box.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid #fecaca; }
.alert-box.small { font-size: 12px; }
.tabs .ct.ok { background: var(--ok-soft); color: var(--ok); }
.tabs { overflow-x: auto; scrollbar-width: none; }
.stepper { scrollbar-width: none; }
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.modal-actions .sp { flex: 1; }
.preview { max-width: 100%; max-height: 240px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; }
.form-grid > .full { grid-column: 1 / -1; }
.check-inline { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.switch { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-size: 13px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: var(--line-2); padding: 1px 6px; border-radius: 5px; }
.cred { display: grid; gap: 10px; margin-bottom: 12px; }
.cred > div { display: flex; flex-direction: column; gap: 4px; }
.cred code { font-size: 16px; padding: 8px 12px; user-select: all; }
.role-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.role-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.role-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.role-card input { width: auto; align-self: flex-start; }
.role-tag { font-size: 12px; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.r-marketing { background: #eef2ff; color: #4338ca; } .r-content { background: #fdf4ff; color: #a21caf; }
.st-pending { background: var(--warn-soft); color: var(--warn); }
.cs-draft { background: #f3f4f6; color: #4b5563; } .cs-pending { background: var(--warn-soft); color: var(--warn); }
.cs-approved { background: var(--info-soft); color: var(--info); } .cs-published { background: var(--ok-soft); color: var(--ok); }
.ch-tag { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--line-2); border-radius: 6px; padding: 2px 7px; white-space: nowrap; flex: none; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { font: inherit; border: 0; background: var(--surface); padding: 6px 12px; cursor: pointer; color: var(--mute); }
.seg button.on { background: var(--brand-soft); color: #3730a3; font-weight: 600; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wday { border-right: 1px solid var(--line-2); padding: 8px; min-height: 260px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wday:last-child { border-right: 0; }
.wday.today { background: #fafaff; }
.wh { font-size: 12px; font-weight: 600; color: var(--mute); text-transform: capitalize; }
.wday.today .wh { color: var(--brand); }
.wempty { padding: 4px 2px; }
.ci { border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; padding: 7px 8px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; background: var(--surface); }
.ci:hover { box-shadow: var(--shadow); }
.ci-top { display: flex; justify-content: space-between; gap: 4px; font-size: 11px; color: var(--mute); font-weight: 600; }
.ci-title { font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ci-camp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci .badge { align-self: flex-start; }
.legend { margin-top: 12px; }
.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[role=button]:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } .week { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wday { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 780px) {
  .side-nav { flex-direction: row; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: 1fr; } .wday { min-height: 0; border-right: 0; }
  .role-cards { grid-template-columns: 1fr; }
  .top .btn.primary { padding: 7px 10px; }
}

/* ---- Lansa marka kimliği ---- */
:root {
  --brand: #6d4aff; --brand-ink: #fff; --brand-soft: #f0edff; --accent: #ff6b4a;
  --side: #120d2b; --side-ink: #c4bfe0; --side-active: #241b4d;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
h1, h2, .logo, .kpi .v, .login .art h2 { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; }
.btn.primary:hover { background: #5a37f0; }
.logo { font-size: 18px; letter-spacing: -.02em; font-weight: 700; }
.logo img { flex: none; border-radius: 8px; }
.side a.on { background: var(--side-active); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.side a .ct { background: var(--accent); }
.login .art { background: radial-gradient(1200px 600px at 10% 0%, #3b2a8f 0%, transparent 60%), radial-gradient(800px 500px at 100% 100%, #7a2e3a 0%, transparent 55%), #120d2b; }
.login .art h2 { font-size: 32px; }
.tagline { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 99px; background: rgb(255 255 255 / .08); color: #ffd2c7; font-size: 13px; font-weight: 600; }
.login .art li::before { color: var(--accent); }
.cal .day.today .num { background: var(--brand); }
.seg button.on, .chip-check:has(input:checked) { background: var(--brand-soft); color: #4527d6; border-color: #d6ccff; }
.st-content_review, .r-marketing { background: var(--brand-soft); color: #4527d6; }
/* Grid öğeleri içerikleri yüzünden genişlemesin (mobil taşma düzeltmesi) */
.grid > *, .kpis > *, .form-grid > * { min-width: 0; }
.howto { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; }
.howto ol, ol.steps { margin: 8px 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; }
a.card.kpi { display: block; color: inherit; transition: border-color .12s, box-shadow .12s; }
a.card.kpi:hover { border-color: #c9bfff; box-shadow: 0 4px 14px rgb(109 74 255 / .12); }
.task-row { cursor: default; } .task-row a.grow { color: inherit; min-width: 0; }
.task-row a.grow:hover .title { color: var(--brand); }
.seg a { padding: 6px 12px; color: var(--mute); } .seg a.on { background: var(--brand-soft); color: #4527d6; font-weight: 600; }
tr.mine td { background: #faf8ff; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { font: inherit; text-align: left; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.stat:hover { border-color: #c9bfff; }
.stat b { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 20px; }
.stat span { font-size: 12px; color: var(--mute); }
.stat.warn b { color: var(--warn); }
h2.sub { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); margin-bottom: 8px; }
.desc { background: var(--surface-2); border-radius: 8px; padding: 12px 14px; margin: 0; }
@media (max-width: 780px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Görev notları */
.note-btn { margin-left: 6px; padding: 2px 7px; font-size: 12px; }
.note { padding: 10px 0; }
.note .small { display: flex; align-items: center; gap: 6px; }
.note .small .btn { margin-left: auto; }
.note .pre a { word-break: break-all; }

/* Bütçe */
.budget { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.budget.over { border-color: var(--bad); background: var(--bad-soft); }
.budget-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.budget-nums > div { display: flex; flex-direction: column; gap: 2px; }
.budget-nums b { font-size: 17px; }
.budget-bar { width: 100%; height: 8px; margin-bottom: 6px; }
.budget.over .budget-bar i { background: var(--bad); }

/* Geçmiş günler: çizgili arka plan, "geçti" etiketi, soluk kayıtlar */
.cal .day-top { display: flex; align-items: center; gap: 4px; }
.cal .day.past, .wday.past { background-image: repeating-linear-gradient(135deg, transparent 0 7px, var(--line-2) 7px 8px); }
.cal .day.past .num { color: var(--mute); }
.cal .day.past .ev, .wday.past .ci { opacity: .55; }
.past-tag { font-size: 10px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 780px) { .cal .past-tag { display: none; } }
