@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--navy:#101827;--red:#ef4d62;--blue:#0047ba;--bg:#f5f6fa;--ink:#182338;--muted:#7a8496;--border:#e7eaf0;--green:#188567;font-family:'Plus Jakarta Sans',Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #7cacff;outline-offset:3px}button{border:0}svg{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{display:grid;grid-template-columns:246px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#a5afc0;padding:32px 20px;position:fixed;inset:0 auto 0 0;width:246px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;color:white}.brandmark{display:grid;place-items:center;width:39px;height:44px;background:var(--red);font-size:23px;font-weight:800;border-radius:10px 10px 10px 2px;letter-spacing:-3px;padding-right:3px}.brand strong{font-size:15px;line-height:1.3;display:block;letter-spacing:-.3px}.brand small{font-size:9px;letter-spacing:2.4px;color:#9ea7b6}.navlabel{font-size:9px;letter-spacing:2px;font-weight:700;margin:40px 14px 13px;color:#667289}.nav{display:flex;align-items:center;gap:13px;background:none;color:#a5afc0;padding:13px 15px;text-align:left;border-radius:8px;margin:3px 0;font-size:12px;font-weight:600;width:100%}.nav.active{background:#293040;color:white;position:relative}.nav.active:before{content:'';position:absolute;width:3px;height:22px;background:var(--red);left:-20px;border-radius:3px}.nav.active svg{color:var(--red)}.nav:hover{background:#202b3d;color:white}.nav .count{margin-left:auto;background:#3d3343;color:#ff9da9;padding:2px 6px;border-radius:4px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{margin:20px 10px;border:1px solid #2b3547;padding:15px;border-radius:10px;font-size:10px;line-height:1.8;color:#8390a6}.sidebar-note strong{color:#cdd5e2;display:block}.main{grid-column:2;min-width:0}.topbar{height:85px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:20px}.crumb{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px}.crumb b{color:var(--ink);font-weight:600}.user{display:flex;align-items:center;gap:12px}.avatar{background:#fbe9ed;color:#c94a5d;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}.user strong{font-size:11px;display:block}.user small{color:var(--muted);font-size:9px}.iconbtn{background:transparent;color:var(--muted);padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px}.iconbtn:hover{background:#eef1f6;color:var(--ink)}.content{padding:34px 42px 45px;max-width:1700px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:9px;font-weight:800;color:var(--red);margin:0 0 9px}.pagehead h1{font-size:27px;letter-spacing:-1px;margin:0 0 8px;line-height:1.3}.pagehead p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.btn{background:var(--red);color:white;border:1px solid transparent;border-radius:7px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:700;white-space:nowrap}.btn:hover{background:#da3c51}.btn.secondary{background:white;color:var(--ink);border-color:var(--border)}.btn.secondary:hover{background:#f4f6fa}.btn.dark{background:var(--navy)}.btn.green{background:var(--green)}.btn.danger{background:#fff0f1;color:#bb2e43}.btn.small{padding:7px 10px;font-size:10px}.buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.period{font-size:10px;padding:10px 14px;background:#fff;border:1px solid var(--border);border-radius:7px;color:#626e83}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--border);border-radius:10px;padding:21px 22px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#6a7588;font-size:10px;font-weight:600}.stat-icon{background:#fff0f2;color:var(--red);width:34px;height:34px;display:grid;place-items:center;border-radius:9px}.stat:nth-child(2) .stat-icon{background:#edf2ff;color:#5879d8}.stat:nth-child(3) .stat-icon{background:#eaf7f1;color:var(--green)}.stat:nth-child(4) .stat-icon{background:#fff5e9;color:#b97a2c}.stat-value{font-size:26px;font-weight:800;letter-spacing:-1px;margin:15px 0 11px}.stat-foot{font-size:9px;color:var(--muted)}.stat-foot .dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--green);margin-right:5px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px}.panel{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:24px}.panelhead{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border)}.panelhead h2{font-size:13px;margin:0}.panelhead small{font-size:10px;color:var(--muted);display:block;margin-top:6px}.panelbody{padding:22px}.textlink{font-size:10px;color:var(--red);background:none;font-weight:700}.empty{padding:32px 20px;text-align:center;color:var(--muted);font-size:11px;line-height:1.9}.empty svg{width:30px;height:30px;color:#bec6d4;margin-bottom:8px}.empty strong{display:block;color:#59667d;font-size:12px}.empty .btn{margin-top:16px}.welcome{background:linear-gradient(105deg,#121c30,#233655);border-radius:10px;color:white;padding:28px;position:relative;overflow:hidden;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome:after{content:'';position:absolute;width:160px;height:160px;border:25px solid #ffffff06;border-radius:50%;right:-40px;top:-40px;pointer-events:none}.welcome .eyebrow{color:#ff9eaa}.welcome h2{font-size:19px;letter-spacing:-.5px;margin:0 0 9px}.welcome p{font-size:11px;color:#aebbd2;line-height:1.8;max-width:520px;margin:0}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.search{position:relative;flex:1;max-width:370px}.search svg{position:absolute;left:13px;top:11px;color:#98a1b3;width:16px}.search input{padding-left:39px}.toolbar input,.toolbar select{background:white}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{font-weight:600;color:#8b94a4;font-size:9px;text-transform:uppercase;letter-spacing:.7px;text-align:left;background:#fcfcfe;padding:14px 23px;white-space:nowrap}td{padding:17px 23px;border-top:1px solid var(--border);vertical-align:middle}td strong{font-weight:700;font-size:11px;display:block}td small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.clientcell{display:flex;gap:12px;align-items:center}.clienticon{width:33px;height:33px;flex-shrink:0;display:grid;place-items:center;background:#f0f3f9;color:#7283a1;border-radius:8px;font-weight:700;font-size:11px}.badge{border-radius:4px;background:#f0f3f8;color:#6d7b93;font-size:9px;font-weight:600;padding:5px 8px;display:inline-block;white-space:nowrap}.badge.green{background:#eaf6ee;color:#27805e}.badge.red{background:#fff0f2;color:#d25067}.badge.blue{background:#edf2ff;color:#5777c7}.badge.amber{background:#fff7e9;color:#ab7d32}.rowactions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.schedule-item{padding:17px 22px;display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--border)}.schedule-item:last-child{border-bottom:0}.datebox{background:#f6f7fb;border-radius:7px;padding:8px 11px;text-align:center;min-width:46px;color:#344664}.datebox b{display:block;font-size:17px}.datebox small{text-transform:uppercase;font-size:8px}.schedule-item h3{font-size:11px;margin:3px 0 6px}.schedule-item p{font-size:9px;color:var(--muted);margin:0 0 6px}.progress-row{display:flex;align-items:center;gap:12px;font-size:10px;margin-bottom:16px}.progress-row span{width:90px;color:#738098}.progress-track{flex:1;height:5px;border-radius:8px;background:#f0f2f7;overflow:hidden}.progress-fill{height:100%;background:var(--red);border-radius:8px}.progress-row b{font-size:10px;min-width:20px;text-align:right}.footer-note{font-size:9px;color:#99a2b2;display:flex;justify-content:space-between;margin-top:24px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:600}.field.full{grid-column:1/-1}.field em{font-style:normal;font-size:9px;color:var(--muted);font-weight:400}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dfe4ed;border-radius:6px;background:#fff;color:var(--ink);font-size:12px;outline:none}input:focus,select:focus,textarea:focus{border-color:#7197db;box-shadow:0 0 0 3px #0047ba0a}textarea{resize:vertical;min-height:84px;line-height:1.6}input[type=checkbox]{width:16px;height:16px;accent-color:var(--red)}dialog{border:0;border-radius:13px;padding:0;width:min(780px,calc(100vw - 32px));max-height:90vh;box-shadow:0 30px 90px #0004;color:var(--ink)}dialog::backdrop{background:#10182799;backdrop-filter:blur(3px)}.modalhead{padding:23px 27px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.modalhead h2{margin:0;font-size:18px;letter-spacing:-.5px}.modalbody{padding:26px}.modalfoot{padding:18px 26px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;background:#fafbfe;position:sticky;bottom:0}.formerror{color:#c5364d;font-size:11px;padding:10px 0;line-height:1.5}.quoteitems{margin:24px 0;padding-top:20px;border-top:1px solid var(--border)}.quoteitems h3{font-size:12px}.itemrow{background:#f7f8fb;border:1px solid var(--border);border-radius:8px;padding:15px;margin-bottom:12px}.itemtop{display:grid;grid-template-columns:1fr 30px;gap:12px;margin-bottom:12px}.itemfields{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:10px}.itemrow textarea{margin-top:10px;font-size:11px;min-height:56px}.totals{background:#edf2fc;border-radius:8px;padding:18px;display:flex;justify-content:space-between;gap:15px;font-size:11px;margin:20px 0}.totals strong{display:block;font-size:19px;margin-top:8px;color:var(--blue)}.kanban{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:16px;overflow:auto;padding-bottom:10px}.kanbancol{background:#edf0f5;border-radius:9px;padding:16px;min-height:330px}.kanbancol h3{font-size:11px;display:flex;justify-content:space-between;margin:0 0 20px}.taskcard{background:white;border:1px solid var(--border);padding:17px;border-radius:8px;margin-bottom:13px;box-shadow:0 3px 8px #15203b03}.taskcard h4{font-size:12px;margin:12px 0;line-height:1.6}.taskcard p{font-size:10px;color:var(--muted);margin:8px 0}.taskcard select{font-size:10px;padding:8px;margin-top:10px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:9px;overflow:hidden;margin-bottom:24px}.calday{background:white;min-height:115px;padding:12px;font-size:11px}.calday.today{background:#fff6f7}.calhead{background:#f5f7fb;padding:12px;text-align:center;font-size:9px;font-weight:700}.calempty{background:#fafbfc}.calentry{display:block;width:100%;text-align:left;padding:6px 7px;margin-top:6px;border-radius:4px;background:#edf2ff;color:#3e69ba;font-size:8px;line-height:1.5}.profilehead{display:flex;gap:20px;align-items:center}.profilehead .clienticon{width:55px;height:55px;font-size:20px}.details{display:grid;grid-template-columns:1fr 1fr;gap:20px}.details dt{font-size:9px;color:var(--muted);margin-bottom:6px}.details dd{font-size:12px;margin:0;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-visual{background:var(--navy);padding:65px;display:flex;flex-direction:column;justify-content:space-between;color:white}.auth-visual h1{font-size:46px;line-height:1.2;letter-spacing:-2px;max-width:440px}.auth-visual h1 span{color:var(--red)}.auth-visual p{font-size:13px;line-height:1.9;color:#9eacc1;max-width:380px}.auth-visual small{font-size:10px;color:#79869c}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px}.auth-form form{width:100%;max-width:370px}.auth-form h2{font-size:26px;letter-spacing:-1px;margin:0 0 12px}.auth-form p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:30px}.auth-form .field{margin-bottom:18px}.auth-form .btn{width:100%;padding:14px}.loading{padding:90px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:8px;padding:14px 22px;font-size:12px;z-index:100;box-shadow:0 7px 25px #0002;display:none;max-width:90vw}.toast-error{background:#b62f45!important}.mobilemenu{display:none}.notice{font-size:11px;color:#727e91;line-height:1.8;border-left:3px solid var(--red);background:#faf4f5;padding:14px 17px;border-radius:4px;margin-bottom:20px}.checklabel{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;font-weight:400}.checklabel input{flex-shrink:0}.proposal{max-width:1080px;margin:auto;padding:0 30px 50px}.proposal-header{padding:26px 0;display:flex;justify-content:space-between;align-items:center}.proposal-header .brand{color:var(--navy)}.proposal-hero{background:linear-gradient(120deg,#101b30,#003679);color:white;border-bottom:4px solid var(--red);padding:65px;border-radius:12px;margin:10px 0 35px}.proposal-hero h1{font-size:40px;letter-spacing:-1.7px;line-height:1.3;max-width:750px;margin:20px 0}.proposal-hero p{color:#c0cee1;line-height:1.9;font-size:14px;white-space:pre-line}.proposal h2{font-size:22px;letter-spacing:-.5px}.proposal section{margin:36px 0}.prosetext{white-space:pre-line;font-size:13px;line-height:1.9;color:#69778a}.investment{background:var(--navy);border-radius:10px;color:white;padding:30px}.investment .totals{background:#ffffff08}.investment .totals strong{color:white;font-size:26px}.proposal .brand small{color:#8794a6}.printonly{display:none}.print-document{padding:30px;max-width:900px;margin:auto;line-height:1.8}.print-document h1{font-size:24px}.print-document h2{font-size:17px}.print-document pre{white-space:pre-wrap;font-family:inherit;font-size:13px}
@media(min-width:1500px){.content{padding:42px 55px}.topbar{padding:0 55px}}@media(max-width:1100px){.shell{grid-template-columns:210px 1fr}.sidebar{width:210px;padding:27px 15px}.content{padding:28px 24px}.topbar{padding:0 24px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.sidebar .brand strong{font-size:13px}.itemfields{grid-template-columns:1fr 1fr}}@media(max-width:720px){.shell{display:block}.sidebar{transform:translateX(-100%);width:246px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:20px 0 50px #0005}.main{width:100%}.mobilemenu{display:inline-flex}.topbar{height:68px;padding:0 18px}.content{padding:24px 18px}.user>div:last-of-type{display:none}.pagehead{align-items:flex-start}.pagehead h1{font-size:23px}.pagehead .btn{padding:10px 12px;font-size:10px}.stats{gap:10px}.stat{padding:16px}.stat-value{font-size:23px}.welcome{padding:22px;display:block}.welcome .btn{margin-top:17px}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.toolbar{align-items:stretch;flex-wrap:wrap}.toolbar .search{max-width:none;min-width:200px}.modalbody{padding:20px}.modalhead{padding:20px}.totals{flex-wrap:wrap}.details{grid-template-columns:1fr}.calendar{min-width:600px}.calwrap{overflow:auto}.auth{display:block}.auth-visual{padding:30px}.auth-visual h1{font-size:29px;max-width:100%;margin-bottom:12px}.auth-visual p,.auth-visual>small{display:none}.auth-form{padding:32px 25px}.proposal{padding:0 18px 35px}.proposal-hero{padding:30px 24px}.proposal-hero h1{font-size:29px}.proposal-header .brand strong{font-size:12px}.proposal-header{gap:12px}.footer-note{line-height:1.7;gap:15px}th,td{padding:13px 15px}}
@media print{body{background:white}.no-print,.sidebar,.topbar,.modalfoot,#toast{display:none!important}.shell{display:block}.main{width:100%}.content{padding:0}.proposal{padding:0;max-width:100%}.proposal-hero{padding:28px;border:1px solid #ddd;color:#15243e;background:#f0f4fa}.proposal-hero p{color:#435571}.proposal-hero h1{font-size:26px}.investment{background:#eef2f8;color:#15243e}.investment .totals strong{color:#15243e}.panel,section,.investment,.proposal-hero{break-inside:avoid}.printonly{display:block}dialog[open]{position:static;max-height:none;box-shadow:none;width:100%;margin:0}.modalbody{padding:0}.proposal a{color:inherit}}
