/* Portal feedback — sidebar link + modal */

/* Launch notify waitlist (public) — keep visible above loaders / route chrome */
#campLaunchNotifyModal.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10080;
}

/* Top navbar — message icon (desktop + mobile bar) */
.nav-feedback-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    line-height: 1;
}

.nav-feedback-toggle:hover,
.nav-feedback-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    outline: none;
}

.nav-feedback-toggle i {
    font-size: 1rem;
    line-height: 1;
}

.nav-feedback-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-mobile-feedback {
    position: relative;
}

.nav-mobile-feedback .nav-feedback-icon-wrap {
    flex-shrink: 0;
    margin-right: 2px;
}

.nav-feedback-toggle--bar {
    display: none;
    margin: 0;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1.05rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .nav-feedback-toggle--desktop {
        display: none !important;
    }

    .nav-feedback-toggle--bar {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .nav-feedback-toggle--bar {
        display: none !important;
    }
}

.nav-mobile-menu .nav-mobile-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.nav-mobile-menu .nav-mobile-feedback:hover,
.nav-mobile-menu .nav-mobile-feedback:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.nav-mobile-menu .nav-mobile-feedback i {
    font-size: 1rem;
    opacity: 0.9;
}

#campPortalFeedbackModal {
    z-index: 1080;
}

body.account-pending #campPortalFeedbackModal {
    z-index: 10060;
}

body.account-pending .modal-backdrop {
    z-index: 10055;
}

.pf-spotlight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #eef1ee;
}

.pf-spotlight-title {
    margin: 0;
    font-weight: 800;
    color: #c24100;
    font-size: 1.05rem;
    line-height: 1.3;
}

.pf-spotlight-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.pf-spotlight-close:hover,
.pf-spotlight-close:focus-visible {
    background: #ffedd5;
    color: #c24100;
    outline: none;
}

#campPortalFeedbackModal .pf-spotlight-card,
#campContactScoutcampModal .pf-spotlight-card {
    border: none;
    border-radius: 16px;
    box-shadow: none;
}

#campPortalFeedbackModal .modal-body,
#campContactScoutcampModal .modal-body {
    max-height: min(58vh, 560px);
    overflow-y: auto;
}

/* Step wizard (send message + contact Scout Camp) */
.pf-wizard-root {
    position: relative;
}

.pf-wizard-progress {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    margin-bottom: 10px;
    overflow: hidden;
}

.pf-wizard-progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff6b00, #e85d00);
    transition: width 0.32s ease;
}

.pf-wizard-step-label {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c24100;
}

.pf-wizard-step {
    display: none;
}

.pf-wizard-step.is-active {
    display: block;
    animation: pf-wizard-step-in 0.22s ease forwards;
}

.pf-wizard-step.is-leaving {
    display: block;
    animation: pf-wizard-step-out 0.15s ease forwards;
    pointer-events: none;
}

@keyframes pf-wizard-step-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pf-wizard-step-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.pf-wizard-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1.5px solid #fde8d4;
    border-radius: 12px;
    background: #fffaf5;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.pf-wizard-type-chip:hover,
.pf-wizard-type-chip:focus-visible {
    border-color: #ff6b00;
    background: #fff4ed;
    outline: none;
}

.pf-wizard-type-chip i {
    color: #ea580c;
    font-size: 1rem;
}

.pf-wizard-type-chip__change {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ea580c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#campPortalFeedbackModal .modal-footer,
#campContactScoutcampModal .modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

#campPortalFeedbackModal .modal-footer #pfWizardBackBtn,
#campContactScoutcampModal .modal-footer #cscBackBtn {
    margin-right: auto;
}

@media (max-width: 767.98px) {
    #campPortalFeedbackModal .modal-body,
    #campContactScoutcampModal .modal-body {
        max-height: min(48vh, 420px);
    }

    .pf-mode-tabs--triple {
        padding: 10px 14px 12px;
    }

    .pf-spotlight-header {
        padding: 14px 16px 10px;
    }

    #campPortalFeedbackModal .modal-body,
    #campContactScoutcampModal .modal-body {
        padding: 14px 16px 8px;
    }

    #campPortalFeedbackModal .modal-footer,
    #campContactScoutcampModal .modal-footer {
        padding: 12px 16px 14px;
    }
}

