/* ============================================================
   PINTELL HUB: additions on top of the shared CRM design system
   ============================================================ */

.main { min-width: 0; }
.card { overflow: hidden; }

.brand-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: color-mix(in srgb, var(--bc) 14%, white); color: color-mix(in srgb, var(--bc) 70%, black);
  white-space: nowrap;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--white); border: 1px solid var(--line); color: var(--muted); cursor: pointer;
}
.chip.active { background: var(--green); color: var(--cream); border-color: var(--green); }
.tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px;
  background: var(--cream-warm); color: var(--ink); border: 1px solid var(--line);
}

.modal-wide { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.form-actions .spacer { flex: 1; }
.btn-danger { background: transparent; color: var(--red); border: 1px solid rgba(178,58,58,0.35); }
.btn-danger:hover { background: rgba(178,58,58,0.08); }

#hub-toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10001; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.hub-toast {
  background: var(--green); color: var(--cream); padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; z-index: 10001; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px);
}
.hub-toast.error { background: var(--red); }

/* ---------- Money strip ---------- */
.money-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 24px; }
.money-card { background: var(--white); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--mc, var(--gold)); }
.money-card .label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.money-card .value { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--green); line-height: 1.1; }
.money-card .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.club-note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); background: var(--white); border: 1px dashed var(--gold-soft); border-radius: var(--radius); padding: 8px 12px; }
.club-note a { font-weight: 700; }

/* ---------- Lists ---------- */
.row-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.row-item:last-child { border-bottom: none; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item .title { font-weight: 700; color: var(--green); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-item .meta { font-size: 12px; color: var(--muted); }
.due { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.due.soon { color: var(--orange); }
.due.late { color: var(--red); }

/* ---------- Brand cards (dashboard) ---------- */
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.brand-card { display: block; background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--bc); color: var(--ink); }
.brand-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.brand-card h3 { display: flex; align-items: center; gap: 8px; }
.brand-card .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.brand-card .stat-v { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--green); }
.brand-card .stat-l { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mini-funnel { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 14px; }
.mini-funnel div { height: 8px; border-radius: 4px; background: var(--bc); }

/* ---------- Brand page header ---------- */
.brand-hero { display: flex; align-items: center; gap: 16px; }
.brand-hero .badge-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: color-mix(in srgb, var(--bc) 18%, white); }

/* ---------- Funnel visual ---------- */
.funnel-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel-layer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.funnel-shape {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: 150px; padding: 16px 40px; color: white; cursor: pointer;
  clip-path: polygon(var(--inset-top) 0, calc(100% - var(--inset-top)) 0, calc(100% - var(--inset-bottom)) 100%, var(--inset-bottom) 100%);
  transition: filter 0.15s;
}
.funnel-shape:hover { filter: brightness(1.06); }
.funnel-shape .stage-tag { font-size: 10px; letter-spacing: 0.18em; font-weight: 700; opacity: 0.9; }
.funnel-shape .stage-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1.1; margin: 4px 0; }
.funnel-shape .stage-count { font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.22); padding: 2px 10px; border-radius: 999px; margin-top: 6px; }
.funnel-detail { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px 18px; border-left: 4px solid var(--sc); }
.funnel-detail .goal { font-weight: 700; color: var(--green); margin-bottom: 8px; }
.funnel-detail .kv { font-size: 12px; color: var(--muted); margin-top: 8px; }
.funnel-detail .kv b { color: var(--ink); }
.type-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; margin: 0 4px 4px 0; background: color-mix(in srgb, var(--sc) 12%, white); color: color-mix(in srgb, var(--sc) 65%, black); border: 1px solid color-mix(in srgb, var(--sc) 30%, white); }

