:root{--bg:#f5f7f4;--surface:#ffffff;--surface-2:#eef4ee;--text:#132217;--muted:#56715f;--line:#d7e4d8;--primary:#0f7a44;--primary-strong:#0a5a31;--accent:#cc7a24;--danger:#b53333;--font-heading:"Avenir Next","Futura","Trebuchet MS",sans-serif;--font-body:"Avenir","Segoe UI","Helvetica Neue",sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0;background:radial-gradient(circle at top left,#eef8f0,#f5f7f4 30%);color:var(--text);font-family:var(--font-body)}a{color:inherit;text-decoration:none}.dashboard-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{border-right:1px solid var(--line);background:linear-gradient(180deg,#0f7a44,#0a5a31);color:#eaf6ef;padding:28px 18px}.brand{display:flex;align-items:center;gap:12px;margin-bottom:30px}.brand-badge{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-weight:800}.brand-title{margin:0;font-weight:700}.brand-subtitle{margin:0;color:#cde6d7;font-size:13px}.nav-links{display:flex;flex-direction:column;gap:8px}.nav-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:10px;color:#dcf0e2;font-weight:600}.nav-link.active,.nav-link:hover{background:rgba(255,255,255,.18);color:#fff}.main-content{padding:24px}.page-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}.page-header h1{margin:0;font-size:26px;font-family:var(--font-heading)}.page-header p{margin:6px 0 0;color:var(--muted)}.card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px;box-shadow:0 8px 20px rgba(14,35,20,.04)}.grid{display:grid;grid-gap:12px;gap:12px}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-label{color:var(--muted);margin:0}.stat-value{margin:10px 0;font-size:34px}.stat-hint{color:var(--muted);margin:0}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table td,.table th{border-bottom:1px solid var(--line);padding:10px;text-align:left;white-space:nowrap;font-size:14px}.button,.input,.select,.textarea{border-radius:10px;border:1px solid var(--line);font:inherit}.input,.select,.textarea{width:100%;padding:10px 12px;background:#fff}.textarea{min-height:110px;resize:vertical}.button{padding:10px 14px;cursor:pointer;background:var(--surface-2)}.button.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.badge{font-size:12px;padding:4px 8px;border-radius:999px;background:#edf6ef;color:var(--primary-strong);border:1px solid #cbe3d1}.chat-list{display:flex;flex-direction:column;gap:10px;max-height:60vh;overflow:auto;padding-right:4px}.chat-bubble{max-width:80%;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#f8fbf8}.chat-bubble.inbound{align-self:flex-start}.chat-bubble.outbound{align-self:flex-end;background:#e7f6ea;border-color:#b9e1c1}.chat-bubble p{margin:0 0 6px;white-space:pre-wrap}.chat-bubble small{color:var(--muted)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr;background:radial-gradient(circle at 20% 15%,rgba(13,122,68,.2),transparent 40%),radial-gradient(circle at 75% 85%,rgba(204,122,36,.15),transparent 35%),linear-gradient(145deg,#f4fbf6,#edf6ef 48%,#f8f2e9)}.auth-hero{padding:64px 56px;animation:authFadeUp .35s ease-out}.auth-chip{display:inline-flex;border-radius:999px;background:#e6f4eb;color:#0b6035;border:1px solid #c3e4ce;padding:6px 12px;font-weight:700;font-size:13px}.auth-hero h1{margin:14px 0 10px;font-size:clamp(30px,4vw,46px);line-height:1.04;letter-spacing:-.02em;font-family:var(--font-heading)}.auth-hero p{margin:0;color:#3d5c49;max-width:560px;font-size:18px}.auth-features{margin:24px 0 0;padding:0;list-style:none;display:grid;grid-gap:12px;gap:12px}.auth-features li{position:relative;padding:12px 12px 12px 40px;border:1px solid #d5e9db;border-radius:12px;background:rgba(255,255,255,.74);color:#1f3f2c}.auth-features li:before{content:"";position:absolute;left:14px;top:50%;width:16px;height:16px;border-radius:50%;transform:translateY(-50%);background:linear-gradient(145deg,#0f7a44,#0b6035);box-shadow:0 0 0 3px #d9eee1}.auth-panel{display:grid;place-items:center;padding:24px}.auth-card{width:min(500px,100%);border-radius:18px;border:1px solid rgba(189,213,194,.8);background:rgba(255,255,255,.92);box-shadow:0 24px 50px rgba(11,33,20,.09);padding:28px;animation:authFadeUp .38s ease-out}.auth-card h2{margin:0;font-size:30px;font-family:var(--font-heading)}.auth-card>p{margin:8px 0 16px;color:#4e6b58}.auth-message{margin-top:12px;color:#325745;font-weight:600}.auth-switch{margin:14px 0 0;color:#446752}.auth-switch a{color:#0a5a31;font-weight:700}@keyframes authFadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1000px){.dashboard-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.auth-shell,.grid.cols-2,.grid.cols-4{grid-template-columns:1fr}.auth-hero{padding:34px 20px 16px}.auth-panel{padding:20px;align-items:start}.auth-card{padding:22px}}