/**
 * RAIN Public Styles
 * Version: 9.15.12
 *
 * Scoped under .rain-portal and .rain-public to avoid theme conflicts.
 * BEM naming with rain- prefix.
 */

/* --- Variables --- */
:root {
    --rain-primary: #1565C0;
    --rain-primary-light: #1976D2;
    --rain-primary-dark: #0D47A1;
    --rain-success: #2E7D32;
    --rain-warning: #F57F17;
    --rain-danger: #C62828;
    --rain-text: #212121;
    --rain-text-light: #616161;
    --rain-bg: #FAFAFA;
    --rain-bg-card: #FFFFFF;
    --rain-border: #E0E0E0;
    --rain-accent: #38A8D8;
    --rain-cta: #E8A317;
    --rain-cta-hover: #D4941A;
    --rain-radius: 8px;
    --rain-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- Base portal wrapper --- */
.rain-portal,
.rain-public {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rain-text);
}

.rain-portal h1,
.rain-public h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--rain-primary-dark);
}

.rain-portal h2,
.rain-public h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--rain-text);
}

/* --- Notices --- */
.rain-notice {
    padding: 12px 16px;
    border-radius: var(--rain-radius);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    border-left-width: 4px;
    border-left-style: solid;
}

.rain-notice a {
    font-weight: 600;
}

.rain-notice--warning {
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-left-color: #F57F17;
    color: #E65100;
}

.rain-notice--warning a {
    color: #BF360C;
}

.rain-notice--error {
    background: #FFEBEE;
    border: 1px solid #EF9A9A;
    border-left-color: var(--rain-danger);
    color: var(--rain-danger);
}

.rain-notice--success {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-left-color: var(--rain-success);
    color: var(--rain-success);
}

.rain-notice--info {
    background: #E3F2FD;
    border: 1px solid #90CAF9;
    border-left-color: var(--rain-primary);
    color: var(--rain-primary-dark);
}

/* --- Cards --- */
.rain-card {
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--rain-shadow);
}

.rain-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.rain-card__meta {
    font-size: 13px;
    color: var(--rain-text-light);
}

/* --- Status badges --- */
.rain-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rain-badge--submitted   { background: #E3F2FD; color: #1565C0; }
.rain-badge--approved    { background: #E8F5E9; color: #2E7D32; }
.rain-badge--needs_revision { background: #FFF8E1; color: #E65100; }
.rain-badge--flagged     { background: #FFEBEE; color: #C62828; }
.rain-badge--draft       { background: #F5F5F5; color: #616161; }
.rain-badge--investor_ready { background: #E8F5E9; color: #2E7D32; }
.rain-badge--archived    { background: #ECEFF1; color: #455A64; }
.rain-badge--created     { background: #E3F2FD; color: #1565C0; }
.rain-badge--assigned    { background: #F3E5F5; color: #6A1B9A; }
.rain-badge--in_progress { background: #FFF8E1; color: #E65100; }
.rain-badge--completed   { background: #E8F5E9; color: #2E7D32; }
.rain-badge--not_started { background: #F5F5F5; color: #616161; }
.rain-badge--expressed_interest { background: #E3F2FD; color: #1565C0; }
.rain-badge--under_review { background: #FFF8E1; color: #E65100; }
.rain-badge--matched     { background: #E8F5E9; color: #2E7D32; }
.rain-badge--closed      { background: #ECEFF1; color: #455A64; }
.rain-badge--needs_review { background: #FFF8E1; color: #E65100; }
.rain-badge--blueprint_submitted { background: #E3F2FD; color: #1565C0; }
.rain-badge--blueprint_approved  { background: #E8F5E9; color: #2E7D32; }
.rain-badge--blueprint_rejected  { background: #FFEBEE; color: #C62828; }
.rain-badge--blueprint_draft     { background: #F5F5F5; color: #616161; }
.rain-badge--contacted    { background: #FFF3E0; color: #E65100; }
.rain-badge--in_discussion { background: #F3E5F5; color: #6A1B9A; }
.rain-badge--committed    { background: #E8F5E9; color: #2E7D32; }
.rain-badge--declined     { background: #FFEBEE; color: #C62828; }

/* --- Forms --- */
.rain-form {
    max-width: 640px;
}

/* --- Application form card wrapper --- */
.rain-application-form {
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    padding: 32px 28px;
    box-shadow: var(--rain-shadow);
}

.rain-form__group,
.rain-form__field {
    margin-bottom: 16px;
}

.rain-form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--rain-text);
}

.rain-form__input,
.rain-form__select,
.rain-form__textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--rain-text);
    background: var(--rain-bg-card);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.rain-form__input:focus,
.rain-form__select:focus,
.rain-form__textarea:focus {
    outline: none;
    border-color: var(--rain-primary);
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.15);
}

.rain-form__input::placeholder,
.rain-form__textarea::placeholder,
.rain-input::placeholder {
    color: var(--rain-text-light);
    opacity: 0.7;
}

.rain-form__textarea {
    min-height: 100px;
    max-height: 300px;
    resize: vertical;
}

.rain-form__hint {
    font-size: 12px;
    color: var(--rain-text-light);
    margin-top: 4px;
}

/* --- Buttons --- */
.rain-btn {
    display: inline-block;
    padding: 8px 20px;
    border: none;
    border-radius: var(--rain-radius);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s, opacity 0.2s;
    line-height: 1.4;
}

.rain-btn:focus {
    outline: none;
}

.rain-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.4);
    outline: 2px solid var(--rain-primary);
    outline-offset: 2px;
}

.rain-btn:disabled,
.rain-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.rain-btn--primary {
    background: var(--rain-primary);
    color: #fff;
}

.rain-btn--primary:hover {
    background: var(--rain-primary-light);
}

.rain-btn--secondary {
    background: #ECEFF1;
    color: var(--rain-text);
}

.rain-btn--secondary:hover {
    background: #CFD8DC;
}

.rain-btn--danger {
    background: var(--rain-danger);
    color: #fff;
}

.rain-btn--danger:hover {
    background: #B71C1C;
}

/* --- Tables --- */
.rain-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.rain-table th,
.rain-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--rain-border);
    font-size: 14px;
}

.rain-table th {
    font-weight: 600;
    background: var(--rain-bg);
    color: var(--rain-text);
}

.rain-table tr:hover td {
    background: #F5F5F5;
}

/* --- Page header (title + action button) --- */
.rain-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rain-page-header h1 {
    margin: 0;
}

/* --- Back link --- */
.rain-back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--rain-primary);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.rain-back-link:hover {
    color: var(--rain-primary-dark);
    text-decoration: underline;
}

/* --- Detail sections --- */
.rain-detail-section {
    margin-bottom: 24px;
}

.rain-detail-section h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--rain-text);
}

.rain-detail-section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--rain-text);
    white-space: pre-wrap;
}

.rain-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.rain-detail-header h1 {
    margin: 0;
    flex: 1;
}

.rain-detail-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* --- Subtitle --- */
.rain-portal__subtitle {
    color: var(--rain-text-light);
    margin: -8px 0 20px;
    font-size: 14px;
}

/* --- Form rows (multi-column) --- */
.rain-form__row {
    display: flex;
    gap: 12px;
}

.rain-form__group--half,
.rain-form__field--half {
    flex: 1 1 50%;
}

.rain-form__group--third {
    flex: 1 1 33%;
}

.rain-form__group--quarter {
    flex: 1 1 25%;
}

.rain-form__group--end {
    display: flex;
    align-items: flex-end;
}

/* --- Form sections --- */
.rain-form__section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rain-border);
}

.rain-form__section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.rain-form__section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--rain-primary-dark);
}

/* --- Required indicator --- */
.rain-required {
    color: var(--rain-danger);
    font-weight: 600;
}

/* --- Form actions --- */
.rain-form__actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

/* --- Application form polish --- */
.rain-application-form .rain-form__input,
.rain-application-form .rain-form__select,
.rain-application-form .rain-form__textarea {
    padding: 10px 14px;
    font-size: 15px;
}

.rain-application-form .rain-form__section-title {
    font-size: 17px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rain-primary);
    display: inline-block;
    margin-bottom: 20px;
}

.rain-application-form .rain-form__actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--rain-border);
}

.rain-application-form .rain-btn--primary {
    padding: 12px 32px;
    font-size: 16px;
    border-radius: var(--rain-radius);
    width: 100%;
    text-align: center;
}

/* --- Divider --- */
.rain-text--pre {
    white-space: pre-wrap;
}

.rain-divider {
    border: none;
    border-top: 1px solid var(--rain-border);
    margin: 24px 0;
}

/* --- Small button --- */
.rain-btn--sm {
    padding: 4px 12px;
    font-size: 13px;
}

/* --- Icon button (remove member, etc.) --- */
.rain-btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--rain-text-light);
    padding: 0 4px;
    line-height: 1;
}

.rain-btn-icon:hover,
.rain-btn-icon:focus-visible {
    color: var(--rain-danger);
    outline: 2px solid var(--rain-primary);
    outline-offset: 2px;
}

/* --- Member rows --- */
.rain-member-row {
    background: var(--rain-bg);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    padding: 16px;
    margin-bottom: 12px;
}

.rain-member-row__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rain-member-row__header strong {
    font-size: 14px;
    color: var(--rain-primary-dark);
}

.rain-member-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

/* --- Checkboxes and radios --- */
.rain-checkbox,
.rain-radio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
    color: var(--rain-text);
}

.rain-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Tabs --- */
.rain-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--rain-border);
    padding-bottom: 0;
}

