*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f5f6f8;color:#111827}a{color:#2563eb}label{display:block;font-weight:650;font-size:14px}input,select,textarea{width:100%;margin-top:7px;padding:12px 13px;border:1px solid #d1d5db;border-radius:10px;background:#fff;font:inherit}textarea{resize:vertical}.btn{display:inline-block;border:0;border-radius:10px;padding:11px 16px;background:#111827;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.btn.secondary{background:#e5e7eb;color:#111827}.btn-large{width:100%;padding:15px;font-size:16px}.alert{padding:12px 14px;border-radius:10px;margin:12px 0}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.muted,.note,small{color:#6b7280}.auth-page,.checkout-page,.course-empty{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card,.checkout-card{width:min(100%,520px);background:#fff;border-radius:18px;padding:28px;box-shadow:0 16px 50px #11182712}.auth-card form,.checkout-card form{display:grid;gap:16px}.brand{font-weight:800;text-decoration:none;color:#111827}.price{font-size:30px;font-weight:850;margin:12px 0 22px}.payment-card{text-align:center}.qr{width:min(100%,360px);border-radius:14px;background:#fff}.pay-info{text-align:left;margin:14px 0}.pay-info p{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #eee;margin:0}.waiting,.success-box{padding:13px;border-radius:10px;margin-top:16px}.waiting{background:#fef3c7}.success-box{background:#dcfce7;color:#166534}.admin-shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.admin-shell aside{background:#111827;color:#fff;padding:22px;position:sticky;top:0;height:100vh}.admin-shell aside h2{font-size:18px;margin:0 0 22px}.admin-shell nav{display:grid;gap:5px}.admin-shell nav a{color:#d1d5db;text-decoration:none;padding:10px;border-radius:8px}.admin-shell nav a:hover{background:#1f2937;color:#fff}.admin-user{position:absolute;bottom:20px;color:#9ca3af;font-size:13px}.admin-shell main{padding:28px;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:center}.toolbar{display:flex;gap:14px;align-items:center;margin:0 0 15px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin:0 0 18px;overflow:auto}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;overflow:hidden}.stat b{display:block;font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat span{display:block;margin-top:6px;color:#6b7280;font-size:13px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #eee;vertical-align:top}th{font-size:12px;text-transform:uppercase;color:#6b7280}td small{display:block;margin-top:4px}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#f3f4f6;font-size:12px}.badge.ok{background:#dcfce7;color:#166534}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.form-grid h2{margin:0}.details p{padding:7px 0;border-bottom:1px solid #eee}pre{white-space:pre-wrap;background:#0b1020;color:#d1e4ff;padding:16px;border-radius:10px;overflow:auto}@media(max-width:850px){.admin-shell{grid-template-columns:1fr}.admin-shell aside{height:auto;position:relative}.admin-shell nav{display:flex;flex-wrap:wrap}.admin-user{display:none}.admin-shell main{padding:16px}.stats{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}@media(max-width:520px){.stats{grid-template-columns:1fr}.auth-card,.checkout-card{padding:20px}}
.url-row{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #eee}.url-row code{word-break:break-all}.upload-section{border:1px dashed #cbd5e1;border-radius:12px;padding:16px;background:#f8fafc}.upload-section h2{margin:0 0 5px;font-size:17px}.file-ok{color:#166534;font-weight:700}.access-picker{border-top:1px solid #eee;padding-top:10px}.check-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #eee;font-weight:400}.check-row input{width:auto;margin:3px 0 0}.check-row span{display:block}.check-row b,.check-row small{display:block}.link-card pre{margin-bottom:0}code{background:#f3f4f6;padding:2px 6px;border-radius:5px}@media(max-width:700px){.url-row{grid-template-columns:1fr}.url-row .btn{width:max-content}}
.auth-links{text-align:center;margin:18px 0 0}.customer-portal{min-height:100vh;background:#f5f6f8}.portal-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50}.portal-top>div{display:flex;align-items:center;gap:16px}.portal-title{color:#6b7280}.portal-user{font-weight:700}.portal-wrap{width:min(1180px,calc(100% - 32px));margin:28px auto 60px}.portal-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;background:#111827;color:#fff;border-radius:20px;padding:28px;margin-bottom:28px}.portal-hero h1{margin:0 0 10px}.portal-hero p{margin:0;color:#d1d5db;max-width:700px}.account-mini{display:grid;gap:5px;min-width:230px;background:#ffffff12;border:1px solid #ffffff22;border-radius:14px;padding:14px}.account-mini span{font-size:13px;color:#d1d5db}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 14px}.section-head h2{margin:0}.section-head span{color:#6b7280}.product-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.library-card{display:flex;flex-direction:column;justify-content:space-between;gap:22px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;min-height:200px}.library-card h3{margin:12px 0 8px}.library-card p{color:#6b7280}.library-card .btn{text-align:center}.portal-actions{text-align:center}.table-scroll{overflow:auto}.simple-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:16px}.simple-box p{margin-bottom:0;color:#1e3a8a}.copy-panel{border:1px solid #e5e7eb;border-radius:12px;padding:16px}.copy-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.copy-line input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.small-btn{margin-top:12px}.advanced-box{border-top:1px solid #eee;padding-top:14px}.advanced-box summary{cursor:pointer;font-weight:700}.advanced-box label{margin-top:14px}@media(max-width:850px){.product-library{grid-template-columns:1fr 1fr}.portal-hero{flex-direction:column}.account-mini{width:100%}.portal-top{position:relative;align-items:flex-start}.portal-top>div{flex-wrap:wrap}}@media(max-width:600px){.product-library{grid-template-columns:1fr}.portal-top{padding:14px 16px}.portal-user{display:none}.portal-wrap{width:min(100% - 20px,1180px);margin-top:14px}.portal-hero{padding:20px}.copy-line{grid-template-columns:1fr}.copy-line .btn{width:100%}}

/* ===== V4 customer-facing UI ===== */
:root{--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--panel:#fff;--bg:#f4f7fb;--soft:#f8fafc;--accent:#111827;--green:#15803d;--green-bg:#ecfdf5;--amber:#b45309;--amber-bg:#fffbeb}
body{color:var(--ink);background:var(--bg)}
.brand-dot{display:inline-block;width:11px;height:11px;border-radius:999px;background:#111827;box-shadow:0 0 0 5px #11182712;flex:0 0 auto}
.eyebrow{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.13em;color:#475569;margin-bottom:8px}.eyebrow.light{color:#cbd5e1}
.hidden{display:none!important}.label-optional{font-weight:500;color:#94a3b8}.success-text{color:#166534}.error-text{color:#b91c1c}

/* Checkout */
.checkout-v4{display:block;min-height:100vh;padding:36px 20px;background:radial-gradient(circle at 20% 0,#e8eefc 0,transparent 34%),linear-gradient(180deg,#f8fafc,#eef2f7)}
.checkout-shell{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;align-items:start}
.checkout-main-card,.summary-card,.fomo-card,.help-card,.payment-card-v4{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 48px rgba(15,23,42,.07)}
.checkout-main-card{padding:30px}.checkout-brand-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.brand-lockup{display:inline-flex;align-items:center;gap:10px;font-size:16px}.secure-label{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:7px 10px;border-radius:999px}
.checkout-heading{padding:28px 0 18px}.checkout-heading h1{font-size:clamp(28px,4vw,40px);line-height:1.08;margin:0 0 10px;letter-spacing:-.03em}.checkout-heading p{margin:0;color:#64748b;line-height:1.65;max-width:720px}
.checkout-form-v4{display:grid;gap:17px}.checkout-form-v4 label{font-size:13px;color:#334155}.checkout-form-v4 input{padding:14px 15px;border-radius:12px;border:1px solid #cbd5e1;transition:.18s box-shadow,.18s border-color;background:#fff}.checkout-form-v4 input:focus,.auth-form-v4 input:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 4px rgba(100,116,139,.11)}
.field-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.coupon-box{padding:16px;border-radius:15px;background:#f8fafc;border:1px solid #e2e8f0}.coupon-line{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:7px}.coupon-line input{margin:0}.coupon-line .btn{min-width:100px}.coupon-message{font-size:12px;min-height:18px;margin-top:8px}
.checkout-submit{margin-top:2px;border-radius:13px;background:linear-gradient(180deg,#111827,#020617);box-shadow:0 12px 28px rgba(15,23,42,.18);letter-spacing:.02em}.checkout-submit:hover{transform:translateY(-1px)}.checkout-trust{text-align:center;font-size:12px;color:#64748b;line-height:1.6}.checkout-side{display:grid;gap:18px;position:sticky;top:20px}.summary-card,.fomo-card,.help-card{padding:22px}.summary-card h2{margin:0 0 18px;font-size:17px}.summary-product{display:flex;gap:12px;align-items:center;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7}.summary-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#111827;color:#fff;font-size:19px}.summary-product div:last-child{display:grid;gap:4px}.summary-product span{font-size:11px;color:#64748b;line-height:1.4}.summary-lines{margin-top:16px}.summary-lines>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;color:#64748b;font-size:13px}.summary-lines b{color:#0f172a}.summary-total{border-top:1px solid #e2e8f0;margin-top:7px;padding-top:15px!important;align-items:end}.summary-total strong{font-size:24px;color:#0f172a}.free-note{margin-top:13px;background:#ecfdf5;color:#166534;padding:12px;border-radius:12px;font-size:12px;line-height:1.55}
.fomo-title{display:flex;gap:11px;align-items:flex-start}.fomo-title>div{display:grid;gap:3px}.fomo-title b{font-size:14px}.fomo-title span:last-child{font-size:11px;color:#64748b}.live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px #22c55e20;animation:pulse-dot 1.8s infinite}@keyframes pulse-dot{50%{box-shadow:0 0 0 9px #22c55e08}}
.fomo-list{display:grid;gap:10px;margin-top:16px}.fomo-item{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #f1f5f9}.avatar-mini{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f1f5f9;color:#334155;font-weight:800}.fomo-item>div{display:grid;gap:2px}.fomo-item b{font-size:12px}.fomo-item span{font-size:10px;color:#64748b}.fomo-check{display:grid!important;place-items:center;width:22px;height:22px;border-radius:50%;background:#ecfdf5;color:#15803d!important;font-weight:900}.help-card b{font-size:13px}.help-card p{margin:7px 0 0;color:#64748b;font-size:12px;line-height:1.55}
.auth-links{font-size:13px}.auth-links a{font-weight:700;text-decoration:none}.payment-shell{width:min(620px,100%);margin:0 auto}.payment-card-v4{padding:30px;text-align:center}.payment-card-v4 h1{font-size:30px;margin:12px 0 8px}.payment-topline{display:inline-flex;align-items:center;gap:9px;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:750}.coupon-applied-chip{display:inline-block;margin:10px 0 2px;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:750}.payment-note{line-height:1.55}

/* Customer portal */
.portal-v4{background:#f3f6fb;color:#0f172a}.portal-nav{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:50}.portal-nav-inner{width:min(1180px,calc(100% - 32px));min-height:68px;margin:auto;display:flex;align-items:center;gap:26px}.portal-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0f172a;font-weight:850}.portal-nav-links{display:flex;gap:5px;margin-right:auto}.portal-nav-links a{padding:9px 12px;border-radius:10px;text-decoration:none;color:#64748b;font-size:13px;font-weight:700}.portal-nav-links a.active,.portal-nav-links a:hover{background:#f1f5f9;color:#0f172a}.portal-account-menu{display:flex;align-items:center;gap:10px}.portal-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;font-weight:850}.portal-account-name{display:grid;line-height:1.2}.portal-account-name b{font-size:12px}.portal-account-name span{font-size:10px;color:#94a3b8}.logout-link{text-decoration:none;font-size:12px;color:#64748b;margin-left:5px}.portal-container{width:min(1180px,calc(100% - 32px));margin:30px auto 50px}.portal-welcome{display:grid;grid-template-columns:1.5fr .7fr;gap:28px;align-items:center;padding:32px;border-radius:24px;background:linear-gradient(125deg,#0f172a 0,#1e293b 55%,#334155 100%);color:#fff;box-shadow:0 20px 48px rgba(15,23,42,.18)}.portal-welcome h1{font-size:clamp(28px,4vw,42px);margin:0 0 10px;letter-spacing:-.03em}.portal-welcome p{color:#cbd5e1;line-height:1.65;margin:0;max-width:720px}.portal-profile-card{display:flex;align-items:center;gap:13px;background:#ffffff0f;border:1px solid #ffffff1f;padding:16px;border-radius:17px}.profile-avatar-large{display:grid;place-items:center;width:52px;height:52px;flex:0 0 auto;border-radius:16px;background:#fff;color:#0f172a;font-size:21px;font-weight:900}.portal-profile-card>div:last-child{display:grid;gap:3px;min-width:0}.portal-profile-card b{font-size:13px}.portal-profile-card span{font-size:11px;color:#cbd5e1;overflow:hidden;text-overflow:ellipsis}.portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 30px}.portal-stat{background:#fff;border:1px solid #e2e8f0;padding:18px 20px;border-radius:16px}.portal-stat span{display:block;color:#64748b;font-size:11px;font-weight:700}.portal-stat strong{display:block;font-size:24px;margin:7px 0 2px}.portal-stat small{font-size:10px}.portal-section{margin-top:30px}.portal-section-head{align-items:end}.portal-section-head h2{font-size:24px;letter-spacing:-.02em}.product-library-v4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.library-card-v4{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.18s transform,.18s box-shadow}.library-card-v4:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(15,23,42,.09)}.library-cover{position:relative;display:grid;place-items:center;height:115px;background:linear-gradient(135deg,#0f172a,#334155);overflow:hidden}.library-cover:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:#ffffff0b;right:-40px;top:-70px}.library-cover>span{font-size:40px;color:#fff;font-weight:900;z-index:1}.unlock-pill{position:absolute;left:12px;top:12px;background:#ffffffec;color:#166534;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:850;z-index:2}.library-body{padding:18px;display:flex;flex-direction:column;min-height:205px}.library-body h3{font-size:17px;margin:0 0 8px}.library-body p{font-size:12px;color:#64748b;line-height:1.55;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.library-body small{margin-top:auto}.library-open{margin-top:16px;display:flex;justify-content:space-between;align-items:center;border-radius:11px}.portal-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:40px;text-align:center}.empty-icon{font-size:30px}.portal-empty h3{margin:10px 0 5px}.portal-empty p{margin:0;color:#64748b;font-size:13px}.portal-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden}.portal-table th{background:#f8fafc;padding:13px 16px}.portal-table td{padding:15px 16px}.status-pill{display:inline-block;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:800}.status-pill.paid{background:#ecfdf5;color:#166534}.status-pill.pending{background:#fff7ed;color:#9a3412}.coupon-chip{display:inline-block;background:#eef2ff;color:#3730a3;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:800}.table-empty{text-align:center;padding:24px;color:#64748b}.account-security-card{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px 20px}.account-security-card>div{display:flex;gap:12px;align-items:center}.security-icon{display:grid;place-items:center;width:42px;height:42px;background:#f1f5f9;border-radius:12px}.account-security-card p{margin:4px 0 0;color:#64748b;font-size:11px}.portal-footer{text-align:center;padding:24px;color:#94a3b8;font-size:11px}

/* Authentication */
.auth-v4{display:block;padding:0;background:#f3f6fb}.auth-shell-v4{min-height:100vh;display:grid;grid-template-columns:minmax(400px,.9fr) minmax(460px,1.1fr)}.auth-showcase{position:relative;display:flex;flex-direction:column;padding:38px clamp(34px,6vw,76px);background:radial-gradient(circle at 15% 10%,#334155 0,transparent 30%),linear-gradient(145deg,#0f172a,#111827 55%,#1e293b);color:#fff;overflow:hidden}.auth-showcase:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid #ffffff10;right:-170px;bottom:-150px;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff03}.light-logo{color:#fff}.light-logo .brand-dot{background:#fff;box-shadow:0 0 0 5px #ffffff14}.auth-showcase-content{margin:auto 0;max-width:580px;position:relative;z-index:2}.auth-showcase-content h1{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:5px 0 22px;letter-spacing:-.05em}.auth-showcase-content p{color:#cbd5e1;line-height:1.7;font-size:15px}.auth-benefits{display:grid;gap:10px;margin-top:26px}.auth-benefits span{font-size:13px;color:#e2e8f0}.auth-showcase-footer{font-size:11px;color:#94a3b8;position:relative;z-index:2}.auth-form-panel{display:grid;place-items:center;padding:38px}.auth-form-wrap{width:min(100%,470px)}.mobile-auth-brand{display:none}.auth-form-wrap h2{font-size:34px;margin:3px 0 8px;letter-spacing:-.03em}.auth-subtitle{margin:0 0 24px;color:#64748b;line-height:1.6;font-size:13px}.auth-form-v4{display:grid;gap:16px}.auth-form-v4 label{font-size:12px;color:#334155}.auth-form-v4 input{padding:14px 15px;border-radius:12px;border:1px solid #cbd5e1;background:#fff}.input-with-icon{position:relative}.input-with-icon span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:12px;z-index:2}.input-with-icon input{padding-left:37px;margin-top:7px}.auth-helper-row{display:flex;justify-content:space-between;font-size:11px;margin-top:-6px}.auth-helper-row a{text-decoration:none;font-weight:750}.auth-primary{border-radius:12px;background:#111827;box-shadow:0 10px 25px rgba(15,23,42,.16)}.auth-note{margin-top:24px;padding:15px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.auth-note b{font-size:12px}.auth-note p{font-size:11px;color:#64748b;line-height:1.55;margin:5px 0 0}.auth-simple-v4{display:grid;place-items:center;padding:28px;min-height:100vh;background:radial-gradient(circle at 20% 0,#e2e8f0,transparent 30%),#f8fafc}.auth-simple-card{width:min(100%,500px);background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:30px;box-shadow:0 18px 55px rgba(15,23,42,.08)}.auth-simple-card .portal-logo{margin-bottom:28px}.auth-simple-card h1{margin:3px 0 8px;font-size:30px;letter-spacing:-.03em}.auth-icon-circle{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#f1f5f9;margin-bottom:18px;font-size:20px}

@media(max-width:980px){.checkout-shell{grid-template-columns:1fr}.checkout-side{position:static;grid-template-columns:1fr 1fr}.summary-card{grid-column:1/-1}.auth-shell-v4{grid-template-columns:1fr}.auth-showcase{display:none}.auth-form-panel{min-height:100vh}.mobile-auth-brand{display:flex;align-items:center;gap:9px;font-weight:850;margin-bottom:46px}.portal-welcome{grid-template-columns:1fr}.product-library-v4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.checkout-v4{padding:14px 10px}.checkout-main-card{padding:20px}.checkout-side{grid-template-columns:1fr}.field-grid-2{grid-template-columns:1fr}.secure-label{display:none}.coupon-line{grid-template-columns:1fr}.coupon-line .btn{width:100%}.portal-nav-inner{width:calc(100% - 20px)}.portal-nav-links,.portal-account-name{display:none}.portal-account-menu{margin-left:auto}.portal-container{width:calc(100% - 20px);margin-top:12px}.portal-welcome{padding:22px}.portal-stats{grid-template-columns:1fr}.product-library-v4{grid-template-columns:1fr}.account-security-card{align-items:flex-start;flex-direction:column}.account-security-card .btn{width:100%;text-align:center}.auth-form-panel{padding:24px 18px}.auth-form-wrap h2{font-size:30px}.payment-card-v4{padding:20px}.payment-card-v4 h1{font-size:26px}}

/* ===== V5 checkout, FOMO, pagination & updater ===== */
.checkout-v5{display:block;min-height:100vh;padding:30px 14px 60px;background:radial-gradient(circle at 15% 0,#e8eefc 0,transparent 34%),linear-gradient(180deg,#f8fafc,#eef2f7)}
.checkout-one-column{width:min(820px,100%);margin:0 auto;display:grid;gap:18px}
.checkout-v5-card{background:#fff;border:1px solid #dfe6ef;border-radius:22px;padding:28px;box-shadow:0 16px 44px rgba(15,23,42,.06)}
.checkout-v5-hero{overflow:hidden}.checkout-v5-title{padding:26px 0 18px}.checkout-v5-title h1{font-size:clamp(28px,5vw,42px);line-height:1.08;margin:0 0 10px;letter-spacing:-.035em}.checkout-v5-title p{margin:0;color:#64748b;line-height:1.65}
.checkout-v5-pricing{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.checkout-v5-pricing>div{display:flex;justify-content:space-between;gap:20px;padding:13px 16px;border-bottom:1px solid #eef2f7}.checkout-v5-pricing>div:last-child{border-bottom:0}.checkout-v5-pricing span{color:#64748b}.checkout-v5-pricing strong{font-size:16px}.checkout-v5-pricing .discount-number{color:#dc2626}.checkout-v5-pricing .checkout-v5-total{background:#0f172a;color:#fff;align-items:center}.checkout-v5-pricing .checkout-v5-total span{color:#cbd5e1}.checkout-v5-pricing .checkout-v5-total strong{font-size:27px}
.coupon-fomo-banner{margin-top:14px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #fed7aa;background:linear-gradient(90deg,#fff7ed,#fffbeb);border-radius:15px;color:#9a3412}.coupon-flash{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff1d6;font-size:20px}.coupon-fomo-banner>div{display:grid;gap:2px}.coupon-fomo-banner b{font-size:14px}.coupon-fomo-banner span{font-size:11px}.coupon-final-price{font-weight:850!important;color:#dc2626;font-size:14px!important;white-space:nowrap}
.checkout-section-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.step-badge{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#111827;color:#fff;font-weight:850}.checkout-section-head h2{margin:0 0 4px;font-size:22px}.checkout-section-head p{margin:0;color:#64748b;font-size:12px;line-height:1.5}.checkout-form-v5{display:grid;gap:16px}.checkout-form-v5 input{padding:14px 15px}.coupon-box-v5{margin-top:2px;padding:16px;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:14px}.checkout-submit-v5{margin-top:2px;padding:16px;border-radius:13px;font-size:16px;box-shadow:0 12px 28px rgba(15,23,42,.14)}.checkout-trust-v5{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;color:#64748b;font-size:11px;text-align:center}
.fomo-premium-panel{border:2px solid #e2e8f0;padding:22px}.fomo-premium-heading{display:flex;align-items:center;gap:10px;color:#d60000;font-size:17px;font-weight:900;padding-bottom:13px;border-bottom:1px solid #e5e7eb}.pulse-red{width:11px;height:11px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 7px #fee2e2;animation:fomoPulse 1.6s infinite}@keyframes fomoPulse{0%,100%{box-shadow:0 0 0 6px #fee2e2}50%{box-shadow:0 0 0 11px #fee2e200}}
.fomo-premium-list{margin-top:13px;border:1px solid #dbe4ee;border-radius:12px;overflow:hidden}.fomo-premium-row{display:grid;grid-template-columns:28px minmax(150px,1fr) minmax(110px,.65fr) minmax(155px,.75fr);gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid #edf2f7;animation:fomoIn .35s ease both}.fomo-premium-row:last-child{border-bottom:0}.fomo-premium-check{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dcfce7;color:#159447;font-weight:900;box-shadow:inset 0 0 0 1px #bbf7d0}.fomo-premium-row strong{font-size:13px}.fomo-relative{color:#718096;font-size:12px;text-align:right}.fomo-exact{color:#e00000;font-size:12px;text-align:right}@keyframes fomoIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.fomo-real-note{text-align:center;color:#64748b;font-size:11px;line-height:1.5}.fomo-cta{display:block;margin:16px auto 0;border:0;border-radius:12px;background:linear-gradient(#ffd600,#ffbf00);color:#111;padding:15px 22px;font-weight:900;font-size:15px;box-shadow:0 5px 0 #e89b00,0 12px 26px #0002;cursor:pointer}.fomo-cta:active{transform:translateY(3px);box-shadow:0 2px 0 #e89b00}.checkout-help-v5{text-align:center;padding:20px}.checkout-help-v5 p{margin:6px 0 0;color:#64748b;font-size:12px;line-height:1.55}

.pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin:18px 0 8px}.page-link{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;border:1px solid #dbe3ec;border-radius:9px;background:#fff;color:#334155;text-decoration:none;font-size:13px;font-weight:700}.page-link:hover{border-color:#94a3b8}.page-link.active{background:#111827;color:#fff;border-color:#111827}.page-gap{color:#94a3b8;padding:0 3px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 15px}.list-toolbar-wrap{align-items:flex-end}.list-search{display:flex;gap:8px;align-items:center;min-width:min(100%,500px)}.list-search input{margin:0;min-width:270px}.list-meta{font-size:12px;color:#64748b;margin-bottom:8px}.coupon-link-list{margin-top:18px;border-top:1px solid #e5e7eb;padding-top:16px}.coupon-link-list h3{margin:0 0 4px}.coupon-link-row{display:grid;grid-template-columns:220px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #f1f5f9}.coupon-link-row>div{display:grid;gap:2px}.coupon-link-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-updater-card{max-width:850px}.security-note{display:grid;gap:4px;padding:14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;color:#1e3a8a;margin:14px 0}.security-note span{font-size:12px;line-height:1.55}.source-updater-form{display:grid;gap:14px;margin-top:18px}.source-updater-form .btn{width:max-content}.portal-password-link{font-size:12px;color:#334155;text-decoration:none;padding:8px 10px;border-radius:9px;background:#f1f5f9;font-weight:750}.portal-password-link:hover{background:#e2e8f0}

@media(max-width:760px){.checkout-v5-card{padding:20px 16px;border-radius:17px}.coupon-fomo-banner{grid-template-columns:auto 1fr}.coupon-final-price{grid-column:2}.fomo-premium-row{grid-template-columns:28px 1fr auto}.fomo-relative{display:none}.fomo-exact{grid-column:3}.fomo-premium-heading{font-size:14px}.list-toolbar,.list-toolbar-wrap{align-items:stretch;flex-direction:column}.list-search{width:100%;min-width:0}.list-search input{min-width:0}.coupon-link-row{grid-template-columns:1fr}.coupon-link-row code{white-space:normal;word-break:break-all}.portal-password-link{font-size:11px}.logout-link{font-size:11px}}
@media(max-width:520px){.checkout-v5{padding:10px 8px 40px}.checkout-v5-title{padding-top:20px}.checkout-v5-pricing .checkout-v5-total strong{font-size:22px}.fomo-premium-row{grid-template-columns:28px 1fr}.fomo-exact{grid-column:2;text-align:left}.fomo-premium-check{grid-row:1/3}.portal-password-link{padding:7px 8px}.portal-account-menu{gap:6px}}
