:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1a1a1a}*{box-sizing:border-box}body{margin:0;background:#f6f7f9}.app{max-width:1040px;margin:0 auto;padding:24px}.app__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.app__header h1{font-size:20px;margin:0}.app__header-right{display:flex;align-items:center;gap:16px}.stat{color:#555;font-size:14px}.app__msg{color:#666}.app__msg--error{color:#b00020}.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.tab{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d8dbdf;background:#fff;border-radius:999px;font-size:13px;cursor:pointer;color:#333}.tab--active{background:#1a1a1a;border-color:#1a1a1a;color:#fff}.tab__badge{display:inline-flex;min-width:18px;height:18px;padding:0 5px;align-items:center;justify-content:center;background:#e5484d;color:#fff;border-radius:999px;font-size:11px;font-weight:600}.leads{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e3e5e8;border-radius:8px;overflow:hidden}.leads th,.leads td{text-align:left;padding:10px 12px;border-bottom:1px solid #eceef0;font-size:14px}.leads th{background:#fafbfc;font-weight:600;color:#555}.leads tbody tr{cursor:pointer}.leads tbody tr:hover{background:#f9fafb}.leads tr:last-child td{border-bottom:none}.row--replied{background:#fff7ed}.row--replied:hover{background:#ffedd5}.cell--actions{text-align:right;width:1%;white-space:nowrap}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:500;background:#eef0f2;color:#444}.badge--replied{background:#e5484d;color:#fff}.badge--won{background:#2e7d32;color:#fff}.badge--dead{background:#9aa0a6;color:#fff}.badge--emailed,.badge--follow_up{background:#dbeafe;color:#1e40af}.btn{font:inherit;border-radius:6px;border:1px solid transparent;padding:7px 14px;cursor:pointer}.btn--primary{background:#1a1a1a;color:#fff}.btn--ghost{background:#fff;border-color:#d8dbdf;color:#333}.btn--tiny{padding:3px 10px;font-size:12px;background:#fff;border-color:#d8dbdf;color:#333}.btn:disabled{opacity:.6;cursor:default}.panel-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;justify-content:flex-end}.panel{width:420px;max-width:100%;height:100%;background:#fff;overflow-y:auto;padding:20px;box-shadow:-4px 0 24px #0000001f}.panel__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel__head h2{font-size:17px;margin:0}.panel__close{border:none;background:none;font-size:24px;line-height:1;cursor:pointer;color:#888}.panel__form{display:flex;flex-direction:column;gap:12px}.field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#555}.field__req{color:#e5484d;font-style:normal}.field input,.field select,.field textarea{font:inherit;font-size:14px;padding:8px 10px;border:1px solid #d8dbdf;border-radius:6px;color:#1a1a1a}.field textarea{resize:vertical}.panel__error{color:#b00020;font-size:13px;margin:0}.panel__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.centered{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.card{width:340px;max-width:100%;background:#fff;border:1px solid #e3e5e8;border-radius:10px;padding:24px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 30px #0000000f}.card__title{font-size:18px;margin:0 0 4px}.card__hint{font-size:13px;color:#666;margin:0}.btn--block{width:100%}.btn--link{background:none;border:none;color:#1a56db;padding:4px;cursor:pointer;text-decoration:underline;font-size:13px}.btn--danger{color:#b00020;border-color:#f0c2c6}.user-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#555}.users{width:100%;border-collapse:collapse;margin-bottom:20px}.users th,.users td{text-align:left;padding:8px 6px;border-bottom:1px solid #eceef0;font-size:13px}.pill{display:inline-block;margin-left:6px;padding:1px 6px;font-size:10px;border-radius:999px;background:#fff4e5;color:#b45309}.notice{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px;font-size:13px;color:#166534;margin-bottom:12px}.notice__code{display:block;margin-top:6px;font-size:15px;font-weight:700;color:#14532d;letter-spacing:.5px}.add-user{border-top:1px solid #eceef0;padding-top:16px;display:flex;flex-direction:column;gap:10px}.add-user h3{font-size:14px;margin:0}
