.subscription-page{min-height:calc(100vh - 72px);display:flex;flex-direction:column;background:#f3f4f4;color:#26282b}.subscription-shell{width:min(1040px,calc(100% - 40px));margin:32px auto 48px;padding:0 28px;flex:1;border:1px solid #d8dadd;border-radius:var(--radius-xl);background:#fff;box-shadow:0 8px 24px #2021240d}.subscription-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:26px 0 22px;border-bottom:1px solid #dedfe1}.page-kicker,.section-kicker{margin:0 0 6px;color:#686c71;font-size:12px;font-weight:500}.subscription-header h1{margin:0;color:#202124;font-size:24px;font-weight:600;line-height:1.35}.page-copy{margin:7px 0 0;color:#7a7e83;font-size:13px;line-height:1.65}.account-chip{max-width:320px;padding:6px 0;color:#6d7176;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subscription-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:stretch}.subscription-main,.subscription-side{min-width:0}.subscription-side{border-left:1px solid #dedfe1;padding-left:28px}.subscription-panel,.state-panel{border:0;border-bottom:1px solid #dedfe1;border-radius:0;background:transparent;box-shadow:none}.subscription-panel,.subscription-panel.compact{padding:24px 0}.subscription-main>.subscription-panel:last-child,.subscription-side>.subscription-panel:last-child{border-bottom:0}.state-panel{max-width:640px;padding:32px 0}.state-panel h2,.subscription-panel h2{margin:0;color:#242629;font-size:17px;font-weight:600;line-height:1.4}.state-panel p{margin:8px 0 18px;color:#74787d;font-size:14px;line-height:1.7}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.section-note{padding-top:3px;color:#8a8e92;font-size:12px;white-space:nowrap}.plan-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e0e1e2;border-bottom:1px solid #e0e1e2}.plan-summary>div{min-width:0;padding:14px 12px;border-left:1px solid #e0e1e2}.plan-summary>div:first-child{border-left:0;padding-left:0}.field-label{display:block;margin-bottom:6px;color:#85898e;font-size:11px}.plan-summary strong,.current-plan-name{display:block;color:#2a2c2f;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.scheduled-change-note{margin-top:14px;padding:12px 14px;border-left:2px solid #aeb2b6;background:#f7f7f7;color:#55595e;font-size:13px;line-height:1.65}.scheduled-change-note span{display:block;margin-bottom:3px;color:#777b80;font-size:11px}.scheduled-change-note strong{color:#303236;font-weight:600}.scheduled-change-note.payment-required{border-left-color:#a8812c;background:#fbf8ef;color:#655425}.scheduled-change-note.payment-required span,.scheduled-change-note.payment-required strong{color:#655425}.scheduled-change-note.payment-required p{margin:5px 0 0}.scheduled-change-note.cancellation{border-left-color:#b46060;background:#fbf6f6;color:#743f3f}.scheduled-change-note.cancellation span,.scheduled-change-note.cancellation strong{color:#743f3f}.pending-payment-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.status-pill{display:inline-flex;align-items:center;gap:7px;min-height:26px;color:#65696e;font-size:12px;font-weight:500}.status-pill:before{width:7px;height:7px;border-radius:50%;background:#8b8f93;content:""}.status-active:before,.status-trialing:before{background:#4f9068}.status-past_due:before{background:#b2862e}.status-canceled:before{background:#9a6262}.subscription-notice{margin-top:20px;padding:10px 12px;border:1px solid #d8dadd;border-radius:var(--radius-md);background:#f8f8f8;color:#4d5155;font-size:13px;line-height:1.6}.subscription-notice-success{border-color:#bad0c2;color:#376148}.subscription-notice-info{border-color:#c7cdd1}.subscription-notice-error{border-color:#dcbcbc;color:#873c3c}.cancellation-panel{background:transparent}.change-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;border-top:1px solid #e0e1e2}.change-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;min-height:68px;border-bottom:1px solid #e0e1e2}.change-field label{color:#3f4246;font-size:13px;font-weight:500}.change-field select{width:138px;height:36px;padding:0 32px 0 10px;border:1px solid #d0d2d4;border-radius:var(--radius-md);background:#fff;color:#303236;font-size:13px}.change-field select:focus{border-color:#686c71;outline:2px solid rgba(80,84,90,.12);outline-offset:1px}.change-preview{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 20px;min-height:70px;padding:12px 0;border-bottom:1px solid #e0e1e2;color:#34363a}.change-preview .field-label{margin:0}.change-preview strong{grid-row:1 / span 2;grid-column:2;color:#292b2e;font-size:14px;font-weight:600}.change-preview small{color:#85898e;font-size:12px}.change-actions,.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.change-disabled-note{margin:10px 0 0;color:#8a4f4f;font-size:12px;line-height:1.6}.action-button,.action-link{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid transparent;border-radius:var(--radius-md);background:#fff;color:#2b2d30;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer}.action-button.primary,.action-link.primary{border-color:#303236;background:#303236;color:#fff}.action-button.secondary{border-color:#c9cbcd}.action-button.danger{border-color:#c88d8d;color:#9a3f3f}.action-button:not(:disabled):hover,.action-link:hover{background:#f1f2f2}.action-button.primary:not(:disabled):hover,.action-link.primary:hover{background:#1f2022}.action-button:focus-visible,.action-link:focus-visible,.change-field select:focus-visible{outline:2px solid #55595e;outline-offset:2px}.action-button:disabled{cursor:not-allowed;opacity:.48}.detail-list{margin:16px 0 0}.detail-list div{min-width:0;padding:11px 0;border-top:1px solid #e0e1e2}.detail-list dt{margin-bottom:4px;color:#85898e;font-size:11px}.detail-list dd{margin:0;color:#3d4044;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.side-copy{margin:12px 0 0;color:#74787d;font-size:12px;line-height:1.75}.payment-method-button{width:100%;margin-top:14px}.confirm-backdrop{position:fixed;inset:0;z-index:1500;display:flex;align-items:center;justify-content:center;padding:20px;background:#1f21236b}.confirm-dialog{width:min(540px,100%);padding:26px 28px 22px;border:1px solid #d0d2d4;border-radius:var(--radius-xl);background:#fff;box-shadow:0 16px 40px #1e202229}.confirm-dialog h2{margin:0;color:#242629;font-size:19px;font-weight:600;line-height:1.4}.confirm-copy{margin:8px 0 18px;color:#777b80;font-size:13px;line-height:1.7}.confirm-summary{margin:0;border-top:1px solid #dedfe1}.confirm-summary div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #dedfe1}.confirm-summary dt{color:#85898e;font-size:12px}.confirm-summary dd{margin:0;color:#383b3f;font-size:13px;font-weight:500;line-height:1.6}.billing-preview-note,.billing-preview-error,.billing-preview-detail{display:block;margin-top:8px;font-weight:400}.billing-preview-note{color:#777b80}.billing-preview-error{color:#923f3f}.billing-preview-detail{color:#55595e}.billing-preview-detail span{display:flex;justify-content:space-between;gap:16px;padding-top:5px}.billing-preview-detail strong{color:#303236;white-space:nowrap}.skeleton{height:16px;width:68%;border-radius:var(--radius-sm);background:linear-gradient(90deg,#ececed,#f7f7f7,#ececed);background-size:200% 100%;animation:subscription-skeleton 1.2s ease-in-out infinite}.skeleton.wide{height:36px;width:100%;margin-bottom:16px}.skeleton.short{width:42%;margin-top:10px}.plan-option-list,.cycle-switcher{display:grid;gap:10px}.plan-option,.cycle-button{border:1px solid #d8dadd;border-radius:var(--radius-md);background:#fff}.plan-option{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px}.plan-option-name{display:block;color:#303236;font-size:14px;font-weight:600}.plan-option-meta{display:block;margin-top:3px;color:#85898e;font-size:12px}.cycle-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}.cycle-button{min-height:68px;padding:12px;color:#303236;cursor:pointer;text-align:left}.cycle-button span,.cycle-button small{display:block}.cycle-button small{margin-top:4px;color:#85898e}.plan-option.is-current,.cycle-button.selected{border-color:#777b80;background:#f6f6f6}@keyframes subscription-skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:900px){.subscription-layout{grid-template-columns:1fr}.subscription-side{border-top:1px solid #dedfe1;border-left:0;padding-left:0}}@media(max-width:640px){.subscription-shell{width:calc(100% - 24px);margin:16px auto 32px;padding:0 18px}.subscription-header,.section-heading,.plan-option{align-items:stretch;flex-direction:column}.subscription-header h1{font-size:22px}.account-chip{max-width:100%}.plan-summary,.change-picker,.cycle-switcher{grid-template-columns:1fr}.plan-summary>div,.plan-summary>div:first-child{padding:12px 0;border-top:1px solid #e0e1e2;border-left:0}.plan-summary>div:first-child{border-top:0}.change-field{grid-template-columns:1fr 130px}.change-preview{grid-column:1}.change-actions,.confirm-actions{flex-direction:column-reverse}.change-actions .action-button,.confirm-actions .action-button{width:100%}.section-note{white-space:normal}.confirm-summary div{grid-template-columns:1fr;gap:4px}}
