/* ============================================================
   Solution DETAIL page template (reusable across all solution
   detail pages). Builds on site-modern.css tokens.
   All classes namespaced `sd-` to avoid collisions.
   Design: dark charcoal hero + light body.
   ============================================================ */

.sd {
  --char:     #343434;
  --char-mid: #404040;
  --peach:    #FFF1EB;       /* soft orange tint for icon backgrounds */
  --green:    #1B8751;
  --green-bg: #E6FAF0;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.sd-breadcrumb {
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.sd-breadcrumb .mw { display: flex; gap: 7px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.sd-breadcrumb a:hover { color: var(--orange); }
.sd-breadcrumb .here { color: var(--orange); font-weight: 600; }

/* ── Hero (dark charcoal) ────────────────────────────────── */
.sd-hero {
  background: linear-gradient(135deg, var(--char) 0%, var(--char-mid) 60%, #4A4A4A 100%);
  color: #fff; position: relative; overflow: hidden;
}
.sd-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 460px; height: 460px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,115,40,.22) 0%, transparent 70%);
}
.sd-hero-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center;
  padding-top: 86px; padding-bottom: 80px; position: relative; z-index: 1;
}
.sd-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,115,40,.18); border: 1px solid rgba(240,115,40,.38);
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #FFAA85; margin-bottom: 20px;
}
.sd-hero-eyebrow svg { width: 14px; height: 14px; fill: #FFAA85; }
.sd-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.12; letter-spacing: -.04em; margin-bottom: 16px; }
.sd-hero h1 em { font-style: normal; color: var(--orange); }
.sd-hero-sub { font-size: 17px; color: rgba(255,255,255,.74); line-height: 1.7; margin-bottom: 34px; max-width: 480px; }
.sd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.sd-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; padding: 13px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; box-shadow: 0 4px 18px rgba(240,115,40,.40);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.sd-btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(240,115,40,.5); }
.sd-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
  padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: background .2s;
}
.sd-btn-ghost:hover { background: rgba(255,255,255,.18); }

/* hero visual (placeholder UI — to be replaced with a screengrab) */
.sd-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.sd-screen { background: #fff; border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,.45); overflow: hidden; width: 100%; }
.sd-screen-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.sd-dot { width: 11px; height: 11px; border-radius: 50%; }
.sd-dot.r { background: #FF5F56; } .sd-dot.y { background: #FFBD2E; } .sd-dot.g { background: #27C93F; }
.sd-screen-body { padding: 20px 20px 24px; }
.sd-upload { border: 2px dashed var(--border); border-radius: 12px; padding: 30px 20px; text-align: center; background: var(--bg-soft); margin-bottom: 16px; }
.sd-upload-icon { width: 48px; height: 48px; background: var(--peach); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.sd-upload-icon svg { width: 24px; height: 24px; fill: var(--orange); }
.sd-upload h4 { font-size: 14px; font-weight: 600; color: var(--char); margin-bottom: 4px; }
.sd-upload p { font-size: 12.5px; color: var(--text-muted); }
.sd-prog-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-sub); margin-bottom: 6px; }
.sd-prog-bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.sd-prog-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), #FF8A5C); }
.sd-minitable { width: 100%; border-collapse: collapse; font-size: 12px; }
.sd-minitable th { color: var(--text-muted); font-weight: 600; text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.sd-minitable td { padding: 7px 8px; color: var(--text-sub); border-bottom: 1px solid var(--border); }
.sd-minitable tr:last-child td { border-bottom: none; }
.sd-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.sd-badge.green { background: var(--green-bg); color: var(--green); }
.sd-badge.orange { background: var(--peach); color: var(--orange); }
.sd-chip { position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--char); }
.sd-chip .sub { font-size: 11.5px; color: var(--text-muted); font-weight: 400; }
.sd-chip-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.sd-chip-icon svg { width: 18px; height: 18px; }
.sd-chip.tl { top: -8px; left: -22px; }
.sd-chip.tr { top: -18px; right: -22px; }
.sd-chip.br { bottom: -18px; right: -20px; }

