:root{color:#18201f;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f5f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(#f6f5f0f5,#f6f5f0),#f6f5f0;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.64}.topbar{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f6f5f0eb;border-bottom:1px solid #18201f1f;justify-content:space-between;align-items:center;gap:24px;min-height:64px;padding:0 32px;display:flex;position:sticky;top:0}.brand{color:#18201f;font-size:20px;font-weight:800;text-decoration:none}.topnav{align-items:center;gap:16px;min-width:0;display:flex}.user-email{color:#59615f;text-overflow:ellipsis;white-space:nowrap;max-width:36vw;overflow:hidden}.nav-link{color:#18201f;border:1px solid #18201f29;border-radius:8px;padding:8px 12px;text-decoration:none}.auth-page{place-items:center;min-height:calc(100vh - 64px);padding:32px 16px;display:grid}.auth-panel,.panel{background:#fffdf8;border:1px solid #18201f1f;border-radius:8px;box-shadow:0 18px 50px #18201f14}.auth-panel{gap:24px;width:min(100%,420px);padding:28px;display:grid}.dashboard-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:40px 0}.dashboard-header{justify-content:space-between;align-items:end;gap:32px;margin-bottom:28px;display:flex}.dashboard-header p{color:#59615f;max-width:440px;margin:0;line-height:1.6}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.panel{align-content:start;gap:22px;padding:24px;display:grid}.panel-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.count{color:#0e5138;background:#d8f2e4;border-radius:999px;place-items:center;min-width:34px;height:34px;font-weight:800;display:grid}.eyebrow{color:#0e7c59;letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:800}h1,h2,h3{letter-spacing:0;margin:0}h1{font-size:34px;line-height:1.08}h2{font-size:22px;line-height:1.18}h3{font-size:16px;line-height:1.3}.stack,.entry-form{gap:14px;display:grid}label{color:#3d4644;gap:7px;font-size:14px;font-weight:700;display:grid}input,select,textarea{color:#18201f;background:#fff;border:1px solid #18201f29;border-radius:8px;outline:none;width:100%;padding:11px 12px}select{min-height:44px}textarea{resize:vertical;min-height:108px}input:focus,select:focus,textarea:focus{border-color:#0e7c59;box-shadow:0 0 0 3px #0e7c5924}.segmented-control{background:#efeee8;border:1px solid #18201f1f;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.segmented-control button{color:#59615f;background:0 0;border:0;border-radius:6px;min-height:40px;font-weight:800}.segmented-control button.active{color:#18201f;background:#fffdf8;box-shadow:0 8px 20px #18201f14}.primary-button{color:#fffdf8;background:#18201f;border:0;border-radius:8px;min-height:44px;font-weight:800}.primary-button:hover:not(:disabled){background:#0e7c59}.ghost-button,.danger-button{color:#18201f;background:#fff;border:1px solid #18201f24;border-radius:8px;min-height:38px;padding:0 12px;font-weight:800}.ghost-button:hover:not(:disabled){color:#0e7c59;border-color:#0e7c595c}.danger-button{color:#91351c;border-color:#91351c38}.danger-button:hover:not(:disabled){background:#ffe8e1}.primary-link{color:#fffdf8;background:#18201f;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-grid}.primary-link:hover{background:#0e7c59}.inline-link{color:#0e7c59;font-weight:800;text-decoration:none}.inline-link:hover{text-decoration:underline}.dashboard-status{text-align:right;justify-items:end;gap:8px;display:grid}.dashboard-status p{max-width:380px}.billing-badge{border-radius:999px;align-items:center;width:fit-content;min-height:30px;padding:6px 10px;font-size:12px;font-weight:900;display:inline-grid}.billing-badge.active,.billing-badge.trialing{color:#0e5138;background:#d8f2e4}.billing-badge.past_due{color:#7a5200;background:#fff1c7}.billing-badge.canceled,.billing-badge.expired{color:#91351c;background:#ffe8e1}.billing-page{place-items:center;min-height:calc(100vh - 64px);padding:32px 16px;display:grid}.billing-panel{background:#fffdf8;border:1px solid #18201f1f;border-radius:8px;gap:22px;width:min(100%,560px);padding:28px;display:grid;box-shadow:0 18px 50px #18201f14}.billing-heading{gap:10px;display:grid}.price-row{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.price-stack{border-top:1px solid #18201f1a;border-bottom:1px solid #18201f1a;padding:18px 0}.price-row strong{font-size:34px;line-height:1}.price-row span,.muted,.billing-copy{color:#59615f}.price-original{color:#8a918f;font-size:18px;font-weight:800;text-decoration:line-through}.discount-note{color:#0e7c59;margin:8px 0 0;font-size:14px;font-weight:800}.billing-copy{margin:0;line-height:1.6}.billing-details{gap:10px;display:grid}.billing-details p{color:#59615f;margin:0;line-height:1.55}.billing-details strong{color:#18201f}.billing-actions{gap:10px;display:grid}.affiliate-code-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.muted{margin:0;font-size:14px;line-height:1.5}.form-error,.form-success{border-radius:8px;margin:0;padding:10px 12px;font-size:14px;line-height:1.45}.form-error{color:#91351c;background:#ffe8e1}.form-success{color:#0e5138;background:#e2f7ee}.workspace-panel{background:#fffdf8;border:1px solid #18201f1f;border-radius:8px;gap:22px;padding:24px;display:grid;box-shadow:0 18px 50px #18201f14}.profile-toolbar{grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:end;gap:16px;display:grid}.tabs{background:#efeee8;border:1px solid #18201f1f;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;display:grid}.tabs button{color:#59615f;background:0 0;border:0;border-radius:6px;min-height:42px;font-weight:900}.tabs button.active{color:#18201f;background:#fffdf8;box-shadow:0 8px 20px #18201f14}.search-field{gap:6px}.profile-section{gap:20px;display:grid}.profile-grid{grid-template-columns:minmax(280px,380px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.profile-grid>.entry-form,.profile-grid>.form-error,.profile-grid>.form-success{grid-column:1}.profile-grid>.item-list,.profile-grid>.empty-state{grid-area:1/2/span 10}.narrow-form{max-width:520px}.form-row{grid-template-columns:minmax(0,1fr) 120px;gap:12px;display:grid}.form-actions,.item-actions{flex-wrap:wrap;gap:8px;display:flex}.form-actions .primary-button{min-width:180px;padding:0 18px}.check-row{align-items:center;gap:10px;font-weight:800;display:flex}.check-row input{width:18px;min-width:18px;height:18px}.item-list{gap:10px;display:grid}.item{background:#faf8f2;border:1px solid #18201f1a;border-radius:8px;gap:8px;padding:14px;display:grid}.item.inactive{background:#f4f1e8}.item-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.item-heading>div{min-width:0}.item-heading h3{overflow-wrap:anywhere}.item p,.empty-state{color:#59615f;white-space:pre-wrap;margin:0;line-height:1.55}.item-meta{font-size:13px}.status-pill{color:#59615f;white-space:nowrap;background:#efeee8;border-radius:999px;align-items:center;min-height:28px;padding:4px 9px;font-size:12px;font-weight:900;display:inline-grid}.status-pill.on{color:#0e5138;background:#d8f2e4}.empty-state{border:1px dashed #18201f2e;border-radius:8px;padding:16px}@media (width<=860px){.dashboard-header,.dashboard-grid,.profile-grid,.profile-toolbar{grid-template-columns:1fr}.dashboard-header{align-items:start;display:grid}.dashboard-status{text-align:left;justify-items:start}.profile-grid>.entry-form,.profile-grid>.form-error,.profile-grid>.form-success,.profile-grid>.item-list,.profile-grid>.empty-state{grid-area:auto/1}}@media (width<=560px){.topbar{flex-direction:column;align-items:start;gap:10px;padding:14px 16px}.topnav{justify-content:space-between;width:100%}.user-email{max-width:58vw}.dashboard-shell{width:min(100% - 20px,1180px);padding:24px 0}.panel,.auth-panel,.billing-panel,.workspace-panel{padding:18px}.tabs,.form-row,.affiliate-code-form{grid-template-columns:1fr}h1,.price-row strong{font-size:28px}}
