.dashboard-page { min-height: 100vh; display: flex; flex-direction: column; }
.dashboard-page .site-header { width: 100%; }
.back-link { font-size: 14px; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.dashboard-main { flex: 1; width: 100%; padding: 42px 24px 60px; }
.account-card { width: min(460px, 100%); margin: auto; padding: 35px 36px 25px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 45px -28px #3b245044; }
.account-card .eyebrow { font-size: 12px; margin-bottom: 18px; }
.account-card h1 { margin: 0; font-weight: 550; font-size: 34px; line-height: 1.2; letter-spacing: -1.3px; }
.account-description { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 22px; }
.account-card label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; margin: 14px 0 6px; font-size: 14px; font-weight: 550; }
.account-card label span { font-size: 12px; color: var(--muted); font-weight: 400; }
.account-card input { width: 100%; min-width: 0; height: 46px; border: 1px solid #dcd5e4; border-radius: 7px; background: #fefefe; color: var(--ink); padding: 10px 12px; font-size: 16px; }
.account-card input:focus { border-color: var(--purple); outline: 2px solid #7752ba22; outline-offset: 1px; }
.form-status { margin: 14px 0; min-height: 18px; color: #8b304c; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.form-submit { width: 100%; justify-content: space-between; }
.account-card .form-status:empty { display: none; }
.account-card .form-status:empty + .form-submit { margin-top: 22px; }
.signup-terms { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-switch { color: var(--muted); font-size: 14px; text-align: center; line-height: 1.7; margin: 20px 0 2px; }
.form-switch button, .text-button, .account-bar button { border: 0; background: transparent; padding: 5px 0; color: var(--purple); font-size: inherit; font-weight: 550; }
.form-switch button:hover, .text-button:hover, .account-bar button:hover { text-decoration: underline; }
.page-status { margin: 90px auto; text-align: center; color: var(--muted); font-size: 16px; }
.download-shell { max-width: 720px; margin: auto; }
.account-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 17px; font-size: 14px; }
.account-bar span { overflow-wrap: anywhere; min-width: 0; }
.account-bar button { flex-shrink: 0; color: var(--muted); }
.download-hero { padding: 44px 0 32px; text-align: center; }
.download-hero .eyebrow { margin-bottom: 17px; }
.download-hero h1 { margin: 0 0 17px; font-size: clamp(34px, 5vw, 49px); letter-spacing: -.045em; font-weight: 550; }
.download-hero h1:focus { outline: none; }
.download-hero > p:not(.eyebrow) { max-width: 480px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.65; }
.download-action { margin: 26px auto 15px; }
.download-hero .download-status { margin: 12px auto !important; font-size: 14px !important; }
.download-hero .download-requirement { font-size: 13px !important; }
.download-steps { list-style: none; padding: 0; margin: 4px 0 25px; display: grid; gap: 22px; }
.download-steps li { display: flex; gap: 17px; }
.download-steps li > span { flex: 0 0 29px; height: 29px; display: grid; place-items: center; background: #eee8f7; color: var(--purple); font-size: 13px; border-radius: 50%; }
.download-steps strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; }
.download-steps p { margin: 7px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
details { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
summary { cursor: pointer; color: var(--ink); }
details p { margin: 12px 0 0; }
details ol { padding-left: 21px; }
dl { margin: 16px 0 0; }
dl div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; margin: 8px 0; }
dd { margin: 0; overflow-wrap: anywhere; }
.web-option { border-top: 1px solid var(--line); padding-top: 23px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
.web-option a { color: var(--purple); font-weight: 550; }
.dashboard-footer { text-align: center; padding: 20px 24px 28px; font-size: 13px; color: var(--muted); }
.dashboard-footer span { margin-left: 4px; }
@media (max-width: 560px) { .dashboard-main { padding: 22px 20px 40px; } .account-card { padding: 27px 23px 23px; } .account-card h1 { font-size: 30px; } .download-hero { padding-top: 36px; } }

/* Success: billing actions remain visible when product access is paused. */
.billing-panel { margin: 0 0 2rem; padding: 20px 24px; background: #f1ebfa; border: 1px solid #ddd1ef; border-radius: 14px; }
.billing-panel h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.billing-panel p { margin: 8px 0; font-size: 14px; line-height: 1.6; }
.billing-panel details { margin-top: 12px; padding: 12px 0 0; }
.billing-panel[data-access="true"] { background: transparent; }
.billing-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
[hidden] { display: none !important; }

.install-visual { margin: 2rem 0; }
.install-visual video { display:block; width:100%; max-width:900px; height:auto; border-radius:18px; border:1px solid #e8e2ef; }
.visual-credit { font-size:.8rem; color:#766b80; line-height:1.5; }
