/* FIX10 — konto klienta premium. Ładowane wyłącznie na /konto przez istniejący moduł S497+. */
:root{--bm-navy:#0b2036;--bm-navy-2:#102b48;--bm-orange:#ff7a1a;--bm-orange-2:#e86108;--bm-bg:#f4f7fb;--bm-card:#fff;--bm-text:#13243a;--bm-muted:#64748b;--bm-line:#dde5ee;--bm-green:#137a56;--bm-green-bg:#eaf8f2;--bm-red:#a83b3b;--bm-red-bg:#fff1f1;--bm-shadow:0 24px 70px rgba(10,32,54,.12)}
.customer-page{margin:0;background:linear-gradient(180deg,#eef4fa 0,#f8fafc 340px,#f8fafc 100%);color:var(--bm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;min-height:100vh}
.customer-page *{box-sizing:border-box}.customer-page a{color:inherit}.customer-page .topbar.account-topbar{height:auto;min-height:82px;padding:14px max(24px,calc((100vw - 1180px)/2));background:var(--bm-navy);display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;box-shadow:0 8px 30px rgba(8,28,48,.18)}
.account-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.account-brand-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#ff8a2a,#ff6811);font-weight:900;font-size:21px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}.account-brand strong{display:block;font-size:18px;letter-spacing:-.02em}.account-brand small{display:block;margin-top:2px;color:#aebfd0;font-size:9px;letter-spacing:.15em;font-weight:700}.account-nav{display:flex;align-items:center;gap:20px}.account-nav a{color:#dce7f1;text-decoration:none;font-size:13px;font-weight:700}.account-nav a:hover{color:#fff}
.customer-page .shell.account-shell{width:min(1180px,calc(100% - 36px));margin:34px auto 60px}.customer-page .journey.account-journey{margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none}.customer-page .journey li{min-height:58px;padding:12px 16px;border:1px solid #d5e0eb;border-radius:14px;background:rgba(255,255,255,.78);display:flex;align-items:center;gap:10px;color:#657589;font-size:13px;font-weight:750}.customer-page .journey li b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#dce6ef;color:#536779}.customer-page .journey li.done{color:#20785a;border-color:#c7e5d8}.customer-page .journey li.done b{background:#167a58;color:#fff}.customer-page .journey li.active{border-color:#f6b274;box-shadow:inset 0 -3px 0 var(--bm-orange);color:var(--bm-navy)}.customer-page .journey li.active b{background:var(--bm-navy);color:#fff}
.customer-page .card.account-card{background:var(--bm-card);border:0;border-radius:26px;overflow:hidden;padding:0;box-shadow:var(--bm-shadow)}.account-hero{padding:48px 52px 38px;background:radial-gradient(circle at 88% 10%,rgba(255,122,26,.16),transparent 30%),linear-gradient(135deg,#0b2036,#102d4c);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:42px;align-items:center}.account-hero .eyebrow{margin:0 0 10px;color:#ffad6d;font-size:11px;letter-spacing:.17em;font-weight:850}.account-hero h1{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,60px);line-height:1.02;letter-spacing:-.035em}.account-intro{max-width:720px;margin:17px 0 0;color:#ced9e5;font-size:16px;line-height:1.7}.account-trust{padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.07);display:flex;gap:13px;align-items:flex-start}.account-trust-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#1e8d68;color:#fff;font-weight:900}.account-trust strong,.account-trust span{display:block}.account-trust strong{font-size:14px}.account-trust span{margin-top:3px;color:#b9cad9;font-size:12px;line-height:1.5}
.auth-panel{padding:38px 52px 48px;background:#fff}.auth-panel form{max-width:620px;margin:0 auto;display:grid;gap:17px}.form-heading{margin-bottom:7px}.mini-eyebrow{margin:0 0 5px;color:#c85b13;font-size:10px;letter-spacing:.15em;font-weight:850}.form-heading h2,.section-heading h2{font-family:Georgia,"Times New Roman",serif;color:var(--bm-navy);margin:0;font-size:30px;letter-spacing:-.02em}.form-heading p,.section-heading p{margin:8px 0 0;color:var(--bm-muted);font-size:14px;line-height:1.6}.auth-panel label,.delete-confirmation label{display:grid;gap:7px;color:#33475d;font-size:13px;font-weight:750}.auth-panel input,.delete-confirmation input[type=password]{width:100%;border:1px solid #cbd8e5;border-radius:11px;padding:13px 14px;background:#fff;color:var(--bm-text);font:inherit;outline:none;transition:.15s}.auth-panel input:focus,.delete-confirmation input:focus{border-color:#ff8a32;box-shadow:0 0 0 4px rgba(255,122,26,.12)}.form-actions,.actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:3px}.customer-page .button,.customer-page .download{border:0;border-radius:11px;background:linear-gradient(135deg,#ff841f,#ff6b0b);color:#fff;padding:13px 19px;font-weight:800;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 18px rgba(238,102,15,.2);font:inherit}.customer-page .button:hover,.customer-page .download:hover{background:linear-gradient(135deg,#ff7620,#e95e06)}.customer-page button:disabled{opacity:.55;cursor:wait}.customer-page .text-button{background:none;border:0;padding:5px 0;text-decoration:none;cursor:pointer;color:#38526e;font:inherit;font-weight:700}.customer-page .text-button:hover{text-decoration:underline}.forgot-button{justify-self:start}
#account{padding:38px 52px 52px}.account-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--bm-line)}.account-identity{display:flex;align-items:center;gap:13px}.account-avatar{width:46px;height:46px;border-radius:14px;background:#eef4fa;color:var(--bm-navy);display:grid;place-items:center;font-weight:900;font-size:13px}.account-identity span:not(.account-avatar),.account-identity strong{display:block}.account-identity span:not(.account-avatar){color:var(--bm-muted);font-size:12px}.account-identity strong{margin-top:2px;font-size:15px;word-break:break-all}.logout-button{white-space:nowrap}
.customer-page .access-state{margin:20px 0 0;padding:15px 17px;border:1px solid;border-left:5px solid;border-radius:12px;font-weight:700;font-size:14px}.customer-page .access-state.active{background:var(--bm-green-bg);border-color:#9bd6c1;border-left-color:var(--bm-green);color:#12684b}.customer-page .access-state.inactive{background:var(--bm-red-bg);border-color:#efc4c4;border-left-color:var(--bm-red);color:#8d3434}.customer-page .account-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 0}.customer-page .account-facts>div{padding:17px 18px;border:1px solid var(--bm-line);border-radius:14px;background:#f8fafc}.customer-page .account-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7a8a9a;font-weight:800}.customer-page .account-facts dd{margin:5px 0 0;color:var(--bm-navy);font-size:15px;font-weight:850;overflow-wrap:anywhere}
.account-section{margin-top:40px;padding-top:35px;border-top:1px solid var(--bm-line)}.section-heading{display:flex;align-items:flex-start;gap:15px;margin-bottom:18px}.section-number{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#fff3e8;color:#c3540e;font-size:11px;font-weight:900;flex:0 0 auto}.section-heading>div{min-width:0}.section-heading .mini-eyebrow{margin-bottom:3px}.section-heading h2{font-size:28px}.section-heading p{max-width:770px}
.customer-page .downloads,.customer-page .order-history{display:grid;gap:13px}.premium-download{border:1px solid var(--bm-line);border-radius:17px;padding:18px;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:center;box-shadow:0 8px 26px rgba(16,43,72,.045)}.premium-download.ready{border-color:#b7decf;background:linear-gradient(90deg,#f8fffc,#fff)}.premium-download.unavailable{background:#fafbfc}.download-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#eef4fa;color:var(--bm-navy);font-size:21px;font-weight:900}.premium-download.ready .download-icon{background:#e4f5ee;color:#147455}.download-main{min-width:0}.download-kicker{display:block;color:#c45a12;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.download-main>strong{display:block;margin-top:3px;color:var(--bm-navy);font-size:16px}.download-main>p{margin:5px 0 0;color:var(--bm-muted);font-size:13px;line-height:1.55}.premium-download dl{margin:12px 0 0;display:grid;grid-template-columns:2fr .7fr 1fr;gap:8px}.premium-download dl>div{padding:9px 10px;border-radius:9px;background:#f5f8fb}.premium-download dt{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#8492a1}.premium-download dd{margin:3px 0 0;font-size:12px;font-weight:750;overflow-wrap:anywhere}.download-state{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850;white-space:nowrap}.download-state.waiting{background:#eef2f6;color:#65778a}.download-action{display:flex;align-items:center}.hash-details{margin-top:9px}.hash-details summary{cursor:pointer;color:#5c6e80;font-size:11px;font-weight:700}.hash-details code{display:block;margin-top:7px;padding:8px;border-radius:8px;background:#edf2f6;word-break:break-all;font-size:10px;color:#485a6c}
.premium-empty{border:1px dashed #cbd8e5;border-radius:16px;padding:20px;background:#f9fbfd;display:flex;align-items:flex-start;gap:13px;color:#5e7082}.premium-empty>span{width:34px;height:34px;border-radius:10px;background:#edf3f8;display:grid;place-items:center;color:#49627c;font-weight:900}.premium-empty strong{display:block;color:#324a62;font-size:14px}.premium-empty p{margin:4px 0 0;font-size:13px;line-height:1.55}.premium-history{border:1px solid var(--bm-line);border-radius:16px;padding:18px;background:#fff}.premium-history header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.history-kicker{display:block;color:#7a8a9a;font-size:10px;font-weight:800;letter-spacing:.06em}.premium-history header strong{display:block;margin-top:3px;color:var(--bm-navy)}.history-status{border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850}.history-status.paid{background:var(--bm-green-bg);color:var(--bm-green)}.history-status.pending{background:#fff5df;color:#9a6518}.history-status.failed{background:var(--bm-red-bg);color:var(--bm-red)}.premium-history dl{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:13px 0 0}.premium-history dl>div{padding:10px;border-radius:9px;background:#f7f9fb}.premium-history dt{font-size:9px;text-transform:uppercase;color:#8997a5}.premium-history dd{margin:3px 0 0;font-size:12px;font-weight:750}
/* Moduł danych licencji S497 — przebudowany wizualnie, nadal read-only. */
.bm-license-identifiers[hidden],.bm-license-identifiers [hidden]{display:none!important}.bm-license-identifiers{margin:18px 0 0;padding:18px;border:1px solid #d4e1ee;border-radius:17px;background:linear-gradient(135deg,#f2f7fc,#fbfdff);color:var(--bm-text)}.bm-license-identifiers .bm-id-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.bm-license-identifiers h2{margin:0;color:var(--bm-navy);font-family:Georgia,"Times New Roman",serif;font-size:21px}.bm-license-identifiers .bm-id-sub{margin:4px 0 0;color:var(--bm-muted);font-size:12px}.bm-license-identifiers dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bm-license-identifiers dl>div{position:relative;padding:13px 40px 13px 14px;border:1px solid #dde7f0;border-radius:12px;background:#fff}.bm-license-identifiers dt{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7d8d9d;font-weight:850}.bm-license-identifiers dd{margin:4px 0 0;color:var(--bm-navy);font-size:13px;font-weight:850;overflow-wrap:anywhere}.bm-copy{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;border-radius:8px;background:#edf3f8;color:#405a73;width:26px;height:26px;cursor:pointer;font-weight:800}.bm-copy:hover{background:#dfeaf3}.bm-license-identifiers details{margin-top:10px}.bm-license-identifiers details summary{cursor:pointer;color:#52687f;font-size:11px;font-weight:750}.bm-license-identifiers .bm-support{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #dce6ef}.bm-license-identifiers .bm-support p{margin:0;color:#647689;font-size:12px;line-height:1.5}.bm-license-identifiers .bm-support a{color:#c8560d;text-decoration:none;font-weight:850;white-space:nowrap}
.account-security{margin-bottom:0}.danger-zone{border:1px solid #efd4d4;border-radius:16px;background:#fffafa;overflow:hidden}.danger-zone summary{list-style:none;cursor:pointer;padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.danger-zone summary::-webkit-details-marker{display:none}.danger-zone summary strong,.danger-zone summary small{display:block}.danger-zone summary strong{color:#863232;font-size:14px}.danger-zone summary small{margin-top:3px;color:#8d7070;font-size:11px;font-weight:500}.danger-chevron{font-size:18px;color:#9b5555}.danger-content{padding:0 18px 18px;border-top:1px solid #f1dddd}.danger-content>p{color:#775c5c;font-size:12px;line-height:1.6}.customer-page .danger-button{background:#9b3434;box-shadow:none}.customer-page .danger-button:hover{background:#842c2c}.delete-confirmation{margin-top:15px;padding:16px;border-radius:13px;background:#fff;border:1px solid #eccdcd}.delete-confirmation h3{margin:0;color:#7e2f2f}.delete-confirmation p{color:#765d5d;font-size:12px}.confirm-check{grid-template-columns:auto 1fr!important;align-items:flex-start!important}.confirm-check input{width:auto!important;margin-top:3px}.confirm-check span{font-weight:600;font-size:12px;color:#6d5656}
.customer-page .message{margin:18px 52px 42px;padding:14px 16px;border-radius:12px;font-size:13px;font-weight:700}.customer-page .message.good{background:var(--bm-green-bg);color:var(--bm-green);border:1px solid #bce1d3}.customer-page .message.bad{background:var(--bm-red-bg);color:var(--bm-red);border:1px solid #ecc7c7}.customer-page .message a{display:block;margin-top:6px;font-weight:850}.customer-page .hidden{display:none!important}.account-footer{width:min(1180px,calc(100% - 36px));margin:-34px auto 35px;display:flex;justify-content:space-between;gap:18px;color:#7c8997;font-size:11px}
@media(max-width:900px){.account-hero{grid-template-columns:1fr}.account-trust{max-width:480px}.customer-page .account-facts{grid-template-columns:repeat(2,1fr)}.premium-download{grid-template-columns:46px minmax(0,1fr)}.download-action{grid-column:2}.premium-history dl{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.customer-page .topbar.account-topbar{padding:13px 16px}.account-nav a:not(:first-child){display:none}.account-brand small{display:none}.account-brand-mark{width:38px;height:38px}.customer-page .shell.account-shell{width:min(100% - 20px,1180px);margin:16px auto 44px}.customer-page .journey.account-journey{gap:5px}.customer-page .journey li{min-height:49px;padding:8px 9px;font-size:11px}.customer-page .journey li b{width:23px;height:23px;font-size:10px}.account-hero{padding:31px 23px 27px;gap:23px}.account-hero h1{font-size:39px}.account-intro{font-size:14px}.auth-panel,#account{padding:25px 21px 31px}.form-heading h2,.section-heading h2{font-size:25px}.account-head{align-items:flex-start}.customer-page .account-facts{grid-template-columns:1fr}.section-heading{gap:10px}.section-number{width:30px;height:30px}.premium-download{padding:15px;grid-template-columns:40px minmax(0,1fr);gap:12px}.download-icon{width:40px;height:40px}.premium-download dl,.premium-history dl{grid-template-columns:1fr}.download-action{grid-column:1 / -1}.download-action .download{width:100%}.bm-license-identifiers{padding:15px}.bm-license-identifiers dl{grid-template-columns:1fr}.bm-license-identifiers .bm-support{align-items:flex-start;flex-direction:column}.customer-page .message{margin:15px 21px 28px}.account-footer{width:calc(100% - 28px);margin:-20px auto 25px;flex-direction:column;gap:3px}.form-actions .button{width:100%}}
