.affiliate-page{color:#163f33;background:#f6f3e7}.aff-main{max-width:1280px;margin:auto;padding:32px 36px 60px}.aff-main h1,.aff-main h2{font-family:Georgia,serif;letter-spacing:-.6px}.aff-main h1{font-size:44px;line-height:1.12;margin:0 0 20px}.aff-main h2{font-size:27px;line-height:1.25;margin:0 0 16px}.aff-main h3{font-size:18px;margin-top:28px}.aff-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:36px;padding:34px 38px;background:linear-gradient(125deg,#fffef1,#dcebd1);border:1px solid #c5d7aa;border-radius:22px;box-shadow:inset 0 2px 1px #fff,0 7px 0 #bdcba7,0 17px 34px #173e3210;margin-bottom:30px}.aff-hero p{max-width:540px;font-size:16px;line-height:1.7}.aff-offer{text-align:center;background:linear-gradient(135deg,#167b5b,#064b3e);border:1px solid #549e74;border-radius:20px;padding:25px;color:#fff7d8;box-shadow:inset 0 2px 1px #a8db9b88,0 7px 0 #083e33,0 14px 22px #163b3022}.aff-offer>strong{font:700 76px/1 Georgia,serif;color:#f6d681;text-shadow:0 3px #856b2d}.aff-offer>strong span{font-size:40px}.aff-offer p{font-size:13px;margin:12px 0}.aff-offer small{font-size:12px;color:#d9eaca;line-height:1.8}.aff-page-status,#affStatus{margin:24px 0 12px}.aff-panel{background:#fffdf3;border:1px solid #d2ddbf;border-radius:18px;padding:26px;margin:24px 0;box-shadow:inset 0 2px 0 #fff,0 5px 0 #d3dbc3,0 12px 24px #203f2910}.aff-panel p,.aff-muted{color:#56715c;font-size:13px;line-height:1.7}.aff-main button,.aff-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #a7b88b;border-radius:11px;background:linear-gradient(#fffef2,#e6edcf);color:#224a3a;font:600 13px/1.4 'Segoe UI',Arial,sans-serif;box-shadow:inset 0 1px 0 #fff,0 4px 0 #9faf88;cursor:pointer;text-decoration:none;gap:8px}.aff-main .aff-button{color:#fffce8;background:linear-gradient(#17846a,#086047);border-color:#258469;box-shadow:inset 0 1px #a6e1b866,0 4px 0 #064c38}.aff-main button:hover,.aff-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.aff-main button:active,.aff-button:active{transform:translateY(2px);box-shadow:0 1px 0 #9faf88}.aff-main button:disabled{opacity:.5;cursor:not-allowed;transform:none}.aff-main a{color:#17674d}.aff-main a.aff-button{color:#fffce8}.aff-main :is(button,a,input,select,textarea):focus-visible{outline:3px solid #d09c33;outline-offset:4px}.aff-main label{display:grid;gap:8px;font-weight:600;font-size:13px}.aff-main :is(input:not([type=checkbox]),textarea,select){box-sizing:border-box;border:1px solid #bdcba9;border-radius:10px;background:#fffff8;padding:12px;color:#234a3b;font:14px/1.5 'Segoe UI',Arial,sans-serif;max-width:100%;width:100%;min-width:0}.aff-main textarea{resize:vertical}.aff-check{display:flex!important;align-items:start;gap:12px!important;font-weight:400!important;line-height:1.7;margin:22px 0}.aff-check input{margin-top:5px;accent-color:#0c7053;width:18px;height:18px;flex-shrink:0}.aff-section-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:28px 0 16px}.aff-section-title h2{margin:0}.aff-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.aff-metric{border:1px solid #ccd8b8;border-radius:14px;padding:18px;background:linear-gradient(#fffff5,#e9efda);box-shadow:inset 0 1px #fff,0 5px #c4cfb2}.aff-metric strong{display:block;font:700 28px/1.3 Georgia,serif;margin:9px 0;color:#08664e}.aff-metric span,.aff-metric small{font-size:12px}.aff-copy{display:flex;align-items:center;gap:12px;margin:12px 0 18px;flex-wrap:wrap}.aff-copy input{flex:1;min-width:200px!important}.aff-steps{padding:34px 4px 8px}.aff-steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-left:20px}.aff-steps li{padding-left:4px}.aff-steps li::marker{color:#158763;font-size:20px;font-weight:700}.aff-steps strong,.aff-steps span{display:block}.aff-steps span{font-size:13px;color:#59735c;margin-top:10px;line-height:1.8}.aff-terms li{font-size:13px;line-height:1.9;margin:14px 0;color:#4a654e}.aff-table-wrap{overflow:auto;margin:18px 0;max-width:100%}.aff-main table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.aff-main th{font-size:11px;letter-spacing:.4px;color:#5a725d;background:#edf2e0}.aff-main td,.aff-main th{padding:14px 12px;border-bottom:1px solid #e1e6d4;vertical-align:top}.aff-main td small{display:block;overflow-wrap:anywhere;max-width:320px;color:#5a715d;margin-top:5px}.aff-main td button{margin:5px 8px 5px 0;min-height:38px;padding:7px 10px;font-size:12px}.aff-state{display:inline-block;border:1px solid #c3d5b5;border-radius:6px;padding:4px 8px;font-size:11px;background:#edf4dd;white-space:nowrap}.aff-state[data-state=paid],.aff-state[data-state=approved]{background:#d3efdb;color:#07593f}.aff-state[data-state=void],.aff-state[data-state=suspended],.aff-state[data-state=rejected]{background:#f8e5dc;color:#854231}.aff-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.affiliate-page dialog{max-width:480px;width:calc(100% - 56px);border:1px solid #b6c69e;border-radius:18px;background:#fffdf3;color:#163f33;padding:25px;box-shadow:0 24px 80px #052b3d55;font:14px/1.6 'Segoe UI',sans-serif}.affiliate-page dialog::backdrop{background:#072e26aa}.affiliate-page dialog input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bdcba9;border-radius:8px;font:14px 'Segoe UI',sans-serif}.affiliate-page dialog h2{font:26px Georgia,serif}.affiliate-page dialog button{padding:12px 18px;border-radius:9px;border:1px solid #a7b88b;background:#eef3dc;color:#174b38;font:600 13px 'Segoe UI',sans-serif;cursor:pointer}.affiliate-page dialog label{display:grid;gap:8px}#affDialogError{color:#a13223}.affiliate-page [hidden]{display:none!important}
.aff-dashboard-ready .aff-hero{padding:23px 28px;grid-template-columns:1fr;margin-bottom:24px}.aff-dashboard-ready .aff-hero h1{font-size:30px;margin-bottom:12px}.aff-dashboard-ready .aff-hero h1 br{display:none}.aff-dashboard-ready .aff-hero p{font-size:14px;max-width:760px;margin:0}.aff-dashboard-ready .aff-offer{display:none}
@media(max-width:1000px){.aff-hero{grid-template-columns:1fr 220px;padding:28px}.aff-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.affiliate-page:not(.workspace-menu-open) #workspaceSidebar{visibility:hidden}.affiliate-page.workspace-menu-open #workspaceSidebar{visibility:visible}}
@media(max-width:620px){.aff-main{padding:24px 18px 42px}.aff-hero{grid-template-columns:1fr;gap:24px;padding:26px 22px}.aff-main h1{font-size:36px}.aff-hero p{font-size:14px}.aff-offer{padding:20px}.aff-offer>strong{font-size:62px}.aff-offer p{margin:6px 0}.aff-panel{padding:22px 18px}.aff-metrics{gap:12px}.aff-metric{padding:15px 12px}.aff-metric strong{font-size:25px}.aff-steps ol{grid-template-columns:1fr;gap:22px}.aff-section-title{align-items:start;flex-wrap:wrap}.aff-copy input{flex-basis:100%;min-width:0!important}.aff-copy a{flex:1}.aff-main h2{font-size:25px}.aff-main td,.aff-main th{padding:12px 9px}.aff-main table{min-width:480px}}
@media(prefers-reduced-motion:reduce){.aff-main button,.aff-button{transform:none!important}}
