
/* JetVA Forum v3 local Bootstrap-like fallback: no CDN dependency. */
.jv-forum-page *, .jv-forum-shell * { box-sizing: border-box; }
.jv-forum-page a, .jv-forum-shell a { text-decoration: none; }
.jv-forum-page .row { display:flex; flex-wrap:wrap; margin-left:-8px; margin-right:-8px; align-items:stretch; }
.jv-forum-page .g-3 { row-gap:12px; column-gap:0; }
.jv-forum-page .row > [class^="col"], .jv-forum-page .row > [class*=" col"] { padding-left:8px; padding-right:8px; min-width:0; }
.jv-forum-page .col-auto { flex:0 0 auto; width:auto; }
.jv-forum-page .col-md { flex:1 1 240px; }
.jv-forum-page .col-md-auto { flex:0 0 auto; width:auto; }
.jv-forum-page .col-md-4 { flex:0 0 34%; max-width:34%; }
.jv-forum-page .col-md-3 { flex:0 0 25%; max-width:25%; }
.jv-forum-page .col-md-9 { flex:0 0 75%; max-width:75%; }
.jv-forum-page .col-lg-2 { flex:0 0 16.666667%; max-width:16.666667%; }
.jv-forum-page .col-lg-10 { flex:0 0 83.333333%; max-width:83.333333%; }
.jv-forum-page .g-0 { row-gap:0; column-gap:0; }
.jv-forum-page .align-items-center { align-items:center; }
.jv-forum-page .d-flex, .jv-forum-shell .d-flex { display:flex; }
.jv-forum-page .flex-wrap, .jv-forum-shell .flex-wrap { flex-wrap:wrap; }
.jv-forum-page .gap-2, .jv-forum-shell .gap-2 { gap:8px; }
.jv-forum-page .gap-3, .jv-forum-shell .gap-3 { gap:12px; }
.jv-forum-page .mb-0 { margin-bottom:0; } .jv-forum-page .mb-1 { margin-bottom:4px; } .jv-forum-page .mb-2 { margin-bottom:8px; } .jv-forum-page .mb-3 { margin-bottom:12px; } .jv-forum-page .mb-4 { margin-bottom:18px; }
.jv-forum-page .mt-1 { margin-top:4px; } .jv-forum-page .mt-2 { margin-top:8px; } .jv-forum-page .mt-3 { margin-top:12px; }
.jv-forum-page .h5 { font-size:1.15rem; } .jv-forum-page .fw-bold { font-weight:800; }
.jv-forum-page .text-muted { color:var(--jv-muted); }
.jv-forum-page .card { background:#fff; border:1px solid var(--jv-border); border-radius:18px; box-shadow:0 12px 30px rgba(15,23,42,.08); overflow:hidden; margin:0 0 18px; }
.jv-forum-page .card-body { padding:18px; }
.jv-forum-page .alert { padding:12px 14px; border-radius:14px; border:1px solid var(--jv-border); background:#fff7ed; color:#7c2d12; }
.jv-forum-page .alert-secondary { background:#f8fafc; color:#475569; }
.jv-forum-page .btn, .jv-forum-shell .btn, .jv-forum-page input[type="submit"], .jv-forum-page button {
 display:inline-flex; align-items:center; justify-content:center; gap:6px; border-radius:999px; border:1px solid transparent; padding:8px 12px; font-weight:800; font-size:.88rem; line-height:1.1; cursor:pointer; text-decoration:none !important;
}
.jv-forum-page .btn-sm, .jv-forum-shell .btn-sm { padding:7px 11px; font-size:.82rem; }
.jv-forum-page .btn-warning, .jv-forum-shell .btn-warning { background:var(--jv-orange); color:#fff !important; border-color:var(--jv-orange); }
.jv-forum-page .btn-outline-light, .jv-forum-shell .btn-outline-light { background:rgba(255,255,255,.08); color:#fff !important; border-color:rgba(255,255,255,.42); }
.jv-forum-page .btn-outline-secondary, .jv-forum-shell .btn-outline-secondary { background:#fff; color:var(--jv-dark) !important; border-color:var(--jv-border); }
.jv-forum-page .btn-primary, .jv-forum-shell .btn-primary, .jv-forum-page input[type="submit"] { background:var(--jv-dark); color:#fff !important; border-color:var(--jv-dark); }
.jv-forum-page .btn-danger { background:#b91c1c; color:#fff !important; border-color:#b91c1c; }
.jv-forum-page table.styled-table, .jv-forum-page table { border-collapse:separate; border-spacing:0; width:100%; }
.jv-forum-page table.styled-table th, .jv-forum-page table.styled-table td { border-color:var(--jv-border); }
@media(max-width: 900px){ .jv-forum-page .col-md-4, .jv-forum-page .col-md-3, .jv-forum-page .col-md-9 { flex:1 1 100%; max-width:100%; } .jv-forum-hero-content { flex-direction:column; align-items:flex-start; } .jv-forum-actions { justify-content:flex-start; min-width:0; } }

:root {
    --jv-orange: #ff6600;
    --jv-orange-soft: rgba(255, 102, 0, .14);
    --jv-blue: #202020;
    --jv-blue-2: #ff6600;
    --jv-dark: #202020;
    --jv-dark-2: #2b2b2b;
    --jv-ink: #111827;
    --jv-muted: #6b7280;
    --jv-border: #d8dee8;
    --jv-bg: #f4f6fa;
    --jv-card: #ffffff;
}

.jv-forum-shell,
.jv-forum-page {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--jv-ink);
}

.jv-forum-page {
    background: var(--jv-bg);
    border-radius: 18px;
    padding: 18px;
    margin: 0 0 24px 0;
}

.jv-forum-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 0 18px 0;
    background: linear-gradient(110deg, #202020 0%, #202020 42%, #7a2d00 72%, #ff6600 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(32, 32, 32, .24);
}

.jv-forum-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 102, 0, .24), transparent 30%),
        radial-gradient(circle at 92% 14%, rgba(255, 255, 255, .10), transparent 24%),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
    opacity: .9;
}

.jv-forum-hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.jv-forum-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jv-forum-logo {
    max-width: 110px;
    max-height: 70px;
    object-fit: contain;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    padding: 8px;
}

.jv-kicker {
    color: var(--jv-orange);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 800;
}

.jv-forum-hero h1 {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    margin: 3px 0 3px 0;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 850;
    line-height: 1.05;
}

.jv-forum-hero p {
    margin: 0;
    color: rgba(255,255,255,.86);
}

.jv-forum-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 260px;
}

.jv-forum-page .card,
.jv-panel {
    border: 1px solid var(--jv-border);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.jv-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 18px 0 10px 0;
}

.jv-section-title h2,
.jv-section-title h3 {
    margin: 0;
    font-weight: 850;
    font-size: 1.2rem;
}

.jv-category-header {
    background: linear-gradient(100deg, #202020 0%, #202020 68%, #3a2417 86%, #ff6600 100%);
    color: #fff;
    padding: 14px 18px;
    border-left: 5px solid var(--jv-orange);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jv-category-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 850;
}

.jv-board-card,
.jv-topic-row {
    background: #fff;
    border: 1px solid var(--jv-border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.jv-board-card:hover,
.jv-topic-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
    border-color: rgba(255, 102, 0, .55);
}

.jv-board-icon,
.jv-topic-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jv-orange-soft);
    color: var(--jv-orange);
    font-size: 1.15rem;
    font-weight: 850;
}

.jv-board-title,
.jv-topic-title {
    color: var(--jv-dark);
    font-weight: 850;
    text-decoration: none;
    font-size: 1.05rem;
}

.jv-board-title:hover,
.jv-topic-title:hover,
.jv-link:hover {
    color: var(--jv-orange);
}

.jv-muted {
    color: var(--jv-muted);
    font-size: .9rem;
}

.jv-stat-pill {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 82px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1px solid var(--jv-border);
    padding: 8px 10px;
    text-align: center;
}

.jv-stat-pill strong {
    font-size: 1.05rem;
    line-height: 1;
    color: var(--jv-blue);
}

.jv-stat-pill span {
    font-size: .72rem;
    color: var(--jv-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.jv-last-post {
    background: #f8fafc;
    border: 1px solid var(--jv-border);
    border-radius: 13px;
    padding: 10px 12px;
    font-size: .9rem;
}

.jv-breadcrumb {
    background: #fff;
    border: 1px solid var(--jv-border);
    border-radius: 14px;
    padding: 10px 14px;
    margin: 0 0 16px 0;
}

.jv-breadcrumb a {
    color: var(--jv-blue);
    font-weight: 700;
    text-decoration: none;
}

.jv-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px 0;
}

.jv-toolbar .btn,
.jv-forum-page .button,
.jv-forum-page a.button,
.jv-forum-page input.button {
    border-radius: 999px !important;
    font-weight: 800;
    text-decoration: none !important;
    padding: .48rem .85rem;
    border: 1px solid transparent;
    display: inline-block;
}

.jv-forum-page .button,
.jv-forum-page a.button,
.jv-forum-page input.button {
    background: var(--jv-orange);
    color: #fff !important;
}

.jv-forum-page .button:hover,
.jv-forum-page a.button:hover,
.jv-forum-page input.button:hover {
    background: #e55c00;
    color: #fff !important;
}

.jv-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin: 12px 0;
}

.jv-pagination a,
.jv-pagination span {
    min-width: 34px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--jv-border);
    background: #fff;
    color: var(--jv-blue);
    text-decoration: none;
    font-weight: 800;
}

.jv-pagination span {
    background: var(--jv-orange);
    color: #fff;
    border-color: var(--jv-orange);
}

.jv-post-card {
    border: 1px solid var(--jv-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    margin-bottom: 16px;
}
.jv-topic-post-card > .row.g-0 {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0;
}

.jv-topic-post-card > .row.g-0 > .col-md-3,
.jv-topic-post-card > .row.g-0 > .col-lg-2 {
    display: table-cell;
    width: 170px;
    max-width: 170px;
    min-width: 170px;
    padding: 0;
    vertical-align: top;
}

.jv-topic-post-card > .row.g-0 > .col-md-9,
.jv-topic-post-card > .row.g-0 > .col-lg-10 {
    display: table-cell;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    vertical-align: top;
}

.jv-topic-post-card .jv-post-body,
.jv-topic-post-card .post {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.jv-topic-post-card .post img,
.jv-topic-post-card .post iframe,
.jv-topic-post-card .post video,
.jv-topic-post-card .post embed {
    max-width: 100%;
    height: auto;
    display: block;
}

.jv-topic-post-card .post table,
.jv-topic-post-card .post pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.jv-post-author {
    background: linear-gradient(180deg, #101827, #0d2245);
    color: #fff;
    padding: 16px;
    height: 100%;
}

.jv-post-author a {
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.jv-avatar {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    margin: 10px 0;
}

.jv-role-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: .72rem;
    font-weight: 850;
    background: rgba(255, 102, 0, .18);
    color: #ffb36f;
    border: 1px solid rgba(255, 102, 0, .35);
}

.jv-post-body {
    padding: 16px;
}

.jv-post-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--jv-border);
    color: var(--jv-muted);
    font-size: .88rem;
}

.jv-post-actions a,
.jv-link {
    color: var(--jv-blue);
    font-weight: 750;
    text-decoration: none;
}

.post {
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

blockquote {
    margin: 12px 0;
    border-left: 4px solid var(--jv-orange);
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
}

blockquote_head {
    display: block;
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--jv-border);
    color: var(--jv-muted);
    font-weight: 800;
}

blockquote_head:before { content: 'Posted by: '; }

.jv-form-card {
    background: #fff;
    border: 1px solid var(--jv-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.jv-forum-page input[type="text"],
.jv-forum-page select,
.jv-forum-page textarea {
    width: 100%;
    border: 1px solid var(--jv-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--jv-ink);
}

.jv-forum-page input[type="checkbox"],
.jv-forum-page input[type="radio"] {
    margin-right: 8px;
}

.cke { border-radius: 14px !important; overflow: hidden; border-color: var(--jv-border) !important; }

.jv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.jv-table th {
    background: var(--jv-blue);
    color: #fff;
    padding: 12px;
}

.jv-table td {
    background: #fff;
    border-bottom: 1px solid var(--jv-border);
    padding: 12px;
}

.jv-table tr:last-child td { border-bottom: 0; }

.jv-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--jv-border);
    border-radius: 14px;
    padding: 12px;
}

.jv-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--jv-muted);
    font-size: .9rem;
}

.jv-legend-item img { height: 24px; width: auto; }

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    overflow: auto;
    background-color: rgba(7, 22, 47, .62);
}