.sidebar-feedback-item {
    margin-top: 6px;
    padding: 0 12px 10px;
}

.sidebar-feedback-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    line-height: 1.45;
    font-weight: 600;
    text-align: left;
    padding: 6px 4px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    position: relative;
    z-index: 1;
}

.sidebar-feedback-link:hover,
.sidebar-feedback-link:focus-visible {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.sidebar-feedback-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sidebar-feedback-title {
    display: block;
    color: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

.sidebar-feedback-blurb {
    display: block;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.35;
}

.sidebar-feedback-link:hover .sidebar-feedback-blurb,
.sidebar-feedback-link:focus-visible .sidebar-feedback-blurb {
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-feedback-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.82rem;
    opacity: 0.75;
}

.sidebar-feedback-icon-wrap {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.sidebar-feedback-icon-wrap .sidebar-feedback-icon {
    margin-top: 0;
}

body.sidebar-rail-mode .sidebar-feedback-item {
    padding: 0 4px 8px;
}

body.sidebar-rail-mode .sidebar-feedback-link > .sidebar-feedback-copy {
    display: none;
}

body.sidebar-rail-mode .sidebar-feedback-link {
    justify-content: center;
    padding: 8px 4px;
}

/* Sidebar footer — feedback & WhatsApp above Sign Out */
.sidebar-footer-start {
    list-style: none;
    height: 0;
    margin: 0;
    padding: 0;
}

.sidebar-feedback-item,
.sidebar-whatsapp-item {
    position: relative;
    z-index: 2;
}

/* WhatsApp sidebar button (under feedback) */
.sidebar-whatsapp-item {
    margin-top: 2px;
    padding: 0 12px 6px;
}

.sidebar-feedback-item {
    padding-bottom: 4px;
}

.sidebar-feedback-wrap {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    position: relative;
}

.sidebar-feedback-wrap .sidebar-feedback-link,
.sidebar-feedback-wrap .nav-link {
    flex: 1;
    min-width: 0;
}

.sidebar-feedback-dismiss {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.28);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
    transition: color 0.15s, background 0.15s;
}

.sidebar-feedback-dismiss:hover,
.sidebar-feedback-dismiss:focus-visible {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.sidebar-feedback-restore-item {
    margin-top: 2px;
    padding: 0 12px 6px;
}

.sidebar-feedback-restore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    padding: 7px 8px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.sidebar-feedback-restore:hover,
.sidebar-feedback-restore:focus-visible {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    outline: none;
}

.sidebar-feedback-restore i {
    font-size: 0.78rem;
    opacity: 0.8;
}

body.sidebar-rail-mode .sidebar-feedback-wrap {
    flex-direction: column;
    align-items: center;
}

body.sidebar-rail-mode .sidebar-feedback-dismiss {
    display: none;
}

body.sidebar-rail-mode .sidebar-feedback-restore-item {
    padding: 0 4px 8px;
}

body.sidebar-rail-mode .sidebar-feedback-restore span {
    display: none;
}

body.sidebar-rail-mode .sidebar-feedback-restore {
    justify-content: center;
    padding: 8px 4px;
}

.sidebar-whatsapp-wrap {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    position: relative;
}

.sidebar-whatsapp-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: rgba(37, 211, 102, 0.72);
    font-size: 0.68rem;
    line-height: 1.45;
    font-weight: 600;
    text-align: left;
    padding: 6px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.sidebar-whatsapp-link:hover,
.sidebar-whatsapp-link:focus-visible {
    color: rgba(37, 211, 102, 0.95);
    background: rgba(37, 211, 102, 0.08);
    outline: none;
}

.sidebar-whatsapp-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.82rem;
}

.sidebar-whatsapp-dismiss {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.28);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
    transition: color 0.15s, background 0.15s;
}

.sidebar-whatsapp-dismiss:hover,
.sidebar-whatsapp-dismiss:focus-visible {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

body.sidebar-rail-mode .sidebar-whatsapp-item {
    padding: 0 4px 8px;
}

body.sidebar-rail-mode .sidebar-whatsapp-wrap {
    flex-direction: column;
    align-items: center;
}

body.sidebar-rail-mode .sidebar-whatsapp-link span {
    display: none;
}

body.sidebar-rail-mode .sidebar-whatsapp-link {
    justify-content: center;
    padding: 8px 4px;
}

body.sidebar-rail-mode .sidebar-whatsapp-dismiss {
    display: none;
    margin-top: 0;
}

.pf-mode-tabs {
    display: flex;
    gap: 8px;
    padding: 14px 24px 18px;
    border-bottom: 1px solid #eef1ee;
    background: transparent;
}

.pf-mode-tabs--triple .pf-mode-tab,
.pf-mode-tab.pf-mode-tab--external {
    font-size: 0.76rem;
    padding: 10px 10px;
    gap: 5px;
}

@media (max-width: 575.98px) {
    .pf-mode-tabs--triple {
        flex-wrap: wrap;
    }

    .pf-mode-tabs--triple .pf-mode-tab {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }

    .pf-mode-tabs--triple .pf-mode-tab:last-child {
        flex: 1 1 100%;
    }
}

.pf-mode-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid #dfe5df;
    border-radius: 11px;
    background: #fafafa;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 11px 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pf-mode-tab:hover,
.pf-mode-tab:focus-visible {
    color: #ea580c;
    border-color: #fdba74;
    background: #fff;
    outline: none;
    transform: translateY(-1px);
}

.pf-mode-tab.is-active {
    color: #fff;
    border-color: #ff6b00;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.28);
}

.pf-mode-tab.is-active:hover,
.pf-mode-tab.is-active:focus-visible {
    color: #fff;
    border-color: #e85d00;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
}

.pf-unread-badge,
.camp-reply-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.camp-reply-unread-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 0.62rem;
    border: 2px solid rgba(255, 255, 255, 0.95);
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.camp-reply-unread-badge[hidden] {
    display: none !important;
}

.nav-feedback-toggle,
.sidebar-feedback-link,
.nav-mobile-feedback {
    position: relative;
}

.sidebar-feedback-link .camp-reply-unread-badge {
    top: -6px;
    right: -8px;
    border-color: #1a2e1a;
}

.nav-feedback-icon-wrap .cm-unread-dot,
.sidebar-feedback-icon-wrap .cm-unread-dot {
    position: absolute;
    top: -3px;
    right: -4px;
    z-index: 2;
    pointer-events: none;
}

.pf-messages-hint {
    margin-bottom: 10px;
}

.pf-mc-queue-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}

.pf-mc-queue-notice[hidden] {
    display: none !important;
}

.pf-mc-queue-notice i {
    color: #ea580c;
    font-size: 1rem;
    margin-top: 2px;
}

.pf-mc-queue-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.pf-mc-queue-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #c2410c;
    letter-spacing: 0.01em;
}

