@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--orange:#cc591f;--orange-light:#f47e3a;--ink:#1d2526;--muted:#62706f;--border:#e7e6e2;--paper:#fffcf8;--soft:#f5f4f0}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',system-ui,Arial,sans-serif}button,input{font:inherit}a{color:inherit;text-decoration:none}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.site-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 5%;background:#fff;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:14px}.brand img{width:95px;height:49px;object-fit:contain}.brand span{font-size:13px;letter-spacing:.14em;font-weight:800;display:block}.brand small{display:block;margin-top:5px;font-size:10px;letter-spacing:.2em;color:var(--orange);font-weight:800}.header-actions{display:flex;align-items:center;gap:15px}.security-pill,.state-pill{font-size:11px;font-weight:800;letter-spacing:.05em;border-radius:20px;padding:9px 12px;background:#fff1e7;color:#923d0e}.header-button{padding:9px 16px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer;font-weight:700}
.shell{max-width:1470px;margin:auto;padding:35px 3% 30px}.intro{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:10px 0 30px}.eyebrow{font-weight:800;color:var(--orange);letter-spacing:.16em;font-size:10px}.intro h1{font-family:Outfit,system-ui;font-weight:800;font-size:clamp(40px,5vw,62px);line-height:.99;letter-spacing:-.045em;margin:10px 0 16px}.intro h1 em{color:var(--orange);font-style:normal}.intro p{color:var(--muted);max-width:650px;line-height:1.65;margin:0}.intro-meta{text-align:right;color:var(--muted);font-size:13px;line-height:1.7}.intro-meta strong{display:block;color:var(--ink);font-size:17px}.intro-meta small{display:block}.workspace{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:20px;align-items:start}
.directory,.detail,.panel{background:#fff;border:1px solid var(--border);border-radius:17px}.directory{position:sticky;top:18px;overflow:hidden}.directory-head,.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.directory-head{padding:24px 22px 12px}.directory h2{font-family:Outfit;margin:4px 0 0;font-size:22px}.count{border:1px solid var(--border);border-radius:14px;padding:7px 9px;font-size:12px}.directory input{display:block;width:calc(100% - 44px);margin:3px 22px 15px;background:var(--soft);border:1px solid var(--border);border-radius:9px;padding:12px 13px;outline:none}.directory input:focus{border-color:var(--orange)}.customer-list{max-height:590px;min-height:130px;overflow:auto;border-top:1px solid var(--border)}.customer-entry{width:100%;background:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-bottom:1px solid #f0efed;text-align:left;padding:14px 20px}.customer-entry:hover,.customer-entry.selected{background:#fff3e9}.customer-entry strong{display:block;font-size:13px;overflow-wrap:anywhere}.customer-entry span{font-size:11px;display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.customer-entry .arrow{color:var(--orange);font-weight:800;white-space:nowrap}.directory-foot{font-size:11px;color:var(--muted);line-height:1.5;padding:16px 22px;background:#faf9f6}
.detail{min-height:550px;padding:24px}.empty-panel{text-align:center;min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-glyph{font-size:38px;color:var(--orange)}.empty-panel h2{font-family:Outfit;font-size:28px;margin:8px 0}.empty-panel p{color:var(--muted);max-width:410px;line-height:1.6}.detail-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.detail-head h2{font-family:Outfit;font-size:32px;letter-spacing:-.03em;margin:6px 0}.detail-email{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.state-pill{flex-shrink:0;background:#e7f6eb;color:#2e6b40}.state-pill.pending{background:#fff2e7;color:#954b22}.view-note{border-radius:10px;border:1px solid #f3e2d2;background:#fff8f0;padding:12px 14px;font-size:12px;line-height:1.6;color:#80522d;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:20px}.stat{border:1px solid var(--border);border-radius:12px;padding:16px}.stat.accent{background:var(--orange);border-color:var(--orange);color:#fff}.stat span{font-size:10px;font-weight:800;letter-spacing:.09em;display:block}.stat strong{font-family:Outfit;font-size:28px;letter-spacing:-.03em;display:block;margin:10px 0 3px}.stat small{font-size:11px;opacity:.8}.panel{padding:20px;margin:16px 0 0}.section-head{margin-bottom:12px}.section-head h3{font-family:Outfit;font-size:21px;margin:4px 0 0}.muted{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:660px}th{text-transform:uppercase;letter-spacing:.07em;font-size:10px;color:var(--muted);font-weight:800;text-align:left;border-bottom:1px solid var(--border);padding:13px 7px}td{font-size:12px;border-bottom:1px solid #f2f1ee;padding:15px 7px;vertical-align:middle}td:nth-child(5){white-space:nowrap}.pdf-actions{display:flex;flex-direction:column;gap:8px;align-items:start}.check-button,.view-button{background:none;border:1px solid #d5d8d4;border-radius:6px;font-size:11px;font-weight:800;padding:7px 9px;cursor:pointer;white-space:nowrap}.view-button{display:inline-block;background:#fff1e8;border-color:#f0caae;color:#973e0a}.pdf-status{font-size:11px;color:var(--muted);max-width:210px;line-height:1.4}.rewards{display:flex;flex-direction:column}.reward{display:flex;gap:10px;align-items:start;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #f1f0ed}.reward strong{font-size:12px;display:block}.reward small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.reward-amount{font-weight:800;white-space:nowrap;font-size:13px;color:#348044}.reward-amount.negative{color:#b54e2e}.notice{border:1px solid #fad0bc;background:#fff6f0;color:#954b22;border-radius:10px;padding:16px;margin-bottom:20px;line-height:1.6;font-size:13px}.empty-list{color:var(--muted);font-size:12px;padding:18px 4px}footer{margin-top:28px;display:flex;justify-content:space-between;gap:14px;font-size:11px;color:var(--muted);line-height:1.5}footer a{color:var(--orange);font-weight:800}
@media(max-width:880px){.workspace{grid-template-columns:1fr}.directory{position:static}.customer-list{max-height:300px}.intro-meta{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.site-header{padding:14px}.brand img{width:65px}.brand span{font-size:11px}.security-pill{display:none}.shell{padding:24px 12px}.detail{padding:15px}.detail-head{flex-direction:column}.stats{grid-template-columns:1fr}footer{flex-direction:column}}
