:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","PingFang SC",sans-serif;color:#18253a;background:#eef4fb;--primary:#246bce;--primary2:#5a9eef;--ink:#17243a;--muted:#687991;--line:#dbe5f0;--glass:rgba(255,255,255,.84);--success:#16855b;--danger:#c33d42;--warning:#ac6a00}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 8% 0,#dbeaff 0,transparent 35%),radial-gradient(circle at 96% 10%,#e7ddff 0,transparent 26%),linear-gradient(145deg,#eef4fa,#f9fbfd);color:var(--ink)}button,input,select,textarea{font:inherit}.boot{display:grid;place-items:center;height:100vh;color:var(--muted)}.hidden{display:none!important}.login-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);padding:28px;gap:28px}.login-hero,.login-card,.card,.topbar,.sidebar{background:var(--glass);border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 60px rgba(45,75,110,.12);backdrop-filter:blur(24px)}.login-hero{border-radius:30px;padding:64px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,rgba(28,80,151,.95),rgba(68,132,219,.84));color:#fff;overflow:hidden;position:relative}.login-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-130px;bottom:-170px;background:#fff2}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.78}.login-hero h1{font-size:clamp(36px,5vw,68px);line-height:1.05;margin:18px 0}.login-points{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;position:relative;z-index:1}.login-points div{padding:18px;border-radius:18px;background:#ffffff17;border:1px solid #ffffff25}.login-card{align-self:center;border-radius:28px;padding:42px;max-width:500px;width:100%;justify-self:center}.login-card h2{font-size:30px;margin:8px 0}.field{display:grid;gap:7px;margin:14px 0}.field label{font-size:13px;font-weight:700;color:#53647d}input,select,textarea{width:100%;border:1px solid #ccdaea;background:#fff;border-radius:12px;padding:11px 13px;color:var(--ink);outline:0}input:focus,select:focus,textarea:focus{border-color:#65a1e9;box-shadow:0 0 0 4px #d9ebff}.btn{border:0;border-radius:12px;padding:10px 15px;font-weight:750;cursor:pointer;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 6px 16px #246bce24}.btn:hover{filter:brightness(.98);transform:translateY(-1px)}.btn:disabled{opacity:.46;cursor:not-allowed;transform:none}.btn.secondary{background:#e9f2ff;color:#175ba9;box-shadow:none}.btn.ghost{background:#fff;color:#42546d;border:1px solid var(--line);box-shadow:none}.btn.danger{background:#fff0f0;color:#ad3035;box-shadow:none}.btn.full{width:100%;margin-top:8px}.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;left:18px;top:18px;bottom:18px;width:232px;border-radius:24px;padding:18px;background:linear-gradient(175deg,rgba(20,46,81,.96),rgba(30,67,111,.94));color:#fff;z-index:5}.brand{padding:10px 10px 24px}.brand b{display:block;font-size:19px}.brand span{font-size:12px;color:#b8c9dc}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:#c9d7e7;text-align:left;border-radius:12px;padding:11px 13px;cursor:pointer}.nav button:hover,.nav button.active{background:#ffffff18;color:#fff}.sidebar-foot{position:absolute;left:18px;right:18px;bottom:18px;padding-top:15px;border-top:1px solid #ffffff20}.sidebar-foot small{color:#adc0d7}.main{grid-column:2;padding:18px 22px 40px 10px;min-width:0}.topbar{position:sticky;top:12px;z-index:4;border-radius:20px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.topbar h1{font-size:22px;margin:0}.topbar p{font-size:13px;margin:4px 0 0;color:var(--muted)}.userbox{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e1eeff;color:#1d62ba;font-weight:900}.mobile-nav{display:none}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{border-radius:20px;padding:20px}.stat span{font-size:13px;color:var(--muted)}.stat b{display:block;font-size:28px;margin-top:9px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.panel{margin-bottom:14px}.panel h2,.panel h3{margin:0 0 15px}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.toolbar input{max-width:320px}.toolbar select{width:auto;min-width:145px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}.table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}.table th,.table td{padding:12px 13px;text-align:left;border-bottom:1px solid #edf1f6;font-size:13px;vertical-align:middle}.table th{background:#f5f8fc;color:#596b84;font-size:12px;position:sticky;top:0}.table tr:hover td{background:#f9fbfe}.link{color:#1764bc;font-weight:750;cursor:pointer}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2f8;color:#50627b;font-size:12px;font-weight:750}.badge.new,.badge.draft{background:#e8f2ff;color:#1766bd}.badge.contacted,.badge.sent{background:#fff4d8;color:#95600a}.badge.quoted,.badge.high{background:#f3eaff;color:#7644ad}.badge.won,.badge.accepted{background:#e2f7ee;color:#11724d}.badge.closed,.badge.rejected,.badge.urgent{background:#ffebeb;color:#af3439}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:14px;color:var(--muted);font-size:13px}.split{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:14px}.drawer{position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto}.drawer-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.timeline{display:grid;gap:10px}.event{padding:12px 14px;border-left:3px solid #8ebbf2;background:#f5f9fe;border-radius:4px 12px 12px 4px;font-size:13px}.event small{color:var(--muted)}.bars{display:grid;gap:12px}.bar{display:grid;grid-template-columns:110px 1fr 40px;align-items:center;gap:10px;font-size:13px}.bar i{height:10px;border-radius:99px;background:linear-gradient(90deg,#4e91e6,#8d6ed9)}.funnel{height:175px;display:flex;align-items:end;justify-content:center;gap:10px}.funnel div{min-width:80px;padding:10px;border-radius:12px 12px 5px 5px;text-align:center;color:#fff;background:linear-gradient(#56a1ed,#236ec9);font-size:12px}.empty{padding:35px;text-align:center;color:var(--muted)}.muted{color:var(--muted)}.security-list{display:grid;gap:10px}.security-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.status-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2f6ed;color:var(--success)}.status-dot.bad{background:#fff0df;color:var(--warning)}.modal-backdrop{position:fixed;inset:0;background:#13243c66;z-index:20;display:grid;place-items:center;padding:18px}.modal{background:#fff;border-radius:22px;padding:24px;width:min(620px,100%);max-height:90vh;overflow:auto;box-shadow:0 28px 90px #10213b55}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.icon-btn{border:0;background:#edf2f8;border-radius:10px;width:36px;height:36px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;right:22px;bottom:22px;z-index:30;background:#172b47;color:#fff;border-radius:13px;padding:12px 16px;box-shadow:0 12px 35px #10213b44;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.toast.error{background:#a83239}.role-note{font-size:12px;color:var(--muted);padding:10px 12px;background:#f5f8fc;border-radius:10px}.error-text{color:var(--danger);font-size:13px;margin-top:10px}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.check-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.check-card b{display:block;font-size:20px}.settings-section{padding:4px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.split{grid-template-columns:1fr}.drawer{position:static;max-height:none}}.product-toolbar{justify-content:space-between}.toolbar-filters,.toolbar-actions{display:flex;gap:10px;align-items:center}.toolbar-filters{flex:1}.toolbar-filters input{min-width:260px}.product-cell{display:flex;align-items:center;gap:10px;min-width:220px}.product-cell img,.product-image-empty{width:42px;height:42px;flex:0 0 42px;border-radius:7px;border:1px solid var(--line);background:#fff}.product-cell img{object-fit:cover}.product-image-empty{display:grid;place-items:center;padding:3px;text-align:center;color:var(--muted);font-size:9px}.width-0{width:0}.width-1{width:10%}.width-2{width:20%}.width-3{width:30%}.width-4{width:40%}.width-5{width:50%}.width-6{width:60%}.width-7{width:70%}.width-8{width:80%}.width-9{width:90%}.width-10{width:100%}.height-0{height:45px}.height-1{height:56px}.height-2{height:66px}.height-3{height:77px}.height-4{height:87px}.height-5{height:98px}.height-6{height:108px}.height-7{height:119px}.height-8{height:129px}.height-9{height:140px}.height-10{height:150px}.field small.muted{font-size:12px;color:var(--muted)}@media(max-width:760px){html,body{max-width:100%;overflow-x:hidden}.shell,.main{width:100%;min-width:0}.card{max-width:100%;min-width:0}.table-wrap{width:100%;max-width:100%}.login-wrap{display:block;padding:14px}.login-hero{display:none}.login-card{margin-top:12vh;padding:28px}.shell{display:block}.sidebar{display:none}.main{padding:10px}.topbar{top:8px}.topbar .user-name{display:none}.mobile-nav{display:flex;overflow:auto;gap:7px;margin-bottom:12px;padding:4px}.mobile-nav button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 11px}.mobile-nav button.active{background:#1f67c0;color:#fff}.stats{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.card{padding:16px}.topbar{padding:13px}.topbar h1{font-size:18px}.toolbar>*{width:100%!important;max-width:none!important}.login-points{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr}}