:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#171717;background:#eeeee9;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #eeeee9;--surface: #ffffff;--surface-soft: #f7f7f3;--text: #171717;--muted: #72726d;--soft: #969690;--border: #deded8;--border-soft: #e9e9e4;--trim: #59665c;--trim-dark: #465249;--danger: #8a5c58}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-width:320px;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--trim);outline-offset:2px}a{color:inherit}.app{min-height:100vh}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1080px)/2));position:sticky;top:0;z-index:20;background:#fffffff5;border-bottom:1px solid #dfdfd9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.brand-area{min-width:0}.brand{font-size:19px;font-weight:850;letter-spacing:-.9px;line-height:1}.brand span{font-weight:450}.tagline{margin-top:5px;color:#898983;font-size:10px;letter-spacing:.01em}.top-actions{display:flex;align-items:center;gap:9px}.user-chip{display:flex;align-items:center;gap:8px;max-width:220px;margin-left:3px;color:#666660;font-size:11px}.user-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:32px;height:32px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#171717;color:#fff;font-size:11px;font-weight:800}.primary,.secondary{border-radius:9px;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}.primary{border:1px solid #171717;background:#171717;color:#fff;padding:10px 15px;font-size:13px;font-weight:700}.primary:hover{background:#30302e;border-color:#30302e;box-shadow:0 4px 14px #0000001a}.primary:active,.secondary:active{transform:translateY(1px)}.primary:disabled{opacity:.5;cursor:default;box-shadow:none}.secondary{border:1px solid #d9d9d3;background:#fff;color:#555550;padding:10px 14px;font-size:13px;font-weight:600}.secondary:hover{background:#f5f5f1;border-color:#cfcfc9;color:#171717}main{width:100%;max-width:1080px;margin:0 auto;padding:58px 24px 80px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:43px}.eyebrow{margin:0 0 10px;color:#777a75;font-size:10px;font-weight:800;letter-spacing:1.8px}.hero h1{margin:0;font-size:clamp(38px,5vw,48px);line-height:.98;letter-spacing:-2.6px;font-weight:780}.sub{max-width:570px;margin:18px 0 0;color:var(--muted);font-size:15px;line-height:1.65}.stat{min-width:150px;padding-left:25px;border-left:1px solid #d3d3cd}.stat strong{display:block;font-size:42px;line-height:1;letter-spacing:-2.5px;font-weight:760}.stat span{display:block;margin-top:7px;color:#7d7d77;font-size:11px}.customer-tools{display:flex;align-items:center;gap:12px;margin-bottom:30px}.search-box{position:relative;display:flex;align-items:center;width:390px;flex:0 1 390px}.search-box input{width:100%;height:43px;padding:0 72px 0 39px;border:1px solid #deded8;border-radius:11px;background:#ffffffe0;color:var(--text);font-size:13px;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.search-box input::placeholder{color:#aaa9a3}.search-box input:focus{background:#fff;border-color:#aeb2ac;box-shadow:0 0 0 3px #59665c14}.search-icon{position:absolute;left:13px;width:17px;height:17px;color:#85857f;pointer-events:none}.search-icon svg{width:100%;height:100%}.search-shortcut{position:absolute;right:10px;display:flex;align-items:center;gap:3px;pointer-events:none}.search-shortcut kbd{min-width:20px;padding:3px 5px;border:1px solid #e1e1dc;border-bottom-color:#d5d5cf;border-radius:5px;background:#f7f7f4;color:#9a9a94;font-size:9px;line-height:1;text-align:center}.search-clear{position:absolute;right:10px;width:23px;height:23px;padding:0;border:0;border-radius:50%;background:#eeeeea;color:#777;cursor:pointer;font-size:16px;line-height:20px}.search-clear:hover{background:#e3e3de;color:#333}.status-filters{display:flex;gap:5px;flex-wrap:wrap}.filter{border:1px solid #e1e1dc;border-radius:8px;background:#fff;color:#777;padding:8px 11px;font-size:11px;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.filter:hover{border-color:#c5c5bf;color:#333}.filter.active{border-color:var(--trim);background:var(--trim);color:#fff}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px;padding:11px 13px;border:1px solid #ded2d0;border-radius:9px;background:#faf6f5;color:#72504c;font-size:11px}.error-banner button{border:0;background:none;color:#72504c;cursor:pointer;font-size:11px;font-weight:700}section+section{margin-top:42px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-title h2{margin:0;font-size:14px;font-weight:750;letter-spacing:-.1px}.section-title span{color:#85857f;font-size:11px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{appearance:none;width:100%;min-height:178px;padding:19px;text-align:left;background:var(--surface);border:1px solid #deded8;border-radius:13px;cursor:pointer;box-shadow:0 1px 1px #00000005,0 3px 12px #00000009;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-2px);border-color:#cfcfc9;box-shadow:0 2px 3px #00000006,0 10px 28px #00000013}.card.overdue{border-left:3px solid var(--trim);padding-left:17px}.card-top{display:flex;align-items:center;gap:7px;color:#777a75;font-size:10px;font-weight:650}.dot{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--trim)}.card h3{margin:19px 0 5px;font-size:18px;line-height:1.15;letter-spacing:-.35px;font-weight:730}.card p{margin:0 0 15px;color:#5f5f5a;font-size:12px;line-height:1.4}.card small{display:block;color:#85857f;font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.status-tag{margin-left:auto;padding:4px 7px;border-radius:6px;background:#f1f1ed;color:#777;font-size:9px;font-weight:700;white-space:nowrap}.status-new{background:#f1f1ed;color:#666}.status-contacted{background:#edf1ef;color:#59665c}.status-waiting{background:#f3f0e8;color:#776f5c}.status-follow_up{background:#eaf0ec;color:#4f6255}.status-won{background:#e8eee8;color:#4f6854}.status-lost{background:#f1ebea;color:#785c58}.empty{padding:34px 25px;margin-bottom:40px;text-align:center;color:#85857f;background:#ffffff8c;border:1px dashed #cacac4;border-radius:13px;font-size:13px}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-top:27px;margin-top:52px;border-top:1px solid #d2d2cc}.principles b{display:block;margin-bottom:5px;font-size:12px;font-weight:750}.principles span{color:#85857f;font-size:11px;line-height:1.5}.notification-wrap{position:relative}.notification-button{position:relative;width:38px;height:38px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #e1e1dc;border-radius:10px;background:#fff;color:#555;cursor:pointer;transition:background .15s ease,border-color .15s ease}.notification-button:hover{background:#f7f7f4;border-color:#d4d4ce}.bell{width:18px;height:18px}.bell svg{width:100%;height:100%}.notification-count{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff;border-radius:9px;background:var(--trim);color:#fff;font-size:8px;font-weight:800}.notification-panel{position:absolute;top:calc(100% + 10px);right:0;width:350px;overflow:hidden;border:1px solid #e1e1dc;border-radius:14px;background:#fff;box-shadow:0 16px 45px #0000001f,0 4px 12px #0000000a;z-index:50}.notification-panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #eeeeea}.notification-panel-head>div{display:flex;align-items:baseline;gap:8px}.notification-panel-head strong{font-size:13px}.notification-panel-head span{color:#999;font-size:10px}.panel-close{width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#f1f1ed;color:#777;cursor:pointer;font-size:16px}.panel-close:hover{background:#e6e6e1;color:#333}.notification-list{max-height:370px;overflow-y:auto}.notification-item{width:100%;display:flex;gap:10px;padding:13px 15px;text-align:left;border:0;border-bottom:1px solid #f0f0ec;background:#fff;cursor:pointer}.notification-item:hover{background:#f8f8f5}.notification-item.unread{background:#fafbf9}.notification-dot{width:6px;height:6px;margin-top:5px;flex:0 0 auto;border-radius:50%;background:transparent}.notification-item.unread .notification-dot{background:var(--trim)}.notification-copy{min-width:0}.notification-copy strong{display:block;margin-bottom:3px;color:#333;font-size:12px}.notification-copy small{display:block;color:#888;font-size:10px;line-height:1.45}.notification-copy em{display:block;margin-top:5px;color:#aaa;font-size:9px;font-style:normal}.notification-empty{min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:25px;text-align:center;color:#999;font-size:11px}.notification-empty strong{color:#666;font-size:12px}.empty-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;margin-bottom:4px;border-radius:50%;background:#edf1ed;color:var(--trim);font-size:14px;font-weight:800}.backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#1414126b;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:fadeIn .15s ease}.modal{width:min(540px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:25px;background:#fff;border:1px solid rgba(0,0,0,.05);border-radius:16px;box-shadow:0 12px 35px #0000001f,0 30px 80px #00000024;animation:modalIn .18s ease}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.modal-head h2{margin:0;font-size:20px;font-weight:750;letter-spacing:-.45px}.modal-head>button{width:31px;height:31px;padding:0;border:0;border-radius:50%;background:#eeeeea;color:#555550;font-size:18px;line-height:1;cursor:pointer}.modal-head>button:hover{background:#e2e2dc;color:#171717}.form{display:grid;gap:15px}.form label{display:grid;gap:6px;color:#5e5e59;font-size:11px;font-weight:700}.form input,.form textarea,.form select{width:100%;padding:11px 12px;border:1px solid #d5d5cf;border-radius:9px;outline:none;background:#fff;color:#171717;font-size:13px;transition:border-color .15s ease,box-shadow .15s ease}.form select{cursor:pointer}.form input::placeholder,.form textarea::placeholder{color:#aaa9a3}.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--trim);box-shadow:0 0 0 3px #59665c1a}.form textarea{min-height:92px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{width:100%;margin-top:5px}.detail{font-size:14px}.detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.job{margin:0;color:#686862;font-size:13px}.contact-list{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:9px}.contact-line{color:#777;font-size:11px;text-decoration:none}.contact-line:hover{color:var(--trim);text-decoration:underline}.detail-section{padding-top:22px;margin-top:22px;border-top:1px solid #ecece7}.detail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.detail-heading strong{font-size:12px;font-weight:750}.detail-heading>span{color:#999;font-size:10px}.text-button{padding:4px 8px;border:0;border-radius:6px;background:transparent;color:var(--trim);font-size:10px;font-weight:700;cursor:pointer}.text-button:hover{background:#edf1ed}.status-pills{display:flex;flex-wrap:wrap;gap:6px}.status-choice{padding:7px 10px;border:1px solid #e0e0da;border-radius:999px;background:#fff;color:#777;font-size:10px;font-weight:650;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.status-choice:hover{border-color:#c9c9c3;color:#444}.status-choice.active{border-color:var(--trim);background:var(--trim);color:#fff}.duebox{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 16px;margin-top:20px;background:#eeeee9;border:1px solid #e0e0da;border-radius:10px}.duebox>div:first-child span{display:block;color:#7d817b;font-size:9px;font-weight:750;letter-spacing:.7px}.duebox strong{display:block;margin-top:4px;font-size:14px;font-weight:700}.duebox-actions{display:flex;gap:5px}.duebox-actions button{padding:7px 9px;border:1px solid #d4d4ce;border-radius:7px;background:#ffffffbf;color:#666;font-size:10px;font-weight:650;cursor:pointer}.duebox-actions button:hover{background:#fff;border-color:#c3c3bd;color:#333}.notes-section{min-height:75px}.notes{margin:0;color:#5d5d58;line-height:1.65;font-size:12px}.task-list{display:grid;border:1px solid #e7e7e2;border-radius:9px;overflow:hidden}.task{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px 0 12px;border-bottom:1px solid #eeeeea;background:#fff}.task:last-child{border-bottom:0}.task:hover{background:#fafaf7}.task label{min-width:0;display:flex;align-items:center;gap:9px;color:#555;font-size:11px;cursor:pointer}.task label input{appearance:none;width:16px;height:16px;flex:0 0 auto;margin:0;border:1.5px solid #c9c9c3;border-radius:5px;background:#fff;cursor:pointer;transition:background .15s ease,border-color .15s ease}.task label input:checked{border-color:var(--trim);background:var(--trim)}.task label input:checked:after{content:"✓";display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-size:10px;font-weight:800}.task label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task label>span.completed{color:#aaa;text-decoration:line-through}.task-delete{width:24px;height:24px;flex:0 0 auto;padding:0;border:0;border-radius:6px;background:transparent;color:#aaa;cursor:pointer;font-size:16px;opacity:.25;transition:background .15s ease,color .15s ease,opacity .15s ease}.task:hover .task-delete{opacity:1}.task-delete:hover{background:#f0e9e7;color:var(--danger)}.task-add{display:flex;gap:7px;margin-top:8px}.task-add input{min-width:0;flex:1;padding:9px 10px;border:1px solid #e0e0da;border-radius:8px;background:#fafaf7;color:#333;font-size:11px;outline:none}.task-add input:focus{background:#fff;border-color:#b6bbb6}.task-add button{padding:8px 11px;border:1px solid #d8d8d2;border-radius:8px;background:#fff;color:#666;font-size:10px;font-weight:700;cursor:pointer}.task-add button:hover:not(:disabled){border-color:#c2c2bc;background:#f5f5f1;color:#333}.task-add button:disabled{opacity:.4;cursor:default}.activity-list{position:relative;display:grid;gap:0;margin-top:4px}.activity-item{position:relative;display:flex;gap:11px;padding:3px 0 15px}.activity-item:not(:last-child):before{content:"";position:absolute;top:12px;bottom:0;left:3px;width:1px;background:#e5e5df}.activity-marker{width:7px;height:7px;flex:0 0 auto;margin-top:5px;border-radius:50%;background:var(--trim);box-shadow:0 0 0 3px #eef1ed;z-index:1}.activity-item p{margin:0 0 3px;color:#555;font-size:11px;line-height:1.45}.activity-item small{color:#aaa;font-size:9px}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.actions .secondary{padding:9px 12px;font-size:11px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px 20px}.auth-card{width:min(410px,100%);padding:36px;background:#fff;border:1px solid #deded8;border-radius:17px;box-shadow:0 2px 4px #00000006,0 16px 45px #0000000f}.auth-card .brand{font-size:21px}.auth-card .tagline{margin-bottom:34px}.auth-card h1{margin:0 0 24px;font-size:25px;line-height:1.1;letter-spacing:-.8px;font-weight:760}.auth-message{margin:0;color:#666660;font-size:12px;line-height:1.5}.auth-switch{border:0;background:none;color:#777770;padding:5px;font-size:11px;font-weight:600;cursor:pointer}.auth-switch:hover{color:var(--trim)}.muted{color:#999;font-size:11px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalIn{0%{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:860px){.user-chip>span{display:none}.customer-tools{align-items:stretch}.search-box{flex:1;width:auto}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.topbar{height:68px;padding:0 18px}.topbar .secondary{display:none}.topbar .primary{padding:9px 12px;font-size:12px}.top-actions{gap:7px}main{padding:42px 18px 60px}.hero{display:block;margin-bottom:36px}.hero h1{font-size:38px;letter-spacing:-2px}.sub{font-size:14px}.stat{margin-top:27px;padding-left:0;border-left:0}.stat strong{font-size:36px}.customer-tools{display:grid;gap:9px}.search-box{width:100%}.status-filters{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}.status-filters::-webkit-scrollbar{display:none}.filter{white-space:nowrap}.grid{grid-template-columns:1fr}.principles{grid-template-columns:1fr;gap:20px}.notification-panel{position:fixed;top:70px;right:12px;left:12px;width:auto}.modal{padding:21px;border-radius:14px}.auth-card{padding:29px 24px}}@media(max-width:520px){.brand{font-size:17px}.tagline{font-size:9px}.user-chip{display:none}.hero h1{font-size:34px}.two{grid-template-columns:1fr}.duebox{align-items:flex-start;flex-direction:column}.duebox-actions{width:100%}.duebox-actions button{flex:1}.status-pills{gap:5px}.status-choice{padding:7px 9px;font-size:9px}}@media(max-width:380px){.topbar .primary{font-size:11px;padding:9px 10px}.notification-button{width:36px;height:36px}.hero h1{font-size:31px}.modal{padding:18px}}
