.pa-wrap,.pa-register{font-family:Tahoma,Arial,sans-serif;color:#1f2937;box-sizing:border-box}.pa-wrap *,.pa-register *{box-sizing:border-box}.pa-dashboard-v2{width:100%;max-width:1280px;margin:0 auto;padding:0 2px;line-height:1.45}.pa-dashboard-v2 a{text-decoration:none}.pa-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.pa-head h2,.pa-card h3{margin:0}
.pa-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 20px;margin-bottom:10px;border-radius:10px;background:linear-gradient(135deg,#073b68,#0f65a8);color:#fff;box-shadow:0 6px 18px rgba(15,76,129,.14);overflow:hidden;position:relative}.pa-hero:after{content:"";position:absolute;right:-60px;top:-90px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.055);pointer-events:none}.pa-hero>div{position:relative;z-index:1}.pa-hero h2{margin:1px 0 4px;color:#fff;font-size:23px;line-height:1.2}.pa-hero p{margin:0;color:rgba(255,255,255,.86);font-size:12px}.pa-eyebrow{font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;opacity:.78}.pa-hero-balance{min-width:230px;text-align:right;padding-left:20px;border-left:1px solid rgba(255,255,255,.2)}.pa-hero-balance span,.pa-hero-balance small{display:block;color:rgba(255,255,255,.76)}.pa-hero-balance span{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em}.pa-hero-balance strong{display:block;font-size:22px;line-height:1.2;margin:3px 0}.pa-hero-balance small{font-size:10px}
.pa-dashboard-nav{display:flex;gap:6px;align-items:center;overflow:auto;padding:0 0 10px;scrollbar-width:thin}.pa-dashboard-nav a{flex:0 0 auto;padding:6px 10px;border:1px solid #dbe4ee;border-radius:6px;background:#fff;color:#334155;font-size:10.5px;font-weight:700}.pa-dashboard-nav a:hover{background:#eff6ff;border-color:#bfdbfe;color:#0f4c81}
.pa-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 10px;scroll-margin-top:20px}.pa-kpi,.pa-card{background:#fff;border:1px solid #e4eaf0;border-radius:9px;box-shadow:0 1px 5px rgba(15,23,42,.035)}.pa-kpi{padding:11px 12px;min-width:0;position:relative;overflow:hidden}.pa-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#0f65a8;opacity:.8}.pa-kpi>span{display:block;font-size:9.5px;color:#64748b;margin-bottom:4px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pa-kpi>strong{display:block;font-size:16px;line-height:1.2;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pa-kpi>small{display:block;margin-top:4px;color:#64748b;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-card{padding:14px;margin:0 0 10px;scroll-margin-top:20px}.pa-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pa-dashboard-row>.pa-card{margin-bottom:10px}.pa-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #eef2f6}.pa-section-head h3{font-size:14px;line-height:1.3;margin:0 0 2px;color:#0f172a}.pa-section-head p{margin:0;color:#64748b;font-size:10.5px;line-height:1.45}
.pa-tier-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9.5px;font-weight:700;text-transform:uppercase}.pa-tier-bronze{background:#fff1e6;color:#9a4d00}.pa-tier-silver{background:#f1f5f9;color:#475569}.pa-tier-gold{background:#fff7d6;color:#8a6500}.pa-tier-platinum{background:#e0f2fe;color:#075985}.pa-progress-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin:3px 0 6px}.pa-progress{height:7px;border-radius:999px;background:#e2e8f0;overflow:hidden}.pa-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f4c81,#1d8fe1)}.pa-muted{color:#64748b;font-size:10.5px;margin:7px 0 0}.pa-money-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pa-money-list>div{padding:9px 10px;border:1px solid #edf1f5;border-radius:7px;background:#f8fafc}.pa-money-list span{display:block;color:#64748b;font-size:10px}.pa-money-list strong{display:block;margin-top:2px;font-size:13px;color:#0f172a}
.pa-trend-table{overflow:auto;border:1px solid #eef2f6;border-radius:7px}.pa-trend-head,.pa-trend-row{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(100px,1fr) minmax(100px,1fr) minmax(125px,1.1fr) minmax(125px,1.1fr);gap:8px;align-items:center;min-width:620px}.pa-trend-head{padding:7px 8px;background:#f8fafc;color:#64748b;font-size:9.5px;text-transform:uppercase}.pa-trend-row{padding:8px;border-top:1px solid #eef2f7;font-size:11px}.pa-trend-row>div{position:relative;height:21px;background:#f3f6f9;border-radius:5px;overflow:hidden}.pa-trend-row>div i{position:absolute;left:0;top:0;bottom:0;background:#dbeafe}.pa-trend-row>div span{position:relative;z-index:1;display:block;padding:3px 6px;font-weight:700}
.pa-ranking-list{display:flex;flex-direction:column}.pa-ranking-list>div{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #eef2f7}.pa-ranking-list>div:first-child{border-top:0}.pa-ranking-list b{display:flex;width:20px;height:20px;border-radius:50%;align-items:center;justify-content:center;background:#eff6ff;color:#0f4c81;font-size:9px}.pa-ranking-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pa-ranking-list span small{display:block;color:#94a3b8;font-size:9px;margin-top:1px}.pa-ranking-list strong{font-size:10.5px;color:#334155;white-space:nowrap}
.pa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pa-card label,.pa-register label{display:block;font-size:11px;font-weight:600;margin-bottom:8px;color:#334155}.pa-card input,.pa-card select,.pa-card textarea,.pa-register input{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 9px;min-height:36px;font-family:inherit;background:#fff;font-size:11px;color:#0f172a;outline:none}.pa-card input:focus,.pa-card select:focus,.pa-card textarea:focus,.pa-register input:focus{border-color:#60a5fa;box-shadow:0 0 0 2px rgba(96,165,250,.12)}.pa-card textarea{min-height:72px;resize:vertical}.pa-copy-row{display:flex;gap:6px;margin:7px 0}.pa-copy-row input{margin:0}.pa-btn{border:0;border-radius:6px;padding:8px 11px;min-height:34px;background:#0f4c81;color:#fff;cursor:pointer;font-family:inherit;font-weight:700;white-space:nowrap;font-size:10.5px;line-height:1.2;display:inline-flex;align-items:center;justify-content:center}.pa-btn:hover{opacity:.94;color:#fff}.pa-secondary{background:#475569}.pa-btn:disabled{opacity:.42;cursor:not-allowed}.pa-actions{margin-top:2px}.pa-notice{padding:10px 12px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:7px;margin:8px 0 10px;font-size:11px}.pa-table-wrap{overflow:auto;border:1px solid #e9eef4;border-radius:7px}.pa-table{width:100%;border-collapse:collapse;font-size:10.5px;background:#fff}.pa-table th,.pa-table td{padding:8px 9px;border-bottom:1px solid #edf1f5;text-align:left;white-space:nowrap}.pa-table tbody tr:last-child td{border-bottom:0}.pa-table tbody tr:hover{background:#f8fbff}.pa-table th{font-size:9px;color:#64748b;text-transform:uppercase;letter-spacing:.02em;background:#f8fafc}.pa-badge{display:inline-block;padding:3px 7px;border-radius:999px;background:#e2e8f0;font-size:9px;font-weight:700}.pa-approved,.pa-paid{background:#dcfce7;color:#166534}.pa-pending,.pa-requested,.pa-processing{background:#fef3c7;color:#92400e}.pa-rejected,.pa-suspended{background:#fee2e2;color:#991b1b}.pa-payout-form{margin-top:10px;padding-top:9px;border-top:1px solid #e5e7eb}.pa-payout-form p{font-size:10.5px;color:#475569;margin:0 0 8px}
.pa-link-generator{border-color:#d7e4f0;background:linear-gradient(180deg,#fff,#fbfdff)}.pa-generator-code{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eff6ff;color:#0f4c81;font-size:9.5px;font-weight:700;white-space:nowrap}.pa-generator-base{padding:9px 10px;border:1px solid #e6edf5;border-radius:7px;background:#f8fafc;margin-bottom:9px}.pa-generator-base>span,.pa-generated-label{display:block;font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#64748b;margin-bottom:4px}.pa-generator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}.pa-generator-grid label{margin:0}.pa-generator-grid label small{font-weight:400;color:#94a3b8}.pa-generator-actions{display:flex;gap:6px;margin-top:9px}.pa-generated{margin-top:9px;padding:10px;border:1px solid #bfdbfe;border-radius:7px;background:#f8fbff}.pa-generated .pa-copy-row{margin:0}.pa-generator-note{margin:6px 0 0;color:#64748b;font-size:9.5px}.pa-link-generator #pa-open-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.pa-link-generator datalist{font-family:Tahoma,Arial,sans-serif}
@media(max-width:1100px){.pa-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pa-generator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.pa-grid-2{grid-template-columns:1fr}.pa-hero{align-items:flex-start}.pa-hero-balance{min-width:190px}.pa-dashboard-row>.pa-card{margin-bottom:0}.pa-dashboard-row{margin-bottom:10px}}
@media(max-width:640px){.pa-dashboard-v2{width:100%;padding:0}.pa-hero{padding:14px;display:block;border-radius:7px;margin-bottom:8px}.pa-hero h2{font-size:19px}.pa-hero p{font-size:10.5px}.pa-hero-balance{text-align:left;margin-top:10px;padding:9px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18);min-width:0}.pa-hero-balance strong{font-size:18px}.pa-dashboard-nav{padding-bottom:8px}.pa-dashboard-nav a{padding:5px 8px;font-size:9.5px}.pa-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:8px}.pa-kpi{padding:9px 10px}.pa-kpi>span{font-size:8.5px}.pa-kpi>strong{font-size:13px}.pa-kpi>small{font-size:8.5px}.pa-grid{grid-template-columns:1fr}.pa-card{padding:11px;border-radius:7px;margin-bottom:8px}.pa-section-head{margin-bottom:8px;padding-bottom:7px}.pa-section-head h3{font-size:13px}.pa-section-head p{font-size:9.5px}.pa-money-list{grid-template-columns:1fr 1fr;gap:5px}.pa-money-list>div{padding:8px}.pa-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.pa-copy-row .pa-btn{width:auto}.pa-generator-grid{grid-template-columns:1fr}.pa-generator-actions{display:grid;grid-template-columns:1fr 1fr}.pa-generator-actions .pa-btn{width:100%}.pa-link-generator .pa-generated .pa-copy-row{grid-template-columns:1fr 1fr}.pa-link-generator .pa-generated .pa-copy-row input{grid-column:1/-1}.pa-link-generator .pa-generated .pa-copy-row .pa-btn{width:100%}.pa-table th,.pa-table td{padding:7px 8px}.pa-tier-badge{font-size:8.5px}.pa-generator-code{font-size:8.5px}}
@media(max-width:380px){.pa-kpi-grid{grid-template-columns:1fr}.pa-money-list{grid-template-columns:1fr}.pa-copy-row{grid-template-columns:1fr}.pa-copy-row .pa-btn{width:100%}}

/* Short Link Affiliate */
.pa-short-result{margin-top:14px;padding:12px;border:1px solid #dce7f3;border-radius:8px;background:#f8fbff}
.pa-shortlinks-panel{margin-top:18px;padding-top:16px;border-top:1px solid #e5edf5}
.pa-subsection-head{margin-bottom:10px!important}
.pa-subsection-head h4{margin:0 0 3px;font-size:15px;color:#17324d}
.pa-subsection-head p{margin:0;font-size:12px;color:#68798b}
.pa-shortlinks-list{display:grid;gap:8px}
.pa-shortlink-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e5edf5;border-radius:7px;background:#fff}
.pa-shortlink-item>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.pa-shortlink-item strong{font-size:12px;color:#145b9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-shortlink-item small{font-size:11px;color:#778797;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-shortlink-item>span{font-size:11px;font-weight:700;color:#526678;white-space:nowrap}
.pa-shortlink-item .pa-btn{padding:7px 10px;min-height:auto;font-size:11px}
@media(max-width:680px){
  .pa-shortlink-item{grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .pa-shortlink-item>span{grid-column:1/2}
  .pa-shortlink-item .pa-btn{grid-column:2/3;grid-row:1/3}
  .pa-short-result .pa-copy-row{display:grid;grid-template-columns:1fr auto auto}
  .pa-short-result .pa-copy-row input{grid-column:1/-1}
}

/* Commission lifecycle badges v1.4 */
.pa-badge.pa-pending{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.pa-badge.pa-holding{background:#fefce8;color:#854d0e;border-color:#fde68a}
.pa-badge.pa-approved{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.pa-badge.pa-requested{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.pa-badge.pa-processing{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}
.pa-badge.pa-paid{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.pa-badge.pa-reversed,.pa-badge.pa-rejected{background:#fef2f2;color:#b91c1c;border-color:#fecaca}


/* v1.8 Marketing Materials */
.pa-materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pa-material-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;background:#fff;min-width:0}
.pa-material-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.pa-material-head strong{display:block;font-size:15px;line-height:1.3}.pa-material-head small{display:block;color:#64748b;margin-top:3px}
.pa-material-media{height:150px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f8fafc;margin-bottom:8px}.pa-material-media img{width:100%;height:100%;object-fit:cover;display:block}
.pa-material-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.pa-material-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #eef2f7}.pa-material-row>span{font-weight:700;font-size:13px}.pa-material-row>div{display:flex;gap:6px;flex-wrap:wrap}
.pa-material-qr{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:center;padding:10px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;margin-top:8px}.pa-material-qr img{width:86px;height:86px;border-radius:6px;background:#fff}.pa-material-qr strong,.pa-material-qr small{display:block}.pa-material-qr small{color:#64748b;margin:3px 0 8px}
.pa-material-copy{margin-top:10px;border-top:1px solid #eef2f7;padding-top:10px}.pa-material-copy>span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#475569}.pa-material-copy p{font-size:13px;line-height:1.55;margin:6px 0 8px;max-height:115px;overflow:auto;background:#f8fafc;border-radius:7px;padding:9px}.pa-empty-state{text-align:center;padding:24px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:9px}.pa-empty-state p{margin:5px 0 0;color:#64748b}
@media(max-width:780px){.pa-materials-grid{grid-template-columns:1fr}.pa-material-card{padding:11px}.pa-material-media{height:135px}.pa-material-row{align-items:flex-start;flex-direction:column}.pa-material-qr{grid-template-columns:72px 1fr}.pa-material-qr img{width:72px;height:72px}}


/* v1.9 Notifications */
.pa-notification-card{border-color:#dbe7f2}.pa-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:10px;vertical-align:middle;margin-left:5px}.pa-notification-list{display:grid;gap:6px}.pa-notification-item{display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:7px;background:#fff}.pa-notification-item.is-unread{background:#f8fbff;border-color:#bfdbfe}.pa-notification-dot{width:7px;height:7px;border-radius:50%;background:#cbd5e1;margin-top:6px}.pa-notification-item.is-unread .pa-notification-dot{background:#0f65a8}.pa-notification-item strong{display:block;font-size:11.5px;color:#0f172a}.pa-notification-item p{margin:2px 0 3px;font-size:10.5px;line-height:1.45;color:#475569}.pa-notification-item small{font-size:9px;color:#94a3b8}
@media(max-width:640px){.pa-notification-card .pa-section-head{display:block}.pa-notification-card .pa-section-head form{margin-top:7px}.pa-notification-item{padding:8px}}


/* v1.10 Affiliate Guide Accordion */
.pa-affiliate-guide{margin:0 0 9px;border:1px solid #dbe7f2;border-radius:8px;background:#fff;overflow:hidden}
.pa-affiliate-guide>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;background:linear-gradient(180deg,#f8fbff,#f3f8fc);user-select:none}
.pa-affiliate-guide>summary::-webkit-details-marker{display:none}.pa-affiliate-guide>summary::after{content:'+';margin-left:auto;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid #cbdbea;border-radius:5px;color:#0f4c81;font-size:16px;font-weight:700;background:#fff;line-height:1}.pa-affiliate-guide[open]>summary::after{content:'−'}
.pa-guide-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#0f4c81;color:#fff;font-size:11px;font-weight:800;flex:0 0 22px}.pa-guide-title{font-weight:800;font-size:12px;color:#17324d}.pa-guide-hint{font-size:9.5px;color:#718096;margin-left:2px}.pa-guide-content{padding:13px;border-top:1px solid #e5edf5}.pa-guide-intro{margin-bottom:11px}.pa-guide-intro h3{margin:0 0 4px;font-size:14px;color:#17324d}.pa-guide-intro p{margin:0;color:#58697a;font-size:10.5px;line-height:1.55}.pa-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pa-guide-grid section{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:9px;border:1px solid #e7edf3;border-radius:7px;background:#fbfdff}.pa-guide-grid section>b{width:24px;height:24px;border-radius:6px;background:#eaf3fa;color:#0f4c81;display:flex;align-items:center;justify-content:center;font-size:10px}.pa-guide-grid h4{margin:0 0 3px;font-size:11px;color:#172b3a}.pa-guide-grid p{margin:0;font-size:9.8px;line-height:1.48;color:#607080}.pa-guide-tips{margin-top:9px;padding:8px 10px;border-radius:7px;background:#eff6ff;color:#31526d;font-size:9.8px;line-height:1.5}.pa-guide-tips strong{color:#0f4c81}
@media(max-width:720px){.pa-guide-grid{grid-template-columns:1fr}.pa-affiliate-guide>summary{padding:9px 10px}.pa-guide-hint{display:none}.pa-guide-content{padding:10px}.pa-guide-grid section{padding:8px}}

/* v1.11 Affiliate Guide - detailed, affiliate-facing */
.pa-guide-summary-text{display:flex;flex-direction:column;min-width:0;gap:1px}.pa-guide-summary-text .pa-guide-hint{margin-left:0;white-space:normal}
.pa-guide-intro-v2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);gap:12px;align-items:stretch;padding:13px;border:1px solid #dce8f3;border-radius:9px;background:linear-gradient(135deg,#f8fbff,#fff)}
.pa-guide-kicker{display:inline-block;margin-bottom:4px;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0f65a8}.pa-guide-intro-v2 h3{font-size:16px;line-height:1.3;margin:0 0 6px}.pa-guide-intro-v2 p{font-size:10.5px;line-height:1.65}.pa-guide-callout{display:flex;flex-direction:column;justify-content:center;padding:11px;border-radius:8px;background:#0f4c81;color:#fff}.pa-guide-callout strong{font-size:11px;margin-bottom:4px}.pa-guide-callout span{font-size:9.5px;line-height:1.55;opacity:.93}
.pa-guide-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 0 15px}.pa-guide-flow-item{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 7px 9px;border:1px solid #e0eaf3;border-radius:8px;background:#fff;min-height:143px}.pa-guide-flow-item>b{position:absolute;left:7px;top:7px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0f65a8;color:#fff;font-size:9px}.pa-guide-flow-item>strong{font-size:10.5px;color:#17324d;margin:5px 0 3px}.pa-guide-flow-item>small{font-size:8.7px;line-height:1.45;color:#68798b}.pa-guide-illustration{width:50px;height:50px;margin-top:9px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eef6fd}.pa-guide-illustration svg{width:34px;height:34px;fill:none;stroke:#1c72b8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.pa-guide-illustration .pa-svg-accent{stroke:#16a36a}
.pa-guide-section-title{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;margin:14px 0 7px;padding-top:11px;border-top:1px solid #e9eef3}.pa-guide-section-title>span{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#eaf4fc;color:#0f5f9e;font-weight:800;font-size:10px}.pa-guide-section-title h4{margin:0 0 2px;font-size:12.5px;color:#17324d}.pa-guide-section-title p{margin:0;font-size:9.5px;line-height:1.45;color:#718096}
.pa-guide-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pa-guide-panel{padding:9px;border:1px solid #e5edf4;border-radius:7px;background:#fbfdff}.pa-guide-panel h5{margin:0 0 4px;font-size:10.5px;color:#0f4c81}.pa-guide-panel p,.pa-guide-text-block p{margin:0;font-size:9.6px;line-height:1.58;color:#5e6e7d}.pa-guide-text-block{padding:9px 10px;border-left:3px solid #b9d8ef;background:#f9fcfe;border-radius:0 7px 7px 0}.pa-guide-text-block p+p{margin-top:6px}
.pa-guide-howto{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.pa-guide-howto>div{padding:8px;border:1px solid #e4ebf2;border-radius:7px;background:#fff}.pa-guide-howto b{display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:5px;background:#0f65a8;color:#fff;font-size:9px;margin-bottom:5px}.pa-guide-howto p{margin:0;font-size:9.2px;line-height:1.5;color:#617181}.pa-guide-howto.compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.pa-guide-example{margin-top:7px;padding:8px 9px;border:1px dashed #b8cfe3;border-radius:7px;background:#f6fbff}.pa-guide-example>span{display:block;font-size:8.5px;font-weight:800;text-transform:uppercase;color:#0f65a8;margin-bottom:4px}.pa-guide-example code{display:block;overflow:auto;padding:6px;border-radius:5px;background:#17324d;color:#fff;font-size:8.8px;white-space:nowrap}.pa-guide-example p{margin:5px 0 0;font-size:9px;color:#667788}
.pa-guide-material-list{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:7px}.pa-guide-material-list span{padding:5px 8px;border-radius:999px;background:#eef6fd;color:#0f5f9e;font-size:9px;font-weight:700}
.pa-guide-do-dont{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pa-guide-do-dont>div{padding:9px;border-radius:7px;border:1px solid #e5ebf1}.pa-guide-do-dont h5{margin:0 0 5px;font-size:10.5px}.pa-guide-do-dont ul{margin:0;padding-left:15px}.pa-guide-do-dont li{font-size:9.2px;line-height:1.5;margin:2px 0}.pa-guide-do-dont .is-do{background:#f3fbf7;border-color:#ccebdd}.pa-guide-do-dont .is-do h5{color:#147a4b}.pa-guide-do-dont .is-dont{background:#fff8f8;border-color:#f2d3d3}.pa-guide-do-dont .is-dont h5{color:#a93333}
.pa-guide-status-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;gap:5px;align-items:stretch}.pa-guide-status-flow>div{padding:7px;border:1px solid #e4eaf0;border-radius:7px;background:#fff}.pa-guide-status-flow strong{display:block;font-size:9.5px;color:#0f4c81;margin-bottom:3px}.pa-guide-status-flow p{margin:0;font-size:8.4px;line-height:1.38;color:#657586}.pa-guide-status-flow>i{align-self:center;font-style:normal;color:#8fa4b6;font-weight:700}.pa-guide-warning{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin-top:6px;padding:7px 9px;border-radius:7px;background:#fff4f4;border:1px solid #f2d3d3}.pa-guide-warning strong{font-size:9.5px;color:#ad2d2d}.pa-guide-warning span{font-size:9px;line-height:1.45;color:#765858}
.pa-guide-tier-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pa-guide-tier-row span{padding:6px 9px;border-radius:999px;background:#eff6ff;color:#0f5f9e;font-size:9px;font-weight:800}.pa-guide-tier-row em{font-style:normal;color:#96a9bb}.pa-guide-checklist{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.pa-guide-checklist>div{display:flex;flex-direction:column;gap:4px;padding:9px;border:1px solid #e2eaf1;border-radius:7px;background:#fff}.pa-guide-checklist strong{font-size:10px;color:#17324d;margin-bottom:2px}.pa-guide-checklist span{font-size:9.2px;color:#5f7080}.pa-guide-tips-v2{margin-top:8px;font-size:9.5px;line-height:1.6}
@media(max-width:980px){.pa-guide-flow{grid-template-columns:repeat(3,1fr)}.pa-guide-howto{grid-template-columns:repeat(2,1fr)}.pa-guide-status-flow{grid-template-columns:repeat(3,1fr)}.pa-guide-status-flow>i{display:none}}
@media(max-width:720px){.pa-guide-intro-v2{grid-template-columns:1fr}.pa-guide-flow{grid-template-columns:repeat(2,1fr)}.pa-guide-panel-grid,.pa-guide-do-dont,.pa-guide-checklist{grid-template-columns:1fr}.pa-guide-howto,.pa-guide-howto.compact{grid-template-columns:1fr}.pa-guide-status-flow{grid-template-columns:1fr}.pa-guide-flow-item{min-height:132px}.pa-guide-content{font-size:inherit}}
@media(max-width:430px){.pa-guide-flow{grid-template-columns:1fr 1fr}.pa-guide-flow-item{padding:8px 6px}.pa-guide-illustration{width:44px;height:44px}.pa-guide-illustration svg{width:30px;height:30px}.pa-guide-summary-text .pa-guide-hint{display:none}}

/* Affiliate ebook guide v1.12.0 */
.pa-affiliate-ebook{margin:0 0 18px;border:1px solid #dfe7f1;border-radius:8px;background:#fff;overflow:hidden}
.pa-ebook-head{padding:18px 20px;background:#f7faff;border-bottom:1px solid #e6edf5}
.pa-ebook-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#315f9b;margin-bottom:4px}
.pa-ebook-head h2{margin:0 0 6px;font-size:21px;line-height:1.25;color:#163a63}
.pa-ebook-head p{margin:0;color:#607286;font-size:13px;line-height:1.6;max-width:980px}
.pa-ebook-chapter{border-top:1px solid #edf1f5;background:#fff}
.pa-ebook-chapter:first-of-type{border-top:0}
.pa-ebook-chapter summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 18px;font-size:14px;color:#17395f;transition:background .15s ease}
.pa-ebook-chapter summary::-webkit-details-marker{display:none}
.pa-ebook-chapter summary:hover{background:#f8fbff}
.pa-ebook-chapter summary span{flex:0 0 auto;font-size:11px;font-weight:700;color:#315f9b;background:#edf4fc;border:1px solid #d9e7f7;border-radius:4px;padding:4px 7px}
.pa-ebook-chapter summary strong{font-weight:700;line-height:1.4}
.pa-ebook-chapter summary:after{content:'+';margin-left:auto;font-size:20px;font-weight:400;color:#6b7d91}
.pa-ebook-chapter[open] summary{background:#f7faff;border-bottom:1px solid #e9eef4}
.pa-ebook-chapter[open] summary:after{content:'−'}
.pa-ebook-body{padding:18px 20px 20px;color:#37475a;font-size:13px;line-height:1.75}
.pa-ebook-body p{margin:0 0 12px}
.pa-ebook-body p:last-child{margin-bottom:0}
.pa-ebook-body h4{font-size:14px;margin:18px 0 7px;color:#17395f}
.pa-ebook-body ul,.pa-ebook-body ol{margin:8px 0 14px;padding-left:22px}
.pa-ebook-body li{margin:5px 0}
.pa-ebook-body code{font-size:12px;background:#f2f5f8;border:1px solid #e3e9ef;border-radius:3px;padding:1px 4px}
.pa-ebook-note,.pa-ebook-tip{margin:14px 0 0;padding:11px 13px;border-radius:5px;background:#f6f9fc;border-left:3px solid #315f9b;color:#415268}
.pa-ebook-tip{border-left-color:#4f8a5b;background:#f7fbf8}
.pa-ebook-example{margin:8px 0 14px;padding:10px 12px;border:1px solid #dfe7ef;border-radius:5px;background:#fbfcfe;font-family:Consolas,Monaco,monospace;font-size:12px;line-height:1.55;overflow-wrap:anywhere;color:#284a70}
.pa-ebook-statuses p{padding:8px 0;margin:0;border-bottom:1px dashed #e4e9ef}
.pa-ebook-statuses p:last-child{border-bottom:0}
@media(max-width:640px){.pa-ebook-head{padding:15px}.pa-ebook-head h2{font-size:18px}.pa-ebook-chapter summary{padding:12px 14px;align-items:flex-start}.pa-ebook-body{padding:14px 15px 17px;font-size:12.5px}.pa-ebook-chapter summary span{margin-top:1px}}

/* Dashboard compact refinement v1.13.0 */
.pa-dashboard-v2{max-width:1240px;padding:0;line-height:1.42}
.pa-dashboard-v2 .pa-card,.pa-dashboard-v2 .pa-kpi{border-color:#e6ebf1;box-shadow:0 1px 3px rgba(15,23,42,.03)}
.pa-dashboard-v2 .pa-card{padding:12px;margin-bottom:8px;border-radius:7px}
.pa-dashboard-v2 .pa-grid-2{gap:8px}
.pa-dashboard-v2 .pa-kpi-grid{gap:6px;margin-bottom:8px}
.pa-dashboard-v2 .pa-kpi{padding:9px 10px;border-radius:7px}
.pa-dashboard-v2 .pa-kpi>span{font-size:9px;margin-bottom:3px}
.pa-dashboard-v2 .pa-kpi>strong{font-size:15px}
.pa-dashboard-v2 .pa-kpi>small{font-size:9px;margin-top:3px}
.pa-dashboard-v2 .pa-section-head{margin-bottom:8px;padding-bottom:6px}
.pa-dashboard-v2 .pa-section-head h3{font-size:13px}
.pa-dashboard-v2 .pa-section-head p{font-size:10px}
.pa-dashboard-v2 .pa-hero{padding:14px 16px;margin-bottom:8px;border-radius:8px;min-height:0}
.pa-dashboard-v2 .pa-hero h2{font-size:20px;margin-bottom:2px}
.pa-dashboard-v2 .pa-hero p{font-size:10.5px}
.pa-dashboard-v2 .pa-hero-balance strong{font-size:19px}
.pa-dashboard-v2 .pa-dashboard-nav{gap:4px;padding-bottom:8px}
.pa-dashboard-v2 .pa-dashboard-nav a{padding:5px 8px;border-radius:5px;font-size:9.5px}
.pa-dashboard-v2 table{font-size:10.5px}
.pa-dashboard-v2 th,.pa-dashboard-v2 td{padding:7px 8px}
.pa-dashboard-v2 input,.pa-dashboard-v2 select,.pa-dashboard-v2 textarea{min-height:34px;font-size:11px;border-radius:5px}
.pa-dashboard-v2 button,.pa-dashboard-v2 .button,.pa-dashboard-v2 input[type=submit]{min-height:32px;padding:6px 10px;border-radius:5px;font-size:10.5px}
.pa-dashboard-v2 p{line-height:1.5}

/* One master accordion, nested ebook chapters */
.pa-affiliate-ebook.pa-ebook-master{margin:0 0 8px;border:1px solid #dfe6ee;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 1px 3px rgba(15,23,42,.025)}
.pa-ebook-master-summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8fafc;color:#17395f;user-select:none}
.pa-ebook-master-summary::-webkit-details-marker{display:none}
.pa-ebook-master-summary:before{content:'+';display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border-radius:5px;background:#eaf2fb;color:#0f5f9e;font-size:16px;line-height:1;font-weight:500}
.pa-ebook-master[open]>.pa-ebook-master-summary:before{content:'−'}
.pa-ebook-master-title{font-size:12.5px;font-weight:700;line-height:1.3}
.pa-ebook-master-hint{margin-left:auto;font-size:9.5px;color:#718096;font-weight:500}
.pa-ebook-master[open]>.pa-ebook-master-summary{border-bottom:1px solid #e7ecf1;background:#f6f9fc}
.pa-ebook-master-content{padding:0}
.pa-ebook-head{padding:12px 14px;background:#fbfcfe;border-bottom:1px solid #edf1f5}
.pa-ebook-kicker{font-size:9px;margin-bottom:2px}
.pa-ebook-head h2{font-size:16px;margin:0 0 4px}
.pa-ebook-head p{font-size:10.5px;line-height:1.55;max-width:none}
.pa-ebook-chapter{margin:0;border-top:1px solid #edf1f5}
.pa-ebook-chapter summary{gap:8px;padding:9px 12px;font-size:11px;min-height:38px}
.pa-ebook-chapter summary span{font-size:8.5px;padding:3px 6px;border-radius:4px}
.pa-ebook-chapter summary strong{font-weight:700;line-height:1.35}
.pa-ebook-chapter summary:after{font-size:16px}
.pa-ebook-body{padding:11px 14px 13px;color:#405064;font-size:10.8px;line-height:1.62}
.pa-ebook-body p{margin:0 0 8px}
.pa-ebook-body h4{font-size:11.5px;margin:12px 0 5px}
.pa-ebook-body ul,.pa-ebook-body ol{margin:5px 0 9px;padding-left:18px}
.pa-ebook-body li{margin:3px 0}
.pa-ebook-body code{font-size:9.8px}
.pa-ebook-note,.pa-ebook-tip{margin:9px 0 0;padding:8px 10px;border-radius:4px;font-size:10.2px}
.pa-ebook-example{margin:6px 0 9px;padding:8px 9px;font-size:9.7px;border-radius:4px}
.pa-ebook-statuses p{padding:6px 0}

@media(max-width:980px){
 .pa-dashboard-v2 .pa-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pa-dashboard-v2 .pa-hero{gap:12px}
}
@media(max-width:720px){
 .pa-dashboard-v2{padding:0 1px}
 .pa-dashboard-v2 .pa-hero{display:block;padding:12px 13px}
 .pa-dashboard-v2 .pa-hero-balance{margin-top:9px;padding:8px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18);text-align:left;min-width:0}
 .pa-dashboard-v2 .pa-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .pa-dashboard-v2 .pa-grid-2{grid-template-columns:1fr;gap:6px}
 .pa-dashboard-v2 .pa-card{padding:10px;margin-bottom:6px}
 .pa-ebook-master-summary{padding:9px 10px}
 .pa-ebook-master-title{font-size:11.5px}
 .pa-ebook-master-hint{font-size:9px}
 .pa-ebook-head{padding:10px 11px}
 .pa-ebook-head h2{font-size:14px}
 .pa-ebook-head p{font-size:10px}
 .pa-ebook-chapter summary{padding:8px 10px;font-size:10.5px;align-items:center}
 .pa-ebook-body{padding:10px 11px 12px;font-size:10.5px}
}
@media(max-width:430px){
 .pa-dashboard-v2 .pa-kpi-grid{grid-template-columns:1fr 1fr}
 .pa-dashboard-v2 .pa-kpi{padding:8px 9px}
 .pa-dashboard-v2 .pa-kpi>strong{font-size:14px}
 .pa-ebook-master-hint{display:none}
}


/* v1.14.0 — report/ebook typography + Windows-style compact UI */
.pa-dashboard-v2{
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  color:#253243;
  background:#f5f6f8;
  border:1px solid #dfe3e8;
  border-radius:8px;
  padding:10px;
}
.pa-dashboard-v2 strong,.pa-dashboard-v2 b{font-weight:600}
.pa-dashboard-v2 .pa-card,.pa-dashboard-v2 .pa-kpi{
  background:#fff;
  border:1px solid #dfe3e8;
  border-radius:6px;
  box-shadow:0 1px 2px rgba(0,0,0,.025)
}
.pa-dashboard-v2 .pa-card{padding:11px 12px}
.pa-dashboard-v2 .pa-section-head{border-bottom:1px solid #e6e9ed;margin-bottom:8px;padding-bottom:6px}
.pa-dashboard-v2 .pa-section-head h3{font-size:12.5px;font-weight:600;color:#1f2d3d;letter-spacing:0}
.pa-dashboard-v2 .pa-section-head p{font-size:10px;color:#697586}
.pa-dashboard-v2 .pa-kpi>span{font-weight:500;color:#667085;text-transform:none;letter-spacing:0}
.pa-dashboard-v2 .pa-kpi>strong{font-weight:600;color:#182230}
.pa-dashboard-v2 .pa-dashboard-nav a{font-weight:500;background:#fff;border:1px solid #dfe3e8;color:#344054}
.pa-dashboard-v2 .pa-dashboard-nav a:hover{background:#f1f4f7;border-color:#cfd5dd}
.pa-dashboard-v2 button,.pa-dashboard-v2 .button,.pa-dashboard-v2 input[type=submit]{font-weight:500;box-shadow:none}
.pa-dashboard-v2 table{border-collapse:collapse;background:#fff}
.pa-dashboard-v2 th{font-weight:600;background:#f7f8fa;color:#344054;border-bottom:1px solid #dfe3e8}
.pa-dashboard-v2 td{border-bottom:1px solid #edf0f3;color:#475467}

/* Master guide: single closed shell, report-like nested chapters */
.pa-affiliate-ebook.pa-ebook-master{border:1px solid #d8dde4;border-radius:6px;box-shadow:none;background:#fff}
.pa-ebook-master-summary{padding:9px 11px;background:#f6f7f9;color:#1f2d3d;border-radius:6px}
.pa-ebook-master-summary:before{width:18px;height:18px;flex-basis:18px;border-radius:3px;background:#e9edf2;color:#344054;font-size:14px}
.pa-ebook-master-title{font-size:12px;font-weight:600;letter-spacing:0}
.pa-ebook-master-hint{font-size:9px;font-weight:400;color:#7a8493}
.pa-ebook-master[open]>.pa-ebook-master-summary{background:#f3f5f7;border-bottom:1px solid #dfe3e8}
.pa-ebook-head{padding:12px 14px;background:#fff;border-bottom:1px solid #e5e8ec}
.pa-ebook-kicker{font-size:9px;font-weight:500;letter-spacing:.04em;color:#667085;text-transform:uppercase}
.pa-ebook-head h2{font-size:15px;font-weight:600;color:#1f2d3d;margin:1px 0 4px}
.pa-ebook-head p{font-size:10.5px;line-height:1.6;color:#586576;max-width:980px}
.pa-ebook-chapter{background:#fff;border-top:1px solid #e6e9ed}
.pa-ebook-chapter summary{display:grid;grid-template-columns:26px minmax(0,1fr) 18px;gap:8px;align-items:center;padding:9px 12px;font-size:11px;color:#253243;background:#fff}
.pa-ebook-chapter summary:hover{background:#f8f9fb}
.pa-ebook-chapter summary:after{grid-column:3;content:'+';font-size:15px;font-weight:400;color:#7a8493;text-align:right}
.pa-ebook-chapter[open] summary{background:#f6f7f9;border-bottom:1px solid #e5e8ec}
.pa-ebook-chapter[open] summary:after{content:'−'}
.pa-ebook-chapter summary .pa-chapter-no{
  display:inline-block;
  min-width:26px;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  color:#475467;
  border-radius:0;
  font-size:10.5px;
  font-weight:600;
  text-align:right;
}
.pa-ebook-chapter summary .pa-chapter-title{font-size:11px;font-weight:500;line-height:1.4;color:#253243}
.pa-ebook-body{padding:13px 16px 15px 46px;font-size:10.8px;line-height:1.72;color:#3f4d5f;background:#fff}
.pa-ebook-body p{margin:0 0 9px;text-align:justify}
.pa-ebook-body h4{font-size:11px;font-weight:600;color:#253243;margin:13px 0 5px;border-bottom:1px solid #edf0f3;padding-bottom:3px}
.pa-ebook-body strong,.pa-ebook-body b{font-weight:600;color:#2f3d4d}
.pa-ebook-body ul,.pa-ebook-body ol{margin:5px 0 10px;padding-left:19px}
.pa-ebook-body li{margin:3px 0;padding-left:1px}
.pa-ebook-note,.pa-ebook-tip{margin:9px 0 0;padding:8px 10px;border:1px solid #dfe4ea;border-left:3px solid #7b8794;border-radius:3px;background:#f8f9fb;color:#465466}
.pa-ebook-tip{border-left-color:#5d8a68;background:#f8faf8}
.pa-ebook-example{margin:7px 0 10px;padding:8px 9px;border:1px solid #dfe4ea;border-radius:3px;background:#f7f8fa;color:#344054;font-size:9.8px}
.pa-ebook-statuses p{padding:7px 0;margin:0;border-bottom:1px solid #edf0f3;text-align:left}

@media(max-width:720px){
 .pa-dashboard-v2{padding:6px;border-radius:5px}
 .pa-ebook-chapter summary{grid-template-columns:23px minmax(0,1fr) 16px;gap:6px;padding:8px 9px}
 .pa-ebook-chapter summary .pa-chapter-no{min-width:23px;font-size:10px}
 .pa-ebook-chapter summary .pa-chapter-title{font-size:10.5px}
 .pa-ebook-body{padding:11px 11px 13px 38px;font-size:10.5px}
}
