:root {
  --bg: #F6F2EB;
  --surface: #FFFFFF;
  --surface-2: #FBF9F5;
  --ink: #16171A;
  --muted: #5C5F66;
  --line: #E6E0D5;
  --line-strong: #D5CEC0;
  --accent: #153E35;
  --accent-hover: #0F2E27;
  --accent-soft: #ECFDF5;
  --studio-dark: #141517;
  --studio-dark-hover: #23252A;
  --studio-gold: #F2C94C;
  --ok: #047857;
  --ok-bg: #D1FAE5;
  --warn: #B45309;
  --warn-bg: #FEF3C7;
  --info: #1D4ED8;
  --info-bg: #DBEAFE;
  --bad: #B91C1C;
  --bad-bg: #FEE2E2;
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(22, 23, 26, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(22, 23, 26, 0.07), 0 1px 3px rgba(22, 23, 26, 0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.55 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

/* Navigation (Dark Studio Sidebar) */
.nav {
  background: var(--studio-dark);
  color: #E5E7EB;
  border-radius: 16px;
  margin: 12px 0 12px 12px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 12px;
  height: calc(100vh - 24px);
  box-shadow: var(--shadow-md);
}
.nav-top { position: relative; padding: 2px 8px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font: 700 17px/1.2 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.025em;
}
.logo em { font-style: normal; color: var(--studio-gold); }
.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent);
  display: inline-block;
  position: relative;
  flex: none;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 2px;
  background: #B3E06A;
}

.nav-group {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7D828C;
  padding: 10px 12px 4px;
}
.nav-group:first-child { padding-top: 2px; }
.nav-links { display: flex; flex-direction: column; gap: 3px; }
.nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #B4B8C2;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--studio-dark-hover); color: #FFFFFF; }
.nav-links a.on {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--studio-gold);
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--studio-gold);
  color: var(--studio-dark);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.nav-badge[hidden] { display: none; }
.nav-foot {
  margin-top: auto;
  font-size: 12px;
  color: #7D828C;
  padding: 12px 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Main Canvas */
main {
  min-width: 0;
  width: 100%;
  max-width: 1200px;
  padding: 32px 40px 56px;
}

h1 {
  font: 700 28px/1.2 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}
h2 {
  font: 700 18px/1.3 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  margin: 28px 0 12px;
}
.sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
a { color: var(--accent); font-weight: 500; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Page Header & KPIs */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.page-head .sub { margin-bottom: 0; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kpi-val {
  font: 700 28px/1.15 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
  color: var(--ink);
}

/* Surfaces & Layout Grids */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Tables (Desktop) & Cards (Mobile Dual-Mode) */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-2);
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FAFBFB; }
.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.mobile-cards { display: none; flex-direction: column; gap: 12px; }
.m-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.m-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}
.m-card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }

/* Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font: 600 14px/1.2 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.btn:hover { border-color: #98A2B3; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.pri:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.dark { background: var(--studio-dark); border-color: var(--studio-dark); color: #fff; }
.btn.dark:hover { background: #26282E; border-color: #26282E; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.bad { color: var(--bad); border-color: #FECACA; background: #FFF5F5; }
.btn.bad:hover { border-color: var(--bad); background: var(--bad-bg); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }

label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; color: var(--ink); }
label small { font-weight: 400; color: var(--muted); }
input, textarea, select {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font: 14px/1.4 'Inter', sans-serif;
  color: var(--ink);
  background: var(--surface);
}
textarea { min-height: 88px; resize: vertical; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; }

/* Status Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.taslak { background: #FDECE1; color: #9A3412; }
.pill.onay_bekliyor { background: var(--warn-bg); color: var(--warn); }
.pill.onaylandi { background: var(--info-bg); color: var(--info); }
.pill.yayinda, .pill.on, .pill.hazir { background: var(--ok-bg); color: var(--ok); }
.pill.hata, .pill.reddedildi, .pill.off { background: var(--bad-bg); color: var(--bad); }

/* Slides & Preview */
.slides {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}
.slides img, .frame {
  width: 270px;
  height: 337px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  flex: none;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.frame { overflow: hidden; position: relative; }
.frame iframe { width: 1080px; height: 1350px; border: 0; transform: scale(0.25); transform-origin: 0 0; pointer-events: none; }
.frame-hit { position: absolute; inset: 0; background: transparent; border: 0; padding: 0; cursor: zoom-in; z-index: 2; }
.review-slide img { cursor: zoom-in; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.review-slide:hover img, .review-slide:hover .frame { box-shadow: var(--shadow-md); }

/* Fullscreen Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 15, 18, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lb-bar {
  width: 100%;
  max-width: 960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #E5E7EB;
  margin-bottom: 12px;
  font-size: 13px;
}
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  max-height: calc(100vh - 110px);
  gap: 14px;
}
.lb-media {
  max-width: min(86vw, 540px);
  max-height: calc(100vh - 130px);
  border-radius: 14px;
  overflow: hidden;
  background: #141517;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-media img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-frame-wrap {
  position: relative;
  overflow: hidden;
  background: #141517;
}
.lb-frame-wrap iframe {
  border: 0;
  transform-origin: 0 0;
  display: block;
}
.lb-nav, .lb-close {
  min-height: 40px;
  min-width: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.2); }
.lb-close { font-size: 14px; gap: 6px; }

/* Brand DNA, Color Pickers, Tabs, Memory */
input[type="color"] { height: 40px; padding: 3px; cursor: pointer; }
.color-pair { display: flex; gap: 6px; align-items: center; }
.color-pair input[type="color"] { width: 44px; flex: none; }
.color-pair input[type="text"] { min-width: 0; text-transform: uppercase; }
.brand-preview {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.brand-preview-bar { width: 48px; height: 6px; border-radius: 4px; margin-bottom: 10px; }
.brand-preview-cta { margin-top: 10px; font-size: 13px; font-weight: 700; }
.swatch { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.18); cursor: pointer; padding: 0; }
.logo-preview {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.logo-preview img { height: 36px; width: auto; max-width: 180px; display: block; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font: 600 14px/1.2 'Inter', sans-serif;
  cursor: pointer;
}
.tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.code-wrap { position: relative; margin: 8px 0 16px; }
.code-wrap pre {
  margin: 0;
  padding: 14px 96px 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  white-space: pre-wrap;
  word-break: break-all;
}
.copy-btn { position: absolute; top: 8px; right: 8px; min-height: 32px; padding: 5px 10px; font-size: 12px; }

.mem-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mem-row:last-of-type { border-bottom: 0; }
.mem-cat { font-size: 12px; margin-right: 6px; }

.empty {
  color: var(--muted);
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.warnbox {
  background: var(--warn-bg);
  border: 1px solid #FDE68A;
  color: #78350F;
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin: 12px 0;
}
.scene {
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  margin: 8px 0;
  background: var(--surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
details summary { cursor: pointer; font-weight: 600; }

#toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  max-width: 420px;
  z-index: 200;
}
#toast.show { opacity: 1; }

/* Responsive Mobile Rules */
@media (max-width: 900px) {
  body { grid-template-columns: minmax(0, 1fr); }
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: auto;
    margin: 0;
    border-radius: 0;
    padding: 10px 14px;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-top { padding: 0; }
  .nav-group { display: none; }
  .nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 7px 12px; flex: none; }
  .nav-links a.on { box-shadow: inset 0 -2px 0 var(--studio-gold); }
  .nav-foot { display: none; }

  main { padding: 20px 16px 40px; }
  h1 { font-size: 23px; }
  .kpi-grid, .g2, .g3, .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .desktop-table { display: none; }
  .mobile-cards { display: flex; }
  .btn { min-height: 44px; }
  .copy-btn { min-height: 32px; }
  .card { padding: 16px; }
  .review-card { padding: 16px; }
  .review-slide .frame, .review-slide img { width: 220px; height: 275px; }
  .review-slide .frame iframe { transform: scale(0.2037); }
  .review-slide.is-reel .frame, .review-slide.is-reel img { width: 198px; height: 352px; }
  .review-slide.is-reel .frame iframe { width: 1080px; height: 1920px; transform: scale(0.1833); }
  .cal-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-bar select, .filter-bar button { width: 100%; }
}

/* Studio Filter Pills, Inline Review Cards & Accordions */
.studio-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.status-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #ECE6DB;
  color: var(--ink);
  font: 600 13px/1.2 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.status-pill:hover { background: #E3DCCE; }
.status-pill.on {
  background: var(--studio-dark);
  color: #FFFFFF;
}
.status-pill .cnt {
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.brand-select { width: auto; min-width: 180px; max-width: 100%; background: var(--surface); }

.review-list { display: flex; flex-direction: column; gap: 18px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.review-title {
  font: 700 17px/1.3 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  text-decoration: none;
}
.review-title:hover { color: var(--accent); }
.review-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.review-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
  scroll-snap-align: start;
}
.review-slide.is-reel img, .review-slide.is-reel .frame {
  width: 216px;
  height: 384px;
}
.review-slide.is-reel img { object-fit: cover; }
.review-slide.is-reel .frame iframe {
  width: 1080px;
  height: 1920px;
  transform: scale(0.2);
}
.slide-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.revision-banner {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #9A3412;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  margin-bottom: 12px;
}
.inline-note-form {
  margin-top: 12px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.acc-group {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
details.acc {
  border-bottom: 1px solid var(--line);
}
details.acc > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::before {
  content: "▸";
  font-size: 12px;
  color: var(--muted);
  margin-right: 8px;
  transition: transform 0.15s ease;
}
details.acc[open] > summary::before { transform: rotate(90deg); }
details.acc > summary span.acc-lead { display: flex; align-items: center; }
details.acc > .acc-body { padding: 4px 4px 14px; }

/* Omni Flash Reels player on the content page */
.reel-player { display: block; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; margin: 12px 0; border-radius: 12px; background: #000; object-fit: contain; }

/* Content thumbnails so items are recognizable in lists */
.c-thumb { display: block; flex: 0 0 auto; width: 48px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--line); }
.c-thumb-empty { border: 1px dashed var(--line); background: transparent; }
.recent-list { display: grid; gap: 10px; }
.recent-item { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; padding: 12px 14px; }
.recent-item:hover { border-color: var(--accent, #b3e06a); }
.recent-hook { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Weekly Visual Calendar */
.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cal-day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cal-day.today { border-color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }
.cal-day-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.cal-day.today .cal-day-head { color: var(--accent); }
.cal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  transition: border-color 0.15s ease;
}
.cal-item:hover { border-color: var(--accent); }
.cal-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.cal-hook { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-empty { font-size: 12px; color: var(--muted); opacity: 0.6; padding: 8px 0; text-align: center; }

/* Quick Layout Bar */
.quick-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .cal-grid { grid-template-columns: minmax(0, 1fr); }
}