.modal-content {
    background-color: #fff;
    margin: 12vh auto;
    padding: 20px;
    border: 1px solid var(--jv-border);
    border-radius: 18px;
    width: min(680px, 92vw);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
}

.close {
    float: right;
    color: var(--jv-muted);
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
}

.myBtn { cursor: pointer; }

@media (max-width: 760px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .jv-forum-page {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        border-radius: 12px;
        overflow-x: hidden;
    }

    .jv-forum-hero,
    .jv-forum-page .card,
    .jv-panel,
    .jv-board-card,
    .jv-topic-row,
    .jv-post-card,
    .jv-composer-card,
    .jv-breadcrumb,
    .jv-toolbar,
    .jv-legend {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .jv-forum-hero-content,
    .jv-forum-brand,
    .jv-category-header,
    .jv-toolbar,
    .jv-composer-head,
    .jv-editor-label-row,
    .jv-composer-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .jv-forum-actions,
    .jv-toolbar > .d-flex,
    .jv-composer-actions {
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
    }

    .jv-forum-actions .btn,
    .jv-toolbar .btn,
    .jv-composer-actions .jv-btn-primary,
    .jv-composer-actions .jv-btn-secondary,
    .jv-forum-page input[type="submit"] {
        width: 100%;
        text-align: center;
        justify-content: center;
        white-space: normal;
    }

    .jv-forum-page .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        gap: 10px;
    }

    .jv-forum-page .row > [class^="col"],
    .jv-forum-page .row > [class*=" col"],
    .jv-forum-page .col-auto,
    .jv-forum-page .col-md,
    .jv-forum-page .col-md-auto,
    .jv-forum-page .col-md-3,
    .jv-forum-page .col-md-4,
    .jv-forum-page .col-md-9,
    .jv-forum-page .col-lg-2,
    .jv-forum-page .col-lg-10 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }

    .jv-board-card,
    .jv-topic-row {
        padding: 12px;
    }

    .jv-board-icon,
    .jv-topic-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .jv-board-title,
    .jv-topic-title,
    .jv-forum-page h1,
    .jv-forum-page h2,
    .jv-forum-page h3,
    .jv-forum-page h4 {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .jv-stat-pill {
        min-width: 0;
        flex: 1 1 calc(50% - 6px);
    }

    .jv-last-post {
        width: 100%;
        overflow-wrap: anywhere;
    }

    .jv-pagination {
        justify-content: flex-start;
    }

    .jv-topic-post-card > .row.g-0 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        table-layout: auto !important;
    }

    .jv-topic-post-card > .row.g-0 > .col-md-3,
    .jv-topic-post-card > .row.g-0 > .col-lg-2,
    .jv-topic-post-card > .row.g-0 > .col-md-9,
    .jv-topic-post-card > .row.g-0 > .col-lg-10 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .jv-post-author {
        height: auto;
        padding: 12px;
        text-align: left !important;
    }

    .jv-avatar {
        width: 58px;
        height: 58px;
        border-radius: 12px;
        margin: 8px 0;
    }

    .jv-post-body {
        padding: 12px;
    }

    .jv-post-meta,
    .jv-post-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-start;
    }

    .post,
    .jv-topic-post-card .post,
    .jv-topic-post-card .jv-post-body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .post img,
    .post iframe,
    .post video,
    .post embed,
    .post table,
    .post pre,
    .jv-topic-post-card .post img,
    .jv-topic-post-card .post iframe,
    .jv-topic-post-card .post video,
    .jv-topic-post-card .post embed,
    .jv-topic-post-card .post table,
    .jv-topic-post-card .post pre {
        max-width: 100% !important;
    }

    .post table,
    .post pre,
    .jv-topic-post-card .post table,
    .jv-topic-post-card .post pre {
        display: block;
        overflow-x: auto;
    }

    blockquote {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 12px;
    }

    .jv-editor-shell,
    .cke,
    .cke_inner,
    .cke_contents,
    .jv-title-input,
    .jv-forum-page textarea,
    .jv-forum-page input[type="text"],
    .jv-forum-page select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cke_contents {
        min-height: 180px !important;
    }

    .modal-content {
        width: calc(100vw - 24px);
        margin: 8vh 12px;
        padding: 14px;
    }
}


