/* CandleStan v0.86.7.1 — Auth Shell */
:root { --csp-auth-navy:#082a56; --csp-auth-teal:#08a58f; --csp-auth-muted:#718198; --csp-auth-line:#dbe6ef; }
html { overflow-x: clip; }
body.candlestan-auth-page { overflow-x: clip; }
body.candlestan-auth-page #content.site-content,
body.candlestan-auth-page #content.site-content.site-container-width,
body.candlestan-auth-page #content .theme-wrapper { width:100%; max-width:none; margin:0; padding-left:0; padding-right:0; }

.csp-auth-shell,
.csp-account-shell { width:100%; max-width:100%; overflow:clip; color:var(--csp-auth-navy); background:radial-gradient(circle at 100% 0,rgba(15,193,172,.14),transparent 31%),radial-gradient(circle at 0 100%,rgba(91,122,214,.11),transparent 28%),linear-gradient(180deg,#f9fcfe 0,#f3fafc 100%); padding:64px 24px 86px; }
.csp-auth-shell__inner,.csp-account-shell__inner { width:min(1180px,100%); margin:0 auto; }
.csp-auth-shell__inner { min-height:620px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(380px,.78fr); gap:54px; align-items:center; }
.csp-auth-brand { padding:24px 10px; }
.csp-auth-eyebrow { display:inline-block; color:var(--csp-auth-teal); font-size:12px; font-weight:950; letter-spacing:.08em; }
.csp-auth-brand h1 { margin:10px 0 12px; font-size:clamp(44px,5vw,70px); line-height:1.12; color:var(--csp-auth-navy); }
.csp-auth-brand p { max-width:620px; margin:0; color:var(--csp-auth-muted); font-size:17px; line-height:2; }
.csp-auth-brand__chips { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.csp-auth-brand__chips span { padding:9px 13px; border:1px solid rgba(8,165,143,.18); border-radius:999px; background:rgba(255,255,255,.7); color:#087b6c; font-size:11px; font-weight:850; }
.csp-auth-card { padding:34px; border:1px solid rgba(205,222,235,.96); border-radius:28px; background:rgba(255,255,255,.94); box-shadow:0 26px 70px rgba(12,44,80,.12); }
.csp-auth-card__head > span { color:var(--csp-auth-teal); font-size:10px; font-weight:950; letter-spacing:.08em; }
.csp-auth-card__head h2 { margin:6px 0 6px; font-size:34px; color:var(--csp-auth-navy); }
.csp-auth-card__head p { margin:0 0 24px; color:var(--csp-auth-muted); font-size:13px; line-height:1.9; }
.csp-auth-form { display:grid; gap:15px; }
.csp-auth-form label > span { display:block; margin-bottom:7px; color:#607187; font-size:11px; font-weight:850; }
.csp-auth-form input[type=text],.csp-auth-form input[type=email],.csp-auth-form input[type=password] { width:100%; height:50px; border:1px solid var(--csp-auth-line); border-radius:14px; padding:0 14px; background:#fbfdfe; color:var(--csp-auth-navy); font:inherit; font-size:14px; outline:0; transition:border-color .15s ease,box-shadow .15s ease; }
.csp-auth-form input:focus { border-color:#69d0c1; box-shadow:0 0 0 3px rgba(9,167,143,.08); }
.csp-auth-check { display:flex; align-items:center; gap:8px; width:max-content; }
.csp-auth-check span { margin:0!important; }
.csp-auth-form button { min-height:50px; border:0; border-radius:14px; background:linear-gradient(135deg,#0b3367,#08a58f); color:#fff; font:inherit; font-size:13px; font-weight:950; cursor:pointer; box-shadow:0 14px 30px rgba(8,50,103,.17); }
.csp-auth-card__links { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-top:18px; padding-top:16px; border-top:1px solid #edf2f5; color:#7e8b9c; font-size:11px; }
.csp-auth-card__links a { color:#07826f; font-weight:900; text-decoration:none; }
.csp-auth-message { margin-bottom:18px; padding:11px 13px; border-radius:12px; font-size:11px; line-height:1.8; }
.csp-auth-message.is-success { background:#ebfaf5; color:#087965; border:1px solid #c8eee2; }
.csp-auth-message.is-error { background:#fff2f4; color:#b63450; border:1px solid #f3ced7; }
.csp-auth-honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }

.csp-account-shell__inner { display:grid; gap:24px; }
.csp-account-hero { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:38px 42px; border:1px solid #d8e5ee; border-radius:28px; background:rgba(255,255,255,.93); box-shadow:0 22px 60px rgba(12,44,80,.08); }
.csp-account-hero h1 { margin:7px 0 7px; font-size:clamp(38px,4vw,58px); color:var(--csp-auth-navy); }
.csp-account-hero p { margin:0; color:var(--csp-auth-muted); font-size:14px; line-height:1.9; }
.csp-account-logout { flex:0 0 auto; padding:11px 18px; border:1px solid rgba(198,144,123,.35); border-radius:999px; background:linear-gradient(135deg,#b77b67 0%,#d2a38d 52%,#e2c1ae 100%); color:#fff; font-size:11px; font-weight:900; text-decoration:none; box-shadow:0 12px 24px rgba(183,123,103,.22); }
.csp-account-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.csp-account-stats a { min-height:130px; display:grid; place-content:center; text-align:center; padding:20px; border:1px solid #dce7ef; border-radius:22px; background:rgba(255,255,255,.9); text-decoration:none; box-shadow:0 13px 30px rgba(12,44,80,.05); }
.csp-account-stats span { color:#7e8c9f; font-size:11px; font-weight:800; }
.csp-account-stats strong { margin-top:5px; color:var(--csp-auth-navy); font-size:35px; }
.csp-account-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.csp-account-actions > * { min-height:150px; display:flex; flex-direction:column; justify-content:flex-end; padding:24px; border:1px solid #dbe6ef; border-radius:22px; background:#fff; color:var(--csp-auth-navy); text-decoration:none; }
.csp-account-actions .is-primary { background:linear-gradient(135deg,#0a3368,#0b8f81); color:#fff; border-color:transparent; }
.csp-account-actions .is-soon { background:#f9fbfc; color:#8b96a5; }
.csp-account-actions strong { font-size:20px; }
.csp-account-actions span { margin-top:7px; font-size:11px; line-height:1.7; opacity:.78; }

.csp-account-menu-item > a { border-radius:999px!important; padding-inline:13px!important; background:#eaf9f6!important; color:#087e70!important; font-weight:900!important; }
.csp-account-menu-item.is-logged-in > a { background:#eef4ff!important; color:#2e5ca8!important; }

@media(max-width:980px){.csp-auth-shell__inner{grid-template-columns:1fr;min-height:auto}.csp-auth-brand{text-align:center}.csp-auth-brand p{margin-inline:auto}.csp-auth-brand__chips{justify-content:center}.csp-account-stats,.csp-account-actions{grid-template-columns:1fr}.csp-account-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.csp-auth-shell,.csp-account-shell{padding:32px 14px 58px}.csp-auth-card{padding:24px 18px;border-radius:22px}.csp-auth-card__head h2{font-size:29px}.csp-auth-brand h1{font-size:44px}.csp-account-hero{padding:26px 20px}.csp-account-logout{width:100%;text-align:center}}

/* v0.86.9 — Account Dashboard Polish & Premium Capability Foundation */
.csp-account-shell {
    padding-top: 56px;
}

.csp-account-shell__inner {
    width: min(1240px, 100%);
    gap: 22px;
}

.csp-account-hero {
    align-items: stretch;
    padding: 36px 40px;
    background:
        radial-gradient(circle at 0 100%, rgba(11,165,143,.08), transparent 34%),
        rgba(255,255,255,.94);
}

.csp-account-hero__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.csp-account-hero__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.csp-account-plan-badge,
.csp-account-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.csp-account-plan-badge.is-free {
    border: 1px solid #dbe5ee;
    background: #f7fafc;
    color: #68798f;
}

.csp-account-plan-badge.is-premium {
    border: 1px solid rgba(235,188,73,.32);
    background: #fff9e8;
    color: #966700;
}

.csp-account-verified {
    border: 1px solid rgba(10,165,143,.18);
    background: #eaf9f5;
    color: #087966;
}

.csp-account-hero h1 {
    margin-top: 12px;
}

.csp-account-hero__side {
    flex: 0 0 min(360px, 38%);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    flex-direction: column;
}

.csp-account-identity {
    position: relative;
    width: 100%;
    padding: 19px 18px;
    border: 1px solid rgba(98,192,195,.24);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10,50,103,.96) 0%, rgba(11,95,126,.93) 52%, rgba(10,165,143,.90) 100%);
    box-shadow: 0 18px 36px rgba(8,43,85,.18);
    text-align: center;
}
.csp-account-identity::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.csp-account-identity span,
.csp-account-identity small {
    display: block;
    color: rgba(228,244,246,.78);
    font-size: 10px;
    line-height: 1.9;
}
.csp-account-identity span { letter-spacing: .02em; }

.csp-account-identity strong {
    display: block;
    margin: 5px 0 4px;
    color: #fff;
    font-size: 14px;
    direction: ltr;
    text-align: center;
    overflow-wrap: anywhere;
}

.csp-account-stats a {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.csp-account-stats a::after {
    content: '';
    position: absolute;
    inset-inline: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg,#0a9e8b,#5d82df);
    opacity: .48;
}

.csp-account-stats a:hover {
    transform: translateY(-2px);
    border-color: rgba(10,165,143,.25);
    box-shadow: 0 16px 34px rgba(12,44,80,.08);
}

.csp-account-stats small {
    margin-top: 4px;
    color: #9aa5b3;
    font-size: 9px;
}

.csp-account-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .72fr);
    gap: 18px;
}

.csp-account-main-panel,
.csp-account-status-panel {
    min-width: 0;
    padding: 28px;
    border: 1px solid #dce7ef;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(12,44,80,.045);
}

.csp-account-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.csp-account-section-head h2 {
    margin: 5px 0 2px;
    color: var(--csp-auth-navy);
    font-size: 27px;
}

.csp-account-section-head p {
    margin: 0;
    color: var(--csp-auth-muted);
    font-size: 12px;
    line-height: 1.8;
}

.csp-account-main-panel .csp-account-actions {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.csp-account-main-panel .csp-account-actions > * {
    min-height: 164px;
    justify-content: flex-start;
    padding: 21px;
    background: linear-gradient(180deg,#fff 0%,#fbfdfe 100%);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.csp-account-main-panel .csp-account-actions > *:hover {
    transform: translateY(-2px);
    border-color: rgba(9,165,143,.26);
    box-shadow: 0 12px 28px rgba(12,44,80,.07);
}

.csp-account-main-panel .csp-account-actions .is-primary {
    background: linear-gradient(145deg,#0a3267 0%,#087f79 100%);
}

.csp-account-action-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border-radius: 13px;
    background: #edf8f6;
    color: #087e70;
    font-size: 18px!important;
    font-weight: 900;
    opacity: 1!important;
}

.csp-account-actions .is-primary .csp-account-action-icon {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.csp-account-usage {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8eff4;
}

.csp-account-usage__item {
    padding: 16px;
    border-radius: 17px;
    background: #f8fbfc;
}

.csp-account-usage__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.csp-account-usage__label strong {
    color: var(--csp-auth-navy);
    font-size: 12px;
}

.csp-account-usage__label span {
    color: #7d8ca0;
    font-size: 10px;
    direction: ltr;
}

.csp-account-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0f4;
}

.csp-account-progress i {
    display: block;
    height: 100%;
    min-width: 4px;
    max-width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#08a58f,#55d7c5);
}

.csp-account-status-panel {
    display: flex;
    flex-direction: column;
}

.csp-account-status-list {
    margin: 0;
    display: grid;
}

.csp-account-status-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #edf2f5;
}

.csp-account-status-list dt {
    color: #7b899c;
    font-size: 11px;
}

.csp-account-status-list dd {
    margin: 0;
    color: var(--csp-auth-navy);
    font-size: 11px;
    font-weight: 900;
}

.csp-account-status-list dd.is-good {
    color: #087c6c;
}

.csp-account-security-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: auto;
    padding: 15px;
    border-radius: 16px;
    background: #eef9f6;
    color: #58766f;
}

.csp-account-security-note span {
    font-size: 19px;
}

.csp-account-security-note p {
    margin: 0;
    font-size: 10px;
    line-height: 1.9;
}

.csp-account-premium {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1.22fr) minmax(420px,.92fr);
    gap: 22px;
    align-items: center;
    padding: 28px 32px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%,rgba(45,222,199,.21),transparent 28%),
        linear-gradient(135deg,#071f43 0%,#0a3f68 52%,#087f79 100%);
    box-shadow: 0 22px 54px rgba(6,35,67,.16);
}

.csp-account-premium::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -140px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018);
}

.csp-account-premium__intro,
.csp-account-premium__features {
    position: relative;
    z-index: 1;
}

.csp-account-premium__eyebrow {
    display: block;
    color: #65e1d0;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .1em;
}

.csp-account-premium h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
}

.csp-account-premium__title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 8px 0 10px;
    flex-wrap: wrap;
}

.csp-account-premium p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.95;
}

.csp-account-premium__soon {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.csp-account-premium__features {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    align-self: stretch;
}

.csp-account-premium__features > div {
    padding: 15px 14px;
    min-height: 118px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.csp-account-premium__features span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 11px;
    border-radius: 11px;
    background: rgba(99,224,205,.14);
    color: #6be2d2;
    font-size: 17px;
}

.csp-account-premium__features strong,
.csp-account-premium__features small {
    display: block;
}

.csp-account-premium__features strong {
    color: #fff;
    font-size: 12px;
}

.csp-account-premium__features small {
    margin-top: 5px;
    color: rgba(255,255,255,.62);
    font-size: 9px;
    line-height: 1.7;
}

@media(max-width:1180px){
    .csp-account-premium__features { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media(max-width:1050px){
    .csp-account-dashboard-grid,
    .csp-account-premium { grid-template-columns:1fr; }
    .csp-account-hero__side { flex-basis: 320px; }
}

@media(max-width:850px){
    .csp-account-hero { flex-direction:column; }
    .csp-account-hero__side { width:100%; flex-basis:auto; align-items:stretch; }
    .csp-account-main-panel .csp-account-actions { grid-template-columns:1fr; }
    .csp-account-usage { grid-template-columns:1fr; }
}

@media(max-width:620px){
    .csp-account-main-panel,
    .csp-account-status-panel,
    .csp-account-premium { padding:21px 17px; border-radius:21px; }
    .csp-account-premium__features { grid-template-columns:1fr; }
    .csp-account-hero__meta { align-items:flex-start; }
    .csp-account-premium__title-row { justify-content:flex-start; }
}


/* v0.86.9.2 — Logout Button Position & Rose-Plum Polish */
.csp-account-hero__side {
    position: relative;
    padding-top: 54px;
}

.csp-account-logout {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    min-width: 0;
    align-self: auto;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: linear-gradient(135deg,#672544 0%,#4f2948 48%,#273553 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 12px 24px rgba(76,37,67,.20);
    white-space: nowrap;
}

.csp-account-logout:hover,
.csp-account-logout:focus-visible {
    color: #fff;
    background: linear-gradient(135deg,#742b4c 0%,#57304f 48%,#2d3e61 100%);
    box-shadow: 0 14px 28px rgba(76,37,67,.25);
    transform: translateY(-1px);
    outline: none;
}

@media(max-width:850px){
    .csp-account-hero__side {
        padding-top: 52px;
    }
}

@media(max-width:620px){
    .csp-account-hero__side {
        padding-top: 0;
    }

    .csp-account-logout {
        position: static;
        width: auto;
        align-self: flex-start;
        margin-top: 2px;
    }
}

/* v0.87.2 — Notification Settings UI */
.csp-account-notification-settings {
    padding: 30px;
    border: 1px solid #dce7ef;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(19,181,160,.08), transparent 30%),
        linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
    box-shadow: 0 16px 38px rgba(12,44,80,.055);
}

.csp-account-notification-settings__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.csp-account-notification-settings__head h2 {
    margin: 5px 0 3px;
    color: var(--csp-auth-navy);
    font-size: 30px;
}

.csp-account-notification-settings__head p {
    margin: 0;
    color: var(--csp-auth-muted);
    font-size: 12px;
    line-height: 1.8;
}

.csp-account-notification-settings__email {
    min-width: 240px;
    padding: 12px 15px;
    border: 1px solid #dce8ef;
    border-radius: 16px;
    background: #f7fbfc;
    text-align: center;
}

.csp-account-notification-settings__email span,
.csp-account-notification-settings__email strong {
    display: block;
}

.csp-account-notification-settings__email span {
    color: #8492a4;
    font-size: 9px;
    font-weight: 800;
}

.csp-account-notification-settings__email strong {
    margin-top: 4px;
    color: var(--csp-auth-navy);
    font-size: 12px;
    direction: ltr;
    overflow-wrap: anywhere;
}

.csp-notification-channel-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.csp-notification-channel {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 118px;
    padding: 18px;
    border: 1px solid #dce7ef;
    border-radius: 20px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease;
}

.csp-notification-channel.is-active {
    border-color: rgba(9,165,143,.28);
    background: linear-gradient(180deg,#fff 0%,#f4fbf9 100%);
    box-shadow: 0 11px 28px rgba(8,95,87,.06);
}

.csp-notification-channel.is-future {
    background: linear-gradient(180deg,#fbfcfd 0%,#f7f9fb 100%);
    opacity: .76;
}

.csp-notification-channel__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #edf8f6;
    color: #07806f;
    font-size: 19px;
    font-weight: 900;
}

.csp-notification-channel.is-future .csp-notification-channel__icon {
    background: #f0f3f6;
    color: #8794a5;
}

.csp-notification-channel__copy {
    min-width: 0;
}

.csp-notification-channel__title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.csp-notification-channel__title-row strong {
    color: var(--csp-auth-navy);
    font-size: 14px;
}

.csp-notification-channel__copy p {
    margin: 7px 0 0;
    color: #78879a;
    font-size: 10px;
    line-height: 1.85;
}

.csp-notification-channel__badge,
.csp-notification-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.csp-notification-channel__badge.is-on {
    background: #e8f9f4;
    color: #087b69;
}

.csp-notification-channel__badge.is-off {
    background: #f1f4f7;
    color: #7b8999;
}

.csp-notification-channel__badge.is-soon,
.csp-notification-lock {
    background: #f2f5f7;
    color: #8894a3;
}

.csp-notification-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.csp-notification-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.csp-notification-switch > span {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #dce5ea;
    transition: background .18s ease, box-shadow .18s ease;
}

.csp-notification-switch > span::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(12,44,80,.16);
    transition: transform .18s ease;
}

.csp-notification-switch input:checked + span {
    background: linear-gradient(90deg,#0b9a87,#12bca5);
    box-shadow: 0 0 0 3px rgba(9,165,143,.08);
}

.csp-notification-switch input:checked + span::after {
    transform: translateX(-20px);
}

.csp-notification-switch input:focus-visible + span {
    outline: 2px solid rgba(8,79,142,.3);
    outline-offset: 2px;
}

.csp-notification-switch input:disabled + span {
    opacity: .45;
    cursor: not-allowed;
}

.csp-notification-settings-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 10px;
    line-height: 1.8;
}

.csp-notification-settings-note.is-warning {
    border: 1px solid #f1dbaf;
    background: #fff9ed;
    color: #8b681d;
}

.csp-notification-settings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e9eff3;
}

.csp-notification-event-summary span,
.csp-notification-event-summary strong,
.csp-notification-event-summary small {
    display: block;
}

.csp-notification-event-summary span {
    color: #8d99a8;
    font-size: 9px;
}

.csp-notification-event-summary strong {
    margin-top: 2px;
    color: var(--csp-auth-navy);
    font-size: 12px;
}

.csp-notification-event-summary small {
    margin-top: 3px;
    color: #7c8a9c;
    font-size: 9px;
    line-height: 1.8;
}

.csp-notification-settings-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.csp-notification-save-status {
    min-height: 18px;
    color: #748396;
    font-size: 10px;
}

.csp-notification-save-status.is-success { color: #087b69; }
.csp-notification-save-status.is-error { color: #b63a52; }

.csp-notification-save {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg,#0a3367,#08a58f);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 11px 24px rgba(8,50,103,.14);
}

.csp-notification-save:disabled {
    opacity: .55;
    cursor: wait;
}

@media(max-width:900px){
    .csp-account-notification-settings__head,
    .csp-notification-settings-footer { align-items:stretch; flex-direction:column; }
    .csp-account-notification-settings__email { width:100%; min-width:0; }
    .csp-notification-channel-grid { grid-template-columns:1fr; }
    .csp-notification-settings-actions { justify-content:flex-start; }
}

@media(max-width:620px){
    .csp-account-notification-settings { padding:21px 17px; border-radius:21px; }
    .csp-notification-channel { grid-template-columns:42px minmax(0,1fr); }
    .csp-notification-switch,
    .csp-notification-lock { grid-column:1 / -1; justify-self:start; }
    .csp-notification-save { width:100%; }
}


/* v0.88.2 — Candle Pro account teaser */
.csp-account-premium__learn {
    display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;
    border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);
    color:#fff!important;text-decoration:none;font-size:9px;font-weight:900;white-space:nowrap;
    transition:transform .16s ease,background .16s ease;
}
.csp-account-premium__learn:hover { transform:translateY(-1px);background:rgba(255,255,255,.13); }


/* v0.88.6 — Candle Pro trial / subscription account UX */
.csp-account-subscription-state {
    margin: 16px 0 15px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(5,24,51,.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.csp-account-subscription-state__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.csp-account-subscription-state__head > div {
    min-width:0;
}
.csp-account-subscription-state__head small {
    display:block;
    margin-bottom:3px;
    color:rgba(255,255,255,.58);
    font-size:9px;
}
.csp-account-subscription-state__head strong {
    display:block;
    color:#fff;
    font-size:16px;
}
.csp-account-subscription-state__remaining {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 10px;
    border-radius:999px;
    background:rgba(101,225,208,.14);
    border:1px solid rgba(101,225,208,.25);
    color:#8bf0e2;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}
.csp-account-subscription-state__remaining.is-active {
    background:rgba(105,222,154,.14);
    border-color:rgba(105,222,154,.24);
    color:#9af0bc;
}
.csp-account-subscription-state__remaining.is-ready {
    background:rgba(255,209,102,.12);
    border-color:rgba(255,209,102,.22);
    color:#ffe29a;
}
.csp-account-subscription-state__remaining.is-used {
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.13);
    color:rgba(255,255,255,.72);
}
.csp-account-subscription-state__body p {
    margin:0;
    color:rgba(255,255,255,.76);
}
.csp-account-subscription-state__body dl {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:12px 0 0;
}
.csp-account-subscription-state__body dl > div {
    padding:9px 10px;
    border-radius:12px;
    background:rgba(255,255,255,.055);
}
.csp-account-subscription-state__body dt {
    margin:0 0 3px;
    color:rgba(255,255,255,.5);
    font-size:8px;
}
.csp-account-subscription-state__body dd {
    margin:0;
    color:#fff;
    font-size:10px;
    font-weight:900;
}
.csp-account-plan-badge.is-premium {
    white-space:nowrap;
}
@media(max-width:620px){
    .csp-account-subscription-state__head { align-items:flex-start;flex-direction:column; }
    .csp-account-subscription-state__body dl { grid-template-columns:1fr; }
}

.csp-account-trial-notice {
    margin:0 0 16px;
    padding:12px 15px;
    border-radius:14px;
    border:1px solid #d9e6eb;
    background:#fff;
    color:#24485d;
    font-size:11px;
    font-weight:800;
}
.csp-account-trial-notice.is-success { border-color:#bfe8dc;background:#effaf6;color:#16715d; }
.csp-account-trial-notice.is-error { border-color:#f1c9c9;background:#fff5f5;color:#a33c3c; }
.csp-account-trial-notice.is-info { border-color:#cedfe8;background:#f4f9fb;color:#365e73; }

/* v0.89.0 — Portfolio quick access */
.csp-account-main-panel .csp-account-actions{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1100px){.csp-account-main-panel .csp-account-actions{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.csp-account-main-panel .csp-account-actions{grid-template-columns:1fr;}}

/* v0.89.4.2 — truthful Candle Pro release states */
.csp-account-premium__features > div{position:relative}
.csp-account-premium__features > div.is-coming-soon{opacity:.78}
.csp-account-premium__features > div.is-coming-soon::after{content:'';position:absolute;inset:0;border-radius:18px;background:linear-gradient(180deg,rgba(7,43,78,.02),rgba(7,43,78,.12));pointer-events:none}
.csp-account-premium__features > div em{position:absolute;z-index:2;top:9px;left:9px;padding:4px 7px;border:1px solid rgba(255,255,255,.17);border-radius:999px;background:rgba(255,255,255,.09);color:#d9f7f2;font-size:8px;font-style:normal;font-weight:900;line-height:1}
