body {
    background-color: #FDF8F1;
}

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: flex;
    justify-content: center;
    pointer-events: none;
    width: auto;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__panel {
    width: min(100%, 760px);
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    background: rgba(255, 251, 245, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.cookie-consent__eyebrow {
    margin: 0;
    color: #9a6700;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent__title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.15rem;
    font-weight: 700;
}

.cookie-consent__description {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cookie-consent__description--muted {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.88rem;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.cookie-consent__link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
    text-decoration: underline;
}

.cookie-consent__manage {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1190;
    padding: 10px 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 251, 245, 0.98);
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.cookie-consent__manage:hover,
.cookie-consent__manage:focus-visible {
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-consent__panel {
        padding: 16px;
        border-radius: 16px;
    }

    .cookie-consent__actions {
        align-items: stretch;
    }

    .cookie-consent__actions .btn {
        width: 100%;
    }

    .cookie-consent__link {
        width: 100%;
    }

    .cookie-consent__manage {
        left: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }
}

#lp .lp-page-shell {
    padding-top: 80px;
}

a {
    color: #4F46E5;
}

.app-badge-premium {
    background: linear-gradient(135deg, #f6d365 0%, #c9951a 120%);
    color: #1f2a37;
    border: 1px solid rgba(166, 120, 0, 0.3);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.btn-sm {
    border-radius: 6px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 12px;
}

.project-column__logo {
    height: 34px;
    margin-left: 8px;
}

.project-column__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-column__header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}

.project-column__menu {
    position: relative;
    display: flex;
    align-items: center;
}

.project-column__locale-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.project-column__locale-toggle {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(55, 65, 81, 0.72);
    box-shadow: none;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.project-column__locale-toggle::-webkit-details-marker {
    display: none;
}

.project-column__locale-toggle:hover,
.project-column__locale-menu[open] .project-column__locale-toggle {
    color: #111827;
    opacity: 1;
}

.project-column__locale-toggle-icon,
.project-column__locale-toggle-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.project-column__locale-toggle-icon,
.project-column__locale-item-flag {
    border-radius: 6px;
    overflow: hidden;
}

.project-column__locale-toggle-icon {
    width: 18px;
    height: 14px;
}

.project-column__locale-item-flag {
    width: 18px;
    height: 14px;
}

.project-column__locale-toggle-icon :is(svg, img),
.project-column__locale-item-flag :is(svg, img) {
    display: block;
    width: 100%;
    height: 100%;
}

.project-column__menu-avatar {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.project-column__menu-avatar::-webkit-details-marker {
    display: none;
}

.project-column__menu-avatar-shell {
    --project-menu-ring-color: #4F46E5;
    --project-menu-ring-glow: rgba(79, 70, 229, 0.22);
    --project-menu-accent-color: #4F46E5;
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--project-menu-ring-color);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 6px 14px rgba(15, 23, 42, 0.12);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-column__menu-avatar-shell--free {
    --project-menu-ring-color: #4F46E5;
    --project-menu-ring-glow: rgba(79, 70, 229, 0.28);
    --project-menu-accent-color: #4F46E5;
}

.project-column__menu-avatar-shell--premium {
    --project-menu-ring-color: #c9951a;
    --project-menu-ring-glow: rgba(226, 173, 37, 0.32);
    --project-menu-accent-color: #c48a00;
}

.project-column__menu-avatar:hover .project-column__menu-avatar-shell,
.project-column__menu[open] .project-column__menu-avatar-shell {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.92), 0 0 0 4px var(--project-menu-ring-glow), 0 10px 18px rgba(15, 23, 42, 0.14);
}

.project-column__menu-avatar-media {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 233, 254, 0.6));
}

.project-column__menu-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-column__menu-avatar-fallback {
    font-size: 13px;
    font-weight: 700;
    color: #4F46E5;
}

.project-column__menu-plan-badge,
.project-column__menu-chevron {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.project-column__menu-plan-badge {
    left: -7px;
    top: -10px;
}

.project-column__menu-plan-badge--free {
    color: #4F46E5;
}

.project-column__menu-plan-badge--premium {
    color: #c48a00;
}

.project-column__menu-chevron {
    right: -11px;
    bottom: -9px;
    color: var(--project-menu-accent-color);
    transition: transform 180ms ease;
}

.project-column__menu[open] .project-column__menu-chevron {
    transform: rotate(180deg);
}

.project-column__menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.14), 0 0 0 1px rgba(17, 24, 39, 0.05);
    padding: 6px;
    z-index: 10;
    transform-origin: top left;
    will-change: transform, opacity;
}

.project-column__locale-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    min-width: 190px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.14), 0 0 0 1px rgba(17, 24, 39, 0.05);
    padding: 6px;
    z-index: 10;
    transform-origin: top right;
    will-change: transform, opacity;
}