/* ---------- Bar charts ---------- */
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row .bar-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.bar-track { position: relative; height: 12px; background: var(--cream-warm); border-radius: 6px; overflow: visible; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--sc, var(--green)); transition: width 0.3s; }
.bar-target { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 1px; }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Topic chart (editable table) ---------- */
.topic-section { margin-bottom: 22px; }
.topic-section-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius) var(--radius) 0 0; background: color-mix(in srgb, var(--sc) 12%, white); border-bottom: 2px solid var(--sc); }
.topic-section-head h3 { font-size: 16px; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm); }
table.topics { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 1280px; }
table.topics th { text-align: left; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 8px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
table.topics td { padding: 2px 4px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.topics td.actions { white-space: nowrap; text-align: right; padding-right: 8px; }
.cell { width: 100%; border: 1px solid transparent; background: transparent; padding: 7px 6px; font: inherit; color: var(--ink); border-radius: 4px; }
.cell:hover { border-color: var(--line); }
.cell:focus { border-color: var(--gold); outline: none; background: var(--white); }
select.cell { cursor: pointer; min-width: 130px; }
td.actions select.cell { min-width: 0; }
input.cell[type="date"] { min-width: 120px; }
.cell-title { font-weight: 700; color: var(--green); min-width: 220px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 15px; padding: 4px 6px; border-radius: 4px; color: var(--muted); }
.icon-btn:hover { background: var(--cream-warm); color: var(--green); }
.add-row { display: flex; gap: 8px; padding: 10px; background: var(--white); border-top: 1px dashed var(--line); }
.add-row input { flex: 1; }
.src-claude { font-size: 10px; color: var(--bark); font-weight: 700; }

/* ---------- Formats tab ---------- */
.fmt-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fmt-col { border-top: 4px solid var(--sc); background: var(--cream); border-radius: var(--radius); padding: 12px; }
.fmt-col-head { font-weight: 700; color: var(--green); margin-bottom: 8px; font-size: 13px; }
.stage-toggle { border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; cursor: pointer; margin-right: 4px; }
.stage-toggle.on { background: var(--sc); border-color: var(--sc); color: white; }

.page-toggle { border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 8px; white-space: nowrap; border-radius: 999px; cursor: pointer; margin-right: 4px; opacity: 0.75; }
.page-toggle.on { background: color-mix(in srgb, var(--bc) 18%, white); border-color: var(--bc); color: color-mix(in srgb, var(--bc) 60%, black); opacity: 1; }

/* ---------- Hooks ---------- */
.blank { background: #FFF1B8; color: #6B5200; border-radius: 4px; padding: 0 3px; font-weight: 700; }
.hook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hook-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--gold); }
.hook-text { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--green); line-height: 1.3; }
.hook-why { font-size: 12px; color: var(--muted); }
.hook-src { font-size: 11px; color: var(--muted); }
.icon-btn.fav { font-size: 18px; color: var(--muted); }
.icon-btn.fav.on { color: #D4A017; }
.hook-pick { display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow-y: auto; margin-top: 10px; }
.hook-pick button { text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-weight: 700; color: var(--green); cursor: pointer; }
.hook-pick button:hover { border-color: var(--gold); background: var(--white); }
.hook-pick .meta { font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pl-hook-pick { background: none; border: none; color: var(--hc); font-size: 11px; font-weight: 700; cursor: pointer; padding: 0; margin-top: 4px; }

/* ---------- Storyboard ---------- */
.sb-title { width: 100%; font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--green); background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 2px 4px; margin: 4px 0; }
.sb-title:focus { outline: none; border-color: var(--gold); background: var(--white); }
.sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.sb-hook { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--green); margin-top: 6px; }
.sb-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sb-block { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.sb-frame { position: relative; background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 8px, var(--cream-warm) 8px, var(--cream-warm) 16px); border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sb-shot-icon { font-size: 34px; }
.sb-num { position: absolute; top: 6px; left: 6px; background: var(--green); color: var(--cream); font-size: 11px; font-weight: 700; border-radius: 999px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.sb-secs { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.6); color: white; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; }
.sb-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px; gap: 4px; }
.sb-row .cell { min-width: 0; }
.sb-row input[type=number] { width: 58px !important; padding: 7px 4px; }
.sb-label { font-weight: 700; color: var(--green); text-transform: none; letter-spacing: 0; }
.sb-header { flex-direction: column; align-items: stretch; gap: 10px; }
.sb-header .page-actions { flex-wrap: wrap; justify-content: flex-end; }
.sb-frame { aspect-ratio: 16 / 9; }
.sb-k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 4px; }
.sb-block textarea.cell { resize: vertical; border-color: var(--line-soft); }
.sb-block input.cell { border-color: var(--line-soft); }
.sb-acts { display: flex; justify-content: flex-end; margin-top: 4px; }
.sb-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.sb-script { font-size: 15px; line-height: 1.6; margin-top: 6px; }
.sb-badge { font-size: 11px; font-weight: 700; color: var(--bark); }
@media (max-width: 1100px) { .sb-layout { grid-template-columns: 1fr; } }
@media print {
  .sidebar, .page-actions, .sb-acts, #back, .btn { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  body { background: white; }
  .sb-layout { grid-template-columns: 1fr; }
  .sb-blocks { grid-template-columns: repeat(3, 1fr); }
  .sb-block, .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* ---------- What we're about ---------- */
.about-box { background: var(--green); border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 18px; border-left: 6px solid var(--bc, var(--gold)); }
.about-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--gold-soft); }
.about-box .text-muted { color: rgba(247,243,235,0.6) !important; }
.about-text { width: 100%; border: 1px solid transparent; background: transparent; resize: vertical; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--cream); padding: 6px 0; margin-top: 4px; }
.about-text::placeholder { color: rgba(247,243,235,0.5); font-weight: 400; }
.about-text:focus { outline: none; border-bottom-color: var(--gold); }