/* ── Stats strip (orange) ────────────────────────────────── */
.sd-stats { background: var(--orange); }
.sd-stats .mw { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; padding-top: 32px; padding-bottom: 32px; }
.sd-stat { color: #fff; padding: 0 20px; }
.sd-stat + .sd-stat { border-left: 1px solid rgba(255,255,255,.28); }
.sd-stat-num { font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.sd-stat-label { font-size: 13.5px; opacity: .9; margin-top: 6px; }

/* ── Section wrapper ─────────────────────────────────────── */
.sd-section { padding: 80px 0; }
.sd-section.alt { background: var(--bg-soft); }
.sd-cardband { background-color: #EDEFF3; background-image: radial-gradient(rgba(15,23,42,0.08) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.sd-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.sd-title { font-size: 33px; font-weight: 800; letter-spacing: -.035em; color: var(--char); line-height: 1.2; margin-bottom: 14px; }
.sd-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; max-width: 580px; }

/* ── How it works ────────────────────────────────────────── */
.sd-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 50px; }
.sd-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: box-shadow .2s, transform .2s; }
.sd-step:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.sd-step-n { width: 40px; height: 40px; border-radius: 10px; background: var(--peach); color: var(--orange); font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sd-step h3 { font-size: 16px; font-weight: 700; color: var(--char); margin-bottom: 8px; }
.sd-step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.sd-step-arrow { position: absolute; top: 30px; right: -21px; color: var(--orange); font-size: 30px; font-weight: 700; line-height: 1; }

/* ── Benefits grid ───────────────────────────────────────── */
.sd-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.sd-benefit { background: #fff; border: 1px solid rgba(240,115,40,0.55); border-radius: var(--radius); padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start; box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 26px rgba(15,23,42,0.06); transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease; }
.sd-benefit:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(240,115,40,0.16); border-color: var(--orange); }
.sd-benefit.featured { grid-column: span 2; background: linear-gradient(135deg, var(--char) 0%, var(--char-mid) 100%); border-color: transparent; color: #fff; }
.sd-benefit-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-dim); display: flex; align-items: center; justify-content: center; }
.sd-benefit-icon svg { width: 24px; height: 24px; }
.sd-benefit.featured .sd-benefit-icon { background: rgba(240,115,40,.2); }
.sd-benefit h3 { font-size: 16px; font-weight: 700; color: var(--char); margin-bottom: 6px; }
.sd-benefit p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.sd-benefit.featured h3 { color: #fff; }
.sd-benefit.featured p { color: rgba(255,255,255,.72); }

/* ── Spotlight (Smart Import) ────────────────────────────── */
.sd-spotlight { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 44px; align-items: center; }
.sd-flist { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.sd-flist li { display: flex; gap: 14px; align-items: flex-start; }
.sd-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--peach); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.sd-check svg { width: 12px; height: 12px; stroke: var(--orange); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sd-flist span { font-size: 14.5px; color: var(--text-sub); line-height: 1.6; }
.sd-flist strong { color: var(--char); }

.sd-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.10); }
.sd-panel-head { background: var(--char); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.sd-panel-head .t { color: #fff; font-size: 13.5px; font-weight: 600; }
.sd-panel-head .pill { background: rgba(240,115,40,.25); color: #FFAA85; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.sd-panel-body { padding: 20px; }
.sd-rowitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; background: var(--bg-soft); }
.sd-rowitem:last-of-type { margin-bottom: 0; }
.sd-rowdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sd-rowtext { flex: 1; font-size: 13px; color: var(--text-sub); }
.sd-rowval { font-size: 13px; font-weight: 600; color: var(--char); }
.sd-panel-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.sd-panel-foot span:first-child { font-size: 12.5px; color: var(--text-muted); }

/* ── Animated screen illustrations ─────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .asd-row   { animation: asdRow   7s ease-in-out infinite both; }
  .asd-badge { animation: asdBadge 7s cubic-bezier(.34,1.56,.64,1) infinite both; }
  .asd-bar   { animation: asdBar   7s ease infinite both; transform-box: fill-box; transform-origin: left center; }
  .asd-dot   { animation: asdDot   7s ease infinite both; }
  .asd-track { animation: asdTrack 7s ease infinite both; transform-box: fill-box; transform-origin: left center; }
  .d1  { animation-delay:  .4s; }  .d2  { animation-delay:  .9s; }
  .d3  { animation-delay: 1.4s; }  .d4  { animation-delay: 1.9s; }
  .d5  { animation-delay: 2.4s; }  .d6  { animation-delay: 2.9s; }
  .d7  { animation-delay: 3.4s; }  .d8  { animation-delay: 3.9s; }
}
@keyframes asdRow {
  0%,2%    { opacity:0; transform:translateY(8px); }
  10%      { opacity:1; transform:translateY(0); }
  76%      { opacity:1; transform:translateY(0); }
  88%,100% { opacity:0; transform:translateY(0); }
}
@keyframes asdBadge {
  0%,2%    { opacity:0; transform:scale(.5); }
  10%,12%  { opacity:1; transform:scale(1.06); }
  14%      { transform:scale(1); }
  76%      { opacity:1; }
  88%,100% { opacity:0; transform:scale(.5); }
}
@keyframes asdBar {
  0%,2%    { transform:scaleX(0); opacity:1; }
  12%      { transform:scaleX(1); opacity:1; }
  76%      { opacity:1; }
  88%,100% { opacity:0; transform:scaleX(0); }
}
@keyframes asdDot {
  0%,2%    { fill:#C2C8D0; }
  10%      { fill:#1B8751; }
  76%      { fill:#1B8751; }
  88%,100% { fill:#C2C8D0; }
}
@keyframes asdTrack {
  0%,2%    { transform:scaleX(0); opacity:.4; }
  12%      { transform:scaleX(1); opacity:1; }
  76%      { opacity:1; }
  88%,100% { opacity:0; transform:scaleX(0); }
}

/* ── CTA ─────────────────────────────────────────────────── */
.sd-cta-section { padding-top: 80px; }
.sd-cta {
  background: linear-gradient(135deg, #FFF4F0 0%, #FFF9F7 100%);
  border: 1px solid #FFD9CC; border-radius: 24px; padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.sd-cta h2 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; color: var(--char); margin-bottom: 10px; }
.sd-cta p { font-size: 15px; color: var(--text-muted); line-height: 1.65; max-width: 480px; }
.sd-cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.sd-cta-actions .sd-btn-primary, .sd-cta-actions .sd-btn-outline { justify-content: center; padding: 15px 32px; font-size: 16px; white-space: nowrap; }
.sd-btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 10px; font-weight: 600; transition: background .2s; }
.sd-btn-outline:hover { background: var(--peach); }

/* ── Explore more solutions pills ────────────────────────── */
.sd-solnav .mw { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; padding-top: 24px; padding-bottom: 36px; overflow-x: auto; scrollbar-width: none; padding-inline-end: 0; }
.sd-solnav .mw::-webkit-scrollbar { display: none; }
.sd-solnav .lead { font-size: 13px; color: var(--text-muted); margin-right: 4px; flex-shrink: 0; }
.sd-pill { padding: 7px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; flex-shrink: 0; }
.sd-pill:hover { background: var(--peach); color: var(--orange); border-color: #FFCCB8; }
.sd-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── responsive (interim) ────────────────────────────────── */
@media (max-width: 940px) {
  .sd-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 60px; padding-bottom: 60px; }
  .sd-hero-visual { min-width: 0; }
  .sd-hero h1 { font-size: 36px; }
  .sd-hero-actions { width: 100%; }
  .sd-section { padding: 56px 0; }
  .sd-steps { grid-template-columns: 1fr; }
  .sd-step-arrow { display: none; }
  .sd-benefits { grid-template-columns: 1fr; }
  .sd-benefit.featured { grid-column: span 1; }
  .sd-spotlight { grid-template-columns: 1fr; gap: 40px; }
  .sd-cta { flex-direction: column; align-items: flex-start; }
  .sd-stats .mw { grid-template-columns: 1fr; gap: 24px; }
  .sd-stat + .sd-stat { border-left: none; border-top: 1px solid rgba(255,255,255,.28); padding-top: 24px; }
}
@media (max-width: 620px) {
  /* Decorative hero product mock is desktop-proportioned (panel + floating
     accent chips); hide it on phones so the hero stays clean. Shown on tablet+. */
  .sd-hero-visual { display: none; }
}

/* Case study client logo (shared across all success story pages) */
.sd .ca-client-logo { display: block; max-height: 44px; width: auto; margin-bottom: 22px; }

/* ── Case study photo hero ──────────────────────────────── */
.sd .ca-plate-photo { background-size: cover; background-position: center; overflow: visible !important; }
.sd .ca-plate-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(17,24,42,0.92) 0%, rgba(17,24,42,0.78) 42%, rgba(17,24,42,0.40) 68%, transparent 100%); z-index: 0; }
.sd .ca-plate-photo .mw { position: relative; z-index: 1; }
.sd .ca-plate-photo h1 { color: #fff !important; }
.sd .ca-plate-photo .ca-eyebrow { color: rgba(255,255,255,0.85); }
.sd .ca-plate-photo .ca-meta-tag { color: rgba(255,255,255,0.72); }
.sd .ca-plate-photo .ca-meta-tag svg { stroke: rgba(255,255,255,0.5); }
.sd .ca-plate-photo .ca-meta-sep { background: rgba(255,255,255,0.22); }
.sd .ca-plate-photo .ca-client-logo { filter: brightness(0) invert(1); opacity: 0.88; }
.sd .ca-plate-photo::after { background: linear-gradient(90deg, rgba(240,115,40,0.85) 0%, transparent 55%); bottom: -3px !important; }

/* Solution tags that link to a solution page */
.sd a.ca-tag { text-decoration: none; transition: background .15s, border-color .15s; }
.sd a.ca-tag:hover { background: #FFCEB3; border-color: #F07328; }

/* "See it in action" case study callout (used on solution detail pages) */
.sd-cs-callout { padding: 0 0 56px; }
.sd-cs-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; gap: 48px; }
.sd-cs-card-body { flex: 1; }
.sd-cs-card-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.sd-cs-card-quote { font-size: 17px; line-height: 1.65; color: var(--ink); font-style: italic; margin-bottom: 10px; }
.sd-cs-card-attr { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 20px; }
.sd-cs-card-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--orange); text-decoration: none; }
.sd-cs-card-link:hover { text-decoration: underline; }
.sd-cs-card-logo { display: block; max-height: 44px; width: auto; opacity: .82; }
@media (max-width: 700px) {
  .sd-cs-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; }
}