.project-column__menu-item {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    transition: background 120ms ease, color 120ms ease;
}

.project-column__menu-item:hover {
    background: rgba(79, 70, 229, 0.07);
    color: #111827;
}

.project-column__locale-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-column__locale-item-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.project-column__locale-item--active {
    background: rgba(79, 70, 229, 0.12);
    color: #111827;
    font-weight: 600;
}

.project-column__menu-separator {
    margin: 6px 4px;
    border-color: rgba(17, 24, 39, 0.08);
    opacity: 1;
}

/* Project column layout (structure only) */
.project-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #FDF8F1;
    border-right: 1px solid rgba(17, 24, 39, 0.07);
}

.project-column__header {
    padding: 12px 12px 8px;
    background-color: #FDF8F1;
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.04);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-column__new-project-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.project-column__scroll {
    flex: 1 1 auto;
    min-height: 0; /* allow inner scrolling in flex column */
    overflow-y: auto;
    overflow-y: overlay; /* overlay when supported (WebKit) */
    overflow-x: hidden;
    padding: 8px 12px 0 8px;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 24, 39, 0.2) transparent;
}

.project-column__scroll::-webkit-scrollbar {
    width: 0;
}

.project-column__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.project-column__scroll::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 9999px;
}

.project-column__scroll:hover::-webkit-scrollbar {
    width: 8px;
}

.project-column__scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(17, 24, 39, 0.25);
}

.tree-item--active {
    border: 1px solid #4F46E5;
    border-radius: 4px;
}

.tree-item--active[data-tree-item-type="character"] {
    border-color: #E06B80;
}

.tree-item--active[data-tree-item-type="note"] {
    border-color: #FFC50F;
}