.pf-mc-queue-heading i {
    color: #ea580c;
}

.pf-messages-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 6px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pf-messages-divider::before,
.pf-messages-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.pf-mc-queue-row {
    text-decoration: none;
    color: inherit;
}

.pf-mc-queue-row:hover,
.pf-mc-queue-row:focus-visible {
    text-decoration: none;
    color: inherit;
}

.pf-messages-panel {
    min-height: 200px;
}

.pf-messages-hint {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #fde8d4;
    margin-bottom: 14px;
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s, opacity 0.15s;
}

.pf-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.22);
}

.pf-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.pf-btn--back {
    background: #fff;
    border: 1.5px solid #dfe5df;
    color: #374151;
    padding: 8px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pf-btn--back:hover {
    background: #fafafa;
    border-color: #b8c4b8;
    transform: translateY(-1px);
}

.pf-btn--ack {
    width: 100%;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    color: #fff;
    padding: 11px 16px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.24);
}

.pf-btn--ack:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}

.pf-btn--ack i {
    font-size: 1.05rem;
}

.pf-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pf-spin 0.7s linear infinite;
}

@keyframes pf-spin {
    to { transform: rotate(360deg); }
}

.pf-detail-toolbar {
    margin-bottom: 14px;
}

.pf-messages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding-bottom: 8px;
}

