/* Bülten & Kritik — Editöryal Panel */

body.bke-ekran { background: #F3F4F6; }
body.bke-ekran #wpcontent { padding-left: 0; }
body.bke-ekran #wpbody-content { padding-bottom: 40px; }
body.bke-ekran #wpfooter { display: none; }

.bke {
  --ink: #0D0F12;
  --ink-2: #4A5059;
  --muted: #7A808A;
  --line: #E2E5EA;
  --line-2: #EEF0F3;
  --paper: #F3F4F6;
  --card: #fff;
  --accent: #1B3A8C;
  --accent-2: #15295A;
  --accent-soft: #8EAEFF;
  --accent-bg: #EEF2FC;
  --accent-ink: #fff;
  --warn: #b42318;
  --warn-bg: #fdf1ef;
  --radius: 8px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font: 14px/1.5 var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.bke *, .bke *::before, .bke *::after { box-sizing: border-box; }
.bke a { color: inherit; }
.bke h1, .bke h2, .bke h3 { color: var(--ink); margin: 0; font-weight: 600; }
.bke h1 { font: 700 32px/1.15 var(--serif); letter-spacing: -.01em; }
.bke h2 { font: 600 20px/1.3 var(--serif); }
.bke h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.bke p { margin: 0 0 8px; font-size: 14px; }
.bke-muted { color: var(--muted); font-weight: 400; }
.bke-yukleniyor, .bke-empty { padding: 48px 24px; text-align: center; color: var(--muted); }

/* ---- Form kontrolleri (WP admin stillerini ez) ---- */
.bke input[type=text], .bke input:not([type]), .bke input[type=search], .bke input[type=date], .bke input[type=password], .bke input[type=email],
.bke select, .bke textarea {
  font: inherit; font-size: 13px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; min-height: 34px;
  box-shadow: none; max-width: 100%; width: 100%; line-height: 1.4;
}
.bke select { padding-right: 26px; }
.bke textarea { resize: vertical; min-height: 0; }
.bke input:focus, .bke select:focus, .bke textarea:focus, .bke button:focus-visible, .bke a:focus-visible, .bke td:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; box-shadow: none; border-color: var(--accent);
}
.bke input[type=checkbox] { margin: 0; accent-color: var(--accent); width: 15px; height: 15px; min-width: 0; min-height: 0; -webkit-appearance: auto; appearance: auto; border: 0; }
.bke input[type=checkbox]:checked::before { content: none; }

.bke-btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  font: 500 13px/1 var(--sans); color: var(--ink); background: #fff; text-decoration: none;
  border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; cursor: pointer; white-space: nowrap;
}
.bke-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.bke-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.bke-btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.bke-btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.bke-btn-danger { color: var(--warn); border-color: #f0cfc9; background: #fff; width: 100%; }
.bke-btn:disabled { opacity: .5; cursor: default; }
.bke-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.bke-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.bke-bio-btn { display: block; margin-top: 4px; font-size: 12px; }
.bke-foto { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.bke-foto img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.bke-mini {
  background: none; border: 0; padding: 2px 6px; font: 500 12px/1.4 var(--sans); color: var(--ink-2);
  cursor: pointer; text-decoration: none; border-radius: 4px;
}
.bke-mini:hover { background: var(--line-2); color: var(--ink); }
.bke-mini.is-danger:hover { color: var(--warn); background: var(--warn-bg); }

.bke-main { padding: 28px; max-width: 1680px; margin: 0 auto; }
.bke-hello { margin-bottom: 20px; }
.bke-hello p { color: var(--muted); margin-top: 4px; }

/* ---- Kartlar ---- */
.bke-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(13,15,18,.04); }
.bke-card-btn { text-align: left; cursor: pointer; font: inherit; color: inherit; }
.bke-card-btn:hover { border-color: var(--accent-soft); box-shadow: 0 4px 16px rgba(27,58,140,.08); }
.bke-card.is-warn { border-color: #f0cfc9; background: var(--warn-bg); }
.bke-card.is-warn .bke-big { color: var(--warn); }
.bke-big { font: 700 36px/1 var(--serif); margin-right: 4px; color: var(--accent-2); }

.bke-desk { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.6fr; gap: 14px; margin-bottom: 14px; }
.bke-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.bke-lines li { margin: 0; font-size: 14px; }
.bke-lines b { display: inline-block; min-width: 26px; font: 700 22px/1.3 var(--serif); color: var(--accent); }
.bke-lines .is-warn b { color: var(--warn); }
.bke-mytasks ul { margin: 0; padding: 0; list-style: none; }
.bke-mytasks li { margin: 0 0 6px; display: flex; flex-direction: column; border-left: 2px solid var(--line); padding-left: 8px; }
.bke-mytasks li.is-late { border-left-color: var(--warn); }
.bke-mytasks a { text-decoration: none; font-weight: 500; }
.bke-mytasks a:hover { text-decoration: underline; }
.bke-mytasks small { color: var(--muted); font-size: 12px; }

.bke-row2 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 24px; }
.bke-stats { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bke-stat {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 16px 18px;
  border: 0; border-right: 1px solid var(--line-2); background: none; font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.bke-stat:last-child { border-right: 0; }
.bke-stat:hover { background: #F7F8FA; }
.bke-stat b { font: 700 30px/1 var(--serif); color: var(--accent-2); }
.bke-stat span { color: var(--muted); font-size: 12px; }
.bke-stat.is-warn b { color: var(--warn); }

.bke-load ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.bke-load li { display: grid; grid-template-columns: minmax(80px, 1fr) 2fr auto; gap: 10px; align-items: center; margin: 0; }
.bke-bar { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.bke-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bke-num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- Köşeler ve sorumluları ---- */
.bke-secsum { margin-bottom: 24px; }
.bke-secsum h3 { display: flex; align-items: center; gap: 8px; }
.bke-secsum h3 .bke-mini { text-transform: none; letter-spacing: 0; margin-left: auto; }
.bke-secsum ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.bke-secsum li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.bke-secsum-name { all: unset; cursor: pointer; font: 600 15px/1.3 var(--serif); }
.bke-secsum-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bke-secsum-name:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bke-secsum-eds { grid-column: 1; font-size: 13px; color: var(--ink-2); }
.bke-secsum .bke-num { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* ---- Filtreler ---- */
.bke-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bke-filters { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.bke-filters-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bke-count { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.bke-search { max-width: 320px; margin-left: auto; }
.bke-filters-grid { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-end; }
.bke-f { display: flex; flex-direction: column; gap: 3px; min-width: 130px; flex: 1 1 130px; max-width: 200px; }
.bke-f span, .bke-field > span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bke-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; min-height: 34px; white-space: nowrap; }
.bke-cols { position: relative; }
.bke-cols summary { list-style: none; }
.bke-cols summary::-webkit-details-marker { display: none; }
.bke-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px; min-width: 210px; box-shadow: 0 10px 30px rgba(0,0,0,.08); display: grid; gap: 2px;
}
.bke-pop label { display: flex; gap: 8px; align-items: center; padding: 5px 6px; border-radius: 4px; cursor: pointer; }
.bke-pop label:hover { background: var(--line-2); }

/* ---- Tablo ---- */
.bke-tablewrap { overflow-x: auto; }
.bke-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bke-table th {
  position: sticky; top: 0; background: #F7F8FA; text-align: left; font-weight: 500; color: var(--ink-2);
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.bke-table th:not(:has(button)) { padding: 10px 12px; }
.bke-sort { all: unset; display: flex; gap: 4px; padding: 10px 12px; cursor: pointer; width: 100%; box-sizing: border-box; }
.bke-sort:hover, .bke-sort.is-on { color: var(--ink); }
.bke-sort:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.bke-table td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; white-space: nowrap; }
.bke-table tbody tr:hover td { background: #F9FAFB; }
.bke-table tr.is-late td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.bke-table td.is-edit { cursor: pointer; }
.bke-table td.is-edit:hover { background: #EEF1F8; }
.bke-table td select, .bke-table td input:not([type=checkbox]) { min-width: 140px; min-height: 30px; padding: 3px 6px; }
.bke-table .c-title { white-space: normal; min-width: 220px; max-width: 360px; }
.bke-title { font: 600 15px/1.3 var(--serif); text-decoration: none; }
.bke-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.bke-wp { font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-left: 6px; vertical-align: 2px; }
.bke-note { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); vertical-align: bottom; }
.bke-acts { display: inline-flex; gap: 2px; }
.bke-late { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--warn); background: var(--warn-bg); border-radius: 4px; padding: 1px 6px; }

.bke-badge {
  --c: #999;
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink);
  background: color-mix(in srgb, var(--c) 11%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff);
}
.bke-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

.bke-pri { font-size: 12px; font-weight: 500; white-space: nowrap; }
.bke-pri::before { content: ""; display: inline-block; width: 12px; height: 8px; margin-right: 6px; }
.bke-pri-0 { color: var(--muted); }
.bke-pri-0::before { background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.5px, #ddd 4.5px 7.5px, transparent 7.5px 9px, #ddd 9px 12px); }
.bke-pri-1 { color: var(--ink-2); }
.bke-pri-1::before { background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.5px, currentColor 4.5px 7.5px, transparent 7.5px 9px, #ddd 9px 12px); }
.bke-pri-2 { color: #b45309; }
.bke-pri-2::before { background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.5px, currentColor 4.5px 7.5px, transparent 7.5px 9px, currentColor 9px 12px); }
.bke-pri-3 { color: #fff; background: var(--warn); border-radius: 4px; padding: 1px 7px; }
.bke-pri-3::before { display: none; }

.bke-person { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bke-av {
  width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); color: var(--ink-2);
  display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; flex: none;
}

/* ---- Detay ---- */
.bke-dhead { margin-bottom: 20px; }
.bke-back { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.bke-back:hover { color: var(--ink); }
.bke input.bke-dtitle {
  font: 600 30px/1.2 var(--serif); border: 1px solid transparent; background: transparent; padding: 4px 8px;
  margin-left: -9px; min-height: 0; letter-spacing: -.01em;
}
.bke input.bke-dtitle:hover { border-color: var(--line); background: #fff; }
.bke-dmeta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 8px; color: var(--ink-2); }
.bke-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.bke-col-main, .bke-col-side { display: grid; gap: 16px; min-width: 0; }

.bke-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bke-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.bke-field.is-wide, .bke-form .is-wide { grid-column: 1 / -1; }
.bke-static { min-height: 34px; display: flex; align-items: center; color: var(--ink-2); }
.bke-postline { display: flex; flex-direction: column; }

.bke-composer { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 14px; background: #F9FAFB; }
.bke-composer textarea { border: 0; background: transparent; padding: 4px; font-size: 14px; }
.bke-composer textarea:focus { outline: none; }
.bke-composer:focus-within { border-color: var(--ink-2); }
.bke-composer-bar { display: flex; gap: 8px; margin-top: 6px; }
.bke-composer-bar select { width: auto; flex: 0 1 180px; }
.bke-composer-bar button { margin-left: auto; }
.bke-thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 620px; overflow: auto; }
.bke-thread li { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line-2); }
.bke-thread li:last-child { border-bottom: 0; }
.bke-thread-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--muted); }
.bke-thread-meta .bke-person { color: var(--ink); font-weight: 600; font-size: 13px; }
.bke-thread-meta .bke-mini { margin-left: auto; }
.bke-kind { font-size: 11px; border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; color: var(--ink-2); }
.k-gorev .bke-kind { border-color: #1b1a17; color: var(--ink); }
.k-duzenleme .bke-kind { border-color: #e7b9b1; color: var(--accent); }
.k-bilgi .bke-kind { border-color: #bcd3e8; color: #1d4f7a; }
.bke-thread-body { white-space: pre-wrap; margin-top: 6px; padding-left: 28px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }

.bke-tasks { list-style: none; margin: 0 0 10px; padding: 0; }
.bke-tasks li {
  display: grid; grid-template-columns: 18px minmax(160px, 1fr) 150px 140px 100px 130px 26px; gap: 8px; align-items: center;
  margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line-2);
}
.bke-tasks .bke-task-title { border-color: transparent; background: transparent; }
.bke-tasks .bke-task-title:hover { border-color: var(--line); }
.bke-tasks li.is-done .bke-task-title { text-decoration: line-through; color: var(--muted); }
.bke-tasks li.is-late input[type=date] { color: var(--warn); border-color: #f0cfc9; background: var(--warn-bg); }
.bke-task-new { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bke-task-new > input:first-child { flex: 2 1 220px; width: auto; }
.bke-task-new > select, .bke-task-new > input[type=date] { flex: 1 1 130px; width: auto; }

.bke-files { list-style: none; margin: 0 0 12px; padding: 0; }
.bke-files li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: center; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.bke-files a { font-weight: 500; overflow-wrap: anywhere; }
.bke-files small { font-size: 12px; }
.bke-ext { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 4px 0; border-radius: 4px; background: var(--line-2); color: var(--ink-2); }
.bke-drop {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; border: 1px dashed var(--line);
  border-radius: var(--radius); cursor: pointer; text-align: center; color: var(--ink-2); position: relative;
}
.bke-drop:hover, .bke-drop.is-over { border-color: var(--ink-2); background: #F9FAFB; }
.bke-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bke-drop small { color: var(--muted); font-size: 12px; }

.bke-activity { list-style: none; margin: 0; padding: 0 0 0 20px; background: linear-gradient(var(--line), var(--line)) 3px 0 / 1px 100% no-repeat; max-height: 520px; overflow: auto; }
.bke-activity li { position: relative; margin: 0 0 14px; }
.bke-activity li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.bke-activity li.a-durum::before { background: var(--accent); }
.bke-activity b { font-weight: 600; margin-right: 8px; }
.bke-activity time { font-size: 12px; color: var(--muted); }
.bke-activity p { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; }

.bke-picker { position: relative; margin-bottom: 8px; }
.bke-results { list-style: none; margin: 4px 0 0; padding: 0; max-height: 240px; overflow: auto; }
.bke-results:empty { display: none; }
.bke-results li { margin: 0; }
.bke-results button {
  all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; padding: 7px 9px; border-radius: 6px; cursor: pointer;
}
.bke-results button:hover, .bke-results button:focus-visible { background: var(--line-2); }
.bke-results button:disabled { opacity: .45; cursor: default; }
.bke-results small { color: var(--muted); font-size: 12px; }
.bke-picked:empty { display: none; }
.bke-picked { font-size: 13px; padding: 6px 0; }

/* ---- Dialog ---- */
.bke-dialog { border: 0; border-radius: 12px; padding: 0; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 24px 80px rgba(0,0,0,.2); }
.bke-dialog::backdrop { background: rgba(27, 26, 23, .45); }
.bke-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.bke-dialog header, .bke-dialog footer { display: flex; align-items: center; padding: 16px 20px; gap: 8px; }
.bke-dialog header { border-bottom: 1px solid var(--line); }
.bke-dialog footer { border-top: 1px solid var(--line); justify-content: flex-end; }
.bke-dialog-body { padding: 18px 20px; overflow: auto; }
.bke-x { margin-left: auto; background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---- Takvim ---- */
.bke-calhead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bke-calhead h1 { min-width: 200px; }
.bke-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.bke-legend .bke-check::after { content: none; }
.bke-legend .k-teslim, .bke-legend .k-yayin, .bke-legend .k-gorev { padding-left: 4px; border-left: 3px solid; }
.bke-legend .k-teslim { border-color: var(--accent); }
.bke-legend .k-yayin { border-color: #1f9d55; }
.bke-legend .k-gorev { border-color: #8a877f; }
.bke-legend-late { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-bg); padding: 2px 8px; border-radius: 4px; }

.bke-latebox { border-color: #f0cfc9; margin-bottom: 16px; }
.bke-latebox h3 { color: var(--warn); }
.bke-latebox h3 span { background: var(--warn); color: #fff; border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.bke-latebox ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px 20px; }
.bke-latebox li { margin: 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bke-latebox .bke-late { margin: 0; min-width: 56px; text-align: center; }
.bke-latebox a { font-weight: 500; }

.bke-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bke-calwd { background: #F7F8FA; padding: 8px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bke-day { background: #fff; min-height: 118px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bke-day.is-out { background: #F9FAFB; }
.bke-day.is-out .bke-daynum { color: #C3C8D0; }
.bke-daynum { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 2px 2px; font-variant-numeric: tabular-nums; }
.bke-dow { display: none; }
.bke-day.is-today .bke-daynum { color: #fff; background: var(--accent); border-radius: 999px; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; justify-self: start; align-self: flex-start; }
.bke-day.is-today { box-shadow: inset 0 2px 0 var(--accent); }
.bke-ev {
  display: block; font-size: 12px; line-height: 1.35; padding: 3px 6px; border-radius: 4px; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; background: #F4F6F9;
}
.bke-ev:hover { background: #E8ECF2; }
.bke-ev.k-teslim { border-color: var(--accent); background: var(--accent-bg); }
.bke-ev.k-yayin { border-color: #1f9d55; background: #eef8f2; }
.bke-ev.k-gorev { border-color: #8a877f; color: var(--ink-2); }
.bke-ev.is-done { text-decoration: line-through; opacity: .6; }
.bke-ev.is-late { border-color: var(--warn); background: var(--warn-bg); color: var(--warn); font-weight: 600; }

/* ---- Köşeler ---- */
.bke-secs { list-style: none; margin: 0 0 14px; padding: 0; }
.bke-sec { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.bke-sec-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.bke input.bke-sec-name { font: 600 16px/1.3 var(--serif); border-color: transparent; background: transparent; max-width: 320px; padding-left: 6px; margin-left: -7px; }
.bke input.bke-sec-name:hover { border-color: var(--line); }
.bke-sec-head > .bke-muted { margin-right: auto; }
.bke textarea.bke-sec-desc { display: block; width: 100%; margin: 0 0 8px; font-size: 13px; resize: vertical; }
.bke-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bke-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; cursor: pointer; }
.bke-chip.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }
.bke-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bke-chip:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.bke-chip::before { content: "+"; color: var(--muted); }
.bke-chip.is-on::before { content: "✓"; color: #fff; }
.bke-team td { white-space: normal; }
.bke-team td input, .bke-team td select { min-width: 160px; }
.bke-h3row { display: flex; align-items: center; gap: 12px; }
.bke-h3row .bke-btn { margin-left: auto; text-transform: none; letter-spacing: 0; }

/* ---- Ayrı sayfa (site.com/editoryal) ---- */
body.bke-ayri { margin: 0; background: #F3F4F6; }
.bke-ayri .bke-top { top: 0 !important; }
.bke-login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.bke-login-box { width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 14px; }
.bke-login-box .bke-brand { margin-bottom: 8px; }
.bke-login-box .bke-btn-primary { width: 100%; padding: 12px; }
.bke-login-err { color: var(--warn); background: var(--warn-bg); border-radius: 6px; padding: 8px 10px; margin: 0; }
.bke-login-lost { color: var(--muted); font-size: 13px; text-align: center; }

/* ---- Marka, menü, kenar çubuğu ---- */
.bke-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bke-brand > div { min-width: 0; }
.bke-brand strong { display: block; font: 700 17px/1.2 var(--serif); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bke-brand small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bke-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; flex: none; }
.bke-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 20px/1 var(--serif); flex: none; }
.bke-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.bke-nav { display: flex; gap: 2px; }
.bke-nav-a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.bke-nav-a:hover { background: var(--accent-bg); color: var(--accent); }
.bke-nav-a.is-on { background: var(--accent); color: #fff; }
.bke-nav-n { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--accent-bg); color: var(--accent); }
.bke-nav-n.is-warn { background: #FDE7E4; color: var(--warn); }
.bke-nav-a.is-on .bke-nav-n { background: rgba(255,255,255,.18); color: #fff; }
.bke-new { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 var(--sans); cursor: pointer; border: 0; border-radius: 10px; padding: 12px 16px; background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(27,58,140,.25); white-space: nowrap; }
.bke-new:hover { background: var(--accent-2); }
.bke-new .bke-ic { stroke-width: 2.2; }

/* WordPress yönetimi içindeki yatay çubuk */
.bke-top { display: flex; align-items: center; gap: 24px; padding: 12px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 32px; z-index: 20; }
.bke-top .bke-nav { flex: 1; }
.bke-top .bke-nav-n { margin-left: 4px; }

/* Ayrı sayfa (site.com/editoryal): solda lacivert kenar çubuğu */
.bke-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.bke-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--accent-2); color: #fff; padding: 22px 16px 16px; }
.bke-side .bke-brand strong { color: #fff; }
.bke-side .bke-brand small { color: rgba(255,255,255,.6); }
.bke-side-head { display: flex; align-items: center; gap: 8px; padding: 0 6px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.bke-side-body { display: flex; flex-direction: column; gap: 18px; flex: 1; padding-top: 20px; min-height: 0; }
.bke-side .bke-new { background: #fff; color: var(--accent-2); box-shadow: none; width: 100%; }
.bke-side .bke-new:hover { background: var(--accent-soft); }
.bke-side .bke-nav { flex-direction: column; }
.bke-side .bke-nav-a { color: rgba(255,255,255,.78); padding: 11px 12px; }
.bke-side .bke-nav-a:hover { background: rgba(255,255,255,.08); color: #fff; }
.bke-side .bke-nav-a.is-on { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--accent-soft); }
.bke-side .bke-nav-n { background: rgba(255,255,255,.14); color: #fff; }
.bke-side .bke-nav-n.is-warn { background: #F0624D; color: #fff; }
.bke-me { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 6px 0; }
.bke-me-who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bke-me-who strong { display: block; font-weight: 600; }
.bke-me-who small { color: var(--accent-soft); font-size: 12px; }
.bke-av-lg { width: 36px; height: 36px; font-size: 13px; background: rgba(255,255,255,.14); color: #fff; }
.bke-me-links { display: flex; gap: 4px; flex-wrap: wrap; }
.bke-me-links a, .bke-me-links button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; font: 500 12px/1 var(--sans); color: rgba(255,255,255,.75); text-decoration: none; background: none; border: 0; cursor: pointer; }
.bke-me-links a:hover, .bke-me-links button:hover { background: rgba(255,255,255,.1); color: #fff; }
.bke-me-links .bke-ic { width: 15px; height: 15px; }
.bke-burger { display: none; margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: 8px; width: 40px; height: 40px; cursor: pointer; place-items: center; }
.bke-side :focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.bke-shell .bke-main { max-width: 1560px; width: 100%; padding: 32px 36px 48px; }
.bke-eyebrow { font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent) !important; margin: 0 0 6px !important; }
.bke-login-title { font: 700 26px/1.2 var(--serif) !important; margin: 4px 0 0 !important; }

/* ---- Bildirim ---- */
.bke-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100000;
  background: #1b1a17; color: #fff; padding: 10px 16px; border-radius: 8px; font: 500 13px/1.4 system-ui, sans-serif;
  transition: opacity .15s, transform .15s; max-width: calc(100vw - 32px);
}
.bke-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.bke-toast.is-err { background: #b42318; }

/* ================= Duyarlı ================= */
@media (max-width: 1280px) {
  .bke-desk { grid-template-columns: 1fr 1fr 1fr; }
  .bke-mytasks { grid-column: 1 / -1; }
  .bke-row2 { grid-template-columns: 1fr; }
  .bke-tasks li { grid-template-columns: 18px 1fr 1fr 1fr 26px; }
  .bke-tasks li > select[aria-label="Öncelik"], .bke-tasks li > select[aria-label="Durum"] { grid-column: 2 / span 1; }
}
@media (max-width: 960px) {
  .bke-shell { grid-template-columns: 1fr; }
  .bke-side { position: sticky; top: 0; height: auto; z-index: 50; padding: 12px 16px; box-shadow: 0 4px 20px rgba(13,15,18,.15); }
  .bke-side-head { padding: 0; border: 0; }
  .bke-burger { display: grid; }
  .bke-side-body { display: none; padding-top: 16px; }
  .bke-side.is-open .bke-side-body { display: flex; max-height: calc(100vh - 70px); overflow: auto; }
  .bke-shell .bke-main { padding: 20px 16px 40px; }
}
@media (max-width: 1024px) {
  .bke-detail { grid-template-columns: 1fr; }
  .bke-stats { grid-template-columns: repeat(3, 1fr); }
  .bke-stat:nth-child(3n) { border-right: 0; }
  .bke-stat:nth-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .bke-top { flex-wrap: wrap; gap: 12px; }
  }
@media (max-width: 782px) {
  .bke-top { top: 46px; padding: 12px 16px; }
  .bke-main { padding: 16px; }
  .bke h1 { font-size: 24px; }
  .bke-desk { grid-template-columns: 1fr 1fr; }
  .bke-today { grid-column: 1 / -1; }
  .bke-form { grid-template-columns: 1fr; }
  .bke-filters-top { flex-wrap: wrap; }
  .bke-search { max-width: none; flex-basis: 100%; order: 3; }
  .bke-f { max-width: none; flex-basis: calc(50% - 5px); min-width: 0; }
  .bke input, .bke select, .bke textarea { font-size: 16px; } /* iOS yakınlaştırmasın */

  /* Tablo → kart */
  .bke-table thead { display: none; }
  .bke-table, .bke-table tbody, .bke-table tr, .bke-table td { display: block; width: 100%; }
  .bke-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .bke-table tr.is-late { box-shadow: inset 3px 0 0 var(--warn); }
  .bke-table tr.is-late td:first-child { box-shadow: none; }
  .bke-table td { border: 0; padding: 3px 0; display: flex; gap: 10px; align-items: center; white-space: normal; min-height: 30px; }
  .bke-table td::before { content: attr(data-label); flex: 0 0 110px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  .bke-table td.c-title { max-width: none; padding-bottom: 6px; }
  .bke-table td.c-title::before, .bke-table td.c-actions::before { display: none; }
  .bke-table tbody tr:hover td { background: none; }

  .bke-tasks li { grid-template-columns: 18px 1fr 26px; }
  .bke-tasks li > select, .bke-tasks li > input[type=date] { grid-column: 2 / 3; }
  .bke-files li { grid-template-columns: 40px 1fr auto; }
  .bke-files small { grid-column: 2 / 3; }
  .bke-composer-bar { flex-wrap: wrap; }
  .bke-composer-bar select { flex: 1 1 140px; }

  /* Takvim → gündem listesi */
  .bke-cal { display: block; background: #fff; }
  .bke-calwd, .bke-day.is-empty, .bke-day.is-out { display: none; }
  .bke-day { min-height: 0; border-bottom: 1px solid var(--line-2); padding: 10px 12px; }
  .bke-dow { display: inline; font-weight: 400; color: var(--muted); }
  .bke-ev { white-space: normal; }
  .bke-legend { margin-left: 0; }
}
@media (max-width: 520px) {
  .bke-stats { grid-template-columns: repeat(2, 1fr); }
  .bke-stat { border-right: 1px solid var(--line-2) !important; border-bottom: 1px solid var(--line-2); }
  .bke-desk { grid-template-columns: 1fr; }
  .bke-brand small { display: none; }
}

/* Playfair'in eski usul rakamları "0/1" harf gibi görünmesin: sayılarda düz rakam */
.bke-stat b, .bke-big, .bke-lines b, .bke-num, .bke-nav-n, .bke-daynum, .bke-count { font-variant-numeric: lining-nums tabular-nums; }
.bke-load .bke-linkbtn { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bke-load li { grid-template-columns: minmax(110px, 1fr) 2fr auto; }
@media (max-width: 1024px) {
  .bke-top { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; }
  .bke-top .bke-new { margin-left: auto; padding: 10px 14px; }
  .bke-top .bke-nav { order: 3; flex-basis: 100%; overflow-x: auto; }
}
