/* Gript Blog -- blog.css */

/* ── Blog colour tokens ───────────────────────────── */
:root {
  --blog-accent:      #2563EB;
  --blog-accent-soft: rgba(37,99,235,.08);
  --blog-bg:          #F9F8F6;
  --blog-ink-2:       #4B5162;
  --blog-ink-3:       #8B929F;
  --blog-line:        #E5E7EC;
  --blog-surface:     #ffffff;
  --blog-font-head:   'Space Grotesk', system-ui, sans-serif;
}

/* ── Shared blog page background ─────────────────── */
.page-template-page-blog,
.single-post,
.archive {
  background: var(--blog-bg);
}

/* ── Archive pagination ───────────────────────────── */
.blog-pager {
  max-width: 1200px;
  margin: -32px auto 0;
  padding: 0 60px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-pager a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blog-accent);
  text-decoration: none;
}
.blog-pager a:hover { text-decoration: underline; }
.blog-pager-prev:empty,
.blog-pager-next:empty { visibility: hidden; }
@media (max-width: 600px) { .blog-pager { padding: 0 24px 60px; } }

/* ── Blog Hero ────────────────────────────────────── */
.blog-hero {
  padding: 100px 60px 64px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--blog-line);
}
.blog-hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blog-accent);
  margin-bottom: 20px;
}
.blog-hero h1 {
  font-family: var(--blog-font-head);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 20px;
}
.blog-hero p {
  font-size: 17px;
  color: var(--blog-ink-2);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Blog Grid ────────────────────────────────────── */
.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 60px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; padding: 40px 24px 80px; } }