/* Center column layout and editor page (structure only) */
.center-column {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.center-column__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    min-height: 44px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
    background: rgba(253, 248, 241, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.center-column__left-actions {
    position: absolute;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.center-column__word-counter {
    position: absolute;
    right: 8px;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    color: #6B7280;
    cursor: pointer;
    user-select: none;
}

.center-column__word-counter:disabled {
    opacity: 0.55;
    cursor: default;
}

.center-column__word-counter:focus-visible {
    outline: 2px solid rgba(79, 70, 229, 0.4);
    outline-offset: 4px;
    border-radius: 4px;
}

.center-column__toolbar {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 8px;
    padding: 3px;
}

.editor-btn {
    border: 1px solid transparent;
    background-color: transparent;
    border-radius: 6px;
    padding: 3px 8px;
    height: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    cursor: pointer;
    color: #6B7280;
    transition: background 120ms ease, color 120ms ease;
}

.editor-btn--header-compact {
    padding: 1px 3px;
}

.editor-btn:hover {
    background-color: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

.editor-btn--active {
    background-color: #fff;
    color: #4F46E5;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.1);
}

.center-column__status {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    color: #6B7280;
}

.editor-status__text {
    display: inline-block;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

@media (min-width: 994px) and (max-width: 1439.98px) {
    .editor-status__text {
        display: none;
    }
}

.app-modal--chapter-stats {
    max-width: min(980px, 96vw);
    width: min(980px, 96vw);
}

.chapter-stats__table {
    width: 100%;
    border-collapse: collapse;
}

.chapter-stats__table th,
.chapter-stats__table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
    text-align: left;
    font-size: 13px;
}

.chapter-stats__label {
    width: 60%;
}

.app-modal--chapter-versions {
    max-width: min(980px, 96vw) !important;
    width: min(980px, 96vw) !important;
}

.chapter-versions__layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 12px;
    min-height: 420px;
}

.chapter-versions__list {
    border-right: 1px solid rgba(17, 24, 39, 0.08);
    padding-right: 10px;
    overflow: auto;
    max-height: 520px;
}

.chapter-versions__preview {
    overflow: auto;
    max-height: 520px;
}

.chapter-versions__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chapter-versions__item {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    transition: background 120ms ease, border-color 120ms ease;
}

.chapter-versions__item:hover {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.18);
}

.chapter-versions__item--active {
    border-color: rgba(79, 70, 229, 0.45);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.chapter-versions__item-title {
    font-weight: 600;
    font-size: 13px;
    color: #111827;
}

.chapter-versions__item-meta {
    font-size: 12px;
    color: #6B7280;
    white-space: nowrap;
}

.chapter-versions__preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.chapter-versions__preview-title {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
}

.chapter-versions__preview-date {
    font-size: 12px;
    color: #6B7280;
    white-space: nowrap;
}

.chapter-versions__preview-content {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 10px;
    padding: 12px;
}

@media (max-width: 860px) {
    .chapter-versions__layout {
        grid-template-columns: 1fr;
    }
    .chapter-versions__list {
        border-right: none;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
        padding-right: 0;
        padding-bottom: 10px;
        max-height: 220px;
    }
}

.editor-status__icon {
    display: inline-flex;
    align-items: center;
    margin-right: 2px;
}

.editor-btn--manual-save {
    margin-right: 2px;
    line-height: 1;
}

.editor-status__icon--saving {
    color: #4F46E5;
}

.editor-status__icon--success {
    color: #198754; /* green */
}

.editor-status__icon--error {
    color: #dc3545; /* red */
}

.center-column__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-y: overlay; /* overlay when supported (WebKit) */
    padding: 0 8px 16px 12px;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 24, 39, 0.2) transparent;
}

.center-column__page {
    padding: 24px 32px;
    background-color: #ffffff;
    box-shadow: 0 4px 24px rgba(17, 24, 39, 0.07), 0 0 0 1px rgba(17, 24, 39, 0.05);
    border-radius: 10px;
}

.center-column__editor {
    min-height: 600px;
    line-height: 1.5;
    font-size: 16px; /* Taille : 16 px */
    font-family: "Lora", Georgia, "Times New Roman", serif; /* Police : Lora */
    font-weight: 400; /* Font-weight : 400 (normal) */
    text-align: justify;
    outline: none;
}

.center-column__editor p {
    margin: 0 0 0.75em;
    text-indent: 1.4em;
}

.center-column__editor p:first-child {
    text-indent: 0;
}

.center-column__editor h1,
.center-column__editor h2 {
    font-family: "Lora", Georgia, "Times New Roman", serif;
    text-align: center;
}

.center-column__editor h1 {
    font-size: 28px; /* Taille : 28 px */
    text-transform: uppercase; /* Transform : uppercase */
    letter-spacing: 1.5px; /* Letter-spacing : 1.5 px */
    margin-top: 140px; /* Margin-top : 140 px */
    margin-bottom: 70px; /* Margin-bottom : 70 px */
    font-weight: 400; /* pas de bold */
}

.center-column__editor h2 {
    font-size: 20px; /* Taille : 20 px */
    margin-top: 90px; /* Margin-top : 90 px */
    margin-bottom: 45px; /* Margin-bottom : 45 px */
    font-weight: 400; /* pas de bold */
}

.center-column__empty {
    text-align: center;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6B7280;
}

.center-column--disabled .center-column__page {
    background-color: #F9FAFB;
}

.center-column--disabled .center-column__editor {
    color: #9CA3AF;
    pointer-events: none;
}

.center-column__body::-webkit-scrollbar {
    width: 0;
}

.center-column__body::-webkit-scrollbar-track {
    background: transparent;
}

.center-column__body::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 9999px;
}

.center-column__body:hover::-webkit-scrollbar {
    width: 8px;
}

.center-column__body:hover::-webkit-scrollbar-thumb {
    background-color: rgba(17, 24, 39, 0.25);
}

