.sp-wrap{max-width:1280px}.sp-hero{background:linear-gradient(135deg,#20203a,#5b2b73 52%,#f5b6d2);color:#fff;border-radius:24px;padding:28px;margin:18px 0;box-shadow:0 18px 40px rgba(0,0,0,.12)}.sp-hero h1{color:#fff;font-size:42px;line-height:1.05;margin:.1em 0}.sp-kicker{text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:12px;margin:0 0 8px}.sp-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px}.sp-card{background:#fff;border:1px solid #dcdcde;border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 10px 24px rgba(0,0,0,.05)}.sp-card details{border:1px solid #e6e6ea;border-radius:14px;margin:0 0 14px;background:#fbfbfd}.sp-card summary{font-weight:700;cursor:pointer;padding:14px 16px;font-size:16px}.sp-section{padding:0 16px 16px}.sp-section label{display:block;font-weight:700;margin:10px 0 6px}.sp-section input[type=text],.sp-section input[type=number],.sp-section input[type=file],.sp-section select{width:100%;max-width:100%;min-height:42px;border-radius:10px}.sp-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sp-checks label{font-weight:600;background:#fff;border:1px solid #ececf1;border-radius:12px;padding:10px 12px;margin:8px 0}.sp-button{min-height:46px;border-radius:999px!important;padding:0 24px!important;font-weight:700!important}.sp-help ul{list-style:disc;margin-left:20px}.sp-results{margin-top:24px}.sp-results-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:#fff;border-radius:18px;border:1px solid #dcdcde;padding:20px;margin-bottom:18px}.sp-downloads{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.sp-copybox{width:100%;min-height:260px;font-family:Consolas,Monaco,monospace;border-radius:14px}.sp-table-wrap{overflow-x:auto}.sp-table th{font-weight:800}.sp-table td{vertical-align:top}.show-preparer-latest{border:1px solid #ddd;border-radius:16px;padding:18px;background:#fff}@media(max-width:900px){.sp-grid,.sp-two-col{grid-template-columns:1fr}.sp-results-head{display:block}.sp-hero h1{font-size:32px}}
.sp-saved{margin-top:24px}.sp-saved-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sp-empty{border:1px dashed #c8c8d6;border-radius:14px;background:#fbfbff;padding:18px;font-weight:600}.sp-saved-list{display:grid;gap:12px}.sp-saved-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #ececf1;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfbff);padding:14px 16px}.sp-saved-item strong{display:block;font-size:16px;color:#1d1d32}.sp-saved-item span{display:block;margin-top:4px;color:#555}.sp-saved-item small{display:block;margin-top:6px;color:#646970}.sp-saved-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sp-saved-actions form{margin:0}@media(max-width:760px){.sp-saved-item{display:block}.sp-saved-actions{margin-top:12px}}

.sp-intro-writer{border:1px solid #ead7ff;background:linear-gradient(180deg,#fff,#fff8fc)}.sp-intro-writer h2{margin-top:0}.sp-no-pad{padding-left:0!important;padding-right:0!important}.sp-intro-writer textarea{width:100%;border-radius:14px}.sp-intro-copy{min-height:150px}.sp-section textarea{width:100%;border-radius:14px;border:1px solid #8c8f94;padding:10px}
.sp-editor-box{width:100%;min-height:190px;border-radius:16px;border:1px solid #8c8f94;padding:14px;font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.5;background:#fff}.sp-editor-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}.sp-editor-note{margin-top:12px!important}.sp-intro-writer .button:not(.button-primary){border-radius:999px;padding:6px 16px}
.sp-link-lines {
    white-space: normal;
    line-height: 1.55;
}
.sp-link-lines br {
    content: "";
    display: block;
    margin: 0.28rem 0;
}

/* Front-end portal */
.sp-portal-wrap{max-width:1180px;margin:24px auto;padding:0 18px;box-sizing:border-box}.sp-portal-wrap *{box-sizing:border-box}.sp-portal-wrap .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:8px 16px;min-height:40px;border:1px solid #b8b8c8;background:#fff;color:#20203a;font-weight:700}.sp-portal-wrap .button-primary{background:#5b2b73!important;border-color:#5b2b73!important;color:#fff!important}.sp-portal-hero{margin-top:0}.sp-front-notice{padding:14px 16px;border-radius:14px;margin:0 0 18px;font-weight:700}.sp-front-success{background:#eefaf2;border:1px solid #a8dfb7;color:#135728}.sp-front-error{background:#fff0f0;border:1px solid #efb1b1;color:#8a1f1f}.sp-portal-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.sp-portal-step{border:1px solid #ececf1;border-radius:16px;padding:14px;background:linear-gradient(180deg,#fff,#fbfbff)}.sp-portal-step span{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;background:#5b2b73;color:#fff;font-weight:800;margin-bottom:8px}.sp-portal-step strong{display:block;font-size:16px}.sp-portal-step p{margin:.35rem 0 0;color:#555}.sp-portal-form input[type=text],.sp-portal-form input[type=number],.sp-portal-form input[type=password],.sp-portal-form input[type=file],.sp-portal-form select,.sp-portal-login input[type=password]{width:100%;min-height:42px;border:1px solid #b8b8c8;border-radius:10px;padding:8px 10px}.sp-portal-results .widefat{width:100%;border-collapse:collapse;background:#fff}.sp-portal-results .widefat th,.sp-portal-results .widefat td{border-bottom:1px solid #ececf1;padding:10px;text-align:left}.sp-portal-results .striped tbody tr:nth-child(odd){background:#fbfbff}.sp-portal-login label{display:block;font-weight:700;margin:0 0 6px}.sp-portal-login button{margin-top:12px}@media(max-width:800px){.sp-portal-steps{grid-template-columns:1fr}.sp-portal-wrap{padding:0 12px}.sp-portal-results .widefat{font-size:14px}}

/* v2.2 readability and accessibility improvements */
.sp-wrap,
.sp-portal-wrap{
    color:#1f2330;
    font-size:16px;
    line-height:1.55;
}
.sp-wrap p,
.sp-wrap li,
.sp-wrap td,
.sp-wrap small,
.sp-portal-wrap p,
.sp-portal-wrap li,
.sp-portal-wrap td,
.sp-portal-wrap small{
    color:#2c3142;
}
.sp-card,
.sp-results-head,
.show-preparer-latest,
.sp-saved-item,
.sp-portal-step,
.sp-portal-results .widefat,
.sp-portal-wrap .sp-card{
    background:#ffffff;
    color:#1f2330;
}
.sp-card h1,
.sp-card h2,
.sp-card h3,
.sp-results h2,
.sp-results h3,
.sp-saved-item strong,
.sp-portal-wrap h1,
.sp-portal-wrap h2,
.sp-portal-wrap h3,
.sp-portal-step strong{
    color:#171827;
}
.sp-card details,
.sp-portal-wrap details{
    background:#ffffff;
    border-color:#d7d9e5;
}
.sp-card summary,
.sp-portal-wrap summary{
    color:#171827;
    background:#f5f6fb;
    border-radius:14px;
}
.sp-section label,
.sp-portal-form label,
.sp-portal-login label{
    color:#171827;
    font-weight:800;
}
.sp-section input[type=text],
.sp-section input[type=number],
.sp-section input[type=file],
.sp-section input[type=password],
.sp-section select,
.sp-section textarea,
.sp-portal-form input[type=text],
.sp-portal-form input[type=number],
.sp-portal-form input[type=password],
.sp-portal-form input[type=file],
.sp-portal-form select,
.sp-portal-form textarea,
.sp-portal-login input[type=password],
.sp-copybox,
.sp-editor-box{
    background:#ffffff!important;
    color:#111827!important;
    border:2px solid #6b7280!important;
    box-shadow:none;
}
.sp-section input::placeholder,
.sp-section textarea::placeholder,
.sp-portal-form input::placeholder,
.sp-portal-form textarea::placeholder{
    color:#5f6678!important;
    opacity:1;
}
.sp-checks label{
    background:#ffffff;
    color:#171827;
    border-color:#cfd3df;
}
.sp-link-lines,
.sp-link-lines *{
    color:#111827!important;
}
.sp-table th,
.sp-portal-results .widefat th{
    color:#111827;
    background:#eef0f7;
    font-weight:900;
}
.sp-table td,
.sp-portal-results .widefat td{
    color:#1f2330;
}
.sp-portal-results .striped tbody tr:nth-child(odd){
    background:#f6f7fc;
}
.sp-portal-wrap .button{
    background:#ffffff!important;
    color:#171827!important;
    border:2px solid #5b2b73!important;
}
.sp-portal-wrap .button-primary,
.sp-wrap .button-primary{
    background:#4b1f63!important;
    border-color:#4b1f63!important;
    color:#ffffff!important;
}
.sp-portal-hero.sp-hero,
.sp-hero{
    text-shadow:0 1px 2px rgba(0,0,0,.32);
}
.sp-hero p,
.sp-hero .sp-kicker{
    color:#ffffff!important;
}
.sp-muted,
.sp-help,
.sp-editor-note,
.sp-saved-item span,
.sp-saved-item small,
.sp-portal-step p{
    color:#374151!important;
}
