:root {
    --ole-primary: #e96b10;
    --ole-dark: #333333;
    --ole-light: #ffffff;
    --ole-gray: #f4f4f4;
    --ole-border: #e0e0e0;
    --ole-radius: 12px;
}

.ole-donation-container {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--ole-light);
    border-radius: var(--ole-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--ole-border);
}

.ole-donation-container.ole-theme-soft {
    --ole-light: #fffaf6;
    --ole-gray: #fff3ea;
    --ole-border: #f3d7c3;
    box-shadow: 0 14px 34px rgba(126, 72, 34, 0.12);
}

.ole-donation-container.ole-theme-minimal {
    --ole-gray: #f8fafc;
    --ole-border: #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.ole-donation-container.ole-theme-impact {
    --ole-dark: #172554;
    --ole-gray: #eef6ff;
    --ole-border: #bfdbfe;
    border-width: 2px;
    box-shadow: 0 18px 48px rgba(23, 37, 84, 0.16);
}

.ole-donation-container.ole-theme-dark {
    --ole-dark: #f8fafc;
    --ole-light: #111827;
    --ole-gray: #1f2937;
    --ole-border: #374151;
    background: #111827;
    color: #e5e7eb;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.ole-donation-container.ole-theme-earth {
    --ole-dark: #2f241b;
    --ole-light: #fffdf7;
    --ole-gray: #f4efe3;
    --ole-border: #d8c7a7;
    box-shadow: 0 16px 40px rgba(62, 43, 24, 0.14);
}

.ole-theme-soft .ole-panel-left,
.ole-theme-soft .ole-panel-right,
.ole-theme-soft .ole-inner-wrapper {
    background: #fffaf6;
}

.ole-theme-minimal .ole-panel-left,
.ole-theme-minimal .ole-panel-right,
.ole-theme-minimal .ole-inner-wrapper {
    background: #fff;
}

.ole-theme-impact .ole-panel-left {
    background: #eef6ff;
}

.ole-theme-dark .ole-panel-left,
.ole-theme-dark .ole-panel-right,
.ole-theme-dark .ole-inner-wrapper,
.ole-theme-dark .ole-body,
.ole-theme-dark .ole-stats-box,
.ole-theme-dark .ole-campaign-goal {
    background: #111827 !important;
    color: #e5e7eb;
}

.ole-theme-dark input,
.ole-theme-dark select,
.ole-theme-dark textarea,
.ole-theme-dark .ole-amount-btn,
.ole-theme-dark .ole-payment-option {
    background: #1f2937;
    border-color: #374151;
    color: #f8fafc;
}

.ole-theme-dark .ole-form-section h3,
.ole-theme-dark .ole-payment-option .pay-label,
.ole-theme-dark .ole-campaign-goal strong {
    color: #f8fafc;
}

.ole-theme-earth .ole-panel-left {
    background: #f4efe3;
}

.ole-theme-minimal .ole-promo-header {
    border-bottom: 1px solid var(--ole-border);
}