.app-tooltip {
    position: fixed;
    max-width: 260px;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #F9FAFB;
    background-color: rgba(17, 24, 39, 0.92);
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1200;
    pointer-events: none;
    animation: tooltip-fade-in 120ms ease-out;
}

@keyframes tooltip-fade-in {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Small application modal (used for confirm/prompt) */
.app-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
    animation: app-modal-backdrop-fade-in 150ms ease-out;
}

.app-modal {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 20px 48px rgba(17, 24, 39, 0.2), 0 0 0 1px rgba(17, 24, 39, 0.05);
    min-width: 320px;
    max-width: 420px;
    padding: 20px 22px 16px;
    max-height: calc(100vh - 48px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: app-modal-zoom-in 160ms ease-out;
}

.app-modal--wide {
    max-width: 640px;
    width: min(640px, 94vw);
}

.app-modal--premium-required {
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-modal__header {
    margin-bottom: 8px;
}

.app-modal__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.08);
    color: #4F46E5;
}

.app-modal--premium-required .app-modal__icon {
    background: transparent;
    color: #4F46E5;
}

.app-modal--premium-required .app-modal__close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    padding: 4px 6px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #6B7280;
}

.app-modal--premium-required .app-modal__close-btn:hover {
    text-decoration: underline;
}

.app-modal__title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.app-modal__body {
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
    padding: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.app-modal--premium-required .app-modal__body {
    flex: 1 1 auto;
    margin-bottom: 24px;
}

.app-modal__body p {
    margin: 0;
}

.app-modal__timeline-image-preview {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.app-modal__timeline-image-preview-img {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 160px;
    border-radius: 6px;
    object-fit: contain;
}

.app-modal__timeline-image-preview-delete {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #6c757d;
}

.app-modal__timeline-image-preview-delete:hover {
    filter: brightness(0.9);
}

.app-modal--timeline-detail {
    min-height: 0;
}

.app-modal__timeline-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-modal__timeline-detail-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.app-modal__timeline-detail-visual {
    padding: 4px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 232, 0.92));
    border: 1px solid rgba(17, 24, 39, 0.07);
}

.app-modal__timeline-detail-image {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.app-modal__timeline-detail-section {
    display: flex;
    flex-direction: column;
}

.app-modal__timeline-detail-description {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.88);
    color: #1f2937;
    line-height: 1.6;
    white-space: pre-wrap;
}

.app-modal__timeline-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding-top: 2px;
}

.app-modal__timeline-detail-item {
    padding: 0;
    border: 0;
    background: transparent;
}

.app-modal__timeline-detail-item-label {
    margin-bottom: 1px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #6b7280;
}

.app-modal__timeline-detail-item-value {
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .app-modal__timeline-detail-grid {
        grid-template-columns: 1fr;
    }
}

.app-modal__input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid #D1D5DB;
    font-size: 14px;
    color: #111827;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.app-modal__input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

.app-modal__field {
    margin-top: 12px;
}

.app-modal__row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.app-modal__row .app-modal__field {
    margin-top: 12px;
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 520px) {
    .app-modal__row {
        flex-direction: column;
        gap: 0;
    }
}

.app-modal__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.app-modal__helper {
    margin-top: 2px;
    font-size: 12px;
    color: #6B7280;
}

.app-modal__textarea {
    min-height: 150px;
    resize: vertical;
}

.app-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.app-modal--premium-required .app-modal__footer {
    margin-top: auto;
    justify-content: center;
}

.app-modal--premium-required .app-modal__btn--center {
    min-width: min(420px, 100%);
}

.app-modal--info .app-modal__footer {
    justify-content: center;
}

.app-modal--info .app-modal__btn--primary {
    min-width: 120px;
}

.app-modal--limit-reached {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.app-modal--limit-reached .app-modal__icon {
    background: transparent;
    color: #4F46E5;
}

.app-modal--limit-reached .app-modal__close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    color: #6B7280;
}

.app-modal--limit-reached .app-modal__close-btn:hover {
    text-decoration: underline;
}

.app-modal--limit-reached .app-modal__body {
    flex: 1 1 auto;
    margin-bottom: 24px;
}

.app-modal--limit-reached .app-modal__footer {
    margin-top: auto;
    justify-content: center;
}