.rain-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--rain-text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.rain-tab:hover,
.rain-tab:focus-visible {
    color: var(--rain-text);
    outline: 2px solid var(--rain-primary);
    outline-offset: -2px;
}

.rain-tab--active {
    color: var(--rain-primary);
    border-bottom-color: var(--rain-primary);
    font-weight: 600;
}

/* --- Loading / Empty --- */
.rain-loading,
.rain-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--rain-text-light);
    font-size: 14px;
}

.rain-loading::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 12px;
    border: 3px solid var(--rain-border);
    border-top-color: var(--rain-primary);
    border-radius: 50%;
    animation: rain-spin 0.7s linear infinite;
}

@keyframes rain-spin {
    to { transform: rotate(360deg); }
}

/* --- Utility --- */
.rain-hidden {
    display: none !important;
}

.rain-btn--mt {
    margin-top: 8px;
}

/* --- Modal --- */
.rain-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rain-fade-in 0.2s ease;
}

@keyframes rain-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.rain-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.rain-modal__content {
    position: relative;
    background: var(--rain-bg-card);
    border-radius: 8px;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: rain-slide-up 0.25s ease;
}

@keyframes rain-slide-up {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.rain-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--rain-border);
}

.rain-modal__header h2 {
    margin: 0;
    font-size: 18px;
}

.rain-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--rain-text-light);
    padding: 0 4px;
    line-height: 1;
}

.rain-modal__close:hover {
    color: var(--rain-danger);
}

.rain-modal__body {
    padding: 20px;
}

.rain-modal__body h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 8px;
    color: var(--rain-text);
}

/* --- Detail grid --- */
.rain-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.rain-detail-grid strong {
    color: var(--rain-text-light);
    font-weight: 500;
}

.rain-detail-grid__full {
    grid-column: 1 / -1;
}

/* --- Card list (opportunity cards, etc.) --- */
.rain-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rain-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.rain-card__desc {
    font-size: 14px;
    color: var(--rain-text);
    margin: 0 0 8px;
    line-height: 1.5;
}

.rain-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rain-card--opp,
.rain-card--bp,
.rain-card--proj {
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rain-card--link:hover,
.rain-card--opp:hover,
.rain-card--bp:hover,
.rain-card--proj:hover,
.rain-card--link:focus-visible,
.rain-card--opp:focus-visible,
.rain-card--bp:focus-visible,
.rain-card--proj:focus-visible {
    border-color: var(--rain-primary);
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
}

/* --- Login page --- */
.rain-portal--login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 16px;
}

.rain-login-wrap {
    width: 100%;
    max-width: 400px;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.rain-login-header {
    background: var(--rain-primary-dark);
    color: #fff;
    padding: 28px 24px 20px;
    text-align: center;
}

.rain-login-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
    letter-spacing: 1px;
}

.rain-login-subtitle {
    font-size: 13px;
    margin: 0;
    opacity: 0.85;
    font-weight: 400;
}

.rain-login-body {
    padding: 24px;
}

.rain-login-body .rain-form__input {
    padding: 10px 12px;
}

.rain-login-body .rain-form__group--row {
    display: flex;
    align-items: center;
}

.rain-btn--full {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.rain-login-footer {
    text-align: center;
    padding: 12px 0 0;
    border-top: 1px solid var(--rain-border);
    margin-top: 16px;
}

.rain-login-footer a {
    font-size: 13px;
    color: var(--rain-primary);
    text-decoration: none;
}

.rain-login-footer a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .rain-portal,
    .rain-public {
        padding: 20px 14px;
    }

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

    .rain-portal--login {
        min-height: 50vh;
        padding: 24px 14px;
    }
}

@media (max-width: 600px) {
    .rain-portal,
    .rain-public {
        padding: 16px 12px;
    }

    .rain-portal h1,
    .rain-public h1 {
        font-size: 20px;
    }

    .rain-application-form {
        padding: 20px 16px;
    }

    .rain-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rain-detail-header {
        flex-direction: column;
    }

    .rain-detail-actions {
        width: 100%;
    }

    .rain-form__row {
        flex-direction: column;
        gap: 0;
    }

    .rain-form__group--half,
    .rain-form__field--half,
    .rain-form__group--third,
    .rain-form__group--quarter {
        flex: 1 1 100%;
    }

    .rain-tabs {
        flex-wrap: wrap;
    }

    .rain-table {
        display: block;
        overflow-x: auto;
    }

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

    .rain-modal__content {
        width: 95%;
        max-height: 90vh;
    }

    .rain-login-wrap {
        max-width: none;
    }

    .rain-login-body {
        padding: 20px 16px;
    }

    .rain-member-flags {
        gap: 8px;
    }

    .rain-radio-group {
        flex-direction: column;
        gap: 8px;
    }

    .rain-flag {
        font-size: 10px;
        padding: 1px 6px;
    }
}

/* --- Flag badges (vulnerability indicators) --- */
.rain-flag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.rain-flag--pwd       { background: #E3F2FD; color: #1565C0; }
.rain-flag--senior    { background: #FFF3E0; color: #E65100; }
.rain-flag--minor     { background: #F3E5F5; color: #7B1FA2; }
.rain-flag--pregnant  { background: #FCE4EC; color: #C62828; }
.rain-flag--lactating { background: #FFF8E1; color: #F57F17; }
.rain-flag--4ps       { background: #E8F5E9; color: #2E7D32; }
.rain-flag--solo      { background: #EFEBE9; color: #4E342E; }

/* --- Clickable table rows --- */
.rain-table__row--link {
    cursor: pointer;
    transition: background-color 0.15s;
}

.rain-table__row--link:hover,
.rain-table__row--link:focus-visible {
    background-color: var(--rain-bg);
    outline: 2px solid var(--rain-primary);
    outline-offset: -2px;
}

.rain-table__link {
    color: var(--rain-primary);
    text-decoration: none;
    font-weight: 500;
}

.rain-table__link:hover {
    text-decoration: underline;
}

/* =========================================================================
   Onboarding Wizard (v4.3.0)
   ========================================================================= */

.rain-onboarding {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--rain-text);
}

/* --- Progress bar --- */
.rain-ob-progress {
    height: 4px;
    background: var(--rain-border);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.rain-ob-progress__bar {
    height: 100%;
    background: var(--rain-primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.rain-ob-step-indicator {
    font-size: 13px;
    color: var(--rain-text-light);
    text-align: right;
    margin-bottom: 24px;
}

/* --- Step containers --- */
.rain-ob-step__header {
    text-align: center;
    margin-bottom: 28px;
}

.rain-ob-step__header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--rain-text);
}

.rain-ob-step__header--center {
    text-align: center;
}

.rain-ob-step__subtitle {
    font-size: 14px;
    color: var(--rain-text-light);
    margin: 0;
}

/* --- Back button --- */
.rain-ob-back {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--rain-primary);
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    display: inline-block;
    transition: color 0.2s;
}

.rain-ob-back:hover {
    color: var(--rain-primary-dark);
    text-decoration: underline;
}

/* --- Selection cards --- */
.rain-ob-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rain-ob-cards--two .rain-ob-card {
    flex: 1 1 calc(50% - 8px);
    max-width: 260px;
}

.rain-ob-cards--three .rain-ob-card {
    flex: 1 1 calc(33.33% - 12px);
    max-width: 180px;
}

.rain-ob-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--rain-bg-card);
    border: 2px solid var(--rain-border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
    color: inherit;
}

.rain-ob-card:hover {
    border-color: var(--rain-primary-light);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.12);
    transform: translateY(-2px);
}

.rain-ob-card--selected {
    border-color: var(--rain-primary);
    background: #E3F2FD;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.15);
}

.rain-ob-card__icon {
    font-size: 40px;
    margin-bottom: 12px;
    line-height: 1;
}

.rain-ob-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rain-ob-card__desc {
    font-size: 13px;
    color: var(--rain-text-light);
    line-height: 1.4;
}

/* --- Welcome step (Step 3) --- */
.rain-ob-welcome {
    text-align: center;
    padding: 20px 0 10px;
}

.rain-ob-welcome h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--rain-primary-dark);
    margin: 0 0 20px;
}

.rain-ob-welcome__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}

.rain-ob-welcome__list li {
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    padding-left: 28px;
}

.rain-ob-welcome__list li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    color: var(--rain-success);
    font-weight: 700;
}

