  .sm-new-block-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--sm-text);
    text-align: center;
    margin-top: 36px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
  }

  /* FAQ Accordion Block Styles */
  .sm-faq-container {
    max-width: 900px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .sm-faq-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sm-faq-item.active {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-light);
  }
  .sm-faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    color: var(--sm-text);
  }
  .faq-question-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  .faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 16px;
    color: #8e9cae;
    transition: color 0.2s;
  }
  .sm-faq-item.active .faq-toggle-icon {
    color: #4A00FF;
  }
  .sm-faq-item.active .faq-toggle-icon svg {
    transform: rotate(180deg);
  }
  .sm-faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sm-faq-answer-content {
    padding: 0 24px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
  }
  .sm-faq-answer-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--sm-text);
    font-style: italic;
    font-weight: 300;
  }
  .sm-faq-answer-text ul, .sm-faq-answer-text ol {
    margin: 8px 0;
    padding-left: 20px;
  }
  .sm-faq-answer-text ul {
    list-style-type: disc;
  }
  .sm-faq-answer-text ol {
    list-style-type: decimal;
  }
  .sm-faq-media-wrapper {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #090d16;
  }
  .sm-faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
  }
  .sm-faq-video {
    width: 100%;
    max-height: 400px;
    display: block;
    background: #000;
  }
  
  @media (max-width: 640px) {
    .sm-faq-container {
      padding: 0 11px;
    }
    .sm-faq-question-btn {
      padding: 14px 18px;
    }
    .faq-question-text {
      font-size: 13px;
    }
    .sm-faq-answer-content {
      padding: 0 18px 16px 18px;
    }
    .sm-faq-answer-text {
      font-size: 11px;
    }
  }

  .sm-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 32px auto;
  }
  @media (max-width: 900px) {
    .sm-steps-grid {
      grid-template-columns: 1fr;
    }
  }
  .sm-step-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid rgba(74, 0, 255, 0.09);
    border-radius: 20px;
    padding: 22px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    box-shadow: 0 8px 28px rgba(74, 0, 255, 0.045);
  }
  [data-theme="dark"] .sm-step-card {
    background: rgba(28, 28, 32, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  }
  .sm-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 0, 255, 0.28);
    box-shadow: 0 14px 34px rgba(74, 0, 255, 0.11);
  }
  .sm-step-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .sm-step-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 0, 255, 0.06);
    border: 1px solid rgba(74, 0, 255, 0.12);
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
  }
  [data-theme="dark"] .sm-step-badge-wrap {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.28);
  }
  .sm-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4900FF 0%, #6366F1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(73, 0, 255, 0.3);
  }
  .sm-step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4900FF;
  }
  [data-theme="dark"] .sm-step-label {
    color: #a5b4fc;
  }
  .sm-step-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--sm-text);
    margin: 0;
    line-height: 1.3;
  }
  .sm-step-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .sm-step-illustration-wrapper {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F3FF 0%, #EEF2FF 100%);
    border: 1px solid rgba(73, 0, 255, 0.1);
    box-shadow: 0 6px 16px rgba(73, 0, 255, 0.08);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sm-step-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
    display: block;
    animation: none !important;
  }
  .sm-step-desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--sm-text-muted);
    line-height: 1.55;
    margin: 0;
  }

  /* Variables for Top Masters carousel cards */
  :root {
    --sm-carousel-purple: #4A00FF;
    --sm-carousel-card: #FFFFFF;
    --sm-carousel-tooltip: rgba(240, 240, 245, 0.98);
    --sm-carousel-dot-inactive: rgba(0, 0, 0, 0.2);
    --sm-carousel-dot-outline: #1D1D1F;
    --sm-carousel-border-tooltip: rgba(0, 0, 0, 0.1);
    --sm-carousel-photo-bg: #E3E3E8;
    --sm-carousel-photo-text: #1D1D1F;
    --sm-carousel-icon-color: #86868b;
    --sm-carousel-icon-hover: #1D1D1F;
  }
  [data-theme="dark"] {
    --sm-carousel-card: #1c1c1e;
    --sm-carousel-tooltip: rgba(45, 45, 49, 0.95);
    --sm-carousel-dot-inactive: rgba(255, 255, 255, 0.4);
    --sm-carousel-dot-outline: #FFFFFF;
    --sm-carousel-border-tooltip: rgba(255, 255, 255, 0.1);
    --sm-carousel-photo-bg: #2C2C30;
    --sm-carousel-photo-text: #FFFFFF;
    --sm-carousel-icon-color: #a1a1a6;
    --sm-carousel-icon-hover: #FFFFFF;
  }

  .sm-masters-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  @media (max-width: 1024px) {
    .sm-masters-showcase-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .sm-master-card-wrap {
    position: relative;
    width: 100%;
  }
  .sm-master-showcase-card {
    position: relative;
    width: 100%;
    min-height: 200px;
    background-color: var(--sm-carousel-card);
    border: var(--input-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    text-decoration: none;
    color: var(--sm-text);
  }
  .sm-master-showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 0, 255, 0.25);
    box-shadow: var(--card-hover-shadow);
  }
  
  /* Top Row Two-Column Layout */
  .sm-card-top-layout {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 0;
  }
  .sm-card-avatar-wrap {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--sm-carousel-photo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sm-card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sm-card-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--sm-carousel-photo-bg);
  }
  .sm-card-details-wrap {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2px;
    padding-right: 52px;
  }

  .sm-master-showcase-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 8px 0;
    color: var(--sm-text);
    text-align: left;
  }
  .sm-master-showcase-name .name-first {
    display: block;
  }
  .sm-master-showcase-name .name-last {
    display: block;
    font-weight: 400;
    color: var(--sm-text-muted);
    font-size: 11px;
  }
  .sm-master-showcase-rating-row {
    font-size: 10px;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    line-height: 1;
  }
  .sm-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .sm-rating-star-icon svg {
    height: 11px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
  }
  .sm-rating-star-icon svg *, .sm-rating-star-icon svg path {
    fill: #FFC107 !important; /* Star color */
  }
  .sm-rating-value {
    font-size: 10px;
    font-weight: 600;
    color: var(--sm-text);
    margin-left: 0;
  }
  
  /* Reviews next to Rating */
  .sm-reviews-wrapper {
    display: flex;
    align-items: center;
    margin-left: 10px;
    color: var(--sm-text-muted);
    gap: 3px;
  }
  .sm-reviews-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sm-reviews-icon svg {
    height: 11px;
    width: auto;
  }
  .sm-reviews-icon svg path, .sm-reviews-icon svg * {
    fill: currentColor !important;
  }
  .sm-reviews-value {
    font-size: 10px;
    font-weight: 400;
    color: var(--sm-text-muted);
    margin-left: 0;
  }

  .sm-master-showcase-experience {
    font-size: 10px;
    color: var(--sm-text-muted);
    margin: 0 0 10px 0;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .sm-master-showcase-spec {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 23px 0;
    color: var(--sm-text);
  }
  .sm-master-showcase-spec b {
    font-weight: 500;
  }
  .sm-master-showcase-spec span {
    font-weight: 400;
    color: var(--sm-text-muted);
  }
  
  /* Block Header (Title left, link right) */
  .sm-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 24px auto;
    padding: 0;
  }
  .sm-block-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--sm-text);
    margin: 0;
    letter-spacing: -0.01em;
  }
  .sm-all-masters-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--sm-carousel-purple);
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .sm-all-masters-link:hover {
    opacity: 0.8;
    text-decoration: underline;
  }

  /* Prices list with dotted leaders */
  .sm-master-showcase-prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    width: 100%;
    border-top: none;
    padding-top: 0;
  }
  .sm-master-showcase-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 10px;
    margin-bottom: 0;
    width: 100%;
  }
  .sm-master-showcase-price-row .price-name {
    color: var(--sm-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
    font-weight: 400;
    flex: 0 1 auto;
    display: flex;
    align-items: baseline;
    width: auto;
  }
  .sm-master-showcase-price-row .dots-connector {
    flex-grow: 1;
    border-bottom: 1px dotted var(--sm-text-muted);
    margin: 0 6px;
    position: relative;
    bottom: 3px;
  }
  .sm-master-showcase-price-row .price-val {
    font-size: 9px;
    font-weight: 600;
    color: var(--sm-text);
    white-space: nowrap;
    flex: 0 0 auto;
    text-align: right;
  }

  .sm-verify-badge-container {
    position: absolute;
    top: 19px;
    right: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 20;
  }
  .sm-verify-icon-wrapper {
    position: relative;
    cursor: default;
    opacity: 0.15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--sm-carousel-icon-color);
  }
  .sm-verify-icon-wrapper.verified {
    cursor: pointer;
    opacity: 1;
    color: var(--sm-carousel-icon-color);
  }
  .sm-verify-icon-wrapper.verified:hover {
    color: var(--sm-carousel-icon-hover);
  }
  .sm-verify-icon-wrapper svg {
    height: 11px;
    width: auto;
    display: block;
  }
  
  /* Force all paths/shapes to currentColor to respect dark/light theme */
  .sm-verify-icon-wrapper svg path,
  .sm-verify-icon-wrapper svg circle,
  .sm-verify-icon-wrapper svg rect,
  .sm-verify-icon-wrapper svg polygon,
  .sm-verify-icon-wrapper svg g {
    fill: currentColor !important;
  }

  /* Verification badge specific colors by theme */
  /* Light theme / general colors */
  .sm-verify-icon-wrapper.verified.qualification {
    color: #D84315 !important;
  }
  .sm-verify-icon-wrapper.verified.self-employed {
    color: #00695C !important;
  }
  .sm-verify-icon-wrapper.verified.passport {
    color: var(--sm-primary) !important;
  }
  .sm-verify-icon-wrapper.verified.warranty {
    color: #C62828 !important;
  }

  /* Dark theme overrides */
  [data-theme="dark"] .sm-verify-icon-wrapper.verified.qualification {
    color: #FF6D00 !important;
  }
  [data-theme="dark"] .sm-verify-icon-wrapper.verified.self-employed {
    color: #00E676 !important;
  }
  [data-theme="dark"] .sm-verify-icon-wrapper.verified.passport {
    color: #00E5FF !important;
  }
  [data-theme="dark"] .sm-verify-icon-wrapper.verified.warranty {
    color: #FF1744 !important;
  }
  
  /* Global fixed tooltip for verification icons */
  #sm-global-verify-tip {
    position: fixed;
    z-index: 99999;
    width: 210px;
    background: var(--sm-carousel-tooltip);
    border: 1px solid var(--sm-carousel-border-tooltip);
    color: var(--sm-text);
    font-size: 11px;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    white-space: normal;
    word-break: break-word;
  }
  #sm-global-verify-tip.active {
    opacity: 1;
    visibility: visible;
  }
  .sm-all-masters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--toggle-bg);
    color: var(--sm-text);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: var(--card-border);
  }
  .sm-all-masters-btn:hover {
    background: var(--sm-primary-light);
    color: var(--sm-primary);
    border-color: rgba(74, 0, 255, 0.2);
  }
  @media (max-width: 768px) {
    .sm-block-header {
      padding: 0;
      margin: 21px 0 8px 0 !important;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      width: 100%;
    }
    .sm-block-title {
      font-size: 13px !important;
      font-weight: 700 !important;
      text-align: left;
      margin: 0;
      letter-spacing: -0.02em;
    }
    .sm-all-masters-link {
      font-size: 11px !important;
      font-weight: 600;
      color: var(--sm-carousel-purple);
    }
    .sm-masters-mobile-scroll {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 16px;
      padding: 12px 0;
      -ms-overflow-style: none;
      scrollbar-width: none;
      width: 100%;
      margin-left: 0;
      box-sizing: border-box;
      -webkit-overflow-scrolling: touch;
    }
    .sm-masters-mobile-scroll::-webkit-scrollbar {
      display: none;
    }
    .sm-masters-mobile-scroll .sm-master-card-wrap {
      flex: 0 0 300px;
      width: 300px;
      scroll-snap-align: start;
      position: relative;
    }
    .sm-masters-mobile-scroll .sm-master-showcase-card {
      width: 100%;
      min-height: auto;
    }
  }

  .sm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    .sm-testimonials-grid {
      grid-template-columns: 1fr;
    }
  }
  .sm-testimonial-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: all 0.3s ease;
  }
  .sm-testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74,0,255,0.25);
  }
  .sm-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .sm-testimonial-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--sm-text);
  }
  .sm-testimonial-date {
    font-size: 11px;
    color: var(--sm-text-muted);
    font-weight: 400;
  }
  .sm-testimonial-stars {
    font-size: 13px;
    color: #f59e0b;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .sm-testimonial-text {
    color: var(--sm-text);
    font-size: 13px;
    line-height: 1.6;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 14px;
  }
  .sm-testimonial-master-info {
    border-top: var(--card-border);
    padding-top: 10px;
    font-size: 12px;
    color: var(--sm-text-muted);
  }
  .sm-testimonial-master-link {
    color: #4A00FF;
    font-weight: 500;
    text-decoration: none;
  }
  .sm-testimonial-master-link:hover {
    text-decoration: underline;
  }

  .sm-section-divider {
    height: 0 !important;
    border-top: var(--card-border) !important;
    margin: 34px 0 !important;
    display: block !important;
  }

  @media (max-width: 768px) {
    .sm-section-divider {
      margin: 12px 0 !important;
    }
    .recent-cases-section {
      margin: 0 auto 12px auto !important;
    }
    .sm-new-block-title {
      font-size: 13px !important;
      font-weight: 700 !important;
      text-align: left !important;
      margin: 21px 0 8px 0 !important;
    }
    .sm-steps-grid {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
      margin: 8px 0 14px 0 !important;
    }
    .sm-step-card {
      padding: 15px !important;
      border-radius: 16px !important;
      gap: 12px !important;
    }
    .sm-step-number {
      width: 22px !important;
      height: 22px !important;
      font-size: 11px !important;
    }
    .sm-step-label {
      font-size: 10px !important;
    }
    .sm-step-title {
      font-size: 14px !important;
      margin-bottom: 0 !important;
    }
    .sm-step-illustration-wrapper {
      width: 68px !important;
      height: 68px !important;
      border-radius: 16px !important;
    }
    .sm-step-desc {
      font-size: 11.5px !important;
      line-height: 1.48 !important;
    }
    .sm-masters-showcase-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
    }
    .sm-master-showcase-card {
      padding: 11px !important;
      min-height: 180px !important;
      border-radius: 8px !important;
    }
    .sm-master-avatar-wrap {
      width: 40px !important;
      height: 40px !important;
      font-size: 15px !important;
      margin-bottom: 6px !important;
      border-width: 1px !important;
    }
    .sm-master-showcase-name {
      font-size: 10px !important;
    }
    .sm-master-showcase-spec {
      font-size: 8px !important;
      margin-bottom: 3px !important;
    }
    .sm-master-showcase-stats {
      gap: 3px !important;
      margin-bottom: 6px !important;
    }
    .sm-master-showcase-rating,
    .sm-master-showcase-orders {
      font-size: 8px !important;
    }
    .sm-master-showcase-link {
      padding: 5px !important;
      font-size: 8px !important;
      border-radius: 6px !important;
    }
    .sm-testimonials-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 16px !important;
      width: 100% !important;
    }
    .sm-testimonial-card {
      padding: 20px !important;
      min-height: auto !important;
      border-radius: 20px !important;
      flex-shrink: 0 !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
  }

  /* Before-After Slider styles */
  .ba-slider {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      aspect-ratio: 16/9;
      width: 100%;
      background: #0f172a;
      box-shadow: 0 3px 10px rgba(0,0,0,0.06);
      user-select: none;
  }
  .ba-after-container, .ba-before-container {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }
  .ba-before-container {
      z-index: 10;
  }
  .ba-blur-bg {
      position: absolute;
      inset: -20px;
      background-size: cover;
      background-position: center;
      filter: blur(10px) brightness(0.65);
      transform: scale(1.1);
      z-index: 1;
  }
  .ba-before-img {
      position: relative;
      width: 100%;
      height: 100%;
      object-fit: contain;
      z-index: 2;
      pointer-events: none;
      display: block;
  }
  .ba-after-img {
      position: relative;
      width: 100%;
      height: 100%;
      object-fit: contain;
      z-index: 2;
      display: block;
  }
  .ba-handle {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 2px;
      background: #fff;
      z-index: 15;
      pointer-events: none;
  }
  .ba-handle-circle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 32px;
      height: 32px;
      background: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1e293b;
      font-size: 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  .ba-slider-range {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: ew-resize;
      z-index: 20;
      margin: 0;
      padding: 0;
  }

  /* Recently Completed Section */
  .recent-cases-section {
    width: 100%;
    min-width: 0;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    box-sizing: border-box;
  }
  .recent-cases-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 12px 11px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .recent-cases-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  @media (min-width: 768px) {
    .recent-cases-scroll-wrapper {
      padding: 12px 24px;
    }
  }
  .recent-case-card {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 16px;
    padding: 16px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    min-height: auto;
    cursor: pointer;
  }
  .recent-case-card:hover {
    border-color: rgba(74,0,255,0.25);
    transform: translateY(-2px);
  }
  .recent-case-card:active {
    transform: scale(0.98) translateY(-2px);
    opacity: 0.95;
  }
  .recent-case-card:has(.ba-slider-range:active):active {
    transform: translateY(0);
    opacity: 1;
  }
  .recent-case-more-btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sm-primary);
    cursor: pointer;
    margin-top: 4px;
    transition: opacity 0.2s ease;
    width: fit-content;
  }
  .recent-case-more-btn:active {
    opacity: 0.7 !important;
  }
  .sm-btn-outline:active {
    transform: scale(0.98);
    opacity: 0.8;
  }
  .recent-case-header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 13px;
    font-weight: 400; /* Regular */
    color: var(--sm-text);
    cursor: pointer;
    transition: color 0.2s ease;
    gap: 8px;
  }
  .recent-case-header-title:hover {
    color: var(--sm-primary);
  }
  .recent-case-text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    font-weight: 400;
  }
  .recent-case-number-badge {
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 400;
    opacity: 0.8;
  }
  .recent-case-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--sm-text-muted);
    margin-top: auto;
  }
  .recent-case-master-link {
    color: var(--sm-primary);
    text-decoration: none;
    font-weight: 500;
  }
  .recent-case-master-link:hover {
    text-decoration: underline;
  }

  /* Case Detail Modal styles */
  .sm-case-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    z-index: 3000;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    overflow-y: auto;
  }
  .sm-case-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .sm-case-modal {
    width: 100%;
    max-width: 500px;
    background: var(--sm-bg-glass);
    border: var(--sm-border-glass);
    box-shadow: var(--sm-shadow-glass);
    border-radius: 20px;
    padding: 21px;
    position: relative;
    transform: translateY(21px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--sm-text);
    opacity: 0;
    backdrop-filter: blur(var(--sm-blur)) saturate(var(--sm-saturate));
    -webkit-backdrop-filter: blur(var(--sm-blur)) saturate(var(--sm-saturate));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: auto;
  }
  .sm-case-modal-overlay.active .sm-case-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .sm-case-modal-body {
    max-height: none;
    overflow-y: visible;
  }
  
  /* Modal Content Light Mode contrast */
  .sm-case-modal .sm-modal-title {
    color: #000000 !important;
  }
  .sm-case-modal .sm-modal-desc {
    color: #222222 !important;
  }
  .sm-case-modal .sm-modal-close {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    top: 16px !important;
    right: 16px !important;
    border-radius: 50% !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }
  .sm-case-modal .sm-modal-close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    transform: rotate(90deg) !important;
  }
  
  /* Modal Content Dark Mode contrast */
  [data-theme="dark"] .sm-case-modal .sm-modal-title {
    color: #ffffff !important;
  }
  [data-theme="dark"] .sm-case-modal .sm-modal-desc {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  [data-theme="dark"] .sm-case-modal .sm-modal-close {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  [data-theme="dark"] .sm-case-modal .sm-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
  }
  
  /* Cases card Dark Mode high contrast overrides */
  [data-theme="dark"] .recent-case-card .recent-case-header-title {
    color: #ffffff !important;
  }
  [data-theme="dark"] .recent-case-card .recent-case-number-badge {
    color: #8e8e93 !important;
    opacity: 1 !important;
  }
  [data-theme="dark"] .recent-case-card .recent-case-master-link {
    color: #ffffff !important;
  }
  [data-theme="dark"] .recent-case-card .recent-case-more-btn {
    color: #ffffff !important;
  }

  /* Onboarding Walkthrough styles */
  .sm-welcome-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sm-welcome-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .sm-welcome-container {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  @media (min-width: 768px) {
    .sm-welcome-container {
      width: 420px;
      height: 780px;
      border-radius: 32px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
  }
  .sm-welcome-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }
  .sm-welcome-skip-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #1A202C;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
  }
  .sm-welcome-skip-btn:hover {
    background: #FFFFFF;
    transform: scale(1.05);
  }
  .sm-welcome-slides-wrapper {
    flex: 1;
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
  }
  .sm-welcome-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  .sm-welcome-media {
    height: 55%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #F7FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    flex-shrink: 0;
  }
  .sm-welcome-media img,
  .sm-welcome-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sm-welcome-youtube-container {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .sm-welcome-youtube-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
  }
  .sm-welcome-youtube-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 2;
  }
  .sm-welcome-content {
    flex: 1;
    padding: 24px 20px;
    background: #FFFFFF;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-top: -24px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 -10px 20px -5px rgba(0, 0, 0, 0.03);
    overflow-y: auto;
  }
  .sm-welcome-title {
    color: #1A202C;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .sm-welcome-desc {
    color: #718096;
    font-weight: 550;
    line-height: 1.5;
  }
  .sm-welcome-footer {
    padding: 0 24px 30px 24px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .sm-welcome-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  .sm-welcome-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E2E8F0;
    transition: all 0.3s ease;
  }
  .sm-welcome-dot.active {
    width: 8px;
    border-radius: 50%;
    background: #4A00FF;
  }
  .sm-welcome-btn {
    width: 100%;
    background: linear-gradient(135deg, #4A00FF 0%, #7000FF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(74, 0, 255, 0.15);
    transition: all 0.3s ease;
  }
  .sm-welcome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(74, 0, 255, 0.25);
  }
  .sm-welcome-dontshow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #A0AEC0;
    cursor: pointer;
    user-select: none;
  }
  .sm-welcome-dontshow input {
    accent-color: #4A00FF;
  }