/* --- PANELS LAYOUT --- */
.ole-layout-panels { max-width: 1000px; }
.ole-flex-panels { display: flex; align-items: stretch; }
.ole-layout-panels .ole-panel-left { flex: 1; background: #fafafa; border-right: 1px solid var(--ole-border); }
.ole-layout-panels .ole-panel-right { flex: 1.2; background: white; }

/* --- SIMPLE LAYOUT --- */
.ole-is-simple { max-width: 650px; margin: 0 auto; }
.ole-is-simple .ole-inner-wrapper { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.ole-is-simple .ole-promo-header { background: var(--ole-primary) !important; color: white !important; padding: 15px 15px !important; text-align: center !important; margin: 0 !important; }
.ole-is-simple .ole-promo-header h2 { color: white !important; margin: 0 0 5px 0 !important; font-size: 2rem !important; line-height: 1.1 !important; }
.ole-is-simple .ole-promo-header p { color: white !important; margin: 0 !important; opacity: 1 !important; font-size: 1.3rem !important; font-weight: 500; }
.ole-is-simple .ole-panel-right { width: 100%; border-radius: 0 0 12px 12px; }

/* --- PROMO HEADER & STATS (CLASSIC STYLE) --- */
.ole-promo-header { padding: 40px; text-align: center; position: relative; }
.ole-layout-classic .ole-promo-header, .ole-layout-multistep .ole-promo-header { 
    background: var(--ole-primary); 
    color: white; 
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 50px; 
}
.ole-layout-classic .ole-promo-header h2, .ole-layout-multistep .ole-promo-header h2 { color: white !important; font-size: 2rem !important; line-height: 1.1 !important; margin-bottom: 10px !important; }
.ole-layout-classic .ole-promo-header p, .ole-layout-multistep .ole-promo-header p { color: white !important; font-size: 1.2rem; line-height: 1.4; opacity: 1 !important; margin: 0 auto !important; max-width: 600px; }

.ole-theme-soft.ole-layout-classic .ole-promo-header,
.ole-theme-soft.ole-layout-multistep .ole-promo-header {
    background: #fff3ea;
    color: #4b2e1f;
}

.ole-theme-soft.ole-layout-classic .ole-promo-header h2,
.ole-theme-soft.ole-layout-multistep .ole-promo-header h2,
.ole-theme-soft.ole-layout-classic .ole-promo-header p,
.ole-theme-soft.ole-layout-multistep .ole-promo-header p {
    color: #4b2e1f !important;
}

.ole-theme-minimal.ole-layout-classic .ole-promo-header,
.ole-theme-minimal.ole-layout-multistep .ole-promo-header {
    background: transparent;
    color: #111827;
    margin-bottom: 22px;
}

.ole-theme-minimal.ole-layout-classic .ole-promo-header h2,
.ole-theme-minimal.ole-layout-multistep .ole-promo-header h2 {
    color: #111827 !important;
}

.ole-theme-minimal.ole-layout-classic .ole-promo-header p,
.ole-theme-minimal.ole-layout-multistep .ole-promo-header p {
    color: #4b5563 !important;
}

.ole-theme-impact.ole-layout-classic .ole-promo-header,
.ole-theme-impact.ole-layout-multistep .ole-promo-header {
    background: #172554;
}

.ole-theme-dark.ole-layout-classic .ole-promo-header,
.ole-theme-dark.ole-layout-multistep .ole-promo-header {
    background: #0f172a;
}

.ole-theme-earth.ole-layout-classic .ole-promo-header,
.ole-theme-earth.ole-layout-multistep .ole-promo-header {
    background: #5f4632;
}

.ole-campaign-image-box,
.ole-campaign-media-box { margin: 20px 0; border-radius: 0; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ole-campaign-image-box img,
.ole-campaign-media-box img,
.ole-campaign-media-box video { width: 100%; display: block; }
.ole-campaign-media-box video { background: #111; max-height: 520px; object-fit: cover; }
.ole-media-simple { margin-top: 20px; box-shadow: none; border-radius: 0; }
.ole-media-panel { margin: 20px 40px; border-radius: 0; }
.ole-campaign-gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
}

.ole-campaign-gallery-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.ole-campaign-gallery-slider img.active {
    opacity: 1;
}

.ole-gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 2;
}

.ole-gallery-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ole-gallery-dots span.active {
    background: var(--ole-primary);
}

/* Stats box (The elegant floating one) */
.ole-stats-box { 
    background: white; 
    border-radius: 12px; 
    padding: 25px 20px; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--ole-border);
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 100% !important;
}

.ole-stats-box-recaudacion {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ole-layout-classic .ole-stats-box, .ole-layout-multistep .ole-stats-box { 
    position: initial !important;
    box-shadow: none; 
    border: 1px solid var(--ole-border);
}

.ole-stat-item .label { display: block; font-size: 0.7rem; color: #999; text-transform: uppercase; }
.ole-stat-item .val { display: block; font-size: 1.3rem; font-weight: 700; color: var(--ole-dark); }

.ole-progress-track { 
    background: #f0f0f0; 
    height: 12px; 
    border-radius: 50px; 
    margin: 25px 10px 10px 10px; 
    position: relative; 
    overflow: visible !important; 
}
.ole-progress-fill { 
    background: var(--ole-primary); 
    height: 100%; 
    border-radius: 50px; 
    position: relative; 
    transition: width 0.6s ease;
}
.ole-progress-dot {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #FF9800;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.ole-campaign-goals {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    text-align: left;
}

.ole-campaign-goal {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.ole-campaign-goal.is-complete {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ole-campaign-goal-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    color: var(--ole-dark);
}

.ole-campaign-goal-head strong {
    font-size: 0.92rem;
}

.ole-campaign-goal-head span {
    color: var(--ole-primary);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.ole-campaign-goal small {
    display: block;
    margin-top: 4px;
    color: #777;
    line-height: 1.35;
}

.ole-campaign-goal-track {
    width: 100%;
    height: 6px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8e8e8;
}

.ole-campaign-goal-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--ole-primary);
}

/* --- FORM BODY --- */
.ole-body { padding: 40px; }
.ole-layout-classic .ole-body, .ole-layout-multistep .ole-body { padding-top: 40px; }

.ole-form-section h3 { 
    font-size: 1.2rem; 
    margin: 25px 0 15px; 
    color: var(--ole-dark); 
    border-left: 5px solid var(--ole-primary); 
    padding-left: 15px; 
    font-weight: 700; 
}
.ole-form-section:first-child h3 { margin-top: 0; }


/* --- BUTTONS & INPUTS --- */
.ole-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ole-amount-btn { padding: 18px 10px; border: 2px solid #f0f0f0; border-radius: 10px; text-align: center; cursor: pointer; font-weight: 700; transition: 0.3s; font-size: x-large; }
.ole-amount-btn:hover { border-color: var(--ole-primary); }
.ole-amount-btn.active { border-color: var(--ole-primary); background: var(--ole-primary); color: white; }

.ole-custom-amount input { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 8px; margin-top: 10px; font-size: 1rem; box-sizing: border-box; }

.ole-periodicity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ole-freq-btn { padding: 15px; border: 3px solid transparent; background: #f4f2ee; border-radius: 8px; cursor: pointer; font-weight: 500; transition: 0.2s; font-size: x-large; }
.ole-freq-btn.active { border-color: var(--ole-dark); background: white; }

.ole-payment-option { display: flex; align-items: center; padding: 18px; border: 1px solid #ddd; border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: 0.2s; }

.ole-payment-option:hover { border-color: var(--ole-primary); }
.ole-payment-option.active { border-color: var(--ole-primary); background: rgba(233, 107, 16, 0.03); }
.ole-payment-option input { margin-right: 15px; transform: scale(1.4); accent-color: var(--ole-primary); }
.ole-payment-option .pay-label { flex: 1; font-weight: 700; color: var(--ole-dark); }

.ole-offline-payment-code {
    margin-top: 12px;
    padding: 14px 16px;
    border: 2px solid var(--ole-primary);
    border-radius: 10px;
    background: #fff7ed;
    color: #1f2937;
}

.ole-offline-payment-code span {
    display: block;
    margin-bottom: 6px;
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ole-offline-payment-code strong {
    display: block;
    color: #111827;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ole-theme-dark .ole-offline-payment-code {
    background: #1f2937;
    color: #f8fafc;
}

.ole-theme-dark .ole-offline-payment-code span {
    color: #fed7aa;
}

.ole-theme-dark .ole-offline-payment-code strong {
    color: #f8fafc;
}

/* --- MULTISTEP NAV --- */
.ole-hidden { display: none !important; }
.ole-steps-nav { display: flex; align-items: center; justify-content: center; margin-bottom: 50px; }

.step-dot { width: 38px; height: 38px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #999; }
.step-dot.active { background: var(--ole-primary); color: white; }
.step-line { flex: 1; height: 3px; background: #eee; max-width: 50px; margin: 0 10px; }

.ole-step-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 15px; margin-top: 25px; }
.ole-next-btn, .ole-prev-btn { padding: 18px; border-radius: 12px; font-weight: 700; cursor: pointer; border: none; font-size: 1rem; }
.ole-next-btn { background: var(--ole-primary); color: white; width: 100%; transition: 0.3s; margin-top: 25px; }
.ole-next-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.ole-prev-btn { background: #eee; color: #666; margin-top: 25px; }
.ole-step-btns .ole-next-btn, .ole-step-btns .ole-prev-btn { margin-top: 0; }

/* Submits & Contacts */
/* Submits & Contacts */
.ole-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ole-contact-fields input:not([type="radio"]):not([type="checkbox"]),
.ole-tribute-section input:not([type="radio"]):not([type="checkbox"]),
.ole-tribute-section textarea,
.ole-tribute-section select { 
    width: 100%; 
    padding: 16px 20px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    margin-bottom: 0; 
    font-size: 1rem; 
    box-sizing: border-box; 
    transition: 0.3s;
    background: #fff;
    font-family: inherit;
}

.ole-contact-fields .ole-donor-identity {
    margin-top: 3px;
}

.ole-contact-fields input:not([type="radio"]):not([type="checkbox"]):focus,
.ole-tribute-section input:not([type="radio"]):not([type="checkbox"]):focus,
.ole-tribute-section textarea:focus,
.ole-tribute-section select:focus {
    border-color: var(--ole-primary);
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ole-tribute-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}

.ole-tribute-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.ole-tribute-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    color: var(--ole-dark);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.ole-tribute-toggle span {
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
}

.ole-tribute-panel {
    margin-top: 12px;
}

.ole-tribute-intro {
    margin: 0 0 12px;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ole-tribute-grid textarea {
    grid-column: 1 / -1;
    min-height: 84px;
    resize: vertical;
}

.ole-tribute-grid input[type="email"],
.ole-tribute-grid input[type="date"] {
    grid-column: 1 / -1;
}

.ole-tribute-options {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.ole-tribute-notify {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 0.92rem;
}

.ole-donor-identity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 15px 0 35px;
    padding: 20px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
}

.ole-donor-identity label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ole-dark);
    font-size: 1rem;
    text-align: center;
    transition: 0.2s;
}

.ole-donor-identity label:hover {
    color: var(--ole-primary);
}

.ole-donor-identity input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--ole-primary);
    cursor: pointer;
    margin: 0;
}

/* Legal & Checkboxes */
.ole-legal-checks {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ole-legal-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    text-align: left;
}

.ole-legal-item input[type="checkbox"], .ole-donation-container input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 1px;
    accent-color: var(--ole-primary);
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
}

.ole-legal-item a {
    color: var(--ole-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: 0.2s;
}
.ole-legal-item a:hover { color: var(--ole-dark); }

.ole-submit-btn { width: 100%; padding: 20px; background: var(--ole-primary); color: white; border: none; border-radius: 12px; font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.ole-submit-btn:hover { filter: brightness(1.1); box-shadow: 0 10px 30px rgba(233, 107, 16, 0.3); }

/* --- SUCCESS --- */
.ole-success-msg { padding: 60px 40px; text-align: center; display: none; }
.ole-success-msg h3 { color: var(--ole-primary); font-size: 2rem; font-weight: 800; margin: 20px 0; }
.ole-success-msg p { font-size: 1.1rem; color: #666; }

/* --- RESPONSIVE --- */
@media (max-width: 800px) {
    .ole-flex-panels { flex-direction: column; }
    .ole-panel-left { border-right: none !important; border-bottom: 1px solid var(--ole-border); }
    .ole-layout-classic .ole-stats-box, .ole-layout-multistep .ole-stats-box { left: 20px; right: 20px; }
    .ole-body {
        padding: 24px 10px;
    }
    .ole-layout-classic .ole-body,
    .ole-layout-multistep .ole-body {
        padding-top: 24px;
    }
    .ole-amount-grid {
        gap: 8px;
    }
    .ole-amount-btn {
        padding: 12px 8px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    .ole-custom-amount input {
        padding: 12px;
    }
}
.ole-progress-dot {
    animation: olePulse 2s infinite;
}

@keyframes olePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

/* --- PAYMENT METHODS --- */
.ole-test-mode-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 14px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 5px solid #d97706;
    color: #9a3412;
    font-size: 0.95rem;
    line-height: 1.4;
    border-radius: 10px;
    box-sizing: border-box;
}

.ole-test-mode-banner p {
    margin: 2px 0 0;
    color: #7c2d12;
}

.ole-test-mode-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 30px;
    padding: 0 10px;
    background: #9a3412;
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.ole-campaign-closed-box {
    padding: 34px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ole-border);
    border-radius: 10px;
}

.ole-campaign-closed-box > span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 800;
    font-size: 0.82rem;
}

.ole-campaign-closed-box h3 {
    margin: 0 0 8px;
    color: var(--ole-dark);
}

.ole-campaign-closed-box p {
    max-width: 620px;
    margin: 0 auto 18px;
    color: #666;
}

.ole-campaign-deadline {
    display: inline-flex;
    margin-top: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.86rem;
    font-weight: 800;
}

.ole-payment-details {
    display: none !important;
    margin-top: 20px;
    padding: 20px;
    background: #fbfbfb;
    border-radius: 12px;
    border: 1px solid #eee;
    animation: oleSlideIn 0.3s ease;
}

.ole-payment-details.active {
    display: block !important;
}

.ole-payment-warning {
    margin: 0;
    color: #b45309;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ole-payment-mode-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.86rem;
    line-height: 1.35;
}

.ole-payment-mode-inline.is-test {
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.ole-payment-mode-inline.is-live {
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.ole-payment-mode-inline.is-error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.ole-payment-mode-inline span {
    color: inherit;
    opacity: 0.9;
}

.ole-payment-mode-inline code {
    margin-left: auto;
    padding: 3px 7px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
}

#stripe-card-element {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.ole-stripe-card-shell {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
}

.ole-payment-title {
    color: var(--ole-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ole-payment-helper {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

@keyframes oleSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DONOR DASHBOARD --- */
.ole-donor-dashboard {
    width: 100%;
    max-width: 1180px;
    margin: 36px auto;
    padding: 28px;
    background:
        radial-gradient(circle at 0 0, rgba(233, 107, 16, 0.09), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(17, 24, 39, 0.08);
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    color: #1f2937;
}

.ole-donor-dashboard.ole-dashboard-no-records,
.ole-donor-dashboard.ole-dashboard-has-records {
    width: 100%;
    max-width: 100%;
}

.ole-dashboard-login {
    max-width: 620px;
    min-height: 260px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 42px 34px;
    text-align: center;
}

.ole-dashboard-login-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--ole-primary);
    font-size: 46px;
    line-height: 54px;
}

.ole-dashboard-login h3 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.15;
}

.ole-dashboard-login p {
    max-width: 520px;
    margin: 0;
    color: #172033;
    font-size: 1rem;
    line-height: 1.55;
}

.ole-dashboard-login-form {
    display: grid;
    gap: 12px;
    width: min(390px, 100%);
    margin-top: 8px;
}

.ole-dashboard-login-form label {
    display: grid;
    gap: 6px;
    color: #111827;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 800;
}

.ole-dashboard-login-form input[type="text"],
.ole-dashboard-login-form input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font: inherit;
    box-sizing: border-box;
}

.ole-dashboard-login-form input:focus {
    border-color: var(--ole-primary);
    outline: 2px solid rgba(233, 107, 16, 0.14);
    outline-offset: 0;
}

.ole-dashboard-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ole-dashboard-login-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4b5563;
    font-size: 0.88rem;
    font-weight: 700;
}

.ole-dashboard-login-options input {
    margin: 0;
}

.ole-dashboard-login-options a {
    color: var(--ole-primary);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.ole-dashboard-login-error,
.ole-dashboard-login-notice {
    width: min(390px, 100%);
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

.ole-dashboard-login-notice {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.ole-dashboard-auth-link {
    color: var(--ole-primary);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
}

.ole-dashboard-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(292px, 100%);
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: var(--ole-primary);
    color: #fff !important;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(233, 107, 16, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ole-dashboard-login-btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow: 0 18px 30px rgba(233, 107, 16, 0.28);
}

.ole-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 18px 18px 24px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.ole-dashboard-profile-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.ole-dashboard-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ole-primary), #ff9f45);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(233, 107, 16, 0.22);
}

.ole-dashboard-state {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff3e9;
    color: #b84f08;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.ole-dashboard-header h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    line-height: 1.05;
}

.ole-dashboard-header p {
    margin: 8px 0 0;
    color: #5f6673;
    font-size: 0.98rem;
    line-height: 1.45;
}

.ole-dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.ole-dashboard-email {
    color: #4b5563;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 999px;
    padding: 9px 15px;
    box-shadow: 0 7px 20px rgba(17, 24, 39, 0.04);
}

.ole-dashboard-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    color: #172033;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    background: #fff;
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ole-dashboard-secondary-btn:hover {
    color: var(--ole-primary);
    border-color: var(--ole-primary);
    box-shadow: 0 10px 22px rgba(233, 107, 16, 0.12);
    transform: translateY(-1px);
}

.ole-dashboard-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    border-radius: 8px;
    line-height: 1.45;
}

.ole-dashboard-alert strong {
    color: #7c2d12;
}

.ole-dashboard-alert a {
    color: #9a3412;
    font-weight: 700;
}

.ole-dashboard-alert-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.ole-dashboard-alert-error strong {
    color: #7f1d1d;
}

.ole-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.ole-dashboard-stat {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.045);
}

.ole-dashboard-stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--ole-primary);
}

.ole-dashboard-stat-icon {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff2e7;
    color: var(--ole-primary);
    font-size: 18px;
    line-height: 30px;
}

.ole-dashboard-stat span:not(.ole-dashboard-stat-icon) {
    display: block;
    max-width: calc(100% - 42px);
    color: #656d7a;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
}

.ole-dashboard-stat strong {
    display: block;
    color: #141b2b;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1;
    margin-top: 13px;
}

.ole-dashboard-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.ole-dashboard-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.ole-dashboard-advanced-card {
    min-height: 210px;
    padding: 20px;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.ole-dashboard-advanced-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #111827;
}

.ole-dashboard-advanced-head .dashicons {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff2e7;
    color: var(--ole-primary);
    font-size: 16px;
    line-height: 28px;
}

.ole-dashboard-definition-list {
    display: grid;
    grid-template-columns: minmax(98px, 0.55fr) 1fr;
    gap: 9px 12px;
    margin: 0 0 14px;
    font-size: 0.92rem;
}

.ole-dashboard-definition-list dt {
    color: #6b7280;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ole-dashboard-definition-list dd {
    margin: 0;
    color: #111827;
    overflow-wrap: anywhere;
}

.ole-dashboard-action-list {
    display: grid;
    gap: 8px;
}

.ole-dashboard-action-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #edf0f2;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    background: #fbfbfc;
}

.ole-dashboard-action-list a::after {
    content: ">";
    color: var(--ole-primary);
    font-weight: 800;
}

.ole-dashboard-action-list a:hover {
    border-color: var(--ole-primary);
    color: var(--ole-primary);
    background: #fff;
}

.ole-dashboard-form {
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    padding: 18px;
}

.ole-dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.ole-dashboard-form label {
    display: grid;
    gap: 6px;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 700;
}

.ole-dashboard-form input,
.ole-dashboard-form select,
.ole-dashboard-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 9px 11px;
    background: #fbfbfc;
    color: #111827;
    font: inherit;
    box-sizing: border-box;
}