/* --- Large button variant --- */
.rain-btn--lg {
    padding: 12px 28px;
    font-size: 16px;
}

/* --- Link button (for resend) --- */
.rain-btn--link {
    background: none;
    border: none;
    color: var(--rain-primary);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    font-family: inherit;
    text-decoration: underline;
    transition: color 0.2s;
}

.rain-btn--link:hover {
    color: var(--rain-primary-dark);
}

.rain-btn--link:disabled {
    color: var(--rain-text-light);
    cursor: default;
    text-decoration: none;
}

/* --- OTP verify step --- */
.rain-ob-verify-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #E8F5E9;
    color: var(--rain-success);
    font-size: 28px;
    line-height: 56px;
    text-align: center;
    margin: 0 auto 16px;
}

.rain-ob-verify-sub {
    font-size: 14px;
    color: var(--rain-text-light);
    margin: 0;
}

.rain-ob-otp-form {
    max-width: 360px;
    margin: 0 auto;
}

.rain-ob-otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.rain-ob-otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--rain-border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    color: var(--rain-text);
    background: var(--rain-bg-card);
}

.rain-ob-otp-digit:focus {
    border-color: var(--rain-primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.rain-ob-resend {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

/* --- Success step --- */
.rain-ob-success {
    text-align: center;
    padding: 40px 0;
}

.rain-ob-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #E8F5E9;
    color: var(--rain-success);
    font-size: 32px;
    line-height: 64px;
    text-align: center;
    margin: 0 auto 20px;
}

.rain-ob-success h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--rain-text);
}

.rain-ob-success p {
    font-size: 15px;
    color: var(--rain-text-light);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .rain-onboarding {
        padding: 16px 12px 40px;
    }

    .rain-ob-step__header h1 {
        font-size: 18px;
    }

    .rain-ob-cards--two .rain-ob-card,
    .rain-ob-cards--three .rain-ob-card {
        flex: 1 1 100%;
        max-width: none;
    }

    .rain-ob-card {
        padding: 20px 12px;
    }

    .rain-ob-card__icon {
        font-size: 32px;
    }

    .rain-ob-otp-digit {
        width: 40px;
        height: 48px;
        font-size: 20px;
    }

    .rain-ob-otp-inputs {
        gap: 6px;
    }

    .rain-btn--lg {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* =========================================================================
   Participant Dashboard (v4.4.0)
   ========================================================================= */

.rain-participant {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 16px 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--rain-text);
}

/* --- Dashboard header --- */
.rain-pd-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rain-pd-avatar {
    border-radius: 50%;
    width: 56px;
    height: 56px;
}

.rain-pd-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rain-pd-header__info {
    flex: 1;
}

.rain-pd-header__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--rain-text);
}

/* --- Profile completeness bar --- */
.rain-pd-profile-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rain-pd-profile-bar__track {
    flex: 1;
    height: 6px;
    background: var(--rain-border);
    border-radius: 3px;
    overflow: hidden;
}

