.plan-open{white-space:nowrap;font-size:12px;min-height:44px}.plan-overview{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 28px}.plan-overview p{font-size:12px;line-height:1.8;margin:0}.plan-overview strong{font-weight:500}.plan-overview button{flex-shrink:0;font-size:12px;min-height:44px}.access-note{font-size:11px!important;line-height:1.8!important;color:#53654b;margin:10px 0!important}.access-note:before{content:'＋';display:inline-block;margin-right:6px}.plan-dialog{width:calc(100% - 28px);max-width:760px;max-height:calc(100dvh - 28px);overflow:auto;padding:30px}.plan-dialog h2{font:500 27px/1.5 'Hiragino Mincho ProN','Yu Mincho',Georgia,serif;margin:12px 0}.plan-context{font-size:13px;line-height:1.9}.plan-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px;margin:22px 0}.plan-card{border:1px solid var(--line);border-radius:8px;padding:22px;min-width:0}.plan-card h3{font-size:17px;font-weight:500;margin:4px 0 12px}.plan-card .plan-price{font-size:36px;line-height:1.3;font-variant-numeric:tabular-nums;margin:0 0 16px}.plan-price small{font:12px/1.6 system-ui}.plan-card ul{padding-left:18px;margin:0;font-size:12px;line-height:1.8}.plan-card li+li{margin-top:9px}.plan-card-plus{background:#253f30;color:#f3f2e7;border-color:#253f30}.plan-state{display:inline-block;font-size:10px;border:1px solid currentColor;border-radius:20px;padding:4px 10px;margin:0 0 12px}.plan-card .button{width:100%;margin-top:22px;justify-content:center;min-height:48px}.plan-card-plus .button:disabled{background:#dce6ce;color:#294231;opacity:1;cursor:not-allowed}.plan-status{background:#e8eddf;border-radius:6px;padding:14px;font-size:12px;line-height:1.9}.plan-bottom{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:18px}.plan-bottom p{font-size:11px;line-height:1.8;flex:1;margin:0}.plan-bottom button{font-size:12px;min-height:44px}.plan-data-note{font-size:11px;line-height:1.8;color:#53654b}.plan-dialog>.dialog-heading .close-dialog{flex-shrink:0}.plan-dialog .dialog-heading{align-items:center}.paid-save-hint{font-size:12px;line-height:1.8;padding:12px 14px;background:#e8eddf;border-radius:5px}.library-plan-note{font-size:12px;line-height:1.8;margin:12px 0}.plan-dialog .eyebrow{font-size:9px;letter-spacing:2px}.plan-card-plus .plan-price{color:inherit}@media(max-width:600px){.plan-overview{align-items:flex-start;gap:10px}.plan-dialog{padding:22px 16px}.plan-dialog h2{font-size:23px}.plan-grid{grid-template-columns:1fr}.plan-card{padding:18px}.plan-card .plan-price{font-size:32px}.plan-bottom{display:block}.plan-bottom button{margin-top:8px}.header-actions{gap:10px}.plan-open{font-size:11px}.plan-overview p{font-size:11px}}
/* Contextual save offer: the current outline, then the everyday value. */
.plan-dialog .dialog-heading{position:sticky;top:0;z-index:5;background:var(--paper);padding:5px 0 10px;border-bottom:1px solid var(--line)}
.plan-dialog[data-context=save]{max-width:560px}.plan-dialog[data-context=save] h2{font-size:30px;letter-spacing:-.5px;margin-top:18px}.plan-dialog[data-context=save] .plan-context{margin:0 0 17px;font-size:13px;line-height:1.9}
.plan-selected{display:grid;grid-template-columns:minmax(100px,.95fr) minmax(0,1fr);align-items:center;gap:20px;padding:18px;border:1px solid #cbd1c2;border-radius:8px;background:#f0f1e9}
.plan-brow-art{height:82px;display:grid;place-items:center;min-width:0}.plan-brow-art svg{width:100%;height:100%;display:block;overflow:visible;fill:none;stroke:#354d38;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.plan-brow-art svg path{fill:#65755715}.plan-brow-art circle{fill:#354d38;stroke:none}
.plan-brow-info{min-width:0}.plan-brow-info .eyebrow{font-size:8px;letter-spacing:.9px;margin:0 0 8px;color:#626e56}.plan-brow-info h3{font-size:16px;font-weight:500;line-height:1.65;margin:0;overflow-wrap:anywhere}.plan-brow-info>p:last-child{font-size:10px;color:#637157;line-height:1.6;margin:5px 0 0}
.plan-preserve-note{font-size:11px;line-height:1.85;color:#59664e;margin:10px 0 17px;overflow-wrap:anywhere}
.plan-dialog[data-context=save] .plan-grid{display:block;margin:18px 0 14px}.plan-dialog[data-context=save] .plan-card-plus{background:#f7f8f1;border-color:#bec9b3;color:#22351f;padding:22px}.plan-dialog[data-context=save] .plan-card-plus h3{font-size:15px;margin:0 0 5px}.plan-dialog[data-context=save] .plan-state{float:right;background:#e7ecde;color:#435536;margin:0 0 8px 10px}.plan-dialog[data-context=save] .plan-price{font-size:36px;margin-bottom:10px}.plan-save-value{font-size:12px;line-height:1.8;margin:0 0 14px}.plan-dialog[data-context=save] .plan-card ul{font-size:11px;line-height:1.75}.plan-dialog[data-context=save] .plan-card li+li{margin-top:5px}.plan-dialog[data-context=save] .plan-card .button{margin-top:17px}.plan-dialog[data-context=save] .plan-status{font-size:11px;line-height:1.85;background:#edf0e5;margin:0 0 12px}.plan-dialog[data-context=save] .plan-bottom{position:sticky;bottom:0;background:var(--paper);padding:10px 0 3px;margin-top:0;display:block}.plan-dialog[data-context=save] .plan-bottom>p,.plan-dialog[data-context=save] .plan-data-note{display:none}.plan-dialog[data-context=save] #plan-back{display:flex;width:100%;align-items:center;justify-content:center;min-height:48px;background:#263e2e;color:#f5f7ee;border:1px solid #263e2e;border-radius:6px;text-decoration:none;font-size:13px}
@media(max-width:600px){.plan-dialog[data-context=save]{padding:18px 16px}.plan-dialog[data-context=save] h2{font-size:26px}.plan-selected{gap:14px;padding:15px;grid-template-columns:minmax(95px,.9fr) minmax(0,1fr)}.plan-brow-info h3{font-size:14px}.plan-brow-art{height:68px}.plan-dialog[data-context=save] .plan-card-plus{padding:18px}.plan-dialog[data-context=save] .plan-state{font-size:9px;padding:4px 8px}.plan-dialog[data-context=save] .plan-bottom #plan-back{margin-top:0}}
@media(max-width:360px){.plan-dialog[data-context=save] h2{font-size:24px}.plan-selected{gap:10px;padding:12px;grid-template-columns:100px minmax(0,1fr)}.plan-brow-info h3{font-size:12px}.plan-brow-info .eyebrow{font-size:7px}.plan-dialog[data-context=save] .plan-state{float:none;margin:0 0 10px}}
.plan-dialog[data-context=save] .plan-bottom{box-shadow:0 32px 0 var(--paper)}

.beta-badge{display:inline-block;margin-inline-start:6px;padding:3px 7px;border:1px solid #bcc8b7;border-radius:4px;background:#e9eee3;color:#2f4a38;font:600 10px/1.4 system-ui;letter-spacing:.08em;white-space:nowrap}
.beta-badge[hidden]{display:none}
body[data-access=free-beta] .access-note:before{content:'✓'}
body[data-access=free-beta] .plan-dialog{max-width:480px}
body[data-access=free-beta] .plan-dialog h2{font-size:clamp(32px,7.5vw,42px);line-height:1.25;margin:20px 0 10px}
body[data-access=free-beta] .plan-context{font-size:14px;line-height:1.75;margin:0}
.plan-beta-assurance{font-size:13px;line-height:1.6;font-weight:600;color:#2f4a38;margin:10px 0 0}
.plan-beta-plus{border-top:1px solid var(--line);padding-top:14px;margin:20px 0 0;font-size:12px;line-height:1.6;color:#4b554d}
body[data-access=free-beta] .plan-bottom{justify-content:flex-end;margin-top:12px}
body[data-access=free-beta] .plan-bottom button{margin-top:0}
