/* The same entry rhythm as login, carried through package, details and checkout. */
#modal.billing-upgrade-modal{width:calc(100 * var(--mane-vw,1vw))!important;max-width:none;height:calc(100 * var(--mane-dvh,1dvh));max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#151218;color:#29232e;overflow:auto;overscroll-behavior:contain}
#modal.billing-upgrade-modal::backdrop{background:#151218}
#modal.billing-upgrade-modal>#modal-form{padding:0;min-height:100%;margin:0}
#modal.billing-upgrade-modal .modal-head,#modal.billing-upgrade-modal .modal-foot{display:none}
#modal.billing-upgrade-modal .modal-body{padding:0}
.upgrade-experience{min-height:calc(100 * var(--mane-dvh,1dvh));background:radial-gradient(ellipse at 8% 57%,#4b31515c,transparent 45%),#151218;font-family:'DM Sans',Arial,sans-serif}
.upgrade-header{min-height:88px;display:flex;align-items:center;gap:24px;padding:16px max(28px,calc(4 * var(--mane-vw,1vw)));border-bottom:1px solid #ffffff16;color:#fff9fc}
.upgrade-brand{display:flex;align-items:center;gap:11px;font:900 25px/1.2 Manifold,sans-serif;letter-spacing:-.04em;text-decoration:none;color:inherit}
.upgrade-brand img{width:36px;height:36px;object-fit:contain}
.upgrade-header-note{font-size:12px;color:#bfaec5}
.upgrade-exit{margin-left:auto;display:flex;align-items:center;gap:18px;color:#e6dce9;font-size:12px;background:transparent;border:1px solid #ffffff2b;border-radius:10px;padding:11px 15px;min-height:42px}
.upgrade-exit span{font-size:22px;line-height:1}
.upgrade-layout{width:100%;max-width:1600px;margin:0 auto;padding:40px calc(4 * var(--mane-vw,1vw)) 60px;display:grid;grid-template-columns:minmax(250px,.76fr) minmax(0,1.4fr);align-items:start;gap:calc(5 * var(--mane-vw,1vw))}
.upgrade-story{position:sticky;top:32px;padding:26px 0;color:#faf3fc;min-width:0}
.upgrade-eyebrow{display:block;font:600 10px/1.6 'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9975a4;margin-bottom:15px}
.upgrade-story>.upgrade-eyebrow{color:#c8a6d1;letter-spacing:.1em}
.upgrade-story h2{font:900 clamp(30px,calc(3.05 * var(--mane-vw,1vw)),53px)/1.16 Manifold,sans-serif;letter-spacing:-.045em;margin:16px 0 22px;color:#fff8fc;overflow-wrap:normal}
.upgrade-story h2 em{font-style:normal;background:linear-gradient(100deg,#d5aae6,#f5c49a);background-clip:text;-webkit-background-clip:text;color:transparent}
.upgrade-story>p{color:#c8b9cf;font-size:14px;line-height:1.85;max-width:37ch;margin:0}
.upgrade-art{position:relative;height:225px;max-width:370px;margin:20px 0 10px;display:grid;place-items:center;isolation:isolate}
.upgrade-art:before{content:'';position:absolute;inset:15px -15px;background:radial-gradient(ellipse,#ad77c22e,transparent 70%);z-index:-1}
.upgrade-art>img:first-of-type{width:190px;height:190px;object-fit:contain;transform:rotate(-8deg);filter:drop-shadow(0 22px 25px #0003)}
.upgrade-art .upgrade-art-star{position:absolute;width:83px;height:83px;right:22%;top:18px;transform:rotate(15deg);filter:drop-shadow(0 12px 20px #0004)}
.upgrade-art-label{position:absolute;bottom:3px;right:20px;font-size:11px;color:#e3cfeb;background:#ffffff09;border:1px solid #ffffff1f;border-radius:30px;padding:9px 13px;backdrop-filter:blur(5px)}
.upgrade-story-bottom{display:flex;align-items:center;gap:13px;border-top:1px solid #ffffff18;padding-top:23px;margin-top:22px;max-width:390px}
.upgrade-story-bottom img{object-fit:contain;width:46px;height:46px}
.upgrade-story-bottom strong,.upgrade-story-bottom span{display:block;font-size:11px;line-height:1.7}
.upgrade-story-bottom strong{font-weight:500;color:#eee1f0}.upgrade-story-bottom span{color:#a994b4}
.upgrade-canvas{min-width:0;background:#fbf9f6;border:1px solid #ffffffb3;border-radius:28px;overflow:hidden;box-shadow:0 22px 70px #0002}
.upgrade-steps{display:flex;align-items:center;gap:clamp(14px,calc(3 * var(--mane-vw,1vw)),38px);padding:24px 34px;border-bottom:1px solid #e7dfe8;background:#fdfbf9}
.upgrade-steps button{display:flex;align-items:center;gap:9px;background:none;border:0;font-size:12px;line-height:1.4;color:#9b8d9e;padding:0;min-height:28px;white-space:nowrap}
.upgrade-steps button>span{display:grid;place-items:center;border:1px solid #ddd0e0;width:25px;height:25px;border-radius:50%;font-size:10px;color:#89718f}
.upgrade-steps button[aria-current]{color:#523859;font-weight:600}
.upgrade-steps button[aria-current]>span{background:#6d4677;color:white;border-color:#6d4677}
.upgrade-steps button:disabled{cursor:default;opacity:.75}
.upgrade-content{padding:32px 34px 24px;min-width:0}
.upgrade-content>h3,.upgrade-result h3{font:900 clamp(23px,calc(2.1 * var(--mane-vw,1vw)),32px)/1.25 Manifold,sans-serif;letter-spacing:-.04em;margin:0 0 12px;max-width:100%;overflow-wrap:normal}
.upgrade-lead{font-size:13px;line-height:1.8;color:#827087;margin:0 0 24px;max-width:62ch}
.upgrade-trial-note{background:#eee7f0;border:1px solid #e5d9e8;border-radius:12px;padding:13px 16px;color:#796180;font-size:11px;line-height:1.75;margin:17px 0}
.upgrade-period{display:inline-flex;align-items:center;border-radius:11px;padding:4px;background:#ebe4ed;margin:4px 0 22px;gap:3px}
.upgrade-period button{display:flex;align-items:center;gap:12px;border:0;border-radius:8px;background:none;color:#7a6480;font-size:12px;padding:10px 14px;min-height:38px}
.upgrade-period button[aria-pressed=true]{background:#fffdfa;color:#52345a;box-shadow:0 1px 4px #492d5110;font-weight:600}
.upgrade-period button span{color:#9565a2;font-size:10px}
.upgrade-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.upgrade-plan{position:relative;display:flex!important;flex-direction:column;align-items:stretch;border:1px solid #ded2e1;border-radius:16px;padding:19px 18px 16px;background:#fffefc;cursor:pointer;gap:0!important;transition:border-color .15s,background .15s;min-width:0}
.upgrade-plan.is-selected{border-color:#91639e;background:linear-gradient(130deg,#f1e8f6,#fdf3eb);box-shadow:inset 0 0 0 1px #91639e}
.upgrade-plan>input,.upgrade-credit>input{position:absolute;width:1px!important;height:1px!important;opacity:0;min-height:0!important;padding:0!important;border:0!important;margin:0!important;clip-path:inset(50%)}
.upgrade-plan:focus-within,.upgrade-credit:focus-within{outline:3px solid #d9c3e3;outline-offset:3px}
.upgrade-plan-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.upgrade-plan-top>strong{font-size:13px;line-height:1.4;font-weight:600;color:#49314f}
.upgrade-radio{width:17px;height:17px;border:1px solid #cab5d1;border-radius:50%;flex-shrink:0}
.is-selected>.upgrade-plan-top .upgrade-radio{border:5px solid #865d92;background:#fff}
.upgrade-price{display:flex;align-items:baseline;gap:5px;margin-top:13px;color:#38233e;font:900 clamp(23px,calc(2 * var(--mane-vw,1vw)),29px)/1.4 Manifold,sans-serif;letter-spacing:-.065em;white-space:nowrap}
.upgrade-price>small{font:400 10px/1.5 'DM Sans',sans-serif;color:#8f7a96;letter-spacing:0}
.upgrade-price-note{font-size:9px;color:#98849f;line-height:1.6}
.upgrade-plan-features{display:grid;gap:6px;margin-top:16px;font:400 10px/1.6 'DM Sans',sans-serif;color:#796480}
.upgrade-plan-features>span{display:flex;align-items:baseline;gap:7px}.upgrade-plan-features i{font-style:normal;color:#a67bad;font-size:11px}
.upgrade-plan-tag{align-self:flex-start;font-size:9px;font-weight:600;color:#9564a1;letter-spacing:.02em;border-radius:5px;margin-top:12px}
.upgrade-credits{border-top:1px solid #e6dce8;margin-top:25px;padding-top:21px}.upgrade-credits h4{font-size:13px;font-weight:600;color:#634b6b;margin:0 0 5px}.upgrade-credits>div>p{font-size:10px;color:#9a849f;margin:0 0 15px}
.upgrade-credit-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.upgrade-credit{position:relative;display:flex!important;flex-direction:column;align-items:center;border:1px solid #e0d4e3;border-radius:10px;padding:12px 4px!important;background:#fffefc;cursor:pointer;gap:4px!important;text-align:center}
.upgrade-credit.is-selected{background:#eae0ef;border-color:#ae89b8}.upgrade-credit strong{font-size:13px;color:#62436d;font-weight:600}.upgrade-credit small{font-size:9px;color:#957d9b;line-height:1.5}
.upgrade-credit-help{font-size:10px;color:#95809c;line-height:1.8;margin:13px 0 6px}
.upgrade-extra-users{display:grid!important;grid-template-columns:1fr 75px;gap:8px!important;align-items:center;margin-top:20px;font-size:12px;color:#715378}
.upgrade-extra-users input{width:100%;padding:10px;border:1px solid #dcd0df;border-radius:9px;background:#fffdfa;font-size:14px;color:#48314f}.upgrade-extra-users small{grid-column:1/-1;font-size:10px;color:#98809d}
.upgrade-actions{display:flex;flex-direction:column;align-items:stretch;gap:15px;margin-top:25px}
.upgrade-primary{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;border-radius:11px;padding:16px 19px;min-height:51px;background:linear-gradient(105deg,#ddc1e9,#f3c29c);color:#49304f;font-size:13px;font-weight:600;text-align:center;transition:filter .15s,transform .15s}
.upgrade-primary:hover{filter:brightness(1.035);transform:translateY(-1px)}.upgrade-primary:disabled{opacity:.45;cursor:default;transform:none}
.upgrade-quiet{border:0;background:none;color:#93759c;font-size:11px;font-weight:500;padding:4px;text-align:center;min-height:28px;line-height:1.6}
.upgrade-legal{display:flex;justify-content:flex-end;align-items:center;gap:19px;border-top:1px solid #e7dfe8;margin:0 34px;padding:19px 0 23px;font-size:9px;color:#9a85a1;line-height:1.6;flex-wrap:wrap}.upgrade-legal>span{margin-right:auto}.upgrade-legal>a{text-decoration:none}
.upgrade-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px;margin-top:26px}.upgrade-fields label{display:grid!important;gap:8px!important;font-size:11px;color:#735a7b;font-weight:500}
.upgrade-fields input{min-width:0;width:100%;background:#fffefb;border:1px solid #ddcfe1;border-radius:10px;padding:13px 14px;min-height:48px;font-size:14px;color:#49304f;outline:none}
.upgrade-fields input:focus{border-color:#9a75a5;box-shadow:0 0 0 3px #e0cfe750}
.upgrade-chosen{display:flex;align-items:center;gap:14px;padding:17px;background:linear-gradient(110deg,#eee3f3,#fcf0e6);border:1px solid #e3d4e8;border-radius:13px;color:#604469}
.upgrade-chosen>img{flex-shrink:0;object-fit:contain}.upgrade-chosen>div{min-width:0}.upgrade-chosen strong{display:block;font-size:13px;margin-bottom:5px}.upgrade-chosen span{display:block;font-size:10px;line-height:1.6;color:#997da0}.upgrade-chosen>b{margin-left:auto;white-space:nowrap;font:900 19px/1.3 Manifold,sans-serif;letter-spacing:-.06em}.upgrade-chosen>b>small{display:block;font:400 9px/1.5 'DM Sans',sans-serif;color:#997da0;letter-spacing:0;text-align:right;margin-top:4px}
.upgrade-error:not([hidden]){background:#fff0ef;border:1px solid #dfb1bc;color:#8e354e;border-radius:11px;margin-top:20px;padding:14px 16px;font-size:12px;line-height:1.8}
/* The checkout keeps the confirmed amount and consent directly above secure fields. */
.billing-upgrade-modal .billing-checkout-layout{display:flex;flex-direction:column;gap:23px}
.billing-upgrade-modal .billing-checkout-summary{padding:0;background:transparent;color:#604469;overflow:visible}
.billing-upgrade-modal .billing-checkout-brand,.billing-upgrade-modal .billing-checkout-plan{display:none}
.billing-upgrade-modal .billing-checkout-summary h3{color:#3d2945;font-size:28px}.billing-upgrade-modal .billing-checkout-total{font-size:35px;color:#795387}.billing-upgrade-modal .billing-checkout-period{color:#927a9a;margin-bottom:15px!important}
.billing-upgrade-modal .billing-checkout-amounts{border-color:#dfd1e4;color:#73587e;font-size:11px;padding:10px 0}
.billing-upgrade-modal .billing-checkout-agreement{color:#8e7597;font-size:10px;line-height:1.85;margin-top:14px}.billing-upgrade-modal .billing-checkout-agreement p{margin:0 0 7px}
.billing-upgrade-modal .billing-checkout-customer{color:#7d6287;border-color:#e1d3e6;margin-top:13px;padding-top:12px;font-size:11px}.billing-upgrade-modal .billing-checkout-customer span{color:#9b83a3}
.billing-upgrade-modal .billing-checkout-pay{padding:22px 0 0;border-top:1px solid #e1d3e6;background:transparent;min-width:0}
.billing-upgrade-modal .billing-card-heading h4{font-size:20px;margin:0;color:#52365d}.billing-upgrade-modal .billing-provider-label{color:#a389ad;border-color:#d8c7df;font-size:11px}
.billing-upgrade-modal .billing-card-field{background:#fffefb;border:1px solid #dcd0e1;min-height:45px;border-radius:10px;padding:12px 14px;box-sizing:content-box}
.billing-upgrade-modal .billing-primary-pay{width:100%;display:flex;justify-content:space-between;border:0;border-radius:11px;background:linear-gradient(105deg,#ddc1e9,#f3c29c);color:#49304f;padding:16px 19px;font-size:13px;min-height:51px;white-space:normal}
.billing-upgrade-modal .billing-consent{align-items:flex-start;font-size:10px;line-height:1.8;gap:10px}.billing-upgrade-modal .billing-consent input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#8c6299}
.billing-upgrade-modal .billing-methods{margin:18px 0}.billing-upgrade-modal .billing-method{border-radius:9px}.billing-upgrade-modal .billing-method.is-selected{background:#eee4f2;border-color:#b697c3;color:#65436e}
.billing-upgrade-modal .billing-card-fields label{font-size:11px;color:#8a7194}.billing-upgrade-modal .billing-card-security,.billing-upgrade-modal .billing-bank-note{color:#a18aa7;font-size:10px;line-height:1.75}.billing-upgrade-modal .billing-checkout-alternative{margin-top:18px;padding-top:17px;border-color:#e4d8e8}.billing-upgrade-modal .billing-checkout-alternative .text-link{font-size:11px;color:#8d6b98}.billing-upgrade-modal .billing-checkout-back{font-size:11px;color:#a28aab}
.upgrade-result{text-align:center;padding:20px 0 36px}.upgrade-result-icon{display:grid;place-items:center;width:75px;height:75px;background:linear-gradient(140deg,#e3ccef,#f7d8bc);color:#80538f;border-radius:23px;font:900 35px/1 Manifold,sans-serif;margin:0 auto 27px;box-shadow:0 8px 20px #9d6aa718}.upgrade-result .upgrade-lead{margin-left:auto;margin-right:auto}.upgrade-result-details{display:grid;gap:8px;margin:20px auto;color:#9a7fa3;font-size:11px}.upgrade-result-details strong{font-weight:500;color:#73537e}.upgrade-result .upgrade-actions{max-width:400px;margin-left:auto;margin-right:auto}
.billing-trial-entry:after{content:none}.mobile-trial-upgrade{display:none}
@media(max-width:1050px){.upgrade-layout{grid-template-columns:minmax(230px,.68fr) minmax(0,1.4fr);gap:calc(3 * var(--mane-vw,1vw));padding:28px calc(3 * var(--mane-vw,1vw)) 45px}.upgrade-content{padding:27px 25px 22px}.upgrade-steps{padding:20px 25px}.upgrade-legal{margin:0 25px}.upgrade-story h2{font-size:34px}.upgrade-art{height:205px}.upgrade-art>img:first-of-type{width:170px;height:170px}.upgrade-art .upgrade-art-star{right:10%}.upgrade-plan{padding:16px 13px}.upgrade-price{font-size:24px}}
@media(max-width:760px){.upgrade-header{min-height:72px;padding:15px 20px;gap:12px}.upgrade-brand{font-size:21px}.upgrade-brand img{width:30px;height:30px}.upgrade-header-note{display:none}.upgrade-exit{font-size:10px;padding:8px 12px;gap:12px}.upgrade-layout{display:flex;flex-direction:column;gap:0;padding:26px 16px 35px}.upgrade-story{position:static;padding:0 8px 23px;width:100%}.upgrade-story>.upgrade-eyebrow{font-size:9px;margin-bottom:9px}.upgrade-story h2{font-size:28px;line-height:1.2;margin:0}.upgrade-story h2 br{display:none}.upgrade-story h2 em{margin-left:.2em}.upgrade-story>p,.upgrade-art,.upgrade-story-bottom{display:none}.upgrade-canvas{width:100%;border-radius:21px}.upgrade-content{padding:26px 21px 22px}.upgrade-steps{padding:18px 21px;gap:21px}.upgrade-steps button{font-size:11px;gap:7px}.upgrade-steps button>span{width:22px;height:22px}.upgrade-content>h3,.upgrade-result h3{font-size:25px}.upgrade-lead{font-size:12px}.upgrade-trial-note{font-size:10px;padding:12px 13px}.upgrade-plans{gap:10px}.upgrade-plan{padding:16px 13px}.upgrade-price{font-size:23px;flex-wrap:wrap;gap:0 5px}.upgrade-plan-features{font-size:9px;gap:5px}.upgrade-price>small{font-size:9px}.upgrade-price-note{font-size:8px}.upgrade-plan-top>strong{font-size:12px}.upgrade-plan-tag{font-size:8px}.upgrade-credit-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.upgrade-credit{flex-direction:row!important;justify-content:space-between;padding:12px!important}.upgrade-credit strong{font-size:12px}.upgrade-fields{grid-template-columns:1fr;gap:18px}.upgrade-fields input{font-size:16px}.upgrade-chosen{flex-wrap:wrap;gap:12px;padding:14px}.upgrade-chosen>b{font-size:17px}.upgrade-legal{margin:0 21px;gap:12px;font-size:8px}.upgrade-story h2{overflow-wrap:normal}.mobile-trial-upgrade{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;padding:12px 15px;border:1px solid #d9c6e0;border-radius:12px;background:linear-gradient(110deg,#f0e4f5,#faecdf);color:#73507f;font-size:11px}.mobile-trial-upgrade button{border:0;background:none;color:#6e477a;font:600 11px/1.5 'DM Sans',sans-serif}}
@media(max-width:360px){.upgrade-layout{padding-left:10px;padding-right:10px}.upgrade-content{padding-left:17px;padding-right:17px}.upgrade-steps{padding-left:17px;padding-right:17px;gap:15px}.upgrade-plans{grid-template-columns:1fr}.upgrade-price{font-size:27px}.upgrade-header{padding:13px 15px}.upgrade-exit{font-size:9px;gap:8px}.upgrade-story h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.upgrade-plan,.upgrade-primary{transition:none}}
#modal.billing-upgrade-modal .modal-body{max-height:none;overflow:visible}
.billing-upgrade-modal [hidden]{display:none!important}
.billing-upgrade-modal .billing-checkout-customer strong{color:#63466d}
.billing-upgrade-modal .billing-card-field{min-height:24px}

/* The illustration follows the selected package throughout the upgrade. */
.upgrade-plan-art{position:relative;display:block;width:230px;height:190px;isolation:isolate}.upgrade-people{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.upgrade-people>img{width:185px;height:185px;object-fit:contain;filter:drop-shadow(0 18px 20px #0003)}.upgrade-plan-art>.upgrade-art-star{width:80px;height:80px;position:absolute;right:0;top:6px;transform:rotate(12deg)}.upgrade-plan-art.normal>.upgrade-art-star{display:none}.upgrade-plan-art.team .upgrade-people>img{width:120px;height:140px;margin:0 -29px}.upgrade-plan-art.team .upgrade-people>img:nth-child(2){transform:translateY(-14px);z-index:1}.upgrade-plan-art.business .upgrade-people{display:grid;grid-template-columns:repeat(5,1fr);gap:0;align-content:center}.upgrade-plan-art.business .upgrade-people>img{width:63px;height:82px;margin:0 -8px}.upgrade-plan-art.business>.upgrade-art-star{width:65px;height:65px;right:-12px;top:0}.upgrade-plan-art.topup>.upgrade-art-star{position:static;width:185px;height:185px;display:block;margin:auto;transform:rotate(-7deg)}.upgrade-chosen>.upgrade-plan-art{width:40px;height:40px;flex-shrink:0}.upgrade-chosen .upgrade-people>img{width:40px;height:40px}.upgrade-chosen .team .upgrade-people>img{width:25px;height:33px;margin:0 -6px}.upgrade-chosen .team .upgrade-people>img:nth-child(2){transform:translateY(-3px)}.upgrade-chosen .business .upgrade-people{grid-template-columns:repeat(5,1fr)}.upgrade-chosen .business .upgrade-people>img{width:12px;height:18px;margin:0 -2px}.upgrade-chosen .upgrade-plan-art>.upgrade-art-star{width:17px;height:17px;right:-2px;top:-1px}.upgrade-chosen .upgrade-plan-art.topup>.upgrade-art-star{width:40px;height:40px}
.upgrade-topup-balance{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#8b7296;padding:15px 0 21px;border-bottom:1px solid #e5dbe8;margin-bottom:18px}.upgrade-topup-balance strong{color:#654370}.upgrade-topups{display:grid;gap:10px}.upgrade-topup{position:relative;display:flex!important;align-items:center;gap:15px!important;padding:17px 18px;border:1px solid #ded0e3;border-radius:13px;background:#fffefb;cursor:pointer}.upgrade-topup.is-selected{border-color:#9869a6;background:linear-gradient(105deg,#f0e4f5,#fff0e2);box-shadow:inset 0 0 0 1px #9869a6}.upgrade-topup>input{position:absolute;width:1px!important;height:1px!important;opacity:0;clip-path:inset(50%);margin:0!important;min-height:0!important}.upgrade-topup:focus-within{outline:3px solid #d9c3e3;outline-offset:3px}.upgrade-topup>span{display:grid;gap:5px}.upgrade-topup strong{font:900 21px/1.3 Manifold,sans-serif;color:#593861;letter-spacing:-.04em}.upgrade-topup strong small{font:400 11px/1.5 'DM Sans',sans-serif;letter-spacing:0}.upgrade-topup>span>span{font-size:10px;color:#a17ba9}.upgrade-topup>b{margin-left:auto;font-size:16px;color:#63446e;font-weight:600;white-space:nowrap}.upgrade-topup>b small{display:block;font-size:9px;line-height:1.8;color:#a38bad;font-weight:400}.upgrade-topup i{flex-shrink:0;font-style:normal}.upgrade-topup.is-selected i{border:5px solid #865d92;background:#fff}.upgrade-topup-total{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#8d7198;font-size:11px;margin-top:22px}.upgrade-topup-total strong{font:900 25px/1.4 Manifold,sans-serif;letter-spacing:-.06em;color:#62416c}
@media(max-width:760px){.upgrade-topup{padding:15px 13px;gap:12px!important}.upgrade-topup strong{font-size:19px}.upgrade-topup>b{font-size:14px}.upgrade-topup-total{font-size:10px}.upgrade-topup-total strong{font-size:23px}}

.upgrade-plan-art>.upgrade-group-icon{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 20px #0003)}
.upgrade-chosen .upgrade-group-icon{filter:none}

.billing-trial-entry{display:inline-grid!important;align-items:center;justify-items:center;min-width:170px}
.billing-trial-entry>.billing-trial-status,.billing-trial-entry>.billing-trial-action{grid-area:1/1;transition:opacity .16s}
.billing-trial-entry>.billing-trial-action{opacity:0;font-weight:600}
.billing-trial-entry:hover>.billing-trial-status,.billing-trial-entry:focus-visible>.billing-trial-status{opacity:0}
.billing-trial-entry:hover>.billing-trial-action,.billing-trial-entry:focus-visible>.billing-trial-action{opacity:1}
.billing-trial-entry.is-expired{display:inline-flex!important;gap:10px}
.billing-trial-entry.is-expired>.billing-trial-status,.billing-trial-entry.is-expired>.billing-trial-action{opacity:1}
@media(prefers-reduced-motion:reduce){.billing-trial-entry>span{transition:none}}
/* Fixed header and story; the light checkout panel owns its scroll. */
#modal.billing-upgrade-modal{overflow:hidden}
#modal.billing-upgrade-modal>#modal-form{display:block;height:100%;min-height:0;max-height:none;overflow:hidden}
#modal.billing-upgrade-modal .modal-body{height:100%;min-height:0;max-height:none;overflow:hidden}
.upgrade-experience{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
.upgrade-layout{height:100%;min-height:0;overflow:hidden;align-items:stretch;padding-bottom:40px}
.upgrade-canvas{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.upgrade-story{position:static;display:flex;flex-direction:column;min-height:0;height:100%;padding:16px 0;overflow:hidden}
.upgrade-story>.upgrade-eyebrow{flex:none;margin-bottom:0}
.upgrade-story h2{flex:none;font-size:clamp(28px,min(calc(3.05 * var(--mane-vw,1vw)),calc(4.8 * var(--mane-vh,1vh))),53px);margin:14px 0 18px}
.upgrade-story>p{flex:none;font-size:clamp(12px,calc(1.5 * var(--mane-vh,1vh)),14px)}
.upgrade-art{flex:1 1 225px;min-height:70px;max-height:225px;height:auto;width:100%;margin:16px 0 8px}
.upgrade-art .upgrade-plan-art{height:100%;min-height:0;max-height:190px}
.upgrade-art .upgrade-people>img{height:100%;width:min(185px,calc(23 * var(--mane-vh,1vh)));max-height:185px}
.upgrade-art .upgrade-plan-art.topup{display:grid;place-items:center}
.upgrade-art .upgrade-plan-art.topup>.upgrade-art-star{width:min(185px,calc(23 * var(--mane-vh,1vh)));height:100%;max-height:185px;object-fit:contain}
.upgrade-story-bottom{flex:none;margin-top:14px;padding-top:16px}
@media(max-width:760px){
 .upgrade-layout{padding-bottom:20px}
 .upgrade-story{height:auto;flex:0 0 auto;padding:0 8px 23px}
 .upgrade-story h2{font-size:28px;margin:0}
 .upgrade-art,.upgrade-story>p,.upgrade-story-bottom{display:none}
 .upgrade-canvas{height:auto;flex:1 1 0;min-height:0}
}
@media(min-width:761px) and (max-height:700px){
 .upgrade-layout{padding-top:20px;padding-bottom:20px}
 .upgrade-story{padding:0}
 .upgrade-story h2{margin:10px 0 12px;font-size:clamp(24px,calc(4.5 * var(--mane-vh,1vh)),32px)}
 .upgrade-story-bottom{margin-top:8px;padding-top:10px}
 .upgrade-art{margin:10px 0 4px}
}
.upgrade-canvas{scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#b8a3bf #fbf9f6}
.upgrade-canvas::-webkit-scrollbar{width:6px;height:6px}
.upgrade-canvas::-webkit-scrollbar-track{background:#fbf9f6;border-radius:20px}
.upgrade-canvas::-webkit-scrollbar-thumb{background:#b8a3bf;border-radius:20px;border:1px solid #fbf9f6}

.upgrade-panel-frame{min-width:0;min-height:0;height:100%;background:#fbf9f6;border:1px solid #ffffffb3;border-radius:28px;overflow:hidden;box-shadow:0 22px 70px #0002}
.upgrade-panel-frame>.upgrade-canvas{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
@media(max-width:760px){.upgrade-panel-frame{width:100%;height:auto;flex:1 1 0;border-radius:21px}.upgrade-panel-frame>.upgrade-canvas{height:100%}}

.upgrade-plan-tag{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:linear-gradient(105deg,#dcb8ed,#f5c294);color:#4b2e55;font-size:10px;font-weight:700;line-height:1.4;box-shadow:inset 0 0 0 1px #ffffff40}

.project-creation-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}.project-creation-modes button{text-align:left;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid #d9c9df;border-radius:18px;background:#fff;padding:20px;color:#53395f;font-weight:700}.project-creation-modes button[aria-pressed=true]{background:linear-gradient(115deg,#eee0f5,#fff0e4);border-color:#a77bba;box-shadow:0 0 0 2px #b58dc524}.project-creation-modes button img{position:absolute;right:14px;top:14px}.project-creation-modes small{font-weight:400;font-size:11px}.project-creation-experience .upgrade-story h2{font-family:'Manifold',sans-serif;font-size:clamp(36px,calc(4 * var(--mane-vw,1vw)),66px);line-height:1.1;letter-spacing:-.04em;color:#fff}.project-creation-experience .upgrade-story h2 span{background:linear-gradient(100deg,#dcb8ed,#f5c294);-webkit-background-clip:text;background-clip:text;color:transparent}.project-creation-experience .upgrade-artwork{margin:28px 0;max-width:310px}.project-creation-experience .upgrade-artwork>img{width:100%;max-height:210px;object-fit:contain}.project-creation-experience .upgrade-story-note{display:flex;align-items:center;gap:14px;border-top:1px solid #ffffff18;padding-top:22px}.project-creation-experience .upgrade-story-note p{font-size:12px;line-height:1.5}.project-creation-experience .upgrade-content .form-grid{gap:18px}.project-creation-experience .upgrade-content .form-grid label{font-size:13px;color:#76617e}.project-creation-experience .project-question{display:block;margin:22px 0;color:#63476f;font-size:14px}.project-question>span{display:flex;gap:12px;align-items:center;margin-bottom:10px}.project-question b{font-family:'Manifold',sans-serif;color:#a077b2;font-size:14px}.project-question textarea{min-height:112px;resize:vertical;line-height:1.6}.project-relation-picker{position:relative;min-width:0;display:flex;flex-direction:column;gap:8px}.project-relation-results{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:260px;overflow:auto;border:1px solid #d9c9df;border-radius:12px;background:#fff;box-shadow:0 15px 35px #34223d20;padding:6px}.project-relation-results[hidden]{display:none}.project-relation-results button{display:block;text-align:left;width:100%;padding:12px;border:0;border-radius:7px;background:#fff;color:#53395f;font-size:14px}.project-relation-results button:hover,.project-relation-results [aria-selected=true]{background:#f2e8f7}.project-relation-results p{padding:10px}.project-creation-result .project-ai-answer{white-space:pre-wrap;line-height:1.7}.project-creation-experience [hidden]{display:none!important}.project-creation-experience .upgrade-wordmark{display:flex;align-items:center;gap:12px}.project-creation-experience .upgrade-wordmark strong{font-family:'Manifold',sans-serif;font-size:26px}.project-creation-experience .upgrade-wordmark span{font-size:12px;color:#c2accb}.project-creation-experience .upgrade-close{border:1px solid #ffffff25;border-radius:12px;background:transparent;color:#eee0f5;padding:12px 18px}
@media(max-width:700px){.project-creation-experience .upgrade-wordmark span{display:none}.project-creation-experience .upgrade-story h2{font-size:32px}.project-creation-experience .upgrade-artwork,.project-creation-experience .upgrade-story-note{display:none}.project-creation-modes{grid-template-columns:1fr}.project-creation-experience .form-grid{grid-template-columns:1fr}}

#outreach-dialog.sequence-flow-modal{width:calc(100 * var(--mane-vw,1vw));max-width:none;height:calc(100 * var(--mane-dvh,1dvh));max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#151218;color:#29232e;overflow:hidden}#outreach-dialog.sequence-flow-modal>header{display:none}#outreach-dialog.sequence-flow-modal>.outreach-dialog-body{padding:0;height:100%;overflow:hidden}#outreach-dialog.sequence-flow-modal::backdrop{background:#151218}.sequence-flow-experience{height:calc(100 * var(--mane-dvh,1dvh))}.sequence-flow-experience .upgrade-story h2{font-family:'Manifold',sans-serif;font-size:clamp(34px,calc(4 * var(--mane-vw,1vw)),62px);line-height:1.1;letter-spacing:-.04em;color:#fff}.sequence-flow-art{margin:28px 0;max-width:310px}.sequence-flow-art img{width:100%;max-height:240px;object-fit:contain}.sequence-flow-experience .upgrade-wordmark{display:flex;align-items:center;gap:12px}.sequence-flow-experience .upgrade-wordmark strong{font-family:'Manifold',sans-serif;font-size:26px}.sequence-flow-experience .upgrade-wordmark span{font-size:12px;color:#c2accb}.sequence-flow-experience .upgrade-close{border:1px solid #ffffff25;border-radius:12px;background:transparent;color:#eee0f5;padding:12px 18px}.sequence-flow-experience .outreach-preview{padding:22px 0;border-bottom:1px solid #dfd1e4}.sequence-flow-experience .outreach-preview h4{font-size:17px}.sequence-flow-experience .outreach-preview p{white-space:pre-wrap;line-height:1.7;font-size:14px}.sequence-launch-actions{position:sticky;top:-40px;z-index:4;background:#fcf9f5;padding:16px 0 20px;border-bottom:1px solid #e6dae9;margin-bottom:24px}.sequence-launch-actions form{display:flex;flex-direction:column;gap:12px}.sequence-launch-actions .outreach-check{font-size:12px}.sequence-launch-actions .upgrade-primary{width:100%}.sequence-workbench [data-sequence-save][hidden]{display:none!important}.sequence-workbench [contenteditable=false]{cursor:default;opacity:.8}.sequence-workbench :disabled{cursor:not-allowed}body:has(#outreach-dialog.sequence-flow-modal[open]),html:has(#outreach-dialog.sequence-flow-modal[open]){overflow:hidden}body:has(#outreach-dialog.sequence-flow-modal[open]) .content{overflow:hidden}
@media(max-width:700px){.sequence-flow-experience .upgrade-wordmark span,.sequence-flow-art{display:none}.sequence-flow-experience .upgrade-story h2{font-size:30px}.sequence-launch-actions{top:-24px}}
#outreach-dialog.sequence-flow-modal .upgrade-exit{background:transparent;border:1px solid #ffffff30;color:#f7effa;padding:12px 18px}#outreach-dialog.sequence-flow-modal .upgrade-primary{background:linear-gradient(105deg,#ddbaeb,#f6c396);border:0;border-radius:12px;color:#452b50;font-weight:700;padding:18px 22px;min-height:54px}#outreach-dialog.sequence-flow-modal .upgrade-primary:hover{filter:brightness(1.03)}#outreach-dialog.sequence-flow-modal [hidden]{display:none!important}
.project-creation-experience .upgrade-artwork .work-module-icon{width:260px;height:240px;max-width:100%}.project-creation-experience .upgrade-header-note{font-family:'DM Sans',sans-serif;letter-spacing:0}.project-creation-experience .upgrade-story h2{text-wrap:balance}
#modal.project-creation-modal .project-creation-result button[data-project-ai=apply]{background:linear-gradient(105deg,#ddbaeb,#f6c396);color:#452b50;border:0;border-radius:12px;min-height:56px;padding:18px 22px;font-weight:700;box-shadow:none}#modal.project-creation-modal .project-creation-result button[data-project-ai=apply]:hover{filter:brightness(1.03)}
.project-ready-summary{display:flex;align-items:center;gap:15px;padding:24px 0}.project-ready-summary h3{font-size:24px!important}.project-ready-summary p{font-size:13px;line-height:1.7}.project-maine-thinking{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:38px 20px;background:radial-gradient(ellipse at top,#f1e4f7,#fff7ef00 70%);border:1px solid #e8dceb;border-radius:24px}.project-maine-thinking h3{margin:0;font-size:30px}.project-maine-thinking p{max-width:430px;line-height:1.8}.project-maine-thinking-icon{position:relative;animation:maine-thinking-nod 2.8s ease-in-out infinite}.project-maine-thinking-icon span{position:absolute;right:-6px;top:4px;color:#f1b77f;animation:maine-thinking-spark 2.8s ease-in-out infinite}.project-maine-thinking-track{width:190px;height:4px;overflow:hidden;border-radius:5px;background:#e5d7eb}.project-maine-thinking-track i{display:block;height:100%;width:45%;border-radius:5px;background:linear-gradient(90deg,#bf8ecf,#f5bf91);animation:maine-thinking-track 2.2s ease-in-out infinite}.project-maine-thinking small{font-size:11px;color:#91769a}
@keyframes maine-thinking-nod{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(4deg)}}@keyframes maine-thinking-spark{0%,40%,100%{opacity:.45;transform:scale(.9)}55%,70%{opacity:1;transform:scale(1.2)}}@keyframes maine-thinking-track{0%{transform:translateX(-110%)}100%{transform:translateX(330%)}}
@media(prefers-reduced-motion:reduce){.project-maine-thinking-icon,.project-maine-thinking-icon span,.project-maine-thinking-track i{animation:none}}

/* Clear user counts, effective annual rates and separate credit cadence. */
.usage-billing-base>strong,.usage-cost-summary>strong,.usage-billing-base b{font-family:Manifold,Arial,sans-serif}.usage-billing-base>strong{display:block;font-size:clamp(28px,3vw,40px);margin:18px 0 10px;line-height:1.2}.usage-billing-base small{font:13px 'DM Sans',sans-serif}.usage-billing-base input[name=users]{width:100px;font-size:22px;font-weight:700;min-height:48px;border-radius:12px;border:1px solid #bfa4cc;padding:10px;background:#fff}.usage-billing-bundles{gap:8px!important}.usage-billing-bundles .upgrade-credit{padding:14px!important;min-height:75px!important}.usage-cycle-switch{border:0;padding:0;margin:22px 0;display:flex;gap:6px;flex-wrap:wrap}.usage-cycle-switch legend{width:100%;margin-bottom:12px;font-weight:700;color:#46314e}.usage-cycle-switch label{flex:1;position:relative;display:flex!important;gap:8px!important;align-items:center;justify-content:center;border:1px solid #d5c2de;border-radius:14px;padding:14px!important;font-size:14px!important;cursor:pointer;background:#fff}.usage-cycle-switch label:has(:checked){background:linear-gradient(115deg,#dfc1ec,#f9cfac);color:#37223f;border-color:#a674ba;font-weight:700;box-shadow:0 2px 8px #80608116}.usage-cycle-switch input{width:16px!important;flex:0 0 16px!important;accent-color:#76508b}.usage-cost-summary{border:1px solid #c4a4d4;border-radius:20px;background:linear-gradient(115deg,#eee0f5,#fff0e4);padding:24px;margin:24px 0;color:#38253f}.usage-total-label{display:block;font-size:13px;font-weight:700;margin-bottom:12px}.usage-cost-summary>strong{display:block;font-size:clamp(28px,3vw,40px);line-height:1.3}.usage-cost-summary>strong small{font:13px 'DM Sans',sans-serif}.usage-cost-summary dl{margin:20px 0 0}.usage-cost-summary dl>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.usage-cost-summary dd{font-weight:700;margin:0;white-space:nowrap}.usage-total-vat{border-top:1px solid #cdb9d4;margin-top:8px}.usage-cost-summary p{font-size:13px;line-height:1.7;margin-bottom:0}
.usage-user-stepper{display:flex;align-items:center;gap:0;width:fit-content;margin-top:10px;border:1px solid #bfa4cc;border-radius:13px;overflow:hidden;background:#fff}.usage-user-stepper button{border:0;border-radius:0;width:42px;height:48px;background:#eee3f4;color:#664574;font-size:24px}.usage-billing-base .usage-user-stepper input{margin:0;width:70px;text-align:center;border:0;border-radius:0;appearance:textfield;-moz-appearance:textfield}.usage-user-stepper input::-webkit-inner-spin-button{appearance:none}.usage-cycle-switch label{line-height:1.4}.usage-cycle-switch label:has(:focus-visible){outline:3px solid #9162a6;outline-offset:3px}

.usage-user-stepper:focus-within{outline:2px solid #95699f;outline-offset:3px}.usage-user-stepper input:focus{outline:none!important;box-shadow:none!important;border:0!important}.usage-cycle-switch input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;pointer-events:none}.usage-cycle-switch label{min-height:50px}.usage-cycle-switch legend{font-size:13px}.usage-cycle-switch label:has(:focus-visible){outline:2px solid #95699f;outline-offset:3px}.billing-checkout-total{font-family:Manifold,Arial,sans-serif}
@media(max-width:700px){.usage-billing-bundles{grid-template-columns:1fr 1fr!important}.usage-cycle-switch label{flex-basis:auto}.usage-cost-summary{padding:18px}.usage-cost-summary dl>div{font-size:13px}}

.usage-billing-bundles .upgrade-credit{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-height:122px!important;padding:17px 12px!important;text-align:center}.usage-billing-bundles .upgrade-credit>strong{font-size:15px;line-height:1.3}.usage-bundle-price{display:block;font-family:Manifold,Arial,sans-serif;font-size:21px;line-height:1.3;letter-spacing:-.025em;color:#3d2b46}.usage-bundle-tags{display:flex;justify-content:center;gap:5px;min-height:20px;align-items:center;font-size:10px!important;line-height:1.2}.usage-bundle-tags span{border-radius:6px;padding:4px 6px;background:#eee1f4;color:#644475}.usage-bundle-tags span:last-child:not(:first-child){background:#f6d1bb}.usage-user-stepper input:focus{outline:none!important;box-shadow:none!important;border:0!important}.usage-user-stepper button:focus{outline:none;box-shadow:none}.usage-user-stepper button:focus-visible{outline:2px solid #95699f;outline-offset:-4px}.usage-user-stepper:focus-within{outline:none;box-shadow:none}.usage-user-stepper:has(input:focus-visible){outline:2px solid #95699f;outline-offset:3px}

/* A visible writing surface, including when slash references decorate the input. */
#modal.project-creation-modal .project-question textarea,#outreach-dialog.sequence-flow-modal .project-question textarea{display:block;width:100%;min-height:124px;border:1.5px solid #c8b1d2!important;border-radius:13px!important;background:#fff!important;padding:16px 18px!important;color:#35253d!important;box-shadow:inset 0 1px 3px #3e204608!important;font:inherit;line-height:1.75;resize:vertical;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
#modal.project-creation-modal .project-question textarea::placeholder,#outreach-dialog.sequence-flow-modal .project-question textarea::placeholder{color:#77657f;opacity:1}
#modal.project-creation-modal .project-question textarea:hover,#outreach-dialog.sequence-flow-modal .project-question textarea:hover{border-color:#9970aa!important}
#modal.project-creation-modal .project-question textarea:focus,#outreach-dialog.sequence-flow-modal .project-question textarea:focus{outline:2px solid #89559d!important;outline-offset:2px;box-shadow:0 0 0 5px #d9bce940!important}
#modal.project-creation-modal .project-question>span{display:flex;margin-bottom:12px;align-items:center;gap:12px}#modal.project-creation-modal .maine-question-reference small{display:block;color:#6d5876;margin:10px 2px 0;font-size:12px;line-height:1.65}