.ole-dashboard-form textarea {
    min-height: 108px;
    resize: vertical;
}

.ole-dashboard-form input:focus,
.ole-dashboard-form select:focus,
.ole-dashboard-form textarea:focus {
    outline: none;
    border-color: var(--ole-primary);
    box-shadow: 0 0 0 3px rgba(233, 107, 16, 0.12);
    background: #fff;
}

.ole-dashboard-form-wide {
    grid-column: 1 / -1;
}

/* --- FRONTEND ADMIN PORTAL --- */
.ole-admin-portal,
.ole-admin-portal * {
    box-sizing: border-box;
}

.ole-admin-portal {
    --ole-portal-orange: #e96b10;
    --ole-portal-accent: var(--ole-portal-orange);
    --ole-portal-ink: #172033;
    --ole-portal-muted: #667085;
    --ole-portal-line: #e7e9ee;
    --ole-portal-shell: #f6f7f9;
    --ole-portal-sidebar-bg: #253039;
    --ole-portal-sidebar-hover: rgba(233, 107, 16, 0.18);
    --ole-portal-sidebar-text: rgba(255,255,255,0.86);
    --ole-portal-sidebar-active: #ffffff;
    --ole-portal-sidebar-muted: rgba(255,255,255,0.64);
    --ole-portal-sidebar-line: rgba(255,255,255,0.12);
    --ole-portal-card-bg: #fff;
    --ole-portal-soft: #fff2e7;
    --ole-portal-soft-2: #fff7ed;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 760px;
    width: 100%;
    max-width: 100%;
    background: var(--ole-portal-shell);
    border: 1px solid var(--ole-portal-line);
    border-radius: 18px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    color: var(--ole-portal-ink);
}

.ole-portal-theme-ocean {
    --ole-portal-orange: #0ea5e9;
    --ole-portal-accent: #0ea5e9;
    --ole-portal-ink: #0f2537;
    --ole-portal-muted: #5f7185;
    --ole-portal-line: #dbeafe;
    --ole-portal-shell: #eef7ff;
    --ole-portal-sidebar-bg: #12364f;
    --ole-portal-sidebar-hover: rgba(14, 165, 233, 0.22);
    --ole-portal-soft: #e0f2fe;
    --ole-portal-soft-2: #f0f9ff;
}

.ole-portal-theme-forest {
    --ole-portal-orange: #15936b;
    --ole-portal-accent: #15936b;
    --ole-portal-ink: #10251e;
    --ole-portal-muted: #60756d;
    --ole-portal-line: #d7efe5;
    --ole-portal-shell: #f1faf6;
    --ole-portal-sidebar-bg: #173b31;
    --ole-portal-sidebar-hover: rgba(21, 147, 107, 0.24);
    --ole-portal-soft: #dcfce7;
    --ole-portal-soft-2: #f0fdf4;
}

.ole-portal-theme-coral {
    --ole-portal-orange: #f05a5a;
    --ole-portal-accent: #f05a5a;
    --ole-portal-ink: #2d1f2a;
    --ole-portal-muted: #76636a;
    --ole-portal-line: #ffe0df;
    --ole-portal-shell: #fff6f4;
    --ole-portal-sidebar-bg: #3d2735;
    --ole-portal-sidebar-hover: rgba(240, 90, 90, 0.22);
    --ole-portal-soft: #ffe4e6;
    --ole-portal-soft-2: #fff1f2;
}

.ole-portal-theme-midnight {
    --ole-portal-orange: #8b5cf6;
    --ole-portal-accent: #8b5cf6;
    --ole-portal-ink: #e8eef8;
    --ole-portal-muted: #a9b4c5;
    --ole-portal-line: #273244;
    --ole-portal-shell: #111827;
    --ole-portal-sidebar-bg: #080f1f;
    --ole-portal-sidebar-hover: rgba(139, 92, 246, 0.28);
    --ole-portal-card-bg: #172033;
    --ole-portal-soft: #2d2445;
    --ole-portal-soft-2: #201a35;
}

.ole-portal-theme-minimal {
    --ole-portal-orange: #111827;
    --ole-portal-accent: #111827;
    --ole-portal-ink: #111827;
    --ole-portal-muted: #6b7280;
    --ole-portal-line: #e5e7eb;
    --ole-portal-shell: #f9fafb;
    --ole-portal-sidebar-bg: #ffffff;
    --ole-portal-sidebar-hover: rgba(17, 24, 39, 0.08);
    --ole-portal-sidebar-text: #374151;
    --ole-portal-sidebar-active: #111827;
    --ole-portal-sidebar-muted: #6b7280;
    --ole-portal-sidebar-line: #e5e7eb;
    --ole-portal-soft: #f3f4f6;
    --ole-portal-soft-2: #f9fafb;
}

body.ole-portal-kiosk-mode {
    margin: 0 !important;
    background: #f6f7f9 !important;
}

body.ole-portal-kiosk-mode header,
body.ole-portal-kiosk-mode footer,
body.ole-portal-kiosk-mode #masthead,
body.ole-portal-kiosk-mode #colophon,
body.ole-portal-kiosk-mode .site-header,
body.ole-portal-kiosk-mode .site-footer,
body.ole-portal-kiosk-mode .wp-site-blocks > header,
body.ole-portal-kiosk-mode .wp-site-blocks > footer,
body.ole-portal-kiosk-mode .elementor-location-header,
body.ole-portal-kiosk-mode .elementor-location-footer,
body.ole-portal-kiosk-mode .entry-header,
body.ole-portal-kiosk-mode .page-header,
body.ole-portal-kiosk-mode .post-navigation,
body.ole-portal-kiosk-mode .comments-area {
    display: none !important;
}

body.ole-portal-kiosk-mode .site,
body.ole-portal-kiosk-mode .site-content,
body.ole-portal-kiosk-mode .content-area,
body.ole-portal-kiosk-mode .entry-content,
body.ole-portal-kiosk-mode main,
body.ole-portal-kiosk-mode article,
body:has(.ole-admin-portal-kiosk) .site,
body:has(.ole-admin-portal-kiosk) .site-content,
body:has(.ole-admin-portal-kiosk) .content-area,
body:has(.ole-admin-portal-kiosk) .entry-content,
body:has(.ole-admin-portal-kiosk) main,
body:has(.ole-admin-portal-kiosk) article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.ole-admin-portal-kiosk) header,
body:has(.ole-admin-portal-kiosk) footer,
body:has(.ole-admin-portal-kiosk) #masthead,
body:has(.ole-admin-portal-kiosk) #colophon,
body:has(.ole-admin-portal-kiosk) .site-header,
body:has(.ole-admin-portal-kiosk) .site-footer,
body:has(.ole-admin-portal-kiosk) .wp-site-blocks > header,
body:has(.ole-admin-portal-kiosk) .wp-site-blocks > footer,
body:has(.ole-admin-portal-kiosk) .elementor-location-header,
body:has(.ole-admin-portal-kiosk) .elementor-location-footer,
body:has(.ole-admin-portal-kiosk) .entry-header,
body:has(.ole-admin-portal-kiosk) .page-header,
body:has(.ole-admin-portal-kiosk) .post-navigation,
body:has(.ole-admin-portal-kiosk) .comments-area {
    display: none !important;
}

