.creator-manager{max-width:1600px}.creator-heading,.creator-switch{display:flex;align-items:center;justify-content:space-between;gap:24px}.creator-manager h2{margin:0 0 12px}.creator-manager h3{margin-top:28px}.creator-manager p{color:#746f63;line-height:1.8}.creator-tabs,.creator-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0}.creator-tabs button.active{background:#ffcd25;border-color:#ffcd25;color:#111}.creator-settings{padding:28px}.creator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px;margin:22px 0}.creator-manager label{display:block;font-size:14px;line-height:1.8}.creator-manager input:not([type=checkbox]),.creator-manager select,.creator-manager textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #e5dfd1;border-radius:9px;background:#fff;box-sizing:border-box}.creator-manager input[type=checkbox]{width:auto;margin-right:8px}.creator-manager textarea{min-height:95px;resize:vertical}.creator-manager button{cursor:pointer}.creator-manager button:disabled{opacity:.5;cursor:wait}.creator-switch{border-bottom:1px solid #ece7dc;padding-bottom:18px}.creator-switch button{white-space:nowrap}.creator-error{background:#fff0ed;color:#a83223!important;padding:14px;border-radius:8px}.creator-success{background:#eaf4ea;color:#285a32!important;padding:14px;border-radius:8px}.creator-callout{padding:18px;background:#fff8df}.creator-table-wrap{overflow:auto}.creator-manager small{display:block;color:#827b70;margin-top:7px}.creator-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:10px}.creator-overlay{position:fixed;inset:0;z-index:1000;background:#0006;display:flex;align-items:center;justify-content:center;padding:30px}.creator-dialog{width:800px;max-width:100%;max-height:90vh;overflow:auto;background:#fffdf8;border-radius:18px;padding:30px;box-shadow:0 20px 60px #0003}.creator-dialog .creator-heading{position:sticky;top:-30px;background:#fffdf8;padding:14px 0;z-index:1}.creator-previews{display:flex;flex-wrap:wrap;gap:14px}.creator-previews a{display:flex;flex-direction:column;gap:6px;color:#655526;text-decoration:none;font-size:13px}.creator-previews img{width:125px;height:125px;object-fit:cover;border-radius:9px}.creator-manager pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f0e8;padding:15px;border-radius:8px;max-height:220px;overflow:auto;font-size:13px}@media(max-width:700px){.creator-heading,.creator-switch{align-items:flex-start;flex-direction:column}.creator-dialog{padding:20px}.creator-overlay{padding:12px}.creator-grid{grid-template-columns:1fr}}

.creator-status-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.creator-status-filters button{white-space:nowrap}.creator-status-filters button.active{background:#ffcd25;border-color:#ffcd25;color:#111;font-weight:700}.creator-status-filters button:focus-visible{outline:2px solid #9b7700;outline-offset:3px}

/* Creator workspace: clear navigation, quiet filters, consistent table spacing. */
.creator-manager{max-width:1600px;color:#24241f}
.creator-manager button{min-height:36px;transition:background .15s,border-color .15s,color .15s}
.creator-manager button:disabled{opacity:.45;cursor:not-allowed}
.creator-manager button:focus-visible{outline:2px solid #967200;outline-offset:3px}
.creator-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:-12px 0 18px}
.creator-intro p{margin:0;font-size:13px;color:#807d73}
.creator-refresh{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;background:transparent;padding:8px 14px}
.creator-refresh svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.creator-refresh:hover:not(:disabled){background:#fff;border-color:#ccc6b9}
.creator-tabs{display:flex;flex-wrap:nowrap;gap:24px;overflow-x:auto;margin:0 0 24px;border-bottom:1px solid #e4e1d8;scrollbar-width:thin}
.creator-tabs button{position:relative;flex-shrink:0;padding:13px 1px 16px;border:0;border-radius:0;background:transparent;color:#77766e;font-size:14px;white-space:nowrap}
.creator-tabs button:after{position:absolute;right:0;bottom:0;left:0;height:3px;background:#ffc928;border-radius:3px 3px 0 0;content:'';opacity:0;transition:opacity .15s}
.creator-tabs button:hover:not(:disabled){color:#24241f}
.creator-tabs button.active{color:#181816;font-weight:750;background:transparent}
.creator-tabs button.active:after{opacity:1}
.creator-list{overflow:hidden;border-radius:16px;border-color:#e7e4dc}
.creator-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px 20px}
.creator-list-heading>div:first-child{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.creator-manager .creator-list-heading h2{margin:0;font-size:19px;font-weight:750;line-height:1.5}
.creator-record-count{font-size:12px;color:#918e85;font-weight:400}
.creator-finance-actions{display:flex;gap:8px;flex-wrap:wrap}
.creator-filter-bar{display:flex;align-items:center;gap:18px;padding:0 28px 22px}
.creator-filter-label{flex-shrink:0;color:#8a877d;font-size:12px}
.creator-status-filters{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:5px;background:#f5f4ef;border-radius:10px}
.creator-status-filters button{min-height:32px;padding:5px 13px;border:1px solid transparent;border-radius:7px;background:transparent;color:#77746b;font-size:13px;white-space:nowrap}
.creator-status-filters button:hover:not(:disabled){background:#eae8df;color:#25241f}
.creator-status-filters button.active{background:#ffcd25;color:#242014;font-weight:700}
.creator-status-filters button.active:hover:not(:disabled){background:#ffc61b}
.creator-list>p{margin:0 28px 20px;padding:12px 16px;border-left:2px solid #e4ca75;background:#faf8f0;font-size:12px}
.creator-list table{table-layout:fixed}
.creator-list th{padding:12px 28px;background:#fafaf7;font-size:12px;font-weight:500;border-top:1px solid #efede7;color:#8a887f}
.creator-list td{padding:19px 28px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;font-size:13px;border-color:#f0eee8;line-height:1.65}
.creator-list th:first-child{width:76px}
.creator-list th:nth-child(2){width:29%}
.creator-list th:nth-child(3){width:22%}
.creator-list th:last-child{width:146px}
.creator-list td:first-child{color:#aaa69c;font-variant-numeric:tabular-nums}
.creator-list td b{font-weight:600;color:#35342e}
.creator-list tbody tr:hover{background:#fdfcf8}
.creator-list td button{white-space:nowrap;color:#575348;border-color:#e7e3d8;padding:6px 12px}
.creator-list td button:hover:not(:disabled){background:#fff7d8;border-color:#e9d178;color:#4d411b}
.creator-record-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:3px 9px;border-radius:6px;background:#f3f2ed;color:#817d72;white-space:nowrap}
.creator-record-status:before{width:5px;height:5px;content:'';border-radius:50%;background:currentColor}
.creator-record-status[data-state=pending],.creator-record-status[data-state=open],.creator-record-status[data-state=awaiting_net]{background:#fff5d6;color:#9b7319}
.creator-record-status[data-state=approved],.creator-record-status[data-state=published],.creator-record-status[data-state=paid],.creator-record-status[data-state=settled],.creator-record-status[data-state=resolved]{background:#edf5ef;color:#487758}
.creator-record-status[data-state=rejected],.creator-record-status[data-state=reversed]{background:#fbefeb;color:#a06454}
.creator-empty{min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 24px;text-align:center}
.creator-empty svg{width:45px;height:45px;margin-bottom:14px;fill:#faf9f5;stroke:#c8c4b7;stroke-width:1.5;stroke-linecap:round}
.creator-empty strong{font-size:14px;font-weight:600;color:#77736a}
.creator-empty p{margin:7px 0 0;font-size:12px;color:#a5a196}
.creator-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 28px;border-top:1px solid #efede7;background:#fff;font-size:12px;color:#9b978d}
.creator-pagination>div{display:flex;align-items:center;gap:12px}
.creator-pagination button{font-size:12px;min-height:32px;padding:5px 12px;border-radius:7px}
.creator-pagination button:disabled{color:#a6a299;opacity:.5;background:#fafaf8}
.creator-page-number{min-width:45px;text-align:center;font-variant-numeric:tabular-nums;color:#827e74}
.creator-manager h3{font-size:16px}
.creator-settings{border-radius:16px}
.creator-settings>h3:first-child,.creator-switch h3{margin-top:0}
.creator-manager small{font-size:12px;font-weight:400}
.creator-thumb{width:48px;height:48px}
@media(max-width:1100px){.creator-tabs{gap:20px}.creator-list th,.creator-list td{padding-left:20px;padding-right:20px}.creator-list-heading{align-items:flex-start;flex-wrap:wrap}.creator-list table{min-width:720px}}
@media(max-width:700px){.creator-intro{align-items:flex-start;gap:12px;margin-top:0}.creator-intro p{font-size:12px}.creator-tabs{gap:22px;margin-bottom:18px}.creator-tabs button{font-size:13px}.creator-list-heading{padding:20px}.creator-filter-bar{align-items:flex-start;gap:10px;padding:0 20px 18px}.creator-filter-label{padding-top:12px}.creator-status-filters{gap:2px}.creator-status-filters button{padding:5px 10px}.creator-list>p{margin-left:20px;margin-right:20px}.creator-pagination{padding:16px 20px;gap:12px;flex-wrap:wrap}.creator-pagination-total{display:none}}
@media(prefers-reduced-motion:reduce){.creator-manager button,.creator-tabs button:after{transition:none}}

/* Creator agreement editor: a writing surface with a separate reading preview. */
.creator-agreement{padding:0;overflow:hidden}
.creator-agreement-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border-bottom:1px solid #eeeae2}
.creator-agreement-heading h2{font-size:19px;margin:0;color:#222}
.creator-agreement-heading p{font-size:13px;color:#999;margin:8px 0 0}
.creator-agreement-state{font-size:12px;white-space:nowrap;color:#777;background:#f5f4ef;padding:7px 12px;border-radius:8px}
.creator-agreement-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr)}
.creator-agreement-editor{padding:28px;min-width:0}
.creator-agreement-editor label{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#333;font-weight:600;margin:0 0 10px}
.creator-agreement-editor label span{color:#aaa;font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}
.creator-agreement-editor input,.creator-agreement-editor textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #e6e3dc;border-radius:10px;background:#fff;padding:13px 15px;font-size:14px;color:#333;outline:none;font-family:inherit}
.creator-agreement-editor input{margin-bottom:26px}
.creator-agreement-editor textarea{height:440px;line-height:1.9;resize:vertical;min-height:240px}
.creator-agreement-editor input:focus,.creator-agreement-editor textarea:focus{border-color:#baab75;box-shadow:0 0 0 3px #f8f5e9}
.creator-agreement-hint{font-size:12px;color:#999;margin:12px 0 0}
.creator-agreement-preview{padding:28px;border-left:1px solid #eeeae2;background:#faf9f6;min-width:0}
.creator-agreement-preview-label{font-size:11px;color:#aaa;letter-spacing:1.5px;margin-bottom:24px}
.creator-agreement-preview article{max-height:528px;overflow:auto;padding-right:12px}
.creator-agreement-preview h3{font-size:22px;line-height:1.5;color:#222;margin:0 0 20px!important;overflow-wrap:anywhere}
.creator-agreement-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2;color:#777;margin:0}
.creator-agreement-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #eeeae2;padding:22px 28px}
.creator-agreement-footer p{margin:0 0 6px;font-size:12px;color:#777}
.creator-agreement-footer small{font-size:11px;color:#aaa}
.creator-agreement-footer button{padding:11px 24px;white-space:nowrap;flex-shrink:0;font-size:13px}
@media(max-width:1050px){.creator-agreement-layout{grid-template-columns:minmax(0,1fr)}.creator-agreement-preview{border-left:0;border-top:1px solid #eeeae2}.creator-agreement-preview article{max-height:320px}}
@media(max-width:700px){.creator-agreement-heading,.creator-agreement-editor,.creator-agreement-preview,.creator-agreement-footer{padding:20px}.creator-agreement-heading{gap:12px}.creator-agreement-heading p{line-height:1.6}.creator-agreement-footer{flex-wrap:wrap}.creator-agreement-footer button{width:100%}}

.creator-lifecycle-actions>p{color:#8b877d;font-size:12px;line-height:1.8}.creator-manager button.creator-danger-button{background:#fff3f0;color:#a54738;border-color:#eedbd5}.creator-removal-confirm{margin-top:20px;padding:18px 20px;border:1px solid #eedbd5;border-radius:12px;background:#fff9f7}.creator-removal-confirm strong{font-size:14px}.creator-removal-confirm p{font-size:12px;color:#98786e;line-height:1.8}.creator-record-status[data-state=suspended]{background:#f1f1f1;color:#666}.creator-record-status[data-state=removing],.creator-record-status[data-state=removed]{background:#fff3f0;color:#a54738}