/* ── Case study image gallery ───────────────────────────── */
.sd .ca-gallery { position: relative; margin: 0 0 46px; border-radius: 16px; overflow: hidden; }
.sd .ca-gallery-track { display: flex; transition: transform 0.35s ease; will-change: transform; }
.sd .ca-gallery-slide { min-width: 100%; margin: 0; padding: 0; }
.sd .ca-gallery-slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.sd .ca-gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(17,24,42,0.52); color: #fff; border: none;
  width: 42px; height: 42px; border-radius: 50%; font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.sd .ca-gallery-btn:hover { background: rgba(17,24,42,0.82); }
.sd .ca-gallery-prev { left: 14px; }
.sd .ca-gallery-next { right: 14px; }
.sd .ca-gallery-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.sd .ca-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: background 0.2s; cursor: pointer; }
.sd .ca-gallery-dot.active { background: #fff; }

/* ── UI Mockup illustrations ────────────────────────────── */
.ui-mk { font-size: 12px; }
.ui-mk-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 8px 14px; display: flex; align-items: center; gap: 6px; }
.ui-mk-tab { padding: 4px 11px; font-size: 10.5px; font-weight: 600; color: var(--text-muted); border-radius: 5px; }
.ui-mk-tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.10); }
.ui-mk-spacer { flex: 1; }
.ui-mk-btn { padding: 4px 11px; background: var(--border); border-radius: 5px; font-size: 10.5px; font-weight: 600; color: var(--text-muted); }
.ui-mk-btn-o { background: var(--orange); color: #fff; }
.ui-mk-body { padding: 16px 18px 20px; }
.ui-mk-strip { display: flex; gap: 10px; margin-bottom: 14px; }
.ui-mk-stat { flex: 1; background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; }
.ui-mk-stat-l { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; margin-bottom: 3px; }
.ui-mk-stat-v { font-size: 17px; font-weight: 800; color: var(--ink); }
.ui-mk-tbl { width: 100%; border-collapse: collapse; font-size: 11px; }
.ui-mk-tbl th { text-align: left; padding: 7px 10px; font-size: 9.5px; font-weight: 700; color: var(--text-muted); border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ui-mk-tbl td { padding: 7px 10px; border-bottom: 1px solid var(--border); color: var(--char); vertical-align: middle; }
.ui-mk-tbl tr:last-child td { border-bottom: none; }
.ui-mk-tbl .hi td { background: #FFF8F5; }
.ui-mk-tbl .hi td:first-child { border-left: 3px solid var(--orange); padding-left: 7px; }
.ui-mk-tbl .tot td { background: var(--bg-soft); font-weight: 700; }
.ui-mk-tbl .best { font-weight: 700; color: var(--orange); }
.ui-mk-bdg { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.ui-mk-bdg-g { background: #E8F5E9; color: #2E7D32; }
.ui-mk-bdg-o { background: #FFF3E0; color: #E65100; }
.ui-mk-bdg-n { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); }
.ui-mk-bdg-u { background: #E3F2FD; color: #1565C0; }
.ui-mk-tl { display: flex; flex-direction: column; gap: 13px; padding: 2px 0; }
.ui-mk-ev { display: grid; grid-template-columns: 8px 1fr; gap: 11px; align-items: flex-start; }
.ui-mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 4px; }
.ui-mk-dot-n { background: var(--border); }
.ui-mk-ev-t { font-size: 11.5px; font-weight: 600; color: var(--char); line-height: 1.4; }
.ui-mk-ev-m { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.ui-mk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-mk-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; border-top: 3px solid var(--orange); }
.ui-mk-card-t { font-size: 11.5px; font-weight: 700; color: var(--char); margin-bottom: 5px; }
.ui-mk-card-d { font-size: 10.5px; color: var(--text-muted); line-height: 1.5; }
.ui-mk-builder { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; }
.ui-mk-panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.ui-mk-panel-t { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }
.ui-mk-field { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 11px; color: var(--char); border-bottom: 1px solid var(--border); }
.ui-mk-field:last-child { border-bottom: none; }
.ui-mk-chk { width: 13px; height: 13px; border-radius: 3px; background: var(--orange); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ui-mk-chk svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.5; fill: none; }
.ui-mk-chk-e { background: #fff; border: 1.5px solid var(--border); }
.ui-mk-chk-e svg { display: none; }

/* ── Inspirational illustrations ────────────────────────── */
.sd-illus { background: var(--bg-soft); border-radius: 20px; padding: 44px 24px; display: flex; align-items: center; justify-content: center; width: 100%; }
.sd-illus svg { width: 100%; max-width: 360px; height: auto; overflow: visible; }
