/* Creator rewards: server-backed companion to the local Paper & Ink studio. */
.cr-entry{white-space:nowrap}.cr-point{border:1px solid #d9e1d5;background:#f0f4ec;color:#3c5945;border-radius:20px;padding:7px 12px;font:600 12px inherit;cursor:pointer;white-space:nowrap}.cr-point:hover{background:#e3eddc}.cr-point:focus-visible,.cr-tabs button:focus-visible,.cr-filter button:focus-visible{outline:3px solid #cd4e33;outline-offset:3px}
.cr-home{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.cr-card{border:1px solid var(--line,#e5e8e0);border-radius:12px;background:#fff;padding:22px;text-align:left}.cr-card h3{font-size:16px;margin:9px 0}.cr-card p{font-size:12px;line-height:1.8;color:#68716d;margin:8px 0 14px}.cr-kicker{font-size:10px;letter-spacing:.14em;color:#68716d;font-weight:700}.cr-amount{font-size:29px;font-weight:600;letter-spacing:-.03em}.cr-amount small{font-size:12px;margin-left:5px}.cr-card-top,.cr-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.cr-progress{height:5px;background:#edf0e8;border-radius:8px;overflow:hidden;margin:13px 0 8px}.cr-progress>span{display:block;background:#8eac81;height:100%;border-radius:8px}.cr-muted{font-size:11px;color:#68716d;line-height:1.7}.cr-publication{margin-bottom:22px;background:#f4f5ef}.cr-publication a,.cr-link{color:#97412d;text-decoration:underline;overflow-wrap:anywhere}.cr-publication-list{margin-top:14px;display:grid;gap:9px}.cr-publication-item{padding:12px 0;border-top:1px solid #dde2d7;font-size:12px}.cr-publication-item small{display:block;color:#68716d;margin-top:5px}
#creator-modal{width:min(880px,calc(100vw - 36px));max-height:calc(100dvh - 40px);border:1px solid #e5e8e0;border-radius:16px;padding:0;background:#f7f7f3;color:#262c2b;box-shadow:0 28px 100px #14201933}#creator-modal::backdrop{background:#17211c80;backdrop-filter:blur(3px)}#creator-modal *{box-sizing:border-box}.cr-modal-head{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:27px 30px 20px;border-bottom:1px solid #e5e8e0;background:#fff;position:sticky;top:0;z-index:2}.cr-modal-head h2{font-size:23px;margin:5px 0 0}.cr-close{background:none;border:1px solid #e5e8e0;border-radius:50%;width:32px;height:32px;font-size:21px;cursor:pointer;flex-shrink:0}.cr-body{padding:25px 30px 30px}.cr-notice{border:1px solid #dbe2d3;background:#edf3e6;border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.7;margin:0 0 18px}.cr-error{border-color:#e8c0b6;background:#fff0eb;color:#8d3725}.cr-error button{margin-left:10px}.cr-login{max-width:440px;margin:12px auto 24px}.cr-login h3{font-size:20px;margin-bottom:12px}.cr-login label{display:block;font-size:12px;font-weight:600;margin:23px 0 8px}.cr-login input{width:100%;padding:12px;border:1px solid #d6ddd0;border-radius:7px;background:#fff;font:inherit}.cr-login .btn{margin-top:16px}.cr-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.cr-summary h3{margin:0 0 6px;font-size:17px}.cr-summary .cr-amount{font-size:34px}.cr-tabs{display:flex;gap:20px;border-bottom:1px solid #dfe3d9;margin-bottom:23px}.cr-tabs button{border:0;border-bottom:2px solid transparent;padding:10px 1px 12px;background:none;color:#68716d;font-size:13px;cursor:pointer}.cr-tabs button[aria-selected=true]{color:#ad4a33;border-color:#ad4a33;font-weight:600}.cr-bonus{background:#fff;padding:23px;border:1px solid #e1e5da;border-radius:12px}.cr-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:22px 0}.cr-day{padding:13px 4px;border:1px solid #e4e7df;background:#fafbf8;border-radius:8px;text-align:center}.cr-day small{display:block;color:#7e877b;font-size:9px;margin-bottom:8px}.cr-day strong{font-size:19px}.cr-day span{display:block;font-size:10px;color:#6b7666;margin-top:6px}.cr-day.today{border:2px solid #c85b40;background:#fff7ee;padding:12px 3px}.cr-day.done{background:#ecf2e6}.cr-day.today small{color:#ad4a33}.cr-filter{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.cr-filter button{background:#fff;border:1px solid #dfe4d8;border-radius:20px;padding:6px 12px;font-size:11px;cursor:pointer;color:#66715f}.cr-filter button[aria-pressed=true]{background:#32483a;border-color:#32483a;color:#fff}.cr-missions{display:grid;gap:11px;margin:18px 0}.cr-mission{padding:18px 20px;border:1px solid #e1e5da;background:#fff;border-radius:10px}.cr-mission h4{font-size:13px;margin:0 0 6px}.cr-mission .btn{min-width:92px}.cr-reward{display:inline-block;color:#9b4d31;background:#fbf0e4;font-size:12px;border-radius:5px;padding:4px 8px;margin-right:8px}.cr-ledger{width:100%;border-collapse:collapse;font-size:12px}.cr-ledger th{text-align:left;padding:12px 8px;color:#73806c;font-size:11px;border-bottom:1px solid #dfe4d7}.cr-ledger td{padding:14px 8px;border-bottom:1px solid #e4e7df}.cr-ledger td:last-child{text-align:right;color:#426443;font-weight:600}.cr-ledger td:first-child{white-space:nowrap}.cr-empty{text-align:center;padding:35px 15px;color:#6b7666;font-size:13px;line-height:1.8}.cr-footer{margin-top:24px;font-size:11px;color:#7d8678;line-height:1.8}.cr-sim{border:1px dashed #c8cfbe;border-radius:12px;padding:24px;background:#fff}.cr-sim .cr-amount{margin:20px 0}.cr-sim-log{font-size:12px;line-height:1.8;color:#56644d;margin-top:16px}.cr-loader{display:inline-block;width:13px;height:13px;border:2px solid #c5d2bf;border-top-color:#a74f37;border-radius:50%;animation:cr-spin .8s linear infinite;margin-right:8px;vertical-align:middle}@keyframes cr-spin{to{transform:rotate(360deg)}}
@media(max-width:800px){.cr-point{padding:7px 9px}.topbar>.pill{display:none}.cr-home{grid-template-columns:1fr}.cr-card{padding:19px}.cr-modal-head{padding:21px 20px 17px}.cr-body{padding:20px}.cr-tabs{gap:16px}.cr-modal-head h2{font-size:20px}.cr-day{padding:11px 2px}.cr-day strong{font-size:17px}.cr-days{gap:5px}.cr-summary{gap:10px}.cr-summary h3{font-size:15px}.cr-summary .cr-amount{font-size:29px}.cr-ledger td,.cr-ledger th{padding:12px 4px}.cr-ledger td:first-child{white-space:normal;min-width:68px}.cr-mission{padding:17px 14px}.cr-mission .cr-row{align-items:flex-start}.cr-mission .btn{min-width:82px;font-size:11px;padding:8px 11px}}
@media(max-width:420px){#creator-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.cr-body{padding:17px 13px}.cr-modal-head{padding:20px 15px}.cr-bonus{padding:17px 12px}.cr-tabs{gap:14px}.cr-tabs button{font-size:12px}.cr-card-top{align-items:flex-start}.cr-day strong{font-size:16px}.cr-day small{font-size:8px}.cr-day span{font-size:9px}.cr-point{font-size:11px;padding:7px 8px}.topbar{gap:8px}.cr-summary .cr-amount{font-size:25px}}
.cr-previews{display:grid;gap:22px;margin-top:20px}.cr-previews figure{margin:0}.cr-previews img{display:block;width:100%;height:auto;border:1px solid #d9dfd1}.cr-previews figcaption{text-align:center;font-size:11px;color:#76816d;margin-top:8px}.cr-publish-actions{display:flex;gap:9px;position:sticky;bottom:0;padding:16px 0;background:#f7f7f3;flex-wrap:wrap}.cr-capture *{transition:none!important;animation:none!important}.cr-mission .cr-row>div:last-child{flex-shrink:0}.cr-mission .cr-row>div:first-child{min-width:0}.cr-mission h4{overflow-wrap:anywhere}
.cr-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:5px;padding:0 4px;border-radius:9px;background:#cc573b;color:#fff;font-size:10px;vertical-align:middle;font-weight:600}
@media(prefers-reduced-motion:reduce){.cr-loader{animation:none}}