.app-modal--limit-reached .app-modal__btn--center {
    min-width: min(420px, 100%);
}

.app-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid transparent;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
}

.app-modal__btn--secondary {
    background-color: #F3F4F6;
    color: #374151;
    border-color: #E5E7EB;
}

.app-modal__btn--secondary:hover {
    background-color: #E5E7EB;
    color: #1F2937;
    text-decoration: none;
}

.app-modal__btn--primary {
    background-color: #4F46E5;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

.app-modal__btn--primary:hover {
    background-color: #4338CA;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.app-language-switcher {
    z-index: 1050;
}

.app-max-w-120 {
    max-width: 120px;
}

.app-max-w-140 {
    max-width: 140px;
}

.app-max-w-520 {
    max-width: 520px;
}

.app-max-w-560 {
    max-width: 560px;
}

.app-max-w-620 {
    max-width: 620px;
}

.app-max-h-220 {
    max-height: 220px;
}

.app-min-h-340 {
    min-height: 340px;
}

.app-text-heading {
    color: #111827;
}

.app-text-body-md {
    font-size: 0.95rem;
}

.app-text-accent {
    color: #4F46E5;
}

.app-text-success {
    color: #059669;
}

.app-text-title-md {
    font-size: 1.05rem;
}

.app-label-uppercase {
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.app-label-tight {
    letter-spacing: 0.04em;
}

.app-hero {
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.app-hero--primary {
    background: radial-gradient(900px 400px at 10% 0%, rgba(79, 70, 229, 0.08), transparent), radial-gradient(600px 300px at 95% 5%, rgba(79, 70, 229, 0.05), transparent);
}

.app-hero--success {
    background: radial-gradient(900px 400px at 10% 0%, rgba(34, 197, 94, 0.08), transparent), radial-gradient(600px 300px at 95% 5%, rgba(34, 197, 94, 0.05), transparent);
}

.app-hero--neutral {
    background: radial-gradient(900px 400px at 10% 0%, rgba(107, 114, 128, 0.08), transparent), radial-gradient(600px 300px at 95% 5%, rgba(107, 114, 128, 0.05), transparent);
}

.app-hero--login {
    background: radial-gradient(900px 450px at 50% 0%, rgba(79, 70, 229, 0.08), transparent);
}

.app-hero--blog {
    background: radial-gradient(1100px 520px at 10% 0%, rgba(79, 70, 229, 0.10), transparent), radial-gradient(800px 400px at 95% 5%, rgba(79, 70, 229, 0.06), transparent);
}

.app-hero--edit {
    background: radial-gradient(1200px 600px at 20% 10%, rgba(13, 110, 253, 0.14), rgba(255, 255, 255, 0)), radial-gradient(900px 450px at 90% 0%, rgba(102, 16, 242, 0.10), rgba(255, 255, 255, 0));
}

.app-hero--success {
    background: radial-gradient(1000px 500px at 10% 0%, rgba(34, 197, 94, 0.10), transparent), radial-gradient(800px 450px at 100% 0%, rgba(79, 70, 229, 0.06), transparent);
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.app-hero--cancel {
    background: radial-gradient(900px 400px at 10% 0%, rgba(107, 114, 128, 0.08), transparent), radial-gradient(600px 300px at 95% 5%, rgba(107, 114, 128, 0.05), transparent);
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.app-hero__content {
    max-width: 620px;
    margin-inline: auto;
}

.app-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 70, 229, 0.07);
    border: 1px solid rgba(79, 70, 229, 0.14);
    color: #4F46E5;
    font-size: 0.75rem;
    font-weight: 500;
}

.app-hero__pill--blog {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
    border-color: rgba(79, 70, 229, 0.18);
    background: rgba(79, 70, 229, 0.08);
}

.app-card-panel {
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 16px;
}

.app-card-panel--soft {
    border-color: rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.app-card-panel--featured {
    border: 2px solid #4F46E5;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(79, 70, 229, 0.04) 0%, #fff 60%);
}

.app-alert-success-soft {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.app-section-divider-soft {
    border-color: rgba(17, 24, 39, 0.08) !important;
}

.app-row-divider-soft {
    border-color: rgba(17, 24, 39, 0.06) !important;
}

.app-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon-box--lg {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.app-icon-box--md {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.app-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.app-icon-box--primary,
.app-icon-circle--primary {
    background: rgba(79, 70, 229, 0.1);
}

.app-icon-circle--success {
    background: rgba(34, 197, 94, 0.1);
}

.app-icon-circle--neutral {
    background: rgba(107, 114, 128, 0.1);
}

.app-icon-box--info {
    background: rgba(59, 130, 246, 0.12);
}

.app-icon-primary {
    color: #4F46E5;
}

.app-icon-success {
    color: #22c55e;
}

.app-icon-neutral {
    color: #6b7280;
}

.app-icon-info {
    color: #2563eb;
}

.app-icon-check {
    color: #4F46E5;
    flex-shrink: 0;
    margin-top: 2px;
}

.app-icon-check-sm {
    color: #4F46E5;
    flex-shrink: 0;
    margin-top: 1px;
}

.app-icon-muted-top {
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 2px;
}

.app-surface-soft {
    background: rgba(79, 70, 229, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
}

.app-surface-soft--gradient {
    background: linear-gradient(160deg, rgba(79, 70, 229, 0.08) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 12px;
}

.app-surface-soft--info {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 12px;
}

.app-pill-badge-primary {
    background: #4F46E5;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.app-pill-badge-success {
    background: #059669;
}

.app-pill-badge-success-soft {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 500;
}

.app-btn-padded {
    padding: 0.75rem 1.5rem;
}

.app-btn-primary-disabled {
    --bs-btn-bg: #4F46E5;
    --bs-btn-border-color: #4F46E5;
    --bs-btn-color: #ffffff;
    background: rgba(79, 70, 229, 0.72);
    border-color: rgba(79, 70, 229, 0.78);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.82;
    filter: saturate(0.88);
}

.app-btn-primary-disabled:hover,
.app-btn-primary-disabled:focus,
.app-btn-primary-disabled:active {
    background: rgba(79, 70, 229, 0.72);
    border-color: rgba(79, 70, 229, 0.78);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.app-btn-primary-ready {
    filter: none;
    opacity: 1;
    cursor: pointer;
}

.app-account-delete-modal {
    position: relative;
    max-width: 760px;
    width: min(760px, 94vw);
}

.app-account-delete-modal__icon {
    background: rgba(185, 28, 28, 0.1);
    color: #7f1d1d;
}

.app-account-delete-modal__subtitle {
    margin-top: 2px;
    font-size: 0.85rem;
    color: #6b7280;
}

.app-account-delete-modal__body {
    position: relative;
}

.app-account-delete-modal__lead {
    margin-bottom: 1rem;
    line-height: 1.55;
}

.app-account-delete-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.app-account-delete-modal__card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(185, 28, 28, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 245, 0.96));
}

.app-account-delete-modal__card--muted {
    border-color: rgba(17, 24, 39, 0.08);
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(243, 244, 246, 0.96));
}

.app-account-delete-modal__card--warning {
    border-color: rgba(245, 158, 11, 0.25);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.96));
}

.app-account-delete-modal__section-title {
    margin: 0 0 0.65rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #111827;
}

.app-account-delete-modal__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #374151;
    line-height: 1.55;
}

.app-account-delete-modal__list li + li {
    margin-top: 0.45rem;
}

.app-account-delete-modal__notice {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.14);
    background: rgba(79, 70, 229, 0.05);
    color: #1f2937;
    line-height: 1.55;
}

.app-account-delete-modal__challenge-block {
    margin-top: 1.25rem;
}

.app-account-delete-modal__challenge-label,
.app-account-delete-modal__input-label {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.app-account-delete-modal__challenge-code,
.app-account-delete-modal__input-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 72px));
    gap: 0.75rem;
    justify-content: start;
}

.app-account-delete-modal__challenge-char,
.app-account-delete-modal__code-input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 20px rgba(17, 24, 39, 0.06);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-account-delete-modal__challenge-char {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    color: #b91c1c;
}

.app-account-delete-modal__input-label {
    margin-top: 1rem;
}

.app-account-delete-modal__code-input {
    color: #111827;
    text-align: center;
    caret-color: #4f46e5;
}

.app-account-delete-modal__code-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14), 0 8px 20px rgba(17, 24, 39, 0.08);
    outline: none;
}