/* ── Card ─────────────────────────────────────────── */
.card {
  background: var(--blog-surface);
  border-radius: 16px;
  border: 1px solid var(--blog-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-img {
  height: 200px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img .icon { font-size: 48px; opacity: .7; }
.card-img.green  { background: linear-gradient(135deg,#f0fdf4,#dcfce7); }
.card-img.purple { background: linear-gradient(135deg,#faf5ff,#ede9fe); }
.card-img.orange { background: linear-gradient(135deg,#fff7ed,#fed7aa); }
.card-img.teal   { background: linear-gradient(135deg,#f0fdfa,#ccfbf1); }
.card-img.pink   { background: linear-gradient(135deg,#fdf2f8,#fce7f3); }
.card-img.yellow { background: linear-gradient(135deg,#fefce8,#fef08a); }
.card-img.slate  { background: linear-gradient(135deg,#f8fafc,#e2e8f0); }
.card-img.indigo { background: linear-gradient(135deg,#eef2ff,#c7d2fe); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-tag  {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blog-accent); margin-bottom: 12px;
}
.card-title   { font-family: var(--blog-font-head); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.card-excerpt { font-size: 13.5px; color: var(--blog-ink-2); line-height: 1.65; flex: 1; }
.card-meta    { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--blog-line); display: flex; align-items: center; justify-content: space-between; }
.card-read    { font-size: 12px; color: var(--blog-ink-3); }
.card-arrow   { width: 28px; height: 28px; border-radius: 50%; background: var(--blog-accent-soft); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--blog-accent); }

/* ── Article wrapper ──────────────────────────────── */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 100px;
}
.article-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blog-accent); margin-bottom: 20px;
}
.article-title {
  font-family: var(--blog-font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-deck {
  font-size: 19px; color: var(--blog-ink-2); line-height: 1.65;
  margin-bottom: 28px; font-weight: 400;
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--blog-ink-3);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--blog-line);
  margin-bottom: 48px;
}
.article-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--blog-ink-3); flex-shrink: 0;
}

/* ── Article body typography ──────────────────────── */
.article-body h2 {
  font-family: var(--blog-font-head);
  font-size: 26px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--ink); margin: 52px 0 16px;
}
.article-body p { font-size: 16px; color: var(--blog-ink-2); margin-bottom: 22px; line-height: 1.75; }
.article-body p strong { color: var(--ink); font-weight: 600; }
.article-body ul { margin: 0 0 22px 20px; }
.article-body ul li { font-size: 16px; color: var(--blog-ink-2); margin-bottom: 10px; line-height: 1.65; }
.article-body figure,
.article-body .wp-block-image { margin: 44px 0; }
.article-body figure img,
.article-body .wp-block-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.06);
}
.article-body figcaption,
.article-body .wp-block-image figcaption {
  font-size: 12.5px;
  color: var(--blog-ink-3);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ── Article CTA ──────────────────────────────────── */
.article-cta {
  background: var(--ink);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-top: 64px;
}
.article-cta h3 { font-family: var(--blog-font-head); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.article-cta p  { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.article-cta a  { display: inline-block; padding: 14px 32px; background: #fff; color: var(--ink); border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; }
.article-cta a:hover { background: #f0f0f0; }

/* ── Mockup shell — shared ────────────────────────── */
.mockup {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.06);
  margin: 44px 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.mockup * { box-sizing: border-box; }
.mk-title, .mock-chrome {
  background: #1C1E24;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-dots, .mock-dots { display: flex; gap: 5px; }
.mk-dot, .mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mk-d1 { background: #FF5F57; } .mk-d2 { background: #FEBC2E; } .mk-d3 { background: #28C840; }
.mk-ttl, .mock-title { flex: 1; text-align: center; font-size: 11.5px; color: rgba(255,255,255,.7); }
.mk-body { background: #fff; overflow: hidden; }

/* ── Board table — shared ─────────────────────────── */
.mt-head { display: grid; background: #FDFDFC; border-bottom: 1px solid #E5E7EB; }
.mt-hdr  { background: #F9FAFB; border-bottom: 2px solid #E5E7EB; padding: 0 16px; display: grid; align-items: center; height: 36px; font-size: 11px; font-weight: 600; color: #9CA3AF; text-transform: uppercase; letter-spacing: .5px; gap: 12px; }
.mt-hc   { padding: 9px 10px; font-size: 12px; font-weight: 500; color: #9CA3AF; border-right: 1px solid #E5E7EB; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.mt-hc:last-child { border-right: none; }
.mt-hc.lft { justify-content: flex-start; }
.mt-sort { font-size: 10px; opacity: .5; }
.mt-grp  { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #E5E7EB; border-left: 3px solid #2563EB; font-size: 13px; font-weight: 700; color: #111318; }
.mt-grp.pin { border-left-color: #FDAB3D; }
.mt-grp-name { font-size: 13px; font-weight: 700; color: #111318; }
.mt-grp-count { background: #F1F2F4; padding: 1px 8px; border-radius: 10px; font-size: 11px; color: #6B7280; font-weight: 500; }
.mt-gi   { font-size: 12px; font-weight: 400; color: #9CA3AF; }
.mt-row  { display: grid; border-bottom: 1px solid #E5E7EB; background: #fff; }
.mt-row:last-of-type { border-bottom: none; }
.mt-row.pinned { background: #FFFBEB; }
.mt-row.ov { background: #FFF5F5; }
.mt-cb   { display: flex; justify-content: center; align-items: center; padding: 0 10px; border-right: 1px solid #E5E7EB; }
.mt-chk, .mt-ck { width: 15px; height: 15px; border: 1.5px solid #D1D5DB; border-radius: 3px; flex-shrink: 0; }
.mt-nm   { padding: 10px; color: #111318; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; border-right: 1px solid #E5E7EB; display: flex; align-items: center; gap: 6px; min-width: 0; }
.mt-cl   { padding: 8px 10px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #E5E7EB; }
.mt-cl:last-child { border-right: none; }
.mt-add, .mt-addrow { padding: 8px 12px; font-size: 12.5px; color: #9CA3AF; border-left: 3px solid transparent; background: #fff; border-top: 1px solid #E5E7EB; }
.st { display: block; width: 100%; text-align: center; padding: 5px 6px; border-radius: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st-todo   { background: #F1F2F4; color: #6B7280; }
.st-work   { background: #EBF5FF; color: #579BFC; }
.st-review { background: #FFF3E6; color: #D97706; }
.st-stuck  { background: #FFE8EE; color: #E2445C; }
.st-done   { background: #E6F9F1; color: #00A85D; }
.av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }

/* ── Resource Management mockups ─────────────────── */
.mk-kpi-bar { display: flex; border-bottom: 1px solid #E5E7EB; background: #FDFDFC; }
.mk-kpi { flex: 1; padding: 12px 16px; border-right: 1px solid #E5E7EB; }
.mk-kpi:last-child { border-right: none; }
.mk-kv { font-size: 20px; font-weight: 700; color: #111318; line-height: 1; }
.mk-kv.ok { color: #00C875; } .mk-kv.warn { color: #E8B96E; } .mk-kv.er { color: #E2445C; }
.mk-kl { font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #9CA3AF; margin-top: 4px; }
.mk-pr { display: grid; grid-template-columns: 260px 1fr 130px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #F3F4F6; gap: 12px; background: #fff; }
.mk-pr:last-of-type { border-bottom: none; }
.mk-pr.ov { background: #FFF5F5; }
.mk-pi { display: flex; align-items: center; gap: 10px; }
.mk-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: #fff; flex-shrink: 0; }
.mk-anm { font-size: 12.5px; font-weight: 600; color: #111318; }
.mk-arl { font-size: 11px; color: #9CA3AF; margin-top: 1px; }
.mk-bw { display: flex; flex-direction: column; gap: 4px; }
.mk-bm { font-size: 11px; color: #6B7280; }
.mk-bm .et { color: #E2445C; font-weight: 600; }
.mk-bo { height: 28px; background: #F3F4F6; border-radius: 4px; overflow: hidden; display: flex; position: relative; }
.mk-bs { height: 100%; display: flex; align-items: center; padding: 0 5px; font-size: 10px; font-weight: 500; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; }
.mk-ut { font-size: 18px; font-weight: 700; text-align: center; }
.mk-ul { font-size: 10px; color: #9CA3AF; text-align: center; }
.mk-ut.ok { color: #00C875; } .mk-ut.warn { color: #E8B96E; } .mk-ut.er { color: #E2445C; }
.mk-dp { padding: 20px 24px; }
.mk-dh { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #E5E7EB; }
.mk-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.mk-rn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.mk-rn.ok { color: #00C875; } .mk-rn.warn { color: #E8B96E; } .mk-rn.er { color: #E2445C; }
.mk-dname { font-size: 15px; font-weight: 700; color: #111318; }
.mk-drole { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.mk-dhrs  { font-size: 12px; color: #6B7280; margin-top: 4px; }
.mk-slbl { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9CA3AF; margin: 0 0 8px; }
.mk-ti { padding: 8px 10px; border-radius: 6px; margin-bottom: 6px; }
.mk-ti:last-child { margin-bottom: 0; }
.mk-tn { font-size: 12.5px; font-weight: 600; color: #111318; }
.mk-tm { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; }
.mk-tb { font-size: 11px; color: #6B7280; } .mk-th { font-size: 11px; color: #9CA3AF; }
.mk-ct { width: 100%; border-collapse: collapse; }
.mk-ct th { padding: 10px 12px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #9CA3AF; background: #FDFDFC; border-bottom: 2px solid #E5E7EB; text-align: left; white-space: nowrap; }
.mk-ct td { padding: 10px 12px; border-bottom: 1px solid #F3F4F6; vertical-align: middle; font-size: 12px; }
.mk-ct tr:last-child td { border-bottom: none; }
.mk-ct tr:hover td { background: #FAFBFC; }
.mk-ct tr.ov td { background: #FFF5F5; }
.mk-cb { display: flex; align-items: center; gap: 6px; }
.mk-mb { height: 8px; border-radius: 3px; flex-shrink: 0; }
.mk-hrs { font-size: 12px; color: #374151; font-weight: 500; }
.mk-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.mk-badge.ok { background: #ECFDF5; color: #059669; }
.mk-badge.warn { background: #FFFBEB; color: #D97706; }
.mk-badge.er { background: #FEF2F2; color: #DC2626; }
.mk-pc { display: flex; align-items: center; gap: 9px; }
.mk-em { color: #D1D5DB; text-align: center; }

/* ── Time Tracking mockups ────────────────────────── */
.tmr-live { display: flex; align-items: center; gap: 6px; color: #00C875; font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 600; }
.tmr-dot  { width: 7px; height: 7px; border-radius: 50%; background: #00C875; animation: blink 1.5s ease infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
.tmr-stop  { width: 16px; height: 16px; border-radius: 3px; background: #E2445C; flex-shrink: 0; }
.tmr-log   { color: #6B7280; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tmr-start { display: flex; align-items: center; gap: 5px; color: #D1D5DB; font-size: 12px; }
.tmr-play  { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #D1D5DB; display: flex; align-items: center; justify-content: center; }
.ts-bar    { padding: 10px 16px; font-size: 12px; color: #6B7280; border-bottom: 1px solid #E5E7EB; background: #FDFDFC; display: flex; align-items: center; gap: 16px; }
.ts-filter { background: #F3F4F6; border-radius: 6px; padding: 4px 10px; font-size: 11.5px; color: #374151; font-weight: 500; }
.tsg { display: grid; grid-template-columns: 1fr 52px 52px 52px 52px 52px 68px; }
.tsg-hc   { padding: 8px 6px; font-size: 10.5px; font-weight: 600; color: #9CA3AF; text-align: center; border-right: 1px solid #E5E7EB; border-bottom: 2px solid #E5E7EB; background: #F9FAFB; }
.tsg-hc:first-child { text-align: left; padding-left: 12px; }
.tsg-hc:last-child  { border-right: none; }
.tsg-grp  { grid-column: 1/-1; padding: 6px 12px; background: #F9FAFB; border-bottom: 1px solid #E5E7EB; font-size: 11.5px; font-weight: 700; color: #374151; display: flex; align-items: center; gap: 6px; }
.tsg-nm   { padding: 10px 12px; font-size: 12.5px; color: #111318; font-weight: 500; border-right: 1px solid #E5E7EB; border-bottom: 1px solid #F3F4F6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; flex-direction: column; }
.tsg-nm-sub { font-size: 10.5px; color: #9CA3AF; font-weight: 400; display: block; margin-top: 1px; }
.tsg-dc   { padding: 10px 6px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; border-right: 1px solid #E5E7EB; border-bottom: 1px solid #F3F4F6; color: #2563EB; font-weight: 500; }
.tsg-dc.em { color: #D1D5DB; font-weight: 400; }
.tsg-tot  { padding: 10px 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: #111318; border-bottom: 1px solid #F3F4F6; font-variant-numeric: tabular-nums; }
.tsg-foot { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 52px 52px 52px 52px 52px 68px; background: #F3F4F6; border-top: 2px solid #E5E7EB; }
.tsg-fl   { padding: 10px 12px; font-size: 12px; font-weight: 700; color: #374151; }
.tsg-fd   { padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 700; color: #111318; font-variant-numeric: tabular-nums; border-left: 1px solid #E5E7EB; }
.tsg-fd.em { color: #D1D5DB; font-weight: 400; }
.bill-hdr  { padding: 14px 20px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: space-between; }
.bill-hdr-title { font-size: 14px; font-weight: 700; color: #111318; }
.bill-hdr-sub   { font-size: 12px; color: #9CA3AF; }
.bill-kpis { display: flex; border-bottom: 1px solid #E5E7EB; }
.bill-kpi  { flex: 1; padding: 14px 20px; border-right: 1px solid #E5E7EB; }
.bill-kpi:last-child { border-right: none; }
.bill-kv   { font-size: 18px; font-weight: 700; color: #111318; }
.bill-kv.bl { color: #2563EB; } .bill-kv.nb { color: #9CA3AF; }
.bill-kl   { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #9CA3AF; font-weight: 600; margin-top: 3px; }
.bill-bar-wrap { padding: 14px 20px; border-bottom: 1px solid #E5E7EB; }
.bill-bar-lbl  { display: flex; justify-content: space-between; font-size: 11px; color: #6B7280; margin-bottom: 6px; }
.bill-bar  { height: 12px; border-radius: 6px; background: #F3F4F6; overflow: hidden; display: flex; }
.bill-seg-b  { height: 100%; background: #2563EB; border-radius: 6px 0 0 6px; }
.bill-seg-nb { height: 100%; background: #D1D5DB; }
.bill-row  { display: grid; grid-template-columns: 1fr 60px auto; padding: 10px 20px; border-bottom: 1px solid #F3F4F6; align-items: center; gap: 8px; }
.bill-row:last-child { border-bottom: none; }
.bill-cat  { font-size: 12.5px; font-weight: 500; color: #111318; }
.bill-h    { font-size: 12.5px; color: #374151; text-align: right; font-variant-numeric: tabular-nums; }
.bill-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Approval mockups ─────────────────────────────── */
.ap { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ap-pend  { background: #FFFBEB; color: #D97706; }
.ap-appd  { background: #ECFDF5; color: #059669; }
.ap-rjct  { background: #FEF2F2; color: #DC2626; }
.ap-chng  { background: #EFF6FF; color: #2563EB; }
.ap-draft { background: #F3F4F6; color: #6B7280; }
.ap-panel-row { padding: 12px 16px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 10px; }
.ap-panel-lbl { font-size: 11.5px; color: #6B7280; min-width: 80px; }
.ap-hist  { padding: 16px 20px; }
.ap-hdr   { padding: 16px 20px; border-bottom: 1px solid #E5E7EB; }
.ap-task-title { font-size: 15px; font-weight: 700; color: #111318; margin-bottom: 3px; }
.ap-task-sub   { font-size: 12px; color: #9CA3AF; }
.ap-kpis  { display: flex; gap: 24px; margin-top: 12px; }
.ap-kv    { font-size: 18px; font-weight: 700; color: #111318; }
.ap-kl    { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #9CA3AF; font-weight: 600; margin-top: 2px; }
.ap-hi    { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F3F4F6; align-items: flex-start; }
.ap-hi:last-child { border-bottom: none; }
.ap-hd    { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.ap-hact  { font-size: 12.5px; font-weight: 600; color: #111318; }
.ap-htime { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.ap-hcmt  { margin-top: 7px; font-size: 12px; color: #4B5162; background: #F9FAFB; border-left: 2px solid #E5E7EB; padding: 6px 10px; border-radius: 0 4px 4px 0; font-style: italic; }

/* ── Financials mockups ───────────────────────────── */
.bgt-cell { display: flex; flex-direction: column; align-items: stretch; padding: 7px 10px; border-right: 1px solid #E5E7EB; min-width: 0; justify-content: center; }
.bgt-bar-wrap { width: 100%; height: 5px; background: #F3F4F6; border-radius: 3px; overflow: hidden; margin-bottom: 6px; flex-shrink: 0; }
.bgt-bar-fill { height: 100%; border-radius: 3px; }
.bgt-s { font-size: 11.5px; color: #6B7280; font-variant-numeric: tabular-nums; }
.bgt-r { font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bgt-r.ok { color: #059669; } .bgt-r.warn { color: #D97706; } .bgt-r.er { color: #DC2626; }
.fin-num { font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.fin-num.ok { color: #059669; } .fin-num.er { color: #DC2626; } .fin-num.nt { color: #9CA3AF; }
.pl-hdr  { padding: 16px 20px; border-bottom: 1px solid #E5E7EB; }
.pl-title { font-size: 15px; font-weight: 700; color: #111318; margin-bottom: 2px; }
.pl-sub   { font-size: 12px; color: #9CA3AF; }
.pl-kpis  { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid #E5E7EB; }
.pl-kpi   { padding: 14px 16px; border-right: 1px solid #E5E7EB; }
.pl-kpi:last-child { border-right: none; }
.pl-kv    { font-size: 18px; font-weight: 700; color: #111318; }
.pl-kl    { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #9CA3AF; font-weight: 600; margin-top: 3px; }
.pl-bar-wrap { padding: 14px 20px; border-bottom: 1px solid #E5E7EB; }
.pl-bar-row  { display: flex; justify-content: space-between; font-size: 11px; color: #6B7280; margin-bottom: 6px; }
.pl-bar  { height: 10px; background: #F3F4F6; border-radius: 5px; overflow: hidden; }
.pl-bar-fill { height: 100%; border-radius: 5px; }
.pl-row  { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid #F3F4F6; }
.pl-row:last-child { border-bottom: none; }
.pl-rl   { font-size: 12.5px; color: #374151; display: flex; align-items: center; gap: 8px; }
.pl-rv   { font-size: 12.5px; font-weight: 600; color: #111318; font-variant-numeric: tabular-nums; }
.pl-dot  { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.pf-hdr  { padding: 10px 16px; border-bottom: 1px solid #E5E7EB; background: #FDFDFC; display: flex; align-items: center; justify-content: space-between; }
.pf-row  { display: grid; grid-template-columns: 1fr 180px 80px 90px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #F3F4F6; gap: 12px; }
.pf-row:last-child { border-bottom: none; }
.pf-row:hover { background: #FAFBFC; }
.pf-name { font-size: 13px; font-weight: 600; color: #111318; }
.pf-sub  { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.pf-bar-wrap { display: flex; flex-direction: column; gap: 3px; }
.pf-bar-meta { font-size: 11px; color: #6B7280; }
.pf-bar  { height: 6px; background: #F3F4F6; border-radius: 3px; overflow: hidden; }
.pf-bar-fill { height: 100%; border-radius: 3px; }
.pf-pct  { font-size: 14px; font-weight: 700; text-align: center; }
.pf-pct.ok { color: #059669; } .pf-pct.warn { color: #D97706; } .pf-pct.er { color: #DC2626; }
.pf-badge { display: inline-block; padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; text-align: center; }
.pf-badge.ok { background: #ECFDF5; color: #059669; }
.pf-badge.warn { background: #FFFBEB; color: #D97706; }
.pf-badge.er { background: #FEF2F2; color: #DC2626; }

/* ── Invoicing mockups ────────────────────────────── */
.inv-wrap  { padding: 20px 24px; background: #fff; }
.inv-hdr   { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #E5E7EB; }
.inv-from  { font-size: 11px; color: #6B7280; line-height: 1.7; }
.inv-from strong { display: block; font-size: 13px; font-weight: 700; color: #111318; margin-bottom: 2px; }
.inv-meta  { text-align: right; font-size: 11px; color: #6B7280; line-height: 1.8; }
.inv-num-big { font-size: 16px; font-weight: 700; color: #111318; display: block; margin-bottom: 4px; }
.inv-lbl   { font-weight: 600; color: #374151; }
.inv-billto { margin-bottom: 14px; }
.inv-billto-lbl { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #9CA3AF; margin-bottom: 3px; }
.inv-billto-val { font-size: 12px; color: #374151; line-height: 1.6; }
.inv-tbl   { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 12.5px; }
.inv-tbl th { background: #2563EB; color: #fff; padding: 7px 10px; text-align: right; font-size: 11px; font-weight: 600; }
.inv-tbl th:first-child { text-align: left; }
.inv-tbl td { padding: 8px 10px; color: #374151; border-bottom: 1px solid #F3F4F6; text-align: right; font-variant-numeric: tabular-nums; }
.inv-tbl td:first-child { text-align: left; color: #111318; font-weight: 500; }
.inv-tbl tr:nth-child(even) td { background: #F9FAFB; }
.inv-totals { width: 210px; margin-left: auto; }
.inv-tot-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12.5px; color: #374151; font-variant-numeric: tabular-nums; }
.inv-tot-row.total { border-top: 2px solid #E5E7EB; margin-top: 6px; padding-top: 8px; font-size: 14px; font-weight: 700; color: #111318; }
.pfw-kpis { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid #E5E7EB; }
.pfw-kpi  { padding: 13px 16px; border-right: 1px solid #E5E7EB; }
.pfw-kpi:last-child { border-right: none; }
.pfw-kv   { font-size: 18px; font-weight: 700; color: #111318; font-variant-numeric: tabular-nums; }
.pfw-kl   { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #9CA3AF; margin-top: 2px; }
.pfw-pbar { padding: 12px 20px; border-bottom: 1px solid #E5E7EB; }
.pfw-bar  { height: 8px; background: #F3F4F6; border-radius: 4px; overflow: hidden; margin: 4px 0; }
.pfw-bar-fill { height: 100%; border-radius: 4px; }
.pfw-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #F3F4F6; }
.pfw-card:last-child { border-bottom: none; }
.pfw-nm   { font-size: 13px; font-weight: 600; color: #111318; margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.pfw-nm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pfw-detail { font-size: 11.5px; color: #9CA3AF; margin-top: 3px; }
.pfw-badge { padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pfw-badge.ok { background: #ECFDF5; color: #059669; }
.pfw-badge.warn { background: #FFFBEB; color: #D97706; }
.pfw-badge.er { background: #FEF2F2; color: #DC2626; }
.bgt-h-cell { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-right: 1px solid #E5E7EB; }
.bgt-h-cell:last-child { border-right: none; }
.bgt-h-txt  { display: flex; flex-direction: column; gap: 1px; }
.bgt-h-main { font-size: 12px; font-variant-numeric: tabular-nums; color: #374151; }
.bgt-h-sub  { font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bgt-h-sub.ok { color: #059669; } .bgt-h-sub.warn { color: #D97706; } .bgt-h-sub.er { color: #DC2626; }

/* ── Pin feature mockups ──────────────────────────── */
.grp-sep  { height: 1px; margin: 4px 12px 10px; background: #E5E7EB; opacity: .6; }
.pin-away { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: #F5A623; background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.28); border-radius: 10px; padding: 1px 7px; margin-left: auto; flex-shrink: 0; }
.from-cell { padding: 8px 10px; font-size: 12px; color: #6B7280; border-right: 1px solid #E5E7EB; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; }
.g-group-hdr { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #111318; background: #F9FAFB; border-bottom: 1px solid #E5E7EB; }
.g-col-hdr   { display: grid; align-items: center; background: #F9FAFB; border-bottom: 1px solid #E5E7EB; font-size: 11px; font-weight: 600; color: #9CA3AF; min-height: 32px; }
.g-col-hdr .g-cell { min-height: 32px; }
.g-row       { display: grid; align-items: center; border-bottom: 1px solid #E5E7EB; font-size: 12px; min-height: 40px; background: #fff; }
.g-row:last-of-type { border-bottom: none; }
.g-cell      { padding: 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; min-height: 40px; }
.g-cell.name { font-weight: 500; color: #111318; }
.g-cell.center { justify-content: center; }
.g-av        { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.from-pill   { display: inline-flex; align-items: center; gap: 5px; background: #F3F4F6; border-radius: 20px; padding: 2px 8px 2px 5px; border: 1px solid #E5E7EB; font-size: 10.5px; color: #6B7280; font-weight: 500; white-space: nowrap; }
.from-pill .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ctx-wrap  { position: relative; padding: 0; }
.ctx-menu  { position: absolute; right: 16px; top: 0; background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.13); min-width: 220px; padding: 5px 0; z-index: 10; }
.ctx-item  { padding: 7px 14px; font-size: 12.5px; color: #374151; display: flex; align-items: center; gap: 10px; cursor: default; white-space: nowrap; }
.ctx-item:hover, .ctx-item.active { background: #EFF6FF; color: #2563EB; }
.ctx-item.active { font-weight: 600; }
.ctx-sc    { margin-left: auto; font-size: 10px; color: #9CA3AF; }
.ctx-arr   { margin-left: auto; font-size: 9px; color: #9CA3AF; }
.ctx-sep   { height: 1px; background: #E5E7EB; margin: 4px 10px; }
.ctx-item.danger { color: #DC2626; }
.ctx-item.danger:hover { background: #FEF2F2; }
.ctx-icon  { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; color: #6B7280; flex-shrink: 0; }
.ctx-item.active .ctx-icon { color: currentColor; }
.row-acts { display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: 8px; }
.row-pin  { width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }

/* ── Sticky Notes mockups ─────────────────────────── */
.sn-canvas { position: relative; }
.sn-note   { position: absolute; border-radius: 6px; box-shadow: 2px 3px 12px rgba(0,0,0,.15); display: flex; flex-direction: column; min-width: 180px; z-index: 5; user-select: none; }
.sn-hdr    { padding: 6px 8px 4px; display: flex; align-items: center; gap: 4px; border-radius: 6px 6px 0 0; flex-shrink: 0; }
.sn-hdr-txt { font-size: 11px; font-weight: 600; color: rgba(0,0,0,.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; font-family: 'Inter', sans-serif; }
.sn-hdr-btns { display: flex; gap: 1px; flex-shrink: 0; }
.sn-hdr-btn  { width: 20px; height: 20px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: rgba(0,0,0,.45); cursor: pointer; background: rgba(0,0,0,.07); font-family: 'Inter', sans-serif; }
.sn-body-area { flex: 1; padding: 2px 10px 10px; font-size: 14px; color: rgba(0,0,0,.85); line-height: 1.5; }
.sn-toolbar  { padding: 4px 8px; display: flex; align-items: center; gap: 3px; border-top: 1px solid rgba(0,0,0,.1); flex-shrink: 0; }
.sn-tb-btn   { width: 20px; height: 20px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: rgba(0,0,0,.5); background: rgba(0,0,0,.04); font-family: 'Inter', sans-serif; }
.sn-tb-btn.on { background: rgba(0,0,0,.14); }
.sn-picker   { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.13); padding: 8px 10px; display: flex; gap: 6px; position: absolute; top: -46px; right: 0; z-index: 20; }
.sn-swatch   { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 2.5px solid transparent; flex-shrink: 0; }
.sn-swatch.sel { border-color: rgba(0,0,0,.35); }
.sn-yellow { background: #FFF9C4; } .sn-blue   { background: #BBDEFB; }
.sn-green  { background: #C8E6C9; } .sn-pink   { background: #F8BBD0; }
.sn-orange { background: #FFE0B2; } .sn-purple { background: #E1BEE7; }
.sn-white  { background: #F5F5F5; } .sn-cyan   { background: #B2EBF2; }

/* ── Notebooks mockups ────────────────────────────── */
.nb-wrap   { display: flex; height: 400px; }
.nb-sb     { width: 176px; background: #F9FAFB; border-right: 1px solid #E5E7EB; flex-shrink: 0; overflow: hidden; display: flex; flex-direction: column; }
.nb-sb-top { padding: 11px 14px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 8px; }
.nb-sb-team { font-size: 13px; font-weight: 700; color: #111318; }
.nb-it     { padding: 7px 14px; font-size: 12.5px; color: #6B7280; display: flex; align-items: center; gap: 7px; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nb-it:hover { background: #F3F4F6; color: #111318; }
.nb-it.sel  { background: #EEF2FF; color: #4F46E5; font-weight: 600; }
.nb-sec    { padding: 10px 14px 4px; font-size: 10px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .8px; }
.nb-editor { flex: 1; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.nb-tb     { padding: 8px 14px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 6px; background: #fff; flex-shrink: 0; }
.nb-tbx    { padding: 4px 7px; border-radius: 4px; font-size: 12.5px; color: #374151; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.nb-tbx:hover { background: #F3F4F6; }
.nb-sep    { width: 1px; height: 14px; background: #E5E7EB; flex-shrink: 0; }
.nb-cnt    { flex: 1; padding: 18px 22px; overflow: auto; background: #fff; }
.nb-bc     { font-size: 11px; color: #9CA3AF; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.nb-h1     { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: #111318; letter-spacing: -.5px; margin-bottom: 10px; line-height: 1.2; }
.nb-h2     { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: #111318; margin: 14px 0 7px; letter-spacing: -.3px; }
.nb-p      { font-size: 13px; color: #4B5162; line-height: 1.65; margin-bottom: 10px; }
.nb-ul     { margin: 0 0 10px 16px; }
.nb-ul li  { font-size: 13px; color: #4B5162; margin-bottom: 5px; line-height: 1.5; }
.nb-pill-row { padding: 9px 14px; border-bottom: 1px solid #E5E7EB; }
.nb-pill   { display: flex; background: #F3F4F6; border-radius: 6px; padding: 2px; }
.nb-pill-opt { flex: 1; text-align: center; padding: 4px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 500; color: #6B7280; cursor: pointer; }
.nb-pill-on  { background: #fff; color: #111318; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.nb-tbl    { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 8px 0; }
.nb-tbl th { background: #F9FAFB; padding: 7px 10px; text-align: left; font-weight: 600; color: #374151; border: 1px solid #E5E7EB; }
.nb-tbl td { padding: 7px 10px; color: #4B5162; border: 1px solid #E5E7EB; }
.nb-emb    { border: 1.5px solid #E5E7EB; border-radius: 8px; overflow: hidden; margin: 10px 0; }
.nb-emb-h  { background: #F9FAFB; padding: 8px 12px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: space-between; }
.nb-emb-t  { font-size: 12px; font-weight: 600; color: #374151; display: flex; align-items: center; gap: 5px; }
.nb-live   { font-size: 10px; font-weight: 700; color: #059669; background: #ECFDF5; padding: 2px 7px; border-radius: 10px; }
.nb-emb-r  { padding: 8px 12px; border-bottom: 1px solid #F3F4F6; display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.nb-emb-r:last-child { border-bottom: none; }
.nb-emb-n  { flex: 1; color: #111318; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── SLA mockups ──────────────────────────────────── */
.sla-st    { display: block; width: 100%; text-align: center; padding: 5px 6px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.sla-new   { background: #EDE9FE; color: #5B21B6; }
.sla-await { background: #FFEDD5; color: #C2410C; }
.sla-res   { background: #DCFCE7; color: #16A34A; }
.sla-closed{ background: #DCFCE7; color: #16A34A; }
.sla-pri   { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sla-p1 { color: #DC2626; } .sla-p2 { color: #EA580C; } .sla-p3 { color: #CA8A04; }
.sla-cell  { display: flex; flex-direction: column; justify-content: space-between; padding: 0; border-right: 1px solid #E5E7EB; min-width: 0; }
.sla-cell:last-child { border-right: none; }
.sla-line  { display: flex; align-items: center; gap: 5px; padding: 8px 10px; font-size: 12px; white-space: nowrap; overflow: hidden; flex: 1; }
.sla-bar   { height: 3px; width: 100%; flex-shrink: 0; }
.sla-bar.dark  { background: #111318; }
.sla-bar.red   { background: #E2445C; }
.sla-bar.amber { background: #E8B96E; }
.sla-bar.green { background: #00C875; }
.sla-bar.grey  { background: #D1D5DB; }
.tpl-body  { background: #fff; padding: 22px; }
.tpl-body-h   { font-size: 14px; font-weight: 700; color: #111318; margin-bottom: 3px; }
.tpl-body-sub { font-size: 12px; color: #9CA3AF; margin-bottom: 18px; }
.tpl-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.tpl-card  { border: 1.5px solid #E5E7EB; border-radius: 8px; padding: 13px 12px; cursor: pointer; position: relative; }
.tpl-card.sel { border-color: #2563EB; background: #F0F5FF; }
.tpl-card-icon { font-size: 19px; margin-bottom: 5px; display: block; }
.tpl-card-name { font-size: 12.5px; font-weight: 600; color: #111318; margin-bottom: 2px; }
.tpl-card-desc { font-size: 11px; color: #9CA3AF; line-height: 1.4; }
.tpl-chk   { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: #2563EB; display: none; align-items: center; justify-content: center; }
.tpl-card.sel .tpl-chk { display: flex; }
/* Analytics */
.ana-filter-bar { background: #fff; border-bottom: 1px solid #E5E7EB; padding: 12px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ana-fg  { display: flex; flex-direction: column; gap: 4px; }
.ana-fg-lbl { font-size: 9.5px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .6px; }
.ana-filter-pill { display: flex; align-items: center; gap: 5px; border: 1px solid #E5E7EB; border-radius: 6px; padding: 5px 10px; font-size: 12px; color: #374151; background: #fff; cursor: pointer; white-space: nowrap; }
.ana-filter-pill .arr { color: #9CA3AF; font-size: 10px; margin-left: 2px; }
.ana-seg-row { display: flex; border: 1px solid #E5E7EB; border-radius: 6px; overflow: hidden; }
.ana-seg { padding: 5px 9px; font-size: 11.5px; color: #6B7280; background: #fff; border-right: 1px solid #E5E7EB; cursor: pointer; white-space: nowrap; }
.ana-seg:last-child { border-right: none; }
.ana-seg.on-dark { background: #111318; color: #fff; font-weight: 600; }
.ana-seg.on-blue { background: #2563EB; color: #fff; font-weight: 600; }
.ana-cards { display: grid; grid-template-columns: repeat(6,1fr); background: #fff; border-bottom: 1px solid #E5E7EB; }
.ana-card  { padding: 14px 14px 12px; border-right: 1px solid #E5E7EB; }
.ana-card:last-child { border-right: none; }
.ana-card-lbl { font-size: 9.5px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.ana-card-val { font-size: 22px; font-weight: 800; line-height: 1; margin-bottom: 3px; color: #111318; }
.ana-card-val.red    { color: #DC2626; }
.ana-card-val.green  { color: #00A85D; }
.ana-card-val.orange { color: #EA580C; }
.ana-card-val.blue   { color: #2563EB; }
.ana-card-sub { font-size: 11px; color: #9CA3AF; }
.ana-tabs { display: flex; background: #fff; border-bottom: 1px solid #E5E7EB; padding: 0 20px; }
.ana-tab  { padding: 11px 14px; font-size: 12.5px; font-weight: 500; color: #9CA3AF; border-bottom: 2px solid transparent; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ana-tab.on { color: #111318; border-bottom-color: #111318; font-weight: 600; }
.ana-tab-badge { background: #F1F2F4; padding: 1px 7px; border-radius: 10px; font-size: 11px; color: #6B7280; }
.ana-body-cols { display: grid; grid-template-columns: 1fr 256px; background: #F9FAFB; }
.ana-sb    { padding: 18px 20px; border-right: 1px solid #E5E7EB; background: #fff; }
.ana-sb-title { font-size: 13px; font-weight: 700; color: #111318; display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.ana-sb-sub   { font-size: 11px; color: #9CA3AF; margin-bottom: 16px; }
.ana-sec-lbl  { font-size: 9.5px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.ana-team-row { display: grid; grid-template-columns: 1fr 48px 64px 80px; gap: 0; border-bottom: 1px solid #F3F4F6; align-items: center; }
.ana-team-row.hd { margin-bottom: 4px; }
.ana-team-hc  { font-size: 9.5px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .5px; padding: 5px 6px; }
.ana-team-hc.r { text-align: right; }
.ana-team-cell { padding: 7px 6px; font-size: 12.5px; color: #374151; }
.ana-team-cell.r { text-align: right; }
.ana-team-name { font-weight: 600; color: #111318; }
.ana-score-wrap { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.ana-mini-bar   { height: 4px; background: #E5E7EB; border-radius: 2px; overflow: hidden; width: 44px; }
.ana-mini-fill  { height: 100%; border-radius: 2px; }
.ana-person-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.ana-person-table th { font-size: 9.5px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .5px; padding: 5px 6px; border-bottom: 1px solid #E5E7EB; text-align: left; }
.ana-person-table th.r { text-align: right; }
.ana-person-table td { font-size: 12px; padding: 7px 6px; border-bottom: 1px solid #F3F4F6; color: #374151; vertical-align: middle; }
.ana-person-table tr:last-child td { border-bottom: none; }
.ana-pc    { display: flex; align-items: center; gap: 7px; }
.ana-av    { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }
.ana-pname { font-size: 12px; font-weight: 600; color: #111318; }
.ana-pemail{ font-size: 10.5px; color: #9CA3AF; }
.ana-right-col { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ana-eb-card  { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; padding: 14px; }
.ana-eb-top   { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.ana-eb-label { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #111318; }
.ana-eb-period { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.ana-eb-pct   { font-size: 20px; font-weight: 800; color: #2563EB; }
.ana-eb-bar-wrap { height: 5px; background: #E5E7EB; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.ana-eb-fill  { height: 100%; border-radius: 3px; background: linear-gradient(90deg,#2563EB,#60A5FA); }
.ana-eb-stats { display: flex; gap: 0; border-top: 1px solid #F3F4F6; padding-top: 8px; }
.ana-ebs      { flex: 1; text-align: center; }
.ana-ebs-val  { font-size: 14px; font-weight: 700; color: #111318; }
.ana-ebs-val.green { color: #00A85D; } .ana-ebs-val.red { color: #DC2626; }
.ana-ebs-lbl  { font-size: 9.5px; color: #9CA3AF; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-top: 1px; }
.ana-wm-card  { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; padding: 14px; }
.ana-wm-title { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #111318; margin-bottom: 2px; }
.ana-wm-sub   { font-size: 11px; color: #9CA3AF; margin-bottom: 10px; }
.ana-wm-ok    { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: #374151; line-height: 1.5; }

/* ── Back to blog link ────────────────────────────── */
.blog-back-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 0;
}
.blog-back {
  font-size: 13.5px;
  color: var(--blog-ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-back:hover { color: var(--ink); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .blog-hero { padding: 90px 24px 48px; }
  .blog-hero h1 { letter-spacing: -1px; }
  .article-wrap { padding: 90px 20px 80px; }
  .article-cta { padding: 36px 24px; }
  .ana-cards { grid-template-columns: repeat(3,1fr); }
  .ana-body-cols { grid-template-columns: 1fr; }
  .ana-right-col { display: none; }
  .tpl-grid { grid-template-columns: repeat(2,1fr); }
  .mk-pr { grid-template-columns: 1fr 100px; }
}
@media (max-width: 480px) {
  .mockup { font-size: 11px; }
  .ana-cards { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════════════════════
   NOTEBOOKS ARTICLE — all styles for the notebooks post
   ══════════════════════════════════════════════════════════ */

/* App token aliases used inside mockups */
.mockup {
  --g-tx:  #111318;
  --g-tx2: #4B5162;
  --g-txm: #8B929F;
  --g-tl:  #5E6AD2;
  --g-sf:  #ffffff;
  --g-sf2: #F9FAFB;
  --g-bd:  #E5E7EB;
  --g-bd2: #D1D5DB;
}

/* Chrome bar (light macOS style, overrides the dark default for notebook mockups) */
.mk-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: #F3F2F5;
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}
.mk-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: #5E6AD2;
  background: rgba(94,106,210,.12);
  border: 1px solid rgba(94,106,210,.25);
  border-radius: 20px; padding: 2px 9px;
}
.mk-chrome .mk-ttl { color: #8B929F; }

/* Status chips */
.g-chip         { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.g-chip.working { background: #EBF5FF; color: #579BFC; }
.g-chip.review  { background: #FFF3E6; color: #D97706; }
.g-chip.done    { background: #E6F9F1; color: #00A85D; }
.g-chip.todo    { background: #F1F2F4; color: #6B7280; }
.g-chip.stuck   { background: #FFE8EE; color: #E2445C; }

/* Animations */
@keyframes nb-pulse   { 0%,100%{opacity:1} 50%{opacity:.45} }
@keyframes nb-slidein { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* Pull quote */
.pullquote   { border-left: 3px solid #5E6AD2; margin: 40px 0; padding: 4px 0 4px 28px; }
.pullquote p { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.4px; line-height: 1.4; color: #111318; margin: 0 !important; }

/* Teaser list */
.teaser-list         { background: #fff; border: 1px solid #E5E7EC; border-radius: 16px; padding: 28px 32px; margin: 40px 0; }
.teaser-list h3      { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8B929F; margin-bottom: 16px; }
.teaser-item         { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid #E5E7EC; }
.teaser-item:last-child { border-bottom: none; }
.teaser-num          { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 800; color: #5E6AD2; flex-shrink: 0; width: 20px; }
.teaser-text         { font-size: 15px; color: #4B5162; line-height: 1.5; }
.teaser-text strong  { color: #111318; }

/* Accent colour for this article */
.article-body p em   { font-style: normal; color: #5E6AD2; font-weight: 600; }

/* ════════════════════════════════════
   THREE-PANE MOCKUP  (.nb-3p)
   ════════════════════════════════════ */
.nb-3p     { display: flex; height: 460px; }

/* Left dark sidebar */
.nb-sb     { width: 184px; background: #1C1F27; border-right: 1px solid #0E1016; display: flex; flex-direction: column; flex-shrink: 0; }
.nb-sb-hdr { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 8px; }
.nb-sb-av  { width: 24px; height: 24px; border-radius: 6px; background: #5E6AD2; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.nb-sb-ws  { font-size: 11.5px; font-weight: 700; color: #fff; }
.nb-sb-ws-s{ font-size: 9.5px; color: rgba(255,255,255,.38); }
.nb-lbl    { padding: 12px 14px 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.nb-list   { flex: 1; overflow: hidden; padding: 0 8px; display: flex; flex-direction: column; gap: 1px; }
.nb-nb     { padding: 6px 8px; border-radius: 5px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 11.5px; }
.nb-nb.on  { background: rgba(94,106,210,.18); color: #fff; font-weight: 600; border-left: 2px solid #5E6AD2; padding-left: 6px; }
.nb-nb-ico { width: 18px; height: 18px; border-radius: 4px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.nb-nb.on .nb-nb-ico { background: #5E6AD2; }
.nb-nb-ct  { margin-left: auto; font-size: 10px; color: rgba(255,255,255,.28); }
.nb-nb.on .nb-nb-ct  { color: rgba(255,255,255,.5); }
.nb-shared-lbl { padding: 10px 8px 4px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.28); }
.nb-foot   { padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.38); display: flex; align-items: center; gap: 6px; }
.nb-dot    { width: 6px; height: 6px; border-radius: 50%; background: #5E6AD2; }

/* Middle sections pane */
.nb-mid      { width: 208px; background: #F9FAFB; border-right: 1px solid #E5E7EB; display: flex; flex-direction: column; flex-shrink: 0; }
.nb-mid-hdr  { padding: 12px 13px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 8px; }
.nb-mid-av   { width: 26px; height: 26px; border-radius: 6px; background: #5E6AD2; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.nb-mid-name { font-size: 12px; font-weight: 700; color: #111318; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-mid-sub  { font-size: 10px; color: #8B929F; }
.nb-tabs     { display: flex; border-bottom: 1px solid #E5E7EB; background: #fff; }
.nb-tab      { flex: 1; padding: 8px 0; text-align: center; font-size: 11px; font-weight: 600; }
.nb-tab.on   { color: #111318; border-bottom: 2px solid #111318; }
.nb-tab.off  { color: #8B929F; }
.nb-mid-body { flex: 1; overflow: hidden; padding: 6px 8px; display: flex; flex-direction: column; gap: 1px; }
.nb-sec      { padding: 6px 8px; border-radius: 5px; display: flex; align-items: center; gap: 7px; color: #4B5162; font-size: 11.5px; }
.nb-sec.on   { color: #5E6AD2; font-weight: 700; background: rgba(94,106,210,.08); }
.nb-caret    { font-size: 9px; color: #8B929F; }
.nb-caret.open { color: #5E6AD2; }
.nb-ct       { margin-left: auto; font-size: 10px; color: #8B929F; }
.nb-ct.on    { color: #5E6AD2; font-weight: 600; }
.nb-pg       { padding: 5px 8px 5px 24px; border-radius: 5px; display: flex; align-items: center; gap: 6px; color: #4B5162; font-size: 11px; }
.nb-pg.on    { color: #111318; font-weight: 700; background: #fff; border-left: 2px solid #5E6AD2; }

/* Right editor pane */
.nb-ed       { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; min-width: 0; }
.nb-ed-top   { padding: 9px 18px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #8B929F; flex-shrink: 0; }
.nb-crumb-sep{ opacity: .5; }
.nb-ed-r     { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nb-link-pill{ display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 20px; background: rgba(94,106,210,.1); border: 1px solid rgba(94,106,210,.22); font-size: 10px; font-weight: 600; color: #5E6AD2; }
.nb-avs      { display: flex; }
.nb-av       { border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #fff; }
.nb-live     { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: #16a34a; font-weight: 600; }
.nb-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: nb-pulse 1.8s infinite; }

/* Toolbar */
.nb-tb       { padding: 5px 12px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 2px; flex-shrink: 0; background: #fff; overflow: hidden; }
.nb-b        { height: 26px; min-width: 26px; border-radius: 4px; border: none; background: none; cursor: pointer; color: #8B929F; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-family: 'Inter', sans-serif; padding: 0 4px; }
.nb-b.hl     { background: rgba(94,106,210,.1); color: #5E6AD2; }
.nb-tsep     { width: 1px; height: 16px; background: #E5E7EB; margin: 0 3px; flex-shrink: 0; }
.nb-fsel     { height: 26px; border: 1px solid #E5E7EB; border-radius: 4px; font-size: 11px; color: #4B5162; background: #fff; padding: 0 5px; font-family: 'Inter', sans-serif; }
.nb-emb-tb   { height: 26px; padding: 0 9px; border-radius: 4px; border: 1px solid rgba(94,106,210,.3); background: rgba(94,106,210,.08); font-size: 11px; font-weight: 700; color: #5E6AD2; display: inline-flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; cursor: pointer; }
.nb-diag-tb  { height: 26px; padding: 0 9px; border-radius: 4px; border: 1px solid rgba(94,106,210,.22); background: #fff; font-size: 11px; font-weight: 600; color: #5E6AD2; display: inline-flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; cursor: pointer; margin-left: 2px; }

/* Editor content */
.nb-body     { flex: 1; padding: 26px 38px 0; overflow: hidden; position: relative; }
.nb-title    { font-size: 27px; font-weight: 800; letter-spacing: -1px; color: #111318; line-height: 1.08; margin-bottom: 6px; }
.nb-byline   { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; font-size: 11.5px; color: #8B929F; }
.nb-byline-av{ width: 18px; height: 18px; border-radius: 50%; background: #5E6AD2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; }
.nb-prose    { font-size: 13.5px; color: #4B5162; line-height: 1.7; margin-bottom: 14px; }
.nb-ck       { margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.nb-ck-row   { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #4B5162; line-height: 1.5; }
.nb-ck-box   { width: 15px; height: 15px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.nb-ck-box.y { background: #16a34a; }
.nb-ck-box.n { border: 1.5px solid #D1D5DB; background: #fff; }
.nb-fade     { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(transparent, #fff); pointer-events: none; }

/* Live embed */
.nb-emb      { border: 1px solid rgba(94,106,210,.32); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(94,106,210,.07); }
.nb-emb-hdr  { padding: 8px 13px; background: linear-gradient(90deg, rgba(94,106,210,.07), rgba(94,106,210,.02)); border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; gap: 7px; }
.nb-emb-name { font-size: 11.5px; font-weight: 700; color: #111318; }
.nb-live-chip{ font-size: 9.5px; font-weight: 700; color: #16a34a; background: rgba(22,163,74,.12); padding: 2px 7px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; letter-spacing: .3px; text-transform: uppercase; }
.nb-live-chip-d { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; animation: nb-pulse 1.8s infinite; }
.nb-open-link{ margin-left: auto; font-size: 10px; font-weight: 600; color: #5E6AD2; white-space: nowrap; }
.nb-col-hdr  { display: grid; grid-template-columns: 1fr 88px 96px 60px; background: #FDFDFC; border-bottom: 1px solid #E5E7EB; }
.nb-hc       { padding: 6px 10px; font-size: 10.5px; font-weight: 500; color: #8B929F; }
.nb-hc.c     { text-align: center; }
.nb-dr       { display: grid; grid-template-columns: 1fr 88px 96px 60px; border-bottom: 1px solid #F3F4F6; }
.nb-dr:last-child { border-bottom: none; }
.nb-dc       { padding: 7px 10px; font-size: 12px; color: #4B5162; display: flex; align-items: center; }
.nb-dc.c     { justify-content: center; }
.nb-dc.nm    { font-weight: 500; color: #111318; }
.nb-rav      { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #fff; }

/* ════════════════════════════════════
   BUBBLE MENU MOCKUP  (.bubble-wrap)
   ════════════════════════════════════ */
.bubble-wrap { background: #fff; padding: 30px 38px 24px; position: relative; min-height: 300px; overflow: hidden; }
.bw-title    { font-size: 25px; font-weight: 800; letter-spacing: -.8px; color: #111318; margin-bottom: 14px; }
.bw-prose    { font-size: 13.5px; color: #4B5162; line-height: 1.75; margin-bottom: 10px; }
.bw-ul       { margin: 0 0 12px 18px; }
.bw-ul li    { font-size: 13.5px; color: #4B5162; margin-bottom: 8px; line-height: 1.6; }
.bw-hl       { background: rgba(94,106,210,.17); color: #111318; border-radius: 2px; display: inline; }
.bubble      { position: absolute; display: inline-flex; align-items: center; gap: 3px; background: #1C1F27; border-radius: 8px; padding: 4px 5px; box-shadow: 0 6px 18px rgba(0,0,0,.24); animation: nb-slidein .25s ease; }
.bb-btn      { height: 28px; padding: 0 10px; border-radius: 5px; border: none; font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; font-family: 'Inter', sans-serif; cursor: pointer; }
.bb-primary  { background: #5E6AD2; color: #fff; }
.bb-plain    { background: transparent; color: rgba(255,255,255,.6); font-weight: 600; }
.bb-sep      { width: 1px; height: 18px; background: rgba(255,255,255,.12); }
.task-card   { position: absolute; right: 24px; top: 24px; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.13); padding: 16px; width: 228px; animation: nb-slidein .3s .1s both; }
.tc-hdr      { font-size: 11.5px; font-weight: 700; color: #111318; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.tc-field    { border: 1.5px solid #5E6AD2; border-radius: 6px; padding: 7px 9px; font-size: 11.5px; color: #111318; margin-bottom: 8px; font-family: 'Inter', sans-serif; width: 100%; outline: none; background: #fff; }
.tc-lbl      { font-size: 10px; font-weight: 600; color: #8B929F; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .4px; }
.tc-pick     { border: 1px solid #E5E7EB; border-radius: 6px; padding: 6px 9px; font-size: 11px; color: #4B5162; display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.tc-pick-av  { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; color: #fff; flex-shrink: 0; }
.tc-cta      { width: 100%; background: #5E6AD2; color: #fff; border: none; border-radius: 7px; padding: 9px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; }

/* Responsive */
@media (max-width: 768px) {
  .nb-3p { height: auto; overflow-x: auto; }
  .nb-sb  { width: 160px; }
  .nb-mid { width: 180px; }
  .bubble-wrap { padding: 24px 20px; min-height: 360px; }
  .task-card { width: 200px; right: 10px; }
  .teaser-list { padding: 20px; }
}
@media (max-width: 480px) {
  .nb-mid { display: none; }
  .nb-sb  { width: 140px; }
}
