
.paperstars-instructions-card {
    position: relative;
    overflow: hidden;

    background: #E9DCC1 !important;

    border: 1px solid rgba(31, 35, 24, 0.14) !important;
    border-radius: 20px !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.09) !important;

    margin: 16px 0 24px 0 !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.paperstars-instructions-card::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(75, 107, 7, 0.10) 1px, transparent 1px),
        radial-gradient(rgba(189, 116, 38, 0.08) 1px, transparent 1px);
    background-position: 0 0, 14px 14px;
    background-size: 28px 28px;
    opacity: 0.35;
    pointer-events: none;
}

.paperstars-instructions-card::after {
    content: "" !important;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: linear-gradient(180deg, #4B6B07, #BD7426) !important;
    opacity: 0.9;
}

.paperstars-instructions-card>.card-header {
    background: transparent !important;
    border-bottom: none !important;

    padding: 18px 22px 10px 26px !important;
    margin-bottom: 2rem;

    color: #1f2318 !important;
    font-weight: 900 !important;
    font-size: 2rem !important;
    letter-spacing: 0.15px !important;
}

.paperstars-instructions-card>.card-body {
    background: transparent !important;

    padding: 0 22px 22px 26px !important;

    color: rgba(31, 35, 24, 0.78) !important;
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
}


.paperstars-instructions-card>.card-body p {
    margin: 0 0 12px 0 !important;
    margin-bottom: 0.45rem !important;
}

.paperstars-instructions-card>.card-body ul,
.paperstars-instructions-card>.card-body ol {
    margin-top: 0.35rem !important;
    margin-bottom: 0.45rem !important;
}

/* =========================
   Instruction-card callouts
   ========================= */

.paperstars-instructions-card .ps-callout {
    position: relative;
    overflow: hidden;

    border-radius: 18px;
    padding: 18px 18px 18px 48px;
    margin-top: 18px;
    margin-bottom:18px;

    background: #ffffff;
    border: 1px solid rgba(31, 35, 24, 0.22);

    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.paperstars-instructions-card .ps-callout::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    bottom: 12px;
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(75, 107, 7, 0.95), rgba(189, 116, 38, 0.90));
    opacity: 0.95;
}

.paperstars-instructions-card .ps-callout::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        radial-gradient(rgba(75, 107, 7, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(189, 116, 38, 0.04) 1px, transparent 1px);
    background-position: 0 0, 14px 14px;
    background-size: 28px 28px;
    opacity: 0.12;
}

.paperstars-instructions-card .ps-callout strong {
    display: block;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    color: rgba(31, 35, 24, 0.90);
    margin: 0 0 8px 0;
}

.paperstars-instructions-card .ps-callout p {
    margin: 0;
    color: rgba(31, 35, 24, 0.78);
}

.paperstars-instructions-card .ps-callout> :last-child {
    margin-bottom: 0;
}

/* =========================
   Variant system
   ========================= */

.paperstars-instructions-card .ps-callout strong {
    position: relative;
    padding-bottom: 6px;
}

.paperstars-instructions-card .ps-callout strong::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 92px;
    height: 2px;

    border-radius: 999px;
    opacity: 0.55;
}

.paperstars-instructions-card .ps-callout-goals {
    background: rgba(75, 107, 7, 0.12);
    border-color: rgba(75, 107, 7, 0.32);
}

.paperstars-instructions-card .ps-callout-goals::before {
    background: linear-gradient(180deg, rgba(75, 107, 7, 1), rgba(75, 107, 7, 0.55));
}

.paperstars-instructions-card .ps-callout-goals strong::after {
    background: rgba(75, 107, 7, 0.55);
}

.paperstars-instructions-card .ps-callout-rate {
    background: rgba(189, 116, 38, 0.14);
    border-color: rgba(189, 116, 38, 0.35);
}

.paperstars-instructions-card .ps-callout-rate::before {
    background: linear-gradient(180deg, rgba(189, 116, 38, 1), rgba(189, 116, 38, 0.55));
}

.paperstars-instructions-card .ps-callout-rate strong::after {
    background: rgba(189, 116, 38, 0.55);
}

.paperstars-instructions-card .ps-callout-warning {
    background: rgba(189, 116, 38, 0.18);
    border-color: rgba(145, 68, 28, 0.45);
}
.paperstars-instructions-card .ps-callout-warning::before {
    background: linear-gradient(180deg, rgba(145, 68, 28, 1), rgba(189, 116, 38, 0.60));
}

.paperstars-instructions-card .ps-callout-warning strong::after {
    background: rgba(145, 68, 28, 0.55);
}

.paperstars-instructions-card .ps-callout-how {
    background: rgba(31, 35, 24, 0.08);
    border-color: rgba(31, 35, 24, 0.30);
}

.paperstars-instructions-card .ps-callout-how::before {
    background: linear-gradient(180deg, rgba(31, 35, 24, 0.80), rgba(31, 35, 24, 0.35));
}

.paperstars-instructions-card .ps-callout-how strong::after {
    background: rgba(31, 35, 24, 0.35);
}

.paperstars-instructions-card .ps-callout-reflect {
    background: rgba(75, 107, 7, 0.10);
    border-color: rgba(75, 107, 7, 0.28);
}

.paperstars-instructions-card .ps-callout-reflect::before {
    background: linear-gradient(180deg, rgba(75, 107, 7, 0.90), rgba(189, 116, 38, 0.70));
}

.paperstars-instructions-card .ps-callout-reflect strong::after {
    background: rgba(75, 107, 7, 0.45);
}

.paperstars-instructions-card .ps-callout-stretch {
    background: rgba(45, 78, 118, 0.12);
    border-color: rgba(45, 78, 118, 0.32);
}

.paperstars-instructions-card .ps-callout-stretch::before {
    background: linear-gradient(180deg, rgba(45, 78, 118, 0.95), rgba(45, 78, 118, 0.45));
}

.paperstars-instructions-card .ps-callout-stretch strong::after {
    background: rgba(45, 78, 118, 0.45);
}