:root{color:#1a2235;font-synthesis:none;--muted:#58647a;--border:#e2e6ee;--primary:#4840b5;--primary-hover:#3c369d;background:#f6f7fb;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:280px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.62}:focus-visible{outline-offset:3px;outline:3px solid #7770ea}.skip-link{z-index:20;color:#242066;background:#fff;padding:.55rem .8rem;position:fixed;inset:.75rem auto auto .75rem;transform:translateY(-200%)}.skip-link:focus{transform:none}h1,h2,p{margin:0}h1{letter-spacing:-.05em;font-size:clamp(1.85rem,4vw,2.65rem);line-height:1.14}h2{letter-spacing:-.025em;font-size:1.12rem}p{line-height:1.55}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.brand{letter-spacing:-.035em;white-space:nowrap;align-items:center;gap:.65rem;font-weight:800;display:flex}.brand span:not(.brand-mark){color:#7972d7;font-weight:500}.brand-mark{background:#5149bd;border-radius:10px;justify-content:center;align-items:center;gap:2px;width:35px;height:35px;display:inline-flex}.brand-mark i{background:#fff;border-radius:3px;width:4px;height:15px;transform:skewY(-25deg)}.brand-mark i:nth-child(2){opacity:.73;height:11px}.brand-mark i:nth-child(3){opacity:.9}.shell{grid-template-columns:230px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;height:100vh;padding:1.2rem .9rem .85rem;display:flex;position:sticky;top:0}.sidebar .brand{min-height:42px;padding:0 .6rem}.sidebar nav{align-content:start;gap:.22rem;margin-top:2rem;display:grid;overflow-y:auto}.sidebar nav a{color:var(--muted);border-radius:9px;align-items:center;gap:.65rem;padding:.72rem .7rem;font-size:.92rem;font-weight:580;text-decoration:none;display:flex}.sidebar nav a:hover,.sidebar nav a.selected{color:#443dab;background:#eeecfc}.nav-label{color:#626e81;padding:1.2rem .7rem .25rem;font-size:.78rem;font-weight:700}.sidebar-footer{border-top:1px solid var(--border);grid-template-columns:34px minmax(0,1fr) 37px;align-items:center;gap:.6rem;margin-top:auto;padding:.85rem .2rem 0;display:grid}.sidebar-footer strong,.sidebar-footer small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-footer strong{font-size:.875rem}.sidebar-footer small{color:var(--muted);margin-top:.12rem;font-size:.8rem}.avatar{color:#443dab;background:#eae8fc;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.topbar{border-bottom:1px solid var(--border);background:#fff;align-items:center;gap:.75rem;min-height:68px;padding:.7rem clamp(1rem,4vw,2.4rem);display:flex}.topbar-title{color:var(--muted);font-size:.9rem;font-weight:630}.workspace-name,.workspace-picker{margin-left:auto}.workspace-name{align-items:center;gap:.45rem;font-size:.92rem;font-weight:650;display:flex}.main{max-width:1450px;margin:0 auto;padding:2.15rem clamp(1rem,4vw,2.4rem) 3.25rem}.page-heading{margin-bottom:1.55rem}.page-heading p,.panel-heading p{color:var(--muted);margin-top:.35rem}.panel-heading p{font-size:.9rem}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:.95rem;margin-bottom:1.15rem;display:grid}.metric,.panel{border:1px solid var(--border);background:#fff;border-radius:14px;box-shadow:0 3px 10px #14254906}.metric{text-align:left;min-width:0;color:inherit;padding:1rem}.metric:hover{border-color:#b0aaef}.metric-icon{border-radius:10px;place-items:center;width:37px;height:37px;margin-bottom:.85rem;display:grid}.violet{color:#4c42b3;background:#eeecfd}.blue{color:#254f9c;background:#e8f1ff}.green{color:#136c55;background:#e4f5ef}.amber{color:#805310;background:#fff1dc}.metric-label{color:var(--muted);font-size:.9rem;font-weight:560;display:block}.metric strong{letter-spacing:-.045em;margin-top:.35rem;font-size:2rem;line-height:1.2;display:block}.dashboard-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);gap:1rem;display:grid}.panel{min-width:0;padding:1.2rem}.panel-heading{justify-content:space-between;align-items:start;gap:.5rem;display:flex}.panel-heading>svg{color:#6761c3;flex-shrink:0}.pipeline{gap:.85rem;margin:1.25rem 0;display:grid}.pipeline-row>div{justify-content:space-between;gap:.5rem;font-size:.9rem;display:flex}.pipeline-row progress{appearance:none;color:#655bce;background:#eeeff6;border:0;border-radius:8px;width:100%;height:9px;margin-top:.45rem;display:block;overflow:hidden}.pipeline-row progress::-webkit-progress-bar{background:#eeeff6}.pipeline-row progress::-webkit-progress-value{background:currentColor;border-radius:8px}.pipeline-row progress::-moz-progress-bar{background:currentColor}.pipeline-row .progress-proposal{color:#3f7bbd}.pipeline-row .progress-negotiation{color:#287d68}.activity-list{margin:.9rem 0 0;padding:0;list-style:none}.activity-list li{border-bottom:1px solid var(--border);grid-template-columns:33px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.7rem 0;display:grid}.activity-list li:last-child{border-bottom:0}.activity-icon{color:#4f45b6;background:#f1effd;border-radius:9px;place-items:center;width:33px;height:33px;display:grid}.activity-list small{color:var(--muted);margin-top:.2rem;font-size:.83rem;display:block}.status{color:#414c63;white-space:nowrap;background:#eceff6;border-radius:20px;padding:.23rem .57rem;font-size:.8rem;font-weight:650;display:inline-block}.status-qualified,.status-active,.status-won,.status-customer,.status-succeeded{color:#155942;background:#e2f5ec}.status-new,.status-discovery,.status-prospect,.status-contacted{color:#264b8e;background:#e9f0ff}.status-proposal,.status-negotiation{color:#594399;background:#f0e9fc}.status-lost,.status-denied{color:#8b2837;background:#fce8ec}.button,.icon-button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:.45rem;font-weight:650;display:inline-flex}.button{min-height:40px;padding:.58rem .8rem;font-size:.91rem}.primary{background:var(--primary);color:#fff}.primary:hover{background:var(--primary-hover)}.subtle{border-color:var(--border);color:#3d4760;background:#fff}.subtle:hover{background:#f6f6fb}.danger{color:#fff;background:#9b3145}.icon-button{min-width:36px;min-height:36px;color:var(--muted);background:0 0;padding:.32rem}.icon-button:hover{color:var(--primary);background:#f0effa}.text-button{color:#393296;text-align:left;font-size:inherit;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-weight:650}.text-button:hover{text-decoration:underline}.archive{color:#8a3042}.menu-button{display:none}.list-toolbar{flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-bottom:1rem;display:flex}.search{border:1px solid var(--border);background:#fff;border-radius:9px;align-items:center;gap:.45rem;width:min(100%,19rem);padding:0 .7rem;display:flex}.search svg{color:var(--muted);flex-shrink:0}.search input{background:0 0;border:0;padding:.58rem 0}.search:focus-within{outline:2px solid #7770ea}.search input:focus{outline:none}.list-panel{padding:0}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th,td{border-bottom:1px solid var(--border);padding:.85rem 1rem}th{color:var(--muted);font-size:.87rem}td{min-width:96px}tr:last-child td{border-bottom:0}.pagination{border-top:1px solid var(--border);justify-content:end;align-items:center;gap:.7rem;padding:.75rem;display:flex}.empty{color:var(--muted);padding:1.35rem}.error,.success{border-radius:8px;margin:.6rem 0;padding:.62rem .75rem}.error{color:#892a39;background:#fcebee}.success{color:#155942;background:#e6f6ee}.field-error{color:#892a39;font-size:.86rem}.muted{color:var(--muted);font-size:.87rem}dialog{border:1px solid var(--border);width:min(100% - 1.5rem,31rem);max-height:92vh;color:inherit;border-radius:14px;padding:0}dialog::backdrop{background:#1c233a73}.dialog-body{padding:1.2rem}.dialog-heading{justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.65rem;display:flex}.dialog-actions{justify-content:end;gap:.55rem;margin-top:1rem;display:flex}.editor fieldset{border:0;min-width:0;margin:0;padding:0}label:not(.search){color:#3c475c;gap:.32rem;font-size:.92rem;font-weight:620;display:grid}.editor label,.login-card label{margin-bottom:.78rem}input,select,textarea{color:#172034;background:#fff;border:1px solid #cdd4e2;border-radius:8px;width:100%;padding:.58rem .65rem;font-weight:400}textarea{resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2358647a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right .55rem center;background-repeat:no-repeat;padding-right:1.8rem}.login-shell{background:#f4f3fa;place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{border:1px solid var(--border);background:#fff;border-radius:16px;width:min(100%,25.5rem);padding:2rem;box-shadow:0 12px 36px #2328590d}.login-card h1{margin-top:1.5rem}.login-card>p{color:var(--muted);margin:.45rem 0 1.15rem}.login-card .primary{width:100%;margin-top:.4rem}@media (width<=1040px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=840px){.dashboard-grid{grid-template-columns:1fr}}@media (width<=650px){.shell{display:block}.sidebar{display:none}.sidebar.sidebar-open{border:0;border-bottom:1px solid var(--border);height:auto;display:flex;position:static}.sidebar nav{margin-top:.8rem}.sidebar-footer{margin-top:.7rem}.menu-button{display:inline-flex}.topbar{min-height:56px}.main{padding-top:1.45rem}.metric,.panel:not(.list-panel){padding:.8rem}.metrics{gap:.6rem}.metric strong{font-size:1.7rem}}.module-panels{gap:1rem;display:grid}.module-panels .list-toolbar{margin-bottom:0}.panel-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;min-height:56px;padding:.75rem 1rem;display:flex}.align-start{justify-self:start}.align-end{align-self:end}.linked-actions,.row-actions,.section-switch{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.linked-actions a.button{text-decoration:none}.linked-actions+form{margin-top:.8rem}.form-columns,.details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem .8rem;display:grid}.details-grid{gap:.7rem 1rem;margin:.85rem 0 0}.details-grid dt,.table-note,.field-note,.filter-label,.table-foot{color:var(--muted);font-size:.86rem}.details-grid dd{overflow-wrap:anywhere;margin:.22rem 0 0}.request-details{margin-bottom:.85rem}.table-note{margin-top:.25rem;display:block}.table-note.late{color:#892a39;font-weight:650}.field-note{margin:.35rem 0 .7rem}.table-foot{border-top:1px solid var(--border);padding:.7rem 1rem}.money{white-space:nowrap;font-variant-numeric:tabular-nums}td a,dd a{color:#393296}.status-posted,.status-completed,.status-paid,.status-done{color:#155942;background:#e2f5ec}.status-pending,.status-part_paid,.status-in_progress{color:#264b8e;background:#e9f0ff}.status-rejected,.status-overdue,.status-blocked{color:#8b2837;background:#fce8ec}@media (width<=440px){.form-columns{grid-template-columns:1fr}}@media (width<=650px){.module-panels .table-scroll td:first-child{min-width:9rem}}
