[hidden] { display: none !important; }
.button-light { border: 0; cursor: pointer; }
.button:disabled { opacity: .65; cursor: wait; }
.checkout-error { min-height: 18px !important; margin: 10px 0 0 !important; color: #ffe1ea !important; font-size: 12px; }
.license-success { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 20%, #eee5ff, transparent 46%), #f8f6fb; }
.license-card { width: min(620px, 100%); padding: 52px; text-align: center; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 30px 80px rgba(57,31,83,.12); }
.license-card > img { width: 76px; border-radius: 18px; margin-bottom: 25px; }
.license-card h1 { font-size: 48px; margin: 14px 0 18px; }
.license-card p { color: var(--muted); }
#license-result { margin: 25px 0; }
#license-key { display: block; max-height: 110px; margin-bottom: 18px; padding: 16px; overflow: auto; border-radius: 12px; background: #f5f1fa; color: var(--purple); word-break: break-all; }
.license-error { color: #dc3658 !important; }
.account-page { min-height: 100vh; background: radial-gradient(circle at 50% 0, #eee7ff, transparent 42%), #f9f8fb; }
.account-nav { max-width: 1100px; margin: auto; padding: 28px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.account-shell { min-height: calc(100vh - 100px); padding: 50px 20px 100px; display: grid; place-items: start center; }
.account-card { width: min(520px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 32px 80px rgba(64,36,92,.12); }
.account-heading { margin-bottom: 28px; text-align: center; }
.account-heading h1,.dashboard-head h1 { margin: 12px 0; font-size: 38px; letter-spacing: -2px; }
.account-heading p { margin: 0; color: var(--muted); }
#auth-form { display: grid; gap: 18px; }
#auth-form label { display: grid; gap: 8px; color: #4e4856; font-size: 13px; font-weight: 600; }
#auth-form input { height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; font: inherit; }
#auth-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(123,54,237,.08); }
#auth-form label small { color: #a39ba9; font-size: 10px; }
#auth-submit { width: 100%; border: 0; cursor: pointer; }
.account-switch { border: 0; background: none; color: var(--purple); cursor: pointer; font: 600 12px "DM Sans",sans-serif; }
#auth-switch { display: block; margin: 22px auto 0; }
.form-error { min-height: 18px; margin: 0; color: #d73555; font-size: 12px; }
.form-success { min-height: 18px; margin: 0; color: #1f9d63; font-size: 12px; }
.account-dashboard { width: min(760px,100%); }
.account-dashboard > .plan-card + .plan-card { margin-top: 14px; }
.dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.plan-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #f9f7fc; }
.plan-card span,.plan-card strong { display: block; }
.plan-card > div > span { margin-bottom: 8px; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.plan-card strong { font: 600 28px "Manrope",sans-serif; }
.plan-card strong small { color: var(--muted); font: 500 12px "DM Sans",sans-serif; }
.plan-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.plan-active { border-color: rgba(66,184,131,.3); background: #f3fbf7; }
.active-pill { color: #24845f !important; }
.license-key-box { margin: 20px 0; padding: 20px; border-radius: 16px; background: #f3eef9; }
.license-key-box span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.license-key-box code { display: block; max-height: 90px; overflow: auto; color: var(--purple); font-size: 10px; word-break: break-all; }
#portal-button { margin-top: 20px; }
.danger-zone { margin-top: 38px; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #f0d9df; }
.danger-zone > div > span,.danger-kicker { color: #d73555; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.danger-zone h2 { margin: 7px 0 5px; font: 600 18px/1.25 -apple-system,"Segoe UI",sans-serif; letter-spacing: 0; white-space: nowrap; }
.danger-zone p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; }
.danger-button { padding: 11px 16px; flex-shrink: 0; border: 1px solid #e9a8b6; border-radius: 10px; color: #c62648; background: #fff6f8; cursor: pointer; font: 700 12px "DM Sans",sans-serif; }
.danger-button:hover { color: white; background: #cf2f50; border-color: #cf2f50; }
.danger-button:disabled { opacity: .6; cursor: wait; }
.device-approve-card { text-align: center; }
.device-approve-card h1 { margin: 14px 0; font-size: 38px; }
.device-approve-card > p { color: var(--muted); line-height: 1.6; }
.device-current { margin: 20px 0; padding: 14px; border-radius: 12px; color: #9d2942; background: #fff1f4; font-size: 12px; }
#device-actions,#device-login { margin-top: 24px; display: grid; gap: 12px; }
#device-actions[hidden],#device-login[hidden] { display: none; }
#device-password-login { display: block; padding: 10px; }
.delete-overlay { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(24,17,28,.52); backdrop-filter: blur(8px); }
.delete-overlay[hidden] { display: none; }
.delete-dialog { width: min(470px,100%); padding: 34px; border-radius: 24px; background: white; box-shadow: 0 35px 90px rgba(31,20,38,.3); }
.delete-dialog h2 { margin: 10px 0; font: 600 28px "Manrope",sans-serif; letter-spacing: -1px; }
.delete-dialog > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
#delete-account-form { display: grid; gap: 16px; }
#delete-account-form label { display: grid; gap: 7px; color: #4e4856; font-size: 12px; }
#delete-account-form input { height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; outline: none; }
#delete-account-form input:focus { border-color: #d73555; box-shadow: 0 0 0 4px rgba(215,53,85,.08); }
#delete-account-form > div { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 4px; }
@media(max-width:600px){.account-card{padding:28px 22px}.dashboard-head,.plan-card{align-items:stretch;flex-direction:column}.account-heading h1,.dashboard-head h1{font-size:32px}.license-card{padding:36px 22px}.license-card h1{font-size:38px}}