/* Hard overrides against legacy phpVMS skin CSS. */
.jv-forum-page h1,.jv-forum-page h2,.jv-forum-page h3,.jv-forum-page h4,.jv-forum-shell h1,.jv-forum-shell h2,.jv-forum-shell h3{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important; letter-spacing:normal!important; text-transform:none!important;}
.jv-forum-page .jv-category-header h2{color:#fff!important;text-align:left!important;}
.jv-forum-page .jv-board-title,.jv-forum-page .jv-topic-title,.jv-forum-page .jv-link{color:var(--jv-blue)!important;}
.jv-forum-page .jv-board-title:hover,.jv-forum-page .jv-topic-title:hover,.jv-forum-page .jv-link:hover{color:var(--jv-orange)!important;}
.jv-forum-page .jv-board-card td,.jv-forum-page .jv-topic-row td{background:transparent!important;border:0!important;}

/* JetVA v5 composer/editor refresh */
.jv-composer-card {
    background: #fff;
    border: 1px solid var(--jv-border);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(20, 25, 35, .08);
    overflow: hidden;
    margin-bottom: 22px;
}

.jv-composer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    color: #fff;
    background:
        radial-gradient(circle at 95% 0%, rgba(255, 102, 0, .75), transparent 36%),
        linear-gradient(135deg, #1f1f1f 0%, #242424 48%, #ff6600 100%);
    border-bottom: 3px solid #ff6600;
}

.jv-composer-head h2 {
    margin: 0;
    color: #fff !important;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.jv-composer-head p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: .96rem;
}

.jv-kicker {
    color: #ff6600;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 5px;
}

.jv-composer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.jv-field-block {
    padding: 22px 24px 0;
}

.jv-field-block:last-of-type {
    padding-bottom: 0;
}

.jv-field-label {
    display: block;
    margin: 0 0 8px;
    color: #141414;
    font-weight: 900;
    font-size: .94rem;
}

.jv-title-input,
.jv-composer-card input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--jv-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
    padding: 13px 15px !important;
    font-size: 1rem !important;
    font-weight: 700;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.jv-title-input:focus,
.jv-composer-card input[type="text"]:focus {
    border-color: #ff6600 !important;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, .14) !important;
}

.jv-editor-label-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.jv-editor-label-row span {
    color: var(--jv-muted);
    font-size: .88rem;
    font-weight: 700;
}

.jv-editor-shell {
    border: 1px solid var(--jv-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.jv-composer-card .cke_chrome {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.jv-composer-card .cke_top {
    background: linear-gradient(180deg, #262626 0%, #191919 100%) !important;
    border-bottom: 3px solid #ff6600 !important;
    padding: 10px 12px 8px !important;
    box-shadow: none !important;
}

.jv-composer-card .cke_toolgroup {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 12px !important;
    margin: 0 7px 6px 0 !important;
    box-shadow: none !important;
}

.jv-composer-card a.cke_button,
.jv-composer-card a.cke_combo_button {
    border-radius: 9px !important;
    padding: 6px !important;
    cursor: pointer;
}

.jv-composer-card a.cke_button:hover,
.jv-composer-card a.cke_button:focus,
.jv-composer-card a.cke_button_on,
.jv-composer-card a.cke_combo_button:hover,
.jv-composer-card a.cke_combo_button:focus {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
    box-shadow: none !important;
}

.jv-composer-card .cke_button_icon,
.jv-composer-card .cke_combo_text,
.jv-composer-card .cke_combo_open {
    filter: contrast(1.05);
}

.jv-composer-card .cke_bottom {
    background: #f7f8fb !important;
    border-top: 1px solid var(--jv-border) !important;
    box-shadow: none !important;
}

.jv-composer-card .cke_contents {
    border: 0 !important;
}

.jv-composer-card iframe.cke_wysiwyg_frame,
.jv-composer-card textarea.cke_source {
    background: #fff !important;
}

.jv-check-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 18px 24px 0;
    padding: 10px 13px;
    border: 1px solid var(--jv-border);
    border-radius: 999px;
    background: #f8fafc;
    font-weight: 800;
}

.jv-check-row input {
    accent-color: #ff6600;
}

.jv-composer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 22px 24px 24px;
}

.jv-btn-primary,
.jv-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    padding: 11px 18px !important;
    font-weight: 900 !important;
    border: 0 !important;
    text-decoration: none !important;
    line-height: 1.2;
    cursor: pointer;
}

.jv-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #ff6600, #ff8a2a) !important;
    box-shadow: 0 10px 22px rgba(255, 102, 0, .24);
}

.jv-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 102, 0, .28);
}