.app-account-delete-modal__helper {
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
    color: #6b7280;
}

.app-account-delete-modal__warning-text {
    margin: 0;
    color: #78350f;
    line-height: 1.6;
}

.app-account-delete-modal__warning-text + .app-account-delete-modal__warning-text {
    margin-top: 0.75rem;
}

.app-account-delete-modal__error {
    margin: 0.55rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #b91c1c;
}

.app-account-delete-modal__footer {
    align-items: center;
}

.app-account-delete-modal__footer--stacked {
    flex-direction: column;
    align-items: stretch;
}

.app-account-delete-modal__portal-btn {
    min-height: 42px;
}

.app-account-delete-modal__confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.app-account-delete-modal__loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
}

.app-account-delete-modal__loading-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.app-account-delete-modal__loading-text {
    max-width: 28rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

@media (max-width: 640px) {
    .app-account-delete-modal__grid {
        grid-template-columns: 1fr;
    }

    .app-account-delete-modal__challenge-code,
    .app-account-delete-modal__input-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-account-delete-modal__challenge-char,
    .app-account-delete-modal__code-input {
        width: 100%;
        height: 64px;
        font-size: 1.35rem;
    }
}

.app-billing-terms-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.75rem;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(79, 70, 229, 0.12);
    background: rgba(255, 255, 255, 0.72);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.app-billing-terms-check .form-check-input {
    margin: 0.2rem 0 0;
    float: none;
}

.app-billing-terms-check .form-check-label {
    display: block;
    min-width: 0;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.app-billing-terms-check--attention {
    border-color: rgba(79, 70, 229, 0.42);
    background: rgba(79, 70, 229, 0.06);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.app-btn-inline-lg {
    padding-inline: 1.5rem;
}

.app-cover-image {
    display: block;
    height: 200px;
    object-fit: cover;
}

.app-cover-image-lg {
    display: block;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.app-contain-image-lg {
    display: block;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

.app-image-frame {
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.08);
}

.app-image-frame--soft {
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.app-cover-placeholder {
    height: 200px;
    background: rgba(79, 70, 229, 0.05);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
}

.app-cover-placeholder-icon {
    color: rgba(79, 70, 229, 0.35);
}

.app-table-col-id {
    width: 80px;
}

.app-table-col-status {
    width: 120px;
}

.app-table-col-date {
    width: 180px;
}

.app-table-col-actions {
    width: 220px;
}

.app-support-ticket-row {
    transition: filter 140ms ease, box-shadow 140ms ease;
}

.app-support-ticket-row__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.app-support-ticket-row__link:hover,
.app-support-ticket-row__link:focus,
.app-support-ticket-row__link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.app-support-ticket-row > td {
    background: transparent;
    transition: background-color 140ms ease;
}

.app-support-ticket-row:hover > td,
.app-support-ticket-row:focus > td,
.app-support-ticket-row:focus-visible > td {
    filter: brightness(0.98);
}

.app-support-ticket-row:focus,
.app-support-ticket-row:focus-visible {
    outline: 2px solid rgba(79, 70, 229, 0.4);
    outline-offset: -2px;
}

.app-support-ticket-row--to-process.app-support-ticket-row--contact > td {
    background-color: rgba(220, 53, 69, 0.14);
}

.app-support-ticket-row--to-process.app-support-ticket-row--support > td {
    background-color: rgba(220, 53, 69, 0.28);
}

.app-support-ticket-row--in-progress.app-support-ticket-row--contact > td {
    background-color: rgba(255, 193, 7, 0.16);
}

.app-support-ticket-row--in-progress.app-support-ticket-row--support > td {
    background-color: rgba(255, 193, 7, 0.3);
}

.app-support-ticket-row--resolved.app-support-ticket-row--contact > td {
    background-color: rgba(25, 135, 84, 0.14);
}

.app-support-ticket-row--resolved.app-support-ticket-row--support > td {
    background-color: rgba(25, 135, 84, 0.28);
}

.app-support-ticket-page {
    min-height: calc(100vh - 56px);
}

.app-support-ticket-page--to-process.app-support-ticket-page--contact {
    background-color: rgba(220, 53, 69, 0.14);
}

.app-support-ticket-page--to-process.app-support-ticket-page--support {
    background-color: rgba(220, 53, 69, 0.28);
}

.app-support-ticket-page--in-progress.app-support-ticket-page--contact {
    background-color: rgba(255, 193, 7, 0.16);
}

.app-support-ticket-page--in-progress.app-support-ticket-page--support {
    background-color: rgba(255, 193, 7, 0.3);
}

.app-support-ticket-page--resolved.app-support-ticket-page--contact {
    background-color: rgba(25, 135, 84, 0.14);
}

.app-support-ticket-page--resolved.app-support-ticket-page--support {
    background-color: rgba(25, 135, 84, 0.28);
}

.app-filter-toolbar__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-filter-toolbar__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.app-filter-toolbar__details {
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    padding-top: 0.75rem;
}

.app-filter-toolbar__summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.app-truncate-520 {
    max-width: 520px;
}

.app-random-popup-backdrop {
    z-index: 2000;
}

.app-modal--random-popup {
    width: min(560px, 94vw);
    z-index: 2001;
    position: relative;
}

.app-random-popup__body {
    gap: 18px;
}

.app-random-popup__image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.app-random-popup__content {
    color: #374151;
    line-height: 1.65;
}

.app-random-popup__footer {
    justify-content: flex-end;
}

.app-modal--random-popup .app-modal__close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    padding: 4px 6px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #6B7280;
}

.app-modal--random-popup .app-modal__close-btn:hover {
    color: #111827;
    text-decoration: none;
}

@media (max-width: 576px) {
    .app-random-popup__footer {
        flex-direction: column;
        align-items: stretch;
    }
}

.app-content-narrow {
    max-width: 680px;
    margin-inline: auto;
}

.app-avatar {
    width: 56px;
    height: 56px;
}

.app-tree-empty {
    padding: 8px 12px;
}

.app-editor-underline {
    text-decoration: underline;
}

.app-editor-strike {
    text-decoration: line-through;
}

.app-login-provider-btn {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    color: #374151;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
    transition: box-shadow 150ms ease, border-color 150ms ease;
}

.app-login-provider-btn:hover,
.app-login-provider-btn:focus {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.1);
}

.app-timeline-line {
    margin-left: 11px;
}

.app-timeline-marker {
    width: 24px;
    height: 24px;
    margin-left: 12px;
}

.app-timeline-entry {
    margin-left: 36px;
}

.app-card-panel--rounded-lg {
    border-radius: 18px;
}

.app-card-panel--rounded-xl {
    border-radius: 20px;
}

.app-overflow-hidden {
    overflow: hidden;
}

.app-radius-lg {
    border-radius: 14px;
}

.app-surface-success {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.14);
}

.app-icon-badge-success-lg {
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.12);
}

.app-feature-group-icon {
    width: 32px;
    height: 32px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.14);
}

.app-feature-group-heading {
    color: #111827;
}

.app-feature-grid-header {
    padding: 0 0 4px;
}

.app-feature-grid-label {
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.app-feature-grid-cell {
    color: #111827;
    font-size: 0.9rem;
}

.app-feature-grid-description {
    font-size: 0.8rem;
}

.app-feature-grid-free {
    background: rgba(17, 24, 39, 0.015);
}

.app-feature-grid-dash {
    display: inline-block;
    width: 16px;
    height: 2px;
    background: rgba(17, 24, 39, 0.18);
    border-radius: 2px;
    vertical-align: middle;
}

@keyframes app-modal-backdrop-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes app-modal-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Blog inline images: editor + public rendering */

/* Ensure the WYSIWYG editor never overflows when inserting large images. */
[data-blog-editor-target="editor"] {
    overflow-wrap: break-word;
}

[data-blog-editor-target="editor"] img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 12px auto;
    border-radius: 12px;
    max-height: 520px;
    object-fit: contain;
}

/* Standardize blog post content rendering (public pages). */
.blog-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 16px auto;
    border-radius: 12px;
    max-height: 720px;
    object-fit: contain;
}
