:root{--blue:#1877f2;--blue-dark:#0d65d9;--blue-soft:#eaf2ff;--text:#0f172a;--muted:#64748b;--line:#e5e7eb;--bg:#fff;--surface:#f8fafc;--sidebar:240px;--top:64px;--shadow:0 10px 30px rgba(15,23,42,.08)}*{box-sizing:border-box}html,body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}body{min-width:1100px}a{text-decoration:none;color:inherit}button,input{font:inherit}.topbar{height:var(--top);position:fixed;top:0;left:0;right:0;z-index:100;display:grid;grid-template-columns:280px minmax(420px,1fr) 280px;align-items:center;gap:20px;padding:0 16px 0 24px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)}.top-left,.top-actions{display:flex;align-items:center;gap:14px}.top-actions{justify-content:flex-end;justify-self:end;width:100%}.icon-btn{width:40px;height:40px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;cursor:pointer}.icon-btn:hover{background:#f1f5f9}.icon-btn svg{width:21px}.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:20px;letter-spacing:-.5px}.brand>span:last-child>span{color:var(--blue)}.brand-mark{width:32px;height:28px;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center}.brand-mark svg{width:19px}.search{height:42px;width:min(100%,760px);justify-self:center;display:flex;border:1px solid #cbd5e1;border-radius:24px;overflow:hidden;background:#fff}.search:focus-within{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.search input{flex:1;border:0;outline:0;padding:0 18px;font-size:14px}.search button{width:60px;border:0;border-left:1px solid var(--line);background:#f8fafc;cursor:pointer}.search button svg{width:20px}.login-btn{height:38px;border:1px solid #cbd5e1;color:var(--blue);font-weight:700;border-radius:20px;padding:0 14px;display:flex;align-items:center;gap:7px}.login-btn svg{width:20px}.avatar-btn{border:0;background:none;padding:0;cursor:pointer}.avatar-btn img{width:34px;height:34px;border-radius:50%;object-fit:cover}.profile-wrap{position:relative}.profile-menu{display:none;position:absolute;right:0;top:48px;width:280px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:10px;z-index:120}.profile-menu.show{display:block}.pm-head{display:flex;gap:10px;padding:8px}.pm-head img{width:42px;height:42px;border-radius:50%;object-fit:cover}.pm-head strong,.pm-head small{display:block}.pm-head small{margin-top:4px;color:var(--muted);font-size:12px}.profile-menu>a{display:flex;gap:10px;padding:11px 10px;border-radius:9px;font-size:14px}.profile-menu>a:hover{background:#f8fafc}.profile-menu svg{width:18px}.divider{border-top:1px solid var(--line);margin:6px 0}.app-shell{padding-top:var(--top)}.sidebar{position:fixed;top:var(--top);left:0;bottom:0;width:var(--sidebar);background:#fff;padding:12px 12px 18px;overflow:auto;border-right:1px solid #f1f5f9;transition:.2s}.sidebar nav a{height:44px;padding:0 13px;border-radius:10px;display:flex;align-items:center;gap:16px;font-size:14px;font-weight:500}.sidebar nav a:hover{background:#f8fafc}.sidebar nav a.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.sidebar nav svg{width:20px}.side-sep{border-top:1px solid var(--line);margin:12px 4px}.side-label{padding:0 13px;margin:14px 0 7px;font-weight:700;font-size:13px}.sidebar-foot{padding:22px 13px;color:var(--muted);font-size:11px;line-height:1.5}.sidebar-foot strong,.sidebar-foot small,.sidebar-foot span{display:block}.sidebar-foot strong{color:var(--text);font-size:12px;margin-bottom:5px}.sidebar-foot span{margin-top:9px}.content{margin-left:var(--sidebar);min-height:calc(100vh - var(--top));padding:24px 34px 60px;transition:.2s}.sidebar-mini .sidebar{width:80px}.sidebar-mini .sidebar span,.sidebar-mini .side-label,.sidebar-mini .sidebar-foot{display:none}.sidebar-mini .sidebar nav a{justify-content:center;padding:0}.sidebar-mini .content{margin-left:80px}.hero{height:310px;border-radius:22px;overflow:hidden;position:relative;background:#0b1220;margin-bottom:28px}.hero img{width:100%;height:100%;object-fit:cover;opacity:.52}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,22,.92) 0%,rgba(4,10,22,.63) 45%,rgba(4,10,22,.05) 78%)}.hero-content{position:absolute;z-index:2;left:38px;top:50%;transform:translateY(-50%);width:560px;color:#fff}.eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#bcd7ff}.hero h1{font-size:38px;line-height:1.08;letter-spacing:-1.3px;margin:12px 0}.hero p{font-size:14px;line-height:1.65;color:#dbeafe}.hero-actions{display:flex;gap:10px;margin-top:22px}.btn{height:42px;padding:0 17px;border-radius:9px;border:1px solid transparent;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.btn svg{width:18px}.btn-primary{background:var(--blue);color:white}.btn-primary:hover{background:var(--blue-dark)}.btn-white{background:white;color:#111827}.btn-outline{border-color:#cbd5e1;background:#fff}.section{margin:28px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.section-title h2{font-size:21px;letter-spacing:-.4px;margin:0}.section-title p{color:var(--muted);font-size:13px;margin:5px 0 0}.link-more{color:var(--blue);font-size:13px;font-weight:700}.chips{display:flex;gap:10px;margin:6px 0 24px;overflow:hidden}.chip{height:34px;border:0;padding:0 15px;border-radius:8px;background:#f1f5f9;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap}.chip.active,.chip:hover{background:#111827;color:#fff}.course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}.course-card{min-width:0}.thumb{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#e5e7eb;position:relative}.thumb img{width:100%;height:100%;object-fit:cover;transition:.25s}.course-card:hover .thumb img{transform:scale(1.025)}.thumb-badge{position:absolute;right:7px;bottom:7px;background:rgba(15,23,42,.88);color:white;font-size:10px;font-weight:700;padding:4px 6px;border-radius:5px}.free-badge{position:absolute;left:8px;top:8px;background:var(--blue);color:white;font-size:10px;font-weight:800;padding:5px 7px;border-radius:6px}.card-info{display:flex;gap:11px;padding-top:11px}.mentor-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 auto}.card-copy{min-width:0}.card-copy h3{font-size:14px;line-height:1.35;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.meta{color:var(--muted);font-size:12px;line-height:1.55}.meta .verified{color:var(--blue);font-size:11px}.card-price{font-size:13px;font-weight:800;margin-top:5px}.price-free{color:#16a34a}.market-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 17px}.product-card .thumb{aspect-ratio:4/3}.product-card h3{font-size:13px;margin:10px 0 5px;line-height:1.4}.product-type{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--blue)}.product-price{font-weight:800;margin-top:6px;font-size:13px}.page-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.page-title h1{font-size:28px;letter-spacing:-.8px;margin:0}.page-title p{color:var(--muted);font-size:13px;margin:7px 0 0}.empty{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:14px;padding:38px;text-align:center;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:42px}.detail-cover{aspect-ratio:16/9;width:100%;border-radius:16px;overflow:hidden;background:#0f172a}.detail-cover img{width:100%;height:100%;object-fit:cover}.detail-main h1{font-size:32px;line-height:1.18;letter-spacing:-.8px;margin:18px 0 10px}.lead{color:#475569;line-height:1.7;font-size:15px}.mentor-line{display:flex;align-items:center;gap:10px;margin:18px 0}.mentor-line img{width:42px;height:42px;border-radius:50%;object-fit:cover}.mentor-line strong,.mentor-line small{display:block}.mentor-line small{color:var(--muted);margin-top:3px}.detail-card{border:1px solid var(--line);border-radius:16px;padding:20px;position:sticky;top:88px}.detail-price{font-size:26px;font-weight:800;margin:4px 0 18px}.feature-list{display:grid;gap:12px;margin:18px 0 0}.feature-list div{display:flex;align-items:center;gap:10px;font-size:13px;color:#475569}.feature-list svg{width:18px;color:var(--blue)}.tabs{border-bottom:1px solid var(--line);display:flex;gap:28px;margin-top:28px}.tabs a{font-size:13px;font-weight:700;padding:13px 0;border-bottom:2px solid var(--blue)}.lesson-list{margin-top:18px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.lesson-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--line)}.lesson-row:last-child{border-bottom:0}.lesson-row .play{width:30px;height:30px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.lesson-row svg{width:15px}.lesson-row strong{font-size:13px}.lesson-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.lesson-row>small{margin:0}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px}.video-frame{aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}.video-frame iframe{width:100%;height:100%;border:0}.watch-title{font-size:20px;margin:15px 0 8px}.watch-desc{font-size:13px;color:#475569;line-height:1.7}.playlist{border:1px solid var(--line);border-radius:12px;overflow:hidden;max-height:calc(100vh - 110px);overflow:auto}.playlist-head{padding:15px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.playlist-head strong{display:block}.playlist-head small{color:var(--muted)}.playlist a{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:12px;border-bottom:1px solid #f1f5f9}.playlist a.active{background:var(--blue-soft)}.playlist a:hover{background:#f8fafc}.playlist .num{font-size:11px;color:var(--muted)}.playlist strong{font-size:12px;line-height:1.4}.playlist small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.auth-page{min-height:calc(100vh - 64px);display:grid;place-items:center;background:#f8fafc}.auth-card{width:430px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:30px}.auth-brand{justify-content:center;margin-bottom:24px}.auth-card h1{text-align:center;font-size:23px;margin:0}.auth-card>p{text-align:center;color:var(--muted);font-size:13px;line-height:1.5;margin:8px 0 24px}.field{margin-bottom:14px}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field input{width:100%;height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:0 12px;outline:0}.field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.auth-card .btn{width:100%}.alert{padding:11px 13px;border-radius:9px;font-size:12px;margin-bottom:15px}.alert-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.demo-note{margin-top:17px;background:#f8fafc;padding:12px;border-radius:9px;color:#64748b;font-size:11px;line-height:1.6}.library-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-card{border:1px solid var(--line);border-radius:14px;overflow:hidden}.library-card .lib-body{padding:14px}.progress{height:6px;background:#e5e7eb;border-radius:99px;overflow:hidden;margin-top:12px}.progress span{display:block;height:100%;background:var(--blue)}.lib-actions{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.lib-actions small{color:var(--muted)}

/* === TradeAcademy polish v2 === */
.chip{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 18px;border-radius:9px;background:#f1f5f9;color:#0f172a;font-size:12px;font-weight:750;transition:.18s ease}.chip:hover{background:#e8f1ff;color:var(--blue)}.chip.active{background:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(24,119,242,.18)}.market-filter{display:flex;align-items:center;margin:-2px 0 26px}.market-filter .chips{margin:0;padding:4px;background:#fff;border:1px solid var(--line);border-radius:12px;gap:4px;overflow:visible}

.watch-layout{grid-template-columns:minmax(0,1fr) 410px;gap:28px;align-items:start}.watch-main{min-width:0}.video-frame{border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.08)}.video-empty{display:grid;place-items:center;color:#fff}.video-empty>div{text-align:center}.video-empty svg{width:42px;height:42px}.watch-copy{padding:4px 2px}.watch-kicker{display:flex;align-items:center;gap:7px;margin-top:18px;color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.watch-kicker svg{width:15px}.watch-title{font-size:22px;letter-spacing:-.35px;margin:8px 0}.watch-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}.watch-desc{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.playlist{border-radius:14px;max-height:calc(100vh - 104px);background:#fff}.playlist-head{padding:16px 17px;display:flex;align-items:center;justify-content:space-between}.playlist-head>div>span{display:block;font-size:10px;font-weight:800;color:var(--blue);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.playlist-head strong{font-size:13px;line-height:1.35}.playlist-head small{display:block;margin-top:4px;font-size:10px}.playlist-head>svg{width:20px;color:var(--blue)}.playlist-items{background:#fff}.playlist a.playlist-item{grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 15px;border-left:3px solid transparent}.playlist a.playlist-item.active{background:var(--blue-soft);border-left-color:var(--blue)}.playlist a.playlist-item.locked{cursor:not-allowed;opacity:.66}.lesson-index{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#64748b;background:#f1f5f9}.lesson-index svg{width:12px}.playlist-item.active .lesson-index{background:var(--blue);color:white}.lesson-copy{min-width:0}.lesson-copy strong{display:block;font-size:12px}.preview-badge{font-size:9px;font-weight:800;color:var(--blue);background:#eaf2ff;border-radius:99px;padding:4px 6px}

.checkout-shell,.order-shell{max-width:1180px;margin:0 auto}.checkout-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.checkout-back,.checkout-secure{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.checkout-back{color:#475569}.checkout-back:hover{color:var(--blue)}.checkout-back svg,.checkout-secure svg{width:16px}.checkout-secure{color:#16803f;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:99px;padding:7px 11px}.checkout-title{margin-bottom:24px}.checkout-title h1{font-size:30px;letter-spacing:-.8px;margin:0}.checkout-title p{font-size:13px;color:var(--muted);margin:7px 0 0}.checkout-alert{display:flex;align-items:center;justify-content:space-between;padding:13px 15px}.checkout-alert a{font-weight:800;text-decoration:underline}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}.checkout-main{display:grid;gap:18px}.checkout-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px}.checkout-card-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.checkout-card-head h2{font-size:16px;margin:0;letter-spacing:-.25px}.checkout-card-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.step-number{width:30px;height:30px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800;flex:0 0 auto}.tripay-ready{margin-left:auto;font-size:10px;font-weight:800;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:99px;padding:5px 8px}.checkout-product{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:center}.checkout-product>img{width:180px;aspect-ratio:16/9;object-fit:cover;border-radius:11px;background:#e5e7eb}.checkout-product-copy h3{font-size:17px;margin:6px 0}.checkout-product-copy p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}.checkout-product-price{font-size:15px;font-weight:800;margin-top:10px}.payment-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-option{min-height:72px;border:1px solid #dbe1ea;border-radius:12px;padding:12px;display:grid;grid-template-columns:18px 42px 1fr 20px;align-items:center;gap:10px;cursor:pointer;transition:.18s;background:#fff}.payment-option:hover{border-color:#9ec5ff;background:#fbfdff}.payment-option.selected{border-color:var(--blue);box-shadow:0 0 0 2px rgba(24,119,242,.09);background:#fbfdff}.payment-option input{position:absolute;opacity:0;pointer-events:none}.payment-radio{width:16px;height:16px;border:1.5px solid #94a3b8;border-radius:50%;position:relative}.payment-option.selected .payment-radio{border-color:var(--blue)}.payment-option.selected .payment-radio:after{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);position:absolute;inset:3px}.payment-logo{width:42px;height:38px;border:1px solid #eef2f7;border-radius:8px;display:grid;place-items:center;background:#fff;overflow:hidden}.payment-logo img{max-width:34px;max-height:26px;object-fit:contain}.payment-logo svg{width:18px;color:var(--blue)}.payment-copy strong{display:block;font-size:12px}.payment-copy small{display:block;color:var(--muted);font-size:9.5px;line-height:1.4;margin-top:3px}.payment-check{width:17px;color:var(--blue);opacity:0}.payment-option.selected .payment-check{opacity:1}.payment-note{display:flex;gap:9px;background:#f8fafc;border-radius:10px;padding:11px 12px;margin-top:14px;color:#64748b;font-size:10px;line-height:1.55}.payment-note svg{width:15px;flex:0 0 auto;color:var(--blue)}.customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.customer-grid>div{background:#f8fafc;border-radius:10px;padding:12px}.customer-grid span,.customer-grid strong{display:block}.customer-grid span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:700}.customer-grid strong{font-size:11px;margin-top:5px;overflow-wrap:anywhere}.checkout-summary-wrap{position:sticky;top:86px}.checkout-summary{border:1px solid var(--line);border-radius:16px;padding:21px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.checkout-summary h2{font-size:16px;margin:0 0 18px}.summary-row{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#64748b;margin:11px 0}.summary-row strong{color:#334155}.summary-row.discount strong{color:#16a34a}.summary-divider{border-top:1px dashed #d8dee8;margin:17px 0}.summary-total{display:flex;align-items:end;justify-content:space-between;gap:15px}.summary-total span{font-size:12px;font-weight:700}.summary-total strong{font-size:23px;letter-spacing:-.6px}.checkout-submit{width:100%;height:48px;margin-top:20px;border-radius:10px;font-size:13px}.checkout-guarantees{display:grid;gap:12px;margin-top:18px;padding-top:17px;border-top:1px solid #eef2f7}.checkout-guarantees>div{display:flex;gap:9px}.checkout-guarantees svg{width:17px;color:var(--blue);flex:0 0 auto}.checkout-guarantees strong,.checkout-guarantees small{display:block}.checkout-guarantees strong{font-size:10px}.checkout-guarantees small{font-size:9px;color:var(--muted);line-height:1.45;margin-top:2px}.checkout-terms{font-size:8.5px;line-height:1.5;color:#94a3b8;text-align:center;margin:16px 4px 0}

.order-status-banner{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:20px;display:flex;align-items:center;gap:14px;margin-bottom:22px}.order-status-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:var(--blue)}.order-status-icon svg{width:20px}.order-status-banner span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--blue)}.order-status-banner h1{font-size:20px;margin:3px 0}.order-status-banner p{font-size:11px;color:var(--muted);margin:0}.status-paid{background:#f0fdf4;border-color:#bbf7d0}.status-paid .order-status-icon{background:#dcfce7;color:#16a34a}.status-paid span{color:#16803f}.order-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}.order-grid>section{display:grid;gap:18px}.order-item-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #eef2f7}.order-item-icon{width:38px;height:38px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.order-item-icon svg{width:18px}.order-item-row strong,.order-item-row small{display:block}.order-item-row strong{font-size:12px}.order-item-row small{font-size:9px;color:var(--muted);margin-top:3px}.order-item-row>b{font-size:12px}.payment-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.payment-detail-grid>div{background:#f8fafc;border-radius:10px;padding:13px}.payment-detail-grid span,.payment-detail-grid strong{display:block}.payment-detail-grid span{font-size:9px;color:var(--muted);margin-bottom:5px}.payment-detail-grid strong{font-size:11px;overflow-wrap:anywhere}.pending-provider{display:flex;gap:10px;padding:12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-top:18px;color:#1e40af}.pending-provider svg{width:18px;flex:0 0 auto}.pending-provider strong,.pending-provider small{display:block}.pending-provider strong{font-size:10px}.pending-provider small{font-size:9px;line-height:1.45;margin-top:3px}.order-back-btn{width:100%;margin-top:10px}

/* === Profile & Account === */
.profile-page{max-width:1240px;margin:0 auto}.profile-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.profile-eyebrow{display:block;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.1em;margin-bottom:7px}.profile-page-head h1{margin:0;font-size:29px;letter-spacing:-.8px}.profile-page-head p{margin:7px 0 0;color:var(--muted);font-size:12px}.profile-status{display:flex;align-items:center;gap:9px;border:1px solid #dbeafe;background:#f8fbff;padding:9px 13px;border-radius:11px}.profile-status>svg{width:19px;color:var(--blue)}.profile-status small,.profile-status strong{display:block}.profile-status small{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.profile-status strong{font-size:11px;margin-top:2px}.profile-alert{display:flex;align-items:flex-start;gap:10px;border-radius:12px;padding:12px 14px;margin-bottom:18px;border:1px solid}.profile-alert>svg{width:18px;flex:0 0 auto}.profile-alert strong,.profile-alert span{display:block}.profile-alert strong{font-size:11px}.profile-alert span{font-size:10px;margin-top:3px}.profile-alert.success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.profile-alert.error{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.profile-overview{display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:18px;margin-bottom:18px}.profile-identity-card{min-height:155px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);display:flex;align-items:center;padding:22px;gap:17px}.profile-avatar-large{width:82px;height:82px;border-radius:50%;padding:3px;border:2px solid #dbeafe;background:#fff;flex:0 0 auto}.profile-avatar-large img{width:100%;height:100%;border-radius:50%;object-fit:cover}.profile-identity-copy{min-width:0}.role-pill{display:inline-flex;align-items:center;gap:5px;color:var(--blue);background:var(--blue-soft);border-radius:99px;padding:4px 7px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.role-pill svg{width:11px}.profile-identity-copy h2{margin:7px 0 3px;font-size:20px;letter-spacing:-.4px}.profile-identity-copy>p{margin:0;color:var(--muted);font-size:11px}.profile-member-since{display:flex;align-items:center;gap:5px;margin-top:9px;color:#64748b;font-size:9px}.profile-member-since svg{width:13px}.profile-referral-box{margin-left:auto;border-left:1px solid #e6edf7;padding-left:20px;min-width:165px}.profile-referral-box>span{display:block;font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-weight:700}.profile-referral-box>div{display:flex;align-items:center;gap:8px;margin-top:6px}.profile-referral-box strong{font-size:12px;letter-spacing:.03em}.copy-btn{width:28px;height:28px;border:1px solid #dbe1ea;background:#fff;border-radius:8px;display:grid;place-items:center;cursor:pointer;color:#475569}.copy-btn:hover{border-color:#9ec5ff;color:var(--blue)}.copy-btn svg{width:13px}.profile-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.profile-stats>div{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center}.stat-icon{grid-row:1/3;width:35px;height:35px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.stat-icon svg{width:17px}.profile-stats strong{font-size:18px;line-height:1}.profile-stats small{font-size:8.5px;color:var(--muted);margin-top:3px}.profile-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}.profile-side-stack{display:grid;gap:18px}.profile-panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px}.profile-panel-head{display:flex;align-items:center;gap:11px;border-bottom:1px solid #eef2f7;padding-bottom:15px;margin-bottom:17px}.panel-head-icon{width:34px;height:34px;border-radius:9px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;flex:0 0 auto}.panel-head-icon svg{width:17px}.profile-panel-head h2{font-size:14px;margin:0}.profile-panel-head p{font-size:9.5px;color:var(--muted);margin:4px 0 0}.profile-form{display:grid;gap:14px}.profile-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-form .field{margin:0}.profile-form .field label{display:block;font-size:9.5px;font-weight:750;margin-bottom:6px;color:#334155}.profile-form .field>small{display:block;color:#94a3b8;font-size:8.5px;margin-top:5px}.input-icon{position:relative}.input-icon>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:15px;color:#94a3b8;pointer-events:none}.input-icon input{width:100%;height:42px;border:1px solid #dbe1ea;border-radius:9px;padding:0 12px 0 38px;outline:none;background:#fff;font-size:11px;color:var(--text);transition:.15s}.input-icon input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,119,242,.08)}.password-input input{padding-right:40px}.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;background:transparent;border-radius:7px;display:grid;place-items:center;cursor:pointer;color:#64748b}.password-toggle:hover{background:#f1f5f9}.password-toggle svg{width:14px}.profile-form-footer{border-top:1px solid #eef2f7;padding-top:16px;margin-top:3px;display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-form-footer>span{display:flex;align-items:center;gap:6px;color:#94a3b8;font-size:8.5px}.profile-form-footer>span svg{width:13px}.profile-form-footer code{font-size:8px}.profile-form-footer .btn{height:40px;font-size:10px}.compact-form{gap:11px}.profile-password-btn{width:100%;height:40px;margin-top:2px;font-size:10px}.account-meta-panel{padding-bottom:14px}.account-meta-list{display:grid}.account-meta-list>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #f1f5f9}.account-meta-list>div:last-child{border-bottom:0}.account-meta-list span{font-size:9px;color:var(--muted)}.account-meta-list strong{font-size:9.5px;text-align:right}.account-meta-list strong.ok{color:#16803f}

/* === Avatar upload === */
.avatar-upload-box{display:flex;align-items:center;gap:14px;padding:13px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}.avatar-upload-box>img{width:62px;height:62px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px #dbe1ea}.avatar-upload-box>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px}.upload-avatar-btn{height:34px;padding:0 12px;border-radius:8px;background:var(--blue);color:#fff;display:inline-flex!important;align-items:center;gap:7px!important;font-size:9.5px!important;font-weight:800!important;cursor:pointer;margin:0!important}.upload-avatar-btn svg{width:14px}.avatar-upload-box strong{font-size:9px;color:#334155}.avatar-upload-box small{flex-basis:100%;margin:0!important;font-size:8.5px!important;color:#94a3b8!important}.avatar-upload-box code{font-size:8px}

/* === Affiliate Center === */
.affiliate-page{max-width:1320px;margin:0 auto}.affiliate-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px}.affiliate-hero h1{font-size:30px;letter-spacing:-.9px;margin:0}.affiliate-hero p{color:var(--muted);font-size:12px;margin:7px 0 0}.tier-badge{display:flex;align-items:center;gap:10px;border:1px solid #dbeafe;background:#f8fbff;border-radius:13px;padding:10px 14px}.tier-badge>svg{width:20px;color:var(--blue)}.tier-badge small,.tier-badge strong{display:block}.tier-badge small{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.tier-badge strong{font-size:11px;margin-top:3px}.tier-ambassador{background:#fff8e7;border-color:#fde68a}.tier-ambassador>svg{color:#b7791f}.tier-partner{background:#f4f7ff;border-color:#c7d2fe}.affiliate-link-card{border:1px solid #dbeafe;background:linear-gradient(135deg,#f8fbff,#fff);border-radius:16px;padding:18px 20px;margin-bottom:18px}.affiliate-link-card>div>span{display:block;font-size:8px;color:var(--blue);letter-spacing:.09em;font-weight:800;margin-bottom:8px}.affiliate-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px}.affiliate-link-row input{height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:0 12px;font-size:10px;color:#334155;background:#fff;outline:none}.affiliate-link-row .btn{height:42px;font-size:10px}.affiliate-link-card small{display:block;color:var(--muted);font-size:8.5px;margin-top:8px}.affiliate-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.affiliate-kpis>div{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fff;position:relative;min-height:104px}.aff-kpi-icon{width:34px;height:34px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin-bottom:11px}.aff-kpi-icon svg{width:17px}.affiliate-kpis small,.affiliate-kpis strong,.affiliate-kpis em{display:block}.affiliate-kpis small{position:absolute;left:61px;top:18px;font-size:9px;color:var(--muted)}.affiliate-kpis strong{position:absolute;left:61px;top:37px;font-size:20px;letter-spacing:-.5px}.affiliate-kpis em{font-style:normal;color:#94a3b8;font-size:8px}.balance-kpi{border-color:#bfdbfe!important;background:#fbfdff!important}.affiliate-main-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);gap:18px;margin-bottom:18px}.tier-progress{display:grid;gap:18px}.tier-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;position:relative}.tier-steps:before{content:"";position:absolute;left:15%;right:15%;top:15px;height:2px;background:#e5e7eb;z-index:0}.tier-steps span{position:relative;z-index:1;padding-top:34px;font-size:9px;color:#94a3b8;text-align:center}.tier-steps span:before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:18px;height:18px;border-radius:50%;background:#e2e8f0;border:4px solid #fff;box-shadow:0 0 0 1px #cbd5e1}.tier-steps span.done{color:#334155;font-weight:700}.tier-steps span.done:before{background:var(--blue);box-shadow:0 0 0 1px var(--blue)}.tier-steps b{display:block;margin-top:3px;color:var(--text)}.tier-next{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border-radius:10px;padding:12px}.tier-next strong,.tier-next span{font-size:9px}.tier-next span{color:var(--muted)}.payout-balance{display:flex;justify-content:space-between;align-items:center;border-radius:10px;background:#eff6ff;color:#1d4ed8;padding:11px 12px;font-size:9px}.payout-balance strong{font-size:12px}.payout-card select,.payout-card input{width:100%;height:40px;border:1px solid #dbe1ea;border-radius:9px;padding:0 11px;font-size:10px;outline:none;background:#fff}.payout-card select:focus,.payout-card input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,119,242,.08)}.input-prefix{display:flex;border:1px solid #dbe1ea;border-radius:9px;overflow:hidden}.input-prefix:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,119,242,.08)}.input-prefix span{width:42px;display:grid;place-items:center;background:#f8fafc;border-right:1px solid #e2e8f0;font-size:10px;font-weight:700;color:#475569}.input-prefix input{border:0!important;border-radius:0!important;box-shadow:none!important}.payout-card button:disabled{opacity:.55;cursor:not-allowed}.affiliate-table-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;margin-bottom:18px}.affiliate-table-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border-bottom:1px solid #eef2f7}.affiliate-table-head h2{font-size:13px;margin:0}.affiliate-table-head p{font-size:8.5px;color:var(--muted);margin:4px 0 0}.affiliate-table-head>span{font-size:9px;color:var(--muted);background:#f8fafc;padding:6px 9px;border-radius:99px}.table-scroll{overflow:auto}.aff-table{width:100%;border-collapse:collapse;min-width:650px}.aff-table th{text-align:left;background:#f8fafc;color:#64748b;font-size:8px;text-transform:uppercase;letter-spacing:.06em;padding:10px 15px}.aff-table td{padding:12px 15px;border-top:1px solid #f1f5f9;font-size:9.5px;color:#475569}.aff-table td strong,.aff-table td small{display:block}.aff-table td strong{color:#0f172a;font-size:9.5px}.aff-table td small{font-size:8px;color:#94a3b8;margin-top:3px}.status-pill{display:inline-flex!important;width:max-content;padding:4px 7px;border-radius:99px;font-size:7.5px!important;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.status-pill.green{background:#dcfce7;color:#166534}.status-pill.gray{background:#f1f5f9;color:#64748b}.status-pill.blue{background:#dbeafe;color:#1d4ed8}.status-pill.red{background:#fee2e2;color:#991b1b}.empty-cell{text-align:center!important;padding:30px!important;color:#94a3b8!important}.affiliate-bottom-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.affiliate-bottom-grid .affiliate-table-card{margin-bottom:0}.auth-switch{text-align:center;margin-top:14px;font-size:10px;color:var(--muted)}.auth-switch a{color:var(--blue);font-weight:800}.ref-register-note{display:flex;gap:10px;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:10px 12px;margin:12px 0}.ref-register-note>svg{width:18px;color:var(--blue)}.ref-register-note strong,.ref-register-note span{display:block}.ref-register-note strong{font-size:9px}.ref-register-note span{font-size:8px;color:#64748b;margin-top:2px}.register-card{margin-top:18px;margin-bottom:18px}

/* === v6 readability, cart and commerce polish === */
html{font-size:16px}.content{font-size:14px}.topbar{padding-right:18px}.cart-header-btn{position:relative}.cart-count{position:absolute;right:0;top:1px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--blue);color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:10px;font-weight:800;line-height:1}.page-title h1{font-size:32px}.page-title p,.section-title p{font-size:14px}.section-title h2{font-size:22px}.link-more{font-size:14px}.chip{height:38px;padding:0 17px;font-size:13px}.chip.active,.chip:hover{background:var(--blue);color:#fff}.card-copy h3{font-size:15px}.meta{font-size:13px}.card-price,.product-price{font-size:15px}.product-card h3{font-size:15px;margin:11px 0 6px}.thumb-badge,.free-badge{font-size:11px}.product-card,.course-card{position:relative}.product-card-link,.course-card-link{display:block}.card-cart-form{margin-top:10px}.card-cart-btn{height:36px;width:100%;border:1px solid #d7dee8;background:#fff;border-radius:9px;color:#334155;font-size:12px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:.16s}.card-cart-btn:hover{border-color:#9ec5ff;background:#f7fbff;color:var(--blue)}.card-cart-btn.in-cart{background:#eff6ff;color:var(--blue);border-color:#bfdbfe}.card-cart-btn svg{width:15px}.market-grid{gap:30px 18px}.course-grid{gap:32px 18px}
.product-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 16px);padding:6px 9px;border-radius:999px;font-size:11px;line-height:1;font-weight:800;letter-spacing:.035em;text-transform:uppercase;border:1px solid transparent;white-space:nowrap}.product-badge svg{width:13px;height:13px}.thumb>.product-badge{position:absolute;left:9px;top:9px;z-index:2;box-shadow:0 5px 16px rgba(15,23,42,.12);backdrop-filter:blur(8px)}.badge-ebook{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.badge-template{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.badge-tool{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.badge-indicator{background:#fdf2f8;color:#be185d;border-color:#fbcfe8}.badge-other{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.product-detail-cover{aspect-ratio:4/3;max-height:540px;position:relative}.detail-product-badge{position:absolute!important;left:14px!important;top:14px!important}.detail-section-title{font-size:21px;margin-top:24px}.about-title{margin-top:30px}.detail-main h1{font-size:34px}.lead{font-size:15px}.mentor-line strong{font-size:14px}.mentor-line small{font-size:13px}.detail-card>.meta{font-size:13px}.detail-purchase-actions{display:grid;gap:9px}.detail-purchase-actions form{margin:0}.detail-buy-btn,.detail-cart-btn{width:100%;height:44px}.detail-cart-btn.in-cart{background:#eff6ff;color:var(--blue);border-color:#bfdbfe}.feature-list div{font-size:14px}.tabs a{font-size:14px}.lesson-row strong{font-size:14px}.lesson-row small{font-size:12px}.watch-desc{font-size:14px}.playlist strong{font-size:13px}.playlist small{font-size:12px}.playlist .num{font-size:12px}

/* Profile readability */
.profile-panel-head h2{font-size:16px}.profile-panel-head p{font-size:12px}.profile-form .field label{font-size:12px}.profile-form .field>small{font-size:11px}.input-icon input{font-size:13px}.profile-form-footer>span{font-size:11px}.profile-form-footer code{font-size:10px}.profile-form-footer .btn,.profile-password-btn{font-size:12px}.account-meta-list span{font-size:12px}.account-meta-list strong{font-size:12px}.upload-avatar-btn{font-size:12px!important}.avatar-upload-box strong{font-size:12px}.avatar-upload-box small{font-size:11px!important}.avatar-upload-box code{font-size:10px}

/* Affiliate readability: minimum comfortable desktop sizing */
.affiliate-hero h1{font-size:34px}.affiliate-hero p{font-size:14px}.tier-badge small{font-size:10px}.tier-badge strong{font-size:13px}.affiliate-link-card>div>span{font-size:11px}.affiliate-link-row input{font-size:13px}.affiliate-link-row .btn{font-size:13px}.affiliate-link-card small{font-size:11px}.affiliate-kpis small{font-size:11px}.affiliate-kpis strong{font-size:22px}.affiliate-kpis em{font-size:10px}.tier-steps span{font-size:11px}.tier-next strong,.tier-next span{font-size:11px}.payout-balance{font-size:11px}.payout-balance strong{font-size:14px}.payout-card select,.payout-card input{font-size:13px}.input-prefix span{font-size:12px}.affiliate-table-head h2{font-size:15px}.affiliate-table-head p{font-size:11px}.affiliate-table-head>span{font-size:11px}.aff-table th{font-size:10px}.aff-table td{font-size:12px}.aff-table td strong{font-size:12px}.aff-table td small{font-size:10px}.status-pill{font-size:9px!important}.auth-switch{font-size:12px}.ref-register-note strong{font-size:12px}.ref-register-note span{font-size:11px}

/* Cart */
.cart-page{max-width:1280px;margin:0 auto}.page-eyebrow{display:block;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.09em;margin-bottom:7px}.cart-title{align-items:center}.cart-clear{display:flex;align-items:center;gap:7px;color:#64748b;font-size:13px;font-weight:700}.cart-clear svg{width:16px}.cart-empty{border:1px solid var(--line);border-radius:18px;padding:64px 30px;text-align:center;background:#fff}.cart-empty>span{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.cart-empty>span svg{width:28px}.cart-empty h2{font-size:22px;margin:0 0 8px}.cart-empty p{color:var(--muted);font-size:14px;margin:0 0 22px}.cart-empty>div{display:flex;gap:10px;justify-content:center}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.cart-list{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.cart-item{display:grid;grid-template-columns:180px minmax(0,1fr) 140px;gap:18px;padding:18px;border-bottom:1px solid #eef2f7}.cart-item:last-child{border-bottom:0}.cart-thumb{height:110px;border-radius:11px;overflow:hidden;background:#f1f5f9}.cart-thumb img{width:100%;height:100%;object-fit:cover}.cart-item-copy{min-width:0}.item-kind{display:flex;align-items:center;gap:6px;color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.item-kind svg{width:14px}.cart-item h3{font-size:16px;margin:7px 0 6px}.cart-item p{font-size:12px;color:var(--muted);line-height:1.55;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.remove-link{display:inline-flex;align-items:center;gap:5px;color:#64748b;font-size:12px;font-weight:700}.remove-link:hover{color:#dc2626}.remove-link svg{width:14px}.cart-item-price{text-align:right;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.cart-item-price del{font-size:12px;color:#94a3b8}.cart-item-price strong{font-size:16px;margin-top:4px}.cart-summary-card{border:1px solid var(--line);border-radius:16px;padding:20px;position:sticky;top:88px;background:#fff}.cart-summary-card h2{font-size:18px;margin:0 0 18px}.cart-summary-card>div{display:flex;justify-content:space-between;gap:18px;font-size:13px;margin:12px 0}.cart-summary-card .discount strong{color:#16a34a}.cart-summary-card .cart-total{border-top:1px solid var(--line);padding-top:16px;margin-top:16px;align-items:center}.cart-summary-card .cart-total span{font-weight:700}.cart-summary-card .cart-total strong{font-size:22px}.cart-checkout-btn{width:100%;height:46px;margin-top:8px}.cart-summary-card>p{display:flex;gap:8px;color:var(--muted);font-size:11px;line-height:1.5;margin:14px 0 0}.cart-summary-card>p svg{width:16px;flex:0 0 auto;color:var(--blue)}

/* Checkout multi-item */
.checkout-items-list{display:grid}.checkout-items-list .checkout-product{border-top:1px solid #eef2f7;padding:16px 0}.checkout-items-list .checkout-product:first-child{border-top:0;padding-top:0}.checkout-line-price{margin-left:auto;text-align:right;min-width:120px;display:flex;flex-direction:column;justify-content:center}.checkout-line-price del{font-size:11px;color:#94a3b8}.checkout-line-price strong{font-size:15px;margin-top:3px}.checkout-product-copy .product-type{font-size:11px}.checkout-product-copy h3{font-size:15px}.checkout-product-copy p{font-size:12px}.checkout-card-head h2,.checkout-summary h2{font-size:17px}.checkout-card-head p,.payment-copy small,.checkout-terms{font-size:11px}.payment-copy strong{font-size:13px}.customer-grid span{font-size:11px}.customer-grid strong{font-size:13px}.summary-row{font-size:13px}.summary-total span{font-size:14px}.summary-total strong{font-size:24px}

/* === v7 card hierarchy + compact cart action === */
.course-card,.product-card{display:flex;flex-direction:column;min-width:0}
.course-card-link,.product-card-link{display:block;min-width:0}
.course-card-body,.product-card-body{padding-top:12px}
.course-card-body h3,.product-card-body h3{margin:0;color:var(--text);font-size:16px;font-weight:800;line-height:1.34;letter-spacing:-.018em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:43px}
.course-mentor{display:flex;align-items:center;gap:9px;margin-top:10px;min-width:0}
.course-mentor .mentor-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:1px solid #e2e8f0}
.course-mentor>div{min-width:0;line-height:1.2}.course-mentor strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;color:#475569}.course-mentor span{display:block;margin-top:4px;font-size:12px;color:#7b8aa0}
.product-meta{display:flex;align-items:center;gap:6px;margin-top:7px;min-height:20px;color:#64748b;font-size:13px;line-height:1.35}.product-meta span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-meta .meta-dot{flex:0 0 auto;color:#cbd5e1}
.card-commerce-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;min-height:42px}
.card-commerce-row .card-price,.card-commerce-row .product-price{margin:0;font-size:17px;font-weight:800;line-height:1.15;color:#0f172a;letter-spacing:-.015em}
.card-commerce-row .price-free{color:#16a34a}
.card-cart-form{margin:0;flex:0 0 auto}
.card-cart-icon{width:38px;height:38px;border-radius:50%;border:1px solid #d7dee8;background:#fff;color:#334155;display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.card-cart-icon:hover{transform:translateY(-1px);border-color:#9ec5ff;background:#f7fbff;color:var(--blue);box-shadow:0 6px 16px rgba(24,119,242,.10)}
.card-cart-icon.in-cart{border-color:#bfdbfe;background:#eaf2ff;color:var(--blue)}
.card-cart-icon svg{width:18px;height:18px;stroke-width:2}
.course-card .thumb,.product-card .thumb{margin-bottom:0}
@media (hover:hover){.course-card:hover .course-card-body h3,.product-card:hover .product-card-body h3{color:#0d65d9}}

/* === v8 compact catalog cards + creator entry === */
.course-grid{gap:24px 18px}.market-grid{gap:24px 17px}
.course-card-body,.product-card-body{padding-top:9px}
.course-card-body h3,.product-card-body h3{font-size:16px;line-height:1.28;min-height:0;margin:0}
.course-mentor{gap:8px;margin-top:7px}
.course-mentor .mentor-avatar{width:30px;height:30px}
.course-mentor strong{font-size:13px;line-height:1.15}.course-mentor span{margin-top:3px;font-size:12px;line-height:1.15}
.product-meta{margin-top:5px;min-height:0;font-size:13px;line-height:1.25}
.card-commerce-row{margin-top:8px;min-height:38px;gap:10px}
.card-commerce-row .card-price,.card-commerce-row .product-price{font-size:17px}
.card-cart-icon{width:36px;height:36px}.card-cart-icon svg{width:17px;height:17px}

.seller-entry{height:38px;padding:0 13px;border-radius:20px;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;white-space:nowrap;border:1px solid #bfdbfe;color:var(--blue);background:#eff6ff;transition:.16s}
.seller-entry:hover{background:#dbeafe;border-color:#93c5fd}.seller-entry svg{width:17px}
.seller-entry.is-seller{background:#0f172a;border-color:#0f172a;color:#fff}.seller-entry.is-seller:hover{background:#1e293b}
.sidebar nav a.seller-nav-cta{margin-top:4px;background:#eff6ff;color:var(--blue);font-weight:800;border:1px solid #dbeafe}.sidebar nav a.seller-nav-cta:hover{background:#dbeafe}
.sidebar nav a.seller-nav-cta.is-seller{background:#0f172a;color:#fff;border-color:#0f172a}.sidebar nav a.seller-nav-cta.is-seller:hover{background:#1e293b}

.creator-page{max-width:1180px;margin:0 auto}.creator-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:center;border:1px solid #dbeafe;background:linear-gradient(135deg,#f8fbff 0%,#fff 64%);border-radius:22px;padding:34px;margin-bottom:24px}.creator-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.creator-kicker svg{width:17px}.creator-hero h1{font-size:36px;line-height:1.08;letter-spacing:-1.1px;margin:10px 0}.creator-hero p{font-size:15px;color:#64748b;line-height:1.7;margin:0;max-width:680px}.creator-benefits{display:grid;gap:10px}.creator-benefit{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}.creator-benefit>span{width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;flex:0 0 auto}.creator-benefit svg{width:18px}.creator-benefit strong{display:block;font-size:14px}.creator-benefit small{display:block;color:#64748b;font-size:12px;line-height:1.45;margin-top:3px}
.creator-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.creator-panel{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}.creator-panel h2{font-size:20px;margin:0 0 5px}.creator-panel>p{font-size:13px;color:#64748b;line-height:1.55;margin:0 0 20px}.creator-form .field textarea{width:100%;min-height:120px;border:1px solid #cbd5e1;border-radius:9px;padding:12px;resize:vertical;font:inherit;outline:0}.creator-form .field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.creator-form .field input{font-size:14px}.creator-form .btn{width:100%;height:46px;margin-top:4px}.creator-note{display:flex;gap:9px;padding:12px 13px;background:#f8fafc;border-radius:10px;color:#64748b;font-size:12px;line-height:1.5;margin-bottom:16px}.creator-note svg{width:17px;flex:0 0 auto;color:var(--blue)}
.creator-side-card{border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff}.creator-side-card h3{font-size:17px;margin:0 0 15px}.creator-step{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #f1f5f9}.creator-step:last-child{border-bottom:0}.creator-step>span{width:28px;height:28px;border-radius:50%;background:#eff6ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800;flex:0 0 auto}.creator-step strong{display:block;font-size:13px}.creator-step small{display:block;color:#64748b;font-size:12px;margin-top:3px;line-height:1.4}
.seller-page{max-width:1280px;margin:0 auto}.seller-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.seller-head h1{font-size:30px;margin:0}.seller-head p{color:#64748b;font-size:14px;margin:6px 0 0}.seller-badge{display:inline-flex;align-items:center;gap:7px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;padding:9px 12px;border-radius:999px;font-size:12px;font-weight:800}.seller-badge svg{width:16px}.seller-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.seller-stat{border:1px solid var(--line);border-radius:15px;padding:18px;background:#fff}.seller-stat span{color:#64748b;font-size:12px}.seller-stat strong{display:block;font-size:24px;margin-top:7px;letter-spacing:-.4px}.seller-welcome{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.seller-welcome h2{font-size:20px;margin:0 0 6px}.seller-welcome p{font-size:13px;color:#64748b;line-height:1.6;margin:0;max-width:700px}.seller-welcome .btn{flex:0 0 auto}

/* =========================================================
   SELLER CENTER — focused workspace
   ========================================================= */
.seller-body{margin:0;background:#f6f8fb;color:#0b1528;font-family:Inter,system-ui,sans-serif}.seller-topbar{height:72px;background:#fff;border-bottom:1px solid #e6eaf0;display:grid;grid-template-columns:260px 1fr auto;align-items:center;position:sticky;top:0;z-index:80}.seller-brand-wrap{height:72px;border-right:1px solid #edf0f4;display:flex;align-items:center;padding:0 22px}.seller-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:#111c32;font-size:18px}.seller-brand .brand-mark{width:36px;height:36px}.seller-brand strong{font-weight:800}.seller-brand>span:last-child{font-size:11px;font-weight:800;letter-spacing:.08em;background:#eaf3ff;color:#1877f2;border-radius:999px;padding:5px 8px;text-transform:uppercase}.seller-top-title{padding-left:26px;display:flex;flex-direction:column;gap:3px}.seller-top-title strong{font-size:16px}.seller-top-title small{font-size:12px;color:#78859b}.seller-top-actions{display:flex;align-items:center;gap:10px;padding-right:22px}.seller-store-link{height:38px;padding:0 14px;border:1px solid #dbe2ea;border-radius:10px;display:flex;align-items:center;gap:7px;color:#344158;text-decoration:none;font-size:13px;font-weight:700;background:#fff}.seller-store-link svg,.seller-icon-btn svg{width:18px;height:18px}.seller-icon-btn{width:40px;height:40px;border:1px solid #e2e7ee;border-radius:10px;display:grid;place-items:center;color:#263249}.seller-avatar{display:flex;align-items:center;gap:9px;border-left:1px solid #edf0f4;margin-left:4px;padding-left:14px}.seller-avatar img{width:38px;height:38px;object-fit:cover;border-radius:50%}.seller-avatar div{display:flex;flex-direction:column;gap:2px;min-width:120px}.seller-avatar strong{font-size:13px}.seller-avatar small{font-size:11px;color:#7a879b}.seller-shell{display:flex;min-height:calc(100vh - 72px)}.seller-sidebar{width:260px;position:fixed;left:0;top:72px;bottom:0;background:#fff;border-right:1px solid #e8ecf2;padding:18px 14px;display:flex;flex-direction:column;overflow:auto}.seller-profile-mini{padding:9px 8px 17px;display:flex;gap:10px;align-items:center;border-bottom:1px solid #eef1f5;margin-bottom:12px}.seller-profile-mini img{width:42px;height:42px;border-radius:12px;object-fit:cover}.seller-profile-mini div{display:flex;flex-direction:column;gap:3px;min-width:0}.seller-profile-mini strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-profile-mini small{font-size:11px;color:#7a879b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-nav{display:flex;flex-direction:column;gap:3px}.seller-nav p{font-size:10px;font-weight:800;letter-spacing:.11em;color:#9aa5b5;margin:16px 10px 6px}.seller-nav a{height:44px;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 12px;color:#445169;text-decoration:none;font-size:13px;font-weight:650}.seller-nav a svg{width:19px;height:19px}.seller-nav a:hover{background:#f5f8fc;color:#18253c}.seller-nav a.active{background:#eaf3ff;color:#1877f2;font-weight:800}.seller-side-foot{margin-top:auto;padding-top:18px}.seller-side-foot a{display:flex;gap:8px;align-items:center;padding:10px 12px;text-decoration:none;color:#647189;font-size:12px;font-weight:650}.seller-side-foot svg{width:17px}.seller-main{margin-left:260px;width:calc(100% - 260px);padding:30px 32px 60px;max-width:none}.seller-dashboard-head,.seller-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.seller-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:#1877f2}.seller-dashboard-head h1,.seller-page-head h1{font-size:28px;line-height:1.15;margin:6px 0 7px;letter-spacing:-.035em}.seller-dashboard-head p,.seller-page-head p{margin:0;color:#6e7b90;font-size:13px}.seller-head-actions{display:flex;gap:9px}.seller-btn{height:42px;border-radius:10px;padding:0 16px;border:1px solid transparent;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;cursor:pointer;font-family:inherit}.seller-btn svg{width:18px;height:18px}.seller-btn.primary{background:#1877f2;color:#fff;box-shadow:0 6px 14px rgba(24,119,242,.14)}.seller-btn.primary:hover{background:#0d6be7}.seller-btn.ghost{background:#fff;color:#263249;border-color:#dce3ec}.seller-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.seller-kpi{background:#fff;border:1px solid #e2e7ee;border-radius:15px;padding:18px;display:flex;gap:13px;min-height:118px}.kpi-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.kpi-icon svg{width:21px}.kpi-icon.blue{background:#eaf3ff;color:#1877f2}.kpi-icon.green{background:#eafaf2;color:#0e9f61}.kpi-icon.violet{background:#f1edff;color:#7058e8}.kpi-icon.orange{background:#fff1e5;color:#e87916}.seller-kpi>div{display:flex;flex-direction:column;min-width:0}.seller-kpi small{color:#758198;font-size:11px;margin-top:1px}.seller-kpi strong{font-size:24px;letter-spacing:-.04em;margin:5px 0 4px}.seller-kpi span,.seller-kpi a{font-size:11px;color:#8894a8;text-decoration:none}.seller-kpi a{color:#1877f2;font-weight:700}.seller-grid-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.8fr);gap:18px;margin-bottom:18px}.seller-panel{background:#fff;border:1px solid #e2e7ee;border-radius:15px;padding:20px}.seller-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.seller-panel-head h2{font-size:16px;margin:0 0 5px}.seller-panel-head p{font-size:11px;color:#8792a5;margin:0}.seller-panel-head a{font-size:12px;font-weight:700;color:#1877f2;text-decoration:none}.seller-bars{height:235px;display:flex;gap:18px;align-items:flex-end;padding:25px 8px 0}.seller-bar-col{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px}.seller-bar-col>strong{font-size:10px;color:#77849a;font-weight:650;white-space:nowrap}.seller-bar-track{height:170px;width:min(34px,75%);border-radius:8px;background:#edf3fb;display:flex;align-items:flex-end;overflow:hidden}.seller-bar-track span{display:block;width:100%;background:#1877f2;border-radius:8px 8px 4px 4px;min-height:8px}.seller-bar-col small{font-size:10px;color:#7f8ba0}.seller-top-list{display:flex;flex-direction:column}.seller-top-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #eff2f5}.seller-top-row:first-child{border-top:0;padding-top:2px}.seller-top-row .rank{width:25px;height:25px;border-radius:7px;background:#f0f5fb;display:grid;place-items:center;font-size:11px;font-weight:800;color:#5f6e84}.seller-top-row div{display:flex;flex-direction:column;gap:4px;min-width:0}.seller-top-row strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-top-row small{font-size:10px;color:#8591a5}.seller-top-row b{font-size:11px}.seller-table-wrap{overflow:auto}.seller-table{width:100%;border-collapse:collapse;min-width:760px}.seller-table th{text-align:left;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#8792a4;font-weight:800;padding:0 12px 11px;border-bottom:1px solid #e9edf2}.seller-table td{font-size:12px;color:#344158;padding:13px 12px;border-bottom:1px solid #eff2f5;vertical-align:middle}.seller-table tbody tr:last-child td{border-bottom:0}.seller-table td>strong{display:block;color:#17233a;font-size:12px}.seller-table td>small{display:block;color:#8b96a8;font-size:10px;margin-top:4px}.seller-table .right,.seller-table th.right{text-align:right}.seller-status{display:inline-flex;height:25px;align-items:center;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800;background:#eef2f7;color:#66758b}.seller-status.paid,.seller-status.published,.seller-status.available,.seller-status.approved{background:#e9f9f1;color:#087c4b}.seller-status.pending,.seller-status.requested,.seller-status.draft{background:#fff4dd;color:#9b6600}.seller-status.failed,.seller-status.expired,.seller-status.rejected,.seller-status.archived,.seller-status.cancelled,.seller-status.refunded{background:#fff0f0;color:#c23f3f}.seller-empty{display:grid;place-items:center;color:#8d99ab;text-align:center}.seller-empty.compact{min-height:120px}.seller-empty svg{width:28px;margin-bottom:7px}.empty-cell{text-align:center!important;color:#8b97aa!important;padding:34px!important}.seller-notice{display:flex;gap:9px;align-items:center;padding:12px 14px;border-radius:11px;margin-bottom:16px;font-size:12px;font-weight:650}.seller-notice svg{width:18px}.seller-notice.success{background:#eaf9f1;color:#08794a;border:1px solid #cdeedc}.seller-notice.danger{background:#fff1f1;color:#b53737;border:1px solid #ffd9d9}.seller-tabs{display:flex;gap:6px;margin:-8px 0 16px}.seller-tabs a{padding:8px 12px;border-radius:9px;text-decoration:none;color:#69778d;font-size:12px;font-weight:700}.seller-tabs a.active{background:#eaf3ff;color:#1877f2}.seller-item-cell{display:flex;align-items:center;gap:10px;min-width:250px}.seller-item-cell img,.seller-item-cell .placeholder{width:56px;height:40px;border-radius:7px;object-fit:cover;background:#eef3f9;display:grid;place-items:center;color:#738199}.seller-item-cell .placeholder svg{width:19px}.seller-item-cell div{display:flex;flex-direction:column;gap:4px}.seller-item-cell strong{font-size:12px;color:#18253b}.seller-item-cell small{font-size:10px;color:#8b96a8}.seller-row-action{display:inline-flex;align-items:center;gap:5px;color:#1877f2;text-decoration:none;font-size:11px;font-weight:700}.seller-row-action svg{width:15px}.seller-editor{margin-bottom:18px}.seller-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seller-form-grid.one{grid-template-columns:1fr}.seller-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:750;color:#344158}.seller-form-grid .span2{grid-column:span 2}.seller-form-grid input,.seller-form-grid select,.seller-form-grid textarea{border:1px solid #dbe2eb;border-radius:9px;padding:10px 11px;font-family:inherit;font-size:12px;color:#162238;background:#fff;outline:none}.seller-form-grid input,.seller-form-grid select{height:42px}.seller-form-grid textarea{resize:vertical}.seller-form-grid input:focus,.seller-form-grid select:focus,.seller-form-grid textarea:focus{border-color:#1877f2;box-shadow:0 0 0 3px rgba(24,119,242,.08)}.seller-wallet-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.seller-wallet-cards>div{background:#fff;border:1px solid #e2e7ee;border-radius:15px;padding:20px;display:flex;flex-direction:column}.seller-wallet-cards small{font-size:11px;color:#7c889c}.seller-wallet-cards strong{font-size:26px;margin:6px 0;letter-spacing:-.04em}.seller-wallet-cards span{font-size:10px;color:#929cae}.seller-payout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:18px;margin-bottom:18px}.seller-payout-note h3{font-size:16px;margin:14px 0 7px}.seller-payout-note p,.seller-payout-note li{font-size:11px;line-height:1.65;color:#68758a}.seller-payout-note ul{padding-left:17px}.seller-profile-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:18px}.seller-profile-preview{text-align:center;align-self:start}.seller-profile-preview>span{font-size:9px;font-weight:800;letter-spacing:.1em;color:#8a95a7}.seller-profile-preview>img{width:90px;height:90px;border-radius:50%;object-fit:cover;margin:18px auto 12px}.seller-profile-preview h2{font-size:20px;margin:0 0 4px}.seller-profile-preview .expertise{color:#1877f2;font-weight:700;font-size:12px}.seller-profile-preview p{font-size:11px;color:#778398;line-height:1.6}.preview-stat{display:grid;grid-template-columns:auto auto auto auto;justify-content:center;gap:8px 10px;align-items:center;margin-top:15px}.preview-stat strong{font-size:14px}.preview-stat span{font-size:10px;color:#8a95a6}
@media(max-width:1100px){.seller-kpis{grid-template-columns:repeat(2,1fr)}.seller-grid-main,.seller-payout-grid,.seller-profile-grid{grid-template-columns:1fr}.seller-top-title{display:none}.seller-topbar{grid-template-columns:260px 1fr}.seller-avatar div{display:none}.seller-avatar{min-width:auto}.seller-main{padding:25px 24px}.seller-bars{gap:10px}}

/* Seller secure media / content manager */
.seller-field-help{font-size:10px!important;font-weight:500;color:#8591a5;line-height:1.45}.seller-file-ok{display:flex;align-items:center;gap:6px;color:#087c4b!important;font-size:10px!important}.seller-file-ok svg{width:15px;height:15px}.seller-current-file{display:flex;align-items:center;gap:12px;border:1px solid #e3e9f0;background:#f8fbff;border-radius:11px;padding:10px 12px}.seller-current-file img{width:82px;height:52px;border-radius:8px;object-fit:cover}.seller-current-file>div{display:flex;flex-direction:column;gap:4px}.seller-current-file strong{font-size:12px}.seller-current-file small{font-size:10px;color:#7c899d}.seller-current-file .file-icon,.seller-file-list .file-icon{width:38px;height:38px;border-radius:9px;background:#eaf3ff;color:#1877f2;display:grid;place-items:center;flex:0 0 auto}.seller-current-file .file-icon svg,.seller-file-list .file-icon svg{width:18px}.seller-form-actions,.seller-row-actions{display:flex;align-items:center;gap:8px}.seller-row-actions form{margin:0}.seller-row-action.danger{border:0;background:transparent;color:#d14343;cursor:pointer;padding:0;font-family:inherit}.seller-content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}.seller-checks{display:flex;gap:20px;align-items:center}.seller-checks label,.seller-inline-check{flex-direction:row!important;align-items:center!important;gap:8px!important}.seller-checks input,.seller-inline-check input{width:16px;height:16px;accent-color:#1877f2}.seller-resource-form{padding-bottom:14px}.seller-file-list{display:flex;flex-direction:column;border-top:1px solid #edf1f5;margin-top:8px}.seller-file-list>div{display:grid;grid-template-columns:38px minmax(0,1fr) 30px 30px;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f5}.seller-file-list>div:last-child{border-bottom:0}.seller-file-list>div>div{display:flex;flex-direction:column;gap:4px;min-width:0}.seller-file-list strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-file-list small{font-size:9px;color:#8490a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-file-list a,.seller-file-list button{width:30px;height:30px;border:0;border-radius:8px;background:#f3f6fa;color:#59677d;display:grid;place-items:center;cursor:pointer}.seller-file-list button{color:#c64141}.seller-file-list svg{width:15px;height:15px}.video-frame video{width:100%;height:100%;display:block;background:#000;object-fit:contain}
.watch-resources{margin-top:18px;border:1px solid #e3e8ef;border-radius:14px;padding:16px}.watch-resources-head{display:flex;gap:10px;align-items:center;margin-bottom:10px}.watch-resources-head>svg{width:22px;color:#1877f2}.watch-resources-head>div{display:flex;flex-direction:column;gap:2px}.watch-resources-head strong{font-size:14px}.watch-resources-head span{font-size:11px;color:#7a879a}.watch-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.watch-resource-list>a{min-width:0;border:1px solid #e7ebf0;border-radius:10px;padding:10px;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px}.watch-resource-list>a:hover{border-color:#b8d6ff;background:#f8fbff}.watch-resource-list>a>svg:first-child{width:18px;color:#1877f2}.watch-resource-list>a>svg:last-child{width:16px;color:#718096}.watch-resource-list div{display:flex;flex-direction:column;gap:3px;min-width:0}.watch-resource-list strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.watch-resource-list small{font-size:9px;color:#8792a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-mark img,.seller-brand .brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.midtrans-note{font-size:12px;align-items:flex-start;padding:14px;margin-top:0}.midtrans-note strong{color:var(--text);font-size:13px}.midtrans-method-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.midtrans-method-chips span{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-size:11px;font-weight:700;color:#475569;background:#fff}.midtrans-method-chips svg{width:15px;color:var(--blue)}

/* v26 — mentor verification + public mentor profile */
.verified-badge{display:inline-flex;align-items:center;gap:4px;color:var(--blue);font-weight:800;vertical-align:middle}.verified-badge svg{width:16px;height:16px;fill:currentColor;stroke:#fff;stroke-width:2.5px}.verified-badge.small svg{width:14px;height:14px}.mentor-link{color:inherit;text-decoration:none}.mentor-link:hover{text-decoration:underline}.mentor-profile{max-width:1050px;margin:0 auto}.mentor-profile-head{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:22px;align-items:center;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}.mentor-profile-head>img{width:110px;height:110px;border-radius:50%;object-fit:cover}.mentor-profile-head h1{font-size:30px;margin:0 0 6px}.mentor-profile-head p{margin:0;color:var(--muted);font-size:14px}.mentor-profile-bio{font-size:15px;line-height:1.75;color:#475569;margin-top:13px}.mentor-profile-stats{display:flex;gap:22px}.mentor-profile-stats div{text-align:center}.mentor-profile-stats strong{display:block;font-size:22px}.mentor-profile-stats span{display:block;font-size:12px;color:var(--muted);margin-top:3px}.mentor-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}.mentor-profile-section h2{font-size:21px;margin:0 0 14px}
.course-mentor strong .verified-badge{display:inline-flex;margin:0 0 0 4px;color:#1877f2;vertical-align:-2px}.course-mentor strong .verified-badge svg{display:block;width:15px;height:15px;fill:#1877f2;stroke:#fff;stroke-width:2.5px}
.local-history-clear{border:0;background:transparent;color:#64748b;font-size:12px;font-weight:700;cursor:pointer}.local-history-clear:hover{color:#dc2626}.local-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.local-history-card{display:flex;align-items:center;gap:11px;min-width:0;padding:9px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;transition:.18s}.local-history-card:hover{border-color:#bfdbfe;box-shadow:0 6px 18px rgba(15,23,42,.07)}.local-history-card img{width:78px;height:50px;border-radius:8px;object-fit:cover;background:#f1f5f9;flex:0 0 auto}.local-history-card div{min-width:0}.local-history-card strong,.local-history-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.local-history-card strong{font-size:12px;color:#253047}.local-history-card span{font-size:10px;color:#7b8aa0;margin-top:5px}
.brand-title{display:inline-flex;align-items:baseline}.brand>.brand-title>.brand-primary{color:#172033}.brand>.brand-title>.brand-secondary{color:var(--blue)}
.web-review-section{margin-top:42px;padding-top:28px;border-top:1px solid #e5e7eb}.web-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.web-review-card{border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff}.web-review-user{display:flex;align-items:center;gap:10px}.web-review-user img{width:38px;height:38px;border-radius:50%;object-fit:cover}.web-review-user strong,.web-review-user span{display:block}.web-review-user strong{font-size:13px}.web-review-user span{font-size:10px;color:#94a3b8;margin-top:3px}.web-review-stars{margin-top:12px;color:#f59e0b;letter-spacing:2px}.web-review-stars span{color:#dbe2ea}.web-review-card p{font-size:13px;line-height:1.65;color:#475569;margin:9px 0 0}.review-form-page{max-width:680px;margin:0 auto}.review-form-card{margin-top:18px;border:1px solid #e5e7eb;border-radius:18px;padding:28px;background:#fff}.review-form-card h1{font-size:25px;margin:4px 0 7px}.review-form-card>p{font-size:13px;color:#64748b;margin:0 0 22px}.review-form-card textarea{width:100%;resize:vertical;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font:inherit;line-height:1.55;outline:0}.review-form-card textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.rating-picker{display:flex;flex-direction:row-reverse;justify-content:flex-end;border:0;padding:0;margin:0 0 20px}.rating-picker legend{width:100%;font-size:12px;font-weight:700;margin-bottom:8px}.rating-picker input{position:absolute;opacity:0}.rating-picker label{font-size:32px;line-height:1;color:#d9e0e8;cursor:pointer;padding-right:5px}.rating-picker label:hover,.rating-picker label:hover~label,.rating-picker input:checked~label{color:#f59e0b}

/* === v39 web learning completion + certificates === */
.web-learning-progress{margin:18px 0 0;padding:18px;border:1px solid #dfe6f0;border-radius:18px;background:#fff;box-shadow:0 8px 30px rgba(15,23,42,.04)}
.web-learning-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.web-learning-progress-head>div{display:flex;flex-direction:column;gap:2px}.web-learning-progress-head strong{font-size:15px}.web-learning-progress-head span{font-size:13px;color:#64748b}.certificate-mini{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#eff6ff;color:#1877f2;font-size:12px;font-weight:800}.certificate-mini svg{width:16px;height:16px}.lesson-complete-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.lesson-complete-actions small{color:#64748b;font-size:12px}.lesson-complete-actions .btn:disabled{opacity:.72;cursor:default}.certificate-ready{display:none;margin-top:15px;padding:14px;border-radius:14px;background:#eff6ff;align-items:center;justify-content:space-between;gap:16px}.certificate-ready.show{display:flex}.certificate-ready>div{display:flex;align-items:center;gap:10px;color:#0f172a}.certificate-ready>div>svg{color:#1877f2}.certificate-ready span{display:flex;flex-direction:column;font-size:13px}.playlist-item .lesson-index svg[data-lucide="check"]{color:#1877f2}.lib-action-links{display:flex;align-items:center;gap:14px}.library-cert-link{display:inline-flex;align-items:center;gap:6px;color:#1877f2;font-weight:800;font-size:13px}.library-cert-link svg{width:16px;height:16px}
.certificate-page{max-width:1180px;margin:0 auto;padding:28px 24px 56px}.certificate-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.certificate-toolbar span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#1877f2;font-weight:800}.certificate-toolbar h1{font-size:28px;margin:5px 0 3px}.certificate-toolbar p{color:#64748b;margin:0}.certificate-actions{display:flex;gap:10px}.certificate-preview{position:relative;overflow:hidden;aspect-ratio:1.414/1;background:#fafcff;border:1.5px solid #0f172a;border-radius:16px;padding:48px 70px;text-align:center;box-shadow:0 18px 50px rgba(15,23,42,.08)}.cert-topline{position:absolute;left:0;right:0;top:0;height:6px;background:#1877f2}.cert-corner{position:absolute;width:190px;height:190px;border-radius:50%;background:#eff6ff}.cert-corner.one{right:-70px;top:-85px}.cert-corner.two{left:-80px;bottom:-95px}.cert-logo{position:relative;margin:0 auto 10px;width:48px;height:48px;border-radius:12px;background:#1877f2;display:grid;place-items:center;color:white}.cert-logo svg{width:27px;height:27px}.cert-brand{display:block;font-size:16px;letter-spacing:.04em}.cert-label{display:block;color:#1877f2;font-size:11px;font-weight:800;letter-spacing:.08em;margin-top:4px}.certificate-preview h2{font-size:40px;margin:28px 0 10px}.certificate-preview>p{font-size:15px;color:#64748b;margin:7px 0}.certificate-preview h3{font-size:34px;margin:13px 0 8px}.cert-rule{height:1px;background:#cbd5e1;max-width:430px;margin:0 auto 20px}.certificate-preview h4{font-size:26px;color:#1877f2;margin:14px 0 7px}.cert-footer{position:absolute;left:70px;right:70px;bottom:56px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cert-footer div{display:flex;flex-direction:column;gap:4px}.cert-footer strong{font-size:13px}.cert-footer span{font-size:11px;color:#64748b}.cert-verify{position:absolute;bottom:24px;left:60px;right:60px;color:#64748b;font-size:10px}.verify-page{max-width:720px;margin:0 auto;padding:56px 24px}.verify-card{border:1px solid #dfe6f0;border-radius:24px;padding:34px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.06);text-align:center}.verify-icon{width:66px;height:66px;border-radius:20px;margin:0 auto 18px;display:grid;place-items:center}.verify-icon.ok{background:#ecfdf5;color:#059669}.verify-icon.bad{background:#fef2f2;color:#dc2626}.verify-icon svg{width:32px;height:32px}.verify-card .eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#1877f2}.verify-card h1{font-size:31px;margin:7px 0}.verify-lead{color:#64748b}.verify-card dl{margin:28px 0;text-align:left;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.verify-card dl div{display:grid;grid-template-columns:150px 1fr;padding:13px 16px;border-bottom:1px solid #eef2f7}.verify-card dl div:last-child{border-bottom:0}.verify-card dt{color:#64748b;font-size:13px}.verify-card dd{margin:0;font-weight:700}.verify-form{display:flex;gap:8px}.verify-form input{flex:1;border:1px solid #d8e0eb;border-radius:12px;padding:12px 14px;font:inherit}
@media(max-width:900px){.certificate-toolbar{align-items:flex-start;flex-direction:column}.certificate-preview{padding:34px 30px}.certificate-preview h2{font-size:29px}.certificate-preview h3{font-size:27px}.certificate-preview h4{font-size:20px}.cert-footer{left:30px;right:30px;bottom:48px}.certificate-actions{width:100%}.certificate-actions .btn{flex:1}}

/* v42 certificate preview variants */
.certificate-preview.cert-template-modern_finance{border:0;border-left:110px solid #0b1739;box-shadow:0 18px 50px rgba(15,23,42,.12);background:linear-gradient(135deg,#fff 0%,#f8fbff 100%)}.certificate-preview.cert-template-modern_finance .cert-topline{left:-110px;right:0;height:6px;background:#1877f2}.certificate-preview.cert-template-modern_finance .cert-corner{display:none}.certificate-preview.cert-template-modern_finance .cert-logo{background:#1877f2}.certificate-preview.cert-template-modern_finance h2{font-family:inherit;text-align:left;margin-left:48px}.certificate-preview.cert-template-modern_finance>p,.certificate-preview.cert-template-modern_finance>h3,.certificate-preview.cert-template-modern_finance>h4,.certificate-preview.cert-template-modern_finance>.cert-rule{margin-left:48px;text-align:left}.certificate-preview.cert-template-modern_finance .cert-rule{margin-right:110px}.certificate-preview.cert-template-minimal_luxury{border:1px solid #cbd5e1;box-shadow:0 18px 50px rgba(15,23,42,.08)}.certificate-preview.cert-template-minimal_luxury .cert-topline{height:4px}.certificate-preview.cert-template-minimal_luxury .cert-corner{display:none}.certificate-preview.cert-template-minimal_luxury h2{font-family:Georgia,serif;font-weight:500;font-size:44px}.certificate-preview.cert-template-minimal_luxury h3{font-family:Georgia,serif;color:#1877f2}.certificate-preview.cert-template-minimal_luxury h4{color:#0f172a}.certificate-preview.cert-template-minimal_luxury .cert-logo{border-radius:50%;background:#eef5ff;color:#1877f2}

/* Registration password visibility */
.auth-password{position:relative}.auth-password input{padding-right:48px}.auth-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#64748b;display:grid;place-items:center;cursor:pointer}.auth-password-toggle:hover{background:#f1f5f9;color:var(--blue)}.auth-password-toggle svg{width:18px;height:18px}.optional-label{font-weight:500;color:var(--muted)}
.reset-card{width:500px;text-align:center}.reset-card form{text-align:left}.reset-status-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:20px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center}.reset-status-icon.success{background:#ecfdf3;color:#079455}.reset-status-icon.invalid{background:#fff4e8;color:#e56a10}.reset-status-icon svg{width:31px;height:31px}.reset-card>p strong{color:var(--text)}.reset-hint{margin:-4px 0 18px;padding:11px 13px;border-radius:10px;background:#f8fafc;color:var(--muted);font-size:12px;line-height:1.5}.reset-resend-form{margin-top:10px}.reset-card .btn svg{width:18px}.reset-links{display:flex;justify-content:center;gap:20px;margin-top:17px}.reset-links a,.auth-switch a{color:var(--blue);font-weight:700;font-size:12px}.password-help{display:block;text-align:left;color:var(--muted);font-size:11px;margin-top:6px}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:button-spin .7s linear infinite}.btn-outline .button-spinner{border-color:#cbd5e1;border-top-color:var(--blue)}.btn:disabled{opacity:.7;cursor:not-allowed}@keyframes button-spin{to{transform:rotate(360deg)}}
.payment-timeline{padding:4px 0}.payment-timeline-item{position:relative;display:grid;grid-template-columns:18px 1fr;gap:12px;padding-bottom:22px}.payment-timeline-item:not(:last-child):before{content:"";position:absolute;left:8px;top:17px;bottom:0;width:2px;background:#dbe4ef}.payment-timeline-dot{width:18px;height:18px;border:4px solid #dbe4ef;background:#fff;border-radius:50%;z-index:1}.payment-timeline-item.current .payment-timeline-dot{border-color:var(--blue);background:var(--blue)}.payment-timeline-item strong,.payment-timeline-item small{display:block}.payment-timeline-item small{color:var(--muted);font-size:11px;margin-top:4px}.payment-timeline-item p{margin:5px 0 0;color:#475569;font-size:12px}