.pf-messages-empty {
    text-align: center;
    padding: 36px 20px;
    color: #6b7280;
}

.pf-messages-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: #fafafa;
    border: 1.5px solid #fde8d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9ca3af;
}

.pf-messages-empty p {
    font-weight: 800;
    color: #374151;
    margin: 0 0 6px;
    font-size: 0.95rem;
}

.pf-messages-empty span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 320px;
    margin: 0 auto;
}

.pf-message-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1.5px solid #fde8d4;
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pf-message-row-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #fff4ed;
    color: #ff6b00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pf-message-row-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf-message-row-chevron {
    flex-shrink: 0;
    color: #c4cbc4;
    font-size: 0.95rem;
    transition: color 0.15s, transform 0.15s;
}

.pf-message-row:hover,
.pf-message-row:focus-visible {
    border-color: #ff6b00;
    box-shadow: 0 6px 18px rgba(45, 77, 39, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.pf-message-row:hover .pf-message-row-chevron,
.pf-message-row:focus-visible .pf-message-row-chevron {
    color: #ff6b00;
    transform: translateX(2px);
}

.pf-message-row.has-unread {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
}

.pf-message-row.has-unread .pf-message-row-icon {
    background: #dbeafe;
    color: #1d4ed8;
}

.pf-message-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pf-message-cat {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff6b00;
}

.pf-message-new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 800;
    color: #1d4ed8;
    background: #dbeafe;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pf-message-new i {
    font-size: 0.42rem;
}

.pf-message-replied {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff6b00;
    background: #fff4ed;
    padding: 3px 9px;
    border-radius: 999px;
}

.pf-message-preview {
    display: block;
    font-size: 0.86rem;
    color: #374151;
    line-height: 1.45;
}

.pf-message-meta {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
}

.pf-thread-section {
    margin-bottom: 16px;
}

.pf-replies-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c24100;
    margin-bottom: 12px;
}

.pf-replies-heading > span:first-of-type {
    flex: 1;
    min-width: 0;
}

.pf-replies-heading i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff4ed;
    color: #ff6b00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pf-thread-cat {
    font-size: 0.68rem;
    font-weight: 700;
    color: #5f6b5f;
    background: #fff;
    border: 1px solid #dfe5df;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

.pf-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pf-bubble-row {
    display: flex;
    width: 100%;
}

.pf-bubble-row--team {
    justify-content: flex-start;
}

.pf-bubble-row--user {
    justify-content: flex-end;
}

.pf-bubble-wrap {
    display: flex;
    flex-direction: column;
    max-width: 88%;
    min-width: 0;
}

.pf-bubble-row--user .pf-bubble-wrap {
    align-items: flex-end;
}

.pf-bubble-row--team .pf-bubble-wrap {
    align-items: flex-start;
}

.pf-bubble {
    position: relative;
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.pf-bubble--team {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1f2937;
    border-bottom-left-radius: 6px;
}

.pf-bubble--team.is-unread {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.pf-bubble--user {
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.22);
}

.pf-bubble-text {
    font-size: 0.88rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.pf-bubble-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    padding: 0 4px;
    font-size: 0.68rem;
    color: #9ca3af;
}

.pf-bubble-author {
    font-weight: 700;
    color: #6b7280;
}

.pf-bubble-row--user .pf-bubble-meta {
    justify-content: flex-end;
}

.pf-bubble-row--user .pf-bubble-author {
    color: #ff6b00;
}

.pf-bubble-new {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 2px 7px;
}

.pf-bubble-footer {
    margin-top: 6px;
    width: 100%;
}

.pf-bubble-ack {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ff6b00;
    background: #fff4ed;
    border: 1px solid #c8dcc4;
    padding: 5px 10px;
    border-radius: 999px;
}

.pf-bubble-ack i {
    font-size: 0.85rem;
}

.pf-btn--ack-inline {
    width: auto;
    padding: 7px 12px;
    font-size: 0.74rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.18);
}

.pf-thread-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
}