.ole-admin-portal-kiosk {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ole-admin-portal-login-kiosk {
    min-height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid;
    align-content: center;
    justify-items: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f6f7f9 !important;
}

.ole-admin-portal-login {
    max-width: 620px;
    margin: 40px auto;
    padding: 34px;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    text-align: center;
}

.ole-portal-sidebar {
    background: var(--ole-portal-sidebar-bg);
    color: var(--ole-portal-sidebar-active);
    padding: 22px 16px;
}

.ole-portal-brand {
    padding: 0 8px 18px;
    border-bottom: 1px solid var(--ole-portal-sidebar-line);
    margin-bottom: 14px;
}

.ole-portal-brand strong,
.ole-portal-brand span {
    display: block;
}

.ole-portal-brand span {
    color: var(--ole-portal-sidebar-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.ole-portal-sidebar nav {
    display: grid;
    gap: 4px;
}

.ole-portal-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--ole-portal-sidebar-text);
    text-decoration: none;
    font-weight: 650;
}

.ole-portal-sidebar a:hover,
.ole-portal-sidebar a.is-active {
    background: var(--ole-portal-sidebar-hover);
    color: var(--ole-portal-sidebar-active);
}

.ole-portal-sidebar .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.ole-portal-main {
    min-width: 0;
    padding: 24px;
    background: var(--ole-portal-shell);
}

.ole-portal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.ole-portal-topbar span {
    display: block;
    color: var(--ole-portal-orange);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ole-portal-topbar h1 {
    margin: 4px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
}

.ole-portal-user {
    padding: 9px 13px;
    background: #fff;
    border: 1px solid var(--ole-portal-line);
    border-radius: 999px;
    color: var(--ole-portal-muted);
    font-weight: 700;
}

.ole-portal-notice {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
}

.ole-portal-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.ole-portal-metric,
.ole-portal-card {
    background: var(--ole-portal-card-bg);
    border: 1px solid var(--ole-portal-line);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.045);
}

.ole-portal-metric {
    position: relative;
    min-height: 126px;
    padding: 18px;
    overflow: hidden;
}

.ole-portal-metric > .dashicons {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff2e7;
    color: var(--ole-portal-orange);
    font-size: 18px;
    line-height: 34px;
}

.ole-portal-metric small,
.ole-portal-metric em {
    display: block;
    color: var(--ole-portal-muted);
    font-style: normal;
}

.ole-portal-metric small {
    max-width: calc(100% - 46px);
    font-weight: 800;
}

.ole-portal-metric strong {
    display: block;
    margin-top: 14px;
    font-size: 2rem;
    line-height: 1;
}

.ole-portal-metric em {
    margin-top: 8px;
    font-size: 0.85rem;
}

.ole-portal-card {
    padding: 18px;
    margin-bottom: 18px;
}

.ole-portal-card h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.ole-portal-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ole-portal-card-head h2 {
    margin: 0;
}

.ole-portal-card-head span,
.ole-portal-muted {
    color: var(--ole-portal-muted);
}

.ole-portal-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ole-portal-export-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #fed7aa;
    border-radius: 9px;
    background: #fff7ed;
    color: var(--ole-portal-orange);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.ole-portal-export-button:hover {
    border-color: var(--ole-portal-orange);
    background: var(--ole-portal-orange);
    color: #fff;
}

.ole-portal-export-button .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.ole-portal-filterbar {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    align-items: end;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    background: #fbfbfc;
}

.ole-portal-filterbar label {
    display: grid;
    gap: 5px;
    color: var(--ole-portal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ole-portal-filterbar input,
.ole-portal-filterbar select {
    width: 100%;
    min-height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
    color: var(--ole-portal-ink);
    font: inherit;
    text-transform: none;
    letter-spacing: 0;
}

.ole-portal-filterbar button,
.ole-portal-filterbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--ole-portal-orange);
    background: var(--ole-portal-orange);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.ole-portal-filterbar a {
    background: #fff;
    color: var(--ole-portal-orange);
}

.ole-portal-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ole-portal-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.ole-portal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.ole-portal-table th,
.ole-portal-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef0f3;
    text-align: left;
    vertical-align: top;
}

.ole-portal-table th {
    color: #667085;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ole-portal-table td small,
.ole-portal-table td code {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 0.82rem;
}

.ole-portal-table td code {
    background: #f3f4f6;
    padding: 4px 6px;
    border-radius: 6px;
    color: #374151;
}

.ole-portal-logs-table {
    min-width: 980px;
}

.ole-portal-audit-table {
    min-width: 1080px;
}

.ole-log-context {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}

.ole-log-context code {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin: 0 !important;
    border-radius: 4px;
    background: #eef0f2;
    color: #334155;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.ole-log-context strong {
    color: #0f172a;
    font-weight: 800;
}

.ole-portal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.ole-portal-badge.is-success {
    background: #dcfce7;
    color: #166534;
}

.ole-portal-badge.is-warning {
    background: #ffedd5;
    color: #9a3412;
}

.ole-portal-badge.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.ole-portal-actions,
.ole-portal-inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

.ole-portal-inline-form {
    margin: 0;
}

.ole-portal-inline-form select,
.ole-portal-settings-form input[type="text"] {
    min-height: 34px;
}

.ole-portal-inline-form button,
.ole-portal-button,
.ole-portal-actions a,
.ole-portal-settings-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--ole-portal-orange);
    border-radius: 9px;
    background: var(--ole-portal-orange);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.ole-portal-actions a {
    background: #fff;
    color: var(--ole-portal-orange);
}

.ole-portal-danger-form button,
.ole-portal-danger-button {
    border-color: #dc2626 !important;
    background: #dc2626 !important;
    color: #fff !important;
}

.ole-portal-mini-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff4ed;
    color: var(--ole-portal-orange);
    font-size: 11px;
    font-weight: 800;
}

.ole-portal-mini-badge.is-campaign {
    background: #eef6ff;
    color: #1d4ed8;
}

.ole-portal-mini-badge.is-manual {
    background: #e0e7ff;
    color: #3730a3;
}

.ole-portal-table tr.is-subscription-row td {
    background: #fffaf5;
}

.ole-portal-table tr.is-subscription-row td:first-child {
    box-shadow: inset 4px 0 0 var(--ole-portal-orange);
}

.ole-portal-table tr.is-campaign-row td {
    background: #f8fbff;
}

.ole-portal-table tr.is-campaign-row td:first-child {
    box-shadow: inset 4px 0 0 #2563eb;
}

.ole-home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-color: #fed7aa;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

.ole-home-hero span {
    display: block;
    margin-bottom: 5px;
    color: var(--ole-portal-orange);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ole-home-hero h2 {
    margin: 0 0 7px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
}

.ole-home-hero p {
    margin: 0;
    color: #64748b;
}

.ole-home-hero-status {
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff;
    text-align: right;
}

.ole-home-hero-status strong {
    display: block;
    color: var(--ole-portal-orange);
    font-size: 24px;
    line-height: 1;
}

.ole-home-hero-status small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-weight: 700;
}

.ole-home-onboarding {
    display: grid;
    gap: 18px;
    border-color: #dce2ea;
    background: #fff;
}

.ole-onboarding-hero {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
}

.ole-onboarding-progress {
    display: grid;
    gap: 9px;
}

.ole-onboarding-progress span {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ole-portal-orange) var(--ole-onboarding-progress), #eef0f3 var(--ole-onboarding-progress));
}

.ole-onboarding-progress strong {
    font-size: 30px;
    line-height: 1;
}

.ole-onboarding-progress small,
.ole-onboarding-copy p,
.ole-onboarding-phase-grid small,
.ole-onboarding-step-card p {
    color: var(--ole-portal-muted);
}

.ole-onboarding-copy h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.ole-onboarding-copy p {
    margin: 0;
}

.ole-onboarding-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ole-onboarding-phase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ole-onboarding-phase-grid div {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fbfbfc;
}

.ole-onboarding-phase-grid strong,
.ole-onboarding-phase-grid small {
    display: block;
}

.ole-onboarding-phase-grid small {
    margin-top: 4px;
}

.ole-onboarding-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.ole-onboarding-step-card {
    display: flex;
    min-height: 156px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fffaf5;
}

.ole-onboarding-step-card.is-done {
    border-color: #bbf7d0;
    background: #f7fef9;
}

.ole-onboarding-step-card > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.ole-onboarding-step-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
}

.ole-onboarding-step-card span {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: 12px;
    font-weight: 900;
}

.ole-onboarding-step-card.is-done span {
    background: #d1fae5;
    color: #047857;
}

.ole-onboarding-chip.is-green {
    background: #d1fae5;
    color: #047857;
}

.ole-onboarding-chip.is-yellow {
    background: #fef3c7;
    color: #92400e;
}

.ole-onboarding-chip.is-red {
    background: #fee2e2;
    color: #991b1b;
}

.ole-onboarding-step-card p {
    margin: 0;
    line-height: 1.45;
}

.ole-onboarding-step-card a {
    margin-top: auto;
    padding: 8px 12px;
    border: 1px solid #2271b1;
    border-radius: 6px;
    color: #0a4b78;
    font-weight: 700;
    text-decoration: none;
}

.ole-onboarding-step-card a:hover {
    background: #f0f6fc;
    color: #0a4b78;
}

.ole-onboarding-test-panel {
    padding: 18px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.ole-onboarding-test-panel ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.ole-onboarding-test-panel li {
    margin: 7px 0;
    color: #334155;
    line-height: 1.35;
}

.ole-home-alerts {
    border-color: #fed7aa;
    background: #fffaf5;
}

.ole-home-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.ole-home-action-card {
    display: grid;
    gap: 8px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fbfbfc;
    color: #111827;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ole-home-action-card:hover {
    border-color: var(--ole-portal-orange);
    box-shadow: 0 14px 28px rgba(234, 88, 12, .08);
    transform: translateY(-1px);
    color: #111827;
}

.ole-home-action-card .dashicons {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff2e7;
    color: var(--ole-portal-orange);
    font-size: 18px;
    line-height: 34px;
}

.ole-home-action-card strong {
    font-size: 15px;
}

.ole-home-action-card small {
    color: #64748b;
}

.ole-home-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ole-home-mini-list {
    display: grid;
    gap: 8px;
}

.ole-home-mini-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    background: #fbfbfc;
    color: #111827;
    text-decoration: none;
}

.ole-home-mini-list a:hover {
    border-color: #fed7aa;
    background: #fffaf5;
}

.ole-home-mini-list strong,
.ole-home-mini-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ole-home-mini-list small {
    color: #64748b;
}

.ole-home-mini-list em {
    color: var(--ole-portal-orange);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.ole-home-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d97706;
}

.ole-home-status-dot.is-paid,
.ole-home-status-dot.is-completed {
    background: #16a34a;
}

.ole-home-status-dot.is-failed,
.ole-home-status-dot.is-cancelled,
.ole-home-status-dot.is-refunded {
    background: #dc2626;
}

.ole-system-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.ole-system-score {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--ole-portal-orange) var(--ole-health-score), #edf2f7 0);
    flex: 0 0 auto;
}

.ole-system-score strong {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--ole-portal-orange);
    font-size: 28px;
    font-weight: 900;
}

.ole-system-hero.is-healthy .ole-system-score {
    background: conic-gradient(#16a34a var(--ole-health-score), #edf2f7 0);
}

.ole-system-hero.is-healthy .ole-system-score strong {
    color: #15803d;
}

.ole-system-hero.is-review .ole-system-score {
    background: conic-gradient(#d97706 var(--ole-health-score), #edf2f7 0);
}

.ole-system-hero.is-review .ole-system-score strong {
    color: #b45309;
}

.ole-system-hero.is-danger .ole-system-score {
    background: conic-gradient(#dc2626 var(--ole-health-score), #edf2f7 0);
}

.ole-system-hero.is-danger .ole-system-score strong {
    color: #b91c1c;
}

.ole-system-hero-copy span {
    display: block;
    margin-bottom: 5px;
    color: var(--ole-portal-orange);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ole-system-hero-copy h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
}

.ole-system-hero-copy p {
    margin: 0;
    color: #64748b;
}

.ole-system-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.ole-portal-button.is-secondary {
    background: #fff;
    color: var(--ole-portal-orange);
    border: 1px solid #fed7aa;
}

.ole-system-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 10px 0 18px;
}

.ole-system-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.ole-system-check-item strong {
    color: #111827;
    font-size: 14px;
}

.ole-system-warning-panel {
    border-color: #fed7aa;
    background: #fff7ed;
}

.ole-system-warning-panel h2 {
    color: #9a3412;
}

.ole-system-warning-panel ul {
    margin: 0;
    padding-left: 20px;
}

.ole-system-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.ole-system-detail-wrap {
    padding: 18px;
}

.ole-system-detail-card {
    min-height: 160px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    background: #fff;
}

.ole-system-detail-card-inner {
    display: block;
    padding: 26px 24px 24px 26px !important;
}

@media (max-width: 1280px) {
    .ole-system-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ole-system-detail-grid {
        grid-template-columns: 1fr;
    }
}

.ole-system-detail-card.is-ok {
    border-left-color: #16a34a;
}

.ole-system-detail-card > div {
    display: block;
    margin-bottom: 16px;
}

.ole-system-detail-card h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
}

.ole-system-detail-card p {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.55;
}

.ole-system-detail-card ul {
    margin: 0;
    padding-left: 20px;
}

.ole-system-detail-card li {
    margin: 10px 0;
    line-height: 1.45;
}

.ole-system-detail-card code {
    display: block;
    margin-top: 4px;
    padding: 5px 7px;
    border-radius: 6px;
    background: #f3f4f6;
    overflow-wrap: anywhere;
}

.ole-webhook-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ole-webhook-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--ole-portal-ink);
    font-weight: 800;
}

