/* /Components/BlockEditor.razor.rz.scp.css */
/* Components/BlockEditor.razor.css
   Styles for the per-block modal editor form.
   Used inside the etb-modal in EmailEditor.
*/

.block-editor[b-vdvlw7h86w] {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Form field group (from FieldGroup.razor) */
:deep(.field-group)[b-vdvlw7h86w] {
  margin-bottom: 14px;
}
:deep(.field-group-label)[b-vdvlw7h86w] {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  display: block;
  margin-bottom: 5px;
}
:deep(.form-control)[b-vdvlw7h86w] {
  width: 100%;
  padding: 8px 10px;
  background: #f8f8f8;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 13px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
:deep(.form-control:focus)[b-vdvlw7h86w] {
  border-color: #7c6ff7;
  box-shadow: 0 0 0 3px #ede9ff;
  background: #ffffff;
}
:deep(.code-input)[b-vdvlw7h86w] {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  resize: vertical;
  min-height: 80px;
}

/* Option toggle list (matches QR code modal pattern) */
:deep(.option-list)[b-vdvlw7h86w] {
  display: flex;
  flex-direction: row;
  gap: 4px;
}
:deep(.option-item)[b-vdvlw7h86w] {
  flex: 1;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  border: 1px solid #d1d1d1;
  background: #f8f8f8;
}
:deep(.option-item:hover)[b-vdvlw7h86w] {
  background: #ede9ff;
  color: #7c6ff7;
}
:deep(.option-active)[b-vdvlw7h86w] {
  background: #ede9ff !important;
  border-color: #c4b5fd !important;
  color: #7c6ff7 !important;
  font-weight: 600;
}

/* Field with inline color picker */
:deep(.field-with-color)[b-vdvlw7h86w] {
  display: flex;
  align-items: center;
  gap: 6px;
}
:deep(.field-with-color .form-control)[b-vdvlw7h86w] {
  flex: 1;
}

/* Upload status */
:deep(.upload-hint)[b-vdvlw7h86w] {
  font-size: 11px;
  color: #888;
  font-style: italic;
  margin-top: 4px;
  display: block;
}
:deep(.upload-error)[b-vdvlw7h86w] {
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}
/* /LandingPage.razor.rz.scp.css */
/* ── Landing Page ── */

/* ══ NAV ══ */
.nav[b-hqbucwr9v5] {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e0e0e0;
    padding: 0 48px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo[b-hqbucwr9v5] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

    .nav-logo .tilde[b-hqbucwr9v5] { color: #7c6ff7 }

.nav-links[b-hqbucwr9v5] {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}

    .nav-links a[b-hqbucwr9v5] {
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #555;
        transition: color 0.15s, background 0.15s;
    }

        .nav-links a:hover[b-hqbucwr9v5] {
            color: #1a1a2e;
            background: #f0f0f0;
        }

.nav-right[b-hqbucwr9v5] {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.nav-hamburger[b-hqbucwr9v5] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 22px;
    padding: 4px;
    line-height: 1;
}

/* ══ MOBILE NAV DRAWER ══ */
.nav-mobile-drawer[b-hqbucwr9v5] {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 20px;
    z-index: 199;
}

.nav-links-mobile[b-hqbucwr9v5] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

    .nav-links-mobile a[b-hqbucwr9v5] {
        display: block;
        padding: 8px 14px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #555;
        transition: color 0.15s, background 0.15s;
    }

        .nav-links-mobile a:hover[b-hqbucwr9v5] {
            color: #1a1a2e;
            background: #f0f0f0;
        }

.nav-mobile-btns[b-hqbucwr9v5] {
    display: flex;
    gap: 8px;
}

/* ══ BUTTONS ══ */
.btn[b-hqbucwr9v5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-primary[b-hqbucwr9v5] {
    background: #7c6ff7;
    color: #fff;
    border-color: #7c6ff7;
}

    .btn-primary:hover[b-hqbucwr9v5] {
        background: #6b5ce6;
        border-color: #6b5ce6;
    }

.btn-outline[b-hqbucwr9v5] {
    background: transparent;
    color: #555;
    border-color: #d1d1d1;
}

    .btn-outline:hover[b-hqbucwr9v5] {
        background: #f0f0f0;
        color: #1a1a2e;
    }

.btn-white[b-hqbucwr9v5] {
    background: #fff;
    color: #7c6ff7;
    border-color: #fff;
    font-weight: 700;
}

    .btn-white:hover[b-hqbucwr9v5] {
        background: #f8f8f8;
        border-color: #f8f8f8;
    }

.btn-sm[b-hqbucwr9v5] { padding: 7px 16px; font-size: 13px; border-radius: 6px }
.btn-lg[b-hqbucwr9v5] { padding: 14px 32px; font-size: 16px; border-radius: 10px }
.btn-full[b-hqbucwr9v5] { width: 100%; justify-content: center }

/* ══ HERO ══ */
.hero[b-hqbucwr9v5] {
    padding: 100px 48px 88px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.hero-inner[b-hqbucwr9v5] {
    max-width: 680px;
    margin: 0 auto;
}

.hero h1[b-hqbucwr9v5] {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.hero-sub[b-hqbucwr9v5] {
    font-size: 17px;
    color: #555;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-ctas[b-hqbucwr9v5] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══ SECTIONS ══ */
.section[b-hqbucwr9v5] {
    padding: 80px 48px;
    background: #fff;
}

.section-alt[b-hqbucwr9v5] {
    background: #f8f8f8;
}

.section-inner[b-hqbucwr9v5] {
    max-width: 1040px;
    margin: 0 auto;
}

.section-header[b-hqbucwr9v5] {
    text-align: center;
    margin-bottom: 56px;
}

.section-heading[b-hqbucwr9v5] {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-sub[b-hqbucwr9v5] {
    font-size: 16px;
    color: #555;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ══ FEATURES ══ */
.features-grid[b-hqbucwr9v5] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.feature[b-hqbucwr9v5] {
    background: #fff;
    padding: 32px 28px;
    transition: background 0.15s;
}

    .feature:hover[b-hqbucwr9v5] {
        background: #fafafa;
    }

.feature-icon-wrap[b-hqbucwr9v5] {
    width: 40px;
    height: 40px;
    background: #ede9ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon[b-hqbucwr9v5] {
    width: 20px;
    height: 20px;
    color: #7c6ff7;
}

.feature-title[b-hqbucwr9v5] {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.feature-desc[b-hqbucwr9v5] {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ══ SHOWCASE ══ */
.showcase-inner[b-hqbucwr9v5] {
    max-width: 1200px;
}

.showcase-block[b-hqbucwr9v5] {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-bottom: 80px;
}

.showcase-block:last-child[b-hqbucwr9v5] {
    margin-bottom: 0;
}

.showcase-reverse[b-hqbucwr9v5] {
    flex-direction: row-reverse;
}

.showcase-text[b-hqbucwr9v5] {
    flex: 2;
    min-width: 0;
}

.showcase-label[b-hqbucwr9v5] {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c6ff7;
    background: #f0eeff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.showcase-heading[b-hqbucwr9v5] {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    line-height: 1.3;
}

.showcase-desc[b-hqbucwr9v5] {
    font-size: 16px;
    color: #555;
    line-height: 1.65;
    margin: 0 0 18px;
}

.showcase-list[b-hqbucwr9v5] {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.showcase-list li[b-hqbucwr9v5] {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.showcase-list li[b-hqbucwr9v5]::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #7c6ff7;
    font-weight: 700;
}

.showcase-image[b-hqbucwr9v5] {
    flex: 3;
    min-width: 0;
}

.showcase-img[b-hqbucwr9v5] {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.showcase-placeholder[b-hqbucwr9v5] {
    background: #ffffff;
    border: 2px dashed #d1d1d1;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
}

.showcase-placeholder svg[b-hqbucwr9v5] {
    width: 48px;
    height: 48px;
    stroke: #d1d1d1;
}

@media (max-width: 768px) {
    .showcase-block[b-hqbucwr9v5],
    .showcase-reverse[b-hqbucwr9v5] {
        flex-direction: column;
        gap: 24px;
    }

    .showcase-heading[b-hqbucwr9v5] {
        font-size: 22px;
    }
}

/* ══ HOW IT WORKS ══ */
.steps-row[b-hqbucwr9v5] {
    display: flex;
    gap: 32px;
    max-width: 840px;
    margin: 0 auto;
}

.step[b-hqbucwr9v5] {
    flex: 1;
    text-align: center;
}

.step-num[b-hqbucwr9v5] {
    width: 44px;
    height: 44px;
    background: #ede9ff;
    color: #7c6ff7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 16px;
}

.step-title[b-hqbucwr9v5] {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-desc[b-hqbucwr9v5] {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.merge-tag[b-hqbucwr9v5] {
    background: #ede9ff;
    color: #7c6ff7;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* ══ PRICING ══ */
#pricing[b-hqbucwr9v5] {
    border-top: 1px solid #e0e0e0;
}

.pricing-grid[b-hqbucwr9v5] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card[b-hqbucwr9v5] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .pricing-card:hover[b-hqbucwr9v5] {
        border-color: #d1d1d1;
        box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    }

    .pricing-card.payg[b-hqbucwr9v5] {
        border-color: #27ae60;
        background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    }

        .pricing-card.payg:hover[b-hqbucwr9v5] {
            border-color: #27ae60;
            box-shadow: 0 4px 24px rgba(39,174,96,0.10);
        }

    .pricing-card.popular[b-hqbucwr9v5] {
        border-color: #7c6ff7;
        box-shadow: 0 0 0 1px #7c6ff7;
    }

        .pricing-card.popular:hover[b-hqbucwr9v5] {
            box-shadow: 0 0 0 1px #7c6ff7, 0 4px 24px rgba(124,111,247,0.12);
        }

.popular-badge[b-hqbucwr9v5] {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #7c6ff7;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-name[b-hqbucwr9v5] {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.plan-price[b-hqbucwr9v5] {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-price-text[b-hqbucwr9v5] {
    font-size: 22px;
    letter-spacing: -0.01em;
    padding: 10px 0;
}

    .plan-price sup[b-hqbucwr9v5] {
        font-size: 20px;
        vertical-align: top;
        margin-top: 10px;
        margin-right: 2px;
        font-weight: 600;
    }

    .plan-price span[b-hqbucwr9v5] {
        font-size: 14px;
        font-weight: 400;
        color: #888;
        letter-spacing: 0;
    }

.plan-credits[b-hqbucwr9v5] {
    font-size: 13px;
    color: #7c6ff7;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-per-credit[b-hqbucwr9v5] {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.plan-divider[b-hqbucwr9v5] {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 20px;
}

.plan-features[b-hqbucwr9v5] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

    .plan-features li[b-hqbucwr9v5] {
        display: flex;
        gap: 10px;
        font-size: 14px;
        color: #555;
        line-height: 1.4;
    }

        .plan-features li .check[b-hqbucwr9v5] {
            color: #7c6ff7;
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
            margin-top: 2px;
        }

.credit-info[b-hqbucwr9v5] {
    max-width: 640px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 13px;
    color: #888;
    line-height: 1.65;
}

    .credit-info strong[b-hqbucwr9v5] {
        color: #555;
    }

/* ══ CTA BANNER ══ */
.cta-section[b-hqbucwr9v5] {
    background: #7c6ff7;
    padding: 80px 48px;
    text-align: center;
}

.cta-inner[b-hqbucwr9v5] {
    max-width: 560px;
    margin: 0 auto;
}

.cta-section h2[b-hqbucwr9v5] {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-section p[b-hqbucwr9v5] {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ══ FOOTER ══ */
.footer[b-hqbucwr9v5] {
    background: #1a1a2e;
    padding: 48px 48px 32px;
}

.footer-inner[b-hqbucwr9v5] {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo[b-hqbucwr9v5] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

    .footer-logo .tilde[b-hqbucwr9v5] { color: #b8aefb }

.footer-tagline[b-hqbucwr9v5] {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 260px;
}

.footer-col-title[b-hqbucwr9v5] {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.footer-links[b-hqbucwr9v5] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links a[b-hqbucwr9v5] {
        font-size: 14px;
        color: rgba(255,255,255,0.5);
        transition: color 0.15s;
    }

        .footer-links a:hover[b-hqbucwr9v5] { color: #fff }

.footer-bottom[b-hqbucwr9v5] {
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

/* ══ RESPONSIVE ══ */
@media(max-width:1024px) {
    .pricing-grid[b-hqbucwr9v5] { grid-template-columns: repeat(2, 1fr) }
    .features-grid[b-hqbucwr9v5] { grid-template-columns: repeat(2, 1fr) }
    .footer-inner[b-hqbucwr9v5] { grid-template-columns: 1fr 1fr; gap: 32px }
}

@media(max-width:768px) {
    .nav[b-hqbucwr9v5] { padding: 0 20px }
    .nav-links[b-hqbucwr9v5], .nav-right[b-hqbucwr9v5] { display: none }
    .nav-hamburger[b-hqbucwr9v5] { display: block }

    .hero[b-hqbucwr9v5] { padding: 64px 20px 56px }
    .hero h1[b-hqbucwr9v5] { font-size: 32px }
    .hero-sub[b-hqbucwr9v5] { font-size: 15px }

    .section[b-hqbucwr9v5] { padding: 56px 20px }

    .features-grid[b-hqbucwr9v5] { grid-template-columns: 1fr }

    .steps-row[b-hqbucwr9v5] {
        flex-direction: column;
        gap: 24px;
        max-width: 320px;
        margin: 0 auto;
    }

    .pricing-grid[b-hqbucwr9v5] { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto }
    .pricing-card.popular[b-hqbucwr9v5] { order: -1 }

    .cta-section[b-hqbucwr9v5] { padding: 56px 20px }

    .footer[b-hqbucwr9v5] { padding: 40px 20px 24px }
    .footer-inner[b-hqbucwr9v5] { grid-template-columns: 1fr; gap: 24px }
}

@media(max-width:480px) {
    .hero h1[b-hqbucwr9v5] { font-size: 28px }

    .hero-ctas[b-hqbucwr9v5] {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-ctas .btn[b-hqbucwr9v5] { width: 100% }
}
/* /Layout/LegalLayout.razor.rz.scp.css */
.legal-shell[b-xnwz60x40z] {
    min-height: 100vh;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    font-family: 'Syne', sans-serif;
}

.legal-header[b-xnwz60x40z] {
    padding: 16px 32px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.legal-logo[b-xnwz60x40z] {
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
}

.legal-content[b-xnwz60x40z] {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 32px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    line-height: 1.7;
}

.legal-footer[b-xnwz60x40z] {
    padding: 16px 32px;
    text-align: center;
    color: #888;
    font-size: 12px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

@media (max-width: 860px) {
    .legal-content[b-xnwz60x40z] {
        margin: 16px;
        padding: 24px;
    }
}
/* /Pages/Account.razor.rz.scp.css */
/* ── Account Cards ──────────────────────────────────────────────────────────── */

.account-card[b-7au5gxf17n] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.card-title[b-7au5gxf17n] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

/* ── Profile Header ────────────────────────────────────────────────────────── */

.profile-header[b-7au5gxf17n] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar[b-7au5gxf17n] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #7c6ff7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.profile-info[b-7au5gxf17n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name[b-7au5gxf17n] {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.profile-email[b-7au5gxf17n] {
    font-size: 14px;
    color: #555;
}

.profile-meta[b-7au5gxf17n] {
    font-size: 12px;
    color: #888;
}

.profile-badges[b-7au5gxf17n] {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */

.badge[b-7au5gxf17n] {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-admin[b-7au5gxf17n] {
    background: #ede9ff;
    color: #7c6ff7;
}

.badge-verified[b-7au5gxf17n] {
    background: #f0fdf4;
    color: #166534;
}

.badge-unverified[b-7au5gxf17n] {
    background: #fef3c7;
    color: #92400e;
}

.badge-suspended[b-7au5gxf17n] {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Form ──────────────────────────────────────────────────────────────────── */

.form-group[b-7au5gxf17n] {
    margin-bottom: 16px;
}

.form-label[b-7au5gxf17n] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-input[b-7au5gxf17n] {
    width: 100%;
    max-width: 400px;
    padding: 9px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .form-input:focus[b-7au5gxf17n] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

    .form-input:disabled[b-7au5gxf17n] {
        background: #f0f0f0;
        color: #888;
        cursor: not-allowed;
    }

.form-hint[b-7au5gxf17n] {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.form-actions[b-7au5gxf17n] {
    margin-top: 20px;
}

/* ── Alerts ────────────────────────────────────────────────────────────────── */

.alert[b-7au5gxf17n] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-success[b-7au5gxf17n] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error[b-7au5gxf17n] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .profile-header[b-7au5gxf17n] {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-input[b-7au5gxf17n] {
        max-width: 100%;
    }
}
/* /Pages/Admin/Analytics.razor.rz.scp.css */
/* ── Stats ──────────────────────────────────────────────────────────────────── */

.analytics-stats[b-youupn2mph] {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.a-stat[b-youupn2mph] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    flex: 1;
}

.a-stat-value[b-youupn2mph] {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.a-stat-label[b-youupn2mph] {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.a-stat-purple .a-stat-value[b-youupn2mph] { color: #7c6ff7; }
.a-stat-green .a-stat-value[b-youupn2mph] { color: #059669; }
.a-stat-red .a-stat-value[b-youupn2mph] { color: #dc2626; }

/* ── Charts ─────────────────────────────────────────────────────────────────── */

.chart-panel[b-youupn2mph] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    max-height: 280px;
    overflow: hidden;
}

    .chart-panel canvas[b-youupn2mph] {
        max-height: 220px;
    }

.chart-title[b-youupn2mph] {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.chart-row[b-youupn2mph] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.chart-half[b-youupn2mph] {
    flex: 1;
    margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .analytics-stats[b-youupn2mph] {
        flex-direction: column;
    }

    .a-stat[b-youupn2mph] {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
    }

    .chart-row[b-youupn2mph] {
        flex-direction: column;
    }

    .chart-half[b-youupn2mph] {
        flex: none;
    }
}
/* /Pages/Admin/Billing.razor.rz.scp.css */
/* ── Filters ────────────────────────────────────────────────────────────────── */

.filter-bar[b-xs1vfd2don] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-input[b-xs1vfd2don] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-xs1vfd2don] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.filter-search[b-xs1vfd2don] { min-width: 240px; }

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-xs1vfd2don] .data-table { background: #fff; }

.table-row[b-xs1vfd2don] { transition: background 0.15s; }
.table-row:hover[b-xs1vfd2don] { background: #f8f8f8; }

.member-cell[b-xs1vfd2don] { display: flex; flex-direction: column; }

.table-actions[b-xs1vfd2don] {
    display: flex;
    gap: 6px;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-plan[b-xs1vfd2don] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-active[b-xs1vfd2don] {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-suspended[b-xs1vfd2don] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ── Alerts ─────────────────────────────────────────────────────────────────── */

.alert[b-xs1vfd2don] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}

.alert-error[b-xs1vfd2don] {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success[b-xs1vfd2don] {
    background: #d1fae5;
    color: #065f46;
}

/* ── Modal ──────────────────────────────────────────────────────────────────── */

.modal-overlay[b-xs1vfd2don] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-xs1vfd2don] {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-title[b-xs1vfd2don] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal-subtitle[b-xs1vfd2don] {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.modal-actions[b-xs1vfd2don] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* ── Form ───────────────────────────────────────────────────────────────────── */

.form-row[b-xs1vfd2don] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.form-label[b-xs1vfd2don] {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-input[b-xs1vfd2don] {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    width: 100%;
}

    .form-input:focus[b-xs1vfd2don] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.form-textarea[b-xs1vfd2don] {
    min-height: 80px;
    resize: vertical;
}

/* ── Pagination ─────────────────────────────────────────────────────────────── */

.pagination-bar[b-xs1vfd2don] {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
/* /Pages/Admin/Content.razor.rz.scp.css */
/* ── Stats ──────────────────────────────────────────────────────────────────── */

.content-stats[b-ph4c6yoz1d] {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-card-sm[b-ph4c6yoz1d] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-val[b-ph4c6yoz1d] {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-lbl[b-ph4c6yoz1d] {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-green .stat-val[b-ph4c6yoz1d] { color: #059669; }
.stat-red .stat-val[b-ph4c6yoz1d] { color: #dc2626; }

/* ── Tabs ──────────────────────────────────────────────────────────────────── */

.content-tabs[b-ph4c6yoz1d] {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.content-tab[b-ph4c6yoz1d] {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

    .content-tab:hover[b-ph4c6yoz1d] { color: #1a1a2e; }

    .content-tab.active[b-ph4c6yoz1d] {
        color: #7c6ff7;
        border-bottom-color: #7c6ff7;
        font-weight: 600;
    }

/* ── Filters ────────────────────────────────────────────────────────────────── */

.filter-bar[b-ph4c6yoz1d] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-input[b-ph4c6yoz1d] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-ph4c6yoz1d] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.filter-search[b-ph4c6yoz1d] { min-width: 240px; }

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-ph4c6yoz1d] .data-table {
    background: #fff;
}

.table-row[b-ph4c6yoz1d] {
    transition: background 0.15s;
}

    .table-row:hover[b-ph4c6yoz1d] {
        background: #f8f8f8;
    }

.table-actions[b-ph4c6yoz1d] {
    display: flex;
    gap: 6px;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-pdf[b-ph4c6yoz1d] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-email[b-ph4c6yoz1d] {
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-archived[b-ph4c6yoz1d] {
    background: #f0f0f0;
    color: #555;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    margin-left: 6px;
}

.badge-active[b-ph4c6yoz1d] {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-suspended[b-ph4c6yoz1d] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-processing[b-ph4c6yoz1d] {
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-pending[b-ph4c6yoz1d] {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-danger[b-ph4c6yoz1d] {
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .btn-danger:hover[b-ph4c6yoz1d] { background: #b91c1c; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .content-stats[b-ph4c6yoz1d] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card-sm[b-ph4c6yoz1d] {
        flex: 1;
        min-width: 60px;
    }

    .filter-bar[b-ph4c6yoz1d] {
        flex-direction: column;
    }

    .filter-input[b-ph4c6yoz1d],
    .filter-search[b-ph4c6yoz1d] {
        width: 100%;
        min-width: auto;
    }
}
/* /Pages/Admin/Messages.razor.rz.scp.css */
/* ── Stats ──────────────────────────────────────────────────────────────────── */

.content-stats[b-xk72onbwjy] {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-card-sm[b-xk72onbwjy] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-val[b-xk72onbwjy] {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-lbl[b-xk72onbwjy] {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-green .stat-val[b-xk72onbwjy] { color: #059669; }
.stat-red .stat-val[b-xk72onbwjy] { color: #dc2626; }

/* ── Filters ────────────────────────────────────────────────────────────────── */

.filter-bar[b-xk72onbwjy] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-input[b-xk72onbwjy] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-xk72onbwjy] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.filter-search[b-xk72onbwjy] { min-width: 240px; }

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-xk72onbwjy] .data-table { background: #fff; }

.table-row[b-xk72onbwjy] { transition: background 0.15s; }
.table-row:hover[b-xk72onbwjy] { background: #f8f8f8; }

.table-actions[b-xk72onbwjy] {
    display: flex;
    gap: 6px;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-info[b-xk72onbwjy] {
    background: #eff6ff;
    color: #1e40af;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-warning[b-xk72onbwjy] {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-maintenance[b-xk72onbwjy] {
    background: #fef2f2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-active[b-xk72onbwjy] {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-archived[b-xk72onbwjy] {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ── Alerts ─────────────────────────────────────────────────────────────────── */

.alert[b-xk72onbwjy] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}

.alert-error[b-xk72onbwjy] {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success[b-xk72onbwjy] {
    background: #d1fae5;
    color: #065f46;
}

/* ── Modal ──────────────────────────────────────────────────────────────────── */

.modal-overlay[b-xk72onbwjy] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-xk72onbwjy] {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: 480px;
    max-width: 90vw;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-title[b-xk72onbwjy] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal-subtitle[b-xk72onbwjy] {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.modal-actions[b-xk72onbwjy] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* ── Form ───────────────────────────────────────────────────────────────────── */

.form-row[b-xk72onbwjy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.form-row-pair[b-xk72onbwjy] {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

    .form-row-pair .form-row[b-xk72onbwjy] {
        flex: 1;
    }

.form-label[b-xk72onbwjy] {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-label-check[b-xk72onbwjy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.form-input[b-xk72onbwjy] {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    width: 100%;
}

    .form-input:focus[b-xk72onbwjy] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.form-textarea[b-xk72onbwjy] {
    min-height: 80px;
    resize: vertical;
}

/* ── Quill Editor ──────────────────────────────────────────────────────────── */

.quill-editor-container[b-xk72onbwjy] {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    min-height: 120px;
    background: #fff;
}

    .quill-editor-container:focus-within[b-xk72onbwjy] {
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.btn-danger[b-xk72onbwjy] {
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .btn-danger:hover[b-xk72onbwjy] { background: #b91c1c; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .content-stats[b-xk72onbwjy] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card-sm[b-xk72onbwjy] {
        flex: 1;
        min-width: 60px;
    }

    .filter-bar[b-xk72onbwjy] {
        flex-direction: column;
    }

    .filter-input[b-xk72onbwjy],
    .filter-search[b-xk72onbwjy] {
        width: 100%;
        min-width: auto;
    }

    .form-row-pair[b-xk72onbwjy] {
        flex-direction: column;
    }
}
/* /Pages/Admin/Teams.razor.rz.scp.css */
/* ── Filters ────────────────────────────────────────────────────────────────── */

.filter-bar[b-r7cgky1w7g] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-input[b-r7cgky1w7g] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-r7cgky1w7g] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.filter-search[b-r7cgky1w7g] { min-width: 240px; }

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-r7cgky1w7g] .data-table { background: #fff; }

.table-row[b-r7cgky1w7g] { cursor: pointer; transition: background 0.15s; }
.table-row:hover[b-r7cgky1w7g] { background: #f8f8f8; }

.member-cell[b-r7cgky1w7g] { display: flex; flex-direction: column; }

.table-actions[b-r7cgky1w7g] { display: flex; gap: 6px; align-items: center; }

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-plan[b-r7cgky1w7g] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-role[b-r7cgky1w7g] {
    background: #f0f0f0;
    color: #555;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* ── Detail ─────────────────────────────────────────────────────────────────── */

.back-link[b-r7cgky1w7g] {
    font-size: 13px;
    color: #7c6ff7;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 4px;
}

    .back-link:hover[b-r7cgky1w7g] { text-decoration: underline; }

.header-badges[b-r7cgky1w7g] { display: flex; gap: 8px; align-items: center; }

.team-stats[b-r7cgky1w7g] {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.t-stat[b-r7cgky1w7g] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.t-val[b-r7cgky1w7g] { font-size: 18px; font-weight: 700; color: #1a1a2e; }
.t-lbl[b-r7cgky1w7g] { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Panels ─────────────────────────────────────────────────────────────────── */

.detail-panel[b-r7cgky1w7g] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.panel-title[b-r7cgky1w7g] {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.edit-form[b-r7cgky1w7g] { display: flex; flex-direction: column; gap: 12px; max-width: 500px; }
.form-row[b-r7cgky1w7g] { display: flex; flex-direction: column; gap: 4px; }

.form-label[b-r7cgky1w7g] {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.detail-panel .form-input[b-r7cgky1w7g] {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    width: 100%;
}

    .detail-panel .form-input:focus[b-r7cgky1w7g] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.form-actions[b-r7cgky1w7g] { display: flex; gap: 8px; margin-top: 4px; }
.form-input-sm[b-r7cgky1w7g] { padding: 5px 10px; font-size: 13px; }

.alert[b-r7cgky1w7g] { padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-top: 12px; }
.alert-error[b-r7cgky1w7g] { background: #fee2e2; color: #991b1b; }
.alert-success[b-r7cgky1w7g] { background: #d1fae5; color: #065f46; }

.btn-danger[b-r7cgky1w7g] { background: #dc2626; color: #fff; border: none; cursor: pointer; }
.btn-danger:hover[b-r7cgky1w7g] { background: #b91c1c; }

/* ── Add member ─────────────────────────────────────────────────────────────── */

.add-member-row[b-r7cgky1w7g] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

    .add-member-row .form-input[b-r7cgky1w7g] {
        padding: 8px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        font-size: 14px;
        color: #1a1a2e;
        background: #fff;
    }

        .add-member-row .form-input:focus[b-r7cgky1w7g] {
            outline: none;
            border-color: #7c6ff7;
            box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
        }

/* ── Invites ────────────────────────────────────────────────────────────────── */

.invite-row[b-r7cgky1w7g] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .invite-row:last-child[b-r7cgky1w7g] { border-bottom: none; }

/* ── Modal ──────────────────────────────────────────────────────────────────── */

.modal-overlay[b-r7cgky1w7g] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-r7cgky1w7g] {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-title[b-r7cgky1w7g] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal-actions[b-r7cgky1w7g] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .filter-bar[b-r7cgky1w7g] { flex-direction: column; }
    .filter-input[b-r7cgky1w7g], .filter-search[b-r7cgky1w7g] { width: 100%; min-width: auto; }
    .team-stats[b-r7cgky1w7g] { flex-direction: column; }
    .add-member-row[b-r7cgky1w7g] { flex-direction: column; }
}
/* /Pages/Admin/UserDetail.razor.rz.scp.css */
/* ── Back link ──────────────────────────────────────────────────────────────── */

.back-link[b-j2vkjrsb4g] {
    font-size: 13px;
    color: #7c6ff7;
    text-decoration: none;
    margin-bottom: 4px;
    display: inline-block;
}

    .back-link:hover[b-j2vkjrsb4g] {
        text-decoration: underline;
    }

.header-badges[b-j2vkjrsb4g] {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ── Stats ──────────────────────────────────────────────────────────────────── */

.user-stats[b-j2vkjrsb4g] {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-card[b-j2vkjrsb4g] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 20px;
    min-width: 120px;
    text-align: center;
}

.stat-value[b-j2vkjrsb4g] {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label[b-j2vkjrsb4g] {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ── Panels ─────────────────────────────────────────────────────────────────── */

.detail-panel[b-j2vkjrsb4g] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.panel-title[b-j2vkjrsb4g] {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

/* ── Edit form ──────────────────────────────────────────────────────────────── */

.edit-form[b-j2vkjrsb4g] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}

.form-row[b-j2vkjrsb4g] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label[b-j2vkjrsb4g] {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-input[b-j2vkjrsb4g] {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
}

    .form-input:focus[b-j2vkjrsb4g] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.form-textarea[b-j2vkjrsb4g] {
    min-height: 80px;
    resize: vertical;
}

.form-actions[b-j2vkjrsb4g] {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* ── Action buttons ─────────────────────────────────────────────────────────── */

.action-buttons[b-j2vkjrsb4g] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-danger[b-j2vkjrsb4g] {
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .btn-danger:hover[b-j2vkjrsb4g] {
        background: #b91c1c;
    }

.btn-success[b-j2vkjrsb4g] {
    background: #059669;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .btn-success:hover[b-j2vkjrsb4g] {
        background: #047857;
    }

/* ── Alerts ─────────────────────────────────────────────────────────────────── */

.alert[b-j2vkjrsb4g] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 12px;
}

.alert-error[b-j2vkjrsb4g] {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success[b-j2vkjrsb4g] {
    background: #d1fae5;
    color: #065f46;
}

/* ── Modal ──────────────────────────────────────────────────────────────────── */

.modal-overlay[b-j2vkjrsb4g] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-j2vkjrsb4g] {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-title[b-j2vkjrsb4g] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal-actions[b-j2vkjrsb4g] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-admin[b-j2vkjrsb4g] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-active[b-j2vkjrsb4g] {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-suspended[b-j2vkjrsb4g] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-audit[b-j2vkjrsb4g] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

/* ── Activity ──────────────────────────────────────────────────────────────── */

.activity-list[b-j2vkjrsb4g] {
    display: flex;
    flex-direction: column;
}

.activity-item[b-j2vkjrsb4g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .activity-item:last-child[b-j2vkjrsb4g] {
        border-bottom: none;
    }

.activity-action[b-j2vkjrsb4g] {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ── Feature Overrides ──────────────────────────────────────────────────────── */

.overrides-grid[b-j2vkjrsb4g] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.override-section-title[b-j2vkjrsb4g] {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0 4px;
}

.override-row[b-j2vkjrsb4g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .override-row:last-child[b-j2vkjrsb4g] {
        border-bottom: none;
    }

.override-label[b-j2vkjrsb4g] {
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 500;
}

.override-control[b-j2vkjrsb4g] {
    min-width: 180px;
}

.form-input-sm[b-j2vkjrsb4g] {
    padding: 5px 10px;
    font-size: 13px;
    width: 100%;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .user-stats[b-j2vkjrsb4g] {
        flex-direction: column;
    }

    .stat-card[b-j2vkjrsb4g] {
        flex-direction: row;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        min-width: auto;
    }

    .action-buttons[b-j2vkjrsb4g] {
        flex-direction: column;
    }
}
/* /Pages/Admin/Users.razor.rz.scp.css */
/* ── Filters ────────────────────────────────────────────────────────────────── */

.user-filters[b-r16u34lb03] {
    margin-bottom: 20px;
}

.filter-group[b-r16u34lb03] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-input[b-r16u34lb03] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-r16u34lb03] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

.filter-search[b-r16u34lb03] {
    min-width: 260px;
}

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-r16u34lb03] .data-table {
    background: #fff;
}

.table-row[b-r16u34lb03] {
    cursor: pointer;
    transition: background 0.15s;
}

    .table-row:hover[b-r16u34lb03] {
        background: #f8f8f8;
    }

/* ── User cell ──────────────────────────────────────────────────────────────── */

.user-cell[b-r16u34lb03] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar[b-r16u34lb03] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-info[b-r16u34lb03] {
    display: flex;
    flex-direction: column;
}

.user-name[b-r16u34lb03] {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
}

.user-email[b-r16u34lb03] {
    font-size: 12px;
    color: #888;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-admin[b-r16u34lb03] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-user[b-r16u34lb03] {
    background: #f0f0f0;
    color: #555;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.badge-active[b-r16u34lb03] {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-suspended[b-r16u34lb03] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .filter-group[b-r16u34lb03] {
        flex-direction: column;
    }

    .filter-input[b-r16u34lb03],
    .filter-search[b-r16u34lb03] {
        width: 100%;
        min-width: auto;
    }
}
/* /Pages/Billing.razor.rz.scp.css */
/* ── Status Banners ────────────────────────────────────────────────────────── */

.billing-warning[b-2mcjsidosz] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.billing-warning svg[b-2mcjsidosz] { flex-shrink: 0; margin-top: 1px; color: #f59e0b; }

.billing-info[b-2mcjsidosz] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.billing-info svg[b-2mcjsidosz] { flex-shrink: 0; margin-top: 1px; color: #3b82f6; }

/* ── Billing Cards ──────────────────────────────────────────────────────────── */

.billing-cards[b-2mcjsidosz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.billing-card[b-2mcjsidosz] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
}

.billing-card-header[b-2mcjsidosz] {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.plan-name[b-2mcjsidosz] {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.plan-status[b-2mcjsidosz] { margin-bottom: 8px; }

.plan-detail[b-2mcjsidosz] {
    font-size: 13px;
    color: #555;
    margin-bottom: 2px;
}

.plan-actions[b-2mcjsidosz] {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.balance-value[b-2mcjsidosz] {
    font-size: 40px;
    font-weight: 700;
    color: #7c6ff7;
    line-height: 1.1;
}

.balance-label[b-2mcjsidosz] {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.balance-breakdown[b-2mcjsidosz] {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.balance-pool[b-2mcjsidosz] {
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 8px 14px;
    flex: 1;
}

.balance-pool-value[b-2mcjsidosz] {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.balance-pool-label[b-2mcjsidosz] {
    font-size: 11px;
    color: #888;
}

.balance-stats[b-2mcjsidosz] {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #888;
}

/* ── Section ───────────────────────────────────────────────────────────────── */

.section-heading[b-2mcjsidosz] {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 24px 0 12px;
}

/* ── Tier Cards ────────────────────────────────────────────────────────────── */

.tier-grid[b-2mcjsidosz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.tier-card[b-2mcjsidosz] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card-active[b-2mcjsidosz] {
    border-color: #7c6ff7;
    box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.15);
}

.tier-current-badge[b-2mcjsidosz] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.tier-name[b-2mcjsidosz] {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.tier-price[b-2mcjsidosz] {
    margin-bottom: 4px;
    color: #555;
}

.tier-amount[b-2mcjsidosz] {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
}

.tier-credits[b-2mcjsidosz] {
    font-size: 13px;
    color: #7c6ff7;
    font-weight: 600;
    margin-bottom: 8px;
}

.tier-desc[b-2mcjsidosz] {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.tier-features[b-2mcjsidosz] {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
}

.tier-features li[b-2mcjsidosz] {
    font-size: 13px;
    color: #555;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tier-features li:last-child[b-2mcjsidosz] { border-bottom: none; }

.pack-card[b-2mcjsidosz] { align-items: center; text-align: center; }

/* ── Costs Grid ────────────────────────────────────────────────────────────── */

.costs-grid[b-2mcjsidosz] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.cost-item[b-2mcjsidosz] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cost-label[b-2mcjsidosz] {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.cost-value[b-2mcjsidosz] {
    font-size: 16px;
    font-weight: 700;
    color: #7c6ff7;
}

/* ── Transaction Styling ───────────────────────────────────────────────────── */

[b-2mcjsidosz] .data-table { background: #fff; }

.text-success[b-2mcjsidosz] { color: #059669; font-weight: 600; }
.text-danger[b-2mcjsidosz] { color: #dc2626; font-weight: 600; }

/* ── Embedded Checkout Modal ────────────────────────────────────────────────── */

.checkout-overlay[b-2mcjsidosz] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.checkout-modal[b-2mcjsidosz] {
    background: #fff;
    border-radius: 12px;
    width: 600px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.checkout-header[b-2mcjsidosz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-title[b-2mcjsidosz] {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.checkout-close[b-2mcjsidosz] {
    background: none;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.checkout-close:hover[b-2mcjsidosz] { background: #f0f0f0; color: #1a1a2e; }

#stripe-checkout-container[b-2mcjsidosz] {
    min-height: 300px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .billing-cards[b-2mcjsidosz] { grid-template-columns: 1fr; }
    .tier-grid[b-2mcjsidosz] { grid-template-columns: 1fr; }
    .costs-grid[b-2mcjsidosz] { grid-template-columns: repeat(2, 1fr); }
    .checkout-modal[b-2mcjsidosz] { width: 100%; max-width: 100vw; border-radius: 0; max-height: 100vh; }
}
/* /Pages/Jobs/GenerateJob.razor.rz.scp.css */
/* Pages/Jobs/GenerateJob.razor.css
   Light-theme scoped styles for the live job generation screen.
   Matches wireframe Screen 9: 3-step header, progress bar, live log, action buttons.
   SignalR pushes RowCompleted / JobProgress / JobDone events to update state.
*/

/* ── Page wrapper ─────────────────────────────────────────── */
.gen-layout[b-09lni2xgst] {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ── Page title ───────────────────────────────────────────── */
.gen-page-title[b-09lni2xgst] {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

/* ── Step indicator ───────────────────────────────────────── */
.gen-steps[b-09lni2xgst] {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.gen-step[b-09lni2xgst] { display: flex; align-items: center; gap: 8px; font-size: 12px; }

.gen-step-num[b-09lni2xgst] {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.gen-step-done-num[b-09lni2xgst]   { background: #7c6ff7; color: #fff; }
.gen-step-active-num[b-09lni2xgst] { background: #7c6ff7; color: #fff; }

.gen-step-label-done[b-09lni2xgst]   { color: #7c6ff7; font-weight: 600; }
.gen-step-label-active[b-09lni2xgst] { color: #7c6ff7; font-weight: 700; }
.gen-step-label-pending[b-09lni2xgst] { color: #888; }

.gen-step-divider[b-09lni2xgst] {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin: 0 12px;
}

/* ── Progress card ────────────────────────────────────────── */
.gen-card[b-09lni2xgst] {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.gen-card-icon[b-09lni2xgst] {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.gen-job-name[b-09lni2xgst] {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.gen-job-sub[b-09lni2xgst] {
  font-size: 13px;
  color: #888;
  margin-bottom: 22px;
}
.gen-status-done[b-09lni2xgst]  { color: #16a34a; font-weight: 600; }
.gen-status-warn[b-09lni2xgst]  { color: #d97706; }
.gen-status-error[b-09lni2xgst] { color: #dc2626; font-weight: 600; }

/* ── Progress bar ─────────────────────────────────────────── */
.gen-progress-meta[b-09lni2xgst] {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
  text-align: left;
}

.gen-progress-track[b-09lni2xgst] {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}
.gen-progress-fill[b-09lni2xgst] {
  height: 100%;
  background: linear-gradient(90deg, #7c6ff7, #8b5cf6);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.gen-progress-done[b-09lni2xgst] {
  background: linear-gradient(90deg, #16a34a, #4ade80) !important;
}

.gen-progress-pct[b-09lni2xgst] {
  font-size: 11px;
  color: #888;
  margin-bottom: 20px;
  text-align: right;
}

/* ── Live log ─────────────────────────────────────────────── */
.gen-log[b-09lni2xgst] {
  background: #0f1117;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.8;
  max-height: none;
  overflow-y: visible;
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #1e2030;
}

/* Scrollbar */
.gen-log[b-09lni2xgst]::-webkit-scrollbar { width: 4px; }
.gen-log[b-09lni2xgst]::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 2px; }

.gen-log-line[b-09lni2xgst] { padding: 1px 0; }
.gen-log-ok[b-09lni2xgst]         { color: #4ade80; }
.gen-log-processing[b-09lni2xgst] { color: #60a5fa; }
.gen-log-queued[b-09lni2xgst]     { color: #4a4a5a; }
.gen-log-error[b-09lni2xgst]      { color: #f87171; }
.gen-log-error-msg[b-09lni2xgst]  { opacity: 0.7; font-size: 10px; }

/* ── Action buttons ───────────────────────────────────────── */
.gen-actions[b-09lni2xgst] {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gen-actions-spaced[b-09lni2xgst] {
  margin-top: 20px;
}

.gen-btn-outline[b-09lni2xgst] {
  background: #ffffff;
  color: #555;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.gen-btn-outline:hover[b-09lni2xgst] { background: #f0f0f0; border-color: #888; }
.gen-btn-outline:disabled[b-09lni2xgst] { opacity: 0.4; cursor: not-allowed; }

.gen-btn-primary[b-09lni2xgst] {
  background: #7c6ff7;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(124,111,247,0.22);
}
.gen-btn-primary:hover[b-09lni2xgst] { background: #6b5ce6; text-decoration: none; }

.gen-btn-disabled[b-09lni2xgst] {
  background: #e0e0e0 !important;
  color: #888 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.6;
}

.gen-btn-warning[b-09lni2xgst] {
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(245,158,11,0.22);
}
.gen-btn-warning:hover[b-09lni2xgst] { background: #d97706; }
.gen-btn-warning:disabled[b-09lni2xgst] { opacity: 0.5; cursor: not-allowed; }

/* ── Error summary ───────────────────────────────────────── */
.gen-error-summary[b-09lni2xgst] {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: left;
}

.gen-error-summary-header[b-09lni2xgst] {
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 6px;
}

.gen-error-summary-item[b-09lni2xgst] {
  font-size: 11px;
  color: #7f1d1d;
  line-height: 1.6;
  padding: 2px 0;
}
.gen-error-summary-item strong[b-09lni2xgst] {
  color: #991b1b;
}
/* /Pages/Logs/AiUsageLogs.razor.rz.scp.css */
/* ── Log Tabs ───────────────────────────────────────────────────────────────── */

.log-tabs[b-hpyepy0kb8] {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.log-tab[b-hpyepy0kb8] {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

    .log-tab:hover[b-hpyepy0kb8] {
        color: #1a1a2e;
    }

    .log-tab.active[b-hpyepy0kb8] {
        color: #7c6ff7;
        border-bottom-color: #7c6ff7;
        font-weight: 600;
    }

/* ── Stats strip ─────────────────────────────────────────────────────────────── */

.ai-stats[b-hpyepy0kb8] {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ai-stat[b-hpyepy0kb8] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.ai-stat-value[b-hpyepy0kb8] {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.ai-stat-label[b-hpyepy0kb8] {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.stat-cost .ai-stat-value[b-hpyepy0kb8] {
    color: #7c6ff7;
}

/* ── Filters ────────────────────────────────────────────────────────────────── */

.log-filters[b-hpyepy0kb8] {
    margin-bottom: 20px;
}

.filter-group[b-hpyepy0kb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-input[b-hpyepy0kb8] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-hpyepy0kb8] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

/* ── Table ───────────────────────────────────────────────────────────────────── */

[b-hpyepy0kb8] .data-table {
    background: #fff;
}

.text-right[b-hpyepy0kb8] {
    text-align: right;
}

/* ── Badges ──────────────────────────────────────────────────────────────────── */

.badge-provider[b-hpyepy0kb8] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-cost[b-hpyepy0kb8] {
    background: #f0fdf4;
    color: #166534;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

/* ── Row expansion ──────────────────────────────────────────────────────────── */

.table-row[b-hpyepy0kb8] {
    cursor: pointer;
    transition: background 0.15s;
}

    .table-row:hover[b-hpyepy0kb8] {
        background: #f8f8f8;
    }

    .table-row.row-expanded[b-hpyepy0kb8] {
        background: #fafafa;
    }

.detail-row td[b-hpyepy0kb8] {
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}

.usage-detail[b-hpyepy0kb8] {
    padding: 20px 14px;
    background: #fafafa;
    border-top: 2px solid #ede9ff;
}

/* ── Detail Sections ────────────────────────────────────────────────────────── */

.detail-section[b-hpyepy0kb8] {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

    .detail-section:last-child[b-hpyepy0kb8] {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.detail-section-title[b-hpyepy0kb8] {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.detail-grid[b-hpyepy0kb8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-item[b-hpyepy0kb8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label[b-hpyepy0kb8] {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.detail-value[b-hpyepy0kb8] {
    font-size: 13px;
    color: #1a1a2e;
    word-break: break-all;
}

.mono[b-hpyepy0kb8] {
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-size: 12px;
}

.cost-value[b-hpyepy0kb8] {
    font-weight: 700;
    color: #7c6ff7;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .ai-stats[b-hpyepy0kb8] {
        flex-direction: column;
    }

    .ai-stat[b-hpyepy0kb8] {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
    }

    .filter-group[b-hpyepy0kb8] {
        flex-direction: column;
    }

    .filter-input[b-hpyepy0kb8] {
        width: 100%;
    }

    .detail-grid[b-hpyepy0kb8] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Logs/AuditLogs.razor.rz.scp.css */
/* ── Log Tabs ───────────────────────────────────────────────────────────────── */

.log-tabs[b-pe57wj2k9n] {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.log-tab[b-pe57wj2k9n] {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

    .log-tab:hover[b-pe57wj2k9n] {
        color: #1a1a2e;
    }

    .log-tab.active[b-pe57wj2k9n] {
        color: #7c6ff7;
        border-bottom-color: #7c6ff7;
        font-weight: 600;
    }

/* ── Filters ────────────────────────────────────────────────────────────────── */

.log-filters[b-pe57wj2k9n] {
    margin-bottom: 20px;
}

.filter-group[b-pe57wj2k9n] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-input[b-pe57wj2k9n] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-pe57wj2k9n] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

/* ── Table ──────────────────────────────────────────────────────────────────── */

[b-pe57wj2k9n] .data-table {
    background: #fff;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */

.badge-audit[b-pe57wj2k9n] {
    background: #ede9ff;
    color: #7c6ff7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-method[b-pe57wj2k9n] {
    background: #f0f0f0;
    color: #555;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    font-family: monospace;
    margin-right: 4px;
}

/* ── Row expansion ──────────────────────────────────────────────────────────── */

.table-row[b-pe57wj2k9n] {
    cursor: pointer;
    transition: background 0.15s;
}

    .table-row:hover[b-pe57wj2k9n] {
        background: #f8f8f8;
    }

    .table-row.row-expanded[b-pe57wj2k9n] {
        background: #fafafa;
    }

.detail-row td[b-pe57wj2k9n] {
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}

.log-detail[b-pe57wj2k9n] {
    padding: 20px 14px;
    background: #fafafa;
    border-top: 2px solid #ede9ff;
}

/* ── Detail Sections ────────────────────────────────────────────────────────── */

.detail-section[b-pe57wj2k9n] {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

    .detail-section:last-child[b-pe57wj2k9n] {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.detail-section-title[b-pe57wj2k9n] {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.detail-grid[b-pe57wj2k9n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-item[b-pe57wj2k9n] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label[b-pe57wj2k9n] {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.detail-value[b-pe57wj2k9n] {
    font-size: 13px;
    color: #1a1a2e;
    word-break: break-all;
}

.mono[b-pe57wj2k9n] {
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-size: 12px;
}

/* ── Changes panel ──────────────────────────────────────────────────────────── */

.changes-panel[b-pe57wj2k9n] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.change-block[b-pe57wj2k9n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.json-block[b-pe57wj2k9n] {
    background: #0f1117;
    color: #a8b2c1;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .filter-group[b-pe57wj2k9n] {
        flex-direction: column;
    }

    .filter-input[b-pe57wj2k9n] {
        width: 100%;
    }

    .changes-panel[b-pe57wj2k9n] {
        grid-template-columns: 1fr;
    }

    .detail-grid[b-pe57wj2k9n] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Logs/ErrorLogs.razor.rz.scp.css */
/* ── Log Tabs ───────────────────────────────────────────────────────────────── */

.log-tabs[b-zgjy80sj32] {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.log-tab[b-zgjy80sj32] {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

    .log-tab:hover[b-zgjy80sj32] {
        color: #1a1a2e;
    }

    .log-tab.active[b-zgjy80sj32] {
        color: #7c6ff7;
        border-bottom-color: #7c6ff7;
        font-weight: 600;
    }

/* ── Stats strip ─────────────────────────────────────────────────────────────── */

.error-stats[b-zgjy80sj32] {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.error-stat[b-zgjy80sj32] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.error-stat-value[b-zgjy80sj32] {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.error-stat-label[b-zgjy80sj32] {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.stat-critical .error-stat-value[b-zgjy80sj32] {
    color: #991b1b;
}

.stat-audit .error-stat-value[b-zgjy80sj32] {
    color: #7c6ff7;
}

/* ── Filters ────────────────────────────────────────────────────────────────── */

.log-filters[b-zgjy80sj32] {
    margin-bottom: 20px;
}

.filter-group[b-zgjy80sj32] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-input[b-zgjy80sj32] {
    padding: 7px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #1a1a2e;
    min-width: 140px;
}

    .filter-input:focus[b-zgjy80sj32] {
        outline: none;
        border-color: #7c6ff7;
        box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.12);
    }

/* ── Severity badges ────────────────────────────────────────────────────────── */

.badge-warning[b-zgjy80sj32] {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-error[b-zgjy80sj32] {
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-critical[b-zgjy80sj32] {
    background: #991b1b;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-method[b-zgjy80sj32] {
    background: #f0f0f0;
    color: #555;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    font-family: monospace;
    margin-right: 4px;
}

/* ── Table ───────────────────────────────────────────────────────────────────── */

[b-zgjy80sj32] .data-table {
    background: #fff;
}

.table-row[b-zgjy80sj32] {
    cursor: pointer;
    transition: background 0.15s;
}

    .table-row:hover[b-zgjy80sj32] {
        background: #f8f8f8;
    }

    .table-row.row-expanded[b-zgjy80sj32] {
        background: #fafafa;
    }

.message-cell[b-zgjy80sj32] {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-row td[b-zgjy80sj32] {
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}

/* ── Detail panel ────────────────────────────────────────────────────────────── */

.error-detail[b-zgjy80sj32] {
    padding: 20px 14px;
    background: #fafafa;
    border-top: 2px solid #fee2e2;
}

/* ── Detail Sections ────────────────────────────────────────────────────────── */

.detail-section[b-zgjy80sj32] {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

    .detail-section:last-child[b-zgjy80sj32] {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.detail-section-title[b-zgjy80sj32] {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.detail-grid[b-zgjy80sj32] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-item[b-zgjy80sj32] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label[b-zgjy80sj32] {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.detail-value[b-zgjy80sj32] {
    font-size: 13px;
    color: #1a1a2e;
    word-break: break-all;
}

.mono[b-zgjy80sj32] {
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-size: 12px;
}

/* ── Code blocks ─────────────────────────────────────────────────────────────── */

.message-block[b-zgjy80sj32] {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 4px 0 0;
    color: #1a1a2e;
}

.stack-trace[b-zgjy80sj32] {
    background: #0f1117;
    color: #e06c75;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    margin: 4px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

.json-block[b-zgjy80sj32] {
    background: #0f1117;
    color: #a8b2c1;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
    margin: 4px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .error-stats[b-zgjy80sj32] {
        flex-direction: column;
    }

    .error-stat[b-zgjy80sj32] {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
    }

    .filter-group[b-zgjy80sj32] {
        flex-direction: column;
    }

    .filter-input[b-zgjy80sj32] {
        width: 100%;
    }

    .detail-grid[b-zgjy80sj32] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/NotFound.razor.rz.scp.css */
.notfound-page[b-dghjcxvk72] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    padding: 24px;
}

.notfound-card[b-dghjcxvk72] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 56px 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.notfound-code[b-dghjcxvk72] {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #7c6ff7 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.notfound-title[b-dghjcxvk72] {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.notfound-desc[b-dghjcxvk72] {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 28px;
}

.notfound-actions[b-dghjcxvk72] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.notfound-footer[b-dghjcxvk72] {
    font-size: 16px;
    font-weight: 800;
    color: #ccc;
}

@media (max-width: 480px) {
    .notfound-card[b-dghjcxvk72] {
        padding: 40px 24px 32px;
    }

    .notfound-code[b-dghjcxvk72] {
        font-size: 72px;
    }

    .notfound-title[b-dghjcxvk72] {
        font-size: 18px;
    }
}
/* /Pages/Templates/EmailEditor.razor.rz.scp.css */
/* Pages/Templates/EmailEditor.razor.css
   Light-theme scoped styles for the Email Template Builder.
   Matches wireframe Screen 6: 3-panel layout — palette | canvas | modal overlay.
   The canvas previews email HTML on a neutral bg; left panel and modals use warm light surfaces.
*/

/* ── Loading overlay ──────────────────────────────────────── */
.etb-loading-overlay[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}
.etb-loading-spinner[b-jgud7vhnln] {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #7c6ff7;
  border-radius: 50%;
  animation: etb-spin-b-jgud7vhnln 0.7s linear infinite;
}
@keyframes etb-spin-b-jgud7vhnln { to { transform: rotate(360deg); } }

/* ── Full-height editor wrapper ───────────────────────────── */
.etb-editor-wrap[b-jgud7vhnln] {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ── Top chrome bar ───────────────────────────────────────── */
.etb-topbar[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #7c6ff7;
  padding: 0 16px;
  height: 48px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.etb-topbar-left[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.etb-back-btn[b-jgud7vhnln] {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s;
}
.etb-back-btn:hover[b-jgud7vhnln] { background: rgba(255,255,255,0.25); text-decoration: none; }

.etb-topbar-logo[b-jgud7vhnln] {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.etb-breadcrumb[b-jgud7vhnln] {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

/* Subject line input (centred in topbar) */
.etb-subject-wrap[b-jgud7vhnln] {
  flex: 1;
  max-width: 420px;
  margin: 0 10px;
}
.etb-subject-input[b-jgud7vhnln] {
  width: 100%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.etb-subject-input[b-jgud7vhnln]::placeholder {
  color: rgba(255,255,255,0.5);
}
.etb-subject-input:focus[b-jgud7vhnln] {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
  color: #fff;
}

.etb-topbar-right[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.etb-btn-ghost[b-jgud7vhnln] {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.etb-btn-ghost:hover[b-jgud7vhnln] { background: rgba(255,255,255,0.22); }
.etb-btn-ghost:disabled[b-jgud7vhnln] { opacity: 0.5; cursor: not-allowed; }

.etb-btn-primary[b-jgud7vhnln] {
  background: #fff;
  color: #7c6ff7;
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.etb-btn-primary:hover[b-jgud7vhnln] { opacity: 0.9; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.etb-btn-primary:disabled[b-jgud7vhnln] { opacity: 0.5; cursor: not-allowed; }

/* Preview mode tabs */
.etb-preview-tabs[b-jgud7vhnln] { display: flex; gap: 3px; }
.etb-ptab[b-jgud7vhnln] {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.etb-ptab:hover[b-jgud7vhnln] { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.4); }
.etb-ptab-active[b-jgud7vhnln] {
  background: #fff !important;
  border-color: #fff !important;
  color: #7c6ff7 !important;
  font-weight: 600;
}

/* ── Main 2-panel layout ──────────────────────────────────── */
.etb-layout[b-jgud7vhnln] {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f0f0f0;
}

/* ── Left: palette panel ──────────────────────────────────── */
.etb-palette-panel[b-jgud7vhnln] {
  min-width: 260px;
  flex-shrink: 0;
  background: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  padding: 0;
}

.etb-panel-section[b-jgud7vhnln] {
  padding: 10px 12px 8px;
  border-bottom: 1px solid #e0e0e0;
}
.etb-panel-section:last-child[b-jgud7vhnln] { border-bottom: none; }

.etb-panel-section-label[b-jgud7vhnln] {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 6px;
}

.etb-palette[b-jgud7vhnln] { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }

.etb-palette-item[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 11px;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.etb-palette-item:hover[b-jgud7vhnln] {
  background: #ede9ff;
  border-color: #c4b5fd;
  color: #7c6ff7;
}
.etb-palette-icon[b-jgud7vhnln] { font-size: 13px; }

/* Field chips in left panel */
.etb-field-chips[b-jgud7vhnln] { display: flex; flex-direction: column; gap: 2px; }
.etb-field-tag[b-jgud7vhnln] {
  display: block;
  width: 100%;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #7c6ff7;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  padding: 4px 8px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.etb-field-tag:hover[b-jgud7vhnln] { background: #ede9ff; border-color: #c4b5fd; }
.etb-hint-text[b-jgud7vhnln] { font-size: 10px; color: #888; font-style: italic; }

/* Template name input */
.etb-tmpl-meta[b-jgud7vhnln] { }
.etb-meta-field[b-jgud7vhnln] { display: flex; flex-direction: column; gap: 3px; }
.etb-meta-label[b-jgud7vhnln] { font-size: 10px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.etb-meta-input[b-jgud7vhnln] {
  width: 100%;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 11px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.etb-meta-input:focus[b-jgud7vhnln] { border-color: #7c6ff7; box-shadow: 0 0 0 3px #ede9ff; }

/* ── Canvas area ──────────────────────────────────────────── */
.etb-canvas-area[b-jgud7vhnln] {
  flex: 1;
  background: #e8e8e8;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  min-width: 0;
}

.etb-canvas-hint[b-jgud7vhnln] {
  font-size: 11px;
  color: #888;
  margin-bottom: 12px;
  text-align: center;
}

.etb-canvas-scroll[b-jgud7vhnln] { width: 100%; display: flex; justify-content: center; }

.etb-canvas[b-jgud7vhnln] {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 1px solid #d1d1d1;
  min-height: 200px;
}

.etb-canvas-empty[b-jgud7vhnln] {
  padding: 48px 24px;
  text-align: center;
  color: #888;
  font-size: 13px;
  font-style: italic;
}

/* ── Individual block in canvas ───────────────────────────── */
.etb-block[b-jgud7vhnln] {
  position: relative;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s;
}
.etb-block:hover[b-jgud7vhnln] { border-color: #c4b5fd; }
.etb-block-selected[b-jgud7vhnln] { border-color: #7c6ff7 !important; }

/* Block toolbar (top-right overlay) */
.etb-block-toolbar[b-jgud7vhnln] {
  position: absolute;
  top: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 0 0 0 6px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.etb-block:hover .etb-block-toolbar[b-jgud7vhnln],
.etb-block-selected .etb-block-toolbar[b-jgud7vhnln] { opacity: 1; }

.etb-block-type-label[b-jgud7vhnln] {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-right: 6px;
  border-right: 1px solid #e0e0e0;
  margin-right: 2px;
}

.etb-block-btn[b-jgud7vhnln] {
  background: none;
  border: none;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background 0.12s, color 0.12s;
  line-height: 1;
}
.etb-block-btn:hover[b-jgud7vhnln] { background: #ede9ff; color: #7c6ff7; }
.etb-block-btn-danger:hover[b-jgud7vhnln] { background: #fee2e2 !important; color: #ef4444 !important; }

.etb-drag-handle[b-jgud7vhnln] {
  cursor: grab;
  font-size: 14px;
  color: #888;
  padding: 0 2px;
  user-select: none;
}
.etb-drag-handle:active[b-jgud7vhnln] { cursor: grabbing; }

/* SortableJS drag states */
.etb-drag-ghost[b-jgud7vhnln]  { opacity: 0.4; }
.etb-drag-chosen[b-jgud7vhnln] { box-shadow: 0 4px 20px rgba(124,111,247,0.25); }

/* ── Preview iframe ───────────────────────────────────────── */
.etb-iframe-wrap[b-jgud7vhnln] {
  width: 100%;
  max-width: 640px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.etb-iframe-mobile[b-jgud7vhnln] { max-width: 395px; }
.etb-iframe[b-jgud7vhnln] {
  width: 100%;
  flex: 1;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d1d1d1;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Plain text preview */
.etb-plaintext-preview[b-jgud7vhnln] {
  width: 100%;
  max-width: 640px;
  flex: 1;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow-y: auto;
}
.etb-plaintext-preview pre[b-jgud7vhnln] {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.75;
  color: #555;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Block edit modal ─────────────────────────────────────── */
.etb-modal-backdrop[b-jgud7vhnln] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  backdrop-filter: blur(2px);
}

.etb-modal[b-jgud7vhnln] {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 12px;
  width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.etb-modal-header[b-jgud7vhnln] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}

.etb-modal-close[b-jgud7vhnln] {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
.etb-modal-close:hover[b-jgud7vhnln] { background: #f0f0f0; color: #1a1a2e; }

.etb-modal-body[b-jgud7vhnln] { padding: 18px; }

.etb-modal-footer[b-jgud7vhnln] {
  padding: 12px 18px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Settings modal ───────────────────────────────────────── */
.etb-settings-grid[b-jgud7vhnln] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.etb-settings-field[b-jgud7vhnln] { display: flex; flex-direction: column; gap: 4px; }
.etb-settings-label[b-jgud7vhnln] {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}
.etb-settings-input[b-jgud7vhnln] {
  padding: 7px 10px;
  background: #f8f8f8;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 12px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
}
.etb-settings-input:focus[b-jgud7vhnln] { border-color: #7c6ff7; box-shadow: 0 0 0 3px #ede9ff; }
.etb-color-input[b-jgud7vhnln] {
  height: 36px;
  width: 100%;
  padding: 2px 4px;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  cursor: pointer;
  background: #ffffff;
}

/* ── Toast ────────────────────────────────────────────────── */
.etb-toast[b-jgud7vhnln] {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  animation: etb-toast-in-b-jgud7vhnln 0.2s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.etb-toast-ok[b-jgud7vhnln]    { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.etb-toast-error[b-jgud7vhnln] { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@keyframes etb-toast-in-b-jgud7vhnln {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .etb-subject-wrap[b-jgud7vhnln] { display: none; }
}
@media (max-width: 768px) {
  .etb-palette-panel[b-jgud7vhnln] { display: none; }
  .etb-topbar-logo[b-jgud7vhnln], .etb-breadcrumb[b-jgud7vhnln] { display: none; }
  .etb-settings-grid[b-jgud7vhnln] { grid-template-columns: 1fr; }
  .etb-modal[b-jgud7vhnln] { width: 95vw; }
}

/* ── Starter template picker ── */

.etb-starter-overlay[b-jgud7vhnln] {
    position: fixed;
    inset: 0;
    background: #f0f0f0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.etb-starter-container[b-jgud7vhnln] {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.etb-starter-title[b-jgud7vhnln] {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.etb-starter-subtitle[b-jgud7vhnln] {
    font-size: 14px;
    color: #555;
    margin: 0 0 32px;
}

.etb-starter-grid[b-jgud7vhnln] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.etb-starter-card[b-jgud7vhnln] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, box-shadow .15s;
}

.etb-starter-card:hover[b-jgud7vhnln] {
    border-color: #7c6ff7;
    box-shadow: 0 2px 12px rgba(124, 111, 247, .12);
}

.etb-starter-icon[b-jgud7vhnln] {
    font-size: 28px;
}

.etb-starter-card strong[b-jgud7vhnln] {
    font-size: 14px;
    color: #1a1a2e;
}

.etb-starter-desc[b-jgud7vhnln] {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* ── Code block textarea ── */

[b-jgud7vhnln] .code-textarea {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    background: #1e1e2e !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    line-height: 1.5 !important;
}

/* ── Conditional block section ── */

[b-jgud7vhnln] .block-condition-section {
    margin-top: 16px;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

[b-jgud7vhnln] .block-condition-toggle {
    background: none;
    border: none;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

[b-jgud7vhnln] .block-condition-toggle:hover {
    color: #7c6ff7;
}

[b-jgud7vhnln] .block-condition-badge {
    font-size: 10px;
    background: #ede9ff;
    color: #7c6ff7;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
}

[b-jgud7vhnln] .block-condition-body {
    margin-top: 8px;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 6px;
}

[b-jgud7vhnln] .btn-ghost-sm {
    background: none;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 11px;
    color: #555;
    cursor: pointer;
    margin-top: 8px;
}

[b-jgud7vhnln] .btn-ghost-sm:hover {
    border-color: #f05560;
    color: #f05560;
}

/* ── Block editor merge field chips ── */

[b-jgud7vhnln] .block-editor-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

[b-jgud7vhnln] .block-editor-fields-label {
    font-size: 10px;
    color: #888;
    font-weight: 600;
    margin-right: 4px;
}

[b-jgud7vhnln] .block-editor-field-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #7c6ff7;
    background: #ede9ff;
    border: 1px solid #c4b5fd;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
    transition: background 0.12s;
}

[b-jgud7vhnln] .block-editor-field-chip:hover {
    background: #ddd5ff;
}

/* ── Quill editor overrides ── */

[b-jgud7vhnln] .quill-container {
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
}

[b-jgud7vhnln] .ql-toolbar.ql-snow {
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 6px 8px !important;
}

[b-jgud7vhnln] .ql-container.ql-snow {
    border: none !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

[b-jgud7vhnln] .ql-editor {
    min-height: 100px;
    padding: 12px !important;
}

[b-jgud7vhnln] .ql-editor.ql-blank::before {
    font-style: normal;
    color: #aaa;
}

/* ── Send test / snippet inline toast ── */

.etb-toast-inline[b-jgud7vhnln] {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.etb-toast-inline.etb-toast-error[b-jgud7vhnln] {
    background: #fef2f2;
    color: #f05560;
    border: 1px solid #fecaca;
}

.etb-toast-inline.etb-toast-ok[b-jgud7vhnln] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

@media (max-width: 600px) {
    .etb-starter-grid[b-jgud7vhnln] {
        grid-template-columns: 1fr;
    }
}

/* ── Sample Data section ─────────────────────────────────── */
.etb-section-toggle[b-jgud7vhnln] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.etb-section-toggle:hover .etb-panel-section-label[b-jgud7vhnln] { color: #7c6ff7; }
.etb-toggle-icon[b-jgud7vhnln] {
    font-size: 14px;
    color: #888;
    font-weight: 700;
    line-height: 1;
}
.etb-section-body[b-jgud7vhnln] {
    padding-top: 4px;
}
.etb-sample-input[b-jgud7vhnln] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    font-size: 11px;
    background: #ffffff;
    color: #1a1a2e;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.etb-sample-input:focus[b-jgud7vhnln] {
    border-color: #7c6ff7;
    box-shadow: 0 0 0 3px #ede9ff;
}
.etb-clear-sample-btn[b-jgud7vhnln] {
    flex: 1;
    padding: 4px 8px;
    font-size: 10px;
    color: #888;
    background: transparent;
    border: 1px dashed #d1d1d1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s;
}
.etb-clear-sample-btn:hover[b-jgud7vhnln] {
    color: #7c6ff7;
    border-color: #7c6ff7;
}

/* ── Drop indicator for palette drag ─────────────────────── */

[b-jgud7vhnln] .etb-drop-indicator {
    height: 2px;
    background: #7c6ff7;
    margin: 2px 0;
    border-radius: 1px;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(124, 111, 247, .4);
}

/* ── Palette drag cursor ─────────────────────────────────── */

.etb-palette-item[draggable="true"][b-jgud7vhnln] {
    cursor: grab;
}
.etb-palette-item[draggable="true"]:active[b-jgud7vhnln] {
    cursor: grabbing;
}

/* ── AI Generate card & modal ────────────────────────────── */

.etb-starter-ai[b-jgud7vhnln] {
    border-color: #c4b8ff;
    background: linear-gradient(135deg, #f8f6ff 0%, #fff 100%);
}

.etb-starter-ai:hover[b-jgud7vhnln] {
    border-color: #7c6ff7;
    box-shadow: 0 2px 16px rgba(124, 111, 247, .18);
}

.etb-ai-dialog[b-jgud7vhnln] {
    width: 540px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
}

.etb-ai-textarea[b-jgud7vhnln] {
    width: 100%;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 13px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-sizing: border-box;
}

.etb-ai-textarea:focus[b-jgud7vhnln] {
    outline: none;
    border-color: #7c6ff7;
    box-shadow: 0 0 0 2px rgba(124, 111, 247, .15);
}

.etb-ai-textarea:disabled[b-jgud7vhnln] {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* ── AI loading overlay ── */

.etb-ai-loading[b-jgud7vhnln] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 220px;
    gap: 20px;
}

.etb-ai-loading-spinner[b-jgud7vhnln] {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etb-ai-loading-ring[b-jgud7vhnln] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #ede9ff;
    border-top-color: #7c6ff7;
    border-right-color: #7c6ff7;
    animation: etb-spin-b-jgud7vhnln 1s linear infinite;
}

.etb-ai-loading-icon[b-jgud7vhnln] {
    font-size: 28px;
    animation: etb-ai-pop-b-jgud7vhnln 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    z-index: 1;
}

.etb-ai-loading-text[b-jgud7vhnln] {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    animation: etb-ai-fade-up-b-jgud7vhnln 0.3s ease-out;
    text-align: center;
    min-height: 20px;
}

.etb-ai-loading-sub[b-jgud7vhnln] {
    font-size: 12px;
    color: #888;
    margin: -10px 0 0;
}

@keyframes etb-spin-b-jgud7vhnln {
    to { transform: rotate(360deg); }
}

@keyframes etb-ai-pop-b-jgud7vhnln {
    0%   { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

@keyframes etb-ai-fade-up-b-jgud7vhnln {
    0%   { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0);   opacity: 1; }
}
/* /Pages/Templates/PdfEditor.razor.rz.scp.css */
/* Pages/Templates/PdfEditor.razor.css
   Light-theme scoped styles for the PDF / Document Template Editor.
*/

/* ── Loading overlay ──────────────────────────────────────── */
.ped-loading-overlay[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}
.ped-loading-spinner[b-tdc0c1nkkl] {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #7c6ff7;
  border-radius: 50%;
  animation: ped-spin-b-tdc0c1nkkl 0.7s linear infinite;
}
@keyframes ped-spin-b-tdc0c1nkkl { to { transform: rotate(360deg); } }

/* ── Top chrome bar ───────────────────────────────────────── */
.ped-topbar[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #7c6ff7;
  padding: 0 16px;
  height: 48px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.ped-topbar-left[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ped-back-btn[b-tdc0c1nkkl] {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s;
}
.ped-back-btn:hover[b-tdc0c1nkkl] { background: rgba(255,255,255,0.25); text-decoration: none; }

.ped-topbar-logo[b-tdc0c1nkkl] {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ped-breadcrumb[b-tdc0c1nkkl] {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.ped-topbar-right[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ped-btn-ghost[b-tdc0c1nkkl] {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.ped-btn-ghost:hover[b-tdc0c1nkkl] { background: rgba(255,255,255,0.22); }

.ped-btn-primary[b-tdc0c1nkkl] {
  background: #fff;
  color: #7c6ff7;
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.ped-btn-primary:hover[b-tdc0c1nkkl] { opacity: 0.9; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.ped-btn-primary:disabled[b-tdc0c1nkkl] { opacity: 0.5; cursor: not-allowed; }

/* ── Editor layout ────────────────────────────────────────── */
.ped-layout[b-tdc0c1nkkl] {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f0f0f0;
  height: stretch;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.ped-sidebar[b-tdc0c1nkkl] {
  min-width: 260px;
  flex-shrink: 0;
  background: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  padding: 0;
}

.ped-sidebar-section[b-tdc0c1nkkl] {
  padding: 10px 12px 8px;
  border-bottom: 1px solid #e0e0e0;
}
.ped-sidebar-section:last-child[b-tdc0c1nkkl] { border-bottom: none; }

.ped-field-label[b-tdc0c1nkkl] {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 6px;
}

.ped-input[b-tdc0c1nkkl] {
  width: 100%;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 11px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ped-input:focus[b-tdc0c1nkkl] {
  border-color: #7c6ff7;
  box-shadow: 0 0 0 3px #ede9ff;
}

.ped-input-sm[b-tdc0c1nkkl] {
  padding: 3px 6px;
  font-size: 11px;
  height: 28px;
  box-sizing: border-box;
}

/* ── Collapsible section toggle ──────────────────────────── */
.ped-section-toggle[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.ped-section-toggle:hover .ped-field-label[b-tdc0c1nkkl] { color: #7c6ff7; }
.ped-toggle-icon[b-tdc0c1nkkl] {
  font-size: 14px;
  color: #888;
  font-weight: 700;
  line-height: 1;
}
.ped-section-body[b-tdc0c1nkkl] {
  padding-top: 4px;
}

/* ── Margins grid ────────────────────────────────────────── */
.ped-margins-grid[b-tdc0c1nkkl] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.ped-margins-grid label[b-tdc0c1nkkl] {
  font-size: 9px;
  color: #888;
  display: block;
  margin-bottom: 2px;
}

/* ── Color picker ────────────────────────────────────────── */
.ped-color-picker[b-tdc0c1nkkl] {
  width: 100%;
  height: 28px;
  box-sizing: border-box;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  background: #fff;
}

/* Output type list */
.ped-type-list[b-tdc0c1nkkl] { display: flex; flex-direction: column; gap: 2px; }
.ped-type-item[b-tdc0c1nkkl] {
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.12s, color 0.12s;
  border: 1px solid transparent;
}
.ped-type-item:hover[b-tdc0c1nkkl] { background: #ede9ff; color: #7c6ff7; }
.ped-type-disabled[b-tdc0c1nkkl] { opacity: 0.5; cursor: default; pointer-events: none; }
.ped-type-active[b-tdc0c1nkkl] {
  background: #ede9ff !important;
  border-color: #c4b5fd !important;
  color: #7c6ff7 !important;
  font-weight: 600;
}

/* Field chips */
.ped-fields-section .ped-field-chip[b-tdc0c1nkkl] {
  display: block;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #7c6ff7;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background 0.12s, border-color 0.12s;
}
.ped-field-chip:hover[b-tdc0c1nkkl] {
  background: #ede9ff;
  border-color: #c4b5fd;
}

.ped-add-field-btn[b-tdc0c1nkkl] {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px dashed #d1d1d1;
  border-radius: 5px;
  background: none;
  font-size: 10px;
  color: #888;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.ped-add-field-btn:hover[b-tdc0c1nkkl] { border-color: #c4b5fd; color: #7c6ff7; }

.ped-hint-text[b-tdc0c1nkkl] { font-size: 10px; color: #888; font-style: italic; }

/* Conditionals chips */
.ped-chips-row[b-tdc0c1nkkl] { display: flex; flex-wrap: wrap; gap: 3px; }
.ped-cond-chip[b-tdc0c1nkkl] {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: #555;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.ped-cond-chip:hover[b-tdc0c1nkkl] { background: #ede9ff; color: #7c6ff7; }

/* ── Main editor area ─────────────────────────────────────── */
.ped-main[b-tdc0c1nkkl] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}

/* Tab bar */
.ped-tabs[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
  padding: 0 16px;
  gap: 0;
  flex-shrink: 0;
}

.ped-tab[b-tdc0c1nkkl] {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.ped-tab:hover[b-tdc0c1nkkl] { color: #1a1a2e; }
.ped-tab-active[b-tdc0c1nkkl] {
  color: #7c6ff7 !important;
  border-bottom-color: #7c6ff7 !important;
  font-weight: 600;
}

.ped-tab-meta[b-tdc0c1nkkl] {
  margin-left: auto;
  font-size: 11px;
  color: #888;
  padding: 10px 0;
  font-style: italic;
}

/* ── Tab panel wrapper (keeps textarea in DOM for undo) ── */
.ped-tab-panel[b-tdc0c1nkkl] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ── Formatting toolbar ──────────────────────────────── */
.ped-toolbar[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 16px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ped-toolbar-btn[b-tdc0c1nkkl] {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  min-width: 28px;
  text-align: center;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ped-toolbar-btn:hover[b-tdc0c1nkkl] {
  background: #ede9ff;
  color: #7c6ff7;
  border-color: #c4b5fd;
}

.ped-toolbar-sep[b-tdc0c1nkkl] {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  margin: 0 4px;
}

/* ── Color dropdown ──────────────────────────────── */
.ped-toolbar-dropdown[b-tdc0c1nkkl] {
  position: relative;
}
.ped-color-dropdown[b-tdc0c1nkkl] {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  width: 120px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 100;
}
.ped-color-swatch[b-tdc0c1nkkl] {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.1s;
}
.ped-color-swatch:hover[b-tdc0c1nkkl] { transform: scale(1.15); }

/* Editor hint */
.ped-editor-hint[b-tdc0c1nkkl] {
  padding: 8px 16px;
  font-size: 11px;
  color: #888;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.ped-editor-hint code[b-tdc0c1nkkl] {
  background: #f8f8f8;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  color: #7c6ff7;
  font-size: 11px;
}

/* Monospace textarea */
.ped-textarea[b-tdc0c1nkkl] {
  flex: 1;
  width: 100%;
  padding: 16px;
  border: none;
  outline: none;
  resize: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #1a1a2e;
  background: #ffffff;
  caret-color: #7c6ff7;
}
.ped-textarea[b-tdc0c1nkkl]::placeholder { color: #888; }

/* Preview panel */
.ped-preview-panel[b-tdc0c1nkkl] {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f0f0f0;
}
.ped-preview-label[b-tdc0c1nkkl] {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 14px;
}
.pbd-export-btn[b-tdc0c1nkkl] {
  background: #7c6ff7;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.15s;
}
.pbd-export-btn:hover[b-tdc0c1nkkl] { background: #6b5ce6; }
.pbd-export-btn:disabled[b-tdc0c1nkkl] { opacity: 0.6; cursor: not-allowed; }
.ped-preview-content[b-tdc0c1nkkl] {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px 32px;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1a2e;
  transition: width 0.3s ease, min-height 0.3s ease;
}

/* Merge tag highlight in preview */
[b-tdc0c1nkkl] .ped-preview-tag {
  background: #fef3c7;
  color: #92400e;
  padding: 0 3px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

/* Scriban keyword highlight in preview */
[b-tdc0c1nkkl] .ped-preview-keyword {
  background: #f0f0f0;
  color: #888;
  padding: 0 3px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

/* ── Preview: Table styles (matches PdfBlockPreview.razor inline styles) ── */
[b-tdc0c1nkkl] .ped-preview-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
[b-tdc0c1nkkl] .ped-preview-content th,
[b-tdc0c1nkkl] .ped-preview-content td {
  border: 1px solid #d1d1d1;
  padding: 4px 8px;
  font-size: 12px;
  text-align: left;
}
[b-tdc0c1nkkl] .ped-preview-content th {
  background: #f8f8f8;
  font-weight: 600;
}

/* ── Preview: Alignment ──────────────────────────────────── */
[b-tdc0c1nkkl] .ped-preview-content .center { text-align: center; }
[b-tdc0c1nkkl] .ped-preview-content .right { text-align: right; }

/* ── Preview: Page break indicator ───────────────────────── */
[b-tdc0c1nkkl] .ped-preview-content .ped-pagebreak {
  border: 1px dashed #d1d1d1;
  text-align: center;
  padding: 8px;
  margin: 16px 0;
  color: #888;
  font-size: 11px;
  font-style: italic;
  background: #fafafa;
  border-radius: 4px;
}

/* ── Preview: QR placeholder ─────────────────────────────── */
[b-tdc0c1nkkl] .ped-preview-content .ped-qr-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 1px dashed #d1d1d1;
  border-radius: 6px;
  font-size: 11px;
  color: #888;
  text-align: center;
  margin: 8px 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-all;
  overflow: hidden;
  padding: 4px;
}

/* ── Preview: Barcode placeholder ─────────────────────────── */
[b-tdc0c1nkkl] .ped-preview-content .ped-barcode-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 1px dashed #d1d1d1;
  border-radius: 6px;
  font-size: 11px;
  color: #888;
  text-align: center;
  margin: 8px 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-all;
  overflow: hidden;
  padding: 4px;
}

/* ── Toast notifications ───────────────────────────────────── */
.ped-toast[b-tdc0c1nkkl] {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  animation: ped-toast-in-b-tdc0c1nkkl 0.2s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.ped-toast-ok[b-tdc0c1nkkl]    { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ped-toast-error[b-tdc0c1nkkl] { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@keyframes ped-toast-in-b-tdc0c1nkkl {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Block editor right sidebar ────────────────────────── */
.ped-block-sidebar[b-tdc0c1nkkl] {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border-left: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ped-sidebar-slide-in-b-tdc0c1nkkl 0.2s ease-out;
}

@keyframes ped-sidebar-slide-in-b-tdc0c1nkkl {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.ped-block-sidebar-header[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}

.ped-block-sidebar-body[b-tdc0c1nkkl] {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.ped-block-sidebar-footer[b-tdc0c1nkkl] {
  padding: 12px 16px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* ── Image / QR dialog ─────────────────────────────────── */
.ped-dialog-overlay[b-tdc0c1nkkl] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.ped-dialog[b-tdc0c1nkkl] {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 12px;
  width: 480px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.ped-dialog-header[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}

.ped-dialog-close[b-tdc0c1nkkl] {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
.ped-dialog-close:hover[b-tdc0c1nkkl] { background: #f0f0f0; color: #1a1a2e; }

.ped-dialog-body[b-tdc0c1nkkl] { padding: 18px; }

.ped-dialog-footer[b-tdc0c1nkkl] {
  padding: 12px 18px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* Dialog buttons (consistent with EmailEditor) */
.ped-dialog-btn-ghost[b-tdc0c1nkkl] {
  background: #f8f8f8;
  color: #555;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.ped-dialog-btn-ghost:hover[b-tdc0c1nkkl] { background: #f0f0f0; }

.ped-dialog-btn-primary[b-tdc0c1nkkl] {
  background: #7c6ff7;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 transparent;
}
.ped-dialog-btn-primary:hover[b-tdc0c1nkkl] { background: #6b5ce6; box-shadow: 0 2px 12px rgba(124,111,247,0.25); }
.ped-dialog-btn-primary:disabled[b-tdc0c1nkkl] { opacity: 0.5; cursor: not-allowed; }

/* ── Markdown preview styling ──────────────────────────── */
[b-tdc0c1nkkl] .ped-preview-content h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #1a1a2e;
}
[b-tdc0c1nkkl] .ped-preview-content h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #1a1a2e;
}
[b-tdc0c1nkkl] .ped-preview-content h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #1a1a2e;
}
[b-tdc0c1nkkl] .ped-preview-content strong {
  font-weight: 700;
}
[b-tdc0c1nkkl] .ped-preview-content em {
  font-style: italic;
}
[b-tdc0c1nkkl] .ped-preview-content ul,
[b-tdc0c1nkkl] .ped-preview-content ol {
  padding-left: 24px;
  margin: 8px 0;
}
[b-tdc0c1nkkl] .ped-preview-content li {
  margin-bottom: 4px;
}
[b-tdc0c1nkkl] .ped-preview-content hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 16px 0;
}
[b-tdc0c1nkkl] .ped-preview-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 8px 0;
}
[b-tdc0c1nkkl] .ped-preview-content p {
  margin: 0 0 4px;
  color: inherit;
}

/* ── Preview grid cells: match editor block styling exactly ── */
[b-tdc0c1nkkl] .ped-preview-grid > div {
  font-size: 14px;
  line-height: 1.5;
  font-family: inherit;
  padding: 8px 12px;
  box-sizing: border-box;
}

[b-tdc0c1nkkl] .ped-preview-grid h1,
[b-tdc0c1nkkl] .ped-preview-grid h2,
[b-tdc0c1nkkl] .ped-preview-grid h3,
[b-tdc0c1nkkl] .ped-preview-grid table,
[b-tdc0c1nkkl] .ped-preview-grid hr,
[b-tdc0c1nkkl] .ped-preview-grid img {
  margin: 0;
}

[b-tdc0c1nkkl] .ped-preview-grid p {
  margin: 0 0 4px;
  color: inherit;
}

[b-tdc0c1nkkl] .ped-preview-grid ul,
[b-tdc0c1nkkl] .ped-preview-grid ol {
  margin: 2px 0;
  padding-left: 20px;
}

[b-tdc0c1nkkl] .ped-preview-grid li {
  margin-bottom: 0;
}

/* ── Import PDF: file upload input (hidden) ─────────────── */
.ped-upload-input[b-tdc0c1nkkl] { display: none; }

/* ── Import PDF: centered upload dropzone ────────────────── */
.ped-pdf-upload-zone[b-tdc0c1nkkl] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.ped-pdf-upload-content[b-tdc0c1nkkl] { text-align: center; max-width: 380px; }
.ped-pdf-upload-icon[b-tdc0c1nkkl] {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  background: #ffffff;
  border: 2px dashed #d1d1d1;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #7c6ff7;
}
.ped-pdf-upload-btn[b-tdc0c1nkkl] {
  display: inline-block;
  padding: 8px 20px;
  background: #7c6ff7; color: #fff;
  border-radius: 6px; font-weight: 600; font-size: 13px;
  cursor: pointer; border: none;
}
.ped-pdf-upload-btn:hover[b-tdc0c1nkkl] { background: #6b5ce6; }

/* ── Import PDF: viewer layout ───────────────────────────── */
.ped-pdf-viewer-area[b-tdc0c1nkkl] {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
}
.ped-pdf-page-nav[b-tdc0c1nkkl] {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.ped-pdf-zoom-controls[b-tdc0c1nkkl] {
  margin-left: auto; display: flex; align-items: center; gap: 4px;
}
.ped-pdf-canvas-wrapper[b-tdc0c1nkkl] {
  flex: 1; overflow: auto; padding: 20px;
  display: flex; justify-content: center;
  background: #f0f0f0;
}
.ped-pdf-canvas-container[b-tdc0c1nkkl] {
  position: relative; display: inline-block;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  background: #fff;
}
.ped-pdf-canvas-container canvas[b-tdc0c1nkkl] { display: block; }

/* ── Import PDF: overlay ─────────────────────────────────── */
.ped-pdf-overlay[b-tdc0c1nkkl] {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  cursor: default;
}
.ped-pdf-overlay-drawing[b-tdc0c1nkkl] { cursor: crosshair; }

/* ── Import PDF: field boxes ─────────────────────────────── */
.ped-pdf-field-box[b-tdc0c1nkkl] {
  position: absolute;
  border: 2px dashed #7c6ff7;
  background: rgba(124, 111, 247, 0.08);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
}
.ped-pdf-field-acro[b-tdc0c1nkkl] { border-color: #7c6ff7; }
.ped-pdf-field-drawn[b-tdc0c1nkkl] { border-color: #27ae60; background: rgba(39, 174, 96, 0.08); }
.ped-pdf-field-selected[b-tdc0c1nkkl] {
  border-style: solid; border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.10); z-index: 2;
}
.ped-pdf-field-label[b-tdc0c1nkkl] {
  font-size: 10px; color: #7c6ff7; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 4px; font-family: 'JetBrains Mono', monospace; font-weight: 600;
}
.ped-pdf-field-drawn .ped-pdf-field-label[b-tdc0c1nkkl] { color: #27ae60; }
.ped-pdf-field-selected .ped-pdf-field-label[b-tdc0c1nkkl] { color: #e74c3c; }

/* ── Field type icon overlay ── */
.ped-field-type-icon[b-tdc0c1nkkl] {
  position: absolute;
  top: 1px;
  right: 1px;
  font-size: 9px;
  line-height: 1;
  color: #7c6ff7;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  padding: 1px 2px;
  pointer-events: none;
  z-index: 1;
}
.ped-pdf-field-drawn .ped-field-type-icon[b-tdc0c1nkkl] { color: #27ae60; }
.ped-pdf-field-selected .ped-field-type-icon[b-tdc0c1nkkl] { color: #e74c3c; }

/* ── Drawn field dimension & position labels ─────────────── */
.ped-field-dim[b-tdc0c1nkkl] {
  position: absolute;
  bottom: -1px;
  right: -1px;
  font-size: 8px;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 4px;
  border-radius: 3px 0 0 0;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.3;
}
.ped-field-pos[b-tdc0c1nkkl] {
  position: absolute;
  top: -1px;
  left: -1px;
  font-size: 8px;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 4px;
  border-radius: 0 0 3px 0;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.3;
}

/* ── Drag-to-move cursors ────────────────────────────────── */
.ped-pdf-field-draggable[b-tdc0c1nkkl] {
  cursor: grab;
}
.ped-pdf-field-draggable:active[b-tdc0c1nkkl],
.ped-pdf-field-grabbing[b-tdc0c1nkkl] {
  cursor: grabbing;
}

/* ── Snap alignment guides ──────────────────────────────── */
.ped-snap-guide-h[b-tdc0c1nkkl] {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e74c3c;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
}
.ped-snap-guide-v[b-tdc0c1nkkl] {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e74c3c;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
}

/* ── Import PDF: field layout with label ─────────────────── */
.ped-pdf-field-wrapper[b-tdc0c1nkkl] {
  display: flex; width: 100%; height: 100%; overflow: hidden;
}
.ped-pdf-field-layout-top[b-tdc0c1nkkl] { flex-direction: column; }
.ped-pdf-field-layout-left[b-tdc0c1nkkl] { flex-direction: row; align-items: center; }

.ped-pdf-field-label-text[b-tdc0c1nkkl] {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 3px; pointer-events: none; flex-shrink: 0;
  font-size: 9px; color: #333;
}
.ped-pdf-field-layout-left .ped-pdf-field-label-text[b-tdc0c1nkkl] { margin-right: 4px; }

.ped-pdf-field-value[b-tdc0c1nkkl] {
  font-size: 10px; color: #7c6ff7; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 3px; font-family: 'JetBrains Mono', monospace; font-weight: 600;
  flex: 1; box-sizing: border-box;
}
.ped-pdf-field-drawn .ped-pdf-field-value[b-tdc0c1nkkl] { color: #27ae60; }
.ped-pdf-field-selected .ped-pdf-field-value[b-tdc0c1nkkl] { color: #e74c3c; }

/* ── Import PDF: style toggle buttons ────────────────────── */
.ped-style-btn[b-tdc0c1nkkl] {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 8px; font-size: 11px; border: 1px solid #d1d1d1;
  border-radius: 4px; background: #fff; color: #555; cursor: pointer;
  transition: all 0.15s; height: 28px; box-sizing: border-box;
}
.ped-style-btn:hover[b-tdc0c1nkkl] { border-color: #7c6ff7; color: #7c6ff7; }
.ped-style-btn-active[b-tdc0c1nkkl] {
  background: #ede9ff; border-color: #7c6ff7; color: #7c6ff7; font-weight: 700;
}

/* ── Import PDF: property section heading ────────────────── */
.ped-prop-heading[b-tdc0c1nkkl] {
  display: block; margin: 10px 0 4px; font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #888;
}

/* ── Import PDF: draw preview ────────────────────────────── */
.ped-pdf-draw-preview[b-tdc0c1nkkl] {
  position: absolute;
  border: 2px solid #27ae60;
  background: rgba(39, 174, 96, 0.12);
  pointer-events: none; box-sizing: border-box;
}

/* ── Import PDF: field list in sidebar ───────────────────── */
.ped-import-field-list[b-tdc0c1nkkl] { display: flex; flex-direction: column; gap: 2px; }
.ped-import-field-item[b-tdc0c1nkkl] {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 6px; border-radius: 4px; cursor: pointer;
  font-size: 11px; color: #1a1a2e;
}
.ped-import-field-item:hover[b-tdc0c1nkkl] { background: #ede9ff; }
.ped-import-field-active[b-tdc0c1nkkl] {
  background: #ede9ff;
  border-left: 3px solid #7c6ff7;
  padding-left: 3px;
}
.ped-import-field-icon[b-tdc0c1nkkl] {
  width: 16px; height: 16px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
  background: #7c6ff7;
}
.ped-import-field-name[b-tdc0c1nkkl] {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
}
.ped-import-field-page[b-tdc0c1nkkl] { font-size: 10px; color: #888; flex-shrink: 0; }

/* ── Import PDF: draw field button ───────────────────────── */
.ped-draw-btn[b-tdc0c1nkkl] {
  width: 100%; padding: 7px;
  background: #7c6ff7; color: #fff;
  border: none; border-radius: 5px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.ped-draw-btn:hover[b-tdc0c1nkkl] { background: #6b5ce6; }
.ped-draw-btn-active[b-tdc0c1nkkl] { background: #e74c3c; }
.ped-draw-btn-active:hover[b-tdc0c1nkkl] { background: #c0392b; }

/* ── Mobile sidebar toggle (hidden on desktop) ─────────── */
.ped-sidebar-toggle[b-tdc0c1nkkl] { display: none; }
.ped-sidebar-backdrop[b-tdc0c1nkkl] { display: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ped-sidebar-toggle[b-tdc0c1nkkl] { display: inline-block; }
  .ped-topbar-logo[b-tdc0c1nkkl], .ped-breadcrumb[b-tdc0c1nkkl] { display: none; }

  .ped-sidebar[b-tdc0c1nkkl] {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    bottom: 0;
    z-index: 500;
    width: 260px;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .ped-sidebar.ped-sidebar-open[b-tdc0c1nkkl] {
    display: block;
  }

  .ped-sidebar-backdrop[b-tdc0c1nkkl] {
    display: block;
    position: fixed;
    inset: 0;
    top: 48px;
    background: rgba(0,0,0,0.3);
    z-index: 499;
  }

  .ped-starter-grid[b-tdc0c1nkkl] {
    grid-template-columns: 1fr;
  }
}

/* ── Starter template picker ─────────────────────────────── */

.ped-starter-overlay[b-tdc0c1nkkl] {
  position: fixed;
  inset: 0;
  background: #f0f0f0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.ped-starter-container[b-tdc0c1nkkl] {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.ped-starter-title[b-tdc0c1nkkl] {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.ped-starter-subtitle[b-tdc0c1nkkl] {
  font-size: 14px;
  color: #555;
  margin: 0 0 32px;
}

.ped-starter-grid[b-tdc0c1nkkl] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.ped-starter-card[b-tdc0c1nkkl] {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}

.ped-starter-card:hover[b-tdc0c1nkkl] {
  border-color: #7c6ff7;
  box-shadow: 0 2px 12px rgba(124, 111, 247, .12);
}

.ped-starter-icon[b-tdc0c1nkkl] {
  font-size: 28px;
}

.ped-starter-card strong[b-tdc0c1nkkl] {
  font-size: 14px;
  color: #1a1a2e;
}

.ped-starter-desc[b-tdc0c1nkkl] {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

/* ── AI Generate card & modal ─────────────────────────────── */

.ped-starter-ai[b-tdc0c1nkkl] {
  border-color: #c4b8ff;
  background: linear-gradient(135deg, #f8f6ff 0%, #fff 100%);
}

.ped-starter-ai:hover[b-tdc0c1nkkl] {
  border-color: #7c6ff7;
  box-shadow: 0 2px 16px rgba(124, 111, 247, .18);
}

.ped-ai-dialog[b-tdc0c1nkkl] {
  width: 540px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
}

.ped-ai-textarea[b-tdc0c1nkkl] {
  width: 100%;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-sizing: border-box;
}

.ped-ai-textarea:focus[b-tdc0c1nkkl] {
  outline: none;
  border-color: #7c6ff7;
  box-shadow: 0 0 0 2px rgba(124, 111, 247, .15);
}

.ped-ai-textarea:disabled[b-tdc0c1nkkl] {
  background: #f5f5f5;
  cursor: not-allowed;
}

.ped-ai-spinner[b-tdc0c1nkkl] {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ped-spin-b-tdc0c1nkkl 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── AI loading overlay ── */

.ped-ai-loading[b-tdc0c1nkkl] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 220px;
  gap: 20px;
}

.ped-ai-loading-spinner[b-tdc0c1nkkl] {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ped-ai-loading-ring[b-tdc0c1nkkl] {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #ede9ff;
  border-top-color: #7c6ff7;
  border-right-color: #7c6ff7;
  animation: ped-spin-b-tdc0c1nkkl 1s linear infinite;
}

.ped-ai-loading-icon[b-tdc0c1nkkl] {
  font-size: 28px;
  animation: ped-ai-pop-b-tdc0c1nkkl 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  z-index: 1;
}

.ped-ai-loading-text[b-tdc0c1nkkl] {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  animation: ped-ai-fade-up-b-tdc0c1nkkl 0.3s ease-out;
  text-align: center;
  min-height: 20px;
}

.ped-ai-loading-sub[b-tdc0c1nkkl] {
  font-size: 12px;
  color: #888;
  margin: -10px 0 0;
}

@keyframes ped-ai-pop-b-tdc0c1nkkl {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

@keyframes ped-ai-fade-up-b-tdc0c1nkkl {
  0%   { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}

/* ── Keyboard shortcuts panel ─────────────────────────────── */

.ped-shortcuts-table[b-tdc0c1nkkl] {
  width: 100%;
  border-collapse: collapse;
}

.ped-shortcuts-table td[b-tdc0c1nkkl] {
  padding: 6px 8px;
  font-size: 12px;
  color: #1a1a2e;
  border-bottom: 1px solid #f0f0f0;
}

.ped-shortcuts-table td:first-child[b-tdc0c1nkkl] {
  white-space: nowrap;
  width: 1%;
  padding-right: 16px;
}

.ped-kbd[b-tdc0c1nkkl] {
  display: inline-block;
  padding: 2px 6px;
  background: #f0f0f0;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
  margin-right: 2px;
  min-width: 20px;
  text-align: center;
}

/* ── Field Presets ── */

.ped-preset-list[b-tdc0c1nkkl] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.ped-preset-item[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ped-preset-apply[b-tdc0c1nkkl] {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: #1a1a2e;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.ped-preset-apply:hover:not(:disabled)[b-tdc0c1nkkl] {
  background: #f5f3ff;
  border-color: #7c6ff7;
}

.ped-preset-apply:disabled[b-tdc0c1nkkl] {
  opacity: 0.5;
  cursor: default;
}

.ped-preset-type-badge[b-tdc0c1nkkl] {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: #7c6ff7;
  background: #ede9ff;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.ped-preset-name[b-tdc0c1nkkl] {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ped-preset-delete[b-tdc0c1nkkl] {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.ped-preset-delete:hover[b-tdc0c1nkkl] {
  color: #e74c3c;
  background: #fff5f5;
  border-color: #fca5a5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PDF Block Designer (.pbd-*)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Palette grid (sidebar) ────────────────────────────────────────────────── */

.pbd-palette-category[b-tdc0c1nkkl] {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 10px 0 4px;
}

.pbd-palette-category:first-child[b-tdc0c1nkkl] {
  margin-top: 4px;
}

.pbd-palette-grid[b-tdc0c1nkkl] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.pbd-palette-btn[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: #333;
  cursor: grab;
  transition: all 0.15s;
  user-select: none;
}

.pbd-palette-btn:active[b-tdc0c1nkkl] {
  cursor: grabbing;
}

.pbd-palette-btn:hover[b-tdc0c1nkkl] {
  border-color: #7c6ff7;
  background: #f8f7ff;
  color: #7c6ff7;
}

.pbd-palette-icon[b-tdc0c1nkkl] {
  width: 20px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Designer scroll wrapper (grey background matching preview panel) ─────── */

.pbd-designer-scroll[b-tdc0c1nkkl] {
  flex: 1;
  overflow: auto;
  padding: 24px;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ── Shared page-sheet appearance (white paper on grey) ───────────────────── */

.ped-page-sheet[b-tdc0c1nkkl] {
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── Block canvas ──────────────────────────────────────────────────────────── */

.pbd-canvas[b-tdc0c1nkkl] {
  padding: 16px;
  min-height: 300px;
}

.pbd-grid-canvas[b-tdc0c1nkkl] {
  display: grid;
  gap: 0;
  position: relative;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── Grid cell overlay (visual guide — boxes with center dots) ─────────────── */

.pbd-grid-overlay[b-tdc0c1nkkl] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Inset shadow for edge lines — doesn't affect box model or background width */
  box-shadow: inset 0 0 0 1px rgba(124, 111, 247, 0.13);
  /* Cell borders — percentage-based so 100%/12 always produces exactly 12 equal tiles */
  background-image:
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent calc(100% / var(--grid-cols, 12) - 1px),
      rgba(124, 111, 247, 0.13) calc(100% / var(--grid-cols, 12) - 1px),
      rgba(124, 111, 247, 0.13) calc(100% / var(--grid-cols, 12))
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent calc(var(--grid-row-height, 60px) - 1px),
      rgba(124, 111, 247, 0.13) calc(var(--grid-row-height, 60px) - 1px),
      rgba(124, 111, 247, 0.13) var(--grid-row-height, 60px)
    );
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

/* Individual cell dots rendered via a pseudo-element */
.pbd-grid-overlay[b-tdc0c1nkkl]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(124, 111, 247, 0.22) 2px, transparent 2px);
  background-size:
    calc(100% / var(--grid-cols, 12)) var(--grid-row-height, 60px);
  background-position:
    calc(100% / var(--grid-cols, 12) / 2) calc(var(--grid-row-height, 60px) / 2);
}

.pbd-block[b-tdc0c1nkkl] {
  position: relative;
  transition: outline-color 0.15s, box-shadow 0.15s;
  z-index: 1;
  overflow: hidden;
  min-height: 0;
  box-sizing: border-box;
  margin: 0 3px;
}

.pbd-block:active[b-tdc0c1nkkl] {
  cursor: grabbing;
}

.pbd-block:hover[b-tdc0c1nkkl] {
  outline: 1px solid #d1d1d1;
  outline-offset: -1px;
}

.pbd-block-selected[b-tdc0c1nkkl] {
  outline: 2px solid #7c6ff7 !important;
  outline-offset: -2px;
  box-shadow: 0 0 0 2px rgba(124, 111, 247, 0.15);
}

/* ── Block toolbar (appears on hover) ──────────────────────────────────────── */

.pbd-block-toolbar[b-tdc0c1nkkl] {
  position: absolute;
  top: -1px;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 2;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 6px 0 6px;
  padding: 2px 4px;
}

.pbd-block:hover .pbd-block-toolbar[b-tdc0c1nkkl],
.pbd-block-selected .pbd-block-toolbar[b-tdc0c1nkkl] {
  opacity: 1;
}

.pbd-toolbar-action[b-tdc0c1nkkl] {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13px;
  color: #888;
  padding: 2px 5px;
  border-radius: 3px;
  transition: all 0.15s;
}

.pbd-toolbar-action:hover[b-tdc0c1nkkl] {
  color: #7c6ff7;
  background: #ede9ff;
}

.pbd-toolbar-delete:hover[b-tdc0c1nkkl] {
  color: #e74c3c !important;
  background: #fff5f5 !important;
}

/* ── Block content area ───────────────────────────────────────────────────── */

.pbd-block-content[b-tdc0c1nkkl] {
  pointer-events: none;
  user-select: none;
  padding: 8px 12px;
  height: 100%;
  box-sizing: border-box;
}

.pbd-block-content :deep(img)[b-tdc0c1nkkl] {
  pointer-events: none;
}

/* ── Drag states ──────────────────────────────────────────────────────────── */

.pbd-drag-ghost[b-tdc0c1nkkl] {
  opacity: 0.4;
  border: 2px dashed #7c6ff7;
  border-radius: 6px;
}

.pbd-drag-chosen[b-tdc0c1nkkl] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pbd-drag-dragging[b-tdc0c1nkkl] {
  opacity: 0;
}

/* ── Resize handles (shown on selected block) ─────────────────────────────── */

.pbd-resize-handle[b-tdc0c1nkkl] {
  position: absolute;
  z-index: 3;
  background: #7c6ff7;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}

.pbd-block-selected .pbd-resize-handle[b-tdc0c1nkkl] {
  opacity: 1;
}

.pbd-resize-e[b-tdc0c1nkkl] {
  right: -3px;
  top: 20%;
  bottom: 20%;
  width: 6px;
  cursor: ew-resize;
}

.pbd-resize-s[b-tdc0c1nkkl] {
  bottom: -3px;
  left: 20%;
  right: 20%;
  height: 6px;
  cursor: ns-resize;
}

.pbd-resize-se[b-tdc0c1nkkl] {
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  cursor: nwse-resize;
  border-radius: 0 0 4px 0;
}

/* ── Grid drop indicator (shown during drag) ──────────────────────────────── */
/* ::deep needed because JS creates this element dynamically (no Blazor scope attr) */

[b-tdc0c1nkkl] .pbd-grid-drop-indicator {
  background-color: rgba(124, 111, 247, 0.10);
  background-image:
    /* Vertical cell dividers */
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent calc(var(--ghost-col-width, 80px) - 1px),
      rgba(124, 111, 247, 0.35) calc(var(--ghost-col-width, 80px) - 1px),
      rgba(124, 111, 247, 0.35) var(--ghost-col-width, 80px)
    ),
    /* Horizontal row dividers */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent calc(var(--ghost-row-height, 60px) - 1px),
      rgba(124, 111, 247, 0.35) calc(var(--ghost-row-height, 60px) - 1px),
      rgba(124, 111, 247, 0.35) var(--ghost-row-height, 60px)
    ),
    /* Center dots per cell */
    radial-gradient(circle, rgba(124, 111, 247, 0.4) 2px, transparent 2px);
  background-size:
    auto,
    auto,
    var(--ghost-col-width, 80px) var(--ghost-row-height, 60px);
  background-position:
    0 0,
    0 0,
    calc(var(--ghost-col-width, 80px) / 2) calc(var(--ghost-row-height, 60px) / 2);
  background-origin: border-box;
  box-sizing: border-box;
  border: 2px dashed #7c6ff7;
  border-radius: 6px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 12px rgba(124, 111, 247, 0.3);
}

/* ── Empty canvas state ───────────────────────────────────────────────────── */

.pbd-empty-canvas[b-tdc0c1nkkl] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #888;
  text-align: center;
}

.pbd-empty-icon[b-tdc0c1nkkl] {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.pbd-empty-canvas p[b-tdc0c1nkkl] {
  margin: 0;
  font-size: 15px;
}

.pbd-empty-hint[b-tdc0c1nkkl] {
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
}

/* ── Preview text in blocks ───────────────────────────────────────────────── */

.pbd-preview-inner[b-tdc0c1nkkl] {
  font-size: 14px;
  line-height: 1.5;
}

.pbd-preview-inner :deep(h2)[b-tdc0c1nkkl],
.pbd-preview-inner :deep(h3)[b-tdc0c1nkkl],
.pbd-preview-inner :deep(h4)[b-tdc0c1nkkl] {
  margin: 0;
}

.pbd-preview-inner :deep(table)[b-tdc0c1nkkl] {
  font-size: 12px;
}

.pbd-preview-text :deep(p)[b-tdc0c1nkkl],
.pbd-preview-text :deep(li)[b-tdc0c1nkkl] {
  margin: 0 0 4px;
  color: inherit;
}

.pbd-preview-text :deep(ul)[b-tdc0c1nkkl],
.pbd-preview-text :deep(ol)[b-tdc0c1nkkl] {
  margin: 2px 0;
  padding-left: 20px;
}

/* ── Conditional display (inside block editor modal) ──────────────────────── */

[b-tdc0c1nkkl] .block-condition-section {
  margin-top: 16px;
  border-top: 1px solid #e0e0e0;
  padding-top: 8px;
}

[b-tdc0c1nkkl] .block-condition-toggle {
  background: none;
  border: none;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

[b-tdc0c1nkkl] .block-condition-toggle:hover {
  color: #7c6ff7;
}

[b-tdc0c1nkkl] .block-condition-badge {
  font-size: 10px;
  background: #ede9ff;
  color: #7c6ff7;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 600;
}

[b-tdc0c1nkkl] .block-condition-body {
  margin-top: 8px;
  padding: 8px;
  background: #f8f8f8;
  border-radius: 6px;
}

[b-tdc0c1nkkl] .btn-ghost-sm {
  background: none;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: #555;
  cursor: pointer;
  margin-top: 8px;
}

[b-tdc0c1nkkl] .btn-ghost-sm:hover {
  border-color: #f05560;
  color: #f05560;
}

[b-tdc0c1nkkl] .btn-icon-sm {
  background: none;
  border: none;
  font-size: 12px;
  color: #aaa;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
}

[b-tdc0c1nkkl] .btn-icon-sm:hover {
  color: #e74c3c;
  background: #fff5f5;
}

/* ── Block editor form styles (PdfBlockEditor child component) ───────────── */

[b-tdc0c1nkkl] .block-editor {
  display: flex;
  flex-direction: column;
  gap: 0;
}

[b-tdc0c1nkkl] .editor-panel-heading {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 14px;
}

[b-tdc0c1nkkl] .field-group {
  margin-bottom: 14px;
}

[b-tdc0c1nkkl] .field-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  display: block;
  margin-bottom: 5px;
}

[b-tdc0c1nkkl] .form-control {
  width: 100%;
  padding: 8px 10px;
  background: #f8f8f8;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  font-size: 13px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

[b-tdc0c1nkkl] .form-control:focus {
  border-color: #7c6ff7;
  box-shadow: 0 0 0 3px #ede9ff;
  background: #ffffff;
}

[b-tdc0c1nkkl] .code-textarea {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  resize: vertical;
  min-height: 80px;
}

[b-tdc0c1nkkl] .option-list {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;
}

[b-tdc0c1nkkl] .option-item {
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  border: 1px solid #d1d1d1;
  background: #f8f8f8;
  white-space: nowrap;
}

[b-tdc0c1nkkl] .option-item:hover {
  background: #ede9ff;
  color: #7c6ff7;
}

[b-tdc0c1nkkl] .option-active {
  background: #ede9ff !important;
  border-color: #c4b5fd !important;
  color: #7c6ff7 !important;
  font-weight: 600;
}

[b-tdc0c1nkkl] .block-editor-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

[b-tdc0c1nkkl] .block-editor-fields-label {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  margin-right: 4px;
}

[b-tdc0c1nkkl] .block-editor-field-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #7c6ff7;
  background: #ede9ff;
  border: 1px solid #c4b5fd;
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  transition: background 0.12s;
}

[b-tdc0c1nkkl] .block-editor-field-chip:hover {
  background: #ddd5ff;
}

[b-tdc0c1nkkl] .etb-field-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #7c6ff7;
  background: #ede9ff;
  border: 1px solid #c4b5fd;
  border-radius: 4px;
  padding: 3px 7px;
  cursor: pointer;
  transition: background 0.12s;
}

[b-tdc0c1nkkl] .etb-field-tag:hover {
  background: #ddd6de;
}

[b-tdc0c1nkkl] .btn-link {
  background: none;
  border: none;
  color: #7c6ff7;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}

[b-tdc0c1nkkl] .btn-link:hover {
  color: #6b5ce6;
  text-decoration: underline;
}

[b-tdc0c1nkkl] .btn-icon {
  background: none;
  border: none;
  color: #aaa;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  line-height: 1;
  transition: color 0.12s, background 0.12s;
}

[b-tdc0c1nkkl] .btn-icon:hover {
  color: #e74c3c;
  background: #fff5f5;
}

/* ── Icon picker grid (block editor modal) ───────────────────────────────── */

[b-tdc0c1nkkl] .pbd-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px 0;
}

[b-tdc0c1nkkl] .pbd-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 10px;
  color: #888;
  transition: all 0.12s;
}

[b-tdc0c1nkkl] .pbd-icon-item:hover {
  background: #f5f3ff;
  border-color: #d1d1d1;
  color: #555;
}

[b-tdc0c1nkkl] .pbd-icon-active {
  background: #ede9ff !important;
  border-color: #7c6ff7 !important;
  color: #7c6ff7 !important;
}

/* ── Emoji picker (floating panel from Quill toolbar) ────────────────────── */

.pbd-emoji-picker[b-tdc0c1nkkl] {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 280px;
  max-height: 280px;
  display: flex;
  flex-direction: column;
}

.pbd-emoji-tabs[b-tdc0c1nkkl] {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 4px;
  overflow-x: auto;
  flex-shrink: 0;
}

.pbd-emoji-tab[b-tdc0c1nkkl] {
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #888;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}

.pbd-emoji-tab:hover[b-tdc0c1nkkl] {
  color: #555;
}

.pbd-emoji-tab-active[b-tdc0c1nkkl] {
  color: #7c6ff7;
  border-bottom-color: #7c6ff7;
}

.pbd-emoji-grid[b-tdc0c1nkkl] {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  padding: 8px;
  overflow-y: auto;
  flex: 1;
}

.pbd-emoji-item[b-tdc0c1nkkl] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  border: none;
  background: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s, transform 0.1s;
}

.pbd-emoji-item:hover[b-tdc0c1nkkl] {
  background: #ede9ff;
  transform: scale(1.2);
}

/* ── Shape picker grid (block editor modal) ──────────────────────────────── */

[b-tdc0c1nkkl] .pbd-shape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 4px;
}

[b-tdc0c1nkkl] .pbd-shape-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 10px;
  color: #888;
  transition: all 0.12s;
}

[b-tdc0c1nkkl] .pbd-shape-item:hover {
  background: #f5f3ff;
  border-color: #d1d1d1;
}

[b-tdc0c1nkkl] .pbd-shape-active {
  background: #ede9ff !important;
  border-color: #7c6ff7 !important;
  color: #7c6ff7 !important;
}
/* /Pages/Terms.razor.rz.scp.css */
.legal-title[b-lgvfbbhd1g] {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a2e;
}

.legal-updated[b-lgvfbbhd1g] {
    color: #888;
    font-size: 13px;
    margin-bottom: 32px;
}

h2[b-lgvfbbhd1g] {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

p[b-lgvfbbhd1g] {
    color: #555;
    margin-bottom: 12px;
    font-size: 14px;
}

p a[b-lgvfbbhd1g] {
    color: #7c6ff7;
    text-decoration: none;
}

p a:hover[b-lgvfbbhd1g] {
    text-decoration: underline;
}

.legal-nav-links[b-lgvfbbhd1g] {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.legal-nav-links a[b-lgvfbbhd1g] {
    color: #7c6ff7;
    text-decoration: none;
}

.legal-nav-links a:hover[b-lgvfbbhd1g] {
    text-decoration: underline;
}

.legal-sep[b-lgvfbbhd1g] {
    color: #ccc;
}