.pf-thread-hint i {
    font-size: 1rem;
    opacity: 0.8;
}

/* Legacy reply classes kept for compatibility */
.pf-original-message {
    display: none;
}

.pf-replies-empty {
    text-align: center;
    padding: 24px 16px;
    border: 1.5px dashed #dfe5df;
    border-radius: 12px;
    background: #fafbfa;
    color: #6b7280;
}

.pf-replies-empty span {
    font-size: 0.8rem;
    line-height: 1.45;
}

.pf-reply-compose {
    margin-top: 16px;
    padding: 14px;
    border: 1.5px solid #fde8d4;
    border-radius: 14px;
    background: #fafbfa;
}

.pf-reply-compose-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c24100;
    margin-bottom: 8px;
}

.pf-reply-compose-input {
    width: 100%;
    border: 1.5px solid #fde4d0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 88px;
    margin-bottom: 12px;
    background: #fff;
    font-family: inherit;
}

.pf-reply-compose-input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.pf-reply-compose-actions {
    display: flex;
    justify-content: flex-end;
}

.pf-btn--send {
    min-width: 148px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.24);
}

.pf-btn--send:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}

.pf-btn--send i {
    font-size: 0.95rem;
}

.pf-btn--primary {
    padding: 11px 18px;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.24);
}

.pf-btn--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}

.account-pending-reply-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    text-align: left;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1.5px solid #93c5fd;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    color: #1e3a8a;
    font-size: 0.84rem;
    line-height: 1.45;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.account-pending-reply-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.account-pending-reply-body {
    flex: 1;
    min-width: 180px;
}

.account-pending-reply-body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.account-pending-reply-body span {
    display: block;
    font-size: 0.8rem;
    color: #3b5998;
}

.account-pending-reply-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}

.account-pending-reply-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.account-pending-reply-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

#campPortalFeedbackModal .modal-body,
#campContactScoutcampModal .modal-body {
    padding: 20px 24px 8px;
}

#campPortalFeedbackModal .modal-footer,
#campContactScoutcampModal .modal-footer {
    border-top: 1px solid #eef1ee;
    padding: 14px 24px 20px;
}

#campPortalFeedbackModal .modal-footer.pf-footer--success {
    justify-content: center;
}

#campPortalFeedbackModal .modal-footer.pf-footer--success #pfSubmitBtn {
    min-width: 140px;
}

.pf-field {
    margin-bottom: 16px;
}

.pf-field-label,
.pf-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c24100;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pf-field--type {
    margin-bottom: 18px;
}

.pf-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pf-type-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fafafa;
    padding: 12px 12px 11px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.12s;
}

.pf-type-card:hover {
    background: #fff;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.pf-type-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
}

.pf-type-card.is-selected {
    background: #fff;
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.12);
}