.ole-webhook-endpoint {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ole-webhook-endpoint code {
    display: block;
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f3f4f6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ole-webhook-checks {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.ole-webhook-checks p {
    margin: 0;
}

.ole-webhook-card h3 {
    margin: 16px 0 9px;
    font-size: 14px;
}

.ole-webhook-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ole-webhook-event-tags code,
.ole-log-context code {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #334155;
}

.ole-webhook-settings-form .ole-portal-edit-grid {
    max-width: 980px;
}

.ole-webhook-settings-form small {
    color: var(--ole-portal-muted);
    font-weight: 600;
    line-height: 1.35;
}

.ole-transactional-email-settings {
    max-width: 760px;
}

.ole-transactional-email-grid {
    display: grid;
    gap: 16px;
}

.ole-transactional-email-grid label {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 4px 0;
}

.ole-transactional-email-grid strong {
    color: var(--ole-portal-ink);
}

.ole-transactional-email-grid span {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #334155;
    line-height: 1.35;
}

.ole-transactional-email-grid input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 2px;
}

.ole-portal-theme-settings {
    max-width: 1040px;
}

.ole-portal-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.ole-portal-theme-card {
    position: relative;
    display: grid;
    gap: 8px;
    min-height: 146px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.ole-portal-theme-card input {
    position: absolute;
    top: 13px;
    right: 13px;
}

.ole-portal-theme-card:has(input:checked) {
    border-color: var(--ole-portal-orange);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ole-portal-orange) 18%, transparent);
}

.ole-theme-preview-swatch {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    width: 92px;
    height: 34px;
}

.ole-theme-preview-swatch i {
    border-radius: 8px;
}

.ole-portal-theme-card strong {
    color: #111827;
}

.ole-portal-theme-card small {
    color: #64748b;
    line-height: 1.35;
}

.ole-theme-preview-olezanzibar .ole-theme-preview-swatch i:nth-child(1) { background: #e96b10; }
.ole-theme-preview-olezanzibar .ole-theme-preview-swatch i:nth-child(2) { background: #253039; }
.ole-theme-preview-olezanzibar .ole-theme-preview-swatch i:nth-child(3) { background: #fff7ed; border: 1px solid #fed7aa; }
.ole-theme-preview-ocean .ole-theme-preview-swatch i:nth-child(1) { background: #0ea5e9; }
.ole-theme-preview-ocean .ole-theme-preview-swatch i:nth-child(2) { background: #12364f; }
.ole-theme-preview-ocean .ole-theme-preview-swatch i:nth-child(3) { background: #f0f9ff; border: 1px solid #bae6fd; }
.ole-theme-preview-forest .ole-theme-preview-swatch i:nth-child(1) { background: #15936b; }
.ole-theme-preview-forest .ole-theme-preview-swatch i:nth-child(2) { background: #173b31; }
.ole-theme-preview-forest .ole-theme-preview-swatch i:nth-child(3) { background: #f0fdf4; border: 1px solid #bbf7d0; }
.ole-theme-preview-coral .ole-theme-preview-swatch i:nth-child(1) { background: #f05a5a; }
.ole-theme-preview-coral .ole-theme-preview-swatch i:nth-child(2) { background: #3d2735; }
.ole-theme-preview-coral .ole-theme-preview-swatch i:nth-child(3) { background: #fff1f2; border: 1px solid #fecdd3; }
.ole-theme-preview-midnight .ole-theme-preview-swatch i:nth-child(1) { background: #8b5cf6; }
.ole-theme-preview-midnight .ole-theme-preview-swatch i:nth-child(2) { background: #080f1f; }
.ole-theme-preview-midnight .ole-theme-preview-swatch i:nth-child(3) { background: #172033; border: 1px solid #273244; }
.ole-theme-preview-minimal .ole-theme-preview-swatch i:nth-child(1) { background: #111827; }
.ole-theme-preview-minimal .ole-theme-preview-swatch i:nth-child(2) { background: #fff; border: 1px solid #e5e7eb; }
.ole-theme-preview-minimal .ole-theme-preview-swatch i:nth-child(3) { background: #f3f4f6; border: 1px solid #e5e7eb; }

.ole-portal-theme-midnight .ole-portal-card,
.ole-portal-theme-midnight .ole-portal-metric,
.ole-portal-theme-midnight .ole-portal-detail-box,
.ole-portal-theme-midnight .ole-home-action-card,
.ole-portal-theme-midnight .ole-home-mini-list a,
.ole-portal-theme-midnight .ole-system-detail-card,
.ole-portal-theme-midnight .ole-onboarding-phase-grid div,
.ole-portal-theme-midnight .ole-onboarding-step-card,
.ole-portal-theme-midnight .ole-portal-table,
.ole-portal-theme-midnight .ole-portal-filterbar,
.ole-portal-theme-midnight .ole-portal-check-grid {
    background: var(--ole-portal-card-bg);
    border-color: var(--ole-portal-line);
    color: var(--ole-portal-ink);
}

.ole-portal-theme-midnight .ole-portal-card h2,
.ole-portal-theme-midnight .ole-portal-card h3,
.ole-portal-theme-midnight .ole-portal-metric strong,
.ole-portal-theme-midnight .ole-home-action-card strong,
.ole-portal-theme-midnight .ole-home-mini-list strong,
.ole-portal-theme-midnight .ole-system-detail-card h3,
.ole-portal-theme-midnight .ole-system-check-item strong,
.ole-portal-theme-midnight .ole-portal-detail-grid strong,
.ole-portal-theme-midnight .ole-portal-edit-grid label,
.ole-portal-theme-midnight .ole-portal-check-grid label {
    color: var(--ole-portal-ink);
}

.ole-portal-theme-midnight .ole-portal-muted,
.ole-portal-theme-midnight .ole-portal-card-head span,
.ole-portal-theme-midnight .ole-portal-metric small,
.ole-portal-theme-midnight .ole-portal-metric em,
.ole-portal-theme-midnight .ole-home-mini-list small,
.ole-portal-theme-midnight .ole-system-detail-card p,
.ole-portal-theme-midnight .ole-transactional-email-grid span {
    color: var(--ole-portal-muted);
}

.ole-portal-quick-templates {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    background: #f8fafc;
}

.ole-portal-quick-templates h4 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.ole-portal-quick-templates p {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 13px;
}

.ole-template-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 8px;
}

.ole-template-buttons button {
    min-height: 68px;
    padding: 11px 12px;
    border: 1px solid #dfe5ed;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ole-template-buttons button:hover {
    border-color: var(--ole-portal-orange);
    box-shadow: 0 0 0 2px rgba(234, 88, 12, .12);
    transform: translateY(-1px);
}

.ole-template-buttons small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.ole-portal-campaign-builder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: start;
}

.ole-portal-campaign-editor {
    min-width: 0;
}

.ole-portal-campaign-side {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.ole-publication-status {
    padding: 14px;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    background: #fff;
}

.ole-publication-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.ole-publication-status-head strong {
    color: #111827;
    font-size: 14px;
}

.ole-publication-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.ole-publication-note {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.ole-publication-status ul {
    margin: 10px 0 0 18px;
    padding: 0;
    color: #374151;
    font-size: 12px;
    line-height: 1.45;
    list-style: disc;
}

.ole-publication-status li {
    margin: 4px 0;
}

.ole-publication-status.is-ready {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ole-publication-status.is-warning {
    border-color: #fed7aa;
    background: #fff7ed;
}

.ole-publication-status.is-blocked {
    border-color: #fecaca;
    background: #fef2f2;
}

.ole-publication-status.is-ready .ole-publication-badge {
    background: #dcfce7;
    color: #166534;
}

.ole-publication-status.is-warning .ole-publication-badge {
    background: #ffedd5;
    color: #9a3412;
}

.ole-publication-status.is-blocked .ole-publication-badge {
    background: #fee2e2;
    color: #991b1b;
}

.ole-admin-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ole-admin-preview-toolbar strong {
    color: #111827;
    font-size: 15px;
}

.ole-admin-preview-device {
    display: inline-flex;
    padding: 3px;
    border: 1px solid #dfe5ed;
    border-radius: 999px;
    background: #fff;
}

.ole-admin-preview-device button {
    min-height: 30px;
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.ole-admin-preview-device button.is-active {
    background: var(--ole-portal-orange);
    color: #fff;
}

.ole-admin-preview-frame {
    padding: 12px;
    border: 1px solid #dfe5ed;
    border-radius: 16px;
    background: #f8fafc;
    transition: max-width .2s ease;
}

.ole-admin-preview-frame.is-mobile {
    max-width: 260px;
    margin-inline: auto;
}

.ole-admin-preview-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.ole-admin-preview-header {
    padding: 22px 18px;
    background: var(--ole-portal-orange);
    color: #fff;
    text-align: center;
}

.ole-admin-preview-header h4 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
}

.ole-admin-preview-header p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.ole-admin-preview-media {
    display: none;
    height: 108px;
    background-position: center;
    background-size: cover;
}

.ole-admin-preview-body {
    padding: 18px;
}

.ole-admin-preview-body > strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 14px;
}

.ole-admin-preview-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.ole-admin-preview-amounts span {
    display: grid;
    place-items: center;
    min-height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.ole-admin-preview-amounts span.is-active {
    color: #fff;
}

.ole-admin-preview-progress {
    margin: 12px 0;
}

.ole-admin-preview-progress small {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.ole-admin-preview-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.ole-admin-preview-fill {
    width: 46%;
    height: 100%;
    border-radius: inherit;
    background: var(--ole-portal-orange);
}

.ole-admin-preview-field {
    height: 36px;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
}

.ole-admin-preview-button {
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    background: var(--ole-portal-orange);
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
}

.ole-admin-preview-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.ole-admin-preview-flags span {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 800;
}

.ole-portal-cert-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    margin-bottom: 22px;
}

.ole-portal-cert-main {
    min-width: 0;
}

.ole-cert-template-group {
    margin-bottom: 20px;
}

.ole-cert-template-group h3,
.ole-cert-preview-panel h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.ole-cert-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 12px;
}

.ole-cert-template-card {
    position: relative;
    display: block !important;
    min-height: 196px;
    padding: 12px;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ole-cert-template-card:hover {
    border-color: rgba(234, 88, 12, .45);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.ole-cert-template-card input {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ole-portal-orange);
    z-index: 2;
}

.ole-cert-template-card input:checked ~ .ole-cert-mini {
    border-color: #f7c99f;
    box-shadow: inset 0 0 0 5px #f6d7b5;
}

.ole-cert-template-card:has(input:checked) {
    border-color: #f6c28f;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, .12);
}

.ole-cert-template-card strong {
    display: block;
    margin: 10px 0 3px;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
}

.ole-cert-template-card small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.ole-cert-mini {
    display: block;
    height: 104px;
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}

.ole-cert-mini span {
    display: block;
    height: 32px;
    background: var(--ole-portal-orange);
}

.ole-cert-mini em {
    display: block;
    height: 58px;
    margin-top: 30px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.ole-cert-mini-institutional span { background: #117f70; }
.ole-cert-mini-impact span { background: #2563eb; }
.ole-cert-mini-impact { background: #edf5ff; }
.ole-cert-mini-gratitude span { background: #c91248; }
.ole-cert-mini-gratitude { background: #fff0f2; }
.ole-cert-mini-minimal span { background: #111827; }
.ole-cert-mini-premium span { background: #7c3aed; }
.ole-cert-mini-premium { background: #f3efff; }

.ole-cert-preview-panel {
    position: sticky;
    top: 18px;
    padding: 16px;
    border: 1px solid #dfe5ed;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.ole-cert-preview {
    min-height: 430px;
    padding: 34px 28px;
    border: 8px solid #dfc190;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

.ole-cert-preview-logo {
    display: block;
    width: 52px;
    max-height: 58px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.ole-cert-preview > span {
    display: block;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ole-cert-preview h4 {
    margin: 16px 0 10px;
    color: var(--ole-portal-orange);
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1.05;
}

.ole-cert-preview strong {
    display: block;
    margin-bottom: 16px;
    color: #0f172a;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.1;
}

.ole-cert-preview p {
    margin: 0 auto 26px;
    padding: 14px;
    max-width: 240px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-size: 12px;
    line-height: 1.55;
}

.ole-cert-preview-signature {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
}

.ole-cert-preview-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border: 1px dashed #cbd5e1;
    border-radius: 999px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1;
    text-align: center;
    overflow: hidden;
}

.ole-cert-preview-seal img {
    max-width: 58px;
    max-height: 58px;
    object-fit: contain;
}

.ole-cert-preview-signature > div:last-child {
    padding-top: 10px;
    border-top: 1px solid #94a3b8;
    text-align: right;
}

.ole-cert-preview-signature-img {
    display: block;
    max-width: 120px;
    max-height: 42px;
    object-fit: contain;
    margin: -34px 0 8px auto;
}

.ole-cert-preview-signature b,
.ole-cert-preview-signature small {
    display: block;
    color: #334155;
    font-size: 12px;
}

.ole-cert-preview-institutional { border-color: #117f70; }
.ole-cert-preview-impact { border-color: #2563eb; background: linear-gradient(180deg, #eef6ff 0 28%, #fff 28%); }
.ole-cert-preview-gratitude { border-color: #c91248; background: linear-gradient(180deg, #fff0f2 0 28%, #fff 28%); }
.ole-cert-preview-minimal { border-color: #111827; }
.ole-cert-preview-premium { border-color: #7c3aed; background: linear-gradient(180deg, #f3efff 0 28%, #fff 28%); }

.ole-portal-list {
    display: grid;
    gap: 10px;
}

.ole-portal-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    background: #fbfbfc;
}

.ole-op-incident {
    position: relative;
}

.ole-op-incident .ole-op-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.ole-op-snooze-form {
    margin-left: auto;
}

.ole-op-snooze-form button {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.ole-op-incident.is-alta {
    border-color: #fecaca;
    background: #fff7f7;
}

.ole-op-incident.is-alta .ole-op-priority {
    background: #fee2e2;
    color: #991b1b;
}

.ole-op-incident.is-media {
    border-color: #fed7aa;
    background: #fffaf3;
}

.ole-op-incident.is-media .ole-op-priority {
    background: #ffedd5;
    color: #9a3412;
}

.ole-op-incident.is-baja {
    border-color: #bbf7d0;
    background: #f7fef9;
}

.ole-op-incident.is-baja .ole-op-priority {
    background: #d1fae5;
    color: #047857;
}

.ole-portal-list code {
    color: #475569;
    overflow-wrap: anywhere;
}

.ole-portal-email-form {
    display: grid;
    gap: 16px;
}

.ole-portal-email-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

.ole-email-test-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px 14px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.ole-email-test-row label {
    display: grid;
    gap: 6px;
    min-width: min(350px, 100%);
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.ole-email-test-row input {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #d8e0ea;
    border-radius: 9px;
    background: #fff;
    box-sizing: border-box;
}

.ole-email-test-row span {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.ole-email-template-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.ole-email-template-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .035);
}

.ole-email-template-card[open] {
    border-color: #f7c99f;
    box-shadow: 0 16px 34px rgba(234, 88, 12, .08);
}

.ole-email-template-card summary {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    padding: 14px;
    cursor: pointer;
    list-style: none;
}

.ole-email-template-card summary::-webkit-details-marker {
    display: none;
}

.ole-email-template-card summary > .dashicons {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff4ed;
    color: var(--ole-portal-orange);
    font-size: 17px;
    line-height: 32px;
}

.ole-email-template-card summary strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.2;
}

.ole-email-template-card summary small {
    grid-column: 2 / 3;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ole-email-template-card summary em {
    grid-column: 3;
    grid-row: 1 / 3;
    font-style: normal;
}

.ole-email-template-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 14px 14px;
    border-top: 1px solid #eef2f7;
}

.ole-email-template-editor label {
    display: grid;
    gap: 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.ole-email-template-editor .is-wide,
.ole-email-placeholders,
.ole-email-mini-preview {
    grid-column: 1 / -1;
}

.ole-email-template-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ole-email-template-actions span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.ole-email-enabled {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.ole-email-template-editor input[type="text"],
.ole-email-template-editor textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #d8e0ea;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    box-sizing: border-box;
}

.ole-email-template-editor textarea {
    min-height: 170px;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

.ole-email-placeholders {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.ole-email-placeholders strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
}

.ole-email-placeholders div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ole-email-placeholders code {
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12px;
}

.ole-email-mini-preview {
    padding: 16px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.ole-email-mini-preview > span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff4ed;
    color: var(--ole-portal-orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.ole-email-mini-preview h4 {
    margin: 0 0 10px;
    color: var(--ole-portal-orange);
    font-size: 18px;
}

.ole-email-mini-preview div {
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.ole-email-mini-preview table {
    width: 100% !important;
    max-width: 100%;
}

.ole-email-side-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.ole-email-side-panel h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
}

.ole-email-flow-grid,
.ole-email-recent {
    display: grid;
    gap: 10px;
}

.ole-email-flow-grid > div,
.ole-email-side-note,
.ole-email-recent > div {
    padding: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.ole-email-flow-grid > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 3px 10px;
    align-items: center;
}

.ole-email-flow-grid .dashicons {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff4ed;
    color: var(--ole-portal-orange);
    line-height: 34px;
}

.ole-email-flow-grid strong,
.ole-email-side-note strong,
.ole-email-recent strong {
    display: block;
    color: #111827;
    font-size: 13px;
}

.ole-email-flow-grid small,
.ole-email-recent small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.ole-email-side-note {
    background: #fff7ed;
    border-color: #fed7aa;
}

.ole-email-side-note p {
    margin: 6px 0 0;
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.45;
}

.ole-portal-settings-form {
    display: grid;
    gap: 12px;
    max-width: 560px;
}

.ole-portal-settings-form label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
}

.ole-portal-edit-form {
    display: grid;
    gap: 16px;
}

.ole-portal-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ole-portal-edit-grid label,
.ole-portal-check-grid label {
    display: grid;
    gap: 6px;
    color: var(--ole-portal-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.ole-portal-edit-grid .is-wide {
    grid-column: 1 / -1;
}

.ole-portal-edit-grid input,
.ole-portal-edit-grid select,
.ole-portal-edit-grid textarea,
.ole-portal-check-grid input[type="number"] {
    width: 100%;
    min-height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fbfbfc;
    color: var(--ole-portal-ink);
    font: inherit;
    box-sizing: border-box;
}

.ole-portal-edit-grid input[type="color"] {
    padding: 3px;
}

.ole-portal-edit-grid textarea {
    min-height: 96px;
    resize: vertical;
}

.ole-portal-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    background: #fbfbfc;
}

.ole-portal-check-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ole-portal-ink);
}

.ole-portal-check-grid label:last-child {
    display: grid;
    align-items: initial;
}

.ole-portal-detail-card {
    border-left: 5px solid var(--ole-portal-orange);
}

.ole-portal-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
}

.ole-portal-detail-hero span,
.ole-portal-detail-hero small {
    display: block;
    color: var(--ole-portal-muted);
}

.ole-portal-detail-hero strong {
    display: block;
    margin: 4px 0;
    font-size: 1.8rem;
    color: var(--ole-portal-ink);
}

.ole-portal-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ole-portal-detail-grid > div,
.ole-portal-detail-box {
    padding: 14px;
    background: #fbfbfc;
    border: 1px solid #eef0f3;
    border-radius: 12px;
}

.ole-portal-detail-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--ole-portal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ole-portal-detail-grid strong {
    display: block;
    color: var(--ole-portal-ink);
    overflow-wrap: anywhere;
}

.ole-portal-detail-box h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.ole-portal-detail-box p {
    margin: 7px 0;
    color: var(--ole-portal-muted);
}

.ole-portal-permissions-table {
    display: grid;
    gap: 8px;
    overflow-x: auto;
}

.ole-portal-permissions-head,
.ole-portal-permissions-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) repeat(6, minmax(105px, 1fr));
    gap: 8px;
    min-width: 920px;
    align-items: center;
}

.ole-portal-permissions-head {
    color: var(--ole-portal-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.ole-portal-permissions-row {
    padding: 10px;
    background: #fbfbfc;
    border: 1px solid #eef0f3;
    border-radius: 12px;
}

.ole-portal-permissions-row small {
    display: block;
    margin-top: 4px;
    color: var(--ole-portal-muted);
}

.ole-portal-permission-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 9px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: var(--ole-portal-ink);
    font-weight: 800;
}

.ole-portal-permission-check input {
    margin: 0;
}

.ole-portal-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.ole-portal-preset-card {
    padding: 13px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
}

.ole-portal-preset-card strong,
.ole-portal-preset-card small {
    display: block;
}

.ole-portal-preset-card strong {
    color: var(--ole-portal-ink);
}

.ole-portal-preset-card small {
    margin-top: 6px;
    color: var(--ole-portal-muted);
    line-height: 1.35;
}

.ole-portal-user-picker {
    grid-template-columns: minmax(240px, 1fr) auto;
}

.ole-portal-user-permission-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    background: #fbfbfc;
}

.ole-portal-user-permission-head strong,
.ole-portal-user-permission-head small {
    display: block;
}

.ole-portal-user-permission-head small {
    margin-top: 4px;
    color: var(--ole-portal-muted);
}

.ole-portal-user-permission-head label {
    display: grid;
    gap: 6px;
    min-width: 240px;
    color: var(--ole-portal-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.ole-portal-user-permission-head select {
    min-height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: var(--ole-portal-ink);
    font: inherit;
}

.ole-portal-permission-block {
    display: grid;
    gap: 10px;
}

.ole-portal-permission-block h3 {
    margin: 4px 0 0;
    font-size: 1rem;
}

.ole-portal-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.ole-portal-section-card {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: var(--ole-portal-ink);
}

.ole-portal-section-card input {
    position: absolute;
    top: 12px;
    right: 12px;
}

.ole-portal-section-card .dashicons {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff2e7;
    color: var(--ole-portal-orange);
    font-size: 18px;
    line-height: 32px;
    text-align: center;
}

.ole-portal-section-card strong {
    padding-right: 26px;
}

.ole-portal-section-card small {
    color: var(--ole-portal-muted);
    line-height: 1.35;
}

.ole-portal-section-card:has(input:checked) {
    border-color: var(--ole-portal-orange);
    background: #fff7ed;
}

@media (max-width: 980px) {
    .ole-admin-portal {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ole-portal-sidebar {
        padding: 18px;
    }

    .ole-portal-brand {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 14px;
        padding: 0 2px 14px;
    }

    .ole-portal-brand span {
        margin-top: 0;
        text-align: right;
    }

    .ole-portal-sidebar nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ole-portal-sidebar a {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 8px 11px;
        white-space: nowrap;
    }

    .ole-portal-two-col {
        grid-template-columns: 1fr;
    }

    .ole-portal-filterbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ole-admin-portal {
        border-radius: 14px;
    }

    .ole-portal-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ole-portal-metric {
        min-height: 112px;
        padding: 15px;
    }

    .ole-portal-metric strong {
        font-size: 1.55rem;
    }

    .ole-portal-table-wrap {
        overflow-x: visible;
    }

    .ole-portal-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    .ole-portal-table thead {
        display: none;
    }

    .ole-portal-table tbody,
    .ole-portal-table tr,
    .ole-portal-table td {
        display: block;
        width: 100%;
    }

    .ole-portal-table tr {
        padding: 12px;
        border: 1px solid var(--ole-portal-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(17, 24, 39, 0.035);
    }

    .ole-portal-table td {
        padding: 7px 0;
        border-bottom: 0;
    }

    .ole-portal-table td:first-child {
        padding-top: 0;
        color: var(--ole-portal-orange);
        font-weight: 800;
    }

    .ole-portal-table td:last-child {
        padding-bottom: 0;
    }

    .ole-portal-table td small,
    .ole-portal-table td code {
        overflow-wrap: anywhere;
    }

    .ole-portal-table .ole-portal-actions {
        padding-top: 10px;
        border-top: 1px solid #eef0f3;
    }

    .ole-system-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .ole-system-score {
        width: 96px;
        height: 96px;
    }

    .ole-system-score strong {
        width: 68px;
        height: 68px;
        font-size: 22px;
    }

    .ole-system-hero-actions {
        justify-content: flex-start;
    }

    .ole-system-hero-actions .ole-portal-button {
        width: 100%;
    }

    .ole-webhook-grid {
        grid-template-columns: 1fr;
    }

    .ole-webhook-endpoint {
        grid-template-columns: 1fr;
    }

    .ole-webhook-endpoint code {
        white-space: normal;
    }

    .ole-transactional-email-grid label {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ole-home-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .ole-home-hero-status {
        width: 100%;
        text-align: left;
    }

    .ole-onboarding-hero,
    .ole-onboarding-phase-grid {
        grid-template-columns: 1fr;
    }

    .ole-onboarding-actions .ole-portal-button {
        width: 100%;
    }

    .ole-home-layout {
        grid-template-columns: 1fr;
    }

    .ole-home-mini-list a {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ole-home-mini-list em {
        grid-column: 2;
    }

    .ole-portal-actions,
    .ole-portal-inline-form {
        align-items: stretch;
    }

    .ole-portal-inline-form button,
    .ole-portal-button,
    .ole-portal-actions a,
    .ole-portal-settings-form button {
        min-height: 38px;
    }
}

@media (max-width: 640px) {
    .ole-admin-portal {
        border-radius: 12px;
    }

    .ole-portal-main,
    .ole-portal-sidebar {
        padding: 16px;
    }

    .ole-portal-main {
        background: var(--ole-portal-shell);
    }

    .ole-portal-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .ole-portal-brand span {
        text-align: left;
    }

    .ole-portal-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .ole-portal-topbar h1 {
        font-size: 1.7rem;
        line-height: 1.05;
    }

    .ole-portal-user {
        max-width: 100%;
        overflow-wrap: anywhere;
        border-radius: 12px;
    }

    .ole-portal-card {
        padding: 14px;
        border-radius: 14px;
    }

    .ole-portal-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ole-portal-head-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .ole-portal-list > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .ole-portal-filterbar {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .ole-portal-user-picker {
        grid-template-columns: 1fr;
    }

    .ole-portal-user-permission-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ole-portal-user-permission-head label {
        min-width: 0;
        width: 100%;
    }

    .ole-portal-detail-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .ole-portal-detail-hero strong {
        font-size: 1.45rem;
    }

    .ole-portal-detail-grid {
        grid-template-columns: 1fr;
    }

    .ole-portal-edit-grid {
        grid-template-columns: 1fr;
    }

    .ole-portal-cert-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ole-portal-campaign-builder {
        grid-template-columns: 1fr;
    }

    .ole-portal-email-layout {
        grid-template-columns: 1fr;
    }

    .ole-email-side-panel {
        position: static;
    }

    .ole-portal-campaign-side {
        position: static;
    }

    .ole-template-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ole-cert-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ole-cert-preview-panel {
        position: static;
    }

    .ole-portal-check-grid,
    .ole-portal-section-grid,
    .ole-portal-preset-grid {
        grid-template-columns: 1fr;
    }

    .ole-portal-permissions-table {
        overflow-x: visible;
    }

    .ole-portal-permissions-head {
        display: none;
    }

    .ole-portal-permissions-row {
        grid-template-columns: 1fr;
        min-width: 0;
        padding: 12px;
    }

    .ole-portal-permission-check {
        justify-content: flex-start;
        width: 100%;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .ole-admin-portal {
        margin-inline: -2px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .ole-portal-main,
    .ole-portal-sidebar {
        padding: 12px;
    }

    .ole-portal-metrics {
        grid-template-columns: 1fr;
    }

    .ole-portal-actions,
    .ole-portal-inline-form {
        width: 100%;
    }

    .ole-portal-inline-form,
    .ole-portal-actions a,
    .ole-portal-inline-form button,
    .ole-portal-button,
    .ole-portal-export-button,
    .ole-portal-settings-form button,
    .ole-portal-filterbar button,
    .ole-portal-filterbar a {
        width: 100%;
    }

    .ole-portal-inline-form select {
        width: 100%;
    }

    .ole-portal-detail-grid > div,
    .ole-portal-detail-box {
        padding: 12px;
    }

    .ole-cert-template-grid {
        grid-template-columns: 1fr;
    }

    .ole-template-buttons {
        grid-template-columns: 1fr;
    }

    .ole-admin-preview-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ole-email-template-card summary {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .ole-email-template-card summary em {
        grid-column: 2;
        grid-row: auto;
        width: fit-content;
    }

    .ole-email-template-editor {
        grid-template-columns: 1fr;
    }

    .ole-cert-preview {
        min-height: 380px;
        padding: 26px 18px;
    }

    .ole-cert-preview h4 {
        font-size: 23px;
    }

    .ole-cert-preview strong {
        font-size: 20px;
    }
}

.ole-dashboard-panel {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.035);
}

.ole-dashboard-panel-feature::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(233, 107, 16, 0.08);
}

.ole-dashboard-panel-label {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ole-dashboard-panel strong {
    display: block;
    margin-top: 9px;
    color: #141b2b;
    font-size: 1.45rem;
    line-height: 1.1;
}

.ole-dashboard-panel small {
    display: block;
    margin-top: 5px;
    color: #777;
    line-height: 1.35;
}

.ole-dashboard-section {
    margin-top: 26px;
    padding-top: 6px;
}

.ole-dashboard-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ole-dashboard-section-title h3 {
    margin: 0;
    color: #111827;
    font-size: 1.2rem;
}

.ole-dashboard-section-title span {
    color: #777;
    font-size: 0.9rem;
}

.ole-dashboard-cards {
    display: grid;
    gap: 12px;
}

.ole-dashboard-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ole-dashboard-campaign-list {
    display: grid;
    gap: 12px;
}

.ole-dashboard-campaign-item {
    padding: 16px;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.03);
}

.ole-dashboard-campaign-item > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ole-dashboard-campaign-item strong {
    color: var(--ole-dark);
}

.ole-dashboard-campaign-item span {
    color: var(--ole-primary);
    font-weight: 700;
}

.ole-dashboard-mini-track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f1f1;
}

.ole-dashboard-mini-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--ole-primary);
}

.ole-dashboard-card,
.ole-dashboard-row {
    border: 1px solid #edf0f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.03);
}

.ole-dashboard-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px;
}

.ole-dashboard-card strong,
.ole-dashboard-row strong {
    display: block;
    color: var(--ole-dark);
}

.ole-dashboard-card small,
.ole-dashboard-row small {
    display: block;
    color: #888;
    margin-top: 4px;
}

.ole-dashboard-card-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #666;
    font-size: 0.9rem;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.ole-dashboard-table {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) minmax(100px, 0.8fr) minmax(90px, 0.7fr) minmax(90px, 0.7fr) minmax(90px, 0.7fr);
    gap: 12px;
    align-items: center;
}

.ole-dashboard-table-head {
    padding: 10px 16px;
    background: #f7f8fa;
    border-radius: 10px;
    color: #5f6673;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ole-dashboard-row {
    padding: 16px;
    margin-top: 10px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ole-dashboard-row:hover {
    border-color: #f5c39d;
    box-shadow: 0 14px 30px rgba(233, 107, 16, 0.08);
    transform: translateY(-1px);
}

.ole-dashboard-amount {
    display: inline-block;
    color: var(--ole-primary);
    background: #fff5ed;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 700;
}

.ole-dashboard-status {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    background: #f0f0f0;
    color: #555;
}

.ole-status-paid,
.ole-status-completed,
.ole-status-active {
    background: #ecfdf3;
    color: #166534;
}

.ole-status-pending,
.ole-status-paused {
    background: #fff7ed;
    color: #9a3412;
}

.ole-status-failed,
.ole-status-cancelled,
.ole-status-refunded {
    background: #fef2f2;
    color: #991b1b;
}

.ole-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--ole-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.ole-dashboard-btn:hover {
    color: #fff;
    filter: brightness(1.05);
}

.ole-dashboard-muted {
    color: #999;
    font-size: 0.9rem;
}

.ole-dashboard-warning {
    color: #b45309 !important;
    font-weight: 600;
}

.ole-dashboard-empty {
    text-align: center;
    padding: 34px 24px;
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 14px;
    color: #5f6673;
}

.ole-rgpd-note {
    display: block;
    margin-top: 10px;
    color: #777;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* --- PUBLIC IMPACT WALL --- */
.ole-impact-wall {
    width: 100%;
    max-width: 100%;
    margin: 34px auto;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(233, 107, 16, 0.1), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
    font-family: 'Outfit', sans-serif;
    color: var(--ole-dark);
}

.ole-impact-wall-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.ole-impact-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff3e9;
    color: #b84f08;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1;
}

.ole-impact-wall h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    line-height: 1.05;
    color: #111827;
}

.ole-impact-wall p {
    max-width: 620px;
    margin: 10px 0 0;
    color: #5f6673;
    font-size: 1rem;
    line-height: 1.45;
}

.ole-impact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.ole-impact-stats div,
.ole-impact-card,
.ole-impact-empty {
    border: 1px solid #edf0f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.035);
}

.ole-impact-stats div {
    position: relative;
    overflow: hidden;
    min-height: 108px;
    padding: 18px;
}

.ole-impact-stats div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--ole-primary);
}

.ole-impact-stats span {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff2e7;
    color: var(--ole-primary);
    font-size: 17px;
    line-height: 30px;
}

.ole-impact-stats small {
    display: block;
    max-width: calc(100% - 44px);
    color: #656d7a;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.ole-impact-stats strong {
    display: block;
    color: var(--ole-primary);
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1;
    margin-top: 14px;
}

.ole-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ole-impact-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    min-height: 168px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ole-impact-card-tribute {
    background: linear-gradient(180deg, #fff, #fffaf6);
    border-color: #fed7aa;
}

.ole-impact-card-tribute::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--ole-primary);
}

.ole-impact-card:hover {
    border-color: #f5c39d;
    box-shadow: 0 16px 34px rgba(233, 107, 16, 0.08);
    transform: translateY(-1px);
}

.ole-impact-card-top {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
}

.ole-impact-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff2e7, #ffffff);
    color: var(--ole-primary);
    font-weight: 800;
    border: 1px solid #ffe0c5;
}

.ole-impact-card strong {
    display: block;
    color: var(--ole-dark);
}

.ole-impact-card small {
    display: block;
    color: #888;
    margin-top: 3px;
    line-height: 1.35;
}

.ole-impact-amount {
    margin-top: 18px;
    color: var(--ole-primary);
    font-size: 1.55rem;
    font-weight: 800;
}

.ole-impact-tribute {
    margin-top: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid #fde7d2;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(233, 107, 16, 0.03);
}

.ole-impact-tribute-label {
    display: inline-flex !important;
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 9px;
    color: #9a3412 !important;
    background: #fff7ed;
    border-radius: 999px;
    font-size: 0.78rem !important;
    font-weight: 800;
}

.ole-impact-tribute strong {
    font-size: 1.08rem;
}

.ole-impact-tribute p::before {
    content: "\"";
    color: var(--ole-primary);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 0;
}

.ole-impact-tribute p {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ole-impact-tribute-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: #7c2d12;
    font-size: 0.82rem;
    font-weight: 700;
}

.ole-impact-tribute-meta span {
    display: inline-flex;
    padding: 4px 8px;
    background: #fff7ed;
    border-radius: 999px;
}

.ole-impact-empty {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 34px 24px;
    text-align: center;
    color: #5f6673;
    border-style: dashed;
}

.ole-impact-empty::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -54px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(233, 107, 16, 0.07);
    transform: translateX(-50%);
}

.ole-impact-empty > .dashicons {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--ole-primary);
    color: #fff;
    font-size: 22px;
    line-height: 44px;
}

.ole-impact-empty strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #111827;
    font-size: 1.08rem;
}

.ole-impact-empty p {
    position: relative;
    z-index: 1;
    margin: 8px auto 0;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 800px) {
    .ole-donor-dashboard {
        margin: 22px auto;
        padding: 16px;
        border-radius: 14px;
    }

    .ole-dashboard-header,
    .ole-dashboard-header-actions,
    .ole-dashboard-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .ole-dashboard-header {
        padding: 12px 8px 18px;
    }

    .ole-dashboard-profile-block {
        align-items: flex-start;
        gap: 12px;
    }

    .ole-dashboard-avatar {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 1.05rem;
    }

    .ole-dashboard-header-actions,
    .ole-dashboard-email,
    .ole-dashboard-secondary-btn {
        width: 100%;
    }

    .ole-dashboard-header-actions {
        gap: 8px;
    }

    .ole-dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ole-dashboard-overview-grid {
        grid-template-columns: 1fr;
    }

    .ole-dashboard-advanced-grid {
        grid-template-columns: 1fr;
    }

    .ole-dashboard-table,
    .ole-dashboard-card {
        grid-template-columns: 1fr;
    }

    .ole-dashboard-table-head {
        display: none;
    }

    .ole-impact-wall-head {
        display: block;
    }

    .ole-impact-wall {
        margin: 22px auto;
        padding: 18px;
        border-radius: 14px;
    }

    .ole-impact-stats,
    .ole-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ole-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .ole-dashboard-header h2 {
        font-size: 1.45rem;
    }

    .ole-dashboard-stat,
    .ole-dashboard-panel,
    .ole-dashboard-advanced-card,
    .ole-dashboard-card,
    .ole-dashboard-row {
        padding: 15px;
    }

    .ole-dashboard-definition-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ole-dashboard-definition-list dt {
        margin-top: 7px;
    }

    .ole-dashboard-campaign-item > div:first-child {
        flex-direction: column;
        gap: 4px;
    }

    .ole-impact-stats,
    .ole-impact-grid {
        grid-template-columns: 1fr;
    }

    .ole-impact-wall {
        padding: 14px;
    }

    .ole-impact-stats div,
    .ole-impact-card,
    .ole-impact-empty {
        padding: 16px;
    }
}
.ole-tax-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ole-tax-grid .ole-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

@media (max-width: 640px) {
    .ole-tax-grid {
        grid-template-columns: 1fr;
    }
}

/* Public campaign page */
.ole-campaign-page {
    width: 100%;
    max-width: 1180px;
    margin: 34px auto;
    padding: 28px;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    color: #111827;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, .07);
}

.ole-campaign-page-template-urgent {
    border-top: 5px solid var(--ole-primary, #e96b10);
}

.ole-campaign-page-template-impact {
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.ole-campaign-page-template-minimal {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.ole-campaign-page-template-community {
    background: #fffaf6;
}

.ole-campaign-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 28px;
    align-items: center;
}

.ole-campaign-page-hero-no-media {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
    text-align: center;
}

.ole-campaign-page-hero-no-media .ole-campaign-page-copy p,
.ole-campaign-page-hero-no-media .ole-campaign-page-tags,
.ole-campaign-page-hero-no-media .ole-campaign-page-actions {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

.ole-campaign-page-copy h1 {
    margin: 14px 0 0;
    color: #111827;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.ole-campaign-page-copy p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.55;
}

.ole-campaign-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ole-campaign-page-tags span {
    display: inline-flex;
    padding: 6px 10px;
    color: #b84f08;
    font-size: .78rem;
    font-weight: 800;
    background: #fff3e9;
    border-radius: 999px;
}

.ole-campaign-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ole-campaign-page-primary,
.ole-campaign-page-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
}

.ole-campaign-page-primary {
    color: #fff;
    background: var(--ole-primary, #e96b10);
}

.ole-campaign-page-secondary {
    color: #111827;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.ole-campaign-page-media .ole-campaign-page-media-box {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, .12);
}

.ole-campaign-page-media-box img,
.ole-campaign-page-media-box video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ole-campaign-page-media-box .ole-campaign-gallery-slider {
    position: relative;
    aspect-ratio: 16 / 10;
}

.ole-campaign-page-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.ole-campaign-page-stats div,
.ole-campaign-page-progress,
.ole-campaign-page-goal {
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .035);
}

.ole-campaign-page-stats div {
    padding: 18px;
}

.ole-campaign-page-stats span {
    display: block;
    color: #656d7a;
    font-size: .86rem;
    font-weight: 700;
}

.ole-campaign-page-stats strong {
    display: block;
    margin-top: 8px;
    color: var(--ole-primary, #e96b10);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1;
}

.ole-campaign-page-progress {
    padding: 18px;
    margin-bottom: 28px;
}

.ole-campaign-page-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #111827;
}

.ole-campaign-page-progress span {
    color: #6b7280;
}

.ole-campaign-page-track,
.ole-campaign-page-goal-track {
    height: 10px;
    overflow: hidden;
    background: #eef0f2;
    border-radius: 999px;
}

.ole-campaign-page-track span,
.ole-campaign-page-goal-track span {
    display: block;
    height: 100%;
    background: var(--ole-primary, #e96b10);
    border-radius: 999px;
}

.ole-campaign-page-section {
    margin-top: 32px;
}

.ole-campaign-page-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ole-campaign-page-section-title h2 {
    margin: 0;
    color: #111827;
    font-size: 1.45rem;
}

.ole-campaign-page-section-title span {
    color: #6b7280;
    font-weight: 700;
}

.ole-campaign-page-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.ole-campaign-page-goal {
    padding: 16px;
}

.ole-campaign-page-goal > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ole-campaign-page-goal strong {
    color: #111827;
}

.ole-campaign-page-goal span {
    color: var(--ole-primary, #e96b10);
    font-weight: 800;
}

.ole-campaign-page-goal p {
    margin: 8px 0 12px;
    color: #6b7280;
    line-height: 1.45;
}

.ole-campaign-page #ole-form-wrapper,
.ole-campaign-page .ole-impact-wall {
    max-width: 100%;
}

.ole-campaign-page #ole-form-wrapper {
    box-shadow: none;
}

.ole-campaign-page .ole-impact-wall {
    margin: 0;
}

.ole-campaign-page-template-urgent .ole-campaign-page-tags span:first-child {
    color: #991b1b;
    background: #fee2e2;
}

.ole-campaign-page-template-impact .ole-campaign-page-hero {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
}

.ole-campaign-page-template-minimal .ole-campaign-page-stats div,
.ole-campaign-page-template-minimal .ole-campaign-page-progress,
.ole-campaign-page-template-minimal .ole-campaign-page-goal {
    box-shadow: none;
}

@media (max-width: 860px) {
    .ole-campaign-page {
        margin: 22px auto;
        padding: 18px;
        border-radius: 14px;
    }

    .ole-campaign-page-hero,
    .ole-campaign-page-template-impact .ole-campaign-page-hero {
        grid-template-columns: 1fr;
    }

    .ole-campaign-page-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ole-campaign-page-section-title {
        display: block;
    }
}

@media (max-width: 520px) {
    .ole-campaign-page {
        padding: 14px;
    }

    .ole-campaign-page-stats {
        grid-template-columns: 1fr;
    }

    .ole-campaign-page-actions a {
        width: 100%;
    }
}
body.ole-confirm-open {
    overflow: hidden;
}

.ole-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 30, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.ole-confirm-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0d5bc;
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.2);
    padding: 22px 22px 18px;
}

.ole-confirm-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #1f2937;
}

.ole-confirm-card p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

.ole-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.ole-confirm-cancel,
.ole-confirm-accept {
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.ole-confirm-cancel {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
}

.ole-confirm-accept {
    border: 1px solid #d92d20;
    background: #d92d20;
    color: #fff;
}
