@import url('/fonts.css');
:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#19263a;background:#f4f6fa;font-size:16px;--accent:#e7613c;--navy:#142237;--muted:#68768a;--line:#e4e8ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:10px 15px;background:white;color:inherit;font-weight:600}button:hover{background:#f0f3f8}button:disabled{cursor:wait;opacity:.55}button.primary{background:var(--accent);border-color:var(--accent);color:white}button.primary:hover{background:#cf4f2c}button.dark{background:var(--navy);color:white;border-color:var(--navy)}button.danger{color:#b8323d}a{color:#bf4728}input,select,textarea{width:100%;border:1px solid #d5dce6;background:white;color:#19263a;border-radius:8px;padding:11px 12px;min-width:0}textarea{resize:vertical;min-height:110px;line-height:1.6}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:7px}small,.muted{font-size:.875rem;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:1.85rem;letter-spacing:-.045em;margin-bottom:8px}h2{font-size:1.15rem;letter-spacing:-.02em}h3{font-size:1rem}p{line-height:1.6}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#fff;position:fixed;width:238px;inset:0 auto 0 0;padding:32px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:10px;font-size:1.18rem;letter-spacing:-.03em;font-weight:850}.brand-mark{width:35px;height:35px;border-radius:11px;background:#f37750;display:grid;place-items:center;color:white;font-size:24px}.sidebar .caption{margin:9px 0 34px 45px;color:#a4b1c4;font-size:.875rem}.nav{display:grid;gap:7px}.nav button{display:flex;gap:13px;align-items:center;text-align:left;width:100%;border:0;color:#acb9cb;background:none;padding:13px}.nav button.active{background:#2b394e;color:white;box-shadow:inset 3px 0 #ff8964}.nav button:hover{color:white;background:#253349}.nav svg{width:19px;height:19px}.nav-label{margin:28px 12px 12px;font-size:.8rem;letter-spacing:.12em;color:#8f9db2}.sidebar-bottom{margin-top:auto;padding-top:40px}.workspace-card{background:#213047;padding:14px;border-radius:10px}.workspace-card strong{display:block;font-size:.9rem}.workspace-card small{display:block;color:#b0bbca;margin-top:6px}.profile{display:flex;gap:10px;align-items:center;margin:22px 4px 0}.avatar{width:34px;height:34px;background:#fde8df;color:#9c4227;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:700}.profile small{color:#aab8ca}.main{grid-column:2;min-width:0}.topbar{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 38px}.topbar .crumb{font-size:.875rem;color:var(--muted)}.topbar .crumb b{color:#243248;font-weight:600}.top-actions{display:flex;gap:18px;align-items:center;font-size:.875rem}.lock{color:#3c6b62;background:#eaf4ee;padding:7px 10px;border-radius:30px;font-size:.8rem}.content{padding:35px 38px 55px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.12em;color:var(--accent);margin-bottom:9px}.head-copy{color:var(--muted);margin:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat,.card{border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:0 3px 10px #1a2d4303}.stat{padding:23px}.stat-label{color:var(--muted);font-size:.875rem;display:flex;justify-content:space-between}.stat strong{display:block;font-size:2rem;letter-spacing:-.05em;margin:13px 0 9px}.stat small{font-size:.8rem}.stat .stat-icon{color:#bf5c3c;background:#fff0e9;padding:6px;border-radius:7px}.grid-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.card{padding:24px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.card-head h2{margin:0}.badge{display:inline-block;white-space:nowrap;font-size:.8rem;border-radius:6px;padding:5px 8px;background:#edf1f6;color:#52647d}.badge.Interested,.badge.Won,.badge.Live{background:#e5f3ec;color:#227553}.badge.Replied,.badge.Proposal{background:#e9edff;color:#4c61a6}.badge.Demo{background:#e5f0ff;color:#365e99}.badge.Lost,.badge.Failed{background:#fdeaea;color:#ae4242}.badge.New{background:#fff0e5;color:#a45929}.notice{border:1px solid #eadfc7;background:#fffbf2;color:#775a27;border-radius:9px;padding:13px 16px;margin-bottom:22px;font-size:.875rem;line-height:1.6}.notice.blue{background:#edf5ff;color:#355779;border-color:#dbe7f6}.notice.green{background:#ebf7f0;color:#286044;border-color:#d6eddf}.funnel-row{display:grid;grid-template-columns:135px 1fr 45px;align-items:center;gap:14px;margin:17px 0;font-size:.875rem}.track{background:#f0f2f6;height:19px;border-radius:4px;overflow:hidden}.bar{height:100%;background:var(--accent);border-radius:4px}.funnel-row:nth-child(3) .bar{background:#f28a6b}.funnel-row:nth-child(4) .bar{background:#f4ab93}.funnel-row:nth-child(5) .bar{background:#6a98ac}.funnel-row:nth-child(6) .bar{background:#36786b}.meeting{display:flex;gap:14px;padding:17px 0;border-top:1px solid var(--line)}.meeting:first-of-type{border:0}.date-box{flex-shrink:0;background:#f3f5f9;border-radius:9px;width:52px;height:58px;text-align:center;padding:8px}.date-box small{display:block;font-size:.7rem;font-weight:600}.date-box b{font-size:1.3rem}.meeting h3{margin:0 0 7px;line-height:1.5}.meeting small{line-height:1.6}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:2;min-width:200px}.toolbar select{flex:1;min-width:145px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:#768397;font-weight:600;background:#f8f9fb}td,th{padding:15px 14px;border-bottom:1px solid var(--line);vertical-align:middle}td{font-size:.875rem}td .company{font-weight:650;display:block;margin-bottom:5px}td small{font-size:.8rem;display:block}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcfe}.text-button{border:0;padding:4px;background:none;color:#b64b2e}.empty{text-align:center;padding:40px 20px;color:var(--muted);line-height:1.7}.pipeline{display:flex;gap:15px;overflow:auto;padding-bottom:20px;min-height:420px}.column{background:#eaf0f5;border:1px solid #e1e6ed;border-radius:12px;padding:14px;min-width:247px;flex:1}.column h2{font-size:.875rem;margin-bottom:18px;display:flex;justify-content:space-between}.lead{background:white;border:1px solid #dfe5ed;border-radius:9px;padding:16px;margin:10px 0;cursor:pointer}.lead h3{margin-bottom:8px;line-height:1.4}.lead p{font-size:.8rem;color:var(--muted);margin-bottom:15px}.lead footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:12px;font-size:.8rem}.calendar-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.weekday{text-align:center;background:#f7f9fb;padding:13px;font-size:.8rem;color:var(--muted);border-right:1px solid var(--line)}.day{min-height:105px;padding:9px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:.8rem}.day.out{background:#fafbfc;color:#a7b0be}.day.today .daynum{background:var(--accent);color:white;border-radius:50%;padding:4px 6px}.event-chip{display:block;background:#e8f0fe;border:0;color:#325887;padding:5px 7px;border-radius:4px;font-size:.75rem;width:100%;text-align:left;margin-top:7px;overflow:hidden;line-height:1.4}.event-chip.local{background:#fff0de;color:#905f26}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}.field{margin-bottom:16px}.form-grid .field{margin-bottom:0}dialog{border:0;border-radius:16px;padding:0;max-height:90vh;width:min(780px,94vw);box-shadow:0 25px 100px #14223740;color:#19263a}dialog::backdrop{background:#101b2c99;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 28px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0 0 5px}.modal-head button{padding:3px 9px;font-size:1.4rem;border:0}.modal-body{padding:25px 28px}.modal-foot{display:flex;gap:10px;justify-content:flex-end;padding:20px 28px;border-top:1px solid var(--line);background:#fafbfd;flex-wrap:wrap}.timeline{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.timeline article{border-left:2px solid #e7eaf0;padding:0 0 22px 17px;margin-bottom:5px}.timeline article h3{font-size:.875rem;margin:8px 0}.timeline article p{font-size:.875rem;color:var(--muted);white-space:pre-wrap;margin-bottom:8px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-intro{background:#142237;color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-intro:after{content:'';position:absolute;right:-120px;bottom:40px;width:420px;height:420px;border:65px solid #ef774d19;border-radius:50%;pointer-events:none}.login-intro h1{font-size:3.7rem;line-height:1.1;max-width:500px;margin-top:80px}.login-intro h1 em{font-style:normal;color:#ff9974}.login-intro p{color:#b1bfd2;max-width:380px}.login-form-wrap{display:grid;place-items:center;padding:40px}.login-form{width:min(390px,100%)}.login-form h2{font-size:1.7rem}.login-form button{width:100%;margin-top:9px}.error{color:#b8323d;font-size:.875rem;line-height:1.6;margin-top:12px}.loading{padding:60px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;right:25px;background:#15263b;color:white;z-index:10;padding:15px 22px;border-radius:10px;max-width:min(500px,90vw);box-shadow:0 6px 30px #14223730;display:none;line-height:1.5}.document-preview{white-space:pre-wrap;background:#fff;border:1px solid var(--line);padding:30px;line-height:1.8;font-family:Georgia,serif;min-height:420px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid p{font-size:.875rem;color:var(--muted)}.kv{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:.875rem}.summary-chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.link{color:#b64b2e;text-decoration:none}.link:hover{text-decoration:underline}.mobile-title{display:none}.row-count{font-size:.8rem;color:var(--muted);padding-top:17px}.chart-label{display:flex;justify-content:space-between;gap:15px;font-size:.875rem;margin:17px 0 7px}.progress{height:7px;border-radius:4px;overflow:hidden;background:#edf0f5}.progress div{height:100%;background:#548e7f}.split-list{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 0;gap:15px}.split-list span{font-size:.875rem}.message-body{white-space:pre-wrap}.inline-check{display:flex;align-items:flex-start;gap:9px;font-weight:400;line-height:1.6}.inline-check input{width:18px;height:18px;flex-shrink:0;margin-top:4px}.print-only{display:none}
@media(min-width:1450px){.content{padding:40px 50px}.topbar{padding:0 50px}}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}.shell{grid-template-columns:205px 1fr}.sidebar{width:205px;padding:25px 14px}.content{padding:28px 24px}.topbar{padding:0 24px}.settings-grid{grid-template-columns:1fr}.calendar{min-width:650px}.calendar-container{overflow:auto}}@media(max-width:720px){.shell{display:block}.sidebar{position:static;width:auto;padding:20px}.sidebar .caption,.sidebar-bottom,.nav-label{display:none}.sidebar .brand{margin-bottom:18px}.nav{display:flex;overflow:auto;gap:5px}.nav button{width:auto;white-space:nowrap;padding:10px;font-size:.875rem}.nav svg{display:none}.main{display:block}.topbar{height:58px;padding:0 20px}.top-actions .date{display:none}.content{padding:25px 18px}.page-head{align-items:flex-start;flex-direction:column}.page-head .actions{width:100%}.stats{gap:12px}.stat{padding:17px}.stat strong{font-size:1.7rem}.card{padding:19px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.login{grid-template-columns:1fr}.login-intro{padding:30px;min-height:230px}.login-intro h1{font-size:2rem;margin-top:32px;margin-bottom:15px}.login-intro p,.login-intro footer{display:none}.login-form-wrap{padding:35px 25px}.topbar .crumb{font-size:.8rem}.funnel-row{grid-template-columns:110px 1fr 35px}.modal-body{padding:22px}.modal-head{padding:22px}.modal-foot{padding:18px 22px}.weekday{padding:10px}.day{min-height:90px}}@media print{body{background:white}.shell,#toast,dialog .modal-head,dialog .modal-foot,dialog .form-grid,dialog .notice{display:none!important}dialog{position:static;width:100%;max-height:none;box-shadow:none}dialog::backdrop{display:none}.document-preview{border:0;padding:10px}.modal-body{padding:0}.print-only{display:block}}