.rain-pd-profile-bar__fill {
    height: 100%;
    background: var(--rain-primary);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.rain-pd-profile-bar__label {
    font-size: 12px;
    color: var(--rain-text-light);
    white-space: nowrap;
}

/* --- Stats Cards (v6.8.0) --- */
.rain-pd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.rain-pd-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: var(--rain-radius, 8px);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rain-pd-stat:hover {
    border-color: var(--rain-primary, #38A8D8);
    box-shadow: 0 2px 8px rgba(56, 168, 216, 0.1);
}

.rain-pd-stat__icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.rain-pd-stat__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rain-pd-stat__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--rain-text, #222);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rain-pd-stat__value--alert {
    color: var(--rain-primary, #38A8D8);
}

.rain-pd-stat__label {
    font-size: 12px;
    color: var(--rain-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .rain-pd-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 360px) {
    .rain-pd-stats {
        grid-template-columns: 1fr;
    }
}

/* --- Status card --- */
.rain-pd-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #E3F2FD;
    border: 1px solid #90CAF9;
    border-radius: var(--rain-radius);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.rain-pd-status-card__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.rain-pd-status-card__body strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.rain-pd-status-card__body p {
    font-size: 13px;
    color: var(--rain-text-light);
    margin: 0;
    line-height: 1.4;
}

/* --- Enrollment action card (v4.5.0) --- */
.rain-pd-enrollment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(56, 168, 216, 0.08);
    border: 1px solid var(--rain-accent, #38A8D8);
    border-radius: var(--rain-radius);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.rain-pd-enrollment-card__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.rain-pd-enrollment-card__body {
    flex: 1;
    min-width: 0;
}

.rain-pd-enrollment-card__body strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.rain-pd-enrollment-card__body p {
    font-size: 13px;
    color: var(--rain-text-light);
    margin: 0;
    line-height: 1.4;
}

/* --- Message Center (v6.5.0) --- */
.rain-pd-msg-mark-all {
    background: none;
    border: none;
    color: var(--rain-primary, #38A8D8);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.rain-pd-msg-mark-all:hover {
    text-decoration: underline;
}

.rain-pd-msg-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.rain-pd-msg-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--rain-muted, #888);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.rain-pd-msg-tab:hover {
    border-color: var(--rain-primary, #38A8D8);
    color: var(--rain-primary, #38A8D8);
}

.rain-pd-msg-tab--active {
    background: var(--rain-primary, #38A8D8);
    border-color: var(--rain-primary, #38A8D8);
    color: #fff;
}

.rain-pd-msg-tab--active:hover {
    color: #fff;
}

.rain-pd-msg-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.rain-pd-msg-tab--active .rain-pd-msg-tab__badge {
    background: rgba(255, 255, 255, 0.3);
}

.rain-pd-msg-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rain-pd-msg-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rain-border, #e0e0e0);
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}

.rain-pd-msg-item:last-child {
    border-bottom: none;
}

.rain-pd-msg-item:hover {
    background: #f5f5f5;
}

.rain-pd-msg-item--unread {
    background: #f0f8ff;
}

.rain-pd-msg-item--unread:hover {
    background: #e8f4fd;
}

.rain-pd-msg-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rain-bg, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.rain-pd-msg-item--unread .rain-pd-msg-item__icon {
    background: rgba(56, 168, 216, 0.12);
}

.rain-pd-msg-item__body {
    flex: 1;
    min-width: 0;
}

.rain-pd-msg-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--rain-text, #222);
    margin-bottom: 2px;
}

.rain-pd-msg-item__text {
    font-size: 13px;
    color: var(--rain-muted, #888);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rain-pd-msg-item__time {
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
}

.rain-pd-msg-item__dot {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rain-primary, #38A8D8);
}

@media (max-width: 480px) {
    .rain-pd-msg-tabs {
        gap: 4px;
    }

    .rain-pd-msg-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .rain-pd-msg-item__text {
        white-space: normal;
    }
}

/* --- Opportunity Card layout fix (v6.4.0) --- */
.rain-pd-opp-card {
    display: flex;
    flex-direction: column;
}

.rain-pd-opp-card__link {
    display: flex;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.rain-pd-opp-card__link:hover {
    opacity: 0.9;
}

.rain-btn--disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

/* --- Apply Modal (v6.4.0) --- */
.rain-pd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}

.rain-pd-modal {
    background: #fff;
    border-radius: var(--rain-radius, 8px);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.rain-pd-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--rain-border, #e0e0e0);
}

.rain-pd-modal__header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--rain-text, #222);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.rain-pd-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--rain-muted, #888);
    padding: 0 0 0 12px;
    flex-shrink: 0;
}

.rain-pd-modal__close:hover {
    color: var(--rain-text, #222);
}

.rain-pd-modal__body {
    padding: 16px 20px;
}

.rain-pd-modal__body .rain-profile-field {
    margin-bottom: 14px;
}

.rain-pd-modal__body .rain-profile-field:last-child {
    margin-bottom: 0;
}

.rain-pd-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px 16px;
    border-top: 1px solid var(--rain-border, #e0e0e0);
}

.rain-pd-modal .rain-notice {
    margin: 12px 20px 0;
}

@media (max-width: 480px) {
    .rain-pd-modal {
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        max-height: 85vh;
    }

    .rain-pd-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
}

/* --- Enrollment Progress Section (v6.2.0) --- */
.rain-pd-enrollment {
    margin-bottom: 24px;
}

.rain-pd-project-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--rain-radius, 8px);
    padding: 18px;
    margin-bottom: 16px;
}

.rain-pd-project-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.rain-pd-project-card__header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.rain-pd-project-card__meta {
    font-size: 13px;
    color: var(--rain-text-light, #666);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* --- TLC Stepper (v6.2.0) --- */
.rain-pd-stepper {
    background: rgba(56, 168, 216, 0.06);
    border: 1px solid var(--rain-accent, #38A8D8);
    border-radius: var(--rain-radius, 8px);
    padding: 18px;
    margin-bottom: 16px;
}

.rain-pd-stepper h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
}

.rain-pd-stepper__track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 14px;
}

.rain-pd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.rain-pd-step__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #e0e0e0;
    color: #666;
    margin-bottom: 6px;
    transition: background 0.3s, color 0.3s;
}

.rain-pd-step--done .rain-pd-step__circle {
    background: var(--rain-accent, #38A8D8);
    color: #fff;
}

.rain-pd-step--current .rain-pd-step__circle {
    background: #fff;
    color: var(--rain-accent, #38A8D8);
    border: 2px solid var(--rain-accent, #38A8D8);
    box-shadow: 0 0 0 3px rgba(56, 168, 216, 0.2);
}

.rain-pd-step__label {
    font-size: 10px;
    color: #999;
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
}

.rain-pd-step--done .rain-pd-step__label,
.rain-pd-step--current .rain-pd-step__label {
    color: #333;
    font-weight: 600;
}

.rain-pd-step__line {
    flex-shrink: 0;
    width: 24px;
    height: 2px;
    background: #e0e0e0;
    margin-top: 15px;
}

.rain-pd-step__line--done {
    background: var(--rain-accent, #38A8D8);
}

/* --- Milestones (v6.2.0) --- */
.rain-pd-milestones {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--rain-radius, 8px);
    padding: 18px;
    margin-bottom: 16px;
}

.rain-pd-milestones__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rain-pd-milestones__header h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.rain-pd-milestones__pct {
    font-size: 12px;
    color: var(--rain-text-light, #666);
}

/* --- Milestone progress bar with segment markers (v7.5.0) --- */
.rain-pd-milestones__bar-wrap {
    position: relative;
    margin-bottom: 18px;
}

.rain-pd-milestones__bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rain-pd-milestones__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2E7D32, var(--rain-accent, #38A8D8));
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rain-pd-milestones__segments {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 12px;
    pointer-events: none;
}

.rain-pd-ms-seg {
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: background 0.3s;
}

.rain-pd-ms-seg--done {
    background: #2E7D32;
    box-shadow: 0 0 0 1px #2E7D32;
}

/* --- Enhanced milestone checklist items (v7.5.0) --- */
.rain-pd-ms-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.rain-pd-ms-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rain-pd-ms-item--next {
    background: #f0f9ff;
    margin: 0 -12px;
    padding: 10px 12px;
    border-radius: 6px;
    border-bottom-color: transparent;
}

.rain-pd-ms-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #f5f5f5;
    color: #999;
    border: 2px solid #e0e0e0;
}

.rain-pd-ms-item--done .rain-pd-ms-item__icon {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #2E7D32;
}

.rain-pd-ms-item--active .rain-pd-ms-item__icon {
    background: #E3F2FD;
    color: #1565C0;
    border-color: #1565C0;
    animation: rain-pulse 2s infinite;
}

.rain-pd-ms-item--next .rain-pd-ms-item__icon {
    border-color: var(--rain-accent, #38A8D8);
    color: var(--rain-accent, #38A8D8);
}

@keyframes rain-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.3); }
    50%      { box-shadow: 0 0 0 4px rgba(21, 101, 192, 0); }
}

.rain-pd-ms-item__body {
    flex: 1;
    min-width: 0;
}

.rain-pd-ms-item__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rain-pd-ms-item__body strong {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.rain-pd-ms-item--done .rain-pd-ms-item__body strong {
    text-decoration: line-through;
    color: #999;
}

.rain-pd-ms-next-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--rain-accent, #38A8D8);
    color: #fff;
    padding: 1px 7px;
    border-radius: 9px;
    line-height: 1.6;
}

.rain-pd-ms-item__date {
    display: block;
    font-size: 11px;
    color: var(--rain-text-light, #666);
    margin-top: 3px;
}

.rain-pd-ms-proof {
    display: inline-block;
    font-size: 11px;
    color: var(--rain-accent, #38A8D8);
    text-decoration: none;
    margin-top: 3px;
    font-weight: 500;
}

.rain-pd-ms-proof:hover {
    text-decoration: underline;
}

/* --- Milestone proof upload (v7.6.0) --- */
.rain-pd-ms-proof-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.rain-pd-ms-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--rain-accent, #38A8D8);
    background: rgba(56, 168, 216, 0.08);
    border: 1px solid rgba(56, 168, 216, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rain-pd-ms-upload-btn:hover {
    background: rgba(56, 168, 216, 0.15);
    border-color: var(--rain-accent, #38A8D8);
}

.rain-pd-ms-upload-btn--replace {
    font-size: 10px;
    padding: 2px 8px;
    margin-top: 0;
}

.rain-pd-ms-upload-btn--loading {
    opacity: 0.6;
    cursor: wait;
}

.rain-pd-ms-upload-btn:disabled {
    pointer-events: none;
}

.rain-pd-ms-upload-ok {
    font-size: 11px;
    color: #2E7D32;
    font-weight: 600;
    animation: rain-fade-in 0.3s ease;
}

.rain-pd-ms-upload-msg {
    display: inline-block;
    font-size: 11px;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 3px;
    animation: rain-fade-in 0.2s ease;
}

.rain-pd-ms-upload-msg--error {
    color: #C62828;
    background: #FFEBEE;
}

.rain-pd-ms-upload-msg--info {
    color: #1565C0;
    background: #E3F2FD;
}

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

@media (max-width: 480px) {
    .rain-pd-stepper__track {
        overflow-x: auto;
    }

    .rain-pd-step {
        min-width: 48px;
    }

    .rain-pd-step__circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .rain-pd-step__label {
        font-size: 9px;
    }

    .rain-pd-step__line {
        width: 16px;
        margin-top: 13px;
    }
}

/* --- Section headers --- */
.rain-pd-section {
    margin-bottom: 24px;
}

.rain-pd-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.rain-pd-section__header h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--rain-text);
}

.rain-pd-section__header a {
    font-size: 13px;
    color: var(--rain-primary);
    text-decoration: none;
    font-weight: 500;
}

/* --- Opportunity cards grid --- */
.rain-pd-opps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.rain-pd-opp-card {
    display: flex;
    flex-direction: column;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.rain-pd-opp-card:hover {
    border-color: var(--rain-primary-light);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.1);
    transform: translateY(-2px);
}

.rain-pd-opp-card__img {
    height: 100px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.rain-pd-opp-card__body {
    padding: 12px;
    flex: 1;
}

.rain-pd-opp-card__title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.rain-pd-opp-card__location {
    font-size: 12px;
    color: var(--rain-text-light);
    margin: 0 0 6px;
}

.rain-pd-opp-card__action {
    padding: 0 12px 12px;
}

/* --- Bottom nav --- */
.rain-pd-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rain-bg-card);
    border-top: 1px solid var(--rain-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
    z-index: 1000;
}

.rain-pd-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 4px 12px;
    color: var(--rain-text-light);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 10px;
}

.rain-pd-nav__item:hover,
.rain-pd-nav__item--active {
    color: var(--rain-primary);
}

.rain-pd-nav__icon {
    font-size: 20px;
    line-height: 1;
}

.rain-pd-nav__label {
    font-weight: 500;
}

/* =========================================================================
   Opportunity Detail (v4.4.0)
   ========================================================================= */

.rain-participant--opp-detail {
    padding-bottom: 24px;
}

.rain-opp-detail__nav {
    margin-bottom: 12px;
}

.rain-opp-detail__hero {
    height: 180px;
    background: linear-gradient(135deg, var(--rain-primary) 0%, var(--rain-primary-light) 60%, #81D4FA 100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
}

.rain-opp-detail__hero-overlay {
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.rain-opp-detail__hero-overlay h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* --- Meta row --- */
.rain-opp-detail__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rain-opp-detail__meta-item {
    font-size: 14px;
    color: var(--rain-text-light);
}

/* --- Content sections --- */
.rain-opp-detail__section {
    margin-bottom: 20px;
}

.rain-opp-detail__section h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--rain-text);
}

.rain-opp-detail__section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--rain-text);
    margin: 0;
    white-space: pre-wrap;
}

.rain-opp-detail__needs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rain-opp-detail__needs li {
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid var(--rain-border);
    color: var(--rain-text);
}

.rain-opp-detail__needs li:last-child {
    border-bottom: none;
}

/* --- Action section --- */
.rain-opp-detail__action {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--rain-border);
}

.rain-opp-detail__action-note {
    text-align: center;
    font-size: 14px;
    color: var(--rain-text-light);
    margin: 12px 0 0;
}

/* --- Opportunity Detail Tabs (v6.7.0) --- */
.rain-opp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--rain-border, #e0e0e0);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rain-opp-tab {
    padding: 10px 18px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--rain-muted, #888);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.rain-opp-tab:hover {
    color: var(--rain-primary, #38A8D8);
}

.rain-opp-tab--active {
    color: var(--rain-primary, #38A8D8);
    border-bottom-color: var(--rain-primary, #38A8D8);
}

.rain-opp-panel {
    min-height: 120px;
}

/* Timeline & Budget grid */
.rain-opp-detail__meta-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rain-opp-detail__meta-card {
    flex: 1;
    min-width: 140px;
    padding: 14px 16px;
    background: var(--rain-bg, #f9f9f9);
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: var(--rain-radius, 8px);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rain-opp-detail__meta-card strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rain-muted, #888);
}

.rain-opp-detail__meta-card span {
    font-size: 15px;
    font-weight: 600;
    color: var(--rain-text, #222);
}

/* Related project card */
.rain-opp-related-card {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: var(--rain-radius, 8px);
}

.rain-opp-related-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rain-opp-related-card__header strong {
    font-size: 15px;
}

.rain-opp-related-card__meta {
    font-size: 13px;
    color: var(--rain-muted, #888);
    margin: 6px 0 0;
}

.rain-opp-related-card__type {
    font-size: 12px;
    color: var(--rain-primary, #38A8D8);
    font-weight: 500;
    margin: 6px 0 0;
}

/* Similar opportunities grid */
.rain-opp-similar-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rain-opp-similar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: var(--rain-radius, 8px);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rain-opp-similar-item:hover {
    border-color: var(--rain-primary, #38A8D8);
    box-shadow: 0 2px 8px rgba(56, 168, 216, 0.1);
}

.rain-opp-similar-item strong {
    font-size: 14px;
    color: var(--rain-text, #222);
}

.rain-opp-similar-item span {
    font-size: 13px;
    color: var(--rain-muted, #888);
}

@media (max-width: 480px) {
    .rain-opp-tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .rain-opp-detail__meta-grid {
        flex-direction: column;
    }
}

/* ==========================================================================
   TLC Coop Validation (v4.5.0)
   ========================================================================== */

.rain-tlc-header {
    text-align: center;
    padding: 32px 0 20px;
}

.rain-tlc-header__check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rain-accent, #38A8D8);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.rain-tlc-header h1 {
    font-size: 22px;
    margin: 0 0 6px;
}

.rain-tlc-header p {
    color: var(--rain-text-light);
    margin: 0;
}

.rain-tlc-project {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--rain-accent, #38A8D8);
    margin-bottom: 24px;
    padding: 10px 16px;
    background: rgba(56, 168, 216, 0.08);
    border-radius: 8px;
}

/* --- Steps --- */
.rain-tlc-steps {
    position: relative;
    padding-left: 0;
}

.rain-tlc-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.rain-tlc-step--active,
.rain-tlc-step--complete {
    opacity: 1;
}

.rain-tlc-step__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rain-bg-card, #1a1a2e);
    border: 2px solid var(--rain-border, #2d2d44);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--rain-text-light);
    position: relative;
    z-index: 1;
}

.rain-tlc-step--active .rain-tlc-step__num {
    border-color: var(--rain-accent, #38A8D8);
    color: var(--rain-accent, #38A8D8);
    box-shadow: 0 0 0 4px rgba(56, 168, 216, 0.15);
}

.rain-tlc-step--complete .rain-tlc-step__num {
    background: var(--rain-accent, #38A8D8);
    border-color: var(--rain-accent, #38A8D8);
    color: #fff;
}

.rain-tlc-step__body {
    flex: 1;
    min-width: 0;
}

.rain-tlc-step__body strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.rain-tlc-step__body p {
    font-size: 13px;
    color: var(--rain-text-light);
    margin: 0 0 10px;
}

.rain-tlc-step__btn {
    margin-top: 4px;
}

/* Connector line between steps */
.rain-tlc-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 56px;
    bottom: -16px;
    width: 2px;
    background: var(--rain-border, #2d2d44);
    z-index: 0;
}

.rain-tlc-step--complete:not(:last-child)::before {
    background: var(--rain-accent, #38A8D8);
}

/* --- Completion screen --- */
.rain-tlc-confirm-details {
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.rain-tlc-confirm-row {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--rain-border, #2d2d44);
}

.rain-tlc-confirm-row:last-child {
    border-bottom: none;
}

.rain-tlc-confirm-row strong {
    display: inline-block;
    min-width: 120px;
    color: var(--rain-text-light);
}

/* ==========================================================================
   My Project — Execution Dashboard (v4.5.0)
   ========================================================================== */

.rain-mp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.rain-mp-header h1 {
    font-size: 22px;
    margin: 0;
}

.rain-mp-subtitle {
    color: var(--rain-text-light);
    font-size: 14px;
    margin: 0 0 20px;
}

/* --- Tabs --- */
.rain-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--rain-border, #2d2d44);
    margin-bottom: 20px;
}

.rain-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rain-text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.rain-tab:hover {
    color: var(--rain-text, #e0e0e0);
}

.rain-tab--active {
    color: var(--rain-accent, #38A8D8);
    border-bottom-color: var(--rain-accent, #38A8D8);
}

.rain-hidden {
    display: none !important;
}

/* --- Milestone Timeline --- */
.rain-mp-timeline {
    position: relative;
}

.rain-mp-ms {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.rain-mp-ms--active,
.rain-mp-ms--complete {
    opacity: 1;
}

.rain-mp-ms__marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rain-bg-card, #1a1a2e);
    border: 2px solid var(--rain-border, #2d2d44);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--rain-text-light);
    z-index: 1;
}

.rain-mp-ms--active .rain-mp-ms__marker {
    border-color: var(--rain-accent, #38A8D8);
    color: var(--rain-accent, #38A8D8);
    box-shadow: 0 0 0 4px rgba(56, 168, 216, 0.15);
}

.rain-mp-ms--complete .rain-mp-ms__marker {
    background: var(--rain-accent, #38A8D8);
    border-color: var(--rain-accent, #38A8D8);
    color: #fff;
}

.rain-mp-ms__body {
    flex: 1;
    min-width: 0;
}

.rain-mp-ms__title {
    display: inline;
    font-size: 15px;
    margin-right: 8px;
}

.rain-mp-ms__notes {
    font-size: 13px;
    color: var(--rain-text-light);
    margin: 6px 0 0;
}

.rain-mp-ms__date {
    font-size: 12px;
    color: var(--rain-text-light);
    margin: 4px 0 0;
}

/* Connector between milestones */
.rain-mp-ms:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 50px;
    bottom: -14px;
    width: 2px;
    background: var(--rain-border, #2d2d44);
    z-index: 0;
}

.rain-mp-ms--complete:not(:last-child)::before {
    background: var(--rain-accent, #38A8D8);
}

/* --- Updates Feed --- */
.rain-mp-updates-list {
    padding: 0;
}

.rain-mp-update {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rain-border, #2d2d44);
}

.rain-mp-update:last-child {
    border-bottom: none;
}

.rain-mp-update__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rain-accent, #38A8D8);
    margin-top: 6px;
}

.rain-mp-update__body strong {
    font-size: 14px;
}

.rain-mp-update__by {
    font-size: 13px;
    color: var(--rain-text-light);
}

.rain-mp-update__time {
    font-size: 12px;
    color: var(--rain-text-light);
    margin: 4px 0 0;
}

/* --- Details Grid --- */
.rain-mp-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rain-mp-detail-row {
    padding: 12px 16px;
    background: var(--rain-bg-card, #1a1a2e);
    border-radius: 8px;
    border: 1px solid var(--rain-border, #2d2d44);
}

.rain-mp-detail-row strong {
    display: block;
    font-size: 12px;
    color: var(--rain-text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rain-mp-detail-row span,
.rain-mp-detail-row p {
    font-size: 15px;
    margin: 0;
}

.rain-mp-detail-row--full {
    grid-column: 1 / -1;
}

/* --- Top bar (v8.8.0) --- */
.rain-mp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rain-mp-topbar__icons {
    display: flex;
    gap: 8px;
}

.rain-icon-btn {
    background: none;
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    cursor: pointer;
    font-size: 18px;
    padding: 6px 10px;
    line-height: 1;
    position: relative;
    color: var(--rain-text);
    transition: background 0.15s, border-color 0.15s;
}

.rain-icon-btn:hover {
    background: var(--rain-bg);
    border-color: var(--rain-accent);
}

.rain-mp-notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--rain-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* --- Header with icon (v8.8.0) --- */
.rain-mp-header__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--rain-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.rain-mp-header__info {
    flex: 1;
    min-width: 0;
}

.rain-mp-location {
    color: var(--rain-text-light);
    font-size: 14px;
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Tasks Tab (v8.8.0) --- */
.rain-mp-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rain-mp-task {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    transition: border-color 0.15s;
}

.rain-mp-task--active {
    border-left: 3px solid var(--rain-accent);
}

.rain-mp-task--done {
    opacity: 0.7;
}

.rain-mp-task__check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: var(--rain-bg);
    color: var(--rain-text-light);
    border: 2px solid var(--rain-border);
}

.rain-mp-task--done .rain-mp-task__check {
    background: var(--rain-success);
    color: #fff;
    border-color: var(--rain-success);
}

.rain-mp-task--active .rain-mp-task__check {
    background: var(--rain-accent);
    color: #fff;
    border-color: var(--rain-accent);
}

.rain-mp-task__body {
    flex: 1;
    min-width: 0;
}

.rain-mp-task__title {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.rain-mp-task--done .rain-mp-task__title {
    text-decoration: line-through;
    color: var(--rain-text-light);
}

.rain-mp-task__assignee,
.rain-mp-task__due {
    display: inline-block;
    font-size: 12px;
    color: var(--rain-text-light);
    margin-right: 12px;
}

/* --- Files Tab (v8.8.0) --- */
.rain-mp-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rain-mp-file {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
}

.rain-mp-file__icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.rain-mp-file__body {
    flex: 1;
    min-width: 0;
}

.rain-mp-file__name {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rain-mp-file__size,
.rain-mp-file__by,
.rain-mp-file__date {
    font-size: 12px;
    color: var(--rain-text-light);
    margin-right: 10px;
}

/* --- Notifications Panel (v8.8.0) --- */
.rain-mp-notif-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: var(--rain-bg-card);
    border-left: 1px solid var(--rain-border);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.rain-mp-notif-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--rain-border);
}

.rain-mp-notif-panel__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--rain-text-light);
    line-height: 1;
}

.rain-mp-notif-panel__close:hover {
    color: var(--rain-danger);
}

.rain-mp-notif-panel__list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
}

.rain-mp-notif {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rain-border);
}

.rain-mp-notif:last-child {
    border-bottom: none;
}

.rain-mp-notif__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rain-border);
    margin-top: 6px;
    flex-shrink: 0;
}

.rain-mp-notif--unread .rain-mp-notif__dot {
    background: var(--rain-accent);
}

.rain-mp-notif__body strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.rain-mp-notif--unread .rain-mp-notif__body strong {
    font-weight: 600;
}

.rain-mp-notif__time {
    font-size: 11px;
    color: var(--rain-text-light);
    margin-top: 2px;
    display: block;
}

/* --- TLC Completion Enhancements (v8.8.0) --- */
.rain-ob-success__icon--lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rain-confirm-checkmark {
    font-size: 40px;
    color: var(--rain-success);
}

.rain-confirm-check {
    color: var(--rain-success);
    margin-right: 6px;
}

.rain-tlc-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.rain-btn--outline {
    background: transparent;
    color: var(--rain-primary);
    border: 2px solid var(--rain-primary);
}

.rain-btn--outline:hover {
    background: var(--rain-primary);
    color: #fff;
}

@media (max-width: 600px) {
    .rain-mp-topbar__icons {
        gap: 4px;
    }
    .rain-mp-notif-panel {
        width: 100vw;
        max-width: 100vw;
    }
    .rain-mp-tasks-list .rain-badge {
        display: block;
        margin-top: 6px;
    }
}

/* --- Notification Bell (v4.8.0) --- */
.rain-notif-bell {
    position: relative;
    display: inline-block;
}

.rain-notif-bell__btn {
    background: none;
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    cursor: pointer;
    font-size: 20px;
    padding: 6px 10px;
    line-height: 1;
    position: relative;
}

.rain-notif-bell__btn:hover {
    background: var(--rain-bg);
}

.rain-notif-bell__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--rain-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.rain-notif-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 420px;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    margin-top: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rain-notif-dropdown__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--rain-border);
}

.rain-notif-dropdown__header strong {
    font-size: 14px;
}

.rain-notif-dropdown__mark-all {
    background: none;
    border: none;
    color: var(--rain-primary);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.rain-notif-dropdown__mark-all:hover {
    text-decoration: underline;
}

.rain-notif-dropdown__list {
    overflow-y: auto;
    flex: 1;
    max-height: 360px;
}

.rain-notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--rain-border);
    cursor: pointer;
    transition: background 0.15s;
}

.rain-notif-item:last-child {
    border-bottom: none;
}

.rain-notif-item:hover {
    background: var(--rain-bg);
}

.rain-notif-item--unread {
    background: rgba(21, 101, 192, 0.04);
    border-left: 3px solid var(--rain-primary);
}

.rain-notif-item--read {
    opacity: 0.7;
}

.rain-notif-item__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.rain-notif-item__message {
    font-size: 13px;
    color: var(--rain-text-light);
    margin-bottom: 4px;
}

.rain-notif-item__time {
    font-size: 11px;
    color: var(--rain-text-light);
}

.rain-notif-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--rain-text-light);
    font-size: 14px;
}

/* --- My Profile Page (v4.8.0) --- */
.rain-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
}

.rain-profile-header__avatar img {
    border-radius: 50%;
    width: 72px;
    height: 72px;
}

.rain-profile-header__info h1 {
    margin: 0 0 4px;
    font-size: 22px;
}

.rain-profile-header__email {
    color: var(--rain-text-light);
    font-size: 14px;
    margin: 0;
}

.rain-profile-form {
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    padding: 24px;
}

.rain-profile-section {
    margin-bottom: 24px;
}

.rain-profile-section h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rain-border);
}

.rain-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rain-profile-field {
    display: flex;
    flex-direction: column;
}

.rain-profile-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rain-text);
    margin-bottom: 6px;
}

.rain-profile-field .rain-input {
    padding: 10px 12px;
    border: 1px solid var(--rain-border);
    border-radius: var(--rain-radius);
    font-size: 14px;
    color: var(--rain-text);
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.rain-profile-field .rain-input:focus {
    outline: none;
    border-color: var(--rain-primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.rain-profile-field .rain-input[readonly] {
    background: var(--rain-bg);
    color: var(--rain-text-light);
    cursor: not-allowed;
}

.rain-field-hint {
    font-size: 12px;
    color: var(--rain-text-light);
    margin-top: 4px;
}

/* Notification Preferences (v6.3.0) */
.rain-notif-prefs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.rain-notif-pref {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: var(--rain-bg, #f9f9f9);
    border: 1px solid var(--rain-border, #e0e0e0);
    border-radius: 8px;
}

.rain-notif-pref__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.rain-notif-pref__text strong {
    font-size: 14px;
    color: var(--rain-text, #222);
}

.rain-notif-pref__text span {
    font-size: 13px;
    color: var(--rain-muted, #888);
    line-height: 1.4;
}

/* Toggle switch */
.rain-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    min-width: 44px;
    height: 24px;
    margin-top: 2px;
    cursor: pointer;
}

.rain-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.rain-toggle__slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.2s;
}

.rain-toggle__slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.rain-toggle input:checked + .rain-toggle__slider {
    background: var(--rain-primary, #38A8D8);
}

.rain-toggle input:checked + .rain-toggle__slider::before {
    transform: translateX(20px);
}

.rain-toggle input:focus-visible + .rain-toggle__slider {
    outline: 2px solid var(--rain-primary, #38A8D8);
    outline-offset: 2px;
}

/* --- Employment History Repeater (v9.0.44) --- */
.rain-employment-entries {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

.rain-emp-entry {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--rain-bg);
    border: 1px solid var(--rain-border);
    border-radius: 8px;
    padding: 14px;
}

.rain-emp-entry__fields {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rain-emp-remove {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--rain-text-light);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    margin-top: 22px;
}

.rain-emp-remove:hover {
    color: var(--rain-danger, #e74c3c);
}

.rain-emp-current-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--rain-text-light);
    margin-top: 4px;
    font-weight: 400 !important;
}

.rain-emp-current-label input[type="checkbox"] {
    margin: 0;
}

@media (max-width: 600px) {
    .rain-emp-entry__fields {
        grid-template-columns: 1fr;
    }
}

.rain-profile-completeness {
    margin: 20px 0;
}

.rain-profile-actions {
    text-align: right;
    padding-top: 16px;
    border-top: 1px solid var(--rain-border);
}

.rain-back-nav {
    margin-bottom: 16px;
}

.rain-back-nav__link {
    color: var(--rain-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.rain-back-nav__link:hover {
    text-decoration: underline;
}

/* Profile — Application History Timeline */
.rain-profile-timeline {
    padding: 0;
}

.rain-profile-timeline__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rain-border);
}

.rain-profile-timeline__item:last-child {
    border-bottom: none;
}

.rain-profile-timeline__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rain-primary);
    margin-top: 6px;
}

.rain-profile-timeline__body strong {
    font-size: 14px;
    display: block;
}

.rain-profile-timeline__body p {
    font-size: 13px;
    color: var(--rain-text-light);
    margin: 4px 0 0;
}

.rain-profile-timeline__time {
    font-size: 12px;
    color: var(--rain-text-light);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .rain-participant {
        padding: 16px 12px 72px;
    }

    .rain-pd-header {
        flex-wrap: wrap;
    }

    .rain-pd-header__name {
        font-size: 18px;
    }

    .rain-pd-opps {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rain-pd-opp-card__img {
        height: 80px;
    }

    .rain-opp-detail__hero {
        height: 140px;
    }

    .rain-opp-detail__hero-overlay h1 {
        font-size: 17px;
    }

    .rain-mp-details-grid {
        grid-template-columns: 1fr;
    }

    .rain-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .rain-profile-grid {
        grid-template-columns: 1fr;
    }

    .rain-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .rain-notif-dropdown {
        width: 290px;
        right: -40px;
    }

    .rain-pd-header__actions {
        gap: 6px;
    }
}

@media (max-width: 400px) {
    .rain-pd-opps {
        grid-template-columns: 1fr;
    }

    .rain-notif-dropdown {
        width: 260px;
        right: -60px;
    }
}

/* =========================================================================
   v8.9.0 — Design Pass
   Wireframe alignment: blue header bars, gold CTA, card polish, app-like feel.
   ========================================================================= */

/* --- CTA Button (gold/orange — primary action color from wireframe) --- */
.rain-btn--cta {
    background: var(--rain-cta);
    color: #fff;
    font-weight: 700;
}

.rain-btn--cta:hover {
    background: var(--rain-cta-hover);
}

.rain-btn--cta:focus-visible {
    box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.4);
    outline: 2px solid var(--rain-cta);
    outline-offset: 2px;
}

/* --- Blue App Bar (RAIN-branded header for non-dashboard pages) --- */
.rain-app-bar {
    background: linear-gradient(135deg, var(--rain-primary-dark), var(--rain-primary));
    color: #fff;
    padding: 14px 20px;
    margin: -24px -16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rain-app-bar__logo {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;
}

.rain-app-bar__divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.rain-app-bar__title {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* --- Dashboard Header — Blue Treatment --- */
.rain-pd-header {
    background: linear-gradient(135deg, var(--rain-primary-dark) 0%, var(--rain-primary) 100%);
    color: #fff;
    border-radius: var(--rain-radius);
    margin: -24px -16px 20px;
    padding: 20px 20px 18px;
}

.rain-pd-header__name {
    color: #fff;
}

.rain-pd-header .rain-pd-profile-bar__track {
    background: rgba(255, 255, 255, 0.2);
}

.rain-pd-header .rain-pd-profile-bar__fill {
    background: var(--rain-cta);
}

.rain-pd-header .rain-pd-profile-bar__label {
    color: rgba(255, 255, 255, 0.85);
}

.rain-pd-header__actions .rain-btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rain-pd-header__actions .rain-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.rain-pd-header .rain-notif-bell__btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
}

.rain-pd-header .rain-notif-bell__btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Stats Cards Polish --- */
.rain-pd-stat {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rain-pd-stat:hover {
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.12);
    transform: translateY(-1px);
}

/* --- Enrollment Progress — Enhanced --- */
.rain-pd-project-card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Bottom Nav Enhancement --- */
.rain-pd-nav {
    padding: 10px 0 env(safe-area-inset-bottom, 10px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    border-top: none;
}

.rain-pd-nav__icon {
    font-size: 22px;
}

.rain-pd-nav__item {
    font-size: 11px;
    padding: 4px 16px;
    position: relative;
}

.rain-pd-nav__item--active::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rain-primary);
    margin: 3px auto 0;
}

/* --- Onboarding Progress Bar — Gold Gradient --- */
.rain-ob-progress__bar {
    background: linear-gradient(90deg, var(--rain-cta), var(--rain-primary));
}

/* --- Onboarding Card Polish --- */
.rain-ob-card {
    border-radius: 14px;
}

.rain-ob-card:hover {
    box-shadow: 0 6px 24px rgba(21, 101, 192, 0.14);
}

/* --- Onboarding Welcome Step — Enhanced --- */
.rain-ob-welcome h1 {
    font-size: 26px;
}

.rain-ob-welcome__list li {
    font-size: 16px;
    padding: 8px 0 8px 32px;
}

.rain-ob-welcome__list li::before {
    font-size: 18px;
}

/* --- Onboarding Success — Gold CTA --- */
.rain-ob-success__icon {
    background: #E8F5E9;
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0.08);
}

.rain-ob-success__icon--lg {
    box-shadow: 0 0 0 12px rgba(46, 125, 50, 0.08);
}

/* --- Login Page Polish --- */
.rain-login-header {
    padding: 36px 24px 28px;
    background: linear-gradient(135deg, var(--rain-primary-dark) 0%, var(--rain-primary) 100%);
}

.rain-login-title {
    font-size: 28px;
    letter-spacing: 3px;
}

.rain-login-wrap {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: none;
}

.rain-login-body .rain-btn--primary {
    padding: 12px 20px;
    font-size: 15px;
}

/* --- Opportunity Hero Polish --- */
.rain-opp-detail__hero {
    border-radius: 12px;
    height: 200px;
}

/* --- Opportunity Cards — Deeper shadow --- */
.rain-pd-opp-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rain-pd-opp-card:hover {
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.12);
    transform: translateY(-3px);
}

/* --- Profile Header — Blue Treatment --- */
.rain-profile-header {
    background: linear-gradient(135deg, var(--rain-primary-dark) 0%, var(--rain-primary) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.2);
}

.rain-profile-header__info h1 {
    color: #fff;
}

.rain-profile-header__email {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Profile Form Card --- */
.rain-profile-form {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- TLC Steps — Green completed accent --- */
.rain-tlc-step--complete .rain-tlc-step__num {
    background: var(--rain-success);
    border-color: var(--rain-success);
}

.rain-tlc-step--complete:not(:last-child)::before {
    background: var(--rain-success);
}

/* --- TLC Completion — Enhanced --- */
.rain-tlc-confirm-actions .rain-btn--primary {
    background: var(--rain-cta);
}

.rain-tlc-confirm-actions .rain-btn--primary:hover {
    background: var(--rain-cta-hover);
}

/* --- My Project Top Bar — Blue --- */
.rain-mp-topbar {
    background: linear-gradient(135deg, var(--rain-primary-dark), var(--rain-primary));
    color: #fff;
    padding: 12px 20px;
    margin: -24px -16px 20px;
    border-radius: 0;
}

.rain-mp-topbar .rain-ob-back {
    color: rgba(255, 255, 255, 0.9);
}

.rain-mp-topbar .rain-ob-back:hover {
    color: #fff;
}

.rain-mp-topbar .rain-icon-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
}

.rain-mp-topbar .rain-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- My Project Header — Card style --- */
.rain-mp-header {
    background: var(--rain-bg-card);
    border: 1px solid var(--rain-border);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

/* --- Milestone Timeline Markers --- */
.rain-mp-ms--complete .rain-mp-ms__marker {
    background: var(--rain-success);
    border-color: var(--rain-success);
}

.rain-mp-ms--complete:not(:last-child)::before {
    background: var(--rain-success);
}

/* --- Task Cards — Active highlight --- */
.rain-mp-task {
    border-radius: 10px;
}

.rain-mp-task--active {
    border-left-width: 4px;
    border-left-color: var(--rain-cta);
    background: rgba(232, 163, 23, 0.03);
}

/* --- File Cards --- */
.rain-mp-file {
    border-radius: 10px;
}

/* --- Global Card Hover Lift --- */
.rain-card {
    border-radius: var(--rain-radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.rain-card:hover {
    transform: translateY(-1px);
}

/* --- Responsive: v8.9.0 --- */
@media (max-width: 768px) {
    .rain-app-bar {
        margin: -20px -14px 16px;
        padding: 12px 16px;
    }

    .rain-pd-header {
        margin: -20px -14px 16px;
        padding: 18px 16px;
    }

    .rain-mp-topbar {
        margin: -20px -14px 16px;
        padding: 10px 16px;
    }
}

@media (max-width: 600px) {
    .rain-app-bar {
        margin: -16px -12px 14px;
        padding: 10px 14px;
    }

    .rain-app-bar__logo {
        font-size: 15px;
    }

    .rain-pd-header {
        margin: -16px -12px 14px;
        padding: 16px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .rain-pd-header__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .rain-mp-topbar {
        margin: -16px -12px 14px;
        padding: 10px 14px;
    }

    .rain-opp-detail__hero {
        height: 160px;
        border-radius: 10px;
    }

    .rain-pd-nav__item {
        padding: 4px 10px;
    }
}

/* ==========================================================================
   v9.15.3 — Login page theme-override safety
   Many WP themes apply their own h1 + paragraph colors inside post content,
   which overrode .rain-login-title and made "RAIN Village" appear blue-on-
   blue and unreadable. These rules boost our specificity above typical
   theme selectors and defend the title, subtitle, background, and links.
   ========================================================================== */
.rain-portal.rain-portal--login {
    background: transparent;
}

.rain-portal.rain-portal--login .rain-login-wrap {
    background: #FFFFFF;
    color: #1A1A1A;
}

.rain-portal.rain-portal--login .rain-login-header {
    background: #0D47A1;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    color: #FFFFFF;
    padding: 36px 24px 28px;
    text-align: center;
    border-bottom: none;
}

.rain-portal.rain-portal--login .rain-login-header .rain-login-title,
.rain-portal.rain-portal--login .rain-login-header h1 {
    color: #FFFFFF;
    background: transparent;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0 0 6px;
    padding: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    text-transform: none;
    border: none;
}

.rain-portal.rain-portal--login .rain-login-header .rain-login-subtitle,
.rain-portal.rain-portal--login .rain-login-header p {
    color: #FFFFFF;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.92;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
}

.rain-portal.rain-portal--login .rain-login-body {
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 28px 28px 24px;
}

.rain-portal.rain-portal--login .rain-login-body p,
.rain-portal.rain-portal--login .rain-login-body label,
.rain-portal.rain-portal--login .rain-login-body .rain-form__label {
    color: #1A1A1A;
}

.rain-portal.rain-portal--login .rain-login-body .rain-form__input {
    color: #1A1A1A;
    background: #FFFFFF;
    border: 1px solid #D0D7DE;
}

.rain-portal.rain-portal--login .rain-login-body .rain-form__input:focus {
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
    outline: none;
}

.rain-portal.rain-portal--login .rain-login-footer a {
    color: #1565C0;
}

.rain-portal.rain-portal--login .rain-login-footer a:hover {
    color: #0D47A1;
    text-decoration: underline;
}

/* Notice + error states */
.rain-portal.rain-portal--login .rain-notice {
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.rain-portal.rain-portal--login .rain-notice.rain-notice--error {
    background: #FDECEA;
    color: #B3261E;
    border: 1px solid #F5C6C2;
}

.rain-portal.rain-portal--login .rain-notice.rain-notice--success {
    background: #E6F4EA;
    color: #1E8E3E;
    border: 1px solid #BFE3C9;
}

/* ==========================================================================
   v9.15.9 — Defensive diagnostic panel hide
   The v9.15.6 diagnostic panel was removed in v9.15.8, but if the HTML
   is somehow still present (baked into the WP login page content by a
   prior paste, cached PHP bytecode, or any third-party caching layer),
   this rule ensures it never renders visually.
   ========================================================================== */
.rain-diag,
#rain-diag,
#rain-diag-body,
#rain-diag-copy,
[class^="rain-diag__"],
[class*=" rain-diag__"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