.pf-type-card--admin-desk.is-selected { border-color: #ff6b00; }
.pf-type-card--dlv.is-selected { border-color: #7c3aed; }
.pf-type-card--programme.is-selected { border-color: #2563eb; }
.pf-type-card--bug.is-selected { border-color: #dc2626; }
.pf-type-card--software.is-selected { border-color: #2563eb; }
.pf-type-card--concern.is-selected { border-color: #d97706; }
.pf-type-card--near-miss.is-selected { border-color: #0891b2; }
.pf-type-card--other.is-selected { border-color: #64748b; }
.pf-type-card--pricing.is-selected { border-color: #059669; }

.pf-type-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
}

.pf-type-card--admin-desk .pf-type-icon {
    background: #fff4ed;
    color: #ea580c;
}

.pf-type-card--dlv .pf-type-icon {
    background: #ede9fe;
    color: #5b21b6;
}

.pf-type-card--programme .pf-type-icon {
    background: #eff6ff;
    color: #1d4ed8;
}

.pf-type-card--bug .pf-type-icon {
    background: #fef2f2;
    color: #dc2626;
}

.pf-type-card--software .pf-type-icon {
    background: #eff6ff;
    color: #2563eb;
}

.pf-type-card--concern .pf-type-icon {
    background: #fff7ed;
    color: #c2410c;
}

.pf-type-card--near-miss .pf-type-icon {
    background: #ecfeff;
    color: #0e7490;
}

.pf-type-card--pricing .pf-type-icon {
    background: #d1fae5;
    color: #059669;
}

.pf-type-card--other .pf-type-icon {
    background: #f1f5f9;
    color: #475569;
}

.pf-type-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pf-type-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
}

.pf-type-desc {
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.35;
}

.pf-field textarea {
    width: 100%;
    border: 1.5px solid #d4d9d4;
    border-radius: 10px;
    background: #fafafa;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.15s, box-shadow 0.15s;
    min-height: 130px;
    resize: vertical;
}

.pf-field textarea:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    background: #fff;
}

.pf-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 4px;
}

.pf-contact-input {
    width: 100%;
    border: 1.5px solid #d4d9d4;
    border-radius: 10px;
    background: #fafafa;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.pf-contact-input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    background: #fff;
}

.pf-scoutcamp-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #fde8d4;
    background: #fffaf5;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #7c2d12;
}

.pf-scoutcamp-contact-note i {
    flex-shrink: 0;
    color: #ea580c;
    margin-top: 1px;
}

@media (max-width: 575.98px) {
    .pf-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-wizard-step.is-active,
    .pf-wizard-step.is-leaving {
        animation: none !important;
    }
}

@media (max-width: 420px) {
    .pf-type-grid {
        grid-template-columns: 1fr;
    }
}

.pf-type-grid--scoutcamp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 575.98px) {
    .pf-type-grid--scoutcamp {
        grid-template-columns: 1fr;
    }
}

.pf-hint {
    font-size: 0.78rem;
    color: #777;
    margin: 0 0 14px;
    line-height: 1.5;
}

.pf-first-aid-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #1e3a5f;
}

.pf-first-aid-note__icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: #2563eb;
    margin-top: 1px;
}

.pf-first-aid-note__body strong {
    color: #1e40af;
}

.pf-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.pf-error.is-visible {
    display: block;
}

.pf-done {
    display: none;
    text-align: center;
    padding: 24px 8px 12px;
}

.pf-done.is-visible {
    display: block;
}

.pf-done i {
    font-size: 2.4rem;
    color: #ff6b00;
    display: block;
    margin-bottom: 12px;
}

.pf-done h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #c24100;
    margin-bottom: 8px;
}

.pf-done p {
    color: #666;
    font-size: 0.88rem;
    margin: 0;
}

html[data-theme="dark"] #campPortalFeedbackModal .pf-spotlight-card,
html[data-theme="dark"] #campContactScoutcampModal .pf-spotlight-card {
    background: var(--camp-surface);
}

html[data-theme="dark"] .pf-spotlight-header,
html[data-theme="dark"] #campPortalFeedbackModal .modal-footer,
html[data-theme="dark"] #campContactScoutcampModal .modal-footer {
    border-color: var(--camp-border);
}