.jv-btn-secondary {
    color: #202020 !important;
    background: #f3f4f6 !important;
    border: 1px solid var(--jv-border) !important;
}

.jv-btn-secondary:hover {
    color: #ff6600 !important;
    background: #fff !important;
}

.jv-reply-composer .jv-composer-head {
    padding: 18px 22px;
}

@media (max-width: 760px) {
    .jv-composer-head,
    .jv-editor-label-row,
    .jv-composer-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .jv-field-block,
    .jv-composer-actions {
        padding-left: 16px;
        padding-right: 16px;
    }
    .jv-composer-badge {
        min-width: 0;
    }
}


/* v6 composer/editor repair: keep CKEditor visible even when the legacy skin fights it. */
.jv-composer-card {
    background: #f5f7fb !important;
    border: 1px solid #d5dde9 !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08) !important;
}
.jv-composer-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    align-items: flex-start !important;
    background: linear-gradient(135deg, #1f1f1f 0%, #222 52%, #ff6600 100%) !important;
    color: #fff !important;
    padding: 22px 24px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
}
.jv-composer-head h2,
.jv-composer-head p,
.jv-composer-head .jv-kicker { color: #fff !important; }
.jv-composer-head h2 { margin: 4px 0 6px !important; font-size: 26px !important; font-weight: 900 !important; text-align: left !important; }
.jv-composer-head p { margin: 0 !important; opacity: .9 !important; }
.jv-composer-badge {
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}
.jv-field-block { margin-bottom: 18px !important; }
.jv-field-label { display: block !important; font-weight: 900 !important; margin: 0 0 8px !important; color: #111827 !important; }
.jv-title-input,
.jv-composer-card input[type="text"] {
    width: 100% !important;
    border: 1px solid #cfd8e6 !important;
    border-radius: 14px !important;
    padding: 13px 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: #fff !important;
    box-shadow: inset 0 1px 2px rgba(15,23,42,.04) !important;
}
.jv-editor-shell {
    background: #fff !important;
    border: 1px solid #cfd8e6 !important;
    border-radius: 18px !important;
    padding: 10px !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.06) !important;
}
.jv-editor-shell textarea {
    width: 100% !important;
    min-height: 320px !important;
    border: 0 !important;
    outline: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.jv-editor-fallback {
    border: 1px solid #cfd8e6 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    background: #fff !important;
}
.jv-cke-ready,
.jv-editor-shell .cke {
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}
.jv-editor-shell .cke_top {
    background: linear-gradient(180deg, #262626 0%, #151515 100%) !important;
    border-bottom: 3px solid #ff6600 !important;
    padding: 9px 10px !important;
}
.jv-editor-shell .cke_bottom {
    background: #f6f7f9 !important;
    border-top: 1px solid #d9e0ea !important;
}
.jv-editor-shell .cke_toolgroup {
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.08) !important;
    margin-right: 7px !important;
}
.jv-editor-shell .cke_button,
.jv-editor-shell .cke_combo_button {
    border-radius: 8px !important;
}
.jv-editor-shell .cke_button:hover,
.jv-editor-shell .cke_combo_button:hover {
    background: rgba(255,102,0,.22) !important;
}
.jv-editor-shell .cke_wysiwyg_frame,
.jv-editor-shell .cke_wysiwyg_div {
    background: #fff !important;
}
.jv-composer-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 18px !important;
}
.jv-btn-primary,
.jv-composer-actions input[type="submit"] {
    background: linear-gradient(135deg, #ff6600, #e85d00) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 20px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(255,102,0,.25) !important;
}
.jv-btn-secondary {
    color: #111827 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

/* v7: CKEditor replaced by local JetVA lightweight rich text editor. Legacy CKEditor chrome rules intentionally left harmless. */