/* ---------- Content planner (1 topic, 4 hooks, 16 videos) ---------- */
.pl-level.pl-about { width: 100%; background: var(--green); border: none; text-align: center; }
.pl-about .pl-label { color: var(--gold-soft); }
.pl-about .about-text { text-align: center; font-size: 22px; }
.pl-funnel { display: flex; flex-direction: column; align-items: center; }
.pl-level { width: 100%; border-radius: var(--radius-lg); padding: 18px 22px; background: color-mix(in srgb, var(--sc) 10%, white); border: 1px solid color-mix(in srgb, var(--sc) 30%, white); }
.pl-topic { width: 97%; background: var(--sc); border: none; color: white; }
.pl-topic .pl-label { color: rgba(255,255,255,0.85); }
.pl-level.pl-angle { width: 95.5%; background: color-mix(in srgb, var(--sc) 22%, white); }
.pl-angle-input { width: 100%; text-align: center; font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--green); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; resize: vertical; }
.pl-angle-input:focus { outline: none; border-color: var(--gold); }
.pl-hooks { width: 94%; }
.pl-formats { width: 91%; }
.pl-result { width: 40%; text-align: center; background: var(--green); border: none; color: var(--cream); }
.pl-result .pl-label { color: var(--gold-soft); }
.pl-result .text-muted { color: rgba(247,243,235,0.7) !important; }
.pl-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 10px; text-align: center; }
.pl-arrow { color: var(--sc); font-size: 14px; line-height: 1; margin: 6px 0; opacity: 0.7; }
.pl-topic-input { width: 100%; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; text-align: center; color: white; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); padding: 12px 14px; }
.pl-topic-input::placeholder { color: rgba(255,255,255,0.7); }
.pl-topic-input:focus { outline: 2px solid white; }
.pl-topic-meta { display: flex; justify-content: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pl-topic-meta .form-input { width: auto; min-width: 180px; }
.pl-topic-meta .btn-ghost { color: white; }
.pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pl-hook { background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--hc); padding: 10px; box-shadow: var(--shadow-sm); }
.pl-hook-tag, .pl-cell-tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--hc); margin-bottom: 6px; }
.pl-hook textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--green); resize: vertical; }
.pl-hook textarea:focus { outline: none; border-color: var(--gold); }
.pl-col { display: flex; flex-direction: column; gap: 8px; }
.pl-cell { background: var(--white); border-radius: var(--radius-sm); border-left: 4px solid var(--hc); padding: 8px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; }
.pl-cell .cell { border-color: var(--line-soft); min-width: 0; }
.pl-cell select.cell { font-weight: 700; color: var(--green); }
.pl-cell.made { background: #F3FAF5; }
.pl-made { align-self: flex-start; font-size: 11px; font-weight: 700; color: #17633A; background: #D9F2E1; border: none; border-radius: 999px; padding: 3px 9px; cursor: pointer; }
.pl-big { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; line-height: 1; color: var(--gold); }
.pl-big span { font-size: 22px; color: var(--cream); opacity: 0.7; }

/* ---------- Status board ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 12px; }
.board-col { background: var(--cream-warm); border-radius: var(--radius); padding: 12px; min-height: 260px; }
.board-col.drag-over { outline: 2px dashed var(--gold); }
.board-card { background: var(--white); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--shadow-sm); cursor: grab; border-left: 3px solid var(--sc); font-size: 13px; }
.board-card .t { font-weight: 700; color: var(--green); margin-bottom: 4px; }
.board-card .m { font-size: 11px; color: var(--muted); }

/* ---------- Idea generator results ---------- */
.idea-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.idea-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--sc); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.idea-card .t { font-weight: 700; color: var(--green); }
.idea-card .hook { font-size: 13px; font-style: italic; }
.idea-card .why { font-size: 12px; color: var(--muted); }
.idea-card .acts { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Deals kanban ---------- */
.deal-card .amount { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--green); font-size: 16px; }
.paid-bar { height: 5px; background: var(--cream-warm); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.paid-bar div { height: 100%; background: var(--success); }
.deliv-row { display: grid; grid-template-columns: 28px 1fr 150px 30px; gap: 6px; align-items: center; margin-bottom: 6px; }

/* ---------- Calendar ---------- */
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 0 0 6px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-day { background: var(--white); min-height: 118px; padding: 6px; font-size: 12px; min-width: 0; }
.cal-day.other { background: var(--cream); color: var(--muted); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-day .num { font-weight: 700; margin-bottom: 4px; }
.cal-ev { display: flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 4px; margin-bottom: 3px; cursor: pointer; background: color-mix(in srgb, var(--bc) 13%, white); font-size: 11px; line-height: 1.25; overflow: hidden; }
.cal-ev span.txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.done { opacity: 0.5; text-decoration: line-through; }

/* ---------- Brain dump ---------- */
.notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.note { background: #FFFDF6; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.note.pinned { border-color: var(--gold); background: #FFF8E6; }
.note.done .body { text-decoration: line-through; color: var(--muted); }
.note .body { white-space: pre-wrap; font-size: 14px; }
.note .acts { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.capture { display: flex; gap: 10px; align-items: flex-start; }
.capture textarea { flex: 1; min-height: 52px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .funnel-wrap { grid-template-columns: 1fr; }
  .money-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pl-grid, .fmt-map { grid-template-columns: 1fr 1fr; }
  .pl-hooks, .pl-formats, .pl-about, .pl-topic, .pl-angle { width: 100% !important; }
  .pl-result { width: 70%; }
  .brand-cards { grid-template-columns: 1fr; }
  .funnel-layer { grid-template-columns: 1fr; gap: 8px; }
  .funnel-shape { min-height: 110px; }
  .money-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { padding: 14px 0; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pl-grid, .fmt-map { grid-template-columns: 1fr; }
  .pl-topic-input { font-size: 20px; }
  .main { padding: 16px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .cal-day { min-height: 70px; padding: 3px; }
  .cal-ev .txt { display: none; }
  .deliv-row { grid-template-columns: 28px 1fr 30px; }
  .deliv-row input[type="date"] { grid-column: 2; }
  h1 { font-size: 26px; }
}