html[data-theme="dark"] .pf-spotlight-title,
html[data-theme="dark"] .pf-spotlight-close {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-spotlight-close {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .pf-spotlight-close:hover,
html[data-theme="dark"] .pf-spotlight-close:focus-visible {
    background: rgba(255, 107, 0, 0.18);
    color: #fdba74;
}

html[data-theme="dark"] #campPortalFeedbackModal .modal-title,
html[data-theme="dark"] .pf-field-label,
html[data-theme="dark"] .pf-field label,
html[data-theme="dark"] .pf-done h3 {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-hint,
html[data-theme="dark"] .pf-done p,
html[data-theme="dark"] .pf-type-desc {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-first-aid-note {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-first-aid-note__icon {
    color: #93c5fd;
}

html[data-theme="dark"] .pf-first-aid-note__body strong {
    color: #bfdbfe;
}

html[data-theme="dark"] .pf-type-title {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-type-card {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
}

html[data-theme="dark"] .pf-type-card:hover {
    background: var(--camp-surface-raised, var(--camp-surface));
    border-color: rgba(234, 88, 12, 0.35);
}

html[data-theme="dark"] .pf-type-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.28);
}

html[data-theme="dark"] .pf-type-card.is-selected {
    background: var(--camp-surface-raised, var(--camp-surface));
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--admin-desk.is-selected {
    border-color: #ff8c33;
    box-shadow: 0 0 0 3px rgba(106, 179, 86, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--dlv.is-selected {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--programme.is-selected {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--bug.is-selected {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--concern.is-selected {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--near-miss.is-selected {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--other.is-selected {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--pricing.is-selected {
    border-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22), 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-type-card--admin-desk .pf-type-icon {
    background: rgba(255, 107, 0, 0.2);
    color: #fdba74;
}

html[data-theme="dark"] .pf-type-card--dlv .pf-type-icon {
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
}

html[data-theme="dark"] .pf-type-card--programme .pf-type-icon {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

html[data-theme="dark"] .pf-type-card--software .pf-type-icon {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

html[data-theme="dark"] .pf-type-card--software.is-selected {
    border-color: #60a5fa;
}

html[data-theme="dark"] .pf-type-card--bug .pf-type-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

html[data-theme="dark"] .pf-type-card--concern .pf-type-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

html[data-theme="dark"] .pf-type-card--near-miss .pf-type-icon {
    background: rgba(34, 211, 238, 0.15);
    color: #67e8f9;
}

html[data-theme="dark"] .pf-type-card--other .pf-type-icon {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

html[data-theme="dark"] .pf-type-card--pricing .pf-type-icon {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
}

html[data-theme="dark"] .pf-near-miss-fields {
    border-top-color: var(--camp-border);
}

html[data-theme="dark"] .pf-near-miss-fields label {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-near-miss-fields input,
html[data-theme="dark"] .pf-near-miss-fields textarea {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
    color-scheme: dark;
}

html[data-theme="dark"] .pf-near-miss-fields input:focus,
html[data-theme="dark"] .pf-near-miss-fields textarea:focus {
    border-color: rgba(var(--camp-hero-glow-rgb, 106, 179, 86), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--camp-hero-glow-rgb, 106, 179, 86), 0.18);
    outline: none;
}

html[data-theme="dark"] .pf-field textarea {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-field textarea:focus {
    border-color: rgba(234, 88, 12, 0.55);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
    background: var(--camp-surface-raised, var(--camp-surface));
}

html[data-theme="dark"] .pf-contact-input {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-contact-input:focus {
    border-color: rgba(234, 88, 12, 0.55);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
    background: var(--camp-surface-raised, var(--camp-surface));
}

html[data-theme="dark"] .pf-scoutcamp-contact-note {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(234, 88, 12, 0.28);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-scoutcamp-contact-note i {
    color: #fdba74;
}

html[data-theme="dark"] .pf-wizard-progress {
    background: var(--camp-input-bg);
}

html[data-theme="dark"] .pf-wizard-step-label {
    color: var(--camp-brand-primary-light, #fdba74);
}

html[data-theme="dark"] .pf-wizard-type-chip {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-wizard-type-chip:hover,
html[data-theme="dark"] .pf-wizard-type-chip:focus-visible {
    background: var(--camp-surface-raised, var(--camp-surface));
    border-color: rgba(234, 88, 12, 0.45);
}

html[data-theme="dark"] .pf-wizard-type-chip i,
html[data-theme="dark"] .pf-wizard-type-chip__change {
    color: #fdba74;
}

html[data-theme="dark"] .pf-done i {
    color: var(--camp-brand-accent);
}

html[data-theme="dark"] .pf-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

html[data-theme="dark"] .pf-mode-tabs {
    background: var(--camp-surface);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .pf-mode-tab {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text-muted);
    box-shadow: none;
}

html[data-theme="dark"] .pf-mode-tab:hover,
html[data-theme="dark"] .pf-mode-tab:focus-visible {
    color: var(--camp-text);
    background: var(--camp-surface-raised, var(--camp-surface));
}

html[data-theme="dark"] .pf-mode-tab.is-active {
    color: #fff;
    border-color: #ff6b00;
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-messages-hint {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-mc-queue-notice {
    background: rgba(234, 88, 12, 0.12);
    border-color: rgba(251, 146, 60, 0.35);
    color: #fdba74;
}

html[data-theme="dark"] .pf-mc-queue-heading {
    color: #fdba74;
}

html[data-theme="dark"] .pf-messages-divider,
html[data-theme="dark"] .pf-messages-divider::before,
html[data-theme="dark"] .pf-messages-divider::after {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-messages-divider::before,
html[data-theme="dark"] .pf-messages-divider::after {
    background: var(--camp-input-border);
}

html[data-theme="dark"] .pf-btn--back {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-btn--ack {
    background: linear-gradient(135deg, #ff6b00 0%, #e85d00 100%);
}

html[data-theme="dark"] .pf-messages-empty-icon {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
}

html[data-theme="dark"] .pf-message-row {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
}

html[data-theme="dark"] .pf-message-row.has-unread,
html[data-theme="dark"] .pf-bubble--team.is-unread {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
}

html[data-theme="dark"] .pf-bubble--team {
    background: var(--camp-surface);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-bubble--user {
    background: linear-gradient(135deg, var(--camp-brand-primary, #ff6b00) 0%, var(--camp-brand-primary-dark, #c24100) 100%);
    color: #fff;
}

html[data-theme="dark"] .pf-bubble-text {
    color: inherit;
}

html[data-theme="dark"] .pf-bubble-meta,
html[data-theme="dark"] .pf-bubble-time {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-bubble-author {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-bubble-row--user .pf-bubble-author {
    color: #a7d4a0;
}

html[data-theme="dark"] .pf-bubble-new {
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.2);
}

html[data-theme="dark"] .pf-bubble-ack {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(106, 179, 86, 0.25);
    color: #a7d4a0;
}

html[data-theme="dark"] .pf-thread-cat {
    background: var(--camp-surface);
    border-color: var(--camp-input-border);
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-thread-hint {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-message-preview {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-message-meta,
html[data-theme="dark"] .pf-message-cat {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-message-new {
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.2);
}

html[data-theme="dark"] .pf-message-replied {
    color: #a7d4a0;
    background: rgba(255, 107, 0, 0.16);
}

html[data-theme="dark"] .pf-message-row:hover,
html[data-theme="dark"] .pf-message-row:focus-visible {
    border-color: rgba(var(--camp-hero-glow-rgb, 106, 179, 86), 0.45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

html[data-theme="dark"] .pf-message-row:hover .pf-message-row-chevron,
html[data-theme="dark"] .pf-message-row:focus-visible .pf-message-row-chevron {
    color: var(--camp-brand-primary-light);
}

html[data-theme="dark"] .pf-message-row-chevron {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-messages-empty {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-messages-empty p {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-messages-empty span {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-replies-heading {
    color: var(--camp-brand-primary-light);
}

html[data-theme="dark"] .pf-replies-empty span {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .pf-message-row-icon {
    background: rgba(255, 107, 0, 0.18);
    color: #a7d4a0;
}

html[data-theme="dark"] .pf-message-row.has-unread .pf-message-row-icon {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

html[data-theme="dark"] .pf-replies-heading i {
    background: rgba(255, 107, 0, 0.18);
    color: #a7d4a0;
}

html[data-theme="dark"] .pf-replies-empty {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
}

html[data-theme="dark"] .pf-reply-compose {
    background: var(--camp-input-bg);
    border-color: var(--camp-input-border);
}

html[data-theme="dark"] .pf-reply-compose-input {
    background: var(--camp-surface);
    border-color: var(--camp-input-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-reply-compose-label {
    color: var(--camp-text);
}

html[data-theme="dark"] .pf-btn--send,
html[data-theme="dark"] .pf-btn--primary {
    background: linear-gradient(135deg, var(--camp-brand-primary, #ff6b00) 0%, var(--camp-brand-primary-dark, #c24100) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .pf-btn--send:hover:not(:disabled),
html[data-theme="dark"] .pf-btn--primary:hover:not(:disabled) {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .account-pending-reply-notice {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
    color: var(--camp-text);
    box-shadow: none;
}

html[data-theme="dark"] .account-pending-reply-body span {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .account-pending-reply-btn {
    background: #2563eb;
}
